skysight-inc/HackerNews huggingface dataset:
Nice line, but you don't actually need all those separate greps and cats. You can do:

while true; do sox -t .wav "|arecord -d 1" -n stat 2> /tmp/tmp; echo -n $( date +%Y%m%d%H%M%S ); grep -e "Maximum amplitude" -e "Midline amplitude" -e "Rough *frequency" /tmp/tmp | cut -d ":" -f 2 | tr -d "\n"; echo; done

Shortening a line like this reminds me of a discussion on a forum about picking a random movie to play. It started off with loops and scripts of all kinds, and eventually ended with "shuf" :)
It's obvious you have never lived in Argentina :-)
> I didn't realize we had so much terrorism that we need to program swarms of these to do what you described.

You didn't realize because you aren't in command of all the facts, or you knew and didn't correlate: http://en.wikipedia.org/wiki/Moscow_theater_hostage_crisis

Using gas in a situation like this isn't like in the movies. Dosages vary tremendously with physiology and interactions with other drugs, so dosing everyone is very likely to produce fatalities. Swarms of TASER-bots would avoid this.

> Or by terrorism do you mean legitimate activist groups that threaten existing power structures?

That's largely a matter of point of view. Is your point of view that anyone who even thinks of the weapons implications of technology automatically is for the oppression of dissent? If so, then this reveals your prejudices. For myself, I think that these sorts of gedankenexperiments about potential military use are interesting and valuable, because they allow for concerned parties to become aware of these possibilities, which is constructive. The automatic tarring of people doing such speculation has the opposite effect.
Someone recently told me about this service:

http://codereview.airpair.co/

Just type in details about your stack and the service suggests different priced experts who can review your code by the hour through screen share.
How profilers lie: the cases of gprof and KCachegrind
I suspect that you are not running into safari's performance limits so much. I think it's more likely that your client-side code is doing something that interferes with the browser's event loop, and is thereby preventing the browser from processing ordinary operations like doubletap-to-zoom, scrolling, pinch-to-zoom, etc. If you have a lot of JavaScript operations to perform, sometimes you need to defer some of them until the next time the event loop comes around — so that the browser can "breathe", as it were.

GWT, for example, has a DeferredCommand and IncrementalCommand facility for this situation. I believe they are just wrapping the setTimeout(func, 0) trick. (See link below.) If Fay does not have such a facility, then you may need to do some upstream work to teach it how.

http://b.javascript.info/tutorial/events-and-timing-depth#as...

But I guarantee that even an iPad 2 should have enough oomph to tackle your modest needs. It does just just fine on more intensive things like Google docs, spreadsheets, reader, and plus. And Facebook.

If, for example, I have not yet asked the monads tutorial to compile and run a snippet, then the browser's JS thread should be entirely quiescent and the event loop should be responsive to my zoom, pan, and rotation requests. That it isn't implicates your code (and/or the code Fay emits) — not the browser. I hope the creators of Fay considered this while architecting it. If they didn't, it's unlikely that they would have arrived at the correct solution by accident, because ordinarily compilers never need to worry about being "a good citizen" to a browser's event loop.

Best of luck. I envy that you get to work on this!
It's scary to think that this guy who was just shocked to discover a very basic concept of object oriented programming (polymorphism) has written his own book on iOS programming:

http://clayallsopp.com/posts/writing-a-programming-book
With reading the article:

Actually, they went out of fashion even earlier. The Persians invented them for horseback riding, and then European aristocracy adopted them to look macho; they increased the height until they got impractical, though. Female aristocracy then adopted them during a trend toward male features in women's fashion in the 17th century.

Then in the Enlightenment, men's fashion took a turn for the practical and sober (Man is Rational!) while women's clothing kept the old ostentatiousness (Woman is Emotional and Sentimental!) - including the heels. So by about 1740-60, men's heels had gone definitively out of fashion, while women kept wearing them.
iMessage your friends with this string and their Messages app will start crashing. Fun!
Well, my main point was about China and mentioned US govt just as an example. If you don't like that example, how about: "Its wrong to call a corporation corrupt just because a few mid-level employees go rogue"
Well, there are different parts to Gnome.

There's Gnome the window manager library and there's Gnome the "Graphic Environment" the shell and related applications (Gnome-shell, Nautilus, etc).

Gnome the window management library would make a great thing to put within a tighter GNU. It is the basis of Xfce and Ubuntu Unity as well as the Gnome Shell. Taking the underlying library out of the current tug-of-war over interfaces between these environments would be nice. And I realize there's also the Gnome 2.0/Gnome 3.0 issue in libraries but I'd say a more neutral umbrella would still be useful.
To each his own.

For me it was epoll() that blew me away. Absolutely crazy. Brilliant. But in retrospect so damn obvious.
Sounds like anxiety was the main problem. Drugs may have helped.
Reading is arguably more important than typing. Being able to fit more code on the screen has its advantages, too.
> Did you read the article you linked?

Yes. The rule is:

"Less" of a continuous quantity.

"Fewer" of a countable quantity.

So "fewer" keystrokes. The issue is clear communications, not rules -- the rules serve the goal, not the reverse.
Either save the money, or invest the time and do it yourself. By the way there's no crime in a first project not having design. And not for nothing it couldn't hurt to learn a bit about UI even if you don't do that over the long run!
http://codereview.airpair.co/

Type in details about your stack and the service suggests different priced experts who can review your code by the hour through remote screen share.
I have it on good authority that women drive cars.
Interesting idea - is it grounded in a particular spiritual tradition? Are there any texts I could read (or places I could study) to learn how to do this?
I was referring to geographical size. And as I said, while I do not have scientific evidence, I have a hunch that managing same size of population over a vastly smaller area should be easier.
A few water crashes and people start jotting down ideas for next time.
> This is unfortunately the perfect scenario for some real dark forces to appear

Well, they kind of did, and you handled it perfectly.

Anders Berivik killed 77 people (mosly kids). Compared proportionally to the population of the US, that would be 4822 people, a lot more than the 2977 victims of the 911 attack.

Yet Norway didn't start imprisoning people without trial, nor harass them at airports.

77 / (5033675 / 315255000) = 4822.44781
> If I use tabs, then Python will just consider a line that starts with 2 tabs to be indented one more level than the previous line with 1 tab, and so on.

Yes, but that's at odds with how the code looks to a human when both tabs and spaces are used. Remember that I qualified my remark by saying it was about a mixture of tabs and spaces.
I am going to say defense is an important factor in the game. So I am going with SF.
As a rule service providers are looking to maximize the number of times they get in your face with a plausible excuse, not to minimize it. Gmail would like this idea, but Facebook would not. Hence, I don't see it getting adopted.
On second thought, lets not go to Tehran. Tis a silly place.
> The question begins with "If it didn't matter syntactically with the programming language".

Not in the post to which I replied, that was added later -- review the thread.
There is a higher resolution picture of the cockpit here:

http://i47.tinypic.com/24zxgsw.jpg

The avionics seem to be what you would get in a Cessna or other small plane. The airspeed indicator marks the never exceed speed at 260kts.

Based on the interior picture it also looks like the fuselage is made out of molded chopped strand mat fiberglass, the same type of material you'd find in the hull of a boat rather than an aircraft.
Physicist here. I never have to read such long variable names, which would make it much more difficult to spot bugs. I do undertand that long variable names have their place but, when it comes to programming numerical code which is a translation of actual equations, shorter names make it much easier to read and spot mistakes. I do wish that I could use a programming editor that could look like a TeX output on the screen though ...
Though twitter seems trivial to a lot of people, Wikipedia has 4 different suggestions[1] when you search for 'twitter revolution'. So perhaps it's not so trivial and celebrity-focused as it seems to us non-users.

[1] http://en.wikipedia.org/wiki/Twitter_Revolution
I think the issue regarding the size is more that there isn't enough space to add enough fuel, a full set of avionics such as comms, radar, IFF etc and get a pilot without a growth hormone deficiency crammed into it (perhaps they are using that monkey when it comes back!).

Size doesn't matter with stealth technology at all - it's all about which way EM radiation bounces off it.

It looks like a JJ Abrams prop to be honest. Actually not even that credible.

Regarding virus and software attacks on aircraft (military at least) - it's all a load of JJ Abrams style "let's inject a virus into the core" horse shit.
At that point I closed the article and thought "Wtf HN, why was this on the front page?". Then I remembered that anything Ruby-related gets automatic upvotes, even if the author does not know the first thing about OOP.
But comparable to North Carolina. You already have states. Use them.
If you ever wanted to know how far advanced the US military is, here's a prime example. It's a long way from model to prototype to full scale production, so I wish them good luck.

This hardly worrisome considering we're already working on third generation stealth technology. We also have the best pilots in the world, and technology that makes this plane look like a fourth year engineering student project.
I'm talking about poverty and greed in the US. Poverty helps lead to petty crime (mugging and home robberies). Greed helps lead to the murders I mentioned (in Miami in the early 1980s, mostly due to the illegal drug trade).

In any case, I concur with smcl. You are incorrectly extrapolating your regional attitudes based on French culture to the entire continent. It does not much apply to Sweden, where I live, nor to what I understand about Norway and likely the other Nordic countries.

"People like to classify themselves and others". Yes. The US author Vonnegut even termed the phrase "granfalloon" for "a group of people who imagine they have a connection that does not really exist." This includes football fans, who self-identify, say, as Man U fans.

"Homogeneity" is different than "relate to each other and don't feel threatned by each other." Some of the bitterest rivals can be between different members of the same family. While Switzerland is surely an example of a successful non-homogenous country in Europe.

If that's the case, then why not argue that the ability to relate to each other and not feel threatened is the key? Homogeneity seems like a false and bland goal.
How many books did you wrote ?
I can explain a bit. The reason that it annoys me that a tech company did this is that I'm attuned to the struggles faced by women in tech. Two things make this industry different from other industries.

1) The ratio of males to females is worse. Women feel more like outsiders in tech than in other industries. Things like booth babes make us feel like outsiders because they are a ploy to attract MEN to the booth, as if there is no reason to attract women to the booth. Secondly, as a female at a conference, people assume I'm not the technical expert. They ask me if I'm in marketing. I see them directing technical questions to the males. It is really annoying to be judged based on your looks and gender, but I don't blame them, because chances are they are right due to the scarcity of female technologists. Booth babes reinforce the stereotype that women at the conference are there because they look nice and are friendly. That makes the problem even worse. Objectification in general reinforces the idea that a big part of women's role in society is to look good.

2) Tech is an area where people STILL question if women are really as capable as men. That makes women in tech more sensitive to gender bias.

In other words, it just stings more to see this coming from a tech company.
> For indentation, I want to type tabs and get spaces.

My editor Arachnophilia has the option to generate spaces when the tab key is pressed. I'm sure some other editors work that way too.
I guess he's gonna come back with another article when he realizes composition > inheritance.
Context: https://news.ycombinator.com/item?id=4956899
Learning From Research Failure
I have not done it myself but it seems possible using http://www.dragonfiresdk.com.
> if you end up with a tab, what's the downside?

The downside is that different environments (and different languages) will interpret the tab differently. Not so for spaces.

This is not usually an issue unless both tabs and spaces are used in the same file, and that was my qualifier.
2013 Superbowl Ad Preview
I have also now read the article. And I am a woman. It is pretty common for women drivers to remove their high heeled shoes before driving. I have known lots of women to keep a separate pair of flats handy or just drive barefoot. It is safer. I have driven in heels, probably just long enough to take the damn things off.

There are a great many things which influence fashion. Available technology. Lifestyle. Cultural trends. Even sometimes practical considerations.

I will suggest though that by the mid 1700s, anyone "important" was more likely to be riding in a carriage than on horseback.
Watch this before you consider one:

http://en.wikipedia.org/wiki/Black_Mirror_%28TV_series%29

Season 1 Episode 3: The Entire History Of You
The reason I titled this Sexism in Tech was because the story was about tech companies dealing with sexism. I was trying to offer advice to companies who may encounter this int he future. It's not because I think all tech companies are sexist. It's just that I work for a tech company and feel more comfortable talking about this industry. Sorry for the confusion.
Take a look at US World News & Reports and their top 10 list. Any of those would be good choices. There was a syndicated article featured on Yahoo a while back about best value colleges, and Georgia Tech was top value (cost vs avg salary when you get out). I know they are in the top 10 for undergrad CS.

There are undergraduate research opportunities available, where you basically take research as a class. At GT it's called UROP (Undergraduate Research Opportunities Program). I know a few people who did it for CS, and they offer it in their other programs of study as well.

As far as language goes, I think I had 2-3 classes at most in a particular language. Some didn't have a language requirement, it was whatever. In no particular order, I used: C, C++, Cg, Java, Smalltalk, Ruby, Bash, Perl, PHP, HTML/CSS/JS, Matlab, Python, Processing, and SQL (if you count that). I also didn't know how to program before I went to college.

As far as paying for colleges go, you may want to check into reciprocal in-state tuition agreements between states. I think most of the time it's for bordering states if your state doesn't have a good program of study. Otherwise, I'd highly recommend work-study, co-op, or internship programs since you'll earn money and get experience as well.
Want to try and teach me? I'm 15 and eager to learn.

(Not expecting anything when posting this)
For your next trick, structure it for hot redeploy.
Crime rate and health are pretty good indicators.
The Guile 100 Programs Project
The whole point of agile has always been to be lightweight, pretty much by definition (read the Agile Manifesto). If it feels oppressive or constricting, you're either doing it very wrong (every good thing can be perverted into its opposite) or need to get over your primadonna issues.

By "formal", I just mean that there's a written process for what to do when that everyone follows as long as they do not have a very good specific reason to deviate from it (and if that happens too often you try to find the reason and fix it, possibly by adjusting the process).

Things that make a big difference to me: continuous integration. Time-boxed releases focused on fully-working incremental business value. Regular reviews of the process itself. Rigid rules for what should and should not be discussed in meetings (at least the recurring all-hands ones).

Measurable differences? No, just heaps of anecdotal evidence. There's damn little quantifiable evidence for anything at project scale, no matter which industry, probably because differences between projects are so large and controlled experiments at that scale almost impossible.
That's an RC model with the jet sounds dubbed over. It's almost impossible that the plane would maneuver that well to begin with, without thrust vectoring and using what looks like Cessna avionics, but it's a certainty that the fiberglass model shown would disintegrate under the force of those kind of maneuvers.
They acknowledge that. From the article:

The 1960s saw a return of low heeled cowboy boots for men and some dandies strutted their stuff in platform shoes in the 1970s.

But the era of men walking around on their toes seems to be behind us. Could we ever return to an era of guys squeezing their big hairy feet into four-inch, shiny, brightly coloured high heels?

Indeed, looking at those shoes, they are much more comfortable than high heels for women. (But I would not want to wear them. At 6'3" I already am taller than I'd like...)
It's great to be able to type quickly all you have in mental cache, until that cache expires.
"He is the creator of some of the most widely used RubyMotion libraries"

Then everyone is surprised when critical bugs come to light in Ruby stuff.
I think this comment is a little unwarranted. Polymorphism wasn't the concept he discovered - the idea of generating the classes (metaprogramming) and the "clever" (well, some would say so at least) was interesting to him.

I also don't like how your comment tries to make fun of his efforts to learn something new.
I actually hate driving and happen to be female. Please don't tempt me to make jokes about "real women have (male) chaufers". (When I was married, I made my husband drive as much as possible.)

But have an upvote. It is at least a better argument than the other one so far.
> In your experience, can you give an example (in a language that does not care about whitespace) of recurring bugs related to not being able to distinguish between tabs and spaces?

Translation: "If we eliminate any chance that a tab will be misinterpreted, can you think of a case where a tab might be misinterpreted?"

The issue are those cases where tabs do lead to confusion, not where they don't.
Way to small consideration is not about the pilot fitting in but rather not having enough range (can't carry much fuel) nor useful payload (in this case armament).
dhh recently posted about this very issue. Made me feel a bit more confident in being more expressive with variables.

http://37signals.com/svn/posts/3250-clarity-over-brevity-in-...
and what does `trust` mean? You don't trust that correct object won't be given back to you?
I see that you don't support other payment gateways. Check out Spreedlycore.com if you want to easily add more.
What? "Improving", that is educating, students is the primary purpose of colleges. Seems perfectly reasonable to want to measure how effectivly they do their job.

The quality of the graduates of a college depend on a number of factors but probably the two most important are the quality incoming students and the college's ability to improve their quality. In effect colleges perform two functions: sorting and educating.

Sorting people based on standardized testing, high school grades, essays, recommendations, interviews and application details is a useful service in itself. However most of the value and almost all of the cost of colleges comes from educating not sorting.

The current college rating "system" can't possibly separate these two sources of quality. Clearly it would be something useful to know as within any group of similarly ranked colleges there will be differences in the quality of the education component.

All else being equal prospective students would choose the school that offered a best education. More applicants would to schools that were better at their primary mission, educating their students. In turn these schools could be more selective.

Building such a system will not be easy but should be very valuable. Please continue working on this Mr Gates.
You can do this with Microsoft Exchange already, but not standard SMTP etc.
Consider physical security against terrorist attacks. You can spend unlimited resources trying to prevent these. But this is subject to diminishing returns, and has other costs.In software projects, too, there IS a point at which it is more rational to trade off security against something else.

I would argue that the situation with Rails is analogous to the (historical) situation with Windows. There have been some design mistakes which have opened up more surface area for attacks. But the number of exploits has a lot more to do with market share.
Even in the age of 1080p I agree with you. Side by side code samples, or having documentation up next to code, is very useful. However, if super verbosity pushes your code width to 120 characters, the screen real-estate needed is too much.
Yeah, sorry. Here's the full snippet:

instance (PrintfArg a, PrintfType r) => PrintfType (a -> r) where
spr fmts args = \ a -> spr fmts (toUPrintf a : args)

And spr is a polymorphic function of the type:

spr :: String -> [UPrintf] -> t

Essentially the way this works is that it recursively conses up a list of the arguments, calling toUPrintf on each.
Points:

1. Its a model only, the video says so itself.

2. If Iran makes a airplane, no need to think it will use it on west automatically. This news just happen to come at when both sides have tensions. Peace people!

3. If you look at it from a technological perspective, making such an airplane, despite the international embargoes, is a big feat.

The odd shape would be really interesting to analyse for its aerodynamics. I hope someone can do a detailed analysis.

4. Imagine, if you are a country, would you really post pics of a new 'advanced' jet you just made? you wouldn't and they didn't. This is a rather diplomatic approach to make us reflect, how ready are we to jump the horse. But again, this does not prove in anyway that Iran's nuclear intention is peaceful or not.

Lets not have another war in our lifetime anytime soon please. Live and let live!
mmm.. interesting!
I'm not sure about the license, but you can use BancBox to do it. (Not affiliated, just met them a few weeks ago in Austin and love the use case).
Facebook Promoted Posts Outperform Marketplace Ads With 68% Lower CPCs
California is, quite possibly, the hands-down worst state.

It also just happens to have the absolute best weather and scenery.
You know, lots those problems have already been solved in the EU. It isn't necessarily that complicated. Especially if you keep the federal structures where it makes sense.