skysight-inc/HackerNews huggingface dataset:
The reason there's no project-wide find and replace in vim is that vim has no concept of a project. It's designed to be one of many tools, which works really well for some workflows and not for others. #5 is the same deal -- they're limited by the design of vim, and that design doesn't fit anything like TextMate's project search.

It would drive me _crazy_ if vim saved without me telling it to.

I think a lot of people suffer needlessly trying to make vim be what they want it to be, when it never is going to meet their expectations. You'd be better off trying to get those things you find useful about vim implemented in TextMate or Sublime than the reverse.
Not quite. The apps still have state. That is what we today call web apps, have state. Web pages and REST documents probably shouldn't have state, or have very carefully managed state -- different from say a spreadsheet with a (continuously updated (ok, call it "reactive" if you must)) graph.

So, if you want to build stateful apps on top of web and http (which are stateless) -- you'll end up playing with the same concepts as that of MVC -- but you need to adapt.

I agree you probably shouldn't adapt the MVC pattern (it's a pretty high level abstraction) -- but you'll have to paper over http somehow.

So far building fat clients, lately using either javascript, objective-c or java/dalvik -- seems to work better than sticking the state in a cookie and pretending everything is ok.

In other words: MVC is still valid, and the adoptions aren't really to MVC -- they are to the surrounding framework. I'm not quite sure how that fits with the mountain rescue analogy, though.
I don't understand, what does this function do? Is it a reference to something? Or just a simple easter egg?
Looks really useful, also starred ;)
Kaspersky revealed "Kimsuky" Cyber Espionage campaign targeting South Korea
Yes, and they have no running Java at all unless they've either jumped through some serious hoops to get it working again after Apple disabled it, or they don't install security updates.
The issue of soft-wrapping text drives me nuts, not just with editors like vim but with programming-focused tools that can edit text in general. Github is terrible for this. Why isn't it possible to enable soft-wraps when viewing diffs? Hard-wrapping the text is not always a solution because it makes the text so much less versatile in terms of what you can do with it, unless you're willing to periodically remove the hard-wraps when you want to move the text somewhere else. Using markdown is not a solution because markdown is destructive; it eats blank lines and indentation.
> Better safe than sorry

Yes, that's the right attitude to take with this disease. The main criterium is that you've been in or are in a region where ticks are found, combined with warm/hot weather.

Areas to avoid: long grass, shrub and forests.
yahoo.com and reddit(seriously)
Normally I'd respect something RMS said and I love him for his conviction but on this we must disagree :)
I've lost count of how many times I've had to argue that the View binds (loosely put, for View <-> Model interaction) directly to the Model. The Controller only enters the chain if the operation is more complex, i.e. it is a composite operation.

That said - the Controller is the only place that is left if the code isn't interface or datastorage specific, so naturally it's the first place to get bloated. But that's fine, you just have to take care of that when you can, by abstracting common functionality and/or move it out in a library.
I definitely love those kind of easter eggs.

There are also similar methods in the Android SDK:

UserManager.isUserAGoat()
link: http://developer.android.com/reference/android/os/UserManage...

Log.wtf()
link: http://developer.android.com/reference/android/util/Log.html..., java.lang.Throwable)

AdapterViewFlipper.fyiWillBeAdvancedByHostKThx()
link: http://developer.android.com/reference/android/widget/Adapte...
Webinar Recording: Developing Test Automation Scripts with RubyMine and "Cheezy"
And one place that is easy to trip up, is that you'll probably want to model your data, eg do normalization. That is your applications data model. But that is not the same as the model in MVC.

The "MVC-model" of a bank account is an account number with a balance attached: the data model of an account is a series of credit/debit transactions that can be summed up to a current balance.
>> I almost wonder if skimming huge amounts of information online has somehow re-trained my brain to not absorb knowledge anymore.

I feel the same way. I find myself skipping around even when I really need to be paying attention. Using the internet as an entertainment crutch has had some bad effects, I feel.
His investment thesis is high-growth startups. Funny enough, that's YC too. What you are leaving out is his thesis assumes overwhelming control. That thesis is not in a founder's best interests. It's far better to raise less.

Nice dodge though turning hundreds of startups into tens based on no evidence. And in fact, when you look at his non-cleantech portfolio you can see that almost every YC startup would have a place there, especially the biggies and especially when they just need growth equity now.

The problem is Vinod saw the insane terms he could get in cleantech, while pushing founders aside, and so he anchors to those terms for everyone, including other VCs. The proof is in his lack of big wins, not even from his Kleiner days.
HA NFS is not hard. Using DRDB to replicate the underlying block device, or Gluster to replicate the underlying filesystem, plus IP takeover or e.g. keeaplived is fairly trivial to set up. Running NFS on a single server is a bit like running one of these configuration management systems on a single server - they won't be resilient then either. Using Gluster directly is another easy way of getting resiliency.

Atomic updates and locking is another matter, but for a lot of setups it's simply not needed.
Looks really useful. Am trying it out now :-)
I never followed this at all prior to reading this article so forgive me if this was covered outside the scope of this write-up, but...

If the CPU did give you a RDRAND value that was pre-baked to weaken the number it thinks you're going to XOR it against it, it would be easy to detect this by feeding RDRAND the same input state repeatedly and seeing if there is a pattern to what is spit out or if it is indeed statistically random... So why hasn't someone (who thinks RDRAND is a trap) done that instead of just claiming it could maybe be doing something fishy?
Not to forget the gravity constants of the Death Star and The Island, defined by the SensorMananger.

http://developer.android.com/reference/android/hardware/Sens...

http://developer.android.com/reference/android/hardware/Sens...
Show HN: Simple (Non-js) Sharing Buttons
The only thing that drives me crazy about the save/do-you-want-to-reload prompt is actually a git related issue. When you commit, git updates all committed files in some way that triggers vim change detection. You go back to vim, write some code, try to save and then you get this DANGER WILL ROBINSON message.

It's horrible because you're not quite sure sometimes if there was a legitimate change made in another process that you're now about to undo. Half the time I end up copying the lines I know I added, allowing a reload, and then pasting them back in, just to be safe.
1) Dump Janus, add the plugins you actually want

2) True

3) :set paste

4) Then wrap it in a function

5) I've always found ctrl-p to be snappy actually. You can replace the matcher with ag or similar

> write the Vim configuration lines required to cause those files to be ignored. You have got to be kidding me.

Write a small amount of config once per project? It's no more complex than adding things to a UI

set wildignore+=*/tmp/*,*.so,*.swp,*.zip

6) No, vim can't, but plugins can. Ctrl-p has this feature (http://superuser.com/questions/390011/fuzzy-find-within-file...)

7) Stop just navigating with j and k.

> After reading this list, feel free to tell me how I'm doing it wrong on twitter.

You're not googling anything to find out the answer?

Also, because occasionally people haven't heard of it, get Gundo. http://sjl.bitbucket.org/gundo.vim/

Vim has a full tree undo, gundo makes it easy to navigate and see diffs between changes in code.
Apple ships iOS beta builds before announcing new hardware. They obviously don't want to leak information about new functionality like HDR support too early. So they use a special string "YoMamaWears..." meaning of which is known only to people in the appropriate team. Then, when iPhone 5s is finally released, they easily find-and-replace the obfuscated methods with proper identifiers.
A programmer's text editor and a word processor have much different requirements and should be different tools. There are much better options than vim to author formatted documents.
They’re masking new features with ”creative” variable/method names.
Quora anyone? As a writer, I feel its neat, accessible and of course reliable. People are more likely to follow your profile on Quora than signup with their emails on your personal blog. And don't forget the easy-to-earn upvotes and shares. Down side: No analytics :(

As a reader, Quora gives me more insight about the author through answers on diverse topics.

Disclaimer: Quora fan here! Answer may be biased.
if you had the foresight, you could potentially just created 1 steam account per game purchase. This, in fact, solves all problems related to steam that i have.
You are totally right. People attribute skills they learn naturally as totally inborn. They say Bach was a genius at piano because he was able to play at age 4 - but honestly, that's reversed. He was only such a good musician because of all the practice.
Actually, I was raised in a lukewarm catholic environment, in France. There was no "coming out" as an atheist for me, it was quite… ordinary. My rejection of relativism spurred more heated discussions that my rejection of God, actually.

Anyway, every catholic I met believe in God and in the Immaculate Conception. And I think they also believed it was an important, if not fundamental, part of being catholic. Not to mention all the rituals that mention God and Jesus all over the place.

Which is why I cannot fathom a religion that does not at least strongly encourages its members to believe in something supernatural.

Seriously, you're tempting me to send a e-mail to Robert Aummann¹, and ask him about that. Or read Eliezer Yudkowsky about his childhood. Or just read the wikipedia². Let's see… Oh the chief reason why supernatural belief isn't required is because there's no recognized central authority… I bet however that most Rabbi strongly encourage a belief in something supernatural. If not directly, at least through the rituals they organize.

[1]: https://en.wikipedia.org/wiki/Robert_Aumann

[2]: https://en.wikipedia.org/wiki/Jewish_principles_of_faith
Stop phubbing
Quora's content ownership and presence of personal branding is worse than Medium, which is quite an accomplishment.
We allow the wild web to have access to our closed source GPU driver blobs but we elaborate tinfoil hat theories about rdrand. This is insane.

Regarding "(I'm not sure I agree with Linus that mixing in a known-tainted RDRAND stream would nevertheless invariably improve randomness, but on the surface, it shouldn't reduce it.)": I think it's fair to say it would, in practice.

Even if the NSA knows how to predict the output of rdrand (because it's really some stream cipher with a known key or something), most people don't. Therefore, it wouldn't improve the randomness of the final stream from the NSA point of view, but it would from the point of view of any other attacker not in the secret. So I think it's fair to say it can't do harm and it can actually do some good.

See also the previous discussion:

https://news.ycombinator.com/item?id=6359892

The consensus seems to be that if the NSA can backdoor rdrand so deeply that it can keep track of the CPU state and the contents of the RAM then you might as well throw away the whole CPU, why would you choose to trust all instructions but rdrand? They could have compromised the interrupt vector, the syscall vector or anything else.

This feels like "rumor based cryptography" or more precisely "FUD based cryptography". We're just running in circles.
As of this FCC filing, the Transformer Book Trio seems to be alive and well: http://liliputing.com/2013/09/asus-transformer-book-trio-hit... (redundant processors and all).
Warning: Reddit is being manipulated concerning the new NSA leak and Israel
http://www.reddit.com/r/worldnews/comments/1m73n4/nsa_shares_raw_intelligence_including_americans/cc6mi1c and http://www.reddit.com/r/worldnews/comments/1m73n4/nsa_shares_raw_intelligence_including_americans/

The guardians article on NSA giving data to Israel had received more than thousands upvotes in r/worldnews subreddit, then as it approached frontpage it was removed, the second submit on the same article again received thousands of upvotes and mods are again trying to keep it off the frontpage. Now they have also activated the "US news belons in r/news not here" although the US sharing data with Israel is the subject at hand. r/worldnews mods are affiliated with r/israel

There are comments with links showing that any Israel in negative light is being manipulated off of r/worldnews

Keep in mind the IDF has a department/group/force for social media manipulation since a few years back.
Intelligence is an immutable characteristic

I get so tired of seeing this. We can't even really define intelligence but I'm guessing this is based on a previous assumption that IQ was static, which we now know it not to be. We need to remember, also, that IQ is not a measure of intelligence.
How would you distinguish actual randomness from the output of a CSPRNG with a known or weak seed? Patterns won't be apparent in either output.
There's been balmy little bits of stuff like this all the way through OSX and iOS for ages, though maybe not quite as flippant.

Every Mac has the kernel extension "Dont Steal Mac OS X.kext" for example, which loads into RAM a short poem.

There once was was a user that whined
his existing OS was so blind,
he'd do better to pirate
an OS that ran great
but found his hardware declined.
Please don't steal Mac OS!
Really, that's way uncool.
Manage your SSH like a boss
I do with my home computer, but my work computer has ssh sessions all over the place and other stateful things, so it stays on.
"this framework I'm using doesn't supply me with a one-size-fits-all architecture for my business logic and I'm incapable of designing my own"

Funny, because too me that seems like the whole point of MVC: To have a one-size-fits-all "architecture" to shoe-horn your business logic into.

But then again I never really understood the point of MVC. It seems like a somewhat nice fit for GUI applications, but that doesn't mean you should use it for everything. The real takeaway is to decouple and abstract to the point that makes sense. Not too much and not too little.
Eat24hours
Yup try the "tomato" it worked for me!

The method enables you to concentrate without distractions, and encourages deep thinking, which is what you need to be able to do to operate at a very high mental level.
Pasting the reply I gave in r/vim

Answer to some of the points,

Janus: There are divided opinions in vim community about whether distributions should be used or not. I am on the latter side. But still for just checking out I installed Janus a while ago. Yes it is slow, but it turns out that it is as slow as my then `.vimrc` configuration. I tried to track down the problem. It is because of vim's blocking behaviour during executing external commands. When you write a buffer or switch to a buffer, syntastic, tagbar, powerline statusline, gitgutter, bufexplorer all execute external command. Vim becomes more slow when `.git` repository grow larger or when saving a large file. So how do you solve the problem? Remove those plugins and install Unite.vim[1] with vimproc[2] asynchronous library.

Files that change: If you do external edits more frequently then I think it is time to rethink your work-flow. I think there is a common consensus that you should not run live edit in server.

* Indenting pastes* : There is a plugin for that [3] ?

* Opening files inside my project : Last I checked command-t was damn fast, don't know where slowness comes form. Another alternative is `Unite.vim` `file/async` source. It is fast at finding files but goes slow while doing ignore-pattern checking. Without the checking it is DAMN FAST. The `phpcomplete/files` source I created for my php autocomplete plugin[4] easily list 4000+ files in seconds. If you want to list files obeying the patterns in the '.gitignore' or '.hgignore' files. Checkout my unite-file-vcs[4] plugin. It adds a `file/vcs` source that lists files by issuing `git ls-files` or `hg status -c -m -u` command for `git` or `mercurial` projects respectively.

Navigating inside files*: Checkout unite-outline[6]. It shows live output by parsing the current buffer. Unite.vim required. But it does not support css files right now. Adding support should be easy.

So the summary of the story. Move to `unite.vim` and friends ;)

[1] https://github.com/Shougo/unite.vim/

[2] https://github.com/Shougo/vimproc.vim

[3] https://github.com/sickill/vim-pasta

[4] https://github.com/m2mdas/phpcomplete-extended

[5] https://github.com/m2mdas/unite-file-vcs

[6] https://github.com/Shougo/unite-outline
Also, was KV your lead investor?
http://en.wikipedia.org/wiki/Lyme_disease#Chronic_Lyme_disea... may be relevant. Good luck.
As long as your monitors power off and you're not leaving the system doing much CPU work, modern computers don't use a lot of power when quiescent. Sure, they use more than being turned off, but they're not exactly IR hotspots.
Android Outreaches Possibilities for Android App Developers
Is this some 'lightweight' OS that you can use for Raspberry Pi?
Or 10 movies in 4K resolution.
One example would be that with Spark you could procedurally create and register multiple Route instances. That is not an option with an annotation-based API that requires you to have a distinct annotated class per route.

More abstractly, one of the characteristics of object-oriented design is the use of polymorphic objects. APIs which require you to define monomorphic annotated classes violate this and lose generality as a result. They are effectively class-oriented or method-oriented rather than true OO.
Well, Medium is good. But I like the way I find content on Quora than on Medium. Its more like I stumble upon a post through someone's good answers and comments. Feels more like a discovery.
Medium gives me a much narrow view of the author. Something only what the author wants me to see and nothing more.
H2 {position: sticky} [video]
Kwant: quantum transport simulator
The gist of the argument as I understand it is that some people think Intel's chip (at the chip level) is taking a look at data that the RDRAND result will be used as an XOR against and using that to mess with the result RDRAND returns in some way to weaken the overall random number.

If this were true and you set up a repeatable test situation in which you force the other parts of the RNG to generate the same numbers prior to RDRAND and then did the RDRAND and captured the results then I don't see how one could argue RDRAND is compromised in this way if the results coming out of it over time even appear to be statistically random.

...unless people think the chip is also detecting situations where you are actively trying to fool it by setting up repeated simulations of the same initial value to be XORed, which strains credibility way beyond what I'm willing to believe.
In-Flight Internet Is About to Suck a Lot Less
How is an Xbox easier to maintain? When something dies in your PC, you just pop it open and replace it. You might not even need tools.
Stock Footage: Free Stock Footage
Given the hostility and your new account - I am going to assume that you have an axe to grind.
Navigating through the git history like a boss
Bruce Schneier

I have all the respect for the guy, really, but then I read his guardian article "how to keep your data safe and secure" and mentions keeping "air gap" between computers with sensitive data but then he himself admits after all his methods and safeguards for the leaks he is working with, he uses Windows and usb-sticks to transfer (encrypted) files between them.

He uses Windows.

He uses Windows.

And he was claiming in the article that free and open source are better for security. Oh really, so your encrypted files on your usb-sticks for sure cant spread malware through your airgap through a file-system exploit? For sure it has never been done before that a file system could be used to take over an OSs internals, oh never.
I always thought it was because of lacking demand. I'm a former owner of the original Asus Transformer (Android-tablet + keyboard dock) and I still fail to see why I would want to have a device with two architectures, and two OSes.

People love to talk about Android and fragmentation, much more so than I find constructive, but putting both Android and Windows in two different universes on the same device is pure madness.

I would never buy a device like that, and I think that applies to most technically minded people I know as well.

I'm curious as to why you think Microsoft's legal or marketing team would be opposed to this sort of product though.
Also isYoMamaWearsFancyGlassesDetectionEnabled
If you consider the title of the article, "Rudest man in Linuxdom", you understand very quickly that the article author is imposing their own moral on Linus, but that's OK because the author is a proven programming genius of greater skill than the person who invented Linux, git, etc.

...

Oh wait, he isn't. The author of the article is just another "tech blogger" that is interested in page views. So what's more interesting an article to write: one about RDRAND, or one about how mean, naughty and rude that ignorant "Linus Torvalds" person is? The second option will generate more page views so the choice is obvious.

Since the author of the article is quick to criticize Linus and his way of expressing himself, even going so far as to, in a bullet list, sentence Linus to community service for the crime of not being as kind, understanding and tolerant a person as the author, I'm going to do the same.

Hey, article author! If I were king, here's what I would want you to do:

* Write an operating system that is used by millions of people and powers a large part of the Internet (together with BSD and friends).

* Write a distributed CVS that is also used by millions of people.

* Stop writing bullet lists about people.

* Stop trying to attract hits to your tech blog and create something of use to the human species. How about rewriting the graphics support in the kernel or something?

* Criticize what people say, not how they say it.

I'm tempted to go on, but I know that the author has no interest in neither learning nor creating anything, only criticizing other people, so anything I write is for the enjoyment of HN (in addition to mine).
One counter argument I can think of:

The rougue RDRAND would become active only in a CPU which the back-door has been exploited. It wouldn't be active off-the-shelf.
With both myself and my partner having Crohns we have found a lot of value it Crohnology and its absolutely an amazing idea, simply for the community thats grown around it.

However my single annoyance is all the treatments are display by brand name and over here in the UK medicine is generally never referred to by its brand name, meaning it was extremely difficult to input my past treatments without a lot of googling
There are usually 11 speakers at Startup School, so we can safely bet on another 3 being added to this list soon. Already an amazing lineup, though!
>expiring in 4 days

That is what makes you not a squatter. If you were trying to squeeze thousands of dollars out of those domains? yeah, I'd call you a squatter.