skysight-inc/HackerNews huggingface dataset:
* Bash is the only shell scripting language permitted for executables.

Yeah, how about no? Bash is the shell known for being incompatible in how
bashisms work (I'm looking at you, [[ ]]) between minor versions. It's safer
to assume you won't use Bash at all.

* Use sudo to provide elevated access if you need it.

Don't. sudo often doesn't provide enough separation, is fragile and very
sensitive to configuration changes and shell is very difficult language to
serialize and deserialize data safely. Architecture your tooling so it doesn't
require privilege elevation.

* [[ ... ]] is preferred over [, test and /usr/bin/[.

It is not. It's a bashism, which tends to be incompatible in very subtle ways
between minor Bash versions. Happy bug hunting in such cases.

* Variables modified in a while loop do not propagate to the parent because the loop's commands run in a subshell.

Only valid for Bash. Under other shells you cannot assume the while loop
will be in a separate process.

* The keyword function is optional, but must be used consistently throughout a project.

It should not be used at all. It's excessive and unnecessarily binds the code
to Bash (other shells often don't recognize this keyword).

...and so on. Somebody apparently hasn't used shell much.
“Hello World” from WWW.exe (or, the Dawn of the Executable Web)
Maybe you want to answer the question, why or when one should choose Common Lisp over Clojure. I have not enough knowledge about Clojure to answer that.

Thanks.
Yuck. This is a good example of why you're supposed to reduce the dimensions of the video if you want to reduce bit rate with H.264. If you simply reduce the bit rate, you end up losing detail.

e.g. for a video with a typical level of motion, if you want to achieve 1 Mbps, encoding at 854x480 is going to look significantly cleaner & sharper than encoding at 1280x720 (even when upscaled).

This is why adaptive streaming uses quality levels with varying dimensions. e.g. on Netflix, the low bandwidth streams are not 1920x1080, as that would look like garbage.
Dope extension bro!
There's nothing wrong with posting older articles to Hacker News (not that this one was very substantive).

No personal attacks, though, please.
You're right, DOCSIS has nothing to do with it.

The "classic" rationale to choose multicast over broadcast was to try and limit the amount of time to process NDP traffic vs. the time the hosts have to process the ARP broadcast traffic in IPv4. 15 years ago that took a nontrivial amount of host resources, and with the way NDP constructs the solicited node multicast, even if you just flood every packet on the link, you still can filter the packets that are not for you at the NIC HW level.

And since there are 16 million unique solicited node multicast addresses, in principle the scaling is pretty impressive.

Multicast is a definitely a good choice in the long term, though the "here and now" interaction with some protocols is a bit tricky - e.g. 802.11 WiFi (http://tools.ietf.org/html/draft-vyncke-6man-mcast-not-effic... and http://tools.ietf.org/html/draft-yourtchenko-colitti-nd-redu...) - though it's not the only offender and frequently not the biggest one (service advertisements may consume a comparable and bigger amount of bandwidth on the volatile network).

On NBMA: you can have such a network today in a public WiFi scenario where you do not hosts directly talking to each other but want them to access the internet. In the wired case the moniker is "Private VLANs".

With IPv6 you can clear the on-link bit, and make NBMA work quite elegantly. But, depending on the exact details, http://tools.ietf.org/html/rfc4903 does list quite a few interesting challenges - quite an informative read.

BTW, if you are interested more in the "why" rather than just "how" of IPv6, take a look at this: http://www.internetsociety.org/deploy360/resources/ebook-ipv...

It's a gem: free, very good quality material, and written as if you are co-designing with the author by solving various problems you see on IPv4 networks, and the protocol evolves into what is the IPv6 today.
My understanding is that frequently the records must be regularly collected; it might not suffice that the activity is regularly conducted. I wouldn't hope to rely on this in your defense without talking to a lawyer first, but it's a good thing to keep in mind to stress the importance of (for instance) regularly keeping meeting minutes and such which might wind up needing to be exculpatory evidence at some point.
I wish I can write my own editor someday to learn about those things ;)
Who's talking about removing IPv6 "privacy" addresses from the standard?

I am addressing your assertion ("I personally see IPv6 adoption going to a full stall if users are told that advertisers found a way to tattoo cookies on their machines.") with facts that demonstrate that today, even behind an IPv4 double-layered CGN, your web browser makes your machine just as trackable as if you had a single, globally-unique IP address.

(In fact, if you've a mobile device of any sort, your web browser makes you more trackable than IPv6 [as deployed] does, as your address changes as you change attach points, but your device and browser fingerprint does not.)

ay is addressing your misunderstanding of the effectiveness of browser and device fingerprinting.

Neither of us are talking about removing "privacy" addresses.
"33% or so" -> 37% is about right, but unless my history is wrong here, I think you've fused a couple different events... In 1932 Hitler ran for President, and it was his name directly on the ballot not the National Socialists. He actually pulled just 30% of the vote, which increased to 37% in a runoff with Hindenberg.

The point I was making is that he wasn't voted by popular support. And when he did ascend, Hitler wasn't appointed Chancellor because Hindenberg thought he had the support of the reichstag. He was appointed because Papen thought he could outsmart Hitler and that he as vice chancellor and Hindenberg as President could control Hitler. They were fools, Hidenberg was old and tired, Papen was delusional.

Anyway, no question it was a fascinating and intriguing time in european history.
I'll probably get downvoted for this, but I'm ashamed of Randal Monroe for asking for such a crazy deadline and Max for agreeing to it.

This is an art project. Randal can set his own deadlines. There is no reason to ask someone to work crazy sleep-deprived hours for it, even if they volunteer. He's doing the same thing a bad boss would do, with less justification than most.

Writing it up afterwords sets a bad example for other impressionable young hackers who look up to these guys and will set themselves up for being exploited when they go to work because they think it's expected of them.

I couldn't finish the article. I'm sure there are good hacks in it. But we have to stop promoting bad behavior. If we can't do this ourselves for art, what about when there's real pressure?

Update: to clarify, there's nothing unusual about this and there far worse examples all the time. It's just a bit striking since Randal's image is of a somewhat otherworldly idealist.

Backpedal #2: to avoid being overly dramatic, let me clarify that being ashamed of someone else's behavior implies that you feel some responsibility for their behavior, which doesn't make sense in this case. Also, not finishing an article is, to be honest, not all that unusual.
Haven't looked at the code throughly, but from a quick glance looks like a grid I'd considering using in a personal project vs. the all the other crappy grids out there.
Show HN: River – A river of news aggregator written in Python
Seems weird to hear about less being used "to meet POSIX" requirements, since I use it at least 10 times a day -- interesting read though.
They report correlation, not causation. What you ask for, is that they should put much more effort into researching cause and effect or not publish the data at all. But I for one prefer having data in this form than none at all. Anyone who is reading hackernews every now and then should know about "correlation != causation" by now.
Here is an interesting talk by Jeff Hawkins - http://www.ted.com/talks/jeff_hawkins_on_how_brain_science_w...
Al-Jazari
There's also http://www.ecomotors.com . Their main engine guy, Prof. Hofbauer, was a neighbor in Wolfsburg, he was in charge of VW engines at the time. Brilliant engineer. (No association apart from the neighbor thing).

They claim 100 mpg cars are possible with their engine.
> That is an insane generalization going on.

yes, it can be shocking to be presented with plainly spoken, cold hard facts when you grow up in and are surrounded by a sterile bubble of non-fact-based discourse. especially in a topic as taboo as dating, sex, race, and marriage. this is called cognitive dissonance.

trust me, as an asian american male, none of the cold facts of reality were ever hidden from me behind a facade of soothing lies. when i was much younger, i couldn't get laid, and i had to face reality head-on, and seriously work on myself to get ahead of the curve during my 20s.

> In my experience, many of these metrics are not as concrete as the appear and full of pushing the data to fit a narrative etc.

in my experience the okcupid blog's conclusions fit the narrative of reality when it comes to sexual market value, race, and attraction, whereas you're espousing a more politically correct kind of conclusion that fits an artificial narrative of egalitarian bullshit that in no way, shape, or form applies to the modern sexual marketplace (online dating and the hookup scene). there are winners, and there are losers, period. if you're not getting laid, you are losing. there is no long courtship period anymore. chivalry is dead.

how is it so radical and "dangerous" to conclude that men generally prefer younger, more fertile women, or that latino men generally prefer latino women? i mean are you even being serious?
WebM and mkv are the same container format.
haha it was my first and last time I attend one of those things.
Sports - that's the ticket. Comcast remains relevant for two reasons in my mind - they provide high-speed Internet in a quasi-monopolistic fashion, and local sports broadcasting. (I live in Philly, the stranglehold on sports here is palpable.)

That said, even sports apps are starting to show up on Apple TV and the like - it's just that right now, sports are attached to cable deals, much like HBO Go is attached to cable networks.

I feel like the "a la carte" unbundling discussion is almost moot. It was an important idea before, paying for just the channels you want. But now each channel can have it's own streaming app, and I can pay for and stream them whenever.

So now I guess it's just a matter of time before someone offers bundled groups of on-demand app access. Netflix + NFL Network + ABC/CBS + HBO Go... And toss in Comedy Central for good measure. Add in a $99 Apple TV, and who needs Comcast and Time Warner?

Oh right. They own the Internet access. I'd really like some net neutrality soon, please.
If it means that this brudgers guy stay away thats a really great thing.

Seriously reading this thread makes me so happy that we don't attract these douchebags.

Edit: friendly fire, sorry
What I like most about Common Lisp is how it made me a better programmer. The different paradigm of coding trains your brain in different ways which offer perspectives on problem solving that I otherwise wouldn't have considered.

Note that for the above effect, it is irrelevant what Lisp you choose. Yes, it also applies to learning any additional language, but because Lisp is a different breed altogether (as opposed to Fortran-derived languages), more value is to be had from the diversity.

I used to be a huge fan of Common Lisp (even wrote my own series of blogs on why I love it a few years ago) -- still use it in my daily work -- but I came to realize that it's not perfect. There are many things that Clojure has improved upon, e.g. consistent accessor methods, shared immutable data structures vs copying, and probably many more once I dive deeper -- there's a reason why even pg started recommending Clojure over CL or Arc.

I've been coding in Common Lisp for about 3-4 years. Even the algorithm of my startup is written in Common Lisp. There are definitely moments of sheer joy when I switch back and forth between Javascript and Common Lisp. But also moments of annoyance... sometimes certain algorithms are just more naturally imperative, and CL makes it hard not to write recursive.

tl;dr learning a Lisp is highly recommended. It does not matter which flavour. Or just go read SICP.
My weekend project. Just forgive or punish. Your choice
We've lost some historical context. Take a look at how the police operated 150 years ago. The corruption now pales to then. Not that it makes any of this right, but it's neither unprecidented and certainly not the worst it's ever been.
Nasa's Ames Resarch Center 75th Anniversary Open House Sold Out in Three Days
I'm still not sure why this article is equating preference with racism. If I'm attracted to white women and I'm white, it has nothing to do with racism.
Is CrossFit Dangerous?
It's not just air, its usually compressed air above atmospheric sea level (bar+). This opposed-piston architecture appears more complicated. Adding an additional crankshaft isn't a small feat. Removing valves that rely on the rotation of a crankshaft is a small win. Add bar+ of pressure into a combustion motor like this and watch it pop. Too many moving pieces!

But saying this, what is the drive to keep on overcomplicating things like traditional combustion motors? The Wankel engine was simple, small & powerful (when a turbo hanged off it). The industry killed it to replace it with a more complicated piston engine. And now this more complicated architecture proposal.

I would love to see engineering innovation focusing on simplification like that which exists in electric motors. There is still so much more that can be done with magnets & coils.
Likely due to the fact that as of yet, no one has found a particularly good way of monetizing torrents without alienating downloaders. Monetization is a necessity for industry adoption, so it's hard to tie the future of television to something like torrenting, unless there's a way for content creators & licensors to get paid.
It's an oversimplification to suggest that scales are based on the harmonic series. Many instruments have slight non-linearities in their overtones, and intervals that sound consonant aren't usually mathematically perfect. E.g. pianos don't even have perfect octaves. The major and minor scales seem to be based on very specific ratio sets, not on the general overtone series.

But 12TET has 12 tones for a very practical reason - instruments with more tones are difficult to build and damn near impossible to play, because human hands are only so wide and finger movements have limited precision.

There were experiments with more tones per octave back in the middle ages, but the idea never caught on because the musical benefits aren't obvious. So 12TET is a 'good enough' compromise between flexibility and expressiveness.

Performers on instruments with an infinite pitch range vary their pitches anyway. Intonation problems drive conductors insane, and the reality is that orchestral and choral pitches tend to drift slightly towards consonance and away from the nominal ET ratios.

Of course, with a computer you can do what you like. Here's some recent microtonal music written with SuperCollider:

http://composerprogrammer.com/pitchdeviations.html
Shameless plug: if you're interested in MALLET you might also be interested in FACTORIE: http://factorie.cs.umass.edu/
These kinds of articles should not be considered guides, but bug reports instead.
OpenSeaMap – Water Depths
I used mdesktop quite a long time ago, it was the best window manager without a doubt for me, tested all others I found.
Semantically, Dart is pretty much Smalltalk, so it's actually a useful, reasonably well-thought-out language with sane semantics. A bit of a shame about the syntax...

It even has doesNotUnderstand:, so it's quite extensible.

The optional typing is neat: you can have a type error and the program won't just compile, it will continue to run! There's a video of Gilad demonstrating this in a live coding environment: he changes the type of a variable that's a number to String and apart from the compiler now complaining, nothing changes.

The isolates concept also seems well-thought out, with separate heaps and the only interaction via messaging. Nothing breathtakingly new, but I think they picked up the right thing and implemented it well.

The fact that the semantics are sane means the compiler can create faster code than JS with fewer heroics (if it isn't compiled via JS).
Been working on this for a few weeks now. Really happy with how it's turned out.

My personal instance is running here: http://rsshub.org/feeds/

Here's the config that runs it: https://dl.dropboxusercontent.com/u/19853263/Feeds/feeds.txt

The YAML config makes this aggregator a tinkerer's dream. By changing the "factor" for a given feed, you can control how fast it drops down the page. The higher the number the slower it drops.

Any feedback is welcome. Thanks!
I find it great for any general purpose coding on the backend. For instance, the algo of Routific is written in Common Lisp.

But once you start building APIs or web apps, it falls extremely short for lack of community and open-source libraries/frameworks.
I develop everything (typesetting software, compilers, web server, email client, a desktop environment just for me, a sound synthesizer, my invoice generator, IRC bots, full blown web apps, a wiki engine and tons of general purpose libraries) using Common Lisp. My love for the language comes especially from the fact that its so limitless by design. I have DISASSEMBLE and I have DEFUN. I have ETYPECASE and I have LOOP. Lacking a language feature? Add it with ease and incredible performance.
Yes, it goes against the distributed nature of the protocol so I think other clients should penalize such behavior in theory.
Zooming on my x86 Chromebook was ~1fps or worse.
Stephen Hawking: God particle could wipe out the universe
incomprehensible. Video failed to explain what the thing actually does. Really struggling to see the value.
What does it have to do with?
There is nothing worse than the cynicism of a small-town mindset. So many great opportunities are missed by people who are unwilling to take a chance. The town I grew up in is like this and, after moving away for nearly a decade and seeing what the real world is like, I find it excruciatingly difficult to go back for a weekend visit.

The mayor is spot-on when he says “It is not every day that you have a company that comes in and says: ‘We want to donate half a million to your community. We want to hire your locals. We want to work with your bars and restaurants,’ ”
These mountain town always suffer from having split identities. On the one hand you have people who desperately look to outsiders/tourists to keep themselves in business. On the other hand you have a group of people that despise all these outsiders for clogging up traffic and stomping all over everything.

The problem is that locals fall in love with all the amenities provided by tourist dollars, and hate when they're standing in line in front of them.
Web Services Security Checklist [pdf]
because it doesn't subscribe to his fantasyland world where all people are equal in the sexual marketplace.
If you are genuinely interested in answer to this question, you will like the below eBook that answers that question fabulously.

http://www.internetsociety.org/deploy360/blog/2013/12/free-e...

It's free, very high quality content, and it is written as if you co-design the new IP protocol together with the author - you start from "why" and arrive to "how".
I love Common Lisp[0], that's why I'm trying to improve it.

[0] https://github.com/eudoxia0
Pressure from management? Sam Yagan is still the site's CEO. Also the pressure must have failed because he's releasing a whole book about his findings now, not just blog posts.

You people are ridiculous.
Unite 2014 – 2D Best Practices in Unity
I'm always confused by the phrase "African-American." OkCupid is international. Why does somebody with African ethnicity have to be classified as "African-American"?
> "hurr durr this is Murica and no one is taking muh freedom away"

You really don't need to use language like this. This isn't Reddit.
"There is a time when the operation of the machine becomes so odious, makes you so sick at heart, that you can't take part; and you've got to put your bodies upon the gears and upon the wheels, upon the levers, upon all the apparatus and you've got to make it stop."

https://en.wikipedia.org/wiki/Mario_Savio
For me it took 2-3 years to feel proficient using CL. I still learn new thing every week (for the last five years or so) and I can safely say that I will be learing for at least five more years. CL is a big language.
Anecdotally, this seems to be true on both Reddit and HN.

I occasionally see HN users pop along who say, "well, HN just isn't what it used to be," and I look at their user page and find that their account is three years old. It's possible that they're on their second or third account, but context usually implies that they've just been using the site for around three years.

Ditto on Reddit. I was a regular reader of the site before it had comments. There's a frequent complaint among Reddit's users that it's not as good as it used to be, and usually the reasons they give for that are all things that have happened in just the last couple or few years. If you say for example, "yeah, Reddit really declined when pun threads became popular", most folks don't know what you're talking about it.

It makes me wonder if it's a psychological phenomenon, that things look inherently more valuable when they're new. That might be one explanation for the recent popularity of all of these social networks that focus most of all on what's new. (Facebook, HN, Twitter, Reddit... these all work fundamentally different from traditional online forums.)
I got some minimal Objective-C code running on Android a while ago, see http://blog.metaobject.com/2012/12/android-ndk-now-includes-...

This tool appears to fix the problem with the NDK make tool not recognizing .m files. I worked around this once by naming them with the .c extension and using compiler flags to set the language to Objective-C. Another time, I think I hacked the makefiles, but that was extremely painful.

Of course, there's apportable (http://www.apportable.com/open_source), their low-level stuff (runtime, Foundation) is open-source.
I think you don't really get my point. Many countries don't have any meaningful rights or rule of law of any kind. There are many countries whose citizens will not challenge the authorities in any form or manner, because the systems give them no redress against any abuse of power. Even if they are rich the legal systems don't exist. Witness Khordovsky and his problems with the Russian government.

In America these institutions exist, but the legislatures have turned them into revenue collecting bodies for the federal,state, local governments and the law enforcement bodies.

It is like law enforcement and the legal system have turned into feeding troughs for the whole band of officials involved in it.

If you are not rich enough to give your lawyer a fair share of what they steal from you, you are not getting it back. If you are rich enough they don't bother stealing from you because they know you have the power to get it back.

This sucks. Apparently police and prison officers unions and PACS or whatever their called fund political campaigns which result in preserved or even bigger budgets for law enforcement, then turn around and use the increased income to fund the politicians next time around, to keep the cycle going (except Detroit), which results in more borrowing by the government from which the banks also get their share, pauperising future generations even more.

It is an interesting country.