skysight-inc/HackerNews huggingface dataset:
Some of my examples can be further simplified (no -print0, no xargs), without a perf issue ("{} +" passes multiple filenames as arguments), with GNU find which is standard on Linux:

replace 'var' 'let' . -r
find . -type f -exec sed -ri 's,var,let,g' {} +

replace 'var' 'let' . -r --include="*.js"
find . -type f -name '*.js' -exec sed -ri 's,var,let,g' {} +

replace 'var' 'let' . -r --exclude="*.min.js,*.py"
find . -type f ! -name '*.min.js' ! -name '*.py' -exec sed -ri 's,var,let,g' {} +

To all the Unix shell critics: don't try to argue that writing a 173-line js script is "simpler" than learning 3 find options (-type -name -exec), the bang(!) 'not' operator in find, and 2 sed options (-r -i). This is just wrong, seriously.
>the community has little control of

in what way?

> even tries it best to make _you_ buy non-free stuff

what?
http://en.wikipedia.org/wiki/Why%27s_(poignant)_Guide_to_Rub...

Edit: Fixed URL
I think all of you are missing the point. They might have done this to create a filter that would weed out people who wouldn't fit. But, I think the main point was to attract as much attention as possible to the fact that they are hiring. "Free" advertisement.

This thread proves they succeed beautifully.
Usually, view your account with a browser in incognito mode and look at your comments. I do it every now and again, just to make sure.

Also, addlepate, you've been hellbanned:

addlepate 8 days ago | link [dead]

Are you sure about all that? I never get votes or replies. Also, as implemented,
HN's hellbanning is quite obvious when it happens.

Clearly not that obvious.
I think it is a good argument to learn basis before reinventing the wheel. When using unix, there are already far too many commands to learn. Not having to learn useless commands is a bonus.
"Oh, and you can't use a credit card (hackers steal those, you know!), you have to have funds already in your account."

Wrong. I use Namecheap with a credit card all the time.
> Just because it doesn't have a driver doesn't mean it doesn't need to be manufactured. Car companies will do fine.

No they won't; every > 1 car family will have 1 car only after this, because, when at work, you just send your car back on it's own for the wife and kids. Big reduction. If your neighbor has different hours than you have, you can combine that by sending the car back when you arrived. I think it'll have a huge impact on car sales; we just don't need many anymore as, unlike now, they are not useless without a driver.
Showing that a problem exist has been done yes. The linked article does it, and has several anecdotal to show that yes, there is a problem. Yet, it doesn't even try to ask the question of why.

Is it the cause of low gender diversity in conferences because people do not respect female speakers? If so, have two talks, with two similar experienced speaker of each gender, but only have one written speech with slides. Afterward, confirm which speaker was liked/disliked and check if there was a statistical difference in how men and women perceived the talk. Then run the test a few times to confirm the data. If you are a conference orginizer that want to solve this problem, you should consider trying to do this. At least you should attempt reaching out to the sociology community if one consider that this work is not for technologists.

As for derogatory comments made by listeners. Data would be the first step to find out causes. Is there a equal number of complains (ie, proportional to the number of speakers of each subgroup) of racist, sexist, nationalistic, homophobic, and juvenile/elitist comments? If the answer is yes, than any solution to the problem would either have to apply to each type of derogatory comment type, or it would had to address the issue of commenters using derogatory terms in conferences thus fixing the problem at the root.

Thus First you identify and confirm a problem. Second you ask the question why. Third you create a theory that include a solution to the problem. Forth and last, you test that theory and preferable do it in a practical way. This is the process used by technologies and academics alike, and is the way to gain acceptance when bringing up problems to the community.

(as a side note) I would very much like to see statistics that prove/disprove the idea that women write better talk proposals than men, including the question why if the answer is yes.
I'm sure it must have been remarked that "gun safety" is somewhat a contradiction in terms. Also, that gun crime is by and large an economic problem rather than a technical one; remove the incentive and the vast majority of it (should) go away.

Also/Alternatively this: http://www.youtube.com/watch?v=z9Fc9ONu8yU
The Inside Story Of Siri's Origins -- And Why It Could Overshadow The iPhone
This is the approach I've taken, I use Vim keybindings in IntelliJ and use Vim for lightweight stuff/text editing when required

Best of both worlds
Linus doesn't say things like that.

He goes after people who enter discussions without bothering to understand the details or the history. If you want to code your own kernel in Java, that's your prerogative. But if you come to lkml and start preaching C++ advantages, you will get flaked.
دردشة عراقية دردشة صبايا العراق شات عراقي جات عراقي دردشة العراق
> 1. You can pipe find/sed/grep/cut/awk/whatever to other utils. Today you might be replacing, tomorrow you might be analyzing text logs, and the more core utils you learn the more things you can do with them.

Fair.

This boils down to an individual's needs. I think most people in a position to be making this choice are fairly well aware of what's possible with standard nix CLI tools, and can decide whether or not to invest the time to learn them.

In my experience the ROI for nix wizardry is fairly high at first, but begins tapering off. There are a half dozen or so command chains I use daily without which I could hardly see myself working, and the rest I may not touch for weeks or months on end. YMMV.

> 2. When you're ssh'd into another box that doesn't have that spiffy replace utility, now you don't know how to do an inline replace.

It doesn't make sense to optimize a workflow around an edge case. You don't often hear this brought up as an argument against dotfiles, key bindings, vim plugins or what have you.
How to Get My Google Ranking Higher?
Google consistently changes the way it ranks websites thus the algorithm updates.It can identify whether a website is spamming its way to the top or implementing other black hat SEO tactics.Because of this, old tactics that simply manipulate results no longer work, making SEO a much more difficult process than what it used to be.
Just minor nitpick: "lisp style macros" are not necessarily hygienic either, which is why you need (gensym). Not in Scheme, though.

"iirc you can just use one per module"

I happen to use erlando[1] often (it's fun!) and I use both do and cut transforms all the time. So no, there is no limit to how many parse transforms you can use in one module.

It's true, however, that writing them is a pain, which is why I never bothered to write one (just take a look at how the 'do' is implemented) - but I just accepted this as inevitable cost of not using s-exps as a language syntax. I'll take a look at how Elixir does it, I'd be very positively surprised if it manages to get real macros convenient in non-s-exp language :)

[1] https://github.com/rabbitmq/erlando
Google doesn't need you to sign in because they already know exactly who you are, that should bother you a little more if you ask me.
Clearly. He also wrote:

"Are you mad that the Internet disagrees with you? Maybe get off the Internet?"

https://twitter.com/zeeg/status/294305445521268736

He's now gotten off the Internet because he's upset. Ironic.
> You're talking about a system for autonomously controlling every motor vehicle in the U.S.,

Not a (single) system, rather one such system per car - standard protocols for inter system comms are yet to arrive and each vehicle needs to react to local changes such as pedestrians w/out reference to an external global computing infrastructure.

It's not a big data, massively interconnected problem at all - the elegance comes from local smart behaviour - even for broader problems like optimal pooling.

Others can enter the driverless vehicle market and there are companies like Akamai Technologies that could provide any required interconnect. Google is a player, but by no means the only player.
Thats why folks at whatwg.org spent so much time trying to define how html should be parsed.
Alas, that still does not fix the problem with different vendors implementing different parts of the same specification.
There have been plenty of GoDaddy rip-offs and fiascoes. One of the earlier ones was the arbitrary shutting down of domains and lying about it: http://www.wired.com/threatlevel/2008/03/godaddy-silence
So how many years are we talking until we see them in the US? Europe? Asia? Not seeing 1 or 2 with millionaires in them but when I buy any car I have the option, or, even better, it's mandatory driverless (which makes sense as the roads would be safer with only driverless cars there)?

For me, this would actually be a solid reason to move to the country they have it first. I find driving an absolute waste of time, but busses and metros and trains are just not a good substitute unless almost empty and comfortable (which most are not).
> Nope. But pizza making still will be. Sebastian, are you listening?

Not so fast. Check out this gourmet hamburger making robot: http://singularityhub.com/2013/01/22/robot-serves-up-340-ham...
That analogy stinks and it is not as simple as you make it. It is about intent and malicious use. Opening a door is legal too, still you can get punished if you were not allowed to open that specific door and abused the opportunity to take some stuff with you or violate someone's privacy.

The problem is not that "he incremented a number, get the sheriff" but "he incremented a number to get access to information which he that maliciously used".
You can solve all these same problems with bicycles, if your cities are more dense.
And yet, it's not useless to so many.
Also, it supports syntax highlighting using [code=language]
Without any aggressive intent, how could Backbone improve your cross-environment problems? It's just an MVC pattern implementation, it doesn't abstract you from nothing.
In the case of ssh keys, you usually should use a different key per device/home directory and let your server accept all the keys.
Guy who got into Google
Archon, along with Montezuma's Revenge[1], was one of my favorite games as a kid!
A friend had it on c64 and we played it ceaselessly.

[1]: http://en.wikipedia.org/wiki/Montezumas_Revenge_(video_game)
"IE attempted to follow in Microsoft’s Embrace, extend, and extinguish strategy, and that is bad for the web."

Attempted and failed. And that was 10 years ago. Why are these WebKit guys always so stuck in the past? Microsoft is very clearly all about embracing the web.

More importantly, when will they realise that WebKit-specific CSS styles are bad for the web?
they raised property crime slightly

The article shows that they increased the murder rate substantially. Moreover, most people would prefer to have 10 murderers focusing their attentions on each other than having them next door. A spatially localized Cabrini Green which you can avoid is far superior to one that you cannot, especially when it is your tax dollars that are being used against your will to create this dangerous situation. By contrast, AirBnB is not forcing you to pay the rent for the hipsters boarded in your neighbor's domicile.

nobody thinks that Section 8 doesn't increase crime in
nicer neighborhoods

OK. So we agree that official United States government policy increased crime in nicer neighborhoods and that nobody thinks differently. And we probably agree that murders are considerably more serious than any of the hypothetical harms caused by apartment rentals, especially given the statistical evidence for a direct causal effect of government policy presented in the article.

So: given that it is still official US government policy to increase the murder rate in middle class neighborhoods (Section 8's budget was raised to $19B in 2011), exactly why should anyone believe other government housing regulations would promote the common welfare?
So explain to me how she messed up. Because I don't see any messing up on her part. I see a number of assholes (and some generally good folks who did mess up) unable to get out of their own headspace and into someone else, but that's about it.

And there is a large gulf between "patting on the back" and being an asshole.
Nope, still here.

I'm just not replying to you on Twitter because lol
Tips for 2013 When Renting Professional Machine for Cleaning
Yes. But the "constant factor" will be very large, even larger than for traditional ray tracing, for some global illumination algorithms, even when you chose to only render a small part of the scene. For example photon mapping requires a pre-pass where you trace photons from the light source onto the scene, that means that reducing the pixel count doesn't decrease the time for the pre-pass. http://en.wikipedia.org/wiki/Photon_mapping
Its a nice feature you got there. Have you thought about creating permanent links? Are you going to blog on how you made it?
Worked fine when I just tried it.

Question is, what happens to those snappy URLs when more than a few (thousand, million, billion) folks discover it?
See http://en.wikipedia.org/wiki/Jevons_paradox

In economics, the Jevons paradox [..] is the proposition that technological progress that increases the efficiency with which a resource is used tends to increase (rather than decrease) the rate of consumption of that resource.
You are still wrong, she is still right. If we wouldn't have to care about either 1) the resource use or 2) the easiness of use, then most of the programming would be unnecessary. Her solution is better than yours on 2) always, and on 1) as soon as you need that functionality in node.js contexts.
Every vendor has its own needs and priorities. Would we be happy with a single implementation with incomplete support for a spec feature and no other implementation on the table? It's a possible scenario, in a WebKit only world.

Don't get me wrong, I love WebKit, I love Chrome, but I also love Gecko AND Presto. They're doing a terrific work that must be rewarded.
I don't think the tweet "Ever wanted to make sed or grep worse?" is really malicious or a problem. It seems to have just been picked up as part of the other twitter comments that really were malicious and a problem. If the other tweets didn't exist, I doubt anybody would have had a problem with that one.

Not reinventing the wheel is a valid opinion, although in this case there are valid arguments why reinventing it (windows, learning, preference) is a valid thing to do.
I see absolutely nothing wrong with this approach of writing your own tools. If a person feels that it's better, why ridicule it? Noone is forcing you to use it. If you feel it's not for you, that's fine.

On the other hand, some people are advocating this approach as a way to improve your programming skills:
http://www.rodrigoalvesvieira.com/copy-unix/
I'm not a regular user of either, but I've much more enjoyed my time playing with Clojure and lurking in the community. For the most part they seem like solid people.
Jurys Inn Leeds gets a £1million Refurb
Both the sites you list seem to be US based. Are there any UK based solutions?
Now hold on... you can, in fact, raise issues in a positive way.

"Hey Larry, after I spoke yesterday I checked and we've got corruption on our RAID array... I think I can work towards resolving it, but if not then we need to come up with a mitigation plan."

vs.

"Larry, we've got corruption on our RAID array. I told you yesterday and you didn't work fast enough on my suggestions, so now we're all screwed. I can't believe your stupidity!"
I've used them since 2004 for DNS and email hosting -- never had any problems.
it's snark for snarks sake.

He could easily have said, "I don't understand why this was written. sed and grep are good as they are"

and still have been within the twitter char count.
In his(her?) own words: http://harthur.wordpress.com/2011/06/06/replace/
I do not think permament links on this would be a good idea simply because of the far smaller number of combinations.
You have got to be kidding me, spoken like a true luddite. You realize if autonomous cars were suddenly a real thing, the entire world economy would shift and become wildly more efficient, right? One of the pillars of our transportation infrastructure is that vehicles have an operator. This dictates their form, this dictates the manner in which we build roads, bridges, etc. This dictates the manner in which we design supply chains, the way we transport energy, the way we build cities and towns. It's hard to imagine anyone using the word "short sighted" to describe the concept of autonomous cars. It's one of the most ambitious technology projects going on today and it stands to be as revolutionary as the original automobile.
> Opening a file and reading from it takes tens of lines in Java,

Some of the bad Java is because of missing abstractions, most of it is because of badly designed api.

http://paulbuchheit.blogspot.in/2007/05/amazingly-bad-apis.h...

For your particular example, the api has been better since Java 5.

import java.util.Scanner;
import java.io.*;

public class ScannerTest {
public static void main(String[] args) throws FileNotFoundException {
Scanner in = new Scanner(new File("some_file"));
while (in.hasNextLine()) {
System.out.println(in.nextLine());
}
}
}

> You don't learn Java these days, you just learn eclipse. Much of the magic is happening in auto complete.

I code in vim with eclim. There is nothing to be gained by manually writing the code for getter setter, or find-replace an identifier, or write placeholders for n methods of an interface...

> I am not sure who picks up a book to learn java these days.

It was some time ago(about 8 years ago), but I learned Java from a book(multiple books; I liked Core Java best http://www.amazon.com/Core-Java-Volume-I-Fundamentals-Editio...)

Also, what good would eclipse do to someone who doesn't know what to write? Consider my example above. Unless you know how to read a file, how can eclipse generate the code for you?

Or consider generics. How will eclipse help you understand what does <T extends Comparable<? super T>> mean? Eclipse is an aide. Unless you understand the language well, it doesn't help.
Great work! Seems its getting a great response so far! http://team.wingify.com/flood-of-interest-for-our-new-cross-...
>Don't like it - don't use it.

This is a false dilemma and completely misses the point. The replace library was written by a person who either never heard of or never learned how to use SED. Just because they created their own hack as a workaround doesn't mean it's the right thing to do.
Not sure I could have fit the link :)

Realistically though, I could have. I didn't. It doesn't really matter why. I didn't follow what others said, so maybe it was a lot worse, but I do agree that what I said could not have escalated into what this is.
I work for Mozilla, but I speak for me.

Supporting a monoculture is trading future potential in the name of short-term convenience. This doesn't just apply to rendering engines, or even just technology. Wishing you could wave a magic wand and make everyone use the same tools, language, conventions, or coding style is something every engineer wishes from time to time, but the world would be worse off without diversity.

Wishing one rendering engine "wins" over the others is a reasonable thing to say, and WebKit is a very fine engine. But the moment we start treating the Web as a zero-sum game and stop collaborating on the vision of a better online experience, nobody wins.
Certain numbers of accidents happen during firearms training with military, police, and civilians.

It is very common for flight simulators to be used as training tools for those about to pilot an airplane, so perhaps building very realistic non-violent shooting simulator (complete with felt recoil) would be a good approach: experiment with using them in several police academies or military training centers -- require recruits to gain a certain proficiency before live firearm training, then observe if there's perceptible change in accidents during live round training afterwards.

To pre-empt an obvious question, blanks aren't very useful: they will not cycle a semi-automatic, don't provide realistic recoil, but they're still capable of causing very serious injury (or death) to someone on the other end.
Which is faster: CSS3 transitions or JQuery animations?
It's both. Its hyperlocal real-time understanding and eye-in-the-sky big data analysis to keep everything running smoothly. Think about where you end up 10-15 years after this technology comes out: "cars" driving on multi-level, many-laned highways travelling 150-200mph a few meters apart, traffic flow coordinated to optimize energy usage and minimize time to destination. It's a hard problem and not solvable via local agents alone.
Very admirable to apologize like this, and very easy to make the mistake you made. I think we all have here.

Discussion forums and social media channels have a way of dehumanizing and desensitizing people.

Take care!
I think you should update your README.md file in order to indicate the proper way of doing things and to discourage the use of it for any other purpose than learning.

Ack isn't a "standard unix tool" either. I use it all the time.

You're being a presumptuous asshole in telling her to discourage the use of it just because you don't like it. I get that you're trying to be nice. You're not succeeding. You're being the problem. Stop.
many. at least some will. but that bug will get fixed in safari at one point, so: don't penalize users of other browsers.
In a world of Pepsi and Coke, how can three rendering engines be too many?

1. Trident (IE10+)
2. Gecko (Firefox)
3. WebKit (Safari, Chrome)

(Yeah, Opera needs to just.. stop. So sick of all the Opera oddities, combined with their 0.5% market share.)

Proposing that there be only one seems very dangerous to me. But as an argument for Opera (and other tiny-market-share) browsers dropping their proprietary engine and switching to either Gecko or WebKit, I'm all for it.
Right, because, for instance, they prevented Toyota to sell their Prius because none of the French automaker had a plugin hybrid ?

You know, it's easy to always blame the government when the real problem is that you start your thought process as if it was hopeless from the beginning ...

PS: Yes, I'm French.
I use an AMD 1.6 GHZ powered netbook with 2GB RAM running Arch Linux. Chromium is unbearably slow after opening a few tabs. Firefox chugs along just fine.
As much as the "truth" of the stereotype of the jock PHP developer or smelly, fat, bearded C developer. That is to say, those people surely exist within each world but it's a shame when others lack the peripheral vision to see the true, bigger picture without falling into stereotyping.
Yes, memory bandwidth is one of the biggest slow downs of ray tracing. Rasterization access memory very linearly which makes it very easy to cache and easy to optimize in hardware on the GPUs. But ray tracing access memory very randomly, two rays originating from pixels next to each other easily diverges and so hits objects far from each other in the scene. This means that ray tracing will spend most of its time waiting for memory.
Doubling down on "well, hurr, I'm an asshole and that's what I do" is sick.

Act like a decent human being.
At least the mobile version looks kind of Ok, only a small banner at the bottom, though the pagination is most definitely annoying, especially because it prevents Pocket from correctly extracting the text from the article.
Yeah, the latest Firefoxes are plenty fast, in both JS and DOM. And for that matter, so is IE10, though they iterate much slower and tend to fall behind over time on that basis.