2,192 karma · joined Aug 8, 2012 (14y ago) · 545 submissions
comment 13y ago · link · parent
* The purpose of copyright is to encourage creation of more works of art than would happen without it. In return, the rest of society agrees to grant the author a limited-time exclusive right for the work. Shorter (10-15 year) copyright terms should be sufficient to make a profit from a book/movie/software. After that, the authors can publish new or updated works to continue making money. There is no way the Disney corporation's copyright on Mickey Mouse character is still encouraging the long dead Walt Disney to produce more artworks.
* The purpose of patents is to encourage both more invention, and detailed publication the methods than would happen without it. In return, the rest of society agrees to grant the inventor a limited-time exclusive right to use the invention. Patents which are obvious, or patents whose methods can be determined by looking at the final product or outcome do not bring value to the society in that transaction.
comment 13y ago · link · parent
Admitting to yourself that the project has failed, and "just one more push" can't rescue it, and shutting it down is emotionally difficult enough. Handing it over involves finding a suitable recipient, instructing them, transferring domains and accounts, and making sure the clients understand the ownership has changed. And refusing to answer requests for help or documentation over email can be impossible, especially if you cared about the project or its users. Without this documentation and knowledge, a code repository is of almost no use to anyone.
If someone is capable of walking away with zero documentation or help, they would have shut down a limbo project much earlier.
comment 13y ago · link · parent
But for a first experimental API, it's much better than having no info on who your users are besides an IP address pointing to AWS. And logging API requests to a text file and doing analytics manually with grep is much faster than setting up developer accounts.
comment 13y ago · link · parent
Yes, it could be spoofed or faked. But:
* You can detect honest, accidental excessive usage and follow up by email,
* You can block new email addresses but keep the API up for existing users if hit by a randomised bot,
* You can follow up with developers, and interview them to see what they are using the API for,
* There is an obvious way to get in touch with developers to tell them about API changes,
* And you can start out with this by just logging requests to a database/file/cache, without building a full "developer portal".
comment 13y ago · link · parent
If they published additional details, for example:
* filtering by country/city,
* filtering by age or demographics,
* "total money spent on apps" instead of active users,
then developers could be more confident in supporting 4.0+ only (and convincing their clients or employers to do so).
comment 13y ago · link · parent
* For example, if credit card details are stored on a separate service, then the web tier can be given only a "charge the card" API, instead of a full read access.
* Even if the decryption key is held in memory, encrypting the data on disk helps against accidental leaking of backups, physical theft of the servers. Or a hacker with limited skills who copies a database dump, is discovered from the unusual network load, and does not have time to fully investigate the system and extract the key from memory.
* If sensitive data is held on a separate service, but the web tier has read access to it - then the other service can impose rate limiting and unusual activity detection to block attempts to dump everything quickly.
* If the data is encrypted with the user's password, which is not stored in plaintext at all - then the attacker can at best only access accounts that log in before detection.
All of these still give an attacker full access, assuming they have infinite amount of time and skills. But for many practical scenarios, they can reduce the amount of compromised data.
comment 13y ago · link · parent
Consider the case with 100 brown and 1 blue person (+ guru). As soon as the guru speaks, the blue person knows their eye colour and leaves.
Consider the case with 100 brown and 2 blue people. After the guru speaks, both of the blue people still don't know their own eye colour - the guru could have been thinking of the other one. So both blue people stay on the island on the first night. The other one staying on the island is information to the each of the blue people. Because the other blue one didn't leave on the first night, they must be also unsure - and therefore they must have blue eyes themselves. Both leave on second night.
See also: http://img.spikedmath.com/comics/445-three-logicians-walk-in...
comment 13y ago · link · parent
* Install it with pip, the packages in your OS distribution may be out of date,
* Rename your numeric code module's .py file to .pyx,
* Use pyximport from the main script ( http://docs.cython.org/src/userguide/source_files_and_compil...) to have it compiled at runtime without any extra build steps, and then
* Start experimenting with adding a few "cdef"s (http://docs.cython.org/src/quickstart/cythonize.html and http://docs.cython.org/src/tutorial/numpy.html)
comment 13y ago · link · parent
The speed improvements are worth it given how easy it is to use, I have seen literally a 1000x speedup on a time-series data analysis script from adding about 10 lines of static type annotations.
The functionality I like best about it are:
* It can be used transparently without any makefiles or compilation steps. Add "import pyximport; pyximport.install()" at the top of your main script, and now every imported Cython-capable module is compiled on the fly at runtime.
* You can start out with no changes to your python modules. All libraries and features still work within compiled modules. Then you can slowly start adding static types to a few variables at a time. The annotated variables become very fast native C integers/doubles/functions, instead of Python objects.
comment 13y ago · link · parent
My experience with numerical algorithms in Python has been a 10000x speedup and 10x memory reduction by using Numpy arrays and C/fortran functions. And when Numpy doesn't have a necessary function, a few extra lines of static C types and on-import compilation with Cython has still resulted in a 1000x speedup.
"Optimizing Python" needs to look at the whole existing ecosystem of C libraries - to be useful the end result has to be faster than what's possible now, not just faster than pure Python.
comment 13y ago · link · parent
Where they really shine though, is scientific code that needs to do a bit more than numerical computation. I've tried Matlab briefly, and it was hell. Things like parsing strange text files for the source data, scraping data from websites, pulling data in from a SQL database, or publishing the computation as a web service are all easy with Python.
Spending a small bit of extra time on the core matrix code is okay to get the rest of the Python ecosystem and libraries (and even for loops that make sense).
comment 13y ago · link · parent
This way, users can review and maybe-read the newsletters once a week, instead of having them mixed with actually urgent emails from their family and "server is down" alerts.
comment 13y ago · link · parent
I use desktop computer (Mac Mini) in three locations, and I have bought spare keyboards, dual monitors and mice for all of these. My phone is already more powerful than the desktop. But even when I had a laptop, I never used it on the move - always plugging into docks with monitors and full-size keyboards.
It would be very convenient to have a single computer to set up and carry with me in a pocket, instead of having to either sync work and settings via "the cloud" all the time, or carry a backpack for the mini.
comment 13y ago · link · parent
An important point not directly mentioned in the article is: as you start doing more expensive consulting, you should also find new clients. Clients who do require the services and are willing to pay a premium for them.
While it's sometimes possible to charge a premium for a simple job, I find more honest to carefully explain the cheaper options (other freelancers, elance) to them first.
Setting up Wordpress could be "strategy" or 2 hours of sysadmin work depending on the involvement of the client. If they know that they just want a Wordpress setup, they could get the service for cheap elsewhere, and it would be appropriate to inform them of this before accepting. If they want a "website that my assistant can update", then choosing a platform for their requirements may be the experience in technical decision-making they are paying for, and actually setting it up Wordpress is a small part of the service.
comment 13y ago · link · parent
I don't think customers that who accept (and find value in) this proposal are necessarily fools. Writing code is a cheap commodity. Making business decisions is not, and development cost is inversely proportional to how precisely you know what you want.
A business owner who has made all the business and technical decisions, and approaches developers with extremely detailed photoshop mockups and specs can probably successfully get an app or website made for $10/hour on elance.com, and keep all the extra value.
A client who has made all the business decisions and knows what development they want on an approximate "outline" level needs to hire a 10x more expensive local developer who is willing to meet and push back on any technical assumptions. They are paying 90% for the decision-making expertise on understanding what they want, and writing code is a tiny part of the service.
A client who may see value in a $40000 website offer is one who has not or cannot make the business decisions themselves. They are paying primarily for the business or marketing strategy consulting, and the entire development side is a tiny part of the service. Perhaps the client should make these themselves to be able to use a cheaper developer, and keep more of the value - but if they can't, then an expensive offer may still be profitable.
comment 13y ago · link · parent
The kernel is only a single part of a much bigger "Linux desktop distribution". For desktop users, work on good default configurations for all software, X (or its replacements), window managers, package managers, backports of security fixes to old software, and many other things that Canonical does are just as valuable as improving the kernel itself.
comment 13y ago · link · parent
Here is a list of root CAs in Firefox: https://docs.google.com/spreadsheet/pub?key=0Ah-tHXMAwqU3dGx...
Not just NSA, but all of those organisations can create a valid SSL certificate for mail.google.com, and your browser would accept it silently.
comment 13y ago · link · parent
As a resource for cool ideas, there are hundreds at http://www.cl.cam.ac.uk/teaching/acs_projects/#topics (click on the names of the research groups at the bottom of the page). Most of these are intended to be 33% of a year's work at 4-year undergraduate or 1-year masters level.
comment 13y ago · link · parent
A sentence "all skeptics are assholes" does not mean that the speaker literally asserts that the conditional statement "you are a skeptic → you are an asshole" is true. Someone saying "you are an idiot" to me does not mean that they literally assert that I have been medically diagnosed with IQ less than 30. In both cases, it is more likely that the true meaning of the sentence is an subjective expression of frustration at some behaviour they experienced.
There is no useful place for pointing out logical fallacies by name in a real discussion among people. Instead of rejecting "arguments", a good discussion requires asking questions to understand each others' viewpoints, empathising with each others' concerns, trying to convince the other party of your viewpoints in a persuasive way, and being open to changing your own viewpoint. Pointing out a logical fallacy by name will not persuade the other party, any other readers/listeners, nor help you learn anything about their actual views.
If somebody says "you are an idiot", the interesting topics of discussion are: what did I do, and whether what I did was wrong. Debating the logical truth of the literal sentence is completely pointless, because the literal interpretation of the sentence is wrong.
comment 13y ago · link · parent
This is precisely why Google Reader is a valuable tool. I subscribe to the belief that if an article is not worth reading 2 weeks later, it's not worth reading at all.
Facebook, Twitter, HN and Reddit require checking multiple times per day to make sure you don't miss good posts. Google Reader lets me review blog posts once a week, and prioritise reading by the source, not freshness of the content.
comment 13y ago · link · parent
In any case, having access to your source code will not be an advantage in competing. Building new products is hard because you are at the time also figuring out and changing what to build.
If your idea is any good and has proven moderately successful, there will be competitors. Competitors who are not your co-founder and have never spoken to either of you, but just see your product and decide that it would be cool to have it in their city, country or business niche. And they will spend only 1/10 of your efforts on development and end up with a more maintainable codebase, because they have an example of what to build right from the start.
comment 13y ago · link · parent
> Since the business has not picked up, all the worth that my startup has is the source code.
I believe this worth is zero. Unless you have built a solution to a cutting-edge, patentable Computer Science problem (for example a face recognition algorithm that beats all competition), the source code itself has no value.
General web/mobile/desktop app source code is too specific for the particular purpose to be useful for other apps - and a competent team could rewrite the common parts faster than it takes to understand and adjust existing code. You will not find anyone willing to pay for the source code unless you are also selling patents, the team or user base along with it.
comment 13y ago · link · parent
0. The user must be already logged in to the website on their desktop via any conventional means.
1. The website generates a QR code with a hard-to-guess URL, unique for the user.
2. The user reads the QR code with their phone, and opens the link in the mobile phone's browser.
3. The URL is unique for the user and hard to guess, so the user can be logged in their mobile browser without asking for an username and password.
comment 13y ago · link · parent
Options are not shares. They are a contract that allows you to buy shares. When options vest over time, you become eligible to buy actual shares. In your case it seems that the options do have actually vested: but you still need to pay $150k out of pocket to own real shares in the company.
This is not an issue when the company gets acquired, because you can buy the shares and then sell them on immediately, pocketing the difference.
In summary this means that your choices are:
1. Stay employed with the company until it gets acquired or goes public. If the final valuation is over $30m, you can at best earn (X-$30m)*0.005. For example, at a $40m sale, you could make up to $50k (minus taxes, or the investors' preferred share payouts). If the company is sold for less than $30m, the options are worthless.
2. Leave now, and just before that spend $150k of cash to exercise the options, buying shares. The profit calculation is still the same, but in addition you have to risk actual cash.
3. Leave now, and don't exercise the options.
The second choice is extremely risky, especially when you don't have $150k to blow on investments, or when you don't believe that the company's value has increased far above $30m.
comment 13y ago · link · parent
comment 13y ago · link · parent
It's important to note that anonymous posting does not mean that the content is illegal, only that the publisher wishes to remain unknown. I'm sure SDF takes down any copyright infringement or other illegal content promptly.