Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
account_taken
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
31.
▲
by
account_taken
14y ago
Try https://github.com/mgutz/funcd . It's straight up CoffeeScript functions patterned after Markaby, Erector. Other CoffeeScript templates we tried did funky things with the context and closures didn't work as expected. And when performan
32.
▲
by
account_taken
14y ago
That was our biggest peeve with Backbone views. We fixed it by having a `renderTo` method instead of `render`. Basically, insert the $el into the DOM first, then call render. Another benefit to this approach is it makes replacing, disposing
33.
▲
by
account_taken
14y ago
Exactly. We have a generic serialize() method in our models to do common toJSON. In item views, where performance is critical, the view itself transforms a subset of the models properties to JSON.
34.
▲
by
account_taken
14y ago
Linode is pretty darn good. I have several sites with them and I have NEVER had any down time! I also have a few sites on RamNode and BuyVM which were voted as the better low end providers. They're anything but low end. I am getting better
35.
▲
by
account_taken
14y ago
Simplify the Firefox API's. The J2EE-like APIs in Firefox are complicated and a big turn off. Make debugging background pages easier. Make logging easier. We've built several extensions on Chrome, Firefox and IE. NOBODY volunteers to do Fir
36.
▲
by
account_taken
14y ago
Bootstrap styles are deeply baked in. Changing the variables file isn't enough if you want a non-bootstrappy looking site. Foundation's styles are easier to override and to get the look you want. Bootstrap's eco system is huge. If I had to
37.
▲
by
account_taken
14y ago
So I don't get it. The crowd funded this project and the crowd has to pay to use it?
38.
▲
by
account_taken
14y ago
Yeah, exactly what I was thinking. Once Amazon and big e-tailers figure out they're being crawled for profits or to the detriment of their sales, you can bet they will restrict access and charge a fee. Seems like a good idea, and I'm sure m
39.
▲
by
account_taken
14y ago
I know several people that use terminal only, including myself, who use thin client devices like tablets ssh'd into a VPS.
40.
▲
by
account_taken
14y ago
While the recommended practice is not to describe what the code does, I let go of that practice a while ago. Most of our projects are polyglot and our new hires don't know what a section does in an unfamiliar language. That takes time. The
41.
▲
by
account_taken
14y ago
Do tell about the problems with JSON for use as a configuration object? Almost every language has a library that can parse JSON.
42.
▲
by
account_taken
14y ago
No ssh-agent or forwarding. SSH console is usable but good 'ol terminals beats it hands down.
43.
▲
by
account_taken
14y ago
HA, my gay friends might buy this. It has the I'm gay rainbow sticker on it. Other than them, I'm not seeing how this sells. A refurbished Retina MBP is cheaper. And even at full price, $200 for a superior OS that can run apps like MacVim,
44.
▲
by
account_taken
14y ago
I use Chrome for all bookmarks I want to share publicly at work, home and etc. For private bookmarks, I use my desktop. (And this is the main reason I moved away from Ubuntu + Unity. Someone had the bright idea of disallowing URL dragging t
45.
▲
by
account_taken
14y ago
I understand the benefits of puppet, ansible, etc for provisioning on a massive scale.
46.
▲
by
account_taken
14y ago
I'm not seeing it how installing a security patch is any different. Security patches usually check to see if they need to be applied before doing anything. Updating a version is as simple as `brew update node`, `brew updated mongodb`, etc.
47.
▲
by
account_taken
14y ago
Isn't puppet overkill for this? Seems like a bunch of ruby to build command line arguments. Bash would have been easier. We have a workstation dotfiles which we clone and execute an install script with plugins for oh-my-zsh.
48.
▲
by
account_taken
14y ago
Try open source owncloud, I created a script on GitHub that will install the server with SSL on a fresh Debian server. I am syncing from OSX, Windows and Ubuntu. Try it in a VM https://github.com/mgutz/owncloud-ssl
49.
▲
by
account_taken
14y ago
DigitalOcean is good value but I found their I/O speed not anywhere close to SSD levels. I ran this bench mark from github. RamNode is the best. https://github.com/mgutz/vpsbench
50.
▲
by
account_taken
14y ago
Wow and it didn't cost $70? :)
51.
▲
by
account_taken
14y ago
Yeah, let's start calling it web 4.0 now. Truly exciting stuff.
52.
▲
by
account_taken
14y ago
Umm it starts with a placeholder so you know if it's user name or email. If you get it wrong an error is displayed. Kind of hard to mess up a login form.
53.
▲
by
account_taken
14y ago
Only good for simple login form of two fields. Most everyone knows that is login name and password.
54.
▲
by
account_taken
14y ago
Isn't this simpler? ssh user@host 'mkdir ~/.ssh;echo '`cat ~/.ssh/id_dsa.pub`' >> ~/.ssh/authorized_keys'
55.
▲
by
account_taken
14y ago
nm. I didn't see the example was returning two properties. Still, that is relatively easy to do. I have a middleware that does that and it's very short not yet another framework.
56.
▲
by
account_taken
14y ago
// Add the route server.addRoute({ method: 'GET', path: '/hello', config: hello }); I'm sorry but how is that different than app.get('/hello', require('simplemath')); where simplemath is module.exports = function(req, r
57.
▲
by
account_taken
14y ago
I have been asked questions like this before in interviews and it makes me wonder if the technical interviewers were so indifferent about their jobs they would pull clever questions from the web instead of practical questions applicable to
58.
▲
by
account_taken
14y ago
I like how he uses transitions in CSS for Angular but does it in code for jQuery to make the jQuery code look much more complicated. Why not `$('some-box').toggleClass('open')`
59.
▲
by
account_taken
14y ago
We ask telecommuters to work out of the office for the first two tweeks. Trying to explain the code base and the many utilities we've built is too time consuming and not easily explained over the phone or remote desktop. It's much easier to
60.
▲
by
account_taken
14y ago
I was thinking the same. Long live Redis!
More ›