Slashdot Mirror


User: iamacat

iamacat's activity in the archive.

Stories
0
Comments
4,112
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 4,112

  1. Re:c ? really? on Top 10 Dead (or Dying) Computer Skills · · Score: 1

    There are no constructors, no destructors, no garbage collection, no inherited anything, the vast majority of temporary variables go away with one LEA

    While your choices in this particular product may be justified, you might want to review both C++ and x86 assembler (WinImage) for the sake of both your employees and your slashdot friends.

  2. Re:c ? really? on Top 10 Dead (or Dying) Computer Skills · · Score: 1

    The point of exceptions is that they are faster than if statements when not thrown. Theoretically, they could have zero overhead by maintaining a subset of debug information. What I saw in practice is incrementing a hidden local variable a number of times in a method to know which destructors to call and which try blocks are in effect.

  3. Re:c ? really? on Top 10 Dead (or Dying) Computer Skills · · Score: 2, Interesting

    Umm... Thanks for insight into image filtering, but how are you avoiding the overhead of an equivalent C++ code? If you wrote your filters as C++ classes with virtual methods, you would be limited to 4/8 byte overhead (with single inheritance) no matter how many methods you have. You would have a consistent syntax for virtual and non-virtual methods. You would be able to more easily handle clean up with stack-based destructors and auto pointers. And your code would be still as small and fast as now. Perhaps even a bit faster, because you would be able to inline small functions and the compiler would optimize away some virtual calls to non-virtual.

    All C++ compilers in the market have ability to turn off exceptions, which is the only feature that inherently generates larger/slower code (but not slower than "if (e 0) goto cleanup" after every function call) even when not used. It would be trivial to institute a coding convention of making all constructors explicit and add -Doperator=foobar -Dtemplate=foobar to your Makefiles to avoid generating unwanted code.

  4. Re:c ? really? on Top 10 Dead (or Dying) Computer Skills · · Score: 2, Insightful

    a great deal of which you can implement in C in a completely controllable, transparent and maintainable manner

    So, when you have a small object with 10 methods, do you actually waste 40 bytes on 10 function pointers? Do you define your own virtual table structure, use var->vtable.move(var, x, y) kind of notation and require users to call non-virtual methods as ClassName_MethodName(obj, arg, ...)? What kind of C++ overhead are you avoiding here? How did you like the experience of incorporating a library whose developers implemented similar paradigms but different details and naming conventions into your code base?

  5. Lobbyists on Ubuntu Founder Says Microsoft Not A Big Threat · · Score: 4, Informative

    Nah, once big software companies feel threatened rather than empowered by patents, lobbyists will make sure that laws gets passed to protect them. One onerous requirement might be for a patent holder to maintain a credible product in commercial production in order to sue others for royalties. This will be phrased to stop patent-only law firms that skim companies without innovation themselves, but will take care of open source authors quite nicely.

  6. Re:So using this logic.... on Michigan Man Charged for Using Free WiFi · · Score: 1

    We are entering a new legal ground here then. Instead of being guided by fences and "private property" signs we have to walk around with GPS receivers to make sure we are not stepping on someone's private land. In my area, there is Free municipal WiFi. So why should I automatically avoid unencrypted access points when it's trivial to secure ones someone wants to keep private?

  7. Re:Necessary improvement on Female Sharks Can Reproduce Alone · · Score: 4, Funny

    You missed two thousand years of history. Jesus was a lawyer's son with XX-male genotype. He was famous for writing laws that everyone can interpret as they wish.

  8. Here is to hoping... on FBI Target Puts His Life Online · · Score: 1

    That the goatse guy gets on a terror watch list. Will keep FBI agents occupied and remind them of what our vice president has done to the country.

  9. Re:The Difference on Google Bans Ads For Essay-Writing Services · · Score: 1

    Well, if a TV anchor dedicated his program to images like this, he would be promptly fired due to viewers boycotting the channel and advertisers pulling their business from the "unpatriotic" company. If we want to be exposed to unpopular views on war in mass media, perhaps we shouldn't fire decent radio DJs who occasionally quote rap music with unpopular racial stereotypes.

  10. Good, this will save them some money on Google Bans Ads For Essay-Writing Services · · Score: 2, Insightful

    Truly useful services like prostitution, pot, warez and essay writing need no advertisement. Potential customers will actively look for them in regular Google search results and offline through references from friends. It's the useless services like "free" credit reports that need to spend money on ads in order to rip off clueless people.

  11. Oil production has consequences too on Ethanol Demand Is Boosting Food Prices Worldwide · · Score: 1

    Ruined ecosystem, oxygen-blocking tanker spills, infusing US dollars into countries that support terrorists. In principal, ethanol and other biofuel can be produced using bull-mounted plows and manure as fertilizers, from plants that are not viable as food crops and are hardier and easier on the land than regular agriculture. We don't have to replace all fuel with ethanol to reduce net CO2 emissions. Just because agriculture can not supply ALL our energy or because a particular implementation is flawed doesn't mean that we should abandon the whole concept.

  12. Subscriptions? on Municipal Wi-Fi Networks In Trouble · · Score: 1

    I don't see the point of commercial municipal Wi-Fi. A private company is perfectly capable of installing a few hundred 802.11n base stations in the city, unlike the burden of, say, laying down cables or water pipes. Such a solution also does nothing for city visitors, who are more likely to need Internet access in some arbitrary location than residents. Would you want to open dozens of separate accounts for each city in Bay Area? Starbucks hotspots will probably do better for you.

    On the other hand, a free service is a great convenience for city residents and, for it's cost in taxes per person, is probably a good saving over cable/DSL. Free Internet can also encourage visitors to spend more time in city's businesses or locate the business in the first place when they have impromptu shopping ideas. In Foster City, there is an advertisement-supported service by MetroFi that I think is a good example on how things should be done.

  13. That's nothing! on A Mighty Number Falls · · Score: 2, Funny

    I just factored 2^2048 in a few milliseconds on a single computer. Your bank account balance was just donated to support world peace. RSA is doomed? Oh, wait? Are you saying RSA is based on numbers which are products of two large primes, not just some numbers with lots of small factors? Bummer!

  14. Re:They deserve to be outed on Site Claims to Reveal 'Tattle-tales' · · Score: 1

    I am in favor of legalizing pot (and I would smoke some then), but you are trivializing addiction. The problem is that, when addiction happens, users are mostly experiencing positive effects of drugs - interest in life, ability to cope with difficult situations and make decisions about them, vibrant social/sex life. They have no intuitive indication that the same drugs will later cause them to neglect their children, rob convenience stores or become impotent. Brain damage from some drugs can be such that "these people" are really no longer fully human. I don't see the point of legalizing drugs like heroin that almost nobody can use safely. But mostly we should focus on early intervention for addicts or about-to-be-addicts (including for alcohol/nicotine) and using mind-influencing substances exclusively in traditional cultural settings (smoking a peace pipe, drinking at parties with high expectations on one's actions, hallucinogens as part of traditional ceremonies).

  15. "Not vunerable" on Unicode Encoding Flaw Widespread · · Score: 2, Informative

    According to the advisory, Apple products do not provide HTTP content filtering and are therefore not vulnerable. This will do nothing to help someone build a functioning protection system.

  16. Duh on The Palm OS Ends With a Whimper · · Score: 1

    Lack of protected memory or preemptive multitasking on a device released in 2007? Hard to believe it's still there. PalmOS was great for 512KB devices with monochrome screen, but it's an anachronism in today's world.

  17. Re:It's a financial institution on How Far Should a Job Screening Go? · · Score: 1

    Booze is not illegal, a spliff is

    Spliff is not illegal, selling spliff in interstate commerce is. Otherwise it's protected by my neighbors voting that I can get it in the pharmacy as prescribed by a doctor. Just because federal government is breaking laws doesn't mean companies should to. For example, discrimination based on health and medical needs is illegal in most cases.

  18. I can not let you do this Dave... on A Conversation with Cory Doctorow and Hal Stern · · Score: 1

    But you can always take advantage of GPLV3 to remove my DRM synapses

  19. Well, if there is no life on Extrasolar Planet Could Harbor Life · · Score: 1

    Perhaps it's time to establish a colony. How far are we from building a sleeper or generational ship giving aggressive assumptions (accept risky cryogenics, one way trip, generous time limits for a journey)?

  20. Re:Don't apologize. Yes way. on Google Wins Nude Thumbnail Legal Battle · · Score: 1

    it would still "reveal" everything that the larger version would, taking that right of publishing/profit/secrecy away from the owner

    In what way? The owner already published the image on a public web page, accessible without login and free of cost. Otherwise Google wouldn't be able to pick it up. Anyone can easily access that full size, 3000 pixel wide porn with a regular web browser. They further declined to provide robots.txt, which is a widely-known tool to control search engine.

  21. Re:Incremental Changes on Simple Chemical Trick To Boost Battery Efficiency · · Score: 1

    Oh well, my point is not about 386 and compilation but rather the value of energy-frugal software in general. But surely if you are able to type the code letter-by-letter, compiling that code with a suitable non-optimizing compiler shouldn't take long on a 386? Building large dependencies and optimizing the shipping code can be always done on a server.

  22. Re:Incremental Changes on Simple Chemical Trick To Boost Battery Efficiency · · Score: 1

    I'm still waiting for that breakthrough which will allow me to run my laptop for days (instead of hours) on a battery.

    The most likely breakthrough is likely to come from the hardware and software of your laptop rather than the battery. With e-paper type display fast enough for interactive use, 386-level CPU/RAM, flash storage and carefully optimized software stack, an existing battery can last anywhere from a week if you are compiling code to many months if you are just reading an e-book. To achieve comparable lifetime with the current Core 2 Duo you would likely need cold fusion as no chemical energy can be dense enough to even power a backlighted screen for so long.

  23. Re:You know, the solution is obvious on New York Sues Dell for Poor Customer Service · · Score: 1

    And the downside is...?

  24. Re:What I'm surprised about... on Fake E-Mail Results in Angry Apple Shareholders · · Score: 4, Insightful

    In this case, the scams are self-correcting. The more false rumors are generated, the more users will wait for official press releases and dismiss anonymous "internal memo leaks". So this can not happen too often.

  25. You know, the solution is obvious on New York Sues Dell for Poor Customer Service · · Score: 3, Funny

    Allow groups of consumers to sponsor a visa for an IT guy from Banglore to fly over, service 100 or so computers and then fly back home with earnings that are attractive by his local living standards. A round trip ticket is only like $800 or $8/person for a flight reserved well in advance. If big companies are allowed to outsource labor abroad, it's only fair that individuals are allowed to do the same thing to address their personal needs rather than paying a premium to Dell to cover US-based salary of its executives.