skysight-inc/HackerNews huggingface dataset:
Some great passages in there. This one could have been written today:

One of the peculiar phenomena of our time is the
renegade Liberal. Over and above the familiar Marxist
claim that 'bourgeois liberty' is an illusion, there is
now a widespread tendency to argue that one can only
defend democracy by totalitarian methods. If one loves
democracy, the argument runs, one must crush its enemies
by no matter what means. And who are its enemies? It
always appears that they are not only those who attack
it openly and consciously, but those who 'objectively'
endanger it by spreading mistaken doctrines. In other
words, defending democracy involves destroying all
independence of thought. This argument was used, for
instance, to justify the Russian purges. The most ardent
Russophile hardly believed that all of the victims were
guilty of all the things they were accused of. but by
holding heretical opinions they 'objectively' harmed the
régime, and therefore it was quite right not only to
massacre them but to discredit them by false
accusations. The same argument was used to justify the
quite conscious lying that went on in the leftwing press
about the Trotskyists and other Republican minorities in
the Spanish civil war. And it was used again as a reason
for yelping against habeas corpus when Mosley was
released in 1943.

These people don't see that if you encourage
totalitarian methods, the time may come when they will
be used against you instead of for you...
What would you do instead of the stack-based API? That's the best design there is AFAIK.

Lua started out with something like Python's API (Lua 3.0 I think), but they changed it to use the explicit context and stack.
Waste isn't an opinion, but rather a shorthand. Nobody (sane) is optimizing for "amount of cars on the road", but rather the benefits that cars bring (economic benefits due to streamlined transportation, etc). Generally when the term "waste" is used, the implication is:

If option A can provide the benefits that option B can provide with less cost (in this case, space), then the incremental space being used is "wasted". It's a pretty fundamental use of the word.
Agreed. I think I still have a vote, and I haven't been involved in PHP for about 6 years.
Unfortunately, I'm not quite at the point of shipping off 1,000+ hand printed and toned silver gelatin prints, but someday, I hope :)
Please Welcome David Bryant, Vice President of Platform Engineering
I've said it before.

Pinterest is what Delicious should have been, if Yahoo had any vision at all.
"Solar energy will be cheaper than fossil fuels by 2016", Dutche Bank [1]

Recently Germany had reached a day with %50 of electricity produced by Solar. [2]

[1] http://www.bloomberg.com/news/articles/2014-10-29/while-you-...

[2] http://theweek.com/speedreads/451299/germany-gets-50-percent...
I've read some computation-heavy processing using long-form variable names in code and it's not actually readable.

For parameter passing, long-form names make sense. For actual math? Not so much.
You seem to be implying that woman-as-property was better than what we have today. Presumably that is not what you meant. Perhaps an edit to clarify?
Obviously the indexed text of this book is not actually from 1891, given that the very next sentence talks about 1926 in the past tense.

> Results 1-1 of 1
> Page 49
> Within ninety days after the signing of those pledges, the records of the Bureau of Public Safety showed a decrease of almost 50 per cent in accidents resulting from jaywalking. In 1926 all honorary and special commissionerships in the police ...
Reagent is very stable and has been for a long time now. Many people, myself included, are using it in production without any problems. The API has been very stable without any breaking changes as well.
NASA and Congress: We must get politics out of NASA
The Woman Behind Community Management
Creating just online social spaces
"What bugs me about GW research is lack of focus on mitigating GW, other than by cutting greenhouse gasses (ain't gonna happen)"

https://en.wikipedia.org/wiki/Wishful_thinking

https://en.wikipedia.org/wiki/Appeal_to_consequences

Life (including human life ant its apurtenances) is transformative. It maximizes entropy generation and energy throughput. It's dramatically affected Earth's climate several times in the past, and many of the life-forms responsible for those dramatic effects didn't survive them.

https://ello.co/dredmorbius/post/5l_8MqtVwLLvX_DabPjY-g
But on the flip side, as a programmer, your career can be mostly over at age 35-45.

Do doctors have the problem that the stuff they worked on 5-10 years ago is considered obsolete now?
Are the power requirements the same? My assumption would be that usb wall chargers wouldn't have the juice to keep your laptop battery at a steady state, let alone charge.

The provided iphone wall charger is 5 watts, the provided apple laptop charger is 60 watts.
The more fundamental problem with most fitness apps is that they measure the wrong things and the fitness protocols they promote aren't effective.

A piece featured on HN some years back was the Men's Journal article "Everything You Know About Fitness Is a Lie"

http://www.mensjournal.com/magazine/everything-you-know-abou...

At its heart:

_[N]othing on Earth beats the fundamentals, a commitment to regular, measurable improvement in everything that a gym trainer won't teach, for fear you'll walk away bored: push-ups, pull-ups, bench presses, squats, dead lifts, and even such military-seeming tests as just how fast you can run a single mile._

... that and a slew of perverse economic incentives for gyms, personal trainers, and now, "fitness apps".
It is technically possible to do both directions of the GIF<->video conversion on-the-fly at all points of the network. Web servers could deliver/generate video files for clients that request GIFs, transparent proxies and caches could grab the video files and translate back to GIFs for dumb clients, and browser plugins could seamlessly replace GIFs on a page with the video files.

In fact, behind the scenes this might be happening now - technically your ISP could be doing this and the 1MB GIF you download has been reconverted from a video file back into a GIF at your local proxy cache!
I'm way nicer now that I'm not broke any more
There’s two reasons behind the way we’ve structured our pricing:

Firstly you can very easily circumvent our checkout flow as we don’t lock you into using the entire system, we could therefore be supporting a large store and never receive a payment.

Secondly we see transaction fees as penalising you for selling well. It’s tough to push a product when gateways already charge for payments. A combined total of 5%+ for every order would be difficult for store owners to swallow.

We decided that offering a free tier and flat monthly fees for our paid users would be more acceptable. As a user you know exactly what you will be charged for each month.

Thanks for the feedback though, we’ll see what we can do to explain API requests and storage better.
I only contribute some small things like the template and data bindings lib, Dan Holmsand is the brains behind the project and the one who actually maintains it. He's doing a fantastic job at that. ;)
Producing real goods leads to small margins. Materials, manufacturing and transporting are not cheap to do. Technology companies enjoy high valuations based on their generally very high margins.
That's being fixed already with new propulsion methods - namely, electric power, which could potentially be provided via cleaner energy sources (wind, solar, fission, geothermal, fusion (someday), etc.). This will soon make automobiles even cheaper on all fronts - even those that - as you say - "aren't on the balance sheet".

Arguments to ban cars outright because of climate change and oil might've been relevant in the 20th century, but now they're pretty much moot, so long as electric vehicles continue to grow in popularity.
That's horrible. I can still understand people having unethical opinions about torture, but making light of an innocent man being tortured? I'm all for "edgy jokes," but this is just vitriolic.

I think this is the worst thing I've read on HN.

(By the way, if you had exposed an email, I would have asked you about this in private. I don't mean to embarrass you in a public forum. Perhaps you weren't thinking.)
Perhaps we should embrace this view, and extend it just a tiny bit further:

Since the tunnels for cars are already dug up, all we need to do is cover them with concrete slabs, cover the slabs over with asphalt for bikes/pedestrians and vegetation for sitting around, and declare the entire city pedestrian only. The cars can continue to hurry back and forth underground.
The grand majority of programming language APIs do not use a stack-based API.
Really, stack-based APIs are an exception in just about every way, but not in a good way.

If your question is about cheap memory storage, linked list algorithms already exist, so there's really no good reason to use a faux stack to store data.
I disagree, HTML is a datastructure like any other, and it should be easy to build one without going through an untyped string or an auxiliary file. It's painful to make one html file per renderable item -- and debugging takes more time (once you've found who's responsible for rendering it, you need to check the corresponding template, so there's an additional step in your way.) There's no semantic in using the filesystem to organize your templates: it's the code that specify the meaning, and your programming language provides more organization units than your FS (or should we do "one function per file and one directory per class/module"?).
(Also, the obvious filename typo vs static checking of function names; and the fact that your template is going to contain some rudimentary form of code or force you to obfuscate your intent even more.)

Which is why I don't like the proposal: it's not unifying HTML and Erlang, it's compiling string macros into Erlang. Is there any reasons not to embed the interpolation in Erlang directly?

hello(N) ->
Name = <em><? N ?></em>,
<#>
<p>Hello <? Name ?></p>
<p>The <#></#> lets you group
multiple elements, that don't
have a parent, as a single value.</p>
</#>.

(Whether the <X></X> is doing simple string interpolation, or is HTML-smart is left for the reader to decide -- it's certainly overkill for server-side only code.)
Isn't this problem inherent in the Soundscript type system, rather than a problem of the DOM? For example:

class Node { ... }

class FancyNode extends Node { ... }

function createNode() : Node => new FancyNode();

function doStuff(Node n) { ... }

doStuff(createNode()); // Static error - developer scratches his head - how do I fix this

doStuff(<FancyNode>createNode()); // There I fixed it. But at what cost to productivity.

Or perhaps (Not sure how Any<T> works - just guessing):

function doStuff2(Any<Node> n) { ... } // Developer - hey what's this Any<T> thing? More head scratching.

Is the extra complexity worth it, what benefits does it bring, and what are the productivity costs? Will soundness actually help runtime performance (Not proven). Will it make security harder? i.e. performance optimisations that rely on the sound type system mean that type spoofing can lead to vulnerabilities.

I keep on rambling - sorry - I find this stuff fascinating. Fun job you've got ;)
I didn't get into programming for money. I got into it because it's something I really like doing. If this isn't you... I feel bad for you. Life is too short to spend your working days doing something you don't care for. The money (beyond an amount needed to live) simply isn't worth it. If I ever don't like programming, I simply won't do it anymore.
Pinterest Valued at $11B After Latest Funding
A few years ago the EU proposed banning cars in all major European cities by 2050. And they wanted to restrict 50% of all trabel over 186 miles to trains. The plan was rejected by the UK and was criticized as draconian.
I agree... almost.

You are dismissing the reality that some people are actually smarter than others. There are some people who really do have a real vision of a 'best' solution. However, it is true that collaboration is the requirement for a working relationship and thus a product out of that working relationship... But, the collaborative effort and resultant end product is always, by necessity, a non-ideal solution for at least a portion of the end-users. Keeping this in mind, it can be understood that "the best product doesn't win" -- rather, the most popular and most agreed upon solution or product is what wins.

In summary -- I agree that negativity and/or aggressiveness in pursuit of a solution leads to a unworkable /collaborative/ environment... But I disagree that the collaborative environment produces the best product or solution to a problem [programming or general]

Warning! I am not one of the smart ones. I tend to sit in a corner and doodle like the article writer. Perhaps, if the collaborative environment was less collaborative and more constructive, I would participate more... see Office Space for better answer.
Pretty ripe coming from MSDN...
Yes, all frames will be in memory prior to making the GIF. Probably fine for most GIFs, but if you want to go FFmpeg | ImageMagick | FFmpeg for processing a video, or maybe for a longer GIF, you can use this script to keep only a frame at a time in memory: http://www.imagemagick.org/Usage/scripts/process_ppm_pipelin...
>The PHP 5 to 7 jump should be much smaller than from 4 to 5.

And also the jump from 5.4+ to 7 is probably smaller than the jump from 5.2 to 5.3.

Although I think the PHP project does need to support versions for longer, the adoption rate of 7 is going to be quite rapid due to the low barrier of doing it, and the massive performance and language gains.
Actually, regarding the delay, the spec reads

"vii) Delay Time - If not 0, this field specifies the number of hundredths (1/100) of a second to wait before continuing with the processing of the Data Stream. "

A zero delay is most certainly not covered by the spec, and anyone using one is creating GIFs that do not meet the spec.

[0] http://www.w3.org/Graphics/GIF/spec-gif89a.txt
5 Things Community Management Isn’t and 5 Things a Community Manager IS
It was nothing HTML was ever designed for and this kind of programming failed horribly in the past, see PHP's frameworkless go-to mode of programming.
Yes, that's truly annoying. I have a few code examples that are complete but it refuses to accept them without giving any reason. If I try to step forward it says I have to go back.

Also in the first example it complained when I was using Math.round for the index calculation and only wanted to accept Math.floor. (although not applicable in this case, I think Math.floor is not the best choice since it won't behave like ints in negative cases)
Gifsicle is very good at making highly optimized GIFs, but slightly more cumbersome as you have to convert each frame to a separate image first.

http://www.lcdf.org/gifsicle/
> The US is teaching third parties how to torture effectively ... to the proper standard ... because it is afraid of the backlash ...

I call this "mens rea".

http://en.wikipedia.org/wiki/Mens_rea
> I think this is the worst thing I've read on HN.

Wait what? Do you have "showdead" turned on? Plenty of stuff like this gets posted every week.
> I'd bet

No, you're wrong. You have this preconception that videos are obligatorily 300 megabytes or something.

There's virtually no reason for in-hardware decoding of a smaller file to make the browser struggle more than with gifs, which are much less optimized and never in-hardware.
Does anyone have a good article for a more generalized version of this motto? It seems to apply to many forms of design
Seems to work now. I know twitch was having problems earlier today maybe that was it.
Hi (author/founder of Yeller) here.

You're totally right, I need to change the wording there. The marketing site doesn't run over https - I'm bootstrapping, with relatively limited funds, and so can't properly afford the SSL costs for a CDN (my current one wants to charge $600 or so a month for serving ssl requests).

The webapp and the api are all HTTPS only.

I should change the wording on that page to reflect that.
At the risk of being lambasted as a misogynist, I think he's referring to the current trend towards an informal return to harems, where a majority of women court a minority of men, and vice-versa. That just has to do with how we humans are naturally polygamous creatures and the sexual revolution has gotten rid of a lot of the societal factors keeping people in strict monogamy.
Should've include Redmine in the list too
I really think you should use Variables++ instead.

The sad thing is, XML, and thus XHTML, has this. And it's nowhere near as ugly as this, which is saying something, because "lol, XML".

If what a person wants is cross-referenced elements in an XML document, then that's what they should use: https://msdn.microsoft.com/en-us/library/ms950811.aspx

If what a person wants is logic in their HTML, then they're standing on a slippery slope that ends in Classic ASP, PHP, and other wailings and gnashing of teeths.
"Origin-of-cells" might be a more accurate descriptor in the title. Seems to me a colossal gap remains between a stochastic assembly of lipids, proteins, amino groups, enzymes, and UV light and evolving, self-replicating animated life, no?

Recent discoveries of abundant water in the cosmos, as evidenced by the Hubble observations of Ganymede and several exoplanets might give some weight to extra-terrestrial origins of life. Perhaps arriving on the same comets that carry abundant hydrogen cyanide (though, no such archaea bearing asteroids have been observed, yet).

Maybe its just a romantic notion, but its difficult for a conscious, feeling entity not to feel somewhat disturbed by the coldness at the heart of theories of terrestrial abiogenesis. And perhaps we should admit that we haven't made much conceptual progress on the subject since Urey-Miller decided to throw some gases in a test tube and pass an electric current through it.
Median house size has increase DRAMATICALLY over the past 50 years.

https://www.census.gov/const/C25Ann/sftotalmedavgsqft.pdf
Which continent? At least here in the States (near Lake Tahoe specifically), there are plenty of 8+ table restaurants that don't have their own off-street parking. This has been the case in pretty much every American downtown I've visited; most drivers rely on either roadside parking spaces (usually metered) or dedicated parking garages/lots instead.

The main exception I've noticed is Reno (along with the Nevada side of Tahoe), given that the bigger casinos - even in "downtown" areas - will typically provide parking garages for their guests.
Then you get "out of capacity" errors even sooner. You could have a pretty bad experience with an internal cloud that was self-service but wasn't run like a service on the business side, so the fixed annual budget was exhausted immediately.
The language it's written in is Assail, too.
Well, it was known for its cramped streets until, to p make it easier to respond effectively with massed fire to the kind of anti-government action seen in the revolution, they were widened.

That change does predate cars by a little bit, though.
Post author/founder of Yeller here:

Huh, interesting. That's my setup as well. I'm not super great at CSS (yet), so not too surprised by a few minor visual bugs like that. I'll fix it soon. Thanks so much.
/u/wpietri answered this better than I.
I do. Some of it is obvious trolling, and some of it is ranty nonsense. But torture of the innocent is where I draw the line. It struck a nerve with me.
>They can abide by the free license, or pay for a different license

Or... use a library that suffers none of these issues. :-)

My point is about the clause in the GPL that enforces developers to enclose the source of their entire software, not just the library. The LGPL however, does not require that, which is why the LGPL is also occasionally called "GNU Library License" (though the 'L' in LGPL stands for 'Lesser').

And lets not nitpick here, the GPL isn't exactly subtle about these things.

>If this library were not available under any sort of open-source license, would you be making the same post, insisting it's "bad" for them not to give you free stuff?

No. It's their right to choose whatever license they wish, but it's also my right to not choose their software.
Sony's updating their Xperia phones to Lolipop starting today, but with none of the Camera2 features. Just the same magical DRM-locked noise reduction and everything that breaks if you unlock the bootloader, and makes low-light photos look like shit in any 3rd party camera app.

I'm a bit pissed about it, but what can I do?
I was citing mortgage costs for equivalent sized housing.
Average annual hours actually worked per worker has decreased over the past few decades, not increased [0,1]. Household size is decreasing as well [2], lowering the percent of households with multiple workers.

[0] http://stats.oecd.org/index.aspx?DataSetCode=ANHRS

[1] http://eh.net/encyclopedia/hours-of-work-in-u-s-history/

[2] http://www.infoplease.com/ipa/A0884238.html
I think you're overreacting. The author could well be talking about neural nets, deep learning, etc. We may choose to nitpick or discuss the overall point.
How We Killed Referrer Spam in Google Analytics Without Filters
I believe the atomic add is an optimization. Atomic add can be done with an instruction from user space. The semaphore wait needs to enter the kernel, which has much more overhead.

By the way, as the author points out, we called this construct "Benaphores" in BeOS. Actually, semaphores were the primary kernel synchronization primitive in BeOS; there were no mutexes. Even sleep was implemented as a wait on a semaphore with a timeout. It made the kernel code cleaner because there was only one code path that unblocked threads. From the user space perspective, I found it to be pretty easy to use, especially since BeOS could acquire with a count greater than one. You could pretty easily to make a reader-writer lock with one semaphore (the writer acquired the max count)

The downside, as others pointed out, was that there was no way to do priority inheritance.
Is there something similar for Oracle?
+1 (Or can I give +1million?) to Gitlab.

GitLab is now one of the core products in our business and we (Devs, Ops and PM's) love it.

For Ops:
* It's easy to deploy.

* It's easy to manage / support.

* Gitlab-CI now builds all our Docker images which is great.

* Gitlab-CI runners are a pain in the ass to deploy.

For Devs:

* It's workflow and code review is great.

* GitLab CI is a great alternative to using external CI systems / Jenkins.

For Everyone:

* It's wiki is great (and getting better over time).

* It's fast.

* It's very reliable.

* The community is great as is GitLab as a company.

* GitLab's momentum of the last 6 months has been great and shows no sign of slowing.

We don't have it hosted on very powerful hardware but it flies - so much faster than using Github, or our old internal setup of Gitolite+Gitweb/Redmine

I tried out Gogs yesterday and this is what I took away:

* It's incredibly fast.

* It's incredibly lightweight.

* At first it looks 'pretty' but quickly you it becomes clear that it's actually quite unintuitive to use (for example, it took everyone that tried it here longer than it should to find how to log a new issue).

* There is no wiki.

* There is no CI.

* There is no Debian package which would be nice.

* It's written in a language that most Devs / Ops can't contribute to or bug fix.

All and all, I'm very excited about Gogs for my personal git hosting at home / on my VPS' - but I don't think it's even close to providing the system that GitLab has at present.
Some states and local governments allow voting by non-citizen residents. They still can't vote in federal elections, though.