skysight-inc/HackerNews huggingface dataset:
A lot has to depend on how quickly things go. If it takes 20 years to really solidify the new direction, many of them will have served their time.

Say it takes 5 years? Could happen!

I think it will go more quickly for economic "land grab" type reasons. Those who move early will gain advantages over those who move later. I know Oregon was thinking growth in industry right along with savings from unproductive corrections.

In that kind of scenario, movements are very highly likely to form to do release advocacy. Some States may be active about it too. I suspect Oregon will do this once the law is settled and working.
No, I think a closure is as useful and can do anything a "class object" can...

What exactly do you think a class can do that you can't replicate in this pattern? Inheritance? Pass the parent function in. Typeof? Store a type value or get the function name reflectively.
If I had a nickel for every "it's the best" claim made by lisp evangelists....
In fact you can, but it becomes a little verbose. Thankfully, much of the verbosity can be eliminated by macros. In any case, here's an example with lenses that shows how to do this:

(* Create a basic lens type *)
type ('a, 'b) t = {
get : 'a -> 'b;
set : 'b -> 'a -> 'a
}

(* A base lens, kind of like a base class *)
type 'a myrecord_lens = {
foo : ('a,int) t;
label : ('a,string) t
}

(* Record 1 *)
type myrecord1 = {
foo : int;
bar : float;
label : string
}
let myrecord1 = {
foo = 1;
bar = 2.3;
label = "myrecord1"
}
let foo_lens = {
get = (fun x -> x.foo);
set = (fun v x -> { x with foo = v })
}
let bar_lens = {
get = (fun x -> x.bar);
set = (fun v x -> { x with bar = v })
}
let label_lens = {
get = (fun x -> x.label);
set = (fun v x -> { x with label = v })
}
let myrecord1_lens = {
foo = foo_lens;
label = label_lens
}

(* Record 2 *)
type myrecord2 = {
foo : int;
buz : string;
label : string
}
let myrecord2 = {
foo = 4;
buz = "five";
label = "myrecord2"
}
let foo_lens = {
get = (fun x -> x.foo);
set = (fun v x -> { x with foo = v })
}
let buz_lens = {
get = (fun x -> x.buz);
set = (fun v x -> { x with buz = v })
}
let label_lens = {
get = (fun x -> x.label);
set = (fun v x -> { x with label = v })
}
let myrecord2_lens = {
foo = foo_lens;
label = label_lens
}

(* Write a generic function to work with these objects*)
let myfunc (myrecord:'a) (lens:'a myrecord_lens) =
let _ = Printf.printf "Working with: %s\n" (lens.label.get myrecord) in
(lens.foo.get myrecord) + 1

(* Get some results *)
let _ = myfunc myrecord1 myrecord1_lens
let _ = myfunc myrecord2 myrecord2_lens

For the important pieces of the output, we have:

val myfunc : 'a -> 'a myrecord_lens -> int = <fun>
Working with: myrecord1
- : int = 2
Working with: myrecord2
- : int = 5

Hence, by using lenses, we can basically get the polymorphic behavior that we need out of immutable records. The syntax is pretty verbose, but it can be lessened with macros.

As a final note, there is an OCaml lens library to help with this, but you're still mostly stuck writing lenses by hand:

https://github.com/avsm/ocaml-lens

Also, Jane Street has fieldslib, which does some interesting things with record types. It doesn't have exactly what I described above, but it does help in many cases and they have some nice macros to help generate getters and setters:

https://github.com/janestreet/fieldslib
You're spot on. I like to think it's analogous to over training if you're a body builder. After a certain amount of time, 3+ hours you are even causing more harm, than good, training. People need to realize we aren't designed to be 'hard workers' only smart workers.
Regardless of design you must let emergency services access the building simply.

No lane in front means Fire Trucks cannot stop in front of the massive building.

I'd bet that front lanes are a building code / safety requirement.
This patent is likely invalid due to the Supreme Court's ruling on Alice last year.

See: http://en.wikipedia.org/wiki/Alice_Corp._v._CLS_Bank_Interna...

It essentially says: abstract methods (e.g. algorithms) have never been patentable. Taking an abstract method and adding a general purpose computer does not make it patentable.
Help me collect functional JavaScript resources
Yeti Debate Swirls: Study Reveals Origin of Mysterious Hairs
OpenStack was supposed to facillitate this. Doesn't seem to get much use.
Maybe, it's hard to know for sure, just like it's hard to know now :)

I think that had nuclear physics been more obvious 50-200 years earlier, it may have lead to a lot more practical private-sector development. In the case of power generation, this is seriously beneficial.

How will private-sector AI turn out? Will they boot up sentient AIs in Docker, then discard them? Is that OK? Who even knows?
Talking about CC is a distraction, because the meaning varies in different countries. (debit, credit, post-office, chequing, etc)

The majority of SaaS startups rely on friction free recurring payments. An even larger number of companies have a subscription model; e.g. Spotify, Team Treehouse, Soylent, Birchbox, Makespace and Netfix. Then you have all the 'One Click Purchase' companies like Uber...

The list of companies you can screw over with unnecessary regulation is extraordinarily large.
OT: anyone can teach what this construct is useful for?
['.bin'].indexOf(x) === -1

Same as '.bin' === x?
Boy, I'm not sure lack of SSL is the reason you shouldn't do this!
CultureBit – use data to build company culture
>It is telling that among people who actually do machine learning most aren’t afraid of superhuman AI (even if they believe it’s possible).

http://futureoflife.org/misc/open_letter#signatories
Just a comment here about how surreal this is.

Like many of us, pot has always been part of the underground culture, associated with serious trouble.

Now that it's normalizing rapidly where I live, I see many of us just sort of in a state of wonder. Very soon, it's going to be perfectly ordinary to have a BBQ or some other basic social event and see people light a few up, talk, code, game, whatever, and doing that will be as OK as drinking is.

Strange and wonderful times we live in.
MuJS: an embeddable JavaScript interpreter
Can the world get richer for ever?
Actually, that makes a lot of sense. Thanks for the insight.
Awesome Python Library List
App Store Phishing Email Stealing Apple User Credentials
I'm using webpack with iojs for an isomorphic react app, why don't you just add a regexp to ignore all non-relative modules?

I use the following regexp: /^[a-z\-0-9]+$/

Any reason to get the full module list over just using this regexp?
Replicating class functionality using only closures is mundane? At the very least it's cute.

I didn't realize all beginning Python programmers knew what they could do with closures.

My point is, why have a class syntax at all? It's such a mess, "self" isn't even implicit. You don't even need to declare class methods inside the class. You just have to make sure you pass self to the class method.

This seems very loosely wrapped around what I did. Except class syntax is native. Why? I just really don't care for how sloppy the python class syntax is.

/rant
Ask HN: Moved from Windows to Macbook Pro – How can I get up to speed quickly?
I've been using Windows for my entire career and was just given a Macbook Pro for my new job. I'm a web developer and was hoping to get some ideas on how to make the transition more easily.

Any tips, shortcuts, plugins, etc.. that can get me up to speed on being super productive? All ideas are welcome :)

Edit: Are there any recommended websites/resources that give an aggregate of information I can find in these responses? It's awesome to get the information here (very much appreciated!), but it would be cool if there was an existing website that gave an overall rundown of all the quick hacks to get devs up and running quickly.
TYLT mobile wireless chargers and then some– get your GREEN on St. Patrick's Day
It's kind of confusing. BULLRUN/EDGEHILL projects are umbrella cover terms: Secure Communities of Interest regarding general access to NSA/GCHQ (respectively) efforts to defeat network communication technologies such as TLS and IPsec, not particular individual cryptanalytic attacks, vulnerabilities, backdoors or techniques.

I think you want the PICARESQUE ECI compartment, specifically (TS//SI-PIQ). NSA are said to have had a "cryptanalytic breakthrough" which "surprised" GCHQ some years ago. Specific operational details are currently undisclosed, but there have been references to PIQ (PICARESQUE) blades at locations of some TEMPORA full-take feeds processing the (72-hour) network intercept ring buffers in nearline and providing passive decrypts on-site to the backend via crypt attacks. They have only one-way access, and aren't active/QUANTUM (MoTS/MiTM) attacks, or PAWLEYS (key-stealing) attacks. The prevalence of RC4 within TLS (and other protocols) at the time, that it apparently directly provides plaintext decrypts, and RC4's relative weakness, suggest it as the most likely candidate for attack.

So, no, don't use RC4! …not that I've had the opportunity to reverse any of these blades recently, you understand…
HTTPS and Go
Or at least, we can see that Ruby can have stupid security holes too, for example[0].

[0] http://sakurity.com/blog/2015/03/15/authy_bypass.html ("How "../sms" could bypass Authy 2 Factor Authentication".)
Good point. My examples should ideally be the same scale. For 4.0, I think it's about a single point of failure that, when rectified, recovery is simple. For 6.0, some kind of permanent and cascading problem. The difference between the server being down, and accidentally shipping an update that bricks all clients.
And to complete the circle, run the gif through Gfycat and check out the mindblowing bandwidth savings:

http://gfycat.com/IllustriousHairyGermanpinscher

GIF: 1 MB

Video: 73k
Kevin Ashton Dismantles Creative Genius in 'How to Fly a Horse' (audio)
Two counterarguments:

- we are not a blank card when we're born

- but more importantly, for some decisions the amount of data you need to have an outcome will never get close enough to what you can obtain. That's why cs majors have problems with real life - they look for algorithms amd data where only educated guesses are possible.
If only it were that simple... But every second relatively young engineer I interview points out that "But Netflix! Look how good the cloud works for them!" and once again I need to explain, that Netflix spends millions in engineering resources cost to handle EC2 issues and we are not (almost nobody is) Netflix (yet?).
I'm a bit confused by the "use your own domain" option. I'm actively looking for a product with functionality like this, but it needs to be 100% self-hosted. "Use your own domain" suggests that ReadMe still handles data storage. Are there any fully self-hosted products that are similar to this?
> Webpack is pretty nice, but it feels so 2014.

posted March 16, 2015.
One of the interesting tidbits of information that came out of the Lenovo spyware fiasco was that companies routinely MITM SSL traffic by installing their own certificates on company computers. Unless you own and fully control the hardware you use at work, you should just assume the company can see anything you do with it, regardless of how encrypted it looks.
Hmm, a ring binding two cultures together. Do words appear on it when placed in fire?
Dude can sometimes be used to refer to people of both genders. Although in a professional job posting, there are dozens of words that would be more explicitly gender-neutral and a better choice.
It is amazing how ambitious and progressive Germany has been over the last two decades. It has always been very public transportation and self-locomotion focused, but this is quite impressive. They have curtailed nuclear energy; funded alternative energy production, research, and socialization; curtailed fossil fuel energy production and use; and now are moving towards the future of in this manner. In a way, they are also setting up the city, and maybe even the country, for autonomous vehicles.

As I have been spending significant time on evaluating and analyzing the ramifications of autonomous vehicles, one thing has always been a bit of a challenge, how to make a transition. It's actually relatively easy in Germany and not that much of a leap since a lot of the foundational work had been done and the trajectory has been in a complementary direction. The real challenge will be how the USA makes the transition and doesn't simply sabotage itself out of spite for itself as it has an established reputation for now.
I don't think that the FBI is quite as bad of an actor as the article tries to make them out to be for various reasons, mostly covered by other posts here. What I do think is that the FBI and other government agencies have a fine line to balance with these things.

On the one hand, we constantly push for them to catch terrorists before they act via standard, good police work - which mostly involves tips and confidential informants, just like this case. We criticize them when they use over-broad mass electronic surveillance to try and find the terrorists, and we criticize them some more when they fail to catch actual terrorist before they act. I'm all for criticizing them when they screw up or overreach, but if you want them to do their job, they need some room to work. This is what that work looks like - maintaining networks of informants at the fringes of the broad movement, constantly listening and following up on any signs of anyone who might want to take action, and aggressively pursuing those who do have a desire to take action. If these guys have some genuine desire to take violent action, shouldn't we get to them before somebody else does?

On the other hand, the process of maintaining informants in a movement can be rather alienating to the movement as a whole. I've been into guns as hobby for a while, and every now and then, I've heard second-hand accounts of people who show up at various gun club events and start asking rather pointed questions about how to do illegal things. I don't know if it's true, if they're really government informants, or how often it actually happens, but the very idea and plausibility of it leaves a rather bad taste in peoples' mouths. It tends to make think the Government sees us as the enemy, to make us think of ourselves more as a group in opposition to them, then just a bunch of ordinary Americans exercising a constitutional right in a harmless way. I can't help but think that many Muslims experience the same thing and feel the same way about it.

If we really want to fix these problems long-term, shouldn't we be working to integrate Muslims into mainstream America, and send them the message that they're welcome here, and we're happy to have them as productive members of society?

I don't know that much about this particular investigation, but it sounds like it may be a touch further than we'd like to be along the lines of pursuing too aggressively. Not enough that I'd want to see things changed too drastically - this guy sounds like he's at least some level of bad actor. Maybe they should look further towards getting these guys mental help and medication, rather than multi-decade prison sentences? Or maybe he was already too far gone for that type of help even before the FBI got to him.

I would be interested to hear the opinions of some members of the area Muslim community. At least ones not coordinated by reporters trying to push an agenda, or grandstanding civil rights activists more interested in their own prominence than what the community actually feels. Not that I'm likely to get that.
The real problem was not having any melting so it just kept piling up. Two way streets become one way and must be negotiated in situ, can't see around corners etc.
It feels hackier, and there is a downside: you can't alias non-relative modules because they are simply ignored. I've run into situations where I needed to alias something in node_modules because we preprocessed it and put it somewhere else.

But that works too!
I work in software development for a large financial services company. I can't speak to product innovation, but there is room for new ideas in how financial products are delivered. A couple examples off of the top of my head include banking aggregation under Mint or Personal Capital, remote check deposit, You Need A Budget (YNAB), or services like Digit that identify when you're less likely to miss money and pull it into savings.

These aren't new products or new wealth, but changing how people manage and interact with their finances.
>All jobs and businesses related to sales and marketing

Wow. I don't think you've ever worked for any business of any size. Sales jobs are usually very well compensated and make the difference between businesses that fail and those that succeed. Hell, Salesforce is a company originally built just to manage salespeople and their process. If you know a way to make them irrelevant you could probably write your own ticket.
Hey Colin! I'm @gkoberger's cofounder. We don't have a published roadmap, but we're hard at work. First priority is to release a rewritten template that will accommodate larger, more sophisticated documentation projects (another level of subcategorization, multiple documentation sections within one project, better search). Then, we'll start tackling more automatic ways of consuming code and creating documentation. We're ambitious, stay tuned.
Good point, I probably should just use that here, but in my project the array actually has a few more elements. I do this because there are a few modules I don't want to ignore for various reasons.
ffmpeg is downright magical - just don't get caught using the one in the Ubuntu/Debian repositories. Compile your own ffmpeg if you have any need to do serious work; the Libav fork just isn't as capable. The reasons are obvious if you look into the development philosophies of the two projects.

https://github.com/mpv-player/mpv/wiki/FFmpeg-versus-Libav
Absolutely, 100% agree. Thanks for the comment!
Show HN: Website valuator, and SEO script
Those brands are for-profit and opening up may indeed not make sense financially.

TED is a non-profit, and their goal is to build an efficient platform for sharing ideas (and not only theirs). In this regard, opening up makes total sense, even if brand damage is a risk. (hence the respect)
Can you link to the merge request you refer to? Merging something depends on the quality of the implementation and the use case. We don't say that git hooks will be EE forever and we try so evaluate each merge request on its merits.
Show HN: OnboardIQ Simplifies Hiring for On-Demand Workforces
Use your own domain is exactly how you interpreted it. There's nothing close to being equivalent, however there are a bunch of open source projects for documentation. Check out Swagger UI or Slate by TripIt.

Out of curiosity, what are your concerns about hosting documentation on a third-party site?
63 email newsletters you should sign up for (but not all at once)
If you mean globally, then it should be obvious that banks, private research institutes and other sensitive workspaces are NOT going to use an off-premise code hosting solution.
Cloudfare has SSL even in their free accounts

http://www.cloudflare.com/plans
Obamacare: America's Third-Fastest Expansion of Health Insurance
New Book Explains How Cloud-Native App Architectures Drive the Innovation Cycle
Why would a self driving car need to know the difference between a cat and a bench? All it really has to know is that it is an object of a certain size and not to hit it.

The things that the car needs to know are largely standardized: the lines on the road, road signs, speed limits, etc.
I'm sure they can, but like you said - it's all political.

From what I know, WA state uses real estate tax as one of the primary revenue streams (in addition to sales tax), whereas CA also has income tax. CA and WA seem to have similar sales taxes, so the main difference in funding is in WA not having an income tax.

There are many more differences, but I don't know if those are for a "good reason" or bloat. My personal biases make me lean to CA budgets being bloated...
I really like it, dylanbfox. I think being more explicit on the titles would be a nice thing.

My biggest question is where you see the future of this project going. Having a web-based home for my private journaling might be something I'd want, and the crypto seems nice. It does mean that there would never be a social aspect here that would grow a community in that regard. Ad serving for revenue is out because of the security implications. That leaves the question of what your plans are for hosting long term.

You said this was a weekend project, and it's great, but if I were to start using this to store private information that I value, what sort of trust could I have that you'd keep the service going? Is it something you'd try to eventually monetize, or is this a candidate for open-sourcing so folks could self-host?
Some people have way more than 5 repositories that a $7 plan brings. Also, if you don't want to host it yourself, GitLab.com has free private and public repositories https://about.gitlab.com/gitlab-com/
While it might not hold up as being against the law, it likely would deter many females from applying.
I totally agree - it's not your representative founder story, and while I listened to all of it an enjoyed, I also got the distinct impression that a ton was omitted and or edited out. I guess this is to be expected with a high product podcast, but as it went on, I increasingly felt like large portions of the story were missing.
RunAbove from OVH seems to be the best of both worlds. You can rent dedicated hardware by the hour for very reasonable prices.
...and no one wants "benumbs.com" :)
Guy Has crush on a girl but her family is
General rule of thumb: NEVER conduct personal business on work equipment and vice versa.
Most universities should have some kind of job openings website. I used to work at one and that's where everything was posted. But keep in mind that a lot of universities that aren't well funded will want to pay their own students to do the work, even if they're not as skilled.
A few of the OCaml projects are showing up under Standard ML [1]. A little disappointing since anyone using OCaml would really benefit from finding out about Merlin (see the link).

This is due to a recent issue (or regression) with how GitHub's Linguist disambiguates code, which I hope will be fixed soon [2].

[1] http://libraries.io/search?languages=Standard+ML

[2] https://github.com/github/linguist/issues/2208
How Robots and Algorithms Are Taking Over
Yeah, thanks for the hard work of David Renshaw from SandStorm for making that work.
>you're also paying Amazon's profits.

Are you? Amazon is not known for posting profits, and is quite possibly operating AWS at a loss.

They have promised to show financial results for AWS itself with the quarterly report being released next month, so we'll see.