Better HN
topnewbestaskshowjobs
Log inSign up

coderzach

738 karma · joined Aug 4, 2012 (14y ago) · 227 submissions

NYC

Hit me up: x.coder.zach@gmail.com @coderzach

[ my public key: https://keybase.io/zachs; my proof: https://keybase.io/zachs/sigs/juDKxijwVyXahGtTJ39re2D4uNXRL78rfKeqlKgTW9s ]

Submissions

comment 11y ago · link · parent

It would be trivial to pipe the output of the stream to the `client` yourself. The benefit of that being that rethink doesn't have to auth the clients.

This is a preferred solution because the only efficient alternative is to inspect every insert or update, manually determining which clients care about those changes.

comment 11y ago · link · parent

Wow, the realtime push feature will be a game changer. It removes so much of the boilerplate required to build server push apps. I'm super excited to start using this.

comment 11y ago · link · parent

Who distributes the protein sequences?

comment 12y ago · link · parent

This looks pretty awesome. I like the idea of a limit on the amount of bad code. Rather than having a hook that fails any time the code doesn't pass. Since that leads to you disabling it in emergencies and never turning it back on.

comment 12y ago · link · parent

Good catch, thanks.

comment 12y ago · link · parent

That's a great writeup. I went by Apple's documentation, which I guess was a bad idea. Thanks for pointing this out.

comment 12y ago · link · parent

That's really interesting, I wonder why that is? Is the decode step is that much faster?

comment 12y ago · link · parent

From this video: http://youtu.be/3Bq521dIjCM?t=23m50s

<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">

Also, I'll add it to the post.

129.

Mobile Web App Checklist(luster.io ↗)

138 points · by coderzach · 12y ago · 34 comments

comment 12y ago · link · parent

Really Impressive. I wonder if you could use this to visualize a neural net that's solving actual problems.

comment 12y ago · link · parent

This is great! I've been thinking about the problems this solves a lot, and this seems really on the mark.

comment 12y ago · link · parent

It's odd that it not only ok, but mandatory, to discriminate based on someone's place of birth.

comment 12y ago · link · parent

This looks really great! Nice to see impulse being used to make awesome things.

comment 12y ago · link · parent

This is cool, I think this is a really good start, you have a fun interaction, and breaking the squares feels gratifying. I think that if you added more game challenges, rather than JUST collecting as many squares as possible, you could have something great.

Think: obstacles, power-ups, extra time, etc.

comment 12y ago · link · parent

Wow, this is great! I've gone weeks without software updates because I didn't want to lose my tmux session.

comment 12y ago · link · parent

Yeah, they totally do.

comment 12y ago · link · parent

Thanks a ton for looking into this, I made an issue at https://github.com/luster-io/impulse/issues/5

comment 12y ago · link · parent

Thanks for the heads up, wrt windows phone, it's definitely high on my list to get windows phone support. The reason I open the demos in a new page is that it prevents interactions from triggering the back-swipe gesture in iOS 7 safari.

comment 12y ago · link · parent

Thanks for the heads up, I don't have consistent access to an iOS 6 device, but it's on my list of things to buy, along with a windows phone.

comment 12y ago · link · parent

Interesting, so it's the android WebFrame that's the issue. Do you know what version of android you were using?

Android 4.4 uses the same rendering and javascript engine as Chrome for android, but older versions of Android's WebFrame use a different fork of webkit.

comment 12y ago · link · parent

Yeah I'll be adding a page for that soon.

Right now it's iOS 6+ and Android 4+. It works on windows tablet, but I haven't been able to get my hands on a windows phone. Also, it works on all modern desktop browsers, IE 10+, with IE 9 support coming soon.

I'll add a page in the docs for this soon.

comment 12y ago · link · parent

Whoops, yeah I'll fix that really soon, and deprecate `Boundry` before it gets used too often. Thanks for the heads up!

comment 12y ago · link · parent

Yep, in the near term I think phonegap/cordova are a great way to make cross platform apps really fast. I've been using Impulse on client projects and most people don't realize that the app isn't native.

Although, my hope is that the web will progress as a platform to the point where cordova/phonegap/app store/play store aren't needed. Domenic Denicola gave a great talk about exactly this topic at EmpireJS this year. And he explains it much better than I can.

https://www.youtube.com/watch?v=XzRBgj1AJYA

comment 12y ago · link · parent

I'd just like to add that Velocity is an awesome library and is really well written. If you need static animations it's a great tool, and you should definitely use it.

comment 12y ago · link · parent

Thanks, I updated it to make it more clear!

comment 12y ago · link · parent

That's a great idea, and super important. I'm going to start working on that right now.

Right now it's iOS and Android, and works on most versions I've been able to test on. It works on windows tablet, but I haven't been able to get my hands on a windows phone.

Also, it works on all modern desktop browsers, IE 10+, with IE 9 support coming soon.

comment 12y ago · link · parent

Number one is being careful about NEVER triggering a repaint while an animation is happening. That means only animating css transform properties and opacity, and deferring anything that updates the contents of an element until after an animation is finished.

Number two is that, even though it's running a physics simulation for each animation, we kept the physics code really simple. The simulation code generally takes less time than the drawing itself.

It also doesn't rely on jquery animate, which has a lot of extra cruft to run on older browsers and support legacy code. Writing the rendering in pure javascript helps a ton.

And I think the last thing is that, when the animations respond with the velocity of your interaction it makes everything feel really smooth.

Even if an animation runs at 60fps, if the way it responds to your touch feels bad, the animation won't look good.

148.

Show HN: Impulse – Dynamic JS Animations for the Mobile Web(impulse.luster.io ↗)

93 points · by coderzach · 12y ago · 31 comments

comment 12y ago · link · parent

Some feedback, mostly on the UX:

So I dismissed the instructions without reading them thoroughly. Everything was super confusing and it was unclear what up or down did, other than start playing different music.

It seems weird that up chooses a new artist and down chooses the next song. I heard a song I like, accidentally pressed down, and then up went, in an attempt to get back, but instead was sent to another artist. Super confusing.

The back button randomly changes artists. This is also super confusing. Couldn't you have a button for that?

When I click on one of the albums, the transition doesn't make it clear that it's now playing what you clicked on, and the previous list is now GONE. I assumed clicking would "select" the album. Also, once I've clicked an album, there's no way to get back.

And finally, my general feeling about the interface is that it's too focused on "power users", not being quick and easy to understand. I doubt this is something that needs really easy hotkeys, and if it does, it should be complimented with buttons that do the same things.

Don't let this feedback discourage you. I think you're solving a real problem, it's just hard to get past the UX. My advice would to to do some user testing. When you're building a super experimental UI, that isn't like anything else in existence, you probably want to verify that it doesn't completely confuse people.

tl;dr Do some user testing and you'll see most of these problems for yourself.

comment 12y ago · link · parent

Building things with js, css, html, takes much less time than writing the same thing in objective-c. Also, way easier to build cross platform.
1
45678