Slashdot Mirror


User: EsbenMoseHansen

EsbenMoseHansen's activity in the archive.

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

Comments · 1,231

  1. Re:I wonder how history will judge us on Internet For All in Europe · · Score: 2, Informative
    United States that guarantees free speech in the constitution (which is NOT typically guranteed in Europe)

    You are wrong there, I think. To quote from the Danish constitution (chapter VIII, if you care)

    77. Enhver er berettiget til på tryk, i skrift og tale at offentliggøre sine tanker, dog under ansvar for domstolene. Censur og andre forebyggende forholdsregler kan ingensinde påny indføres.

    Translated (by me, tired)It is every citizens right to publish his thoughts in written or oral form, though being responsible to the judges. Censorship or other preventive measures can never again be instigated.

    Just as sort of a public service :)

  2. Re:Good, but... on Ubuntu 6.06 Reviewed · · Score: 1
    . For example, I noticed that, in that default installation, there is a boot option for "Recovery Console," which simply gives anyone who starts it root access to the computer without a password.

    or he could press e on an option, and specify init=/bin/sh or similar, and boot up directly in a shell. This works on every distro, unless you lock your grub menu.

    Repeat after me: if untrustworthy people have physical access to your box, your security by login is basically gone. If you want to secure your data in that scenario, use an encrypted fs.

  3. Re:Never? on Space Elevator An Impossible Dream? · · Score: 1

    Actually, there are infinitely (hah!) many different infinites, in that it is (not too hard) to show that if S is a set, then the sets consisting of the subsets of that set, P(S), is bigger than S. What do I mean by bigger? I mean that there exists an injective map S->P(S) (for each x in S, map into {x} which is a subset of S. On the other hand, there is no such mapping from P(S)->S. Proving this is not too hard... if someone have told you how, first :) It's called the diagonal proof, due to an early form that proved that there is more reel than rational numbers.

    Me mathmatician? Where do you get those ideas? ;)

  4. Re:Remarkably Calm and Coherent for RMS on The Curious Incident of Sun in the Night-Time · · Score: 1
    20 minutes after Java goes "free", some idiot will start adding pointers to it.

    So that's why I keep getting those nullpointer exceptions. Damn those opensource idiots!

  5. Re:Locked in to OSS? on The CVS Cop-Out · · Score: 1
    There are comments bandied around these parts about being "locked into MS" if you use their software.

    I think you misunderstood that statement. What it means is that if you have all your files saved in Microsoft Format ( ;) ) you have to use Microsoft application to read it. Thus, you are locked into microsoft. On the other hand, you could save in the odf format in openoffice, decide after a year that KOffice is better, and switch with no conversion needed. At least, that is the theory :)

    As for your question... what you do is buy/download/whatever a distrubution. They handle the devel contact, the packinging and so on. So you just do the "click upgrade" when you feel like it, and all your software will be updated automatically. They also handle bug reports, and so forth. The support is (in my experience) a lot better and more expensive if you buy it. Of course, if you don't, you are on the "do-it-yourself" level, with all that entails of joys and frustrations :)

  6. Re:Oh well... on Can Ordinary PC Users Ditch Windows for Linux? · · Score: 1
    Install the OS and you're ready in a couple of hours

    Care to install it on mine? I have been unable to install any version of windows on it, except Win Me... and there the graphics drivers didn't work.

    Linux, of course, installed with no trouble, taking the few minutes it takes for the live CD installs these days. Of course, linux doesn't format your drive before you can test if it works.

    Linux has it's faults, but installation is not one of them.

  7. Re:I agree...something fundamentally wrong with th on Next in Browser Development, High DPI Websites? · · Score: 1

    Not saying I wouldn't have missed it, but as I recall, I could choose between "normal" (way to small) and "large" (still too small, and breaks a lot of stuff both in windows itself and applications). I have no way to test, since window's inferior cost/benefit means it has been replaced on all my computers.

    If this is wrong, good, but what I said was to the best of my knowlegde, and I resent the implication otherwise

  8. Re:I agree...something fundamentally wrong with th on Next in Browser Development, High DPI Websites? · · Score: 2, Informative

    For menus at least, every desktop environment save windows lets you specify the font size of menus and other parts. So grap your upgrade of your OS today! ;)

    For much of the remaining text, setting the DPI correctly helps a lot. That leaves the px specified fonts... webdesigners who use these should be summarily shot (with chocolate, e.g.), but the only help there is the zoom, as you write.

    I run 1600x1200 on a 21" and 19", and I am quite happy about it. But I don't use windows anymore.

  9. Re:Wrong Side of Bed? on Torvalds Has Harsh Words For FreeBSD Devs · · Score: 1
    Do I have that right?

    Almost, but you missed an important point, I think. It is not really obvious, but I think they are discussing a faster method for write() and it's ilk. In *that* context, he believes that the eventual page fault will outweight the initial advantage gained on making the page readonly+generating a pagefault and making it COW+evt pagefault to clear the COW flag.


    In that context, he is saying that write() is as fast as it's going to be, if you also want it safe. Unsafe, fast methods should go the vm_splice() route, whatever that is :) He says it is a 0-copy version, so presumably it is directly userspace-to-networkcard copy of some kind.


  10. Re:Unsafe Languages? on Secure Programming in GNU/Linux Systems: Part I · · Score: 3, Informative

    Actually, strncpy is almost as bad as strcpy, with the added bonus of being inefficient. Use strlcpy. strncpy is a leftover from an early database format, and should almost never be used.

  11. Re:This can't be true on Warmer Oceans linked to Stronger Hurricanes · · Score: 1

    I should have been clearer. The models link the levels of various gasses, the distance to the sun and such factors and predicts the mean temperature. This is the models that has been remarkedly accurate on both historical data and near-future data (now current). They are based not on curvefitting, but theorectical calculations, and as such does not need as much time to prove themselves.

    The fact that you call it the "scary model" lends credence to my fear that you have simply chosen to close your eyes to the facts and likely outcomes. I'm sure nothing I can say will change this, and therefore my remarks are entirely directed at any other reader that might yet be openminded enough to see this from a rational point of view :p

    And yes, there are alarmists. I do not believe them. The human race will survive, not great food catastrophe is around the corner. What not doing anything about this will likely mean is less economic growth worldwide than would otherwise have been the case. Whether we should be prudent and bank our chances on the low-risk approach or reckless and go for the high-risk is a political decision, which we all participate in at some level (at least in the free world).

  12. Re:This can't be true on Warmer Oceans linked to Stronger Hurricanes · · Score: 1

    That somewhat old theory has long been discounted. It had some severe problems to begin with (like the cause coming after the effect), but more to the point the models that use the greenhouse gasses as the main contributer have accurately predicted presentday temperatures. Volcanic activity accounts for less than 1% of the total CO_2 in the air, and can therefore be safely discounted. Air quality is completely irrelevant to this issue.

    Now I'm certainly not an alarmist. But nor am I a great believer in convenient truths. Usually, if a theory makes you happy, you should be extra sceptic. Like when "firefox usage will overtake IE in 5 years" is for me... that would be wonderful, but I do not trust myself with a theory like that. I think you are victim to the same fallacy... you oh so want this to be true (and who doesn't?), and so discount any evidence against. Very human, but nature doesn't care about humans.

  13. Re:I don't understand something... on Creative Commons License Upheld by Dutch Court · · Score: 1
    This ruling wasn't about defaulting to copyright, it was about upholding license terms that were never even seen, [...]

    I quote from the fine article

    Curry sued Weekend for copyright and privacy infringement. As to the copyright claim, Weekend argued that it was misled by the notice 'this photo is public', and that the link to the CC license was not obvious.

    The judgement was not that the license supercedes copyright law, but that just because a website had a sign saying a picture was public, it need not be so. Notice also that Curry sued for "copyright infringement", not license violation.

  14. Re:Saw this on Digg on Root Password Readable in Clear Text with Ubuntu · · Score: 1
    ... Exploits don't get much worse than this a...

    Techically, this is not correct. It amounts to a local privelegdes escalation (which is bad, to be sure), where as the worst are generally considered to be remote exploits.

  15. Well, there is always A tale in the desert left on Yet Another Violent Games Ban · · Score: 1

    Well, we could always play A tale in the desert. This telling, you can't even kill yourself! :) (And it's pretty fun to play)

    Well, I'm off finishing my beer brewing :)

  16. Selfcleaning... as far as possible on What Would Be Your Ideal Futuristic Home? · · Score: 1

    There is one chore I love not, and I am not alone. That is cleaning a house. The less of a chore this is (enter stuff like Roomba, dishwasher etc) the better. I think that would be selling point no.1

    No.2. would be automatic energy conservation (lights off automatically when noone in room etc.)

  17. Re:No, 10,000 players is just PEANUTS on CBS News Fields SWG Hatemail · · Score: 1

    I don't see anything in that article you linked to about paying wages? Not that I would claim to know anything about american legislation.

    Certainly, in this country, lots of similar arrangement exists without pay. The trick is accountability, as I understand: If you are not payed, you are free to do whatever you would like within the usual limits of the law.

    Anyway, the GM'ers in this game mostly do stuff like like reset things that have gone into haywire. No P2P moderation is taking place, that is entirely up to the player population. Nor do the GM'ers get free subscription or similar... that would make it look too much like employment, I think.

    Of course, in that game, no friends means that you loose. So that helps :)

  18. Re:No, 10,000 players is just PEANUTS on CBS News Fields SWG Hatemail · · Score: 2, Interesting

    Just to put it in perspective, I play a MMORPG (sigh) that has about 1300 players. Total. It's quite alive, though there is only one server. I don't think the developers are strapped for cash either. The GMs are volunteers from the among the players I think... in return for GMing, they get snarky name signs. So it is certainly possible to run a MMORPG with 10000 players.

    A tale in the desert in case anyone wants to check it out. Free clients, free trial period, $14 (I think) a month thereafter, linux, mac and windows supported. The graphics stink, but the community is delightful, and the crafting system(s) are something else. No violence, though.If you do decide to try it out, give me a chat if I'm online... I'm Cappu, expert cook, blacksmith and other stuff as time permits :)

  19. Re:Bullshit on Ultra-Stable Software Design in C++? · · Score: 1
    want an example?

    Sleep/sleep in windows it's Sleep, in *nix it's sleep

    I use sleep either place, but then I do use the mingw toolkit. So perhaps you just need to use a better toolkit? The remaining problems you have all seem to stem from your toolkit. I have never used visual c++, but as I understand, it is a really substandard toolkit, not really ready for production use. Use gcc :)

    As an aside I lie. I use nanosleep(), which is preferable in any case.

    As for Java, java is a modern Fortran. If you need a modern Fortran, by all means, use Java. Java has a host of problems and gotcha's (from the top of my head: unsafe multiprocessing, no RAII, no metaprogramming, no multiple inheritance, surprising handling of method calls from constructors). I would only choose Java for external reasons, e.g. Mandatory language, limited skill people that already know Java. Otherwise, I would use either C++ or python/Haskell/Ruby depending on the circumstances.

  20. misc. advice and a small rant? on Ultra-Stable Software Design in C++? · · Score: 2, Interesting
    C++ takes a lot of platform-specific work to become portable,

    Where do people get this idea? I have ported quite a few applications, and usually the porting done by locating the libraries you need on the new platform, and fix a few oddities in the current platform (like closing sockets in z/OS or switching to unsafe multitasking (p-threads) on windows. Porting to linux is so trivial that I often do it just to get access to the superior tools available there, especially valgrind. GUI is the exception, of course, unless you use a x-platform kit from the beginning.

    Which leads me to my recommendations, in no particular order

    • Use Valgrind. A lot
    • Use a good toolkit. If GPL is acceptable, consider QT.
    • Consider a "packet" or a "transaction" based approach, that is design every application to take in a package, process it and return/store the result. This sort of applications are easier to automatical test
    • Avoid huge application anywhere... no more than 100 classes per application, no more than 1000 lines per class
    • Use automatic, integrated unittest
    • Use automatic, daily run integration/function tests
    • Do not accept complication designs
    • Avoid close sourced libraries. Be aware and fix library issues.
    • Avoid incompetent developers on critical components. Let them make the GUI/statistic/other fringe components.

    The above approach works for me. You mileage may vary.

  21. Re:Ruby's Quite Nice, Really on Beyond Java · · Score: 1

    Eh, no thanks. There are several things wrong with this approach.

    1. Java is just another language. Why JVM? Why not Parrot? Perl5 VM? Ruby VM? Before we know it, we'll have dozens of VM permanently in-memory
         
    2. Any decent OS will swap out the JVM is not used for some time. Which means that the JVM will be loaded from swap in any case, thus negating most of the boost gained.
         
    3. JVM's are typically not compatible. I have 3 java application application on my desktop, and they all require specific versions of JVMs. Poor coding? Probably, but Java apps tend to be poorly coded, whatever the reason might be.

    As for the library management, that is a conflict between the windows way (every application has its own copy of all libraries) to the UNIX way (package manager automatically installs any needed library, handling version conflicts etc automatically). I like the UNIX way better, for obvious reasons, but I won't argue that case today :)

  22. Windows installer needs work on Switching to Windows, Not as Easy as You Think · · Score: 1

    As for supporting new hardware, windows Me actually installs fine on the SATA disk, so it's not like windows couldn't support it. However, the graphics card doesn't work with Me, even with official drivers, and neither does Civ IV.

    My point is that Gentoo is windows far superior when it comes to installing. Sure, it happens that it needs a helping hand, but when that happens, I have a full set of tools to help out. And my distro of choice being Gentoo, I opted for the hard way myself, so I really can't complain. I need the features Gentoo provides, since my linux partition is not just play :)

  23. Re:It's not just an environment issue on Computers, Long Hours and Vision Problems? · · Score: 1

    Set the fontsize up! Surely, even windows support this these days?

    I run high resolution, but big fonts. Much easier on the eyes :)

  24. Re:Best windows review ever! on Switching to Windows, Not as Easy as You Think · · Score: 1

    I have given up installing windows on my newer machine for this reason. So my wife must play civ IV (the only windows application either of us run) on my old, IDE harddisk machine. I bought a new graphic card for her, and it runs fine, but seriously, the windows installer needs some work. It's a nightmare... It's easier to do Gentoo stage 1 installs than loading one driver provided on a CD-rom on a machine with no diskette

    For goodness sake, the *install* is from this nice, shiny CD.. why can't it read a driver from a CD, also? And why doesn't it support new hardware like my linux distribution does? Nothing works out of the box with windows: not harddrives, not network, nothing :( It takes forever to configure a windows system, whereas one (admittely long a time-consuming) emerge/yum line does it all in Gentoo/Red Hat. (Yes, I'm forced to use the latter at work. It's not that bad.)

  25. Re:Seems like a waste of time and money on Felony For Refreshing a Web Page? · · Score: 1

    "Using a man as a weapon" sounds like you use the poor guy as a club! ;)

    In any case, I agree that shouting insults and even silly threats like that is perfectly ok, though somewhat immature. I was just pointing out that you cannot claim not guilty by claiming that you have only exercised your free speech (to order another guy to kill someone, e.g.)

    Have fun