Re: suggestions sought for a framework for a quick, dirty, really simple GUI prototype
Hey, It isn't the first idea that comes to mind but what about SDL ? You have no buttons or any other GUI objects, but it doesn't sound like you need it and SDL suppose to be able to handle a lot of data with no problem. Also you can push events (data changes) to the loop safely with threads. It's just another idea for you to consider. Yochai On 07/18/2012 11:50 AM, Oleg Goldshmidt wrote: > Hi, > > I have no - literally zero - experience in creating GUIs of any kind. I > face the following task now: there is a C++ program that runs on Linux > and basically receives some packets with some data over the network and > does some transformations on the data. As a result some data structures > are created and updated - potentially many times a second, say, a few > times a second for any *single piece* of data. I need a *prototype* GUI > that would display and constantly update (parts of) those structures, > say strings and numbers with colours and labels and stuff. There may be > a need for a drop-down menu for some configuration - don't know yet. > Eventually maybe a button or two will be added to invoke some actions. > > I figure that the simplest way about it would be to make the GUI run on > the same Linux machine and write it in C++ for ease of integration. What > would be the easiest / simplest framework to use? Is it Qt? Ultimate++ > (http://www.ultimatepp.org/ - just one of the things I found in a simple > and brief search)? Since I have no experience it's difficult for me to > judge quickly. > > What is important here is speed and painless ramp-up to some fairly low > level. I want to be up and running as fast as possible with as little > coding as possible. No need for bells and whistles. No need for long > term maintenance. It is for a throw away demo/prototype - and yes, I am > sure it (the GUI part) will be thrown away. > > Any suggestions / experiences / war stories / whatever? > > Thanks in advance, > > -- > Oleg Goldshmidt | p...@goldshmidt.org <mailto:o...@goldshmidt.org> > > > ___ > 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: suggestions sought for a framework for a quick, dirty, really simple GUI prototype
Sorry, I thought it will be clear what I'm speaking about. https://en.wikipedia.org/wiki/Simple_DirectMedia_Layer On 07/19/2012 11:37 AM, Omer Zak wrote: > On Thu, 2012-07-19 at 10:55 +0300, yochai wrote: >> Hey, >> >> It isn't the first idea that comes to mind but what about SDL ? > > How about giving an URL to a Website or a Wikipedia article, which > describes the specific SDL that you refer to? > > When searching both resources, Google returned irrelevant links > and Wikipedia was rather ambiguous. > > Thanks, --- Omer > > ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: suggestions sought for a framework for a quick, dirty, really simple GUI prototype
Shlomi, I gave it as an idea as I understood he doesn't need a full GUI or anything with a shiny look but to print a lot of data very fast. I'm sorry if I miss-understood anything. Yochai On 07/19/2012 12:12 PM, Shlomi Fish wrote: > Hi all, > > On Thu, Jul 19, 2012 at 12:02 PM, yochai wrote: >> Sorry, I thought it will be clear what I'm speaking about. >> >> https://en.wikipedia.org/wiki/Simple_DirectMedia_Layer >> > > I would recommend against SDL, because creating a decent GUI with it > will require a lot of work, and on top of it will give you a giant > window of raw graphics in the screen, which isn't very user-friendly > or impressive. SDL is good enough for games, but not for a GUI > application. > > There used to be a GUI library for SDL called "ParaGUI" but its home > page is currently down. I'm not sure if it could fix all of SDL's > limitations in regards to its usability as a GUI platform. > > Regards, > > -- Shlomi Fish > >> >> On 07/19/2012 11:37 AM, Omer Zak wrote: >>> On Thu, 2012-07-19 at 10:55 +0300, yochai wrote: >>>> Hey, >>>> >>>> It isn't the first idea that comes to mind but what about SDL ? >>> >>> How about giving an URL to a Website or a Wikipedia article, which >>> describes the specific SDL that you refer to? >>> >>> When searching both resources, Google returned irrelevant links >>> and Wikipedia was rather ambiguous. >>> >>> Thanks, --- Omer >>> >>> >> >> >> ___ >> 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: tablets, readers and E ink - a question
Hey, >From my experience E-Ink are better for reading plain text. The E-Ink I had experience with was all black and white and wasn't so great for internet access or pictures. Reading on it was better then a paper book, felt the same for the eyes and pages didn't flip by them self, also a lot of books are much heavier. The main issues of LCD are the inability to read in direct light and lower batter life. Even after anti-glare cover that I've added, I still need to shade the screen. Experience: A few hours of toying with a E-Ink based reader and a lot more with the Nook Color I own. The biggest issue I found with the Nook Color for reading was that with some PDFs it was to slow to read (more then two second to load the content into the screen) but I think it won't be an issue with a newer tablet. If you go for E-Ink make sure that you have a light-source. Yochai On 10/08/12 11:06, Dan Shimshoni wrote: > Hi all, > > Question: > I think of buying some tablet device which its main purpose is reading > (pdf, documents in word format, books, and for a real less degree xchm files). > I intend to use if also for Internet browsing (also reading/writing > emails via webmail). > > Options I think of are: > Some 10'' Reader (like kindle) which has E-Ink support. > > Tablet (10'') like some android-based tablet or iPad. > > AFAIK, most tablets (if not all) do not come with E-Ink support. > > In all cases, what I need is wifi support (3G is not mandatory). > > My question is simple: > Suppose I intend to have 80% of the usage time for reading docs (pdf, etc) > and only 20% of the usage time for Internet - which is better ? > > Or to put it more sharply - Is E Ink technology really substantial > when reading docs ? > > I appreciate those who has real experience with these devices > regarding reading pdf/books and accessing internet > with this devices will comment from their experience. > > rgs, > DS > > ___ > 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: tablets, readers and E ink - a question
You are right, the Nook Color doesn't use E-Ink. I can only assume that some PDFs were slow due to the weak CPU as PDFs that contained only text were readable. It was tested using CM7 which I'm using instead of the limiting original software. Yochai On 10/08/12 16:08, Shachar Shemesh wrote: > On 10/08/2012 12:20 PM, yochai wrote: >> The biggest issue I found with the Nook Color for reading was that with >> some PDFs it was to slow to read (more then two second to load the >> content into the screen) but I think it won't be an issue with a newer >> tablet. >> > The Nook Color is not e-ink, right? Why would it be slow to display PDFs? > > Shachar > > -- > Shachar Shemesh > LiveU > http://www.liveu.tv > ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: תרגום הפוך בעת צפייה בסרטים דרך WallaVOD עם לינוקס.
https://bugbase.adobe.com/index.cfm?event=bug&id=3008563 On 10/08/12 16:01, Amichai Rotman wrote: > שלום חברים, > > באתר WallaVOD ניתן לצפות בסרטים חינם אך התרגום מופיע הפוך. יש פיתרון? > > אני עובד עם אובונטו 12.04 ו-Flash Player 11. > > תודה! > > > עמיחי רוטמן > פינגווין - שרותי מחשוב וייעוץ טכני בקוד פתוח > 073-7962360 || 054-4605787 > > > > Please consider the environment before printing this e-mail! > > > > ___ > 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: Parts of the internet keep on disappearing on me
I know it's a basic question, but did you check that you have no issue with resolving domains while the computer doesn't work properly ? On 01/20/2013 09:49 PM, Shachar Shemesh wrote: > Hi all, > > I have a really strange problem. On one of the computers in my house, > parts of the internet keep on disappearing. Sometimes half the internet > is inaccessible, and sometimes it's just a couple of sites (google is a > favorite for this problem). > > This is, most definitely, NOT a router or ISP problem. Other computers > on the same network are working fine. A virtual machine connecting via a > bridge on the same network is working fine (via NAT it does not). > > Bringing the interface down and back up does not help. > > Existing connections remain connected, without a problem. > > The only thing that restores connectivity is rebooting (!!) > > There is nothing out of the ordinary in the routing table. > > Ideas? > > Shachar > > -- > Shachar Shemesh > > > > ___ > 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: multiple python versions
Another option is Nix, which with some effort can be installed in Ubuntu and can provide you with different environments for many languages. You can use it to create as many python installations as you want. On 22/07/2021 20:05, Dan Yasny wrote: On Thu, Jul 22, 2021 at 12:51 PM Shlomo Solomonwrote: I guess I don't completely understand the concept after all. If I setup a virtual environment for 3.9.6, how would it "know" that modules are installed in the 3.8 directory? As I wrote in my original post, without a virtual environment, in 3.9.6 I get: >>> import scapy Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'scapy' but the module does exist in 3.8: sudo pip3 install scapy Requirement already satisfied: scapy in /usr/local/lib/python3.8/dist-packages (2.4.4) So how do I tell the 3.9.6 environment to look for modules in the 3.8 directory? You don't, that's the whole point of venv - you have a separate set of modules in each environment, specific to it's version. There's the site-packages argument of course, but it's far from being best-practice. On Thu, 22 Jul 2021 12:41:41 -0400 Dan Yasny wrote: > why reinstall? Keep your versions venvs in place and hop in/out > > > On Thu, Jul 22, 2021 at 12:37 PM Shlomo Solomon > wrote: > > > Omer Zak wrote: > > > The answer to your prayers is pyenv. > > > It allows you to install multiple Python versions in parallel, > > > and for each version you can maintain several virtualenvs. > > > > Dan Yasny wrote: > > > How about using virtualenv for alternative versions? > > > > > > Yes, I know about pyenv and virtualenv, but wouldn't I have to > > re-install modules for each version/environment? That's what I'm > > trying to avoid. > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ 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
asp pages
hello !! i am looking for some one to debug ASP pages for my company also just got linux mandrake ver 7.1 and looking for some one who installed it and met any -if at all-problems on the way thanks Lam,Yochai System administration, development dep. Kla - tencor corp. Migdal haemek israel ph +972-(0)6-6449(482) cell:+972-(0)54-933612 email:[EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
pcanywhere 4unix 2b found?
hello all !! does any one knows of something equivalent to pcanywhere (at the wintel platform) 4linux/unix? Lam,Yochai System administration, development dep. Kla - tencor corp. Migdal haemek israel ph +972-(0)6-6449(482) cell:+972-(0)54-933612 email:[EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
how long since you've heard one like this.......?
here's a question you didn't hear the last 8 years. "what command do you use in a batch file to delay the running of commands 10 seconds, without outside intervention"? i want to delay the system to allow the startup of a slow starting service Lam,Yochai System administration, development dep. Kla - tencor corp. Migdal haemek israel ph +972-(0)6-6449(482) cell:+972-(0)58-531689 personal cell +972(0)54933612 email:[EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
linux instalation on multi OS system
hello ! im intended to install linux mandrake 7.1 server on my computer. the computer has allready windows ME + windows NT station and windows NT server. can enyone tell me if im going to have troubles? should i install it on a FAT,NTFS, or create a new unix native partition? (got 8 GB raw disk area..) thanks for a quick reply ! (p.s. if enyone close to afula wants to help,great food is promised on behalf of the house's madam!!) Yochai Lam networking management dev.dept.kla-tencor israel hatikshoret 4 st.ramat gavriel migdal haemek. israel 972-6-6449482 (+voice) 972-58-531689 (cell.) <> Lam, Yochai.vcf
RE: linux installation on multi OS system
ok,up to here everything is fine with me. let me clarify my intentions: is lilo going to overide the ntldr and how can i preserve all systems p.s. heared too many "it destroyed my XXX" stories -Original Message- From: Mevorach, Assaf [mailto:[EMAIL PROTECTED]] Sent: Sun, October 22, 2000 9:08 AM To: Linux-Il (E-mail) Subject: RE: linux installation on multi OS system you need to make another partition at least 1.5 GB for the Linux OS and another partition for swap at the size of your RAM with one of the partitioning tools that are available (I recommend with fibs which comes with the distribution) and then to install a boot loader LILO or GRUB in case that the other partition is far from the boot sectors. If you will follow the README's and do only thing you are fully understand their results, there will be no troubles. if you feel it is complicated you can always wait for the next installation party in the Technion (not far from Afula ;) ) -Original Message----- From: Lam, Yochai [mailto:[EMAIL PROTECTED]] Sent: Sunday, October 22, 2000 8:24 AM To: Linux-Il (E-mail) Subject: linux instalation on multi OS system hello ! im intended to install linux mandrake 7.1 server on my computer. the computer has allready windows ME + windows NT station and windows NT server. can enyone tell me if im going to have troubles? should i install it on a FAT,NTFS, or create a new unix native partition? (got 8 GB raw disk area..) thanks for a quick reply ! (p.s. if enyone close to afula wants to help,great food is promised on behalf of the house's madam!!) Yochai Lam networking management dev.dept.kla-tencor israel hatikshoret 4 st.ramat gavriel migdal haemek. israel 972-6-6449482 (+voice) 972-58-531689 (cell.) <> = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
mandrake 7.2 for sale?
is there a place where i can buy the mandrake 7.2 package (..i.e. full version).? Yochai Lam networking management dev.dept.kla-tencor israel hatikshoret 4 st.ramat gavriel migdal haemek. israel 972-6-6449482 (+voice) 972-58-531689 (cell.) <> Lam, Yochai.vcf
XF86config
hello all ! i fiddled with the grub on my new mandrake and it went kaput ...(didn't load just went grub>) so i decided to install again in and everything went fine ..exept..the screen refresh rate is too high on the x-server how can i fix it? i understand i go to /etc/drivers and look for XF86config ok,,how do i load it and change the refresh rate? im a beginner so don't send me any chines scripts language.. Yochai Lam networking management dev.dept.kla-tencor israel hatikshoret 4 st.ramat gavriel migdal haemek. israel 972-6-6449482 (+voice) 972-58-531689 (cell.) <> Lam, Yochai.vcf