Hacker Newsnew | past | comments | ask | show | jobs | submit | digitaltoad's commentslogin

I actually use Kitty with tmux/vim. I noticed a massive improvement in rendering speed over iTerm. This was after messing with iTerm's own accelerated rendering which wasn't as much of an improvement as I had hoped.


>end-of-the-world absolutely need performance/hard realtime guarantees

As someone who spends much of their time inside a editor, I would say that this is pretty important to me.


I meant hard realtime [0]. Your operating system is probably not hard realtime, which means that any editor you run isn't either.

[0] http://stackoverflow.com/questions/17308956/differences-betw...


Depending on the complexity of the app, I feel like this way of handling middleware can get out of hand.


Doesn't this still effectively break the back button or at least the users view of the back button? To the user although there are visual hints, he/she hasn't left the page. Scrolling down the page however creates multiple history entries.


Nope, this seems to use history.replaceState, not pushState: https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/M...


I don't think it does, at least not on Firefox. When you scroll down the URL just updates without a history entry being added.


It does.

This would be perfect if clicking the nav didn't cause a page reload. I expect the page to go back to an entirely previous page, if I hit the back button in this case.

That would not be the case if the sections of content were different from one another.

- A super-scrolling page with different sections of content might keep the back button functionality the way it is here.

- Homogeneous content like Facebook posts should not incur a back button through the pagination.

IMHO. But this is super cool otherwise.


I was mistaken. I must have clicked through to a page.


Just a quick edit to the script to re-enable the purchase button if the Stripe modal is closed.

http://jsbin.com/alesuk/16/edit


I would say that "each person in people" is a far cry from the type of logic in views normally frowned upon. What would you propose to be different in this case? Where does iteration of this type belong?


Check out mustache. It has things that can be used for iteration but it isn't explicit and you decide what actually happens at runtime in code rather than in the template.

http://mustache.github.com


The {{#array}}item{{/array}} syntax is functionally equivalent to and equally logicless as {{#each array}}item{{/each}}, only the latter (handlebars) has the benefit of being precompilable and easily extensible by frameworks such as Ember, Meteor, and the like.


They may be equivalent, however, the first version has the freedom to do what they wish, for example, what is represented by array may not be directly iterable or it may be filtered. Precompilation is available in a variety of languages for mustache, including js.

IMOH, handlebars is a lazy version of mustache where the developer using it sacrifices maintainability and encapsulation. Which is probably ok for most apps that don't grow beyond a single developer.


Hogan.js by Twitter is a mustache implementation that supports precompilation, among other things.


I'm a WoW user as well. I will say from experience that you do not have to argue with anyone about removing the authenticator. You simply submit a support ticket containing a picture of your drivers license. The authenticator is usually removed in a few hours. I've done this multiple times now due to formatting my phone without grabbing my restore codes for my authenticator.


I have actually been toying with building out something like this as well. My wife is a photographer and building something around dropbox and glacier only made sense.


A year ahead of you :). Pull requests!

Hosted version: https://openphoto.me

Project page: http://theopenphotoproject.org

Source: https://github.com/photo


You shouldn't ever have to count lines in vim. The five line deletion example could have been done as:

  10dG
Which would delete from the cursor to the tenth line.


d5j

delete five from where you are- inclusive


This still means you would be counting 5 lines whereas I'm just specifying what line to delete to.


I am subtracting, but your point is valid.


The mission control bar looks very familiar. Although I can't remember the name of it now, I seem to remember there being a debug bar of sorts that worked with merb/rails projects that had the same type of look. Anyone remember the name of it?

Edit:

I was thinking of FiveRuns Tune-Up toolbar.


Maybe your thinking of the old FiveRuns Tune-Up app. I used that all the time when I was doing early rails projects. They got bought and shut down awhile ago but I found an old TechCrunch article on it.

http://techcrunch.com/2008/05/29/dont-debug-alone-with-fiver...


I think it is (I remembered the black bar too).

It seems to be there (but not updated):

https://github.com/fiveruns/fiveruns_tuneup


That is indeed it. I had just found it too.



It was not rack bug. I'm having trouble finding it. I think the company that released it was bought or closed shortly after.


Django debug toolbar?


Rack::Bug?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: