Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adambard
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
151.
▲
by
adambard
13y ago
Edit: The below is actually wrong > For years I’ve wanted to be able to write my own control flow structures, such as an each...else that runs an else block if the each is empty (Handlebars templates have this). Actually, python does hav
152.
▲
by
adambard
13y ago
I believe the color was added by the author for the photo; it still comes beige and unflavored. But, the author also experimented with adding flavoring, too, to reasonable effect.
153.
▲
by
adambard
13y ago
NPR's Planet Money podcast did a really cool episode a few years back called, "Why Gold?". http://www.npr.org/blogs/money/2011/02/07/131363098/the-tues...
154.
▲
by
adambard
13y ago
Not the parent, but I went through a phase of blogging about Clojure earlier this year: http://adambard.com/blog/Getting-started-with-Clojure-web-ap...
155.
▲
by
adambard
13y ago
Clojure doesn't tend to do frameworks on the scale of Rails; all the components exist, but the price for your application only including the parts you use is that you're more or less expected to write the glue code between them. T
156.
▲
by
adambard
13y ago
Real life performance generally favors Scala over Clojure, but by a relatively small factor (2x). This is mostly due to the clojure implementation's use of reflection to achieve dynamism. Dynamism? You know what I mean. You can make th
157.
▲
by
adambard
13y ago
My favorite format is YYYY-MMM-DD. That is, year, 3-letter (english) month, day (i.e. 2013-Nov-29). Only works for people that know the english names for dates, but eliminates ambiguity about which is the day and which is the month.
158.
▲
by
adambard
13y ago
Of course there's a namespace called `optimus.prime`.
159.
▲
by
adambard
13y ago
Angular yes, Ember perhaps not. I this wrote briefly on the subject recently: http://adambard.com/blog/angular-in-the-small/
160.
▲
Applying Angular.js at jQuery scale
(adambard.com)
2 points
by
adambard
13y ago
|
0 comments
161.
▲
by
adambard
13y ago
They can refuse you service for whatever reason they like. You did damage their reputation, even if they deserved it. It may not be a dispassionate business decision that got you banned, probably just a "well fuck this guy then"
162.
▲
by
adambard
13y ago
1) Why would you want to use them after that, and 2) you bloody well deserved it.
163.
▲
by
adambard
13y ago
We seem to have stronger laws about this sort of thing in place at the moment. In the US, it seems, just swiping the magnetic stripe is still the way it's done. How quaint!
164.
▲
by
adambard
13y ago
Thanks! If you're looking for ways to ease the burden of compiling it yourself, my favorite tools are django-pipeline (for django) and middleman (for static sites). Both of these let you treat coffeescript files as first-class while yo
165.
▲
by
adambard
13y ago
I like the way ES6 is going, but Coffeescript has the advantage of maintaining compatibility with old (like, old-old) browsers. I hate having to do it, but you can't just ignore them. Server-side, sure, use the latest build you can get
166.
▲
by
adambard
13y ago
I usually write whatever I would say, then go over it after and take out any words or phrases that might be superfluous, or that can possibly be removed. Wholesale removal of extraneous stuff goes a long way towards making yourself clearer.
167.
▲
by
adambard
13y ago
Consider coffeescript. It does a good job at removing nuisance quirks from Javascript, and adding some python-esque features (sensible looping constructs, list comprehensions, etc.), while maintaining logical equivalence with the javascript
168.
▲
by
adambard
13y ago
Nobody would have contributed to an unproven web framework written in a then-obscure language. Two recent OS fundraising successes I can think of are funding for further development of Typed Clojure, and the integration/rewrite of Sout
169.
▲
by
adambard
13y ago
> Another incident was a truck mirror that grazed my helmet. Of course, if you weren't wearing the helmet, the truck mirror may or may not have touched you at all.
170.
▲
by
adambard
13y ago
Relevant to this discussion: Roundabouts do cyclists no favors whatsoever. This article cites a number of others on the subject: http://www.cascade.org/2010/11/circular-logic/
171.
▲
by
adambard
13y ago
I was going to explain it myself, but the wikipedia article really covers it well: http://en.wikipedia.org/wiki/Eating_your_own_dog_food
172.
▲
by
adambard
13y ago
My favorite bit is where all of these are true: '1' == 1 '1' == [1] '1' == true 1 == [1] 1 == true [1] == true But this is false: [1] == [1]
173.
▲
by
adambard
13y ago
I thought the EC2 tests might be more relevant to an early-stage startup, although I had not noticed that some tests were left out.
174.
▲
by
adambard
13y ago
If it's performance you care about, here's a ridiculously exhaustive set of benchmarks for every web framework you've heard of, and many more you haven't. http://www.techempower.com/benchmarks/#secti
175.
▲
by
adambard
13y ago
There seems to be no mention in the docs of where the compiled files end up, if anywhere; taking the docs literally it appears that this is the preferred way to use sword, which is indeed silly and wasteful.
176.
▲
by
adambard
13y ago
I've been trying to get some identity documents (birth certificate, marriage certificate) translated recently. Every place I've contacted wanted me to just email them scans of the documents, that will presumably sit on their ISP&#
177.
▲
by
adambard
13y ago
I never did find a solution to the performance problem when it comes to writing numeric code in Ruby. I ended up doing most of my Matlab-suggested assignments in Python with numpy instead.
178.
▲
by
adambard
13y ago
It looks really good, but I hate a lot about the demo theme. Why does anything move without me doing anything? Will the annoying bottom bar always be there? What if I can't find a high-res artsy photo? Was it necessary to knock off Med
179.
▲
by
adambard
13y ago
> Unfortunately, once you 'sell' yourself for $15 an hour, no one will want to pay you more than that for subsequent projects. In my experience, this isn't true. I only freelance part-time now, but I've managed to rai
180.
▲
by
adambard
13y ago
My personal experience in this discussion is as a freelance developer living in Canada. Being hired to clean up/review code written by a $10/hr shop in India makes up a sizeable segment of freelance work available in North America
More ›