- Click "start", "cmd",
- Right click "Run as administrator"
- Type "net stop wuauserv"
- Type "ren %windir%\softwaredistribution sd.old"
- Type "net start wuauserv"
- Reboot
- Now you can use windows update again
Wednesday, May 2, 2012
Pushing large git rep
I was getting an endless git issue:
$ git push origin master
Counting objects: 189, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (179/179), done.
Write failed: Broken pipe/189), 2.93 MiB | 19 KiB/s
fatal: The remote end hung up unexpectedly
error: pack-objects died of signal 13
error: failed to push some refs to 'ssh://malat@jpeg.git.sourceforge.net/gitroot/jpeg/J2KP4files'
$ git push origin master
Counting objects: 189, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (179/179), done.
Write failed: Broken pipe/189), 2.93 MiB | 19 KiB/s
fatal: The remote end hung up unexpectedly
error: pack-objects died of signal 13
error: failed to push some refs to 'ssh://malat@jpeg.git.sourceforge.net/gitroot/jpeg/J2KP4files'
So I had to split this large commit into smaller ones and then do:
$ git rev-list --reverse master | xargs -I{} git push origin {}:refs/heads/master
Counting objects: 18, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (17/17), done.
Writing objects: 100% (18/18), 12.67 MiB | 6 KiB/s, done.
Total 18 (delta 1), reused 0 (delta 0)
To ssh://malat@jpeg.git.sourceforge.net/gitroot/jpeg/J2KP4files
* [new branch] f9c67eb084015bcfac5c05d807b22cefbecb2008 -> master
[...]
Counting objects: 5, done.Delta compression using up to 8 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 1.64 KiB, done.
Total 4 (delta 1), reused 0 (delta 0)
To ssh://malat@jpeg.git.sourceforge.net/gitroot/jpeg/J2KP4files
61b0752..b87df01 b87df014adaacd7a2286ee9b4471b4c10a77f091 -> master
woohoo !
Wednesday, April 25, 2012
Set From: in mail headers
I could not figure out how one could change the From: in the mail header until some good soul pointed out the following trick
ref: http://lists.debian.org/debian-user/2012/04/msg00993.html
$ mail -a 'From: "My Name" <me@example.org>' da
ref: http://lists.debian.org/debian-user/2012/04/msg00993.html
Wednesday, April 11, 2012
Saturday, March 17, 2012
GDCM accepted as GSoC mentoring organization !
I have the immense pleasure to tell you that GDCM has been accepted as one of the organizations participating in GSoC 2012:
http://www.google-melange.com/gsoc/program/accepted_orgs/google/gsoc2012
This is a fantastic piece of news and a great followup after GSoC 2011. The new idea page is at:
http://sourceforge.net/apps/mediawiki/gdcm/index.php?title=GDCM_Summer_of_Code_2012
http://www.google-melange.com/gsoc/program/accepted_orgs/google/gsoc2012
This is a fantastic piece of news and a great followup after GSoC 2011. The new idea page is at:
http://sourceforge.net/apps/mediawiki/gdcm/index.php?title=GDCM_Summer_of_Code_2012
Tuesday, February 28, 2012
Converting to A4 PDF
I had to resize some PDF file from an odd size to A4. I finally found out the right script:
convert -density 300 input.pdf input.ps gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sPAPERSIZE=a4 -sOutputFile=output.pdf input.ps
Sunday, February 26, 2012
Nature article on open computer programs
"Our view is that we have reached the point that, with some exceptions, anything less than release of actual source code is an indefensible approach for any scientific results that depend on computation, because not releasing such code raises needless, and needlessly confusing, roadblocks to reproducibility."
Ref:
http://www.nature.com/nature/journal/v482/n7386/full/nature10836.html
Time zone database suit withdrawn
It's a fundamental principle of copyright law that facts are not
copyrightable, and Astrolabe should have known that,"
ref: https://www.eff.org/press/releases/eff-wins-protection-time-zone-database
copyrightable, and Astrolabe should have known that,"
ref: https://www.eff.org/press/releases/eff-wins-protection-time-zone-database
Wednesday, February 1, 2012
Thursday, January 26, 2012
Wednesday, January 25, 2012
Friday, January 20, 2012
Copyright (c) 1998 Sun Microsystems, Inc. All Rights Reserved.
Thanks to Mark Longair, I was able to make some progress on ITP #623244. However upon inspection I found the following license found within the source code:
/* * TreeTableModel.java * * Copyright (c) 1998 Sun Microsystems, Inc. All Rights Reserved. * * This software is the confidential and proprietary information of Sun * Microsystems, Inc. ("Confidential Information"). You shall not * disclose such Confidential Information and shall use it only in * accordance with the terms of the license agreement you entered into * with Sun. * * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING * THIS SOFTWARE OR ITS DERIVATIVES. * */Ref: * http://www.unidata.ucar.edu/mailing_lists/archives/netcdf-java/2012/msg00002.html I need to clear this before moving ahead. * http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641447
Saturday, January 7, 2012
Tuesday, January 3, 2012
Optimus technology
After ditching my toshiba laptop I decided to switch to a DELL laptop. Tough luck, this comes with one of those hybrid cards "Optimus technology".
As per instructions:
- http://linux-hybrid-graphics.blogspot.com/
I filled mine:
- https://bugs.launchpad.net/lpbugreporter/+bug/752542/comments/451
now let's try to get bumblebee to compile on my debian box:
- https://github.com/Bumblebee-Project/
Reference:
-http://nouveau.freedesktop.org/wiki/Optimus
As per instructions:
- http://linux-hybrid-graphics.blogspot.com/
I filled mine:
- https://bugs.launchpad.net/lpbugreporter/+bug/752542/comments/451
now let's try to get bumblebee to compile on my debian box:
- https://github.com/Bumblebee-Project/
Reference:
-http://nouveau.freedesktop.org/wiki/Optimus
Subscribe to:
Posts (Atom)