Slashdot Mirror


User: SnapShot

SnapShot's activity in the archive.

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

Comments · 1,012

  1. Re:I've.never.used.groovy.so.I.have.a.question. on The Struggle To Keep Java Relevant · · Score: 1

    (Sorry for the delay)

    I should have been more clear. A linked list (implemented as a dequeue, I think) provides for O(1) efficiency for insertions and deletions while an array list is O(N). However, an array list allows for O(1) for random access while a linked list is O(N). You use different list types for different tasks.

    The vector is an old version of an array list this is synchronized. The current, correct way of indicating a synchronized data structure is to wrap it on one of the "Collections" wrappers.

    But, don't get me wrong. I'm loving working in Ruby but it doesn't make Java inherently wrong, just different.

  2. Re:If I could do it, I would! on What the Top US Companies Pay In Taxes · · Score: 1

    Great! Give corporations 1st amendment rights but no taxes... that's a winner. Our founding fathers declared "no taxation without representation", but we should be telling the corporate lobbyists and their congressional lackeys "no representation without taxation."

  3. Re:I've.never.used.groovy.so.I.have.a.question. on The Struggle To Keep Java Relevant · · Score: 1

    I love the artistic -- almost poetry -- of well-written Ruby. But the verboseness of Java can be helpful for long term code maintenance (this is assuming the programmer writing the code is aware of what the various constructs mean.)

    Java:
    // Hey code maintainers, I'll probably be doing inserts and deletions with this list
    List list1 = new LinkedList();

    // Hey code maintainers, I may be doing a lot of random access with this list
    List list2 = new ArrayList();

    // Hey code maintainers, either: // a. I haven't learned any new Java since 1.1 or // b. I really need a synchronized, random access list
    List list3 = new Vector();

    // Hey code maintainers, I need a synchronized, random access list
    List list4 = Collections.synchronizedList(new ArrayList());

    This is versus your Ruby example; concise, but not very implicit information.

    Ruby:

    # I'm informing my readers that I need a list
    myList = []

  4. Was it a cause of his legal trouble? on Our Low-Tech Tax Code · · Score: 1

    I read the article, but can't figure out how it got him into legal trouble? It sounds like the law makes it less beneficial to be an independent contractor but doesn't explain how it could get Stack into $10,000 of legal fees.

    Or, was this just one of a litany of complaints?

  5. Re:How about the obvious... on After Learning Java Syntax, What Next? · · Score: 4, Informative

    If you can't decide on a project, yet. I'd recommend two books: Java After Hours (perfect for a security guard) and Wicked Cool Java. They're both the same basic format, each chapter exposes you to a new library. Wicked Cool Java covers more ground, Java After Hours is a little more detailed for each project.

  6. Re:some facts about nuclear energy. on US To Build Nuclear Power Plants · · Score: 1

    It's a win-win. We get cheap power now and when the storage facility starts to leak or the plant melts down we have a wildlife preserve safe from human development for the next 10,000 years!

    Seriously, though. Does anyone know what type of reactors these are? I assume only light water reactors are being built. I just read on Wired [ http://www.wired.com/magazine/2009/12/ff_new_nukes/ ] about theoretical Thorium based reactors, but I don't think there's any firm plans to build one of those. I think there's also something called "pebble bed" reactors or something like that. I'd be interested to know what the real state of the art in nuclear plants is right now.

  7. Re:I Don't Think This Was Well Thought Out on Utah Assembly Passes Resolution Denying Climate Change · · Score: 1

    If you took a cup of water out of a gallon bucket, froze it, and placed it back in the bucket the water level would remain constant. If there is more land ice the sea levels will fall, but additional sea ice is not an issue. That's why we're concerned about Greenland and Antarctica melting but not concerned about the north pole.

    If I remember correctly, the native peoples of North America can thank an ice age for absorbing so much water that a land bridge from Asia to Alaska was opened enabling that early migration.

  8. Re:I love to be the first to say this... on Utah Assembly Passes Resolution Denying Climate Change · · Score: 1

    When you're a sheep you might not even realize you're a sheep, right? Or are you sure you're not just blindly following your shepherd who has given you the easy out: "Don't worry my woolly little friend, nothing humans can do can change the climate; it's just mean environmentalists that want to take away your Escalade."

  9. Re:Answer: on It's 2010; What's the Best E-Reader? · · Score: 1

    Agreed. In fact, business trips and vacations are the one place where the e-ink reader's hold their own. You can read on the beach. If you finish your book you can start a new one in 30 seconds.

    I have the nook which I would give a 6.5 or 7 out of 10. I don't regret getting it but my expectations were too high.

    Pros:
    great screen.
    color LCD at the bottom is nice (and after the most recent software update is starting to be useful).
    B&N library software is nice. I've got the same books on my laptop, my nook, and my phone.
    battery life is great
    light; no more carrying three or four books on the airplane

    Cons:
    I originally was looking at ebooks as a place to store all those PDF reference documents and I thought I would never buy a hard copy technical or programming book again but there are three problems: 1. the nook is slow and search is useless and it's not easy to switch between multiple documents, 2. on some pdfs the text is so small as to be almost unreadable (I was trying to read the Symfony 1.4 reference books), and 3. so far B&N doesn't seem to sell many technical books in the epub format.

    Neutral:
    The lending feature may be nice, but in two months I havn't used it.

    Conclusion: the nook is a great vacation substitute for a stack of fiction novels but a bad reference library.

  10. Baltimore, MD on Pittsburgh, Seattle Announce Interest In Google's Fiber Trial · · Score: 1

    1) Diverse community
    2) Major bio-tech center
    and most important:
    3) Make D.C. jealous

  11. Re:Too bad on Subversive Groups Must Now Register In South Carolina · · Score: 5, Funny

    Can you imagine the intelligence of the voter to which this law was intended to pander? I can just imagine the debate during the next election cycle.

    Mah opponent beeleeves that the Subversive Ahctevities Registration Ahct is unconstitutional. Ah beeleeve Ah speak for the GREAT people of South Carolina when Ah ask: 'Why do yoo support the terrorists?'

  12. Re:$100 Billion in Losses? on New Russian Botnet Tries To Kill Rivals · · Score: 1

    Sorry, I meant Million not Billion. Not that it matters...

  13. $100 Billion in Losses? on New Russian Botnet Tries To Kill Rivals · · Score: 1

    Minor quibble. Yes, botnets suck and mafia run hackers can suck the stale &@%$ out of a necrotic &!#@'s &#%$#. But, does anyone ever believe any of these "X causes $Y Billion" losses estimates? Whether it's the RIAA, MPAA, BSA, FBI, FCC, or whatever, I think they make those numbers up.

  14. Re:University Legal Services? on Univ. Help Desk Staffer Extorts Over Copyright Violations · · Score: 4, Interesting

    Sounds interesting, is there a story behind that? What did you post on /. that got the MPAA's panties in a bunch?

  15. Re:Sneaky. on US Missile Defense Test Fails · · Score: 4, Insightful

    You make an interesting point.

    However, I'd like to make the irrefutable counter-argument that missiles and rockets are cool while inspecting ships, planes and trucks is boring.

  16. Re:Really? on US Grants Home Schooling German Family Political Asylum · · Score: 1

    I wish I had. I was new to the area and not confident enough to elbow my way into my new (at the time) in-laws family affairs. Some of blame for her and her brother's doomed future definitely does rest on my shoulders. I guess it does take a village.

  17. Re:Really? on US Grants Home Schooling German Family Political Asylum · · Score: 1, Insightful

    If you take issue with home schoolers presenting information from a "religious perspective" then do you also take issue with parents that choose to send their kids to Catholic school?

    No. I admit I only have a data point of one, but my experience with home schooling was my ex-wife's niece and nephew where home schooling consisted of 8 hours a day of "Veggie Tales" while the mom sat around the dining room table growing obese. It's really sad. The daughter actually had a quick wit and curiosity that was slowly being burned out of her by her fundamentalist, red-neck parents.

  18. Re:Not so much on Is Programming a Lucrative Profession? · · Score: 1

    The same way you do in every other technical profession: Volunteering, working for yourself on pet projects, internships and companies willing to hire the inexperienced for very little money.

    Exactly. Also, care about what you work on. I would say that one in ten of the people who I interview come into the office willing and able to talk enthusiastically about something that they've recently worked on. The graphic designers don't have this problem. They come in with a professional portfolio and get fired up when they talk about the designs they've done.

    If you're any good at what you do, you need to be able to show it.

  19. Not if you have a magic time machine... on Is Programming a Lucrative Profession? · · Score: 2, Insightful

    There are a lot of ways to look at the figures, but only the most skewed ones come up with starting salaries approaching $60,000 annually...

    Not if you have a magic time machine back to 1999.

  20. Re:Wow What an Idea on A Practical LCD Writing Tablet · · Score: 1

    Expensive? It's only $30. An etch-a-scetch is nearly $20.

    Sure, it's not a mythical, magic tablet from Apple but I bet people could find a few uses for it and it's a hell of a lot cheaper...

  21. Re:Right of free speech + right of association on Supreme Court Rolls Back Corporate Campaign Spending Limits · · Score: 1

    You can pretty much guarantee that anything the Right is complaining about, they are doing.
    Complaining about fiscal responsibility? They ran the debt up from $5T to $10T in 8 years.
    Complaining about social values? They play footsie with underage undercover interns in public restrooms while wearing diapers (okay, I might be conflating a few different conservatives here...).
    Complaining about activist judges? They anointed a president and gave freedom of speech to an IRS Form 1020 Schedule K.
    Complaining about politically correct "censorship"? They've spent the last 7 years trying to shut down dissent by accusing everyone from Max Cleland to John Kerry to undercover CIA agents of being terrorist sympathizers.

    Unfortunately, for a sizable minority of American citizens this kind of double-talk works. When I'm feeling particularly conspiracy minded, I can't help but wonder if the Right used their anti-tax rhetoric to destroy the schools first so they could win elections later. But, that would take way too much planning, wouldn't it....?

  22. Re:Right of free speech + right of association on Supreme Court Rolls Back Corporate Campaign Spending Limits · · Score: 1

    People at Monsanto speak and those People have a freedom of speech.

    Well at least we agree on one thing. Cheers.

    In any case it's a done deal. If we care about our country, I guess the only thing we can do now is pray that it's not just another irrevocable step down the slippery slope of corporatism.

    I leave you with a quote:

    “Fascism should more appropriately be called Corporatism because it is a merger of state and corporate power” - Benito Mussolini

  23. Re:Right of free speech + right of association on Supreme Court Rolls Back Corporate Campaign Spending Limits · · Score: 1

    My Freedom of Speech is exactly the same as Monsanto's or PETA's or the President of the US.

    No, the framers intended that your Freedom of Speech is exactly the same as the CEO of Monsanto, or the Chairmain of the Board of PETA, and, of course, of the President (who is also an individual citizen). And, no, you won't get the same equality of results, nor should you unless your message is so compelling that it can overcome their advantages in money and exposure.

    However, 5 corporatist justices have reinterpreted the Constitution to suit their narrow, activist political agenda and granted individual rights to entities that only exist in the form of civil, legal agreements. That is wrong and not what the founding fathers intended. Scalia, in particular, should be ashamed of his hypocrisy.

  24. Re:Right of free speech + right of association on Supreme Court Rolls Back Corporate Campaign Spending Limits · · Score: 1

    ... people have the right to speak about political issues.

    No one has ever questioned that and that right has never been in doubt. Granting legal defined corporate entities the same rights is what's wrong.

    This ruling helps advocacy groups that are organized as corporations, such as the Sierra Club, ACLU, PETA, Unions, as much as it helps businesses.

    Can you really say that with a straight face?

    PETA donations - $25,000,000
    Monsanto Corp revenue - $11,000,000,000

    So, with the recent ruling Monsanto has approximately 440 times more free speech than PETA? And, if an average fireman's salary is $60,000, Monsanto has 133,000 times more free speech than you.

  25. Re:Right of free speech + right of association on Supreme Court Rolls Back Corporate Campaign Spending Limits · · Score: 1

    A Corporate Blog talking about issues relating to their industry has the same freedom of the press as the Wall Street Journal editorial page.

    Bully for them. This isn't about a blog, this is about buying elections. Do you not see the difference?