Android-x86 8.1 Released

Let's see what team has made in the fresh release of Android to x86 port
17 January 2019   1297

The team of the Android-x86 project, which is the independent community porting the Android platform for the x86 architecture, have published the first stable release of the assembly based on the Android 8.1 platform, which includes fixes and additions that ensure seamless operation on x86-based platforms. Universal Android-x86 8.1 Live-builds for x86 32-bit and x86_64 architectures suitable for use on typical laptops and tablet PCs are prepared for download. In addition, assemblies in the form of rpm-packages are available for installing the Android environment in Linux distributions.

Let's check new features:

  • Support both 64-bit and 32-bit kernel and userspace with latest LTS kernel 4.19.15.
  • Support OpenGL ES 3.x hardware acceleration for Intel, AMD, Nvidia and QEMU(virgl) by Mesa 18.3.1.
  • Support OpenGL ES 2.0 via SwiftShader for software rendering on unsupported GPU devices.
  • Support hardware accelerated codecs on devices with Intel HD & G45 graphics family.
  • Support secure booting from UEFI and installing to UEFI disk.
  • A text based GUI installer.
  • Add theme support to GRUB-EFI.
  • Support Multi-touch, Audio, Wifi, Bluetooth, Sensors, Camera and Ethernet (DHCP only).
  • Auto-mount external usb drive and sdcard.
  • Add Taskbar as an alternative launcher which puts a start menu and recent apps tray on top of your screen and support freeform window mode.
  • Enable ForceDefaultOrientation on devices without known sensors. Portrait apps can run in a landscape device without rotating the screen.
  • Support arm arch apps via the native bridge mechanism. (Settings -> Android-x86 options)
  • Support to upgrade from non-official releases.
  • Add experimental Vulkan support for newer Intel and AMD GPUs. (Boot via Advanced options -> Vulkan support)
  • Mouse integration support for VMs including VirtualBox, QEMU, VMware and Hyper-V.

Get more infoand download links at official website of the project. 

Most Popular Java Snippet At StackOverflow is Flawed

The code in question was posted in 2010 and has accumulated over a thousand recommendations, and can be found in 7k GitHub repos
05 December 2019   81

The most popular example of Java code published on StackOverflow turned out to be an error leading to the conclusion, under certain conditions, of an incorrect result. The code in question was posted in 2010 and has accumulated over a thousand recommendations, and has also been copied to many projects and is found in repositories on GitHub about 7 thousand times. It is noteworthy that the mistake was not found by the users copying this code into their projects, but by the original author of the council.

The considered code converted byte size into readable form, for example 110592 converted to "110.6 kB" or "108.0 KiB". The code was proposed as a logarithm-optimized version of the previously proposed tip, in which the value was determined by dividing the initial value in a cycle by 1018, 1015, 1012, 1019, 106, 103, and 100, until the divisor is larger than the original value in bytes . Due to inaccurate calculations in the optimized version (overflow of the long value), the result of processing very large numbers (exabytes) did not correspond to reality.

The author of the council also tried to draw attention to the problem of copying examples without reference to the source and without specifying a license. According to a previous study, 46% of developers copied the code from Stack Overflow without specifying the author, 75% did not know that the code is licensed under CC BY-SA, and 67% did not know that this implies the need for attribution.