Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
carbon8
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
carbon8
15y ago
The problem is that in a startup environment, needing to constantly explain how web application design works can waste significant time and energy, decreasing morale and impacting momentum. It's a drag, and an unnecessary one. Web applicati
32.
▲
by
carbon8
15y ago
Design and art have always required technical knowledge of tools and the medium, and knowing HTML and CSS is no different. Web application design (which is distinct from brochure web design or print design) has unique conventions and constr
33.
▲
by
carbon8
15y ago
When it comes to the kinds of businesses we are dealing with here, operating and researching not only can be done concurrently, but they are often more valuable together. Particularly with tech businesses, we are often pushing some boundari
34.
▲
by
carbon8
15y ago
The reasons the codex format supplanted the scroll format had everything to do with physical properties, specifically that codices use material more economically, are more compact, easier to handle and transport. In fact, as far as reading
35.
▲
by
carbon8
15y ago
TF2 on 360 actually had a remarkably good community, at least for a year or year and a half until many people moved over to PC as that version started evolving significantly. The nature of the community was especially pronounced since it wa
36.
▲
by
carbon8
15y ago
It's not simply that programming itself is difficult, it's that ideas conceived without knowledge or consideration of the technical implications are frequently more difficult to implement than a non-technical person realizes.
37.
▲
by
carbon8
15y ago
You're right. I'm distracted by the reported 20-30 second environment load time for each test when it only takes about 7 seconds for my tests to start with autotest in my current pretty large app on an older MBP.
38.
▲
by
carbon8
15y ago
"That's not the dev server, which is able to start and reload pretty fast...That post is complaining about...a production problem." The issue is actually that it takes time to load the application code and dependencies, something that app
39.
▲
by
carbon8
15y ago
That's only 9 libraries, and that shouldn't be enough to cause your load times to reach 20-30 seconds. Also, since you asked :-) I would question #5. Auto admin libraries (and this applies to multiple languages and frameworks) are generally
40.
▲
by
carbon8
15y ago
"I don't think I should forgo reusing community code to reduce start times." Using too many gems is an problem for a lot of reasons, though. You are introducing dependencies that you then need to manage and update, they often do more than
41.
▲
by
carbon8
15y ago
"autotest or watchr doesn't help startup times -- I'm not sure why you mentioned that here." If you use autotest or watchr you aren't starting up the environment very frequently.
42.
▲
by
carbon8
15y ago
"Starting a test or server on my dev machine takes 20-30 seconds. Particularly with tests, this is a huge problem for doing proper TDD" Long startup times or not, sounds like you should probably be using autotest or watchr. 20-30 seconds
43.
▲
by
carbon8
15y ago
Yeah, DJ is actually the only one I'm still using via a fork ( https://github.com/alphabetum/delayed_job/commit/9637a4418ad... ). I haven't had time to put the change in a topic branch and do a pull request.
44.
▲
by
carbon8
15y ago
The approach has been around for a years (see my comment in that thread, for example), but very few of us use it. The thing you'll run into with that approach is that no authors of gems and plugins that include AR models declare attributes
45.
▲
by
carbon8
15y ago
It was added as a joke in response to the controversy on reddit about the original commit.
46.
▲
by
carbon8
16y ago
In the years I've been using haml my experience has been exactly the opposite. Haml discourages excessive code in the template, reduces noise, makes the document structure immediately obvious and places emphasis on classes, ids, element nam
47.
▲
by
carbon8
16y ago
"A designer that can design for any framework with standard CSS/HTML is more flexible than a designer that knows HAML, but could't write vanilla markup." This is a very bizarre statment. How can someone write haml without understanding HT
48.
▲
by
carbon8
16y ago
The CSS person doesn't need to know Sass in order for the project to benefit from it. At the very least, you could just dump the CSS in an .scss file and just use the automatic output formatting feature. In my current project I take it a st
49.
▲
by
carbon8
16y ago
If you are on the north side, north shore, at NU or anywhere near Evanston, come check out http://coworkingevanston.com/ It got started because there have been a bunch of startups and indie devs/designers working out of coffeeshops and ho
50.
▲
by
carbon8
16y ago
I also use Sass and Compass. I generally organize the directory roughly like this for projects without a separate designer: stylesheets - ie.sass - master.sass patials - _base.sass - _forms.sass
51.
▲
by
carbon8
16y ago
"In a dynamic language, and where you trust the person doing the configuration, there's no reason why your configuration shouldn't be in a source file. Both Django and Rails do it this way." Not true. In Rails, sensitive information like
52.
▲
by
carbon8
16y ago
The #map and #select approach in your example is even worse since it loads all of the associated friend and photo records into memory and tries to use Ruby for queries that should be performed by the database. If there are more than a handf
53.
▲
by
carbon8
16y ago
"If you want a language where there's only one way to do it, I think there's a language with that exact motto." Be that as it may, in Ruby you should also follow conventions, write readable code, use the most obvious choice when possible
54.
▲
by
carbon8
16y ago
Agreed. If there is anyone here who knows the justification for the latter two, please explain. Edit: found the explanation for the last one: http://www.aimred.com/news/developers/2008/08/14/unlocking_t... So, basically, it's just using i
55.
▲
by
carbon8
16y ago
What exactly are you looking for? A complex Sinatra app? Sinatra is largely suited for smaller apps, so you won't find many super complex apps built on it, though there are some open source examples. However, it is used rather extensively i
56.
▲
by
carbon8
16y ago
Basically what you are describing is a coworking space. Coworking spaces are great, but from the perspective of an operator (I recently opened one) it's not a business to go into if you are looking to make money with it. Rent can only be so
57.
▲
by
carbon8
16y ago
After 4 steady years of working out of coffee shops, I'm currently opening a coworking space in Evanston, IL. http://coworkingevanston.com/ http://desktimeapp.com/spaces/92-coworking-evanston We "officially" open on Monday, but we are a
58.
▲
by
carbon8
16y ago
It's definitely nice to see coworking taking off. There's a combination of factors that I think are leading to increased popularity of coworking: proliferation of smaller teams, more remote workers, cheaper real estate prices. Even with the
59.
▲
by
carbon8
16y ago
You wouldn't use a named Ruby method for something like this. You'd typically use a Proc or block. [1,2,3].map{ |x| x * 2 } or if you wanted to reuse the block for other things transform = lambda { |x| x * 2 } [1,2,3].map
60.
▲
by
carbon8
16y ago
In Ruby, things are more complicated. I need an ampersand to pass a function and brackets to call it: Proc calling is built directly into the language via the yield keyword and it's by far the most common way to call Procs. More import
More ›