Slashdot Mirror


User: Morpf

Morpf's activity in the archive.

Stories
0
Comments
124
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 124

  1. Re:Peanuts on Your Java Code Is Mostly Fluff, New Research Finds · · Score: 1

    Forgot to note, that patterns also improve communication, as you can just say, you used the observer pattern and everybody (hopefully) knows what it means. Moreover by just harmonizing the code, so that the same problem is always solved the same way, you don't have to dig deep into the implementation to see what is going on. You see ItemsPurchasedObserver and you have a rough idea what's going on. On top you are not forced to reinvent the wheel for the millionth time.

  2. Re:Peanuts on Your Java Code Is Mostly Fluff, New Research Finds · · Score: 1

    Well, I don't want to miss at least a couple design patterns: Iterator, Observer, Adapter, Decorator, Dependency Injection, Object Pools (Threads and Connections in my case).
    I also sometimes use Singleton, Builder, Proxy, Command, Circuit Braker.

    Iterator: I want a simple Interface I know, to iterate over data structures if iterating is reasonable. Not 10 different interfaces for 10 data structures.

    Observer: Often I want information to propagate. Yet the business logic should not depend on the UI, so I can easiely provide different UIs. And especally I don't want circular dependencies.

    Adapter/Wrapper: Every so often I have to work with slightly off interfaces. Putting an Wrapper around it solves this.

    Decorator: You don't have to maintain for example scroll functionality for every dsplay and input type (e.g. Text, Picture) but just do it once.

    Dependency Injection: My code is so much easier testable since I use DI. Only downside, I have to admit is, that you potentially have your dependencies defined elsewhere. But then again this allows easier changes of those (for example in case of software product lines).

    Object Pools: Thread and connection pooling can drastically improves performance. Noone nowaday creates 1000 new connections per second from one server to one DB.

    Yet of course I don't sit there all day and try to use as many design patterns as possible. For a 100 line program I would never use DI, I use a wrapper only, if I really need to. And so on...

  3. Re:Peanuts on Your Java Code Is Mostly Fluff, New Research Finds · · Score: 1

    The goal is not to use _many_ design patterns, but those, that fit and actually improve the design by making it easier to maintain.

  4. No F-Keys on Building the Developer's Dream Keyboard · · Score: 1

    Yeah great, I have to use key combinations for the f-keys. Best keyboard evar!

  5. Re:Incredibally stupid argument on The Argument For a Hypersonic Missile Testing Ban · · Score: 1

    That is somewhat along the line of "If I shoot him first, he can't shoot me."

  6. Re:"Against a wall" on Dell's New Alienware Case Goes to Extremes To Prevent Overheating · · Score: 1

    There are already things hindering the customers to place their PC directly with their back to the walls. One is called cables, the other one is called convenience. Who wants to crawl under their desk to turn the PC on or to attach / detach an USB flash drive? Thus a PC is more often then not aligned with the front of the desk, with more than enough space towards the wall.

    So I call BS on the "regular PCs heat up because of walls and thus we introduced this case design".

  7. Re:Computers Yes. But theres no point on Can Our Computers Continue To Get Smaller and More Powerful? · · Score: 1

    Even though risking to feed a troll:

    Please elaborate why Java is a "slower language before we even start",
    why you think java is single threaded (in Java multi-threading is really comfortable, and no libraries needed),
    why you say there is no optimization (the JIT compiler DOES optimize the code),
    where your "good logic" is, when there are numerous buffer overflows and similar problems regularly found in important C / C++ code,
    and why you are thinking you would be forced to use any library? (of course you can reinvent the wheel for the thousands time with the same errors)

    Have you ever seen real benchmarks between Java Code and C / C++ nowadays? It doesn't seem so.

    And what are you referring to with '"easy" amature programming' and "fast food alpha"?

  8. Re:partly as a result, work culture is also haphaz on If You're Always Working, You're Never Working Well · · Score: 1

    That is why it's called "management" and not "solving", "empowering" or "understanding".

  9. Re:Slippery Slope on On Forgetting the Facts: Questions From the EU For Google, Other Search Engines · · Score: 1

    This is no slippery slope, this is utter nonesense! If facts stated about your are wrong, you let your lawyer send a letter, that the author has to remove or change the information. They will comply if it's reasonable, if not one can escalate and go on trail.

    Long strory short: In Europe you already have means against someone unrighfully diffaming you. No need for censoriing.

  10. Still use RSS, going to build a new reader on Google Reader: One Year Later · · Score: 1

    I don't have the time to go to every news page and look through if something new and important was written. So I still use RSS. I want the information come to me, not to chase it.

    My project is in a really early state (no customer - problem fit) as I haven't had the time to invest lately. Feel free to drop me a mail (next-reader@gmx.net) If you want to get updates or want to help me find out what current "problems" with readers and information acquiring in general you have. :) *sorry for slashvertising*

  11. Re:Maybe it doesn't measure science literacy on Belief In Evolution Doesn't Measure Science Literacy · · Score: 1

    No, it doesn't.

    What the quote states is like "because you can't know anything to it's fullest it's okay to just don't care at all." To compare apples and oranges: "Because I can't run a marathon right now it's totally okay to be not able to run even 3 km." Hint: The one able to run a half marathon is nevertheless in a better state than somebody who can't run even 3 km, even though both cannot run a marathon.

    Science will undermine it's claims with experiments and reasoning. Moreover we see the results of science in our daily life. Many basic things you can test for yourself (for example just start breeding plants, stretching springs, heating metals, measure a circuit) and actually understand. If you show me someone making wine out of water or dividing a sea I will totally belief in this story. There is a difference between something you see describing your daily life, making predictions about things not yet seen (but later verified) and a story "you just have to believe". Should I believe in the Nigerian prince wanting to give me money, too?

  12. Re:Wait a sec on Belief In Evolution Doesn't Measure Science Literacy · · Score: 1

    By definition everything we can't proof is just a theory. The only things we can proof are those, we base on a system of axioms ->see math. All the rest we can only explain, most often quite good, but most often there are missing pieces. We can't merge the theory of relativity with quantum mechanics. Both theories work really well for problems "of the right size". I hope you will see, that gravity is a theory, too, even though it's a very well working as it bases on a model.

  13. This question is not inconvenient but senseless on Belief In Evolution Doesn't Measure Science Literacy · · Score: 1

    This is like asking:
    What would like being hit by?
    a) A bus in your favorite color.
    b) A banana. (You don't like yellow.)

    Believing in evolution doesn't mean thinking "it's without a consequence to mess with anatomy / genes" actually it means the complete opposite. We actually think that the human brain evolved into something very powerful but also very delicate, you know?

    But one inconvenient question for you:
    How do you think selective breeding of plants and animals works?

  14. Re:Maybe it doesn't measure science literacy on Belief In Evolution Doesn't Measure Science Literacy · · Score: 1

    The more abstract principles how evolution works were tough in the 7th grade or so (at least in Germany) when I went to school. Be it mutation, recombination and dominance of genes, DNA, RNA, transcription, cell division. Combine this with the just logical concept of "survival of the fittest" and you are mostly done with explaining/understanding evolution. How exactly the proteins work is another story.
    But how hard can it be to grasp the abstract concept of evolution? Even more, when we use this knowledge for ages. Be it selectively breeding of plants, horses, cows, dogs, cats and so on.

  15. Re:joke on CERN's Particle Smashers List Their Toughest Tech Challenges · · Score: 1

    I was constantly shaking my head reading this book.

  16. Re:Biggest challenge is avoidance. on CERN's Particle Smashers List Their Toughest Tech Challenges · · Score: 1

    Of course a small black hole, it black holes actually exist, would quickly evaporate.

    As we can observe black holes we can be quite sure they exist. ;)

  17. Re:It's a matter of trust on Don't Be a Server Hugger! (Video) · · Score: 1

    All the big players in cloud services are US corporations.

  18. Re:Maybe not extinction... on Are Habitable Exoplanets Bad News For Humanity? · · Score: 1

    I think you are mixing up capitalism with the industrial revolution. Capitalism is fairer than say a caste system, but it doesn't make it good just by this. If every one is trying to maximize it's profit this leads to companies saving on wages. This may happen by improving processes and needing less people (good) or giving little money for huge workload (bad). Now you may say "Law of supply and demand! Nobody is forced to accept a too low wage." While this is technically true, there is always some one desperate enough to sell his work force under value just so he can pay his mortgage and food. So if companies are driving down wages in a whole sector the single person has no chance to get a good deal. There is another factor driving down wages: abundant supply in work force. There are not enough jobs for everyone, haven't been and probably will never be. Just look back in the old days where only the man would go to work and would supply it's family and even than not everyone had a job. Now look at the current situation: today both the man and the woman need to work, to have a decent life. So double the work force and an even bigger dependence leading to lower wages.

    Going to research at an university most often means making less bucks than going into the corporate world. Yet those scientists make this step. Not because of the money, but because they love to solve problems. They love it more than a bigger pay check.

    But today you are often enough dependent on third-party funding. Now you not only need to be a good researcher but you need to make big claims to the right peoples. And suddenly research becomes a business. Business need to make ROI in a short period of time. But fundamental research needs many years for any results and those often enough get into products maybe one or two decades later. So fundamental research is hampered. But not only this. By working together with the firms that are paying your research, you are no longer independent and your results tend to be biased. Moreover you may need to hold results back until patents are claimed. This all would not happen, if there wasn't financial interest in research.

    Speaking for what happens in Germany: less regulation would actually makes it harder to get decent internet if you are not in the right spot in a big city. It's an easy calculation: ROI is way higher in areas with many subscribers that will buy the most expensive services. Good luck if you are in the urban areas. I really don't see how deregulation would solve this kind of problems.

  19. Re:Why not a government service? on Google Mulling Wi-Fi For Cities With Google Fiber · · Score: 1

    Not Wifi in it's tightest meaning, but internet may be called critical infrastructure nowadays.

  20. Re:Why not a government service? on Google Mulling Wi-Fi For Cities With Google Fiber · · Score: 3, Interesting

    That is what happens if one privatizes critical infrastructure. Because it is critical, the enterprises can screw you over big times and milk you like a cow–and probably will do so.

  21. Re:Maybe not extinction... on Are Habitable Exoplanets Bad News For Humanity? · · Score: 0, Troll

    Capitalism is bad. You may not see this, if you belong to the lucky ones, but it is neither fair, nor social or sustainable. And I bet my ass, if we were more collaborative, we would be way ahead in technology and social questions. It's collaboration that drives improvement. Just imagine science without it: Every would had to start at 0, not even knowing the fundamentals. Capitalism on the other hand is the exact antithesis of cooperation where everyone fights for it's own good and against all the others.

  22. Desktop Wikis on Ask Slashdot: Professional Journaling/Notes Software? · · Score: 2

    I started using desktop wikis for writing down my notes. Right now I am using Zim.

    Bonus: You can read and edit the files with any text editor as it's just mark-up.

  23. Re:BS on San Francisco's Housing Crisis Explained · · Score: 1

    Of course. It's those tech workers who are driving the housing prices up, and not the greedy house owners... Sure.

  24. Re:They've got a lot of catching up to do... on Is Germany Raising a Generation of Illiterates? · · Score: 1

    At the moment I'm surrounded by people who a single generation ago were doing poorly but are now among the leaders in our industry, all it took them is to shake off a negative view of themselves and their origin, industry couldn't care less were you came from, they want to know were you are today and going tomorrow.

    This sounds quite illusory. "You only need to work hard and you'll become rich." News at ten: nope, won't happen. You need also lots of money to burn and / or lots of luck. What the AC wrote is not defeatist, it is realistic. When I look at the job market, entry positions ask for like 10 years of experience in the field even though they "target" newly graduated academics. I don't even want to think of the struggle of people without a degree. And with your system it's a big gamble to go to university as you will end up with a huge debt.

  25. Beta again, really? on Ask Slashdot: Modern Web Development Applied Science Associates Degree? · · Score: -1, Offtopic

    Dear Slashdot,
    didn't you say you knew Beta was broken, what was wrong etc? Didn't you say, you would only redirect not logged in users to Beta? Well, I have my doubts as I am force over with Beta again. And not even a click to Classic works. Great work again with your Beta. I am really proud of you. Well sort of. Well actually I am not. You guys really know how to annoy your user base.

    I hate Beta.