Slashdot Mirror


User: Lord_Naikon

Lord_Naikon's activity in the archive.

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

Comments · 74

  1. Re:So many goddamn layers. on Ubuntu Gets Container-Friendly "Snappy" Core · · Score: 1

    Nesting virtualization containers can be useful to test VMs on an OS you don't/can't run.

  2. Re:why would I write to that? on Microsoft Introduces .NET Core · · Score: 1

    FYI Java 8 includes a new date library, so that problem is fixed.

  3. Re:Just went through this a few days ago on Ask Slashdot: Workaday Software For BSD On the Desktop? · · Score: 1

    With regards to Eclipse, I've always found its windowing toolkit to be less than satisfactory, and prone to crashes. I don't know whether or not it is even an option for you, but NetBeans (latest version) runs much better on FreeBSD in my experience. Maybe give it a try. At the very least NetBeans is a lot more functional out of the box than Eclipse.

    Now if only JavaFX 2+ would work on FreeBSD I would be a happy man.

  4. Make sure you use nVidia gfx if you want 3D on Ask Slashdot: Workaday Software For BSD On the Desktop? · · Score: 1

    With FreeBSD you've got to be a little bit more picky about the hardware. I can highly recommend using an nVidia video card. This will allow you to get full OpenGL acceleration (for Minecraft) and h264/vc1 acceleration in mplayer with libvdpau (makes sure to build the port manually, as that option is not selected by default). Flash is a little more finicky, as it uses the Linux emulation layer. Fortunately the internet is moving to html5 video which is well supported by Firefox/Chrome on FreeBSD. So youtube works fine without flash.

    I've been using FreeBSD on my media box since about version 6, and on various servers professionally as well as at home.

    Also, ZFS fucking rules.

  5. Re:GIF /does/ support true colors on New Animated PNG Creation Tools Intend To Bring APNG Into Mainstream Use · · Score: 1

    Wow, a little bit condescending aren't we? Of course I know what an "alpha layer" is, that is why I didn't mention it my post. I merely showed that with sufficient effort good quality GIFs can be made, reducing the need for yet another "not quite video" standard. Speaking of standards, APNG was rejected by PNG. It is only supported by Firefox. So animated GIF is certainly better supported and "more standard" then the proposed alternative.

  6. GIF /does/ support true colors on New Animated PNG Creation Tools Intend To Bring APNG Into Mainstream Use · · Score: 4, Interesting

    It's worth noting that GIFs may overlay multiple image blocks with separate color pallets, resulting in true color images.

    The problem here is that some browsers (chrome) insert an artificial 0.1s delay between "frames".

    Also if you can do this with GIF one has to wonder if APNG has actually any viability other than as a source format.

  7. Re:Headline epic fails. on MIT Uses Machine Learning Algorithm To Make TCP Twice As Fast · · Score: 5, Interesting

    Huh? Did you read the same article as I did? As far as I can tell, the article is about a TCP congestion control algorithm, which runs on both endpoints of the connection, and has nothing to do with QoS on intermediate routers. The algorithm generates a set of rules based on three parameters resulting in a set of actions to take like increasing advertised receive window and tx rate control. The result of which is a vastly improved total network throughput (and lower latency) without changing the network itself.

    I fail to see the relevance of predictive/adaptive caching. It isn't even mentioned in the article.

  8. Re:Dosbox or freedos on Life After MS-DOS: FreeDOS Keeps On Kicking · · Score: 1

    Some old games (duck tales comes to mind) just didn't care about the the time and always ran their physics/render loop as fast as possible, with a fixed time step. Later, games (Classic Unreal for instance) started to use the RDTSC instruction that came with the Pentium, which subsequently lead to problems on SMP systems and/or CPUs with power saving features, due to a non-constant tick rate. I suspect Mech Warror 3 also uses it. Microsoft "fixed" that by introducing the QueryPerformanceCounter() API. Funnily enough, because a cheap high frequency time counter is also very valuable to OS developers, the RDTSC instruction now no longer returns the number of clocks but is a constant rate counter and old games work again, especially if the OS takes care to somewhat synchronize the TSC across all CPUs.

    It seems timekeeping is still very much in a state of flux, with several timers available to choose from: 8253 timer, ACPI timer, LAPIC timers (per cpu), HPET timers and finally TSCs on each core, each with their own drawbacks.

    > UpdatePhysics( elapsedTime );

    IMHO the biggest problem with that is that it leads to jitter in the animation because it is impossible to determine in advance how much time you will spend rendering the subsequent frame/when the frame will actually be displayed (unless V-sync is turned off, then it becomes slightly easier). I don't think replays or synchronization between multiple computers are compelling arguments for fixed rate physics simulations, because running your physics simulation in lockstep with the server is basically impossible (and unnecessary IMHO); for replays all that is required is a log of all important events with an associated timestamp. I remember some multiplayer games from the past who did fixed step simulations and they all sucked because they limited the speed to the slowest computer. It is much better to have the server (fast computer) run an accurate simulation and the slow client to run an inaccurate simulation which is corrected frequently by updates from the server.

    I'm also not entirely convinced by your examples. In my experience, exploding physics mainly happen if there is an unexpected delay between simulation steps. It looks to me like your simulation isn't properly damping the springs, or the time-step size is exceptionally jittery, but I could be wrong of course.

  9. Re:Hmm. on Cassandra NoSQL Database 1.2 Released · · Score: 1

    It's not always about the data relationships. Cassandra for example is very easy to scale horizontally (much easier than traditional databases) and can achieve very high throughput. Last time I checked (a year ago) I could get over 50,000 stores/queries per second on a cluster of cheap commodity hardware (4 servers). That result was achieved with full redundancy (n=2). Such a setup is very resilient against failure (provided clients handle failure of individual nodes correctly). Maintaining such a cluster is also a breeze, with the ability to pull servers at will while operations continue to run. You no longer have to deal with brittle master-master/slave setups.

    At the time I checked and tested about 10 different "NoSQL" solutions for viability. I had these requirements in mind:
    1) Must scale horizontally, no single master dependency and must continue to work when any single node in the cluster fails.
    Lots of NoSQL solutions failed this requirement because they had explicit master servers or didn't do redundant data storage.

    2) Must perform at least 10,000 reads/writes of tuples per second per node on the bladeservers we had available.
    Again lots of NoSQL solutions failed to perform. Some were incredibly slow, with less than a 1000 queries/sec/node.

    3) Must have good management tools.
    Most NoSQL databases were crap in this department.

    4) Must be well supported by open source (Java) libraries.
    Most of them were, but a lot of them failed to cope correctly with unreachable/failed cluster nodes.

    In the end Apache Cassandra was the only one which fulfilled all my requirements.
    Our use cases were persistent caching (as a cache layer behind memcached), and high volume (simple) data storage.

  10. Re:FreeBSD 9.1 Is Unix Heaven on New Releases From FreeBSD and NetBSD · · Score: 4, Informative

    Yes, that is exactly the way to enjoy FreeBSD - use it for what it's good at. FreeBSD + nVidia is awesome. State of the art compilers, every port installs its development headers, knowing that _you_ are in complete control of the system instead of the other way around. Outstanding development platform. I love it!

  11. Re:Oracle is much less relevant than open-source. on Salesforce.com's Benioff Disses Windows 8, Oracle · · Score: 1

    Hell even MySQL can get 99% availability. Just re-import the entire database once a year. I am not even kidding :-(

  12. Re:Hardware support for more sandboxes on ACM Queue Interviews Robert Watson On Open Source Hardware and Research · · Score: 1

    Watson wants to be able to change hardware as well as software in his research, instead of only software. He explains that changes to the hardware allow greater performance and/or capability of (for instance) the capsicum framework. Keep in mind that R. Watson is a researcher, not a product developer.

  13. Re:Consoles are at their limit on Bethesda: We Can't Make Dawnguard Work On the PS3 · · Score: 2

    The way you program the GPU has drastically changed since the advent of shaders, for both Direct3D and OpenGL. In the end, both APIs are now glorified memory managers (for texture and vertex buffers); all the actual effects and vertex transformations are programmed using shaders. Any other functionality they offer (matrix operations for instance) can be replaced by other libraries. Annoyingly both APIs use a very similar but different shader language. ATI vs nVidia is still a problem though in terms of the stuff you can do with shaders (and the quality of the drivers).
    You will find that the most important vendor specific extensions people have been using for years are now in the core library (in particular vertex buffers).

  14. Re:Troll Article? on The Truth About Hiring "Rock Star" Developers · · Score: 1

    Couldn't agree more. It is always good to speak to someone on the same level about the problems you're trying to solve; especially if they're architecture related with large ramifications if you get it wrong.

  15. Re:Can someone explain... on Solid State Quantum Computer Finds 15=3x5 — 48% of the Time · · Score: 1

    On the subject of splitting hairs...
    1) Every ATM locks you out after a couple of tries.
    2) You don't find the first digit. You find all of them at once with 1/(10000-n) probability (where n is the number of known bad codes).
    3) Terminator 2 is awesome.

  16. Stress is a major factor on Ask Slashdot: What Is the Best Position To Work For Long Hours? · · Score: 1

    In my experience people who complain about back/arm problems are the people who are stressed most. Relaxed people change position often and don't force anything.

  17. Re:Gamers move to Linux? on Why Valve Wants To Port Games To Linux: Because Windows 8 Is a Catastrophe · · Score: 1

    OTOH a lot of users are already invested in to the steam platform. They of course want to be able to access their games on Windows 8 so they will install steam one way or the other, ensuring steam's survival.

  18. Re:Does SATA fit into the mix anymore? on Asus Delivers Speed Boost With USB Attached SCSI Protocol · · Score: 3, Interesting

    So, a kernel could have a single SAS driver that supports all SAS, SATA, and USB block devices. This could be a marvelous convergence.

    I know FreeBSD does that, using the CAM (Common Access Method) subsystem. Presumably other OSes do something similar.

  19. Re:porn party? on Australian Sex Party May Sue Google Over Ad Refusal · · Score: 5, Insightful

    Actually, in the Netherlands there used(?) to be a "pedophile" party. Its goals among others were the lowering of the legal age of consent to 12 years. As long as the party itself acts within the boundaries of the law, they are free to promote any political opinion, even if these clash with the current law. This is very important for a healthy democracy.

  20. Re:FTA on The Problem With Metacritic · · Score: 1

    I too found Oblivion to be boring. Once I set foot outside the starting dungeon I felt lost, without sense of purpose or direction. I liked skyrim a whole lot more due to its faster pacing and sense of urgency. The improved graphic fidelity also helped a lot. Other open world games that worked for me were the new Fallout series. Another example of an interesting single player game is obviously (the golden standard) Baldur's Gate 2, where none of the encounters are scaled and everything is unique.

  21. Re:kinetic energy on Why Ultra-Efficient 4,000 mph Vacuum-Tube Trains Aren't Being Built · · Score: 1

    Since their seems to be much confusion about this point I'll try to explain it in more detail.

    The article is both right and wrong.
    If the train needs to actively push itself along the track (using powered wheels) we have to deal with the following formula (for the purposes of this though experiment I've set the mass of the train to 1kg):

    W = F * s

    Where W is the work/energy (in Joule), F is the force (Newton) and s the distance travelled (meters).
    Suppose the train is already going 100m/s and needs to accelerate to 200m/s. Using its wheels it exerts a force of 10N on the train. So it will take 10 seconds to accelerate to 200m/s (V = a * t, a = F/m). In that time it will have travelled 150m/s * 10sec = 1500m. In ideal conditions it would have taken the train 10N * 1500m = 15kJ/kg. Accelerating from 1000m/s to 1100m/s would result in an energy expenditure of 1050m/s * 10sec * 10N = 105kJ/kg, much more energy.

    On the other hand, if the train is powered by a rocket, it doesn't have to push itself along the track but instead it pushes itself by pushing rocket fuel at high speed out of the back.

    Why is this not more efficient? Because you need to accelerate the rocket fuel as well (and lots of it). In a way the rocket fuel does what the earth it self does for a normal train (a diesel train even uses combustion like a rocket to push itself forward). Because the normal train doesn't have to carry the earth with it it is more efficient. However, there is a point (very high speed) where a rocket train becomes more efficient, because the speed difference between the exhaust gases and the train are not dependent on the trains "absolute" (relative to the earth) speed.

  22. Re:Good habits on What's To Love About C? · · Score: 1

    Can you give a concrete example where the GC fails to detect a cyclic reference? IIRC Java's garbage collector eventually traces through all stacks looking for live objects; any objects not referenced on any stack, directly or indirectly through other live objects, are then deleted. Regardless of any cyclic references between dead objects, the outcome should be the same.

  23. Re:And the conclusion? on Women's Enrollment In Computer Science Correlates Negatively With Net Access · · Score: 1

    I'm a guy but I've seen what you are talking about and it is deeply insulting. Its kinda hard to express but generally I felt deeply embarrassed of people making sexist remarks around me (in my case the managers were the worst, not the programmers).

    It's a vicious circle unfortunately. IMHO as long as women are in the minority they will be treated differently just because they are the exception to the rule. This leads to even less women in the field, completing the circle. It will take a large change in culture before the situation normalizes I reckon.

  24. Re:fwiw on Ask Slashdot: Why Aren't You Running KDE? · · Score: 1

    As a KDE3 user (FreeBSD still has it in ports) I agree completely. The "killer app" for me is kmail. I found out that kmail in kde4 is actually a lot faster if you have large mailboxes (50000 messages or more), but it is (was?) so incredibly unstable with akonadi constantly dying for no apparent reason. I really hope that the situation has improved.

  25. Re:obligatory xkcd.... on How Many Seconds Would It Take To Crack Your Password? · · Score: 1

    My /usr/share/dict/words has:
    235924 words in total,
    10231 5 letter words
    17707 6 letter words
    23880 7 letter words
    in the english language.

    I'd say that your estimates are indeed very conservative :-).