Slashdot Mirror


User: gay358

gay358's activity in the archive.

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

Comments · 229

  1. Boycot Israel now! on Facebook Helps Israel Blacklist Air Travellers · · Score: 2, Funny

    World and Palestinians have waited far too long. Israel does not want peace, it want's to continue it's ethnic cleansing. It is time for people in free world (not counting USA where this is apparently illegal) to boycott Israel in same way as South Africa was boycotted during Apartheid.

    If you see any product where the numbers on barcode start with 729, don't it! It comes from Apartheid country, that does routinely war crimes, tortures and kills people (including children), does slow motion ethnic cleaning etc.

    And if somebody tries to sell you some Israeli goods (especially if they are from occopied territories), refuse and say that you are opposing Apartheid (again, this might be illegal in USA which doesn't seem to allow this kind of consumer freedom).

    I even refuse meet people from dating sites if they are from Israel (unless they support Noam Chomsky type of thinking). I just say politely, but straight, that I cannot help not to think the extremely poor situation of plastinians if I meet people from Israel. And if I think the situation of palestinians, I cannot get any sleep. Therefore I cannot meet you, sorry.

  2. Re:No shit. on Don't Fly If You Just Had Surgery! · · Score: 1

    If one is ready to become a suicide bomb(er), small amount of pain isn't probably that big obstacle. I have had once abdomen surgery and for me the pain after surgery wasn't more than some soreness during tensing of stomach muscles. I was offered a free taxi back to home on the following day, but I saw no reason why not use public transportation and so I used bus instead.

    I just wish this terrorism hysteria stops. The risk of dying because of terrorism is really small compared to flu, icy roads, cancer, heart disease, car accidents etc and you can never make world 100 % percent safe place.I think Benjamin Franklin said quite correctly: "They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety."

  3. Re:I haven't been expressing myself well so... on C++ the Clear Winner In Google's Language Performance Tests · · Score: 1

    I still think I am not able to understand what you mean. I guess I would need source code example to understand it. :)

    It is true that you can use sizeof if some string situations (at least with static character arrays and literals, I cannot think any other uses at the moment), but it doesn't work for example in dynamically allocated strings:

    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>

    int main() {
        char s1[] = "1234567890";
        char *s2 = "1234567890";
        char *s3 = strdup(s1);
        printf("sizeof=%ld\n", sizeof(s1));
        printf("sizeof=%ld\n", sizeof(s2));
        printf("sizeof=%ld\n", sizeof(s3));
        printf("sizeof=%ld\n", sizeof("1234567890"));
        free(s3);
        return 0;
    }

    prints:

    sizeof=11
    sizeof=8
    sizeof=8
    sizeof=11

  4. Re:Yup, noted it in my other reply to you on C++ the Clear Winner In Google's Language Performance Tests · · Score: 1

    BTW, if I remember correctly, the latest Borland Pascals did offer some kind 32-bit support (using DPMI?). However, I cannot remember any details about it.

  5. Re:U can get lengths of C strings ahead of time on C++ the Clear Winner In Google's Language Performance Tests · · Score: 1

    I am not sure if I understand what you mean. Of course, you can manually keep track of the length (or have pointer also to the end of the string) of C style strings, if you want to and sometimes it is done for performance or safety reasons.

    But by default/convention, strings in C tend to be just pointers to the first character of the string and where the only way to find the length/end of the string is going forward until you find the first 0x00 character. And often the string is truncated by just writing new 0x00 character somewhere between start of the string and previous end of the string. The same trick can often be used for splitting string to separate tokens/strings in place -- without copying data anywhere.

  6. Re:Oh, Delphi/Object Pascal strings too? Check it on C++ the Clear Winner In Google's Language Performance Tests · · Score: 1

    I think Borland/Turbo Pascal had only strings that were shortstrings (and some versions of Borland Pascal supported also C style strings relatively well). I always wished that they would support longer strings and it is nice to hear that they increased maximum length of Pascal style strings in Delphi. I used lot Turbo/Borland Pascal, but I have never used Delphi and I am not familiar with it.

    Nowadays I use mostly just Java, C(++) and Perl, but sometimes I feel that I should try using Pascal again as I really liked it. I recently noticed that there is cross platform IDE/library called Lazarus which is some kind Delphi clone. Perhaps I should try it. On the other hand, maybe learning Scala or OCaml would be even more useful...

  7. Re:Function call parm passing, AND string parsing on C++ the Clear Winner In Google's Language Performance Tests · · Score: 1

    It has been so many years since I last programmed using x86 assembly, that I didn't remember all the differences between Pascal calling convention and C convention. I did remember the difference in cleaning stack (caller/callee) when function/procedure ends, but I didn't remember difference in the order which parameters were pushed to stack and I didn't remember which registers were used in function calls.

    However, as far as I know, this has little to do with parsing source code or strings. And as ar as I know, the typical way to parse strings in C (eg. strtok) and Pascal tends to be from left to right (source code, after it is tokenized is different matter). However, parsing programming languages is often done from right to left, but this depends on the implementation of the parser. It is also so many years since my compiler course, that I cannot remember if there are some programming languages, that absolutely must be parsed in some particular direction.

  8. Re:Delphi/Object Pascal was the same, later, too! on C++ the Clear Winner In Google's Language Performance Tests · · Score: 1

    I am not sure what you mean by handling strings right to left (parsing?), but the main difference between traditional C and Pascal was that C strings usually didn't have explicit length anywhere (the string just continued until there was first 0x00 character) where as the first element of Pascal string was the explicit length of the string (at least in Borland Pascal the maximum length of a normal string was 255 characters for this reason).

    Both of these approaches have pros and cons (and sometimes zero ended strings were used in Pascal and some C functions expect explicit length information). And Borland Pascal in some version supported also special strings that you could use as both Pascal and C style strings (they had explicit length at the beginning of the string like normal Pascal strings, but they also had extra 0x00 byte after the end of the string) which was quite useful, if you had to call some external functions/procedures which expected C style string parameters.

  9. Re:Environment, conditions and parameters on C++ the Clear Winner In Google's Language Performance Tests · · Score: 1

    It is worth noting that also C compilers (not just C++ compilers) tend to be slow compared to Turbo/Borland Pascal even though as languages C and Pascal have about as long history and C compilers have received a lot more attention in compiler development. And Borland Pascal was/is also object oriented language, although not as complex as C++ was during that time (nowadays C++ is even more complex with templates, RTTI, exceptions etc).

    I have to wonder why language/compiler developers don't spend anymore so much attention to fast compiling. It is ridiculous that we have spend much more time for compiling than we had to 20 years ago, even though the computers are much faster. Slow compiling (and/or deploying speed) makes developing software unnecessarily slow and tedious process.

  10. Re:Environment, conditions and parameters on C++ the Clear Winner In Google's Language Performance Tests · · Score: 1

    Turbo/Borland Pascal compiler was extremely fast even by modern standards even though the machines were quite slow. However, the compiled code didn't ran as fast as C(++) code which was compiled with optimizing compilers.

    I remember that even on a slow XT computer, relative short programs often compiled so fast, that the compiling dialog disappeared before you could even notice it. I once thought that the keyboard shortcut for compiling was not working, because the dialog appeared and disappeared faster than I could see.

    It is sad to see that even on modern computers most compilers are nowhere near those speeds. Developing using Borland Pascal was really nice, because you didn't have to wait for long compiling process.

    I think there was several reasons for the extreme speed. Pascal was very easy language to parse compared to C++ and I think that some parts of the compiler were optimized using assembly. Borland Pascal syntax also made it possible to precompile separate units of code (unlike C(++) where you typically use header/include files with deep nesting that are usually parsed again and again) of code. And it also helped that the compiler didn't spend time optimizing the code.

  11. Learnining Finnish Language on Sony Blames 'External Intrusion' For Lengthy PSN Outage · · Score: 1

    As far as I know, there is gazillion different ways of saying same things in all languages. And although there are (mostly very) small regional variations in pronunciation -- in my opinion Finnish language is much more homogeneous than for example English and many other languages are.

    And I don't see any major reason why Finnish would be extremely hard for a person who is familiar with western alphabet. Finnish vocabulary (for most parts) and and syntax are quite different compared to Indo-European languages, but I don't think that this makes language extremely difficult, just different.

    And there are some features that make Finnish much easier than for example English, like: pronunciation/spelling is easy and very regular with almost 1-to-1 mapping between letters and sounds, word order is almost free, many words are (relatively) logical derivates of other words (eg. kirja=book, kirjain=character, kirje=letter, kirjailija=author, kirjoittaa=to write, kirjailla=embroider, kirjuri=scribe, kirjoitin=printer, kirjasto=library, kirjaamo=registry, kirjasin=letterface, kirjallisuus=literature... ad nauseaum) which ease your burden of learning huge vocabulary etc.

    If you just have some free time and enough motivation, I don't think learning the basics of Finnish language is that hard. But outside Finland there is little use for Finnish skills, which can make it difficult to have enough motivation to learn Finnish.

    For the record, my native language is Finnish and besides English I also have limited skills of German and Swedish and I have also (very) limited amount of knowledge of some other languages, like Latin, Italian and Arabic. And although I speak much better English than German, I find English language much more difficult compared to Finnish or German.

  12. Re:Breasts on Merck's Drug Propecia Linked To Sexual Dysfunction · · Score: 1

    On the other hand, finasteride seems to reduce the risk of prostate cancer which is much more common problem than breast cancer in men.

    http://en.wikipedia.org/wiki/Finasteride#Prostate_cancer

  13. Re:Read more carefully: 'irreversible' impotence on Merck's Drug Propecia Linked To Sexual Dysfunction · · Score: 1

    As far as I know, at least one of the studies didn't really prove that Propecia causes permanent sexual dysfunction as it was not rigorous enough. There should really be double blind trials instead of questionnaires which can contain all kinds of biases.

    It is well known fact that many men who have never used Propecia will get permanent sexual dysfunctions. If you haven't get good control croup if may be impossible to be certain whether the cause of permanent sexual dysfunctions is Propecia or something else.

    And it is worth to remember that most men don't experience even temporary sexual dysfunction while using Propecia. And even if Propecia causes to small number of men permanent sexual dysfunctions, it may be acceptable risk for many men. For example, Viagra can cause strokes, damage eyes, common painkillers used for headache kill large number of people each year etc.

  14. Re:Uh, don't we maybe NEED that hormone? on Accidental Find May Lead To a Cure For Baldness · · Score: 1

    According drug tests Propecia won't eliminate sex drive on most men. There was only small difference between placebo group and the group taking finasteride in sexual problems.

    A friend of mine and I (I know, too small sample size to have more than anecdotal evidence) have used that drug for several years and neither of us have noticed any adverse effects.

  15. Re:Welcome Back... on Facebook, Zuckerberg Sued For $1 Billion Over Intifada Page · · Score: 1

    Actually, Israeli soldiers very often force Palestinians civilians (including children) as human shields. This is war crime, but so far the punishments have been so negligible that this practice is almost routine nowadays. And Israel doesn't try to avoid to minimize civilian casualties as it practices so called Dahiya doctrine, which tries to cause disproportionate damage to civilians which is also war crime. Moshe Dayan said: "Israel must be a like a mad dog, too dangerous to bother.

  16. Brain Washing Children on Facebook, Zuckerberg Sued For $1 Billion Over Intifada Page · · Score: 1

    Well, there is plenty of brain washing against palestinians as well. Like maps showing West Bank as a part of Israel, not mentioning the ethnic cleansing of Palestinians and showing jews only as innocent victims and things like this: ‘Foreign Policy’ runs piece describing Israel’s ‘carnival of hate’ toward Palestinians

  17. Re:Welcome Back... on Facebook, Zuckerberg Sued For $1 Billion Over Intifada Page · · Score: 1

    So, let's look at some of the more recent activities. Israel has made a number of gestures to try to make peace with the Palestinians, and the result was having rockets fired from Palestine into Israel, over and over and over again.

    Israel making number of gestures to try to make peace, like constantly expanding their illegal settlements on occupied territory. It sure shows how Israel wants to have peace and not just continue the ethnic cleansing of Palestinians.

  18. Re:I don't care I enjoy the later sunsets. on Is Daylight Saving Time Bad For You? · · Score: 1

    I live in Finland which is even somewhat darker during wintertime than Sweden. But I know that the darker the morning (not necessarily only at the exact time I wake up) is, the harder it is for a night owl like me, to wake up early.

    In my opinion people should wake up even later during wintertime. It is quite unnatural to wake up in darkness.

  19. Re:I don't care I enjoy the later sunsets. on Is Daylight Saving Time Bad For You? · · Score: 1

    And I know that I am not alone in preferring more light during mornings instead of afternoons and evenings. If mornings would be darker than they currently are, it would be even more difficult to get up, especially if you are night owl.

  20. Re:As a US citizen on Terror Arrest Used As Fodder To Fund Real ID Act · · Score: 1

    Every EU country has a law which enforces to carry an ID it always has been like it and I am 40.

    While this might be true in some countries, it is certainly not true in all EU countries. I live in Finland and and there isn't any legal oblication to carry or even own any kind of ID card here. However, in practice doing some things, like opening bank account, might be difficult or impossible without some kind of proof of your identity because of current laws against money laundering laws etc.

  21. Re:Illegal, but it still happened on UK Authorities Accused of Inciting Illegal Protest · · Score: 1

    I meant to say that Sweden might still extradite him more easily, especially when you remember that this officially neutral position is just feigned neutrality.

  22. Re:Children will suffer on UK Authorities Accused of Inciting Illegal Protest · · Score: 1

    The mother could not have known that his husband is man with faked identity and is spying her, like Stasi was doing in DDR. However the spy and and his superiors knew it and they knew perfectly well that children would be harmed, but they still proceeded to spy with unethical methods. At least he should have used condoms or insisted that she uses pill if he wasn't sterilized.

    Deliberate harming of innocent children is not acceptable behavior even if police would like to spy somebody. Even ordinary divorce will harm children (for example, statistically in divorced families boys will have about 8 fold risk of committing crimes later in life and girls will have much higher rates of mental problems), but this is much much worse than ordinary divorce. And they knew beforehand that with almost 100 percent certainty the fathers fake identity would be revealed at some point in future and divorce with exceptionally bad outcome for children would be the most likely outcome.

    And the fact that the mother was spied doesn't necessarily mean that she had done any crime.

  23. Re:Illegal, but it still happened on UK Authorities Accused of Inciting Illegal Protest · · Score: 1

    Even if UK is officially ally of US and Sweden officially neutral, it doesn't necessarily mean that Sweden might extradite him more easily. And if US is trying to get him extradited, the risk of extradition comes higher the more countries he visits.

  24. Illegal, but it still happened on UK Authorities Accused of Inciting Illegal Protest · · Score: 1

    It was illegal, but still the law wasn't able to prevent it. There is no reason blindly to believe that the law will not be broken again in the future.

  25. Children will suffer on UK Authorities Accused of Inciting Illegal Protest · · Score: 1

    Divorce court decision won't remote the trauma children will suffer because of this unethical spying operation.