1,632 karma · joined May 4, 2012 (14y ago) · 268 submissions
comment 13y ago · link · parent
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
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
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
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, 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
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
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
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.
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
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
comment 13y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
> 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
comment 13y ago · link · parent
comment 13y ago · link · parent
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
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
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 :-)