Why Windows 10 Sucks or Everything Wrong with Microsoft Windows


From: https://itvision.altervista.org/why-windows-10-sucks.html

Why Windows 10 Sucks or
Everything Wrong with Microsoft Windows
It’s funny and equally sad that year 2015 marks the end of the Windows OS for a lot of people. There are several issues with Windows which, at present, make Spyware/Malware OS 10 inappropriate and even outright dangerous for a lot of people. The most egregious, of course, is a total abandonment of any form of privacy and control.

Firstly, Microsoft openly stated that pervasive data Microsoft: ‘We finally fixed everything in Windows 10′
View this page source code to find the source of this picture collection will be present in any Windows version starting from Windows 10, and as a host of research on the Internet shows, this data collection cannot be disabled using official means. If you decide to disable total tracking (including keyboard scanning and voice recording) you’ll have to disable over a hundred different Internet addresses and then no one guarantees that a new Windows update doesn’t add new hosts because Microsoft surely is not interested in losing such a lucrative feature meant for Big Brother agencies. Read the rest of the article for official Microsoft statements and for various information on how Windows breaches your privacy and how you might try to control it (it’s almost futile btw).

Secondly, Microsoft has stripped us of the ability to control Windows updates. It was ostensibly done to improve the user experience by keeping the system up to date and perhaps malware free, but the truth is that the built-in antimalware protection in Windows is simply horrible (according to various AV comparisons, Microsoft Essentials misses over 20% of in-the-wild malware) and said updates mean nothing for security because over 90% of infections happen due to the user’s actions (like downloading and installing dubious applications). No Windows update can prevent such a behaviour.

Thirdly, as Microsoft has stated multiple times, Windows 10 will not have any service packs. Windows 10 is the final version of Windows, because Windows 10 has become a service, it will be updated over time to bring new features and remove the old ones. The Windows 10 you might have updated to in July 2015 will be a different OS from Windows 10 plus all its updates a year later.

Let me say that I’ve always been a big fan of Windows because Microsoft does care about compatibility, vs. many other tech companies that break backward compatibility all the time. However I’ve always felt that there are no resources or articles on the web which dig deep into Windows’ problems and therefore I wrote this very concise essay. Mind that it was not created to say that Linux is better (it’s definitely not). It was created to stop Microsoft fans roaring in regard to Windows 10 and how it’s better than Windows 7 in every regard – it’s actually worse in most regards aside from DirectX 12 (which is actually hidden from the user and is only exposed in games).

You may probably want to know why Windows 10 feels so buggy. Here’s a very nice quote:

Full Disclosure: I worked at M$ from 2014-2015.

MS has some very talented programmers. They’re not very common, but they exist. The problem is that the entire company is completely and totally focused on developing an absurd number of new features and products, giving them completely unrealistic deadlines, and then shipping software on those deadlines no matter how half-assed or buggy it is.

The idea is that everything is serviceable over the internet now, so they can just “fix it later”, except they never do. This perpetuates a duct-tape culture that refuses to actually fix problems and instead rewards teams that find ways to work around them. The talented programmers are stuck working on code that, at best, has to deal with multiple badly designed frameworks from other teams, or at worst work on code that is simply scrapped. New features are prioritized over all but the most system-critical bugs, and teams are never given any time to actually focus on improving their code. The only improvements that can happen must be snuck in while implementing new features.

As far as M$ is concerned, all code is shit, and the only thing that matters is if it works well enough to be shown at a demo and shipped. Needless to say, I don’t work there anymore.

In a new, not that unexpected, turn of events Microsoft now foists ads as part of … security updates for Windows 7 and 8/8.1 (See KB3139929, which says nothing about this new “feature”). People were afraid but never believed it would happen. It now has.

So, there are two kinds of issues with the Windows operating system created by Microsoft. The first kind are the issues intrinsic to every Windows version starting from Windows Vista (XP is out of circulation and support so let’s forget about it). Items in grey below are either outdated or no longer relevant.

Problems which are present in every version of Windows for PC

Devastating Windows rot (might be solved in future Windows releases if developers switch from Win32 to UWP).
No enforced file system and registry hierarchy (I have yet to find a single serious application which can uninstall itself cleanly and fully). The $USER directory in Windows, specially in Windows 10, is an inexplicable mess.
svchost.exe (the whole philosophy of preserving RAM this way became outdated years ago).
No true safe mode (rogue applications may easily run in it).
No clean state (for most OEM installations out there). This will be finally solved in new Windows 10 builds.
The user as a system administrator (thus viruses/​malware – most users don’t and won’t understand UAC warnings).
No good packaging mechanism (MSI is way too fragile).
No system-wide update mechanism (which includes third party software – to be fair there are third party applications which offer this functionality, but then such applications don’t support core Windows updates).
In certain cases it’s extremely difficult to find or update drivers for your hardware devices (anyone who’s tried to install a fresh Windows onto their laptop will testify).
Windows is extremely difficult to debug (e.g. try finding out why your system is slow to boot).
Windows boot problems are too often fatal and unsolvable unless you reinstall from scratch.
Windows is hardware dependent (especially when running from UEFI).
Windows updates are terribly unreliable, very slow (to install) and they also waste disk space. The only released Windows 7 SP1 cumulative update, totally breaks the Windows Updates service (the worst piece of software in human history). This issue is now two months old and Microsoft doesn’t even apologize for it. Literally billions of watts of energy are spent and they don’t give a damn! Did Microsoft fire everyone in their QA/QC department?
Windows cannot replace system DLLs on the fly and restart corresponding services which depend on said DLLs due to its architecture. As a result some system updates require multiple reboots (innocuous malevolence in me requires to mention that in Linux you can even update the kernel on the fly).
Windows keeps trying to reinstall failed updates over and over (in certain cases every such cycle of “updating” can render your PC disabled for hours!).
There’s no way to cleanly upgrade your system (there will be thousands of leftovers), etc.
The Windows OS installer doesn’t give a damn about other OSes installed on your PC and it always overwrites the MBR. In case of already existing Windows installations, it sets the newly installed Windows as the default OS – no questions asked. In case of UEFI, booting of other non-Windows OSes is unsupported and Windows actively prevents this.
WinSxS, though a neat idea, turned into some madness: Windows keeps the versions of files the user won’t ever need: for instance the English version of Windows will have copies of files for many other languages irrespectively of the chosen locale or MUI.
Cryptic error messages (considering the size of the OS, >9GB as of Windows 10, this practice is simply ridiculous).
Most malware writers target Windows as the most popular desktop OS, so it has the biggest number of viruses among all other OSes (over five thousand new viruses daily).
Windows loves thrashing your HDD.
Microsoft programmers are still unable to cope with NTFS fragmentation twenty-five years after its introduction. To make things worse most Windows applications do not preallocate files thus they contribute to fragmentation even more.
Windows anti-virus products oftentimes make your PC less safe – so if you want perfect security and privacy, stop using Windows and migrate to Linux right away. OEM updaters make your PC wide open for attacks.
Microsoft has recently decided that you will no longer be able to download certain Windows updates manually. You’ll only be able to get them via Windows Update.
“sfc /scannow” is offered as a solution to most Windows Update Service and Microsoft Installer Service errors, yet in 95% of cases it’s totally ineffective.
Windows does not allow you to use any partitions other than the first one on your removable USB flash drive. There’s no logic or explanation behind this totally ridiculous and artificial limitation.
Windows does not automatically clean temporary files ever, however it must do that for every reboot/power cycle.
The generic drivers Windows comes with are not always compatible with the wide range of existing hardware. Since Windows has a habit of replacing your vendor’s drivers with its own newer drivers your hardware may stop working correctly after upgrading to a newer Windows release (remember that Windows 10 is a codename for major different operating systems, e.g. like Windows Vista vs Windows 7 in the past).
Windows doesn’t support a hybrid MBR/GPT partitioning scheme.
Microsoft has gone crazy: Windows 10 is now a recommended update for all Windows 7/8.1 users unless you’re running their Enterprise versions. That means your computer will automatically update to Windows 10 unless you either disable the Windows Update service completely or set Windows updates to the manual mode.
In May 2016 Microsoft started deceptively updating users’ PCs to Windows 10 regardless of your Automatic Windows Updates settings or the way you interact with the GWX application.
A finnish translation of the above list can be read at keskustelu.suomi24.fi.

Now the second kind of issues is intrinsic to Windows 10 only

Windows 10 spies on you and even more so on your children aka phones home (welcome NSA/CIA/thoughtcrime/1984)! Microsoft added spying features to Windows 7/8.1 as well (more general list). Microsoft officially admits that automatic spying cannot be disabled in Windows 10.
The official Microsoft guide on Windows 10 telemetry settings contains this beautiful tidbit: “Ability to gather user content, such as documents, if they might have been the trigger for the issue”. Now, Microsoft states that user files can be requested only on the “Full” level of telemetry, however you need to bear in mind that this feature is built-in, it’s remotely triggered, and it can be used to get any of your data any time they want.
In April 2017 Microsoft published a list of things it’s collecting from your PC at the basic telemetry setting (Web Archive copy).
Wow, just wow: Microsoft now openly publishes its collected data in regard to Windows 10 users:
“Over 44.5 billion minutes spent in Microsoft Edge across Windows 10 devices in just the last month” – we spy on Edge users.
“Over 82 billion photos viewed within the Windows 10 Photo app” – you’re using our Gallery app, right? Great!
“Gaming continues to grow on Windows 10 – in 2015, gamers spent over 4 billion hours playing PC games on Windows 10” – we now know what apps you’re running and for how long.
Starting October 2016 telemetry (spying) became impossible to disable in Windows 7 and 8.1 because Microsoft changed the way it distributes updates for those two operating systems.
Windows 10 Enterprise, which is the only version where ostensibly telemetery can be fully disabled, is still contacting various data collection servers despite your privacy settings.
Microsoft’s EULA grants Microsoft the rights to use any of your content related to the services like Bing, Cortana (a built-in file indexer and search in Windows 10), OneDrive or Skype: “you grant to Microsoft a worldwide and royalty-free intellectual property license to use Your Content”. You can read Microsoft’s response here which paints everything in a positive light however after Snowden’s leaks it’s hard if not impossible to take them seriously.
Microsoft pushes Windows 10 so hard it actually started spreading FUD even about its own older OSes:
Microsoft started lying through their teeth about Windows 7: “We do worry when people are running an operating system that’s 10 years old that the next printer they buy isn’t going to work well, or they buy a new game, they buy Fallout 4, a very popular game, and it doesn’t work on a bunch of older machines. And so, as we are pushing our software vendors and hardware partners to build great new stuff that takes advantage of Windows 10 that obviously makes the old stuff really bad and not to mention viruses and security problems”.
Egregious lying continues: Microsoft falsely states that newer Intel and AMD CPUs will only be supported by Windows 10. If that were actually true you wouldn’t be able to run MS-DOS on Intel Skylake yet you can, perfectly (edit: later, Microsoft reneged on not supporting Skylake CPUs). Perhaps they are talking about new advanced features of the said CPUs, but their wording means the opposite: like you cannot physically run any older Windows releases on these new CPUs.
Microsoft is getting desperate: the users of Intel Kaby Lake CPUs and AMD Ryzen CPUs will no longer receive Windows 7/8.1 updates at all. More information.
Microsoft unlawfully forced its hardware partners (Intel and AMD) to stop supporting previous versions of Windows; that’s why you can’t use your integrated Gen 7 Intel/AMD Raven Ridge graphics in Windows 7/8.1 (inf modification hacks notwithstanding).
Microsoft started interrupting Chrome and Firefox installations to promote Edge in Windows 10.
Microsoft desperately wants to install Windows 10 on pretty much all computers running Windows 7/8/8.1, even though some older hardware is not compatible with Windows 10 due to missing drivers. In certain cases, drivers for Windows 10 are buggy and incomplete, which means after upgrading you end up with a broken PC you cannot use or its features don’t work like they should.
Microsoft has lost its mind and they now aggressively try to foist/force Windows 10 on unsuspecting users. Oh, it’s now official: they will forcefully install it everywhere they can in 2016.
Windows 10 will forever be beta software (specially after they fired a large chunk of their QA/QC department and instead delegated testing to the insiders):
A new model of development with no Windows 11 in sight.
Two Control Panels (read below).
Microsoft hides the information about Windows 10 updates, so oftentimes you won’t even know what certain updates are aimed to fix or improve. Also Windows 10 updates may have unintended consequences and unannounced changes in behaviour (it’s already been confirmed).
Microsoft sometimes pushes half-baked updates which kill end-users’ PCs or cause a lot of damage (this is a wonderful read). Make sure you also read an article about the clusterfuck called Anniversary Update – there are numerous reports that the installer kills all the partitions which Windows doesn’t know about (Linux users beware).
August 2016 anniversary update broke millions of web cameras.
September 2016 security update broke print functionality for certain users.
December 2016 update broke the DHCP service (read Internet connection) for many users.
GWX application updates the PCs which are incompatible with Windows 10 because there are no drivers available for PC components or periphery devices like printers/scanners/etc.
You’ve got no real control over crucial features of the OS:
Windows 10 will have no service packs which means it will always be a work in progress and you are a perpetual beta tester.
Forced updates you cannot opt out of (and Microsoft have borked quite a lot of them recently so prepare to see your Windows die after installing a new batch of updates – actually Microsoft has already borked one update, read horror stories about KB3081424). In December 2016 Chris Capossela, chief marketing officer at Microsoft, admitted that the company had gone too far with the way Windows updates are distributed.
Safe Mode has become impossible to access unless you’ve booted into … the running OS, which totally defeats its purpose. Also Safe Mode is hidden behind almost a dozen of steps vs. a single F8 key press on boot in every Windows version from 95 to 7.
Windows 10 anniversary update makes it very difficult (read impossible for average users) to disable Cortana.
Windows 10 violates basic networking principles: it ignores the hosts files, the DNS protocol and firewall rules and sends telemetry data regardless.
Microsoft says that there will be at least two service updates (or whatever their names are) for Windows every year, and each update is basically a new version of Windows, so:
Twice per year you may reinstall software deemed not required by Microsoft.
Some features you grew dependent on will be removed without providing any alternatives.
Your preferences will be reset to default, so you’ll need to go through them regularly.
Some Metro applications will be reinstalled if you deleted them previously. New wonderful Metro applications will be installed.
Expect your group policy settings and tweaks to be completely removed or changed and the only way to get them back is to upgrade to Windows 10 Enterprise.
Certain software titles and drivers will cease to work.
Windows 10 features terrible UI inconsistency, not limited to: Windows Evolution.
Click to view the full image
Two kinds of font antialiasing (ClearType v2 for classic applications and some awful dirty grayish something for Modern apps). Truth to be told it’s not a problem with HiDPI monitors but few people own them.
All kinds of varying visual decorations and styles (some people have discovered up to seven varying styles in Windows 10).
Absolutely dissimilar classic and modern (PC settings) control panels.
Different font faces and sizes all around.
Different styles of settings for modern apps.
Absolutely different context menus and their appearance in different applications and apps.
Terrible hardly-configurable appearance, dubious design choices and extremely limited functionality (vs Windows 7/XP):
Two Control Panels with absolutely zero thought given to how they differ and why each one should be used.
Some Control Widgets are spread between the two Control Panels which is utterly confusing (e.g. User Management).
No Windows classic UI for windows decorations. Windows decorations can hardly be configured at all in Windows 10.
An awful choice of colors/palette.
Absolutely awful, childish and amateurish icons (the current release features slightly better icons) as if we live in the era of eight-bit displays (only rivalled by those in Windows 3.1 from 1992). Windows 2000 in 1999 looked better than Windows 10 in 2015.
A big number of Windows 10 apps are still NOT on par with their classical counterparts from Windows 7/Vista/XP (many features are missing or many options are not configurable).
The start menu is an unusable abomination. Sometimes classic Win32 applications are not listed anywhere. Applications are listed as a list which is nigh impossible to scroll.
Windows 10 sucks terribly if you are an unlucky user of a metered Internet connection:
It features huge mandatory system and apps updates (you cannot disable them, you can only postpone the system reboot after their installation). A note for smug commentators: certain home users/companies use a 3G uplink connection (for instance via a router which supports USB 3G modems), which means Windows 10 doesn’t and cannot know how it’s connected to the Internet.
By default it uses your free bandwidth to distribute updates to other users nearby you.
As if it wasn’t enough, Windows 10 gets downloaded automatically if you run Windows 7 or 8.1. We are talking about 3-6 gigabytes of data some people absolutely do not need.
Windows 10 Pro edition has become more or less unsuitable for small enterprises because Windows 10 anniversary update removes the ability to disable the following “features” (more like annoyances):
Microsoft Consumer Experience: personalized recommendations or, in simple terms, ads in the start menu.
Windows Tips.
The Lock Screen.
Disable all apps from the Windows Store.
To disable these “features” you will have to purchase a subscription for Windows 10 Enterprise or Education editions.
Interesting (read awful) features for developers and power users:
Visual Studio 2015 C++ compiler secretly inserts telemetry code into binaries.
Windows 10 anniversary update blocks all drivers which are not signed by Microsoft. At the moment the ext2fsd driver and VirtualBox will cease to function.
In Windows 10 certain not-so-old games and applications either do not work or have severe problems (old StarForce drivers are not supported).
Windows 10 shows full-screen ads on your lock screen.
A new shocker: Windows 10 installs apps behind your back without your approval. The first Windows anniversary update without asking first reinstalls Skype and auto-logins you.
Windows 10 resets your default applications to built-in Microsoft’s ones after each major update.
As has already been mentioned, different Windows 10 releases are different operating systems altogether, so Microsoft is “free” to deprecate the support for your hardware even if it came with Windows 10 preinstalled. So, Microsoft decided it no longer wants to allow new Windows releases on PCs having an Intel Clover Trail Atom CPU inside.
A newly-created user profile weighs over 300MB (!) while containing zero (!) information about the user.
A newly-created user profile is populated with all the default apps instead of giving the user a choice.
With Wi-Fi sense enabled anyone you have in your Skype, Outlook or Hotmail contacts lists — and any of your Facebook friends – can be granted automatic access to your Wi-Fi network as long as they’re within range.
March 2017 update: Windows Explorer now shows ads for OneDrive.
Some ways to fix/configure Windows 10

Do not install it or upgrade to it if you’re running Windows 7/8.1. If you did, read further.
Install Classic Shell aka Windows 7 (XP) Start Menu for Windows 10.
Uninstall/remove most built-in Metro/Modern apps in Windows 10 (quiet a lot of them are immutable and cannot be uninstalled no matter what):
Fire up an administrator’s PowerShell (Start -> Search -> Power -> Right mouse click -> Run as Administrator).
Run (copy and paste):
Get-AppXPackage -User | Remove-AppxPackage (remove the user’s apps)
Get-AppXPackage -AllUsers | Remove-AppxPackage (remove all system-wide apps)
Disable Windows 10 most spying/tracking/call home features – for deep cleaning use more powerful (and equally dangerous) utilities.
You can disable the built-in torrent-like/bandwidth sharing feature by going to the Start Start button icon Win Logo, then Settings > Update & security > Windows Update, and then select Advanced options.
The other things mentioned above cannot be fixed unfortunately (UI inconsistency, two Control Panels, very little UI customizability, disabling of updates, etc.).
Why was Windows 10 spyware? (stopped being so after July 29, 2016)

Because it has all the attributes of spyware:

Downloads itself to your machine without you specifically asking for it? YES
Aggressively attempts to install itself taking over your computer in the process? YES
Sends unknown and/or encrypted data to known and unknown third parties? YES
Sends personally identifying information to known and unknown third parties? YES
Difficult to remove? YES
In short, it looks like spyware, smells like spyware, walks like spyware and talks like spyware. Windows 10 is spyware.

As a bonus, Windows 10 has the features of a PUP: it shows ads in the start menu including full-screen ads on the lock screen.

Busting Windows 10 myths

There seems to be a good number of myths which are spread on pro-Microsoft forums and websites and I want to take a bit of your time to debunk them.

Windows 10 is more secure than any previous version of Windows

Um, sorry, this is largely baloney. Windows 10 offers exactly zero new protection mechanisms to the end user vs. Windows 7/8.1. I haven’t forgotten that Windows 8.1/10 apps run in a sandbox environment and they are all verified by Microsoft, that’s true, but most of them are made purely for content consumption (so they won’t cut it for the power users), besides people will still relentlessly download executables from the Internet and run them. Normally you should never run Windows without a decent antivirus installed (Microsoft Security Essentials is not an AV your can rely on, in fact you’re crazy if you believe it protects you). Head to AV-comparatives and check out their real world tests to see what’s best for you. According to various AV comparisons, MS Security Essentials misses over 10% of the in-the-wild viruses (i.e. over five hundred new viruses every day).

The truth is there are some new security features but they are invisible for most users out there.

Windows 10 is a more modern OS

Hey, what does it mean it’s more modern? How exactly do Windows 7 and 8.1 differ from Windows 10? This is yet another largely unfounded claim from the Microsoft fanboys. DirectX 12? There are still no games which are exclusive to this graphics API (as of July 2016). 99% of the games which are being published at the moment will be DirectX 9/11 games, so your Windows 7/8.1 system will run them perfectly. Unfortunately some new games will require Windows 10 but those are Microsoft-sponsored titles created to push Windows 10. Edit: Quantum Break was released on Steam on 08.10.2016 and now it only requires Windows 7/D3D11. There’s a slight chance that Vulkan will become more popular but so far that hasn’t been the case. Vulkan is supported on all modern operating systems.

Edit July 19, 2018: Windows 10 contains a lot of new features for power users, like the advanced command prompt, the Linux subsystem, very neat Task Manager but almost all of them aren’t crucial for the average user.

Windows 10 is faster

According to this, this and this there’s no discernible difference between Windows 7, 8.1 and 10. Windows 10 features improved memory handling for certain multithreaded applications like WinRAR, but most other applications have the same performance.

“I have installed Windows 10 and it feels faster”, right, like with every Windows release it feels fast when you install it from scratch. Then, strangely, it slows down significantly.

I have nothing to hide – let them track me!

Robin Doherty has a nice piece on this issue: “Why privacy is important, and having ‘nothing to hide’ is irrelevant”. Also you might want to read about the implications of real-life surveillance.

Here’s an insightful comment I cannot agree more with:

“Microsoft has given themselves the right to do remote administration and data gathering … and for all but the ones which can select Security, they’ll do it in such a way that they can personally identify you. Oh, and apparently they’ll gather some of your documents as well. No fucking way we can trust them with this, because as soon as they have the ability to tell your computer to package up some data and send it to them, some asshole in law enforcement is going to demand they misuse it. And don’t say they won’t, because that’s exactly the kind of shit law enforcement and the security agencies are doing. No way they won’t show up with an NSL demanding information and forbidding Microsoft from admitting to it.”

I’ve got Windows 10 preinstalled on my PC/laptop, I hate it, what should I do?

If you do value your freedom, privacy and ability to control your OS, not the other way around, you’ve get these options: © 2017 Frode Lindeijer. Licensed under CC0 1.0.

Downgrade to Windows 8.1 or even better to Windows 7 which contains zero privacy invasion features. Make sure you have automatic updates set to “Check for updates but let me choose whether to download and install them”. Review and research every non-security update before installing it. Also you might want to disable telemetry bits and upgrade elements in Windows 7/8.1 – use with caution.
If everything you do on your PC is web browsing, watching online videos and listening to online music, give Linux a try. You don’t even have to install it to try it – it can be trivially run from your USB flash drive without touching your OS or personal data. Linux is slowly becoming a nice alternative to Windows.
Migrate to MacOS. This is the most expensive option but the most viable at the moment because Linux is not exactly perfect.
Free upgrade to Windows 10 (updated)

How to save money and upgrade to Windows 10 for free after the free upgrade offer expires? Activate any assistive technology in your Windows 7/8.1, for instance, click Win Logo + U and enable the onscreen keyboard and follow this link.

Officially in January 2018 Microsoft ended this offer. But not really – read on.

Update: it turns out the offer is still valid and you can upgrade to Widnows 10 for free if you own a copy of Windows 7 or 8. I’ve just saved you up to $199.

In conclusion

Just before you call me anti-Microsoft, a Linux shill, zealot or fanatic, here’s a wonderful list of Linux problems that I’ve been compiling over the past six years. The truth is I don’t plead allegiance to any OS on the market. So, sorry, Windows 10 sucks no less than Linux sucks, it just sucks differently. So far, Microsoft has had two great modern OSes: Windows XP and Windows 7 (in the past they had rock-solid Windows NT 4.0 and Windows 2000).

I have no opinion on MacOS X, because I’ve never had a chance to use it, however from what I’ve seen on screenshots, this OS has the worst font antialiasing among any existing OSes – I actually refuse to try it because I don’t want to hurt my eyes.

I’m not a journalist and I’ve never been one.

P.S. If you want to reinforce your love towards Microsoft and Windows 10 go to neowin.net – this website has thousands of raving idiots who dribble and moan with excitement over everything made by Microsoft.

Some guy from game-debate dot com rewrote this article in an easy-to-understand way.

 

 

 

Advertisements

Arduino Mega 2560 quickref


repost from:

https://arduino-info.wikispaces.com/MegaQuickRef

Arduino / YourDuino MEGA 1280 and 2560 Diagram and Pinouts:

You can get the YourDuino Mega2560 HERE

COMPARISION of different Arduino/Yourduino boards:

Brand HHName (link) HHProcessor HHOperating Voltage Input Voltage Range CPU Speed Analog In Digital IO PWM EEPROM [kB] SRAM [kB] Flash [kB] USB SERIAL UART
Arduino Mega 2560 ATmega2560 5 V 7 -12 V 16 MHz 16 54 15 4 8 256 Regular 4
Arduino Uno ATmega328P 5 V 7 12 V 16 MHz 6 14 6 1 2 32 Regular 1
YourDuino RoboRED ATmega328P 5 V 7 – 20 V 16 MHz 6 14 6 1 2 32 Mini 1

Mega2560_R3_Label-small-v2 (2).png
Arduino MEGA 2560 V3 Schematic Diagram (Click to enlarge):

LAYOUT DIAGRAM AT BOTTOM OF PAGE..

POWER PINS:

Detailed Power Considerations HERE
VIN. The input voltage to the Arduino board when it’s using an external power source (as opposed to 5 volts from the USB connection or other regulated power source). You can supply voltage through this pin, or, if supplying voltage via the power jack, access it through this pin.

5V. This pin outputs a regulated 5V from the regulator on the board. The board can be supplied with power either from the DC power jack (7 – 12V), the USB connector (5V), or the VIN pin of the board (7-12V). Supplying voltage via the 5V or 3.3V pins bypasses the regulator, and can damage your board. We don’t advise it.

3V3. A 3.3 volt supply generated by the on-board regulator. Maximum current draw is 50 mA.

INPUT AND OUTPUT:

Each of the 54 digital pins and 16 analog pins on the Mega can be used as an input or output, using pinMode(), digitalWrite(), and digitalRead() functions. The analog pins will sample voltage levels and report a digital value using analogRead(). Analog pins and a subset of the digital pins do Pulse Width Modulation (PWM) using analogWrite().

Each pin operates at 0 to 5 volts, can provide or receive an absolute maximum of 40 mA (20mA recommended), and has an internal pull-up resistor (disconnected by default) of 20-50 kOhms. See ARDUINO PIN CURRENT LIMITATIONS: Be nice to your Arduino!

CONNECTIONS:

It’s difficult to manage connections and cabling to so many Inputs and Outputs. The Mega Sensor Shield HERE makes it easier.

SPECIALIZED FUNCTIONS:

Serial: 0 (RX) and 1 (TX); Serial 1: 19 (RX) and 18 (TX); Serial 2: 17 (RX) and 16 (TX); Serial 3: 15 (RX) and 14 (TX). Used to receive (RX) and transmit (TX) TTL serial data. Pins 0 and 1 are also connected to the corresponding pins of the USB-to-TTL Serial chip.

External Interrupts: 2 (interrupt 0), 3 (interrupt 1), 18 (interrupt 5), 19 (interrupt 4), 20 (interrupt 3), and 21 (interrupt 2). These pins can be configured to trigger an interrupt on a low value, a rising or falling edge, or a change in value. See the attachInterrupt() function for details.

PWM: 2 to 13 and 44 to 46, provide 8-bit PWM output with the analogWrite() function.

SPI: 50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS). These pins support SPI communication using the SPI library. The SPI pins are also broken out on the ICSP header, which is physically compatible with the Uno, Duemilanove and Diecimila.

LED: 13. There is a built-in LED connected to digital pin 13. When the pin is HIGH value, the LED is on, when the pin is LOW, it’s off.

I2C/TWI : 20 (SDA) and 21 (SCL). Support I2C aka IIC aka TWI communication using the Wire library. Note that these pins are not in the same location as the TWI/I2C pins on the Duemilanove or Diecimila.

ANALOG PINS:

The Mega has 16 analog inputs, each of which provide 10 bits of resolution (i.e. 1024 different values). By default they measure from ground to 5 volts, though is it possible to change the upper end of their range using the AREF pin and analogReference() function.

All analog pins do analog output using PWM. You can’t set an analog pin to a specific voltage; PWM just adjusts the duty cycle of a square wave alternating between 0v and +5v so that the average over time appears between 0 and +5v.

The Analog input pins can also be used as Digital Input or Output pins. Just use A0 through A15 for a pin name where you would use a digital pin number.

Other pins on the board:

AREF: Reference voltage for the analog inputs. Used with analogReference().

RESET: Bring this line LOW to reset the microcontroller. Typically used to add a reset button to shields which block the one on the board.
MEGA PINOUT DIAGRAM: THANKS! to Nantonos

 

MegaPinOut

By-laws Mandating Length of Tenancies are Invalid


In brief: With the increasing popularity of Airbnb accommodation services and recently proposed legislative changes in Victoria, there are a number of recent cases and issues to consider that have arisen with short-term letting and owners corporations.

Court found by-law which mandated the length of residential tenancies was invalid

In Macleay Tower & Villas [2017] QBCCMCmr 12, the body corporate passed a resolution to include a new by-law which provided that any residential tenancy in the scheme shall be permitted only for a minimum term of three months.
The issue before the adjudicator was whether this by-law was valid and enforceable. The issue considered was whether short-term tenants are occupiers under the Body Corporate and Community Management Act 1997 (Qld) (BCCM Act), and whether they use the property for ‘residential purposes’.
Section 180(3) of the BCCM Act states that if a lot may lawfully be used for residential purposes, by-laws cannot restrict the type of residential use. Additionally, section 180(1) of the BCCM Act states that if a by-law is inconsistent with the BCCM Act, it is invalid.
The adjudicator found that short-term tenants were occupiers under the BCCM Act, based on past decisions of adjudicators and QCAT Short-term tenants were also found to put the property to residential use, based on the definition of ‘residential property’ in Schedule 6 of the BCCM Act.
As a result of these findings, it was ordered that the part of the by-law which mandated the length of residential tenancies was invalid and should be removed from the by-law.
There have also been several Victorian cases concerning these issues, the most significant being Salter v Owners Corporation PS501391and Owners Corporation v Balcombe [2016] VSC 384.

The Court found that owners corporation could not prevent short-term occupants from accessing common recreation areas

In Salter v Owners Corporation PS501391P, it was found that an owners corporation [equivalent to the body corporate in Queensland] of an apartment complex could not prevent short-term occupants having access to common recreation areas, as the proposed reason for preventing access was not for the purpose of security or to protect common property.
Short-term occupants were subsequently allowed to access all the common areas of the apartment complex except the gymnasium area. This was because there was a valid by-law created by the Owners Corporation which mandated that any person who wanted to access the gymnasium area had to undergo an induction by a personal trainer.

Owners do not have the power to prohibit short-term letting

In Owners Corporation v Balcombe [2016] VSC 384, it was found that an owners corporations did not have the power to prohibit short-term letting.
In the Supreme Court of Victoria, Justice Riordan found that a rule created by the owners corporation of an apartment complex to prohibit short-term letting was inconsistent with the powers that Parliament intended owners corporations to have, as per the Owners Corporation Act 2006 (Vic).

Additionally, Justice Riordan found that the Subdivision (Body Corporate) Regulations 2001 (Vic) did not confer the power to regulate this sort of conduct on the Owners Corporation.

Legislative changes impacting short-term or short-stay letting including Airbnb

The most significant changes in this area are happening in Victoria, due to decisions being handed down in the above high-profile cases and the introduction of theOwners Corporation Amendment (Short-stay Accommodation) Bill 2016 (Bill).
The Bill defines a “short-stay accommodation arrangement” as a “lease or a licence for a maximum period of 7 days and 6 nights to occupy a lot or a part of a lot affected by an owners corporation.”
The Bill provides that owners or occupiers of a lot can make a complaint to the owners corporation about the conduct of a short-stay occupant (s 159A(1)). If the owners corporation decides to take action against the occupant, they must give notice of the conduct to the lot owner and/or the short-stay provider. The notice must specify the alleged conduct, the person to whom it is given and that they are required to rectify the conduct.
With the Bill giving new powers to the Victorian Civil and Administrative Tribunal (VCAT), the owners corporation can now also apply to VCAT to try and resolve the dispute in relation to the conduct of the short-stay occupant. The following orders can be granted:
  • Prohibition order, which prohibits the use of a lot or part of the lot
  • Civil penalty order (maximum penalty $1,100)
  • Loss of amenity compensation order in favour of an occupier of another lot which can be made for conduct which interferes with the other occupier’s ability to peacefully enjoy their lot and common property, such as:
  • creating loud noises
  • behaving unreasonably
  • unreasonably obstructing other occupiers from enjoying common property
  • using a lot or common property in a way that causes a hazard to the health and safety of another occupier
The maximum compensation that can be awarded is $2,000 to each affected occupier for each breach.
The owners corporation must report any complaints about short-stay occupant conduct to the annual general meeting.
The Bill has been passed by the Legislative Assembly, but has not yet been passed by the Legislative Council. The Legislative Council referred the Bill to the Environment and Planning Committee, who published an inquiry into the Bill in June 2017. The inquiry stated that the Bill did not address many key issues adequately, so further amendment of the Bill is likely.
Recently there has been an inquiry into the adequacy of short-term letting regulations in New South Wales. In response to the inquiry, the New South Wales Government has agreed to consider amendments to strata regulations to give owners corporations more powers to manage and respond to adverse behaviour resulting from short-term letting. The New South Wales Government has also decided to review the impact of short-term letting in the strata environment in five years’ time.
It still remains to be seen whether something similar to the Victorian Bill will be proposed to the Queensland Parliament.
This article has been published by Colin Biggers & Paisley for information and education purposes only and is a general summary of the topic(s) presented. This article is not specific legal advice. Please seek your own legal advice for any questions you may have. All information contained in this article is subject to change. Colin Biggers & Paisley cannot be held responsible for any liability whatsoever, or for any loss howsoever arising from any reliance upon the contents of this article.​

By-Laws prohibiting Airbnb are invalid


In Macleay Tower & Villas [2017] QBCCMCmr 12, the body corporate passed a resolution to include a new by-law which provided that any residential tenancy in the scheme shall be permitted only for a minimum term of three months.

Court found by-law which mandated the length of residential tenancies was invalid

The Court found that owners corporation could not prevent short-term occupants from accessing common recreation areas

Owners do not have the power to prohibit short-term letting

Source:

Setting up apache httpd and subversion on a redhat host to integrate with Windows AD Domain authentication


The following setup worked for me:

1 using kerberos for the auth module: mod_auth_kerb.so.

I tried to use mod_ntlm but it proved too hard to get it to work on Apache 2.2 on redhat.

I have the following in /etc/krb5.conf:

[libdefaults]
clockskew = 300
default_realm = AAA.BBB.XXX.COM

[realms]
AAA.BBB.XXX.COM = {
kdc = pdc01.aaa.bbb.xxx.com
default_domain = AAA.BBB.XXX.COM
kpasswd_server = pdc01.aaa.bbb.xxx.com
}

[domain_realm]
server01.www.yyy.xxx.com = AAA.BBB.XXX.COM
.yyy.xxx.com = AAA.BBB.XXX.COM
.xxx.com = AAA.BBB.XXX.COM
xxx.com = AAA.BBB.XXX.COM


With that I am to run kinit and get kerberos ticket from the redhat host.

And my /etc/httpd/conf/httpd.conf has:


DAV svn
SVNPath "/path/to/svn_repo"

AuthType Kerberos
AuthName Kerberos
KrbMethodNegotiate Off
KrbMethodK5Passwd On
KrbServiceName Any
KrbAuthRealms AAA.BBB.XXX.COM
KrbSaveCredentials on
KrbLocalUserMapping on
# The last bit I had to fix to get this working:
KrbVerifyKDC Off

AuthzSVNAccessFile /path/to/svn_access_file
require valid-user

Using this setup I can get users to authenticate against the corporate active directory domain controller to access Subversion.

My apache httpd version: 2.2.15
My subversion svn version: 1.6.11

installing and running beeline client


I work with a Hortonworks HDP 2.5 distro of Big Data hadoop/hiveserver2. I have been wondering for sometime now what it would take to run beeline client on another machine to connect to Hive or Knox.

After some work, I managed to get beeline client running with a minimal set of jar files on another machine outside of the cluster. The crucial bit was identifying the set of jar files involved using the jvm option: -verbose:class

After collecting the necessary jar files, beeline can be started using a java commandline.

java -Xmx1024m -classpath apache-log4j-extras-1.2.17.jar:avatica-1.8.0.2.5.0.0-1245.jar:calcite-core-1.2.0.2.5.0.0-1245.jar:calcite-linq4j-1.2.0.2.5.0.0-1245.jar:commons-cli-1.2.jar:commons-codec-1.4.jar:commons-collections-3.2.2.jar:commons-configuration-1.6.jar:commons-lang-2.6.jar:commons-logging-1.1.3.jar:curator-client-2.6.0.jar:curator-framework-2.6.0.jar:derby-10.10.2.0.jar:guava-14.0.1.jar:hadoop-annotations-2.7.3.2.5.0.0-1245.jar:hadoop-auth-2.7.3.2.5.0.0-1245.jar:hadoop-common-2.7.3.2.5.0.0-1245.jar:hadoop-mapreduce-client-core-2.7.3.2.5.0.0-1245.jar:hive-beeline-1.2.1000.2.5.0.0-1245.jar:hive-exec-1.2.1000.2.5.0.0-1245.jar:hive-jdbc-1.2.1000.2.5.0.0-1245.jar:hive-jdbc-1.2.1000.2.5.0.0-1245-standalone.jar:jce.jar:jline-2.12.jar:jsse.jar:log4j-1.2.16.jar:rt.jar:slf4j-log4j12-1.7.10.jar:sunec.jar:sunjce_provider.jar:super-csv-2.2.0.jar:xercesImpl-2.9.1.jar -Dhdp.version=2.5.0.0-1245 -Djava.net.preferIPv4Stack=true -Dhdp.version=2.5.0.0-1245  -Dhadoop.log.dir=/home/userid -Dhadoop.log.file=hadoop.log -Dhadoop.home.dir=/home/userid -Dhadoop.id.str=userid -Dhadoop.root.logger=INFO,console -Djava.library.path=:/home/userid -Dhadoop.policy.file=hadoop-policy.xml  -Djava.net.preferIPv4Stack=true -Djava.util.logging.config.file=/home/userid/parquet-logging.properties -Dlog4j.configuration=beeline-log4j.properties -Dhadoop.security.logger=INFO,NullAppender org.apache.hadoop.util.RunJar /home/userid/hive-beeline-1.2.1000.2.5.0.0-1245.jar org.apache.hive.beeline.BeeLine -n userid -p pass -u "jdbc:hive2://knox.company.com:8000/;ssl=true;transportMode=http;httpPath=gateway/tdcprd/hive"

There was no need to install beeline or any hadoop app.

Java 8 JRE is required.