Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Comment: Is this Google's fault? (Score 1) 240

by Chirs (#49625035) Attached to: Google Can't Ignore the Android Update Problem Any Longer

Technically 5.1 is out and there's supposed to be an update coming for my Moto G, but it hasn't arrived yet. Arguably this is Moto's fault more than Google's.

That said, from what I hear Android 5.0 wasn't all that stable, so it seems likely that a lot of manufacturers just skipped it in favour of waiting for 5.1.

Comment: calculus (Score 1) 390

by Chirs (#49622951) Attached to: The Programming Talent Myth

My high school calculus teacher observed that the marks for that class over decades of teaching tended towards bimodal. To some extent, either you "got it" or you didn't.

This post (https://gasstationwithoutpumps.wordpress.com/tag/bimodal-distribution/) based on USA stats for 2010 suggests that "many of the exams that require math had this sort of bimodal distribution."

Comment: Sure there is... (Score 1) 309

by Chirs (#49492945) Attached to: NVIDIA's New GPUs Are Very Open-Source Unfriendly

Linux internal APIs get changed from time to time. Drivers that are part of the kernel tree get updated by whoever is changing the API. Drivers that are outside the kernel tree have to be updated to work with the API changes.

I've had my distro ship a new kernel and then had to wait weeks for the Nvidia driver to be updated. (Admittedly they're getting better at it, but it has happened.)

Comment: "don't use rebase" only applies in some cases (Score 1) 203

by Chirs (#49420225) Attached to: 10 Years of Git: An Interview With Linus Torvalds

The rule against using rebase really only applies if you are publishing your git repo (and specifically the branch in question) to other people.

The reason for the rule is that if you rebase your changes on top of the latest upstream, anyone pulling in your branch is then forced to rebase as well since you've essentially rewritten history. (Doing a rebase changes the hashes on all your local commits.) If you instead merge upstream work onto your local branch then your history is preserved and everyone downstream from you can also just do a merge.

However, for any development branch that you are not exporting to other people, "git rebase" is a very useful tool to keep your own development at the tip of your local development branch. When other people push changes you can pull them in and rebase your work on top of theirs.

Comment: I prefer separate pull/rebase steps (Score 1) 203

by Chirs (#49420213) Attached to: 10 Years of Git: An Interview With Linus Torvalds

I *never* do development on an upstream branch. So instead of the above I would always checkout the local "master" branch, do a "git pull", then checkout my development branch and rebase my work on top of the latest local "master" branch.

The nice thing about this is that the local "master" branch is always identical to some version of the upstream "master" branch, I never need to worry about it getting polluted with my development work.

Comment: I prefer continuous trunk... (Score 1) 203

by Chirs (#49420191) Attached to: 10 Years of Git: An Interview With Linus Torvalds

I prefer the model where the "master" branch is the continuous trunk of development. When you want to release, you branch off for that release.

Functionally equivalent, but has the nice property that most stuff goes into "master" and only bugfixes/backports or special-case stuff goes onto the release branch.

Comment: a "branch" is just a name pointing to a commit (Score 1) 203

by Chirs (#49420177) Attached to: 10 Years of Git: An Interview With Linus Torvalds

In git a "branch" is literally a mapping between a name and the commit ID of the commit at the head of the branch. If you've merged your commit into the main development trunk (submitting the bugfix) there is essentially zero overhead to keeping the branch around in your repository.

Some CI systems have a mechanism where you create what you think will be the fix, then push it up to a common area for testing, review, etc. Then you respin your fix based on feedback, send it back in. Rinse, wash, repeat until everyone is satisfied, then merge for real. In that sort of environment it can be handy to have one local branch per bug that you're working on.

So one branch per bug you're working on, one branch per feature you're working on, one branch per released version, etc. I just checked and one local git repo I'm working on is sitting at around 40 local branches currently.

Comment: 4K is horizontal resolution, not 4x the pixels (Score 1) 263

by Chirs (#49420127) Attached to: LG Accidentally Leaks Apple iMac 8K Is Coming Later This Year

4K = 3840 x 2160 or in other words double the dimension of the 1920x1080 doubled in both directions. I've always thought calling it 4K was a bit dubious, yes it's 4 times the number of pixels but it's only twice the resolution.

The "4K" refers to the number of horizontal pixels, since in cinema 4K it's 4096 pixels across.

The use of "4K" for 16:9 consumer displays is a bit of a misnomer.

Comment: different strokes... (Score 1) 263

by Chirs (#49420099) Attached to: LG Accidentally Leaks Apple iMac 8K Is Coming Later This Year

"And I have no use whatever for "integrated" graphics."

I on the other hand am a software development guy. As long as it's snappy in 2D and supports multiple big monitors I'm totally down with integrated graphics since they usually use a lot less power than the discrete solutions, and Intel has really good Linux driver support.

Comment: I don't agree that cars cost more. (Score 1) 292

by Chirs (#49401059) Attached to: EFF Fighting Automakers Over Whether You Own Your Car

As far as I can tell the cost of a Toyota Corolla is basically the same number of dollars as it was 10 years ago. Which means that after factoring in inflation the car is significantly cheaper than it used to be.

I have a 2005 Toyota Matrix, and aside from oil changes and tires I've only had to replace one part (the airbag clockspring) which cost a few hundred bucks and which I installed myself.

We are experiencing system trouble -- do not adjust your terminal.

Working...