skysight-inc/HackerNews huggingface dataset:
One way in P6:

say ~ m/ '@' (.*) / for lines

Ignoring the regex for now (the `/.../` bit), this reads as say (`say`) the string (`~`) that matches (`m`) for each of (`for`) the lines (`lines`).

Note that lists (`lines` returns a list) are lazy by default in P6. So the above code will start producing results immediately and continue without exhausting RAM even if the input is infinite.

The `/ ... /` bit above is a "regex". It means match the symbol '@' and return all the following characters of that line. P6 regexes are far more powerful than P5 regexes. P6 regexes can work together to comprise arbitrarily complex parsing grammars. The main P6 compiler, Rakudo, parses input source code using a P6 grammar.

There are of course many more ways:

say lines.map: { m/ '@' /; $/.postmatch ~ "\n" }

In this instance `lines` is treated as an "object" (a `List` in this case) on which the `map` "method" is called. `map` calls the block of code (the `{...}` bit) against each element in its invocant, ie against each line. The block of code matches a '@' and returns whatever follows it ("postmatch") with a newline appended. (`$/` refers to "the match object"; it's one of three symbolically named variables in P6 as against the dozens in Perl 5.)
First preview of KDE's Plasma 5 desktop on a production machine
You can also use mdn.io/whatever as a sort of "I'm feeling lucky"

http://blog.lazd.net/mdn-io-passive-url-shortening-for-mdn.h...
> There are many more attendees of M.A. meetings than there are of people in recovery

A lot of people are forced to (or "elect" to) mandatory drug treatment/counseling as an alternative to harsher sentencing for first-time marijuana offenses.

Success rates are obviously low for these, for the same reasons that requiring all college students who ever drink alcohol to attend AA meetings would have low "success" rates.

You can't assume all people who attend drug treatment actually have a drug problem.
Rap Genius Changes Name To Genius
I'm having trouble expressing this properly, but while the particulars aren't necessarily simple, one thing that is simple is the statute of limitations. It seems awfully relevant, and the statute of limitations doesn't really care what the circumstances are (to my understanding, anyway)
I hadn't heard of PSO. Looks pretty interesting. What's your use case that you cannot use stochastic gradient descent?
How do you decide when to go home for the day?
> For instance, in my playthrough I didn't work out that killing a fleeing animal is uncompassionate

The manual, Hawkwind, and a number of random NPCs tell you not to kill non-evil creatures, and the manual actually specifically says which creatures are considered evil.
Sure, and plenty of people are perfectly happy with their Dacias, and there is nothing wrong with that. Cars never became a commodity and never will, even if todays cheapest cars have features the most of expensive ones of just 15 years ago didnt't. Dropbox isn't just 'storage', it's a service that has plenty of options to differentiate.
Says who? someone who doesn't the discipline to stay polite online? You think all design choices are driven by objective thinking? Funny, but not a valid response IMO.
My question is whether annotating anything else is actually profitable.
ROFL

/thread

Seriously though. How do they plan to designate the target for this round?
I think it's a bit of an act: smart guys masquerading as bros because it was important for their original target market. I also don't think that tech talent is mutually exclusive with hip-hop culture.

a16z didn't make its reputation handing buckets of cash to dolts.
Let me begin by saying that this is frustrating for all groups involved. But I wanted to specifically address what Max really can or cannot do regarding this situation.

1. I understand those that say that he should sue. But think of it this way: even if he goes through a long lawsuit to sue and wins, he still comes up worse for wear: people who hated him to begin with will just say he "bought" his freedom with high priced lawyers, and the publicity the trial would generate would just hurt him more no matter what the outcome.

2. What's frustrating to me is even in these HN comments, the fact that he _isn't_ suing is somehow proof that there might be more to the story! You end up not winning -- not going to trial is because you know the "truth" might come out, and going to trial and winning will still prove that you might still be guilty, but celebrity status/money helped you.

3. Other people argue he should / should not have posted this blog post. But again, it's a catch-22: if you don't publish the blog post, it's because you are trying to bury the story because there might be some truth to it. But if you do publish it, now people think you aren't telling the whole truth and are just spinning it to get people on your side!

So really, no matter what you do, there's no good solution. If you sue, your victory will be Pyrrhic at best. If you don't sue, you're hiding something. If you post a response, you are spinning it. If you don't post, you're hiding something.

Worse yet, defending Max can end up being a lose-lose situation as well. If I believe Max's story, and defend him in forums/communications, that can portray me as being a sympathizer to sexual offenders rather than victims, which would anger me very much.

Sexual assault is a travesty. Period. And victims already have many times a hard enough time coming forward and talking about it, yet alone going to the police -- under the assumption that they might not be believed or that they will be shamed. But we need to make sure that there is justice for all, without hurting either side. We still have a long way to go.
This is based on a report by FindMe911.org and it is specifically talking about issues in the Washington DC area based on data obtained from a FOIA (Freedom of Information Act) filing by that group. It is not to mean that this is the condition all over, while I will admit there is a problem with cellular phone location as the GPS signal is seriously disrupted inside of buildings due to the lack of Line of Site.

Yes, this is a problem, but this 90% error rate is based on statistical data from a particular area.
> it hurts our civil liberties foundations to the core.. just because some greed people want to burn the world to get the last drop of profits

This rhetoric is a bit silly. Companies spending hundreds of millions of dollars making a movie, and wanting to protect their investment by not allowing free copies on the internet is not "greedy people wanting to burn the world."
Firebase Hits One Million Concurrents
Bah, 1984 called and Tom Selleck and Gene Simmons want their self-guided bullets back: https://www.youtube.com/watch?v=lA6ybohAVq8
This is fantastic! Really looking forward to the web chapter!
Hadn't heard of it, thanks for the link! Seems like it doesn't protect metadata though, does it?
I believe that targets are marked using a laser.
When Copyright Infringement on YouTube is Good for Music Companies
Her use of the term "rape culture" is a red flag. I've been seeing it used very very broadly, covering "transgressions" as simple as looking admiringly at a woman for her attractive (and willfully emphasized) figure. She might be labeling her short, intimate & dumped relationship with him as "rape" despite nothing forced nor overtly sexual.

Willful misuse of terms to evoke cultural reactions is not uncommon, extremely hard to counter in fairness, and terribly destructive.

"You keep using that word. I do not think it means what you think it means." - The Princess Bride
Amazon and their ambition has no bounds. They really are the grizzly bear in the room of online services.
FAA environmental decision clears the way for SpaceX Texas spaceport
From Rap Genius to Genius
6 Things You Should Know About Rhum Agricole
Because people really like being able to download movies, music and games without paying for them?
so basically, we live in a society where anyone's reputation can be instantly, completely and forever ruined, at will, by someone leveling a rape accusation on the internet.
Don't lots of websites have links and comments? It's not about the capabilities (which are a little more nuanced than "hover over text and see explanations") it's about the quality and community which creates the content.
Using AngularJS in Rails' ActiveAdmin
With all due respect, these are colored cards that you can buy hundreds of at a local office supplies store for a few dollars. $10 is retarded.
Embedded in here is the brilliant Rap Genius guide to crisis management: http://news.genius.com/Nicholas-carlson-inside-geniuss-s40-m...
CAH is vulgar, crass, and offensive, but it is insulting? There is a difference.
Cellular phones can use several technologies that can assist in providing and X,Y coordinate of the device. These can be extremely accurate, depending on the data available. Look on Wiki for 'SkyHook'. This information is NOT available to 911 on phone calls, nor dopes a data channel exist to even transmit the data from the device to the 911 center. This is why the App is useful, but the App, needs to talk to something on the 911 center side. Without that piece, there is no way to get the information from point A to point B.
This is being voted down, why? The entire subject of _Runaway_ is self guiding bullets and killer drones, and it came out in 1984.
You could also do it in one line:

cat file1 file2 | awk '!_[tolower($0)]++{ gsub(/^[ \t]+|[ \t]+$/, ""); print}'

Does that mean awk doesn't have to worry either?
I hope that's because you didn't read about how why ended up leaving http://techcrunch.com/2014/05/26/rap-genius-co-founder-resig...

And frankly, everything I've seen come out of rap-genius suggests that this wasn't culturally aberrant there.
There is a huge movement towards reusable menstrual products. I use a menstrual cup or reusable cloth pads (have done so for the last 5 years and wish they had been around for much longer). I hate plastic disposable products that make you feel like you are wearing a diaper (note: I cloth diaper my son as well) and that these products and their chemicals have been scientifically shown to cause you to bleed more or even contribute to some cramps and also with tampons TSS. Reusable products dont have these problems and last a long time so are much more cost effective even if steeply priced off the bat as they last longer. It is not gross at all to wash these things if you think your body is gross in this way then you have some other issues you need to probably deal with and likely they come from our culture's deep rooted taboos on the topic. Periods and such used to be celebrated in many cultures as a coming into adult hood, it was a rite of passage type of thing. Now it really is seen as shamefull or taboo to talk about it in some ways. There are many small companies and people who are seeing this problem time and time again and trying to deal with it and get rid of the taboos and help other people out with products that work and are better. These resuable pads they are working with in uganda (I am familiar with afripads which was helped to be created by lunapada a local to me but widely known reusable cloth pad company)really do actually have a positive impact - there are lots of other movements and stuff that does similar things in other african countries. I would totally wihtout thinking about it in an instant buy a product like this underwear, it is a really genius idea and I think this company will do well.
If you actually did this, and recorded girls in sexual situations without their knowledge or consent, you're guilty of crimes punishable by jail time.
It also helps that one of the founders has a passing resemblance to Jean Ralphio.
I wouldn't say it's a fair comparison on the amount of code as no exception handling at all was done in Python, where several ifs where used in Go...
So... I'm curious, do you think a DMCA takedown on my youtube video[1] about cracking software would be fair?

1. https://www.youtube.com/watch?v=S5VlvrlTNmM
The balance of power in these cases seems to be very finicky. Sometimes the woman hasn't a chance of getting the man convicted; sometimes the man hasn't a chance of living a normal life ever again even if he is acquitted.
Cubic 2048
Privatize – Send private links publicly
The pay equality gap is a misdirection. Gender is not a big factor in determining your pay... until you get married or have kids, when men focus more on providing while women focus more on being with their families. Look up the US Dept of Labour's numbers. In fact, unmarried, childless women have out-earned their male peers since the 70s, but don't tell the feminists that.
They give away like five pairs to women in need for every pair you buy.
If you can aim the laser, you can aim the weapon. This would certainly involve computer vision, makes it even more scary.
"Not pursuing this through the appropriate venues—the legal system—simply lets her "get away with it"."

If he expects this to happen again in the future, then it might make sense to pursue a libel case. But if not, and if the premise here is that what she's saying (regardless of whether it's true) is damaging to him, then it makes sense that he'd have to seriously consider whether filing a libel suit against her would really be an effective remedy.

It's unlikely that the objective truth of the matter could ever be definitively proven one way or the other. Therefore, even if he were to win such a suit, the act of defending himself will tend to make him look more guilty and less like a victim. So I think he has little to gain and much to lose from filing suit.
wow, and I thought that only happened to me!
Some weird american voice was on the other side and it sounded a bit like a comedy show, but interestingly the voice was not made out of pieces and put together into sentences, but actually coherent and responsive to my questions. Living in Germany, this was actually weird enough to think that someone is in control of our cell-phones.

But why did we both have the caller-id of our mom's?
Can't decide if this will be mounted on the robots that take over ... or we will need them to fight the robots
Has Max's reputation been instantly, completely, and forever ruined?
Then its just a matter to fight the movies being distributed.. not a generic p2p software that can serve to transmit videos..

You can use a knife to make food, or to kill somebody.. its the same as forbidden knifes because somebody use it with bad intentions..

Its just fight the pirated movies to be copied for free.. not the tool.. thats my main argument

Im not against their rights.. im against that they have rights to take my rights
Compiling with Continuations, Continued (2007) [pdf]
That's a reasonable request. But HN's title policy is designed to focus on content more and personalities less. We usually edit author names out of titles even when they're in the original. It isn't hard to figure out who wrote most posts and surely few people are in doubt about this one.

We often use the first sentence of a post as a replacement title when the article title itself is misleading or linkbait, so using it here isn't really a stretch.
The video and program page[1] don't reveal anything about how this works. I remember watching a documentary a few years ago on Discovery channel where this project was discussed. The bullet was essentially divided into a front and back portion, which could twist independently. The twisting then allows for corrections in the air. There's another design by Sandia labs where the bullets has little "fins" (like a missile)[2], however judging by the render provided on the DARPA page[3] it's not the bullet by Sandia.

Either way we now have IRL aimbot.

[1] http://www.darpa.mil/Our_Work/TTO/Programs/Extreme_Accuracy_...
[2] http://www.youtube.com/watch?v=LmAzAmYv364
[3] http://www.darpa.mil/uploadedImages/Content/Our_Work/TTO/Pro...
Haskell: QuickCheck and WebDriver
I googled for stats on tampons vs. pads and according to a paper some 3/4 of all women prefer tampons anyway, so I'm not sure they actually need a replacement for pads? I'm amazed that almost everybody using the word "gross" in this thread seems to be a women. I thought if anything men would be the problem. While searching for the paper I actually found a lot of women calling pads disgusting which I though is a little harsh. I hope they're talking about the feeling rather than the blood? About the product itself I'm not sure what to think. It's patented tech so it's not all that helpful to women in poor countries and I'm not too happy about the language they're using either. They're kind of implying that all women have tried so far isn't sexy and now they fixed it. Maybe I'm reading too much into it. I guess what I'm trying to say is that I'm convinced the tech isn't the problem here (seems fairly obvious).
> what he's describing is libel, pure and simple

In order for this to be "libel, pure and simple", you have to prove damage to a reputation, defamation of character, that the claims prevented you from doing business, did psychological damage, etc.

His ability to win a case rests on his ability to prove his business or state of mind has been seriously damaged by these claims. The problem with that is also his saving grace: it happened 10 years ago, so most people won't give it much credit without evidence. Because people won't give it much credit, his personal and professional reputation won't be damaged.

If he did initiate a suit, it would probably bring him an enormous amount more trouble both professionally and personally than if he addresses it quickly and lets it die, which is what he's decided to do. So really he probably has no case and this is his best course of action.

But then again, I Am Not A Lawyer, so what the hell do I know? Armchair lawyering sure is fun though.
And the response to that:

http://www.businessweek.com/articles/2014-06-20/clayton-chri...
Testing to 911 can be established by contacting them on the NON EMERGENCY NUMBER, and requesting to speak to whomever is in charge of test requests. They will tell you the policy and guidelines for that agency. This was NOT designed for general public testing of the Text service, and you could easily overload the center when an event is happening.

Don't guess, play it safe, but remember, if too many people start to test before a policy is set up, you are going to have a negative impact on the workload of the center, and they will discontinue the service. Not good for anyone.
I wonder what is the technology behind this? Does the bullet have a small GPS module along with small motors that change the form of the bullet so that it can be guided by the rifle over radio frequency? What about the radio waves being interrupted or jammed etc.

Or is it something more ground-breakingly advanced?
Interesting. Do the returns to the founders get taxed at capital gains rates, or as ordinary income?
Your solution doesn't do the same thing, though. His code doesn't sort.
Sounds like frame slips on a TDM circuit. It could be a DS3 or DS1, doesn't really matter, the principle is the same. For example, on an ISDN PRI (T1):
2 pairs of copper wires using Time Division Multiplexing create 24 digital channels of 64Kbps: 23B channels (call bearer audio) + 1 D channel (call signalling).

This is very time sensitive, so if the clocks are incorrectly set (both in free run / not synchronized), this will happen all the time; in other cases defective equipment or noise on the line (noise is on the copper circuit, not the digital channel)(a technician connecting a test set or toner on a T1 is a common cause), it can cause all of the channels to shift one or more channels. So the audio on channel 1 is now connected to channel 2 at the opposite end, etc.
This state will last for a short while until the D channel becomes angry as it is now receiving jibberish and disable the circuit with a yellow alarm as both sides think the remote is at fault.
If more circuits are available, your second call should proceed fine and the technicians at both ends will have an alarm and will need to reset the circuit if there isn't an automatic mechanism to do so.
So nothing to worry about unless it happens all of the time, but this will definitely generate log events.
The rules in the AirBnB world make a lot more sense than for Uber. While homeowners should have some minimal ability to rent out their abodes, there are good reasons why it should be limited to less than a full-time business.

For Uber, I still haven't heard a decent articulation of the need for such rules as is seen in the taxi business.
I'm aware of why he was fired. I still feel sorry for him. I think a lot of people overreacted over what he said, then again I'm not that familiar with post 9-11 US culture.
What metadata are you referring to?
For more info about the technology that saves battery life, check out gbatteries (makes of BatteryOS) http://www.gbatteries.com/technology/
While you may send what ever calling ID you wish for regular calls, the local LEC treats 911 calls very differently and typically puts them through 911 screening tables that only allow the CLID owned by the account to pass. If another number is there, it can be stripped out and replaced with the billing number. Entirely up to the carrier.

Regular Calling Line ID to your cell phone may be totally different that Calling Line ID (ANI) to the PSAP 911 center.
The 'bad ending' to U5 is probably the cruelest in video game history, considering how hard Dungeon Doom is, and how you have exactly one chance to learn about the very existence of the sandalwood box from a single character that you're not supposed to trust and who will only talk to you if you tell them a password you get by doing something extremely unvirtuous...

I'm pretty sure that you were intended to get through the entire game without finding the sandalwood box, get the bad ending, and go back and replay the whole thing the right way. That's how you got value for your dollar in those days.

The sandalwood box in U5 is right up there in the pantheon of obscure paths to victory in games, along with the numerous unwinnable states in King's Quest V (eating the pie, not saving the mouse) and the legendary Grandmaster Ending in Wizardry IV (itself arguably the hardest RPG in gaming history).
I don't really know what has happened with Sony. Sometimes it seems like they've just taken a bet, and moved a lot of their QC dollars into R&D & Design (R&D&D ?).

They make interesting products, but durability has been a concern when shopping for Sony products for, what, 15 years now to my memory? Yet my parents own Sony products from the late 80's that are still working to this day.
I could never understand the appeal of Rap Genius. Annotations have been around forever, there is no breakthrough in the UI or anything. You could package the exact same functionality as an ordinary jQuery plugin... What exactly are they doing that warrants this kind of investment?
The accuracy of your statement varies by jurisdiction, and technology will soon force the judiciary to confront the reality of ubiquitous storage and either break from precedent or issue some really awkward rulings.
That may explain how the target corrects its trajectory towards the actual target, but how does the bullet determine what the "actual target" is in the first place?

I would imagine this would be simple in test cases, but in the real world, what about a hostile target may differentiate it from a friendly ally that is nearby?
A Steam-like Early Access program to let you try games in development