skysight-inc/HackerNews huggingface dataset:
In a large Backbone project, I experienced this issue.

Many people solve the problem with an event bus. To me, that makes debugging a huge pain and coupling rather difficult to analyze.

I solved it by passing a single flat context object that provides the API exposed by all of the ancestors of a component. Components can either pass this context unmodified to their children or make modified copies to add to the API seen by their children.

The advantage here is that intermediate layers of the tree don't need to know about APIs they don't directly consume, solving the problem of making every intermediary component mediate communication between parent and child.

As for the somewhat more difficult problem of allowing distant parts of the app to communicate (say, A and B), the key is abstracting objects for holding application state and communicating changes across the app into a new component C, which must be held by a common ancestor D of A and B. D then becomes responsible for mixing C's interface into the context object received by all its children. Typically D should be a controller-type component, mostly existing to serve as the nexus for a subsection of the app. D might also be the top level app object. But partitioning concerns into separate components like C avoids bloating D, and yields a lot of flexibility.

Other interesting patterns can be done as well. Optional hooks can be defined as context methods. The flat namespace of the context object also acts like a facade, decoupling the consumer of API methods from the actual provider. By making every member of the context a function (as opposed to data members), late coupling is achieved, which I found very useful in simplifying initialization dependencies.

On the whole, I found the flat context to be extremely flexible, and developed a number of patterns for solving particular problems. I have an unfinished blog post on the topic that I may one day get around to.
306 mentions sound a lot.
it's worth reading some of the early smalltalk/MVC stuff to try to understand how MVC was originally formulated (http://www.ics.uci.edu/~redmiles/ics227-SQ04/papers/KrasnerP...). it can be a little hard to understand, because it's pretty significantly different from how most modern GUI toolkits work, but (as i understand it, not actually having written smalltalk code) at its core it's fairly simple:

Model: business data

View: on-screen representation of Model; reacts to changes in Model to re-draw accordingly

Controller: maps user input to changes in Model; may need to interact with Views, and may pass control through a hierarchy of Controllers, to determine the Model being manipulated

in other words, user-input data flows as: C -> M, and M -> V. i see a Controller modifying a View (rather than just querying it) as impure MVC, and i normally strive to avoid it, even though that's essentially impossible if you're forced to use a platform's GUI toolkit.

i don't think of MVC as having "gone wrong," but rather that the name has been co-opted and the pattern corrupted by so many different people, in many different ways, as to make the original name extremely confusing. iOS' concept of "MVC" drives me crazy. i think it's probably fair to call it MVP (Model-View-Presenter), the difference being that the Presenter can indeed do some of the work of modifying the View. but i still mostly think of this as a hack: the more work that gets shoved into the Presenter, the more complicated it gets.
In some states, it IS illegal to shoot porn there. Prostitution isn't a federal crime, outside of coercion or human trafficking. That's why it's legal in certain Nevada counties, but nowhere else. It's up to the state to decide what is what, and to be honest, most of them don't allow either to exist.
Uhmm... I guess you are correct. I indeed remember going from PCI to ISA. Also to AGP! oh my.. the speed of that thing. But I think the point still stands, maybe not that much with that specific example, but how about PS/2 keyboard and mice?

Woops... disconnected the mouse/kb by mistake? off you go rebooting the computer. I think that does indeed make it a good reason to say USB is superior.
While its important to publicly shame institutions that do this sort of thing, its less unclear how widespread it is.
Another motivation for currying in JS is to memoize the curried function which I describe in my post http://taylodl.wordpress.com/2013/11/05/functional-javascrip...

I never provided a currying function, thinking there were so many implementations easily available - but I've never seen one as good as what's presented here!
The performers in porn are actors being paid for their performance.
Well, the "all encompassing" type. Or the "variant" type.
Your intuition is basically right: perfect octaves/fifths/fourths are called "perfect" because they have the most acoustically pure: 2:1, 3:2, and 4:3, respectively. They're also the oldest consonances, described supposedly by Pythagoras but extant in the Euclidean "Sectio canonis" (~3rd C. BCE).

The other intervals weren't considered consonant until much later (the middle ages), and didn't get their "major/minor" names until a bit later, in the Renaissance. Before this, they were known by their Latin names (M3 = ditone, m3 = semiditone, and so on). The m2 was found in (at least) two forms until the advent of equal temperament, usually known as the major and minor semitones.

The "major" intervals are those found in the major scale (M2, M3, M6, M7). The minor intervals aren't named in relation to the minor scale, but rather in relation to their major equivalents (a minor second is lower than a major second). "Minor" comes from "molle," which is "soft": the major third is "softened" to become the minor third, and so on.
a bitcoin subsidy has the side effect of requiring to actually use and spend bitcoin.

a USD subsidy is just a discount you might receive without even realizing it.
So they're now "high-fraud" businesses, vs. "fraudulent businesses" (https://news.ycombinator.com/item?id=7671113)?

And this must be some new meaning of the word "constrain" I wasn't previously acquainted with. This "operation" appears to be intended to terminate these "undesirable" businesses with extreme prejudice, and without the pesky Rule of Law getting in the way.
(1) has to be one of the weakest arguments for psychic phenomena I've ever seen, and that's saying a lot.
Very cool!

Is there any limitation on the delimiter? I often choose less frequently used characters like * as delimiters to avoid parsing values in the csv. It would be nice to see an option to specify or even detect the delimiter. Same could be said for headers.

Thanks for sharing!
It's definitely an Apple keyboard (look at https://www.youtube.com/watch?v=Y3dUeGNIX4M&feature=youtu.be... — the command key is clearly visible), albeit an old one.
'Sign in with Google' button could send Google+ to oblivion
Recently I was talking to someone who runs the tech side of a large-ish NSFW site (though not one most people would classify as porn).

Finding a place to actually host it sounded like her biggest problem -- once she had server space, the site itself was super easy.
It's "Firefox" not "FireFox".
When I called payday loan companies "fraudulent", I was letting my biases show. The more accurate way to describe them is with the phrase I used in my latter comment: a high-fraud business, one that hosts quite a bit of fraud.
I have called you out on this issue before.

Seriously, understand that the reason you'll be more effective if you're nice on this issue is that a significant subset of folks who behave in a way that keeps women away is because of the things that happened to them when they were adolescents. A significant subset of them thought they weren't handsome enough, tall enough, buff enough to ever be loved by a woman. And then they lived their lives away from them, in their own cliques and IRC channels, fulfilling their physical needs by porn and beginning to see the greatest value of women not to be their personhood or humanity, but something that provides material to jerk one off. I'm not pulling all of this out of my ass, this is from my personal experiences of 15 years of spending nights with programmers in person and in IRC.

To reorient their minds and thoughts you have to show them love, not belittle them -- if you belittle them that's only going to frame the situation into a confrontational battle where the other side will naturally start feeling the need to defend itself just because it's their side.
The equal-tempered major third is 14 cents higher (1 semitone = 100 cents) than a just-tempered third, which is pretty noticeable even for non-trained musician.
"and management advantages over the historical process of writing them last and has a high correlation with well factored code."

Where is the data supporting this claim? I don't believe it is true.

"That's it, no doctrines about unit vs integration tests, mocking out DB access or 100% code coverage"

Why do you think so many of us feel that it is an ideology? Are we seeing ghosts and imagining the whole thing?
I'm not sure the point of this article. She didn't spend much time attacking specific myths.

I see so many people these days running to defend these giant corporations and their processes from creating food as quickly and cheaply as possible. They don't need defending. They've won. Most Americans rely on their products, whether they like it or not. I can't make the schools serve my kids healthy foods, I can't make the prisons serve prisoners real foods or make my local grocery store stock foods that are safe and healthy. Let them defend themselves. They'll be fine.

If I make the decision that I don't want HFCS in my bread or certain GMO products in my lunch, why do you care? Why block the nutrition label from saying that a product is GMO? It doesn't effect you. If you're positive that no negative consequences come from us engineering our food, then go ahead and eat as much as you want. But stop attacking those of us that want to be able to find foods that meet our own personal standards. We all should have the right to know what's in our food and where it comes from.

I care a lot about what I eat and the foods I make for my family. I know a lot of misinformation is out there but the appropriate response is to correct the misinformation, not attack everyone that is just trying to do what's best for themselves.

For those of you that want to start caring about what you put in your body, http://examine.com is a good place to start. Good luck.
I always wonder what would have happened if humanity had invested in conveyor belts instead of cars and roads for the last 100 years.
I can't shake away the sensation that it could have been a better call.
I had a some luck with it for a while. The appetite suppression effect was noticeable at first, but eventually wore off - I was still taking the sugar water or oil but not losing weight. The diet is BILLED as "follow these steps and then eat whatever you want whenever you want and you'll still lose weight" - that was not my experience. I still had to diet quite deliberately to lose weight on SLD.

Following the Shangri-la forums, I notice that a lot of people lost SOME weight using his diet but practically nobody reached their ideal weight or anything near it. At best it's one tool in the toolbox, but in no way a "cure" for being overweight. I think the effect is real, and really hope somebody does more rigorous testing to figure out when and how the effect works so the diet can be made more effective/reliable/convenient, to the degree that's possible.
True 90s style. http://www.w3.org/TR/REC-html32
"Something that just came up to me: why is making porn movies for money legal, but prostitution is illegal?"

The law is not a strictly logical system (this is usually a good thing, despite the common negative perceptions). Pornography was once illegal; then the interpretation of the law changed so that it would be considered "protected speech," unless it is being displayed in certain contexts. Prostitution is illegal in most of the USA, except for certain forms which are not illegal (e.g. it may not be illegal to have sex with your boss in exchange for a promotion).
> Not saying it's a good thing or a bad thing

The tools we use are neither good nor bad. How well we use them, what we use them for and how we teach others to use them are what makes the good or bad.

I love the way you make this conversation good with a pragmatic point of view and an opinionated but reasonable voice. Thank you.
So an acceptable solution is "Kill them all, God will know his own"? (https://en.wikipedia.org/wiki/Massacre_at_B%C3%A9ziers#.22Ki...)
A big bonus is that it keeps you away from HN, reddit et al.
Any chance you would know what she's doing for payment processing? About to head down a similar route with a project I'm working on -- definitely "adult", but selling physical objects rather than webcam time / vip access.
all well and good, but Microsoft refuses to let users of the Microsoft Natural Ergonomics Keyboard 4000 to swap the middle "Zoom" to "Scroll"... so I don't see how Msft PM's will let this fulfill it's promise.

PS: the Keyboard drivers ship with key remapping software, they just don't let you remap the zoom, though if a user is willing to hack the config they can do it manually :(
Indeed :)

Curious, did you use any other information or was this a wild guess?

As a side note, if anyone wants to go into more depth, Samet's "Foundations of Multidimansional and Metric Data Structures" (http://www.amazon.com/Foundations-Multidimensional-Structure...) is an extensive survey of a lot of spatial data structures.
The Surface's Touch Cover has these gestures too.
I think the best UI is a CLI-GUI hybrid; it has all the features of a GUI, so you can point and click if you want, but also a CLI you can type commands in. AutoCAD is one of the few examples of this that I think got it right; on the other hand, Photoshop is one of the applications I use regularly that could really benefit from having a CLI.
Once you take into account that women usually friend-zone a man before they've had the chance to have sex and men usually friend-zone a women after they've had sex (from once to many times). This isn't surprising at all. I've certainly been in situations where I've been aggressively prompted to participate in sexual intercourse with a former partner or current partner I was losing sexual interest in. I was never "made to penetrate" because I was explicit in my intent not to participate, but I can completely see how other men put in the same position being pressured to participate in a sexual act in which they have no interest/desire.

Just because two people have had consensual sex at least once, does not mean that both are interested in participating in additional sexual acts.
Positional controls, like for adjusting the location or rotation of an element on the screen. It's hard to imagine somebody doing 3D animation or advanced audio editing using only keyboard shortcuts, but it could be feasible with this device.

However, their video seemed to focus on gestures only. I'm not sure why they aren't demoing it for positional controls- maybe they haven't exactly figured it out yet.

I'm really excited about this and from now on I'm going to have troubles not thinking about it every time my hand moves from my keyboard to my mouse.
http://videosift.com/video/Family-Guy-She-s-Not-a-Whore-if-S...

"She's Not a Whore if She's an Actress"
The Swedish post does it. They already have a "companies electronically send us a PDF and we print, envelope and mail it to end customers" service, so the idea is that instead of printing it they can just forward it on to your electronic postbox. Not many agencies/companies have signed up to use it (only about 100-200 from the looks of it), so it's still pretty useless to me. http://www.posten.se/sv/Privat/epostboxen/Sidor/home.aspx

There's a separate one run by the Swedish IRS, and I've gotten a few letters from them to it http://minameddelanden.se

There's also a private service, but it also suffers from poor support - I think I've only gotten mail from a credit reporting agency there https://www.kivra.com
Here is one comparison for 2048:

http://codegolf.stackexchange.com/questions/24134/create-a-s...

I think the idea of comparing languages based on a variety of tasks is interesting. We've all seen "hello world" in many languages[1], but including other tasks (like 2048) would provide a much richer summary of the language. Thus, a language could be efficiently summarized by tuples of "complexity parameters:"

- lines of code
- number of characters
- total number of tokens
- number of blank lines (which might approximate modularity)
- ...etc

For example, using "hello world" and 2048 as code targets:

complexity("java", "num-characters") would yield: (115, 1269).
complexity("python3", "num-characters") would yield: (25, 2048).

1: http://rosettacode.org/wiki/Hello_world/Text
Overall I like the new UI but it doesn't play well with custom themes on windows 7. There's a weird cutout where the window controls are that doesn't adjust to different sized controls.
Internally they're fairly common. You can probably take a normal USB drive and find the write protect pin on the datasheet.
But even a modestly beneficial "moonshot" goal would be better than a literal moon shot, which provides zero direct benefit.
Suspend Tab works for Firefox ~24 (Palemoon is still 24), and BarTab has a more official suspend/unload idle tabs feature.

I'm sure you've tried them with your browsing habits, but just to make sure.
Doctors rejected hand washing for a long time because there was no theory behind why it would improve patient care, even when there was overwhelming evidence showing it decreased mortality rates.

Do you discount all evidence that doesn't fit into your world view? Maybe theory hasn't caught up with evidence yet.
There's nothing that requires this. IPv6 addresses can be ephemeral and not tied to hardware identifiers.
For those of you who, like me, didn't know that autonomous mining trucks existed, here's a video of them in action

https://www.youtube.com/watch?v=bHtMNFZLMWE
Respectfully: I'm not interested in coaching on gender equality issues. At all. Not even a little bit.

However, if you see me behaving like a "flippant prima donna" on some other issue, I'm happy for the feedback. I'm not unhappy for the feedback here; I'm just not the least bit interested in it.
That's entirely misleading.

The MAC address is used if you autoconfigure IPv6, it's not required. Also you can enable privacy by requesting your host to generate a random host identifier.

http://en.wikipedia.org/wiki/IPv6#Privacy
Teaches my dogs what, exactly?
The $50 satellite Eagle2 Launched into Space
and running without the USB drive attached

That's how the Debian boot image works by default. You actually have to jump through some hoops to enable persistence.

So unless tails actively tries to be stupid it should be safe to remove the drive after the squashfs has been loaded during boot.
If you want to write an impassioned case on behalf of payday loan companies, be my guest. You asked a question: what did the OP mean when it pointed out that this issue was being driven by op-eds from banking lobbyists? I provided a possible answer.
The first time I heard the word "abend", I asked the speaker what it meant. He couldn't really answer: "you know, abend!" Eventually I got the sense that it meant "crash", but it seemed like some crashes met his unarticulable criteria and some did not.
Here's a screenshot for reference.

http://i.imgur.com/ighcVel.png
I would be interested to hear more about the low tech ways, but I don't find Leap to be overly complex. There is a lot of math if you're on the developer side, but I think you need that level of complexity to be able to customize it for whatever your needs are.
PayPal Wants Role in Apple’s Mobile Payments Dreams
There was a similar idea with Auroracoin.

Last I heard it was forked by attackers and destroyed.

Smaller coins leave you more vulnerable to shenanigans.

UPDATE:

Correction, AUR issued a patch, was not destroyed:

https://bitcointalk.org/index.php?topic=552895.0

Still, smaller coins are tough to manage.
> Docker runs fine with multiple processes in a container.

I think that, while most people realize this, it's important to highlight this fact again. Generally, the examples you see are "look, we can run this would-be-backgrounded-elsewhere daemon in the foreground in its own container!", when IMO this sets the bar a bit low for how people initially approach Docker. Containers have simplified my life significantly, and (again, IMO) their real power becomes evident when you treat them as logical units vs individual components.
I have wondered though...you could use a synthesier with an organ-style foot pedalboard, use those to set the active key and just intonate everything to that key, modulation at will.
> Why block the nutrition label from saying that a product is GMO?

Who has ever tried to do that? Opposing mandatory labeling and trying to forbid labeling are very different things.
Interesting you should mention "git reset", because, depending on the options you give it, it either:

* reverts one file
* reverts all files
* removes changes from the index, but doesn't otherwise change anything at all
* moves your branch, without changing any files
* moves your branch and changes all files

This rather makes my point.

"git checkout -b", meanwhile, is not a shorthand for "git branch something", but rather "git branch --track something origin/something", unless there is no "origin/something", in which case you are again correct.
Required Margin for Daily Deals is Exceedingly High
It's true that Seth tried all sorts of wacky self-experiments, but it's worth keeping in mind why. Most of them were inspired by the fact that he wasn't sleeping well. He tried all these odd magical remedies - standing on one leg, "morning faces" and nighttime honey are a few I recall offhand - because he had a medical symptom: the inability to sleep well, for which he could find no satisfactory conventional remedy. So he started collecting statistics while trying unconventional remedies, some of which seemed to help.

So perhaps what finally killed Seth relates not to his experimental treatments, but to whatever underlying preexisting conditions inspired him to invest such effort. Seems worth considering, anyway.
http://investor.google.com/pdf/2010Q1_google_earnings_slides...

Check out that dip in '09. Interesting.
Great article, if only for its ability to serve as a fantastic root for some serious Wikipedia tree traversal. For instance, I just discovered kleptoplasty [1], which I'd never heard of before. Biology never ceases to amaze me.

[1] http://en.wikipedia.org/wiki/Kleptoplasty
For the bay area locals there's a decent length conveyor system in the Santa Cruz mountains that runs into the cement plant in Davenport. It's hard to gauge the size of it with out trespassing, but you drive over it if you are on Bonny Dune Rd.
Agreed, what it made me really stop and question is why we DON'T do this with smartphones already and it's because there is no fixed base relative to which we can twist/nudge the screen (as well as a smartphone being too big to be properly grasp-able on all sides for these kind of motions).

Also, it's no coincidence that this and the MSFT keyboard are in the news now, as CHI 2014 (the big Human-Computer Interaction conference) is ongoing now in Toronto: http://chi2014.acm.org
Does this put a lot of twitter analytics products out of business?
Any reason it doesn't seem to work on FF on Linux? Works on Chrome.
I feel like "flick input" for Japanese on smartphones is actually very very intuitive once you get used to it. I think it will adapt well to this interface too.

https://www.youtube.com/watch?v=8V-za9LT_30

I've been wondering lately if someone could adapt it to English, with perhaps phonetic groups? Lit swype - it's tricky when you first try it, but soon becomes second nature.
Maybe just put the mail in the trash if you don't wanna pay the recycling cost; just saved you "serious money."