Slashdot Mirror


User: 91degrees

91degrees's activity in the archive.

Stories
0
Comments
12,024
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 12,024

  1. Re:Maybe because it compiles down to the metal... on What's To Love About C? · · Score: 1

    To be fair, you could create a StringNum class that's derived from String, but handles numbers encoded as ASCII strings. I'd obviously overload the operators to do the calculations, and cast to and from a string, but if I add a String to a StringNum, which operator will it use? Will it cast the String to a StringNum and do the StringNum add, or will it cast the StringNum to a String and do an append?

    In this case, I think the answer is to think about this in advance, and make sure it's documented fully, and it's not unique to operator overloads, but it's an example of a realistic problem.

  2. Re:really?? on Has the Command Line Outstayed Its Welcome? · · Score: 1

    But transcoding dozens -- nay, hundreds -- of episodes of TV shows is simplified by the liberal use of bash, control structures, variables, at(1) and handbrake-cli.

    Is it? I use Any Video Converter. Seems to allow me to specify multiple files and all the options are clearly visible.

  3. Re:One good reason... on What's To Love About C? · · Score: 1

    Depends where the pointers are. But this is the same problem that you'll always get if you have a pointer to an object on the stack. If the lifetime of the object with a pointer is longer than the lifetime of the method then you have problems. This is a problem with all the C family. C, Objective C, and C++. Presumably other languages that don't do garbage collection as well.

  4. Re: C++ is not equal to C on What's To Love About C? · · Score: 1

    Wait, what does happen here?

    Isn't it incrementing C, taking the previous value of C, and comparing with the new value of C? Or does the increment only happen after a sequence point?

  5. Re:One good reason... on What's To Love About C? · · Score: 3, Insightful

    Operator overloading and templates are an abomination, and don't exist in Objective-C.

    What's wrong with operator overloading? What if you happen to want a vector or matrix class, or a complex number class? Seems to be a limitation.

    But, the nice thing about C++ is the RAII. Create an object on the stack, and the constructor is called. Function ends, object goes out of scope, destructor is called. Useful for locks. Can also implement timers, resource counting, and of your class is well behaved, you don't need to worry about resources.

  6. Re:Indeed on Has the Command Line Outstayed Its Welcome? · · Score: 1

    The consumer chooses what he's going to buy.

    So yes. If you actually want to sell what you're selling, give the consumer what he thinks he wants, not what you think the consumer should want.

  7. Re:And what are you supposed to remotely?? on Has the Command Line Outstayed Its Welcome? · · Score: 1

    Open explorer. Search for *.mp3. Select all. Drag.

    Except mp3 files aren't going to be scattered all over the place on a typical consumer system, so just drag "My Music" to the stick.

  8. Re:really?? on Has the Command Line Outstayed Its Welcome? · · Score: 1

    He's not saying you shouldn't be allowed these tools. He's saying they shouldn't be a requirement. This is consumer equipment. It would be like requiring a power screwdriver for assembling flat pack furniture. Sure you can use one to make the job more efficient, but the little allen key that comes with it does the job adequately.

    I use command line loops for a lot of useful batch processing that "ordinary users" would love to use if they bothered to spend the time to look past the GUI.

    They don't want to spend the time to do that though, do they? That's the point. consumer electronics should be designed for the user. The user shouldn't have to learn stuff to use it.

  9. Re:Interesting Maths on 7,000 Irish e-Voting Machines To Be Scrapped · · Score: 1

    In other news, the Independent has deemed its stock of pocket calculators worthless because they can't get the right answer to siple calculations.

    (Actually there were 7500 of them, going for â9.30 each but where's the fun in that?)

  10. Re:stopped using it? on Why Microsoft Killed the Windows Start Button · · Score: 1

    So, MS spend time and research and get actual data, and actually innovate. Everyone is highly critical and asserts that MS should rely on their anecdotal evidence instead, and not change things at all.

  11. Re:Would this apply to UK citizens ? on Senator Pushes For Tougher H-1B Enforcement · · Score: 2, Insightful

    If you're going to leave screwed up UK, why would you pick the US of all places!?

  12. Re:Yeah, yeah, we've heard the propaganda on Pirate Bay Founder Fined For 'Continued Involvement' · · Score: 1

    To be fair, nobody in this entire thread is going to have anything to say that hasn't been said in the last several dozen posts regarding the pirate bay.

    I expect a comment to the effect that all copyright is bad, another about how TPB was just linking, someone to talk about the difference between stealing a car and making a copy to turn up in the next few hours.

  13. Re:Did both MS and Google, and much more... on Google Vs. Microsoft: a Tale of Two Interviews · · Score: 2

    You have to be assertive. I think they wanted me because I was arguing heavily with the development boss of the whole product range and convinced him that my non-typical solution was better

    If I was interviewing, this would impress me. I'd be inclined to argue because having people come up with alternative solutions and able to explain why theirs is better will generally lead to a better product.

  14. Re:3 on-site interviews means a FAIL on Google Vs. Microsoft: a Tale of Two Interviews · · Score: 5, Insightful

    An interview is a two way process.

    Many of us wouldn't work for a company that had such a one sided view of things. I want a better job. The company wants the best employee. I'm happy to prove I'm the best employee, but they have to prove they're the best employer. If they want me to jump through hoops, then clearly they want a trained poodle and not an experienced software developer.

    In that sense I agree with you. We're clearly not going to get on.

  15. Re:Poetic Justice on Georgia Apple Store Refuses To Sell iPad To Iranian-American Teen · · Score: 1

    Because it's a reasonable explanation. Because it's seen as fair to presume innocence. We don't have the same obligation of reasonable doubt as a court does but we shouldn't assume the worst.

    Also because it's consistent with the facts. In fact the story we're being sold isn't.

    This Apple store employee speaks Farsi. I think we can assume he realises that not all Farsi speakers are terrorists. She was going to send the iPad to Iran. Somehow he managed to work this out. Perhaps she did mention it and he overheard. That would explain his response perfectly.

  16. Re:Uhh on Ask Slashdot: No-Install Programming At Work? · · Score: 1

    He did give the guy advice.

    Whether it's relevant or useful is up to the OP.

  17. Re:JavaScript on Ask Slashdot: No-Install Programming At Work? · · Score: 1

    True, but Javascript is actually a useful language to know for its own sake, so learning the ways it can bite you in the ass is also useful.

    Not that python isn't also useful. Just that knowing how to hack Javascript could be as useful as knowing good programming principles, and Javascript is extremely easy to get started in, as well as something that might be considered work related.

  18. Re:Draw me a line on RIAA Goes After CNET For Media-Conversion Software · · Score: 1

    Do you want explicit laws covering all those things?

    The rule of thumb is "Are you making a copy". Remembering a song being infringement is so ridiculous to a neurotypical person that of course it's not infringement. Borrowing isn't. Taking discs isn't.

    Ripping the discs is different because you're making a copy. This may be covered by fair use. However, this is deliberately vague because this is something that wasn't considered when the law was written.

    You absolutely don't have the right to download from the pirate bay. The fact that DRM makes it difficult for you is irrelevant. You simply don't have the technical capability to make a copy.

  19. Re:Stream, Download, what's the difference... on RIAA Goes After CNET For Media-Conversion Software · · Score: 4, Interesting

    The law is more concerned with intent than technical mechanism. This allows the same law to cover deliberately killing someone with a rifle or a car, but remarkably similar actions by accident are covered under different laws.

    The intent of visiting youTube is to stream videos. The intent of this software is to download (and presumably keep a permanent copy of) videos.

    Since the RIAA only has rights to a relatively small number of the videos on youTube, and we have no idea whether all the other millions of users it's hard to make the case that the intent of this software is music piracy. If youTube has explicit terms about downloading rather than streaming, then youTube might be able to argue tortuous interference with contract or something but the RIAA has no standing.

  20. Re:how is he going to leave the UK? on Assange Requests Asylum In Ecuador · · Score: 1

    Smaller airports let you drive pretty much up to the plane.

    And the police and British government have limited interest in this. If the hassle can be transferred to Ecuador then they'll probably be pleased they don't have to worry about it any more.

  21. Re:Terrible on The Hobbit's Higher Frame Rate To Cost Theater Operators · · Score: 1

    They didn't. It was shot on 24fps film and they sped it up 4%.

  22. Re::3 on The Hobbit's Higher Frame Rate To Cost Theater Operators · · Score: 1

    One of the benefits of high fps games is responsiveness rather than smoothness. Even for the gui, a 60fps game feels more responsive.

    Smoothness is nice as well, bur it may not be paramount.

  23. Re:I hope they can do better on drivers on PowerVR To Make Mobile Graphics, GPU Compute a Three-Way Race Again · · Score: 1

    I'd have expected these to be really good at dealing with aero, because transparency is one of the areas tiled architectures work well. You're doing a lot of reading and writing to/from the framebuffer. When your framebuffer is a 64x64 tile then the entire thing can be kept in a fast segment of memory.

    If it is a driver issue, then it's rather sad to be letting poor software ruin a good overall design.

  24. So it's directed by the guy who... on Joe Cornish To Write and Direct Snow Crash Movie · · Score: 1

    Cornish is known for his recent sci-fi alien invasion flick Attack the Block, which was filmed and released in the UK by the same studio that put out Shaun of the Dead

    That's a few too many degrees of separation to really give it a good pedigree.

    Not that this means it will be a bad film. There are plenty of great directors that we haven't yet heard of. Just feel that trying to tell us who he is is pointless.

  25. Re:Free speech on Primary School Girl Told To Stop Photographing and Blogging School Meals · · Score: 2

    Free speech is a right throughout Europe. However this is a right that is considered to be balanced against other rights, such as the right not to be harassed, privacy, and anything else that may be considered a fundamental right.

    But that's beside the point. Freedom of speech doesn't mean that all rules that may impact freedom of speech are invalid.