Slashdot Mirror


User: cfalcon

cfalcon's activity in the archive.

Stories
0
Comments
2,533
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 2,533

  1. Re:Not the case. on Linus Rants About C Programming Semantics (iu.edu) · · Score: 1

    You wouldn't want to model everything as an object, nor incur the overhead of dynamic allocation in all cases. If your code involves doing ten things, each of which can fail, and all prior ones need to be undone at the end of it, does it really make sense to have that as 10 objects that each nest the succeeding? That would be all manner of memory grinding as each one is created too. It would also involve header file overhead in most cases, whereas the code with the goto is all in one place, smaller, faster, and more readable. A lot of hardware interface stuff ends up looking like this, and you would not want object oriented code for that.

  2. Re:goto is perfectly fine here. on Linus Rants About C Programming Semantics (iu.edu) · · Score: 1

    It also depends on how often you expect the failure case to occur. If catch fires a reasonable amount in code where performance matters, that can be bad. You can still use goto in C++, of course.

  3. Re:goto is perfectly fine here. on Linus Rants About C Programming Semantics (iu.edu) · · Score: 1

    > In 20 years of c/c++ programming, I've never once used goto.

    It's possible you've never run into a situation where it's the better way to code it. It's also possible that you have and did it in a lesser fashion.

  4. Re: Not the case. on Linus Rants About C Programming Semantics (iu.edu) · · Score: 1

    The goto is used correctly.

  5. Re:Why should they? on US Law Can't Keep Up With Technology -- and Why That's a Good Thing (newsweek.com) · · Score: 0

    Your example seems bad even for cars. I have a sweet sports car. It's low to the ground, and it is built for handling and speed. It has big brakes which dissipate heat vastly better than a typical sedan, and it has broads wheels giving it a great deal of traction, which help with the aforementioned acceleration, but also deceleration.

    My sports car is fully safe at much higher speeds than a semi truck. And in many places, there are different laws for semi trucks (a different speed limit) than regular cars. There's not a great technical reason to not allow my sports car to go faster than your hypothetical econo box, in fact- but I don't think I've ever heard anyone say that. In general, they'd prefer that I go as slow as them, for a variety of reasons, usually for terrible reasons (they don't like sports cars or the people that drive them, they would stew sitting there at the speed limit while someone like me passes them LEGALLY). In fact, its rare someone would even get all the way to a reason that is compelling at all (if you have different speed limits for different traffic types, it can gum up some of the busy roads) from society's standpoint- instead almost every reaction is one based on some type of "I wouldn't want that guy to be better than me".

    Your example breaks down- not only is it not done that way in practice, in theory it would improve a lot of driver's experiences to have a more nuanced approach.

  6. Heh heh on Botnet Takes Over Twitch Install and Partially Installs Gentoo · · Score: 4, Funny

    I wonder what plot will next.... emerge?

    Sorry.

  7. Re: Dropping stderr and syslog messages... on Busybox Deletes Systemd Support · · Score: 1

    > systemd supporters get voted down here irrationally

    Can you substantiate that it is irrational? Your posts are literally claiming that professionals suck at their jobs because they don't want to use some flavor of the month component- one specifically designed to alter their workflow, without consulting them.

  8. Re: Dropping stderr and syslog messages... on Busybox Deletes Systemd Support · · Score: 5, Insightful

    > If you're depending on stderr for troubleshooting, you're doing it wrong.

    And so many people are doing it wrong that you need to post AC or have your account go negative karma from all of us wrongbies.

    Or maybe a nonmodular approach to something that was well documented and understood, that got glommed into every distro of note, has backlash. Maybe that.

  9. Re: Dropping stderr and syslog messages... on Busybox Deletes Systemd Support · · Score: 2

    > No one uses syslog any longer on servers so they were correct in dropping syslog messages to discourage its use.

    So correct you had to post AC because you'd be frying karma from all the no ones with mod points.

  10. Well, at least someone is willing to say it! on Busybox Deletes Systemd Support · · Score: 3, Insightful

    With the major distros all moving to systemd, it's nice to see someone burn that bridge. I think if at least one top level distro was anti-systemd, then the drama would all go away, because the group that distrusts systemd could just go there. Someone quick spend your life forking fedora to a non-systemd thing. Pls?

  11. "Twitch compiles Gentoo" on Twitch Viewers Will Try To Collaboratively Install Arch Linux (twitchinstalls.com) · · Score: 1

    "Twitch compiles Gentoo" would probably end up with compiler flags optimizing for a Commodore 64 or something.

  12. Re:What happened to SXSW on SXSW Reinstates Panels On Harassment, Adds All-Day Harassment Summit (arstechnica.com) · · Score: 1
  13. "Twitch goes to /pol" on Twitch Viewers Will Try To Collaboratively Install Arch Linux (twitchinstalls.com) · · Score: 2

    This is pretty great, but there's a lot of keystrokes to average out. Is it just plurality? Wouldn't there always be enough first-past-the-post votes to jam backspace, on pretty much any command?

    I'm more wondering at this point, what if twitch goes to 8 chan, which has some content that is illegal in some jurisdictions? Or what if twitch goes somewhere even less moderated and downloads illegal-almost-everywhere content? Who has the legal liability on that?

  14. Re:I'll be that guy on Apple Usurps Oracle As the Biggest Threat To PC Security · · Score: 1

    I'm pretty sure that some .MOV files don't play in VLC, or don't play correctly. I'm not 100% sure if that's still true, but it was absolutely the case two years ago.

  15. Re:Users View Updates from Apple as Risky on Apple Usurps Oracle As the Biggest Threat To PC Security · · Score: 1

    > If Apple wants to get people to update on Windows, they need to stay within the expected design parameters of Windows better and just let the program look different on different platforms.

    Amen. And even if you LIKE the Apple UI, you probably don't want it updated underneath you to function totally differently, and in some cases you don't want to stop workflow and figure out the workaround to the latest moved (or even deleted) feature.

    I update iTunes when it won't work with a new version of some Apple thing, and it makes it unusable for at least a few hours whilst I google where the hell my buttons are and whatever. I definitely want to minimize the number of times I have to do that.

  16. Re:i'm surprised, it's not flash on Apple Usurps Oracle As the Biggest Threat To PC Security · · Score: 1

    > how many bugs/security holes can one poece of software have

    All of them

  17. Re:Sure. on Junkyard Owner Saves Lunar Rover Prototype (vice.com) · · Score: 1

    There's a lot more historical leaders of men then there are moon rovers.

  18. Re:Another example of bloat on Batman Demands 12GB RAM For Windows 10 (steamcommunity.com) · · Score: 1

    12GB is absolutely unusual for any game. Insanely so, considering that:

    > It doesn't need 12GB with Windows 7, Microsoft's final OS.
    > It doesn't need 12GB on the PS4, the top end console
    > It doesn't need 12GB on the Xbone, Microsoft's current Wii-U competitor

    Additionally, I play a decent number of games, and I don't have 12GB on my computer. Most have requirements substantially lower than that. Normally I play games on one monitor, voice chat on one monitor, and have two browsers with a couple dozen tabs up. A game that requires 12GB to run dedicated is like, a holodeck or something.

    We probably won't have a legit game with a system requirement of 12GB until 2020 or something.

  19. Re:Another example of bloat on Batman Demands 12GB RAM For Windows 10 (steamcommunity.com) · · Score: 1

    It's pronounced "xbone"

  20. Re:Allow memory allocation on Batman Demands 12GB RAM For Windows 10 (steamcommunity.com) · · Score: 1

    You can set up a RAM disk. What you are asking for is the OS to cache things smarter (and with some user hints), and frankly, this could be done.

    But Java definitely isn't doing it.

  21. Re:[Technology Reqest #37,395] Need 12GB RAM on Batman Demands 12GB RAM For Windows 10 (steamcommunity.com) · · Score: 5, Funny

    "Batman is Bruce Wayne: How Windows 10 Telemetry Helped the FBI Capture This Notorious Vigilante"

  22. Re:The population ponzi scheme... on China Ends One-Child Policy · · Score: 2

    No, it will drive the utility derived from some humans to other humans downwards, much like all manner of technology has done. The need for scullery maids per household is a lot smaller than in the past, for instance, so if you are the sort of person that would have employed a scullery maid, automation has likely replaced the need for more scullery maids for you. Note that this doesn't mean that the scullery maid is needed less, it means that her utility TO YOU is reduced or eliminated.

    Your "neededness" isn't a quantity inherent to you, and it varies wildly based on who you are interacting with. If you define society to be some half a percenter, then yea, that person will "need" other people less with more automation. But that's just one perspective, and a rare one to boot.

  23. Re:Doesn't matter on China Ends One-Child Policy · · Score: 2

    You know the Republic of China (Taiwan) is a sovereign state, right? Not under PRC control at all?
    https://en.wikipedia.org/wiki/...

    Did you mistype your point (2) and mean some actual part of the People's Republic of China?

  24. Re:Liberals want to control what you can eat. on Study: Cutting Sugar From Diet Shows Immediate Health Benefits (wiley.com) · · Score: 1

    The best part about the two party system is all the people convinced that half the nation is totally wrong about everything at all times. If these parties believed what they say would elevate the nation to some elemental transcendent state, they would flip a coin and all follow that path, and if ruin followed, they'd all about face and go the other way. Since there's only two possibilities, this would absolutely solve everything, right?

  25. Re:Let me get this straight: on Study: Cutting Sugar From Diet Shows Immediate Health Benefits (wiley.com) · · Score: 2

    That's a fallacy. Life expectancy for a newborn was 30, but that's because the odds of reaching childhood were way worse than today. You weren't an old man at 30- you just had some dead siblings who didn't make it to 4.