HNHacker News
TopNewBestAskShowJobs

avolcano

3,882 karma · joined March 12, 2011

I write JavaScript and Python and other languages sometimes.

website: thomasboyt.com

submissionscomments
avolcano··on Show HN: Noted, a note-taking web app inspired by Vim
Here's a blog post with more information about its creation and development: http://www.thomasboyt.com/2013/03/24/announcing-noted.html
avolcano··on Alfred Dev Doctor – An Alfred workflow for documentation search
Oh man, I've been holding off on upgrading Alfred for a while because I didn't see the point, and now I'm upgrading so I can download a free add-on. This is an honest killer app for Alfred's new workflow feature.
avolcano··on Stabilizing Ember Data
Ember Data can be really powerful, but is even far worse in the "black box of magic" department than Ember itself. There's a lot of crazy internal state and logic being fired off in all directions, and it can lead to very strange state errors and race conditions.

I'm really glad to hear that they're adding an adapter type that can be more powerful than just an $.ajax call while not being quite as complex. It was by far my biggest complaint with Ember.

(of course, I hope this doesn't stifle development of more full-featured adapters - I think half my problems with Ember Data come from the LocalStorage adapter I'm using having some major issues ;p)

avolcano··on Infringement of 9Gag's trademark [pdf]
So, naming the site "9GAG for Android" was asking for trouble. That's a clear-cut trademark issue, even if the app itself was named "Nine."

Content ownership is a little murkier, of course, because 9GAG is a company that thrives off stealing and rebranding the content of others. There's also no reason they couldn't have played ball - there's lots of alternative mobile clients for sites like Reddit and Hacker News because they create a healthier community and fill a niche that the creators of those sites can't fulfill. Still, if 9GAG decided they wanted the ad revenue this app would deprive them of, I can't really fault them.

(though, to be clear, I still totally fault them for being a shitty company that steals content!)

avolcano··on Pedestal: An open source tool set for building web applications in Clojure
It weirds me out that nowhere in the docs does it just list the libraries it builds on. Browsing through, I see Domina, Ring, Datomic, something called "slf4j", and a bunch of functions within the Pedestal namespace... and it never really explains what those external libraries are.

Definitely doesn't seem targeted at newer Clojure users. Also, the use of Datomic as a default data store rubs me the wrong way, mainly because I've never even seen it outside of a few HN articles :p

avolcano··on EA CEO John Riccitiello Steps Down
Riccitiello's actually had a rocky tenure, with quite a few new IPs "failing" under his watch.

Of course, remember, this is EA - to them, Dead Space, the most popular survival horror franchise of the last five years, underperformed.

Still, I doubt this has much at all to do with SimCity. If it does, it has more to do with its low MetaCritic score than actual user complaints.

avolcano··on The Google Graveyard - Leave a flower for a deceased Google product
The Google Wave grave reminds me of what a weird non-product that was. Has anyone done a good post-mortem/retrospective on that? Always seemed ahead of its time on a lot of levels, especially technically (one of the few times I've ever seen a single tab crash all of Chrome).
avolcano··on Netflix no longer issuing new API keys
I'm guessing (and I'll admit I don't know this for sure, feel free to correct me if you do!) that http://instantwatcher.com/ uses it, which is a wonderful data-heavy interface for finding stuff to watch on Netflix Instant. It's much faster and more informative than Netflix's kind of shitty browsing experience.
avolcano··on EmberJS Confuses Me
Well, clearly, they are crazy people.

Nah, kidding. So they're totally right that there's a significant amount of state in the router, in that that's where you define which model and controller (and, depending on how fancy you get, what views and templates) to use on a given page. So those are essentially state.

The state that can make a controller fat is essentially state that's too important for a view but doesn't need to be universal to the page. For example, with my Dropbox controller, the controller has a state property that handles the various permutations of the state of syncing (i.e. it could be doing nothing, currently saving, done saving, failed saving, etc.). This state is set by the controller on the controller, and used by multiple views to determine things like which label a progress modal should have.

For example, if you had a controller representing a list, you might want to keep track of which item is selected on the controller. That way, if there are multiple views that can act on the currently selected item (for example - you might have a list item view that has a template that renders the item, and then a separate view that are buttons that trigger actions that act on the current item), they all have access to it.

Plus, I always think of state defined in a router as being limited to specific pages/routes, whereas some of my controllers are used on several different routes.

avolcano··on EmberJS Confuses Me
While I actually totally agree with the confusion in the router, I want to explain what I see in Ember's MVC:

As far as I attempted to implement it in my app (https://github.com/thomasboyt/noted-app), it seemed simple enough. Models were data; all they contained was their properties and operations that controlled their properties.

I mainly used controllers as the "state" for parts of my app. In Ember, this doesn't even need to mean it's tied to a specific model type. For example, my Dropbox integration is handled within a controller that's bound to several separate views (in this case, those views included buttons that triggered syncing and modals that displayed the progress of syncing). There's no "Dropbox model," just other models that I'm using this controller to sync. Controllers are not simply an intermediary between models and views, they are an intermediary between state and views.

> I'm trying my best to reconcile this with the notion that a controller (classically speaking) is supposed to ... well control the view. Here, it's not doing that.

I think what the author was looking for in controllers is what's actually handled by, well, views. The view handles any user interaction, and then uses the controller to change the state of various bits (whether calling methods in the controller or simply updating properties on it).

To sum up: model is data, controller is state (including instance(s) of models), and the view is user interaction. Templates can bind to properties on any of these. Routes are what hook these components together depending on the page.

avolcano··on Ember Query - a querystring library for Ember.js
Important to note that this only works for pushState/history API-based routing, not Ember's default hashchange-based routing. Still, it'd be cool to see this merged back into Ember JS as at least the starting point for querystring support in 1.1!
avolcano··on The Next SourceForge
Thus the "somewhat." Still, I've downloaded everything from torrent clients to open source video games from SourceForge, and many of those projects have (or, much more likely, had) active support forums on SF. It's a shame that they haven't pursued that route further and instead are just going after the Github/Bitbucket/etc market.
avolcano··on The Next SourceForge
SourceForge still has a niche that's significantly different from GitHub or Google Code: it's made to be somewhat friendly to end-users of large open source apps. Honestly, I'm surprised they haven't fully pivoted to being an open source "app store" (with more community features i.e. forums and support).
avolcano··on Wevorce (YC W13) makes divorce suck less
"Wevorce is already having success. While living in Idaho, Michelle ran a beta test. She put 104 families through the system and only one went to court."

This was the part that was most surprising to me. That's an incredibly good success rate (albiet with a small test) for something that's trying to mediate such a polarized situation. All it takes is either party not being satisfied with what they got to push it to court, so it must be extremely good at helping both sides feel comfortable with the outcome.

avolcano··on Workspaces - Simplifying Your Find and Fix Workflow With The Chrome DevTools
I was literally just thinking, after reading the comments on the post about hot-swapping in Chrome's editor [1], that this seemed like the next step.

I like it. Obviously, I don't expect (or want) Chrome to replace my text editor any time soon, but this will be great for quick fixes.

[1] http://news.ycombinator.com/item?id=5197695

avolcano··on Deal would bring Google jets, millions of dollars to San Jose airport
Apparently, they're likely to get kicked out, with the government wanting to cut the facility: http://mv-voice.com/news/show_story.php?id=6626
avolcano··on Dungeons & Dragons Classics - Every edition available again
Here's a Wired article about it, for those who can't connect: http://www.wired.com/geekdad/2013/01/dndclassics/

It's pretty much a total hodgepodge of out-of-print material. You won't find 4th edition rulebooks or anything like that, but there apparently are a handful of 4th edition scenarios there.

avolcano··on Show HN: StartupSupper - Stop eating instant ramen you hungry-hungry-hackers.
As usual with these kinds of lists, I'm a bit weary to sign up without seeing a sample newsletter (or, in this case, recipe).
avolcano··on Distraction free writing and the simplest blogging platform in one
Pretty minor detail, but got me thinking. I like that the site has a Markdown video tag using the following form:

    |video|(http://youtube.com/watch?v=abc)	
Haven't seen that in any other Markdown implementations (always hate having to copy the embed code in for Tumblr's half-assed version of it). Is it new to Throwww or is it from another Markdown variation?
avolcano··on Distraction free writing and the simplest blogging platform in one
Considering that both of those are in private betas, I can't say either is really relevant to someone wanting to use a service right now. Kudos to sfard for actually launching something.
avolcano··on Polaroid wants to print your Instagrams
Anyone else think this was an Onion article when they read the headline?
avolcano··on Python: The Dictionary Playbook
You know a guide is good when it makes you want to go back and refactor old code. Great information, thanks :)
avolcano··on Hackulous shutdown
I have to say, Installous was actually a really impressive app for what it was.

It was literally as simple to use as the original App Store, which was incredible. I've never seen that kind of excellent design in an app designed for piracy. It seriously "just worked" in the same way that you'd expect any iOS app to work: you searched for an app, clicked install, it'd take you to a mirror (usually on a site like Mediafire), download it in the background, and install. The interface had a shocking amount of polish, too.

I can't really argue, as a developer, that it's a shame that development has stopped on it, but still - there must be a lot of smart developer talent in that group that will hopefully be put to better use now :)

avolcano··on Steam for Linux Beta is now open to the public
Interesting that they're using GitHub for issue tracking, although there's no actual code in the repo: https://github.com/ValveSoftware/steam-for-linux/issues
avolcano··on The Torture of Bradley Manning
Can you actually, you know, read the article before commenting on it? It's not very long.

Here, I'll help by pasting one of the more important paragraphs right here:

At Quantico, Pfc. Manning treatment wasn’t by the book: the sleep depravation and stripping of clothes; the humiliation; the taunts and mockery; the nine months of putting Pfc. Manning in protected custody citing concerns over suicide—concerns that were rebuffed relentlessly by both Pfc. Manning himself and qualified psychiatrists. That’s why Coombs is looking to have the case against his client thrown out, and Manning’s own testimony this week only accentuated the living nightmare he was made to endure for nearly a year while only a half-hour drive from the capital of the nation. As testimonies from Quantico staff, health professionals, and the private himself continued late into the night all week, often for hours without intermissions, more unraveled about not just the torturous conditions imposed on Pfc. Manning but the blatant mismanagement in the same institution he is accused of blowing the whistle on.

avolcano··on Welcome to a New Gist
They did; it was originally just a link to a random Gist to show the new design.
avolcano··on Welcome to a New Gist
Here's the blog post about the redesign: https://github.com/blog/1276-welcome-to-a-new-gist
avolcano··on Xbox 360 Sold More Units Than The Nintendo Wii U In November
Considering the Wii U was on sale for 12 days in November, and the 360 was on sale for the whole month, this isn't as bad as it sounds. And as the article mentions, it's been in and out of stock in many locations (though certainly not to the degree the first Wii was).
avolcano··on Google Car Search
Erm, probably mostly has to do with Acura being first alphabetically on the list.
avolcano··on Hacker School Winter 2013 Applications are Open
Ah, great! Thanks for letting me know. I went ahead and sent in my application a few minutes ago :)
← PreviousPage 9 of 14Next →