skysight-inc/HackerNews huggingface dataset:
> Is it fair to call it regulation when the corporation benefits?

Yes. Most regulation benefits some corporations, because there are very few regulatory issues where there aren't corporations on all sides of the issue.

> (regulation tends to mean "regulation against corporations")

No, it doesn't. There is certainly a particular faction that sees regulation as inherently "anti-business", and a popular association of business = corporation, so I can see how that idea would come about, but its not at all what regulation means.
If you planned on using objects, you can consider using Moo for roles to allow composition, and combining it with Types::Tiny for type validation. There's also Params::Validate for plain functions.

The validation is unfortunately at runtime, but at least you get a clear error instead of unanticipated behavior. Moo (and it's bigger parent, Moose) can really help you structure your application better using roles.

https://metacpan.org/pod/Moo
https://metacpan.org/pod/Type::Tiny

Edit: Don't use Params::Validate; kbenson's recommendation for Function::Parameters looks awesome!
Ask HN: Recovery of blacked out text
ASOIAF fans have a problem screaming for automation. They're trying to recover some poorly redacted text from an original plot summary released by the publisher.

http://imgur.com/GhezIdS

I know in the past people have had success with recovering blurred text using Photoshop and Javascript. This seems like a much simpler, and likely studied, problem.

Are there articles/books/papers/tools on this subject? I'm not sure where to start because I don't know the correct language.

Here's the thread: http://www.reddit.com/r/asoiaf/comments/2usz8v/spoilers_all_uncovering_the_blanked_text_in_grrms/
How interesting. Makes me want to set up a similar service where I am. $500 minimum, mark it up a steady 10% based on price when the order is placed, and offer to buy the coffee when you meet at the local cafe to make the swap.

Hard to make a living unless you're doing it full time, but the hobby would pay for itself and then some, and you'd meet some interesting people and learn your way around the ecosystem.

As for the money... keep the cash! Use the cash! Cash is convenient, cash is universal! I've been thinking about going all cash for anything but purchases that must be made online, and even those can be made with prepay cards that can be bought with cash. edit: a moment of thought reveals you have to put the cash back into the system somehow or another in order to fund more bitcoins. So, there's that fantasy shot.
How the Middle East’s First Nuclear War Started (2014)
Duplicate https://news.ycombinator.com/item?id=8997994
It's interesting but I feel like it's redundant with XMPP.

I think we don't give enough credit / importance to XMPP because it's not "brand new", it's not what the cool kids use.

How can we make XMPP cool again ?
I definitely get the sense that industry has only accelerated its churn rate over time. Just looking at what's happening to Javascript in the past year or two gives me butterflies in my stomach: There is attractive stuff and necessary stuff, and it's only getting harder to tell the two apart.

While I wouldn't say that everything about old-school coding is great, it encouraged a first-principles engineering process - checklists, printouts, technical docs, etc. - that is eschewed today in favor of looking up some framework and fumbling your way through to half-understand what's going on and leaning on the toolchain(which you also don't understand) to give you some reassurance that it isn't completely broken. This is discouraging for _everyone_, not just learners.
I agree that that tweet is a bad idea, but this post is off-topic.

From the guidelines:

> Most stories about politics, or crime, or sports, unless they're evidence of some interesting new phenomenon.
If you are looking for a book that does this (explains why things are done) with baked goods, I recommend The Cake Bible by Rose Levy Beranbaum. Hopefully it's still in print: I literally bought mine half my life ago.
It happens with US accounts too. Banks have a strong incentive to avoid money laundering activities, and no real penalty for false positives.
The thing that's absolutely crazy to me is that Twitter is able to spend so much money. They're going to pull in nearly a billion and a half dollars in a single year and still be able to spend it all plus some? It sounds like nearly half of revenue is spent on stock compensation to employees. Holy shit, no wonder the housing market in SF is going nuts right now.
Looks interesting, but "It is used in Computer Science research and teaching at many universities around the world." turns into "It's had papers about it published by the same handful of researchers for the last decade" when you actually look at the references.

Consider toning down the sales pitch and focusing on the language.
Agreed - you can't reinstate a life, nor can you reinstate some fraction of a life.

If the justice system fucks up and convicts an innocent man, it can't be undone, the damage is permanent. (Not saying Mr. Ulbricht is innocent, the evidence suggests otherwise, but still...)
Maps are a bit different to web search though. There was never a Google Maps-quality geographical database available for sale; to get good maps Apple has to send people out into the world to compile the data. It was inevitable that any competing map service would start out underwhelming, because mapping is a job that intrinsically requires a good deal of time and actual physical work to make it high quality. Web search is different; that's something you can build almost entirely in secret (apart from the odd hint when someone spots a new user agent string), without having to step out of your metaphorical basement until it's fully baked.
Until they are in the black, large revenue numbers in and of themselves don't count as "money mojo". Heck, I'll match their financial performance right now. I'll take 1.375 billion in funding and happily return 1.325 billion right back to my investors, with a lot less trouble than twitter has gone through. Any takers?
Making of: Microsoft’s first official Docker image
Try RuboCop for ruby.
I'm not the author of EmailJS but it doesn't require any backend where as PostageApp does.
> Fabulous

All praise welcome!

> I'd be interested to see what else you've written.

For some more math, more technical,

https://news.ycombinator.com/item?id=8919311
What about something the other way around. Swift to Java?
The problem with using floating point to represent money has nothing to do with base 2. It is that money is generally treated as something countable. If you divide a dollar in thirds the resulting third of a cent is not exactly representable in base 10 either.
I work with perl every day, and couldn't disagree with you more. The language is flexible enough to be anywhere from damned ugly to blessedly beautiful.

Much of the uglyiness can come from trying to write code for another language in perl syntax. Perl lets you write code that looks live Java, or C, or many other languages, but it usually ends up looking ugly. I see a lot of this.

But when you write perlish perl, especially using modern features of the language, then... yeah. It can look as beautiful as any other language.
The request was instead an official request to Iceland issued pursuant to the 2001 Council of Europe Convention on Cybercrime and other relevant law of Iceland, and as a matter of comity." isn't sketchy. It's 3 reasons Iceland would cooperate with a request from the US.

I really have no idea if the MLAT error would matter or not, but if the lawyer writing the brief is aware of the mistakes in the previous documents, it'd be way sketchier to not mention it.
I've written Python systems several tens of thousands of lines long. I don't think dynamicity has anything at all to do with a language's suitability for large projects (but if it did, I'd lean toward it making maintenance easier).
How would you write a GUI framework with this method? because that's where OOP shines.Here,you're just doing sequential operations on a chunk of data.How would you write layouts and widgets? people often forget that OOP was kind of created because it solves the UI problem.
Because these are two basic building blocks of 'computation', I'd say first order. It's map and reduce in disguise (or the other way around, doesn't matter).

- [record] -> [derived from record] :: map
- Begin and End blocks are accumulator/stateful logic :: reduce

sed is also a little twisted version of awk, per line mapping, with pattern spaces for accumulations.

It's first order, because it can't reuse itself on smaller pieces of data, namely recursion (grammars, trees, etc)
Cracking beer’s genetic code
These Utah College Students Have Millions of Dollars to Invest in Your Startup
> I don't see why we should stop the free market

The telecom space hasn't been a "free" market in decades... and likely never will again. The only thing that happens if you remove regulation is that eventually we'll have a telecom monopoly again, while prices go through the roof and industry profits soar.
>To go back on topic, Prince Andrew being accused of having sex with a 17 year old has nothing to do with paedophilia //

I'm not sure what point you're making. I never claimed this was paedophilia, she's clearly not pre-pubescent and was above the UK age of consent.

I also spoke about Turing's tryst being "apparently" ephebophilia (definition: http://www.collinsdictionary.com/dictionary/english/epheboph...) and was quite within normal usage. Yes, Turing may not have exclusively engaged in ephebophilic sexual relationships I don't know.

You'll note in a sibling comment I mentioned Epstein being a "convicted paedophilia" and noted in parentheses the actual crime. The term is in quotes as this is how media referred to him. There are accusations of [non-exclusive] paedophilic activities against him but AFAIK no such conviction. Mass media tends, as you intimate, to refer to all those convicted of sexual activity with minors to be "paedophiles" but I felt I'd gone to reasonable pains to avoid wrongly doing the same.
Reading this reminded me of some of the domain negotiations I've been involved in (on both sides) and just how cloak and dagger they are. I can't think of any similar transaction that involves so much mystery and shadowy manoeuvring.. it's almost comical.

What also intrigued me is how they got it for less than their initial offer (which was "$10K GBP" - one assumes this is meant to be £10K?) - $15K being less than 10K GBP (recently, though not today).
Lets say a doctor charges $1,000/hour and each trip takes 20 minutes, plus 10 mintues to egress a building and parking garage/pick up a taxi. The overhead for a single visit is...$1,000 give or take...

You can adjust the numbers around a bit but the point remains the same unless you radically change the transit time and the wage by a factor of 10.
Night School Failed Because It Followed Laws
There is no source on that because it isn't true[1].

Ulbricht was found via the server - all evidence that came as a result of that (including the laptop) would have been dismissed if a 4th amendment appeal was successful.

The only evidence found outside of the server chain was the posts to the Shroomery and Bitcointalk - and as the link in grandparent comment points out, this is not sufficient probable cause for a search warrant (and a search warrant on the Gmail in any case would still not have linked Ulbricht to DPR sufficiently)

[1] right in the second paragraph of article linked in grandparent comment:

> The arrest of Ross Ulbricht got its start when the FBI somehow discovered the real location of the Silk Road server in Iceland.

and

> Every shred of evidence except for two “hey, I found this site” posts derives solely from the server seizure.
It seems to me that RoboVM+libgdx is utilized heavily for the game industry. Correct me if I'm wrong, most games don't use UI components (most of the time it's a full-screen game) the way regular apps do so I'm wondering if RoboVM is a good fit for Rich-UI mobile apps?
http://en.wikipedia.org/wiki/Escape_Plan_%28film%29
Thanks for your taking time.

- "Space": next page - very good point. I missed that.
- scrollwheel for page navigation - will look into it
- text selection : "scroll mode" is being implemented to properly support text
- right hand side doesn't scroll(?) : will take a look. Do you mean TOC doesn't scroll in small screen devices?
- ctrl-click or middle click on a link : very good point which I won't be able to think about without your feedback
- search for text is broken : right. no way to support this browser functionality at this time.
- edit/view history/copryright notice and more will go to the first page of an article. I failed in complying to the wikipedia standard and this got my attention. Also real link to the wikipedia will be provided.

Thank you very much!

Minsu minsu@bbdbu.com please contact me for any discussion.
Interesting. We had very little multiple choice tests at school (Germany) and did not consider learning for it "memorization". Memorization was trained for on purpose by memorizing passages of text, famous/important works of literature/poetry. The idea was the the skill of memorization would be helpful generally speaking. Most tests where free form - i.e. you had to be sufficiently capable of spelling/writing/explaining yourself on top of answering the question at hand. In math/physics this included, obviously, knowing equations and formulas by heart as they were not given. Several such hour long written exams had a huge impact on your term grade. The other emphasis was on oral exams (in front of the entire class), which were also quite frequent and typically involved being able to express in your own words questions related to topics covered over several months.
There was at least one entry in Ulbricht's diary file with an entry like 'leaked real IP again'. If you believe Ulbricht actually wrote the diary file.
One major problem in social is the right perspective to capture the consumer behavior. The other one is the clutter - filtering to find the relevant data is important. Our proprietory algorithm, well grounded in marketing science, does the former, while an advanced and meticulous filtering that comes with an advanced user interface and config panel the latter. I would love to show you the correlations we have with sales!
I would NOT recommend these or invisalign to anyone. I had invisalign and while it's great at pushing teeth closer or further apart, the aligners cannot twist or pull teeth into position, and it's unnecessarily painful. You can get traditional braces for the same cost and get your "perfect smile" results with less pain.

Why are they painful? Because every time you "conveniently" take them off to "eat or brush your teeth" your teeth are loose and moving them around hurts like hell when brushing or eating. Snapping the braces back on and they'll hurt like hell again for about an hour until the braces stabilize them and they start settling again.

It was a huge waste of money, and now I'm saving up to get traditional braces. My teeth aren't even all that crooked, traditional braces can straighten mine out in less than a year.
The Ars Technica article is a little less rosy, and goes into a little more detail in the challenges in silicene FETs: http://arstechnica.com/science/2015/02/first-transistor-buil...
A Karpeles holding company also registered silkroadmarket.org, which during his ownership was posting mirrors of updates from DPR
>Rational decisions are the only way to win a war.

There's a lot of military history that disagrees with you.
Euchips
You have the points and appreciate your feedback sincerely. Thank you.
I'm also taking 10,000 UI daily. Anything below 20,000 UI daily is fine and non-toxic. References - pubmed.
No GP is making $1k/hour.
The link gave me very good information. Will try to comply to the wikipedia standard in the service.
> In any event, the print here does not print the correct number of seconds. Instead it prints ME CAGO EN LA LECHE, which I have discovered is Spanish for “I shit in the milk”.

Dear long-ago author... If you're going to write a programming post about potential bugs and unexpected pitfalls, do not lie to your readers about the "true behavior" in order to make an extremely lame joke.

This is doubly-true when you're talking about perl...
And it most certainly will involve Congress. Honestly, I'm confused by all the excitement surrounding this on HN and reddit.

It's like everyone's forgetting that this has to be submitted and voted on internally, and then billion dollar giants will start attacking, and then Republicans will start attacking. Considering all of that, you'd need to be pretty optimistic to continue with the celebration.
Pretty in-depth and interesting, especially for Mashable. Is this kind of content common for them? I just thought they were another clickbait machine.
Yes, I foresee a repeat of the Apple Maps vs. Google Maps debacle.
MyScriptFont – create a vector font from your own handwriting
When I first started writing perl professionally, I kept trying to write things in a lispy functional style, which only made a mess. While it's true that There Is More Than One Way To Do It, there's still such a thing as "perlish perl" and by adopting this style I ended up writing some very pleasant and easy to read code.
@tbrownaw... Do you mix Perl and Progress 4GL? Care to get in touch?
Sell My Phone
[citation needed]

But more seriously, PMTUD usually just works, so people tend to forget about it. This is actually good - it's a sign that things have stabilised. It's only the unusual setup at CloudFlare caused the problems, not problems with MTU itself.

The world would be a better place if people understood how things they rely on work. That's I wrote this article.
Well, I drink coffee 50% of the time. Maybe an introductory $15/month mini subscription? If the tea is as good as it looks, maybe I could switch over to 75% tea. I happen to be drinking some great genmaicha right now. :) totemo oishii desu! Or maybe a referral program. Like discount for getting new subscribers?
If the financial system had collapsed, and it very nearly did, that would not have been hyperbole.

I'm not happy with how the bailouts happened and bankers and others who engineered the disaster not only walked scot-free but made a killing on the situation, but increasingly I'm convinced we dodged an asteroid there.
Not to disagree with anything the OP says, but a language with somewhat more recent currency that shares the "decimals are rationals by default" advantages is Scheme (and Racket and so on). At least in Racket, floating point representation is an implementation detail of the inexact-real numbers, while the exact-rational numbers are correctly produced and computed on when you give values in decimal form.

Scheme (et al) are probably the more direct conceptual inspiration for Perl 6's rational decimals---the Perl 6 developers were certainly aware of it (as they were aware of pretty much all the major PL work out there :)
I was pretty sketched by this when I was looking at it over the summer. I'm also curious on their reasoning.

Does anyone on here use the Github integration? What do you get out of it?
Minors are mostly meaningless on your degree; but the knowledge you get from the classes is worthwhile. I took some advanced math classes but kind of burned out on it towards the end of my degree (ironic since I went to grad school immediately after). What I did notice: CS classes are easy compared to advanced math classes...man, I struggled to eek out B's in the courses when CS classes were just easy A's.

If you want to do good at machine learning...electrical engineering is probably a better choice; the maths learned in EE overlap fairly well with what is needed to do ML. PL theory is quite niche, even for PL researchers.
I used to work mostly in Perl. It's true that it can easily be turned into an obfuscated mess.

But I've also written some of the most maintainable code I've ever seen in my career in Perl. One project in particular was over 30k lines long (which in non-Perl languages must be worth millions of lines of code ;).

It was put aside for a few years (4 or 5 IIR), then I had to return to it to do some maintenance and inside of an hour was able to digest the code-base, make the needed changes, test and release.

Sloppy code and poor design infects every language. Perl does make it easy, but that's because Perl has a design emphasis on one-off scripts in the same way Java has an emphasis on large-team collaboration, and write-once run-once is what makes Perl so absurdly productive.

Just like with any language, you set some code standards and some overall design principles and you can write really maintainable code in Perl.

My wife has a similar story, after learning some basic Perl, she waded into a 100k line Perl codebase and in a couple days refactored some memory intensive code to use cheaper data-structures in a memory intensive part of the code. It was no-big-deal, but that's because the original team had left things well documented and wrote along sane standards.
What are some companies making electronic leashes? Sounds useful, but a google search for this turns up only dog-related products.
Great! Thanks. This service needs huge room for improvement and feedbacks like these are helpful. The archive site is very useful, too. Have a good day. Minsu minsu@bbdbu.com
I'm not versed in this area, but I listen to Daan talk about Koka a lot. You might want to ask him directly about Frank.
I'm very eager for Perl 6 1.0 to come out. I'm even planning on carving out a few weeks to learn it.

I've really poo poo'd the tardiness and vaporware aspects of P6, but I'm starting to get excited again.

Some of the new stuff looks absolutely sublime.
> Google Inbox shares 70% of its code across Android, iOS, and Chrome

In case you are starting now with a new app then i think the best bet would be to use React native where you would get to reuse 100%[1] code across the platforms.

Google wrote separate UI code for each platform but react native does that conversion also by itself and leaves you with even lesser work\code

[1] - as claimed by react team
I'm really not sure why people think Apple would get into the web search business. Web search represents just a fraction of the total advertising spending that other web companies like Facebook aren't even bothering to chase Google for it. Google's stock has been in the toilet this year because their core business is facing shrinking ad margins from the shift to mobile, it doesn't make any financial sense to get into that business.

Add that to the fact that this is completely out of Apple's wheelhouse and their history of relatively never straying out of their circle of competence and it should be pretty clear that this isn't for web search.
Nick Johnson did a Damn Cool Algorithms post [0] on this that inspired me to play around with HLL myself and do a little writeup [1].

[0]: http://blog.notdot.net/2012/09/Dam-Cool-Algorithms-Cardinali...

[1]: https://github.com/sergeio/hyperloglog
Good point. His transactions indicate business-like activity. His account is personal.
This is something like the 4th or 5th time I've seen Bezier curves appear on HN. What do you IT guys even use them for? Vector graphics?

As a MechE, we encounter them mainly due to CAD and associated computational engineering, but I couldn't map how they'd be used in the more general IT world. I'd love to hear some use cases!
It was a big hassle and a big life change. But I've always had in the back of my mind that I wanted to do it and I'm glad I did. I put it off because the money I was making, and the places I was traveling, was too good to pass up at the time. So I saved money with the idea that I would get the chance to go to school.

I did try to learn math as an autodidact before I began the degree. The more abstract the math, the harder it was for me to self-study. It was inefficient at best. At worst, I'd hit a wall and not have anyone to reach out to.