skysight-inc/HackerNews huggingface dataset:
Unfortunately, RegExr does not color-code the different capturing groups.

For example, replace the RegExr sample regex with "([A-Z])\w+\s\w(\d.\d)" and compare[1][2] its color coding capability to the other regex helpers.

The other sites such as regex101.com & debuggex.com will delineate the capture groups within the matched text using different colors. This is very helpful for complex captures because making the boundaries visible can reveal bugs in your thinking of what substrings the regex is actually capturing.

(I don't intend to be negative. If capture group color-coding is an easy coding enhancement for RegExr, consider my comments as mentioning a minor nit.)

[1]https://regex101.com/r/eB5jY1/1

[2]https://www.debuggex.com/r/mci3WLNmHGTEatf6

(couldn't find a way to enable /g global on debuggex.com (even tried PCRE option) but color boundaries still show up on the 1st capture group)
In other news, humans are not accurately depicted by stick figures.
It's certainly an argument for having source access. For OS / "platform" level bugs it's no panacea however - you may very well need to keep your workaround, either because you can't rely on end users upgrading to the latest version, or simply need a stopgap until you finish the patch, submit the patch upstream, address all the issues brought up in the review, have it integrated into the next stable release, have it trickle downstream into the stable releases of individual distros, etc etc etc...
There is probably many different reasons.

Mine is that it's better that this work benefit to a proprietary software than to nobody.

Then, there is a hope that bugs will be found, and even that corrections will be sent back to the MIT licensed software.
FOSS for Dev - A hub of Free and open-source software for developers
Most people believe this law is to protect employees from being overworked and not paid, however it worked the opposite way at my workplace.

Everyone making less then the 80k mentioned were switched from salary employees to hourly. This would have been good if we all spent nights and weekends crunching code. It was quiet the contrary. No one worked overtime so now everyone's pay has been reduced.

We used to have flexible hours and still get paid our full salary. Now you have to make sure you clock out at lunch and God forbid if you take more than an hour.

Sometimes we are done with all our tasks but we still have to sit at our desk to complete our 8 hours if we want to get paid our old salary pay.

This worked to the advantage of the employer, not us.
Your issue with the Embassy is not that they work only 3 days a week (they likely keep themselves busy 5 days like everybody else).

Even in 'socialist' europe with its harsh enforcement of 5 day weeks you can typically go shopping on at least 6 days a week.
You can also shop for more than 8 hours every day despite 8 hour shifts.
That's just a simple scheduling puzzle, and (the much harder issue) of sharing the gains in profit that come from increased productivity.

By the way, the Jetsons TV show envisioned a 3 times 3 hours work week (with enough income to feed a family of 4 and even have a robotic maid). In the 60s.
I happily forfeit my right to flying cars or jetpacks in favor of that.
The last time I counted, I have driven in 12 different countries. I found this certainly happens a lot in South Africa and a bit in various parts of Spain and Ireland. It seems to happen a lot less in the UK and Portugal.
The problems can be tried online at https://icpc.kattis.com/problems
Yeah, confused. If we assume a two hour average flight, we get 365 * 2 * 100K = 73M hours/year so one failure per 1G hours is one failure in 1000 / 73 = ~14 years.
NSA Planned to Hijack Google App Store to Hack Smartphones
Hehe - I am actually Australian - I have been skiing at Perisher valley, Charlottes Pass too. Totally get what you are saying about the Snowy "Mountains". They look like really big hills! ;-)

I also took a look at your HN page - I agree with your criticism: there's no reason that comment should have been downvoted/flagged.
Flour Bomb Your Enemy – The Ultimate Prank
$49 per month is 'costly'? That's barely 1/2 an hour of developer time. That's an absolute bargain. If it took a developer 6 hours to build an in house solution, that just cost as much as a year of Algolia. And that dev time doesn't even include the servers or maintenance costs. $49 is nothing. It would actually be irresponsible to not spend that amount because you'd be focusing reasorces wastefully by building something you needn't build. It's like people who hire a Dev Ops guy when Heroku would cost them $2000 per month; instead they'll pay AWS $1500 and then a full time salary to manage it. Or, to put it into perspective; $49 per month is probably hundreds less than a typical ping-ping startup spends on microbrews for the beer fridge.
Learn regular expressions with simple, interactive examples
Given that's what we were paying our entry level desktop support employees in San Mateo in 2003, kind of hard to imagine what types of computing occupation would pay less. That might be the problem with a "California Wide" rule - I can imagine in some rural areas, that salary (and cost of living) might be less.
3 Unforgivable Mistakes in Outsourcing Software Application Development Project
so I don't know why I was downvoted, I pretty much reported the exact claim. it's worth pointing out that linkedin hardly has a reputation here and other tech places as scammy spammers, people seem okay with it, again, probably due to the benefits. (compare the tech reaction to uber's practices regarding lyft, or when people disliked paypal's freezing of accounts.)
Well at least you're not trying to argue bitcoin is a sophisticated market anymore.

Where do you get your serious predictions about bitcoins future? /r/bitcoin|/r/bitcoinmarkets|bitcointalk cover the vast majority of users actually involved in bitcoin regularly.

>Adoption demand has overall followed a rather clear and steady trend

Given that price has been dropping for 18 months are you saying that the clear and obvious trend is towards failure? Since the future is priced in?
More Lightweight and high performance Web Components framework, support IE9+
with that sort of volume, you guys must be making millions!
The biggest struggle for any new SaaS
How about security? Quite an important topic to simply gloss over. Comparing containers with virtual machines without mentioning the difference in abstraction and attack surface gives a false sense of security for the former.
Java EE and Node.js Performance
I don't buy "unintentional".
Not sure what your physical exercise options are like but I believe there's evidence to suggest that things like sport can improve confidence. If it's an option you should seriously consider it.

Otherwise (and I have no idea what's available) you might get some benefit from talking to the medical profession. I don't usually like pharmaceutical solutions, but this sounds like it's badly affecting your quility of life.

You need to address this otherwise you're increasing your exposure to depression, etc.
I may be slightly OT but to me it's kinda sad that the internet is increasingly being built around closed platforms instead of open APIs/protocols. Especially in the IM scene there must be a ton of services incompatible with each other. You need to have a dozen or so of IM programs installed (skype, viber, whatsapp, you name it). Too bad XMPP will probably never see any mainstream adoption. I know it had its share of problems but I believe that it was a step towards the right direction. My hope is with decentralized protocols but still if there isn't some form of standard you will still need a different client for each service. Admittedly opener (anyone can implement a client) but not quite there.

Now I'm only waiting for Google to completely kill XMPP access to Talk/Hangouts. That will be... frustrating.
More than a million CareFirst customer accounts exposed in security breach
Chrome suffers from gluttony. I need to restart it 10-15 times a day as it starts using gigabytes of memory. When I have 10-15 tabs open, my MacBook Air fan is always on. Safari is the best. For tabs with the same URLs, it uses times less memory and CPU. I've used FirefoxDeveloperEdition for a while and I still prefer it over Chrome. I only got mad once as One-Tab data file (a single JSON) got wiped out, and a few thousand links disappeared from this universe forever with no way to restore it. Then I spent the last four months using Chrome and I'm going back to Firefox, which has the best balance of features and gluttony. I really had a much higher opinion about Google's engineering talent, but the growing pile of crap that Chrome is becoming is starting to stink beyond tolerance.
Awe May Promote Altruistic Behavior
Hopefully this doesn't seem an obvious response, but to my mind there seems to be at least two schools of thought regarding meditation. These schools are not mutually exclusive, FWIW.

One school seems to see meditation as an end to itself, the other as a tool towards some other end. I can't speak to the former, but for the latter - one approach you could follow is to identify experts who have written on the area of improvement and who prescribe meditation as a tool. For example, if you're using meditation to improve willpower, then a book on willpower will help you identify whether your meditation techniques are improving your willpower [1].

[1] For example, "The Willpower Instinct" (K. McGonigal) discusses the use of meditation to improve willpower, as well as the 'state of the art' on the subject, so it provides you with some tools you can use to evaluate whether you're making improvements or not
Show HN: My 40 Day Startup Project, PlopDot
40 days ago I set out with the goal to go from idea to launch with a product. After narrowing things down by looking over problems I encounter every day I realized that my life would be a million times easier with a better Stripe dashboard.

Before this I didn't run any recurring revenue businesses. I sell online courses so people pay once and that's it and there didn't seem to be any good alternatives for those businesses so I built one myself.

I had always seen being able to design and develop as a blessing, but in this case it was quite the curse. The designer wants to perfect the design which takes time, while the developer wants to ensure quality code. That doesn't even include the marketer that needs to write blog posts.

It was fun and I look forward to continue building the product out, but this is the first time in my life where I can see why people suggest a co-founder (or in my case a partner) to spread the load. Not only with work, but for someone to have your back.

For anyone interested here is the product: https://plopdot.com
Show HN: iPhone Karate App
Turris: VR Movement Control Chair with Internal UATX PC
Archaeologists find stone tools predating the appearance of the Homo genus
JJC/9VF Kyodo News Radio Fax (2013)
I must be missing the complexity here. Surely this is.simple, since buses run to a timetable. Hence they can only be on time or late, but never depart earlier than advertised. Hence over time the chances that it will be delayed increases the chances of bunching.
CareFirst BlueCross BlueShield Suffers Hack
Just world?
(Best dimsum in Toronto is to be had in car-only suburbs, though dimsum in Spadina-Chinatown isn't bad)
Boxify –  Free Responsive One Page HTML Template
And also Dr. Manhattan from the Watchmen, slightly rotated.
No more dying plants in your office
A bit off topic, but I find it quite disheartening that cloudflare has regular blog posts about how great their security is and how safe you are with cloudflare, but at the same time offers customers seriously broken SSL options.

2 of the 3 options ("Universal SSL" and "Full SSL") are not "secure" by today's standards. Universal SSL leaves connections to the origin unsecured allowing for passive and active MITM attackers to intercept things. Full SSL allows an active MITM to intercept origin connections.

Advertising these services as "SSL" is misleading and offers a false sense of security to visitors as they will see the nice green SSL lock and think their connection to a cloudflare-protected website is fully protected. Meanwhile their credit card information and other personal details could be travelling over the internet in plain text to the origin.
this seems incredibly easy to add given what they're done - just send a note to the author. I can't imagine how it wouldn't take seconds to implement.
Buses here (Berlin) often depart as soon as they reach the station, which can be early (except on their very first station I guess).

You could argue that they shouldn't, though.
Yeah that was where I started with the idea and then decided to see if I could dope some silicon to make a diode then move up to transistor level, then a simple IC.

You could knock up a point contact diode or even transistor without too much pain but that's not as much fun :)

There's info on how to make point contact devices in here: http://www.qrparci.org/wa0itp/csts_book.pdf
Working with BEM at Scale – Advice from Top Developers
Demo https://youtu.be/-Qph8BNrnLY
Free EBook: A Developer's Guide to App Marketing
What I don't understand is that in theory filing invalid DMCA takedown requests is an actual crime -- yet nobody ever seems to go after companies that do it.

Just another reason the DMCA is fundamentally broken.
Quick (newbie) question - the coordinates given (XYZ) - are these oriented around the plane of travel, or some other scheme? i.e. the satellite is moving forward on the Y axis, right?
I like Go, but I agree with most said in this article.

One nitpick about his comment about sending to closed channels. This is indeed programmer error and SHOULD panic, in my opinion. It is clear the author has not read up on the semantics of channels. Channels should only be closed by the sender. If you have multiple senders, how on earth would it be a valid situation for one of these senders to close the channel if the other sender still has data to send? You're going to need some form of synchronisation mechanism for this.
I've always found it interesting that electric radiators are 100% efficient but if you treat a computer as a radiator then you get the same 100% efficiency but extra computations done on top.
Did anyone encounter this error when trying to run gdb with the example progams written in this article?

The error: "Unable to find Mach task port for process-id 13942: (os/kern) failure (0x5).
(please check gdb is codesigned - see taskgated(8))"
Clever. A bit of a bummer that all visible stock photo's are of attractive sweaty women running.

Remings me a lot of this video (warning: extreme violence in sarcastic context halfway through): https://www.youtube.com/watch?v=E8b4xYbEugo
Yes. I have said it before and I say it again: Cloudflare (and any other large CDNs) are a perfect setup for a MITM or a perfect target for a nation-state's secret service.
Thank you very much Davis, for the insightful comment.

It is indeed a big and underestimated market waiting with full of untapped opportunities.

Currently the site is entirely free - I was thinking of gaining traction first and then monetizing it.

So would you advice me to go ahead and launch it, or keep it at stealth mode and raise money - so I can quit my day job and fully focus on this?
I don't think there's a legal basis for preventing someone from reverse engineering an API in general.

The "non-circumvention" clause in the DMCA is often used to go after people reverse engineering DRM, but I fail to see how it would be applicable in this case.
Or people will own one for status and call upon another for various routine tasks...
> Close your eyes and take one breath in through the nose and one breath out through the nose.

Should I take this literally? I have a condition which makes it very hard for me to breath through my nose. Is it a requirement?
What to do when you need help with WordPress
I don't believe in rock stars.
The main reason I felt Scott A. (and company) lost the debate is because he could not point to a single experiment that actually uses qubits to do a calculation above a very small threshold. There is much written about experiments that seem to show entanglement of multi qubit systems, but none of them actually do any calculations with the qubits.

Brady and Anderson's point is that it's not a qubit until you can calculate with it. And their theory suggests it will get exponentially harder for each qubit above 4 (I think), which throws out all of the interesting quantum algorithms.

I also felt Brady and Anderson silenced every objection. After one or more of their rebuttals, they were no longer challenged. The most recent post about Feynman is also interesting.

In any event, it is a fascinating blog post.
Hi @blairanderson, thanks for your comment.

Currently the site is completely free and not even launched yet.

The dilemma I am having is to continue implementing features to charge for vs. launching it as it is and seeing what happens, what user feedbacks are - and then develop those services.
I think that's the point of the article. It's only fair to talk about it.
China allocates $182B to improve broadband access
20 Irish startups that will rock you the Celtic way
My take: You just don’t shoot some keywords on forums and wait for people to bring up all the answers. You need to do your part as well.
Regex101 – Online regex tester, debugger with group highlighting
Ok, but wouldn't catering to that OMG crowd be a little self-defeating? Why not just hire adults?
This is one of the reasons publishing a blog via GitHub Pages is so nice: somebody wants to do copy-editing for you, they can go through the work of creating a pull request, and all you have to do is click the merge button.
You can use macros with C++

That's what wxWidgets did since forever, and to the dismay of C++ purists, I find their code easier to read than most templates.

Not to mention it compiles much faster.
Why would your smartphone hold you back from securing other parts of your computer experience?

Just because your smartphone is insecure it dont mean that there are no value in securing the rest of your computer enviroment.
I would invest it in 5 early stage Startups - 20K computing time each.
I think the internet just about has them storing their vaults on the public sidewalks.
Petuum – A distributed machine learning framework
GitHub repo: https://github.com/petuum/public
As exemplified in Jurassic Park: https://twitter.com/stuartpb/status/474494275212685312

(long-form: https://www.reddit.com/r/mildlyinteresting/comments/2j7jo4/r...)
Is Whatsapp secure? If not, and they're both insecure, then I think Telegram makes a better choice, if for nothing else than its better multi-platform support.
Is anyone having problems with their ö,ä,ü's, too?
I cannot configure my keyboard in any fashion to recognize my german special characters.
Is there a wy to fix this?
I don't think this is very surprising, but I suppose that might be from the time I've spent drawing landscapes. I think being an artist and a programmer requires or develops a certain eye for breaking through cultural perception and really seeing a subject. It's how you tell the difference between mountains well enough to be able to draw them from memory. It's how you spot the one missing semicolon in a large file just by scanning it quickly.
For anybody doing .NET development, RegexHero (http://regexhero.net/tester) is nice. It uses Silverlight though...
I've never been to Yemen but somehow am in love with it (and so wish I could visit).This film started my obsession: http://www.imdb.com/title/tt0478213/

So sad and inexcusable what is happening there right now - everyone playing for their own shallow political interests, doing enormous harm and grossly disregarding international law while pretending to help.

As others mentioned, all mainstream media reporting of the current events in Yemen is horribly biased, misleading and just ignorant. Twitter is a much better place to get a more objective feel of events as they unfold. My favourite source is @omeisy
We do have some startups in Germany, that do that kind of thing already. So their story seems likely to be PR BS to me.

I was asking myself the question, if I would trust my data to be stored around the country in different private homes. And as a user of a heating solution, I would ask myself, how secure their business model is. If i switch from gas to server based heating, I would have to be sure, that 5 years from now, I would not have to shoulder the costs of switching back (one provider lets you have free heating for the costs of switching from gas/oil to server based).

So as interesting, as I find these ideas, as a homeowner, I would not want to have to switch heating during midwinter because the cloud provider goes down the drain.
I disagree -- the determinant is about state management and locality of error handling and this is all about how your code is structured, not whether the error is expected or not in some nebulous sense.

If you can handle the connect failure locally (i.e. probably no further away then caller of the connect function) then by all means do so. If you find another structure in your code makes other things simpler, but no longer allows you locality of error handling you should use an exception.

Well designed libraries allow you to choose. Check out Boost.ASIO for an example of this. Every API has both an exception and error handling version and you're free to use whichever is most appropriate for what you're trying to achieve.

This whole thing about 'expected' and 'unexpected' errors is a red herring that leads people down the wrong path.

The exception backs you out of the transaction that your code is performing -- this is the way to think about it. An error code allows you to try something else whilst keeping the transaction alive. Which you use depends not at all on whether you think the error is "normal" or not.
Anti-capitalist ranting isn't very appropriate or welcome too often round these parts =)

I feared the worst when it went to -1, I've been shadowbanned a couple of times for single posts.
Can it also translate regexes from one flavor to another?
Cross Platform “Native” mobile dev tool
So I looked into doing this on a personal level a while back and did some back of the envelope calculations and it was hard to square the economics of it.

Two factors made it really difficult:

1. All computation is done in DC. Even if you assume all other prices fall to 0, the AC->DC conversion cost on a per watt basis makes it hard to compete with cheap heaters which can operate on pure AC. Just power supplies capable of powering 1000W of computation costs a lot more than a 1000W heater, even used. You need to get the economics exactly right to make this scheme profitable and the factors are so sensitive to shifts that it's hard to plan for the capex.

2. There's a noise/convenience/space tradeoff that's hard to square. Ideally, you want the heat to be close to the users but the noise to be far away. It's hard to make electronics perform well above 100C as opposed to resistive elements that work fine up to 1000C. That means either moving air quickly (noise) or moving it over a large area (space). Neither of these are ideal.

It's possible for these two factors to be overcome but they're sizable and makes me uncertain whether it'll ever be possible to scale this as a viable business vs a cool idea that gets trotted out in trend blogs once every few months.
A model of this is included in the NetLogo models library, which comes with the NetLogo modeling language: http://ccl.northwestern.edu/netlogo/models/TrafficBasic

It's fun to see children (and adults!) play with the controls on this model, experimenting with different factors that they think might eventually reduce the congestion.

This model is also a great way to introduce kids to complex systems, in which the large-scale results aren't necessarily as obvious as the individual actions that lead to those results.
Start saving your time and money now