Slashdot Mirror


User: cripeon

cripeon's activity in the archive.

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

Comments · 15

  1. Re:Less. on Peppermint OS One Review · · Score: 1

    Also, the Linux version of chrome at least makes it impossible to click the middle mouse button and scroll, something that I use on a regular basis in Firefox.

    I'm using Chromium to type this up in Arch on my Thinkpad, and it works fine here. Quoting a relevant bit from my xorg.conf:

    Section "InputDevice"
            Identifier "Mouse0"
            Driver "evdev"
            Option "Device" "/dev/input/by-path/platform-i8042-serio-1-event-mouse"
            Option "GrabDevice" "False"
            Option "EmulateWheel" "true"
            Option "EmulateWheelButton" "2"

            Option "XAxisMapping" "6 7"
            Option "YAxisMapping" "4 5"
    EndSection

    And it works from the X level, so it works in every application that supports scrolling (or at least, it should!). YMMV.

  2. Re:There's C then there's C written by newbies on Good Language Choice For School Programming Test? · · Score: 1

    In the case of leaking, any. You have to be a retard to leak memory in C. A free for each malloc isn't rocket science. Bad design and ignorance are the most common causes for memory leaks. You either create a mess so complicated that you can't figure where to free your memory or just don't know that you are supposed to free it. Objective-C and especially C++ have more problems because of the whole instance creation and destruction abstraction, but in the end the problem is ignorance from ex-Java people that were used to create objects and let the Garbage collector pick them up.

    For complex data structures, one free for every malloc can indeed get very tricky to handle. For example, in C++, one can just write a destructor for a tree node that calls delete on it's children before delete'ing itself. Free'ing all memory is as simple as calling delete on the root node. Writing a recursive deallocator in C is trickier to get correct.

    There's also issues of pointer ownership, problems that C++ and Java also inherit. Sure, this can be avoided if you have very clear cut guidelines on who owns what, but even these will fall short on some cases and those exceptions will need to be treated very carefully. The Python C interface has such guidelines.

    My point is, you can be very intelligent and still manage to leak memory in C. It's completely doable, and as the complexity of your code increases, so do the chances of memory leaks. C++ and Java abstractions go a ways to help, but aren't enough by a long shot. This is why tools like valgrind are still relevant.

  3. Re:Let me present a third choice on How To Judge Legal Risk When Making a Game Clone? · · Score: 1

    This isn't a question of Theseus' Ship sitting in the harbour at Athens and being slowly replaced board by board until there is nothing left of the original, it's more like Theseus taking his ship out to sea for a wild party, dousing it with gasoline and burning it to the waterline, only to have Menelaus build an entirely new ship in Sparta with the name "Thezeus" on the prow two years later and then sailing it to Mycenae and selling it to Agamemnon who turns it into an amusement park where people pay large sums of money to play on half-finished rides and be beaten with sticks when they complain.

    The modern day Atari is the ship that Orestes built after termites destroyed that one. And it has trouble floating because he ran out of wood before the job was done. The Mycenaean QA department insists that the boat is good and that there is no need to patch it as any sinking problems are clearly the fault of the end users.

    BadAnalogyGuy... is that you?

  4. Re:A true breakthrough on Testing a Pre-Release, Parallel Firefox · · Score: 1

    I'm not sure if you're trolling, but the tone of your post is extremely sarcastic. That's an absolutely terrible attitude to have.

    Progress isn't defined by large leaps, but by the small steps that allow them.

  5. Re:Connection, yes. Server, no. on Smarter Clients Via ReverseHTTP and WebSockets · · Score: 1

    Heh, imagine throwing away all the heatsink hulla-baloo and using processors to toast bread!

  6. Re:A problem that I can see. on Smarter Clients Via ReverseHTTP and WebSockets · · Score: 2, Insightful

    And pray tell me how exactly you're going to encode a "/" in the file name?

  7. Re:Why OSS needs financial backing on The iPhone SMS Hack Explained · · Score: 1

    Good software can be developped only with good money.
    [Emphasis mine]

    wuh-wait... there's a bad kind of money?! Say it ain't so!

  8. Re:That's cool and all. on KDE 4.3 Released · · Score: 2, Informative

    Me, too, but now that Arch is splitting the [extra] repo packages, I'm wondering if I should switch to vanilla kde, since the only reason I used the KdeMod packages was because I liked my packages split. The KdeMod forums seem to suggest that the packages won't be in [kdemod-core] until the end of the week.

    Well, there's a great discussion of it on the Arch forums (great before it got bogged down with bickering, although I didn't see Godwin's law being invoked).

    Frankly, I think I'll move to offical [extra]/KDE tonight. KDEmod has served me great, but I think I can handle to live without all the extra patching and branding they do if it means I get 4.3 goodness a week early.

  9. Re:That's cool and all. on KDE 4.3 Released · · Score: 1

    Grr, still waiting for KDEmod to catch up!

  10. Reverted Policy? on Bell Starts Hijacking NX Domain Queries · · Score: 1

    I use Bell, and I noticed the hijacking maybe a week back. Even thought of submitting a story to /.

    But then it magically disappeared later on (next day?). Hasn't come back since, and before posting, i made sure that I was receiving NXDOMAIN's and not Bell's specially crafted "Domain not found" for opera: [eon@enthalpy:~]$ host fadfad.ca Host fadfad.ca not found: 3(NXDOMAIN) [eon@enthalpy:~]$

    So, did they change their policy, or am I the only one mysteriously not affected by this?

  11. Re:Mod parent up on Microsoft's Code Contribution Due To GPL Violation · · Score: 1

    - The Lube is free so please assume the position

    You get free lube?! Where do I sign up?

  12. Here's an idea... on Low-Budget Electronics Projects For High School? · · Score: 1

    I've just recently graduated from high school, and just finished co-teaching a grade 10 computer engineering class (it's a cool program, senior students help teachers teach junior courses).

    Anyways, one of the cooler cheap projects we found was building a rudimentary taser from a disposable camera. They cost about $5 (or cheaper if you buy them in bulk), and the ones we used got up to about 300 volts (good zap from that one). Sure, there are concerns of safety (one kid zapped his dad in the neck... and well, things went downhill from there), but it's an easy, quick project that let's you get involved into more interesting electronic components like capacitors and transformers (instead of the standard resistor, diode, and LED). You can even talk about how the amperage becomes minimal as 1.5 volts from a battery is stepped up to 300 volts.

    Plus there's an instant cool factor to building a taser. From personal experience, the grade 10's loved it.

  13. Re:The word 'Geek' is gender neutral on Linux To Be First OS To Support USB 3.0 · · Score: 1

    So, what would you say a "geekoid" is? A geeky android?

  14. Obligatory on Scientists Build World's Fastest Camera · · Score: 1

    Bash quote:
    <Handy> Japanese scientists have created a camera with such a fast shutter speed,
    <Handy> they now can photograph a woman with her mouth shut.

    From: http://www.bash.org/?537155

    ... Okay, I'll go get my coat.

  15. Re:Media is overpriced, pay-per-unit model is dyin on Apple Shifts iTunes Pricing; $0.69 Tracks MIA · · Score: 1, Troll

    Just because hard drives increase in capacity does not mean that I have to fill it up, and fill it up with just music.

    For comparison, let's take my own personal case. I'm 17, and my entire music collection clocks in at somewhere around 3.6 G (ridiculously small compared to the old timers 'round these parts). But that's 3.6 G including a whole lot of songs I don't listen to.

    Indeed, most of my current music comes from free sources like jamendo, where artists put up their music under CC (or similar?). So, if I wanted to, I could easily, and legally, download music to my hearts content to fill up my 8 gig iPod. But do I want to, or even need to? No.

    I'm not going to bother generalizing trends, but from what I notice from the habits my peers is similar. I have friends that walk around with 80 Gb in their pockets, and yet only fill a small portion of that with music. The rest they fill up with movies, or use it as a really large usb stick/small portable hard-drive.

    So yes, while your numbers do illustrate your point, I question their relevancy and applicability, at least in my environment.