Monthly Archive:: September 2018

Haiku R1 beta 1 released

It's been just about a month less than six years since Haiku’s last release in November 2012 - too long. As a result of such a long gap between releases, there are a lot more changes in this release than in previous ones, and so this document is weightier than it has been in the past. The notes are mostly organized in order of importance and relevance, not chronologically, and due to the sheer number of changes, thousands of smaller improvements simply aren't recognized here.

Please keep in mind that this is beta-quality software, which means it is feature complete but still contains known and unknown bugs. While we are mostly confident in its stability, we cannot provide assurances against data loss.

This is a massive release, especially if you haven't been keeping up with any of the nightly releases over the years. There's so much new stuff and improvements in here that it makes no sense trying to summarise them, so I highly suggest reading the release notes carefully, downloading the beta, and giving it a go yourself in either a virtual environment or on actual metal.

Re-open-sourcing MS-DOS 1.25 and 2.0

In March 2014, Microsoft released the source code to MS-DOS 1.25 and 2.0 via the Computer History Museum. The announcement also contains a brief history of how MS-DOS came to be for those new to the subject, and ends with many links to related articles and resources for those interested in learning more.

Today, we're re-open-sourcing MS-DOS on GitHub. Why? Because it's much easier to find, read, and refer to MS-DOS source files if they're in a GitHub repo than in the original downloadable compressed archive file.

Good move.

Microsoft puts its mobile Office apps for Windows 10 on hold

Microsoft first started work on its touch-friendly Office apps for Windows 8.1 more than five years ago. Designed for tablets or laptops with touchscreens, the apps are lightweight and speedy versions of Word, Excel, and PowerPoint. Microsoft has updated them regularly for Windows 10, but now that the company has halted work on Windows 10 Mobile, it's also halting work on these Office apps.

The apps aren’t fully dead yet, but Microsoft is no longer developing new features for them. "We are currently prioritizing development for the iOS and Android versions of our apps; and on Windows, we are prioritizing Win32 and web versions of our apps," explains a Microsoft spokesperson in a statement to The Verge.

Typical Microsoft. They develop this entirely new way of writing and building applications, they want everyone to switch to it, but then fail at the dogfooding stage because the Office team is incapable of moving beyond its slow and bloated existing codebase. They got farther than ever before this time - the UWP Office apps are quite full-featured and much faster and more pleasant to use than their traditional counterparts - but still never even got in sight of the finish line.

Review: Wear OS 2.0 can’t fix its obsolete watch hardware

Google's major Wear OS revamp is out today, and soon it will arrive on most devices released in the past year and a half (although Ars has already spent a week with a pre-release version of the OS). In the face of relentless competition from the Apple Watch Series 4 and Samsung Galaxy Watch, Google's most obvious change in the new Wear OS is a new UI for most of the main screens. There's not much in the way of new functionality or features, but everything is laid out better.

Seems like a very welcome update to a struggling platform.

Bloated

It used to happen sporadically but now it is a daily experience. As I am browsing the net I click on a link (usually a newspaper website). The page starts to load. Then I wait. And I wait. And I wait. It takes several seconds.

Once loaded, my patience is not rewarded since my MacBook Air mid-2011 seems to barely be able to keep up. Videos start playing left and right. Sound is not even turned off by default anymore. This shitshow festival of lights and sounds is discouraging but I am committed to learn about world news. I continue.

I have the silly idea to scroll down (searching for the meaty citations located between double quotes) and the framerate drops to 15 frames per second. Later, for no apparent reason, all fans will start running at full speed. The air exhaust will expel burning hot air. MacOS X's ActivityMonitor.app reveals countless "Helpers" processes which are not helping at all. I wonder if the machine is going to die on my lap, or take off like a jet and fly away.

This happens even on my brand new laptop or my crazy powerful custom PC. This short article is basically a reply to the article we talked about earlier this week, and I'm pretty sure this is a subject we won't be done with for a long time to come.

Meet the community keeping obsolete supercomputers alive

Nearly 30 years after Silicon Graphics ruled the high-performance computing roost, its supercomputers have found themselves a new home with a small community full of enthusiasts - some of whom weren’t even alive during the company's heyday.

SGI machines are definitely on my list of platforms to sink my teeth into in the future. I don't think I'll be focusing on these more eccentric supercomputer-type workstations, but they are fascinating nonetheless. I'm very glad there's an active community of people keeping these machines working.

Killing processes that don’t want to die

Suppose you have a program running on your system that you don't quite trust. Maybe it's a program submitted by a student to an automated grading system. Or maybe it's a QEMU device model running in a Xen control domain ("domain 0" or "dom0"), and you want to make sure that even if an attacker from a rogue virtual machine manages to take over the QEMU process, they can't do any further harm. There are many things you want to do as far as restricting its ability to do mischief. But one thing in particular you probably want to do is to be able to reliably kill the process once you think it should be done. This turns out to be quite a bit more tricky than you'd think.

Qualcomm accuses Apple of stealing chip secrets

I've been away for a few days, so there's some backlog for me to chew through.

Qualcomm has unveiled explosive charges against Apple, accusing it of stealing "vast swaths" of confidential information and trade secrets for the purpose of improving the performance of chips provided by rival Intel, according to a court filing.

Qualcomm hopes the court will amend allegations in its existing lawsuit against Apple accusing it of breaching the so called master software agreement that Apple signed when it became a customer of Qualcomm's earlier this decade.

One unlikeable horrible company fighting the other. Am I supposed to root for someone here?

Software disenchantment

I've been programming for 15 years now. Recently our industry's lack of care for efficiency, simplicity, and excellence started really getting to me, to the point of me getting depressed by my own career and the IT in general.

Modern cars work, let's say for the sake of argument, at 98% of what's physically possible with the current engine design. Modern buildings use just enough material to fulfill their function and stay safe under the given conditions. All planes converged to the optimal size/form/load and basically look the same.

Only in software, it's fine if a program runs at 1% or even 0.01% of the possible performance. Everybody just seems to be ok with it. People are often even proud about how much inefficient it is, as in "why should we worry, computers are fast enough".

A bit ranty here and there, but this entire "old man yells at cloud" article is very much music to my ears. Software is bad. We expect software to be bad. We accept that software is bad. We make excuses why software is bad. We tell people it's okay that software is bad. We say it is inevitable that software is bad.

If any other industry were as lax about quality and performance as the software industry, we'd be up in arms.

Sculpt OS with Visual Composition

Sculpt is an open-source general-purpose OS based on the Genode framework. It combines a microkernel architecture, capability-based security, sandboxed device drivers, and hardware-virtualized guests in a novel operating system for commodity x86-64 hardware.

The third version of Sculpt OS is now available under codename Sculpt VC. It is based on Genode OS framework release 18.08. "Sculpt with Visual Composition" takes a step forward to turn Sculpt into a useable system for a wider audience. It features a graphical user interface for performing fundamental tasks like connecting to a wireless network, or installing and running software from packages. However, the full power of the system is still accessible only via a textual interface. A detailed description of the usage and structure of Sculpt VC can be found in its documentation.

Sculpt VC is available in form of an USB stick image thats boots on bare metal x86 hardware. The image has a size of 24 MiB only. Alternatively, a virtual appliance for VirtualBox is provided.

Microsoft Search will search across Office, Windows, more

Microsoft is unveiling an ambitious effort to overhaul its search experience in Office, Windows, Bing and more today. Dubbed Microsoft Search, the new search experience will first start appearing on Bing and Office.com today. Bing isn't going away, but Microsoft Search is the new name for a combination of Bing and the search results you might expect to find in Windows applications. It's designed to combine traditional search results with commands, app features, and personalized results. Search is being moved to a central area in Office apps, allowing Excel users to find commands and features in results alongside documents and other search results.

I've never been a fan of combining web and local search results on my operating system's search tool - the two are clearly separated in my mind and I regard them as two entirely different and distinct entities. I'm sure I'm revealing my age here, and that younger generations don't perceive this distinction at all, but I'm just hoping I can turn this off.

The $12 “Gongkai” Phone

Recently, I paid $12 at Mingtong Digital Mall for a complete phone, featuring quad-band GSM, Bluetooth, MP3 playback, and an OLED display plus keypad for the UI. Simple, but functional; nothing compared to a smartphone, but useful if you’re going out and worried about getting your primary phone wet or stolen.

How is this possible? I don't have the answers, but it's something I'm trying to learn. A teardown yields a few hints.

These are amazing products for a specific niche, and the young teenager in me who got his first cellphone at 13 marvels at the price of this thing.

What’s the difference between an integer and a pointer?

In an assembly language we typically don't have to worry very much about the distinction between pointers and integers. Some instructions happen to generate addresses whereas others behave arithmetically, but underneath there's a single data type: bitvectors. At the opposite end of the PL spectrum, a high-level language won't offer opportunities for pointer/integer confusion because the abstractions are completely firewalled off from each other. Also, of course, a high-level language may choose not to expose anything that resembles a pointer.

Google memo Reveals plans to track search users in China

Google bosses have forced employees to delete a confidential memo circulating inside the company that revealed explosive details about a plan to launch a censored search engine in China, The Intercept has learned.

The memo, authored by a Google engineer who was asked to work on the project, disclosed that the search system, code-named Dragonfly, would require users to log in to perform searches, track their location - and share the resulting history with a Chinese partner who would have "unilateral access" to the data.

These are the requirements set forth by the Chinese government that you must fulfil in order to do business of this kind in China. It's the same reason why Apple handed over all of its iCloud data to a company owned and run by the Chinese government - if you want to make money in China, you have to play by their rules. It just goes to show that while these companies make romp and stomp about caring about the privacy of western users, said care goes right out the window if it means they can make more money. Your privacy does not matter - only money matters.

And yes, they will do the same thing here in the west the moment it's financially advantagous for them to do so.

Apple File System reference

Some more light reading, right in time for the weekend - the 147 pages long reference to APFS.

Apple File System is the default file format used on Apple platforms. Apple File System is the successor to HFS Plus, so some aspects of its design intentionally follow HFS Plus to enable data migration from HFS Plus to Apple File System. Other aspects of its design address limitations with HFS Plus and enable features such as cloning files, snapshots, encryption, and sharing free space between volumes. Most apps interact with the file system using high-level interfaces provided by Foundation, which means most developers don't need to read this document. This document is for developers of software that interacts with the file system directly, without using any frameworks or the operating system - for example, a disk recovery utility or an implementation of Apple File System on another platform. The on-disk data structures described in this document make up the file system; software that interacts with them defines corresponding in-memory data structures.

This document could prove quite useful to developers who might wish to add APFS compatibility to for instance Linux.

FreeBSD desktop: pause any application

After using UNIX for so many years I knew that I could freeze (or pause) any process in the system with kill -17 (SIGSTOP) signal and then unfreeze it with with kill -19 (SIGCONT) signal as I described in the Process Management section of the Ghost in the Shell - Part 2 article. Doing it that way for the desktop applications is PITA to say the least. Can you imagine opening xterm terminal and searching for all Chromium or Firefox processes and then freezing them one by one every time you need it? Me neither.

Fortunately with introduction of so called X11 helper utilities - like xdotool(1) - it is now possible to implement it in more usable manner.

Today I will show you how to freeze any X11 application with single keyboard shortcut or mouse gesture if you utilize them in any way with small simple script.

Handy little trick. The entire series of articles by the same author about FreeBSD on the desktop are interesting and informative reads.

GeForce RTX 2080 Ti and RTX 2080 FE review

AnandTech benchmarked the new RTX graphics cards, and concludes:

So where does that leave things? For traditional performance, both RTX cards line up with current NVIDIA offerings, giving a straightforward point-of-reference for gamers. The observed performance delta between the RTX 2080 Founders Edition and GTX 1080 Ti Founders Edition is at a level achievable by the Titan Xp or overclocked custom GTX 1080 Ti’s. Meanwhile, NVIDIA mentioned that the RTX 2080 Ti should be equal to or faster than the Titan V, and while we currently do not have the card on hand to confirm this, the performance difference from when we did review that card is in-line with NVIDIA's statements.

The easier takeaway is that these cards would not be a good buy for GTX 1080 Ti owners, as the RTX 2080 would be a sidegrade and the RTX 2080 Ti would be offering 37% more performance for $1200, a performance difference akin upgrading to a GTX 1080 Ti from a GTX 1080. For prospective buyers in general, it largely depends on how long the GTX 1080 Ti will be on shelves, because as it stands, the RTX 2080 is around $90 more expensive and less likely to be in stock. Looking to the RTX 2080 Ti, diminishing returns start to kick in, where paying 43% or 50% more gets you 27-28% more performance.

Neither of the two new RTX cards seem to be particularly smart purchases at this point - the 2080 barely performs any better than a 1080 Ti, and while the 2080 Ti does offer a decent performance improvement over the 1080 Ti, it's also $1200. You might want to wait to see if NVIDIA's raytracing efforts pay off and gets adopted in video games, and if said raytracing features don't suck too much performance.

Ubuntu Desktop images available in Hyper-V gallery

Today we're very pleased to announce that an optimised Ubuntu Desktop image is available from the Hyper-V gallery. This will give an optimum experience when running Ubuntu Desktop as a guest on a Windows 10 Pro desktop host. From the Ubuntu Report data we know that a lot of people are using Ubuntu as a virtual machine, and so we want to make that experience as seamless as possible.

This is probably the most seamless way to run an Ubuntu virtual machine on Windows.

Google creates new governance model for AMP

The power to make significant decisions in the AMP Project will move from a single Tech Lead to a Technical Steering Committee (TSC) which includes representatives from companies that have committed resources to building AMP, with the end goal of not having any company sit on more than a third of the seats.

Google is moving the AMP project to a new, more open governance model, which should address some of the valid concerns people have over the project's Google-centric nature. Google is further exploring creating a separate foundation for AMP, to further solidify the independent nature of AMP. Meanwhile, Microsoft is also adopting AMP by redirecting Bing search results to AMP pages.