Slashdot Mirror


User: sl3xd

sl3xd's activity in the archive.

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

Comments · 1,642

  1. Re:Should disallow mixing tabs/spaces on Ask Slashdot: Will Python Become The Dominant Programming Language? · · Score: 1

    Just flag an error as soon as indentations are detected that are not the same style.

    To hell with Python. EVERY language needs to do this.

    In every software development project whitespace matters - regardless of language.

    I'm sick of having to guide every junior programmer through fixing the merge issues they've caused by not using the project's indentation style.

    Eventually, the developer starts to understand that while the language doesn't care about whitespace, the version control system does.

    Then the developer moves on to greener pastures, and I get to do it all over again with the next clueless graduate.

  2. Re: No, because meaningful whitespace on Ask Slashdot: Will Python Become The Dominant Programming Language? · · Score: 1

    or tried to merge code written by some heretic who indented by 3 spaces instead of the 2 spaces carved in stone by His Noodley Appendage.

    Every version control system I've ever looked at considers whitespace to be significant, so we have the same problem in every language - if not during development, then while merging code.

    As a result, every coding standard I've ever seen (both open source and corporate) is explicit (and detailed) in how indentation is to be used, and every text editor worth using is able to easily convert indentation to the required form.

    If anything, I appreciate that Python will break quickly - before somebody commits their code and causes a merge headache down the line.

  3. There is a Perl 6 but it's pretty much dead in the water because it breaks backwards compatibility with the thousands of modules on CPAN

    Many would say that Perl 5 is pretty much dead in the water as well.

    Perl 5 & 6 always appeared to me as the case study which lead Python to co-develop both 2.7 and 3.x simultaneously.

  4. Re:If true, it'll help both sides on US Tech Companies Start To Become Copycats of Chinese Peers (foxbusiness.com) · · Score: 1

    Maybe it's possible to be profitable and innovative without the kind of crazy IP laws that the US has. Maybe there is another way.

    Maybe, but the US's IP laws aren't that dissimilar from those found in the entire Western world, and some of the more ridiculous ones originated outside the US, and were imported to the US as part of various IP treaties.

    At first, widespread "piracy" of films & books was allowed (and if not legal, at least not prosecuted) in the USA -- the films of Georges Méliès being a great example.

    Then, as Hollywood started producing more films than overseas, suddenly foreign piracy started to matter... and treaties were made that have reciprocal IP laws.

  5. So... yay? on Amazon Sues Former AWS VP Over Non-Compete Deal (geekwire.com) · · Score: 1

    So is this a case where we should be happy because a guy with the resources to fight the legality of a non-compete agreement is being sued?

  6. Re:Why would you buy from them on Sharp To Americans: You Don't Want to Buy a Sharp-Brand TV (wsj.com) · · Score: 4, Informative

    Sharp was a top tier brand -- Sony and Sharp co-funded an LCD panel factory, and Sony TV's used Sharp's LCD panels. (The whole reason Sony was involved in the factory is because they wanted Sharp's LCD panels).

    The problem is that Sharp happened to buy the factory just before the housing crisis -- and the market for new TV's vanished overnight. If you took any time to look outside the world of the PlayStation, you'd see that Sony had some serious problems selling their TV & home theatre products during the same period.

    With nobody buying, Sharp was unable to sell their own TV's, or LCD panels to Sony. State-sponsored/funded Chinese companies swooped in as the market was picking up again, and Sharp wasn't able to recover.

    So yeah... Sharp was unlucky in its timing of building a factory, and the PRC's government decided it was in their interest to spend government money to bankrupt a foreign company. Nothing new about either of those things.

  7. Re:Hisense USA is actually not horrible... on Sharp To Americans: You Don't Want to Buy a Sharp-Brand TV (wsj.com) · · Score: 4, Insightful

    Hisense USA is based in Atlanta (Suwanee GA), not China, though their parent company is Chinese.

    All that means is that there's a shell company that imports drek from China, handles local customer disservice and warranty non-fulfillment.

    Nearly every multinational company does the same thing -- Apple's Ireland shell company has made a lot of news lately as a tax haven, IIRC. That doesn't make Apple an Irish company.

  8. Re:These lDIOTS on A Power Outage In Silicon Valley Was Caused By A Drone Crash (mercurynews.com) · · Score: 1

    wtf is the Academy of Mode Awronautics/quote>

    The AMA is the model aircraft equivalent of the NRA; founded in 1936. Around 200,000 active members, and serves as a liason between the hobby, the FCC, the FAA, congress and local governments. They also run a liability insurance program, and are the only reason model aircraft are even allowed in the United States.

    Saying you've been flying for 20 years and haven't heard of the AMA is about as realistic as saying you've been shooting for 20 years and haven't heard of the NRA. You can't walk into an RC model shop without seeing the AMA logo, or a bin with application forms.

  9. Flying cars are *loud*. Very loud. Far louder than residents will tolerate.

    You can't push that much air around quietly. A small helicopter can be heard from miles away. Ditto with even small single engine aircraft.

    Flying cars would make every neighborhood even noisier than the ones currently next to airports.

    And that doesn't even touch the aspect of people being scared of airplanes falling from the sky constantly.

    We can do a decent job at making machines that are not going to fail easily. We are not, however, capable of making such machines cheaply.

  10. Re:It is not a drone in the article photo on A Power Outage In Silicon Valley Was Caused By A Drone Crash (mercurynews.com) · · Score: 1

    Why did it burn?

    Because lithium batteries carry a lot of energy, and when enough abuse happens (running into power lines will definitely do it) they go into a runaway thermal reaction, and that energy is released.

    There was even a Tesla Model S burst into flames in a wreck.

    I've seen my share of lithium batteries bursting into flame in electric model aircraft.

    Just because it's electric doesn't mean it can't cause a fire.

  11. Re:These lDIOTS on A Power Outage In Silicon Valley Was Caused By A Drone Crash (mercurynews.com) · · Score: 1

    Many areas have long regulated radio controlled aircraft - mine, certainly. Membership in the Academy of Model Aeronautics, adherence to its rules, payment of dues, insurance, and even enforcement by police who visit regularly.

    Flying in any unsanctioned area (including parks, school yards, etc) is prohibited by law. And in the sanctioned areas, AMA membership is required and enforced – you get carded in order to fly.

    And this is in a very conservative, anti-government area of the states.

    So yeah, a lot in the "old" RC aircraft hobby are very unhappy with careless idiots buying drones and causing problems for an already heavily regulated hobby.

  12. Re:For goodness sake, don't ask any experts! on What the Hell Is Happening To Cryptocurrency Valuations? (techcrunch.com) · · Score: 1

    Is there any reason why, when posing a question about currency, you would not ask ANY macroeconomists?

    Probably because there's a pervasive belief that they don't know what's going on either.

    And to a certain extent, it's not wrong... there are a lot of explanations, gobs of research over decades supporting the explanation -- and several dozen mutually incompatible explanations.

    At the end of the day, it's trying to describe human behavior on a national level - and we aren't the most rational and predictable of creatures.

  13. Re:Venezuela? on What the Hell Is Happening To Cryptocurrency Valuations? (techcrunch.com) · · Score: 1

    If the scarcity I'm reading about in Venezuela is true, then all currency is effectively worthless there, simply because there's more currency of any kind than goods to be bought with it.

    It's the food that's valuable, and if you can't buy it at any price, the medium of exchange is worthless.

    The people with food have no reason to trade it for currency, as doing so significantly increases their chance of dying (and never spending the currency anyway).

  14. IRIS By Lowe's on Lowe's To Lay Off About 125 Workers, Move Jobs To India (go.com) · · Score: 2

    If IRIS by Lowe's is any indication, Lowe's either offshored the coding to the lowest bidder, on the notion that with enough heads banging on keyboards, they'll be able to beat much more capable competition... or the US team was already headbanging on keyboards, producing rotten code, and Lowe's figured they had nothing else to lose.

    Either way, it's hard to see the future looking bright for IRIS.

  15. Re:Speculation on What the Hell Is Happening To Cryptocurrency Valuations? (techcrunch.com) · · Score: 1

    Or more likely its a speculative bubble and like the stock price of Tesla it has far outpaced the current underlying fundamentals.

    This. Markets (or rather, the people acting within them) act according to the idea of "can I make money on this" rather than "does this actually make sense".

    There's still money to be made in trading stocks & commodities that are overvalued, and there are investors who see it at money on the table, so they go for it.

  16. Re:What's happening on What the Hell Is Happening To Cryptocurrency Valuations? (techcrunch.com) · · Score: 5, Insightful

    I have no problem saying that cryptocurrency is a bubble and that there's a huge amount of speculation over hype driving up prices.

    What we're seeing is definitely not a Ponzi scheme, which is its own, very special -- and very different, form of fraud.

  17. Re:at what point... on SpaceX Will Launch Secretive X-37B Spaceplane's Next Mission (latimes.com) · · Score: 2

    My favorite useless fact about the SR-71: The armed forces have a standard for how they are designated, and that particular version of the plane was designated RS-71.

    But a General preferred "SR" over the standard, and had a speech by President Johnson altered to use SR-71 instead; but the Media's transcripts still had "RS" in it, leading the media to believe the POTUS misread it.

    The reason why it uses "71" instead of "12" (to go along with Y-12, A-12) is because there was a contemporary prototype, the XB-70 Valkyrie.

    The same General hated ICBM's, and went to absurd lengths to keep the Mach-3 heavy nuclear bomber. He tried to fund the RS-70 "reconnaissance" version of it... and so the RS-71 was given the next number after RS-70.

    Fortunately, the General's ambition for the RS-70 was foiled for a few reasons:

    * At the time, the XB-70 was, pound for pound, ten times more expensive than Gold -- and it weighed half a million pounds.
    * More careful thinkers realized flying a heavy nuclear bomber over the USSR to take photos would be indistinguishable from a first strike, leading to nuclear war.

  18. I don't think anybody would call either Apple nor Samsung complacent...

  19. Agreed. Back in the day there was a lot of wavelet hype that didn't seem to pan out as well as was hoped.

    Either that or it was patented into obscurity.

  20. Re:They finally realized.. on Apple Adds Support For FLAC Lossless Audio In iOS 11 (thenextweb.com) · · Score: 1

    Lossless compression is still5- 10x larger than MP3/AAC

  21. The teensy dongle Apple is definitely worse than when the DAC/AMP was built-in -- The SNR is about 5 dB worse for both 16 and 24-bit recordings, and the THD is doubled.

    Since loudness (dB) is a log scale -- it works out to 0.05% more noise, and THD moves from 0.001% to 0.002%.

    To put that in perspective, you'd be getting noise that's even quieter than breathing, while the signal is as loud as a jackhammer.

    And that's assuming you're in a silent, anechoic room. A quiet room in a house will be at least twice as loud as the noise from the dongle...

  22. Re:NIH to the max, baby on Apple Adds Support For FLAC Lossless Audio In iOS 11 (thenextweb.com) · · Score: 1

    Let's see... Monkey's Audio, shorten, optimfrog... they were all quite prevalent. I remember when FLAC joined the Xiph project. FLAC was definitely not a de facto format at the time.

    The fact that MP3 encoders use a low pass filter at ~15.5 kHz isn't that relevant. It was (and is) inaudible to most people - very few people over the age of sixteen can act ually hear sounds that high. Loud sporting events, rock concerts, etc. all take their toll on the upper end of your hearing range.

    I seem to recall it being popular to use 16 kHz sound was being used to annoy teenagers into leaving an area, while leaving adults unaffected.

    The "22 kHz" upper end is generally only detectable by the very young. (Though it is fun messing with audiophiles claiming "golden ears" that "hear" sound coming from disconnected speakers)

  23. Re: It's like listening to a Creationist on Putin Now Argues Russia Could've Been Framed For Election Meddling By The CIA (nbcnews.com) · · Score: 1

    Which is a different story than the DNC tells - they claim that the FBI hired a 3rd party to look at the servers.

    So we're stuck with 'he said, she said' between parties that have a history of obfuscation and CYA

  24. I did mention "downloading or streaming"

    Obviously, you're not interested in the streaming part, but you can absolutely download to the phone's flash memory for offline use.

    In fact, you can Transfer files VLC directly using SMB, FTP, Plex or DNLA. Alternatively, you can use the "send to" function to have one iOS app (such as an FTP/SFTP client, Dropbox, or even email) into VLC.

    The VLC devs did a pretty good job on iOS; they even made a library so other programs can embed VLC into their apps. You can even download the source code, and use it to build a customized version of VLC.

  25. Re:NIH to the max, baby on Apple Adds Support For FLAC Lossless Audio In iOS 11 (thenextweb.com) · · Score: 3, Insightful

    And what would the industry standare be?

    Dolby TrueHD?
    DTS Master?
    MPEG4-SLS?

    You gotta draw the line somewhere, and back in 2003, when ALAC was released, there was no clear standard. Even today, the market remains niche enough that virtually nobody cares about FLAC anyway. Most people don't subscribe to the audiophile quackery that believes in golden ears.