skysight-inc/HackerNews huggingface dataset:
sure. you can stick your dick in a loaf of bread and say it's "working". his point was "reproductive" work.
I think wolfgke's point (different from mine, by the way) was that you need to consider each state in each transition list just to check if it's in the set you've already seen. If you're in all states, and all of them transition to all states on an input, that's quadratic: you need to loop through n lists of n states just to check if you've already visited any of them.

Of course, I don't think there's an actual regular expression that would produce that automaton using Thompson's algorithm.
Changing numbers to modulos under a large prime won't help you either. You can still divide numbers under modulo using Euclid algorithm [1]

[1] https://en.wikipedia.org/wiki/Modular_multiplicative_inverse
Preliminary Thoughts on the Apple iPhone Order in the San Bernardino Case:Part 3
You still work for TicketMaster or was it long ago ?
I tried dotnet/corefx but quickly realized my mistake. Very cool once you get a repo that is a bit smaller.
> Just because one team of developers could do something in 200 man hours doesn't mean you can't spend and bill 2000 for it.

It doesn't mean you should pay, or plan, to spend 20,000 man hours in meetings and devote huge chunks of your budget to expensive licenses for something that could take 200 man hours, especially when it's taxpayers money.

Sure there are unavoidable overheads but why does our government keep splashing billions on them and failing, with little accountability?

Training is going to be expensive, sure, but perhaps plow millions of pounds into that after the program is finished. Maybe don't use the same massive, costly consultancies that fail to deliver? The Obamacare website was a great example of this IMO. Costly consultancy failed to deliver, small agile teams brought in to save the day - if only a bit too late.
This is a guest post from Auriel Fournier, a PhD Candidate with the Arkansas Cooperative Fish and Wildlife Research Unit at the University of Arkansas.

A real life example of what Scott Hanselman calls "a dark matter programmer"...he uses "the chief software architect of the Nebraska division of forestry."
Thanks, yes there's a feature to set the radius but that's by registration only at the moment. Just needs email + PW (ya, sry for that but it's safe!) and then you can also subscribe to searches/locations/events or post events on your own (pretty simple).
We bought a loaded one (leather, premium stereo) used with 11k miles for not much more than that. Best value around if the range works for your driving requirements.
So what were sex organs evolved for other than procreation?
Such thinking would tacitly suggest that no company which is not in the real estate business should own real estate.
An automotive company for sure, but it might not be Nissan (I actually drive Qashqai).
Which, ironically, is not obviously located. The link for their FAQ says "Demo". And it's in the main navigation on the top, instead of somewhere down the page where their layout is guiding me. Right before "Intercom Integration", they should really have another section which says "Do you have more questions? Try our FAQ!"

Instead, all of their navigation is guiding me to the sign-up button as a next step. It's a product page for creating and maintaining FAQs, and they don't guide me to their own FAQ - that's not a good sign.
>It's a trap because when you really look into it you realise the world isn't absolute, I think most of us could come up with a better tax system for example in theory which looks obvious however when you start to look into it you realise the the real world is messy.

I completely disagree. Yes, the real world is messy, but it's not that messy. A better tax system would be very easy to come up with, and I can prove it with one word: Europe.

European tax systems are far simpler than the US tax code. This is objectively true, and easy to verify for yourself with a little research (or just talking to someone who lives in Europe). This is despite these countries being generally more socialistic than the US.

So, it's very simple: if countries like Germany and France and Belgium can come up with far simpler tax codes than America, then there's no reason the US can't too.

You're right about your other points, but this was just a terrible example, and completely US-centric and myopic. The US tax code isn't a mess because "the real world is messy", it's a mess because the US has extremely poor governance compared to other developed nations. Most European laugh about our stressing about taxes, and having to hire H&R Block or use TurboTax when we just have a regular W-2 job.
Ideally a car company with a record of good manufacturing partnered with a software company with a record for good security. But I don't see that kind of partnership happening with the likely players we're talking about in the space.
There's something different this time, though. I have paid some attention to the last three or four of your primaries and there has always been a guy in the role that Sanders is playing now.

Sanders still seems to have a chance after a handful of states. That's a change for sure. And the explanation seems plausible. Unless you think Sanders is charismatic leader, worshipped by the masses, it must be a change in the voters part.
I read your Mimosa/fern article before. It's just chemical adaption. Plants may have mildly complex hormonal systems to respond to lots of different stimuli. But you still haven't addressed the cold pedant nature of your arguments. It's obvious that animals feel pain. You are really reaching for anything resembling even a physical response by plants, let alone pain. We should strive to treat those similar to us in conscious experience, the way we would like to be treated. Plants have no consciousness that we can relate to, if a consciousness at all. There is no brain. There is no response to physical stimuli, no eyes, no ears. Nothing that can sense the passage of time as quickly as animals. You are truly reaching, and I understand you may have autism which leads you to take this cold anachronistic view of the science of pain. But you really are lost here. Forget the plant thing. Treat animals well.
There aren't 20 million pages. Read my comment again.
Given the above assumptions that seems doable to me. 2 years of working nearly 24/7 with virtually no costs(compared to wages/benefits) would more than pay for itself. But I don't think the above assumptions are necessarily correct, that sounds a bit too cheap to me.
Twitter selects Fantasy as digital partner
Oh come on, they ignore people who complain about the iOS client too. They just ignore everyone and refuse to iterate or innovate. Personally, I don't understand why people pay to use them when Google Hangouts has so many better features and a clearer UI.
"The whole purpose of Stripe is to make basic tools for starting an internet business more broadly available and without barriers."

Well, I didn't have to publicly shame PayPal and wait for years to get invited to use their platform. So I guess they fill better the whole purpose of your company.

Stripe was appealing to me (and a whole lot of other developers) because of the developer experience you introduced back then, you kind of felt that Stripe was cool and was made with you in mind. After this experience I felt betrayed (and many others I know).

Taking a step back an evaluating all the choices I currently have Stripe is the most expensive one (no volume discounts). PayPal improved their APIs and are now easier to use, and the things you can implement with them are amazing (chained payments, subscriptions, reserved charges, preauthorizations, etc...) I know you can do some of those things with Stripe too, but not all. And your newer product has the amazing feature of being taxed on another country and then deal with double taxation schemes and all the fiscal issues that come attached?

No thanks Stripe, you've lost your cool.
It's still those people's ethnical obligation to pay what they owe.
Yes, a lot of cars have 'sim' card built-in Ford uses this and they're not hiding the fact[1], any car that can autoupdate itself has sim card that connects to remote servers and can be controlled, afaik it's encryption and security is worse than 2G.

http://www.businessinsider.com/ford-exec-gps-2014-1?IR=T
Found my favorite near the bottom: "Design by committee."
As I've noted elsewhere: to use AMP, you must load JavaScript from the AMP CDN, which is operated by Google. So you are handing over the security of your site and your user's privacy to them. From <https://github.com/ampproject/amphtml/blob/master/spec/amp-h...:
> The AMP runtime is loaded via the mandatory <script src="https://cdn.ampproject.org/v0.js"></script> tag in the AMP document <head>.
Why You Shouldn’t “npm install -g”
I've also seen assertions that employees don't leave companies, they leave supervisors.
TechInAsia: "Aerogel is considered to be the most effective thermal conductor on the planet as it is 90 percent air..."

Something was definitely lost in translation between us and the media outlet.

It should say... "Aerogel has one of the lowest thermal conductivities"
>More than a third of those surveyed were born outside the US—a much higher percentage than in the general population—and another 10% have at least one parent born in a foreign country.

You mean like the guy in the hero image with the caption, "The exception, not the rule."?
USENIX Enigma 2016 – Building a DDoS Mitigation Pipeline
UX, UI and Unicorns
you can also host it yourself. See github downloads.
Are you advocating for the government positions here? It sounds like you are, but it's not 100% clear.
Burning in the firmware would do it, but I'm not sure they want to give up the ability to update this software. I'd say a better plan would be to give the SE a small amount of internal storage. Two 256-bit fields would do. Place a master key in one field, place a secure hash of the current firmware version in the other. On boot, if the firmware hash doesn't match but the firmware signature is valid, rewrite the master key with a new random value. Then build the firmware to allow updating the hash, but only if the phone is unlocked. The normal update procedure would then be: install update, tell SE about the new hash, reboot. A "forgot passcode" update would be unable to do that second part, and would then effectively wipe the phone.

You might want a third field, so you can store both "old" and "new" firmware hashes to temporarily bridge the gap in case the procedure got interrupted at just the wrong moment. But the point being, you could allow updates without this vulnerability, and it shouldn't be particularly hard.

Obviously, that doesn't mean they've actually done it yet. I imagine they will do something like your scheme or mine for the next hardware design.
Thanks for this. It's an enjoyable read!
No authentication. The only sort of authentication token is linearly predictable and printed in plain text on the outside of the car.

No rate limiting. They successfully used the linear nature to collect a list of valid VINs and validate them.

No apparent intrusion detection.

Bad response to security disclosure. They didn't fix the problem when it was reported, they still haven't addressed the researcher properly.

I'm not sure these are the right people to write life critical software (which admittedly, this vuln. does not appear to relate to life critical systems; just privacy and comfort).
As you'd see in other comments here, in our closest relatives, they even evolved to be used to support group dynamics, even to perform kind of "greeting."

We have also evolved, so our organs also evolved to do what they do. Just like dog's organs evolved to even copulate with your leg.

The nature is not "exclusive" the way human religions are.
You might want to link to your FAQ section ;-) from your landing page.
Actually GlusterFS is close to my needs, however the "easy to install" and actually bad performance on many small files is a road blocker for us. However it runs well, even on just 3 servers.
Funny thing missing from this thread: Money. Doesn't anyone work for money anymore? You know, that stuff that allows you to survive day to day? I guess it just sounds better to say that you go to work to "change the world" or "fulfill a lifelong passion" or "grow your career". Saying you're in it for money is crass. If I want personal fulfillment or engaging projects or ping pong, I can do that outside of work, AND I get to pick and choose what I want to do. Would you really do what you do for 1/3 of your life if you didn't receive compensation for that time?
Sand Flea Jumping Robot
There are the exact same checks and balances taking place right now for the iPhone.
Not so fast. These are getting formed in Delaware, but I believe if you operate in another state you have to register and may be subject to their taxes.

In California there is a "gross receipts tax" based on revenue for an LLC. Do over a million dollars? Pay $6,000 in LLC Fees. Fine for a software co or a law firm not a huge deal. Ecommerce can be a crazy low margin business though and many Stripe customers could get hurt.

http://www.sandiegobusinesslawyerblog.com/2013/05/california...
What makes an email client so difficult to write? I don't mean this to sound insulting, I just really don't understand where the complexity is. It seems like you should be able to get to a point where it is feature complete and all development efforts shift to maintenance mode. Or maybe I don't understand what's been going on with Thunderbird and perhaps it's been "done" for years now.
Previously we had problems with usernames/groups that had upper case letters. The recent improvements (8.5) fixes all these problems. Please try it now :)
True, but with the addition of the second amendment through DC v Heller, all of the bill of rights now applies to the states (expect, maybe, for the third amendment).
I like Odoo, but, there doesn't seem to be enough glue in the Open Source release to do things like billing for services in a sane and coherent manner.

The UI for LedgerSMB is just horrible. I don't think it's really been updated since 1999.

I really haven't messed with ERPNext, mainly because I can't get it to install correctly.

It's my opinion that there really are not a lot of good, truly open source ERP/Accounting systems for businesses out there.
> Yes, there is a bound to the number of operations of 11{star}length. Yes, this means that big-O says it's linear.

... that's been exactly my position this entire time.

I guess I just don't understand why you are calling the NFA algorithm quadratic. Calling it quadratic because there exists a particular progression that moves the runtime complexity in a quadratic fashion up to a predetermined linear bound seems really confusing.

Overall, attackers can't make the entire algorithm run in quadratic time in the length of the input or the regex. That's what matters.

With all that said, I agree with your final conclusion of course, that the NFA algorithm is going to be slower than running a pre-built DFA. But I think attributing this to quadratic behavior is just confusing. I personally think of it more as the NFA having to maintain multiple simultaneous states and being forced to follow epsilon transitions over and over again. In contrast, a DFA will only ever be in one state and it will cache all of the epsilon transitions in its states.

> An attacker still has significant control over system resource usage in a way that he would not with a constant-resource approach.

Cox's formulation very explicitly provides an implementation of the NFA algorithm that uses constant resources (with respect to the input).

I mean, this isn't theoretical. You can go look at an implementation of the NFA algorithm by either Cox or myself, and it's pretty clear that some fixed allocation (based on the size of the compiled regex) happens up front, and no further allocation happens during the actual search. You can't make it blow up and take quadratic time.

> This isn't even one of them, however, because the NFA has no loop. The DFA would have n+3 states: an initial state, a reject-loop state, a state for when we have seen the initial zero, and one state for when we have seen each of n additional zeroes or ones.

It's exponential because it requires counting. You don't actually know when you've seen the initial zero, since you can see any number of 0s or 1s before it, and exactly N number of 0s or 1s after it, and then following that, the end of the string. (That final `$` is probably crucial to requiring an exponential number of states.)

It's a pretty standard example: https://en.wikipedia.org/wiki/Regular_expression#Expressive_...

See also: https://github.com/google/re2/blob/master/re2/testing/dfa_te...

This blurb from Wikipedia is also relevant:

> On the other hand, it is known that every deterministic finite automaton accepting the language Lk must have at least 2k states. Luckily, there is a simple mapping from regular expressions to the more general nondeterministic finite automata (NFAs) that does not lead to such a blowup in size; for this reason NFAs are often used as alternative representations of regular languages.

This exactly matches my experience and what Cox says.
Remarkable Boston Dynamics robot
Interesting. I'm using Adblock Plus for Chrome on Win7 and was able to view the article just fine.
I am like that for movies and similarly for music. Within a bar or two I can almost always tell you if I know the song. Sometimes it takes a few moments for the name to surface, but it's there.
As the responses in this thread demonstrate, there's plenty of cause for both pessimism and optimism. So let's all choose to be optimists, then get on with improving our own little piece of the world.
The claim of being blasted with liquid nitrogen is kind of silly. I put my hand in liquid nitrogen for 10 seconds before getting scared and my hand didn't get much colder than if I had put it in water.
Ok, thanks for that feedback. Yes, usually these kind of events should be categorized as "Media" so they won't pop up when approaching the site.

But yeah, there's still lot's of work to be done on this kind of stuff ;)
Some effort is being put into preparing the ground for negative interest rates, but human loss aversion psychology is a difficult thing to overcome.
Alternately, it was caused by the Greek govt issuing bonds like candy based on fraudulent growth projections, who belatedly realised they couldn't inflate their way out of a corner as they (and everyone else in control of an unpegged currency do) used to - hence the drachma having about as much value as the paper it was printed on.
Washington also costs around $200-$250 to register an LLC online.
SaaStr – Where’s Our Facebook and WhatsApp
You may be interested in this example of Python application (django): http://doc.gitlab.com/ce/ci/examples/test-and-deploy-python-...
This is a problem I am struggling with right now.

I have a CVS repository of PDF and Word docs.

The business side uses docx format, so using markdown and generating docx is not really feasible. I have run into issues of people changing the filename and it creating a new entry in the version control. I have a idea I plan to implement to fix this.

What I would really like is some linux system that would make it easy to pull the text out of docx and make it searchable. I would want something that could run on the command line that does not have a ton of dependencies.
Interesting premise - will give it a whirl. Just FYI - typo in the page "We are still investigating how we can build the pest possible product”
Perhaps the least talked about hidden danger with this service is the fact that by establishing a US nexus, you're putting yourself in the crosshairs of patent trolls. Software patents pretty much aren't a thing in the rest of the world, and you can happily trade from abroad with US customers without patent trolls trying to shake you down. That and the vague potential for national security letters should you have possibly interesting information.

It's all a balance of risk though and for a lot of people the benefits will outweigh these risks. For a lot of people these risks will never materialize.
Emergency Story – Girl facing death?
Usually, registered agents don't function as a virtual office - i.e. you can't have business mail sent there.
Facebook 'protecting' user data is so laughable that it suggests this is all public reassurance theatre.
Of course you can. This is what sovereign bonds are for.
uBlock Origin on Firefox and was able to read the article just fine.
Distribution of power is a very, very difficult concept for people to grasp. I feel like if there was a better way to educate people about the consequences of misplaced power in our society, we wouldn't be facing many of the problems we have today.
You're vulnerable to MitM if adversaries have issued fraudulent certificates for sites that you use. And we know that this has happened, more than once.
Stripe I love you. I have been crying my heart out because of the lack of a payment for the "rest of us". https://news.ycombinator.com/item?id=10857912

On behalf of many developers, I say THANK YOU.
Beginners being herded into command line due to composer
...in UK and US. Apparently other countries never had any of these.
thanks! If you want a promocode for that, email me at rodrigo @<the above domain>
Not usually the same individuals!

e.g. In the case of Kaupthing, quite a lot of UK local governments were directly using them as a deposit bank and lost money when the bank collapsed. These deposits were made whole by the UK central government.
Is this really how it works? I guess you have to go to court to find out, but I always thought of it this way:

If I have the same policy (support for 1 year) and I change the contract - the change will only take actual effect after 1 year.

I mean, I'm contractually bound today to provide support for 1 year from today, no? Am I just rambling, or does it make sense?
Yepp, there's only FB API calls (though I'm not sure if it's optimal already the way I'm doing it :P ) and it seems as some are formatted well and some others aren't. Looking forward to fix that, too...
Sneaky. You knew we wouldn't be able to resist! Worth it to see the pseudo-organic growth though, if you zoom out enough (but not too far).
This is appealing to me too. I was recently surprised to discover that there was no simple product to maintain a public FAQ and/or knowledge base. I'm using one of the lowest tiers of Zendesk and I'm not happy, but I don't feel the appeal to upgrade to another tier either.

My needs:

Template system for a seamless integration with my site's aspect.
Custom domain name support.
SSL
WYSIWYG or MarkDown editor.
Option to add my analytics (i.e. to include my own JS on my pages), or some analytics offered by you.

I'll be more than happy to pay for this, if you keep it simple :)
I've got Ublock Origin and funnily enough, the LongReads example AMP page loads only marginally faster than the "full" one. I don't understand why people can't just remove all of the crap from their main pages rather than relying on this Google-sponsored equivalent?
There's also an asymmetry in the way we think about public and private projects.

When a piece of private software flops, it still exists as a product and however bad, often offsets some of its cost in sales.

Since most public software is offered for free, no cost is visibly recouped.

Healthcare.gov is actually a great example. It was a colossal failure at first. A quantity easily measured in dollars spent. However, it has largely functioned in the years since but measuring its positive economic impact is hard because the service is delivered free. None if that money has been reclaimed but it certainly has had some positive economic value.
> no volume discounts

This is false. They have volume pricing breaks starting at 80k USD, 30k GBP, 30k EUR, etc processed. Check your country's pricing page.

US example: https://stripe.com/us/pricing