Does anybody use DjVu files in their production tools? - python

When it's about archiving and doc portability, it's all about PDF. I heard about DjVu somes years ago, and it seems to be now mature enough for serious usages. The benefits seems to be a small size format and a fast open / read experience.
But I have absolutely no feedback on how good / bad it is in the real world :
Is it technically hard to implement in traditional information management tools ?
Is is worth learning / implementing solution to generate / parse it when you now PDF ?
Is the final user feedback good when it comes to day to day use ?
How do you manage exchanges with the external world (the one with a PDF only state of mind) ?
As a programmer, what are the pro and cons ?
And what would you use to convince your boss to (or not to) use DjVU ?
And globally, what gain did you noticed after including DjVu in your workflow ?
Bonus question : do you know some good Python libs to hack some quick and dirty scripts as a begining ?
EDIT : doing some research, I ended up getting that Wikimedia use it to internally store its book collection but can't find any feedback about it. Anybody involved in that project around here ?

I've found DjVu to be ideal for image-intensive documents. I used to sell books of highly details maps, and those were always in DjVu. PDF however works really well; it's a standard, and -everybody- will be able to open it without installing additional software.
There's more info at:
http://print-driver.com/news/pdf-vs-djvu-i1909.html
Personally, I'd say until its graphic-rich documents, just stick to PDF.

Related

Using Python to set up ADwin Gold 2 for experimental data gathering and processing

I've recently joined a research group and I'm trying to figure out how to program in Python to set up an ADwin Gold II to speed up data gathering and processing the results. I'm very rusty with coding haven't done any in a year or so, and finding the docs on ADwin very hard to follow.
If anybody could explain how to used the python ADwin commands from the official python addon, or show me to any material that may be useful. This would be enormously appreciated.
Thanks in advance.
Its very hard to find, but on the installation folder, in the software folder, you can find a python Manual. There was no mention of this anywhere in the manual I stumbled across it by pure chance.
Any other poor soul out there, may this be an aid in your suffering.

Time Travel Debugging in Python - what tools are suggested to use?

I was recently wondering about Time Travel Debugging in relation to Python.
I found information about tools like:
RevPDB - unfortunately the last recorded activity is from 2016
timetravelpdb - unfortunately the last recorded activity is in 2015
Since the projects were updated so long ago, I was wondering if the tools used for TTD had changed for the moment?
I am counting on constructive discussion and advice & suggestions what to use now.
It is all about sharing the knowledge.
General Overview of TTD Research
At this very moment, available solutions are those listed in the description of the question and additionally PyTrace.
As far as RevPDB and timetravelpdb are concerned, I haven't tested these solutions in any way as the activity in these projects is registered a few years ago so I assumed that in case of problems contact with the support will be difficult.
How to start working with it?
To start with, it is worth using an interactive demo to learn about the basic functionalities and the way it works:
PyTrace Interactive Demo
If you need more information, check this site:
PyTrace Official Site
I am impressed with this project and I'm going to start using it in my daily coding routine so I will post my thought and tips about it later.
Stay tuned!

How do you convert a Foxpro (prg file) code to Python

I currently have a quite big program written in FoxPro (prg file). Now FoxPro is actually really getting outdated, so what I want to ask is the following:
Is it possible to convert all the FoxPro code (.prg file) to Python? Is there a simple trick/code for this? Python has to become my main coding platform, so I don't need to use FoxPro anymore for when I want to adjust some code or something else. Does someone have experience with this?
I hope to hear from you, appreciate your help.
PS: Please note that I am quite new to Python.
There are plenty of people from the FoxPro community who migrated into the Python world certainly, but there are no tools that I know of for converting source code. As with most of these 'can I convert from language x to language y' questions, you would spend more time getting the result into shape than you would just documenting and rewriting.
There are some Python scripts that implement common Visual FoxPro functions in the download section on Leafe.com which might help.
You might want to check out this question.
There is also vfp2py.
Python comes with support for excellent SQLite database built-in with the sqlite3 module. (You are probably aready using sqlite, but you might not even know it.) Storing the data in an sqlite database means you will not have to worry about not being able to access it for the rest of your life.

How steamkit work?

Currently, i want to implement a trading system for steam games (with python).
So, i searched github, but sadly, there are only
https://github.com/Jessecar96/SteamBot
https://github.com/Jessecar96/SteamKit2
Yeah, they works good. But they are C# -- don't tell me python can't do this :).
So, i want to start with the steamkit part. I thought it's not difficult(maybe just some web-apis), but when i kinda review the code of SteamKit2, i find it seems use TcpConnection to Steam Network, don't know how they get the protocol.
Does anyone has any idea about this, i think about use python load steamkit2.dll, but im really noob with C#
You don't want to use the SteamKit2 port on that repository. It is a branch (and an out dated one at that) of the official SteamKit2 repository. It also looks like they are attempting to get rid of the branch based on this issue discussion.
To answer your question, there is a port of SteamKit to Python. It is called PySteamKit and is written by one of the contributors to SteamKit2.
Unfortunately, there doesn't seem to be much documentation in the Wiki of either the official SteamKit or the Python port on how to use the package. You may have to look at the Samples provided by SteamKit which are in C#.

Virtual Machine implemented in assembly on an x86

I was just wondering if anybody here has written or knows where I can find a simple virtual machine written in x86 assembly, preferably Fasm, but anything would serve as an example as long as it is simple or at least well commented. Thank you in advance.
A VM written in FASM? Hmm, the closest project that I can think of is RevaForth, an implementation of Forth originally written in FASM. The author has since switched to NASM, but that is not much different from FASM.
I did something like that in the past for a software protection. A great resource is definitely this essay from anormal/kindergarten on the great and still relevant +Fravia website.
http://www.woodmann.com/fravia/new_anor.htm

Categories

Resources