HNHacker News
TopNewBestAskShowJobs

pi18n

820 karma · joined April 16, 2011

submissionscomments
pi18n··on Apps? No root? Your device serves others, warns Berners-Lee
This is absolutely correct. Apps should be completely isolated by default but users should be allowed to add access to other resources on a per-resource basis.
pi18n··on Apps? No root? Your device serves others, warns Berners-Lee
Per-application permissions, sandboxing applications, and one-click installs are great for the users. I'd like to have a filesystem like Plan 9's, where an app cannot even see outside of its box unless I let it. But for some apps I'd like to let it.

Preventing an app from opening other apps or arbitrary files if the user desires is awful for the users. Siloing data so that a user cannot use an arbitrary application to read a PDF is awful for the users. One-click installs and refusing to run unsigned apps is awful for the users when the only CA is Apple or Microsoft.

All of the current systems are poorly implemented. They could either be a step forward or two steps back. I'm not sure of the direction they are taking yet.

pi18n··on A few thoughts about Open Source Software
But also any GPL project can poach from a BSD project, but not the converse, so BSD contributions are (technically) a strict subset of GPL contributions.
pi18n··on A few thoughts about Open Source Software
What a good observation! Commoditize the complements by dropping a free competitive software that any entity can use and modify. And they've also restricted modifications from other companies with the trademark, so they have control over that as well. It's quite brilliant.
pi18n··on US Corporations Win Against Privacy in EU Parliament Consumer Committee
The US companies are disgusting, but it's a far cry from the wretchedness of the legislators that are proposing the laws whispered in their ears.
pi18n··on Functional C Programming: Higher order functions, closures, lifted types
I understand. I think you are right that it wouldn't make things more hard, I misunderstood that as implying that people wouldn't make memory mistakes under those conditions. So I was writing that one would require a GC to eliminate those kinds of mistakes.

I agree with you, reference counting is not something that would confuse an experienced programmer, but you do have to be aware of what's happening with your objects.

pi18n··on Functional C Programming: Higher order functions, closures, lifted types
I think if you have objects and a reference-counting GC already this problem is pretty easy, but I assume the C programmers don't want that for performance or portability or some other reason.

NSInvocation has a signature of the variable types of the method it represents, so it can retain the object ones without trying to retain plain integers.

Modern Obj-C uses blocks to make closures, which the compiler changes into structs holding all the variables referenced. It knows the types of these as well, so it writes code to retain any object types and releases them as it is released. They haven't got a cycle collector in the runtime, so programmers still make mistakes by accidentally making strong cyclic references.

Assuming the reference-counting GC, it's not hard, but you can still make mistakes.

pi18n··on Jonathan Coulton vs. Glee
Also there are plenty of us that are pro-reform and anti-outrageous lawsuits who are also against the infringement as well.

When I see a large player in the industry fuck up and "steal" someone's copyrighted work, it's yet another example of how they don't give a shit about artists, despite what they claim. These incidents are perhaps a good way to show the public what large media corporations are really concerned with; making money for the execs at the expense of anyone else. If the public is aware, maybe we'll have better success at reforming copyright and other IP laws. (Although I cannot deny there is the schadenfreude aspect of it also.)

But please note the scare quotes, because it's not a theft, due to the exact reasons I would argue regarding any other two entities with copyright disputes.

pi18n··on Project started to run Erlang on bare metal
How about Kerlang? Pronounced by adding a k sound to the front of Erlang.
pi18n··on Project started to run Erlang on bare metal
I was thinking this also! The difference between Erlang and an OS seems like little more than device drivers. Moving BEAM into kernel-space would improve the speed of the thread switching and IPC. So Erlang is a particularly good language to try this with.

Also I think this is a good idea in general. With cloud hosting, why run a full Linux OS if you are only going to run a webserver or database shard on it? If the OS could be replaced by a file manager and the runtime code of a single application (with some significant speedup), there are probably a bunch of companies that would be interested.

pi18n··on Opposite of a Bloom Filter
I hope this won't come off as tactless, but is there something going on in there more significant than CAS and writing to the database if it's a different value? Because I do non-blocking programming as a hobby and I'd love to know.
pi18n··on Improve your REPLs with rlwrap
I knew about rlwrap, but hadn't bothered to learn anything in depth. Thanks, keywords are a great feature that I wouldn't have known without this.
pi18n··on Who Can Name the Biggest Number?
This is the best one I've ever seen. The description seems fairly benign, but then one needs a ridiculous number like A(187196) to describe the applications of Ackermann's function to get a weak lower bound.

And the first two steps are rather small, which adds to the surprise.

pi18n··on How Computer-Hacking Laws Make You a Criminal
We've told them multiple times their country is sliding downhill. If Americans want laws "protecting" them from terrorists, let them have it. The ones who get clued in can emigrate to an actually free country.
pi18n··on Taf - A plan for a statically-typed Lisp
I just know I've made some mistakes in the past that would have been caught by a type checker, and I'll probably make similar mistakes in the future. I like trying stuff in the REPL, but when an idea has solidified, I'd like to have it fully type check (along with using unit tests and CI).

I guess it just doesn't seem like a burden to me; most of it is just preventing passing a variable as something it is not or double-checking that you've handled all the cases for Maybes and Eithers. It's all stuff I'd like to be doing anyway.

pi18n··on Taf - A plan for a statically-typed Lisp
I don't think there's a mass hysteria, is there? Certainly a few arrogant Haskellers, but I don't see an epidemic.

Static typing eliminates an entire class of bugs. It's not like any of us need it, it's just a powerful tool. It might be a nice option in a Lisp if it could be done elegantly.

pi18n··on How to install silently malicious extensions for Firefox
This is one of the exact scenarios Apple is trying to prevent with Gatekeeper. Although I think Apple implemented it poorly and I strongly object to their code signing policies, I do hope more OS's include application-level permissions and methods for developers to sign their binaries as a standard thing.
pi18n··on Why we've decided to stop producing TNW Magazine for Android
PDF's don't even work well on my Kindle, let alone my phone. Half of the PDF's I have for research are taller than my screen at a readable size, but inexplicably two-column. PDF is not the ultimate solution to portable documents.
pi18n··on The FBI Needs Hackers, Not Backdoors
Why wouldn't they just have both?
pi18n··on Petition: require free access to publicly-funded research
You would have to hire a lawyer in any state due to the sheer number of laws; this seems to say in CA that lawyer also has to buy public domain papers from a private entity.
pi18n··on Buffy vs. Edward Remix Unfairly Removed by Lionsgate
I was wondering if Twilight was really that bad or if they had cherry-picked dialog. Every moment cut in from Twilight was painful.
pi18n··on Memorizing a programing language using spaced repetition software
Haha, no, I believe you! Just curious to hear another perspective on it... and I had forgotten that he was getting hours of passive input in addition.

It just always sounded interesting because I had reasonable success with flashcards for single words. In retrospect, that was before I had the ability to read even short stories, so maybe I am remembering the utility of them wrong, or they seemed useful because the alternative was nothing.

pi18n··on Memorizing a programing language using spaced repetition software
But can't you also use SRS with larger chunks? I think that's what the All Japanese All The Time author does and he's fairly confident about the results.
pi18n··on An iPhone lover’s confession: I switched to the Nexus 4
What you're arguing against is not the point of my statement.

If the vendor does not implement something like that, it should still be available as a third-party software. It doesn't need to be a security problem using a system like permissions. If they had a reasonable system there would be multiple options for blacklists.

I'm not irritated that they choose to implement feature X over feature Y, I am irritated because there's no way to implement feature Y at all without their most holy consent.

Something like a blacklist is simple and useful, why can't we have it? Why can't we have mobile interpreters for our scripting languages? Why can't we have apps that download articles while we sleep, without us babysitting the phone to make sure they are open, and add them to a reading list?

It's a small computer. It's ridiculous to restrict it as it is.

pi18n··on μLithp - a Lisp in 27 lines of Ruby
I thought they just had special rules for expressions with a car in {set!, lambda, if, quote, ...} such that arguments to those are not evaluated. From there you can construct whatever else. I might be mistaken, I'm not clear on the history of it.

You know what you might like, if you haven't seen it yet, is the Kernel programming language, a Scheme where everything, including macros, is first-class.

pi18n··on Monads are a Class of Hard Drugs (2008)
I read that and I am none the wiser. I guess I need to find a tutorial on comonads too :/
pi18n··on An iPhone lover’s confession: I switched to the Nexus 4
Launching other apps can be done by any app right now, but the app package needs some info saying the app is able to handle a certain data type or open a certain URL protocol.

I am an Objective-C developer and I love the SDKs on the iPhone, but I am just so tired of Apple's bullshit regarding using our devices the way we want to. I'm tired of waiting for them to enable basic features like phone number black/whitelists.

My next device will be a Nexus. Then I can run apps in the background other than music, share data between apps, sideload apps from third parties, run a mobile terminal, run mobile scripting languages, and basically be free to use my hardware as I'd like.

pi18n··on Monads are a Class of Hard Drugs (2008)
It's just so weird, because monads are obviously useful :)
pi18n··on New services bypass Apple DRM to allow pirated installs without jailbreaking
I feel the exact same way. I jailbreak to develop on my own device and use Cydia for things they'd never let through. I've never used Installous or anything like it.
pi18n··on A Pickpocket's Tale
I have a friend who used to be very into sleight-of-hand. He described some of his time at a magic camp once, apparently it was a mark of superiority if you managed to putpocket another magician, so they would spend some effort on doing it to each other. I think it's a great mental image -- some poor magician emptying aces out of his pockets in the evening, "damn it, damn it."
← PreviousPage 6 of 12Next →