skysight-inc/HackerNews huggingface dataset:
Agreed. Many/most of the shell scripts I've ever seen using 'bash' could be using the standard 'sh' instead; most need no changes at all, and the rest need just a few minor tweaks to eliminate non-POSIX-compliant behavior.

Since Debian and other distros now use the BSD-licensed `dash` as their default system shell (system, not user) I suspect they've become more motivated to reduce unnecessary bashisms in shell scripts. Debian's 'devscripts'[1] project includes a Perl script called 'checkbashisms'[2] which you can use to detect many of these common 'bashisms'.

For those of you running Ubuntu, you can install 'devscripts' with apt-get: sudo apt-get install devscripts

For those of you running FreeBSD, you can install 'devscripts' from the devel/devscripts port.

[1]: http://packages.qa.debian.org/d/devscripts.html

[2]: http://anonscm.debian.org/gitweb/?p=collab-maint/devscripts....
You can add more keywords in the match function if thats what you meant. Anything more sophisticated should be coded as an extension / userscript rather than a bookmarklet.
http://hn-filter.appspot.com/#preset=AngularJS didnt spend much time but appears to be cookie based as this didnt work just by changing the preset in the url but opening in a different browser seemed to have taken the filter
Have you looked at programs offered through the manufacturer of her medications? Many have programs for free or low cost meds for low income people who are un or under insured.

Try here

http://www.pparx.org/en/prescription_assistance_programs/lis...
Can I still complain?
Finger binary
Next time, try a midwife if you and your wife are comfortable with home birth. In the Denver area it runs about $3k for parental care, the birth, and post birth check ups. Also, you don't have to deal with hospitals. I had one of my kids at home with a midwife and I wish it would have been both. If you actually need one, then the midwife will take you to a hospital.
If only there was a filter for concern trolling.
Bitcoin's value dropped nearly 25% yesterday
Website Flipping Finds a Home at Bizbroker24 
Website Flipping is the hottest money making opportunity online. Website flipping means buying and selling websites. Many Internet Entrepreneurs also build a profitable website business out of scratch and later on sell it for a great profit.

Brokerage site, Bizbroker24, is home to a new trend in buying and selling websites known as "website flipping."
According to CEO Steve Endrizzi, "Website flipping is one of the most recent business opportunities attracting Internet entrepreneurs. People love the idea of buying and building profitable website businesses from scratch and selling it for a great profit."

BizBroker24, an online website broker form is now ready to assist people who want to sell and buy website online. BizBroker24 was founded in 2010 and started operations in United States and Europe. A few months after its establishment, it was able to assist thousands of online transactions focusing on assisting people in selling and buying websites. The company specializes in the listing and sales of websites and internet businesses. Unlike conventional business brokers who mix the marketing of Internet based businesses with their traditional business services, BizBroker24 is only concerned with online business to ensure that clients receive expert and high quality service that they deserve.
Sell website and buy website, the business of the century! The company provides assistance to clients who may want to sell their business. In order to get the most value and ensure the success of the business deal, the client, with the help of the company, determines his priorities, evaluates the timing of the sale, and assembles an expert team to assist him or her along the way. The company also acquaints him with the ethical and legal duties that has to undertake in his business.
Sell a Website Now, contact BizBroker24 and get a Free Valuation Report in 24 hours.
Saving A Story
Probably not the most intelligent question but, how do I save a story on HN?
> If my mining program gets unlucky, and never gets a hit, do I get nothing for it? Or are there schemes where I am helping, and I get a portion?

Correct, if you are mining alone, it is all-or-nothing. One way to distribute this risk is pooled mining, where you join a group of other miners and split the rewards.
Take the iPads shopping, take them shopping
If anyone want some, I have a few slices of myself to sell.
Indeed, many extension could be implemented as simple userscripts and as such could reach a much wider audience.
Doesn't mean too much actually. Insurance companies have their own negotiated prices that are lower than that.
Microsoft's Digital Crimes Unit successfully disrupts the ZeroAccess Botnet
I didn't know that Sarah Palin had an account on HN.
A community built around people making money on/from tech continually whining about content on the future of money in tech.
Agreed. Do you think this boom will happen in developed or developing markets?
> Further, is there something in the data being hashed that includes the previous block chain?

Yes, the block chain structure includes the previous block; otherwise it would just be a block set :)
Nearly everything in the slides can be done in portable POSIX sh(1) with only minor syntactic changes to avoid bashisms.

If you really want a big shell with more language features, check out ol' AT&T ksh¹, with things like nestable structured types and floating point arithmetic. [EDIT: and 'call by reference' using variable names, to address the problem of returning or mutating complicated things.] Some of bash's features originated in ksh, as did most of the POSIX sh features added since original sh.

(1) http://pubs.opengroup.org/onlinepubs/9699919799/idx/shell.ht...
¹ http://kornshell.org/
Social proof. Your busy colleague has already been vetted as "someone who gets things done" and therefore has been issued more work.
I'm curious if you make that statement having played 808s in real life (and my assumption is the answer's no).

I've got analog synths, digital synths, and soft synths. My $40 Korg Monotron is more expressive than my $700 1997 Access Virus. But the Animoog iPad app trumps them both ($40, and I think I got it for $5 because I bought on the first day or something).

There's a reason nobody has ever cheapened the Stradivarius by creating new technology. The selling point is craftsmanship and good design. The 808's a work of art and it's always better to have the real thing, if you're serious about music. (I mean absolutely no offense, but it sounds like it's just a hobby to you.)

Speaking of iPads, there's a great simulation of a later-model Korg ER-1 drum machine availabe for iPad. It's called iElectribe. I love it, but I used to own an early version of the real thing, and it was just better. Context: I've owned many drum machines, even built a toy one for fun (the Bleep Drum, from Bleep Labs), and I'm learning to play the drums.
I see what you mean, but I'm not necessarily moved by it. You can choose to describe software as nothing but information. Or you could describe software as it's own entity, which can carry or store information.
Brilliant. I'll try it.
Point 3 struck home. I've changed my textexpander snippet to take me to newest rather than the main page. Though I never get peeved at what is on the main page, I now wonder what I've been missing. Thanks.
Small nitpick:Satyendra Bose,is the person of 'Boson' fame -http://en.wikipedia.org/wiki/Satyendra_Nath_Bose

Higgs is of 'Higgs Boson' fame and recent Nobel laureate :)
I find that I get a similar result when I work from the home office even during business hours. Although distractions can be nice sometimes, during crunch time, I'd rather WFH to minimize them.
Word is Amazon will be seeking all former Wild Weasels as countermeasure advisers - it's on.

Meanwhile, Starbucks plans to deliver "direct to the driver" a continuous supply of hot joe - the intercept calculation and traffic deconfliction algorithms will be awesome.
These kind of people sadly don't exist anymore. Nowadays you'll mostly find idiots like me.
Agree entirely.

I know someone who milked an obvious patent for the best part of 40 years and made a killing on it. People were paid to get the patent reissued and to chase down manufacturers for pay offs.

The patent (wait for it) was:

"the use of printed circuit boards in television sets".

Fortunately it was allowed to expire about 8 years ago when one of the manufacturers assembled a large legal team to claim prior art.
Observing that Hacker News is using a collaborative filter and that bitcoin articles frequent the front page, one might be forgiven for concluding that bitcoin articles might be popular with the audience.
If he was "extralegal", he'd be out of there already. It's not like Apple is short of legal resources.

They were found guilty of antitrust offences. This is what happens when that happens. I appreciate you don't like this, but that doesn't change that (a) they did a bad thing (b) they were busted (c) this is the consequences (d) entitled whining in the WSJ doesn't change that.
Calculated for inflation, the price today would be $600-$700.
Wow! I don't mean this in a demeaning way, but my tiny city that's pretty "old-school" in tech choices (Brisbane) has more Ruby shops than that.. though they are startups most of the time, so, job security is a bit up in the air. Found that really interesting, thanks :)
> That's as bad as it gets..

North-Korea would beg to differ.
AKA no.js

My hot tip for the future of programming.
Hmmm, as I recall eval was in microcode.

But so as I recall was the virtual machine that interpreted the bytecodes the compiler produced.

Here I'm referring to what I remember being told about the CADR's microcode (it had a LOT, with options for more if you were willing to buy more $$$ static RAM), but the others were all direct descendants and I gather did pretty much the same things.
I find that it's not the necessary communication interruptions that are the problem. Of course communication is necessary. However, it's the unnecessary interruptions that are the problem. They could be rude people, poor climate control, or any number of other things. I'm not sure why business people and managers refuse to remedy these issues. It seems like so many companies are content with lower productivity.
Method of Recording Brain Activity Could Lead to Mind-Reading Devices
I'm know we're all searching for the next great "hack" to make us more productive, but frankly this article is an example of how not to go about it.

Firstly, the title seems to suggest most productive people get up insanely early. Yet, the only example in it of someone who does that is, well, the author.

Then of course there's the typically prescriptive and reductive approach that takes anecdotal or highly controlled examples and presents them as almost a gospel.

I personally know more productive people who don't get up insanely early, than otherwise. Maybe I should tell them to change their habits. Plus, there's more and more research that says the "larks" and "owls" among us may be wired differently in their brains:

- http://www.newscientist.com/article/dn24292-first-physical-e...

- http://www.sciencedaily.com/releases/2009/06/090623150621.ht...

To cut it short, sure, getting up early is good provided you can pull it off. But its equally possible you may end up being less productive merely trying to screw around with your existing sleep patterns and daily schedules.
>> It's true that there is an extra compare. I think it's a small cost for maintainable code.

And I don't think it's the only way to achieve maintainable code. That's all I'm saying.

>> Sounds great, however, the time they spent figuring out your haphazard, repetitive and confusing free() statements

If it's the coding standard of the product that you have a small block of this at the top before you start actually writing the function then it doesn't take any more time for a coder to understand than any other way around, the important part is consistency.

>> I advocate them because I have seen them work really well and I have seen yours create mounds of inflexible spaghetti.

What's mine? I'm not advocating any of them, just sticking to one. I still don't think yours is any better than (for instance) -

type function()
{
type2 *thing = (cast) malloc (size);
type2 *thing2;

if (thing)
{
thing2 = (cast2) malloc (size2);
if(thing2)
{
// do some stuff here
// and some more stuff
...
free(thing2);
}
free(thing);
}
return code;
}

A pattern which auto-unrolls as it exits without the need for more tests, and to me is every bit as maintainable as the goto cleanup; pattern.

Spaghetti code (to me) is more about encapsulation and modularisation failures than it is about the content of any individual function.
I clicked on this link because it said boobs so yeah, maybe.
I've had a similar experience with Acorn. I own the Adobe creative suite, but Acorn just gets out of my way. I've got enough to learn as it is.
In Bourne-descended shells, as an unfortunate historical accident, if FOO is an array, then referring to FOO without a subscript is equivalent to referring to its zeroth element.

For your example,

${array:$from:$to}

is equivalent to

${array[0]:$from:$to}

And likewise

$ FOO=(a b c d)
$ FOO=x
$ echo ${FOO}
x
$ echo ${FOO[@]}
x b c d
40+ free UI kits 
UI kits are a fantastic starting point for many projects. You can quickly mockup a professional solution and then customize the files into a bespoke solution in no time at all.n this round-up, we’ve gathered together a collection of fresh user interface kits and Photoshop files; ideal for rapid development.These files will come in handy when you are hard at work and have little time. They’ll help you create your next mockup quickly and efficiently.
i see a lot of very good criticism here, but does noone bother the fact that op claims "productive people get up insanely early" and then continues with for me?

well i'm glad you found your optimal timeframe. good for you
I don't have any specific info about what the parent post was talking about, but for those that were curious about Haskell's garbage collector in general (like me), here is a Stack Overflow link with some explanation:

http://stackoverflow.com/questions/15236238/current-state-of...

And here is the GHC (Haskell compiler) docs on controlling the garbage collector:

http://www.haskell.org/ghc/docs/7.0.1/html/users_guide/runti...
Well, according to the Readme, it's a "decent OpenGL driver" which then means "unfortunately, a running X server :) (to create a GLX context)"
Nope, that's not how it works; perhaps you should do some research then get back to us? https://ripple.com/wiki/Consensus is a good place to start; there's also http://bitcoin.stackexchange.com/questions/13330/what-is-the....
Is this really "functionally useless"?

I actually find this sidetrack a bit strange as I spent close to no time on making it look pretty (because I'm generally very poor at doing that), instead focusing on allowing for an enormous amount of data analysis in a minimal interface. I understand some interface elements are unintuitive to some, but that's the nature of sole-developer work where we become myopic about the obviousness of things (e.g. I chose where things went and how they worked, so naturally it must seem completely obvious to me, even if it actually isn't).

On the flip side though, and this is just general commentary about how we analyze works, people who have difficulties assume that their experience is universal by the exact same myopia.
Great news but bad title as there are no treatments for the common cold.
Not just is that function pure, but free theorems indicate that the only way you can get an a is by using the Vector that goes in. Sure, it could ignore the Int - we don't have linear types, afterall - but it really does narrow down the "what could this do?" options.
The audience is heterogenous though.

The poster wasn't hand-wringing and complaining "There shouldn't be Bitcoin articles on HN", but instead took initiative and created his or her own filter to have a HN article list closer to what he or she wanted.
No, patents serve a good purpose outside of software and in many disciplines. It's just in software where we see the worst side of the patent system, i.e. "tack on computer to anything and it's 'original.'"
To believe that there is a problem with the current system is apparently a sign of mental illness (ie, a need for therapy).

Sure, why not? It's the end of history, after all.
The Boeing Patent on lunar flybys is a particulary mental example. SES ditched a recovery plan for the comms satellite AMC-14 because Boeing had patented trajectory's that use the moons gravity to shift orbit and in the end sold it to the DOD, who presumably can ignore the Boeing patent.

http://www.google.com/patents/US6116545

http://www.space-travel.com/reports/Boeing_Patent_Shuts_Down...
I've read about this before. I'm excited and cautiously optimistic about it moving forward. One hopes that it can save other people in the future. Even some is better than 0. Personalised immunotherapy is cool :)
The argument wasn't that it can't be done.

It was that it's "easier" ("Easier, I would argue, then indirectly driving virtualenv and messing with python shebangs").

Also, "virtualenv fanboys"? Please, are we 16 years old?
I did read it.
My point is, you contributed nothing. And you are still contributing nothing. And I shouldn't have to point this out. You should be self conscious enough to know that your comment contained nothing.
That only applies to this iteration. I don't see any reason why submerged drone launches couldn't be made cheaper.
Is it a common theme HERE lately because this drive for productivity is more of a start-up / small shop phenomenon?

If you've ever worked in some larger "dinosaur" (Fortune 1500) companies it can be maddening that it can take two weeks what would take two days in a start up/small shop.

I think the need to produce in start-ups drives this HERE. The dinosaurs are established [and are making money]. They also are not competing for VC funding and don't have to prove their abilities.

Most people that have worked for Fortune 1500 companies seemed to have come to terms with "how it is" and do not stress if they aren't moving/producing as fast as they know they could individually.

To me it seems, and I suffer from this too, many in this community here aren't rarely satisfied with the status quo and are driven (at an unhealthy pace at times) to improve it.
TIL Microsoft makes (a lot) more money on Android than Google does.
A productive AND busy person is organized, by definition. Productive OR busy may not get you anywhere.
It was a very long time ago (< 2000), so I don't remember if I ran across these topics. I worked through one of the popular perl books of the day, cover to cover. If the topics you mention are basic, and existed at the time, then I probably ran into them.

The language struck me as a poorly integrated collection of features. I found that it was a language that needed to be memorized more than understood. I suppose that if I had stuck with it long enough, I would have internalized the idioms and been productive with it.

Python was much more what I was looking for. I found it effortless to learn, and that my intuition was usually correct. If I thought something should work, based on my understanding of the language's key concepts, then it usually did just work.
Graphene is now officially the strongest thinnest material on Earth
Why not?

It's not an attack on him personally, but ...why not?

Read the rest of his posts. He clearly has a very high level of English, and can state his ideas and opinions clearly. Yet he fell into the same shit-English trap that his friends are all in.

My complaint isn't that someone made a mistake. My complaint is that someone who knows better couldn't give a fuck to say it correctly.

This is about standards, not grammar mistakes. There's no difference between someone who speaks English at his level saying "my friend and me", and an experienced programmer not error handling his code because he's in a rush.

I don't point this problem out where ever I see it because I'm an anal Grammar Nazi; I point it out because it is slipshod, lazy, I-don't-give-a-shit attitude. It is becoming the norm among people who grew up on chat and it is garbage.

I stand by my statement; ESL students learn this in their second week of English class, and hotloo says it because he is copying his native friends on chat who speak like crap, and now he is picking up all their bad habits as well.

So hotloo, do yourself a favor and take this to heart. Some day you'll be in a suit and tie, in front of people who care about this sort of thing, and it will win land you a contract or a good job or something important you want.
This reminded me about an interview to an adware author, in which he told a story about creating unwritable registry keys and file names 'by exploiting an “impedance mismatch” between the Win32 API and the NT API':

http://philosecurity.org/2009/01/12/interview-with-an-adware...

The adware registered a key in the Windows Registry with Null unicode in the middle of the string so that the UI of Windows failed to display or modify that string.
Microsoft ought to be doing something similar to a Chromebook that more tightly integrates with Office 365. Have it come with a 3 year subscription, and also put in a decent amount of SkyDrive storage. That might be a winner with businesses, many of whom could use a decent low-administrative-overhead alternative to issuing employees traditional laptops.

All that might be at odds with their current Surface Pro strategy though.
I believe the paper they're responding to is this one: http://www.greenenergyhelps.com/wp-content/uploads/2013/04/W...
He was a consultant. FYI: It's extremely rare for anyone from academia to make a commercially successful language. Their incentives are different. They want publishable novelty, and they don't care about building a useful suite of libraries and a vibrant community. Jones (Haskell), Syme (F#), and Odersky (Scala) are the only designers w/ academic backgrounds I can think of for marginally popular languages.
Isn't this pretty much what Dylan is (or was supposed to be)? I may be wrong though, but I remember it being described as a LISP minus the (visible) S-Exp... Or maybe just the parenthesis.
You're missing a couple of points, the first one being interface. What the machine makes you do to get a rhythm out of it is directly related to the result, just like any other physical instrument. The second, price, is only important because software, especially free, was not a choice. Adjusted for inflation, $250 in 1980 was probably $600-$700, if not more. There are plenty of drum machines you can get for under $300 nowadays.
He seems to be such a humble person.
I have once developped this myself, by having a Linux machine with a tv card and some software scrape close captioning, and sending it to a webserver.
Few years ago tho, and not running anymore. And you need one per tv channel you want to monitor.
If/when the cure makes it through the final tests to the market, the sad thing is that they are probably going to rip off everyone who needs it, no matter what are the real costs.

But anyway, a life is worth everything(?)
Thank you - I'm checking it out.
Range of 1023 versus 10 for decimal. I like it.

The number 132 is pretty unfortunate. Showing it might cause miscommunication.
I'd say it competes more with illustrator but i do love my sketch. It really does feel like the fastest way to put ideas together. It's the little things, like how you're not confined to a page when you open up a new doc or the layer management that includes the object grouping. There's still a few rough spots but the philosophy is bang on. And this is before you get to the price, which frankly makes illustrator's pricetag incomprehensible.
I don't think you can prove this.

I'd love to see research proving patents do more good than harm (in any field).
I never thought of that, it's really cool. But I'm not able to show 8 or 9... :(