684 karma · joined Dec 30, 2013 (12y ago) · 205 submissions
comment 6y ago · link · parent
[Sidenote: this has resulted in the hilariousness of taking an Android kernel and development infrastructure and them slowly trying to make it back into something that looks like a normal Linux system. Their board support package is a hot mess, but gets used in real products because the hardware actually works well. A software company NVidia is not.]
comment 6y ago · link · parent
For a contrast, I don't notice compile times at all in just about any language for the most part: when you reach the "few million lines of code" size, there's no language that is going to be instant; and for embedded/systems work, committing a change can involve things like creating builds for N different architectures and running a test suite that may have to control hardware [run times of the test suite are measured in hours to days]. At this scale, anything that the compiler catches, even if it takes an hour to compile, saves an order of magnitude more time later in the process.
It's legitimately a hard problem to design a language that works well for both projects in the few tens of thousands of lines of code size -- i.e. tossing together a quick prototype -- and scales to millions of lines of code or larger.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
Why is this confusing? What you're really looking for is KVM, which -is- a hypervisor that uses the processor's virtualization instructions to implement a complete virtual machine. And then QEMU has a backend, for x86/x86_64, that uses KVM to accelerate its processor virtualization (and I believe some hardware support as well).
Using KVM through QEMU at least gives you a command line interface to do things instead of "write a C program to talk to the kernel API", but this is still far from the level of a tool that a desktop user would want to use. QEMU+KVM is basically at the level of one of the random barely-documented executables that you'd see in the installation of a VM software package.
So what should you use here? The next layer up is libvirt, which provides a system-level daemon to talk to (so you're not just running an emulator from a terminal that exits when you close the terminal) and a command shell & configuration files for defining machines, networks, storage, and so on. Still not a great UX, but at least now you're at the level of being able to define and run a machine.
Many users are going to manage these things through a wizard-based or graphical workflow instead of a CLI, so there's applications like Boxes that's built into GNOME (https://wiki.gnome.org/Apps/Boxes) or virt-manager (https://virt-manager.org/) which is desktop-agnostic. Both of these also help with establishing a graphical interface to the virtual machine itself, if necessary.
comment 6y ago · link · parent
- Group ownership of particular topics or sections of topics. This allows for things like "anyone on the team responsible for project X can edit/moderate things regarding their project"
- History of edits made to topics, linked to author. It's incredibly valuable organizationally to be able to see the evolution of knowledge, as well as provides protection from content deletion, both accidental and malicious.
comment 6y ago · link · parent
It's interesting to compare disciplines, since I've never worked on a game engine but have done a lot of simulation of physical systems: there, quaternions have been standard for at least fifteen years, and I've seen geometric algebra frequently for about the past five.
Interestingly, where we saw most gains from thinking about geometric algebra wasn't in simple rotations, but when starting to look at things like computing kinematic chains composed of dozens of joints: Now we're at 4x4 matrices to store each transformation, which is the traditional way and works well. From this, some seriously deranged mathematicians introduced the concept of an eight-element dual quaternion (essentially, pair of quaternions specially constructed) that can represent this. Again, super efficient, but even more intractable for newcomers than quaternions. At this point, starting to express both concepts in terms of geometric algebra has been able to keep most of the performance improvements as well as only having to teach one concept.
When I left that position a year ago, we were starting to see recent graduates that already had pre-exposure to geometric algebra concepts before even starting to work on the codebase.
comment 6y ago · link · parent
Additionally, trying to compile the project from source is extremely painful compared to most projects: it's not really possible in any obvious way to duplicate the output of the binary distribution without looking at the guts of Qt's continuous integration environment for weeks on end.
comment 6y ago · link · parent
That said, architecting your application so that all the small, latency-sensitive data was served from a CDN and all the bulk data was served from Hetzner would be a good/affordable option.
comment 7y ago · link · parent
This is a lot of old code, and it's all ASCII, no matter what the locale of the system is. And even if the code was updated, all the messages would still be in some text == bytes encoding, because there's no "user data" involved, and the throughput desired is in many gigabytes of text processed per second.
So yeah, unicode is not "everywhere": it may be everywhere on the public internet, but there is a world beyond this.
comment 7y ago · link · parent
The hack here is that the working copy used to build from wasn't a clean clone on each build, so just fetching changes from the (un-pwned) github repository would apply those changes and not affect the modified file on the build server.
comment 7y ago · link · parent
comment 7y ago · link · parent
For example as a use case: Software has dozens of tagged releases; organization moves from deploying on AWS to deploying in a Kubernetes cluster (requiring at least one change to the deployment configuration). Now, to deploy any of the old tagged releases, every release now has to be updated with the new configuration. This gets messy because there are two different orthogonal sets of versions involved. First, the code being developed has versions and second, the environments for testing, integration, and deployment also change over time and have versions to be controlled.
Even more broadly, consider multiple organizations using the same software package. They will each almost certainly have their own CI infrastructure, so there is no one "CI configuration" that could ever be checked into the repository along with the code without each user having to maintain their own forks/patchsets of the repo with all the pain that entails.
comment 7y ago · link · parent
Basically there are two entirely different paths here. For example, the person who writes all the software to drive the cockpit displays is probably called something like a "cockpit avionics engineer" and is organizationally in the department that's responsible for building such things. These people can get paid very well.
On the other hand, a "software developer" is much more likely to be a support function. Lots of maintenance of legacy stuff more than anything, and what actual development work exists might be nothing more than taking an algorithm directly from a standard and implementing it in whatever language is required by the project. These roles are not particularly well-paid and have a lot of turnover.
It is a very different world.
comment 7y ago · link · parent
Yes, many web developers are just targeting their own areas and test on high-speed links and everything seems fine, but frameworks that aim for widespread use still need to care about every single byte.
comment 7y ago · link · parent
A lot of the annoyance that some people have with the systemd crowd is that these kind of assumptions are made all over the place. The actual software is not bad (I really do prefer dealing with systemd units than writing shell scripts for each service) but it can be hard to get past.
comment 7y ago · link · parent
Second, because airplane manufacturers have a significant amount of negotiating power, combined with airlines very often not being in a great financial position: Boeing certainly wouldn't want to be liable for storage costs and the logistics of getting a fleet of planes back to a central facility if an airline went bankrupt, for example. Leases also get legally interesting when the assets involved move internationally on a daily basis...
comment 7y ago · link · parent
There's important metadata about the structure of a project when looking at the last commit of a group of files: do they all change together? They are more tightly coupled to one another if so. If all the files are touched by each commit, then there's an issue with the project's development process or organization of code. I also tend to run into issues frequently that were introduced by the last change to a particular part of the codebase. If I can navigate to the appropriate directory and look at the commit messages for each file, I can often be pointed directly at the commit that caused the problem and the files involved with the change.
Secondly, when developing, I'm already running the latest version or something later, so looking at closed issues contains no useful information whatsoever. I'm looking for two things: 1) What I should work on next, or 2) Is the problem I'm seeing already reported and has any work already been done on it?
Not showing open issues also has the negative UX that people will look to see if their issue already exists in whatever page they land on, and if they don't see it, create a new one. Therefore, defaulting to closed issues has the potential to raise the number of duplicate issues by some amount. Project maintainers don't like this much.
comment 7y ago · link · parent
The amazing designers that you really do want to find are the ones that will give you the smallest set of improvements that fix UX issues without changing the visual language of the product. If done right, most people wouldn't even notice that the site had changed at all but their daily frustration with being able to find things would decrease.
For example, the nested tab mess can be a real annoyance. It's worse on mobile, too, but the designer managed to tweak the design and completely forget about anything other than desktop dimensions. This is not really forgivable in 2018. The least possible change might be: let's try placing all the tabs together on the screen so that people don't go looking in one list for an item that's in the other. Then, making all the pages have the same navigation group containing both sets of tabs makes sense. At this point, stop!
Certainly, if the company thinks a design looks "dated", it could be updated at some other time, but ideally there would be zero change in information architecture to go along with it. Again, most people wouldn't notice the colors had changed subtly and information would be in exactly the same place it was, but ideally you'd be able to measure things like "number of users reporting that the site gives them eyestrain decreased by XX%".
GitHub certainly isn't perfect, but their UX people do seem to be fairly good. I've been using the product since it looked as it did back in 2013, and without side by side images, I actually couldn't point to any one point in time and say "that's when they redesigned the product and everything changed!".
comment 7y ago · link · parent
For large C++ codebases at work, this leads to coding standards like:
- Don't introduce typedefs referencing other typedefs in public API, especially when the typedefs and the API that uses them are in different files. Having to look in more than half a dozen different files just to understand the signature of a function is actively reader-hostile.
We have a ton of conventions similar to this that help to make the code significantly more pleasant to read. It turns out that we still have quite a few useful abstractions, but they tend to be fairly large compared to most codebases I've worked with previously.
comment 7y ago · link · parent
Probably wait for something to be announced like "Prime Plus" for premium brands as they try to figure out how to differentiate products in the market, or watch them continue to expand into new types of markets altogether... there's very little for them else to do.
comment 8y ago · link · parent
In short, you have to be very careful when you work on hard problems not to divert resources away from other approaches... that might be even more valuable.
comment 8y ago · link · parent
Note that all of my work is on networks that are disconnected from the internet, so I ignore SaaS offerings or versions completely.
comment 8y ago · link · parent
On-time is... sometime that day. Or perhaps tomorrow. Later than that is significantly late, but why worry about an hour or two? It really is a very, very particular western culture thing to be time-obsessed: it's not specifically something that all humans do intuitively.
comment 8y ago · link · parent
comment 9y ago · link · parent
- Third party clients are a thing, to the point where I really feel like I'm being sold a streaming service and not a tiny window through which I can occasionally listen to music. My normal media player is a python script that talks to an API. This is amazingly useful.
- When using Spotify-provided apps, there's the ability to save things for later offline listening. I haven't yet hit a limit on how many things I've been able to save.
- There's no limit on the number of devices I can use with the service, although I can only stream concurrently on one -- multiple offline devices have worked great though
- There isn't a time limit that certain content is available (this is much easier to feasibly achieve with audio compared to high-definition video, and a major difference between Spotify and services like Netflix).
This is sufficient usability, freedom, and value for money for me to subscribe with the knowledge that what I'm paying for is access to a library that Spotify has created and maintained. I used to rip/buy music on a regular basis and no longer really feel the need to do so. I think it's probably useful to consider what the differences are between services and specifically what makes them anti-consumer.
comment 9y ago · link · parent
https://nvd.nist.gov/vuln/detail/CVE-2017-5689 is the CVE in question and existed for ~7 years, permitting exactly the scenarios I postulated to occur given unprivileged access to the network on which the servers reside.
There's been some rapid threat modeling done already: for example, for datacenter environments, the impact of this issue is largely mitigated by reducing physical access to this network behind the firewall - https://software.intel.com/en-us/documentation/amt-reference... indicates that we can firewall traffic so that only known management computers can access it from outside. (However, one compromised computer in the datacenter can be used as a source to trigger this exploit, so whole-datacenter monitoring/alerting for traffic on these ports is required).
The overall risk involved is still fairly high, because this security posture is effectively "remote root-level access for anyone with unprivileged access to the local network".
comment 9y ago · link · parent
Fortunately, most of the security vulnerabilities that have been abused in this sort of way in the past are patched quickly. But what if it was impossible to patch systems because the vulnerability is baked into firmware? That's the horrifying case that we have here. If exploiting this software (and exploits HAVE ALREADY been published, so it's really just a matter of weaponisation at this point) becomes common, then many sysadmins will be in the unenviable position where someone who can download instructions from the Internet can cause immense damage to their systems and network on any given day.
And that's just the tip of the iceberg. Imagining how these systems are very, very likely already being used to conduct digital espionage is similarly disturbing. It's easy to think that "no one would want to conduct espionage against my tiny company in ${small town}", but unfortunately the reality is quite different. https://www.fbi.gov/news/stories/economic-espionage has some reasonably interesting information about the sort of shenanigans that are routinely undertaken - unfortunately this is just a small example as many instances are not publically discussed.
comment 9y ago · link · parent
Some examples:
- Single digit Hertz: seismic observations. Could you build a better earthquake predictor? How about an active control system for shifting building loads during an earthquake?
- kilohertz: Lightning detection systems.
- kilohertz to low megahertz: traditional FM/AM radio. Is there a better way?
- gigahertz: think your good old-fashioned microwave oven. What if it could automatically learn what it's cooking and how to best heat it evenly?
- gigahertz: could you build a smarter Wi-Fi network (or cell network) if devices reported their location when they didn't have coverage and the network could automatically adjust?
- tens of gigahertz: we now have object sensing systems in cars. what other parts of life might that kind of technology be useful for?
- infrared: what happens when a ML-based vision system wants to see in the dark?
- above the visual spectrum: ML + medical imaging (x-rays, other scans? what could be learned?)
There are lots of fun research questions to be answered and new technology yet developed. The wonderful part about doing some really structured research along these lines is that you might have to ask about "who knows about this" and run into the PhD student who's working in this area -today- but isn't yet developing a product. There is a ton of university research that could lead you towards an interesting new product: the idea doesn't have to be your own, or even come from the typical "ideas" person.