Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
awj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
151.
▲
by
awj
12y ago
Yeah, lotus looks like it could do a good job at letting you share/extend models and other bits of code between a Rails-like html server and a pure api server. Maybe those two things are the same server, different modules in the same
152.
▲
by
awj
12y ago
Indeed. I used to catch tons of shit about not understanding cars from a mechanic friend until his laptop died and I helped him recover photos of his kids. Now we're both content to be wizards of our own domains without talking down to
153.
▲
by
awj
12y ago
Yeah, people also survived when we put lead paint on everything. Evaluate the issue on its actual merits and relevant statistics, not wether or not you personally won the "take an unnecessary risk" dice roll.
154.
▲
by
awj
12y ago
How cool is "cool"? According to this[1] 15 minutes at 75 degrees can be enough. It's even possible at 50-60 degrees for an infant with blankets. [1] http://www.parenting.com/article/tragedy-in-the-backse
155.
▲
by
awj
12y ago
Even the link you cited claims that 15 minutes can be enough time under surprisingly temperate conditions. I've easily spent that amount of time waiting through lines on something that should have been a quick run to the store.
156.
▲
by
awj
12y ago
I'm not sure I understand your point. If your controller logic ensures that users will always be logged in, why would you need to test for the presence of current_user?
157.
▲
by
awj
12y ago
As taylorfusak mentioned, a User#guest? method is a more natural way to handle that problem. You also could make use of ActiveModel::Conversion#to_partial_path, like so: <%= render partial: current_user %> This implicitly cal
158.
▲
by
awj
12y ago
I think pedantry can be excused in the face of claims that would disprove the fundamental laws upon which our understanding of the universe rests.
159.
▲
by
awj
12y ago
Straight from the horse's mouth[1] > Also, the income they earn though their paid consulting work supports their unpaid work on OpenSSL, so by hiring OpenSSL team members you are not only solving your own problems but also helping t
160.
▲
by
awj
12y ago
Tying together fifty states worth of healthcare systems and laws to provide some kind of reasonable abstract interface. On top of systems that may or may not have been designed with this form of use in mind. Go look up some of your own stat
161.
▲
by
awj
12y ago
Sure, but that's been true of PCs for ages. We're all used to the idea that PCs need to be updated. To me one of the advantages to consoles was that they could pick up and play at any moment.
162.
▲
by
awj
12y ago
You're asking why Comcast should be responsible for meeting the expectations they're creating? When your advertising solely conveys "always fast Internet" and "up to 100Mb/s speeds", what exactly do you th
163.
▲
by
awj
12y ago
Yeah, of course the thing was faster. I would be upset if you didn't get this result after rewriting from a crufty old system that was never intended for the purpose it's serving into new code that uses appropriate technologies
164.
▲
by
awj
12y ago
Instead of flippantly dismissing the comments, maybe you should think about what people are saying.
165.
▲
by
awj
12y ago
Bolting reusable libraries together is great for some things, not so much for others. How much of that large package repository uses different (or worse, conflicting) solutions for abstracting async programming? Some batteries really are be
166.
▲
by
awj
12y ago
...I'm not sure you're understanding the point of those objections. > callback hell It's great that there are better options out there for handling async programming, but at the end of the day you're still using callb
167.
▲
by
awj
12y ago
Clojure is arguably a better language for being less pure as a Lisp. Many old school Lispers object to the dedicated vector and map syntax, but it's 2014 and these data structures are important and common enough to warrant shorthand.
168.
▲
by
awj
12y ago
Other than a decidedly not-Uber-like experience of throwing ads at a captive rider, I really don't see a reason that Google would be interested in that space.
169.
▲
by
awj
12y ago
I'm not sure how you can achieve low level performance and memory safety without dealing with this sort of thing.
170.
▲
by
awj
12y ago
Yeah, that's a terminology issue. They mean lexically scoped named functions. Versus the default in Clojure of global or namespace scope.
171.
▲
by
awj
12y ago
If I have the slightest concern about operator precedence while writing code, I put in extra parens. Because it will definitely hinder me reading the code later. Plus, Haskell doesn't use them much anyways. I'm sure the 9 and
172.
▲
by
awj
12y ago
..and since you're freeing up ~, you can now rename 'fn' to it. Rust criticism would drop to nearly zero, because everyone would focus in on your crazy function-defining-tilde and those people just don't get it.
173.
▲
by
awj
12y ago
Yeah, things like marshaling data across the interface barrier, or chasing the pointer indirections inherent in calling functions, can have a significant cost. Usually it isn't significant enough , but as always the devil is in the de
174.
▲
by
awj
12y ago
> If your tests take 10 seconds, how much did you really test? I see your point, but time-to-test is a horrible proxy for quality of tests. Business logic isolated from external systems can run incredibly fast, so ten seconds worth of
175.
▲
by
awj
12y ago
Yeah, indeed. I think with the flak this article is taking elsewhere in the comments people might be reading this as an argument against him. I know that was my first impression, glad I asked for clarification.
176.
▲
by
awj
12y ago
Why do you feel this is worth pointing out?
177.
▲
by
awj
12y ago
Then have the VM be configured to only allow traffic to/from specific addresses/dns names/whatever. There has to be a way to solve this that doesn't involve running an ancient browser/OS combination as your host ope
178.
▲
by
awj
12y ago
...good thing he didn't do that. There's a big difference between "my rafting experience falls in line with this story, it looks like there's a bigger pattern" and "my rafting experience was like Mount Everest
179.
▲
by
awj
12y ago
Unless they start citing things, 99.999% of all figures are pulled out of somebodies ass.
180.
▲
by
awj
12y ago
Impose the fee only on one-way communications. A responsible mailing list would have a single instance of two-way communication when asking the user to confirm that they wanted to sign up. No I have no idea how that much state should be han
More ›