HNHacker News
TopNewBestAskShowJobs

alisey

97 karma · joined June 14, 2010

submissionscomments
alisey··on Tom Duff: Reading Code From Top to Bottom (1999)
In dynamic languages you can do this:

  some_function = function() {
    if (...) return 1;
    if (...) return 2;
  }.log("It's important I log that I'm returning");
alisey··on HackerBuddy
Full justification doesn't work well on the web, especially for short lines, because the spacing between the words is not consistent and the gaps are too large. Flush left, ragged right looks better. (Also, minus sign isn't a replacement for en dash).
alisey··on Ray Kurzweil does not understand the brain
But you don't need to write the whole interpreter to understand how that small python program works.
alisey··on Ask HN: Share a gem. Teach me and you.
Web app has an important downside: it's not hanging on your wall. Out of sight, out of mind.
alisey··on The Acceleration of Addictiveness
I think I can explain. I want to breath, but I never wanted to stop breathing. I want to play games, but I really wish I didn't want to. Not that I want to become a vegetable with no desires. I want some replacement that feeds my emotions and instincts just like games but adds "energy" instead of taking it away. By energy I mean anything that improves the chance of my genes survival (or genes of my species): health, money, safety, experience, knowledge.
alisey··on Is Gravity Real? A Scientist Takes On Newton
Gravity always wins.
alisey··on Notepad.cc - a piece of paper in the cloud
Well, it's a quick hack for private use, please be gentle. http://pisets.org.ua/hn
alisey··on Notepad.cc - a piece of paper in the cloud
Jakob, you did a great job. A couple of suggestions.

1. Make it visible when the text cannot be saved. Nobody wants to lose his work because of Wi-Fi glitch. In my version of notepad I implemented this with a light yellow frame around the textarea. I'm sure there's a better way to do it.

2. Imagine you could type a note into an address bar, hit Enter and have it added to your notepad. It's easy to implement, and it works really great for saving page URLs. Here's how I did it with a similar service of mine. Define a keyword search (e.g. "g hello world" - Google Search, "s hello world" - add a note), in Opera it's trivial - right-click the text area, select Create Search, and pick a keyword, I guess in other browsers it's doable too. The POST request carries the name of the page and a note to be added. It might sound simple, obvious, useless, but try it and there's a chance you'll love it.

3. List of my pages in the sidebar. Like, when I prefix my pages with "alisey." they go to the sidebar. E.g alisey.links, alisey.snippets.

← PreviousPage 2 of 2