Slashdot Mirror


User: scdeimos

scdeimos's activity in the archive.

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

Comments · 1,581

  1. Re:Sorry, it's time has passed on A 21st-Century Version Of OS/2 Warp May Be Released Soon (arcanoae.com) · · Score: 1

    My Linux machine today can't copy to a USB hard drive without making the rest of the system unusable.

    Don't equate Dolphin/Nautilus issues with linux having problems. There are plenty of other file managers out there that do threading correctly.

    The USB-related thing that bugs me most about linux is that you can't simultaneously open both cameras in a USB-based stereo camera device, which rules out doing anything useful with OpenCV on linux unless you fork out huge dollars for Firewire-based devices. This happens because the USB drivers block the request citing per-bus bandwidth limits, which is crap because even running at full resolution both compressed streams are still less than 40% of a USB 2.0 bus's bandwidth.

  2. Re:Uh, why? on A 21st-Century Version Of OS/2 Warp May Be Released Soon (arcanoae.com) · · Score: 1, Informative

    I don't know what the current state of compatibility is for Windows 10, but having a modern/updated OS that can run Windows 3.1 apps may be useful to someone.

    You won't find any Windows 10 compatability. OS/2 Warp was a 16-bit OS so won't even run Win32 applications from Windows 95.

  3. SQL Server's query planner gets better and better with every release, but it still screws up on a regular basis. To have efficient queries on SQL Server the programmer (in the absence of a full-time DBA) needs to know far more about the internals of the server than they really should. Some of the common issues for slowly running queries I see include:

    • Scalar UDFs (User-Defined Functions) are pure evil. Query Planner always estimates their cost at 0, no matter how complex their implementation. Scalar UDFs used in queries are run RBAR (Row By Agonizing Row) so their real world costs add up very, very quickly. If you absolutely must have Scalar UDFs in your system ensure that they perform no table accesses whatsoever and only operate on the provided parameters.
    • Closely related to Scalar UDFs, and for the same reason, Table Valued Functions can be evil as well. Prefer to use Inline Table Valued Functions (that do not contain BEGIN and END keywords) which behave more like Views. Query Planner can inline the code of ITVFs into the current statement and even optimize out whole chunks of code if it detects that they're unnecessary to complete the query.
    • Bad indexes. Indexes should be chosen based on cardinality so that the least number of B-Tree traversals are required to get to data, e.g.: prefer (InvoiceID, BusinessID) over (BusinessID, InvoiceID) as there'll be far more invoices than businesses in your system.
    • Out of date index statistics. Left to its own devices, SQL Server doesn't update indexes statistics anywhere near as frequently as it should. If you have an indexed table that's regularly having rows inserted and deleted (especially if you run a "soft deleting" system) you should consider updating statistics yourselves on a recurring schedule or after X rows have changed.
    • Every foreign key should be indexed, and, in the case of Composite Foreign Keys, the order of the FK items should match the column order and the asc/desc order of the referenced Primary Key indexes.
    • Also related to index statistics is something that bites new programmers all the time: Did you know that statistics for #Temp tables and ##Temp tables are cached between uses? i.e.: if you put indexes on #Temp and ##Temp tables in your queries you should immediately run update statistics...with fullscan on them before using the temp tables, otherwise Query Planner makes decisions based on what the same-named temp tables had last execution!
    • SQL Server's a mine field of bad performance for the unaware. I doubt it's much different in Oracle and MySQL/MariaDB.

  4. Re:Testing costs money on Microsoft Locks Ryzen, Kaby Lake Users Out of Updates On Windows 7, 8.1 (kitguru.net) · · Score: 5, Interesting
    It's probably due to the DRM push Microsoft named "PlayReady 3.0". Don't know about the Ryzen line, but the only difference in the newest Intel line up is the support for hardware-based DRM which is something required for PlayReady 3.0:

    In an effort to placate the studios, Microsoft introduced "PlayReady 3.0" with the Windows 10 Anniversary update. PlayReady 3.0 is a hardware-based DRM (digital rights management) system that requires dedicated decoding hardware, either on the CPU or on the graphics card, preventing the video stream from being captured in software or via an external capture device.

    REF: https://arstechnica.com/gadget...

  5. Sadly, they do have appy app apps. At least one of them is called VacciDate and gets government-sponsored advertising all the time. http://vaccinate.initiatives.q...

  6. Re:Sounds clunky on Microsoft Continues Porting Visual C++ To Linux (microsoft.com) · · Score: 1

    Remote compilation isn't exactly unheard of, nor is it unusual.

    For example, MonoGame developers on MacOS and Linux can't build .fx format effects (shaders) on their own systems because the fxb.exe tool required is Windows-only and also requires the XNA Framework installed on the Windows machine doing the work. This led to solutions like InfinitespaceStudios in the UK hosting an Azure service for all the non-Windows shader writers to use, even supplying a Nuget package to reference from the Content Pipeline tool. (A huge thanks, Dean!) But if you don't trust InfinitespaceStudios to do it for you they also supply all the source code so you can build and configure it youself on your own Windows server(/desktop) machines.

  7. Elon Musk, the billionaire founder of electric car giant Tesla, has thrown down a challenge to the South Australian and federal governments, saying he can solve the state's energy woes within 100 days -- or he'll deliver the 100MW battery storage system for free.

    The power problems in South Australia are due to the both the state and federal governments mothballing coal-fired power generation to satiate the Greens, so good luck getting anything out of them. A lot of SA's baseload power is imported from neighboring states and when the interconnects went offline last September due to storm damage the wind power network had nothing to synchronise to so dropped their power from the network as well. The coal-fired power station in Port Augusta, SA was shut down last year; the gas-fired power station in Torrens Island is running at half-power (AGL is blaming soaring gas prices, but they're a gas producer themselves, so the truth is they don't want to maintain the full facility) and the coal-fired power station in Hazelwood, Victoria will be shut down next month. It's only going to get worse. I don't see how adding a paltry 100MW of battery storage is going to help the matter.

  8. Thank goodness someone else remembers. I keep seeing these "Windows coming to ARM" stories and remember Windows NT... which used to run on IA-32, MIPS, DEC Alpha, PowerPC, Itanium, x86-64 and ARM. The same old shit is shiny new again.

  9. Re:Virtualization on Ask Slashdot: How Do You Best Protect Client Files From Wireless Hacking? · · Score: 5, Informative

    I was going to suggest VirtualBox as well.

    I routinely install Windows into VirtualBox guests that have no virtual LAN adapters configured (i.e.: no network access). The guests can only access: inserted optical discs and/or .iso files; authorized USB sticks; persistent/non-persistent VirtualBox shares.

    The big downside, though, is accelerated graphics:

    • You pay a significant penalty for DirectX under VirtualBox.
    • The video drivers installed with VirtualBox Guest Additions have OpenGL support limited to API Level 2.1, so you can't run anything that requires OpenGL 3 or better.
    • The VBGA OpenGL driver implementation is also really quite flakey. e.g.: Blender won't work with it, but can be made to work if you download the OpenGL Software Driver from the Blender FTP site. Of course this horribly slow because, you know, no hardware acceleration.
    • Also the VBGA OpenGL drivers are disabled by default for Windows 8 or later guests. You can enable them by running the Guest Additions installer from the command line with switches and/or Registry hacks.
  10. Re:RAID on Ask Slashdot: Best File System For the Ages? · · Score: 1

    RAID is not a backup. RAID checksums are only evaluated when you read data and are only calculated when writing. If the data is just sitting there for years without any kind of access you can guarantee that it's going to die from bitrot.

  11. Re:don't care on Ask Slashdot: What Would Happen If All Software Ran On All Platforms? · · Score: 1

    Try running something that requires OpenGL 3 or better inside a VirtualBox guest and see how well that works out for you. VirtualBox Guest Addition's video drivers only support OpenGL 2.1 - even that is pretty damn spotty and is disabled by default on Windows guests.

  12. Re:Stop changing what isn't broken MS. on Microsoft is Making It Easy To Stop Windows 10 Rebooting Your PC Randomly For Updates (theverge.com) · · Score: 1

    Automatic updates were always turned on by default, so what you say is not quite true.

    I have to call "bullshit" here. Microsoft wrote KB306525 to instruct users how to turn on Automatic Updates in Windows XP, Vista, 7 and 8.x precisely because Automatic Updates were *not* turned on by default.

    It was only when Windows 10 was pending release that Microsoft started sneaking in unmarked "security update" patches that started turning on Automatic Updates for everybody and installing the Windows 10 upgrade stack.

  13. Re:What about Russian Shutdown Roulette? on Microsoft is Making It Easy To Stop Windows 10 Rebooting Your PC Randomly For Updates (theverge.com) · · Score: 1

    Putting an unfamiliar operating system on a computer they have to use would literally be at least as disruptive as changing Windows' UI language to Japanese.

    Funny you mentioned that, this is exactly why so many people complained about lost productivity (and functionality) when computers were forced to upgrade from Windows 7 to Windows 10.

  14. How about making the "Reboot Now" button the default one on the query dialog? That regularly trips up people typing away without watching what's happening on the screen.

  15. Re:The apology is enough to make you vomit. on A New Video Shows Uber CEO Travis Kalanick Arguing With a Driver Over Fares (bloomberg.com) · · Score: 1

    Oh for the love of mod points...

  16. I don't know why people want it on their computer, let alone their phone.

    Because on a computer it's excellent in portrait mode for reading documents. At the moment I have a portrait screen on either side of my landscape screen. IDEs, Blender and video editors tend to stay on the landscape screen because their GUIs suck in portrait mode, but I keep reference documents open on each of the portrait screens for easy reading.

  17. Re:SuperSpeed USB port for cable-free PC connectio on Sony Unveils World's Fastest SD Card (amateurphotographer.co.uk) · · Score: 1

    Given your two options, it's a "what"... it's a fat dongle. REF: http://www.sony.jp/rec-media/p...

  18. Re:All you Apple Haters can bite my shiny metal SD on Sony Unveils World's Fastest SD Card (amateurphotographer.co.uk) · · Score: 1

    Of course what Sony means by the MRW-S1 being "cable-free" is that it's a big-ass USB dongle that will probably block any ports situated either side of the USB port you choose to plug it into, REF: http://www.sony.jp/rec-media/p...

  19. Cosmic rays aren't likely to trigger multiple bit flips simultaneously in the same block of memory.

    Maybe that's the case for now, but who knows what will happen with stacked 3D memory?

  20. Re:@Intel: Why no ECC for consumer-grade processor on Serious Computer Glitches Can Be Caused By Cosmic Rays (computerworld.com) · · Score: 2

    Are people really less knowledgeable about computers now than they were in the 80's?

    Yes, absolutely! Have you never sat down with a IT graduate from the 2000's to figure out what they actually know about computer hardware?

  21. Considering the history of Apple open source contributions in things like OpenGL, I'd say your concerns are at best not really likely.

    Apple may have made many open source contributions to OpenGL over the years but they've never bothered implementing anything better than OpenGL 4.1 on their own systems, even though the same graphics chips they use have OpenGL 4.4 and 4.5 implementations on other platforms.

    IMO their OpenGL implementations also seem quite flakey, e.g.: half the time VirtualBox guests only draw white or grey boxes where their OpenGL content should be displayed. Sometimes this can be fixed by moving the guest window left or right a pixel or two, other times not.

  22. How's that even possible? on Overwatch Director Speaks Out Against Console Mouse/keyboard Adapters (arstechnica.com) · · Score: 1

    On Playstations, for example, most third party controllers disconnect every few minutes because they fail the encryption heartbeat challenges. Or is this only a problem on Xbox consoles?

  23. Thank goodness. I thought I was the only one to think of George and Gracie.

  24. You're probably using GOTO every day on Developer Argues For 'Forgotten Code Constructs' Like GOTO and Eval (techbeacon.com) · · Score: 2

    Most language compilers are using goto constructs under the covers already. Disassemble some MSIL, for example, and you'll see how there are some in every single if-else or switch-case block.

  25. Re:Is it really that bad? on CNET Editor Rails Against Non-Consensual Windows Updates (cnet.com) · · Score: 1

    I have absolutely no idea what these people do to their machines or how little attention they pay that those automatic reboots happen. My experience only tells me it's the complainers who pay zero attention to system messages, and have no ability to plan for their machines to run maintenance.

    I could guess... Windows is extremely bad at having newly appearing windows and dialogs steal keyboard focus from whatever you're working on. Dollars to donuts a lot of these people were in the middle of typing something when the update dialog appeared and the Update Now button would have been pressed for them during the next Enter or Space keystroke.