1,185 karma · joined Sep 11, 2012 (14y ago) · 379 submissions
comment 11y ago · link · parent
I'm surprised apple hasn't added crossfeed functionality to any of their audio products. I remember discovering crossfeed back in the early 2000s. My audio player was foobar2000 which had a plugin to do crossfeed. When I switched to Mac in the late 2000s, I had to go back to listening to music without crossfeed. It still perplexes me that with the explosion of high end headphone popularity that this hasn't become a standard feature for audio players.
comment 11y ago · link · parent
For instance, at my current job, I've been here for 2 years. I know the codebase pretty well. If an issue comes up, I can almost always get it resolved in a few hours or less. For this reason, I am currently a stack person.
On the other hand, when I first started this job, I didn't know the codebase very well, so it usually took me at least a week to complete a typical issue. Back in those days I was a queue person.
comment 11y ago · link · parent
comment 11y ago · link · parent
Secondly, I can never understand why some people get so offended by someone giving them a small amount of money. When you go to the coffee shop to buy a $2.40 coffee and are given $0.60 in change are you insulted by the cashier for thinking you needed that 60 cents?
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 12y ago · link · parent
Here is how I handle 'backups': I never do it. If the data is important, I make sure I store it on a device that is already redundant. If I take a photo that I really want to keep, I'll send it to dropdox or google drive or gmail or some place like that. Neither my macbook, nor my iphone, nor my linux laptop is the canonical living place of anything important. If any of those devices were to disappear, I will lose stuff, but nothing important. This system I've sort of subconsciously migrated towards over the past decade or so of hard drive failures and lost phones.
comment 12y ago · link · parent
1. Documentation - If I have to spend the next month doing trial+error to get your API working, thats no good. The best APIs have a page that describes how get up and running quickly.
2. Good error messages - When something goes wrong I want to know what went wrong. The error message being in a consistent format isn't that important, as long as there is a description of what happened. "Oops, an error occurred, try again later" is not a good error message.
Most of the stuff in this article is superficial stuff that I don't think matters.
comment 12y ago · link · parent
On the other hand, if the donation is big (say in the thousands USD), I can see why someone could decide to not accept the donation because they don't wan to report it on their taxes. An easy solution to this problem is to NOT TAKE THE DONATION. If you don't take the money, you don't have to report anything. The tip4commit site supposedly states if a developer doesn't accept a donation the money goes back to the 'project pool' where it will get donated to another developer on that project.
comment 12y ago · link · parent
comment 12y ago · link · parent
On the other hand, if its 2 months later and a fix still has not been issued, then it is safe to make the argument that the web is broken.
comment 12y ago · link · parent
106.
Ask HN: What has been your experience with self-taught engineers?
37 points · by freework · 12y ago · 43 comments
comment 12y ago · link · parent
This is the process:
1. Set up new server on new host (nginx/postgres/python/everything than needs set up) 2. Wait until 3AM or whenever traffic is at a lull. 3. Put up a message saying something about "server migration in progress". 4. Run pg_dump of the database on the old server. 5. scp that dump over to the new server 6. pg_restore that dump to new database server 7. Add an entry to new server's pg_hba.conf to allow connection from old server 8. change old server's app config to use the new postgres server (instead of localhost) 9. Move over A records.
The only downtime is the amount of time to do steps 6, 7 and 8. My entire DB is less than 1GB so it takes like 3 minutes to migrate.
This is made easy by me only having one datastore to move over. If the project has more than one datastore, it would probably take all day to migrate everything over.
comment 12y ago · link · parent
comment 12y ago · link · parent
The user constructs a query then sends it to a server, the server returns a list of items that match the query. For instance this may be a query:
INCLUDING artist contains "Pink Floyd"
and the results will look like this:
[ {"artist": "Pink Floyd", "title": "Another Brick In the Wall", "mimetype": "audio/mpeg", "album": "The Wall", "url": http://drive.google.com/blahblah.mp3" etc }, {"artist": "Pink Floyd", "title": "Money", "mimetype": "audio/flac", "album": "The Wall", "torrent_url": http://drive.google.com/blahblah.torrent" etc. }, {"artist": "Pink Floyd", "mimetype": "image/jpeg", "album": "The Wall", "url": http://drive.google.com/albumcover.jpg", "purpose": "album artwork" etc.} ]
You can add more to the query to filter out the content you don't want. The query language is much like a SQL WHERE clause. The query language is meant to be super simple and something your grandma could figure out.
The app then can retrieve the actual file from the url. The end user has no idea about the underlying file crap.
comment 12y ago · link · parent
What you said about a glorified metadata search is right on.
Some people share devices, but most people we share with use other devices.
I'm glad you think its silly because all great things have haters (bitcoin, justin bieber, etc.)
comment 12y ago · link · parent
Instead of the user supplying a filename/path for new content, they submit arbitrary metadata. When retrieving content, they query via a language called LQL (Library Query Language).
Basically the system works a lot like ID3 tags for mp3 files. 'Arbitrary metadata' is a lot like the fields for 'title', 'date', 'album', etc except they are arbitrary (you can use any set of key/value for metadata items)
Libraries can connect to other libraries. A 'Library' is much like an email inbox, except its one user per machine instead of multiple users per machine. Each library is 'addressed' via a domain name. All communication between libraries is done through HTTPS.
Traditional filesystems use a permission system that is very archaic. In 1960 it was common for there to be multiple users on one machine, but in 2014, everyone has their own machine. File permissions are useless, since I'm th one person who ever uses this computer. "Permissions" in the 2014 sense is which of my facebook friends gets to see these photos.
116.
Ask HN: Has anyone ever tried building an OS that doesn't use files?
33 points · by freework · 12y ago · 64 comments