Slashdot Mirror


User: sonamchauhan

sonamchauhan's activity in the archive.

Stories
0
Comments
1,756
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1,756

  1. Do this to Penguin on The Saga of Katie.com · · Score: 3, Insightful

    [ Inspired by this brilliant post ]

    "Penguin refuses to apologize, saying that it would be a violation of their free speech to re-title the book..."

    Treat others as you would want them to treat you.

    What if Katie Jones (katie.com) did this (with some help...)

    1. Write a book about Linux. Title it, um... 'penguin.com'

    2. Launch a campaign to persuade Penguin publishing to donate control of their penguin.com domain. Of course... in aid of millions of citizens abused for several years by a convicted monopoly. Many of these citizens are finding comfort in the things described in 'penguin.com'

    3. Keep praising our right to free speech.

    4. Work hard promoting 'penguin.com': a CD jacket, translations to various languages, lecture tours, bookstore appearances...

    5. Oh, I almost forgot... by all means, register 'penguin.com' as a trademark.

    What if?

  2. Re:Makes no sense on The Saga of Katie.com · · Score: 2, Informative

    No, rather he was simply wrong. See what he says:

    "When the book was written, the domain "katie.com" was not registered."

  3. Re:Build a CD/DVD changer on Terabyte Storage Solutions? · · Score: 1

    That sounds right Jack. The USB cable length limit is even higher if one factors in active powered hubs, etc. SATA is also 1-2 m , but the interesting thing is that SATA is desinged for hot-plug support -- so a drive could conceviably "pick up" a disk (using just the 5v power rail), then move to a central place where it hot-plugs into the system.

    Thanks for the URL - it looks expensive but very useful for getting precision work done.

    I'll try and contact you if I make any progress on this.

  4. Re:Some useful things on Automated Software QA/Testing? · · Score: 1
    Correction, this line should have read:
    For eg: feeding a string "bausch & lomb" to a component that they _know_ converts it to XML for internal use, then making sure that the non-XML output is NOT "bausch & lomb".
    (I didn't test the preview properly ;)

    Also, the example isn't all that great I admit.
  5. Some useful things on Automated Software QA/Testing? · · Score: 1

    These things have proved true to me:

    (o) Just like coding testing is engineering: you have limited resources, and have to allocate them to get the max. benefit.

    (o) Some small enterprises cannot afford full-time software testers. Some have huge existing code bases, and small or non-existent QA teams. And that just has to do.

    (o) Black-box testing for regressions is often where the max. bang for your buck is. Consider: your unit tests may cover 99% of code, and 100% of the units tests may pass. But when one high-level user interface bug creeps in close to release, and your units tests do not detect it, and it stops thousands of users doing the most common operation on your system, and that forces a recall of your software CDs, of what use were your unit tests? Yes, user-interface testing can be a pain, but it is far better to test the 20% of operations that comprise 99% of high-level actions of real users, then to try and code inane tests for every object.

    (o) Developers can double as testers.

    (o) Yes. Developers can write decent unit tests. Developers can also write good integration tests, black box tests and regression tests. This just needs developers committed to quality software, and a management that sees the benefits of this approach, and pushes for it. For eg: it considers test reviews part of the code review process. Yes, uncommitted developers can do a shoddy job with testing. But committed developers can do a great job. They can also use their inside knowledge of the code to write "grey-box" tests that are more likely to tease out bugs in their own code. For eg: feeding a string "bausch & lomb" to a component that they _know_ converts it to XML for internal use, then making sure that the non-XML output is NOT "bausch & lomb".

    (o) Consider critically, the current XP-related fashion of unit-testing everything. It may be useful in some areas, but not in others.

    (o) If you have to test web-based systems, consider Apache/Jakarta Jmeter: http://jakarta.apache.org/jmeter/ - a great web testing tool. It is unfortunately focussed on load testing, and hence lacking in some functional testing areas. I wrote a perl wrapper (not open-source) that automates black box integration and load testing with multiple test applications , JMeter being one of them. It has proven quite useful, regularly catching bugs in our system under test, and also on a different system that our system interfaces to.

    (o) If you have to test GUIs , it is quite difficult. Consider some of the commercial tools.

    (o) Load testing / stress testing is often as important as simple correctness or integration testing. Some bugs can only be "teased out" under load.

    (o) Testers are human, just like developers. Testing is generally boring, repetitive work. No one likes boring, repetitive work. Automate testing as much of it as possible. People like being creative. The more you automate, the better will be the quality and quantity of newer tests.

  6. Re:Build a CD/DVD changer on Terabyte Storage Solutions? · · Score: 1

    I did think about mounting the drive on the robotic arm but there are some disadvantages:

    1. Some method is still needed to get the disk to and from the drive and the disk receptacle.

    2. It limits how close the disks can be stacked together.
    I was thinking perhaps a thin, slot loading drive (like the "superdrives" on the Apple laptops) could address this concern, and also simplify loading/unloading of the disk.

    3. There is also a limit to the length of the IDE cable connector to the drive... this limits the size of the disk array (SATA, or even USB 2.0 may help here)

    There isnt anything built now, except for some parts. Ill put stuff up when something gets done.

  7. Build a CD/DVD changer on Terabyte Storage Solutions? · · Score: 1

    For some weeks, I've been thinking on an idea: building a robotic cabinet with a small computer (say a fanless Via Eden motherboard) controlling a robotic changer manipulating hundreds of CD/DVDs in small slots. These CD/DVDs feed into a CD/DVD drive (maybe 2) hooked upto the computer by USB/firewire/SATA . And the computer is hooked up to your network.

    Now the advantages of this idea:

    1. The cabinet is really a storage server that continually monitoring the "health" of these hundreds of disks. i.e. It reads all disks on a regular basis, even those that no user has requested recently. When it finds a disk reaching a boundary condition (read errors on some sectors), it automatically replicates it on one of several blank CD/DVD that have also been inserted in the cabinet. This sort of active intervention addresses disk bit-rot in a cost effective manner - basically the cost of electricity and blank disks.

    2. Since this device has an ethernet connection, it can emulate remote drives, possibly hundreds of remote drive at a time. Or more reasonably, virtual logical combinations of the contents of many drives can be represented as a single drive, or under virtual folders. It would also cache frequently requested optical disk data on the hard disk.

    3. It can act as a local search appliance, actively indexing the contents of these disks, and storing the index on hard disk. This last thing is a big win for me - I often get things like "Java developers journal - all volumes on one CD". What's the point in having the CD if I can't easily find relevant content when I actually need it? This could be used in conjunction with a special key combo (say, Windows+F) to bring up the search screen.

    So as I said, I've been thinking on this idea, bought some parts, etc. - lets see where it heads.

  8. Don't be evil? on Google Loses Domain Fight Over Froogles.com · · Score: 1

    ``It still amazes me that I should have to go through this at all,'' Wolfe said. ``I started my shopping service called Froogles almost two years before Google started a shopping service called Froogle. What more does anyone need to know?''

    So much for Google's philosophy: "Don't be evil"

    The love of money...

  9. Re:build a database you mean... on CAPPS 2 Back to the Drawing Board · · Score: 1


    > > > > Only 1 had a warrant, out of 18. Think that would have stopped anything? ...
    > > > Yes, it could. One is more than zero.
    > You completely ignored this point - conceding to the truth only helps.
    Massoui.


    From here:


    Hijacker Mohamed Atta was stopped by police last July in Tamarac, Fla., and ticketed for an invalid license, officials there have said. He ignored the ticket and a bench warrant was issued for his arrest. But, when he was stopped for speeding a few weeks later in a nearby town, the officer, unaware of the bench warrant, let him go with a warning.

  10. subliminal messages and screenshot illegal? on Halo 2 Trailer Gets Subliminal, Halo Done Quick · · Score: 1

    just as extra incentive, we've had 3 confirmations
    that "www.ilovebees.com" is tacked to the end of the Halo 2 xbox
    trailer appearing before movies at Loews Theaters across the US and
    Canada. We're still trying to capture a good screen shot.


    What if there was no digital version of this trailer (i.e. it was theatre only)?

    I have no problems with government bans on filming movies. But they also then ban sumliminal messages, or allow unobstrusive filming of snippets lasting 2-3 minutes.

  11. Re:Too many assumptions on Favorite Programming Language Features? · · Score: 1

    Sorry for some harshness at the beginning of my post back there.

    Thanks and have a great day!

  12. Re:Too many assumptions on Favorite Programming Language Features? · · Score: 1

    > The problem is when you _think_ your custom
    > reprentation is perl+, but actually it's NOT,
    > it's closer to php++ than perl+.
    >
    > Translating the program to Java may[1] better indicate there's a problem,
    > but who knows what perl+ is? Maybe even you don't.

    Your thinking is muddled.

    First, can you translate Perl-Php+++ to a virtual machine's bytecodes (.NET CLR/Parrot bytecodes/JVM)?

    Well, unless you write your own bytecode scheme, compiler, and virtual machine etc, you probably can.

    Now since Perl-Php+++ translates to bytecodes, you can reverse translate these bytecodes to Java/C# sources. And lift the comments from the original source.

    It may be shorter code, it may be longer. But it can be done.

    And that's not even considering the majority case: the majority of people who have no interest in Perl-Php+++ but just want to program in plain Perl or plain VB.Net or plain Java.

  13. Re:I used to blame Republicans/Conservatives on More Accusations of Scientific Abuse by the Bush Administration · · Score: 1

    > Of course, your post ignores the history of the past 40 years.
    Of course. As required by the context of my post.

    > In 1964, Lyndon Johnson pushed the Civil Rights Act through
    > Congress, and {effectively and eventurally} ceded the South
    > to the Republicans.

    The bill's predecessor was from the Eisenhower Republican presidency:
    From here:
    The Civil Rights Act of 1957 was introduced in Eisenhower's presidency and was the act that kick-started the civil rights legislative programme that was to include the 1964 Civil Rights Act and the 1965 Voting Rights Act

    Lyndon Johnson helped water it down, but later drive through the 1964 act with Republican help - a necessary step to end the evil that was threatening to tear America apart:
    ...
    The bill didn't pass unhindered. There were doubters in Congress and it also had to overcome the longest obstruction in Senate history. Its final passing owed much to Kennedy, who had won over the Republican minority before his death.


    And from here:

    Let's interject some logic here: if southern racist Democrats became Republicans, how could (and would) they vote FOR the Civil Rights Act? It's a well documentable and easily proved fact that the majority of Republicans voted for the Act, thus the majority of Democrats voted against it. Since Lyndon B. Johnson signed the Act, Democrats fraudulently received and are now drowning in their self-gratulations.

    Maybe the remaining Dixiecrats who remained with the Democrat Party had no desire to hang with nigger-lovin' Republicans, and gladly stayed where they felt comfortable.


    > While these folk are by no means a majority, even in most
    > Southern states, they are numerous enough and influential enough
    > to command a lot of attention and wield a lot of power.

    As the page above contends, the Democrats don't really have a lot to be proud of:

    I contend racist Democrats remained with the Democrat Party, racists like J. William Fulbright (Bill Clinton's "mentor"), Robert (KKK) Byrd, and Senator Albert Gore, Sr. who like those of their ilk voted against the Act.


    Perhaps bigots gravitate a bit more to the Republican party and are a bit harder to detect there -- given the Republican's sympathy to "traditional values" and the current republican emphasis on minimizing government affairs. But the party isn't racist: as you know, Colin Powell and Condi Rice can be described as having traditional values, but are black and in power nonetheless.

    The Republicans are better for America than the Democrats.

  14. Re:build a database you mean... on CAPPS 2 Back to the Drawing Board · · Score: 1

    > > I hear you. You'd rather have your government handcuffed
    > > then have it offer better protection to citizens (i.e. fulfill it's role). ...
    > I'd rather have my government concentrate on important things
    > than enforcing local parking ticket warrants

    Al Capone didn't want the government concentrating on his tax return either. The government enforces the law - full stop. If you find a law repressive, work towards it's legislative removal. Don't expect police to check their brains by the door when they need to investigate someone.

    > > > do you hold with the police state = good thing? ...
    > > Strawman argument.
    > As for Strawman argument, I'd need to set up a point for a police state ...

    Haven't you heard the phrase: "rhetorical question"?

    >... you seem to seriously be leaning towards police state.

    The police should be subordinate to the law, and subject to it.

    BTW,
    > > > Only 1 had a warrant, out of 18. Think that would have stopped anything? ...
    > > Yes, it could. One is more than zero.
    You completely ignored this point - conceding to the truth only helps.

  15. Re:Deployment? on How Would You Handle a $1,000,000 Coding Error? · · Score: 1

    > > I wonder if they could have used a removable hd and a motorcycle as a backup plan...
    > ...Think GigaMAN

    This came to mind... :)
    "Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway."
    -- Andrew Tanenbaum, Computer Networks

  16. Re:You must be very smart. on Favorite Programming Language Features? · · Score: 1

    What you're pointing out is more a bug in the end description, not a bug in the describing.

    Its at least a bug that gets caught.

    [ I'll correct something I said: "since both languages start arrays from zero...[the bug could be corrected]". This is really not necessary - a translator could translate common elements (like arrays) even if in one language, the index started from 0, and in another, it started from 1.]

    Bug in describing: you make a mistake so that your chosen custom representation is not quite "perl" but "almost perl.

    I assume you mean a customized version of Perl. The same automated mechanisms (say, in the current Perl, or the upcoming Perl 6/Parrot architecture) that translate "almost perl" to parrot bytecode, would be used in one of the steps of translate Java source to "almost Perl" source and vice-versa.

    I am tired of the Babel-basket of languages, with existing software in one language inaccessible in another. For eg: I remember once semi-learning python because of it's excellent support for email header RFC822 parsers.

    Mono/.NET/Parrot let a class in one language access classes in other supported languages (eg: a Perl class can inherit from a C# base class). Providing source-to-source transforms would be going one step further.

  17. Re:build a database you mean... on CAPPS 2 Back to the Drawing Board · · Score: 1

    Only 1 had a warrant, out of 18. Think that would have stopped anything? ...
    Yes, it could. One is more than zero.

    that aside, how many warrants exist for parking tickets,...
    Are all such people to be arrested because they have a business trip to go on for...
    Finally, there's a thing about jurisdictions. ...
    I hear you. You'd rather have your government handcuffed then have it offer better protection to citizens (i.e. fulfill it's role).

    do you hold with the police state = good thing? ...
    Strawman argument.

  18. Re:I used to blame Republicans/Conservatives on More Accusations of Scientific Abuse by the Bush Administration · · Score: 1

    > democrats are the party that defends Jeffersonian ideals,
    > the republicans are the party of the Whigs, who were
    > originally rich land owners

    Hmmm .. time for some history friend:

    From here:
    the rise of the anti-slavery Republican Party in 1856 put an end to the Whig coalition. The Whigs' lukewarm position on slavery, supporting the Compromise for the sake of holding the Union together, appealed to neither side of the increasingly polarized debate: Anti-slavery Northern Whigs deserted the party for the Republicans, while pro-slavery Southern Whigs defected to the Democrats.

    Now from here:
    The modern Republican Party was born on March 20, 1854 in Ripon, Wisconsin as an outgrowth of the dissolved Whig party, choosing the name to recall to mind the founders; no matter that the aims were now different. ...
    In the beginning largely a regional party of the Midwest states, the Republican Party's major issue was opposition to the spread of slavery to the western states. ...
    The Republicans therefore became strongly identified as the party of Lincoln, the party that freed the slaves, and the party that won the war. As a result, few Southerners joined the Republicans for over a hundred years-the memory of losing the war provided a strong impetus to remain with the Democrats.


    More here:
    Continuing to take advantage of their majority, Republicans proposed the 14th Amendment, which became part of the Constitution in 1868, stating: "All persons born or naturalized in the United States, and subject to the jurisdiction thereof, are citizens of the United States and of the state wherein they reside. No state shall make or enforce any law which shall abridge the privileges or immunities of citizens of the United States; nor shall any state deprive any person of life, liberty, or property, without due process of law; nor deny to any person within its jurisdiction the equal protection of the laws."

    And here
    Historically, the party has supported

    The abolition of slavery
    The right of free speech
    Support of women's suffrage ...


    Hey, I don't think the republicans are flawless - they have corrupion in there - but they seem more principled overall than the Democrats. The Democrats _seem_ to sway much more with what they assume is popular opinion.

  19. Re:Only 10 years behind on Video Chat Via Transparent Desktop Overlay · · Score: 1


    > 1) ClearBoard's conceptual model was two people standing
    > on either side of a pane of glass. Ours is a much simpler
    > view... two people sitting side by side.
    No, see ClearBoard-2 [mit.edu] (scroll down):
    "To overcome these problems in ClearBoard-1, we decided to design a new computer-based prototype, "ClearBoard-2"."


    Sorry - I didn't notice you wrote _conceptual_ model. I thought you were referring to the ClearBoard 'Version 0' on that website.

  20. Re:You must be very smart. on Favorite Programming Language Features? · · Score: 1

    > > "Describing the same idea (eg: an algorithm) using different words
    > > (eg: a different programming language) often better exposes subtle
    > > problems with it."
    > What if you also make mistakes while describing?
    That is precisely what my point is... the mistake will be auto-translated to the other language and exposed.

    Consider this Perl snippet source-translated to Java:
    :

    #the third element of the array must seed the transform
    %hash = transform(@array1[3]);


    //the third element of the array must seed the transform
    java.util.Hashtable h = transform(array1[3]);


    Since both languages start arrays from subscript zero, the Java coder tracking down a bug will knows that the third element should be really array1[2], not array1[3] - without needing to learn Perl.

  21. Re:Only 10 years behind on Video Chat Via Transparent Desktop Overlay · · Score: 1

    > 1) ClearBoard's conceptual model was two people standing
    > on either side of a pane of glass. Ours is a much simpler
    > view... two people sitting side by side.
    No, see ClearBoard-2 (scroll down):
    "To overcome these problems in ClearBoard-1, we decided to design a new computer-based prototype, "ClearBoard-2"."

    > 2) ClearBoard required expensive and cumbersome hardware...
    Adding newer hardware to an existing design is hardly innovative. Nothing pertinent to a patent there.

    > 3) ClearBoard was designed to be integrated with specific applications...
    In fact a computer desktop seems to be just another thing one can share with ClearBoard 2. From this person's post, ClearBoard seems a better and more generic work overall than your's is.

  22. Re:You must be very smart. on Favorite Programming Language Features? · · Score: 1

    > If I did that, no one would be able to help me
    > if I get something wrong - e.g. I screwed up in my custom syntax
    > or metadata or my code, and I'm not sure where.

    Describing the same idea (eg: an algorithm) using different words (eg: a different programming language) often better exposes subtle problems with it.

    And if source can be auto-translated to different languages on the fly (NOTE: source including comments... I am not talking about de-compilation here), person A could use his knowledge of the language he is skilled in, to help person B, without the overhead of learning person B's language.

    Another advantage of this idea: not all the world's programmers speak English as their first language, yet most are _forced_ to learn it to code. This would help people code in their native language.

  23. Re: Question about Java on How Much Java in the Linux World? · · Score: 1

    > Given the need to execute unknown code, usually an interface is
    > used and the objects are made to implement it.
    How will it execute _unknown_ code then?

    A few years back, when I first learnt Perl, I had fun writing a perl CGI that took _perl code_ via a HTML form input and 'eval'ed it. I don't think one can do this easily in Java, can one?

  24. Re:Excellent on A Parent's Guide To Linux Web Filtering · · Score: 1

    > I'm all for being polite and well mannered in all but the most extreme cases.
    > I don't think that is respect.
    You're mostly right. I'll put it like this: Respect includes treating people nicely, but yes, it includes much more than that...

    > I will not tell my child to yield their opinion to
    > their teacher's opinion simply because of age or a teaching certificate.
    But you should. Within a certain restricted domain (that of education), the child _SHOULD_ yield to a teacher's opinion.

    Student to teacher: "Instead of sitting in class, I am of the opinion I should wander down the school hallways, arms outstretched, making cute airplane noises"
    Teacher to student: "But _I_ am of the opinion you should sit in class and pay attention to what I am _teaching_ you"

    The teacher should win this one.

    Also, remember what I said about "restricted domain"?

    Teacher to student: "I am of the opinion you should accompany me to the empty classroom and take off your clothers"
    Student to teacher: "I am of the opinion you should be complained about & fired & arrested without further delay"

    The student should win this one.

    I have said this before and will say it again: The teacher should NOT have to be an educational Patch Adams to gain respect from students. If the teacher has the talent, and wants to, that's nice. But don't force teachers to a standard you don't meet for yourself at home. You probably have your child's respect, don't you? Note, it's not just because you're a gem of a parent. Most children grows up with an ingrained respect of elders for being able to do what they cannot ("ooh, pick me up daddy, please!"), that changes over time. Making sure a child retains respect for elders in general is a good thing and is a pretty important aspect of being a good parent.

    Self-discipline. Respect for elders. These are good words, not bad ones. And they work well with words like empowerment, creativity, freedom.

    "Remember a teacher is "just a human being doing his job." No different than a janitor, developer, CEO or stripper. Be nice to everyone, but no one's opinion deserves anymore deference because of their profession."
    Yes, be nice to everyone - the CEO and the janitor and the stripper. And more than that - *Love* every person. But if you teach your child to respect a stripper's or prostitute's *profession*, if you explicitly or implicitly encourage them to view that as an acceptable alternative, you're doing them and yourself a disservice.

  25. CD solar concentrator on Homemade CD Shooter? · · Score: 1

    the bright side of CDs is pretty good at reflecting light (it's actually a mirror-like finish) and should make decent solar concentrators. For eg: a lot of CDs forming a concave "dish", with the object to heat at the focal point.