34 karma · joined Sep 5, 2013 (13y ago) · 56 submissions
comment 12y ago · link · parent
This is not true for circular linked lists in general. A few special cases where this is true:
1. If the list is doubly linked.
2. If the list maintains pointers to both head and tail nodes (trivial).
3. If the list maintains a single pointer but uses it to refer to the tail node instead of the head node. Head node can then be easily reached as tail->next.
Of course, data structures can be tweaked in innumerable ways to add special properties. So one cannot possibly list all ways of adding easy tail-node-access to circular linked lists.
3.
Mobile A/B testing tool maker using Google CE to A/B test its own website(apptimize.com ↗)
1 points · by vijayaggarwal · 12y ago · discuss
4.
Virtual Says It Can Emulate iOS Or Android Devices In The Cloud(techcrunch.com ↗)
3 points · by vijayaggarwal · 12y ago · discuss
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
OPs case certainly seems to have cross the limit of ethics though.
comment 12y ago · link · parent
However, I feel the access control is very coarse grained. For example, RSVP widget needs access to only event related emails and itinerary needs only travel booking emails, but the API spec does not allow for such fine grained control.
IMO, given that google is able bucket-ize emails into travel booking, event, etc., and even user-defined labels for any custom grouping, allowing access on such buckets would be nearly as useful and much more user-privacy friendly. For example, an accounting app could still access invoices from my inbox to update my accounts automatically. Google could even push for microformats kind of annotation to make emails semantically richer.
comment 12y ago · link · parent
Again, I don't know much about Express though microframework seems to be the right term to me. Hopefully, other community members will shed some light on this. Regarding MongoDB, an ORM is technically not needed as mongo is not relational. In fact, mongo treates its records as first class JSON objects and therefore is very object-oriented natively.
comment 12y ago · link · parent
MongoDB: is a NoSQL database designed for handling huge amounts of non-relational data. In comparison, MySQL excels at handling relational data but does not scale as well. If you need a lot of joins (relationships, user roles, etc.) then MySQL will be better and if you can benefit from the ability to keep arbitrary columns in your database tables without the need for running ALTER commands or other database hacks (CMS fits very well as most CMSs hack MySQL a lt to get the fleibility they need) then MongoDB will suit better.
ExpressJS: is akin to Django. While I am not experienced with ExpressJS, it seems more oriented towards single-page apps. Django has some good support for templating which comes in very handy for traditional websites. Single page apps don't fetch a lot of HTML from backend anyway, so this capability is not of much use.
AngularJS: has no direct counterpart in LAMP stack with Django. Angular is a frontend framework used for building single page apps. In fact, if you are building a single page app, you would want to use a frontend framework like Angular or Ember even if you use Python/Django/MySQL at backend. As mentioned earlier, we have recently built a single page web app with Angular at frontend and LAMP(PHP) at backend.
Node.js: is actually (to some extent) a counterpart of apache server and not python or django. nodejs is a performance oriented server with asynchronism at its core. While it is definitely desirable for high workload applications, it does take some getting used to. For example, even though you I was quite comfortable with AJAX at frontend, writing database queries in an asynchronous mode felt quite unnatural at first.
Overall, depending on the kind of application to develop and the kind of time luxury to learn new things, you may want to adopt MEAN partially if not fully. If constraints permit, spending some time with M/E/A/N should be intellectually and professionally rewarding.
comment 12y ago · link · parent
> Bandit tests allow you to run as many variations at the same time as you want, versus A/B testing, which you limits to two.
True that the phrase A/B Testing in a strict sense considers only two variations, but almost all tools allow something called A/B/n Testing which allows for multiple variations. The mathematical foundations of A/B/n testing are as well established as that of A/B testing.
> But there's a deeper, less obvious benefit. Had we run these social button variations as a series of A/B tests, we'd be at much greater risk of reaching a local maxima. That is, the odds of us missing the best performing variation in favor of one that's merely adequate would be higher.
Again, there is another concept called Multivariate Testing to be used for testing multiple changes per page. MVT is also offered by many online A/B testing tools. Again, the theoretical foundation is very well established.
> So I'd have to be on top of my game to make the code-changes as soon as the Chi Squared value was high enough.
Good A/B testing services do this automatically for you. Losing variations are automatically stopped and winning variations are automatically given 100% traffic. Of course, you have a choice to enable/disable this behavior.
> there's nothing stopping you from tuning a bandit test to behave exactly like an A/B test.
Yes of course. Because multi-armed bandit (MAB) is another strategy of running A/B tests (more generally A/B/n tests, even more generally multivariate tests). So, technically, you can't beat A/B tests with MAB as your article's headline suggests, because MAB is itself a strategy of running A/B tests. What you can try to beat is classical strategy used by most tools today. Here, the post by VWO linked in your article clearly details the pros and cons of both approaches and establishes why a head to head comparison is, in fact, inappropriate.
> ...the critique is utterly ridiculous
As this point talks direct about VWO, I would take a break from my attempt at neutrality. tuning a bandit test to behave exactly like an A/B test was not the point of our article, and it is not the point of your article either. We have both attempted to compare the two approaches (MAB vs classical) to A/B testing. I do not mind your criticizing our article, but it would only be appropriate to substantiate your criticism with facts. Criticism without facts does not help the cause of discourse. I am fairly well versed with the theory of A/B testing and happy to take any questions here.
14.
Digital News Finally As Popular As Newspapers In The UK(techcrunch.com ↗)
1 points · by vijayaggarwal · 12y ago · discuss
comment 12y ago · link · parent
> http://domains.google.com/about/
> https://domains.google.com/about/
> https://domains.google.com/about//
Seems like HN should add a few lines of code to its duplicate url check.
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
19.
A cool dumb-looking smartwatch(techcrunch.com ↗)
1 points · by vijayaggarwal · 12y ago · discuss
20.
A quick and simple image placeholder service(placehold.it ↗)
1 points · by vijayaggarwal · 12y ago · discuss
comment 12y ago · link · parent
1. How widespread the usage is. The more widespread it is, the better the chance of finding the resource in the browser cache itself, instead of having to make external request.
2. Geo distribution of resource by the CDN. The closer the nearest CDN server to the end user, the quicker the delivery.
3. Popularity of CDN domain used to serve the resource. Since a DNS request is potentially involved in fetching the resource, the domain name should be widely used to keep the DNS cachces warmed up.
I am especially skeptical towards adding DNS calls to my page. One for HTML and one-two for static resources is what I have seen works best in practice, especially with modern browsers that do not have the two parallel downloads per domain limit.
22.
Five ways Apple could push headphone technology forward(gigaom.com ↗)
2 points · by vijayaggarwal · 12y ago · discuss
comment 12y ago · link · parent
I would disagree. It's common knowledge (backed by many A/B tests) that shorter sign-up forms see less traffic drop. So, if OAuth can replace a number of things (name, email, password, email verification, and so on) by a couple of clicks, I as a website owner will be very happy. Also, when sending interesting emails to inactive users, I see quite a few come back but drop again after a few unsuccessful login attempts. Again, OAuth will help.
The reasons website owners (at least I) don't use facebook or google's OAuth are following:
1. They brand their service too much. The button itself says Login with Facebook/Google. I don't want my users' mind share to be consumed by them. Everything from login/logout to account management happens on pages in the context of their brand. Browser/OS providing this service is much less problematic, and even they should have pluggable services for replacing their default implementations, just like the ability to change the default browser on any OS.
2. They own the data and not the user. I have faced an incident in the past where one of my games was blocked by facebook because they thought it was gambling. I lost 95% of my users in one stroke. It took me two weeks haggling with FB to get my game whitelisted again. Still, the damage was done and we could never fully recover. The data must be owned by the end user and stored in open format so that user can take it freely from one place to another, just like I can take my contacts in vCard format to wherever I like.
3. Any such solution (especially when so heavily branded) will naturally turn other big players hostile. for example, facebook and google will have their own separate implementations instead of having a common one. This will almost ensure that standardization will hot take place. One button each for signup with Facebok/Google/LinkedIn/OpenID/... doesn't make for great UX and it's unnecessary overhead for website owners.
Mozilla persona is a good initiative. Hope they prefer standardization over trying to use it to promote their own browser.
comment 12y ago · link · parent
Ideally, we should have a self-owned OAuth service implemented by browsers or operating systems. And the APIs of this service should be standardized. Also, the storage should be locally available with remote sync optionally available for backup and cross-device syncing.
comment 12y ago · link · parent
comment 12y ago · link · parent
If you are not very clear of your medium-term/long-term goal, let me invoke Jobs' advice[1] that you should follow your heart and let the dots connect backwards.
[1]: http://news.stanford.edu/news/2005/june15/jobs-061505.html
28.
Drones chased from National Parks after series of incidents(gigaom.com ↗)
1 points · by vijayaggarwal · 12y ago · discuss
comment 12y ago · link · parent
Big businesses have much more potential in disrupting wholesale space as that is very fragmented and therefore inefficient in India.