skysight-inc/HackerNews huggingface dataset:
System not responsive. Look at the CPU load. Look at the process peaking at 100%. Force dump the stack track of the process couple times. Hmm. All of them stuck in the regex engine. Look back up the stack track to see who calls it. Oh, it's on the home page's text cleansing code.

Something like that.
Hypothetically, if you were the parent of such a child (or such an adult offspring), how should you make sure that they stay safe if what they are working on is beyond your capacity to evaluate?
> you are absolutely not describing a political movement. You are describing a militia through and through.

The point I'm making is that all political movements want to control people, which entails the direct or indirect use of force. Pro/anti choice activists in the US may not use suicide bombers, but they want to get a law passed that will jail people who do the thing they don't like (perform abortions vs have abortions). This is indirect use of lethal force, because it has been effectively institutionalized in the US.

It's idealistic or naive to believe that political movements do not exist for the purpose of exerting direct or indirect lethal force on others. This is a cynical view but it is true (though there are other motives for movements/organizations to exist, those exist alongside obtaining power/influence).

Drone pilots do not have to be zealots in order to fly a drone into a village and unleash a payload on a bungalow full of people, they must simply go through military training. Propaganda indoctrination is part of the US military's training approach, because studies have found that humans really don't like killing other humans if they think of them as human. The propaganda makes it psychologically easier for soldiers to follow orders and do their job.

Surely a so-called zealot who is doing a suicide bombing believes some similar sort of propaganda. Many American soldiers have bravely charged into combat zones with full knowledge there was a good chance they would perish. Why imagine a suicide bomber as fundamentally different when he is fundamentally similar?

Yes, ISIS does some really nasty things and appears to have no redeeming characteristics whatsoever. It's fine to disapprove of those things, but I think it's unfair to focus on the inevitable moral differences in an asymmetric conflict... they always exist. The British were outraged that the revolutionary soldiers would take cover behind a tree to take aim.

The moral tolerance that each side has for outrageous acts is context dependent. There is not any cultural/institutional superiority or inferiority involved. Our own military leaders know this and are ready to do whatever is necessary to get results (see Rumsfeld's strong defense of torture techniques).

So moral outrage about ISIS is part of the propaganda message to encourage Americans to support the war. Many people have died in the war so far, and it is not Americans that are dying, it's the brown skinned people we wantonly slaughter. This is abetted by the perception that the groups are illegitimate and morally bankrupt. It is we who are imposing our will on people thousands of miles away so that we can take natural resources from their land.
Java EE awaits its future
3 good things could come out of Pokemon Go and similar games/apps/trends:

1. smartphones will finally have decent batteries (e.g. lasting at least 1 day for the avg PokemonGo player, aka days/weeks for the rest of the world)

2. through healthy competition, carriers hopefully stop charging ridiculous amount of money for data

3. convergence of home wifi and carriers, i.e. you can use and share your home wifi within miles from your home

</tooOptimistic>
Website traffic picking up, now what?
I launched a free API about 5 years ago. The website also has a way to utilize the API (Think, Google Translate has both a site and API).

I put a single ad on the site and left it. I really haven't made a single change to the site since launch. I haven't improved the product, or changed the website at all. However, traffic has slowly climbed. The API gets over 10 million hits per month.

Over the last 4-5 months the website traffic growth has picked up substantially. Last month we had 109K impressions, and this month we're already at 92K. Ad revenue last month was $1400 and this month we've already just broke $1000.

I really don't know what to do next though. I mean, it's growing at a decent rate itself, so I've left it as is. I'm afraid to touch it in any way possible as it seems just as likely I could push users away instead of bring more in, resulting in a downturn in traffic.

Whats the best way to proceed? How should I move forward from here? Leave it as is and enjoy the little bit of side income it's bringing in? I know I can't rely on it since at any point Google could re-rank me and all the sudden I'm showing up on the second page of results and my traffic disappears. But if I can take advantage of the situation it would be even better.
I don't install flash these days. I usually browse in Firefox and don't really miss it. On the occasions when I do need flash for something, I'll fire up Chrome because it has flash built in.
You can't trust that the user has JavaScript enabled; and since you can't trust user input anyway, you'd have to do this server side.
I guess I was thinking more like a 9P[0] approach where a file system can be given to a module (or any program) and based on it the module can export a related file system. For example the module would encrypt the files before storing it to the given file system.

However, I realise this does not quite fit into the current kernel architectures.

[0] https://en.wikipedia.org/wiki/9P_(protocol)
Gosh. Do you still not have unlimited data plans in the US?

love, Europe

(EDIT - I was rather expecting downvotes for that glib post but there was a serious intent. You guys should be angry about your mobile and cable data situation. Very angry. It's pretty much the most expensive in any country I'm aware of. No doubt there are countries with a worse story on data charges but I've not been there)
3 Democrats. :|

But yeah, this is silly. People have to be responsible for their own choices after some point.
Houshalter is pointing out that your definition of "just complicated" is not sufficient (in the usual way we mathematicians do, with counterexamples). He's showing that once you know a theorem is true (even if it's P != NP), every proof has essentially constant Kolmogorov complexity. Kolmogorov complexity does not take into account computational complexity of the program outputting the target string. There is time-bounded Kolmogorov complexity, but I don't know if I'd call it a standard measure.

There is also a measure called "proof complexity" that compares the length of a proof to the length of the statement being proved. If the relationship is polynomial then the proof is considered "interesting." If it's exponential, uninteresting. You also need a parameter, which in this case there isn't since it's a specific n, but you can extrapolate the proof technique to asymptotic n and call it exponential from that perspective and I don't think anyone would argue with you.
Democracy doesn't sucks less - it only sucks for less people.
The gender of artificial intelligence
Google Cloud Natural Language API
It was an actual elective class as part of the "Recreation Management" major at my university, but I took it for fun. We talked about and practiced techniques for building fire, shelter, and tools, as well as foraging for food and being wary of physical and mental problems that arise in survival situations. Supposedly back in the day(70s and 80s) it was actually a month long trek out in the wilderness and some students even took it to make up for some sort of probation for misconduct. For our final exam we just had three nights, two of them alone, out in the Utah desert. Our teacher was a Native American, former Army Ranger who had been doing bushcraft since a very young age.
Easy to reproduce [1]. Just remove the a in the end and your timeout disappears. Anybody knows which regex engine they used?

[1] http://regexr.com/3drn3
A time limit on something like this is so extremely awkward to use. My first problem would be that I'm concerned the implementation doesn't have the resolution; a "reasonable" time limit would be what, 1us for a regex match?

Which brings us to the second point: what's this, wall clock time, CPU time? I risk testing this with low load on my dev computer only to have it fail in production because high CPU load means the match just took longer (but wasn't running into a corner case).

I think a reasonable "timeout" would be to give an upper limit for character array accesses, like 20*strlen.
We did and then they took them away.
Dart was only created to be faster than JavaScript. Here's the leaked memo about why it was created: https://gist.github.com/paulmillr/1208618

tldr; JavaScript has "baggage" and can't be made any faster than it currently is, need a different VM + language with types.

Btw, the Dart creators are compiler engineers, not language designers. It explains a bit about why it has failed to catch on.
Except it isn't integrated into anything and so just as pointless as the monorail. It's not worth using for 99% of the residents.
Alexa has it at #50:

http://www.alexa.com/siteinfo/stackoverflow.com

Quantcast has a similar ranking for it: https://www.quantcast.com/stackoverflow.com#trafficCard
My office cheated and made the doors glass.

Massive sliding glass things that are cumbersome to open and close and very noisy. They might as well not even be there.

Also the walls are glass, so you can see and hear everything in the adjacent offices.
Regarding non-streaming transcription: It doesn't seem like the return includes timings, which would limit its usefulness in transcription for accessibility (where, for example, a post-processing step on our side would consume the Cloud Speech API and build SRT subtitle files for class recordings)

Is there a product / service / library out there that could help align a known-good transcript with the original audio (creating the timings) if the Cloud Speech API doesn't plan to return timings?
"You can't trust user input" means to not fudge with user data in the first place!

If your code cares about unicode spaces at the beginning of user input, there is your problem.

(Also, you missed the reject part)
Most likely answer: The built-in trim isn't Unicode aware or has buggy behavior when dealing with Unicode.
Happy to answer that. First off we don't use vanilla angular 1.x, we use meteorJS + Angular-Meteor which means we're locked in to Meteor's build pipeline.

Angular-Meteor supports both 1.x and 2.x, and Meteor's build pipeline has us writing angular code in ES6 that is on the cutting edge of 1.x and looks very similar to 2.x without actually being typescript.

The Meteor and Angular-Meteor teams are both really great, really quick response times to issues and combined have a really great ecosystem that helps bridge the gap between traditional angular libraries and the Angular-Meteor stack.

However 2.x support in Angular Meteor is slightly different then the bleeding edge of 2.x from the Angular teams. Last I checked their are a few shims and it is also incompatible with a lot of third party meteor and angular-meteor libraries. Furthermore switching to 2.x would require a decent amount of refactoring, not necessarily because we'd HAVE to refactor it but because if we did refactor we'd want to take advantage of as much of 2.x as possible which would require rewrites.

Finally I don't really like Typescript. I think its advantages over ES6 are marginal for most small or medium apps. Having to refactor Es6 -> Typescript and 1.x -> 2.x seems like a lot of work to me, especially because 2.x will have the growing pains of being bleeding edge, meaning fewer stack overflow answers and a much smaller ecosystem.

For a new side SPA project where I could write a custom build system via Gulp I would probably write it in 2.x, or maybe try out React. But I still wouldn't use it for a new production app because I see too much added complexity that would diminish the productivity I've already built up in 1.x.

Oh and then the only effect it has on end-users is slightly faster performance. You can argue for weeks over the value of this, but for us it's fairly marginal. Our app doesn't render tons of rows or anything that is slow to begin with, so it would almost have no affect on them whatsoever.
No, datasets do not map to vdevs (mirrors). Since it came up in another comment as well: a dataset is a child object of a pool, but it is also the root-object of a subtree that consumes storage in that pool. To the user this dataset is presented as either a filesystem or a blockdevice to name the two most common options.

Apart from internal accounting things like the spacemap, every consumed storage space in a zpool belongs to a dataset in some way. It might be a data block for a file in that dataset, or it might be an old storage block still referenced by a snapshot of a dataset.

A lot of zfs commands work on datasets (send/receive, snapshot, clone, ...). They are also the point where settings such as compression, deduplication etc can be enabled/disabled as well as traditional filesystem mount options like noatime or noexec.

All the datasets consume storage from the pool, which dynamically stripes over all configured vdevs. If you enable an option for a dataset, you enable it for all storage of that dataset which ends up on all vdevs. You can not delegate a dataset to a specific vdev and then enable some option on that vdev.

Also sorry to everyone who knows enough about ZFS internals to realize that I just took their design, pulled it behind a shed and hit it with a blunt, heavy object.
You are right. Perhaps I heard only I wanted to hear. Anyway here is a talk about performance so definitely it was marketed as a high performance language for the web too.
https://www.infoq.com/presentations/Performance-V8-Dart
I've been running it on a machine I built in 2011, and it seems to work quite well. It started out as whatever Ubuntu was available in August of 2011, then 12.04, then 14.04.

I have 3 3x 3TB Hitachi Deskstars in a raids, with a crucial M4-CT128M4 as a combined rootfs and l2arc
(the ssd was an upgrade from an older ssd when I moved from 12.04 to 14.04).

The machine has a Xeon e3-1270 CPU, and 16GB of ECC RAM.

I used it as a workstation (now my wife does), and it has been as a home media / tv server / NAS for its entire lifetime. 0 problems so far (knock on wood), and it has made a move from the east coast to California, and then back to the east coast again.
paging jwz. something something two problems.
Cordon just means an imaginary area patrolled by guards. Anyone can declare a cordon without building anything or deploying anybody.
What would make more sense to me is that the mobile OS vendors take on some initiative to accurately report data usage for a bulling period and warn when nearing the cap.
I was talking about flux. You might have recognized it because I used the word "flux" in the first sentence.

> I find flux to be a really bad way to organize an application.
I am genuinly curious: how did you fix it? Did you remove the spaces first and then tried to use substring / trimming with proper testing done, or did you just implement it in place? I have faced similar dilemmas in the past, but I usually go with "put out the fire, then find the correct solution" approach.
> You don't need most of those 200 terabytes to understand the proof,

I believe that you do. I would argue no human "understands" a 200 terabyte proof. Maybe they understand the procedure that arrived at the proof, but my point is that isn't a proof itself, or understanding why it is true.
I said nothing contrary to that.

The choice of who speaks at a tech conference is at the discretion of the organizers. So, criticize the organizers, not the speaker.
Browsers typically collapse whitespace, so it probably would render as a single space.
I wouldn't expect the male CEO of a social organization to be giving a talk at a tech conference.

I would expect the CTO/CIO to be giving a talk at a tech conference.
This jumping from 'its a law' to "the government will kill you" is sophomoric. Its repeated on HN from time to time. Laws are to inform, and to help folks conform to expectations, and yes sometimes result in somebody being fined or even incarcerated. Its not all about killing everybody.

I suppose all food is death too! Because everybody who eats, dies. Such claptrap was fun to talk about in college; lets get past this kind of cheap philosophizing.
Yeah, this is really bizarre. It was confusing enough that Angular 1 and Angular 2 are completely different. Now there are two completely different versions of Angular 2 with potentially different support cycles (and different bugs).
You apparently can, cf http://cesquivias.github.io/blog/2015/01/15/writing-a-langua...
Implement in place to put the fire out. Pushed to half the web servers, made sure it fixed the problem, then rolled it out the rest. Coding under fire :P
The field of technology is undergoing exactly the same growing pains that law and medicine did some time ago.

I think in the next decade or two I think we will see women achieving the same kind of representation in tech that they have in law and medicine. And as this process takes place, haters will hate, pretend there isn't a problem, and spew various kinds of sexist nonsense, just like they did when women were entering the fields of law and medicine. Meanwhile, the rest of us will be doing the actual work to make it happen.

* edit: made it nicer.
This is the state making sure that uninformed customers are not taken by surprise by a gigantic data bill. Sounds like the state trying to protect its citizens. They're not bullying Niantic, just raising a concern. If anything this could prevent backlash from users against Niantic.

To me it looks like these people are doing their job.
I fixed my MacOs in my post.

(For me it went MacOs, OS X, then Windows 10).
Good monitoring (which I expect the SO guys to have) would have triggered on a spike in 95% or 99% response times so probably almost as quickly
I guess I need to buff up on my automata, but I would have thought that for positional delimiters, there would be optimizations. If the pattern is \s+$, then I can look from the back of the line, see if there is a space, and if so, go backward until I find a non-space character.
"This regular expression has been replaced with a substring function."

This should be the title of a book on software engineering.
My guess is developer cleverness. As the article mentions they ended up with a less clever solution.
When founders bootstrap for too long
Sure you can, but you better clean up on server side, or find a way to prevent any of 7+ billion people from posting maliciously.
I think this is most useful for cross-compatibility. Right now if a client uses FreeBSD ZFS, and you need to mount it to access project files on your Linux desktop, you can't if they used encryption. But after this is standard, you should be able to mount the same ZFS filesystem anywhere.
Node Module of the Week
Does anyone know if there is data somewhere that shows the male/female speaker proportion across different conferences?

Would be interesting to see how it compares across the different industries. I didn't see anything after some basic googling.
They have limits on everything (comments per second, edits per second, upvotes per day, reputation earned per day, etc), it seems like they should have an upper bound character limit on what they accept too.
> I like the term "market destruction".

You're not destroying the market either. You're making the market bigger, because at lower prices there is usually more volume. What you're destroying is margins, but that's generally considered good by anyone other than the party whose margins they are.

> If the company added no value at all, it wouldn't be able to sell the product.

It depends how far you're willing to stretch the notion of value. It's possible that you can sell $1 items for $10 because you've paid off the government or are in bed with the Mafia and anyone who tries to compete with you gets thrown in jail or has their shop burned down, but it requires a strange notion of value creation to call it that.

And this happens to a lesser or greater degree every time a corporation buys a law.
Yes, we took a stackdump and saw the traces leading to that regex.
OP didn't quite say that Dart sucks though, did he? He said that coding in TS having to also cater to Darts needs/conventions sucks (which might be true or not, no idea really).
I think the article is simplifying things. Gaining money with a housing investment is great and all, but stoping the stream of money that goes into the void from rent is also a gain. Owning with a loss less than that from renting is, by definition, and investment.

Investment: the action or process of investing money for profit or material result.

Profit: money in - money out.

For the bay area, that means you just have to not lose ~36k/year in taxes, fees, and any housing dips.
Give me a break.

This is yet another reminder that Serious People hate anything which is fun. If you're playing the game for hours of time, it of course uses data. Per minute, its data usage is actually rather minimal.
The true core of GitHub (and GitLab) is Git itself. So both are open core where it really matters. Because both GitHub's and GitLab's essential operations are all done over the Git core, neither code and code history hosted on either system are locked in.

Where GitHub has slightly more lock-in and is less open than GitLab is its Issues system; One can only extract the data (via API) for import into an alternative system, whereas with GitLab you could run your own copy of the open source code (but you'd still have to do the data export-import as far as I can tell).

(copied my comment from a duplicate thread)
We had a similar issue arising from regex parsing of our SES routes on our SaaS Platform. We had made some changes to our generated SES file which caused it to balloon to 4x in size (tens of thousands of lines). Our only clue that something had gone wrong was suddenly extremely high IIS usage. With some help from Microsoft support, we managed to trace the stack during the high-cpu event to an ISAPI filter and ultimately our 3rd party SES plugin. We managed to fix the problem by being more efficient with our regex generation and reduce the number of rules the plugin was processing but it was eye-opening how much CPU was being consumed by regex processing.
This is exactly what we did to diagnose (source: I was on the call). The only tricky part was figuring out which post it was, since it wasn't in the stacktrace. To do that, we grabbed the 3000 most recent posts and ran the regex against them. By that point we already had the code fix (another dev working on it in parallel), but if we hadn't we also could have gotten back up by just deleting the post.
You actually described counter-steering, even though you might disagree. ;) You said that I can lean right to start a right turn, then turn the handlebars into the turn as soon as you want to stop decreasing the turning radius. That is part of counter-steering. Turn the handlebars right to begin turning the bike left -- that can and does include slowing down an increasing right turn until it's at a constant turning radius.

That's why you're always counter-steering on a two-wheeled vehicle; because turning the handlebars right of where they currently are always causes you to turn more right of where you'd have gone if you didn't move the handlebars.

Since you ride motorcycles, then you already know anyone who's facing a quick turn definitely does not want to wait to fall. To turn quickly, you must counter-steer.

I am curious why you think it's not worth a special term, when it's unintuitively opposite from the way car steering works, and it's important to know in order to stay safe?