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 11y ago · link · parent

Hi @mattdeboard sorry that you were disappointed by the landing page, I'll pass your comments on to the marketing guy who is responsible for that page. As I wrote on another comment here there's nothing that people can try yet, we're still pre-alpha, and our team agreed not to submit to HN until the product was ready. We expect Q1, naturally the marketing man wants the "hookiest" landing page he can come up with, but I'm not comfortable with pushing that page in it's current form to any technical circles. It exists mostly for drive-bys and as something to show to potential investors and partners.

comment 11y ago · link · parent

Hi, author of Harrow/Capistrano here. Actually there's a video on the way, since we're still pre-alpha, so that people can see the (pretty rough) workflows. There's a reason we have't submitted the tool to HN ourselves yet. Yesterday we conducted some Tweet/Survey about Capistrano that we launched via @capistranorb yesterday, it looks like cnolden wanted to pick up some HN karma! Sorry that you saw (what I consider to be) a bit of a (technically) disappointing product landing page.

comment 12y ago · link · parent

I'm not convinced that "cron as a service" (standalone) is a valuable enough proposition at all.

I would guess if people are signing up, and you're not able to convert them there's a disconnect between your understanding of what that means, and theirs. (That said, you have a demo video (gif?) on the homepage, so I imagine that would help.) From the video it's not clear what you did, you posted a cron expression and a URL, and got back a load of null data in the response, and then the gif went dead at the next prompt, I waited a while to see if anything came up, but it was stuck at a blinking `$ |` prompt.

Full disclosure, I'm working on something http://www.harrow.io, which is a more general CI/CD service, part of which might mean running things on a schedule, we have alpha clients doing just that; however our case is a bit stronger, since we already understand their environments, and have keys and secrets in place to actually do useful work on their infrastructure, and send emails, and integrate with cc menu if things are going wrong.

comment 12y ago · link · parent

Hasn't this been reposted often enough? https://hn.algolia.com/?q=flatuicolors.com#!/story/forever/0...

comment 12y ago · link · parent

My first thought after reading this, being a couple of weeks away from owning my first home with land, and a roof terrace was… is it safe to keep bees on a 3rd floor balcony where there's occasionally going to be people? The terrace is 16 square meters, and right outside what will be our bedroom.. but I'd love to keep bees. Especially since the evidence suggests we need them, and they thrive in cities.

comment 12y ago · link · parent

Is there a modern book which targets a current QT? Last time I was looking (and on Google just now) I wasn't able to find a book that took someone from never having used QT to shipping something.

comment 12y ago · link · parent

I came here to say that, MyTaxi is great, and most of the drivers love it too.

comment 12y ago · link · parent

I'll probably be down-voted to hell, but whats with all the redirects that make "back"ing out of the site back to HN so painful, I counted three redirects before I landed on the final page, and had to long-click my back button to avoid the obnoxious redirect trap. Looks like your tracking (I assume) might drive people away.

comment 12y ago · link · parent

The name makes it sound like they're using unsound environmental practices, and shipping out boards full of who-knows-what.

comment 12y ago · link · parent

I came here to say this. Especially when the name doesn't quite roll off the tongue. Inconvenient, and I didn't bother messing with the URL after clicking the blog's title image (which is just the product name…) and the link in the footer.

comment 12y ago · link · parent

My first observation is that in most of the apps I've worked on keys are composed by constructs such as `t :"something_#{from_the_context}"`, which I assume this tool will miss. I'd much rather see a tool that tracked i18n hits in a k/v store, and used that in addition to the static analysis.

Don't let this discourage you, your work looks great (props on the correctly tabulated output!) - but it would never work for me in what I think is a reasonable usecase :(

192.

A tiny experiment to build DOM drive JavaScript components(dhamidi.github.io ↗)

1 points · by codebeaker · 12y ago · discuss

comment 12y ago · link · parent

As the author of Capistrano, we leant on Rake a great deal in the new version, Jim was amazing in helping us through some of the weirder parts of the integration, and always happy to discuss the pros and cons of our planned approaches. I hope that the community can select someone to replace him. He's done great work for the community.

comment 12y ago · link · parent

Trello, that tool my company has been successfully using for software development for years, which already supports vimish (forgive me!) movement and edit keybindings?

I'm not seeing the point here, Trello is excellent, and already great for software teams.

195.

Dell cooks up an Android PC on a HDMI stick(zdnet.com ↗)

3 points · by codebeaker · 12y ago · discuss

comment 12y ago · link · parent

Sorry to hear about your father. These medical and technological advances should serve to make us realise that whatever the state of the politico-economic world, we live in pretty amazing times. I hope that the curiosity of humans, and our drive to learn beats out the system in the long run.

197.

Researchers have identified how the ‘wall’ around cancer tumours functions(cam.ac.uk ↗)

97 points · by codebeaker · 12y ago · 18 comments

comment 12y ago · link · parent

It certainly doesn't help that no matter where I seem to go on their site, I always come back to the video. I couldn't find the demo, or any screenshots of what it looked like, or what components it contained. So much for good design.

comment 12y ago · link · parent

It's possible that if you have packages that understand flags (config package, with flags in init(), for example) that if you include it after the testing package, or before. One of them won't accept flags. (because flag.Parse() has already been called)

comment 13y ago · link · parent

Great catch, thanks - we're not pushing the homepage too hard yet :) so my pride isn't too badly hurt. Rolling a replacement soon!

comment 13y ago · link · parent

From someone who's betting the farm on writing a web application in Go (https://www.harrow.io/).

We've chosen Go for two really significant reasons: a) to reduce attack surface area and b) to enable us to distribute binaries to customers who want an enterprise/firewall install inside their own network.

Speaking about surface area, we've reduced the amount of framework code in stack (rails, gems, etc are all off the table) to zero, and we've reduced the app paths to a few tens of lines of code, in most cases.

Whenever one trades off a framework "to make things more secure" one has to be sceptical, there's a massive scope to introduce SQL injection, XSS and other nasties. In Go, in our case this is fairly limited. So take that reason with a pinch of salt if you aren't building a VERY well defined app with VERY small and skilled team. I don't expect this to scale well.

The second part is also a niche value, whilst it will have some benefits for us running our hosted version of Harrow, it'll have more profound benefits when we can sell binary installations to customers.

Finally, learning how to build applications in an API centric manner, without the crutch that is Rails has been interesting, and has made us all better programmers, we have a more interesting architecture now, and are making better use of our tools (we're leaning heavily on PostgreSQL, triggers, stored procs, LISTEN/NOTIFY etc) and we have a faster system.

On the flip side of things, timing attacks are now really something we have to be mindful of. For instance the login endpoint returns "404 Not Found" regardless of whether it's an incorrect password, or the account doesn't exist. Except, interestingly we're using bcrypt (we're switching to pdbfk2 before the public launch) we need to look up the user before we can hash and verify the password. Meaning we respond in < 1ms when the user is not found and 4ms when the user is found, but the password is incorrect. (and 4ms when the password is valid). This also applies to a lesser extent in responding with "404 Not Found" when trying to snoop on someone else's project/logs/build/etc. The same way they Github does. But it's less critical there as there isn't the artificially long password hash comparison step.

All told the decision to build in Go has made the development of the project slower, but has in my mind at least lead to a better quality of software, with things that don't typically show up in Rails/et al projects (foreign key constraints, triggers in the DB).

Of course all these tools are sharp weapons if handled incorrectly, and testing triggers/functions in the database can be a nightmare from a unit/functional testing point of view.

We've avoided technology proliferation (the entire stack is Go, and PostgreSQL, with worker nodes which rely on LXC). The entire application uses three packages not taken from the Go standard library. (db driver and bcrypt library)

Ohh, and our test suite compiles, and runs (all of it.) in less than three seconds. That hasn't hurt much, either.

202.

Ask HN: What is the current state of the art in time series storage?

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

comment 13y ago · link · parent

Thanks for taking the time arnehormann, I assumed it would be split into packages at least. But I'd much rather see simple extensions that add setup/teardown, and maybe something that demonstrates how to replace the Test_main function (whatever it's called) for modifying output, probably it's all in here somewhere! Thanks!

comment 13y ago · link · parent

Whilst this looks really neat, given the relative immaturity of testing frameworks in Go, I'd have preferred to have seen something to solve part of these problems individually.

Big, complex frameworks such as this are anti-Go. This is bringing notifications, a new DSL, file watching, and whatever else.

I haven't reviewed the code, but it seems a shame somehow to lock some useful features up, with some fancy stuff which isn't opt-in-or-opt-outable.

Props to the authors, it definitely looks cool, but I can't help but think this, and the "Cucumber for Go" posted a few weeks ago have missed the point.

There's decently documented reasons why the Go testing package is the way it is, for a number of reasons (of varying validity). I tend to trust the core team of a language (at least until we've exhausted all the capabilities of the the stdlib and std tools)

205.

Ask HN: Book to learn about investment vocabulary?

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

206.

Ask HN: What was the name of the Mathematics book pitched at programmers?

3 points · by codebeaker · 13y ago · discuss

comment 13y ago · link · parent

> Since 1Password 4 it is possible to have multiple vaults - one of which I share with my colleagues via Dropbox. That way, everyone has access to the passwords if they know the master password for the vault AND have access to the shared Dropbox.

My co-founder and I switched to that today, rather than me being the "gatekeeper", feels much better. I'm a dev, he's a marketing guy, and it works perfectly for us. 1Password is the best $35/head (With volume discounts available) you can spend to keep things safe and secure.

208.

Formerly GitHub acquired startup Gaug.es recently re-acquired.(fastestforward.com ↗)

2 points · by codebeaker · 13y ago · discuss

comment 13y ago · link · parent

We're building something similar for https://harrow.io/ which acts as the secret store, it's a Redis API compatible database with a strong auditing layer, and baked in crypto, it requires a single key to start and unlock the server, but we didn't know how to split the key to keep the secrets out of a single dev's hands. Now that we do, we'll build something based on the SSS algorithm and YubiKeys (which we use for all other tokens)

comment 13y ago · link · parent

For what it's worth this is a decent approach for naïve applications such as a contact form or similar.

This doesn't really work when you get into the kind of validations that are really important in web applications with multiple users, the canonical example that springs to mind is email uniqueness validation.

If one lets the database err out with a constraint violation, and bubble the panic (thus 5XX) up to the browser, that'd be a terrible user experience.

As such I have the concept of domain errors in my application, they have the structure `map[string]string`, and are related to a domain object (User, Message, Project, etc). The package is `myapp/domain/errors`, and `domainError.ValidationError` is a concept shared by my persistence layer, as well as http handling layer, when a given entity is to be persisted, the backend might return a `domainError.ValidationError`, or there may be a legitimate (connection lost, for example) error, so they are handled through a late call to infer the `err.(type)`, and switch modes based on whether it's a validation error, something more fundamental, or simply nil.

Separating the notion of a validationError to something that can be propagated through your own microframework scales much better than this ad-hoc mechanism. That said, the OP is right that this works in this case.

1
56789