Slashdot Mirror


User: sydneyfong

sydneyfong's activity in the archive.

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

Comments · 1,644

  1. Re:Any code? on Rootbeer GPU Compiler Lets Almost Any Java Code Run On the GPU · · Score: 5, Funny

    I'm here. Hi.

  2. Re:Field dependent requirement on Ask Slashdot: How Many of You Actually Use Math? · · Score: 3

    Did I ever say that?

    With my 1000 samples, you have a lookup table of voltage to remaining capacity.

    Now, with that in mind, and this you can guesstimate the remaining battery time available.

    Or, tell me what superior higher maths calculus magic you're going to use. If you think battery draw in a computer can be approximated by a differentiable function, please never do it.

  3. Re:Field dependent requirement on Ask Slashdot: How Many of You Actually Use Math? · · Score: 1

    Unless you're telling me that there's a differentiable function that describes those non-linear voltage decay graphs...

    Suppose the only way to tell the charge level of the battery is via voltage, what would I do? I'd just discharge the battery at a constant rate, and then record the sample of the voltage every 0.1% of the time axis. 1000 values isn't really that hard to store anywhere these days, even if you're talking about an embedded device.....

    Not that I disagree with your claim that higher maths makes a better programmer -- I actually agree. But then, I really don't think there's any "calculus" necessary involved here....

  4. Re:Field dependent requirement on Ask Slashdot: How Many of You Actually Use Math? · · Score: 2

    If you're really calculating remaining battery life and download time using *calculus*, I think you're doing something wrong.

    Your data is discrete, and there's no funny function for you to differentiate to find the slope. Guesstimating the average speed (of battery use or of download) merely requires something like this http://en.wikipedia.org/wiki/Moving_average#Application_to_measuring_computer_performance

    If you mean the "concepts" of calculus is used here, uh, I've been drawing slopes on Cartesian planes since I finished primary school.....

  5. Depends on Ask Slashdot: How Many of You Actually Use Math? · · Score: 2

    Depends on the Maths, depends on the CS.

    "Logic", if it can even be considered a branch of Mathematics, is always important. The various topics under "Discrete Maths" often overlap with CS. The habits of rigorous thinking, proofs, use of counter-examples, etc. are all indispensable to proper programming.

    That being said, my personal experience in web and systems programming is that as long as you don't go into game and graphics programming, you don't really need to apply any "mathematics" beyond high school level, if even that. The curious thing is even though you may not really consciously use mathematics, better programmers generally do have a pretty good grasp of higher mathematics....

    But then, I've really never done any damn calculus in my programming career (not that it's particularly long). In fact, unless you're doing something very domain specific which needs the actual maths, usually an approximate solution will be simpler, easier to maintain, and less error prone. (It's not always easy to resist the temptation to implement the fancy solution though)

    (PS: And I speak from personal experience -- as a programmer it's often helpful to have friends that actually know their maths very well :-p)

  6. Re:Fast != Good on The World's Greatest Competitive Programmer · · Score: 1

    In those competitions, reducing the amount of typing actually goes towards your benefit. I know, because I've sort of played with those things some years ago (until I realized I'm at most mediocre at that stuff). So the code *does* look ugly (or at least incomprehensible). I'd be surprised if they use variable names more than two characters.

    I know a guy who's been in the IOI and ACM World Finals, and he's famous for not doing any indentation :-p

    Of course, the vast majority of them know the difference between "competition code style" and "normal code style", but still it's more than using longer variable names and doing proper indentation and those stuff. But then, to be honest, learning how to write "good" code is much much much easier than learning to solve those algorithmic problems within 30 minutes.

  7. Re:YaLd on Bedrock Linux Combines Benefits of Other Linux Distros · · Score: 1

    Here's your obligatory xkcd reference: http://xkcd.com/927/

  8. Re:The price the phone to the users on RIM CEO Says Company 'Seriously' Considered Switch To Android · · Score: 1

    If you're building a phone for executives ONLY, then make it a $1000 phone. ...

    But the problem is that Apple, Samsung and HTC are all making really, really good hardware, and selling it for $200 -- a tenth of the cost. And for all of RIM's wizardry, they aren't going to beat Apple.

    If you throw away the carrier contract, the high end smart phones do cost almost $1000 at retail. Just go to a non-US online store of the handsets and check their prices.

  9. Re:taiwan != china on Taiwan University Sues Apple Over Siri Patents · · Score: 3, Interesting

    Taiwan is de facto sovereign. The only non-sovereign part about Taiwan is that due to pressures by the PRC govt, most of the International community do not recognize Taiwan/ROC's sovereignty (over the island generally known as "Taiwan").

    It's a over-complicated issue though, and really depends on who you're talking to, and whether you're trying to be factually correct or politically correct....

  10. Re:What's the aim of studying politic and governme on Political Science Prof Asks: Is Algebra Necessary? · · Score: 1

    Seriously... Slashdot just gets crazier and crazier.

    Amen...

  11. Re:Yes, but when does it do so efficiently? on Political Science Prof Asks: Is Algebra Necessary? · · Score: 1

    A lot of maths (esp. high school level algebra) is just shuffling of symbols with some particular rules of inference.

    I mean, do I "understand" (a+b)^2 == a^2 + 2ab + b^2? I can't say I really do.....

  12. Re:Ripp off! :-( on Developer Drops Game Price To $0 Citing Android Piracy · · Score: 1

    Where I work and live, 30k is an equitable wage. Where you live it is not.

    You even know where I live :) I'm in a mood to pick stupid fights with idiots on the internet, now, so here I go..

    Demanding a price tailored to OUR market, in THEIR market is unethical

    So you think the "law of one price" should be abolished, either by DRM (as you mentioned) or by limiting information from consumers.

    That means, if I'm selling my crap for a $0.01 in Kenya, I'm ethically obliged to withhold the information from you, and tell you that you must pay $1, and I am further ethically obliged to tell you this is the best price you can get.

    OK, at least you're consistent about it.

    Sorry fucker, but I wont pay it.

    Thanks for your feedback, as if I have anything at all to sell you.

    Seriously though, if you have anything to sell at all, I'll buy it from Kenya. You'll always be willing to sell it for a pittance, right?

    PS: Oh well, it seems like the mods agree with you. Such is slashdot... where anything besides hard core IT (which doesn't include computer science) is wrong :)

  13. Re:Apple is the new Microsoft on Apple Wins EU Ban of Smaller Samsung Tablet, Demands $2.5 Billion In Damages · · Score: 1

    What would you suggest Apple do? Could you propose an alternative to the course of action that Apple are taking?

    This is Slashdot, you know the answer already: open source all the designs under a Free license for everyone to copy. Seriously dude, that's the only ethical thing to do.

    Remember kids, you are only allowed to sue for IP infringement if it is a GPL violation.

    PS: </sarcasm>

  14. Re:Ripp off! :-( on Developer Drops Game Price To $0 Citing Android Piracy · · Score: 1

    You're simply using a few thousand words to describe something that even high schoolers know: if supply meets demand, there is trade in the free market. And a few more thousand words to show that you clearly don't understand the basic concepts of economics.

    Duh.

    By the way, I get paid for more than 30k a year as a software developer. Do you think I should still heed your advice and resign from my "hobby" to take up plumbing or whatever, with "real", "objective" value? Heh....

    Seriously dude, you know nothing about this world... If you did, you probably would have earned much more than 30k a year...

    Here's some reading for you: http://en.wikipedia.org/wiki/Law_of_one_price (That's just one of the many things that you seem to think you're better than all the experts in the field in the world....)

  15. Re:What's funny/sad on Who Really Invented the Internet? · · Score: 1

    You should post a full CV.

    Perhaps the collective consciousness of slashdot would crown you King then.

  16. Re:Monopoly vs patent on Google Says Some Apple Inventions Are So Great They Should Be Shared · · Score: 3, Informative

    The very essence of patent law is that it grants a limited time monopoly to the inventor.

    That's the whole point of having patents. You can dispute whether patents should exist, but arguing that a patent should be revoked just because it grants a "monopoly" is just stupid.

  17. Beatmania IIDX on Unbreakable Crypto: Store a 30-character Password In Your Subconscious Mind · · Score: 1

    Seriously, does nobody play Beatmania/IIDX here?

    If I'm not mistaken, the only way the system checks whether you know the password is to ask you to play a pseudo-random "game", which they presume a person trained with the passphrase will play better. ...

    And I guess the authors haven't ever got pwned by an expert IIDX player.......

    (Just search Youtube for videos. If you think 45 minutes is enough for you to play better than them, you're terribly mistaken...)

  18. Re:While I hate the transfer syntaxes we have on Varnish Author Suggests SPDY Should Be Viewed As a Prototype · · Score: 1

    Except that it is impossible to design a validation scheme that covers all useful cases without resorting to designing a programming language.

    And when you get to that point, why not just write the application code to validate in the first place? Why is it so hard to write a "schema validation" for JSON data? The fact that the designers of JSON didn't overengineer the feature into the spec doesn't mean it's hard to do....

  19. Re:sorry on Objective-C Overtakes C++, But C Is Number One · · Score: 2

    Most individual Chinese characters do have their own individual meaning(s).

    It used to be (thousands of years ago) that characters were essentially words, but these days multiple-character-words are more in fashion. The classical Chinese is still legible to those with a bit of training, and still sees some use in modern contexts.

    You are indeed correct that the characters are often constructed with other "basic characters" that contributes a meaning and sound, but that's at a "sub-character" level, not really at a sub-word level.

    Disclaimer: I'm not a linguist, but Chinese is supposedly my first language.

  20. Re:Post PC on Preparing For Life After the PC · · Score: 1

    You could have said the same thing about typewriters.....

  21. Re:Where's the ethics? on Google Touts Worker Tracking As Own CEO Goes MIA · · Score: 1

    You want numbers?

    Add up the number of deaths by food poisoning.

    I'm sure Chefs are more evil than people who detonate nukes. Those bastards!

    And don't get me started on doctors. How many people died right after being treated by them? Remember, guns don't kill people, surgical knives do!

  22. Re:Where's the ethics? on Google Touts Worker Tracking As Own CEO Goes MIA · · Score: 1

    Uh, so suppose I design and build this bomb that can blow up the world entirely.

    And either it's not used (except it may be used to blackmail entire nations to do your bidding), so that means I'm on the ethical side. And if in the totally impossible case where an insane person gets his hands on it, there's no one to judge me!

    May I call this a "most ethical weapon of mass destruction".

  23. Re:Perspectives on Ask Slashdot: What's Your Take On HTTPS Snooping? · · Score: 1

    I'm totally confused. It sounds like the "security monitoring system" you're talking about is nothing but (mostly) snake oil. There is absolutely no way a filter like that can prevent a person taking a photo of sensitive documents with a smart phone / camera and sending the image via gmail or something. I can't imagine that in itself would raise security red flags, unless you ban the uploading of any images whatsoever from your network.

    Or, you've got a image recognition system that's way beyond the state of art, being able to detect whether an image is "legit" or not.

    The only non-snake oil part is that *maybe* you could raise alerts when some sensitive keywords are logged when traffic passes through your transparent proxy. The N layered SSH MITM is totally excessive -- only a malicious hacker would be sophisticated enough to do that, and if you got such a person within your network, he'd notice the ssh warnings and if I were in that hacker's place I'd simply use gmail to upload a screenshot of the data wrapped in a docx format....

  24. Re:Non issue on An HTTP Status Code For Censorship? · · Score: 1

    I would have modded you up, but seeing the number of idiot sibling posts here, perhaps I should reply instead.

    Definition of "server" from the RFC:

    server
                An application program that accepts connections in order to
                service requests by sending back responses. Any given program may
                be capable of being both a client and a server; our use of these
                terms refers only to the role being performed by the program for a
                particular connection, rather than to the program's capabilities
                in general. Likewise, any server may act as an origin server,
                proxy, gateway, or tunnel, switching behavior based on the nature
                of each request.

    Emphasis mine. The "censorship proxy" is defined as a server. The 403 is not necessarily given by the origin server.

    This whole discussion is stupid anyways. Have fun with the moot discussions guys. Tell me when you've written the new RFC and complain it's taken as seriously as the evil bit.

  25. Re:Why isn't Ruby thriving, though? on Why Visual Basic 6 Still Thrives · · Score: 3, Informative

    My personal (potentially biased) explanation is that RoR forces you to dive into the underlying technologies (which can be really raw) once you try to implement something beyond the tutorial.

    The other thing is, the underlying complexity of an "desktop app" is much lower than a web app, which is really a distributed system comprising many components...