skysight-inc/HackerNews huggingface dataset:
Your method relies on the class names not being renamed (e.g. I see "question-hyperlink" on /questions, not "question-link"). I'd skip the class entirely and match on the URL, since I doubt stackoverflow want their URLs to break:

/<a[^>]*href="(\/questions\/\d+[^"]+)"/i

But... we can go back and forwards posting examples and find fault in any regex that I post or any selector that you post. It's missing the point. Both methods are at the mercy of web page redesigns. Both methods can be made more robust against certain changes, but cannot survive other changes. You are trying to say that regexes won't work. I am saying that both methods work.
Maybe you are indeed doing the impossible, but I consider it more likely that you either (a) is using some parsing logic (like a stack, recursion or some such) intermingled with the pure regexes, or (b) is not extracting hierarchically structured data from the html.
Britain has a history of far worse things. I find the lack of awareness of Britains brutal past in the UK to be terribly disturbing. Morally it has one of the most repulsive histories of countries on earth yet all we hear from politicians is about British values as if they are some kind of goal to look up to. The superiority complex prevalent in British political discourse has no foundation yet is rolled out time and time again.
CloudFlare is offline – 502: Bad gateway
Small bug: When you did not solve it in time and the answer is diplayed, clicking on the timer will add it to the solved count.
That's exactly what happened to the UI when Windows 95 came out. The guidelines and frameworks made all Windows apps look similar, and for nearly 20 years this stays the same, just improving here and there but in line with the rules.

This is great for 'normal' people when they try to use everyday apps. I've never heard anyone to complain that desktop apps are boring. If they work - everyone's happy.

What the article is describing is the birth of the everyday web, where people go to do stuff. I still struggle on many websites and I'd like more standartization, not less!

Make every mail app be alike, with some unimportant differences, please.
She was Provost there from '93 to '99, which is a little more than teaching [1]. I think that while her willingness to go with the Bush administration's extremist positions (on torture and surveillance, especially) are a dark mark on her career, Dropbox is worth dropping for wholly different reasons (e.g. technical incompetence [2]) than who is on their board.

1. "As the chief academic and chief budgetary officer of the University, the Provost is responsible for administering the academic program, including both instruction and research, and for the coordination of the administrative and support functions of the University with its academic purposes." (https://provost.stanford.edu/)

2. http://www.eweek.com/c/a/Security/Dropbox-Accidentally-Turne...
Whoops. Meant per year, of course, but http://www.entrepreneur.com/article/234289
I have dealt with them a fair bit and they have been responsive and reliable. Then again I give them money, rather than just having an empty account.
The feature team is responsible for ensuring their in-progress work is sufficiently tested. This usually means that all their tests are run from the beginning of the features life. So, we don't end up testing every combination of features, but instead the union of all features.

With good software design practices we don't usually find bugs that only occur with some specific non-total combination of features. But of course it does happen.

The article isn't a way to make provably correct software; it's a way to keep the wheels on a massive, fast-moving project -- barely :).
I think the joke is that being on foot in [car] traffic is more dangerous than being in a car.
At least in the U.S. states that I've lived in, drivers licenses are segmented by the type of vehicle that you are allowed to drive, rather than the purpose of driving it. So, for instance, in Maine, there are 3 main tiers:

Class A license - certified to drive tractor-trailer trucks.

Class B license - certification to drive non-tractor trailer multi-axle vehicles; kind of an amorphous collection, but think buses, large commercial panel trucks, dump-trucks, highway plow trucks, etc.

Class C license - any kind of normal passenger automobile.

What I find interesting about Uber, and the backlash against it, is that it is largely just a scaling of under-the-table, unregulated behavior people have always indulged in. What, really, is the difference between calling up your circle of friends and acquaintances, asking for a lift somewhere, and throwing them some cash for gas money and their time, versus using Uber? They are evil because they enable you to search a wider network then just your personal circle? Or because they take a cut for providing a reliable, safe, centralized payment service? Or because they have enabled a market that competes with a rent-capturing incumbent, and the product they provide is cheaper, more convenient, and higher quality?
"There is no such thing as an unmaintainable/illegible basic regex..."

To someone who knows BRE. I am one of those people. It's ERE and PCRE I do not understand very well.

Sharing solutions to common problems using BRE on HN always seems to trigger (unwarranted) criticism using either of the exact words you mention, or synonyms for them. "Unmaintainable" (by who?). "Illegible" (to who?).

I "maintain" 100's of BRE scripts. They are perfecty legible to me. None of them are so complex I cannot re-write them in a short time. It is the structure of the input that is complex and which takes time to recall.

I also use lex, a common utility found on almost all UNIX derived OS; this article seems to ignore that option. I like to think it's faster than Perl or Python, but I cannot say for sure.
> Why block them?

Because I have better things to do with my time than click to close the message on every single website I visit.

If you actually read them then good luck to you. I think most people either a) don't care or b) install a global blocker to suit their particular privacy requirements.
American Nations Today (2013)
CERN+PORTAL+IS+WIDE+OPEN,+-+YouTube
True and sometimes the value of a piece is the fact that you can get something of value and learn from it even if you vehemently disagree with points made or conclusions.

Nietsche's point in the beginning of the "use and Abuse of History":
“Moreover, I hate everything that only instructs me without increasing or immediately stimulating
my own activity.” These words of Goethe's, a boldly expressed ceterum censeo, provide an
appropriate beginning for our observations on the worth and worthlessness of history.

The great thing about a presentation like this is that it burst one of the may filter bubbles I walk around in... Oh and also it is n't Powerpoint.
What's your opinion on their network? Back in the day they had poor interconnectivity reputation. Do you have any experience about responsiveness to hardware problems?
Ah, I didn't realize "ethical" just meant things you don't like.

> OOXML happened in 2006.

Standard technique re committees, and Microsoft isn't the first to use it. However, on balance, it was a good thing to do. Frankly, I don't see how any sensible person can object to the opening up and standardization of ubiquitous file formats (and again, that's a common industry move). It's good for users.

> Android racket is still going on.

Microsoft was one of the pioneers of desktop computing and desktop Unix, so I can believe it has some IP (though I don't know what it is).

Monetizing your IP is a standard American practice, in which IBM has long been a world leader. I wouldn't expect the US DoJ to disapprove of it. Indeed, it appears the whole US legal, economic and political systems encourage it.

> Proxy fight against linux through SCO (yes, MS financed it) went through 2010.

Which Microsoft didn't finance.
That's really good news and I'm really excited about keybase's future. I'm curious though why they chose to use NaCl instead of libsodium [1]. I was thinking of doing a crypto app a while back and did some research and libsodium seems to be a more portable and recent (removed deprecated code) version of NaCl by the folks at dnscrypt. Maybe I missed something in my research?

[1] https://github.com/jedisct1/libsodium
Exactly. These are the kinds of questions we should be asking.

If those with access to the relevant information were willing to give reasonably realistic and honest assessments of the risks involved, then everyone else could make their own judgement about what levels of risk they were willing to accept and our governments could act accordingly.

Of course, the problem is that with such obvious asymmetry of information and power, and with the biased perspective that often seems to result from working in an environment where your job is to deal with the worst of humanity every day, it's rather unlikely that we'll actually get an honest and realistic assessment of the situation and the true risks involved (both from the bad guys and from any unintended consequences of the measures that are supposed to protect us from those bad guys).
These apps "change the world" only if your "world" is the silicon valley echo chamber. The real world is only moderately impacted, and only for a limited time, even by an anomaly like Facebook.

Seriously, to all the silicon valley startups and investors: get over yourself. You are not changing the world.

*EDIT: There are a lot of interesting and cool things going on in silicon valley, perhaps more than in any other place in the world. To that, I agree. The whole "changing the world" thing is a bit much, though, and I believe anyone who claims this is either overestimating their startup or underestimating the world (or both).
supposedly subvocalising is slowing you (resources allocated to your TTS module rather than to your arithmetic coprocessor ;)
WebGL in Chromium: Behind the scenes
Memory layout of multi-dimensional arrays
There's Gambling Going on at This Bank, and It's Perfectly Legal
The move to subscription has not been reverted. What's been done is adjustments to address some concerns customers had. And this has been done in response to customer concerns.
1) Tied to Samsung device (singular).

2) No software ecosystem.

3) No hype, interest or marketing.

It's kinda like Microsoft tablet laptops before the iPad. Serviceable, but not a category maker.
Educating children to determine value
One skill that I've found to be especially useful in investment and business -- often because others are so bad at it -- is to make good determinations on the value of any given thing (i.e., what others will pay for that thing).

Being able to find and take into account available data and, in the context/absence of such data, make a best guess based on "intuition" has been highly valuable in everything from freelance contracting to negotiating salary and equity to determining pricing for our startup's products.

Now that I have a child, I find myself a bit surprised that there isn't more literature out there on how to teach/develop this skill for children. Does anybody have good resources or experiences to share on teaching children to reason through determining the value of concrete and abstract things?
Do you intentionally leave out parens in the #define for MODULE_SIZE?

If it was used in a context with higher precedence than multiplication, it'd be a bug.
Could you please stop insisting that I'm doing something impossible? Do you think I am imagining my work? I assure you that no backtracking or recursion are involved. Stacks? Well, sometimes I extract bits of a page with one regex and process it more with further regexes in another function, so I guess you could argue that the language uses a stack for a function call, but still... please stop grasping.

I'm very sure that you could invent some website that relied on some hideous deeply recursive complicated structure, and it would be painful to grab data from it. In my experience, those cases are extremely unlikely. If you let these extremely unlikely situations stop you from picking a simple and useful solution for all the other cases, you are indeed getting tied up in trying to be perfect.
shrug I'm sure a lot of people have had good experiences with them. I'd say ask them how you'd go about having your account closed and see how they react...
Somewhat off-topic: I have been looking for an ANSI art editor for the terminal (Linux or OS X).

Anyone know of anything?
That's interesting. I've only made some toy extensions for both Chrome and Firefox, and I've got an impression that Firefox's extension model is somehow more "powerful", and Chrome's is a bit limited. But after reading the experiences shown in this thread, it seems that Firefox's model is actually harder to use in practice. Would this be related to the maxim that "less is better"?
Possibly there is some confusion about the word "parsing". If it is just the question of scanning for some substring or pattern on a webpage, sure you can do that with a regex. But this is not what is usually considered parsing.
Mobile browser traffic is 2X bigger than app traffic, and growing faster
Roko's basilisk
To be fair, though, her provost tenure there was before her tenure in the Bush administration, where her most egregious acts took place. You can't blame them retroactively for not knowing what a monster she would reveal herself to be in the future.
I have one of these, and so far it's a mixed bag. First off, the wifi is badly broken in ubuntu because NO multicast ethernet packets are received by Linux; they are apparently being filtered in the ethernet card by the binary blob. No solution exists at this time, and the shipped Ubuntu kernel doesn't support any USB network adapters I have.

On the other hand, it did work well enough for me to make a basic port of LinuxCNC to it, though without a working PREEMPT-RT kernel it cannot be used to control hardware.

Of the ARM SBCs I own, this board is way below ODROID U3 and RPi2 -- it's buggy, it's not particularly high spec (other than being aarch64), and it doesn't have the world of accessories that RPi has. (Pick ODROID for performance, RPi for accessories)

But if you want to port an app to aarch64, or just say that you own a 64-bit arm system, and your hardware budget is under $200, DragonBoard and hikey are basically the two games in town.
This is why I can't be bothered to get worked up in favor of taxi drivers. They made their bed, now they must lie in it.

By law, I still have to use a taxi when returning from the airport here in Seattle (as opposed to Uber). I have had perhaps 2-3 positive experiences, some neutral ones, and many bad experiences with rude taxi drivers on their phones who drove erratically and tried to scam me with overlong routes.

And up until Uber and others arrived, they would either try to make me feel like shit for paying with a card, lie to me about it not working, or they would use carbon paper card readers circa 1985. Uber forced them to modernize in that respect, at least.
That's surprising. Mathematicians generally are not very good at calculations and it always seemed to me that doing calculations fast is quite different from mathematicians do and need.
Why I’m Leaving High School
https://bugs.96boards.org/show_bug.cgi?id=66 "Ubuntu can't ssh in"
A third of divorce filings in the United States contain the word Facebook. People are writing whole books (or incite revolutions) on iPhones while they're on the bus. I'm not saying that Facebook is as important as genetically modified rice on a worldwide scale, but it's up there.
Dying Better
> The comparison with the Stasi is usually perceived as a Godwin point

I don't see how, the Stasi was Communist, not Nazi. Perhaps you're thinking about the Gestapo.
Not my case. They are usually slow when resolving issues, and downtime and restarts without a reason are common (I use a VPS)
If I am reading this idea correctly, this would create some perverse incentives to hold onto property that has appreciated in value, particularly the longer the property has been held. If the "missing" tax amount gets tacked onto the lien every year, but only comes due when the property is sold, why would you ever sell? You'd keep locked into your pre-existing low tax rates, and lease out the property for income, or use it as an asset, or whatever, but you wouldn't sell it. You would go through elaborate legal gyrations to find loopholes that would allow you to pass on the property to your descendants without it being a sale, so that the lump-sum back-taxes collection isn't triggered. So the housing supply largely freezes, and prices go up higher.
You're missing the distinction between a finite language, and an arbitrarily large finite production of an infinite language.

No-one cares about "infinite HTML documents". I don't even think the Chomskyan hierarchy concerns itself with languages with "infinite" productions. All you have to worry about is infinite languages -- i.e., languages with arbitrarily large productions.

There's a key difference between "infinite" and "arbitrarily large": the latter is quantifiable. While indeed to can build a regular expression to match any finite subset of HTML, it can only match HTML documents up to some fixed size. I can always give you a (finite!) document that is one tag deeper that your regex will choke on.

"But recursive parsers have the same issue!" you say. "Their stack will run out of memory at some point!" Yes, but they have a key difference: the amount of stack (memory) they require is bounded by the size of the document. This is not true for a regular expression! In fact, not only would a regular expression to match a given subset of HTML require memory exponentially proportional† to the size of the document, the automata itself would be similarly massive!

I really wish someone came up with and promulgated a concise handy built-in ubiquitious equivalent of regular expressions for, say, PEGs. The closest I've seen are DCGs in Prolog. Would make so many parsing problems more easy to do correctly!

† It's possible I'm wrong about this since it's early morning and I'm basing this off my intuition rather than a proof. The part about the automata itself being exponential w/r/t the size of the document is definitely true though.
GDAL/OGR 2.0.1 Release Notes
Sydney Station was on fire
When I tried them around spring of this year they did have poorer international peering than others. Should be fine for EU and US tho.
Meet the Tech Entrepreneurs Trying to Take Back the Porn Industry
Look, you have essentially two options here: 1) add a full featured DOM parser to your program - do that if you have to understand the DOM; 2) write regex - do that if you don't care about the DOM, if you know how the server formats the data you need and if the server formats the data you need in a reproducible way.

> (...) and that they don't change that in a design or in other pages (...)

Well if they change the design of the pages then you will have to rewrite your regex accordingly in order to find the data you need. But if that happens, odds are high that your program, which uses a full featured DOM parser, will have to be rewritten as well in order to handle the modified output of the DOM parser...
I have cancelled machines before and had no problems. I have spent a lotat ovh. I general use the web self serve because it is faster. I think ovh is a low cost provider and you should not expect too much hand holding from them. If you do you are likely using the wrong provider and they will probably agree.

Seriously how big of a monthly bill did you have at ovh that was the problem? Are we talking thousands, tens of thousands or something like a personal $20/mth account?
Reading this on mobile, I accidentally tapped no less than three ads, having to then go back, close the bottom ad banner again and re-find my place.

Ugh. This is why people use ad blockers.
You are being willfully ignorant of basic logic. The high number of short term residential rentals _is the problem_. Airbnb exclusively facilitated the overwhelming majority of these short term rentals. Ergo, Airbnb created this problem. Due to the nature of cause and effect, the problem did not exist before it was created by Airbnb. Being the creator of the problem makes them the correct entity to attack.
Generating Word Search Puzzles
Why not? I needed health care about 0.5 times to this moment.

Without internet, I'll go and kill myself anyway, why would me need me?
> new data centres will all be self funded by the company who has said that it will be able to pay for these though its current cash on hand and current revenues.

If they really don't take any loans to build 12 data centers at once, that's really impressive. Or does that only mean "without taking investments"?

Let's say it takes 40M USD to build and stock a data center, built over the course of 3 years, that would be an extra drain of 120M USD per year.

Of course there is huge variabilty here: if they don't start from the green field, but buy/rent/lease existing buildings, they can go to market much faster. And it all depends on the size of the new centers, which hardware they stock it with etc.

UPDATE: Just found http://www.datacenterknowledge.com/google-data-center-faq-pa... which claims that some Google data centers cost USD 600M each, so it seems there's not much of an upper limit, and/or my estimates were hopelessly low.
Is there anyone besides me who deeply dislikes the term 'supermoon'?

It has no meaning other than near perigee, it's not like the difference in the apparent moon size is all that noticeable, and we don't say that ISS is a 'superstation' or a satellite in a Molniya orbit is a 'supersatellite' when near perigee.
China and US agree to halt economic cyber espionage
I'd love it if there were a choice between your current approach and something that's like "aggressively block all ads".
Too often, the government uses its information machinery to try to persuade
That only works if cookies are infrequent enough, like location data, which they aren't. Also there's no way for the browser to know how the cookie is used. I'm all for a technical solution, but I'm not sure it's possible to do "cruft free" without rethinking some things.

And as far as there isn't any "cookie law" on the books, it's about compliance with data protection and privacy regulation. So the EU isn't standing in the way of the industry to do that in another way.
No, this guy made a bad decision despite plenty of available evidence. Uber started in San Francisco in 2009. By 2012 it had expanded internationally, so it couldn't be regarded as a fly-by-night operation. Yet he still chose to dump a quarter million dollars into a medallion? Well, sorry. He chose poorly.
And cattle is fed with corn. Which is unnatural for them and they develop ulcers. Antibiotics prevent deadly infections from the ulcers and increase the life span of the cattle.
Can someone explain for a newbie on how to practically use it in a project? I understand golang basics. The github documentation mentions what it does but not how to use it.
I vote for an angel holding a key (to be drawn using a fantasy/videogame art style, not a religious one).
The backup plan is to typeset and publish the mailing list as a collaboratively written science fiction novel in the event that the main project fails...
You seem to have misunderstood my post? I asked for an unused account, with no machine to its name anymore, to be closed down. After a week of back and forth, they asked me to send a written letter to their lawyer to go forward with it. It's the most absurd experience I've ever had closing an account on any website - ever.
Battlefield Hardline for PC 2015 Activation Key Free Download
Complex Car Software Becomes the Weak Spot Under the Hood
Is Python strongly typed?
> a backend who's performance characteristics change with the dataset & operations being performed

Isn't that all of them?