tag:blogger.com,1999:blog-30390915035547462202024-03-08T08:39:07.161+05:30one more monkey...There's a theory that says "if you put a million monkeys in front of a million typewriters, in a few years you can get the collected works of Shakespeare".<br>There's another theory that says the internet was invented precisely to test this :-)sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.comBlogger463125tag:blogger.com,1999:blog-3039091503554746220.post-79549652824955981782015-12-27T20:33:00.002+05:302015-12-27T21:01:53.050+05:30<div dir="ltr" style="text-align: left;" trbidi="on">
Boycotting Facebook users<br />
<br />
(Please see <a href="http://saynotofreebasics.fsmi.in/">http://saynotofreebasics.fsmi.in</a>/ for background on this internet land grab by Facebook and their partners. For a more enjoyable way to learn about this, hit <a href="https://www.youtube.com/watch?v=AAQWsTFF0BM">https://www.youtube.com/watch?v=AAQWsTFF0BM)</a><br />
<br />
---- <br />
<br />
I have always been a bit of a crackpot in terms of rants and protests and taking a binary approach to things that upset me. <br />
<br />
Age is supposed to mellow people. Apparently I am not old enough. Worse, I am getting younger (i.e., less mellow!)<br />
<br />
I am stepping up my personal campaign against facebook in the following manner: until this "Free Basics" nonsense is completely gutted by TRAI (or if it is not gutted, then *forever*), I will not accept any personal (see footnote 1) communication other than via plain phone and SMS from anyone who is in the IT industry and also uses Facebook.<br />
(For people who are not in the IT industry, I will only boycott those who are very active on FB. Yes, that's subjective; can't help it. As for how would I know if they are active, since I don't have a facebook account? I plan to just ask them and take their response at face value.) <br />
<br />
(One big question mark is whatsapp -- far too many people are on whatsapp for my liking. But since I don't have it, these people are already constrained to communicating with me normally anyway... so maybe I will simply treat this as a separate thing and not bring it into this equation. For now anyway.)<br />
----<br />
Footnotes:<br />
<br />
1. "Personal" mean this will not affect anything that could be called a "professional" or "business" communication, or something where money is involved, etc. It also means gitolite support will NOT be affected; I consider that a professional thing too. So why am I posting it here? Just to have a URL to point people to... I'm not even posting it on my g+ because very few of my g+ contacts are "personal".<br />
<br />
2. If you want to comment on this post, note that the "oppose Facebook" idea itself is not up for discussion; there are many other places you can do that, with many people who know much more than I do and are working a lot harder to beat this nonsense. If you want to comment on my specific form of protest, feel free to do so, as long as you understand that I am unlikely to go back on this stance, and may not respond immediately. Or at all.</div>
sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com0tag:blogger.com,1999:blog-3039091503554746220.post-67170345135056086692015-08-15T07:12:00.001+05:302015-08-15T07:15:51.296+05:30Elixir: Agent Fibonacci!<div dir="ltr" style="text-align: left;" trbidi="on">
I got interested in Elixir when I had to help someone troubleshoot something called Hyperledger, and it seemed neat. I've always wanted to try Erlang but had heard the statement "Erlang makes hard things easy, and easy things hard" so I had backed off. (I assume it was the syntax...?)<br />
<br />
Elixir seemed the best of both worlds so... let's take a look.<br />
<br />
I'm now skimming through Dave Thomas's "Programming Elixir", and I found a pretty confusing example of using an Agent to maintain state (that's what Agent's do in Elixir) to compute a fibonacci number. And it was, as I said, confusing. Subjectively, this looks a *lot* cleaner to me:<br />
<br />
<pre id="vimCodeElement"></pre>
<pre id="vimCodeElement"><span style="color: #0000c0; font-size: large;"># Fibonacci with an Agent</span><span style="font-size: large;">
<span style="color: #c000c0;">defmodule</span> <span style="color: green;">AgentFib</span> <span style="color: #af5f00;">do</span>
<span style="color: #c000c0;">def</span> <span style="color: teal;">sl</span> <span style="color: #af5f00;">do</span>
<span style="color: green;">Agent</span><span style="color: #af5f00;">.</span>start_link(<span style="color: #af5f00;">fn</span> <span style="color: #af5f00;">-></span> <span style="color: green;">HashDict</span><span style="color: #af5f00;">.</span>new <span style="color: #af5f00;">end</span>, <span style="color: #c00000;">name:</span> <span style="color: #c00000;">__MODULE__</span>)
<span style="color: #af5f00;">end</span>
<span style="color: #c000c0;">def</span> <span style="color: teal;">get</span>(<span style="color: #c00000;">0</span>), <span style="color: #af5f00;">do</span>: <span style="color: #c00000;">0</span>
<span style="color: #c000c0;">def</span> <span style="color: teal;">get</span>(<span style="color: #c00000;">1</span>), <span style="color: #af5f00;">do</span>: <span style="color: #c00000;">1</span>
<span style="color: #c000c0;">def</span> <span style="color: teal;">get</span>(n) <span style="color: #af5f00;">do</span>
f <span style="color: #af5f00;">=</span> <span style="color: green;">Agent</span><span style="color: #af5f00;">.</span>get(<span style="color: #c00000;">__MODULE__</span>, <span style="color: #af5f00;">&</span>(<span style="color: green;">HashDict</span><span style="color: #af5f00;">.</span>get(<span style="color: teal;">&1</span>, n)))
<span style="color: #af5f00;">if</span> f <span style="color: #af5f00;">do</span>
f
<span style="color: #af5f00;">else</span>
f2 <span style="color: #af5f00;">=</span> get(n<span style="color: #af5f00;">-</span><span style="color: #c00000;">2</span>)
f1 <span style="color: #af5f00;">=</span> get(n<span style="color: #af5f00;">-</span><span style="color: #c00000;">1</span>)
<span style="color: green;">Agent</span><span style="color: #af5f00;">.</span>update(<span style="color: #c00000;">__MODULE__</span>, <span style="color: #af5f00;">&</span>(<span style="color: green;">HashDict</span><span style="color: #af5f00;">.</span>put(<span style="color: teal;">&1</span>, n, f1<span style="color: #af5f00;">+</span>f2)))
f1<span style="color: #af5f00;">+</span>f2
<span style="color: #af5f00;">end</span>
<span style="color: #af5f00;">end</span>
<span style="color: #af5f00;">end</span>
<span style="color: green;">AgentFib</span><span style="color: #af5f00;">.</span>sl
n <span style="color: #af5f00;">=</span> <span style="color: green;">String</span><span style="color: #af5f00;">.</span>to_integer(hd(<span style="color: green;">System</span><span style="color: #af5f00;">.</span>argv))
<span style="color: green;">AgentFib</span><span style="color: #af5f00;">.</span>get(n) <span style="color: #af5f00;">|></span> <span style="color: green;">IO</span><span style="color: #af5f00;">.</span>inspect
</span></pre>
</div>
sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com0tag:blogger.com,1999:blog-3039091503554746220.post-77857954459265690302012-01-19T17:28:00.001+05:302015-08-15T07:25:03.982+05:30moved to google+<div dir="ltr" style="text-align: left;" trbidi="on">
Update 2015-08-14: well it had to happen again... I am probably going to start using blogger again, at least when I want to post code snippets. G+ sucks for that kind of thing...<br />
<br />
---- <br />
<br />
Well it had to happen someday. I referred to it obliquely in<br />
<a href="http://sitaramc.blogspot.com/2011/07/veracity.html">http://sitaramc.blogspot.com/2011/07/veracity.html</a> but at that time I<br />
did not expect to actually stop using blogspot.<br />
There are in fact some advantages blogspot has. The blog-specific<br />
search is one thing (G+ will search the whole world so you have to add<br />
your name or something to make it focus on your "stream" or whatever<br />
the heck they call it).<br />
The URL itself is a big turnoff in G+. Compare blogspot's<br />
<a href="http://sitaramc.blogspot.com/2011/07/veracity.html">http://sitaramc.blogspot.com/2011/07/veracity.html</a> to G+'s<br />
<a href="https://plus.google.com/115609618223925128756/posts/PDPdXTxAvZk">https://plus.google.com/115609618223925128756/posts/PDPdXTxAvZk</a>.<br />
Uggh!<br />
In fact the only reason I'm moving there is because my online world<br />
has now pretty much reduced to git, gitolite, and related areas. And<br />
most of those people are on G+. I reach, and am reached by, so many<br />
more people there, it's an enormous difference from blogspot.<br />
<br /></div>
sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com1tag:blogger.com,1999:blog-3039091503554746220.post-55858763977280932402011-09-23T14:31:00.000+05:302011-09-23T14:32:01.738+05:30Microsoft makes .txt files dangerous!<div class="BigQuote"> This security update resolves a publicly disclosed vulnerability in Microsoft Windows. The vulnerability could allow remote code execution if a user opens a legitimate rich text format file (.rtf), text file (.txt), or Word document (.doc) that is located in the same network directory as a specially crafted dynamic link library (DLL) file. </div> -- <a href="https://technet.microsoft.com/en-us/security/bulletin/ms11-071">Microsoft</a> makes .txt files dangerous<br> <br> (Courtesy <a class="moz-txt-link-freetext" href="http://lwn.net/Articles/459240/">http://lwn.net/Articles/459240/</a> )<br> sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com1tag:blogger.com,1999:blog-3039091503554746220.post-9111386478968134052011-09-17T07:00:00.001+05:302011-09-17T07:00:38.419+05:30git for computer scientists -- my version<a href="http://sitaramc.github.com/gcs/">http://sitaramc.github.com/gcs/</a><p>It's quite similar to the original, classic version, but extends the<br>whole thing to explain detached HEAD, and the difference between reset<br>and checkoutsitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com2tag:blogger.com,1999:blog-3039091503554746220.post-61437559241484618862011-08-09T23:24:00.001+05:302011-08-09T23:24:10.726+05:30Fwd: Git - Authenticate from Active Directory....India in general is very "age conscious" as in, "respect people [significantly] older than you". But among Indians, Punjabis are particularly so. Not unlike Japan and Italy [which I used to call our "country-in-law" at one time ;-)]<br> <br>So anyway, I decided to shamelessly play on this; see the last sentence of the email below ;-) It may not have any short term effect, but who knows...!<br><br>---------- Forwarded message ----------<br>From: Sitaram Chamarty <<a href="mailto:sitaramc@gmail.com">sitaramc@gmail.com</a>><br> Date: Tue, Aug 9, 2011 at 11:07 PM<br>Subject: Re: Git - Authenticate from Active Directory....<br>To: [an obviously Punjabi name elided]<br><br>Although this link sounds like it is only about ssh, if you read it carefully it answers your question and it should help you: <a href="http://sitaramc.github.com/gitolite/doc/authentication-vs-authorisation.html">http://sitaramc.github.com/gitolite/doc/authentication-vs-authorisation.html</a><br> <br>On a more personal note, I won't help anyone with Microsoft stuff. I won't actively prevent gitolite from working with MS, but I will not actively help either. For example, if someone sends me a write up on how to get gitolite to work with OpenLDAP, I will either add it to my docs, or link to it (whatever he wants). But if you send me a document about how to make it work with AD, I will not do that.<br> <br>Sorry if that sounds rude, arrogant, or whatever, but at my age (I'm close to 50) I'm entitled to my opinions, puttar ;-)<br><br>regards<br><br>sitaram<br><br>On Tue, Aug 9, 2011 at 10:49 PM, elided<br><elided> wrote:<br> > Hi,<br>><br>> A question on gitolite:<br>><br>> I have git repository hosted on a Linux RedHat Enterprise machine.<br>> I am able to checkin/checkout using http (apache is configured for this).<br>> The users are setup using .htpasswd.<br> ><br>> I want to authenticate from Active Directory instead. Is this possible with<br>> gitolite?<br>> Also this access has to be given only to certain Active Directory users.<br>><br>> If not, is this even possible?<br> ><br>> Looking forward to your response.<br>><br>> Thanks<br>> <elided><br><br>-- <br>Sitaram<br><br> sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com4tag:blogger.com,1999:blog-3039091503554746220.post-22904599414083518612011-08-02T16:54:00.001+05:302011-08-02T16:54:23.138+05:30(WTF, mac idiocy!) oh yeah, about that "silky smooth OS X style"..."git gui" and "gitk" are nice GUIs that come with git. The latter especially is *very* powerful and even Linus uses it when needed.<br><br>GitX (<a href="http://gitx.frim.nl/">http://gitx.frim.nl/</a>) is what folks use on Macs. Per its website, "GitX is a git GUI made for Mac OS X. It currently features a history viewer much like gitk and a commit GUI like git gui. But then in silky smooth OS X style!"<br> <br>Nice. Except, I learn while casually hanging around on #git, that you cannot open two GitX views on the same repo.<br><br>And this is not a GitX limitation. It's damn well not a *Git* limitation, since the tools that GitX claimed to be "much like" don't have that limit.<br> <br>No... it's apparently an OS X limitation not to allow GitX to open a repo twice. Apparently a repo is a "document" so it "makes sense" to the poor brain-washed guy who told me this.<br><br>Damn... all the trouble Linus goes to avoid the need for locking, with stable objects and NFS-safe renames, and such.<br> <br>And Mac OS X says "meh!"<br><br>Tell me again, why do *developers* use this piece of shit?<br> sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com9tag:blogger.com,1999:blog-3039091503554746220.post-23766694053022298502011-08-01T15:28:00.001+05:302011-08-01T15:28:49.914+05:30IE users stupid?<a href="http://www.theregister.co.uk/2011/07/29/aptiquant_iq_survey/">http://www.theregister.co.uk/2011/07/29/aptiquant_iq_survey/</a><br><br>quote: "The comparison clearly suggests that more people on the higher side of IQ scale have moved away from Internet Explorer in the last 5 years," AptiQuant concludes.<br clear="all"><br>I wish this were actually true, but sadly, it isn't very likely to be. I call bullshit.<br><br>I do believe most IE users are seriously lacking **in information technology skills**, but even in my worst anti-MS rant I have never equated that with stupidity as a general trait.<br> <br>My doctor uses IE. My accountant uses IE. 99% of TCS' senior management probably uses it simply because it is the damn default and *they* didn't feel there was anything wrong with it.<br><br>In fact, I am coming to the opposite conclusion. I suspect that most IE users are of the kind (see previous para) who would not even *bother* to visit an IQ measurement site. And I am saddened that among Chrome/Opera/FF users, the more intelligent ones actually have the time to waste on trivial pursuits like "gee I wonder what's my IQ" (here's a hint: if you care, it's not high enough!)<br> <br>And that doesn't mean IE is somehow being credited here. It just happens to be the "incumbent", as they say in politics.<br> sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com1tag:blogger.com,1999:blog-3039091503554746220.post-55894545825782559612011-07-29T20:32:00.001+05:302011-07-29T20:32:32.630+05:30veracityplaceholder for <a href="https://plus.google.com/115609618223925128756/posts/PDPdXTxAvZk">https://plus.google.com/115609618223925128756/posts/PDPdXTxAvZk</a><br><br>I posted my comments on veracity there because a lot *more* of my gitolite/git contacts are there.<br> <br>----<br><br>meta comment on blogs and g+: at some point we'll have to choose one; we can't update both. I'd love to move to G+ for my blogging also, but it doesn't have a search box anywhere that I can see. I depend on that a lot to find stuff I wrote about long ago, and without that I can't really make it the main outlet for my random typing!<br> sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com2tag:blogger.com,1999:blog-3039091503554746220.post-70211942808421262892011-07-21T15:56:00.001+05:302011-07-21T15:56:27.903+05:30Dijkstra endorses perl (well, I'm stretching it a wee bit... ;-)Dijkstra quote: If we wish to count lines of code, we should not regard them as "lines produced" but as "lines spent".sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com1tag:blogger.com,1999:blog-3039091503554746220.post-91527885424064713602011-07-20T09:58:00.001+05:302011-07-20T09:58:32.345+05:30debugging "clever" code<p>""Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."<br> </p> — Brian W. Kernighan and P. J. Plauger in The Elements of Programming Style.<br> <br> This came up in a comment about an LWN article on <a href="http://lwn.net/Articles/452117/">how subtle and tricky some of [the Linux kernel] core code has become</a>. Some of the more interesting quotes from that article and its links:<br> <br> (in the original email from Hugh Dickins):<br> <blockquote><i>That -ENOENT in walk_component: isn't it assuming we found a negative dentry, before reaching the read_seqcount_retry which complete_walk (or nameidata_drop_rcu_last before 3.0) would use to confirm a successful lookup? And can't memory pressure prune a dentry, coming to dentry_kill which __d_drops to unhash before dentry_iput resets d_inode to NULL, but the dentry_rcuwalk_barrier between those is ineffective if the other end ignores the seqcount?</i><br> </blockquote> Let's call this "establishing the baseline" -- anyone who did not understand at least 75% of this will be lost as far as the real problem is concerned. But what about the people who *did* understand it (or at least, had the best chance to):<br> <blockquote><i>There is a sobering conclusion to be drawn from this episode, though. The behavior of the dentry cache is, at this point, so subtle that even the combined brainpower of developers like Linus, Al, and Hugh has a hard time figuring out what is going on. These same developers are visibly nervous about making changes in that part of the kernel. Our once approachable and hackable kernel has, over time, become more complex and difficult to understand. Much of that is unavoidable; the environment the kernel runs in has, itself, become much more complex over the last 20 years. But if we reach a point where almost nobody can understand, review, or fix some of our core code, we may be headed for long-term trouble.</i><br> </blockquote> uh oh...!<br> sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com0tag:blogger.com,1999:blog-3039091503554746220.post-61715456913652391222011-07-14T12:04:00.002+05:302011-07-18T09:42:37.618+05:30Forbes columnist on "Microsoft's Android Shakedown"<a class="moz-txt-link-freetext" href="http://blogs.forbes.com/timothylee/2011/07/07/microsofts-android-shakedown/">http://blogs.forbes.com/timothylee/2011/07/07/microsofts-android-shakedown/</a><br /> <br />Nice quote: "<span>Getting software patents takes a lot of work, but it's not primarily engineering effort. The complexity of software and low standards for patent eligibility mean that software engineers produce potentially patentable ideas all the time. But most engineers don't think of these relatively trivial ideas as 'inventions' worthy of a patent. What's needed to get tens of thousands of patents is a re-education campaign to train engineers to write down every trivial idea that pops into their heads, and a large and disciplined legal bureaucracy to turn all those ideas into patent applications.</span>"<br /><br />But I think there's one more point to be made here.<br /><br />The decades-old Sun/IBM incident, narrated as the intro to that article, doesn't describe what would happen today. The alternative the "blue suit" suggested was one where IBM would actually spend the time to find *real* infringements, if Sun refused to buckle.<br /> <br />That was the 80s. Today, if HTC resisted, MS would proceed directly to litigation even if they knew the specific claims being made were without merit.<br /><br />In other words, while Sun capitulated due to the fear of real infringement being found, I believe today's defendants pay up due to fear of the litigation itself!<br /><br />Big difference!sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com0tag:blogger.com,1999:blog-3039091503554746220.post-4611986919584665582011-07-11T16:17:00.001+05:302011-07-11T16:17:37.903+05:30Jon's impressions of Chromium<a class="moz-txt-link-freetext" href="http://lwn.net/SubscriberLink/450359/0c7b485f10ca5225/">http://lwn.net/SubscriberLink/450359/0c7b485f10ca5225/</a><br> <br> I guess I'll stick to Firefox -- NoScript is kind of a <b>necessity</b> right now :-)<br> <br> It might not be bad as a second browser though, although one has to watch out for the Chromium/Chrome distinction!<br> <br> [And by the way, I never understood Google's need to call a browser by the internal name for the UI component of a competing browser!]<br> <br> sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com1tag:blogger.com,1999:blog-3039091503554746220.post-55204704770356419292011-06-29T11:29:00.001+05:302011-06-29T11:29:17.703+05:30the lure of apple products...awesome punchline:<br><br><a href="http://www.reghardware.com/2011/06/28/teenager_offers_virginity_for_iphone_4/">It took me several years to find someone I could give mine to for free. What is the world coming to?</a><br> <br>-- <br>Sitaram<br><br> sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com0tag:blogger.com,1999:blog-3039091503554746220.post-78648598576371273892011-06-24T22:04:00.006+05:302011-06-24T22:13:15.626+05:30the new nook (aka Nook second edition, nook simpletouch, etc)Well I happened to be in the US after many years, and despite being sent a nook 1, (wifi only model) by my brother a couple of months ago I was tempted enough by the reviews of the nook 2 to buy one.<br /><br />[By the way, the nook 1 (wifi only version) was $150 when my brother bought it for me. A scant few weeks after he sent it to me, they announced the Nook 2 at $139, and dropped the price of the nook 1 to $119! Timing issues like this have been the story of my life, <sigh>...]<br /><br />So here're the pros and cons of this one compared to the old one.<br /><br /><b>Summary</b>: lighter and smaller and better navigation make it attractive. But there are lots of negatives to consider, and if I'd known <b>all</b> of them before I bought it I may not have done so. Even now, I'm sorta tempted to attempt returning it but that's only fueled by "<a href="http://en.wikipedia.org/wiki/Righteous_indignation">righteous indignation</a>" so I will probably just laze around until it's time for my flight home and then claim I didn't have time!<br /><br />Pros:<br /><ul><li>much <b>better interface</b> -- the main screen is a touch screen now! (For people who're wondering what's the big deal, remember this is e-ink, non-backlit display -- totally different technology to the normal stuff on your Androids!)<br /><br /></li><li>much <b>smarter navigation</b>. Both because the main screen is touch, as well as the fact that you can reverse the meaning of the top and bottom buttons if the size of your hand makes it so that the upper button is better for your thumb to hit when you hold it. Reading is a real pleasure with this thing!<br /><br /></li><li>reviews say it has a much <b>better battery life</b>. Sounds believable, because there's no longer a battery draining lighted touchpad! I can only hope, because the old one sucked rocks through a pipette in terms of battery life!<br /><br /></li><li>no touchpad means it's <b>much smaller and lighter</b>, while having the same actual screen size (800x600)<br /><br /></li><li>has a built-in dictionary (accessible only from EPUB files, not from PDFs... wonder why)<br /><br /></li><li>(minor: now actually knows about GMT+0530 in its time zone list! yeaaay!)<br /></li></ul>Cons:<br /><ul><li><b>no device password</b>. This is a <b>big problem</b> for someone like me; limits what I can use it for. I can no longer grab a quick PDF of some work document I need to read and take it with me, in case the device gets stolen.<br /><br />You may think you can use encrypted PDFs, but that won't work. There's no way to make it "forget" the password short of completely shutting down, so if you opened a document it's now visible to anyone who grabs the device. (In the old nook, the moment you open another document (even an un-encrypted one), the password for the previous one was forgotten. Not great but I was happy enough to use it as a workaround...)<br /><br /></li><li><b>no document delete</b>. If you did take along a sensitive file, you can't delete it once you've read it, to limit exposure. The old nook would let you delete documents from its interface; this one needs a PC to do that. This is the <b>worst problem</b> from my point of view because it could have somewhat mitigated the previous one.<br /><br /></li><li><b>non-replacable battery</b>. This is the <b>second worst problem</b> as far as I am concerned. For people who live outside the US, like me, this could be a killer. I'm crossing my fingers hoping I don't get burned...<br /><br /></li><li><b>mandatory registration</b>. A new nook 2 won't even get to the home screen unless you register. Fortunately, it doesn't insist on a credit card for a new registration, but even so, that's <b>badbadbad</b>(tm)! [And I'm willing to bet some corporate fsckwit at BN will read this and make a note to make the credit card mandatory for nook 3!]<br /><br />I have no intention of ever buying any content -- most of my reading is PDFs from work or web pages converted to EPUBs with my own script built around <a href="http://calibre-ebook.com/">calibre</a>'s ebook-convert program. So the question: at $139, do they still have to resort to the <a href="http://www.investopedia.com/terms/r/razor-razorblademodel.asp">razor/blade revenue model</a>?<br /><br /></li><li>probably for the same reason, only 236 MB for "sideloaded" documents. ["sideloaded" apparently is the phrase to describe docs you install through USB instead of from BN using their interface]. This is barely one-fifth of the 1.3 GB the old nook had. The nook 2 reserves the rest of the free space for BN content, which means in my case it's just sitting idle. To be honest, this is not a big deal, but one does feel somewhat cheated at the forced space wastage.<br /><br /></li><li>no music. I never used the music on the old nook anyway so I don't care.<br /><br /></li><li>no browser. Well the browser on the old nook was crap so I don't miss it, but it could actually have been usable on this one, because of the touch screen! Why did they do this?</li> </ul>And finally, <b>here's the biggest <a href="http://en.wikipedia.org/wiki/WTF#Slang">WTF</a></b>: when you start the machine and eventually read the 100-page user manual, it says somewhere toward the end "You can purchase a Nook only if you have a billing address in the United States".<br /><br />Huh? Why? What earthly logic do you have for this? We're the best customers -- we don't have much opportunity to return it, call your customer complaints, and generally make your life miserable if we don't like it.<br /><br />More importantly, how the fsck am I supposed to know that before buying it? The sales clerk at BN, Stevens Creek (CA) didn't even ask. Clearly <b>he</b> is smart enough not to lose a sale for crappy reasons, so what's with the corporate stupidity?<br /><br />And don't tell me it's legal reasons to do with geography specific licensing for books, like DVD region codes. You're not going to let me buy content until I give you a credit card with a US billing address anyway ...<br /><br /><hr /><br />All in all, psychologically very disappointing. So now that I have "pensieve"d all these comments, I will try and purge them from my mind and try and enjoy the damn thing...sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com2tag:blogger.com,1999:blog-3039091503554746220.post-39877829932638486362011-06-12T23:11:00.001+05:302011-06-12T23:11:55.830+05:30rule #1 for a home userdon't let your mom do your packing/unpacking. She'll drop the 1TB<br>hard disk that contains your only backup while trying to help you.<p> -- my sonsitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com3tag:blogger.com,1999:blog-3039091503554746220.post-50048276389131737082011-06-02T14:11:00.000+05:302011-06-02T14:12:00.646+05:30happy passwords, here I come!<a class="moz-txt-link-freetext" href="http://orderedlist.com/blog/articles/the-psychology-of-happy-passwords/">http://orderedlist.com/blog/articles/the-psychology-of-happy-passwords/</a><br> <br> Interesting... I know what my future passwords are going to be themed around now!<br> sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com1tag:blogger.com,1999:blog-3039091503554746220.post-10209085809179200532011-05-25T11:00:00.001+05:302011-05-25T11:00:17.605+05:30scale fail: cloud addictionI've always been wary of anything that is being hyped. Until the hype dies, I'm prejudiced against it, and I won't give it a fair chance.<br> <br> This is not just for technology issues -- I do that to movies and books also. I still won't bother to read Da Vinci Code, although I finally did see Forrest Gump years later, when I became convinced it was OK.<br> <br> But it's much more true for technology. Here, unlike a movie I have not seen or a book I have not read, I can actually expect to have an intuitive feel for the truth already, so the prejudice lasts longer and very rarely reverses.<br> <br> ----<br> <br> The "cloud", to me, has always been just that: a bit of water and a lot of hot air. I can certainly see some uses for cloud computing in small and medium enterprises -- the smaller the better. An extreme case is an individual running his own web-based business -- finding a cloud provider is ideal for him in terms of bang for the buck.<br> <br> But I've always believed that the larger you get, the more you lose by going to the cloud. At some point, the economies of shared infrastructure disappear simply because as you get bigger and bigger, you are less amenable to sharing.<br> <br> Josh Berkus (of Postgres) wrote a very fantastic 2-part article series called "Scale Fail" for LWN. Part 2 of this, at <a class="moz-txt-link-freetext" href="http://lwn.net/SubscriberLink/443775/a17084926dbefa54/">http://lwn.net/SubscriberLink/443775/a17084926dbefa54/</a> , has a section called "Cloud Addiction", which is well worth a read. Here're some extracts:<br> <br> <blockquote><i>Several of our clients are refusing to move off of cloud hosting even when it is demonstrably killing their businesses. This problem is at its worst on <a href="http://aws.amazon.com/">Amazon Web Services</a> (AWS) because Amazon has no way to move off their cloud without leaving Amazon entirely, but I've seen it with other public clouds as well. </i></blockquote> <blockquote> <p> [...]<br> </p> </blockquote> <blockquote><i>[restrictions on memory, processing power, storage throughput and network configuration inherent on a large scale public cloud, as well as the high cost of round-the-clock busy cloud instances] are "good enough" for getting a project off the ground, but start failing when you need to make serious performance demands on each node.</i><br> </blockquote> <blockquote> <p>[...]<br> </p> </blockquote> <blockquote><i>That's when you've reached scale fail on the cloud. At that point, the company has no experience managing infrastructure, no systems staff, and no migration budget. More critically, management doesn't have any process for making decisions about infrastructure. Advice that a change of hosting is required are met with blank stares or even panic.</i></blockquote> sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com0tag:blogger.com,1999:blog-3039091503554746220.post-17398354782382239272011-05-11T13:21:00.001+05:302011-05-11T13:21:35.365+05:30(heard on slashdot) WMI<div class="commentBody"> <div id="comment_body_36054144"> <p> WMI is great. If you liked the complexity of CORBA, COBOL, VB Script, and the syntax of SQL, you will <b>love</b> WMI. </p> </div> </div> sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com0tag:blogger.com,1999:blog-3039091503554746220.post-53038219736529049092011-05-05T11:47:00.001+05:302011-05-05T11:47:49.326+05:30do you still want an Apple ipod/ipad/iphone?Here's a completely different take on the issue than my normal "freedom" rant:<p><a href="http://www.dailymail.co.uk/news/article-1382396/Workers-Chinese-Apple-factories-forced-sign-pledges-commit-suicide.html">http://www.dailymail.co.uk/news/article-1382396/Workers-Chinese-Apple-factories-forced-sign-pledges-commit-suicide.html</a><p>And by the way, this is not new. The suicides were reported months<br>ago. The response from the guilty parties is what is new.<p>And this is not the first time something like this has been found<br>about US companies either. I think the most famous such scandal<br>involved Nike, in 97 or so.<p>And I'm not saying Apple is the only guilty party -- I'm sure there<br>are many others. However, with the amount of customer mindshare Apple<br>has, it ought to be leading the way in preventing this sort of abuse.<br>It ought to be caring about ethics and morality, not just legality.<p>But I don't think it will -- most corporations have a "duty" to not<br>care about anything except making money, actually. And they made a<br>lot of it -- 14 billion dollars PROFIT, (after taxes) last year!<p>Now you have to think: do I want to help them make more?sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com0tag:blogger.com,1999:blog-3039091503554746220.post-49608675648441667362011-05-03T10:06:00.001+05:302011-05-03T10:06:04.650+05:30facebook as the ultimate spy network<strong> </strong><a class="moz-txt-link-freetext" href="http://rt.com/news/wikileaks-revelations-assange-interview/">http://rt.com/news/wikileaks-revelations-assange-interview/</a><br> <br> quote:<br> <br> "Facebook in particular is the most appalling spying machine that has ever been invented. Here we have the world's most comprehensive database about people, their relationships, their names, their addresses, their locations and the communications with each other, their relatives, all sitting within the United States, all accessible to US intelligence. Facebook, Google, Yahoo – all these major US organizations have built-in interfaces for US intelligence. It's not a matter of serving a subpoena. They have an interface that they have developed for US intelligence to use.<br> <br> Now, is it the case that Facebook is actually run by US intelligence? No, it's not like that. It's simply that US intelligence is able to bring to bear legal and political pressure on them. And it's costly for them to hand out records one by one, so they have automated the process. <b> Everyone should understand that when they add their friends to Facebook, they are doing free work for United States intelligence agencies in building this database for them.</b>" (emphasis mine -- Sitaram).<br> sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com0tag:blogger.com,1999:blog-3039091503554746220.post-57098528806183251102011-05-03T09:59:00.001+05:302011-05-03T09:59:53.635+05:30unbelievable (operation pumpkin; prince william's wedding)<a class="moz-txt-link-freetext" href="http://www.theregister.co.uk/2011/04/28/operation_pumpkin/">http://www.theregister.co.uk/2011/04/28/operation_pumpkin/</a><br> <br> no words can summarise this. I'm wondering if this is a joke...<br> sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com0tag:blogger.com,1999:blog-3039091503554746220.post-67515289340813024812011-04-11T17:21:00.001+05:302011-04-11T17:21:33.619+05:30I want!!!<a href="http://www.commodoreusa.net/CUSA_C64.aspx">http://www.commodoreusa.net/CUSA_C64.aspx</a><p>very very cool! I would *love* to have a computer like this...sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com2tag:blogger.com,1999:blog-3039091503554746220.post-83680113620600006082011-04-06T16:04:00.001+05:302011-04-06T16:04:27.161+05:30Michael Geist: piracy is a market failure, not a legal failure<a class="moz-txt-link-freetext" href="http://www.thestar.com/business/article/956637--geist-canadian-backed-report-says-music-movie-and-software-piracy-is-a-market-failure-not-a-legal-one">http://www.thestar.com/business/article/956637--geist-canadian-backed-report-says-music-movie-and-software-piracy-is-a-market-failure-not-a-legal-one</a><br> <br> nice article...<br> sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com0tag:blogger.com,1999:blog-3039091503554746220.post-72867768336691029032011-04-01T08:46:00.001+05:302011-04-01T08:46:39.620+05:30with friends like these, who needs enemies? [Gates and Allen]<a href="http://www.computerworlduk.com/news/it-business/3267807/bill-gates-tried-to-rip-me-off-claims-microsoft-co-founder-allen/">http://www.computerworlduk.com/news/it-business/3267807/bill-gates-tried-to-rip-me-off-claims-microsoft-co-founder-allen/</a><p>Interesting article. The title is "Bill Gates tried to rip me off",<br>which sounds, to people who are taken in by Gates' so-called charity<br>work and his persona, like it might be a severe case of journalistic<br>license.<p>However, to people who long ago realised that he's probably the most<br>unethical, even borderline criminal (white collar only, so far as the<br>public knows) individual they've ever heard of, the following quotes<br>from the article will not come as a surprise:<p> - "scheming to rip me off"<br> - "I'd been taught that a deal was a deal and your word was your<br>bond. Bill was more flexible; he felt free to renegotiate agreements<br>until they were signed and sealed."<br> - overheard Gates and Ballmer complaining about his declining<br>contribution to the company during his cancer treatment in 1982<br> - "...It was mercenary opportunism, plain and simple."sitaramchttp://www.blogger.com/profile/18004003369344243482noreply@blogger.com0