Better HN
topnewbestaskshowjobs
Log inSign up

ProblemFactory

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

Submissions

comment 13y ago · link · parent

There is a simple solution for managing permissions for poorly built apps: serve them empty or fake data.

Every app already has to consider the case of GPS being unavailable indoors, the contact list only having one person (yourself) in it, or the camera picture being black in darkness.

comment 13y ago · link · parent

> It's a calculated bet.

Certainly, and all founders take this bet when starting a company. But any reasonable bet has a potential for upside, not just making your money back.

Working for deferred salary is truly a dumb decision, because even in the very best case you get paid as much as at a comparable position elsewhere. IOU's make sense only when they are many times over market rate to adjust for the risk, or if you get equity and become a founder.

comment 13y ago · link · parent

I don't think that's a workable solution.

The professionals had identified the brothers as suspects - but only as very probable suspects. They could still have been wrong. Publicly definitely clearing someone who might later turn out to be the actual bomber or an associate would have enormous political (and perhaps legal) consequences.

I believe that any form of crowdsourced investigation is reasonable only if there just isn't enough professional interest or resources to pursue a case. For example finding your stolen laptop. If there are thousands of FBI agents working on a priority case, with additional private data feeds from security cameras, telephone logs and wiretaps, public "help" is of no use beyond stroking the ego of the participants.

comment 13y ago · link · parent

Yes - but only if the merchants set fixed prices in bitcoin, rather than "$20 USD, transferred via bitcoin". Which they won't be able to do until their suppliers, employees and taxes can be paid in fixed number of bitcoins.

More merchants via instant-USD-conversion will certainly increase the popularity of bitcoin, but won't help at all in giving it a moderate value in tangible goods and services.

comment 13y ago · link · parent

I'm doubtful about BitCoin becoming less volatile in the future. Perhaps in the very long term, but not within the next few years.

At the moment, merchants who accept bitcoin set prices natively in USD, and convert bitcoin to USD immediately (or risk currency losses). Bitcoin will become more stable once merchants set prices natively in BTC, regardless of the USD exchange rate. This is the case for example in Europe, where the EUR/USD fluctuations have little effect on the everyday purchasing power. This can realistically happen only once the majority of their expenses (salaries, suppliers, etc.) are also priced natively in BTC. But given that only USD is legal tender by law in the U.S., employees, suppliers and IRS can always refuse your bitcoin, and make the exchange rate an issue.

Another problem in at least the next few years is that a small group of early miners of Bitcoin hold the majority of the money supply. Until they have cashed out, they have the ability to flood the exchange with far more supply than there is demand from new users, making the long-term storage value risky.

comment 13y ago · link · parent

While the differences skill levels are true, I don't think "you are just not as good as Steve" is the usual case for salary differences.

Salaries tend to stay mostly fixed while in employment at a single company, raises over 10% are rare. As a result, salary is much more related to your negotiation and self-marketing skills at the time of the interview - when the new employer has very little hard evidence of your developer skills - than any objective measure. You might in fact be much better than Steve, but may have changed jobs less often, or have worked on less marketable past projects.

For example, I've never heard of anyone negotiating upwards based on relative skills, as in "Bob is making X, I'm 3 times better, therefore my salary should be 3X".

comment 13y ago · link · parent

> 2) There isn't actually that much volume compared real electronic exchanges. Just looking at the Mt Gox page from today it looks like $30MM USD worth of bitcoins have been traded. Hard to make any real money off of that.

While it might have much less volume compared to a "real" exchange, MtGox fees are 0.6% of each transaction. $180k daily revenue is certainly "real money" for a startup.

comment 13y ago · link · parent

Running code that you don't trust is a bad idea. But the point of the article is:

* When copying from the web, what you see on the page might not be what ends up in your clipboard,

* When pasting into a terminal, any text with endlines will execute immediately.

As a result, just pasting anything from the web into a terminal window might execute arbitrary code, without any further action on your part.

comment 13y ago · link · parent

It is. While the pricing model makes sense from a rational perspective, it just doesn't fit well with most people's emotions about fairness.

When you get to the end of the charge on your 40kwh model, you know that the car is capable of 50% more - but you are not allowed to because you haven't paid Tesla an extra $10k.

It's similar to airline pricing. It makes rational sense to sell early seats at lower cost, and increase prices as the plane gets closer to selling out, effectively auctioning off seats. But people hate it. The guy sitting next to you is getting the exact same service as you, but might have paid 3x less.

comment 13y ago · link · parent

The great thing about PostgreSQL is that it is hybrid.

With http://www.postgresql.org/docs/9.1/static/hstore.html you can put schemaless documents into the same database, even into the same table row as your usual relational data.

You could start with a schema that's only a primary key and hstore for all other data (like a fully schemaless database), but over time extract important fields from the hstore into columns to add indexes, constraints or joins.

comment 13y ago · link · parent

Is that really the case? From what I've understood from the news, accounts in banks that haven't lost their customers' money are safe and operating as usual.

Depositors are only taking a loss at bankrupt banks where their money was wiped out by bad investments, and now EU and Cypriot taxpayers are refunding a portion of it.

comment 13y ago · link · parent

It's not even five programmers - according to the news, only the founder and 2 employees are joining Yahoo. This is acquisition is fantastic news for the founder, but I'm still at a loss on how it can possibly be a good business decision for Yahoo.

I don't believe in "publicity" and "getting in the news" and "making Yahoo hip again" - for $30m, you could do much better. I don't really believe it's for talent either - they could have found much bigger and better mobile teams for that money if they wanted to.

The only two hypotheses that seem plausible to me are:

* SRI accidentally granted Summly a too broad and cheap license for their summarisation technology, and it's cheaper than licensing from SRI directly.

* The 17-year-old founder's parent is a Morgan Stanley executive, and the startup has high-profile investors. Some M&A exec at Yahoo went golfing with one of the investors, and decided to help an old friend cash out on his investment. The rest of the deal is just a side effect.

comment 13y ago · link · parent

> Someone mentioned the uncertainty of relying on a Google service, considering Google's recent "spring cleaning" of Google Reader.

Google Authenticator is not a service that Google can even shut down. It's an open-source implementation of open standard protocols.

You install a library + few tens lines of code on your server, and users install the app on their phone. After this, no Google server or service is ever touched in the authentication process.

Even if Google decides to pull the app from the store, it's open source: you can build it from source and put a copy up yourself.

comment 13y ago · link · parent

As far as I understand, it's not necessary to wait until SPDY is ubiquitous on all browsers. By enabling SPDY support in Nginx and setting one header in HTTP responses, you can serve your content via both protocols. Any SPDY-enabled visitors would discover the feature, and switch after the first HTTP request.

On the browser side, Chrome supports SPDY, and has market share of somewhere between 25-50%.

So if I'm not mistaken, enabling this module would make things faster for a large fraction of your visitors, while being backwards-compatible with any browser.

comment 13y ago · link · parent

> Here is a guy who offers to do it if he get's paid a minimum amount.

I'm sure Andrew would work on this even if the kickstarter had failed - he built South without one after all :)

But having a funded project helps in many ways. It frees him from the distraction of contract work, proves that a lot of people really care about the issue, and finally is a thank-you-donation for the work on Django in the past and the future.

comment 13y ago · link · parent

Revenue sharing schemes are fairly common in areas where revenue from an individual's performance can be directly measured. For example, it's common for sales staff to have a low base salary + 10% of their sales as a bonus.

It's much more difficult to get right when you are building long-term assets (such as a website) instead of making one-off sales. If you build a website and leave, do you keep getting revenue share from it forever? If the company branches out to a new field, is that included?

comment 13y ago · link · parent

The value of TED over youtube.com, or an academic seminar at any university is their quality of talks and rigorous selection process - or "elitism" if you wish.

I can believe that the top 1% of TEDx talks are better than the average TED talk. Maybe 10% are worth looking at once you have seen most of TED talks, the best online courses, the best Google TechTalks, etc on your area of interest.

But why are the rest of the 90% even there?

Having a few great talks doesn't matter, if there is no way to find them out of the mass of inanity on TEDx or elsewhere online.

comment 13y ago · link · parent

Go was designed for the above-OS, networked systems programming niche at Google: new database engines, distributed filesystems, web servers (as opposed to web apps), and other similar projects. I would not write a wiki app in it, but certainly the next Apache or Nginx replacement.

And although I haven't tried it out myself yet, it does seem very promising for such use cases. You don't have to "give up" 30 years of existing C code if you are just using it as libraries and OS calls, not rewriting it.

comment 13y ago · link · parent

More than a specific individual, it requires a very specific type of workplace organisation.

Remote workers can be successful if and only if the communication and processes support it: all discussion within the teams must be electronic, on wikis, mailing lists, IRC or skype chats. Knowledge must be written down, not available via "ask Bob to fix the build on your computer". Now, these processes are useful on their own (more documentation, less interruption for all workers), but they do require effort by the on-site workers to avoid making decisions at the coffee machine. As a result, I believe remote work can work out well only if a sufficient fraction (perhaps over 50%) people are remote, not a small minority.

However, most discussions of remote vs. on-site assume that the people are the same. Yes, having the same team in a room is probably more productive than having them distributed. But by accepting remote work, companies have a much wider pool of talent available. Most people over 30 have partners with local jobs, kids in school, a house, relatives, and a set of friends they would not give up to move for a small improvement in salary or job satisfaction. Instead of comparing remote vs. on-site, it makes sense to compare an amazing remote team to an average on-site team.

In the Yahoo case, I expect that many of the developers will quit and find a job with a more local company, instead of moving or commuting for hours. Is that really an improvement of total productivity?

comment 13y ago · link · parent

> for 99.99% of us, virtualenv works perfectly fine for everyday use.

Depends on what you are running and from where. The usual virtualenv activate (although I recommend virtualenvwrapper's workon) works fine for a human interacting with a terminal.

But it is annoying for bash scripts, extremely annoying for Fabric scripts where each command is run in a separate SSH session, and sometimes completely impossible when a server needs to spawn a python subprocess. Used this exact method to solve issues with nginx+uwsgi web server deployments a few weeks ago.

Using the full path to the virtualenv's python works in any context, even when you can't set environment variables or run two commands.

comment 13y ago · link · parent

It depends on your utilisation vs. idle time. EC2 is more expensive than most other virtual server providers, but they let you start up or shut down many servers within minutes, and bill hourly instead of monthly.

If your load requirements are mostly fixed and spread out evenly, alternatives including buying your own hardware may be cheaper.

If you do a lot of number crunching in short (hours or days) bursts, EC2 can be significantly cheaper, as you are not paying for the idle time. Of course, if the numerical computation is scalable across computers, it can be made bursty - instead of running one average server for a month, you could use 30 servers for a day and get the results faster for the same total cost.

comment 13y ago · link · parent

I've worked at both the "BigCo's" (including Google) and "cool new" startups. In summary, it is almost pointless to compare working at big companies and startups.

The variance within both groups is much larger than the differences between the groups. There are pretty good, and very boring big companies. There are amazing, and hugely terrible startups. To find something that you will enjoy you have to evaluate each opportunity separately based on your preferences, not choose a company size first.

All these "important factors" are as much of a marketing tagline as they are an actual benefit. In some startups they might be the case. Probably yes if you are employee number 1-2 but not 10-20, let alone 100-200. But in comparison to some other startups a big company may deliver more value for all of them.

comment 13y ago · link · parent

I'm more optimistical, and and I hope that will be realistic.

First, the Pis will be given to individual students, not school staff. This means that they won't be locked in the cupboard between yearly "look at a computer" classes, but can be taken home by the kids to tinker with.

Second, the entire point of the Raspberry Pi project is to make a computer so cheap that nobody cares if they are broken now and then.

Broken computers are not actually the most important problem. It's worse to lock down computers in hardware boxes and software restrictions so that the students can't experiment for themselves. On a normal school or home computer, the adults will forbid any sort of tinkering, because the expensive/important computer might break. If the Raspberry Pi software gets messed up, you insert a new SDCard. If the hardware gets broken, it's just $35. Hopefully this will make the teachers and parents think that the Pis are just toys, and allow kids to break them.

comment 13y ago · link · parent

Amazon already offers warehousing and shipping as a service, even if you don't sell your products on Amazon: https://developer.amazonservices.com/gp/mws/api.html/180-311...

You ship them a pallet of stuff, and then use a web API to ask items to be delivered to addresses.

comment 13y ago · link · parent

"Other Europe" is actually just slightly under-represented, not overly popular. All the small countries are pretty big when put together.

Europe has a population of 595M, UK+France+Germany+Italy is 269M, or 45% of Europe. On StackOverflow, the big countries account for 54% of all European respondents.

comment 13y ago · link · parent

> I can't find a link but there's several studies showing that people are willing to do a lot of things for free if they like it, but they see it like work if it's paid and they enjoy it less, especially if for a ridiculous sum of money.

This seems to be the unfortunate result every time a bounty or a prize is offered for a public competition with some meaningful task.

* If the task is obviously unuseful (for example other TopCoder competitions, sports competitions), prizes seem to make it more desirable.

* If the task is useful and there is no prize, people jump on the chance of doing something cool.

* If the task is useful and there is a prize, it is seen as work, and judged based on the typical (Western world) hourly rates.

Plenty of open-source bounty boards have had a similar backlash, even though hundreds of thousands of coders work on fixing open-source bugs just because they like it.

It would be great to come up with a solution that stops people being upset at being offered more than nothing, for work they would gladly do for free anyway. But at the moment I don't have any solutions to propose.

For this particular hackathon, NASA would do better to say up front if this is a space publicity competition (and the results are not useful to them), or if they will use the winner's code on the ISS (in which case bragging rights are worth way more than $10k).

comment 13y ago · link · parent

> This of course still doesn't solve anything about synchronization or inaccurate system clocks but it would be better than Unix times.

One of the solutions used in various systems from cash machines to databases is to use GPS time. All GPS satellites carry atomic clocks, and when positioning the receiver also determines local time at accuracy up to 10 nanoseconds.

GPS time does not have leap seconds, and is always at a 19 second offset from TAI. It's available without a network, and without synchronization between computers.

comment 13y ago · link · parent

I would argue for both fixed UTC based on atomic clocks, and 86400 seconds per day - at the expense of rotation of Earth not being in sync with UTC or calendar boundaries.

It will take 3000 years before leap seconds add up to an hour, but most countries adjust the clocks that much every year for DST. It will take 40000 years before the usual daytime hours turn into night, and by then I hope a single planet's rotation is a historical oddity.

comment 13y ago · link · parent

The obvious solution would be to get rid of leap seconds entirely, and let UTC and solar time (when sun is highest at Greenwich) drift apart.

Sun rising 30 seconds later every century is not really a problem in my opinion.

comment 13y ago · link · parent

> Also, does the problem that the leap second solves actually warrant all of the problems that it causes?

Definitely not. The only benefit of leap seconds is keeping UTC in sync with solar time: the sun is highest in the sky at 12:00 noon at Greenwich.

But in the modern world, synchronizing solar time and clocks to <1 minute is of no value to anyone but nostalgic astronomers.

1
1516171819