21,186 karma · joined Oct 12, 2010 (16y ago) · 6,050 submissions
Personal site: http://www.adityamukerjee.net/
My email is pretty easy to guess from my username.
comment 14y ago · link · parent
The only thing that could be a problem are the drivers, but if those are open source, you bet there'll be a patched package for any mainstream distro, and even closed-source drivers on Linux these days are very good. I can't remember the last time I ran into driver problems. What's more likely is fundamental limitations of the hardware itself, rather than the drivers, but that won't be a problem here.
comment 14y ago · link · parent
Disabling the nauseating window-switching animations in Lion (not Snow Leopard), the ability to implement proper tiling window management (think wmii, not Divvy/Shift), focus-follows-mouse, arbitrary remappings of keys, mapping keyboard shortcuts involving the return/enter key, disabling the hardcoded built-in delay in the Caps Lock key, unified package management (homebrew != portage), unified binary package management (pacman != homebrew != portage), launching of 'applications' from a terminal without hunting down the location of the binary[1], renaming Documents/ and Downloads/ to their lowercase equivalents without breaking tab completion (seriously??), getting GNU screen/readline working in Terminal.app without really awkward line wrapping problems, the ability to access basic utilities (like system temperature) from the command line, upgrading system versions of things like the python interpreter (this may have been fixed), changing the resolution and font-size system-wide, scripting arbitrary window behavior in any language (again, think plan9/wmii), mounting /tmp in RAM the way tmpfs in Linux provides...
...that was just off the top of my head, but clearly there's quite a bit. Some of that is because it ships with a version of bash that's on the order of a decade old... but that's a problem in and of itself!
[1] Yet another example of how the concept of applications is broken on OSX - installing an application from a .dmg file is a completely different process from installing something via make install on a traditional (*)NIX.
comment 14y ago · link · parent
That way no tertiary server would be needed, which would probably improve the response times (and cost less...)
comment 14y ago · link · parent
I've only poked around Heroku a bit with basic applications and the standard stacks (Python w/ Flask, etc.), but I think I'll look into what would be required to create a buildpack for Racket.
That is, if someone hasn't already beaten me to it...
EDIT: As figures, it already exists[1]; I'll toy around with it and test it out before suggesting they add it to the list.
comment 14y ago · link · parent
It makes sense when you think of an entire resolution (program) as a single goal (output/result), which involves many separate steps/clauses (statements) that need to be executed.
A period is a terminator; it says 'This thought ends here', while a semicolon is a delimiter (ie, the clauses it separates are independent grammatically, but not contextually).
[1]http://web.utk.edu/~modelun/resolutions.htm (Model UN rules, but you get the idea).
comment 14y ago · link · parent
Or you have goals which are substantially different from the goals of the original project.
Lets not forget that parts of Android are 'forked' from Linux (and were later merged back).
comment 14y ago · link · parent
More importantly, when the fee was removed again, parents continued late pickups at the higher (with-fee) rate. That's the real point of both stories - once the terms of the agreement have been moved from the social to the monetary realm, it's very hard to get people's brains to switch back to the social terms.
comment 14y ago · link · parent
I'm a Lisper who's also programmed in Scala. (And for the record, I'm not a Lisp purist - in fact, there are a number of things I really like about Scala).
But I'm not sure how I feel about this change. Scala can already implement things like DSLs through creative use of type inference, etc.
> It's nice to use standard list operations in a macro instead of needing to learn AST magic.
The power of Lisp's macros come from it's homoiconicity, which is something I could never have appreciated before learning Lisp - in fact, I didn't even understand its significance until I wrote an implementation of a Lisp compiler for the first time. (For the record, it was a better learning experience than it was a compiler, but that was the whole point).
The best explanation I've seen of homoiconic macros is one written by a well-known Perl programmer. http://lists.warhead.org.uk/pipermail/iwe/2005-July/000130.h... (In a way, it makes sense that a Perl programmer would be the best at explaining what homoiconicity is, given that its extreme heteroiconicity is the underlying cause of many of the common criticisms of Perl to begin with).
That email is mostly accurate, and it includes this gem:
> Source code generation is unreliable and inadvisable in every language except Lisp.
This is where macros really shine. Macros allow you to generate source code reliably - or put another way, they let you refactor your code far more than you ever thought possible. (When you realize how easy it is to write Lisp programs that recursively define other valid Lisp programs, it's not hard to see why it's such a favorite of the AI community![1])
But here's the catch - for the kind of reliability that MJD talks about, you need to have the internal representation of the language be a fundamental data structure in the language, not just the textual representation.
Why's that? It's simple:
> It's nice to use standard list operations in a macro instead of needing to learn AST magic.
In Lisp, the internal representation is a list. The AST is a list. There's no 'instead of' here... macros are simply AST magic made simple....!
comment 14y ago · link · parent
So the question is really not whether there is an opening for a Twitter alternative and what features we would want it to have, but rather why the existing alternatives with strictly more features failed to catch on.
My take is that Twitter had already passed a threshold by the time these alternatives hit the scene, and their first-mover advantage carried them a long way in defending themselves against other similar-but-incompatible platforms.
Put another way, the reason Twitter is singular and email providers are not is that email providers communicate with each other over a common open protocol, whereas Twitter communicates only using its (closed) API.
The difficulty would not be in defining an open protocol to doing what Twitter does, naturally; existing ones could be tweaked slightly to achieve the same result. (Look at what Shortmail is doing while maintaining 100% backwards-compatibility with traditional email).
The problem is that Twitter has no incentive to turn its "open" (read: closed) API into an completely open means of communication like email, because doing so would squander the one huge asset it already has: a captive userbase.
(For the record, the same arguments could apply just as well to Facebook; people just don't think about Facebook that way, because we're all so used to them being a walled garden).
comment 14y ago · link · parent
However, both methods I know for doing this only work inside an X server - does anybody know a good way to remap keys without X?
comment 14y ago · link · parent
It would be literally impossible for this to happen in a Turing-complete language, though, because a hypothetical 'perfect' type system would be able to solve the halting problem.
The Haskell 'Bottom' type alludes to this in its documentation, actually: http://www.haskell.org/haskellwiki/Bottom
(Essentially, Bottom is a member of every type, or else the compiler would need to distinguish between a halting program and a non-halting program before accepting the input program).
comment 14y ago · link · parent
Are you sure about this? So I could write any patent-infringing code I want, distribute source-only (or even write it in a purely interpreted language) and then nobody can complain that I've violated any of their patents?
comment 14y ago · link · parent
However, if the DoD is hiring outside help, I'm not sure the above case is even relevant. When a startup hires an individual to write code, the individual doesn't necessarily maintain the rights to the code he writes, because he's acting on behalf of an organization (so the rights are automatically assigned to the company instead). And a company is free to distribute GPL code internally without releasing its source externally.
A separate question is whether the fact that the DoD is a government agency makes this aspect of corporate law not apply. Most writings of the public government are automatically in the public domain (a law which was pivotal in the Pentagon Papers proceedings), and the fact that the government is comprised "of the people" may make this issue more complicated.
> And even though the DOD’s use of open source code will alter the GPL for said code (they can’t, for obvious reasons, release any code they use and modify back into the wild)
This is what I don't understand. What are they altering about the license? And what are these seemingly 'obvious' reasons? The NSA was fully capable of releasing SE Linux. As for software to control missiles, etc., the real issue is that individuals (and even nations, as we've seen) can't create the physical weapons easily - the software itself is not necessarily the biggest hurdle.
(And, depending on what type of use we're talking about - though we'll probably never know exactly - the GPL may not even need to take effect, just as GPL and proprietary software can both coexist on an underlying GPL operating system, for example).
comment 14y ago · link · parent
However, not to be a wet blanket, but it's rather simple to construct a winning algorithm, particularly if you can both choose the same starting number and always go first (and choose the same starting number multiple times). If I had a few extra minutes at work right now, I'd take a stab at it.
...That is, unless that's the entire point?
comment 14y ago · link · parent
I'm surprised that nobody else has pointed this out, but that's not true at all - we measure screen sizes by the diagonal, but the actual screen size is a quadratic function of the diagonal. If the aspect ratio were such that the screen were a square (it's not), this would mean that a 10'' screen would be more than twice as large as a 7'' screen, which would be three times as large as a 4'' screen.
That said, the screen size is really only part of the picture. At least for me, I like the size of the Kindle Fire (also ~7'') - it fits perfectly in my hand both when traveling and when reading. A 10'' screen to me feels massive enough that I'd just as rather have my computer (heck, 10'' is almost the size of some ultrabooks or the Macbook Air!)
comment 14y ago · link · parent
If so, I'm glad to hear that Google is addressing the problem of not having their own devices be up-to-date (which was an embarrassment for some Android updates on previous Nexus devices).
comment 14y ago · link · parent
EDIT: NelsonMinar explains this better in his comment, but if you think of the inodes, not the files, this behavior makes perfect sense.
comment 14y ago · link · parent
Technically, none. Best Buy doesn't mark up Apple computers at all; Apple pays kickbacks after the sale of devices. (At least, I'm assuming that nothing has changed since 2009).
May seem pedantic, but from an SCM standpoint, it's an important difference.
comment 14y ago · link · parent
It's provided as a service sometimes, but the legal obligation is very different (essentially absent altogether), as are the incentives.
With a credit card, the 'default' is that you don't pay the credit card company (and you have no reason to), so they lose out on the money unless they get it back from the merchant.
With a debit card, the 'default' is that the merchant wrongfully holds onto the money, and unless they get it back, you lose out on the money. Since they have no legal obligation to settle that dispute even when the customer is in the right, they may not, in which case you (the debit card consumer) lose out.
comment 14y ago · link · parent
See my above reply - they may provide similar services as if as a "courtesy", but the legal obligations for both parties are very different with credit and debit cards (very much in the consumer's favor, if the consumer is using a credit card).
comment 14y ago · link · parent
Not just leverage, but an obligation. Or rather, even if your debit card says Visa or Mastercard on it, they have no legal obligation to get your money back. You don't have an obligation to pay the merchant, but the impetus is on you to get your rightful money back (the debit card company may help, but they are not required to).
With a credit card, they don't exactly have an obligation either, but this time it works in your favor - it's the credit card's money, not yours, and while you still have no obligation to pay the merchant, this time it's the company's money that is on the line (the collateral, so to speak). So they will fight tooth-and-nail to get it back, because technically if they don't, they can't collect any money from you.
(They may still try, but then you have to weigh the cost of a legal battle with them as well).
Think of this in the context of theft/fraudulent use of your card, and you'll see why debit cards are very risky indeed. (Remember that, even if you manage to get chargebacks on your debit card, you may still be liable for the fees for the temporary, eventually-reversed overdrafts!)
comment 14y ago · link · parent
That's a little harsh - yes, a lottery is involved, but only because the supply falls far short of the demand. The lottery is conducted only among eligible people anyway (or at least, ineligible people are filtered out after the lottery), and only low-income people receive the apartments in the end.