Slashdot Mirror


User: Aighearach

Aighearach's activity in the archive.

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

Comments · 12,400

  1. Re:Unit test those edge cases on CloudFlare Was Hit By Leap Second, Causing Its RRDNS Software To 'Panic' (silicon.co.uk) · · Score: 2

    There aren't a billion edges, there is only an edge where your code establishes a limit.

    Some minutes have 60 seconds, some have other amounts. That doesn't cause an edge case. An edge case is caused by when your code assumes that the number of seconds has some specific value. So if in the code I say "if ( seconds assumes that the value will be valid, and they don't do something useful when the values are wrong. So they crash and burn. You want to either not care what the value is, in which case you don't want to even create an edge by testing it, or else make sure that you have a valid code path for all possible values. Did you establish an upper bound? You have to test what happens when the data exceeds it.

    Basic stuff, which is why when there is a leap second, just one piece of junky code stopped working and nothing else had any problem. There were probably large numbers of applications that actually have leap second bugs; careful log analysis might indicate that things that happened during the leap second were recorded as having happened at the start of that minutes. So instead of crash-and-burn, all your things that would have happened at 23:59:60 would be listed as having happened at 23:59:00. That's because competent programmers do something useful when they get bad data instead of just crashing and burning.

  2. My Nissan was assembled in the USA by Ford, they did a great job too.

  3. Re:Thanks to Trump? Obviously! on Ford: We're Canceling $1.6 Billion Mexico Facility, Investing In Electric and US Plant (arstechnica.com) · · Score: 4, Insightful

    The really funny part is that the whole narrative doesn't add up; the claim is they were going to invest $1.6B in Mexico because everything is cheaper there, so instead now they're going to invest $700M in the US because... Trump. That math just doesn't work out. Obviously what actually happened is that the thing they were thinking about building for $1.6B simply isn't going to happen right now, and a totally unrelated thing that costs $700M is happening in the US. Maybe those are related, maybe not, but the narrative is clearly not true.

  4. Re:Plunging necklines? on Facebook Is Sorry for Taking Down a Photo of a Nude Neptune Statue (fortune.com) · · Score: 1

    You're not talking about a universally appropriate place, but a personally approved place. Your opinions are not universal.

  5. Re:Remember this when they decide fake news... on Facebook Is Sorry for Taking Down a Photo of a Nude Neptune Statue (fortune.com) · · Score: 1

    Should kids be sat down and made to watch hentai? Of course not.

    Yeah, I totally agree. Kids, and probably young adults, should stick to ecchi.

  6. Re:Thanks, Trump! on Bitcoin Breaks $1,000 Level, Highest in More Than 3 Years (cnbc.com) · · Score: 1

    Euro nobody even knows if it will exist in 10 years. There is no Euro nation state, there is no long tradition of union, and they don't seem to be increasing trust and cooperation over time in a way that leads to that. They seem increasingly dysfunctional. The British pound, well, Britain isn't the power they used to be. If their currency became too important, they wouldn't be able to keep control of the politics. The bigger it got, the less stable it would be perceived as being, and the more dangerous policy fights over monetary policy would become. Renminbi is seen as being state-supported, it is not even a viable choice for nation states to hold unless they're small and banking on being a satellite. Large investors aren't going to sit on holding in a currency where the market can't effectively set the price.

    There isn't even a viable alternative to the US Dollar as a reserve.

  7. Re:Not surprised... there isn't anything capping i on Bitcoin Breaks $1,000 Level, Highest in More Than 3 Years (cnbc.com) · · Score: 1

    LOL you're making a pretty huge vocabulary mistake when you confuse the definition of a fiat currency ("in the eye of the beholder" eg, value is in the perception/agreement that there is value) and intrinsic value.

    About $250/oz of the value of gold is based purely on the industrial value as a construction material! There is real long-term intrinsic value that serves as a guaranteed floor and allows gold to trade at a much higher level in a similar way to a fiat currency.

    Bitcoin has zero intrinsic value. Zero. You can love bitcoin and it isn't less true. ;) You can't even wipe with it. Even a dollar coin has 5 cents of metal value. Bits on a computer don't have higher intrinsic value if they're flipped one way than if they're flipped the other way.

  8. Re:Not surprised... there isn't anything capping i on Bitcoin Breaks $1,000 Level, Highest in More Than 3 Years (cnbc.com) · · Score: 3, Interesting

    Because of the moronic increasingly constrained supply over time, the price will continue to trend up even as people abandon it and demand trends down.

    A normal fiat currency the price would crash until you need 10 billion Zimbabwe dollars to buy a sandwich. With bitcoin, you can't even print more; people will have to abandon it. It won't get easier/cheaper to get, either, because of the speculation premium.

    If you want a new fiat currency, fine. But it has to have long-term low inflation to succeed. If it has built-in deflation then speculation will dominate the market.

  9. Re:Any way to hedge USD using smart contracts? on Bitcoin Breaks $1,000 Level, Highest in More Than 3 Years (cnbc.com) · · Score: 3, Informative

    Bitcoin as a currency has built-in deflation, so you can't peg it to anything.

    There are real reasons why all the serious, real fiat currencies are managed for low inflation. Having guaranteed deflation makes bitcoin useless long-term, and it even makes it hard to understand price changes.

    The supply is constrained. A bitcoin will always have more purchasing power in the future. So it can only ever succeed temporarily in "pyramid scheme" fashion. Success would mean demand, but demand cannot be sustained in those circumstances.

    The only reason it is in use is because drug dealers don't realize that it is more traceable than dollars. Ignorance is not a good basis for an economy. See also: information theory (economics)

  10. Re:People of all genders should team up ... on Pull Requests Are Accepted At About The Same Rate, Regardless of Gender (techinasia.com) · · Score: 1

    BTW The truth is an absolute defense against libel or slander in the real world

    "I really believe this I promise and my opinion is worth more" isn't quite the definition of "truth" that is also the one that is an absolute defense against anything.

  11. Re:"the smart TV appears to be infected..." on Android Ransomware Infects LG Smart TV, Company 'Refuses' To Help (bleepingcomputer.com) · · Score: 1

    Dude, you're using "number of stories" as a metric to compare the security of desktop linux (or other desktop OSes) to mobile OSes?

    That's like... not even worth explaining that is so stupid. Just don't argue with people about computer security. It is unseemly for you to have an opinion.

  12. Re:"the smart TV appears to be infected..." on Android Ransomware Infects LG Smart TV, Company 'Refuses' To Help (bleepingcomputer.com) · · Score: 1

    What I do for sandboxing is I buy a regular stupid TV, and then plug an HDMI cable from a computer into it. And if I want applications to draw on the TV, I can just change the input source. Done.

    Aren't you just moving the problem to your PC? What stops it from getting malware?

    LOL I've been using personal computers since the 80s, and I haven't had malware since the 90s, so I think you should consider that there might be known working strategies for managing that already.

    There also might be more security built in to the OS than on the OS in the story. There are sandboxes and VMs and such things that are available for all the desktop OSes that allow to safely run some sort of 3rd party appy bullshit it if you really want it on a screen.

  13. Re:because they won't be resetting the tv. on Android Ransomware Infects LG Smart TV, Company 'Refuses' To Help (bleepingcomputer.com) · · Score: 1

    I'm a firmware programmer, and I've recently had a new TV apart for modifications, so between the two of those I probably actually do know what would be time-consuming. It sure as heck isn't the loading of the firmware that takes a lot of time! And an early edition, as described, might not have OTA updates. Many people just assume USB updates, because phones and tablets have them, but on appliances that isn't often implemented and you go straight from having to plug into a header on the PCB to updating over wifi. If it doesn't have wifi OTA updates, then yeah, you probably have to take the case off because they don't normally reprogram any of that and they did the initial programming before the PCB was installed. They're not going to have a special port that passes through the case, because they don't even want you to reprogram it.

    There is no maintenance task that would take longer than getting the case off. There are multiple PCBs inside and they're not repairable; you would never replace an individual surface mount component on the board, you'd just replace that subsystem. Even the buttons are mounted on a PCB that can be quickly unscrewed, unplugged, and replaced. But it only has 1 or 2 screws, the case is going to have 10 or more. Nothing at all is hand-soldered, not even connectors. There is nothing that doesn't quickly unplug. People say that can't be repaired, what they really mean is, repair involves replacing a PCB and it will cost too much to warrant the repair!

    Laugh all you want.

  14. Re:not a rejection, a redirection on Android Ransomware Infects LG Smart TV, Company 'Refuses' To Help (bleepingcomputer.com) · · Score: 1

    That's only on the "smart" TVs, their "dumb" TVs have normal remotes and are just regular TVs.

    Smart TV = Stupid Consumer

  15. Re:not a rejection, a redirection on Android Ransomware Infects LG Smart TV, Company 'Refuses' To Help (bleepingcomputer.com) · · Score: 1

    My new Samsung fails the "intuitive physical interface" test. Their designers pulled a Dilbert ...

    Sorry, but when I read this what I hear is, "Gosh I'm a real Homer and I bought one that not even I would like!" Take responsibility for your purchases, what you spend your money on is nearly 100% of your ability to impact what exists in the world.

  16. Re: because they won't be resetting the tv. on Android Ransomware Infects LG Smart TV, Company 'Refuses' To Help (bleepingcomputer.com) · · Score: 1

    This is an older model, so likely you would only hit the USB interface firmware through that port, and the firmware for the smart TV part would be loaded using whatever FTDI or ISP programmer is standard for the microcontroller used.

    Newer ones can probably be flashed over the wifi.

  17. Re:because they won't be resetting the tv. on Android Ransomware Infects LG Smart TV, Company 'Refuses' To Help (bleepingcomputer.com) · · Score: 1

    What if I told you it would take under 10 minutes because the tech knows where all the screws are already, and just has to plug in a plug on the board and press a button and wait 37 seconds for the light to flash?

  18. Re:Oh look, here comes the corporate white knight on Android Ransomware Infects LG Smart TV, Company 'Refuses' To Help (bleepingcomputer.com) · · Score: 1

    Online sarcasm was deprecated in 1986. Everybody was notified on FIDONET, and most of the MajorBBS-based systems. Don't people ever pay attention to the manual anymore?!

  19. Re:A Perfect Illustrationk on Android Ransomware Infects LG Smart TV, Company 'Refuses' To Help (bleepingcomputer.com) · · Score: 1

    regular dumb TVs have a tuner and cost less than "smart" TVs. Samsung used to be a cheap brand, but now they're really expensive. LG offers some of the most and least expensive options in my local stores. YMMV

    What I usually see in commercial displays are regular dumb TVs. Government offices place strongly-worded warnings not to tamper with the settings. Probably the reason the one you saw was expensive is because it is the Enterprise Model which is a special edition for where the money doesn't belong to the people spending it, and they don't have a strict equipment budget. That's only certain types of business settings, and rarely even anything customer-facing where it would be more useful.

  20. That's great no bloatware. What about the spyware for the Chinese government data collection?

    That's in the CPU microcode, and there is no known remedy. Same as every other brand of computer.

    Governments know what you're doing already. These are improvements to protect you against mean civilians.

  21. I'm running a different linux flavor, but if I run updates I can still just wait until I would have otherwise rebooted, and then I'll be running the new kernel. So even then I'm not rebooting for updates. They could program the update system to reboot you in an emergency scenario, but it has never happened. Users who don't understand how to read the news and apply an update are generally people that instead will reboot to solve any sort of problem. So it solves itself for everybody without any need for update-driven reboots.

  22. Re:"the smart TV appears to be infected..." on Android Ransomware Infects LG Smart TV, Company 'Refuses' To Help (bleepingcomputer.com) · · Score: 1

    What I do for sandboxing is I buy a regular stupid TV, and then plug an HDMI cable from a computer into it. And if I want applications to draw on the TV, I can just change the input source. Done.

    The one really weird thing about the LG I bought is that it has no audio outputs at all, not even a headphone jack, and it isn't wireless or anything. Luckily when I opened the case up there was a 4 pin connector with the computer S/PDIF size connector so it was easy to murder an old cable and wire in a closed circuit headphone plug.

    It surprised me, but then I realized "everybody else" is plugging it into a receiver of some sort, and I'm one of only 12 customers even using the built-in tuner. But 3 channels of PBS, it is like living in Star Trek.

  23. Re:not a rejection, a redirection on Android Ransomware Infects LG Smart TV, Company 'Refuses' To Help (bleepingcomputer.com) · · Score: 1

    I made sure to test them out in the store first. Not only will I not buy a "smart" TV, it has to have an intuitive physical interface that I can operate without a remote if needed. I was skeptical of the LG at first because it used a miniature joystick that's out of sight on the bottom surface. However, as soon as I moved it, a menu popped up, and it was easy and intuitive to find and select options without having to learn some nifty interface paradigm.

    Some of the other brands had traditional buttons, but they opened up awful mobile-style menus pilfered from the "smart" models. Even though I own and use a mobile device, I find these types of interface really difficult to use compared to traditional cascading menus.

    In the end if you're going to buy a proprietary "smart" TV instead of a generic TV, then you should probably expect it to not be useful after they switch to a new model. If you want things that last, buy the best regular one and not the trendy one offering proprietary blah-blah!

  24. I bought an LG TV recently, but I'm smart enough not to buy a smart TV. It works great, no frills, no nonsense, I love my Goldstar! In the 90s I had a goldstar CRT monitor and it sucked, they've come a long way.

  25. Re:The Character, Princess Leia, Is Iconic on Iconic Star Wars Actress Carrie Fisher Dies at 60 (people.com) · · Score: 1

    My advice, look up "iconic" in a dictionary. It might not actually have a restriction on output quantity at all.

    You might actually find that a famous actor who is only known for one thing is often more iconic than another actor who is known for many things.