HNHacker News
TopNewBestAskShowJobs

stephth

1,140 karma · joined December 8, 2010

submissionscomments
stephth··on Are Those Spidery Black Things On Mars Dangerous?
I didn't. First time I read about it.

Either way it doesn't seem very constructive - or gentlemanly - to downvote an informed - and depending on the reader informative - comment.

stephth··on Bret Victor: Learnable Programming
Bret has written an amazing article, but the world he inhabits is soooooooooo far away I can't ever imagine getting there in my lifetime.

True, he doesn't seem afraid to take big leaps. Brilliant, visionary essay. But I don't think it's unrealistic. In my day to day (game dev) I spent very little time optimizing (and very rarely need to write any sort of bit shifting), but instead a huge chunk of development is spent slingshotting variables through loops into abstracted rendering directives. The hardest part in my job is by far understanding and visualizing program flows in my head. From the essay:

Wait. Wait a minute. Were you trying to answer those questions by doing arithmetic in your head? The computer somehow drew that picture, so the computer must have calculated all those scaleFactors itself. Are you seriously recalculating them in your head?

Sadly, yes, very often I am. Depending on the mood I also use a convoluted combination of notebook + pencil, breakpoints, printf statements, and/or isolating the problem by working on a separate program with the problem simplified. And having aids - like some of the great solutions suggested like the timeline and other state/flow displays - would give me tremendous gain today, if they could be integrated in my toolset. I'll give you that I imagine it being quite a bit more challenging technically to make it work with my C/C++/Objective-C environment, but with other more dynamic languages - like Javascript or as suggested: Clojure - I imagine it to be much easier.

This article is by the way, most likely the best argument I've heard so far for me to move to a higher level language. I like how Bret Victor talks about language (and API - see the autocomplete argument) choices as enablers to better environments; I think we instead usually think of language choice as something that mitigates how hard this work is to begin with with the tools we have (see the time and energy we spend in in this community on language choice). If I had access to tools offering this level of abstraction but had to adopt a language that I didn't particularly like, I think the latter would then become be the least of my concerns.

stephth··on Odd Things Happen When You Chop Up Cities and Stack Them Sideways
Original URL (with a few more cities):

http://www.armellecaron.fr/art/index.php?page=plans_de_berli...

stephth··on Blind man shocks researchers with what he sees.
That's funny, I had the almost same sci-fi scenario thoughts during one night. The thought of the nature of our minds being defined by a disease that we caught at some point in time and now completely identify with it, that that disease made us forget our true nature. It's pretty great as a sci-fi scenario, but I now believe it has a deep truth to it.

I later discovered the writings of Eckhart Tolle. According to him, we are diseased in the sense that we identify with our mind/ego, instead of realizing what it actually is: a tool. Part of the problem is we often don't know what exists underneath. We are 100% convinced we are our mind. But obviously we're not - if we were, we wouldn't be able to observe it. Once we realize we're not our mind, we're free of its control. Until we do, we're in a way, severely ill. We're actually not disfunctional in our true nature - but we're unenlightened.

At least that's what Eckhart Tolle says. I personally find it disarmingly logical - and reasonably easily provable within my perception, not to mention deeply liberating/changing. Finding out you can stop your thoughts and not only still be aware, but become the most aware you can be, that's quite a doozy of a realization.

stephth··on Thoughts on Paul Rand
What are you talking about?
stephth··on Thoughts on Paul Rand
A lot of problems between designer/client arise from miscommunication. It's not a problem that comes from this approach.

If the designer knows what she's doing, she just needs to know all the relevant factors.

stephth··on Thoughts on Paul Rand
This list is a good place to start: http://www.maedastudio.com/index.php

I would rather not show you specific examples and risk generalizing his work, but I don't want to drown your interest under perhaps too many choices, so I suppose I would point to his different advertisement pieces for Shiseido (interactive and print) as an introduction. (Search for images with the terms John Maeda Shiseido and crawl your way in.)

If anyone is really interested in his work (and if you do UI-related work dare I say, you probably want to be), I'd recommend the book "Maeda @ Media", it's a great guide through his earlyish work and process.

stephth··on Woman's call to end video game misogyny sparks vicious online attacks
I'm male and you don't see me flagging and trolling stories like these. I get your point, but it's a pretty sad thing to read about HN. I thought people here were more evolved than this.

This story is now on page 4. Incredible.

stephth··on Woman's call to end video game misogyny sparks vicious online attacks
media coverage of a non-event

There is no cultural study involved here, someone is making a series of videos where she reads tvtropes pages.

That's what I meant. You clearly don't care about this study (yes, it's a cultural study) or about its author.

Beats me how someone who doesn't care about something can be so invested on it, and I usually don't try to give advice to strangers, thing is, I'm tired of seeing people like you hijacking debates about misogyny, by completely missing the point from the top of a pedestal of "I'm beyond all this" yet injecting negativity in the discussion with a disproportionate amount of energy.

Maybe I'm projecting a way too big and way too ugly pattern on you, which might be unfair. But then, tough luck man. You're all over this thread (17 comments, you must be going for the record) basically pounding the same key.

If you want me to post less, why did you also directly ask me questions?

You might find it liberating to not reply to every reply, even if they contain critiques and/or question marks.

stephth··on Woman's call to end video game misogyny sparks vicious online attacks
How did this story already get buried to the second page of HN, when there are half a dozen of stories with roughly the same age and votes in the first half of the first page? I can even see a 4h older post with the exact same number of votes, still in the first page. I don't like to be cynical but it's hard not to notice the exceptionally angry comments against this topic and the oddly low position of this thread.
stephth··on Woman's call to end video game misogyny sparks vicious online attacks
Why is this suddenly a big deal now?

What do you mean it's a "big deal"? Is it a "big deal" because people are talking about it? Are you not cool with that?

Someone is doing a cultural study and is getting attacked for it. Some of us think that's worthy of our attention.

You've written 11% of the comments of this thread (13 comments out of 117), and they are mostly angry/poisonous. If you don't agree that this has importance, why don't you move somewhere else? You'd do a favor to this thread and trust me, yourself.

stephth··on goomwwm: Get out of my way, Window Manager
Optimal Layout (Application switcher + window manager): http://most-advantageous.com/optimal-layout

I just stumbled into it, I recommend watching the video.

stephth··on The importance of being prolific
I enjoyed this article, and this is a topic that I'd love to read more about, read other perspectives - if you have any suggestions.

But I don't think there's one process that's better that the other - outputting new works frequently vs working many years on the same work - and this article felt quite biased against the latter. It never mentions how a work can remarkably stand out in beautiful ways when the author takes the time to let his work grow and evolve during development, even if that means giving into to obsession to details. Think of Kubrick's 2001 or The Shining, Valve's Portal 2. To turn like they did, these works could not have been rushed out. Or think about how the quality of Stephen King's Dark Tower arguably declined once the author decided to accelerate the writing of the last volumes (V, VI and VII) (on the side of that argument, Stephen King has recently stated in interviews that he's thinking about rewriting major parts of those last volumes, like removing himself as a character).

There are obviously many examples of amazing works that were created in a rush of luck and intuition, and of incredibly long processes that turned into failures. But some of the best works in history took years, and grew older alongside their artists before being released. In the end it's about the artist finding the right process for his work and career, whether or not that meets this article's definition of "prolific". Even if the audience has to wait a decade for a work, if the process was the right for that work, it will still be the most beneficial call for the audience.

stephth··on Cool hack to take a photo of yourself on every commit
You're quite right. But we're still left with many problems stemmed from not having control on the sequence length and file names. I've tried it with a background task and the results are super flimsy. The time that the camera takes to be ready varies which then makes the number of files generated vary, sometimes the process is killed before imagesnap finished saving current file resulting in a corrupted image. And the file names outputted are really begging for some post-processing renaming.

Here's what I have for what it's worth:

    #!/usr/bin/env ruby
    require 'rubygems'
    require 'systemu'
    Dir.chdir(File.expand_path('~/.gitshots'))
    cam_warm_up_time = 2
    num_snaps = 6
    interval = 0.2
    systemu "imagesnap -w #{cam_warm_up_time} -t #{interval}" do |cid|
      sleep cam_warm_up_time + interval * num_snaps
      Process.kill 9, cid
      exit 0
    end
stephth··on Cool hack to take a photo of yourself on every commit
How about an animation instead?

    #!/usr/bin/env ruby
    num_snaps = 5
    time_int = Time.now.to_i
    num_snaps.times do |i|
      file="~/.gitshots/#{time_int}__#{i+1}_of_#{num_snaps}.jpg"
      system "imagesnap -q #{file}"  
    end
    exit 0
The problem with this code is it makes the camera go on and off successively, which creates a minimum delay between shots. It would be nicer to have finer control over the interval.

Picturesnap somehow supports sequences but there's no control to how long they should last (would require firing a background task), and snapshots get saved in the running directory (instead of based on the passed filename/path) which would require mving each file. Pull request could be a short and sweet free time project...

stephth··on Stanley Kubrick’s Interview with The New Yorker
Has anyone found a link to the actual audio file? I'm traveling and would like to listen to this.
stephth··on NSRails - Rails + Objective C Framework
I think that quote is about complex code.

We tend to look at macros as dangerous, but this is a pretty clean usage of macros, it's basically a function that turns the arguments into a string. Simple and easy to debug. Don't you think?

Edit: Discussion about that quote: http://stackoverflow.com/questions/1103299/help-me-understan...

stephth··on NSRails - Rails + Objective C Framework
Looking at the screencast I was surprised to see this macro syntax being allowed (passing an asterisk here means all properties get synced):

  NSRailsSync(*)
Here's what's happening. Ingenious stuff.

  //adding a # before va_args will simply make its contents a cstring
  #define _MAKE_STR(...)	NSRStringFromCString(#__VA_ARGS__)

  //define NSRailsSync to create a method called NSRailsSync, which returns the entire param list
  #define NSRailsSync(...) \
  + (NSString*) NSRailsSync { return _MAKE_STR(__VA_ARGS__); }
stephth··on RubyMotion - Ruby for iOS
I love writing Ruby code, but today I'm finally at a point where I also feel happy and productive with Objective-C. What made my eyes bulge is this:

http://www.rubymotion.com/developer-center/guides/project-ma...

No XCode. Instead of obscure and impenetrable project files, a convention over configuration Rakefile. Clean and Ruby-like workflows and repositories.

While you can certainly configure an Xcode workspace to program in RubyMotion, we do not provide any support for Xcode out-of-the-box. We do not believe that Xcode makes a good environment for Ruby development (or development in general). Ruby also makes it very easy to write great Domain-Specific Languages that can be used as elegant alternatives to graphical user interface or data modeling tools. [1]

Laurent Sansonetti gets it. I've been writing iOS code for three years and have never been able to figure out how to have a frictionless workflow around XCode, everything about it is convoluted. The idea of automating frequent development tasks with Ruby generators and DSLs sounds exciting and promising.

[1] http://www.rubymotion.com/support/#faq

stephth··on Kickstrap: Enhancements for Bootstrap
Not a very constructive discussion, but I do quite enjoy how the project site looks.
stephth··on Parse 1.0 is released
Thanks. And I will likely do that. Before I do and if I could borrow some more of your time: would using Parse qualify an app as containing encryption, in regards to the AppStore submission/guidelines?

See this question: http://stackoverflow.com/questions/2135081/does-my-applicati...

stephth··on Parse 1.0 is released
it wouldn't take a huge amount of skill to extract your client keys from an Android / iOS app: but as long as you've designed your ACL (access control list) correctly, it won't matter as your user will have to be logged in and authenticated to access sensitive objects.

But it's possible to edit the ACL from a client. Isn't that a potential weakness?

https://www.parse.com/docs/ios_guide#users-acls

stephth··on Rapid Prototyping
For rapid prototyping, I like the serverless one-file simplicity of SQLite. No need to start a db server, the app and the db can be contained in the same directory (and versioned within the same repository). You can drag it to another system and the app still works, and restarting the db from scratch is as easy as deleting the file. If needed, it's easy to manually edit with a diverse choice of GUIs. And ORMs like DataMapper make it a breeze to play with.
stephth··on Insurgent Games Makes All Games Free, Releases Everything as Open Source
Does anyone believe being selective about what you open source is a bad idea? If so could you share your perspective? (I'm asking as I'm guessing that may be why I got voted down)
stephth··on Insurgent Games Makes All Games Free, Releases Everything as Open Source
This allows aspiring game developers to learn and build their own games from the code.

All the repositories are GPL'd, so I'm assuming they meant build in a purely educational setting.

It's a nice move, but why not go all the way and let developers leverage your code in their proprietary code? Insurgent Games only open sourced once they gave up, so they clearly know that open sourcing all your code is not a good idea when you're selling games.

stephth··on Tower.js - JavaScript Framework for Node.js modeled after Ruby on Rails
Where/how do events fit within this framework? Couldn't find any explanation of it on the project page (or here...).
stephth··on Apple’s great GPL purge
I believe a huge amount of programmers want to provide open source code to open source code projects, not for proprietary projects.

Why not? Worst case scenario, some people use their software without giving anything back. Best case scenario, improvements find their way back into their code. But none of this can happen if the license is prohibitive.

stephth··on The importance of sleep in a startup
The thing that really got me thinking about sleep as a precious resource was being diagnosed with obstructive sleep apnoea. I was getting to the point where I was sleeping for 14 hours and waking up exhausted.

I often wonder about sleep apnea, I need a lot of sleep and have limited energy, nothing drastic but still noticeable compared to others. But I tend to think I don't have it, since in the morning I usually remember having long dreams - and sleep apnea is supposed to interrupt your sleep frequently. Were you able to observe new patterns in your sleep once you started using a CPAP machine?

stephth··on Why Facebook Connect Shouldn't Be Your Only Sign-in Option
This post reminded me to look for open source code to handle multi-logins, I'm currently in the planning stage of a project. These seem quite comprehensive. Is there any reason why I would be better off rolling my own code?

http://www.omniauth.org (Ruby/Rack)

https://github.com/bnoguchi/everyauth (node.js)

https://github.com/ciaranj/connect-auth (node.js)

stephth··on A Moment of Clarity in the Pursuit of Happiness
That being said, its never easy. Emotions never are.

Emotions do seem to have a life of their own. They seem like the results of deep and unknown mechanisms that I unfortunately have no control on. The best I can do is know myself better and manage that. For example, stress is an issue, and the only way I seem to be able to decrease my stress is to avoid stressful situations (for example avoiding too much work/responsibilities), instead of being able to deal with them. This means limitations with work load/pressure or certain social situations, where I get exhausted quickly.

That said, I've never studied buddhism or meditation. Could these help me control those deep inner workings?

← PreviousPage 3 of 12Next →