skysight-inc/HackerNews huggingface dataset:
MVC doesn't have anywhere in it for a client-server relationship. This is because MVC is actually a desktop app model, designed for things like CAD programs. Client-server connections are too important to gloss over, because you can't gloss over the Fallacies of Distributed Computing: http://www.rgoarchitects.com/Files/fallacies.pdf And your architecture must actually handle those issues, which means it's not going to be MVC.

MVC makes sense for a pure Javascript app that uses the server only as a DB server (if that). It can at least be jammed into a classic old-style pure server application. But if your app actually spans the two, you haven't got MVC anymore... or you've got an app scoring 8 out of 8 on the network fallacies, probably by virtue of trying to wrap all network access behind an "RPC" interface, which tries to represent network interaction as local function calls, which one of the easiest ways to score an 8 out of 8 on the fallacies list.

Because of the way MVC tends to afford glossing over the network fallacies, I tend to consider it an inferior design for almost any web application. It's a lot of code busywork to try to sort of kind of (probably not actually, assuming the MVC one is starting with is even MVC in the first place and not just "vaguely MVCish in name only") conform to a particular architecture, requiring at least three moving pieces to do anything (one in each letter of the acronym, in practice, often a view on the server and on the client) mandating that your application be flung out all over the place, and it gives you... hardly anything in return, really. Certainly nothing that a direct application of DRY couldn't have given you. It isn't necessary for most web apps and it's a terrible default for a new web framework to impose on its users.

While I'm not a fan of the "hexagon" name (the number "six" doesn't seem to have any meaning, except this guy once drew a diagram in a hexagon), it's a much better way of looking at things. I tend to think of it as a celluar design; there are the cell innards, then surrounding it is a cell membrane that is responsible for cleaning up the innard's view of the outside world, and exposing well-defined capabilities to the outside world. (The metaphor is not perfect; biology is messy, and there's no compelling reason to copy that aspect. But the general idea of cells, or hexagons, is quite powerful.)

One of the interesting aspects of Haskell is that it tends to enable the creation of a lot of very fine-grained cells, where the type system is helping you build a very strong and very well-defined membrane; it allows you to see even things as simple as "map" as fitting in to this model, at the smallest level.
In C++, you can do this by passing the array by reference:

void foo(int (&foo)[10]) {}

However, that is not "minimum of 10" but "exactly 10".

You can also get the size at compile time:

template <size_t N> void foo(int (&foo)[N]) { int newarry[N+2]; }

I've used the above for something like this:

template <size_t N> void safe_strcpy(char (&buf)[N], const char *src) {
strncpy(buf, src, N-1);
buf[N-1] = 0;
}
Just thinking about the author bringing up metrics and aligning motivation, it might be possible do both across multiple departments by having moderate bonuses based on customer retention and satisfaction. (I guess that's similar to profit sharing, in a way.)

edit: realized I'm not the first to suggest something similar. Haha.
maybe i didn't explain very well. i tasted the varietal and thought it was amazing value for money - that it tasted like a reserve. when i looked again at the bottle "it all made sense" - it tasted like a reserve because it was a reserve.

if you are claiming that is significantly different from me thinking "oh, i'm an idiot, i must have bought the wrong bottle and this is the reserve" on tasting it then i don't know what to say. you seem to be splitting hairs - in either case what is important is that taste was sufficient to detect a more expensive wine.

a stronger argument, it seems to me, against what i am saying is that it is a single case. to that i can only add that i've not had the same experience going the other way. i have never tasted a reserve and thought "ugh, i have been screwed". reserves taste like reserves - the oak is obvious. and that means that there is a clear change in taste when the price increases from varietal to reserve.

again: i am not claiming you can taste all price differences. but this one is clear and legally enforced for chilean wines.
Reminds me of a older video Ze Frank made: http://www.zefrank.com/zesblog/archives/2007/11/on_feeling_u...
I've never seen this before:

void bar(int myArray[static 10])

Is that standard, and if so, how long has it been?

I also ran across this construct in a quick search [1]:

void bar(int myArray[const])

[1] http://stackoverflow.com/questions/3693429/c-parameter-array...
A number of Tesla Model S owners recreate the trip of NYT's John Broder to prove the cars aren't as awful as the article made them out to be.

Interesting read.
How can something like this happen?
What the Maker’s Mark dilution debacle says about corporate strategy
It seems that the .mov files are just references to .m4v files.

This will fetch those:

curl -s http://fabiensanglard.net/duke3d/build_engine_internals.php | grep -Eo "http.*\.mov" |sed -e 's/\.mov/-desktop.m4v/' | xargs -n1 curl -O
That template is source code for a function, it becomes the body of many lodash methods using eval. It's not out of my way, it sits right on top of my personal "ugly code" list; couldn't think of a better (worse?) example.

As I understand it there is no hexagonal source, it's just an architecture.
This argument isn't against sales commissions, it's against bad salespeople.

OK, I can buy that, but I think it's creating more of a binary situation than exists in reality. Surely the "goodness" or "badness" of salespeople, in this regard, is on a continuum? If so, wouldn't choosing the best incentive structure be most important to the ones who aren't solidly at one end or the other?
19 clicks is a surprisingly high number. I thought it would be less. BT Research Laboratories (who I find out are now called "Adastral Park" (this is the lab that had a patent for hyperlinking)) had said that everything should be connected by no more than 6 clicks. (Although I'm unable to find a reference for that now.)

The article doesn't mention what the average click number is. I'm curious what kind of pages are so deeply nested, and what proportion of pages are buried so deep.

> This arrangement, though, reveals cybersecurity risks. Barabási writes that knocking out a relatively small number of the crucial nodes that connect the web could isolate various pages and make it impossible to move from one to another. Of course, these vital nodes are among the most robustly protected parts of the web, but the findings still underline the significance of a few key pages.

Well, maybe. I assume all sites (except those knocked out) would still be directly accessible?
These hover effects are neat: http://tympanus.net/Tutorials/OriginalHoverEffects/index10.h...
Search for "LLVM IR is a compiler IR".
If you're too lazy or busy to do the geolocation yourself, check out http://a-fwd.com/ :)
Except I seem to recall them saying it would not be in this fiscal year, which likely runs at least through this year (based on the giant bomb vid linked elsewhere in the discussion of this post). If so, the PS4 at a minimum is all but certainly coming out this year, and rumors are the neXtBox is as well.

We'll see though :)
techies seem to universally deplore, but every non-techie I know uses it regularly and without much complaint

This is a strawman argument. The truth, as always, is inconveniently somewhere in the middle. Plenty of techies love and use these tools, and lots of non-techies hate their very existence.

Even if the black-and-white picture you paint were true, it's a good thing to have people unhappy with the status quo. Otherwise we wouldn't have things like Airbnb.
Very interesting. Incidentally, I do like:

Ninety percent of Maslow's pyramid has been taken care of for as long as I could remember, leaving me to arrogantly believe it's my responsibility to improve this world

-- that resembles a feeling that often brings me angst, but I always struggle to put into words.
Ask yourself this: how long did it take craigslist to deliver a basic feature, maps? Every scrappy web startup has had some kind of maps mash-up since 2004.

Craigslist only recently added maps, seemingly because padmapper was so useful that craigslist had no choice but to momentarily wake up from its 10 year coma and actually improve the site for once.
Ask HN: business registration and banking as a service?
So, my friends and I have made this web service together. It started as something we were making for ourselves, but soon more and more people found out about it, and now we already have several thousand users. Some of our users are asking for a way to donate money to our project, and we could really use that money to cover our increasing hardware cost (we will likely soon need a second dedicated server just for this project alone). We thought of implementing paid accounts, however we are not sure how to organize the whole financial part properly. As I understand, to accept money from our users legally we need to be registered as some sort of company, and pay taxes. Nobody in our team knows how to do this, and, to be honest, we enjoy writing code much more than getting into those legal details.

The only easy option we see now is to receive user payments to a personal Paypal or bank account, however this will require us to pay taxes for all of that money, even though we will be spending most of it on servers and will be making zero profit.

Has anybody heard of a service that would allow us to open something like a virtual business account? We would need something that will:

- allow us to get money from our users to some sort of an account;

- allow us to pay for our servers from that account;

- in case our revenue exceeds expenses, pay proper taxes for the profits we make;

- allow us to withdraw post-tax income to our personal Paypal or bank accounts. We will then deal with personal income tax just like we do on our day jobs.

Has anybody heard of a service like that? We would appreciate any other advice as well.
I like to say "money begets money".

If the incentive is money, people make more money. If it's not, they don't. It's that simple. Everything money related works this way for a reason. Sales, real estate, trading, mortgages, whatever.

And I am pretty sure that no one wants their sales team to make less money, right?

What you're really looking for by eliminating commissions is discipline. Not selling the product in a way that puts you under (like Oracle nearly did in 1990-ish[1]). That requires a strong leader to guide this, not changing the core incentive AWAY from making money. Oracle fixed their problem by changing their accounting.

I'm not a sales person, but my understanding from sales people is that the best ones work on commission. If you were told that the best engineers required equity, would you make your company equity-free? Didn't think so.

[1] - http://en.wikipedia.org/wiki/Oracle_Corporation#Sales_practi...
Ask HN: Your preferred cloud API for voice/SMS and why?
I stumbled upon this HN discussion of about 2 years old http://news.ycombinator.com/item?id=1996970

Want to know fresh thoughts from people using different services recently?

Metrics are Price (including international calls), reliability, support/docs, and anything else you like about a service.
Fast Co. Named Birchbox & Science the Most Innovative Co's.They Arent't.
It's fun, but I appear to have 135 points after completing about 35 points of contracts :)
From http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf:

6.7.5.3 point 7: “If the keyword static also appears within the [ and ] of the array type derivation, then for each call to the function, the value of the corresponding actual argument shall provide access to the first element of an array with at least as many elements as specified by the size expression.”
I see this as like an internet art installation. It injects art into an unexpected place/space.

Finding patterns and/or meaning out of nothing is quite interesting.

Is art useless and not worth executing?
Can we get the L.O.R.D. guy as well?
As a native Virginian, I can tell you we are proud of our Viogniers -- it's one of the kinds we do best!
Oh, definitely. It's just hard to mentally conjure a spectrum of fitness for the company without having more specifics.

I guess in my mind, what the author is doing is creating a structure that minimizes damage done to the company by bad salespeople: and I wonder if an unintended consequence of that is limiting the abilities of great salespeople as well.
I like this. I was hesitant to upvote it, because like one of the dudes says in one of his posts, the site still looks very incomplete.

It would've been nice to submit a more finished and slightly better presented/structured site, but you know what, the content is really engaging.

I'm from Vancouver and UBC is my alma mater, as well, and I can see some of my friends being crazy enough to do something like this.

You've gained a reader!

Best of luck and I hope the finished product is equally as compelling!
"Most browsers have hardware accelerated rendering of 2d canvases."

Actually, you'd be surprised. For most users all the rendering is done on the CPU. The major exceptions are IE and Firefox (with non-blacklisted drivers) on Windows Vista or newer.
This is a bit expensive, to purchase the data I require (http://www.ip2location.com/databases/db5-ip-country-region-c...) costs $349.00, then I have to spinup a server.
Every tech person I know thinks this. I used to think it too. But good account managers do well regardless of who their SE is. SEs who get promoted to sales often flounder. Sales is a very different job than tech.

As for needing marketing and engineering, so what? Good account managers are hard to find. They more or less have a license to print money. Also, their job performance correlates with their own avarice; what's rarer than a good account manager is a good account manager who's in it for love not money. All you accomplish by docking their pay is ensuring that you get the most adverse selection. The good ones will just print money somewhere else.

This is just a small part of the reason why we've foregone salespeople in this company entirely. :)
Mountain Dew is coke as well.
I'm sure the answers to the questions would correlate fairly well to that even if there is some noise. And since there are a lot of questions that would smooth out the ones people get right or wrong just by chance.
Come on.....saying publicly that you've been "laid off" doesn't mean you're dishing on the former employer.
while not exactly what you're looking for, this might be a good starting point: http://en.wikipedia.org/wiki/Virtual_Router_Redundancy_Proto...

there seems to be some more reading material linked to at the bottom.
It would make up, but it would also come with a hefty price tag.
In reality, Craigslist has hundreds of competitors across all the verticals they serve. For example, StreetEasy[1] for NYC apartment listings.

[1]: http://streeteasy.com/
This would be true if there were good salespeople languishing for lack of decent products to sell. There probably aren't.
That's largely the stat() speed penalty. Linux-oriented software tends to call stat() way more often than it needs to since it's comparatively quite fast on Linux (not sure why - more aggressive caching?).

The most obvious example of this phenomenon is version control software like svn or git. If you profile them you'll see a ton of time spent just querying the attributes of files on Windows.
* Static code analysis, profiling, and HLSL editing and debugging

* Multi-unit testing framework and refactoring support

* Third-party extensibility support

Source: http://stackoverflow.com/a/13263786/204927
Why Apple and Samsung will Rule the Future of Television
The pedantry over lego/legos debates seems to be inescapable on HN any time legos are mentioned. Some people call them legos people -- get over it.
In the UK I think most of us buy a professional / public indemnity bundle from Hiscox, which costs a couple of hundred gbp or thereabouts. It's normally a contractual obligation.
Killing Legacy Applications – the Right Way
I bet if he were talking about fantasy sports on a forum full of fantasy players, he'd neither be surprised nor upset at someone in the forum dividing the world into groups of fantasy players/normal people.
Most businesses can easily replace their accountant without significant cash flow hits. A lot of companies would die if they lost their whole sales team.
Split-Second Social Media Analysis with DataSift and Redis
I think Eve did two things to embrace their online economy - hired a real-life economist to oversee changes and study it, and brought buying and selling of timecards with in-game currency into the game directly. Previously, you could buy timecards outside of the game and offer them to people, but you had to use external means to do so - forums, IM, email etc, with no guarantee of security. CCP went and made an in-game item for the timecards that you can buy and sell directly. By embracing that process they made things more secure for the players, and knocked down an barrier to their in-game economy.

I think you have a point about Eve seeming much more 'grown-up' - the sociology of the game was extremely interesting to me when I played. How alliances formed, mustering up hundreds to thousands of players at the same time for attack and defense, grand strategy, economic effects on alliances and wars, etc. I was in Goonfleet at the time and a lot of what was happening in game and in corp for command and control was evolving into something resembling how the real-life military does things - I was in the USAF at the time and could see the similarities. Stuff like chat rooms for operations, how fleet command was handled, position updates, alerting procedures (Goonfleet had a Jabber server that was used to send out messages telling people to log on for battles).
So, it was added in C11?

UPDATE: Thanks. The 2005 date on the linked document threw me off.
Is there some reason MaxMind isn't working for you?

I use MaxMind's data locally. I try to use as few remote APIs as possible to minimize disruption if one of them decides to have issues.
Lera Boroditsky: How Language Shapes Thought
Definitely.

Makes me think of Dimitry Sklyarov and Adobe back in '01:

http://www.zdnet.com/news/dimitry-sklyarov-enemy-or-friend/1...

http://www.adobe.com/aboutadobe/pressroom/pressreleases/2001...
Burger King Twitter account hacked
Royals and plebeians might be a little strong. YC folks have a slightly different interface. I think the main differences are that YC usernames show up in orange and there is a link along the top that displays the most recent submissions from YC folks/alumni.
I once visited a place where they do very regularly tasting of a lot of food and beverages. When visiting, the director told us that they had once a blind tasting between red and white wine, and that was involving some fairly seasoned wine drinkers. They could not tell red from white apart.

I could not believe it, but I visited a winemaker recently in Burgundy, and asked the guy what he thought of this experiment. And he confirmed it, in a blind test, he and a lot of people can't distinguish red from white wine.
Closed-source tools are also problematic for research purposes, since at some point in your career you will almost certainly want to run an analysis that they can't perform.
Ask HN: What's worth seeing in Mobile World Congress 2013?
I'm going to MWC in Barcelona for the first time, so if anyone else here is going, does anyone have any suggestions about what's worth seeing or any other tips in general?
The path to integrated, informed, intelligent security
Interested. Link?
#CISPAisBack » Take Action! - #EFF
https://action.eff.org/o/9042/p/dia/action/public/?action_KE...
#cispa #surveillance #privacy #internet #freedom #usa #democracy #corruption #government
Great final point; your explanation and mention of children TV shows casts a different perspective than the article author was able to do. I can see this working now, I just don't like the spin/focus on the price and taste of wine. This is more a study on the brain.
Okay I can speak personally to this.

My new years resolution has been to push out a mobile application. I've been working pretty tirelessly in the evenings and on weekends. I work full time mind you, so it's been hard.

I pushed as hard as I could with tutorials. I would slap tutorials together and pray that everything would compile and the app would have added functionality. Sometimes it worked, sometimes it didn't...

Anyways, I'm not the type of person to sit down and read an entire book on development for a platform. I can, and I have, but it just doesn't bear fruit like I would expect it to.

So, I had to make a project. I did as much as I could, and then I would dig through the books I have [I have way too many] and try to find an answer. Again, sometimes it worked, and sometimes it didn't.

In the end, I opted to hire a mobile dev consultant. Yeah, he isn't cheap. Yes, I could have maybe, eventually, figured out some questions I have, but I know in the end I would have likely gotten discouraged. Or maybe I would have gone about a task the completely wrong way and wasted my time on something pointless.

I am only about 10% into my current budget for a mobile dev consultant. It's going okay. If I go through my budget, and I still don't have that much to show for it, well at least he's showing me HOW to solve problems. Where to look, what processes to go through, that sort of thing.

I'd look locally and see if you can find a dev to hire for tutoring. Those bootcamps are a bit more money, and they wouldn't be able to give that personal touch. Pick a project you think you could accomplish and poke at it tirelessly.

And if you're married, make sure your SO supports you in this. It won't be easy. Good luck
I'm currently working to develop neural prosthetics (computer cursor, robotic arm, etc.) and it's clear to me that the president's proposed research will have real clinical impact over the timescale of 5-10 years. Our lab and others already have paralyzed human patients controlling computers in clinical trials via a brain-machine interface, but it is hard to overstate the potential possibilities that remain hidden due to our lack of low-level understanding of low level circuits.

To clear up some misconceptions in this thread, this new work is NOT focused on top-down cognition using hand-wavy tools. Instead, it's focused on understanding neural circuits starting with simple organisms and working up to primates/humans by developing new technologies that allow us to radically scale up the scope of question we can ask.
JavaScript performance optimization
The problem is always the same with commissions, anywhere: kickbacks ("retro-commission" in french).

It does definitely happen in the software industry. You find someone responsible for acquisitions and you tell them: "Look man, if you buy 200 licences of this I'll get a commission and I'll give you under the table a kickback of 25% of my commission". You're a fool if you think this doesn't happen and there are some very famous names in this industry where sales people are known to behave this way.

The good move is to completely suppress them but the problem is that your competitors may be employing sales people using shaddy practices so you'll, sadly, all too often not be competing on merits.
No, C99 – this is the the C99 standard with corrigenda TC1, TC2, and TC3 included.