skysight-inc/HackerNews huggingface dataset:
Correct me if I'm wrong, but couldn't this could have been fixed by making the match possessive:

^[\s\u200c]++|[\s\u200c]++$

That should stop any runaway backtracking?
Shorthand for lunatic who believes that rule of law doesn't apply to them: https://en.wikipedia.org/wiki/Sovereign_citizen_movement
> I will never fault HBO, Adobe or Microsoft going after those who are pirating

That can mean very different things depending on your definition of 'going after'. If they chose to engage someone in a civil suit and could prove realistic damages, then in principle I wouldn't have a problem with them attempting to protect their IP.

But using the force and authority of the United States government (Homeland Security involved in enforcing IP infringement? Really?) to extradite a foreign national on criminal charges? That is in no way proportional to any of their perceived damages, and it goes to show just how bluntly the government is used as a tool by those with money and influence.
Yes. The GWX program, in my opinion, is malware (especially in its blatant disregard for lack of consent); the fact that it's the OS vendor pushing such stuff makes matters worse, not "okay".

(I'm not going to recount the man-hours and lost revenue we got from "admit it, you know you want WinX, and we'll give it to you NOW; it's not like you actually use the computers for anything")
The two previous submissions have a few comments scattered between them - here are direct links to those comments:

https://news.ycombinator.com/item?id=12122681

https://news.ycombinator.com/item?id=12132605

https://news.ycombinator.com/item?id=12132610

Despite getting a few votes, neither of those submissions got any real attention first time round - no doubt pure chance that this one has got enough attention to hit the front page.
There are tons of promise libraries and most major frameworks either support promises or can be "promisified" easily
Choosing the medium to store journals is pretty easy when all you want is plain text. But when you include photos, that is where the problem starts.
Will this be the last release before 3? Is there a defined schedule for 3 yet? Or just "When it's done"?
Urbit monthly update
A New Concept in Healthcare-Little Gadgets and Big Data
And when you actually need complex parsing, parser combinators can express it in a much more maintainable way.
Software resolutions
I believe it's:

from __future__ import towel

HTH. HAND.
Well I haven't read the article (sorry), but on a bike with a rider you balance by active feedback. If you steer the way you are falling to right yourself.
Solid read, good basic thinking with regards to scalability via basically prefiltering data except for the one query you need to run at runtime.

It's a bit strange that the author mentions Scala as lean/fast with lots of libraries (along with JS and Go) but Java is too bulky. I'd say modern Java 8 can be used in a pretty lean manner. There's also nice and small web frameworks (Spark etc.).
>GoSnaps grew to 60k users its first day, 160k users on its second day and 500k unique users after 5 days (which is now)

How did you market the app ?
A difference is that Tesla hasn't really managed to execute its original plan, in particular:

- Use that money to develop a medium volume car at a lower price

- Use that money to create an affordable, high volume car

Amazon is way better at making money to invest in growth. Tesla ?still? is in a fairly deep well, and will need investments to crawl out of it. Big question is whether they will.

Good news is that they aren't at 2012 scale anymore; bad news is that they aren't improving recently (https://ycharts.com/companies/TSLA/profit_margin)
No, that's not the implication. The implication is that each person wants space around their house, but would ideally be close to all the amenities they visit (like restaurants, doctors, groceries) in order to avoid wasteful transport - think a manor house with a village around it. But instead everybody builds space around their house and now they all live a long way away from everything they need to get to.
So there is choice of course.

match returns match data, and sets the $~ variable

=== returns true or false, setting the $~ variable

=~ returns integer (position) or nil, setting $~

The newest one
match? returns a boolean, not setting $~
I also read somewhere about book stores being smashed, because of selling books against Erdogan. Can't find the source, because I'm on my phone.
There's a major difference between people on this site (who likely had no issue scheduling a VCR) and the average consumer.

A sizable chunk of humanity, from my experience, is scared to even try.
> Am I alone and thinking that it's a little bit hypocritical to specifically add functionality to your language if you don't want people to use it?

It's just a change to make the language more consistent. `a, b = something` already worked as an expression in most places, so it makes sense that it should be allowed on `if` conditions too. Before 2.4:

> if (a, b = nil) then :foo else :bar end
SyntaxError: (eval):2: multiple assignment in conditional

So instead of having that special syntax error, and probably needing a justification for it, Ruby 2.4 makes `a, b = something` a valid expression there and removes an edge case.

That you probably shouldn't use multiple assignment on an `if` condition is a separate issue. It's just a preference, and it follows the same logic of avoiding assignments on conditional expressions in general.
Strangler Application
On a related note: Is there any easy way to tell Vim when in insert mode not to accept extra spaces at the end of a line, except a single one?

I've got of course checks in place that warn about trailing spaces and my Git hooks outright refuse a commit with trailing spaces. But it would be nice to catch that at the insert level.

You know, it may be cat who's typing.
۲ مدرسه تاریخی دودر و پریزاد در مشهد
The one month that I had capped mobile data, they sent me texts as soon as I got close to hitting said cap, and then for every GB I went over (oi m8, buy a bundle, ur gettin wreck'd by our prices)
Separate pieces of functionality into small reusable libraries? Great. Enforce separation of each library's internals from each other one? Great. Ensure each database is owned by one and only one service? Great.

Invoke those services via RPC-over-HTTP? Why???
Traders Revenge System Review
It's not a bug - it's a feature!
https://geekwhisperin.files.wordpress.com/2009/09/bug-vs-fea...
I don't disagree that the customer needs to be more aware, but the gym analogy doesn't quite work. The risks of dropping a 100kg weight on yourself are much more transparent than an app sneakily loading unnecessary data and not caching it.
Mormons settled Utah in the 1800s, and in the 200 years since they've been quite incredibly successful at attracting other people to their faith (and consequently often to their state too) from other states, Canada, and European countries, with everyone multiplying fruitfully. There's plenty of genetic diversity. You could satisfy your curiosity with almost any specific Mormon couple though by asking how closely related they are, Mormons are good at keeping track of their ancestry.
As I understand, Tesla has way bigger profits margins than Ford.

What the company does is reinvest the profits, instead of giving it back to shareholders. It makes a lot of sense in a growing market.
Indian BOy tell you how to do #RAP
And that's what I meant... You are doing all sorts of mental gymnastics to draw an arbitrary line between two things which are essentially the same. What if the Chinese cloned app was distributed through Bittorrent, would it then become legitimate? What if it the original app wasn't available in China or only available in English? etc. I think the elephant in the room is that most of the "anti copyright" crowd aren't really anti copyright at all but simply use Bittorrent for pragmatic reasons (which is OK, but please spare us the ad hoc moral philosophies).

</rant>
>In fact, that's how most non-web software is still written and done.

I can even add that we only do web software, but we do them exactly that way.

>If anything, it adds more complexity because now we need to do all kinds of data marshaling, error checking, monitoring, have more infrastructure for something that should have been done in shared memory/in-process to begin with.

I couldn't agree more. Martin Fowler warned us a long time ago : "The first rule of distributed objects : don't distribute them".

>There are a few exceptions where its useful to scale out parts of a distributed application

Yes, and very very very few. As I always say : microservices are not an architecture, they are an optimization.
>>> Torrent sites only host torrent files;

They do not even host those any more

All of the Torrent Sites are only Indexers of Magnet Links, no different than google. The BT Client then takes the Magnet Link, downloads the torrent file from peers in the network.

When you Click on a download link from KAT nothing is downloaded from their server, it is simply a protocol link that tells your BT client what file you want.

It is Technologically No different than a HTTP url, so if KAT if violating Copyright law then every other Search Engine is as well
No need to market. In most countries Pokemon Go was already popular but app was not officially available in Play Store/App Store yet. So millions of people searched stores for Pokemon Go and downloaded chat, tutorial and apps like GoSnaps instead..
Few years ago HP made sensational claims about its memristor-based Machine project. One can doubt this will ever become real, but their assessment that memory, not logic, is the main bottleneck in computing seems to make sense.

Yet it seems that tech news keep being unreasonably excited about all research about new transistors designs, no matter how low they are on the technological readiness level.

That's deplorable, IMHO.
Supertux on X11(unity7) vs. Mir(unity8)
Lomography: https://en.wikipedia.org/wiki/Lomography
But in that case, should you really be storing the JSON as JSON? Isn't it just a string as far as you're concerned? You're not going to be querying the user's JSON, are you?
I appreciate comments to the effect that we should look at markets we understand and problems we have solved. This is good advice and it's something we have done. We have a good list of ideas from that process.

My intent behind this question to HN though, was to get people to talk about things THEY would do. In other words, fish for stuff we haven't thought of. I want to plumb the "unknown unknowns" a bit!
Here's the paperwork: https://www.documentcloud.org/documents/2996082-Artem-Vaulin...

PDF link:https://assets.documentcloud.org/documents/2996082/Artem-Vau...
From pull to ‘stream’ economies
I think the main point would be to compare the images from the high-quality sensors with those of the low-quality ones, so that they can make good guesses to how accurate they are and what quality they can get away with.
Pie Context Menu for web pages
Fringe libertarians that believe that large swaths of the constitution, and thus many modern laws, don't apply to them. A common calling card is seeing a car with a sign that says "not for hire" as they make a distinction between driving "commercial activity" and "traveling" non-commercial. Many claim the latter doesn't require a drivers license. Youtube is littered with videos of them getting arrested in often violent confrontations with police officers as they refuse to comply with simple orders.
>It was originally just meant to handle localizable resources

Not quite. An application's executable code was also stored in the resource fork, as CODE resources (one or several, so parts of the code could be loaded and unloaded as needed; initially there was also a size limit of 64k per CODE resource).

When Apple switched to PPC, the PPC code was stored in the data fork and the 68k code in CODE resources.
The only way I could imagine it, is if it was describing a much smaller bus than we're currently used to, which I think he also mentions.
Probably worth reporting to Language Servant [0].

[0] https://github.com/github/linguist
If the value of your house goes down by more than you pay in rent, then renting is the better option.
The bot revolution: How conversational interfaces will replace apps
Yes, super cool movie!

Had my wife translate it (while watching - me being German).

There are lots of nice movies from that time in the CCCP.

We are so saturated with american (popular) culture that it is quite refreshing to get into contact with Russian culture.
The Latest Trends in UX Design #DataViz16
How is the liability with rental or lease cars though? I think that's the legal structure in which the Tesla car pool would operate in. If Tesla would lease out their own cars instead of sell them, they could make a lot of money too, plus lower the bar for a lot of people to drive it.
> Good luck tracing that

Subpoena the trading sites? An active adversary would be running the trading sites, though I doubt they'd waste that info on a low-level case. LocalBitcoins says they retain all messages for 180 days, up from their previous 90. Is that purely for internal disputes?

Sure, if you're not doing anything illegal enough, you can get away with simply using sites in multiple jurisdictions and hoping it's too much of a pain. But let's not pretend it's not traceable. I'd only be happy with zero knowledge proofs (if they're real; I haven't understood the maths at all.)
It is usually not a great idea, but there are some patterns where it produces code that is a lot nicer than not. In practice, this will allow stuff like

while x, y = foo.pop
..
end

which without the mass assignment will require duplication of the assignment line.
Except...you can only receive not-email from other users of the app; so you're stuck with this and e-mail. (Also, hoist the vendor lock-in red flag!)
Yes, one of the best postmortems, especially the technical part.

Am sure it was simple but curious to know what the replacement substr code is.
The man hired to have sex with children
So does ZFS on FreeBSD support native encryption? Can I switch my existing pool?
Either way it'd be a lot heavier than the one, two or three doors that buses have these days. But then, weight probably won't be that big of a factor given how it'd need to have a floor full of batteries anyway.
Wish it was possible to zoom http://redmonk.com/hist-rankings-full.html
>>>Plus its all legal and protected,

Sorry but Ripping BluRays is not legal under the DMCA even if you are doing for a "backup".
Use Google Places Autocomplete API in Android Search Dialog
The only alternative to "the mob" of majority rule is some form of minority rule. Words can't rule on their own.

Minority rule has all the problems of majority rule, and then some.

Yes, once in a blue moon the guardian councils of the world may be right when public opinion is wrong. But it seems to me ten times as often, it's the other way around.

And even then, you must remember that public opinion is far from democratic. Some people have far more power to make themselves heard, influence how people see things, etc. I'm for majorities of people, not majorities of power-shareholders.
Roadmap towards what? World domination? Ruby is a mature language, and this is a point release with some incremental improvements.

Go to Perl 6 and Python 3 for leadership, roadmap and goals. As if those worked out well for them...
Not my experience at all. Systems that were designed as simply as possible can be unpicked and made scalable - it takes time and effort but it's doable. Systems that were designed to be scalable are much worse, because you have to undo all of that work first before you can start actually making them scalable.
So your initial user growth was from people who weren't actually able to contribute to the app?
For me their new privacy policy was already enough. A company, which actively worked with the NSA in the past, asking me to sign a document which would allow them to access any of my personal data whenever they have a "good faith belief" that doing so is necessary. What could possibly go wrong?
I also dropped Clojure/ClojureScript, even though it was my favorite language between 2012 and 2014/2015.
The main reason for me is the progression of Java and JavaScript during these years, which make ClojureScript less useful. ES6 has completely transformed the JavaScript development. I finally enjoy to code in JavaScript - this wasn't the case before. On the contrary, coding in ClojureScript became painful. It's difficult to follow the recent trends, to integrate new libraries without hassle. Currently I work on a project that use DraftJS. I don't want to know how to integrate it in ClojureScript ! It's a waste of time, and again the "joy of Clojure" still exists but is now less superior to the "joy of Javascript".

On the Clojure/JVM side, Java 8 is far from perfect but the lambdas expressions have made the language a bit less boring. I think many developer feel less the urge to leave Java for an alternative language. And if they really want it, there is Scala, still the best strong statically typed language on the JVM, and so, for me, still the best language for backend development.

In short, Clojure/ClojureScript was for me the best language for rapid prototyping and for front development. I've never really considered it for "serious" backend applications based on a complex data models, because of its dynamic typing. However, JavaScript development became much more pleasant, making ClojureScript less attractive, less differentiating. I believe that today, you have to be a true Clojure fan to code in ClojureScript.
Corning Unveils Corning Gorilla Glass 5
>>>You can try but you'll never be able to rationalize stealing from someone. Especially when you use someone(s) else's actions to try to justify stealing from them.

The supporters of a too-strict, repressive form of copyright often use words like “stolen” and “theft” to refer to copyright infringement. This is spin, but they would like you to take it for objective truth.

Under the US legal system, copyright infringement is not theft. Laws about theft are not applicable to copyright infringement. The supporters of repressive copyright are making an appeal to authority—and misrepresenting what authority says.

To refute them, you can point to this real case which shows what can properly be described as “copyright theft.”

Unauthorized copying is forbidden by copyright law in many circumstances (not all!), but being forbidden doesn't make it wrong. In general, laws don't define right and wrong. Laws, at their best, attempt to implement justice. If the laws (the implementation) don't fit our ideas of right and wrong (the spec), the laws are what should change.

A US judge, presiding over a trial for copyright infringement, recognized that “piracy” and “theft” are smear-words.

https://www.gnu.org/philosophy/words-to-avoid.html#Theft
First of all, stealing is legally a completely different concept than copyright infringement. The first very much accepted by society as a norm, the other much less so, for a multitude of surprisingly good reasons.

Secondly, rationalising it is easy, and bringing forth rational arguments for why copyright laws in their current form are not justifiable is about as easy.

Thirdly, to discredit someones opinion simply because you assume them to be young does not strike menas particularly mature, rather it reeks of immaturity, hybris and ignorance.

In closing, my life has certainly not been rainbows and unicorns simply because I choose to avoid hurting others and act somewhat like an adult. If that is you experience you should consider yourself very lucky, as what you appear to experience is materially false for a lot of people. Granted, you can create heaps of problems for yourself by doing (tautoligical) bad decisions, but you can easily create problems for yourself without acting immoral, unethical or breaking the law. Still there is nothing that I can do to really prevent people from creating problems for me, I can only hope for them not to.
You don't "prove" a value. You just value a value. I value political equality, that everyone should have equal power to influence collective decisions that affect them. It's not a question delivering outcomes, or even of facts.

That said, I do think you're awfully quick to assert that people don't know what's best for them (re. Brexit)
How to successfully get LinkedIn recommendations
Better is probably a poor word, but consistent at least. Even good drivers may run the speed limit and be "perfectly safe", but the autopilot will always stay at the speed limit and will always make the same choices in a given situation - there's no emotion or influence (alcohol, drugs, bad mood, etc.). In short, they are boring but safe.
Dirty hacking as it is.
In similar situations I just use SFTP.
Or "rm -Rf /" with a writable /sys/firmware/efi/efivars/ mount.

https://github.com/systemd/systemd/issues/2402
> If I would have built GoSnaps with a slower programming language or with a big framework, I would have required more servers. If I would have used something like PHP with Symfony, or Python with Django, or Ruby on Rails, I would have been spending my days on fixing slow parts of the app now, or adding servers. Trust me, I’ve done it many times before.

> As said, GoSnaps uses NodeJS as the backend language/platform, which is generally fast and efficient. I use Mongoose as an ORM to make the MongoDB work straightforward as a programmer.
How to Build the Internal Reputation of Your Insight Team
Also, === is the method used in case statement matching.
It reminds me of an old joke from the Windows95 era:

How many Microsoft engineers you need to change a light bulb?
None. Microsoft simply announces darkness the new standard.

* - (please don't take it seriously)
> If the POSIX standard is going to require backreferences, then it should also require a non-backtracking implementation for regular expressions without backreferences

At least in some regexp engines, this is possible. There is a concept of possessive (as opposed to reluctant, or as it's often called, "non-greedy") quantifiers. Given the string "abb", consider the following regexes:

/[ab]+b/ -- matches "abb"

/[ab]+?b/ -- matches "ab"

/[ab]++b/ -- DOES NOT MATCH!! (Because there is no back-tracking.)

More info: http://www.regular-expressions.info/possessive.html

One regexp engine which implements this (see section 4): https://raw.githubusercontent.com/k-takata/Onigmo/master/doc... -- this is the engine used by modern Ruby versions.
Udacity Launches the “Self-Driving Car Engineer Nanodegree”
ZFS does depend on ECC more than other filesystems, in that it does data checksumming, which other filesystems (mostly) do not do. Those checksums can and will lie without ECC, in worst case rendering a data protective measure into a data losing measure.
Beginner’s guide to early 3D computer graphics (2014)
I said nothing about legal or not. By genuine I meant just that - was it a genuine change of government, in the sense that policies changed in meaningful ways?

If not, then I still call these countries non-democratic.