skysight-inc/HackerNews huggingface dataset:
Meet the Woman Who Is Trying to Change the Credit Card Industry
Journalism is the most depressing career lately.

I think taxes should be raised (on the wealthy) and that artists, journalists, performers, etc. should have easy access to government-funded royalties. And I think this would be a good way to fund open source too, so that projects such as OpenSSL don't wither on the vine.

The royalties could be at rates specific to each niche (adjusted so that pop superstars are compensated similarly to journalists). But within these categories, compensation is proportional to your public audience. (Edit: proportional on some sort of exponential scale, so that every legitimate professional can make a decent living)

Note: this is basically Richard Stallman's idea. +1 internet dollar to him.
`Bluebird` looks good, i gonna try it out. thanks.
Yep, everyone hates XML and then gets excited over "microformats" or "components" :)

These hundreds of languages have no pattern matching but all have mutable state; XSLT is declarative and this removes a ton of complexity. If you had a bunch of related tables would you process them as Python dicts and arrays or rather load them in an RDBMS and write SQL instead? Especially as the transformations get more complex?
Did you turn on your optional ISP supplied filters before testing?

You probably turned them off some time ago - "Content Lock" is I think what O2 calls theirs.
Thanks! I believe I can work with all of this information :D
> I believe the fundamental pain of xslt was... that it was an FP language.

From the post I linked in my other comment

> Oh, and the fact that you can call a language functional when it lacks first class functions makes my eye twitch. I'm tempted to upload a video of my eye twitching just to prove it.
China's bullying of their neighbors has been the best thing for American dominance in the region since winning the Spanish American war. Even Vietnam likes them now. .
Running also has an effect similar to rope skipping - all the inner organs receive a "free massage". It might be that simple.
Whether or not you like cave diving, some scuba divers need to know how to handle confined spaces. It's useful for search and rescue, and for retrieval or repair in underwater structures.

Luckily they're building this in Italy rather than in the US. So they can treat people like adults, inform them of the risks, and let them make the decision about whether to go into the caves-- without being sued out of existence.

I feel sure that it will be much safer for divers to learn these skills in a commercial pool, surrounded by people and equipment that can help in the event of a crisis.
It's not something I've ruled out.
I want to enter this piece of evidence into the trial:

Comma separated string parsing XSLT:
http://stackoverflow.com/a/2850181/92493
One interesting use-case is having an Atom feed and HTML page at the same time. See source code here: https://curiosity-driven.org/
Why 361 needles are better than 1
first says reverse, second says i prefer to start over, third says i prefer to reverse, you say start over.
seems like their executing incredibly well and big congrats to the team.
I do wonder a bit how defensible this model is - it seems to me that safeway already has most of the infrastructure available to do deliveries and then could significantly outperform instacart deliveries from safeway in terms of customer experience for example.

- they always know what's in stock in which facility when you order, no more replaced or missing items
- they don't charge the high 20-30% markup that instacart charges to their customers

in terms of marketing, they could probably have lower cost of acquisition on scale as well.
- they could market their app in-store very aggressively at every single checkout counter.

what Safeway is most obviously lacking is a frontend that's as good as instacarts, but now that instacart has shown how to build it, it should be easy for safeway to build this out.

maybe they don't have their distribution setup such that they could actually deliver within 1-2 hours?
what else am I missing? how can this be a defensible business long term?
XSLT does indeed have implementation issues, but it really is very powerful once you know how to use it properly. And I don't get how it's a "failure". It's one of the most widely used technlogies in the publishing industry.

Our company once had an application that processed the end-of-year high school student results and then published them in various newspapers. The input files were text files generated from the Education Department's database from various regions. The process took around 10-15 minutes (lot's of rules had to be run against the data). I replaced it with a Windows JScript script and XSLT. It took 15 seconds to transform the data.

That said, I still use XSLT regularly but I'd be lying if I enjoyed working with it. Using a decent IDE for development and debugging can help.

Someone did give me a nice tip for working with and learning XLST though - "translate your transformation rules directly from simple English to the template rules".

eg. "I need to insert the node <member> under <group>"

<xsl:template match="group">
<group>
<member/>
<xsl:apply-templates/>
</group>
</xsl:template>

"But if the group node exist, doesn't create, then create it"

<xsl:template match="root[not(group)]">
<root>
<group>
<member/>
</group>
<xsl:apply-templates/>
</root>
</xsl:template>
This is amazing. I feel like I'm dreaming. I'm wondering what the input spreadsheets look like, though
Compiled XSLT stylesheets must be very efficient; they're automata, like regular expressions.
http://www.usgs.gov/water/

The storm system drains all the "hardware" in an urban or suburban area — roofs, roads, parking lots, and sometimes even constantly mowed grass (which can form subterranean hardpan). Higher runoff rates lead to flow bottlenecks, flooding, and untreated sewage discharge.

Still, agricultural land has more catchment.
>Yep, everyone hates XML and then gets excited over "microformats" or "components" :)

The 'exciting' thing about microformats was that it got you slightly higher positioning in SERPs. I don't know if that's true any longer. That was hardly a benefit of the language design.

I've never heard of components.

>These hundreds of languages have no pattern matching but all have mutable state

There are hundreds of bad languages. I wouldn't defend any of them. Most widely used languages have some form of decent pattern matching, though.

Mutable state can cause headaches, but if you want to use a functional language to help solve that - these days you're spoilt for choice. Most modern languages can be written in a functional style also, if that's your thing.

>XSLT is declarative and this removes a ton of complexity.

The OP made this claim by comparing it favorably to a javascript program that parsed HTML using regular expressions. Which makes me wonder (and shudder about) just what you and the rest of the XSLT defenders are actually comparing it to. And also why you seemingly haven't seen or used any good parsers or templating languages.

>If you had a bunch of related tables would you process them as Python dicts and arrays or rather load them in an RDBMS and write SQL instead

That would depend entirely upon what I was doing and why. I have done both in different contexts because they had different trade offs.

>Especially as the transformations get more complex?

SQL is capable of handling a great deal of complexity (more than xslt certainly), and its declarative nature certainly nets you a lot of things for free (less code, faster queries, no deserialization/serialization overhead), but it still has its limits. Yes, for really complex transformations I would probably write them in python and not SQL.
Turning your hobby into a business
Safety, liveness and fault tolerance—the consensus choices
Do you have serious research experience at the postgraduate level?

Working as a software dev doing what is -- no offense intended -- entry-level NLP will not land you an interview at MS Research. If you want to have a shot at applying to MS Research, I suggest you publish at least one paper in the domain in which you want to do work there.

Also, people rarely have 'careers' at MS Research. Most MS Researchers I know went there for one or two years after getting their PhDs and then did something else.
How to reveal the author of a secret
From https://en.wikipedia.org/wiki/Harvard_University, about Harvard (known then as New College):

Although never formally affiliated with any denomination, the early College primarily trained Congregation­alist and Unitarian clergy.

Also notable is this list (note how many Ivies have been around since then): https://en.wikipedia.org/wiki/List_of_Colonial_Colleges
The syntax of XSLT is obviously godawful, but the architecture was sound.
Those who rant about XML and XSLT know nothing about what they talk about. 50% of our server's behavior (200,000 Java LOCs) is orchestrated declaratively by a small number of XML files that use around 30 custom namespaces. These are

1. parsed on server startup for setting up persistence, business rules, REST endpoints etc

2. transformed by XSLT to a) produce nice HTML documentation, including DOT class diagrams b) generate Java source code c) validate declaration integrity and cross-referencing

With the right XSDs, IDE support is excellent (auto complete for everything). Take the time to learn it, apply it according to your needs, and reap the benefits- in the long run, maintenance work is down by an order of magnitude.
iPhone wallpapers made from Aerial images
Wozniak reveals 'the Apple Garage' was a myth- the Inquirer
I really don't understand how programmers can hate XSLT (and XML for that matter). It's a marvelous piece of technology, truly. Maybe the whole stack is so ahead of its time that nobody gets it?
Thanks! At the moment no, but send me an e-mail if you use Duktape somewhere :)
I second this, I typically forget about these things (meaning I never bother to look for new issues) until I get the email.
Does this actually have anything to do with the technologies used in Watson-the-Jeopardy-winning-system?

I've read much of the published papers on Watson and I don't really understand how this relates?

Is it that the "Watson" brand encompasses all IBM's semi-intelligent systems work?
A couple of years back I saw a documentary on fractals ("Fractals: The Colors of Infinity", narrated by Arthur C. Clarke, with music by Dave Gilmour of Pink Floyd - that was one groovy documentary!) where they showed this mathematician who apparently had a research grant from some military-intelligence-ish government agency to develop fractal image compression for their spy satellites. I wondered why I never that technology in action, and I figured it had something to do with the amount of secrecy surrounding spy satellites.

It is kind of sad that the reason is so much more mundane.
I'm afraid your argument of "It worked for us" and "it only uses a small number of files with 30 custom namespaces" pretty much is the most unconvincing argument I've ever heard.

In fact, the latter point is one of the reasons most people like to avoid XML.
> In my mind using modulus and floor in a mathematical formula is no more valid than using cases

Agreed. Using floor it seems like you can construct a function that's effectively defined piecewise, by constructing a floor expression that's zero outside of a specified input domain, and 1 within the domain. Then you multiply the floor expression by the piecewise expression that you'd use to define a piecewise function over that domain.

Nevertheless I found the article to be an interesting read on mathematical reasoning - a thought process for designing functions with particular behavior. Is there a rigorous way of describing why mod and floor seem like cheating in a way, aside from the fact that they can be used to construct piecewise functions? Is the ideal hack in this scenario a continuous, smooth function? (And something more interesting than the result of polynomial interpolation?)
First spend 6 years getting a PhD at a top-tier university. While you're there, publish awesome groundbreaking research. When you graduate and realize there's no jobs in academia, then you can crash at MSR for a year or two... assuming it even still exists by then. They closed the Silly Valley office this year and who knows what's next.
Agree. Jim Fixx's example is particularly bad. Mr. Fixx did have a genetic condition affecting his heart, he was a heavy smoker and he was severely overweight before starting his running revolution.
It's an impossibly subjective decision.

However, I agree that their #2 - the microchip/transistor - has had a greater impact on the world than the Internet. FWIW, they list HTML and email but not the internet specifically.

I also think their data is wrong for the "U.S. passports in circulation." According to http://travel.state.gov/content/passports/english/passports/... , in the 10 years before 1989 there were 40-50 million passports issued, and not the paltry ~2 million shown on the graph.

I think that are incorrectly showing a simple cumulative sum of the number of issued passports.
> ...is available as open source, and is supported by Microsoft on Windows, Linux and Mac OSX.

Somehow, the words Microsoft, support and Linux still don't seem to sound right in the same sentence.

I'd been your stereotypical Linux fanboy and MS hater since a teenager. But today I'm totally awed by how radically Microsoft has managed to change itself. I can't even imagine how hard the people inside Microsoft must have fought to make this happen. Well done, guys.

I think I'll pick up a C# book for Christmas.
These amount of flash/RAM are probably not realistic for a compliant engine. For instance, the Duktape regexp engine alone takes around 10kB flash compiled.

Luckily Javascript has a great ecosystem, so there are non-compliant subset engines targeting tiny devices. What other (higher level) language scales this way? :)
I saw some talks on ASP.Net vNext this week and the links between .Net web apps and IIS are weaker than ever. I'm sure that .Net web apps will still be deployed to IIS when they need to scale a lot, and are hosted on windows, but neither of those two are mandatory any more. A lot of sites and web services won't need all that and can use a self-host or lightweight host. OR new hosts/adapters to other web servers can be written. There's a lot more hosting and platform flexibility coming, which is exciting.

For more info, see

http://www.asp.net/vnext/overview/aspnet-vnext/aspnet-5-over...

http://www.asp.net/aspnet/overview/owin-and-katana/getting-s...

https://github.com/aspnet/KestrelHttpServer
Sounds like a demo for a multi-resolution image file format rather than something to do with the fractal compression per se.
Have you ever used f.lux? https://justgetflux.com/ it adjusts the colour temperature of your display(s) based on the time of day. I often use my laptop in bed with the brightness turned down and colour temperature at 2700k, makes the screen look like it's backlit by candles.
What would a range type offer over a pair of iterators?
Everyone is mentioning how angular is to hard, how its learning curve is really steep. But I felt completely the opposite when I started, it was much simpler than backbone or some other tool - this is why I fell in love with it...
I also came from jQuery.
> Are there other employment opportunities for the staff in D.C.?

It seems like this would be a good opportunity for First Look Media to bolster their reputation/morale after the very public squabble with Matt Taibbi. First Look probably needs a DC office anyhow, and their goal has/had been to start multiple magazines, and TNR is a turnkey solution at this point.
It's more of a declarative language. Like Prolog.
Ewww, You Use PHP? [2010]
I always just found it easiest to remember the summer months (July and August) are the back to back 31 day ones, and the rest alternate. Add to that, there are plenty of "anchor" months to start from, which you know without having to figure it out. (Presumably you remember that February is short, that Halloween is Oct. 31, and that New Years Eve is Dec. 31, for instance.)
>> Virtually none of it.

What? Milk? Multi-vitamins? Stretching?
This stuff is discussed heavily; I do not know enough about these things to weigh in on validity, but if nothing else, these discussions might be very symptomatic.
I'm very shortsighted (about -8). When I squint, my eyelashes act as a rudimentary lens and make the image clearer. The image is distorted differently when I squint, but less blurred. I suggest that those with better eyesight may also squint in order to see details on a retina display, and the squinter sees a higher res image (albeit a distorted one).
For the Photoshop file-format plugin, someone should contract out to Toby Thain at Telegraphics who has written a bunch of file format plugins. Or optionally use his GPL'd source code as a starting point if you want to DIY:

http://www.telegraphics.com.au/sw/
That was my experience working on a huge XML/XSLT project recently. Agreed.
That seems like the difference between object-based (early VB) and object-oriented.

XSLT is referentially transparent (no setf for you) but withholds from you most of the goodies that people take for granted in functional or logic programming.

You could see it was written by well-intentioned FP enthusiasts. IMO the best alternative at the time when XSLT was developed would have been XMLPerl - embedding an imperative language in something that deals with the XML-specific parts appropriately. But Perl was never enterprisey enough, and XmlPerl died a painless death.
Still, system memory usage will not affect the virtual memory addresses allocatable by an individual process, on basically any modern system.
What do you think of Western Australia's desalination efforts?

http://en.wikipedia.org/wiki/Perth_Seawater_Desalination_Pla...
One quote sums it up:

“XML is simply lisp done wrong.” – Alan Cox

It's not that XSLT isn't useful in some situations. It is. It's not that clean, simple and efficient XSLT is impossible. It is, but it's hard.

The fact that it isn't Turing complete can be a good thing. It can also cause a lot of headaches.

The main problem is that XSLT as designed and as implemented is an over-engineered god-awful mess. XSLT 2 was a huge improvement, but nobody implemented it, or they maybe only implemented bits of it in nonstandard ways (MSXML), so none of the better parts were reliable.

The idea of XSLT was sound and XPATH was pretty nice, but anyone who thinks XSLT is "good" probably has never worked on a large XSLT-based project (one where XSLT files routinely include other XSLT files and XML documents routinely link to other XML documents via xlink).

People say complexity gets out of control with OOP. Those issues pale into insignificance compared with rampant pattern matching split over many files when you have dozens of different schemas and are dealing with massive document graphs (with the occasional cyclic edge for good measure).

Good luck trying to reliably predict results in advance, or add any sort of control-flow logic to deal with edge cases without resorting to hard-coding and unrolling recursion.
Thirty days have September,
April, June, and November.
All the rest have 31,
Except for February all alone,
It has 28 each year,
but 29 each leap year.
Vietnam has liked America more for decades. However, being liked more by Vietnam does not translate to military dominance over the Pacific.

Chinese fleet is increasing in size and the US pacific fleet is shrinking.

Also: what did the US have to say about China claiming most of the South China sea as its own? Virtually nothing. That wouldn't have been the case even a decade ago.
Almonds are extremely nutritious.

Ok... maybe "need" is a bit strong, we don't need any specific food item, but my point is, we do need food and that food does require water.

Check out page 8 of this pdf....
http://www.cggc.duke.edu/environment/valuechainanalysis/CGGC...

Nuts do use water in California. Slightly less than rice (at least in 2003, there may be some variations since).

The point is... by far the biggest (and most unnecessary) user of agricultural water in California is Alfalfa. (Yes, I know there was a recent Slate article on Almonds. But the amount of water they use pales in comparison to Alfalfa.)
Rails Operations for Bootstrappers (ebook)
I think it's more than lobbying. I think there are long term contracts in place guaranteeing certain groups certain amounts of water.

Inefficient and impractical as it currently is.
Miasm – Reverse engineering framework in Python
> the same pain you felt debugging it

XSLT is "right the first time"; I have had to do corrections and evolutions but very rarely (never?) have I had to hunt for a weird unexplained behavior.

Of course I have seen horrible XSLTs, but horrible is in no way limited to XSLT (the only thing that's XSLT-specific is when people try to do imperative programming in XSLT).

I'm currently trying to make sense of a database model where every. single. property. is a flag in just one table (isClient, isProspect, isActive, isAForeigner, isMale, isFemale, etc. etc.)

No XSLT involved whatsoever. Big pain.
nope and upon the O2 connection I know that is turned on.
Maybe because the utility of people growing a huge amount of crops in California is way more important to the state than people watering their lawns.
MetaMind Sets Out to Bring Deep Learning to the Rest of Us
Why do you call these "iPhone wallpapers"? Do they not work on other devices?
From the article Option and null in dynamic languages [1]

"Languages and libraries are defined not by what they make possible (the Church-Turing thesis tells us that), but by what they make easy."

The Church-Turing thesis tells us about what is fundamentally computable, what a library decides to implement is not the same thing.

Libraries are not about what is fundamentally computable, but about abstracting away the mechanics of some problem.

While no library can solve the halting problem, that in no way implies that two libraries expose the same things to the end user of the library, even in a related field.

[1] https://codewords.hackerschool.com/issues/one/option-and-nul...
Mobile App Marketing Tool
Also the venerable, tongue-in-cheek, "Not the comp.text.sgml FAQ" [1] by Joe English.

Sample:

Q. I'm designing my first DTD. Should I use elements or attributes to store data?
A. Of course. What else would you use?

[1] http://www.flightlab.com/~joe/sgml/faq-not.txt
ES6 Symbols
This ain't gonna go down well with the 'Aspies' who make up a disproportionately large percentage of the site's users. They don't like change!
What about third party types?
Top 5 Beautiful C++ STD Algorithms Examples
The dst/route cache has effectively been replaced by the TCP metrics cache. Values like MSS, SRTT, and cwnd are still useful to preserve across streams between peers. See ip-tcp_metrics(8) for a decent summary.

David Miller has a summary of the route cache removal in http://vger.kernel.org/~davem/columbia2012.pdf. The cache exhaustion argument was .. odd. As I recall the cache entry was created on handshake and was keyed off of src ip, dst IP, dst port. Given that the attacker can (effectively) only vary the src ip thats a lot of addresses to control. The other argument was that not hitting a cache was "only" 10% slower in microbenchmarks.

Personally Im dubious of the route cache removal, though I havent tested. The 10% hit rate, as I recall, was from Google front end servers which Id expect to have a high cardinality of peers along with a simplistic route table. For servers with multiple interfaces, variable route properties, multiple tables, etc and a high packet rate a fast cache should be quite valuable.
> Most of all, calling it the de facto standard is either dishonest or clueless

It is in fact the de facto standard in the publishing industry. The "other" format is of course PDF.

Maybe all of this will change when we have more technologies that support formats that can handle mixed content as easily as XML.