News for hackers. Stuff that matters.

mccutchen

Re:2014 Personal Annual Report on Tuesday January 13, 2015 @12:01PM (#8881023)
I love personal annual report season. Nicholas Felton's (feltron.com) and Jehiah's are the two that I've been looking at the longest.

The amount of work that goes into these — being thorough when collecting the data throughout the year and putting it together in a nice package at the end — is too daunting for me to consider, so I like observing and admiring the odd minutiae of the lives of those willing and able to put in the work.

Re:The Slow Web on Friday June 15, 2012 @03:46PM (#4118333)
I think this is a beautifully expressed thought:

"… as soon as I saw 'the slow web movement,' I assigned my own meaning to it. Because it’s a great name, and great names are like knots—they’re woven from the same stringy material as other words, but in their particular arrangement, they catch, become junctions to which new threads arrive, from which other threads depart."

Re:Show HN: BackboneScreencasts.com on Wednesday October 19, 2011 @02:44PM (#3131477)
I would always rather see a text tutorial than a screencast.
Re:Python For The Web on Tuesday October 18, 2011 @06:51PM (#3127643)
Nice. It does seem like one of the lighter-weight Python web frameworks might fit in better with the overall theme of this intro, and Flask is a great choice.

I thought about doing the same thing as I read through it.

Re:Python For The Web on Tuesday October 18, 2011 @05:52PM (#3127396)
Note: In Python 2.6+, you can just `import json` instead of needing to install and import simplejson.
I'm still confused. I'm neither an iOS nor and Android developer, so maybe this is not a confusing situation to them. But:

> What we mean by single backend is you can have one backend and you don't need to know whether you are on an Android or iOS platform. You get the same analytics.

I can't fathom why a backend service would ever not work this way.

Kind of strange title, to me. I don't know why anyone would ever create separate server-side backends for different mobile platforms. I guess this just means that this company is providing libraries for both Android and iOS? Are the other "easy mobile app backend" services focused strictly on one platform or the other?
Re:Test your browser's safety (according to Microsoft) on Tuesday October 11, 2011 @03:19PM (#3099927)
"We do not have any data for your browser, so we can’t give your browser a score."

Chrome 16.0.904.0

Re:Haskell's Fixed Point Combinator on Thursday October 06, 2011 @04:12PM (#3081445)
Most of this went right over my head, but I enjoyed it nonetheless. I'm endlessly fascinated by Haskell.
Re:The process behind our startup's logo design - draftswork shown on Wednesday September 14, 2011 @03:17PM (#2997484)
Maybe it's just because I read this before I looked at it, but I agree.
> _I think this is the current problem with mobile web apps today; too many are trying to feel native. Instead try to make it feel smooth and responsive, as a web app._

I think this is exactly what OP has done. It doesn't feel "native" to iOS to me, but it does feel like a well-made little web app. I don't have an Android device to test it on, but it does seem like it would fit in just fine on one.

Re:Hey, Bethesda Let’s settle this on Wednesday August 17, 2011 @12:00PM (#2895770)
I think Microsoft owns the trademark for the word "Windows".

http://www.microsoft.com/about/legal/en/us/IntellectualPrope...

Re:Building Lanyrd on Thursday August 11, 2011 @02:31PM (#2874129)
That's a pretty good approach. I guess the main drawback is that the git commit hash will change far more often than the contents of most of the static files, though, right?
Re:Building Lanyrd on Thursday August 11, 2011 @12:33PM (#2873584)
Ahhh, thanks for the details. The only solution I could think of involved writing out a dict like you're describing and using a template helper to look up the modified asset filenames. I was wondering if there was a more elegant solution that was escaping me.

And it probably would've taken me a little while to realize that I'd need to rewrite CSS files as well, so thanks for that, too!

Re:Building Lanyrd on Thursday August 11, 2011 @11:22AM (#2873236)
I like this approach to static assets, where each file's name is changed to include the hash of the file's contents on deployment. But I've never implemented it myself, because I can't figure out a good way to refer to those static assets in my templates.

simonw, if you're listening, how do you solve this problem?

How do you go from, e.g.,

<link rel="stylesheet" href="/style.css">

to

<link rel="stylesheet" href="/style.{current-hash}.css">

?

Likewise curious. Seems like that should be addressed in the README.
Re:Fair use isn’t much good if you can’t afford it on Friday June 24, 2011 @03:47PM (#2693619)
To me, it does look like fair use. But I'm not a lawyer. I found this argument pretty compelling, though:

http://mrgan.tumblr.com/post/6840184364/hand-pixelated

"That cover is NOT the original photo, downsampled. It’s a hand-crafted, precisely drawn interpretation of the source. Anyone who’s ever seriously put pixels to screen will tell you that this is an actual artistic method, one with its own challenges, tricks, and yes, an aesthetic."

Re:What PHP Needs on Thursday June 23, 2011 @03:34PM (#2689462)
"and how 'reflection' is way simpler than any other language"

I've never heard this claim made, and it has been a long time since I've actually used PHP in any meaningful way. Care to expand on this?

I'd be interested in a comparison to Python's support for reflection, which is simple and pervasive.

Re:Kyle Bragger on Redesigns on Monday May 23, 2011 @11:19AM (#2576190)
He's referring to the Lobster free web font, which is showing up on more and more sites these days: http://www.google.com/webfonts/family?family=Lobster&sub...
Re:Working with git? These aliases will save you hours on Friday May 20, 2011 @10:50AM (#2567867)
The big downside of these (for me) is that they don't let me use the great bash completion that git (optionally) provides.
Re:"The worst algorithm in the world?" on Wednesday May 11, 2011 @02:56PM (#2537835)
The title is hyperbole (I'm sure that I've written much, much worse algorithms, many times), but the breakdown of Fibonacci sequence algorithms is really enjoyable.
Re:Rise of the Mac Git GUIs on Thursday May 05, 2011 @01:28AM (#2516288)
"iTunes for your git repos" is a great way to describe some of this software. Well said.
Re:Rise of the Mac Git GUIs on Wednesday May 04, 2011 @05:13PM (#2515334)
I'm pretty sure they're calling the git command line tool. As far as I can remember, I've had to tell all of the ones I've tried where to find the git command.
Re:Rise of the Mac Git GUIs on Wednesday May 04, 2011 @05:06PM (#2515318)
I'm sort of fascinated by this, but out of all the git GUIs I've tried on Mac except for GitX work backwards from how I want/need them to work. I live at the command line, but I do like having a nice GUI for staging commits and viewing history.

GitX works perfectly for me in this regard. It's simply `gitx -c` from the current directory to open a nice GUI for staging files (or pieces of files) and composing a commit message or `gitx` to view the history of the current repo. And it's fast, so launching it does not get in my way too much.

All of the other ones I've tried have had poor command line integration and wanted me to tell them about my repos ahead of time. I guess maybe that reflects the needs/workflow of the majority of people who want a nice OS X GUI for git, but it doesn't work at all for me.

Just sort of interesting.

Re: on Monday May 02, 2011 @07:15PM (#2508302)
The design is overwhelmingly cluttered and noisy. I'm sorry that I don't really have any concrete suggestions, but I'd suggest getting a better feel for whitespace (e.g. http://www.alistapart.com/articles/whitespace) and visual hierarchy (http://www.google.com/search?q=visual+hierarchy).

Actually, I do have a concrete suggestion: Lose the orange stripes in the background. They don't serve a purpose and they actually interfere visually with the "log in" and "share a link" boxes, at least at my particular browser window size.

Re:The iOS weather-app market on Tuesday April 26, 2011 @05:47PM (#2487356)
I love this idea, but why do you want permission to access and update my Twitter feed?
Re:Why PHP Was a Ghetto on Tuesday April 19, 2011 @04:49PM (#2464163)
> PHP has its own beauty, such as arrays which can support numeric and string indexes at the same time.

What's the difference between PHP's arrays and hashtables/dictionaries/etc in languages like Python, Ruby, and JavaScript?

As a Python programmer (who started with PHP years ago), PHP's arrays now seem sort of muddled or confusing. I prefer Python's dedicated list/dict types (though nothing is stopping you from mixing numeric and string keys in a dict).

Older »