skysight-inc/HackerNews huggingface dataset:
I once heard about a very large scale multiprocessor configuration with shared cached virtual memory and or disk storage. I don't know the specific terminology, but a cluster of DEC Alphas sharing a vast mapped memory space, not pure disk caching but something more like object caching. As an analogy imagine running all of Facebook across multiple servers with shared storage, and the cached objects are elements of Facebook pages, such as you and I sharing the same photos and simultaneously updating/tagging them. It is critical that we always retrieve consistent states, but it is not critical that my tagging happens strictly before your tagging.

Locks were not available, so it was simply not an option. So they instead chose a lockless "ethernet with memory space collisions" analog to normal "ethernet with wire timing collisions"

The implementation was to allow concurrent overlapping readers and writers into shared memory, but reading was done backward through memory, and writing was done forward. Readers could thus tell (checksum) if their read got corrupted by an overlapping write, and they could cancel and reinitiate. As long as there are not a large number of collisions, it's a very fast system with no waiting. Again, imagine the intensity and criticality of Facebook object sharing; on a human scale there might be a lot of concurrency and benefit to caching, but at processor speed there will not be much read/write contention.

There was more to the scheme which I don't exactly remember. For example, you can see that a writer can also tell if the write was corrupted by a concurrent write by following with a reread, but that's not what they did. I think there were two pools of shared storage, memory chunks and tables of handles to chunks, and the writers coordinated their lockless shared writes via the table of handles to the chunks using the same forward/backward contention (or really corruption) detection.
Authentication in an Internet Banking Environment [pdf]
It's almost as if you could say languages and libraries are defined by what they make easy..
If only XML were actually as simple as you claim. If only there weren't a myriad of namespace, encoding, character literal substitution and other complexities.
>Wouldn't this create a bit of water shortages downhill though? Like when you build a dam?

Great question! Dams themselves don't causes water shortages. It's the pumping of water from the dam to a separate watershed, or into highly evaporative irrigation systems (e.g. the Aral Sea and cotton).

Keyline design actually proposes building dams, but on a smaller scale than is typically seen and with no pumping between watersheds. Picture multiple redundant dams for every farm, each a few megalitre in size and a few thousand dollars to construct.

Many small dams wet up the entire landscape by slowing water down. Maybe this sounds obvious, but if water takes 10 times as long to reach the ocean then you have 10 times as much water to work with in the landscape.

Infiltration does the same. Subterranean water continues to flow downhill, but thousands of times more slowly. You can even recharge old spring lines in this way, benefiting the downhill hydrology directly.

>Sometimes we come up with solutions that work well in Sim City, but reality proves a bit more complicated.

On a wildly off-topic tangent, I just saw a fascinating talk in which Naomi Klein refers to this as "astronaut-eye environmentalism". https://www.youtube.com/watch?v=Jdaxehd0cF0#t=6m29s
Progressive Lenses and Large Monitors Do Not Play Well Together
Temporally Coherent Local Tone Mapping of HDR Video
The impossible painting
A10 is beautiful, but P-38 Lightning is gorgeous
I had contacted them for a quote a little over a month ago. Had to get on the phone with the sales guy to get any information. My favourite part is when you fill out the online form for a quote, the autoresponder says "Based on the answers you provided, we will decide whether you qualify and come back to you as soon as possible."

I don't remember the prices offhand but it was $57K US for a 3 node license at platinum support level and around $14k per node after that. He did provide that over the phone (but as I check my email, not in written form) on our first call.
The World's Dumbest Idea: Maximizing Shareholder Value [pdf]
>Women are required to be beautiful or they are deemed worthless, or failures.

I am truly sad for you if that is the case in your enviroment, but please, please do not generalise like that.
Doing exactly that would select specifically for people that care enough about future generations and those to follow to make personal sacrifices: "you won't end up filthy rich, but your children can escape the bonds of debt." Obviously not universally appealing, but I would go out of my way to work with someone like that, and would attach a level of personal trust to an organization under their guidance.

I wonder what situations this would apply well to? It doesn't greatly bother me that CEOs of oil companies are profit-driven, but the concept of rewarding someone's work by enriching the people that they love, rather than just creating short-term incentives, would fit especially well with nonprofits and NGOs, which oftentimes seem like their primary mission is to justify their continued existence.
> edit: Interlacing is also used in JPEG, isn't it ?

Yes, and contrary to PNG it actually makes files smaller.
There's a really interesting German comment there:

> Frage ich mich, WER hier die Nachteule ist.

"I wonder WHO is the owl here."

So it seems that in German, owls make the sound "WER", rather than "Hoo", but wer also means who in German. Allowing the same joke to work in German as in English.

On the other hand, I can't find a reference to Wer being an owl sound, rather Owls say hoe-hoe in German. This suggests the possibility that the German comments are not actually by a German speaker, but an English speaker pretending to be German and using Google translate as part of the scheme.
No you don't. You export it as png or whatever lossless format you can and your job here is pretty much done. Then technical guys you are working with convert it or write a script to convert it automatically on upload/download on their website or do whatever they need to do to get lossy image for whatever purposes.

Still, to become truly widespread you need to have support in all kinds of software out there, "everything you need is js plugin" is unreasonable optimism in my opinion. And, anyway, decoding using js isn't fast enough to be one and only solution forever, you need to get to have browser and other software support sooner or later, and for that you need 1 standardized format, not "whatever your plugin supports" as thread-starter suggests.
I like yours for the minimum number of operations needed:

28+((0x3bbeecc>>(m*2))&3)

But here's my own attempt anyway, which wins on number of characters typed =)

30+(m&1^m>7)-m*(m==2)
> XML is just s-exprs

No. That myth has been decisively addressed by Erik Naggum about 12 years ago. His summary:

> They are not identical. The aspects you are willing to ignore are
> more important than the aspects you are willing to accept. Robbery
> is not just another way of making a living, rape is not just another
> way of satisfying basic human needs, torture is not just another way
> of interrogation. And XML is not just another way of writing S-exps.
> There are some things in life that you do not do if you want to be a
> moral being and feel proud of what you have accomplished.

Please read his posting/rant for the arguments. Dude. (I'll just tell you to search for "naggum xml", there are more than enough copies in circulation, and you'll find a few more postings by other people.)

Now, as for XSLT: The big problem is the hairy syntax. It is really (at least) two languages (the XML tags, and the query language that is used inside selectors). In effect, you are writing at least three languages completely intermixed in a single file: the output language (most often some XML or HTML variant), the XSLT tag language (another XML format), and the XSLT query language (an incredibly limited ad hoc micro-language inside some XML attributes).

XSLT is a very limited language, as opposed to Lisp macros, which can use the entire Lisp language.

And yes, I have used XSLT in my job, and I do have reason to think that the XSLT-stylesheets I wrote have an acceptable quality. However, I know that I could have done their job better if I could have used some structured data, an HTML formatter, and a real programming language.
The 5 Benefits of DevOps
Bootstrap doesn't have animations, not that I know of, and I think its colors (though kind of cliché by now) convey information pretty well.
Here's some more information on recent controversy over one of the Warthog's supposed replacements -
http://www.washingtontimes.com/news/2014/nov/30/a-10-warthog...
The Eclipse IDE plugin works but is pretty slow. I wouldn't use it if I wasn't so used to autocompletion + documentation in my IDE.

The module system can use the central maven repository but it doesn't accept dashes in the name like jackson-core unless you put it in quotes. (Took me a while to figure out).

Ceylon doesn't have enums but you can emulate them like this: http://ceylon-lang.org/documentation/1.1/tour/types#enumerat...

Otherwise it's fairly straightforward to translate java into ceylon.

I love immutability by default. Only 10% of my variables/fields are actually mutable. I could reduce that percentage further if the jvm had TCO.
Not sure why exactly this is news. Ramesh Raskar, the head of the MIT team doing the project did a TED talk on it 2 years ago :
https://www.youtube.com/watch?v=Y_9vd4HWlVA
There are policy reasons why we don't want water to go to the highest bidder - Food Security is one of the key reasons we give agriculture so much priority on water, even when economically it doesn't seem to make sense.
I actually thought of Lockheed AC-130 gunship.
>And that's not even the point: they don't want to go against china directly, there is too much integration.

Yet another reason why China's regional dominance is increasing and the US is shrinking. It's not just their navy. The US is too inextricably tied to the Chinese economy.

In the last 5 years it's been looking like the US would lose out more if China pulled the trading plug (suddenly cut off exports / let the yuan appreciate) than China would.

Cut off Chinese exports now and the US would suffer a wave of cost push inflation like it did in the 70s with the oil shock. It would not be pleasant. US military planner are aware of this and restrict their chest thumping accordingly.
The cool thing is that jQuery/Sizzle can use normal DOM selectors on an XML document, so there is a little flexibility there, and like you said, MutationObserver is pretty excellent.

Getting rid of the noise is my biggest concern. Ideally, a developer should never have to know about or touch the HTML that's being generated. It's a lofty goal, for sure.
This applies to governments as well.
> Its a generational thing. Programmers grown up on JavaScript will prefer JSON

Not really, JSON is a simpler format with better parsing built-in for most languages. It is easier to use for programmers and performs better across the network.

This is as true today as it was true 7-years ago when I wrote this article: https://mkaz.com/2007/03/02/goodbye-xml-hello-json/
Actually the XML part is the one that maps best to the problem space. I deal with structured documents (such as part/title/paragraph ... or product group/product/components). The database part (usually Excel sheets or SQL based stores) are the ones that are "insufficient".
I can highly recommend having a play with Kerbal Space Program to get an intuitive grasp of orbital mechanics.

Basically, if you don't go fast enough, you're going to come back down to earth. Once you get to a speed that's fast enough that you aren't going to come back to earth, you'll find you are now in orbit around the sun, in a path remarkably similar to the one the earth is on. To get to Mars you need to get up into a higher orbit around the sun, so you need to go even faster.
It's a glorious time in software development when people who make and use trivial web apps think that their domain dominates, and that their superficial knowledge reigns supreme.
Why should the offspring of a person get the person's salary?
Not sure of this Ewww, much of the bigger sites like Facebook and Flickr, both use PHP..! This "Ewww..!" AFAIK is beginner coders perspective. Some company's are promoting this kind of things on language because they need different skill set people in the market. As an Architect, it is best to know as much languages as possible.
There was an article here on HN just a few weeks ago how the "Contact Us" pricing model actually often works better for generating sales than having listed prices.

I can't find it now, so my comment doesn't particularly add much value, but hopefully someone else can provide the link.
The only reason the A-10 is constantly threatened with retirement is politics. The USAF insists they control fixed-wing aircraft, leaving the Army to helis or depend on the AF to support. But the AF looks down their nose at ground support. If we'd get politicians with backbone to yank ground support back to the Army, this yo-yo nonsense would end.

And the reason the A-10 is still around is because it take the federal bureaucracy longer to end a program than it does to start a new war. Then they really need the A-10 because it works.

(Ex-Air Force)
The last US four presidents all have been bombing Iraq. Result? It's getting worse and worse.

Will it this time be different? Unlikely.
10 or even 5 years would be long enough. That's far longer than most CEO's stay in the job.
Citation needed. It sounds like you are valuing quality of life at 0 and onky valuing the amount of money changing hands. In particular, ignoring externalities like pollution (hello China) and other health hazards.
Actually "блин" is more of a ... "crêpe" than "pancake" :)
Energy Inefficient for Agriculture use. The cost/efficiency of Desalination has dropped dramatically in the last 10 years. Singapore buys its water for $0.75/m^3. Plenty cheap for residential use.
I'm sure they are on it, but Tor isn't a secret anymore, it is posible to obfuscate the source pretty well if you know what you are doing.
Show HN: Open Source Personal Budgeting App
The Air Force never wanted this plane in the first place. A renegade general who focused on effectivenes instead of glamorous, shiny supersonic planes pushed it through and went to the press to pressure congress to help keep it in service.

http://www.theatlantic.com/national/archive/2014/03/john-boy...
Well, now that they have done it, straight males can "try on" what the oppression of Lena must feel like for women:

So everyone, please respond:
Now that there's an "attractive" man in use for image testing, do you feel repulsed or discouraged that they would sexualize/objectify a man like that?

Do you feel pushed away from this industry?

Personally, this exercise is helping me see the light of the "are we treating women as delicate flowers who can't handle it" viewpoint. That image of Fabio is not threatening to me. Anyone who tries to tell me it is threaten, I think is being overly sensitive.

I'm utterly comfortable with people expressing this level of sexuality in the academic/public area. It's more akin to a "schoolkid crush" than to strip tease.
JSON Web Token (JWT) in Rust
Are GitHub.io sites down?
I've tried visiting multiple github.io sites. They all seem to show a redirect loop. Is it just me?

Examples: gabrielecirulli.github.io/2048

https://www.google.com/webhp#q=site:github.io
Not hackers god damn it, it's crackers...
Whether "good" or "bad" (not sure what that means in this context), it should be the owners of the company that decide whether or not to accept a bid for their ownership, not the company's management. Management and shareholder incentives are not often aligned when it comes to a change of control.

Management operates the company for the benefit of the owners. Preempting the owners' decision to sell by making the company a less attractive target should not be within their remit.
Show HN: Use scalatags with play framework
From these related photos, the owl was knocked into the water by a pair of Peregrine falcons:

https://www.flickr.com/photos/happy_peasant/sets/72157649483...

The waterlogged owl paddled its way to shore, where it could dry off and fly away.
It's pretty funny that the military would replace this function partially with B-1B's as a cost savings measure. IIRC, B-1's were notorious for having a 50:1 hours in hanger/hours in air ratio.

We seem to be in age of small unit combat against various guerilla-style organizations. They should start building A-10 like aircraft again.
> also the distribution was widely known to be gameable

It's fairly obvious we currently have no way to do perfect identity management. It's also fairly obvious you are using it as one-of-your-many ad hominem arguments.
From Indonesia Github.io is OK
No more play templates and the never ending IDE breakage ;)
Chicago Police disrupt and tap anti-police-brutality activists' phones
Interesting enough but not really appropriate for HN...
This article is like war porn.
Harvard Scientists Say That There May Be an Ancient Earth Inside Earth
The received wisdom you get from your doctor is mostly pretty good. The received wisdom you get from the TV news is mostly useless.
Is it just my perception, or are articles receiving progressively less proofing before they're posted nowadays?

>Campbell kept flying for more than hour

"more than [an] hour"?
XSLT is Turing compete:http://www.unidex.com/turing/utm.htm

It is a functional language, probably one of the reasons people don't like it.
Advice: how to monetize a website with – 30,000 page views per month?
I have a technical website with ~ 30,000 page views per month --- how to monetize this?

(the site is a how-to-do-various-useful-things-in-programming-language-X sort of site)

I tried putting a "donate using bitcoin" badge on there but guess what: total BTC donations so far are 0.000

I don't want to put ads up (unless someone tells me I can make considerable $$ doing so and even then it rubs me the wrong way)

any other suggestions?
Can be shortened to 28+(x+~~(x/8))%2+2%x+2*~~(1/x)
Anyone tried the "XSLT-powered open source content management system", http://www.getsymphony.com/?
"Instead use two separate pairs of glasses, one for computing work and one for everything else, as that is the only way to maintain good close vision that allows you to continue rapidly move your focus around a large screen without having to change the way in which you presently move your head."

Yes, I have a pair of intermediate distance eyeglasses that I use for computer work. And I use progressive lenses for everything else.
Wow, someone really thought it was a good idea to name something ReST.
Maybe Ycombinator should just stop trying to maintain hacker news and move to a subreddit, and thereby get all the benefits of reddit's features and ecosystem.
You probably mean N3664 [1]. The compiler is indeed allowed to get rid of allocations in new expressions it deems unnecessary.

You can verify that recent versions of clang allocate no memory in the function

int f() { return *new int(123); }

[1] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n366...
Perhaps a CTA to up-sell an e-book with useful pro information?
> imperative (or functional) programming

Indeed, this is enough to stop reading. Implying that two pretty much opposite concepts are one and the same thing — especially when comparing them to OOP, which, basically, is one kind of imperative programming already means that author clearly doesn't know what he's talking about.

So I don't know and I don't care who this guy is, how much "experience" he allegedly has and there's no justification to the fact that every second comment in the thread tries to apply to authority as if it means something. All we need to know about the article is article itself, and this article is full of nonsense.

That being said, I actually agree with conclusions (though these are pretty obvious things anybody with handful of experience would see). But the whole reasoning behind it is just… hilarious.
No military experience myself but this is sounding similar to the way the harrier jump jets were taken out of service in the UK. High and increasing maintenance costs, effective in certain roles, no obvious replacement.
And for many thats enough and is one of the major reasons PHP is popular.
oops, I wasn't clear... it's meant as a giant background image, and the quality competes with really nasty jaggies that start appearing below ~100KB in size. Nobody will notice wood grain, a few missing details, etc.
as an Infantry Marine, I can tell you unequivocally that when it comes to fast movers, the A10 is the only platform you really want covering your ass in a tight situation.

It is mind blowing to many of us that the USMC didn't buy up all of these things when the Air Force wanted to dump them. Yeah, yeah they can't fly off a carrier. So what. What they can do is hang in there when bullets are flying, loiter for a fairly long time and fly low and slow enough to actually see what's going on on the ground...(yeah, that 30MM gatling gun is pretty handy too..heh)

Side note: the only pilots that ever allowed us to shoot 81mm suppression over the top of the ingress routes to target when training to run CAS were the ANG A10 guys. All the active duty fast movers weren't game, and that included the MC Harrier pilots....
You can't detox your body
thanks (?)
SWAT: An app to report police brutality
> Doing exactly that would select specifically for people that care enough about future generations

Caring about future generations on one hand, and making sure that one's own children will be very well off financially (as opposed to merely debt-free) on the other hand, are very different things. I don't think that effectively giving shares to a CEO's children incentivizes that CEO to make decisions that benefit future generations as a whole. It might, however, drive her/him towards a long-term thinking.

If she/he has children, that is.
Larry Shiller: Life management
The Proposal to Redesign the Dollar That’s Weirdly Blowing Up the Internet
Any bets that this might be a competitor trying to shut SONY by causing people to quit en-masse?
Ultimately, I think the problem is that everyone thinks we need to be able to do all the same things with structured, hierarchical data that we can do with normalized, relational data. And it's like going from 2-D to 3-D. Things don't get just twice as complicated, they get exponentially more complicated as the problem-space and schema complexity grows.

Thus any toolset that tries to address relationships, schemas, searching, and grouping in an XML/JSON type data format is going to be exponentially more complicated than RDBMSes and SQL.