skysight-inc/HackerNews huggingface dataset:
The exponential blowup only occurs in the worst case. I don't have a proof at hand but I suspect that the final automaton shouldn't grow very large if your regexes are modeling web routes, since they are structured as a tree of paths with lots of "prefix-sharing" and no loops.

Other than that, if you are concerned about automaton size you can use a non-deterministc automaton instead of a deterministic one. You spend a bit more time (at each iteration you have to update a list of "active" states, while in the DFA case there is always a single active state) but on the other hand the automaton itself is much more compact.
Yes, the human error rate is probably higher than a computer, but the correction rate is higher, too. A computer will never, in a million years, realize its mistake, or be swayed by an appeal. It's harder to fix some classes of computer errors, too. The DMV system's facial recognition algorithm will have to add a list of documented false positives, which is an additional feature with a cost. Errors will only be fixed if they are severe and affect multiple people.

A human can just fix the mistake in the paper file as a one-off and move on. No generalized solution necessary.
Just give me the convincing evidence and I will do what I can to protect the Earth that my children will inherit. By contrast, you don't need to convince me that there's a desperate world-wide problem with pollution for instance. Mercury, cadmium but the list is seemingly endless. Where is the international disquiet on this front? Meanwhile CO2, the plant food which if its level dropped below around 125ppm all life on this planet would begin to die irreversibly and has greened the planet very significantly in the last few decades, is regarded officially as a pollutant.
+1 I strongly believe that we're a profession and should have professional standards.

On the other hand, I do suggest you look at hobbyist/quasi-professional magazines. It's.... not terribly dissimilar.

Example cover:
http://popularwoodworking.woodworkingplansplans.com/images/w...

Conceptually, that's the same exact approach taken..
How did you land job interviews after being self-taught? I'm doing the same right now, but I assume I need to complete some sort of bootcamp or what not in order to actually land an entry level job as a web developer. How do you get noticed when you don't have formal experience?
The moment that a student dentist starts to drill into a tooth to place a filling (under close expert supervision and after a lot of training) for the first time they are doing two things:
1) Removing enamel that will never grow back - if they do it wrong, there is no option to fix a semi-colon and recompile
2) Doing it on a human mouth for the very first time in their lives.

The difference isn't just that most programmers don't directly have others physical health in their hands, although that is true. Some programmers do, but all dentists do.

The difference is that you don't get do-overs. Have you ever written code that didn't even compile the first time? Or code that failed a test, or code that did something wrong in a test environment, or code that did something buggy in production?

If you'd made a mistake like that as a dentist, a patient might well have lost a tooth that they're never getting back. Much worse could happen, you could cause someone to lose feeling to their face, even kill someone.

There isn't any low-stakes dentistry but there is low-stakes programming. That makes it easier to start as an entry-level programmer because even at a low level of skill and experience you can potentially do useful work for someone.
I hope both succeed and if we do we should buy the fruits of their efforts since we seem to not be going that direction.

I have seen nothing but environmentalists who understand economics being vilified. I hope this attitude changes.

Economics does not require "eternal exponential growth is mandatory", although some popular schools of economics do. Economics is just a very good way to actually judge cost.
"Thanks. It just seems to me "currently accepted medical use" is pretty unambiguous, there is SOME, that is, other than none, currently accepted medical use so their definition is wrong on its face. I'm surprised that nobody told them "Look, you're using English wrong(ly)" as a way to challenge the law."

Their classification of marijuana as having "no accepted medical use" is silly on its face, and I hope I adequately gave that impression in my comment. I'm not agreeing with it. I'm just pointing it out.

Unfortunately, changing the DEA's opinion is harder than just sending them the medical literature, and pointing out the contradictions in their position. This is a problem that needs to be addressed through the legislative process. (The DEA follows federal policy; it doesn't necessarily establish or alter federal policy). Fortunately, change is happening at the state level. If we reach the point where most states recognize medical uses for marijuana, then eventually, the federal government will have to cave on its hard line. Or so the thinking goes.

English is indeed a complex language, and it's also filled with the sorts of loaded terms with which lawyers have a field day. For instance, consider the word "accepted" in the phrase "accepted medical use." Accepted by whom? Who decides whether to officially "accept" a medical use? Is it the DEA? Is it the medical and scientific community? Is it the legislative branch of the federal government? Is it the judicial branch? Is it someone else? If this issue were ever to come to court, the DEA could argue that there is no "accepted" consensus. It would be a weaselly argument, but English is a fantastic language for weaselly, semantic arguments like that.
Show HN: How We Created Deep Links That Enable Apps to Function Like the Web
ARM power Qualcomm finally bids on server market
Artist wants to walk in another man’s virtual reality shoes for a month
Delivering on the promise of beacons: a modular approach
Nokia Unveils First Ever N1 Tablet After Speculations
But do we even know the repercussions? I'm still not convinced it's all bad? Aren't the studies about all forests turning into the deserts the most speculative? Couldn't it just as easily produce more green spaces and habitable areas? (apologies in advance if this offends anyone)
Thanks so much for this, been learning and failing with some decent wins for years. Any time there's a clear, focused guide for learning to code I get inspired again.
Exactly. Option<T> has a implicit conversion operator that converts a type of T to Option<T>. So passing T to the function constructs a new Option<T>, and the constructor checks for null. It's also likely (though not guaranteed) that the Option<T> will be allocated on the stack, and should therefore not pose too much of an overhead.
> systemd provides you with the capability of starting a service "after network is up" so it needs to be able to tell "when network is up"

That's not that hard once you have proper dependency-driven init, Gentoo's done it for a long time. You just need some way for the networking scripts to tell init that they're started now. Traditionally they'd do it by forking into the background once they're done starting just like any other init script. It's a bit harder if the network might not become available until after startup but not that much so.
Not sure yet, but we may do something in that direction in the future.
Great, now bars will start implementing MITM attacks on their wifi routers to steer you to yesterday's flat keg.
One step after another. Sailfish is not yet fully matured, better sail slowly.

I think there are/will be enough people who are looking to an alternative to the apple-android-(wp)-mainstream, jolla will do well imho.
If the SASS compiler wasn't smart enough to deduplicate several references to a mixin it would unquestionably mean redundant properties and more weight in the compiled CSS, but it wouldn't be any less efficient from a page paint POV.

There's a completely valid argument that any "improvements" in the above sense are outweighed by the extra time in downloading and parsing a larger cold-cached CSS file, but in my case I am happy to rely on the browser cache and the compiler to be smart (and maybe sacrifice a small amount of resulting CSS weight if it's not) resulting in "cleaner", more semantic HTML (and arguably CSS).

In terms of the second login widget, you're absolutely right, my implementation would fall down, but then it would be a VERY simple refactor. However having n of something on a page would have a semantically different meaning than my case, so therefore classes are indeed the right specificity method!
There are two different aspects of economics here; on one hand, it's blindingly obvious that growth-based economy is unsustainable. On the other hand, it's what is driving the world right now, so effective ways to fix the system will likely need to use it for their advantage, and not ignore it.
>You don't have to like it, you don't have to eat it but they're free in their choice just as you are free to build something else.

And I'm also free to correctly identify that their poor leadership decisions are ruining a wonderful piece of software and causing the community, including Ian fucking Jackson, to abandon the group that made it possible.
The first example on http://interactjs.io/ is buggy in Windows/Chrome. When I drag, it leaves a trail of the right edge of the object; reminiscent of a crashing Windows 98.
No, the entire West is not working together on intel. Most Western countries are not part of the 5-eyes agreement. Of course most states secretly have no qualms about violating the privacy of their citizens, but this should in no way distract us from the fact that UKUS capabilities far exceed those of anyone else.
Interactive Raycaster in 254 bytes for C64
Yes, optometrists have used eye-tracking goggles and have found that it provides an immediate reading benefit (fewer backward saccades, fewer skipped/repeated lines) for nearly all of their patients. More studies are underway, both in schools and university labs.
I don't think so. It may alter the equation, but it wouldn't really be a "solution". For one, considering how difficult interstellar travel should be based on what we know, intergalactic travel would be much more difficult, even given von Neumann's self-replicator ideas. (It's like the difference between crossing a river, and crossing the Pacific.)

On the other hand, maybe galaxies are just naturally inimical to life, and extragalactic stars are the only places where long-term biological survival is possible.
Those are not mutually exclusive things. You can have an ambiguous question but be sure of the intent because of the context.
For certain definitions of "should", sure. Like: I _should_ get some exercise tomorrow. I should take out the trash today instead of tomorrow. A very optional should.

I've got 4 years of professional software experience and the only C I've written is a couple hours on an Arduino device. It's just not that needed or relevant to my work as a web developer. I don't think the article is too focused on web dev, that is where the self-taught developers can most easily insert themselves.

FWIW, dynamic scripting language is redundant.
The one we like the most is better. We're used to a specific kind of climate for the last few thousand years, so let's try going back to that first.
that's not really the actual timeline. here is the pull request for adding union types.
https://github.com/Microsoft/TypeScript/pull/824

I believe all 3 teams, TypeScript, Flow, and AtScript, are working together for few things as is.
Also of note, from another group of researchers word is that there may be more planets in-between stars than there are circling stars.

If this continues, the universe is going to end up being nothing like we expected only a few years ago.
> We also saw that the process’s heap size stayed fairly constant at around 1.2 Gb.

> Something was adding the same Express.js provided static route handler 10 times an hour.

Why didn't it increase the heap size? Maybe it was too small to be noticeable?
I would be really curious to see how you are actually managing these thousands of separate instances? Do you have some kind of a management GUI to do this? Are you managing them through command line? If so are you running into issues where managing these take up most of your time and adding more complexity into your environment? I honestly want to see a good example of how you manage your docker containers where you have thousands of containers instead of say 10.
Thanks. I don't see a call to test::black_box(x), so I assume that was an empty function optimized out.

Would you change "let vlen = v.len()" to "let vlen = v.len() + 1" and try again, please? That introduces an off-by-one error and a buffer overflow. Let's see what the compiler does with it. Thanks.
That is a hard question to answer, because my answer is biased (I live now, so I am biased to think now/recent-past is the best climate). But I do think the 19th/20th century was the most ideal climate possible for the human race. I would speculate it is no coincidence that the industrial revolution occurred so quickly, in part due to a verdant climate.
If you're looking for a chief problem-solver, I'd start by making your problems clear and compelling. Make it worth their time (intellectually) to engage with you.

You've got a website, you've got sales, etc... where would the CTO come in? Exactly what kind of technical problems are you trying to solve? What kind of scale are you trying to accommodate? What has failed? What's your dream stack, etc?

Pick a place on your site to state these clearly, (a Careers page for example), and link it prominently in the footer or elsewhere... So that someone who's already a fan/customer of yours but also happens to be technically-adept might stumble upon it. (If you have a careers page now, I wasn't able to find it). This ideal person might get interested in the problems you're trying to solve, and offer to pitch in; or they'll send the link to their friend, colleague, etc. I think that's the most organic way of sourcing the right person.
> Copy paste is disabled remember...

s/The user just copy and pastes it into the game./The user emulates his keyboard typing that string.

I don't see the point in this. It's just adding noise instead of talking about the real problem.

> As for the rest, that is up to the developer with more resources than his opponents.

If it were like that, I'd be happy. Right now it's trivial to completely solve the game.

Even though the game is not suited for competitive gaming it is great to teach some math.
The concept of a solitary star without any 'nearby' neighbors features in Iain Banks' Against A Dark Background: https://www.goodreads.com/book/show/422452.Against_a_Dark_Ba...
Writer as Coder: The Iterative Way to Write a Book
We need more studies, of course, but we can't wait too long hoping that we'll luck our way out of the predicted negative consequences; we need to act on incomplete information.
Actually, no: if you run this you will see three matching groups, but the first is always the whole match (this is in addition to the capture groups that are defined), the second is the (redundant) capture group you put around the whole thing, and the third is foo/bar/.*. /foo/bar/\d+ is not matched at all, even though it matches the input string.
This is simply bad data governance. Algorithms should not be able to make destructive decisions like dropping people from insurance or canceling a driver's license on their own. A better system would use the algorithm to identify potential cases, then having a human perform a more stringent verification once you've narrowed down the set to a manageable number.

Yes, this is slightly more expensive than using an algorithm alone. But it could actually end up being cheaper in the long run if law suits are involved. Sloppy data governance causes all kinds of problems that are hard to quantify numerically, and that's the root cause here - not bad algorithms. At the end of the day, every algorithm is going to produce imperfect data: they're based on simplified logical models of real world systems. Recognizing that algorithms are imperfect is a key part of knowing when and how to use them.
7 of the 30 largest corporations paid more to their CEOs than they did in taxes
Software engineering is a relatively young field. However, to say we don't properly understand the fundamentals is absurd.
bookmarking for checking out later this evening.
My bank just replaced their online banking site with one that features a much "cleaner" design.

I'll grant, it's way more pretty than the old one. But it also makes a lot of common operations take many more interactions. Getting a quick overview of how much money I have, for example - used to be, all my accounts fit neatly on screen at the same time. Now I gotta keep scrolling.

Reminds me of a captioned image I saw a month or so back, of a grassy quad somewhere with a sidewalk that had a T intersection, and a bare track through the grass where everyone cuts the corner. The sidewalk was labeled "UI" and the bare track was labeled "UX".
I think lots of people don't think global warming would be "catastrophic." Otherwise it would completely steamroll over any arguments against deploying more nuclear power.
Well sure. If the algorithms were all implemented perfectly, and performed as we would want relative to every possible evaluative criterion, then nobody would have a reason to object to the use of algorithms. I don't suggest holding your breath until this becomes the case, though. One of the interesting things highlighted by the article is the sheer diversity of evaluative criteria. A thoroughly inculturated human can usually navigate these complex systems of values in a way that remains extremely difficult to implement algorithmically.

In the meantime, when the algorithms we have fail to perform as we'd like, the damage they cause is multiplied by the very efficiency gain that makes them appealing. That's the macro-scale problem. And on an individual basis, the affected person has a difficult time reversing the damage to himself, because the human bureaucracy will tend to defer to the algorithm.

Given that it is the mere fact that an algorithm is used, combined by the effective impossibility of perfect algorithms in the context of complex social functions (and humans' tendency to defer to their results, even when incorrect), that causes the harm, I don't see what's wrong with saying that algorithms can ruin lives.

If not this, then what, to your mind, would it take to make good on that headline?
Sorry for those issues and thanks for letting us know. Your signup worked the first time however you received an error during confirmation.

We are aware of the modal issue.

"Text does not appear (but is there) when I type in any of the boxes and submitting the form gave me an error."
=> In case you remember, can you tell us more. Which page the text does not appear on ? . What error did you get from the form.

We will also dig up the logs for server side issues.
In what way is the labeling misrepresenting what it accomplishes?

I don't see anywhere in the documentation where it boasts as being more viable or comparing itself to other options in any way.
Your modification results in the inclusion of a bounds check in the inner loop:

.LBB0_4:
cmp	rdx, rsi
jae	.LBB0_7

At `LBB0_7` is a call to `panic_bounds_check`.
> By avoiding privileged optimizations in the frontend and by giving programmers low-level tools where they need them, Rust empowers library authors to get things done without having to bug the Rust developers themselves to implement them.

And there are cases where it is desirable to use unsafe indexing (beyond implementing the standard library iterators). While LLVM is able to get rid of nounds-checking for a simple indexing loop, it's less likely to do in other circumstances. For example, a high-performance sorting function might want to use (some) unsafe indexing. The access patterns and loop exit conditions can be very complex, and LLVM will not be clever enough to reliable optimize out bounds checks.
Show HN: Redesign of www.muusical.com
I wasn't stating that the research says that smoking cannabis is "viable and healthy means of consuming medication."

But rather that it isn't simply, as you state, "nonsensical" as form of medicine.
As long as they're not doing something stupid like saying "this person has a 98% probability of buying a parka, let's send them one and bill them for it, but let them return it with free shipping." Then you'd need the accuracy. (Also that's probably illegal, and even if I wanted something I wouldn't want a company sending it to me without my permission.)
Initially, I thought Cucumber was going to change testing because it would allow Business Analysts, Stakeholders and other interested non-technical individuals to read the tests. Experience taught me that these types of abstraction layers get relegated to lower skilled "programmers" because the non-technical individuals don't want to "write the business logic" because its still very code-like.
We're thinking about doing at least daily digests – with the top x stories of the last 24 hours – for each topic, via email and/or RSS. Thanks for your suggestion!
Your webserver, your dns resolver, your database, your operating system, the compilers they used, how about the bios, or the northbridge
This analogy is as absurd and oversimplified as comparing grand theft auto to a download of Taylor Swift albums.

There is no such thing as "freelance amateur dentistry". You can't start tinkering with teeth and get a job the way you can tinker with programs as a hobby before getting a junior position at a programming gig. To compare the two professions and suggest the path to engagement and skill are the same is obtuse.

This article resonated with me more than most HN pieces, because it describes my path as well. I've not had professional guidance, and with the absolute flood of options, of data, of debates and educational material, it's REALLY difficult to know where to start. I don't understand how you find it acceptable to mock someone's interest and lack of guidance.
I don't have a menu handy, so I tried taking a picture of the example on your website on my monitor. The first time, it said the picture wasn't clear enough, but the second time, it's stayed hung on "Scanning now..." for over five minutes so far. Nexus 5 running Android 5.0 stock, connected to wifi.

As I was about to submit the comment, it finally finished processing, returning a list of beers that weren't in the original menu image. Not surprised, given the poor quality inherent to taking a picture of a low-res picture on a low-density LCD screen, so the only issue I see here is how long it took to process the image.

Great idea—looking forward to trying it at the pub tonight (hopefully I'll have better success there).
> "Learnings" is at best a pointless affectation

No, at best it's a deliberately wonky usage for comic effect [1], like "Internets". It's quite possible the author is being gamesome. [2]

[1] https://simple.wikipedia.org/wiki/Borat:_Cultural_Learnings_...

[2] http://youtu.be/Wc1pxO_-5S8?t=6m43s
I've come up with a pretty cool project with obvious business model this exact way. I started with a new hobby last year, quickly saw some inefficiencies and ways it could be made easier with technology/computing and have started building it out. Although I don't have as much time as I'd like to spend on it (newborn twins!), I'm definitely motivated and excited every time I crack open Sublime Text :)
Do you mind going into memory alignment and cache lines and what would be good to know? I feel like I ignore most of that unless I am coding in C. I mostly do python or Javascript so does that stuff mater when you are that high up in the tech stack?