Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
elithrar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
421.
▲
by
elithrar
13y ago
Alternatively, Go's bcrypt implementation has a very simple API: hash, err := bcrypt.GenerateFromPassword([]byte(password), 10) err := CompareHashAndPassword(hash, []byte(password)) There's also a Cost(hash) function
422.
▲
by
elithrar
13y ago
> For what we need it's infinitely cheaper to just rent a Linode/DigitalOcean server, use something like Chef to spin up the services we need and voila. We probably won't have to touch the servers for a very long time. Aga
423.
▲
by
elithrar
13y ago
> And you can read about "deferred" here: https://stackoverflow.com/questions/8449058/what-does-the-de... Thanks for the link; I'm curious as to the downsides however (the article linked in the a
424.
▲
by
elithrar
13y ago
> I'm very interested in hearing more about DO vs Linode performance, as someone torn between both providers. For me it wasn't solely performance or price, but additional features. Linode's control panel has a fair few fea
425.
▲
by
elithrar
13y ago
The developer who announced this works for Nginx the company, so I would assume (emphasis on the assume!) that Nginx Inc. was paid to undertake this. I don't think this is a problem given that the patch is being openly pushed into the
426.
▲
by
elithrar
13y ago
> * SQL - The raw database/sql package in Go is very low-level. It is a terrible experience to use in a project that makes anything more than a handful of simple queries. I'm not asking for an ORM, but it would really benefit t
427.
▲
by
elithrar
13y ago
> For email you should probably not use Gmail. I totally agree here. You're also forced to store a password (even if it's app-specific) in plain text, and the tracking/delivery features are non-existent. The Mandrill API i
428.
▲
by
elithrar
13y ago
The biggest issue with Linode appears to be the way disks are tied to instances[1]: you can't easily snapshot like you can on DO. It's a real shame, because if tools like Vagrant and Packer worked with Linode like they do DO... [1
429.
▲
by
elithrar
13y ago
Beat me to it. I've been using gochimp to send emails with Mandrill templates (using MergeVars) with much success. I send them async when a user creates their post and log the details. Also means I don't have to either a) run a ma
430.
▲
by
elithrar
13y ago
> (let's not forget who funds elections) Defence contractors? Telcos? Hollywood? Pharmaceutical companies? The big tech companies most of us talk about here are in the minority when it comes to lobbying, from what I understand.
431.
▲
by
elithrar
13y ago
Don't forget micro USB 3.0.
432.
▲
by
elithrar
13y ago
You get a "site seal" with EssentialSSL. Both are equivalent on a technical level, so go with PositiveSSL unless your users care about SSL branding (most don't).
433.
▲
by
elithrar
13y ago
> Plus $50/yr for the certificate This is certainly no longer true. $7 for a cert from Namecheap (domain validated).
434.
▲
by
elithrar
13y ago
My concern is how they are calculating maintenance costs of the copper tail. Telstra's linesmen are some of the few equipped/trained to maintain these lines, and in areas > 30 years old much of the copper is in poor condition o
435.
▲
by
elithrar
13y ago
> Why are you following this story? Why are you voting it up? Do you actually want to buy and eat this nutritionally balanced gruel? Why? I don't like the idea of Soylent. I enjoy cooking, eating out, and trying new things. If you a
436.
▲
by
elithrar
13y ago
> As a side note, my understanding is that it is not necessarily un-idiomatic to use a mutex in Go, particularly for shared state. See https://code.google.com/p/go-wiki/wiki/MutexOrChannel It's defini
437.
▲
by
elithrar
13y ago
To be fair, Express is a web framework. Go's net/http package is a little lower level than that. Still, this is possible if you make up for the lack of a framework by writing some code yourself. I'd use (and I do use) goril
438.
▲
by
elithrar
13y ago
> As an example, changing values in bootstrap\variables.less will propagate to all the other dependent less stylesheets. You're better off actually creating a new stylesheet (or sheets) and importing only the Bootstrap LESS files yo
439.
▲
by
elithrar
13y ago
> I doubt that the aesthetics are the prime design consideration. This is to generate electricity, not to stick in a gallery. Power generation isn't generally pretty, but it keeps people alive in the winter. They are a design cons
440.
▲
by
elithrar
13y ago
> Interception is a real problem though, especially in high-crime areas. You could reduce it with some sort of hardened container which can be opened only with a certain code. Any container that is sufficiently "hardened" enoug
441.
▲
by
elithrar
13y ago
You could easily use something like gorp ( https://github.com/coopernurse/gorp ) alongside Gadget (or any other Go web framework). Like Flask, the use of SQLAlchemy isn't innately tied to the framework.
442.
▲
by
elithrar
13y ago
> For those of us who aren't laughing, how does the intruder bridge the air gap? Waits until you plug it back in. Chances are they have more time than you do to play the game of attrition.
443.
▲
by
elithrar
13y ago
I use it for server-side sessions. Fits that use case well, especially on the performance side.
444.
▲
by
elithrar
13y ago
> What do people recommend for functionality similar to Interchange on a Bootstrap 3 site? Why not just use Interchange itself?
445.
▲
by
elithrar
13y ago
> The difference between the Go built in web framework at 190,687[2] (1.3 ms) json responses per second and Flask, a popular Python framework at 18,945[2] (3.1 ms) is trivial when you look at the bigger picture. I disagree, and think tha
446.
▲
by
elithrar
13y ago
As touched on in another HN thread: web.go isn't "actively" maintained by the author. Whilst any of the packages mentioned in the article could succumb to the same fate, I made an effort to highlight some of the longer runnin
447.
▲
by
elithrar
13y ago
I mentioned Martini as I like its approach. It hit HN a few days ago and was on the go-nuts ML around the same time. I don't expect everyone to agree with me surrounding Revel, but I certainly think it's lack of modularity is a ne
448.
▲
by
elithrar
13y ago
> Where on Earth do you think labeling a button "Delete" is a legally binding specification with an incredibly specific required implementation?! It may not be "legally binding", but it certainly is a big risk: look a
449.
▲
by
elithrar
13y ago
Many OS's/PC's can even get laptop trackpads right, and we've been making those for over a decade: and shipping tens of millions. Apple gets it right, because they write their own drivers and OS. I don't have high h
450.
▲
by
elithrar
13y ago
> The real trick is figuring out how to handle backups and user data properly. It's easy to say "you need to plan for your main DB server going poof"; it's harder to actually make sure you can handle that without down
More ›