Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jarrett
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
jarrett
12y ago
Let's say your attorney charges $250/hour, and you expect to need up to 40 hours of work on short notice. That's 40 * $250 = $10,000. If the business ran into legal trouble and had to use up the 40 hours, it wouldn't aut
62.
▲
by
jarrett
12y ago
Yep! That's a great solution for a lot of sites.
63.
▲
by
jarrett
12y ago
How so? Would you use basic Unix utils like `cat` to build the final page? I guess you're essentially building a static site generator at that point. Albeit a very simple one with minimal dependencies.
64.
▲
by
jarrett
12y ago
Repeating the headers and footers even eight times seems unworkable to me. I'm quite certain I'd mess up at some point, and one page would be different from all the others. Maybe there are some projects where that doesn't mat
65.
▲
by
jarrett
12y ago
> using it for more complex applications than you are Are you sure? How complex do you mean? How complex do you presume the parent commenter's apps to be? Could you give an example of one of those more complex apps? I'm wonderi
66.
▲
by
jarrett
12y ago
> who insist that certain commonly and successfully used design patterns have no place in the world. I don't think the architecture skeptics claim as much. I believe you're restating the claim in a more extreme way that it'
67.
▲
by
jarrett
12y ago
> To get your tests to run in < 5ms In principle, the current Rails architecture can support that. Rails permits the test environment to use a different database adapter. There's nothing stopping anyone from decoupling the databa
68.
▲
by
jarrett
12y ago
> I don't understand how anything on HN that discusses a more complex software architecture is immediately called J2EE/enterprisy and dismissed. I wouldn't say that always happens. It often happens when a 500-word blog p
69.
▲
by
jarrett
12y ago
> Should "network neutrality" force Comcast to spend billions every time Netflix doubles its streaming rate? It wouldn't force an ISP take any action. Each ISP would only be forced to decide how much bandwidth to offer e
70.
▲
by
jarrett
12y ago
> Unfortunately, the best way to raise someone out of poverty is through education. So you've got a chicken-egg problem. Education is clearly one factor, but there are many others. The most effective way to ameliorate poverty is to
71.
▲
by
jarrett
12y ago
Based on his other comments, I assume he was referring to the challenges of finding the right places to spend money--places where the money will have the most positive effect. It's easy to give money away. Goodness knows there are endl
72.
▲
by
jarrett
12y ago
As with so, so many packages, I've never gotten it to run on OS X.
73.
▲
by
jarrett
12y ago
> if performance is more important then easy portability, you need to implement driver specific code paths anyway I think that's fine, because as you said, it encourages GPU vendors to innovate. Plus, it probably affords more of an
74.
▲
by
jarrett
12y ago
One of the biggest headaches for me is debugging. As the author says, the facilities for reading state back out are often questionable. Even where they're not, I'd rather not spend all my time rolling my own custom OpenGL debuggin
75.
▲
by
jarrett
12y ago
I'm not sure that patents can be represented in any simpler form. They're a sort of programming language of their own, in that they (in theory) encode precise legal claims. The patent system has a specified "language"
76.
▲
by
jarrett
12y ago
> If someone could make git store all on-disk data in encrypted form with an ssh-agent-like solution for on-the-fly (de|en)cryption, that would seem ideal. You could probably roll your own. A decent middleground would be to keep the data
77.
▲
by
jarrett
12y ago
Some people prefer to keep the keys on specialized servers when a) the need for security is especially acute, and b) the project has the budget. For more day-to-day stuff, environment variables on the server are an option. If you want to be
78.
▲
by
jarrett
12y ago
> A good code of ethics includes aspects that require more context and incite more thinking. I agree that a good code of ethics could be that way. But I think that's less true if the code of ethics is coupled with a system of punish
79.
▲
by
jarrett
12y ago
As far as I can tell, it's not defined in that document. If it were, what would that look like? What values would be on the list? How would you know whether a given action compromises one of those values?
80.
▲
by
jarrett
12y ago
I love Underscore (and Haskell), but I wouldn't consider Underscore an FRP framework at all. It's functional, yes, in the sense that it provides some of the most common FP operations like map, filter, etc, using lambdas. But I don
81.
▲
by
jarrett
12y ago
Are you referring to the various databinding frameworks? So far, I've been somewhat skeptical of those--I worry they make too many assumptions and take away too much fine-grained control.
82.
▲
by
jarrett
12y ago
As the author says, there's quite a lot of imperative stuff in this design. I'm still on the fence about whether that's the best way to build large applications with GUIs, network access, etc. With the imperative approach, yo
83.
▲
by
jarrett
12y ago
> Make users want to switch instead of just pretend like there's no alternatives. I absolutely want to switch and will as soon as an alternative is available. In my entire life, I've never lived in a place that had anything oth
84.
▲
by
jarrett
12y ago
Haskell's Lens package (linked to above) is indeed nice. For a practical quickstart guide, I'de recommend the Github page over the Hackage page: https://github.com/ekmett/lens#lens-lenses-folds-and-travers...
85.
▲
by
jarrett
12y ago
> I believe "make it illegal to record things" is a bad option too Phrased that broadly, it would be terribly abusive and detrimental to free speech. But imagine a much more narrow rule, concerning only the mass recording and r
86.
▲
by
jarrett
12y ago
With whom are you disputing, though? Who's suggesting the type of law you mentioned? When people express concerns about surveillance tech, we aren't talking about one pedestrian looking at another pedestrian. It's not hard to
87.
▲
by
jarrett
12y ago
You've used the memory metaphor a couple times, but I'm not sure it's fitting. There's a significant difference between memory (for most people) and a camera that's always on. Yes, it would be absurd to toss someone
88.
▲
by
jarrett
12y ago
> Getting the actual real requirements nailed down Wherein the programmer plays the role of social worker. Seriously though, the skill sets are very similar. The client is typically the ultimate source of the requirements, but it's
89.
▲
by
jarrett
12y ago
I believe the plates are recorded while driving as well, in most cases. By law, you must display plates while driving. The only way to opt out is to refrain from driving. Does that change your feelings on the matter?
90.
▲
by
jarrett
12y ago
When approach X isn't followed, approach X breaks down? True for all approaches, no? Any language can be written poorly. I don't think any language will ever be able to force good coding style on programmers. Though Haskell comes
More ›