HNHacker News
TopNewBestAskShowJobs

pederb72

32 karma · joined April 12, 2010

submissionscomments
pederb72··on My Notes on Apple Math Notes
Looks like the graph is rendering a different expression than the one you are modifying. If you tap to select the graph element view there’s a graph config button you can tap to select which expressions are actually active for that view.
pederb72··on The App Store Nightmare
Microsoft won't even let you move your X-Box Live account to a different country/region. My wife has this problem now since her Live account is stuck in Europe and there's just no way to move it to the US. This is extra troublesome on the X-Box since some games are region locked so she has to order some games from Europe.

I think there may have been some misunderstanding here regarding his App store account though; I also see a comment on his blog indicating this. I moved from Europe to the US and can't remember having any problems moving my account to the US. I can imagine that it's problematic to have two accounts on the same device though.

pederb72··on MusicForProgramming();
I recommend DJ River's Ambient Mixes: http://www.djriver.com/
pederb72··on [dead]
You should watch Life of Brian some time:

http://www.imdb.com/title/tt0079470/quotes

pederb72··on Parsing: the solved problem that isn't
PEG for Lua is pretty easy to use and experiment with: http://www.inf.puc-rio.br/~roberto/lpeg/lpeg.html
pederb72··on Dirty Percent
The Dropbox app on iOS can play mp3 files so you don't have to use iTunes to sync your music.

iBooks having DRM is (IMO) a problem with the publishing industry, just as DRM on music used to be a problem with the music industry. I want Amazon, and Apple, to push the publishing industry into dropping DRM on books.

pederb72··on Dirty Percent
As far as I can remember, Apple/Steve Jobs talked the music industry into dropping DRM on music. As the leading ebooks store Amazon should be the one to push to remove DRM from books.
pederb72··on Dirty Percent
I'd love for Amazon to remove the DRM from their books, and just sell books in epub format which can be read on any device without a Kindle app. That would solve Amazon's problem with iOS/Apple, and also be an ideal solution for end users. EDIT: what I mean is, music is now sold without DRM. Why do we still need DRM for ebooks? I'd love to be able to just put all my ebooks in a Dropbox folder, and not depend on Amazon to create an app for every platform where I want to read my books.
pederb72··on Ask HN: What are the best technologies you've worked with this year?
GLM (http://glm.g-truc.net/) - A C++ mathematics library based on GLSL. It's not a new library, but I didn't know about until 2010. It's really convenient to use (almost) the same syntax in C++ as you do in GLSL.
pederb72··on Lua Doesn't Suck – Strange Loop 2010 20-minute talk video
Actually, Lua's table object is split into two parts. The array part, which is accessed using numerical indices, and the dictionary. It's done like that to enable fast array access, and I do find it an incredible useful feature in Lua.

In my experience 1-based indexing is not a problem when you're just writing Lua code. I've sometimes been frustrated when creating Lua bindings to C-modules which involved some kind of array access though.

pederb72··on Spotify hit the 10 million users milestone
I couldn't agree more. I've been a Spotify premium user from day one (I loathe commercials), and it's absolutely worth the monthly fee. As a premium user you also get the iOS/Android app, which lets you cache up to 3333 tracks on your mobile device for offline playing.
pederb72··on Fabrice Bellard
A personal hero for me as well. In addition to the projects listed in the wikipedia article, I'd like to mention TinyGL (http://bellard.org/TinyGL/), which was really useful for OpenGL on BeOS/BeBox (much faster than Mesa), and qemacs (http://bellard.org/qemacs/) for editing really large text files.
pederb72··on Now that Apple has relaxed its iPhone restrictions, give Lua another look!
Thanks a bunch for this. I've experimented a bit with Lua/ObjC bindings as well, and your solution looks very good.

I just love Lua. It's such a powerful language, and perfect for embedding :)

pederb72··on So....Python on iPad/iPhone/iPod/iWhatever?
Just compile the interpreter/VM and include it in your application. It depends on the size of the interpreter if this is possible/practical I guess. It's no problem with Lua for instance, since the Lua runtime is really small.
pederb72··on VLC Submits iPad App to App Store
Using your logic VLC shouldn't release a Windows version since Linux is more open than Windows. I'm sorry, the world just doesn't work like that.

Besides, even with Android NDK it's probably easier to port VLC to iOS than to Android?

pederb72··on YouPorn to offer HTML5 video tag support
You don't think Safari on iPad/iPhone can view porn images already? :p
pederb72··on Ex-Adobe Engineers on Thoughts on Flash
All risk could be removed if an app could only use a specific version of a library I guess (even a bugfix micro release can introduce regressions). However, adding support for 3rd party libraries would add quite a bit of complexity to the app store, since each app would have to include information about which external libraries it uses, and when downloading an app, iPhone OS would also have to download all the external libraries, if not already installed.
pederb72··on Ex-Adobe Engineers on Thoughts on Flash
Then Apple would have to trust that Adobe (or other 3rd party library developers) will never introduce regression bugs in their dynamic library, and never break the ABI, otherwise you risk that an update in a library will break lots of existing apps.
pederb72··on Letter to Steve Jobs
This is stated again and again on HN, but it is just not true. You could run interpreted code, it just wasn't allowed to download and run modules, everything had to be linked into the application.