Keep OSNews alive by becoming a Patreon, by donating through Ko-Fi, or by buying merch!

Monthly Archive:: May 2018

The soon-to-be-extinct embedded software engineer

Embedded systems have started to become extremely complex. The big push to connect every device to the internet to create the IoT is causing a demand for embedded software engineers that has not yet been seen in recent history. This big push is causing a vacuum in which companies can't find enough embedded software engineers. Instead of training new engineers, they are starting to rely on application developers, who have experience with Windows applications or mobile devices, to develop their real-time embedded software. The problem, of course, is that these engineers don't understand the low-level hardware, but only high-level application frameworks that do all the work for them.

Is this actually true? It's very difficult to gauge this, since most focus when it comes to development is on "sexy" development, such as smartphone applications or websites - there's very little media visibility for lower-level engineering such as embedded developers, kernel engineers, and so on. Since I know how easy it is to fall into the trap of believing that everything was better in the past, I genuinely wonder if this is really actually a problem, or that we just perceive it as such.

Bitcoin to use 0.5% of world’s electricity by end of 2018

The bitcoin network is run by miners, computers that maintain the shared transaction ledger called the blockchain. A new study estimates that this process consumes at least 2.6GW of power - almost as much electric power as Ireland consumes. This figure could rise to 7.7GW before the end of 2018 - accounting for almost half a percent of the world's electricity consumption.

Bitcoin is - quite literally - destroying our environment. It's erasing the meagre progress we've made on reducing our overal energy consumption, for a glorified Tulipmania.

Selfish Ledger is an unsettling vision of Google social engineering

Google has built a multibillion-dollar business out of knowing everything about its users. Now, a video produced within Google and obtained by The Verge offers a stunningly ambitious and unsettling look at how some at the company envision using that information in the future.

The video was made in late 2016 by Nick Foster, the head of design at X (formerly Google X), and shared internally within Google. It imagines a future of total data collection, where Google helps nudge users into alignment with their goals, custom-prints personalized devices to collect more data, and even guides the behavior of entire populations to solve global problems like poverty and disease.

This is exactly as dystopian and deeply creepy as you think it is. My biggest concern is not that this video exists or that companies such as Google are thinking about this - my biggest concern is that a whole generation of people already seem to accept this as the new normal even before it's a reality.

Evolving Chrome’s security indicators

Previously, HTTP usage was too high to mark all HTTP pages with a strong red warning, but in October 2018 (Chrome 70), we'll start showing the red "not secure" warning when users enter data on HTTP pages.

Seemingly small change, but still hugely significant. Right now, HTTPS pages are marked as secure, and HTTP pages are not marked at all. In the future, HTTPS pages will not be marked, while HTTP pages will be marked as insecure.

The Xbox Adaptive Controller may change gaming forever

The operative word is "adaptive". XAC's potential truly begins with its back-side strip. There, you'll find a whopping 19 ports, all 3.5mm jacks. No, this isn't a giant middle finger to the headphone-jack haters at Apple and Google. Rather, these ports see Microsoft connecting with, and loudly celebrating, what has long been an open secret in the world of gaming peripherals: the community of add-on devices designed for limited-mobility gamers.

Oversized buttons, finger switches, blowing tubes, foot pedals, and other specialized inputs have long been built for gamers who can't hold onto or efficiently use average controllers (gamepads, keyboards, mice). Recent speeches from company heads like CEO Satya Nadella and Xbox chief Phil Spencer have paid lip service to "inclusivity" in computing and gaming, but this device, the XAC, aims to do the trick by connecting niche add-ons to standard Microsoft hardware.

This is a hugely important device for gamers with limited mobility. Nothing but praise for Microsoft for developing a device like this.

Senate votes to reinstate net neutrality

The Senate has voted to save net neutrality, but don’t get your hopes up: there’s still a long, likely impossible journey ahead if the policy is to be saved in the immediate future.

In a 52-47 vote today, senators voted to overturn the Federal Communication Commission’s Restoring Internet Freedom Order, which took net neutrality rules off the books. They were able to do so using the Congressional Review Act, or CRA, which allows Congress to reverse recent decisions by government agencies. Republican control of Congress means that such a measure wouldn’t normally even make it up for a vote; but the CRA allows senators to force a vote by obtaining 30 signatures.

All 49 Democrats voted in favor, as well as Republican Senators Susan Collins, of Maine; John Kennedy, of Louisiana; and Lisa Murkowski, of Alaska.

This is a step in the right direction for the US, but corruption runs deep, so this fight is far, far from over. Still, a victory is a victory.

The desktop belongs to Electron

This doesn’t have to be forever. Maybe in the future, developers will start using React Native to build desktop applications. Or perhaps Flutter! Electron apps have a bad reputation for using too much RAM, have potential security issues, can’t (yet) match the speed of C++, and they often lack the polish and familiarity of a great native app.

But it seems clear to me that OS-specific SDKs are becoming a liability for desktop OS vendors. Developers want to use the technologies they know, and they want maximum reach for the products they build. And they’re smart enough to get what they want. A lack of cooperation on the part of Apple, Google, and Microsoft will only hurt users.

Say hello to your new Electron overlord.

At 33, I'm perhaps staring to show signs of becoming an old man, but I really don't like Electron applications. I use Discord every day, and it just feels slow, cumbersome, and out of place on my virtually 100% Modern/Fluent Design Windows desktop, Surface, and my iPhone X. I greatly prefer proper, platform-specific native applications, but I feel that ship may have sailed with things like Electron and Progressive Web Apps.

I'm not looking forward to this future.

Twitter to intentionally cripple third-party clients

Twitter has long had a strange disdain for third-party Twitter apps, but it's allowed many of them to pass under the radar for the last several years. That's starting to change this summer, when Twitter will revoke a key piece of access that developers currently have to the service, replacing it with a new access system that limits what they can do. The changes aren't going to make third-party Twitter clients useless, but they are going to make the apps somewhat worse.

The changes, which go into effect August 16th, do two main things: first, they prevent new tweets from streaming into an app in real time; and second, they prevent and delay some push notifications. Neither of these are going to break Twitter apps completely, but they could be very annoying depending on how and where you use it.

As good a moment as any to stop using Twitter altogether. Twitter is actively making Twitter worse for those that use Twitter the most and since the longest time, which seems like a terrible business decision. They want us to use their crappy non-chronological, advertisement-ridden first party clients, which in my case simply isn't going to happen. I use Twitter for fun, and these needless changes suck that fun out of it.

Meanwhile, the Nazis are still on Twitter. Just so you know where the company's priorities lie.

AsteroidOS 1.0 released

Four years ago, I envisioned an open-source operating system for smartwatches that would eventually become known as AsteroidOS. This project has steadily grown and gathered contributions from about 100 contributors from all around the world, all united behind the idea of an open wearable platform. When I first started, I never imagined how big this project would become and the quantity of work required to reach a stable version for daily usage.

Today, it is my great pleasure to finally announce the availability of AsteroidOS 1.0, the first stable release of this project!

This is a remarkable achievement. AsteroidOS is a Linux-based operating system using Wayland, Qt5, and various other open source technologies. It is quite full-featured, and currently works on seven Android Wear smartwatches. Sadly, I don't own one of the supported devices, because I'm incredibly curious to try this out.

A collection of Windows 95 UI components for iOS’ UIKit

This is a little exploration into applying '90s-era design & principles into a modern platform with some primitive components. The assets and design metrics were (for the most part) taken from an actual installation of Windows 95. These are pixel-accurate renditions of the original design.

There's something refreshing about seeing Windows 95's controls and widgets running on a modern smartphone.

US carriers selling access to your real-time location data

Four of the largest cell giants in the US are selling your real-time location data to a company that you've probably never heard about before.

In case you missed it, a senator last week sent a letter demanding the Federal Communications Commission (FCC) investigate why Securus, a prison technology company, can track any phone "within seconds" by using data obtained from the country's largest cell giants, including AT&T, Verizon, T-Mobile, and Sprint, through an intermediary, LocationSmart.

Well, at least your messaging app is end-to-end encrypted, right?

A completely silent computer

I've been trying to make my computers quieter for nearly three decades. Custom liquid cooling loops, magnetically-stabilised fluid-dynamic bearings, acoustic dampeners, silicone shock absorbers, you name it. Well, last week I finally managed to build a completely silent computer. Without further ado...

The Streacom DB4 is an amazing chassis and case, which I am considering for one of my next computer builds. This article provides great insight into building such a fanless PC, with links to additional articles about the system later in its lifespan.

Meet Surface Hub 2

Surface Hub 2 was designed from the ground up to be used by teams - to get people out of their seats, to connect and ideate, regardless of location. The new Surface Hub 2 is sleeker, more agile and more affordable to fit any workspace or work style. The gorgeous 4K+ 50.5" multi-touch display creates an inviting canvas to co-create, harnessing the power of Microsoft Teams, Microsoft Whiteboard, Office 365, Windows 10 and the intelligent cloud. The 4K cameras that rotate with the device, integrated speakers and far field mic arrays allow everyone in the meeting to feel as if they are right in the room with the rest of the group, while our standard Surface 3×2 aspect ratio means everyone has more usable space to create and collaborate.

Do I need this? Nope. Can I afford this? Probably not. Do I still want it? Yes!

I love the fact that Microsoft is making products like this. It'll probably be a niche product few of us ever get to experience, but whatever the company develops for and learns from this product will surely benefit the rest of their hardware and software offerings.

DOSBox-CRT

This is just a slightly modified version of the standard DOSBOX emulator. I have just hacked in my own shader which emulates some aspects of old CRT monitors, as I prefer to play emulated games with such a filter, and the built-in dosbox filters are not to my taste. I made this because I wanted it myself, but since I have it I thought I'd share it. There's probably lots of things which could be done better, but it's good enough for my needs right now, so leaving it like this for now.

Not a major news item, obviously, and just one among countless contributions to open source that pass by unnoticed every day, but every now and then, it seems only prudent to highlight one.

AMD launches GPU-equipped Ryzen Pros

The first Ryzen Pros had a major omission, however: they didn't include integrated GPUs. Corporate desktops and laptops, typically used for Office, Web browsing, and other low-intensity tasks, overwhelmingly use integrated GPUs rather than discrete ones; they simply don't need anything more powerful. The need for separate GPUs meant that the first-generation Ryzen Pros had only very limited appeal in their target corporate market.

The new processors, however, follow in the footsteps of the Ryzens with integrated Vega graphics launched in February, pairing a single core complex (CCX; a bundle of four cores/eight threads and a shared level 3 cache) with a Vega GPU. This makes them a complete solution for the corporate desktop.

These Ryzen processors with built-in Vega graphics are great for relatively affordable computer builds designed for simple office work, such as my translation work. Right now, I work and play games on the same machine, but I intend to move work to a separate, lighter computer so I can be a bit more aggressive in updating the hardware in my gaming PC. Ryzen processors with built-in Vega graphics are great for this.

AquilaOS: yet another hobbyist operating system

AquilaOS is a UNIX-like Operating System that started in 2016. Based on another OS I developed and many trials and failures since 2012, it finally came to light.

The goal behind AquilaOS is to make a UNIX-like OS adhering to a quote by K. Thompson in UNIX Implementation.

The kernel is the only UNIX code that cannot be substituted by a user to his own liking. For this reason, the kernel should make as few real decisions as possible. This does not mean to allow the user a million options to do the same thing. Rather, it means to allow only one way to do one thing, but have that way be the least-common divisor of all the options that might have been provided.

From the start, AquilaOS focused on being as transparent and architecture-agnostic as possible. To even raise the challenge, strict compliance with C standard (C99) is a must which allows compiling with "-O3" (strict optimization in GCC) and "-Wall -Wextra -Werror". Currently AquilaOS v0.0.1a is released and awaiting testers and contributors.


Features

AquilaOS is mostly written in C with a few assembly parts when absolutely needed. It consists of a monolithic kernel and a set of user utilities.

Kernel Features:

  • Monolithic kernel
  • Supports x86 archticture (all arch dependent code is seperate from the kernel)
  • Multitasking and Multithreading using POSIX threads
  • Supports ELF format
  • Signals
  • Blocking and Non-blocking I/O
  • Sessions, process groups and job control
  • Virtual file system (VFS) with support for initramfs, tmpfs, devfs, devpts, procfs and ext2
  • Devices subsystem using devices files with major/minor numbers
  • Supported devices include: PS/2 Keyboard, IDE/ATA Harddisk, Framebuffer device (fbdev, Linux API) with VESA 3.0, 8250 UART
  • Memory management subsystem (with demand paging and copy-on-write)

System Utilities:

  • aqbox: several UNIX/POSIX utilities in one binary (similar to BusyBox)
  • fbterm: Framebuffer based terminal (with wallpaper) with VT100 emulation using libvterm
  • lua: Lightweight, multi-paradigm programming language
  • kilo: Simple text editor for ANSI/VT100 terminal
  • tcc: Tiny C Compiler by Fabrice Bellard (Who made Qemu and FFmpeg)
  • nuklear: Immediate mode graphics library - experimental

The source code is released under GPLv3 licence and hosted on Github, https://github.com/mohamed-anwar/Aquila. Make sure to check it out and follow up with suggestions, or better yet, contributions.

GDPR will pop the adtech bubble

"Sunrise day" for the GDPR is 25 May. That's when the EU can start smacking fines on violators.

Simply put, your site or service is a violator if it extracts or processes personal data without personal permission. Real permission, that is. You know, where you specifically say "Hell yeah, I wanna be tracked everywhere."

Of course what I just said greatly simplifies what the GDPR actually utters, in bureaucratic legalese. The GDPR is also full of loopholes only snakes can thread; but the spirit of the law is clear, and the snakes will be easy to shame, even if they don't get fined. (And legitimate interest - an actual loophole in the GDPR, may prove hard to claim.)

Toward the aftermath, the main question is What will be left of advertising - and what it supports - after the adtech bubble pops?

I'm skeptical of the GDPR actually changing anything, but who knows.

Google will make its paid storage plans cheaper

Google is rolling out new changes to its storage plans that include a new, low-cost storage plan and half off the price of its 2TB storage option, the company announced today. It's also converting all Google Drive paid storage plans to Google One, perhaps in part because you’ll now have one-tap access to Google’s live customer service.

Google One will get a new $2.99 a month option that gets you 200GB of storage. The 2TB plan, which usually costs $19.99 per month, will now cost $9.99 a month. Finally, the 1TB plan that costs $9.99 a month is getting removed. The other plans for 10, 20, or 30TB won’t see any changes.

This makes Apple's paltry iCloud offerings look even worse than they already did.

Under the microscope: Aemulor

After the release of the Iyonix PC in 2002, RISC OS started moving from 26-bit architecture towards 32-bit. Nowadays all modern RISC OS machines are 32-bit, but an awful lot of older applications are still not compatible with modern 32-bit RISC OS.

Aemulor, originally a commercial application but now free to download, is a software emulator that allows RISC OS applications which were written for a 26-bit ARM systems to be used on more recent CPUs that provide only 32-bit addressing modes. RISC OS itself is unaware that there is anything unusual about the 26-bit applications that are running under Aemulor, to RISC OS they appear as normal applications - they appear on the icon bar and can communicate fully with other 26 or 32-bit applications.

I've bought a Raspberry Pi 3 Model B+ just for RISC OS, so hopefully, I can start posting more about this old but venerable operating system in the future. Any tips or interesting things for me to investigate are welcome.

Android P apps crash silently instead of showing dialogs

Among all the new additions to Android P including new navigation gestures, Slices API, and new biometrics API, there are some other changes which may also be impactful in a more subtle way. One of these is the removal of App Not Responding (ANR) dialogue boxes for foreground apps. The ANR dialogue appears when something is preventing the main UI thread from responding. When this happens in Android Oreo or below, the ANR dialogue is shown to the user to let them know. Now, in Android P, the application will just crash without any kind of notification for the user.

You know how some people will insist that iOS applications are more stable than Android applications? That's because on iOS, when applications crash, they just... Vanish. No dialog, no notification, nothing. Android will now be adopting the same behaviour, which, while less informative, does remove a silly dialog that you couldn't really do anything useful with anyway.

Good move. Dialogs you can't take any actions with are useless.