Slashdot Mirror


User: bundaegi

bundaegi's activity in the archive.

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

Comments · 73

  1. Re:Incoming data on Why Microsoft and Google are Cleaning Up With AJAX · · Score: 1
    Err... what about Internet Explorer? I mean x-mixed-replace is Netscape technology, right? From the summary on this page:
    The Netscape Web browser implements a proprietary technology known as Server Push to send a type of dynamic page updates to a client. This technology is not supported by Microsoft Internet Explorer. However, you can use Server Push with Microsoft Active Server Pages (ASP), or you can Client Pull as an optional method of displaying dynamic page updates in Internet Explorer.
    So... any idea how to do a server push in Internet Explorer?
  2. Re:Annoying on Eight Year Old Physics Student Admitted to College · · Score: 1
    I'm not equiped to comment on the Korean society. I tried to give you a feel of what's going on but even that is difficult. All in all, Korea is a very advanced country, maybe not socially quite yet.

    If you have a "good job", wages are anything but low. But it's what you have to give in return that is the killer... 8AM to 10PM at school translates into 8AM to 8PM at work (but paid 9 to 5). Different system I guess...

  3. Re:Annoying on Eight Year Old Physics Student Admitted to College · · Score: 2, Interesting
    You're not getting it. Try to picture studying from 8AM to 11PM... Every day of your life from when you're 6 until you get a job... and then do the same during military service (for 3 years) and then as a programmer/ lawyer/ doctor/ whatever. Do you get a feel of how scary this is?

    My brother in law is 16. He wakes-up at 6.45 and leaves home at 7.15 to get to school by 8AM. He studies until 6PM then goes to after-school class until 8PM then has another 3 hours of after-class to do his homework (supervised). He comes back at quater to midnight (thankfully his school is only 45 minutes away from home). He sleeps 5-6 hours a night. How long could you go on like this? To me, that would amount to mental torture. I can't go without sleep for very long... or I'd just walk around like a zombie for the rest of the day, being rubbish at my job.
    Let's go back to my brother: If he didn't study like that in middle school, he wouldn't have gotten in a good high-school. If he doesn't study now, he won't get into a good university. If he doesn't get good university grades, he won't get into Samsung (or whatever it is he wants to become... Samsung is every Korean's dream of a good job).

    You know where it all stops: When (if) you get a good job, then you can breath. If you don't get a good job, there's always suicide.
    When does it start,though? How hard is it to get into a good middle school or primary school? or a good kinder garden?

    Pre-natal english lessons with speakers against the mother's belly aren't unheard of. That cruel operation supposed to give kids a more agile tongue so necessary to speak english is also something practised in Korea. Peer-pressure leading to stupid diets and crave for plastic surgery or women injecting engine oil in their face or intentional self-mutilation... Yes, it is all happening in Korea. The whole society is going out of control. I'm telling you, parents don't understand what their kids are becoming. How could they when they only see their kids for 1 or 2 hours a day? But somehow, they know it's for their own good and that things will turn-out ok... or not.

    If you've never been immersed in the Korean society, you won't get what's happening. Let's just say... it's not about the kids being a bit overworked and needing some Prozac and Councelling help, it goes much deeper than that.

    Want something to chill out and help you sleep?

    In April 2000, a victim of habitual wife-beating shared her story and photos through the Internet, shedding light on the severity of inhumane violence in Korean homes. The perpetrator, who suffered from the delusion that his wife was unfaithful to him, had been torturing her in the most despicable way. He tied her up and thrashed her, poured boiling water on her body, disfigured her face with a knife, tortured her with electric shocks, pulled out her teeth with pliers, and stabbed her in the abdomen with a butcher knife. The Inchon branch of Korea Women's Hotline took charge of the case and launched an on-line signature collecting campaign. It collected a daily average of 1,000 signatures, succeeding in putting the eradication of domestic violence on the social agenda. Women groups had demanded that the perpetrator be charged with attempted murder, but the Inchon District Court sentenced the man to 15 years imprisonment for violence. This is the highest sentence that can be given for domestic violence that does not result in death.
    It'll only get worse. Trust me.
  4. Re:Annoying on Eight Year Old Physics Student Admitted to College · · Score: 2, Informative
    So you're saying that everyone should become a hippy because 0.001% of the students are committing suicide? Perhaps it would be more productive to just get the depressed kids some counseling and Prozac?
    Am I reading this right? Are you trolling or seriously mis-informed? It's Korea we're talking about about, not the US. Maybe your kids are given Prozac or Ritalin or whatever the magic drug of the day is, but the Korean society doesn't work like that. Koreans have a serious problem with over-education. Less jobs means more competition means kids from their youngest age go to school from 8AM... to 8PM... every fucking day.
    Actually, with kids locked in the school until they finish their homeworks, it's more like 8AM to 11PM. Again, every freaken day but Sunday. That doesn't include pre-school classes like English or Piano.

    Then of course, Bad Things happen when kids fail even one exam (and their parents get upset) or when they are bullied (because kids don't learn how to interact with each other in a non-destructive way) or simply, when they just can't take the pressure anymore.
    Tell me, Mr HappyEngineering, do you think (you're giving a professional opinion, right? and it's only 0.001% after all, right? 1 in a 1000?)... do you think, after his third attempt at slashing both his wrists, a six year old should be given Prozac or councelling? Both, maybe?

    Those I found, were interesting reads (if you are indeed willing to learn more).

    Pushed to the limit here

    [...] While the students' performances look good on paper, the report does not show the emotional impact of high-pressured education. South Korea has the fastest-rising suicide rate in the world. Eight out of every 100,000 15- to 19-year-olds killed themselves in 2003. The stakes are high.
    Specter of Suicides here
    [...] That Korea's suicide rate took first place among OECD countries last year should make us reflect seriously on our lives and society. The National Statistical Office's 2004 mortality figures are especially embarrassing since suicide is rampant through all age groups at a time when the nation is most democratized and affluent. It may be these dizzying social changes that forced some troubled individuals to take life's final option.
  5. The X in AJAX on Ajax Is the Buzz of Silicon Valley · · Score: 1
    I wanted to play with AJAX too, but I decided that the X in AJAX (unless I'm completely mistaken) is a bit heavy to process in javascript. So I looked into JSON and decided it was still too heavy... Eventually, I went for CSV. Yup, that's right, comma separated values.

    So now I'm using A Caching XmlHttpRequest Wrapper with something that can be easily done in javascript: Splitting a string into an array. In my callback, I use something like

    r = result.status;
    if (r == Http.Status.OK)
    { arr=result.responseText.split(","); }
    I've just picked-up javascript so if I'm doing something wrong, please tell me while I'm still learning!
  6. Re:NOTE: you don't have to do it in hardware. on Company Solicits Feedback on Next-Gen Recorder · · Score: 3, Informative
    What you need in terms of USB host is USB on the go. That, the midi driver and a USB <-> midi dongle will do what you're proposing.

    The main use for USB on the go (its first intended purpose) is to both
    • download images stored in your camera onto your computer (camera is slave)
    • control a USB printer from the camera (camera is master)


    You just found a new use for USB on the go! Well done :-)
  7. Re:They should sell them to individuals. on MIT Unveils Prototype for $100 Linux Laptop · · Score: 1
    At $200-$300 or maybe more. If they only cost about $100, the $200 fee would help to subsidize giving them away to the poor.

    Exactly! That's the concept behind crank radios. From the article:

    The more of the radios built and sold in the developed world, the cheaper they become for the Third World.
    I don't see anything wrong with this. It makes perfect sense. Now... How come I can't buy one of them computers for 200-300$?
  8. Re:Election Stuff on C-SPAN Interviews Wikipedia Founder · · Score: 1
    Same happened (still happening?) with the article on the Tokto Islands (google earth: 37deg14'N 131deg52'E although, that probably won't mean much to anyone outside Korea/Japan/China).

    Basically, Japan is trying to claim some Korean territory as theirs. To the Koreans, this is the Japanese occupation all over again.

    Over a year, the Wikipedia articles about Tokto (aka Takeshima / Liancourt Rocks) witnessed some very childish behaviour from both some Korean and Japanese people.

    Anyway, would I be showing bias by saying that given a chance, some countries would love to rewrite their history? More importantly, does Wikipedia gives them a chance to do so?

  9. Re:What about a dual-mouse driver on Linux 3D Input Driver Project Started · · Score: 1
    Yes, I am going down the multiple mice route myself. I am using a nifty windows project called cpnmouse.

    I just bought a few optical/usb mini mice from ebuyer (2 quid each) to make myself a 3DOF trackball. I am using a marble mouse shell and was hoping I could put in the mice guts inside... that's going to take a bit of thinking, eventhough the mice are "mini", the optical bits inside are quite big. Good news is that the mice have no problem detecting the black dots on the ball.

    I first tried the trackball as a 2DOF device and I can see it working quite well with 3DOF (when I'm done with the glue gun ;). The way you manipulate the ball in a trackball is quite different from a space ball: you keep rotating the ball until you're done. From what I gather, the spaceball acts more like a joystick (push - wait - stop pushing).
    This is for a medical application, so I don't care much for the 3 translations, just the 3 rotations (and as I say, I did get away with 2).

    With 3 rotations though, you can do something quite cool.
    Glue a little disk on the ball for your index finger to rest on and you get something in between a joy and knob: the index finger gently controls the axis of rotation while your other fingers do the rotation around the locked axis. If this were a professional bit of kit, you could have a ball with a few evenly spaced dips and your finger would rest in one of the dip (you would then reset the rotation axis with the main mouse).

  10. Re:sqlite @ 120,000 inserts per second on Dumping Lots of Data to Disk in Realtime? · · Score: 1
    This is pretty much my set-up:
    • I run daemons for logging my data into the database
    • I use a web server on the database side (thttpd) with cgis that let me access the database in certain ways.
    • I have cgis written in both c and python
    • Keep it simple: each cgi is self contained, small and does only one thing well.
    • The front-end (written in wxpython) queries the database over the web and display pretty graphs
    • Replies from the webserver can be compressed/encrypted if need be
    I wanted to access the database with an easy protocol (http) rather than writing my own socket stuff (I tried but... why bother?). I don't need full database acess either (like ODBC), just acess to data for a given time interval.

    At the moment, I have my mind set on using sqlite. If I decide to change database for X reason, I don't want to get screwed. I found a wrapper called libsdb which I may use... the same SQL queries can be proxied to a variety of databases (oracle, progresql, sqlite...). The one thing I could lose in sqlite3 is the ability to join records in a table spanning across different files. Well... I don't know if that could speed-up my queries or not. Will need to try and check.

    This tutorial I also found useful.

  11. Re:sqlite @ 120,000 inserts per second on Dumping Lots of Data to Disk in Realtime? · · Score: 1
    >Is that 120K/s for the first 10s, or will it keep that up for a few months?
    That, I want to know as well

    >Is it all in memory or can I have serveral GB of data?
    Definitely GB of data stored on the disk:

    All I have now is an athlon 1.7 with 512 megs of ram (debian).
    I don't care that much for fast inserts, more like, I have HUGE quantities of images (png+32bit timestamp) which I grab and store in a sqlite database (insert rate could go up to gigabytes of data per hour for 5 image/sec, I need to check if the rate goes down).
    I then try to locate images using their timestamp. takes up to a couple of seconds to locate an image in a multigig database (from my experience if you wanted to extract a sequence of consecutive images, only the first image would take a long time to find). I use an index on the timestamps, need to check whether that helps or not.

    Anyway, I just bought a 400 gig hd which I formated in ext3 to store my database, so I'll be able to tell if i notice a slowdown in reading/writing for a 10-100 gig sqlite database (I'll put something in my journal if that's of any interest).

    I really like working with sqlite (both in c and python with apsw) so when I saw the thread, I kind of remembered the 120000 inserts/sec tests (the guy provided source code for the test, so that's something you could try for yourself).

  12. sqlite @ 120,000 inserts per second on Dumping Lots of Data to Disk in Realtime? · · Score: 1

    here. Effects of filesystem/RAM/CPU/SCSI on the results are discussed.

  13. More like Alex Murphy on Ballmer and McNealy Smiling Together · · Score: 1
    is Balmer starting to look more and more like Hannibal Lector?
    Nah... to me, he looks just like Alex Murphy when he takes of his helmet. More piccies from the robocop archive

    Any takers on gimping Balmer's face onto robocop's or would that be taboo (robocop being the good guy and all)

    Sorry...

  14. Re:You have to assume a known algorithm on Encrypted Fileserver with Bittorrent Web Interface · · Score: 1
    A nice one I used a while back (ha!) is StegFS

    It's kernel 2.0 or 2.2 only if I remember...

    [from the original website]

    Although a number of people have shown some interest in recent times in doing work on StegFS or developments of the idea (e.g. http://stegfs.sourceforge.net/), no-one seems to have had enough energy to actually do anything.

    The FS had an arbitrary number of layers which were completely hidden from each other (running the risk of files in one layer overwriting files in a layer below).

    Anyway, this is (was) mentioned on ./ a couple of times before.

  15. Re:Environmentally safe? on Launch Date for First Solar Sail due Monday · · Score: 1
    I have to say, i didn't really read the article about california. But I did see a report once on BBC about birth defects in kazakhstan and it was sad as fuck. The russians were going for bigger and bigger rockets and the end result was the local population ending up with raising birth defects and cancer. Googling for sources was an interesting exercise:

    You can either find some .mil or .gov documents refuting the link between propelants and birth defects or alarmist reports that don't take simple maths into account. Yeah, even water absorbed in big enough quantity could be leathal (this is the way some of these experiments are carried, lets inject water in rat's brain and see if it dies... duh! ).

    Presence of chemicals in the air may or may not be toxic enough to cause sad things to happen. Just purely denying it is not the way to go. I guess that's what I was trying to say.

  16. Re:Environmentally safe? on Launch Date for First Solar Sail due Monday · · Score: 1
    now they are trying to put down even conventional chemical rockets?
    Considering how many of the propellant residues are carcinogenic and teratogenic, just maybe you should try and listen to what the tree-huggers have to say. Remember, there's no harm in listening.
  17. Re:Accelerating Apache on Red Hat/Apache Slower Than Windows Server 2003? · · Score: 2, Informative
    Does anyone know if any of the bits of the Silicon Graphics accelerating apache project were ever rolled into Apache 1.3.x or 2.x?

    Reading you link...

    Unfortunately the ASF rejected the work presented here and SGI terminated the project. It has a new home now on SourceForge, courtesy of SGI, and it seeks a new owner and a fresh start. Want Apache to run faster? Want to take a different approach to appealing to the ASF? Perhaps simply presenting the ASF with a different spokesperson would improve the odds of adoption. Apply to the current owner for project ownership or to sponsor me to revive the project.

    Nonetheless, this project's aggressive optimizations make Apache/1.3 up to ten times faster and Apache/2.0 up to four times faster on the SPECweb96 benchmark.

    And in the FAQ:

    12. Will the ASF adopt the patches?
    We contributed the patches to the Apache Software Foundation but the ASF has refused to include the patches in future releases of Apache/1.3 or 2.0, citing "unnecessary" typecasts and complication associated with the warning-free 64-bit port, and incompatible license terms with the state-threaded MPM.

    So I presume... no :-) Thanks for the link anyway.
  18. Make your own accelerator on Security Fears Over Google Accelerator · · Score: 1
    You need:
    • sshd / ssh access on a machine "at work" (preferably, don't use port 22)
    • Install rabbit
    • Tunnel the port 9666 to your browsing machine
    For tunnelling in 'doze, I use putty (which allows encryptes/compressed tunnels) and follow the instructions here or here (instructions for tunnelling samba traffic, but you'll get the picture, rabbit works of port 9666, so use 222.222.222.222:9666 as your web proxy).

    This could be quite useful if you connect via GPRS and pay data by the megabyte... or if you're travelling to an unfriendly country and don't want unfriendly people to snoop on your browsing habbit.

  19. How to make your own saber... on How Lightsabers Work · · Score: 2, Informative
    Say you want a green saber. All you need is a signal generator in the terahertz region and a 1.5m antenna with a nice handle. Thanks to the formula
    f=c/lambda
    You find (for a 535nm green wavelength) f=3e8/535nm = 560THz (more colours converted to frequency in here)

    Now wack your sig generator amplitude up and watch your saber glowing green light. Wave around to impress the ladies. Fair enough, 500-600THz is a bit of a stretch in terms of technology... but we're getting there.

  20. depends... on Firefox 1.1 Plans Native SVG Support · · Score: 3, Informative
    However, what does happen is that you may not have enough "lines" to display well at a larger resolution. What looked good with 200 lines at a small resolution may look like total crap at a high resolution.
    Depends how you define your path data (how you describe the curves that link your points). SVG defines more than straight line segments. Say, instead of your 200 lines, you may only need two curved segments which you can zoom in as much as you want.

    From Appendix A: SVG Requirements

    [...] Paths can be made up of any combination of the following:

    • Straight line segments
    • Cubic bezier curved segments
    • Quadratic bezier curved segments
    • Elliptical and circular arcs
    • No other curve types (Other curve types such as splines or nurbs are either technically very difficult, industry-specific and/or have not established themselves as industry standards as much as beziers.)
    You may want to check tools like autotrace and their output if you're not entirely convinced ;-)
  21. Re:PoE is a kludge! on New Computer Powered By PoE · · Score: 1
    USB Humidifiers? Cup Warmers? Christmat trees? Ash trays? Cell phone chargers? USB was designed to allow your computer to *control* things, not act as a glorified wall-wart!
    You think that's weird? what about a plugging in a freaken toothbrush? :-)
  22. Re:I like GOTO too! on Aspect-Oriented Programming Considered Harmful · · Score: 1
    huhu,
    I think i am gonna start all my C functions with some extras free(NULL);free(NULL);free(NULL); statements from now on! :)
    and that gets recognised by GCC and compiled into NOP NOP NOP... so unless you want to introduce a 3 instruction delay, there is no much use to it ;-)

    sure I could put

    if (ptr!=NULL) free(ptr);
    and there would be harmony in the universe again. But that's pretty much the first test performed in any free.c function (handy example with uclibc):
    /* Check for special cases. */
    if (unlikely (! mem)) return;
    free(NULL) doesn't trash memory. freeing a uninitialised pointer does. I don't expect a int *ptr; to initialise a ptr to NULL (why should it) but I do expect reasonably well written (up to iso specs) malloc, free, realloc functions in all modern compilers. That's the basics. It's been the basics for what, 15 years now? Probably even longer... Yes, even microsoft!

    Sure C doesn't hold your hand the way java does, but that's part of the fun I guess.

    Anyway, bedtime...

  23. Re:I like GOTO too! on Aspect-Oriented Programming Considered Harmful · · Score: 1
    Did you actually read what I wrote? Read again, you might learn something!

    I am perfectly aware that my code is only portable if free(NULL) is handled correctly. Guess what? It's part of the fucking ANSI C spec. That's how standard it is. As in:

    ISO/IEC 9899-1990 7.10.3.2 "The free function":

    #include void free(void *ptr);

    That section states "If ptr is a null pointer, no action occurs."

    If you don't believe in ISO specs, do check out the linux man page for malloc:
    free() frees the memory space pointed to by ptr, which must have been returned by a previous call to malloc(), calloc() or realloc(). Otherwise, or if free(ptr) has already been called before, undefined behaviour occurs. If ptr is NULL, no operation is performed.
    So there... you don't like the construct, don't use it. I'm not forcing you now, am I? You don't understand it or have concerns, fine, say so...

    But don't just dismiss something as a "fantastic piece of crap code" without explanation, it doesn't reflect favourably on your intelligence.

  24. I like GOTO too! on Aspect-Oriented Programming Considered Harmful · · Score: 1
    This is how I usually write my C code:
    • Any function that needs allocating memory is problem prone.
    • I don't need to know where exactly the code failed, just that it failed.
    • The compilers I use free NULL pointers gracefully.
    The last one reduces the error handling to a minimum: just one label to go to (although, be careful, you do need to initialise them pointers as NULL).
    Important point, the same freeing code is used by the function as part of the normal, non-error flow. This is why the returned error_code variable is first initialised to 0 (all clear). goto statements are used to escape the normal flow when an error occurs, just like a break statement breaks out of a loop.

    int foo()
    {

    int error_code=0;
    int *stuff_ptr1=NULL;
    int *stuff_ptr2=NULL;

    do something;

    if(error)
    {
    error_code=1;
    goto err;
    }

    do something more;

    if(error)
    {
    error_code=1;
    goto err;
    }
    ....

    err:
    free(stuff_ptr1);
    free(stuff_ptr2);
    return error_code;
    }

    html code copy-pasted from the vim html output.
  25. foveon like technology? on Multi-layer LCD Displays · · Score: 1

    Okay, this is a longshot, but could something like the foveon sensor be applied to LCDs? How long before we get real square pixels from RGB or RGBE stacked LCDs?