Better HN
topnewbestaskshowjobs
Log inSign up

codebeaker

1,632 karma · joined May 4, 2012 (14y ago) · 268 submissions

http://lee.hambley.name/ http://www.capistranorb.com/ https://www.harrow.io/
Submissions

comment 13y ago · link · parent

I have no affiliation to the site linked, actually it was the first result that wasn't about.com.

Following some of my comments on the “Meals/Feels” thread (https://news.ycombinator.com/item?id=6601091) earlier in the month, a number of people contacted me mentioning that they also had these symptoms, but had never put things together.

Showing up for work at 8:30 and being useless, frustrated and unable to focus by 10:00, probably that bagel you ate for breakfast.

I just wanted to put out a link in a place where people might run into it, that might just improve your quality of life!

Whilst I can't stand by suggestions to go to a caveman diet, I can stand by advice to experiment with your food, and be aware that being short tempered, unable to focus, and a menace to your team might be related to something as innocuous as your daily bread.

212.

Struggling to concentrate?(glutendude.com ↗)

5 points · by codebeaker · 13y ago · 2 comments

comment 13y ago · link · parent

I might also add that I didn't realise that always being in a negative mood, having no drive to proceed with life, having no ambition, not sleeping well, etc seem like the characteristic "early 20s" mood that most people "go through"… I didn't recognise until after I became healthy what healthy really feels like.

Now I run 15-20 miles per week, I'm 30Kg lighter than when I had allergies, and since my diagnosis I've had the drive to found my own agency business and (almost) get a SAAS platform out of the door.

comment 13y ago · link · parent

Meat, rice, fish and salad (without dressing… vinegar and dairy based are pretty much all you find anywhere; I eat a lot of olive oils and citrus juice)

Nothing indian (all creamy, milky), very few asian recipes (i.e no sushi, I'm intolerant of the green stuff they roll it in), anything with coconut milk is a decent start.

Most "egg replacement" for baking contains stuff that I just can't eat, so anything baked is out of the question.

I was fortunate when I moved to Germany, my company's recommended doctor was the only one I could find who spoke english, and he was a sports physiotherapy specialist with a side training in homeopathy; for all that I believe it's quack science, the holistic approach to "maybe you have bad skin because there's something wrong somewhere else" was a valuable insight.

My health insurance paid the first €200 in blood testing (€50 basic panel, 150 wide panel), having established that there's no "cure", they won't insure the condition any further, but that's OK.

comment 13y ago · link · parent

As someone who suffered for 7 years being treated for dermatitis when I had chronic undiagnosed IgE (https://en.wikipedia.org/wiki/Immunoglobulin_E) issues, this looks perfect.

The effects of my intolerances as they are referred to is that whenever I ingest anything containing (almost 160+ other things) eggs, dairy, cereals, fructose, vinegars, anything with Soy/Tofu, apple skin, tomato skin, yeast, and over ripe bananas I have serious mood changes, not to mention GI issues, and suffer with dermatitis on my face and arms. It is also characterised by bloody boils deep in the skin in fatty (I'm 70Kg, 183cm and 13% body fat, so that's relative) areas of my body.

This went undiagnosed for so long, that I never counted on a cure, and, in fact there isn't a cure, my body has become allergic to those foods for some reason, and eventually it may be that my immune response subsides, and I can once again enjoy them.

(Note about how thrilled I was to hear about Soylent, and then how dismayed that they decided to hone in on the cheapest possible recipe, at the expense of the "Pea" protein variant which might have been suitable for me)

I think the meals/feels app could make a difference to any hackers who take the time to use it.

For anyone else, who thinks they may have allergies/intolerances similar to mine, beware that topical allergy testing won't catch it, but a focused blood panel for IgE response might. As far as typical reaction times go, GI disorder can set in anything from instantly, to 24 hours later, and the effects on my mood, and skin, etc have lead time of anything from 24-100 hours, and a recovery time of as much as three weeks.

comment 13y ago · link · parent

Tom's article is a really great run down of all the awesome things that we built.

comment 13y ago · link · parent

Tom `seenmyfate` Clements has been helping to support me over the last three months when I've been very burned out, and has really taken my vision for v3 and made it reality where I wouldn't have been able to. He'll always be around taking care of Capistrano as his company grants him some 20% free time to work on it, I trust him implicitly, and he already has deploy and unregulated commit access.

Tom, if you are on HN, you're the only reason this project has been able to come as far as it has. Thank you.

comment 13y ago · link · parent

Regarding Harrow [1] bretthopper, I absolutely am, and this is where I want to focus my work, and to be able to build a company around deployment best practices and Capistrano.

Regardless of frameworks, and of technologies and platforms, I believe if I can take the load off myself with Capistrano, by turning it into the open source component of a best-practice company, and build teams of passionate, skilled support engineers, then I'll be where I want to be.

Unfortunatley Harrow would suffer if I give up on Capistrano, as part of the promise of Harrow as a SaaS is that it's all guaranteed to stay compatible, and work as we've all come to expect, just with improved workflow, etc...

([1] http://www.harrow.io, please excuse the missing graphic placeholder I've not updated the landing page in some time as I've been focusing on building the product, and the landing page performs really well without that graphic in place)

comment 13y ago · link · parent

There's a number of problems, but foremost is that there's no good way to "roll back" assets, and there's no concept of keeping assets that might be used by old versions of pages cached in CDNs, when they have been replaced by newer assets. This is a problem of the manifest system, and of the `assets` directory always representing the current newest state, not the collective state since the beginning of time. Maintaining state from the beginning of time would bring it's own problems, thus many of the workarounds about tracking old, and new assets are time consuming and sub optimal, and unfortunatley people need them. There's a cap task which touches `mtimes` of all referenced assets, which can typically take 5 minutes to complete. It's naïve, and stupid, but it's the only solution (that we could come up with) to a real asset pipeline problem.

I'm also of the opinion that compiling assets in production as a part of your deployment process is insane, there's so much magic in the Rails asset pipeline that it's not uncommon to turn up bugs where tables don't exist, and the rails app can't initialize, or some javascript runtime environment isn't found which can leave your deployment in a broken state.

I'm firmly of the opinion that assets should be compiled and checked in, but then of course you run into problems with rails serving those in development mode, rather than the development files.

All these issues are fixable, but they're all indicative of tools that aren't quite mature yet, and as Capistrano sits on the boundary of where these problems come to light, it seems to fall to us to deal with it, and to educate people on what they ought to be doing.

Education is no problem, I really believe that the de-facto standardisation of Rails-like deploys (i.e timestamped releases, with common linked directories, and a symlink to the current active timestamp) is an excellent result for knowing what to expect in an environment where there's hundreds of ways to get Rails apps running, but it's still not as smooth a process as it could be.

I'm familiar with at least one project that's been re-written in Scala and Java because the previous version was prohibitively difficult to deploy as it was in RoR. (GrayLog2, to namedrop them)

comment 13y ago · link · parent

As I wrote in the mailing list post, it'll be made mainstream this week, as I think it's a general improvement in all areas, at least it's faster, easier to debug, looks and works better, and has better out of the box compatibility with Rails (3 and 4).

comment 13y ago · link · parent

The motivation behind the rewrite was in order to bring the project to a state where people who weren't intimately familiar with the internals would be able to contribute.

The rewrite is a ground-up re-think, but it's leaning on the best of what the open source community has come up with in the last 5 years, and leaning heavily on all the best practices we've learned as a community.

The rewrite was also a way for me to say "this isn't a rails tool anymore" (of course, those of us who knew Capistrano well could always cut out the core railsisms and use it for deploying pretty much anything). And a way to say "look, this tool isn't magic, it's an orchestration tool that glues together some other libraries".

Part of the rewrite was to split things into components, so that when people have a version that works for them, bug fixing changes to rvm or rbenv, or other extensions don't have to risk breaking the core functionality. Stability through modularity.

A way for me to pay my envisaged debt to society for the good things that being the custodian of such a widely used project has brought me.

Many of the v2 releases were broken as I tried to let two people help me with maintainer ship, and both of them went a little nuts accepting pull requests, and a lot of things got merged that probably weren't quite upto scratch, or caused subtle problems, which is a huge problem of Capistrano.

I'm grateful to both of them for their bravery, and willingness to try and help, but maintaining it has been such a hard task. A balance between maintaining compatibility, and not breaking people's production environments, and pushing the tool forwards, and improving it.

comment 13y ago · link · parent

I'm the OP of the mailing list post, and have maintained Capistrano for the last 5 years. I'm passionate about providing great open source tools, my business and reputation are built on Capistrano and I don't want to give it up, but it's destroying me.

223.

Time to hand over the reins before Capistrano costs me my youth?(groups.google.com ↗)

472 points · by codebeaker · 13y ago · 240 comments

comment 13y ago · link · parent

Whilst we're bashing them for IP theft, can anyone tell me why they're using the Github Octocat logo for their “Freedom” point? It doesn't appear to link to Github?

comment 13y ago · link · parent

I happen to know (no time to look up the patent number now, sorry) that this is covered by a US, and EU patent. A friend of mine lost more than €30,000 to being sued by a firm that already holds the rights to this.

I hope he figures it out before they start trolling him. My friend's “invention” also covered a product on beer-mats and serviettes that would change colour under the same circumstances, unfortunately the patent he was facing down was so broadly written that it covered basically anything that could be used to detect daterape drugs in a drink by indicating it somehow.

Surely the patent could have been battled, but he wasn't in the financial position to do so.

comment 13y ago · link · parent

Actually I believe the containers are implemented with something similar to http://lxc.sourceforge.net/ which is more akin to a process level chroot, and kernel resource limits. This also the same technology that fundamentally underpins Docker and some other similar super-lightweight virtualisation technologies. With lxc and buildroot, for example it's trivial to create a self-contained 20Mb image for running a PostgreSQL server. With all the security guarantees [sic] that would be provided by paravirtualisation.

comment 13y ago · link · parent

Is this really HN worthy? It must be a pretty easy feature to implement with their slug/container workflow. With technologies such as Docker pushing them, Heroku ought to find a way to lower their prices. This at least adds value, but no magic here.

comment 13y ago · link · parent

Tesla deserves to be the leader in the future of car manufacturing, they're a company that understands what it is to create a great product, execute well, and to care about their customers. It's almost impossible to believe it's from the same background as PayPal who have one of the worst (anecdotal) customer satisfaction records I have ever seen. But, great news for Tesla.

comment 13y ago · link · parent

I was really hoping that someone would come up with a Go language "all-in-one" executable, including resources, etc, that could be started and bound to a port and would "just work" after Sameer Ajmani's video at GoogleIO about advances Go concurrency patterns, he implemented the collector side of a feed reader, and open sourced the code under a liberal licence. That together with a resource bundler such as https://github.com/jteeuwen/go-bindata to avoid even having to take care of the HTML/CSS assets seems like a potential big win for these middle-of-the-road complexity web apps.

comment 13y ago · link · parent

No clouds over Europe... shame.

comment 13y ago · link · parent

The phraseology "recharge your model S" leads me away from the notion that it's it's a swap, perhaps they've found some way to treat the batteries as super capacitors?

comment 13y ago · link · parent

Also, there's a problem:

> cat /usr/share/dict/words | ./pipesock 2013/06/01 22:35:59 Read Line Error: EOF 2013/06/01 22:35:59 Read Line Error: EOF 2013/06/01 22:35:59 Read Line Error: EOF 2013/06/01 22:35:59 Read Line Error: EOF

This happened when trying to do "y | ./pipesock", amongst other things, perhaps you should silently ignore stuff that isn't streaming in line-based.

FWIW the websocket library now installed, I get a single reading in the html frontend, the first message I broadcast.

Nice idea, needs a lot more work!

comment 13y ago · link · parent

Why does this start to work once the websocket library is "got" (sic) shouldn't go refuse to build this unless the library is there?

comment 13y ago · link · parent

So no installation instructions, the ones here don't work (it's not compiled), and it doesn't seem to work (tailing a log file that is receiving new content once per second `while true.... date > mylog; done` - /buffer.json always empty, /flush does nothing except echo "Flushed" and the web interface apparently does nothing...

comment 13y ago · link · parent

I always understood that the company receiving the money is supposed to pay it's own fees and use a lawyer that it trusts, without taking money from the VC on grounds that if you use the VC's money, to pay the VC's lawyer, on the VC's terms, you aren't necessarily getting a fair deal. I think paying your own legal fees to an impartial third party is a prudent investment. Perhaps I'm just naïve.

comment 13y ago · link · parent

Plex and XBMC would be ideal candidates for this API, each user could easily maintain their own pointer to the data set, and their synchronisation would be faster and more efficient than it is right now.

There's also a provision with the API (for personal use, so far) which turns a filename (and metadata, if you have it) into a JSON hash (or msgpack, of course) of the episode, show and season, etc.

This is also a potential avenue for being more widely made available.

237.

Ask HN: Where does a hacker in Germany go to get access to a good trading API.

3 points · by codebeaker · 13y ago · 1 comment

comment 13y ago · link · parent

One would be able to look up a complete representation of the current known state of Mad Men, all known airing dates in all countries, places where it might be available to (legally.) steam in your jurisdiction, etc, etc.

These are all the features of a normal API. As well as access to the above, you could (selectively) register for updates to be pushed to a URL of your choosing when there are additions or amendments to the data held about the show. (or all shows, or all shows matching your criteria, etc)

comment 13y ago · link · parent

A word to the critics (thanks!), the copy has been modified to be less rhetorical and to be absolutely gender neutral. I've also switched away from Raleway as a body font, it looked a lot better on a retina display than on something with a more widespread resolution.

comment 13y ago · link · parent

The intention is to provide an API that requires little or no work on the part of the service relying on the data. Having had to work with thetvdb's API I can attest to having to download ~100 XML files (all languages…) in order to determine if anything is new, their API is often 2/3 days out of date, some internal caching problems and problems with scaling, they only deliver XML, poorly compressed (owing to key structure).

I believe services such as trakt.tv and similar should be able to do one thing, and do it well, offer a to-do list of shows you should watch, and summarise what you have watched. And they shouldn't have to write thousands of lines of code to interface with an API for what's actually quite simple.

In my (admittedly contrived, and not representative) benchmarks the JSON representing a typical TV series is 76% smaller, and parses 56% faster (that is probably representative of years of research and work into making fast XML parsers, and JSON being a relatively young format)

Also, I find it strange that they don't provide a notifications API or changes stream.

I don't want to call thetvdb specifically, many API and data providers make the same mistakes, if one can call a missing feature a mistake. (TradeDoubler, many financial APIs, etc)

Another departure from typical API design is to accept that many movies, shows, books and so forth are provided simultaneously (or, close to simultaneously), world wide, in multiple languages.

Therefore any API that purports to represent them must acknowledge that English isn't the default language, but it may have been the language in which the media was authored, and that airing dates, shipping and printing dates are worthless without timezone and language information.

My goal is to make an API that is easy to use, and can open the creativity of the community up, by allowing something that is now rather difficult to become easy.

To call out some of the problems I've tried to solve: timezones; networks; outlets (web); airing dates vs. availability dates (locale specific); actors vs. hosts vs. cameos; returning series under the same name; specials vs. pilots vs. shows about a series; treating different languages with equal weight; encoding (utf-8 naturally); gzip; msgpack... I'm sure there are many more which I've forgotten, but that's the gist of it :-)

1
56789