Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
elithrar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
361.
▲
by
elithrar
12y ago
I've attacked this from a few angles myself—previously using reflection and struct tags - `min:"2", max:"50"` - but found it fairly inelegant (although practical). I wrote some good tests around it, that's for
362.
▲
by
elithrar
12y ago
I missed this at the time, but I think you read past what I said: I used "devops" in the tools sense, not the people sense. A programming language (the syntax, the compiler, the linter) can't be everything to everyone, and th
363.
▲
by
elithrar
12y ago
Have you looked at these? https://www.digitalocean.com/community/tutorials/how-to-crea... + https://www.digitalocean.com/community/tutorials/how-to-inst...
364.
▲
by
elithrar
12y ago
> But I'm inclined to agree that this is one area Go projects have a hard time with. The portability of the executable is great, but if you're doing anything that requires static assets, configuration, or data outside the conte
365.
▲
by
elithrar
12y ago
Note that it is entirely possible your power source (often a metered source from a utility) may be distinct from your comms source, if you even have comms in that location at all.
366.
▲
by
elithrar
12y ago
> Can you point to what you think is an example of a good open source web application written in Go? * https://sourcegraph.com/blog/google-io-2014-building-sourceg... * https://github.com/drone/
367.
▲
by
elithrar
12y ago
http://bleacherreport.com/articles/1955397-formula-1-prize-m... is worth reading. Of course, it clearly costs tens of millions to run a team - but those figures won't include sponsorship/advertising deals eit
368.
▲
by
elithrar
12y ago
> A friend of mine has the Hario[2] -- it is a much more attractive unit, and as an all-in-one you can keep the entire device in the fridge. When it is time to order replacement filters for the Toddy, I think I'm going to pick up th
369.
▲
Bulletproof SSL and TLS
(feistyduck.com)
4 points
by
elithrar
12y ago
|
0 comments
370.
▲
by
elithrar
12y ago
Not that I've seen, but I've love to see it. You could probably build it with something like text/template and write: SELECT id, title, expiry_date FROM posts WHERE id = {{ id }} AND expiry_date > {{ date }} ORDER BY
371.
▲
by
elithrar
12y ago
> And with iOS, each app is its own silo, so I'm not sure how you'd get password autocomplete working. iOS8 makes it possible (thankfully!): http://blog.agilebits.com/2014/07/30/introducing-the-1
372.
▲
by
elithrar
12y ago
> There's a v4 beta for Windows, which is very similar to the Mac version. Better than the stable v3. Agreed. The v4 Windows client is much, much better than the old v3 - and finally allows you to use the same Chrome extension. I pr
373.
▲
by
elithrar
12y ago
Neat stuff! You should consider building some binaries and making them available via GitHub's releases feature: being able to ship just binaries is a big plus for Go ;)
374.
▲
by
elithrar
12y ago
> But when someone is moving closer/further away from you (as probably happens when you're a stationary photographer among dancers) the ability to not worry about what's in focus right now seems huge. But the subject is st
375.
▲
by
elithrar
12y ago
> Informative article elithrar - thanks!. Wondering why appContext was used instead of goji's Context/environment object ? Does not a context struct that holds all the handler dependencies makes the code harder to ponder and te
376.
▲
by
elithrar
12y ago
> I discovered there are better and more idiomatic ways to do this type if thing without resorting to dependency injection. Agreed. Write a constructor[1] for your "app" or "context" type, and pass it around as needed
377.
▲
by
elithrar
12y ago
http://www.sublimetext.com/3 > Sublime Text 3 is currently in beta. The latest build is 3059. Yep. Which makes this announcement extremely odd.
378.
▲
by
elithrar
12y ago
> This is absurd. I spend money by wire transfer all the time. A good 80% or so of my ebay shopping would be wore transfers to merchants in Hong Kong via Paypal. It's worth noting that EFTs (Electronic Funds Transfers) between domes
379.
▲
by
elithrar
12y ago
> What actually prevents Stripe from just being international? The need to partner with a local bank to provide merchant services/accounts. i.e. Pin Payments partners with NAB in Australia, with NAB setting up an "invisible to
380.
▲
by
elithrar
12y ago
eWay is $49/setup + 2.9% + 30c per transaction at the low end ( http://www.eway.com.au/pricing/popular-plans ), which is their closest option to Stripe. Now, trying to read their API docs is another thing entirely:
381.
▲
by
elithrar
12y ago
The currency support that hit the AU beta a month or two ago was the big one for me, but the low rate (1.75% + 30c for Australian cards) is a nice touch for those who might normally smash their heads against a bank's merchant API, PayP
382.
▲
by
elithrar
12y ago
> I believe the heart of the issue it that /dev/urandom will give you a string even if it has very low entropy at the time. On OpenBSD, /dev/urandom does the right thing, unlike Linux. As per http://www.2
383.
▲
by
elithrar
12y ago
> What does this do to people with extra batteries? Do they all have to be charged? Would you have to put them in your phone/laptop to prove it? What about modern laptops that have multiple discrete batteries (i.e. modern Macs) - I
384.
▲
by
elithrar
12y ago
> It may have still been possible to do a big rework of Martini or even just deprecate Martini and move to Gin...idk. But again, this project (Gin) is completely unrelated to Martini. Martini itself is not that old; deprecating it would
385.
▲
by
elithrar
12y ago
The std. lib's html/template still uses reflection.
386.
▲
by
elithrar
12y ago
If you're "escaping" anything you've already lost: all of your queries should be parameterised , not escaped.
387.
▲
by
elithrar
12y ago
Mind sharing a (lightly commented) config? I've been using Supervisor to run my Go services for a long while (the built-in log rotation is one of the big attractions) but keen to try alternatives. I never found mmonit and other alterna
388.
▲
by
elithrar
12y ago
Goji does very well given it includes a request context implementation as well. I've been porting over an existing net/http + gorilla/mux app and like its design.
389.
▲
by
elithrar
12y ago
Tried http://macruby.org/ ?
390.
▲
by
elithrar
12y ago
NAT traversal, works easily on dynamic IPs without having to use another service, etc.
More ›