Better HN
topnewbestaskshowjobs
Log inSign up

ProblemFactory

2,192 karma · joined Aug 8, 2012 (14y ago) · 545 submissions

Submissions

comment 13y ago · link · parent

Effect size is important, because all events in the real world except for true random numbers have some correlation.

Eating an apple might help a broken leg heal faster or slower. There is certainly an extremely small correlation, and with a sufficiently large number of controlled experiments, a result rejecting the null hypothesis with p < 0.05 will be found. The required number of experiments might be astronomically large, but if any correlation exists, it can be found with enough samples.

But without looking at the effect size, the result is useless. Even if eating an apple helps your broken leg heal 2 seconds faster on average, it is pointless to suggest this as medical advice.

comment 13y ago · link · parent

Billing for idle travel time, but not double-billing travel+work makes sense.

The premise is that travel is wasted time by the lawyer - that he could have used for another client or family if he did not have to travel. If they can bill another client during travel, then it wasn't wasted time for them after all.

comment 13y ago · link · parent

I occasionally do freelance mobile app & data analysis work, and also subcontract some of the work to other freelancers. The ability to write great specs and milestones (micro-managing) is the biggest cost differentiator in commissioning work.

• If you know precisely what you want (to pixel-perfect photoshop mockups of every screen and interaction), you can hire anyone on Elance for $10/hour and get a good result.

• If you know mostly what you want - a written spec with some gaps - you need to hire a skilled, local developer for 50-100$/hour who will sit down with you to describe the relative complexity of features, make technical decisions, and offer suggestions on what to cut out to reduce cost.

• If you only have a vague vision, you need a huge budget, because you are hiring an UX designer, graphical designer, developer and a business advisor, and paying for their time spent on changes after seeing prototype demos.

The more you "micro-manage", the cheaper developers you can hire (and still get an acceptable result), and the less time you need to budget for changes. For a $800 project, there is no other way to make it work.

comment 13y ago · link · parent

Perhaps a marine engineer could answer the question I have with the floating data center idea: is it really cheaper to have a barge as a data center, rather than putting it in an empty lot next to a river, lake or sea?

Light can travel 300km in a millisecond. Being closer to users doesn't seem to outweigh the extra difficulties in plumbing, power connections, network connections, risk of sinking and stormy weather. The potential for mobility doesn't seem that useful either when you need a port with exceptional power and network connectivity.

comment 13y ago · link · parent

I don't think FizzBuzz leads into interesting interview questions. That would be too dependent on the hope that the candidate does implement an overkill solution for fizzbuzz. Much more interesting questions can be derived from the problems the company is actually working on.

FizzBuzz is a simple "can you code at all" filter. If you write the obvious solution, you move on to the actual interview. If you write an elegant and amusing solution, you move on to the actual interview.

Surprisingly most applicants for programming positions cannot write any code that uses a for loop or an if statement at all, and fizzbuzz is a 3-minute test to prevent everyone from wasting their time.

comment 13y ago · link · parent

RSS feeds make it easier be only a reader.

If you use the Twitter user interface to read the stream, reply and post buttons are right there. If you use an RSS reader, going to twitter to post something on your own takes an extra step. Also, RSS feeds make it easier to filter out advertising posts, whereas with the official API Twitter can ban clients which introduce Adblock.

This assumes that at least some of the RSS users migrate to the official UI, instead of abandoning the platform. But it might be a reasonable tradeoff.

comment 13y ago · link · parent

Google doesn't even need experience in building cars.

They can license their technology to UPS and Fedex and make billions. They can license their technology to Uber, ZipCar and taxi companies and make billions. They can license the technology to traditional automakers and make billions.

The self-driving car ecosystem might end up very similar to Android. Google makes the software, and others make the hardware. Or they can just buy an automaker if they want to sell their own cars.

comment 13y ago · link · parent

You can install both at the same time. "Default" here refers to what is installed by by default, and what the distro internal scripts are written in.

/usr/bin/python should remain symlinked to python2, and never python3: http://www.python.org/dev/peps/pep-0394/

But in any case, all scripts should reference the actual required version in the #! line.

comment 13y ago · link · parent

Even in the world outside of "hipster palo alto", 70% of active Android users are on 4.0+: http://developer.android.com/about/dashboards/index.html It seems to be growing 5% per month, so already by the end of the year 2.3 market share might fall below 10%.

Starting from 4.0, many APIs were cleaned up, many bugs were fixed, and it seems that many carriers/manufacturers have stopped shipping bizarrely broken custom modifications.

Unless you have a large development team and absolutely must reach every possible customer, targeting 4.0 and upwards seems to be the most efficient choice.

comment 13y ago · link · parent

BART is already almost automated: the train drives itself. The "drivers" only close the door, and stop the train if something unexpected happens. Some other light rail systems around the world run with no drivers on board at all.

The progress of automation will certainly result in complex social issues, and the entire concept of employment may have to be rethought.

But keeping a small number of people pointlessly in their old jobs is not the right solution. Why should a few people receive $66-92k per year in welfare just because they used to drive a train, while other unemployed people and the homeless do not? It would be more fair to share the tax funds between all unemployed, regardless of whether it was due to a new automated train system or not.

comment 13y ago · link · parent

Perhaps you need a small amount of passion to get started. But passion and success are not independent, they form a very strong feedback loop.

It is much easier to be passionate about a project that other people love (measured in downloads, users, revenue, media response or just feedback emails), than working on something that nobody else cares about for years.

comment 13y ago · link · parent

No extra, I only offer one rate that includes full source code and copyright transfer.

Some clients have been surprised by developers asking a lot of money for copyright once they want to update the app, sell licenses or raise funding - for those, including copyright transfer is a selling point for hiring me. If client's don't ask for IP rights, I bring it up myself and explain why they will need it.

I don't think having separate rates for full source code & copyright makes sense. Most of the code is not re-usable between projects, and I don't get any value from keeping it to myself. The only use of charging extra would be if I could then offer cheaper rates to people who don't want IP rights, and raise the rates for those who do: but I'm still doing just as much work for the first group.

comment 13y ago · link · parent

The "ideas are a dime-a-dozen" and "nobody wants to steal your idea" are situation-specific. Most often, they come up as a response to first-time entrepreneurs who have a very vague idea ("facebook for cats"), but refuse to tell it to potential advisors, investors or developers without a 10-page NDA.

In such situations, "the idea" really isn't valuable.

* It rarely has any depth or nuance beyond a single sentence vision.

* It hasn't been market-tested or proven to be any good yet.

* All startups will pivot, and the initial idea will be discarded after feedback from customers.

* Once the first prototype launches, it will be public anyway, and if successful, will attract competitors.

* An investor or developer has no interest in becoming a founder of your idea, marketing it, and managing the business side.

* All developers have 10 project ideas they would already like to work on (that they consider much more promising than yours), but they can work on yours because they get paid for it.

In such situations, discussing an idea with people who can actually help you execute it is far more useful than keeping it a secret.

Keeping secrets or signing NDAs can be useful in other situations, for example not telling your competitors about your upcoming marketing plans, or when disclosing customer databases.

comment 13y ago · link · parent

Neither of those cases are the situation in which "stealing an idea" comes up. Both projects were launched in public. As soon as any "idea" is proven to be successful in the market, competitors will arise.

In fact, it is a good argument for not being overly secretive or demanding a 10-page NDA. As soon as you launch, your idea is public anyway, and you are better off telling about it to advisors/investors/developers to give you a better chance at succeeding.

comment 13y ago · link · parent

All of my contracts include a full copyright transfer to the client upon full payment. They paid for it after all, and not owning the copyright would put the client in a difficult position if they ever try to raise funding or sell the company.

However, it is common to use open-source libraries when building the project. Some of these libraries are third-party, and some of them may have been written by me.

For simple and quick re-usable components, I tend to rewrite them for each project. For more complex debugging & development helper tools, I write and open-source them in my own time, and include in the project based on the open-source license. If the client is paying for my time, they are not included in billable hours, and if they are paying for results delivered, finding a library to do the job is a great way to achieve these results.

comment 13y ago · link · parent

> So I don't see Edgerank as a band-aid fix, but a fundamental requirement for a large-scale system like this. Because (a) on the demand side, recommendations are what people actually want - let computers do what they're good at and reduce the human tedium of sifting through inane FourSquare checkins etc

I can't speak for everyone, but I believe the Google Reader model would work for most people. The interface is entirely based on the source, not the post content, the keywords, or an algorithmically derived importance.

There is nothing technical about it: you notice who posts interesting content and who does not. There is no need for automatically ranking the importance of two posts from separate sources, people are very good at deciding who they find interesting.

Edgerank or proposed twitter feeds of the future are based on the idea of algorithmically figuring out what is the most important news for you right now. But if you don't care about learning about the "news" two weeks later, then a source-based manual filtering would let the user do that far better than a ML algorithm can. And if it's out of date in two weeks, it wasn't worth reading at all.

comment 13y ago · link · parent

Automated filtering approaches like Facebook's edgerank are a band-aid fix for fundamentally wrong user interface. For me, there is no content on the internet that is time-critical and has to be consumed in the order it was posted, or as soon as it was posted.

The great thing about the Google Reader interface was that you can sign up to 300 blogs, and see which ones have new posts in the left hand column. You read the interesting ones every few days, and perhaps scroll through the headlines of the boring ones once per month.

This way no post goes missing because it is too old, a frequent poster doesn't take priority over an infrequent but more interesting one, and the user decides how to "filter" content based on every visit.

comment 13y ago · link · parent

Could someone more familiar with U.S. laws explain why is it mandatory for federal employees not to work, even if they are unpaid?

I'd imagine there are people who would rather continue with their side projects, research or other fun parts of the job rather than sit at home.

comment 13y ago · link · parent

A $5 coffee also buys you a place to sit down and use WiFi, and a bit of social interaction or "lifestyle". Nobody pays $5 per cup of coffee at a supermarket.

No app developers include "installed by a human" and the permission to go sit on a couch at their office for half an hour in the price!

comment 13y ago · link · parent

All of these are also apps for businesses, not casual entertainment for consumers. Also, they are mainly delivered via web, not Apple or Google app stores, which makes it possible to offer a time-limited free trial with no free plan.

I'd hypothesise that both of these are more important factors than being started in 2003 vs 2013.

For a freelancer, $100/month is a good deal if it allows you to get a few more billable hours per month. For a larger established business, $500/month is pocket change that nobody will even notice (and the customer who signs up isn't even spending their own money).

comment 13y ago · link · parent

ghshephard gave a good answer to the question "why do many people consider in-app purchases evil".

However, there is no doubt that "evil" approaches are more profitable than the doing the right thing.

Techniques such as the ones described in http://www.gamasutra.com/blogs/RaminShokrizade/20130626/1949... are very effective, and developers who do use them are likely to make more money. But that doesn't mean that any means necessary to make it into the top 10 grossing apps list must be considered ethical.

comment 13y ago · link · parent

The major difference between a mouse and a controller stick is the type of input.

Mouse is a pointing input - for a movement of 1 unit, your view changes by 1 unit. If you stop moving the mouse, your view stops moving.

Controller stick is a velocity input - for a movement of 1 unit, your view starts moving at a speed of 1 unit. If you bring the stick back to center, your view stops moving.

It could be that the Steam controller trackpad is precise enough to be a pointing input sensor, which could enable precise aiming. But it's too early to tell before the first reviews are out.

comment 13y ago · link · parent

A friend of mine is working on http://www.giflike.com/

It's "like animated gifs", but implemented with JPEGs + javascript. JPEG encoding is much more efficient for photos, and doing the animation in javascript enables fun features such as reversing and scrolling through frames in the browser.

comment 13y ago · link · parent

They can. A number of well-built apps pause background data sync if battery is too low.

However, changing behaviour based on battery level is trickier than it seems.

* The point of reducing energy usage is to leave the user more juice for the actions that are most important to them. It could be that your app is the important one.

* Stopping expensive operations at 20% or 30% battery level means that 70-80% was already wasted. If there are good ways of optimising energy use, they should be applied at all times, and prolonging the time until you reach 20%.

* The appropriate threshold depends on what the user imagines doing for the rest of the day. If I'm travelling to another city, I disable background data in the morning to make sure I still have battery left for phone calls in the evening after heavy use of maps during the day. If I'm travelling to the office, it doesn't matter, since a charger is nearby. Predicting "time to next charging" and "use of other apps before charging" automatically for context-aware app behaviour is non-trivial.

comment 13y ago · link · parent

That seems to be very weak compared to traditional captchas.

* It is no more than a weekend project to extract the Xs from the image and write a solver.

* Even without a image processing, the number of possible answers is 7. A 14% success rate is plenty for an automated spambot.

The only benefit is obscurity: a solver would have to be custom-built for this captcha and website. But a text field with instructions "type the word 'blue' here" would work just as well for keeping out non-customised spambots.

comment 13y ago · link · parent

Microsoft Research is still one of the most influential and visible industry research labs in Computer Science, publishing more great papers than most top universities.

http://research.microsoft.com/apps/catalog/default.aspx?t=pu...

However, this work rarely seems to make it into their consumer products. I suspect it's mostly an issue of the organisational structure of Microsoft, rather than the type of research, which makes it difficult to jump the gap from research to products.

comment 13y ago · link · parent

Having a premium product could also mean that the open-source version grows faster.

Having stable revenue means the ability to spend 100% of the time working on the project (instead of it being a side project), and hire more full-time employees. It is possible that as a result both the pro and open-source versions improve faster than in an only-volunteer open-source project.

comment 13y ago · link · parent

It's difficult to predict what the outcome of the situation will be.

It could be that the founder keeps himself officially "unaware" on purpose. This way he can shift the blame to others if it becomes public, and still make a profit from defrauding clients.

If he is truly unaware, you will still be up against two senior employees who will deny the accusations - and you may end up looking like the "crazy disruptive new guy".

I would suggest gathering as much documentation as you can on the excessive billing. Then approaching him without directly accusing the senior employees, and pitching it as a way to improve the business. "I have figured out why the clients left, we made mistakes on their bills!" instead of "Your senior people are defrauding clients".

If the founder seems to be unconcerned about the "mistakes", start looking for a new job.

comment 13y ago · link · parent

It's of course oversold, anything else would be an incredible waste of network capacity.

But I believe ISPs should be forced to publish in detail what their acceptable use" thresholds and limits are, and ban advertising any connection as "unlimited". Otherwise consumers have no way of accurately comparing the offers. "Unlimited but we can ban you for an unknown amount of heavy use" is designed to avoid competition via confusion.

An ISP I used was very clear about it: 100Mbit max speed, but you are throttled to 5Mbit after 3GB of traffic during 4-8pm each night.

comment 13y ago · link · parent

> For me, the "Zen" as sysadmin, is to impose as few toolchains and dependencies external to the _app_ to support, as possible. Going to "go" for me is as say that "java" is the lang to go if you're a sysadmin.

That seems to be the main advantage of Go that the author mentions. The Go compiler builds statically linked binaries.

Once built, the single file can be copied and run on any common system, without installing the compiler/interpreter, packages or libraries onto that system.

While I like Python, running Python scripts on servers requires considerable effort for deployment. You have to ensure that the right versions of the right packages are installed (which is even more difficult when it's someone else's server). Whereas with Go "deployment" would be just a file copy.

1
141516
19