Re: Converting multiple html files to pdf files

2011-10-30 Thread Jason Friedman
 Printing from
 Firefox to PDF works, but is a manual process. Considering I have hundreds
 of files, it is impractical.

You could try scripting Firefox using MozRepl
(https://github.com/bard/mozrepl/wiki).

There is a CPAN (perl) module which may help.

Jason
-- 
Jason Friedman
Postdoctoral scholar
Macquarie Centre for Cognitive Science
Macquarie University, NSW 2109 Australia
email: write.to.ja...@gmail.com
web: http://curiousjason.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Converting multiple html files to pdf files

2011-10-30 Thread Oleg Goldshmidt
Steve G. word...@gmail.com writes:

 1. Is there a more automated, preferably command line, to take each file, and
 convert it to from filename.htm to filename.pdf, while keeping the
 file name?

html2ps + ps2pdf

-- 
Oleg Goldshmidt | p...@goldshmidt.org

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Converting multiple html files to pdf files

2011-10-30 Thread Mordecha Behar
2011/10/30 Steve G. word...@gmail.com

 Happy Halloween!

 I have a large number of .htm files (text in English, Spanish or Hebrew
 with punctuation marks) which I want to convert to .pdf or PDF files, so I
 can read them on the Kindle.

 I know how to do it manually - I open them in a browser, select
 Print-Print to file - PDF, give a name and print. But as I have several
 hundred files, it is not practical.

 1. Is there a more automated, preferably command line, to take each file,
 and convert it to from filename.htm to filename.pdf, while keeping the file
 name?

 2. Is there a way to control the output of the pdf file, so that the font
 size is adequate for the kindle (I do not have specs, so I will use trial
 and error), which has a small screen with a 600x800 resolution?

 For the record, I tried a program called wkhtmltopdf (static version), and
 it works, but sticks rectangles  between letters rather often. Printing
 from Firefox to PDF works, but is a manual process. Considering I have
 hundreds of files, it is impractical.

 Thanks,


Calibre (http://calibre-ebook.com/) will convert just about anything to
just about anything, as long as there is no DRM involved. It also has a
function for batch-conversions, although I've never used it (the batch
conversion. I do use it to manage my eBook library and convert files
singly). But the reviewers rave


 Z.

 http://www.words2u.net - GPS points and tracks (mainly in Costa Rica)

 http://www.words2u.net/recipes - Recipe collection

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Israeli Mageia Linux Mirror

2011-10-30 Thread geoffrey mendelson


On Oct 28, 2011, at 7:13 PM, Shlomi Fish wrote:

Shlomi,


Well, I know that I can download from http://mirror.isoc.org.il/ in  
the full
download speed, and that I can also download more quickly by opening  
several
connections (using https://sourceforge.net/projects/prozilla/ ). So  
it seems a

bit suspicious.


No, it's how various ISP's do traffic shaping. For example, 012 has a  
magic limit, over which they can not control things, so if you open  
enough connections it will equal full line speed. If you only open 2  
or 3 it will total the limited speed they want you to have.


It's part of net neutrality, that everyone gets their fair share of  
what they are paying for. Luckily, IMHO Israeli ISPs are not 100%  
neutral, they allow you to pay a small monthly fee and get better  
performance than people who don't.


A friend of mine is in the private network business and he sells  
10mbit up/down dedicated bandwith to the US connections. They go for  
about $10,000 a month (yes, that is dollars).




I also recall that download speed from abroad was better about two  
years ago.


That's because ALL internet connections from North Africa to the Gulf  
of Arabia, use fiber optic cables across the bottom of the  
Mediterranean Sea, and about two years ago several were cut. I think  
they have been since repaired, but the richer customers of the cable  
companies get better service than we do. :-(


Also things have changed here, two years ago a 5mbit connection was  
high priced rarity, and now 15mbit NGN (fiber to near your home) and  
12mbit cable connections are common.


Well, I need to do things when I need to do them, and need to  
download stuff

throughout my computer working day. And when I do, it tend to sucks.



Yes, I expect it does. If you can't get an official mirror, maybe you  
could create your own. Off hour bandwith is cheap, and so is disk  
space. After all there is no guarantee that an Israel mirror would  
update during peak time, and it's very likely it won't.


Geoff.
--
Geoffrey S. Mendelson,  N3OWJ/4X1GM
My high blood pressure medicine reduces my midichlorian count. :-(














___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Towards the GPGPU lecture series

2011-10-30 Thread Orna Agmon Ben-Yehuda
Hello everyone,

General Purpose GPU programming became a hot topic in the last few years,
ranging from academic studies to being used by commercial software
products. As an example, three out of the world’s top10 supercomputers
(June2011 list) contain GPUs in them. This series of lectures focuses on
OpenCL, the open standard for parallel programming of heterogeneous systems.

On November 14th Haifux will begin a 4-meeting series (8 hours in total) of
practical, hands-on GPGPU, given by Ofer Rosenberg from AMD Israel (
http://www.linkedin.com/in/oferrosenberg ).  The meetings will take place
at Taub 6, on alternate Mondays (14/11, 28/11, 12/12, 26/12), 18:30-20:30,
but watch our site (http://haifux.org) or join the announcement mailing
list on the same page for announcements on changes (in particular, room
changes).
The outline of the talks will be as follows (see detailed syllabus below):

1. GPGPU introduction
2.OpenCL introduction
3.OpenCL Dos and Don'ts
4.OpenCL optimization and profiling

The third and fourth meetings will include hands-on experience, under
Ofer's guidance. For these meetings, each participant will have to bring a
laptop with:
1. Linux (this is Haifux, the Haifa Linux Club)
2. An x86 processor, either AMD or Intel. An IPAD is not good for this
purpose.
3. AMD's OpenCL implementation installed. It works both on AMD and Intel,
installation details for those who need them will follow.
4. Eclipse installed.
5. If possible, an AMD GPU, with a version number of 54 or higher.  Use
“lspci | grep VGA” to find the GPU vendor  model.

To arrange for machine access for those who do not have a suitable laptop,
as well as prepare for the series,* please reply in private to
webmas...@haifux.org*
*if you intend to attend the series.
*If you have (or do not have) the required gear. In particular, if you have
an AMD GPU.

 Please forward to whomever you see fit.

*Syllabus: Introduction to GPGPU Programming*

General Purpose GPU programming became a hot topic in the last few years,
ranging from academic studies to being used by commercial software
products. As an example, three out of the world’s top10 supercomputers
(June2011 list) contain GPUs in them. This series of lectures focuses on
OpenCL, the open standard for parallel programming of heterogeneous systems.

1. GPGPU introduction
The first lecture is an introduction to GPU architecture and GPGPU
programing. It covers the differences between GPU and CPU architectures,
and how these differences impose restrictions on programming GPUs. We will
also touch the issue of memory aspects of GPU architecture and the overall
system (CPU  GPU)

2. OpenCL overview
From the Khronos website: “OpenCL™ is the first open, royalty-free standard
for cross-platform, parallel programming of modern processors found in
personal computers, servers and handheld/embedded devices”. This lecture
will provide an overview of OpenCL, covering the API programming aspects
(such as OpenCL objects, contexts, queues, events, etc.) as well as the
language enhancements (such as vectors, images, samplers, built-in
functions etc.)

3. OpenCL Do’s and Don’ts
This lecture provides a practical guide for programming in OpenCL by doing
a hands-on guided experience of writing OpenCL applications and kernels.
Starting from basic examples through more complex scenarios, we will
provide some tips for writing code that provides the required correct
results. We will also provide some performance tips.

4. OpenCL Optimization  Profiling
This lecture focuses on performance aspects of OpenCL. We will provide a
hands-on experience of improving performance of OpenCL kernels by
optimizing a specific example. In addition we will show ways to profile the
kernel, including working with profiling tools such as AMD kernel profiler
and gDebugger. Note that some of issues presented in this lecture will be
possible only on AMD GPUs.

--
Orna Agmon Ben-Yehuda.
http://ladypine.org
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


talk.google.com certificate problem

2011-10-30 Thread Lior Kaplan
Hi,

When trying to use talk.google.com in pidgin I get a certificate that
expired on the 25th. See also
http://www.google.com/support/forum/p/Google+Apps/thread?tid=296e90270b07985bhl=en

Does anyone else encounters the same problem ? Because I would expect
something like that to get a bigger echo (and get solved quickly).

Kaplan
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: talk.google.com certificate problem

2011-10-30 Thread ik
2011/10/30 Lior Kaplan kaplanl...@gmail.com

 Hi,

 When trying to use talk.google.com in pidgin I get a certificate that
 expired on the 25th. See also
 http://www.google.com/support/forum/p/Google+Apps/thread?tid=296e90270b07985bhl=en

 Does anyone else encounters the same problem ? Because I would expect
 something like that to get a bigger echo (and get solved quickly).


I do, for few weeks now...



 Kaplan


 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il