1,632 karma · joined May 4, 2012 (14y ago) · 268 submissions
comment 11y ago · link · parent
comment 11y ago · link · parent
comment 12y ago · link · parent
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
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
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
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
197.
Researchers have identified how the ‘wall’ around cancer tumours functions(cam.ac.uk ↗)
97 points · by codebeaker · 12y ago · 18 comments
comment 13y ago · link · parent
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
comment 13y ago · link · parent
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
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
comment 13y ago · link · parent
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.