library or program to convert ppt/pptx files to odt files

I have ppt/pptx files that I want to convert to text format like odt or LaTeX for printing.

Printing ppt/pptx files is possible but not ideal since slides take to much space(require more papers) even if I print two slides in each paper, it also requires more ink since the font is large and most slides have styling.
In the past I used LibreOffice outline view to show the presentation as a text document and then copy the contents in a new odt file and adjust the styling a bit, the downside is that this requires a lot of work since I have to adjust the styling and also copy over the images manually, moreover some slides don’t even show in the outline view of LibreOffice so I have to copy the text from the slide directly(which is a bit time consuming).
my idea of converting is to turn this slide for example(click the image to see it bigger):

slide

to this in libreoffice writer:

libreoffice writer

You can see that it takes a lot less space(less than 1/4 of the page) and will probably consume less toner, that and the fact that the document is now easier to read on paper.

So Is there a tool that does this converting automatically? I am on Linux but if the solution is windows only I can try to run it through wine.

A python library that parses the pptx files and gives an object will also be helpful since I can write a script to do the conversions I want easily.

Deployoing compiled program from Atmel Studio or Avr dude to Atmel “XMEGA-A3BU Xplained” [migrated]

Im attempting for the last 3-4 days to connect the Atmel dev board to the computer in order to either load the .elf or hex file to the bootloader in order to turn on a LED.

Im following instructions based on the online document ‘Atmel AVR1916: USB DFU Boot Loader for XMEGA”

The dev board is powering on & I see the menu displayed correctly on the LCD.

My OS is Windows 10, my IDE is Atmel 7 & my device programmer is avr-dude.

These are my steps:

1) Press SW0 while connecting USB

2) Connect PC6 to GND while connecting to USB

3) I tried using Flip to write to the flash & write to the board, however Flip displays error “Could not open USB device”.

4) Initially the dev board shows up as COM port “XPLAINED Virtual Com Port”
, however after updating the drivers the Windows device manager refreshes and the dev board shows up as “USB Serial Device (COM6)”

5) I updated the USB Serial Device in Device Manager with USB drivers included with Flip & tried again connecting/finding the device however again Flip displays error “Could not open USB device”.

See below:

enter image description here

6) Then I re-plugged in the USB to make sure that everything & repeated Step 1.

In Windows Device Manager the dev board is still “USB Serial Device” so Ok.

I retried several times with Flip until switching to “avr-dude”

7) Now using AVR dude GUI I tried writing the hex to Flash, in the GUI menu I selected:

*my target device

*then I pointed to my .hex that was built via Atmel studio

  • Then in the Setup menu , I tried at atmel available options as device

programmer avr109,avr910,avr911

For avr109 & avr910, I got the following error output:

trying to connect to device… by 1st pressing “verify”
Found programmer: Id = “”; type =
Software Version = . ; Hardware Version = .
Programmer supports the following devices:
Device code: 0x40 = (unknown)
Device code: 0x40 = (unknown)
Device code: 0x40 = (unknown)
Device code: 0x40 = (unknown)
Device code: 0x40 = (unknown)
Device code: 0x40 = (unknown)

For avr911, I got:

trying to connect to device…
Connecting to programmer: .
Found programmer: Id = “@ d”; type =
Software Version = . ; Hardware Version = .
avrdude: error: buffered memory access not supported.

Then I tried programming the device using Atmel 7 studio, therefore I went to Tools menu & Device Programming, but all the options are empty there is no Tools or Devices to select.

I also changed the USB wire just in case.

Please help , what do I need to do to deploy my HEX file to the Atmel “XMEGA-A3BU Xplained” dev board?

I will accept any answer either using Atmel Studio, Flip, or Avr dude.

Thanks a million!

Applying to US Visa-Waiver program with two passports, one of which is expired

I am going to travel to USA in December and as Italian citizen I qualify for the Visa-Waiver program (I also meet the other requirements). The thing is that I am also an Argentinian citizen, but my Argentinian passport expired more than 10 years ago. Note that Argentina does not belong to the list of countries in the Visa-Waiver program. I have a couple of questions:

  1. When applying for the Visa Waiver program, what should I answer when I am asked if I have a second passport? I do have a second nationality, but, precisely speaking, I do not have a second passport, since the one I had expired more than 10 years ago.
  2. Could it happen that US officials don’t let me into the country because I do not have a valid passport of my second nationality, i.e. a valid Argentinian passport?

Implement the UNIX `cat` program using only `bash` built-ins [on hold]

We define the most basic form of the UNIX cat program: Copy data from stdin to stdout verbatim. Data means arbitrary 8-bit binary data.

The challenge: Implement cat using only bash built-in commands. The program may fork, but may not cause any program to exec, other than bash.

The winning solution is an implementation of cat according to the above definitions and criteria.

Bonus round: Why doesn’t bash implement cat as a built-in?

How does computer privacy law apply in Canada when program reports who’s using it?

If someone is hired to make a program for someone else, of course they don’t need a EULA (end user license agreement) when they give the program to them as they are the owner. Is it possible for the person receiving the program to claim that the program violates their privacy if the program transmits information back to the developer (even in the event the program is not paid for i.e. a call home feature)? In other words, if someone doesn’t pay the developer for software, can they claim that the software violates it’s authorized use of the computer due to a call home feature (which reports username, IP and network name)?

My last question got closed because it was too specific, but I thought some background information would be useful: someone hired me to build a program, which he never paid me for, but I know he is still using it due to a “call home” feature. He found this feature and claims it’s in breach of http://laws-lois.justice.gc.ca/eng/acts/C-46/section-342.1.html

Program to organize sewing patterns

I am searching for an application that helps me to organize my sewing patterns (mostly pdf). For each file I want to

  • assign some tags

  • assign one (or more pictures). One specific picture
    should represent the whole sewing pattern on an overview page

Also I want to filter the sewing patterns by the tags and search for them.

Honestly I cannot phrase a google search that leads to any fitting results, so I am very thankful for any hint.

Tor Unexpectedly Exited. This might be due to a bug in Tor itself, another program… MAC OSX Sierra

Seen many posts on this with no working solution. Installed Tor via website for Mac OS Sierra. Can’t see any other Tor process running in Activity Monitor. Inside my torbrowser.app I double clicked the “tor” file and this is what it said (if it’s of any use):

/Applications/TorBrowser.app/Contents/Resources/TorBrowser/Tor/tor ; exit;
Nov 02 01:33:11.580 [notice] Tor 0.3.1.7 (git-6babd3d9ba9318b3) running on Darwin with Libevent 2.0.22-stable, OpenSSL 1.0.2k, Zlib 1.2.8, Liblzma N/A, and Libzstd N/A.
Nov 02 01:33:11.581 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Nov 02 01:33:11.654 [notice] Configuration file "/home/debian/install/etc/tor/torrc" not present, using reasonable defaults.
Nov 02 01:33:11.658 [warn] Couldn't set maximum number of file descriptors: Invalid argument
Nov 02 01:33:11.658 [warn] Failed to parse/validate config: Problem with ConnLimit value. See logs for details.
Nov 02 01:33:11.658 [err] Reading config failed--see warnings above.
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...none found.

Also inside the package in the same folder is torrc-defaults but no torrc on its own. Either way can’t open browser despite months of trying, deleting the file etc. Somebody suggested something else could be using Port 80 – is that a valid reason? If so how do I fix it or determine the problem?!

Counting program fails in arithmetic test

having a little trouble with this rather basic script. This script works on Bash in my macbook pro, but not on my Linux Mint desktop, which also uses bash.

I can’t figure out what’s wrong with it.

I’m still getting an error from bash saying:

line 6: [: -lt: unary operator expected
line 16: [: -gt: unary operator expected

with this updated code:

#!/bin/bash
clear
counter=0

function countup {
while [ $counter -lt 500 ]
do
  ((counter++))
  echo $counter
  sleep 0.2
done
countdown
}

function countdown {
while [ $counter -gt 0 ]
do
  ((counter--))
  echo $counter
  sleep 0.2
done
countup
}

countup