skysight-inc/HackerNews huggingface dataset:
They also struggle with functions, parameters, pointers, scope and so on.

You don't need to pass parameters to your car to start it. You don't need to force yourself to only focus on the recipe (scope) when making dinner.

None of these things map very well with the real world and could also be considered additional mental overhead when learning. You don't need to know how to code to learn best known practices in building software.
This is a great question and I don't really know the answer.

Emacs has swank-js for interacting with a browser engine, but it doesn't appear to capture the functionality of Netbeans' chrome extension.
The Journey of devops and continuous delivery in a Large Financial Institution
> Besides, the state in which we are in is rather healthy. Back in the late nineties, early 2000, everybody was into class-based designs described with UML.

UML is great as collaboration mechanism at the enterprise level across sites.

> Also, the Gang of Four is seriously outdated.

Still largely unknown on the enterprise, sadly.
What would be the downside of doing this? I'm probably biased (in that of the ~100 Chechens I've interacted with in my life, every single one was a jihadi -- kind of a selection bias, though.)

Assuming Russia could control the pipeline corridors, the only real risk seems to be a "domino theory" that letting a territory go will risk encouraging other, better territories to leave. But in the case of kicking Chechnya/Dagestan out, that's not the risk.
There are two ways things can be simple or complicated. One is to have a big button labelled "DWIM", which always does the right thing --- until it doesn't, and then you have to go out of your way to work around its assumption of what you want to do.

The other way is to have a number of simple concepts which can be combined in various powerful ways. Once you understand these simple concepts, you can compose them to do whatever you need. Git is simple the same way that RISC is simple, and having a manual transmission is simple. You can do a lot more with a manual transmission car than you can with an automatic --- but if you're not careful you can strip the gears. Yet a manual transmission is simpler to maintain, and more efficient (in the hands of someone who knows how to use it) than a automatic transmission. If you take a look at the post, you'll see that the various recipes only use a handful of git commands. Once you've mastered those commands, things are indeed quite simple.
Why should companies expect disclosure at all?

The fact that the bug has been disclosed rather than exploited is, itself, a huge favour to Twitter.
This is what I get on a Precise 32bit Ubuntu:

stuff$ du -sh big.log
2.8G	big.log

stuff$ time grep -i e big.log > /dev/null
real	0m30.228s
user	0m12.213s
sys	0m3.228s

stuff$ time LANG=C grep -i e big.log > /dev/null
real	0m30.130s
user	0m12.105s
sys	0m3.308s

What is LANG=C supposed to do?
There was a really interesting post on here a while back on GNU grep vs BSD grep (2010)[1]

The improvement mentioned here also has to do with the Boyer-Moore algorithm. When switching the locale from LANG=whatever to LANG=C, we're reducing the size of the lookup table to a fraction of what it previously was. In this case, the fraction is 1/50th, but, as the author said, this will vary between patterns and platforms.

[1] http://lists.freebsd.org/pipermail/freebsd-current/2010-Augu...
I am curious what will happen when we run the commands in the reverse order. The LANG=C variation before the first. I suspect some of the speedup is because you just brought the file into memory.
What do you even mean to have "incredibly bad OPSEC practices"? Without an explanation, your comment comes across as more unnecessary snark, which unfortunately isn't uncommon in threads that remark upon Homakov, or on HN in general.
How to pair socks from a pile efficiently
100 Days of Meditation
I would change the domain to stranger.io or strangers.io instead... it's available :)

Great job with the site.
it's not a general solution, but there's:

https://www.sciencemag.org/content/317/5838/632.abstract
http://zef.me/6049/nix-docker
Putin seems to be loving Chechens and hating Russians.

(First of all, Russians might free him of his duties but chechens and otherr minorities can not)

Not that it answers your question.
Sometimes you want the color to match the border color. The properties are not always the same, which is what causes repeat.

Variables are also useful when you can do calculations on them.
(I normally avoid discussions like this on HN.)

>Lena Chen was the 120-mph speeder who ended up in a crash.

If someone is speeding 120mph and crashes, we tend to generally accept its their fault.

So the analogy implies the abuse was the victim's fault; if this wasn't intended, a different analogy might be better.
But this still isn't a complete solution -- if you want the same color as a "color" in one place, "background-color" in another, and "border-top-color" in another, you're still repeating yourself. Likewise if you want to do math with paddings/margins etc.

I don't know why, if you're using LESS or equivalent, you wouldn't use variables. It makes for vastly more maintainable CSS than the approach you take.
Please note that CSS Variables are not like SASS/LESS variables. They're actually custom properties that obey inheritance.

They're scoped to document rather than stylesheet, so you can override them in parts of the document just like you can override any CSS property.

Example from the spec:

:root { var-color: blue; }
div { var-color: green; }
#alert { var-color: red; }
* { color: var(color); }

<p>I inherited blue from the root element!</p>
<div>I got green set directly on me!</div>
<div id='alert'>
While I got red set directly on me!
<p>I’m red too, because of inheritance!</p>
</div>
Which Vim plugin uses `Btag` ?
Me too. You could probably find a single-threaded, small file benchmark where they compare similarly (or this even compares better — it does almost nothing). But this is not most benchmarks. Large files or multiple clients will bench this server poorly compared to MT + sendfile(2).

This server is single threaded and artificially serializes requests, at a minimum. The copy through userspace is going to hurt compared to sendfile for larger files.
I agree, not knowing how to talk to women is hardly unique to people who went to single sex school, and I will never know how I would have been had I not been in a segregated school so it's very hard to make an absolute judgement.

Maybe it would have been worse for my academic career, but again, maybe not. But I can only think that it couldn't have been worse in terms of social weirdness.
What about female software engineers in India? I know this is off topic, but I wonder what pressures they feel at 24. What are their relatives asking them?

Back on topic, happy birthday Mr Jalan!
See:

[1] https://news.ycombinator.com/item?id=3337411

[2] http://dtrace.org/blogs/brendan/2011/12/08/2000x-performance...
NSA officials consider Edward Snowden amnesty in return for documents
under terrestrial conditions, these compounds would immediately fall apart. Why doesn't this happen in space? Because in order for the two atoms in this molecular ion complex to come apart, you would need to violate some conservation principle (energy, momentum, angular momentum). In order to violate it, you would need to transfer this quantity to another particle. In terrestrial conditions there are plenty plenty plenty of 'other particles' around to do this process; not so much in space.
I don't understand why inheritance is always taught before composition. I almost never reach for inheritance these days, composition winds up more accurately modeling the domain. I'll define a bunch of classes modeling the actual behavior of domain objects, then get some code working using those classes. Then I'll start cleaning up, figuring out what goes together and creating composed classes out of the individual pieces of behavior. As I'm doing this, a lot of times I'll pull out functionality in one class and put it where it seems to belong.
Robots won't be that scary when they are self aware. It is at the stage just _before_ self awareness where they are easily controlled and very powerful.
You right we dont teach mathematics by starting with advanced concepts we start with addition and subtraction.

Back in high school in the 70's our first language was a variant machine language CECIL - which we had to do by sending of coding sheets to a bureau.
Guns, Suicides and Natural Experiments
Funny, this owl video shows that when blindfolded, the owl's vestibulo-ocular abilities are undiminished. I was wondering about that when the chicken video guy was speculating about blindfolding to prevent the chicken from rapidly changing targets. I guess it would actually work. Seems kinda mean though.
I would highly suggest you read all of "Just Good Friends" written by Jeffrey Archer, available in "A Twist in the Tale" - http://books.google.com/books?id=m8uLx11IbtYC&printsec=front...

The theme of the particular story is irrelevant. It's much more about how your linguistic assumptions will ... well, read the story and see! I recommend this particular story because about half of the stories' endings in "A Twist in the Tale" didn't surprise me at all (but I am surprised at how many people I know who were surprised by their endings), but "Just Good Friends" totally got me!
This is fantastic! It would be awesome if there were workshops, say, of 3 months duration, where people from totally unrelated disciplines are put together with no pre-knowledge and see if anything useful will come out of it. Most of the time, nothing may come out of this, but every now and then spectacular advances may come about, I'm sure (for an example, see Adleman's development of DNA Computing, http://en.wikipedia.org/wiki/DNA_computing#History).

The problem is that decades of work in a narrow field, although it makes you an expert, also dulls an outsider's novel look to the subject and leaves you with numerous explicit and, more dangerously, implicit dogmas/assumptions.
Recently found out that you can switch off the cloud saves on the Mac, then purge some config stuff and play it offline. You won't get your progress from the PC side but at least you won't destroy it either.
More people get brain damage falling down the stairs or off ladders in their own homes though. Should we mandate helmets in the home?
Before reading the article, my response would have been: "With my stupidity plus tireless determination, the clone would be dead in five minutes"

>>> Your clone decided to give up the bad habits you shared.

This suggests more than one difference.
The Bonsack machine and labor unrest
Deploying the League of Legends Data Pipeline with Chef
If you're mainly interested in having all calculation steps visible and 'linked', there is also a great app called Digits (https://itunes.apple.com/us/app/digits-calculator-for-ipad/i...) which is at $0.99 right now.
I understand your puzzlement, I found this confusing too at first. But then I realized it makes sense -- one of git's strengths is that you can rewrite the history. The "point" of a version control system, at least with git, is not backup which retains all history, but rather versioning which retains the history you want to retain.

Obviously, if you choose not to edit the history, then you never need to back up in this sense, and you're free to do that. But then you can't ever go back and change things (like remove accidentally committed passwords, etc.)

But if you choose to rewrite the history, and mess up, then you'll be glad you had a backup. And (in response to other comments), even if there are ways of still retrieving/fixing data, it's often easier to just restore from your backup, especially when you're trying out git commands for the first time, and you're not entirely sure if they'll work exactly how you expect. None of us are git experts from the beginning, and I've resorted to git backups numerous times when trying out a command for the first time, and then discovering it wasn't the right way.
Ask HN - Great examples of entity design patterns?
Any great tutorials, code, books, or talks on working with or making a component entity system would be amazing. I want to learn more about game design and other system design, so feel free to leave anything you've found helpful. Thanks!
>What is LANG=C supposed to do?

It changes the charset to do not use utf-8.
There is some rather interesting interview with Vladimir (in russian), which shows a little of his underlying motivation:

http://baaltii1.livejournal.com/198675.html

http://baaltii1.livejournal.com/200269.html
2013: The Year 'the Stream' Crested
Facebook keeps track of every message you type – even ones you don’t post
Tern.js: Open-Source intelligent JS tooling for $EDITOR
None that I know of, it's a quick and dirty custom command/function:

https://github.com/romainl/dotvim/blob/master/vimrc#L302

https://github.com/romainl/dotvim/blob/master/autoload/funct...
And you missed my point. Static methods are not an OOP construct, unless we would be talking about class methods on classes that are objects themselves, but in Java we don't.
Isn't this a William Gibson invention from the Pattern Recognition / Blue Ant series?
Things startups need to know if they want to raise capital from Silicon Valley
Korea Will Soon Be Home To The World's First 'Invisible' Skyscraper
Maybe, the silver searcher still seems a _lot_ faster than grep with this trick though. (About 0.5s vs 32s on an arbitrary test).
Well, what would happen is that the clone would commence a depth first walk down the path of the original's imagined task graph and probably overdose on some stimulant while trying to prove the Riemann hypothesis.

I found the story in the article to be a bit naive...
You're right. Real men don't use Assembly, too, but do use binary instead of. :)
I won't argue too much with this except the last part. I think working for the majority of startups is still head and shoulders above conditions working in finance. Sure you make less money, and if you're naive they'll make you work 80 hours for a pittance of a salary and a bundle of useless options, but if you are reasonably good and stand up for yourself you can still get a pretty good deal.
Here's funny video clip of their study, running servers outdoors. http://www.youtube.com/watch?v=WmmfmYID1Yw
Happy birthday, you think 24 is bad? I'm gonna be 29 in May, and I'm an American, and I feel pressured to get married and have kids too.. Haha.
> Semantic/CEDET is ridiculously complex and lacking in documentation

So, sooo much this. And it's a real shame, because semantic is quite a usable tool once you get to know it.

One thing I really wanted to have was a semantic index, a database of semantic symbols inside a project. I wanted to be able to write "Form" and have it display all the class names containing "Form". Grepping (even ag) is just much too slow and building my own index was too much work. I then saw "semanticdb" module.

A week, I'm not kidding, a week - instead of half an hour - later I finally managed to preload a custom tag database and to query it. And that was with Python code, which has Semantic parser already, which is well integrated into the rest of CEDET.

Now I'm fighting with CoffeeScript/LiveScript support. They both expose their parsers - I can get their AST with one line of code. After another week I still don't have working Semantic plugin for them.

When I last checked, the activity on a CEDET and Semantic mailgroup was almost non-existent. The home page for CEDET looks like it comes from last century and even info pages are not a big help.

It's a friggin shame, because when Semantic works, it does work well.
Ah, the mythical enterprise. I've yet to see an example in which UML Class Diagrams have been useful, but whatever, I guess that's the same enterprise in which you've got "architects" outlining stuff in UML, then passing that to the monkeys to fill in the blanks.
Valve's Steam Machine Delivered To Homes, Gets Unboxed
It's beyond my understanding, as a physicist and programmer, how can someone write a full comparison between DNA and a programming language or source code as written by intelligent beings, and at the end recommend a work on 'evidence that there is no designer' of life.

The very definition of intelligence is not 'being smart', but having the ability to select one option out of a set of possible options. That is what we, programmers, do. We don't just throw lines of code randomly. We select specific ones for a specific purpose. That's how we build software, mechanisms of information put in motion by the computer. We put our logic into a decisional mechanism which mimics our decisional ability.

However, life does more than that. Life is more than a mechanism driven by a source code. Consciousness goes beyond rules of decision found in programmable machines. But even if you're a physicalist, the abilities that simple beings have such as recognizing objects, paths, building nests, traveling long distances, using tools, are amazing in their own right.

And yet, these all are strong evidence there is no designer beyond it all. It's mere chance, bits on a string selected by nature.
DO teach encapsulation of state.

I agree, with the caveat that there should be good discussion about when it's important to encapsulate state, rather than a rather blanket "always encapsulate data and methods" which is how it's often presented.
Link to the peer-reviewed empirical study that is the basis for this blog post by the study author:

http://elsarticle.com/18AQUBF

Justin Thomas Briggs, Alexander Tabarrok, Firearms and suicides in US states, International Review of Law and Economics, Volume 37, March 2014, Pages 180-188, ISSN 0144-8188.

http://dx.doi.org/10.1016/j.irle.2013.10.004.

http://www.sciencedirect.com/science/article/pii/S0144818813...
100% minus 1% is 99%. You thus have less than your principal. I.e. in the hole. It's pretty simple.
This is disgusting. "var-" prefixes!? No. Just no.

Now there's another reason to use Rework, Stylus, LESS, or SASS.
> The fact that you can't know all of your future targets will support that is a problem.

To be honest I've even seen compilation issues coming up between ubuntu 10.x and 11.x. I don't worry about future targets that much. Until they're tested, I assume they will not work.
Really ugly syntax.

var-* ????

Who thought this would be a good idea?
Nice keyboard picture
This is a really nice and funny picture that will make you smile!
How about a more provocative idea (yes, a straw man, but I'm just thinking aloud):

Don't distract new programmers with computer science. ;-)
They have a watch mode and there are also source maps or debug mode. It's basically as if browsers would support it natively. The workflow is fine, really.
Some of those auto-camera-targetting laser cannons from Pirate Cinema would be awesome.
Not supporting Unicode often drive me crazy/sad, especially for a diff/patch tool.
There's a big flaw in the NPR writeup. The research is on head tracking, but the writeup leads with an example of head + eye tracking, which is a much more difficult-to-test but more important hypothesis.
function definitions being constrained to classes has nothing to do with OOP

It doesn't?
Sets the process's locale to C rather than whatever the system's default is (if the process is locale-aware, as "C" is the default locale for C programs). The main change[0] for this case is to also disable encoding (and thus decoding), all text is considered to be ASCII rather than whatever the locale specifies (usually UTF8 these days)

[0] the locale should have an impact on what character ranges match. See http://stackoverflow.com/questions/6799872/how-to-make-grep-... for an example
Just use a camera with OIS instead!

http://www.youtube.com/watch?v=Xbd7TtKrDFc
Maybe your default locale is already C?

I'm still surprised that TFA can claim such a speedup, I would have thought IO speed was the bottleneck when you grep through a big amount of data.

As an other poster mentioned I wonder if the speedup is not mainly disk caching in RAM during the 2nd run.
Surprised to see no one in the comments has mentioned the reflog [0]. It's really very easy.

[0]: http://jscal.es/2013/08/05/seriously-the-reflog-isnt-that-sc...
I wasn't involved so don't know first hand but suspect the gory details were discussed by everyone in the working group. http://lists.w3.org/Archives/Public/www-style/.
Or were you being sarcastic? ;)
No.

The tool should support even the most hideous constructs; saying that "but what you wrote could be written better" is completely orthogonal to "the tool couldn't handle it".
I honestly don't have a hypothesis. I am curious if less socialized (with the other gender) kids grow up to have more stable relationships as adults.
Also a mafia reference "go to the mattresses", appropriate for a extortion scheme.
(Pardon the fact that it's a Google Doc; I haven't had time to write it into HTML yet and the Export function is not quite cutting it.)
Nonetheless, beginners will still have to be introduced to the concepts from the start.
I suspect backwards compatibility has something to do with it. Old browsers probably ignore var- attributes. But something like @var quite possible makes IE5 or something throw fits.
Feel free to call me an idealist, but I do think that the base foundation for a democracy such as a fair trail before imprisonment and non-use of torture should extend not only to citizens but to all people.
Paypal Alternatives Your Startup Can Use For Online Transaction Payments
Not also, that's the core of the extortion scam, to threaten to violate people's privacy.
This is why I don't lurk HN much anymore. Great story, terrible discussion.
http://www.webappers.com/

http://tympanus.net/codrops/
Yes m48+ is the best way to have HP 48x. I'd also like to have the emulation of my HP 28S, I'm more used to it.
The BSD solution to this problem is __DECONST(), a macro which basically casts through `uintptr_t`.

#define __DECONST(type, var) ((type)(uintptr_t)(const void*)(var))
I'm mucking with the same ideas for Grimwire [1]. HTTP-style servers are run in pages, Workers, and RTC peers. New software can enter the user's personal RTC/worker network, make requests to applications that act like openPDS describes, and send the answers on.

There are some known unknowns and I'm always ready to get schooled on security. That said, almost anything has to be better than the mint.com approach.

1 https://grimwire.com
I have found with JS heavy frontends, simple solutions like this stop being effective quickly. I have about as many sass file as I do JS files in my project. Being able to use variables defined elsewhere in all those files is essential.
FWIW my locale is en_GB.utf-8 and I also get no difference (in fact, the version with locale is slightly faster than without), with GNU grep 2.14 on OSX 10.9.

The built-in BSD grep (2.5.1-FreeBSD) also runs in 30% of the time GNU grep does.
They should try updating that.
This post illustrates is the problem with HNs "original title" policy: it lets inaccurate linkbaity titles from sketchy publications (including the modern Atlantic) get repeated on a more(?) reputable site like HN.
I already read the introduction a couple of months ago, pretty much on the day when they officially announced that the book is available.

From what I understand: If you are a type theorist / constructivist, then certain constructions will not be provably equivalent, although their classical counterparts are. Some of those classically trivial equivalences might be recovered though via the univalence axiom. Is that correct or totally wrong? Furthermore it seems to me from the discussions with fmap, that if I am a classical mathematician, I cannot use HoTT (unless I am willing to compromise and give up some of my power).
I'd wager most NoScript users know to turn it on when a page doesn't work.
Which number system does it use? 8-byte doubles or its own library? What are the ranges? On which libraries is it based? Does it have complex numbers?
Immaniah - Hacker News feat. Paul Graham