1,632 karma · joined May 4, 2012 (14y ago) · 268 submissions
comment 13y ago · link · parent
I fear that existing APIs, through design and coincidence fail to address the needs of flexibly covering media of all types.
Join the list, look me up, or feel free to contact me to discuss
comment 13y ago · link · parent
Similar services: * Web: trakt.tv, watched.it, watched.li, gomiso.com, getglue.com * Android: TV Series, TV Show Favs, Twee, DroidSeries, MyEpisodes
I don't think that trakt.tv is really competing on an API level, but the data from openmedia.io would make building and maintaining a TV and movie tracker trivial.
comment 13y ago · link · parent
@theallan - It depends whether that would be a competing service under liberal interpretations of the law, when the legal chap has drawn up the API permission guidelines, I'll be sure to notify the mailing list. Under German law we have to be quite explicit about granting permission, but the beta list will be notified of the full terms of usage before the API opens. (My gut-feeling, no problem with using the data to back an app, that's sort-of what the data's for!)
comment 13y ago · link · parent
A stack-overflow inspired reputation system will reward community members to contribute translations, new shows, movies and corrections.
Background workers interface with EPGs, other APIs and streams of data from other sources.<p>An image proxy server means openmedia.io will do the heavy lifting delivering images in the dimensions that you want, backed by a speedy CDN.
245.
A fast, modern API for TV, Movies, Podcasts and more(openmedia.io ↗)
35 points · by codebeaker · 13y ago · 39 comments
comment 14y ago · link · parent
With that said, props to the designer for working on a solution to a difficult problem, but perhaps more domain knowledge would have lead him to a more suitable solution
249.
Why doesn't Ruby include class reloading as a language feature?(stackoverflow.com ↗)
1 points · by codebeaker · 14y ago · discuss
comment 14y ago · link · parent
The `brew` executable knows about the correct flags to give to `--configure` within it's own context, so it rarely goes wrong.
comment 14y ago · link · parent
Thats a half-decent idea, nice smart move, and it looks like the authors motivations weren't dissimilar to my starting point for this query.
I do wonder however if it isn't slightly over-killed, `make install` must generate a list of commands to run, or there should have been some way to stream the output of `make install` to a text file, that it might be undoable ?
comment 14y ago · link · parent
That's a good point, there is no dependency resolution at this low-level; and with that in mind, there's probably a good way to uninstall things by hand, if you really wanted to.. thanks for the thought.
253.
Ask HN: Why do Makefiles typically not include an uninstall script?
5 points · by codebeaker · 14y ago · 9 comments
comment 14y ago · link · parent
I think that Rack is one of the best things that happened to the Ruby web-application community, and I'm a little sad that Rails is getting a "vendor specific" implementation of what should be a wide reaching feature. As you said at @scotruby though, Rails is in a unique position to direct the development on both sides, front and back end of development. (I believe in Scotland you were referring specifically to pushing backend queue implementors to meet the new Rails queueing API.)
I'm looking forward to seeing people building upon this for common use-cases such as streaming reports, CSV exports etc to clients, as well as the more `fun` stuff about live browser reloading (which guard-reload implements very nicely, actually, using a different technique)
And, I think it's fair to say that using a queue, and having a queue consumer (again, I think you demo'ed that in Scotland) isn't such a bad solution, at least as a more experienced developer I appreciate the moving parts, and it doesn't distract me too much from solving the problem at hand, and - most importantly it works.
That all said, I think this is a valuable change, and I thank you for your time in making it work, and coming up with an interesting test-case.
For what it's worth, my last word would be about a post on HN a few days ago, about streaming JPEGs, multi-frame streams often (apparently.) used for IP camera livestreams, that's quite an interesting case which could lead to this controller technique being used to do live image previews without page reloads in Rails with AJAX image upload.
comment 14y ago · link · parent
256.
This programs author is looking for feedback, let's help him out(github.com ↗)
1 points · by codebeaker · 14y ago · 1 comment
comment 14y ago · link · parent
The message queue to notify component X of changes to data in Y is endemic of badly designed systems; if system X cares about changes to data in Y it should be designed that (at scale) it caches the data for a suitably short time, otherwise reads-through to the canonical source.
This is a common anti-pattern, and I've seen it built by smart teams at epic scale (millions of uniques per day) and it is still un-manageable.
Feature toggles, hard and soft-failing, together with a baked-in assumption that APIs are asynchronous (that is, unreliable) at as many levels as is feasible is a good architectural move. (And does not necessitate an abundance of architecture over feature code)
Loosely coupled components that expect their counterparts to respond slowly, or not at all are easy to implement and even easier to test. (HTTP, if one wants to use HTTP as the transport medium, learned this, and offers 201 and 202 for CREATED and ACCEPTED).
In my own projects (and I work mostly on near-realtime billing APIs) we bake this assumption (and others) into every transaction, as try to be restful, and transmit the state, and a URL which can be used to get the canonical representation of any resource, at any given moment, and objects in all parts of the system are stateful, relying on the handshakes (accepted/created) (404, 406, 409) to avoid race conditions and to make sure our systems can handle downtime of any component (internal or external)
As a result, we have lightning quick tests, we are very confident in the system's ability to perform, and we have read-through caches which respect the transport medium's headers.
I suspect the OP is right, many do over-engineer the startup, but remember many startups appear to have an abundance of developer potential, until they don't. (Usually through bad design, not over engineering, the two ought not to be confused)
Perhaps I am biased by having seen it happening in a large company, completely unscalable architecture, and at a point as many "architects" as they had developers, desperately trying to keep the wheels turning.
comment 14y ago · link · parent
comment 14y ago · link · parent
30 minutes to bring back a homepage is pretty bad man, also your personal homepage http://paulbjensen.co.uk is returning NO CONTENT, is that on the same (bricked) server?
261.
Fixing slow development mode for Rails under OS X(lee.hambley.name ↗)
1 points · by codebeaker · 14y ago · discuss
comment 14y ago · link · parent
I question the need for yet-another-process-monitor, but I acknowledge that upstart, monit, etc are by and large overcomplicated and messy. They provide more features, of course, but they violate my interpretation of the unix philosophy.
I'm sure many people on HN will condemn you for writing this but, I for one am very excited to try it.
I had a similar idea of a daemon that would allow inter-process signaling for users to signal processes which shared their GID, to simplify web application deployment without relying on sudo privilege restrictions.
You may have just inspired me to take your lead, and just do it - a few hundred lines of C, and smart documentation have a lot of value as learning, experience, proof-of-concept and a discussion point; and that in itself is reason enough for this to exist!
comment 14y ago · link · parent
There's simply no valid reason (and hacked in a weekend doesn't cut it) to store units in Imperial, let me choose, as as an engineer I abhor laziness in building such sites, in 2012, more than ever I18n and L17n are more important than ever, even within sites only offered in English language.
(plus the maths on converting weights is more sane with metric units, I just don't get it)
comment 14y ago · link · parent
Of course Twitter have snowflake: https://github.com/twitter/snowflake and many other tools such as UUID[4r] - see an old discussion on HN: http://news.ycombinator.com/item?id=1396667
Of course I wanted sequential, small IDs, within a small margin of acceptable loss (if a save fails that ID is never used), that were't taking up a massive amount of space.
comment 14y ago · link · parent
This doesn't replace slugs, at all - the slugs are still generated, this replaces the SQL unique sequencer. The SQL sequencer which isn't universally supported, and has a different API on every platform.. many modern applications have Redis or a similar atomic structure store which could provide an interim solution, short of building a purpose built ticket provisioning system such as that employed by Flickr.
comment 14y ago · link · parent
It's worth mentioning that Rails doesn't encourage access to the underlying database features - and that stepping outside of the Rails/ActiveRecord results in features which are difficult to test and more difficult to maintain in the face of an ever changing API.
I don't care where the next atomic ID comes from, as long as it comes from a datastore that is fast, and that I can trust.
267.
High concurrency friendly IDs in Rails without SQL locks.(lee.hambley.name ↗)
26 points · by codebeaker · 14y ago · 16 comments