Better HN
topnewbestaskshowjobs
Log inSign up

ProblemFactory

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

Submissions

comment 12y ago · link · parent

I think every candidate prefers a real project to BS puzzle questions and whiteboard coding - it gives them the opportunity to show their real skills, and to also evaluate the culture and the team at the company.

But only students, freelancers who want to quit freelancing, and the unemployed would be able to take "a few days to a few weeks" for such a project. For someone in full-time employment, a few weeks would be most of their vacation time for the entire year, just for one interview!

comment 12y ago · link · parent

> Which brings me to the problem of Samantha. She apparently has freewill.

> Instead, Spike Jonze creates an AI that's actually alive, deep, and something it's okay to fall in love with--I couldn't accept that.

The biggest issue I had with the story in the movie was the lack of pre-story. How did we get there?

An AI with adult human level intelligence, compassion and emotional maturity would not be created in one step. It would include decades of work on increasingly complex and capable AIs. And an AI with even limited intelligence, limited free will but with curiosity could cause enormous damage to all internet-connected infrastructure. Small children can be assholes, because they are experimenting with getting reactions out of other people.

It seems to me that if an AI portrayed in the movie can be one day built, then we must also have accidentally built a Terminator-style AI before that.

comment 12y ago · link · parent

Because registrars have huge lock-in effects.

It is extremely tedious to transfer domains between registrars. There are periods around the renewal date where you cannot do this at all, and it might involve paperwork and phonecalls. The old registrar can stall and make it more difficult on purpose.

And if you are renewing a domain, it has some value for you. Registering a new domain might be an impulse purchase, but if you want to keep it after a year, you most likely have a site worth more than $xx/year running there. This domain might go offline for months or even be lost if the transfer is messed up.

Altogether, the old registrar can make it difficult to transfer domains out, and could cause you to lose the domain. Paying $xx/year is the easy way out, and they know it.

comment 12y ago · link · parent

I think the confusion arises from the term "thermostat". The example works much better with a "heating power dial", not a "desired indoor temperature dial".

comment 12y ago · link · parent

Price depends on the balance of both supply and demand. Even if there are less coins to go around:

* Many existing bitcoin users have had their coins and conventional currency holdings wiped out - and don't have enough money left to buy them back.

* Many users who lost their money would not want to re-invest after getting burned.

* Many potential new casual users will be (rightly) scared away by the news.

It seems to me that even if 6% of the coins are gone, demand could drop more than 6% and still lower the price.

comment 12y ago · link · parent

Unique IDs are easy on a single machine, but (just like cache invalidation) become surprisingly complex in a distributed system.

For example, how to assign unique MAC numbers to network cards without a centralised database that has to be modified for each card manufactured? Vendors get address space blocks, and probably split these further into blocks for factories and production lines.

Generating unique autoincrement row numbers in a distributed database or process IDs in a cluster is also a complex problem if it has to be faster than any communication between the nodes.

Designing the layout of IP addresses, architecture of DHCP and DNS, and the very idea of URLs are fantastic pieces of Computer Science work. Easy to use, but a hard problem for the original designers!

But of course, I have no idea what Karlton had in mind with the quote. "Naming things" as "assigning unique identifiers" always felt appropriate with cache invalidation, as both are problems that are easy for single cores/machines, but very complex in distributed systems.

comment 12y ago · link · parent

I've always thought that the "naming things" refers to the more subtle problem of giving things unique identifiers in distributed systems, rather than coming up with variable names.

"Naming things" includes systems like MAC address allocation, IP address allocation, DNS, URLs for documents, process IDs, name to inode mapping in filesystems, autoincrement primary keys in databases, etc.

Any ideas on what Karlton really meant with the quote?

comment 12y ago · link · parent

The validity of transactions is checked by the individual bitcoin clients. After all, something, somewhere must check if they are valid according to the protocol rules! And this client code can be changed to anything at all, as long as most miners agree to update to it.

Transactions that make up bitcoin out of nothing are already used as rewards for mining a block.

comment 12y ago · link · parent

But the protocol can be changed.

If the most common bitcoin clients are updated to allow this "bonus", and at least 51% of the network installs this update, their blockchain will become the authoritative one. Older or other clients will have to accept it if they still want to participate in the chain.

comment 12y ago · link · parent

I don't think anyone but the traditional publishers wants to keep traditional publishers.

Every scientist I've ever met wants as many people as possible to read (and cite) their work. But the main issue is that the main metric for scientists' performance is number of publications in prestigious journals, and the oldest journals tend to be the most prestigious ones. If a scientist wants to get grant funding or promotions, they have to put up with the copyright terms of the traditional publishers.

Any real change to the system has to start from the government agencies and councils handing out grant funding to research groups. As long as they prefer to fund people with Nature papers over SomeOpenAccessJournal papers, only a few scientists are willing to sacrifice their career for the principle of open access.

comment 12y ago · link · parent

400 USD/hour is a great rate anywhere in the world, even the most expensive cities.

But abcd_f's comment is right about one-off 4-hour projects vs. long-term contracting. Non-billable time overhead spent on finding clients, negotiating contracts, mentally switching projects, or just sitting idle can negate the benefits of a high hourly rate.

comment 12y ago · link · parent

I agree with chetanahuja that there are more "single developer's technical problems" in established software companies rather than startups.

During my time at Google, there was an engineer next to me working full-time on GCC, because found compilers most fun and technically challenging. On the open-source version, not a private branch or anything.

Very few startups would have the scale and stability to allow an employee to work on something that maybe delivers 5% faster code or 5% faster build times in a few year's time.

comment 12y ago · link · parent

The recommended upgrade path seems to be:

* Apply all South migrations to all database servers,

* Delete South migrations,

* Create new initial (create table) migrations for the current schema.

This makes sense, as migration code is supposed to be temporary. Migrations should exist in the codebase until the last database has them applied. Once all databases are up-to-date, it's better to delete them and "rebase" migrations to the current schema.

Old, fully applied migrations will still stay documented in the version control history, but they shouldn't be part of the master tree, much like obsolete code should be deleted instead of left commented out.

comment 12y ago · link · parent

"App Store standards" don't really work for valuable niche software. They can work for games that end up selling 10 million copies, but there's a reason why professional software with few users is usually priced between $500 and $100 000.

$5 is worth 3 minutes of developer time at common hourly contracting prices. If a developer receives and reads an email from a customer, they will probably end up with no profit. If they respond to it, let alone are adding new custom features, they are certainly losing money compared to working for someone else.

comment 12y ago · link · parent

Regardless of any competitive or status-based desires, income relative to your neighbours (everyone in your city) is a big part of actual purchasing power.

In most cities, housing prices are based on land value, not construction costs. And land value is entirely based on demand: what your neighbours are willing to pay for the same lot.

And most services are priced based on the salaries of your neighbours - the more you earn relative to them, the more of their time you can afford.

comment 12y ago · link · parent

I would expect that Watson is used as a discovery, not a decision tool - something to point out the symptoms as matching an uncommon disease that the doctor had not otherwise considered.

There are around 500 000 biology and medical research papers published per year (http://www.stm-assoc.org/2012_12_11_STM_Report_2012.pdf), and it's completely impossible for a doctor to keep up with all of the latest knowledge. A search engine can help a lot in discovering otherwise unnoticed connections.

I'm not sure how insurance companies are going to approach this - but "the computer agrees with my decision" seems to be a good defense argument in a malpractice case. And if the end result is statistically better, then insurance companies will adjust their prices.

comment 12y ago · link · parent

I don't think people think that it's objectively too expensive, considering the time it saves for developers.

But without any pricing guidelines published on http://www.viva64.com/en/order/, it could be anywhere between $1k to $100k, and people assume without even asking that they cannot afford it.

comment 12y ago · link · parent

> with the only reason that it has value being a state power or arbitrary group of people (as in the case of cryptocurrency) has assigned it one... also known as fiat.

While that's true, a state has much more power in "assigning" value to currency. They have the power to levy taxes on all economic activity in their territory, and the power to demand payment of those taxes in the national currency.

If you have a job, do business, or make any other sort of profit in the U.S., you must pay taxes, and you must pay them in USD only - otherwise the state will throw you into jail. This means that there is always a demand for USD, no matter which other currency you use for transactions.

comment 12y ago · link · parent

> We never discovered demand in the way that VC-backed startups need to. (We now no longer believe the market exists in the US, but of course, perhaps we just couldn’t find it.)

Could you please tell us more about your opinions on the ride-sharing market? Were there any surprise difficulties or discoveries? Or is the "half a million rides per year on Craigslist" * expected revenue per ride just too small to be worth pursuing as VC-funded startup?

comment 12y ago · link · parent

Most amusingly, it was Linus Torvalds who published the same solution in a mailing list 4 years before the patent was filed: https://groups.google.com/forum/#!searchin/comp.os.minix/lon...

comment 12y ago · link · parent

Drone deliveries are cool and futuristic idea, and I'm sure they will happen at some point.

But there is a big difference between "Bezos thinks drone deliveries would be cool in 5 years time", and "Amazon starts drone deliveries". The article rightly concludes that at this time, it's a PR trick for driving black friday sales.

The concept of drone deliveries isn't that novel: at least 10 companies have announced that they are working on or have put out promotional videos of the same thing in the last few years. The novel and interesting bit would be to figure out the real logistical difficulties, which Amazon nor the others have yet presented.

* http://mashable.com/2013/06/05/dominos-drone/

* http://thenextweb.com/asia/2013/09/04/chinese-firm-tests-dro...

* http://tacocopter.com/

* http://www.dezeen.com/2013/10/16/flying-drones-to-deliver-te...

comment 12y ago · link · parent

There are also practical downsides: information on the internet is often scraped, archived and cached. For example at https://www.hnsearch.com/ and http://hackerslide.com/

If deletion is allowed, it would be easy to add "undelete" from a previously scraped copy, or even a page for all deleted comments with previous user details. Both of these already exist for Reddit. In a way, deleting a post would highlight and bring it to the attention of people looking for controversy or accidentally leaked information.

comment 12y ago · link · parent

Developing resistance is not individual bacteria "going to the gym" and training to be stronger.

To develop resistance, all that is needed is a random genetic mutation that makes a few of the bacteria cells less susceptible to the polymer. The polymer kills all other cells, and the resistant strain grows in numbers and takes their place.

comment 13y ago · link · parent

I disagree that limiting a website for discussion on a small set of topics - an "information bubble" - is necessarily a bad thing. A web site can be designed to become a platform for a wide variety of topics (like Reddit) - or it can be designed for a small subset.

The internet is the platform that provides the variety: Hacker News for some topics, and for example RCGroups, SpaceFlightNow, or hundreds of other topical forums for others.

While it is silly to complain about "community X is going downhill", I do miss the old "information bubble" that HN was many years ago. The YC alumnus Reddit has taken over the role of a general link-sharing and discussion on every possible topic platform for every topic - but there is no longer any website (that I know of) focused on the advice, thoughts and discussion of technology startups mostly by founders of technology startups.

comment 13y ago · link · parent

I have used MATLAB a little bit - it was indeed more concise for matrix math than Python + Numpy.

But pure matrix math is a small part of my analyses and workflow. Most of the code is in data preprocessing from SQL servers, CSV files, JSON files, and various cleanups. Once you have your data in an array, MATLAB can be great, but writing general-purpose code (or even a while loop) was horrible.

comment 13y ago · link · parent

Most things in the world eventually self-correct. But before that happens, many people will be hurt and die in the process.

For example, we could do away with CDC, FDA and building codes, and rely on Yelp customer reviews of drugs, restaurants and electrical contractors. Eventually the ones that kill people should get bad reviews and go out of business - but this won't help the first victims and their relatives.

comment 13y ago · link · parent

It's certainly a fun experiment, and could be a great way to introduce yourself to 91 potential long-term clients.

However, it's still too early to call it "hourly rate hacking" as the original blog post does.

There's no evidence that the method will work after the rate increases above the standard market rates. A few hourly slots per day, plus travel is very inefficient use of his time. He seems to be a competent developer with good business & design skills, and could probably book projects at $100-200/hour for full weeks at a time, instead of a few hours now and then for an average of $45.

comment 13y ago · link · parent

The best freelance clients I have worked with have been from personal recommendations. Tell every friend who works in software that you are free for work - many of them will be approached by people looking for developers, and can refer you.

Also, look for technology-specific mailing lists, forums and job boards (and stackoverflow careers). The people looking for developers there tend to be more familiar with the process, cost and expectations of hiring a developer than people on "outsourcing sites".

comment 13y ago · link · parent

Teams are not formed randomly - competent people like working with other competent people, and underperformers find safety among other underperformers. Even an impersonal evaluation of entire teams as a whole would be more accurate than a 10% firing quota for every team.

comment 13y ago · link · parent

Some potential scenarios are:

* A security or encryption issue discovered in the protocol that leads to compromise of most wallets. The bug could be fixed, but existing balances and trust may be wiped out.

* Government regulation that makes it illegal to exchange bitcoin for cash or goods at legal businesses. It may remain as a niche underground thing, but even drug dealers need a way to eventually buy something else with their bitcoin.

* Insecure exchanges that make it impossible to exchange bitcoin for cash. Exchanges seem to get hacked and disappear even without government "help". The result is the same: people need a way to use bitcoin for it to have any value.

* Another digital currency becomes more popular.

* Someone with enough computing power takes over the network. This could be a government agency aiming to shut it down, or perhaps a back-door in ASIC miners.

1
131415
19