Slashdot Mirror


User: robsku

robsku's activity in the archive.

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

Comments · 1,005

  1. Re:Doesn't matter on Sony Ditching Cell Architecture For Next PlayStation? · · Score: 1

    Obviously not, otherwise they would not have disabled Other OS, but some of us don't do business with unethical and/or criminal companies out of principle - I wish more people acted so.

  2. Re:Ouch... Javascript is broken in a number of way on Khan Academy Chooses JavaScript As Intro Language · · Score: 1

    Indeed - it's like graphics library in DOS times, browsers are like video cards and, despite that Javascript *should* ideally work on all browsers, you have to write your code separately for every video card (browser) you want your program to support, but with good graphic library you can simply use it's functions and it will detect your card (browser) and work accordingly :)

  3. Re:Ouch... Javascript is broken in a number of way on Khan Academy Chooses JavaScript As Intro Language · · Score: 1

    Why would you try and add an array to a code block?

    Apparently because it's inconsistent... I don't understand that either :) ...and it's not that I love Javascript, but I would try to justify my dislike with flaws that one faces with normal coding methods - some syntax inconsistency on something that you don't have any real world use anyway doesn't bother me.

    And as said, I don't like Javascript, it's just that with jQuery and/or other libraries I really like what I can achieve with it, but as far as the language itself goes, if I had a choice I would gladly switch to another language unless it somehow managed to be worse - I don't like Javascript language, I do love what I can do with it nowdays.

  4. Re:Logo! on Khan Academy Chooses JavaScript As Intro Language · · Score: 1

    In that case your doing it wrong - what I learned about bad OOP is that it's usually because whoever wrote it does not fully understand where OOP has advantages and how to implement it, or secondarily because of poorly implementation of OOP in language - usually it's either former or both as implementation faults can usually be minimized by good programmer.

    C++, which I first started learning about OOP, is one example of poor implementation - another one, IMHO, is Java which takes things to another extreme, though Java's fault is the insane OOP madness where the base library objects are designed to force unnecessarily using insane amount of objects in combination with each others just to achieve something very primitive and to lesser amount because of it's "100% OOP only for any and everything" philosophy.

    Perl 5 does OOP quite nicely, and another pretty good implementation, IMHO, is PHP's OOP implementation (though let it be noted that I generally consider PHP to be poorly implemented, it's hard to believe that it began as Perl module before it was made into programming language inspired by perl - yet it seems to have dropped out *everything* that makes perl so good, and implements it's own solutions such as the insane implementation of regular expression handling using huge amount of separate functions for different stuff with regexps that in perl are done all with one single operator - ok, I'm drifting now...)

  5. Re:Scratch on Khan Academy Chooses JavaScript As Intro Language · · Score: 1

    I've often wondered why BASIC programming habits clinged so horribly on spaghetti-code using GOTOS everywhere to create very minimal "structure" in such horrible way was so common - when I learned programming I started with Basic and although it was already '91, I had QBasic, which I later learned supported not only coding without *line numbers* and most of all, it had functions, I had no modem, no access to one before '95 and no friends understanding programming and the only access I had to any learning materials were old (early/mid 80's) BASIC programming books from library I too started with habit of structuring code using GOTO... Until I found that QBasic had surprisingly advanced help system which, before functions, described BASIC commands GOSUB/RETURN, which provided real, even though still awful yet compared to GOTO-spaghetti an advanced, syntax for structuring your code using what could be described as minimal subroutine methods - while some books did mention these I found it weird that almost none really taught how to use them and instead had almost 100 percent GOTO-spaghetti "structures" used in examples...

  6. Re:The reason seems obvious to me on Khan Academy Chooses JavaScript As Intro Language · · Score: 1

    Those three, in that order, were my first languages too :) But I didn't have problems understanding C after coding in BASIC - though that Pascal between them may have softened it, but Pascal, mostly, differed with C only in having less cryptic, more human readable syntax for newbie...
    Worth mentioning is the system, IBM PS/2 with 12.5Mhz 80286 CPU & 1MB RAM, originally booting to PC-DOS 4.0 on ROM drive but when I started we had installed MS-DOS 5.0 on HD. Exact software I had (interprepter/compiler(s), IDE's...) were QBasic (got QuickBasic later but I had already moved from Basic so I didn't use it for much after converting parts of my old QBasic&GWBASIC programs where it was incompatible with QBasic to work on it, speeded some functions up by rewriting them in asm and compiling them), GWBASIC (only because on school computers there was no other option), Turbo Pascal and Borland C/C++.

    Strings were easy for me to pick up, but memory management did provide me with some interesting learning. It did take me a while to properly learn how different variable types were used/converted/altered with other types, etc.
    But memory use, pointers in specific, were one of the last things I finally learned... For long time I had used only static size arrays instead of mallocing according to my needs - though I knew the syntax for writing functions where parameter was pointer to array, etc. but I still didn't exactly understand pointers. Finally it dawned on me when, with help of programming book for VGA/SVGA graphics and documentations on other video modes, I had started to writi my own graphic library - it slowly dawned on me after I had defined a pointer addressing memory area where VGA graphics mode pixel data was mapped at :)

    I'm sure glad that I had to go through this before I first switched to Java, learned (but did not like) Javascript (and back then it sucked on every area) and finally when I learned that dynamic typing, automatic memory management/garbage cleanup were not just something available on languages that suck hard - since I moved to Linux I've learned a number of scripting languages, some better than others (perl 3 ), and some quite awful (php, the bastard son of perl, Tcl {IMO}, etc.) I have been in awe, most notably since I taught myself Perl, which is now my favorite language allowing easy creation of cross-platform applications as well as platform specific code - including conditional execution of modules & code depending on OS - and a superb build system similar to autotools but way easier and depending only on perl... with CPAN providing modules for virtually anything :)
    If I had machine fast enough so I did not feel compelled to compile even simplest games to binary executables because of speed (and RAM) issues and had access to modern languages of today I might never had learned important stuff like memory and pointer use, let alone low level arcitechture specific stuff from IRQ handlers to direct hardware accessing, basics of assembly, etc. - and if I now had to learn them the step from Perl, PHP, Javascript/AJAX, etc. would be quite a way to get headache :) ...and I probably would not dream of writing my own game for C-64 one day =)

    Now there is rarely anything new when it comes to learning new languages, though I have just started teaching myself a quite curious language very different from all the usual high and low level languages, which makes it interesting and from what I've gathered it has well the potential to become my other favorite language: Common Lisp - after which it should also finally be easy for me to learn ELisp and write my own extensions and applications for emacs as well...

    P.S. I'm still quite proud of the graphic library I wrote for Borland C/C++ and ported also for DJGPP C/C++, under DOS it was my own library for game graphics supporting graphic devices from CGA to SVGA cards and modes with 1, 2, 4, 8, 15, 16 and 24 bit colors, from 320x200 up to a

  7. Re:Is this article some kind of a joke? on Wikileaks and Anonymous Join Forces Against US Intelligence Community · · Score: 1

    http://www.huffingtonpost.com/2010/12/08/wikileaks-reveals-that-mi_n_793816.html

    Yep, big yawn-o-rama.

    Yes, it pretty much is.

    State Department Denies Sexual Abuse of ‘Dancing Boy’

    "Of the Wikileaks cache of diplomatic cables, one of the most potentially salacious is about the entertainment at a party thrown by DynCorp, a U.S. contractor training Afghan police, in April 2009. A 17-year-old boy was hired to dance.

    In Afghanistan, hiring "dancing boys" is a long-held practice in which Afghan men hire young men and boys to dress like girls and dance at weddings and other parties. They don't hire girls, because in Afghan society men and women don't mix socially. . . .

    *snip*

    I'm puzzled; where's the horrible human rights abuse, or even anything remotely salacious in the above story? The story says it's a common practice among Afghans, so why is it "culturally insensitive" for a group of contractors at a training session there to share in some loca dinner entertainment which the story in no way describes as being coerced or sexual? How is this any different from when Hillary Clinton goes on a state visit to Thailand and a troupe of local dancers performs at dinner?

    I've seen my share of total bullshit on US media so I don't know about this, but if the linked article describes trutfully what this is about, and if the linked article I followed from that one documenting practice of this "Bacha Bazi" is truthful, well, then I can most certainly understand why this would be inappropriate at best and probably worse (not getting caught does not mean having not done anything) - especially the accusations of child prostitution stuff and such does not look good. However I'm very uncertain on what sources to trust when reading US media so I'm not saying this or that... And even then this case might be innocent, past misdeeds don't really prove anything - just does not feel right though.

  8. Re:We Are Anonymous on 25 Alleged Anonymous Hackers Arrested By Interpol · · Score: 1

    Is there any other context than "prison jokes" where an american would see jokes about rape appropriate?

    I often see these jokes on TV when watching american TV series, and I always feel disgusted when people crack "funny" jokes about *raping* someone - and in the background you hear studio audience happily cheering and laughing... I mean, that's just extremely disgusting!

  9. Re:Wrong wording. on 25 Alleged Anonymous Hackers Arrested By Interpol · · Score: 1

    +1 parent please

  10. Re:Wrong wording. on 25 Alleged Anonymous Hackers Arrested By Interpol · · Score: 1

    The original definition of the word 'hacker' is still in use by many people, your claim is simply false. That there are people using other definitions does not change this fact, the word 'hacker' is clearly still used for it's original, and for me, real meaning.

  11. Re:Fail on 25 Alleged Anonymous Hackers Arrested By Interpol · · Score: 1

    +1 to parent and grandparent =)

  12. Re:fine grained? on Torvalds Calls OpenSUSE Security 'Too Intrusive' · · Score: 1

    RTFM

  13. Re:What an ass on Torvalds Calls OpenSUSE Security 'Too Intrusive' · · Score: 1

    sudo, is used to run as root. The point is to allow the user to do a quick operation with root permissions, then go back to running as a normal user. It doesn't "give you fine-grained control over the privileges of each user."

    If you're an asshat and give the user ALL permissions, then yes, they have access to everything. You DO have the ability to give a standard user sudo access to only certain binaries (eject, for example)...one should look into the sudoers permissions manual...good reading.

    Not to mention you can also allow user 'katy' to run binaries as 'fred', not necessary as 'root', etc.

    Ignorance is ugly, but I understand this guy - I've been using Linux since '02 but only learned about sudo from ubuntu around '06-'07 and thought that it was much more like he now seems to think :) Since that I've tried (for learning) just about any type of configuration settings possible for root and still have some commands allowed without password, some with my regular password and some asking root user password (with different prompt so I know which one is asked) :p

  14. Pricey coffee cup... on Why We Agonize Over Buying $1 Apps · · Score: 1

    I would never pay 3€ for a fscking coffee cup...

  15. Re:PCI on Ask Slashdot: To Hack Or Not To Hack? · · Score: 1

    Considering the message you are replying, you are not explaining why,, but how people are morons ;) I'm inclined to think that you actually meant this as reply to message other than parent of your msg though.

  16. Re:No surprise there then. on Chrome Becoming World's Second Most Popular Web Browser · · Score: 1

    I remember terminating the plugin-container process once after FF being opened for about 4 days, it took about a minute to terminate, probably taking a few months off my hard drives life with it.

    You're complaining about Firefox memory usage because some plugin (presumably Flash) is sucking up a ton of RAM?

    Yup, that's just nuts - the plugin-container is a pro for FF though, and for me 'killall plugin-container' terminates it instantly... if a plugin got so stuck that it wouldn't, I know that killall -9 ... *would* still kill it instantly.

    I call BS on this guy - and I want what he has been smoking!

  17. Re:Firefox is to blame on Chrome Becoming World's Second Most Popular Web Browser · · Score: 1

    My use case is very similar, though I still haven't installed newer than 3.6 - I have Debian Squeeze Iceweasel and latest Swiftfox, though I normally don't run several instances I do have separate profiles for regular use on both, one test profile with no extensions or altered settings whatsoever and one special purpose profile - I think I could install latest FireFox on side of these with it's own profile also of course, though already with 3.6 Swiftfox beats the hell out of Iceweasel/FF regular version in speed, and unfortunately there is no newer release of swiftfox than 3.6.13 yet.

    Aside from version number, another major difference is that my system - which also runs apache+php+mysql for wordpress blog and other stuff in background - only has 1GB currently, though soon it's either back to 1.5 (used to be that) or up to 2GB, and swap use is usually around 10-30% (of 1.33GB), the system normally runs smoothly (though having too many heavily scripted pages open at once can make the system crawl - as can flash plugin, but that's not even running under same process as FF itself.
    Now I have ~150 tabs in 5 windows, Swiftfox-bin is using ~400MB - when couple months ago I tested chromium I got it to consume almost 800MB's (!!) with only ~20 tabs!!! That's insane, and fox is clearly NOT the hog here.

  18. Re:Complete lack of surprise on Chrome Becoming World's Second Most Popular Web Browser · · Score: 1

    If he's not getting paid for it, then why would he care if it has any users? As long as it does what he wants, he's fine. Software developers never care about users, even proprietary ones. They care about customers, who are a subset of users. Free software projects care about contributors (whether they're contributing money, designs, code, art, or even bug reports). People who just use the project but don't contribute anything are totally irrelevant.

    Mod parent down, as a FOSS coder for hobby I call BS on this - yes it holds true on part of my own projects too, but only part and this one claims generalization. Mostly, after myself I care about users, not getting contributors that much. People who "just use" are my main target - for projects I put to public and that are not geared towards developers.

  19. Re:Inevitable. on Chrome Becoming World's Second Most Popular Web Browser · · Score: 1

    The problems with modern Firefox are:

    1. The UI itself is slow and prone to freezes
    2. If one page slows/freezes the browser, the entire application slows/freezes
    3. Firefox is currently less stable than Chrome

    If they fix these issues, they will see more users flock their way.

    The first two issues I agree with, FF has those problems, but personally I've never had stability issues (odd crash 1-2 times a year not counted) that are related to FF (buggy extensions not counted), but I had minor ones with Chromium and Chrome crashed horribly on my Debian - but the problem I have with Chromemium, tee-hee, is not stability but the memory hogging. Really, if it consumed memory more like FF I might even switch (or in reality run both according to how I feel at the moment).

  20. Re:Inevitable. on Chrome Becoming World's Second Most Popular Web Browser · · Score: 1

    You actually blame the browser for sucky plugins?

    Man, that must mean emacs *really* sucks, the extensions to it can (and do) do pretty much anything, including rewriting existing functionality (it's Lisp family, baby).

    Because Chrome plugins are so restricted there is no good NoScript equivalent (NotScript is not even close), just for example. Also I believe someone said that you just can't make a plugin to modify the tab bar with vertical lines to avoid having to scroll or getting tabs squeezed ta favicon size. That sucks.

    Your problem with plugins is obviously that you haven't uninstalled ones that cause problems - that's no FF fault.

  21. Re:And still... on Chrome Becoming World's Second Most Popular Web Browser · · Score: 1

    What about Links2 started with -g parameter or Dillo then?

    And anyway, when it comes to text browsers, why do people always refer to Lynx and not something more advanced, ie. w3, Links, Links2 - or eLinks, hands down the best text browser I know of?

  22. Re:And still... on Chrome Becoming World's Second Most Popular Web Browser · · Score: 1

    Though it still annoys me to no end that Firefox can take 700MB on memory. On this machine with only 1GB of RAM, that's pretty serious. But it's still worth it IMO. I'll be upgrading soon anyways

    On my machine it's the chromium that hogs memory like nothing else... With only 50 tabs it consumes way more RAM than my FF with 5 windows and 120-250 tabs usually open (the memory consumption difference is even bigger now that I use BarTab extension on FF). I also have only 1GB RAM (though I have another 512Mb or 1GB waiting for when I reboot and can modify the hardware again :) ). Mind you, I also run wordpress blog on Apache+PHP+MySQL and several other end user desktop programs all the time too, my swap use is usually less than 200Mb and everything runs smoothly - as long as I don't run Chrome or Chromium.

  23. Re:Americans on Why America Doesn't Need More Tech Giants Like Apple · · Score: 1

    How glad I am to hear an American opinion like this of Bud like beer, which even compared to Finnish beers are IMHO more of alcoholic water than beer - no offense to anyone, just my opinion :)

    Our beers are boring compared to German, Tsech, etc. beer, but at least they have taste :) Still in comparison the original Budweiser (sold as Budvar in countries where the USA Budweiser came first, like here in Finland - the original one actually really has one an award of best beer in world) is the one with actual taste :)

  24. Re:And who owns those corporate profits? on Why America Doesn't Need More Tech Giants Like Apple · · Score: 1

    Mod parent up, 4 points is too low.

  25. Re:Wages as percentage of GDP peaked in 1972 on Why America Doesn't Need More Tech Giants Like Apple · · Score: 1

    Unfortunately corporate greed knows no boundaries, certainly not international ones.

    You make people too hard to squeeze, they'll just squeeze who they can over in China.

    The mantra that "greed is good" fails to take into account that hurting other people is part and parcel of helping yourself if there's only so much pie to go around.

    Never mind that monopolies that hoard market share are responsible for the so called shortages in the first place.

    If you hoard, you'll cause a shortage.

    Indeed, this is why market needs regulations, people who believe in anarco capitalism and that customers will drive business to act responsibly are fools - how come there is no sign of that now? Ethical consumership is minority.