684 karma · joined Dec 30, 2013 (12y ago) · 205 submissions
comment 9y ago · link · parent
As an example, the standard server at $large-dayjob-server-farm runs on RHEL 6, with RHEL 7 (the latest release) being used for new machines. Both are still supported for quite a few years into the future. Let's look at their kernel versions: (per https://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux)
"6.9, also termed Update 9, March 21, 2017; 5 months ago (kernel 2.6.32-696)"
"7.4, also termed Update 4, August 1, 2017; 28 days ago (kernel 3.10.0-693)"
Upstream release timelines: 2.6.32 - Dec 2009 3.10.0 - Jun 2013
Both of these upstream releases are YEARS older than both "current" and what many Android devices are using today - we'll have machines running some patched version of 2.6.32 a decade after its initial release!
So there's obviously a difference in quality of backports and updates here and some grey area in between. I can't with a straight face say that either Red Hat or Google are right or wrong in their approaches here, it's just very different than the frequent-release model that some people are used to.
comment 11y ago · link · parent
$1m will cover something like 3-4 staff for about a year. Less, if they're senior people.
comment 11y ago · link · parent
It's actually the same problem: an extremely complex object is being constructed, a critical failure within which could leave many people nearby injured or dead.
The solution is actually somewhat ingenious: License a small group of people to go analyze such things, let them organize themselves independently, but require them to sign off on the design. It turns out that with their license and livelihood on the line, enough people aren't willing to sign off on terrible, shoddy crap that the system mostly works.
Perhaps it's time that software grew up and became something closer to a real engineering discipline?
comment 11y ago · link · parent
See, for example, shellshock, which was in a piece of software that's been battletested by most people who use a command-line for the past, oh, twenty years or so.
Whether or not the developers actually know what they're doing with respect to writing secure software in the language of the project and are sufficiently OCD in their process to catch most mistakes before they reach production is very, very much more important than "battle tested for X number of years".
comment 11y ago · link · parent
comment 11y ago · link · parent
Other than that, I took a quick look at your product and it's feature-wise close to something I would want to use. Only comments I would make would be that non GitHub projects generally want the review tool to handle the branch management (a.k.a storing pull requests, flagging their status, etc.): of course only focusing on GitHub lets you not worry about that and get a product running much sooner... You should spend some serious time looking at your page load times as well - I'm 10msec away from your server and the demo code review at https://reviewable.io/reviews/Reviewable/demo/1 took nearly three full seconds to load, even with most static assets already cached since I didn't timeline it on the first attempt.
comment 11y ago · link · parent
Currently we're looking very hard at Critic (https://critic-review.org/ is a demo site, code's on github) because it looks to offer the closest workflow to what we use.
We're specifically looking for something sorta similar to Gerrit as far as how reviews work, but while actually supporting a feature-branch-heavy workflow where we tend to review branches rather than individual commits, and frequently rebuild/rebase feature branches.
Obviously, if your workflow is different then your needs for a review tool may differ wildly.
comment 11y ago · link · parent
Huge downsides:
- Doing centralized authentication in a large-organization environment is basically impossible. Its LDAP implementation is broken for anything else than a couple very standard schemas that they've tested against & you can't make it authenticate using a Windows domain. They've recently split out the user management, etc., components into a separate product called Hub, but it's the same code and suffers from the same problems. [NB: Hilariously enough, other JetBrains products work just fine in this regard.]
- The thing uses some custom proprietary database. Integrating backups into your normal workflow is painful. Upgrades are VERY painful (oops, the old version had a database that didn't enforce some constraints that the new one does, please go fix all your issues by hand), although there's some auxiliary API and tools for exporting individual issues as -- if I recall correctly -- JSON objects that was an 80% solution.
Upsides:
- The UI does the expected thing by default in all cases we could find. It is also fast & responsive, relatively uncluttered, and doesn't have a bunch of extra things to click in order to create/comment on/edit issues.
- Searching for issues is very fast and powerful.
- Batch updating issues (which we tend to do a lot) is extremely easy. Make a custom search describing the issues to update, then update all of them with a couple clicks.
The admin downsides were (for us at least) bad enough that I'm not sure I'd recommend deploying it if you already have a working, integrated system. If you're starting from scratch, though, or committed to replacing another system for whatever reason, it's a pretty good choice.
comment 11y ago · link · parent
Furthermore, you can implement a certifiably low-risk system for retransmits using a separate ultra-low-bandwidth uplink that can raise a NACK on data errors that FEC can't handle. This is sufficient for unidirectional TCP streams to be wrapped.
I mean, sure, you can fake it if you're not worried about someone connecting the wrong cable (potentially turning your system into a wonderful fountain of all the data you were trying to protect) and if you're willing to write custom application level protocols to handle significant amounts of data loss in transmission.
comment 11y ago · link · parent
This is why things are done in firmware, so the factory can configure particular runs of boards for legal sale in whatever country they're attempting to manufacture to sell in that day. Now, for the sake of it being cheaper, many devices may have just one big firmware blob: this is more common in devices like wifi routers than other things (e.g. cell phones).
I am a researcher in RF-related technology: my personal views are that the radio firmware should be kept separate from the rest of the software running on the device (fairly similar to what many phones do with a separate baseband), with the ability to upgrade the radio bits being restricted to a) the manufacturer and b) users that the FCC has approved to make such modifications -- this would provide a sane way to certify groups who can make these changes, both for research purposes and for the OEMs that are integrating the RF capabilities into some larger consumer device.
In addition, there's many times where we've purchased hardware and performed modifications in-house to the control software, specifically because we DO have a license from the FCC to do things outside of what would be allowed for normal consumers. Forcing special hardware runs for things that aren't locked down and can be used by the couple hundred groups (if that) in the country who do this sort of thing is going to be even more prohibitively expensive.
Finally, I'm extremely aware of the thought processes that would lead manufacturers to lock everything down if they're forced to lock anything down, and this could be mostly worked around by making the manufacturer of the RF hardware (who typically isn't the company selling you a device) responsible for those protections. They won't have any desire or ability to touch the other parts of a device, so they won't really be technically able to lock them down in the best case scenario. This gives a lot of freedom for the higher-level software to be kept in a state where it's easy for users to modify.
comment 11y ago · link · parent
There's still incredible problems with getting good engineers to come to the general area as well: Baltimore/DC has SF-level cost of living but not nearly the amenities of the Bay Area. The weather here sucks most of the time, the general culture leans suit & tie, the traffic is just as bad if not worse, you don't have the redwoods/beaches/outdoor things nearby that many engineers tend to value. Moreover, there's still a major stigma against working remotely out here that hurts many East Coast businesses when looking for software folks.
comment 11y ago · link · parent
In addition, as another commenter noted, the reference oscillator is used for REX (the radiometry experiment on board New Horizons) and quality of gathered measurements for this experiment was one of the primary needs here: being able to use the component for the communications subsystem is just good power/mass engineering at work.
comment 11y ago · link · parent
I completely agree that developers shouldn't be making ops decisions and have scars to prove it.
comment 11y ago · link · parent
Keeping repositories synced between versions of Debian and architectures is slightly harder but doable.
Best practices for handling uploads from individual developers, making sure all dependencies are included at the same time when a package is published is hard.
Running something like the official Debian unstable -> testing transition of packages (with QA/testing in that loop), and figuring out what rebuilds are necessary is very hard.
comment 11y ago · link · parent
Your approach totally works, but we typically run into the problem of "system administrator has thing that works for them on a couple systems", then it's rather difficult to get everyone using the same tool so that people can interoperate (or bikeshedding about which one has a nifty feature and changing tools every six months) -- or worse, breaking something because they didn't understand how the other tool's process was different.
comment 11y ago · link · parent
What could use some work is the documentation/startup instructions for how to run a Debian package repository effectively (my company has a company-wide repository for internal packages with quality guidelines and a decent amount of review, but this is not without issues). https://wiki.debian.org/HowToSetupADebianRepository exists, but there's ten different tools listed of varying quality and there really, really needs to be a "This is how you need to do it." method.
That said, I really do like the model of "submit source package, server handles the logistics of building it for N architectures".
comment 11y ago · link · parent
When most people talk about the git workflow, they are thinking of the workflow of a feature developer - which is one of the simpler use cases. Let's think about git, however, as a tool for automating existing workflows, though:
Person #1 is a developer. His workflow looks something like "git fetch public; git checkout -b new-branch public/master; $EDITOR; git commit; git push incoming new-branch". His 'incoming' remote goes to a repository of everyone's unreviewed feature branches, and each feature is parented from the last commit that was in the public repository.
Person #2 is a reviewer. He has two remotes, "incoming" and "reviewed". His workflow is "git fetch incoming; git checkout incoming/branch-to-review; git log --stat; $VIEWER; git push reviewed branch-to-review"
Person #3 is an integrator who's responsible for the state of the 'master' branch on the 'public' repository which is visible to everyone. He only wants to merge reviewed branches. His workflow is "git fetch reviewed; git checkout master; git merge reviewed/branch1 reviewed/branch2 reviewed/branch3; $BUILD_AND_TEST; git push public master".
This is the sort of real-world use of Git that goes on in large organizations. It's actually harder to think about using Git in a single-developer project, because one person is playing the role of developer/reviewer/integrator, and typically doesn't think consciously about what role he's in at any one point in time: so his workflow is sort of a mix of all of the above, which ends up being overly complex.
Tools like SourceTree really don't help the situation either, because they try to give you a graphical interface to git commands in general (since they don't have any insight into the development process for a particular project).
comment 11y ago · link · parent
If you want to do this for real, what you end up doing is implementing your own server backend that receives XMPP messages and then sends out push notifications to a mobile client. Generally a pain in the rear, but do-able. Getting your own iOS developer key & dealing with app store approval for stuff like this is probably the hardest part (for shops that aren't already doing mobile development). There are 3rd-party services that help bridge this gap: examples are https://pushover.net/ or https://boxcar.io/
If you're okay with a hosted solution and don't really want to deal with development or deploying a XMPP solution yourself, many of our clients have had good success with Slack (https://slack.com/)
comment 11y ago · link · parent
I ended up with a Prosody install primarily for two reasons: 1) Memory consumption/stability 2) Authentication support
The XMPP server hosts up to 700-800 simultaneous users and is located on a machine that provides many other services. With both ejabberd and openfire at this scale, memory consumption was in the several hundred megabyte range and (specifically ejabberd) typically had CPU load of 10-20% of a core.
The prosody setup I ended up using was significantly more lightweight and was simple to set up with server authenticating logins against TLS-enabled LDAP.
In the past, ejabberd was avoided because of serious security issues with the software, but in the past few years it looks like they've gotten their act together somewhat. That said, there's still some recent CVEs, you would want to pay attention to this if deploying ejabberd in any public-facinc infrastructure. As an example, ejabberd used to _require_ storing all passwords in plaintext, claiming that this was "more secure" than the alternatives (ref: https://www.ejabberd.im/plaintext-passwords-db)
comment 12y ago · link · parent
Except, it's not done manually, we have a set of tools that walks along a branch and tries to build each revision, storing the build/test status using the commit's SHA-1 hash as a key so that we don't waste effort rebuilding things unnecessarily. Then, this is used for our code reviews to verify that each commit on the branch to be integrated has a clean build/test status saved -- or an explanation why not.
We've given some thought into writing a version of git bisect that takes this cached data as input to select better trees to try given some set of known broken commits, but that hasn't happened quite yet.