skysight-inc/HackerNews huggingface dataset:
I think I agree to an extent. I am glad that I pieced my vim setup together because I know exactly what each part of it does, but the fact is I selected a lot of the parts because they were included in a distribution I read about or a blog article I read. Still, I did not add them until I knew I wanted them and I learned them one at a time.

Interesting you mention oh-my-zsh. I DO use that, but that distribution I think encourages you to turn on and learn the plugins as you actually need them - they are not turned on by default. So I've gone through a very similar process with them.
Do it “on the Internet,” get a patent, sue an industry—it still works
I admit I haven't looked very hard, but I have run into lots of conflicting numbers. Does anyone know what the Pi draws off the wall in server context (ie no GPU use) both at idle w/the phy on and running full bore both cpu & nic.

I really wish there was a market in budget targeted whitebox style home server arm boards. Some sort of format standard ala mitx but with 1 or 2 core 1ghz+ socs, and mix and match one or two sodims, 1gbe, msata/mpcie, usb or sata and i could envision a pretty popular ecosystem. Hell, spec it to fit a set of 3.5" disk mount holes, there's already tons of cheap cases for those everywhere.
Github Down
https://status.github.com/
Whenever I see stripe use oauth in a new product I get excited thinking that they're offering OAuth to buyers. I would love to see a service that serves OAuth with integrated recurring payments. Think DailyCred but with monthly paid plans for users.
This is pretty cool! I'm a hobby web dev that has worked with Django on personal projects. It's cool to see how the big boys do it. I'm already on my way to installing Zamboni(https://github.com/mozilla/zamboni/) on a Vagrant Virtual Machine - in other words, this has opened my eyes in terms of workflow for large scale Python/Django projects!
Don't think about speed and such - there is a much easier way to understand relativity. From energy.

It should be obvious that if you travel fast you have energy. And the faster you go, the more energy, and the heavier you are the more energy.

Now comes the interesting part: That velocity energy you have increases your mass! As soon as you have this, some very interesting things happen.

As you get faster you get heavier, the heavier you are the more energy you need to go even faster. This positive feedback loop eventually results in you needing an infinite amount of energy to go any faster (since you are so heavy).

The point where you need infinite energy is at the speed of light.

Now comes the second interesting effect.

Suppose you accelerate to half the speed of light - you have a certain amount of energy - no problem.

Now someone else does that too - only in the opposite direction.

He too had no trouble accelerating, and needed only a finite amount of energy.

But what happens if the two of you are traveling toward each other? A problem - the total of your speed is greater than the speed of light! And even if it was slightly less, suddenly you got energy for free! (Because of the feedback loop going from 0 to 1/2 c takes MUCH MUCH less energy that from 1/2 c to 8/9 c. So where did that energy come from?)

That obviously is impossible - you can't get energy for free. Instead the very definition of speed is changed! You have no choice - you have to change it. The definition is changed in such a way that the energy remains constant. And if the definition of time and length has to change to make it work, so be it. Energy is more important.

Of course all this rests on a foundation: That the increase in speed results in an increase in mass. But this too is required. We already know that's it's possible to convert energy to mass. So we could use a trick - convert mass to energy, speed it up, then convert it back to mass and suddenly we have mass moving very fast without putting in energy. Nope, can't do that. What actually happens is that energy has mass too, and this doesn't work. (If energy didn't have mass you could do other tricks, like send the energy up to space, convert it back to mass and let it fall under gravity.)

Hopefully this should show you why relativity is required if you have conservation of energy.
Show HN: Easily publish an email conversation to the web
I think you are an exception. I can't get anything done with vanilla Vim (no smart indentation for instance) and install Janus anytime I need to use Vim on a new shell.
http://www.alibaba.com/trade/search?SearchText=murphy+bed...
Not much, since I can deduce most of the design from the video. Hopefully you can offer some additional advice, pitfalls, and potential variations to those people that you learn throughout the process, because it would be almost entirely a donation at that price point.

I imagine the more people see this, the more people will simply attempt this themselves and post their version on make/instructables/hackaday. Others who want to simply purchase one outright, can certainly get one from you. However, waiting until May to potentially get one will not jive with many people.

Not to demean your work/project, I just think you are going to have to offer some polish and niceties that iterative building this product multiple times allows rather than offering what someone could duplicate with a trip to Home Depot and a Saturday to be successful.

Regardless, good luck.
"Initiation" is a four dimensional word.

As our existence is on a four dimensional level, so naturally we see everything as having a start and a finish, i.e. a line on a two dimensional surface.

But there exists situations where there is no start or finish, i.e. a line on a mobius strip. Since we hypothesize that our universe exists on 10 dimensions, we shouldn't assume that our universe's existence has a set start and finish, even though we can only measure back to the big bang.
Branch prediction is not the only reason this is faster and probably not even the biggest reason.

Since the array is sorted,

if (data[c] >= 128)

will evaluate to true consecutively. When the cache requests something from memory, it will request blocks containing multiple words at a time. Since every data[c] that needs to be added to sum is in a contiguous piece of memory, the code is minimizing the number of times a block is transferred from memory to the cache. This is the concept of spatial locality[1].

[1]http://en.wikipedia.org/wiki/Locality_of_reference#Locality_...
Philippine court suspends Anti Cybercrime law
Bloody hell, that's brilliant. Had missed that one somehow!
Isn't it obvious?

1. It is an IDE's job, to keep track of changes of individual expressions in the code of a project.

2. This information should be stored separately from the source code files, as a meta-data to the project, not the individual files.

3. I don't need a solution for a problem I do not have.

4. The query language is ugly.

5. I do not want to use any "free" commercial service for a solution which can be implemented as a emacs-lisp package.

6. I see nothing in this blog post of any interest.

7. I have no over-excitement just because something comes from Rich Hickey.
Where do you see the advantages of the image model for a single programmer? I ask because, when I've played around with image based languages, I hated them. However, I've encountered programmers vastly wiser than myself who seem to love it, so I suspect that I'm missing something important.
Github Up
If the speed of light is not really a limit, then events will still have causes. It's just that the set of possible causes will be wider than your light cone.
Cheap new VPN Service with EU based servers
There is no shortage of vehicles to ride :)

As this thread started with a commuter bike, I'll stick to commuting. The low visibility of recumbents in traffic (both of the rider and what the rider can see) is a bigger issue than ergonomics.

Each rider determines their own level of acceptable risk, etc etc, but regulation has nothing to do with their lacking adoption for commuters.
I like that they're reworking the site's design - as a very early eBay user, I've been seeing these changes roll out on a trial basis for a few months now. But I still find their home page confusing, with lots of horizontal and vertical vectors at cross-purposes.

What they're missing is a 'reject' button that would allow people to easily dismiss things they don't want to see. I don't always know what I want on a home page, and I appreciate the suggestions that can be algorithmically generated from my previous and ongoing activity. But I usually know instinctively what I don't want. Sadly, eBay provides me with no way to communicate that, even though it would free up space for more well-targeted (and therefore valuable) suggestions. They're not the only company with this problem.

The problem with product suggestions is that they're limited by computers' inability to model the purpose of things. For example, we bought our first house last year, and as a result I ended up owning a lot more tools, having a subscription to a DIY magazine, and so on. Now every time I go on eBay or Amazon I get lots of suggestions for things for like power tools, based on this major change in my shopping activity over the last year. Fair enough, except that once I have bought a good drill, I probably don't need another one. Sure, I bought several power tools for different things, but having acquired the basic necessities it's not like I want to keep collecting them. Instead of showing me more tools, the smart thing now would be to start showing me accessories like drill bits and saw blades, which need regular replacement and have higher profit margins. But most shopping algorithms seem unable to effectively model product associations, distinguish between total and marginal profits, or usage patterns. Most attempts at the latter seem to involve expert systems, whereas I suspect the right approach is a multiscalar one (but now I am running up against my ignorance of the proper terminology).
The project page http://antarctica.localwiki.org/ seems to be down.
I don't get why this is loaded down with useless plugins... if you're using ctrlp/command-t, you don't need nerdtree. Vundle isn't as good as pathogen, neocomplcache isn't as good as supertab + clang_complete, and it lacks gundo, rooter, ultinips, and maybe other things.

https://github.com/Diablo-D3/dot_vim
The Slate link really is worth reading. Assholology is the hot topic these days, and I have frequently found that reflecting on my own asshole quotient is more worthwhile than focusing on the assholes around me, to the point where I begin to consider that assholes aren't ALL bad!
Indeed it is. It is representative of bar-linkage mechanical systems.

Do you have any evidence to substantiate your claim?
Eh, what new item is it requesting from memory inside the branch?

if (data[c] >= 128)
sum += data[c];

Whether the condition evaluates to true or false it has already retreived the value from the data array in order to test it against the condition.
Facebook Fought SEC to Keep Mobile Risks Hidden Before IPO Crash
Is that flaw covered by http://www.simulation-argument.com/patch.pdf ?
It's amazing what simulated physicists are up to these days.
Announcing Helix, an open source cluster management system
It's a pretty big advantage when it applies, but it doesn't apply to the MAXLINE case, and it only applies when you're using a debugger. Which, for me, is very rarely.
It would be nice to see what the published thread looks like. Could you have a link to a sample thread on your homepage?
Regulatory Hacks
Agreed. An amusing read though... "For example, for me, video distribution is a solved problem."
Some of the noise you hear is precisely that. The ways in which your application can fail will depend on the sort of things it does. Generally if you follow Android best practises you will be fine. On the other hand if you pretend it is a dumb iOS device you'll have trouble. For example if you do screen layout using pixels you'll be digging a big hole.

As for testing, things can be easier. Unlike iOS provisioning profiles you can give the application package (apk) to anyone and they can sideload it onto their device (even from following a web browser link). They just have to change one setting to allow this. This means you can distribute your app for testing to friends, family and others easily. When you put the app on the Play Store you can also restrict it. If you think there could be major compatibility issues then make it available only a small subset of countries/carriers/devices and increase as you get more comfortable.

See this talk https://www.youtube.com/watch?v=Erd2k6EKxCQ (22 minutes in if you want to skip the big picture) for how you can preview your UI across a multitude of languages and form factors.

There are places that let you test with devices remotely. This is especially useful if you need to check things out in other countries. One example is http://www.perfectomobile.com (not an endorsement). Samsung also has something http://developer.samsung.com/remoteTestLab.do

You can easily outsource testing too if it matters that much to you.

A good source of devices is http://swappa.com

I personally use 6 devices. G1 (Android 1.6), HTC something (Android 2.1), Droid (Android 2.2), different Droid (Android 2.3), Galaxy Tab (Android 4) and Galaxy Nexus (Android 4.1).

You can certainly start out supporting only a subset of Android versions (eg 2.3 onwards) and then based on user feedback figure out where to go next.
In an optimized build data[c] is read from memory only once per loop iteration, so the memory read patterns are identical in the sorted and unsorted cases.
I'm a regular HN reader and I've never seen this before. I don't think it's so bad to re-post, especially since it's actually HN-quality content.
OnLive's video gaming tech was sold for less than $5m
Melbourne IT accidentally shut down Twitter’s t.co link shortener
Vundle is strictly better unless you automate your software updates and want to be able to update your vim plugins without having to launch vim to do so. Pretty tenuous but maybe some sysadmin-inclined people really prefer this.
Anselm's ontological argument isn't faulty, it's just not very useful. It just claims that things that "really" exist are greater than things which exist only in our minds. http://en.wikipedia.org/wiki/Ontological_argument#Anselm As you can see the implications are pretty weak. Maybe we should go find the greatest thing that really exists and declare it to be God.
No. The "true" or "false" value of a simple expression isn't stored in memory. It's stored as a bit in the status register as a side effect of the "cmp" instruction†. It is no faster for "cmp" to set "true" than it is to set "false".

† (CMP is actually setting carry, overflow, sign, zero, &c; "truth" or "falsity" is decided by the specific conditional jump, here JL, which checks if sign != overflow).
Thanks for taking the time to explain that some more. I'm in a similar spot and _really_ was hopeful that OnLive would be awesome, but just for connectivity reasons I think it was never sufficiently playable.
I don't think this is true. The loop that sums the values always fetches the array items linearly. Whether they are sorted or not does not make any difference. Since the accumulator ('sum') can be kept in a register there should be no store operations in the inner loop, which means it reduces to simply reading consecutive memory, inspecting the values, and adding some of them to a register.

Branch mispredictions are the only likely cause for the runtime difference. It would be interesting to see whether using multiplexing (sum += data[c] > 128 ? data[c] : 0) or conditional assignments would make any difference. Some CPU's have opcodes for these that don't require branching, but I'm not sure whether they use the branch prediction logic.
Would be cool if it went into greater detail.

"Oh, you're a C programmer? You can work on NSS".

Thanks for letting me know. I'll log that away. How about this:

"You're a C programmer? Here's an interesting bug targeted to the NSS component I've pulled from Mozilla's bug database which might catch your fancy"

Hm, that's interesting. How would I solve that? Maybe if I...no. Hm. Let me pull down the source code to see what would work here...
previous submissions: http://news.ycombinator.com/item?id=4633185 http://news.ycombinator.com/item?id=4635252 http://news.ycombinator.com/item?id=4636158

http://news.ycombinator.com/item?id=4633185 is the submission for the story that this submissions cites as its source
What does that mean in reality?
Ignore the haters -- Think Bayes is going to be awesome!

Just kidding (mostly), but your point is correct: there is no book that is right for all audiences. But if you can program, and the mathematical approach to this material doesn't do it for you, this book might.
I have been using edis for different perks (just vps, though) in different locations and they have always worked extremely well for me. No complaints whatsoever.
Not to hate on the great top-voted answer, but isn't it a bit strange that it was posted a mere five minutes after the question?
I'm interested to hear how you guys are doing the integration? (Integration meaning your users create Stripe accounts). Do you guys direct them to Stripe.com and offer instructions on how to do it?
For $275? No way.
It's become common on stackexchange sites to post a brief answer immediately, follow by a much longer edit.
You're right, that's a pretty careless mistake. Considering that, the only way to stretch this into locality would be to assume that sum would be used in rapid enough succession so as to be able to live in a register instead of go back to a cache or even memory. That difference seems negligible, though.
Here's something I really love: Walk-through the Amundson Scott South Pole Station
https://www.youtube.com/watch?v=UdM9sYXmVrY
Making the Right Decisions When Optimizing Code
Seems like the answer has been edited after lots of upvote to give a more detailed explanation.
"Dual issue" means "can issue two instructions per cycle", independent of pipeline depth or multithreading. In the case of the Epiphany, it can issue an ALU instruction and a floating point instruction each cycle.
This article was already submitted at https://news.ycombinator.com/item?id=4635223. I think that this is a good example of why people should submit the original source (as opposed to syndicated articles).
That's not what I was saying. I was indicating that more memory accesses would be required in unsorted data for the `sum += data[c]` computation, obviously overlooking that data[c] is already in a cache, and probably in a register as a result of the comparison with 128.
It is so weird. When I read a book about programming, it's examples weren't math, but things like "Build a Contact List" or something like that.

You should try that kind of things. Although that depends on which language are you working, I would encourage you to look for tutorials which doesn't involve maths. Internet is full of those too :-)

Good luck with that!
Using Dropbox's Delta API: Lessons Learned From Site44
Excellent point!

An alternative to Kickstarter would be to approach these companies directly, with a demonstrable prototype, and secure a letter of intent to purchase. Armed with these letters, it might then be possible to get a business loan to fund the initial production run.
Ubuntu's new 'Shopping Lens' may break EU law
I'd second that -- the fact that it jumped to the top means there are enough people who haven't seen it before
Automating Web Performance with mod_pagespeed
Enough already. We all love stripe. Agreed. Lets not upvote just because.
Software converts two-dimensional drawings into interactive 3D animation
I implemented stripe connect on https://donat.io and it is awesome! The webhooks are great and the ouath flow is super simple too.

Loving it.
How about we crowdfund scientific research by giving some of our taxes to the NSF/NIH and letting them vet proposals? If you want even more crowdfunding, then you can mail a check to your favorite funding agency, I'm sure they will appreciate it.

Crowdfunding by having random individuals donate to specific projects is a horrible idea. Normal people aren't qualified, and it's easy to mislead.
highest density of good advice i've seen in a long time
How is vundle worse?
Twist: There might be copyright issues, absent (express) consent of both parties.

But i could still see this being interesting in some contexts.
Simple, Accessible, Responsive: designing the Branch Drawer
Have you looked at prezto[1]?
It encourages forking and in-place editing strongly, and everything is a module.

[1]https://github.com/sorin-ionescu/prezto
Ustream's Watershed service to shut down in 6 month. Any alternatives?
We just received an email that Ustream's Watershed service will shut down April 10, 2013.

Unfortunately, their new Ustream Pro Broadcasting is not a good fit for those who needed just 'Streaming as a Service'.

Is anyone aware of any alternatives?
Sure thing. We'll put one up on the website. In the meantime here is a link:

https://beta.thread.is/t/c487c28d-285c-4349-8e0f-396699df3e9...
One of the items on the application form is "I am a US citizen". Is that a requirement for their Hackations?
This 'Mousetrap' can crush a car and teach physics
Here here. The only vim-related thing new users need to know about is vimtutor.

These tools are designed to be complex so as to not limit the user. If you throw everything at them at once there's no way to understand how everything fits together.

I see the same problem in suggesting that people start learning zsh by installing oh-my-zsh.
Yes, the value is in a register.
We've definitely thought about that.

Personally I find it quite interesting that sharing a link with someone has different psychological perceptions than forwarding an email. There is implied trust with an email conversation - but the reality is you never know who is being BCC'd.
This is amazing! How long until we can rent a romotive or iPad Double or tacocopter to drive around and "see the place for ourselves"?
As a happy user of vim + fugitive¹, git² serves as a bold abstraction of my code in exactly this fashion. I do not think of files as anything but eponymous containers of namespaces. Git blame, for instance, allows tracking lines across file renames, and tpope's wonderful vim interface actually makes this easy to use.

I enjoy git on the command line, but _tight_ integration with the editor is an almost sublime experience.

So git's well-defined data structure already enables quite a bit of editor magic, but Codeq's extra layer of abstraction is very intriguing. Also, the fact that you can query the engine and get back simple data compares favorably to the mishmash of shelling out and git object parsing done by many tools today.

WRT Smalltalk's image, code management is only one of its marquee features, so I think Smalltalkers would object to calling image vs files a false dichotomy. The image is more akin to a versioned virtual machine than an SCM. I've never known the magic of the image (or a Lisp machine), so I lack an opinion on which is superior.

¹ Drew Neil's excellent video introductions to fugitive:
http://vimcasts.org/episodes/archive (April/May 2011)

² and other _content_ tracking DVCSs
You can also see the Scott's hut on Street View: http://www.google.com/culturalinstitute/worldwonders/scotts-...
This is well-known and by design.

Mac renders fonts optimized for "correctness", which can appear fuzzy at low resolution. Their new hi-res (~200dpi) screens solve the problem, you get correctness and legibility.

Windows and Linux tend to optimize for screen legibility at low resolution, resulting in increased sharpness. At hi-res, they'll likely not look as correct as the Mac rendering.
Be sure to email the physics PhDs who published this paper to let them know of this flaw you have found.