Do up-to-date Nvidia drivers suppress output to DVI interface?
My Linux desktop has two displays (DELL and Samsung), Nvidia GP107 (GeForce GTX 1050 Ti) with HDMI and DVI outputs. The operating system is Linux Debian Bullseye (version 11.9). Today I upgraded the Nvidia proprietary drivers from version 550.54.15-1 to version 555.42.02-1 (several .deb packages) and as a result, only the HDMI-connected display works now in X-Window. When the computer boots, the text display is via the DVI screen, and when X-Window works, the DVI screen displays nothing and information is displayed on the HDMI-connected screen. The output of 'xrandr | grep connect' is as follows: DVI-D-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 476mm x 267mm HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm I saw no obvious error messages in /var/log/Xorg.0.log nvidia-smi does not display anything abnormal. glxgears works on the screen connected via HDMI. I tried few versions of /etc/X11/xorg.conf (/etc/X11/xorg.conf.d/ is empty) including having no xorg.conf at all. All of them yield the same results (only the HDMI-connected screen displays stuff). Questions: 1. Does anyone know if Nvidia disabled, in version 555.42.*, their DVI support or changed its configuration options? 2. What, if any, configuration options should I check? Thanks, --- Omer Zak -- For the average human female, a cockroach is merely another name for a walking turd. My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list -- linux-il@cs.huji.ac.il To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
Re: Debian 12 (bookworm) vs. Nvidia?
The reason I was stuck with the uninstallable package was that the failure of the attempt to uninstall it seemed to block aptitude from uninstalling/upgrading other packages. I do not remember the exact error message. I think it was something about trying to do echo <(echo) and getting a complaint that the pipeline is broken. Eventually, I uninstalled using dpkg --remove, figuring that any unmet dependencies will be fixed later by aptitude. With this done, I was successful in sorting out things. The only remaining problem is that packages 'dkms', 'evdi-dkms', 'libevdi0' are not properly installed. This is due to missing header file 'drm.h', which is referred to by /var/lib/dkms/evdi/1.13.1/build/evdi_drm.h. There are also some non-fatal annoyances: 1. The Google talkplugin source (http://dl.google.com/linux/talkplugin/deb/) has now an invalid signature, and aptitude shouts about this each time I update sources. This file claims to be automatically modified, so I didn't try to edit it. The same source is perfectly OK in a Debian 11 (Bullseye) installation. 2. The terminal font is different from the one to which I am used, even though both claim to be monospace ("Monospace 12" in Debian 11 / GNOME Terminal 3.38.3; "Monospace Regular 12" in Debian 12 / GNOME Terminal 3.46.8 for GNOME 43). I was not successful in identifying the actual font being used by the terminal program in both installations. --- Omer Zak On Mon, 2024-03-25 at 13:58 +0200, Tzafrir Cohen wrote: > On Fri, Mar 22, 2024 at 04:08:44PM +0200, Omer Zak wrote: > > I am trying to recover from the bungled upgrade. > > I found some answers in the Internet. For example, to use kernel > > 6.1.0- > > 17 instead of 6.1.0-18 whose package version is 6.1.76-1) and to > > enable > > bookworm-updates > > (https://forums.developer.nvidia.com/t/debian-12-and-nvidia-driver-nvidia-linux-x86-64-470-223-02-run/282473 > > ). > > > > Now I am stuck with inability to uninstall xorg-video-nvidia-tesla- > > 470 > > (which I think was installed in one of failed attempts to recover) > > due > > to error in its postrm script. > > What is the error? Why do you need to uninstall it? You can always > edit > the postrm script. ___ Linux-il mailing list -- linux-il@cs.huji.ac.il To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
Re: Debian 12 (bookworm) vs. Nvidia?
I am trying to recover from the bungled upgrade. I found some answers in the Internet. For example, to use kernel 6.1.0- 17 instead of 6.1.0-18 whose package version is 6.1.76-1) and to enable bookworm-updates (https://forums.developer.nvidia.com/t/debian-12-and-nvidia-driver-nvidia-linux-x86-64-470-223-02-run/282473). Now I am stuck with inability to uninstall xorg-video-nvidia-tesla-470 (which I think was installed in one of failed attempts to recover) due to error in its postrm script. Before doing crazy things such as forced uninstallation or doing restore from backup which I took just before full upgrade, I'd like to know how do people deal with such problems (in Debian and maybe also in Ubuntu). Thanks, --- Omer Zak (The above is less than total disaster because it happens in a laptop which is not my primary work PC. I plan to upgrade my work PC only after having successfully upgraded the laptop. I also kept enough backups to have the option to perform a fresh reinstall.) On Fri, 2024-03-22 at 15:27 +0200, Rabin Yasharzadehe wrote: > My experience with NVIDIA and DKMS is that with very recent Kernels > the build can break, > but I didn't have that for some time now (years). > > Also, I get my driver from my distro repo (Fedora), which reduce the > chance of these issues. > > -- > Rabin > > > On Fri, 22 Mar 2024 at 12:01, Omer Zak wrote: > > I have upgraded a laptop from Debian 11 (Bullseye) to Debian 12 > > (Bookworm) > > > > Now I am running into trouble when trying to build DKMS modules > > needed > > by nvidia-driver (the proprietary one) on the most recent kernel > > version (I tried both 6.1.76-1 and 6.6.13-1~bpo12+1). > > > > There are some compile-time errors (different errors in different > > attempts). > > > > Is there any information about known problems of getting Nvidia > > software to interoperate with Debian 12 (Bookworm) working on up- > > to- > > date kernels? -- One cannot argue with a Bayesian filter. Peter Lorand Peres My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list -- linux-il@cs.huji.ac.il To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
Debian 12 (bookworm) vs. Nvidia?
I have upgraded a laptop from Debian 11 (Bullseye) to Debian 12 (Bookworm) Now I am running into trouble when trying to build DKMS modules needed by nvidia-driver (the proprietary one) on the most recent kernel version (I tried both 6.1.76-1 and 6.6.13-1~bpo12+1). There are some compile-time errors (different errors in different attempts). Is there any information about known problems of getting Nvidia software to interoperate with Debian 12 (Bookworm) working on up-to- date kernels? --- Omer Zak -- My Commodore 64 is suffering from slowness and insufficiency of memory; and its display device is grievously short of pixels. Can anyone help? My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list -- linux-il@cs.huji.ac.il To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
Re: Are there any implication of using or supporting Debian now that the Project Leader shared a call for BDS on debian.social ?
OOPS, my mistake. In this case, I suggest: 1. Check if any Debian Developers (Israeli or non-Israeli) were killed by the Hamas on Oct. 7th. If yes, call for impeachment of Highvoltage on grounds of his betrayal of some Debian Developers. 2 Call out Highvoltage's ignoring of the atrocities advocated by Hamas against Israel. On Sun, 2024-03-03 at 09:49 +0200, Boris Shtrasman wrote: > The person who shared that post is Highvoltage (the Debian Project > Leader) , it's posteed on Debian Project Leader page (but originally > written by someone else). > > On Sunday, 3 March 2024 9:45:24 IST Omer Zak wrote: > > I looked around the links and some Debian information. > > I found no indication that the guy has any leadership role in > > Debian. > > He describes himself as "pro-Palestine, pro-Black, pro-Indigenous, > > pro- > > Queer, pro-létarian". > > > > Seems to me that someone, who is so busy with those identities, > > would > > not have much time for real technical work. > > > > I believe that the proper course of action is to complain against > > his > > ignoring (if he did ignore - I did not read carefully) the 1200 > > Israelis mutilated and murdered by Hamas as well as the Hamas > > Charter, > > and then just ignore him and do not let him affect our Debian > > related > > work. > > > > --- Omer Zak > > > > > > > > On Sat, 2024-03-02 at 21:21 +0200, borissh1...@gmail.com wrote: > > > Hi, > > > > > > A bit clueless question , but are there any legal implication of > > > using or supporting Debian now that the Debian Project Leader > > > shared > > > a call for BDS ? > > > > > > The Debian Project Leader (highvoltage) had "repeated" (shared?) > > > a > > > call for BDS on the debian social site ( > > > https://pleroma.debian.social/notice/AenLD9Ez2JCrSfrCsK) that > > > can be > > > seen on his admin account at > > > https://pleroma.debian.social/highvoltage (one would need to > > > scroll > > > down to see this message). > > > > > > -- > > "Prior to capitalism, the way people amassed great wealth was by > > looting, plundering and enslaving their fellow man. Capitalism made > > it > > possible to become wealthy by serving your fellow man." - Walter E. > > Williams > > My own blog is at https://tddpirate.zak.co.il/ > > > > My opinions, as expressed in this E-mail message, are mine alone. > > They do not represent the official policy of any organization with > > which I may be affiliated in any way. > > WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list -- linux-il@cs.huji.ac.il To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
Re: Are there any implication of using or supporting Debian now that the Project Leader shared a call for BDS on debian.social ?
I looked around the links and some Debian information. I found no indication that the guy has any leadership role in Debian. He describes himself as "pro-Palestine, pro-Black, pro-Indigenous, pro- Queer, pro-létarian". Seems to me that someone, who is so busy with those identities, would not have much time for real technical work. I believe that the proper course of action is to complain against his ignoring (if he did ignore - I did not read carefully) the 1200 Israelis mutilated and murdered by Hamas as well as the Hamas Charter, and then just ignore him and do not let him affect our Debian related work. --- Omer Zak On Sat, 2024-03-02 at 21:21 +0200, borissh1...@gmail.com wrote: > Hi, > > A bit clueless question , but are there any legal implication of > using or supporting Debian now that the Debian Project Leader shared > a call for BDS ? > > The Debian Project Leader (highvoltage) had "repeated" (shared?) a > call for BDS on the debian social site ( > https://pleroma.debian.social/notice/AenLD9Ez2JCrSfrCsK) that can be > seen on his admin account at > https://pleroma.debian.social/highvoltage (one would need to scroll > down to see this message). -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list -- linux-il@cs.huji.ac.il To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
Re: IPv6 routing issue with Telegram
I tried both: curl --connect-timeout 3 -ipv6 https://web.telegram.org/ curl --connect-timeout 3 -Iv6 https://web.telegram.org/ In both cases, the response was prompt. I am connected to the Internet via Bezeq (as infrastructure provider) and Partner (as ISP). I got IPv6 from Partner several months ago, and replaced the router due to this. United we shall win, --- Omer Zak On Tue, 2024-01-09 at 13:17 +0200, Rabin Yasharzadehe wrote: > Hi list, > > Can you please help me identify if the issue, is in my end / ISP > (Bezeq) > and not the service it self. > > When I try to load telegram web, with IPv6 address, the connection > will hang for me. > > ❯ curl --connect-timeout 3 -Iv6 https://web.telegram.org/ > * processing: https://web.telegram.org/ > * Trying [2001:67c:4e8:f004::9]:443... > * Connected to web.telegram.org (2001:67c:4e8:f004::9) port 443 > * ALPN: offers h2,http/1.1 > * TLSv1.3 (OUT), TLS handshake, Client hello (1): > * CAfile: /etc/pki/tls/certs/ca-bundle.crt > * CApath: none > * SSL connection timeout > * Closing connection > curl: (28) SSL connection timeout > > > But I don't have this issue with other IPv6 services, like google.com > > Can you please check on your side? and which ISP are you using? -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list -- linux-il@cs.huji.ac.il To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
Re: How to image a linux computer
Hello Michael, 1. run 'dd' on the old computer's disk and transfer the output to a disk image file in a modern computer. How to do it depends upon ability to connect external hardware (such as a network card, a disk with modern interface, or a DiskOnKey). 2. Write down old computer's BIOS settings having to do with hardware configuration. 3. Write down which peripherals your old computer has and their configuration (such as interrupt number and I/O address). 4. Check your virtual machine hypervisor's configuration options to see how to configure your virtual machine to emulate the exact same hardware. Consult your records of BIOS settings and peripherals. 5. In your new computer, loop-mount the disk image file and configure the virtual machine to access it. See, for example: https://unix.stackexchange.com/questions/316401/how-to-mount-a-disk-image-from-the-command-line Remember that old Linux versions (1.*, 2.*) are not as smart in auto- discovery of hardware configurations as more recent ones. More precise instructions depend upon the exact hardware and Linux version you have. United, we shall win, --- Omer Zak On Sat, 2023-11-04 at 11:34 +0400, Michael Shiloh wrote: > Hello all, > > Situation: We have a linux computer with various software installed > on old hardware that may malfunction and be unsupported. To mitigate > this risk, we would like to make an image of this machine so that we > can run it in a virtual machine. > > How do we do this? -- In civilized societies, captions are as important in movies as soundtracks, professional photography and expert editing. My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list -- linux-il@cs.huji.ac.il To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
Re: .il domain names with IPv6 support
Hello Gabor, I use LiveDns and they support IPv6 for domain registration, but not for DNS serving. I configured my domain registrations to use CloudFlare (free plan), as DNS server for both IPv4 and IPv6. --- Omer Zak On Wed, 2023-08-02 at 08:33 +0300, Gabor Szabo wrote: > Hi, > > I have been using BOX ( https://box.co.il/ ) for my .il domains and > for DNS. Apparently their DNS server still does not support IPv6. So > far it did not bother me too much, but now that I am trying to move a > domain to use GitHub pages it seems that they require that > configuration as well. > > So my question what do you suggest as a domain registrar for .il > domains that has a reasonable DNS interface that also supports IPv6. > Alternatively, what DNS provider do you use? > > (for my com/org names I use https://iwantmyname.com/ and I am quite > satisfied) -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Solved (Re: How to get wget to fail to fetch a password-protected URL after a previous success?)
I solved the problem. Turns out that I used the wrong format of a location directive in a Nginx configuration. The offending stanza was: location = /p2mb { root /usr/share/nginx/html/stuff; auth_basic "P2MB Stuff"; auth_basic_user_file /etc/nginx/auth-basic-passwords-p2mb; } The correct stanza is: location /p2mb { root /usr/share/nginx/html/stuff; auth_basic "P2MB Stuff"; auth_basic_user_file /etc/nginx/auth-basic-passwords-p2mb; } And I did not notice that I was using different URLs in my tests (it was late at night :-) ). I experimented with both wget http://somehostname/p2mb (is blocked by both stanzas) and wget http://somehostname/p2mb/somefile.ext (is blocked only by the second stanza) Thanks to those who tried to help me both on Linux-IL mailing list and privately. In the big scheme of things, my effort to develop tests for the website did uncover a bug - the above mistake in the location directive. bats-core (https://github.com/bats-core/bats-core) kicks ass! --- Omer On Mon, 2022-12-19 at 10:10 +0200, guy keren wrote: > > use 'strace' to try to locate where it might be storing the > credentials. > > --guy > > On 12/19/22 03:57, Omer Zak wrote: > > I am writing regression tests to test that a website continues to > > behave the same after moving to another host. > > > > Among other things, I want to test that a password-protected area > > in > > the website continues to work as expected, protecting its contents. > > > > I am trying to test as follows. > > > > wget ...other options... URL > > # no passwords - expected to fail > > wget --user=wrong --password=wrong ...other options... URL > > # expected to fail > > wget --user=correct --password=correct ...other options... URL > > # expected to succeed > > > > However after 1st time the correct user+password are presented, > > subsequent wget's to the same URL do not fail. > > > > I Googled but found nothing useful. > > My version of wget is: GNU Wget 1.21 built on linux-gnu. > > (there is more information, will be provided if relevant) > > > > At the suggestion of: > > https://stackoverflow.com/questions/35076334/dd-wrt-wget-returns-a-cached-file > > I tried: > > wget -p --no-http-keep-alive --no-cache --no-cookies \ > > --user=whatever --password=whatever > > --no-host-directories URL > > Even this did not fail. > > > > There is no obvious place in the filesystem where wget might cache > > its > > credentials. > > > > How can I get wget to fail to fetch a password-protected web > > resource > > (HTTP 403 Forbidden) after it succeeded in fetching the same > > resource > > previously? -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
How to get wget to fail to fetch a password-protected URL after a previous success?
I am writing regression tests to test that a website continues to behave the same after moving to another host. Among other things, I want to test that a password-protected area in the website continues to work as expected, protecting its contents. I am trying to test as follows. wget ...other options... URL # no passwords - expected to fail wget --user=wrong --password=wrong ...other options... URL # expected to fail wget --user=correct --password=correct ...other options... URL # expected to succeed However after 1st time the correct user+password are presented, subsequent wget's to the same URL do not fail. I Googled but found nothing useful. My version of wget is: GNU Wget 1.21 built on linux-gnu. (there is more information, will be provided if relevant) At the suggestion of: https://stackoverflow.com/questions/35076334/dd-wrt-wget-returns-a-cached-file I tried: wget -p --no-http-keep-alive --no-cache --no-cookies \ --user=whatever --password=whatever --no-host-directories URL Even this did not fail. There is no obvious place in the filesystem where wget might cache its credentials. How can I get wget to fail to fetch a password-protected web resource (HTTP 403 Forbidden) after it succeeded in fetching the same resource previously? Thanks, --- Omer Zak -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Some serious bugs when upgrading from Debian Buster (10) to Debian Bullseye (11)
I have at last upgraded my desktop Debian Linux installation from Debian Buster to Debian Bullseye. However, I found that some packages have frightening bugs reported against them, which do not seem to have been fixed for long time. Does anyone know if I really need to be afraid of those bugs? The packages in question are: grub-pc - #1019564: (during upgrade) grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet fwupd-amd64-signed - #973715: fwupd-amd64-signed: Uninstallable; not binNMU-friendly Those packages (and some other packages) are currently pinned at a Buster version and whenever I start aptitude to install security upgrades, I have to manually cancel removals of the above packages and some packages upon which they depend. Thanks, --- Omer Zak -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: (BDS OFFTOPIC) Re: Venue for RMS
On Wed, 2022-05-18 at 20:36 +0300, Eli Zaretskii wrote: > If you distinguish between his views and deeds, you don't know RMS. > This is the man who never uses a smartphone, or a Web browser with > JavaScript support, because that could cause him to use non-Free > software. His views and his deeds are inseparable: he acts on his > views immediately and without any compromises. Thus, if some of his > views are incorrect or silly, so will be the deeds. I don't always > agree with his radical approach to these matters, but I admire his > ability to live 110% according to his principles; you won't find many > people capable of that. It only makes his decision, to boycott Israeli institutions not approved by the Palestinian, worse. Much worse. > > I don't think we'll lose by this. > > Your opinion, to which you are entitled. I don't think it's based on > anything substantial, but even if it is, why should you take upon > yourself to decide for others whether they will hear something new > and > useful, and might lose by not hearing that? IME, one can usually > take > something useful out of hearing a smart person, even if one disagrees > with some of his views. Personally, I am not affiliated with TAU or HUJI and cannot organize a venue for him. I can only urge people in those institutions not to cooperate with the BDS supporter. You are free to encourage those people to cooperate with him. I base my opinion about novelty of RMS's opinions upon the lack of anything substantially new from him (except for scandals) during the last few years. I cannot recall anything really new he created or led since the GPLv3 effort. Other people now maintain Emacs. Other people maintain GCC. Other people work on GNU/Hurd. -- Any legal limit to self defense means that there is no right for self defense at all. This is because the aggressors would exploit those legal limits to render their victims totally defenseless. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: (BDS OFFTOPIC) Re: Venue for RMS
On Wed, 2022-05-18 at 18:59 +0300, Eli Zaretskii wrote: > > From: Dan Yasny > > Date: Wed, 18 May 2022 11:38:36 -0400 > > Cc: Israel Linux Mailing list > > > > Is he the same RMS who boycotted Israeli universities at 2011 > > happily > > surrendering to demands of Palestinians - without even making a > > token > > effort to ask if Israelis are willing to take over his trip's > > finances > > so that Palestinians won't have to pay for his non-boycotting trip > > to > > Israel and Palestine? > > > > If yes, I urge the TAU and HUJI people not to help him. > > > > +1 there should be no room for hypocrisy. > > Such a harsh judgment, based on pure hearsay, without even hearing > the > "guilty" side's story, and of a person whom you most probably never > met... I personally corresponded with RMS by E-mail at 2011 concerning his decision to boycott Israeli universities. I believe that several Linux-IL members (not me) had the opportunity to meet him in person in a previous visit to Israel. Boycotting a boycotter is a just judgment, not an overly harsh judgment. If he has not been willing to communicate with us and argue with us, we have no reason to listen to him later. (If he repents and persuades his Palestinian colleagues to repent, too, it would be a different matter. Then we'll have to verify that the remorse is genuine.) -- Your liberty to swing your fist ends just where my nose begins. Your freedom of expression ends where my freedom of expression begins. Your freedom of religion ends where my rights for equality and accessibility begin. My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: (BDS OFFTOPIC) Re: Venue for RMS
On Wed, 2022-05-18 at 18:54 +0300, Eli Zaretskii wrote: > > From: Omer Zak > > Date: Wed, 18 May 2022 18:34:58 +0300 > > > > Is he the same RMS who boycotted Israeli universities at 2011 > > happily > > surrendering to demands of Palestinians - without even making a > > token > > effort to ask if Israelis are willing to take over his trip's > > finances > > so that Palestinians won't have to pay for his non-boycotting trip > > to > > Israel and Palestine? > > > > If yes, I urge the TAU and HUJI people not to help him. > > He's also the same RMS who single-handedly jump-started the GNU > project and the whole Free Software movement, and wrote some of the > tools me and you are running every day on our GNU/Linux systems. Several people ignored this history when they threw him out of FSF due to some attitudes that he had and which are unacceptable to today's Cancel culture. We do not have to follow their footsteps. It is enough to ask if he has anything new to tell us about his stuff. > And yes, his views on the Israeli-Palestinian conflict are skewed and > sometimes border on the silly, but if you think boycotting us is > wrong, then why do you suggest boycotting him? Why is it that a > single point of disagreement is enough to call for an ostracism? I would not boycott him due to his views on the Israeli-Palestinian conflict. Not even if he'd advocate for the DS part of BDS. My issue with him is that HE BOYCOTTED ISRAELI INSTITUTIONS not approved by the Palestinians. He supported, by his actions, the B part of BDS. When there is a boycott, it is impossible to discuss, to argue, to express disagreement (or even agreement). He chose to boycott. He should bear the consequences of this choice. I don't think we'll lose by this. If he has anything really new to tell the world, we'll get to know it some way or other. -- Any legal limit to self defense means that there is no right for self defense at all. This is because the aggressors would exploit those legal limits to render their victims totally defenseless. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
(BDS OFFTOPIC) Re: Venue for RMS
Is he the same RMS who boycotted Israeli universities at 2011 happily surrendering to demands of Palestinians - without even making a token effort to ask if Israelis are willing to take over his trip's finances so that Palestinians won't have to pay for his non-boycotting trip to Israel and Palestine? If yes, I urge the TAU and HUJI people not to help him. On Wed, 2022-05-18 at 17:43 +0300, Julian Daich wrote: > Hi, > > RMS is coming to Tel Aviv. I am receving him. He is looking for a > place to give a prentation in a mayor university on Msy 31 st or > June 1st. Is there here somebody from TAU or HUJI that can help to > organize it? He will no chsrge for his talk. > > Please, contact me in private. > > Thanks, > > Julian -- Any legal limit to self defense means that there is no right for self defense at all. This is because the aggressors would exploit those legal limits to render their victims totally defenseless. My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Anyone with experience in using LSP (Language Server Protocol) with Emacs?
I do not mind dealing with difficult set up. What I want to know is if it is worth it - whether the experience with emacs-lsp (and/or its alternatives) is good. I am targetting mostly Python, but would like to know also people's experience about using Emacs with LSP when editing code writting in JavaScript, Java or C/C++. On Thu, 2022-02-17 at 10:00 +0200, Eli Zaretskii wrote: > > Date: Thu, 17 Feb 2022 08:59:59 +0200 > > From: Vordoo > > > > Turns out that there is a LSP (Language Server Protocol) which > > decouples the language integration from the rest of the text > > editor. > > See: > > https://www.toptal.com/javascript/language-server-protocol-tutorial > > > > And there is a LSP Mode for Emacs. > > See: https://emacs-lsp.github.io/lsp-mode/ > > > > Since installing emacs-lsp seems to be somewhat complicated, I'd > > like > > to know if anyone else has experience with it, and can tell us > > about > > his experience, before I try to install it. > > An alternative for lsp-mode is eglot: > > https://github.com/joaotavora/eglot > > People say it is easier to set up, so maybe you should try that > first. -- One does not make peace with enemies. One makes peace with former enemies. My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Anyone with experience in using LSP (Language Server Protocol) with Emacs?
My favorite text editor is Emacs. However, I developed envy for IDEs like IntelliJ IDEA and VSCode, due to their powerful language integrations. Turns out that there is a LSP (Language Server Protocol) which decouples the language integration from the rest of the text editor. See: https://www.toptal.com/javascript/language-server-protocol-tutorial And there is a LSP Mode for Emacs. See: https://emacs-lsp.github.io/lsp-mode/ Since installing emacs-lsp seems to be somewhat complicated, I'd like to know if anyone else has experience with it, and can tell us about his experience, before I try to install it. Thanks, --- Omer Zak -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Help in installing Linux and MySQL
Hello Meir, Before taking your money, let's try some free help. Since modern Linux distributions support installation of Linux+MySQL out of the box in reasonably standard hardware, could you tell us about your environment and whether there is anything nonstandard in it: 1. Which Linux distribution? 2. Anything special with your hardware? 3. Any other OSes that need to be supported? To work with the same MySQL databases? (I suspect there are such because you mention Grub.) --- Omer Zak On Fri, 2022-01-21 at 20:20 +0200, Meir Guttman wrote: > Hi Everyone! > > I am looking for such (paid) help since I encountered problems in > installing such! > The idea is to come over to my place (Or-Aqiva) and do it on > premises. > Knowledge of Grub 2.0 is also required... > Best regards, > Meir Guttman > Cell. +972-54-526 2264 -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Floppy disks at 2021?!
My friend, thankfully, has already progressed to the 1.44MB, 3.5" diskettes era when the now-archeological PC was new. No 5.25" diskettes. No 8" diskettes. On Fri, 2021-12-24 at 18:06 +0200, Uri Bruck wrote: > Floppies like these? > > https://fibersiv.net/threads/pieceinfo.html > > On 22.12.2021 21:27, Omer Zak wrote: > > I have a friend who has a PC, which got stuck in the late 1990's. > > This > > Ethernet-less and Internet-less PC has old (circa 1997) RedHat > > Linux > > installed on it and it uses floppy disks (diskettes) for backups. > > > > Now the floppy disk drive seems to have gone out of order and my > > friend > > will need to read his diskettes in a modern PC as well as transfer > > to > > it the contents of his hard disk (presumably connected via IDE or > > whatever was available in the antediluvian period before the Big > > Dotcom > > Crash of 2000. > > > > 1. Are there any floppy disk drives with USB connection for reading > > those diskettes? > > 2. If one needs to temporarily connect an old hard disk (not having > > a > > modern SATA interface) to a modern PC, what solutions are there? -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: How to read CPM 5.25 floppy disks?
Debian has a 'cpmtools' package which is described as allowing CP/M filesystem access. I do not know if it supports control of the floppy disk drive to read the CP/M way the iron oxide. A Google search also turned up some articles about the subject, I did not read them. On Wed, 2021-12-22 at 21:56 -0500, Steve Litt wrote: > Hi all, > > Anyone have any ideas how to read (and obviously back up) my CPM 5.25 > diskettes left over from my Kaypro 2x CPM machine used 1984-1987? > Somewhere I have a normal IBM PC compatible 5.25 drive, but CPM > floppies had different formatting, I think both in software and in > the > iron oxide. > > I'm thinking if I can ddrescue these things to a file, and loop-mount > them using some sort of CPM format (didn't the mount command used to > be > able to do that?), maybe I could get the info into a file > representation instead of a drive representation. -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Floppy disks at 2021?!
I have a friend who has a PC, which got stuck in the late 1990's. This Ethernet-less and Internet-less PC has old (circa 1997) RedHat Linux installed on it and it uses floppy disks (diskettes) for backups. Now the floppy disk drive seems to have gone out of order and my friend will need to read his diskettes in a modern PC as well as transfer to it the contents of his hard disk (presumably connected via IDE or whatever was available in the antediluvian period before the Big Dotcom Crash of 2000. 1. Are there any floppy disk drives with USB connection for reading those diskettes? 2. If one needs to temporarily connect an old hard disk (not having a modern SATA interface) to a modern PC, what solutions are there? Thanks! --- Omer Zak -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Need Geek Code variant for determining expert-job fit (Re: [Job Offer] - Linux Sysadmin)
Given that several questions need to be answered to determine fit among a sysadmin and its prospective employer, one-liner description of the job would require something similar to the Geek Code which was in use during the Early Internet era. https://en.wikipedia.org/wiki/Geek_Code C-x C-c --- Omer Zak On Sun, 2021-10-24 at 15:16 +0300, Dotan Shavit wrote: > Right; Allow me to elaborate < Looking for an expert who is > comfortable with one-liners :wq > > בברכה, > דותן שביט, > 0544-456656 > > > On Sun, 24 Oct 2021 at 14:43, Shlomi Fish wrote: > > Hi Dotan! > > > > On Sun, Oct 24, 2021 at 8:05 AM Dotan Shavit > > wrote: > > > > > > Looking for a System Administrator experienced with Linux > > systems. > > > # > > > > Please provide more details: > > https://shlomif-tech.livejournal.com/63020.html . Thanks! > > -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: multiple python versions
FALSE ECONOMICS ALERT! FALSE ECONOMICS ALERT! FALSE ECONOMICS ALERT! You say that "most modules DO work when moving to a newer version of Python". However when they do not work, it is a lot of work diagnosing the problem and finding which module needs to have both versions installed in parallel. It is better to spend the (relatively short and predictable) time maintaining a full virtualenv for each project. And if you are short on disk space, then today's disks are big and inexpensive - much less expensive than the time you spend trying to save few megabytes by not installing parallel versions. On Thu, 2021-07-22 at 20:02 +0300, Shlomo Solomon wrote: > On Thu, 22 Jul 2021 19:50:46 +0300 > Omer Zak wrote: > > > Why do you want to avoid having to re-install modules for each > > version/environment? > > > The short answer: too much work > > The slightly longer answer: Although there are certainly changes > between versions of Python and/or modules, most modules DO work when > moving to a newer version of Python. I don't remember re-installing > everything when upgrading to a newer version of Python. > > But here, my problem is not upgrading, but keeping both versions. > > > > > > In the general case, a module version is compatible only with a > > subset > > of Python versions, due to API changes from Python version to > > Python > > version. > > > > You also want to let each project decide with which module version > > it > > wants to work, due to potential incompatibilities between module > > versions (it is no accident that pip freeze preserves installed > > module > > versions). > > > > > > On Thu, 2021-07-22 at 19:37 +0300, 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. > > -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: multiple python versions
You do not tell the 3.9.6 environment to reuse 3.8 directory modules. The compiled code in 3.8 may be incompatible with your 3.9.6 interpreter. Use pyenv and then use 'pip install' (under venv, it automatically knows to use pip3 if you use any 3.x version). Do not use 'sudo' because you are installing the module only for that virtualenv, not for the entire system. On Thu, 2021-07-22 at 19:51 +0300, Shlomo Solomon wrote: > 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? -- $ python >>> type(type(type)) My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: multiple python versions
Why do you want to avoid having to re-install modules for each version/environment? In the general case, a module version is compatible only with a subset of Python versions, due to API changes from Python version to Python version. You also want to let each project decide with which module version it wants to work, due to potential incompatibilities between module versions (it is no accident that pip freeze preserves installed module versions). On Thu, 2021-07-22 at 19:37 +0300, 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. -- There is no IGLU Cabal. The Cabal that can be spoken of is not the true Cabal. My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: multiple python versions
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. For more information: https://github.com/pyenv/pyenv https://ostechnix.com/pyenv-python-version-management-made-easier/ On Thu, 2021-07-22 at 12:09 -0400, Dan Yasny wrote: > How about using virtualenv for alternative versions? > > On Thu, Jul 22, 2021 at 12:05 PM Shlomo Solomon < > shlomo.solo...@gmail.com> wrote: > > The default Kubuntu installation is 3.8.10 and I do not want to > > uninstall it since that could potentially "break" something. > > > > But for various reasons (not relevant to this discussion), I also > > have > > 3.9.6 installed. > > > > I can run either one of them, but in some cases, imports of modules > > that work in 3.8.10 don't work in 3.9.6. > > >>> import scapy > > Traceback (most recent call last): > > File "", line 1, in > > ModuleNotFoundError: No module named 'scapy' > > > > Although I don't want to re-install all modules, I "experimented" > > and > > got: > > > > sudo pip3 install scapy > > Requirement already satisfied: scapy in > > /usr/local/lib/python3.8/dist-packages (2.4.4) > > > > So even if I was willing to re-install everything, it would not > > work > > since the modules are already installed, but 3.9.6 does not "look" > > for > > them in the 3.8 directory. > > > > I know I can use venv to set up virtual environments for different > > versions, but although I haven't tried it, I don't see how that > > would > > solve the problem. > > -- QA People of Curse. My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
CORRECTION (Re: AGAIN, UGLY OFFTOPIC (Re: Weird 'free' output))
After sending the E-mail message reproduced below, I checked the mailing list archives and did not find there Diego's E-mail. So he apparently limited his E-mail message's distribution to his victim and to the mailing list's administrators. So my memory failed me in this case. However, I believe that Ori did the right thing by letting the Linux-IL mailing list members know that some people want to unsubscribe him from this mailing list due to an indictment. We, the mailing list participants - not only the administrators - have the right to express our opinion about whether we want to remove people who have been indicted, to limit this action to convicted criminals, or to allow even prisoners to participate (as part of preparing for their future as productive members of society). As for me, I wouldn't want to be part of a group which excludes members based solely upon complaints or indictments, a group which ignores the possibility of people having been framed by their business/political/romantic competitors. On Sun, 2021-05-09 at 20:28 +0300, Omer Zak wrote: > As far as I remember, Diego did send the request to the list. So Ori > Idan could not really ignore Diego's E-mail. Doing so could have been > interpreted as admission of guilt (in the Court of Public Opinion). > > I agree that failing to prove a point is different from proving the > opposite point. > However, in more enlightened times, the courts in Israel used to work > under the principle that a person is presumed to be innocent until > proven otherwise. > This is equivalent to: you failed to prove a point, so we assume the > opposite point when we need to make decisions. > > Regrettably, the courts have not been following this principle in the > case of Tair Rada's murder and presumably in other cases. > > I am old fashioned so I happen to prefer the traditional presumption > of > innocence, as long as is not abused by lawyers who nitpick the > meaning > of words in laws. > > > > On Sun, 2021-05-09 at 20:02 +0300, Shachar Shemesh wrote: > > I'm not sure my opinion is worth more than anyone else, except I > > _am_ > > one of the admins. > > > > Diego: +1 for not sending your mail to the list. -1 for not CCing > > the > > actual admins, and another one for talking for the community. > > > > Ori: -1 for making this part of the thread public. If I may be so > > bold as to make a suggestion, simply ignoring Diego's mail would > > have > > been smarter. > > > > Shay: As far as I know, Nevo does not have police complaints, nor > > even unpublished verdicts. Even if a complaint was filed, it > > wouldn't > > have shown up. Feel free to correct me in private. > > > > Michael: +1 agree. I believe this list should judge people based on > > their behavior on or in relation to this list > > > > Omer: As far as I can tell, Diego didn't send the request to the > > list > > (at least, I didn't get it on the list). It may well have been > > unintentional, but I'm going to give him the benefit of the doubt > > here. Also, please note that failing to prove a point is not the > > same > > as proving the opposite point. You are free to believe whatever you > > like, but that is still your belief, not established facts. > > > > Someone identifying as linux.il: -5 for failing to distinguish > > between a SCSI cable and a differential SCSI cable. I'm really > > disappointed. From you, of all people, I expected better, whoever > > you > > are. > > > > > > > > On 04/05/2021 21:48, Ori Idan wrote: > > > Sorry, I am not a convicted criminal. > > > If you believe what is written in Yediot, that is your problem. > > > > > > -- > > > Ori Idan CEO Helicon Books > > > http://www.heliconbooks.com > > > > > > > > > > > > > > > > > > On Tue, May 4, 2021 at 9:21 PM Diego Iastrubni < > > > diegoi...@gmail.com > > > > wrote: > > > > Ori, > > > > > > > > You are not welcome here. Please unsubscribe. > > > > > > > > Admins - please remove this convicted criminal from this list. > > > > This man is a stain on our community. > > > > > > > > > > > > > > > > On Tue, May 4, 2021, 7:53 PM Ori Idan > > > > wrote: > > > > > Note that Linux tries to use available memory for cache, that > > > > > is why free memory seems small. > > > > > > > > > > -- > > > > > Ori Idan CEO Helicon Books > > > >
AGAIN, UGLY OFFTOPIC (Re: Weird 'free' output)
As far as I remember, Diego did send the request to the list. So Ori Idan could not really ignore Diego's E-mail. Doing so could have been interpreted as admission of guilt (in the Court of Public Opinion). I agree that failing to prove a point is different from proving the opposite point. However, in more enlightened times, the courts in Israel used to work under the principle that a person is presumed to be innocent until proven otherwise. This is equivalent to: you failed to prove a point, so we assume the opposite point when we need to make decisions. Regrettably, the courts have not been following this principle in the case of Tair Rada's murder and presumably in other cases. I am old fashioned so I happen to prefer the traditional presumption of innocence, as long as is not abused by lawyers who nitpick the meaning of words in laws. On Sun, 2021-05-09 at 20:02 +0300, Shachar Shemesh wrote: > I'm not sure my opinion is worth more than anyone else, except I _am_ > one of the admins. > > Diego: +1 for not sending your mail to the list. -1 for not CCing the > actual admins, and another one for talking for the community. > > Ori: -1 for making this part of the thread public. If I may be so > bold as to make a suggestion, simply ignoring Diego's mail would have > been smarter. > > Shay: As far as I know, Nevo does not have police complaints, nor > even unpublished verdicts. Even if a complaint was filed, it wouldn't > have shown up. Feel free to correct me in private. > > Michael: +1 agree. I believe this list should judge people based on > their behavior on or in relation to this list > > Omer: As far as I can tell, Diego didn't send the request to the list > (at least, I didn't get it on the list). It may well have been > unintentional, but I'm going to give him the benefit of the doubt > here. Also, please note that failing to prove a point is not the same > as proving the opposite point. You are free to believe whatever you > like, but that is still your belief, not established facts. > > Someone identifying as linux.il: -5 for failing to distinguish > between a SCSI cable and a differential SCSI cable. I'm really > disappointed. From you, of all people, I expected better, whoever you > are. > > > > On 04/05/2021 21:48, Ori Idan wrote: > > Sorry, I am not a convicted criminal. > > If you believe what is written in Yediot, that is your problem. > > > > -- > > Ori Idan CEO Helicon Books > > http://www.heliconbooks.com > > > > > > > > > > > > On Tue, May 4, 2021 at 9:21 PM Diego Iastrubni > > wrote: > > > Ori, > > > > > > You are not welcome here. Please unsubscribe. > > > > > > Admins - please remove this convicted criminal from this list. > > > This man is a stain on our community. > > > > > > > > > > > > On Tue, May 4, 2021, 7:53 PM Ori Idan > > > wrote: > > > > Note that Linux tries to use available memory for cache, that > > > > is why free memory seems small. > > > > > > > > -- > > > > Ori Idan CEO Helicon Books > > > > http://www.heliconbooks.com > > > > > > > > > > > > > > > > > > > > > > > > On Tue, May 4, 2021 at 2:48 PM linux.il > > > > wrote: > > > > > Omer, thank you! > > > > > Is it related to the "Inactive" count from /proc/meminfo? > > > > > I used to think that available=free+cache+buffers... > > > > > > > > > > On Tue, May 4, 2021 at 1:19 PM Omer Zak wrote: > > > > > > From man free: > > > > > > > > > > > > available > > > > > > Estimation of how much memory is available > > > > > > for starting > > > > > > new applications, without swapping. Unlike the data > > > > > > provided by > > > > > > the cache or free fields, this field takes > > > > > > into account > > > > > > page cache and also that not all reclaimable memory slabs > > > > > > will > > > > > > be reclaimed due to items being in use > > > > > > (MemAvailable in > > > > > > /proc/meminfo, available on kernels 3.14, emulated on > > > > > > kernels > > > > > > 2.6.27+, otherwise the same as free) > > > > > > > > > > > > > > > > > > > > > > > > On Tue, 2021-0
SMART error each hour for a SSD, due to "unreadable (pending) sectors"
I have a laptop with a 1TB SSD. The smartd daemon logs an error each hour as follows: -=-=-=-> Device: /dev/sda [SAT], 1 Currently unreadable (pending) sectors Device info: CT1000MX500SSD4, S/N:2027E2B39329, WWN:5-00a075-1e2b39329, FW:M3CR023, 1.00 TB For details see host's SYSLOG. -=-=-=-> When I run: sudo smartctl /dev/sda -a I get a lot of information which I do not understand its implications. However, the device has SMART capability but it is not in smartctl database and: -=-=-=-> SMART overall-health self-assessment test result: PASSED -=-=-=-> When I run: sudo egrep /dev/sda /var/log/syslog I get: -=-=-=-> May 4 00:02:36 c5 smartd[1014]: Device: /dev/sda [SAT], No more currently unreadable (pending) sectors, warning condition reset after 1 email May 4 00:02:36 c5 smartd[1014]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 56 to 62 May 4 00:32:36 c5 smartd[1014]: Device: /dev/sda [SAT], 1 Currently unreadable (pending) sectors May 4 00:32:36 c5 smartd[1014]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 62 to 59 May 4 01:02:36 c5 smartd[1014]: Device: /dev/sda [SAT], No more Currently unreadable (pending) sectors, warning condition reset after 1 email May 4 01:02:36 c5 smartd[1014]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 59 to 64 May 4 01:32:37 c5 smartd[1014]: Device: /dev/sda [SAT], 1 Currently unreadable (pending) sectors May 4 01:32:37 c5 smartd[1014]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 64 to 59 -=-=-=-> and the above repeats each hour. The laptop seems to work OK with no data loss or such. However I'd like to understand what is going on and if possible how to get rid of the warnings. One more fact which may have bearing: few months ago, had the laptop's 256GB SSD replaced by a 1TB SSD. Any suggestions how can I troubleshoot it? Any additional information I should look at? Thanks, --- Omer Zak -- My Commodore 64 is suffering from slowness and insufficiency of memory; and its display device is grievously short of pixels. Can anyone help? My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
UGLY OFFTOPIC (Re: Fwd: Weird 'free' output)
May I suggest that Diego Iastrubni be removed from this mailing list due to potential future disruption of public peace by asking for removal of people, who have been framed by powerful business competitors? --- Omer Zak On Tue, 2021-05-04 at 22:06 +0300, Shay Gover wrote: > Please do not assume that you can speak for the community based on an > article at Ynet. > There is no verdict in that case, not even a complaint (Checked on > Nevo now). Just a rumor and someone wealthy enough to post it on > Ynet. > > > -- Forwarded message - > From: Ori Idan > Date: Tue, May 4, 2021 at 9:49 PM > Subject: Re: Weird 'free' output > To: Diego Iastrubni > Cc: IGLU Mailing list > > > Sorry, I am not a convicted criminal. > If you believe what is written in Yediot, that is your problem. > > -- > Ori Idan CEO Helicon Books > http://www.heliconbooks.com > > > > > > On Tue, May 4, 2021 at 9:21 PM Diego Iastrubni > wrote: > > Ori, > > > > You are not welcome here. Please unsubscribe. > > > > Admins - please remove this convicted criminal from this list. This > > man is a stain on our community. > > > > > > > > On Tue, May 4, 2021, 7:53 PM Ori Idan wrote: > > > Note that Linux tries to use available memory for cache, that is > > > why free memory seems small. -- Philip Machanick: "caution: if you write code like this, immediately after you are fired the person assigned to maintaining your code after you leave will resign" My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Weird 'free' output
>From man free: available Estimation of how much memory is available for starting new applications, without swapping. Unlike the data provided by the cache or free fields, this field takes into account page cache and also that not all reclaimable memory slabs will be reclaimed due to items being in use (MemAvailable in /proc/meminfo, available on kernels 3.14, emulated on kernels 2.6.27+, otherwise the same as free) On Tue, 2021-05-04 at 13:07 +0300, linux.il wrote: > "Available" output seems weird, or I'm missing something? > Any ideas? > > TIA, Vitaly > > free -m > totalusedfree shared buff/cache > available > Mem: 31654 29883 937 1 832 > 27675 > Swap: 0 0 0 -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
FAX Modems?
I am one of the holdouts who still use FAX technology. My printer was of the type which combines printing + scanning + FAX. A week ago it died, and I looked for a new printer with the same combination of features. Turned out that there is a shortage of printers, so I bought a printer with scanner but without FAX. And now I am looking for a solution to continue to receive FAX messages on my landline phone line. I have some questions: 1. If you work at an organization (or own it) which still uses FAX technology, which solution/s does your organization use? 2. What model of FAX modem would you recommend? 3. What FAX software do you use under Linux, if any? Thanks, Keep healthy, --- Omer Zak -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Connecting multiple external screens to Ubuntu Linux
Hello Gabor, I use a Lenovo Ideapad Y700 to which are connected two displays in addition to its native display. You may find the following blog article to be of some use: https://tddpirate.zak.co.il/2019/10/13/displaylink-y700-debianbuster/ (Get DisplayLink to work on Lenovo Y700 after upgrade to Debian Buster) Regards, --- Omer Zak On Sat, 2020-06-13 at 14:31 +0300, Gabor Szabo wrote: > Hi, > > I have a Thinkpad ( > https://www.lenovo.com/il/en/laptops/thinkpad/13-series/ThinkPad-13-Windows-2nd-Gen/p/22TP2TX133E > ). It has a single HDMI slot but when I run xrandr I get: > > Screen 0: minimum 320 x 200, current 1920 x 2160, maximum 16384 x > 16384 > eDP-1 connected 1920x1080+0+1080 (normal left inverted right x axis y > axis) 294mm x 165mm > . > HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x > axis y axis) 510mm x 287mm > > DP-1 disconnected (normal left inverted right x axis y axis) > HDMI-2 disconnected (normal left inverted right x axis y axis) > > (The are just lots of lines of possible configuration). > > Based on this (and on my lack of understanding) I could connect > another monitor to DP-1 > and one to HDMI-2, but I don't know where can I plug them in > physically? > > If I understand correctly an HDMI-splitter might work, but the > screens connected to that would show the same image. (Mirror > configuration.) I would like to have different content on each > screen. > > Any idea? > > In a more generic question: what do I need in my computer so I can > have more than 2 displays showing different(!) content? Do I need a > separate graphics card for each display? -- We will only have peace with the Arabs when they love their children more than they hate us. Golda Meir (Israeli Prime Minister between 1969-1974) My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Fwd: debian 10-64bit fresh install - error messages
I was curious so I googled for the error message and found the following: https://forum.manjaro.org/t/acpi-error-dssp-namespace-lookup-failure-ae-not-found-on-4-9-0-1/15474/3 https://unix.stackexchange.com/questions/524202/acpi-error-message-ae-not-found-why-is-this-happening-now-it-did-not-happen-pr https://www.linuxquestions.org/questions/slackware-14/acpi-error-%5Bdssp%5D-namespace-lookup-failure-ae_not_found-on-slackware-14-64-bit-4175448907/ https://bbs.archlinux.org/viewtopic.php?id=245918 The advice varies between: - Harmless, ignore it. - Update your UEFI/firmware - Revert a patch ( https://github.com/torvalds/linux/commit/b5c0875a16039d90f4cdf6b75ae4031daae01d56 ) My own advice: Given that your system is running smoothly, just ignore this error message. It will probably go away once you buy a new computer. --- Omer Zak On Thu, 2020-04-09 at 17:04 +0300, avraham rosenberg wrote: > [\_SB.PCI0.SAT0.SPT5._GTF.DSSP], AE_NOT_FOUND -- My Commodore 64 is suffering from slowness and insufficiency of memory; and its display device is grievously short of pixels. Can anyone help? My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: What's so secure about sudo?
Using /etc/sudoers and /etc/sudoers.d, it is possible to limit the operations that an user can do as a superuser. It is even possible to configure some operations as ones not requiring him to enter his password. See 'man 5 sudoers'. On Tue, 2019-06-18 at 09:23 +0300, Shlomo Solomon wrote: > This has bothered me for years and I decided to "get it off my > chest". > > For many years I used su to do administrative tasks, but "everyone" > uses sudo and the claim is that it's more secure than actually > logging > in as root. > > In principal, of course, root login is not a good thing, but let's > remember something I've never seen discussed. I would assume that on > most systems the root password is MUCH more secure than that of a > regular user. Now if I give user david sudo privileges, anyone who > cracks david's (weak) password now has access to root privileges. > > And before anyone says that this is only a one-time authorization, > what > if the guy who cracked david's password now does: > sudo passwd root > > So what's so secure about using sudo? -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Copyright protection against hijackers (Re: New Nginx documentation for beginners)
After reviewing the "problematic" section in Steve Litt's copyright statement, I'd urge Steve Litt to retain the "problematic" section. While the threat it is protecting him (and all of us) against does not seem to exist today, it might re-emerge in the future. The section in question is not more problematic than the various boobytrap provisions which RMS added to the GPL to prevent it from being nullified in court. In fact, the more Websites add such provisions to their copyrights, the more difficult would it be for transmission and storage actors in the Internet to claim copyright in the material passing through them. --- Omer Zak On Sat, 2019-06-15 at 02:17 -0400, Steve Litt wrote: > On Fri, 14 Jun 2019 12:03:34 +0300 > Shlomi Fish wrote: > > > Hi Steve, > > > > On Fri, Jun 14, 2019 at 5:41 AM Steve Litt > om> > > wrote: > > > > > Hi all, > > > > > > I just put up several nginx documents helpful to those who don't > > > yet > > > have a complete knowledge of nginx. You can access them all from > > > the > > > following URL: > > > > > > http://www.troubleshooters.com/linux/nginx/ > > > > > > > > > > thanks for sharing. However given the current copyrights laws I'd > > rather not risk reading something that is under this: > > http://www.troubleshooters.com/cpyright.htm . > > What's your specific hesitation with > http://www.troubleshooters.com/cpyright.htm ? Would it eliminate that > hesitation if all verbiage below "Transmission Through Certain > Servers > and Protocols is Prohibited" were eliminated? > > Once upon a time there was a very good reason for that verbiage, but > that was 18 years ago. I'll have to think about it, but I could > probably eliminate "Transmission Through Certain Servers > and Protocols is Prohibited" and everything below, at which time it > would be a simple free-as-in-beer license. -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Diagram\Flowchart desktop program with RTL support
I was surprised by the information that Dia was discontinued, because it is an useful tool which I continue to use. So I looked into dia. Debian Stretch has dia 0.97.3+git20160930-6, which was uploaded at 23 May 2017. The package's metadata points at the project's homepage at: https://wiki.gnome.org/Apps/Dia However, the homepage mentions that version 0.97.2 is the last released one, and it was released at 18 Dec 2011. I looked for the development version at https://wiki.gnome.org/Apps/Dia/Development and tried to execute 'git clone git://git.gnome.org/dia' but it failed claiming no route to the host, even though 'ping git.gnome.org' works. I tried numeric IP address, and it did not work as well. Going via Wikipedia (https://en.wikipedia.org/wiki/Dia_(software)) led me to: https://gitlab.gnome.org/GNOME/dia/ and then 'git clone https://gitlab.gnome.org/GNOME/dia.git' was successful. According to git log, the most recent real update is from 22 Jun 2017. Conclusion: Dia is still being maintained, even if only on the translations front. --- Omer Zak On Sun, 2018-09-16 at 19:07 +0300, Shay Gover wrote: > Hi, > > I'm looking for a diagram tool that supports RTL. Dia doesn't support > and since it's discontinued it won't support it. Tried pencil project > and inkscape too but they have no RTL support too. -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Patch management tools?
I have a project, which uses a JavaScript library. I need to patch the library as part of integrating it into the project. Once in a while I need to upgrade to the most recently released version of the library i.e. reapply my patches. The library is available as a git repository from which I 'git pull" updates as needed. While I can reapply my patches by using 'git rebase', I am curious to know if there any specialized tools which assist in this process. Like the 'quilt' tool used by Debian package maintainers to deal with a very similar use case. --- Omer -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: SOLVED!!!! (was Re: Hebrew file names in Libreoffice)
Did you run 'diff' on the two plasma-locale* files from before and after deletion & regeneration? If yes, can you please share the results with the curious among us? On Thu, 2018-08-16 at 13:14 +0300, Shlomo Solomon wrote: > After searching for any file that seems related to locale, I deleted > the following files (after saving a backup - just in case): > ~/.config/plasma-locale-settings.sh > ~/.config/plasma-localerc > > They were re-generated on login. > > So it certainly WAS a KDE problem, but I have no idea why this solved > the problem. > > > > > > > On Thu, 16 Aug 2018 12:30:46 +0300 > Shlomo Solomon wrote: > > > After more research, I'm pretty sure this is a KDE-Libreoffice > > interaction problem, but don't know how to solve it. Here's a > > summary > > of what I know and tried - #6 is really interesting/strange. > > > > 1 - click on a Hebrew file name - libreoffice says file does not > > exist. 2 - click on Libreoffice icon + try to open a Hebrew name - > > same result 3 - run libreoffice from command line - works OK > > 4 - sudo libreoffice also works OK but that's a BAD solution > > 5 - created a KDE "link to application" and chose "run in terminal" > > - > > libreoffice says file does not exist > > 6 - created a KDE "link to application" and chose "run in > > terminal" + > > "run as a different user" - KDE asks for a password and libreoffice > > works OK.NOTE: As the "other" user I chose my regular > > username!!! > > 7 - I read that the libreoffice-kde can cause problems so I > > un-installed it, but that didn't help (and it made a mess of the > > file > > open/save dialogue). > > > > > > > > As I already wrote, locale is set to en_US.UTF-8 > > > > solomon@shlomo1:~$ localectl > > System Locale: LANG=en_US.utf8 > > VC Keymap: n/a > > X11 Layout: us > > X11 Model: pc105 > > > > solomon@shlomo1:~$ locale > > LANG=en_US.UTF-8 > > LANGUAGE=en_US.UTF-8 > > LC_CTYPE="en_US.UTF-8" > > LC_NUMERIC="en_US.UTF-8" > > LC_TIME="en_US.UTF-8" > > LC_COLLATE="en_US.UTF-8" > > LC_MONETARY="en_US.UTF-8" > > LC_MESSAGES="en_US.UTF-8" > > LC_PAPER="en_US.UTF-8" > > LC_NAME="en_US.UTF-8" > > LC_ADDRESS="en_US.UTF-8" > > LC_TELEPHONE="en_US.UTF-8" > > LC_MEASUREMENT="en_US.UTF-8" > > LC_IDENTIFICATION="en_US.UTF-8" > > LC_ALL=en_US.UTF-8 > > > > BTW - is there any significance to the fact that some of the above > > lines say "en_US.UTF-8" and others en_US.UTF-8? > > > > Any help would be appreciated > > > > > > > > > > > > On Wed, 15 Aug 2018 19:44:33 +0300 > > Shlomo Solomon wrote: > > > > > Thanks. > > > > > > I did try adding Hebrew locale but that did not help and also had > > > an > > > un-expected side effect - Some programs (for example smbc) ran > > > with > > > a Hebrew interface. > > > > > > BTW - on my Mageia boxes, with en_US.UTF-8 Libreoffice works > > > perfectly. > > > > > > > > > > > > On Wed, 15 Aug 2018 19:22:12 +0300 > > > Shay Gover wrote: > > > > > > > Try adding Hebrew locale. > > > > > > > > On Wed, Aug 15, 2018 at 7:01 PM, Shlomo Solomon > > > > wrote: > > > > > > > > > On my new Kubuntu 18.04 box, Libreoffice will not open files > > > > > with Hebrew names - says file does not exist. > > > > > > > > > > On a Windows 10 machine Libreoffice has no problem with the > > > > > same > > > > > files. > > > > > > > > > > And a really strange thing - if I run Libreoffice from the > > > > > command line instead of clicking on an icon or the KDE menu, > > > > > it > > > > > works fine. > > > > > > > > > > I thought this was a utf-8 problem, but my locale seems to be > > > > > correct. > > > > > > > > > > $ locale > > > > > LANG=en_US.UTF-8 > > > > > LANGUAGE=en_US.UTF-8 > > > > > LC_CTYPE="en_US.UTF-8" > > > > > LC_NUMERIC="en_US.UTF-8" > > > > > LC_TIME="en_US.UTF-8" > > > > > LC_COLLATE="en_US.UTF-8" > > > > > LC_MONETARY="en_US.UTF-8" > > > > > LC_MESSAGES="en_US.UTF-8" > > > > > LC_PAPER="en_US.UTF-8" > > > > > LC_NAME="en_US.UTF-8" > > > > > LC_ADDRESS="en_US.UTF-8" > > > > > LC_TELEPHONE="en_US.UTF-8" > > > > > LC_MEASUREMENT="en_US.UTF-8" > > > > > LC_IDENTIFICATION="en_US.UTF-8" > > > > > LC_ALL=en_US.UTF-8 > > > > > > > > > > What am I missing? -- As long as there are families which throw their teenager sons and daughters out of home if they turn out to be gays or lesbians, Gay Pride Parade events are needed. As long as the most common cause of suicide by teenagers is their finding out that they are gays or lesbians, Gay Pride Parade events are needed. My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Moving away from cron jobs to some workflow manager
1. Execution time limits: Ansible has async with polling intervals. I did not research for methods to kill hung tasks. https://docs.ansible.com/ansible/latest/user_guide/playbooks_async.html 2. Dashboard-like functionality According to: https://www.reddit.com/r/ansible/comments/5ksphc/best_web_gui_for_run_a nsible_playbooks/ There are the following options: - ansible-tower - remote-task-executor (did not look into it) - nci-ansible-ui - Jenkins (normally used for CI/CD setups) In addition to the above, you may want to look into Ansible alternatives: - Puppet - Chef - SaltStack A quick Google search yielded: https://www.intigua.com/blog/puppet-vs.-chef-vs.-ansible-vs.-saltstack On Tue, 2018-06-19 at 12:32 +0300, Rabin Yasharzadehe wrote: > systemd is a complete different tool, which was not designed for this > kinda purpose. > (maybe in the future it will grow to be something like that ;-) ) > > I'm looking for something a bit more sophisticated then "go to this > machine" and "run this script" and "expect this result" > i like to define execution time limits (finish in 3 minute) and maybe > some grace time (can go up to 5 minute) and have the orchestrator > monitor the process and have a nice dashboard where i can see every > thing from above (this is why Airflow was looked so appealing, but > the installation process and the documentation are still lagging > behind). > > > -- > Rabin > > > On Tue, 19 Jun 2018 at 12:26, Dimid Duchovny > wrote: > > Hi Rabin, > > > > > > I'm far from being a linux expert, but isn't dependency between > > services handled by systemd? > > E.g. https://wiki.archlinux.org/index.php/Systemd/Timers > > > > HTH > > > > 2018-06-19 12:12 GMT+03:00 Moish : > > > Try GNUbatch. > > > > > > > > > On June 19, 2018 9:42:35 AM GMT+03:00, Omer Zak > > > wrote: > > > > For dependency management, you may want to use 'make' or modern > > > > equivalents ('ant', 'gradle', etc.). > > > > For controlling remote nodes, 'ansible' may be able to do the > > > > work. > > > > > > > > --- Omer Zak > > > > > > > > > > > > On Tue, 2018-06-19 at 09:06 +0300, Rabin Yasharzadehe wrote: > > > > > Hi all, > > > > > > > > > > I need some advice, currently I have a huge cron file which > > > > > schedules > > > > > tasks one after anther, and each task is position precisely > > > > > (with > > > > > some room for error) to start after it predecessor. > > > > > > > > > > So if one job start at 00:00 and it will go and fetch some > > > > > files and > > > > > it takes 3minutes > > > > > the next job will be after start right after at ~00:05 > > > > > and so on > > > > > > > > > > the problem is that if one job fails, all other jobs which > > > > > are depend > > > > > on him will fail as well, and then I get a shitload of > > > > > alerts, and > > > > > the worst part is that if i have to manually start a batch > > > > > process I > > > > > need to go to each machine and manually start each job in > > > > > the right > > > > > order, > > > > > > > > > > I was looking to resolve this problem with a tool which can > > > > > manage > > > > > this "pipe line" > > > > > and I cam across several tools like Luigi and (apache- > > > > > )AirFlow, I > > > > > started with Luigi but It didn't look > > > > > right for the job, and then I tried airflow, but was not > > > > > able to make > > > > > it to work, the jobs queue never executed. =( > > > > > > > > > > Has any one have experience with airflow, or other tool like > > > > > it which > > > > > they can recommend ? > > > > > My needs are to be able to execute my CURRENT > > > > > shell/python/php > > > > > scripts and build the dependency between them, and I perfer > > > > > the > > > > > option for remote exec so that I will have central > > > > > place to manage and monitor all work flow whichs are > > > > > executed on > > > > > several nodes. -- What happens if one mixes together evolution with time travel to the past? See: https://www.zak.co.il/ideas/stuff/opinions/eng/evol_tm.html My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Moving away from cron jobs to some workflow manager
For dependency management, you may want to use 'make' or modern equivalents ('ant', 'gradle', etc.). For controlling remote nodes, 'ansible' may be able to do the work. --- Omer Zak On Tue, 2018-06-19 at 09:06 +0300, Rabin Yasharzadehe wrote: > Hi all, > > I need some advice, currently I have a huge cron file which schedules > tasks one after anther, and each task is position precisely (with > some room for error) to start after it predecessor. > > So if one job start at 00:00 and it will go and fetch some files and > it takes 3minutes > the next job will be after start right after at ~00:05 > and so on > > the problem is that if one job fails, all other jobs which are depend > on him will fail as well, and then I get a shitload of alerts, and > the worst part is that if i have to manually start a batch process I > need to go to each machine and manually start each job in the right > order, > > I was looking to resolve this problem with a tool which can manage > this "pipe line" > and I cam across several tools like Luigi and (apache-)AirFlow, I > started with Luigi but It didn't look > right for the job, and then I tried airflow, but was not able to make > it to work, the jobs queue never executed. =( > > Has any one have experience with airflow, or other tool like it which > they can recommend ? > My needs are to be able to execute my CURRENT shell/python/php > scripts and build the dependency between them, and I perfer the > option for remote exec so that I will have central > place to manage and monitor all work flow whichs are executed on > several nodes. -- More proof the End of the World has started. Just saw this online: I think it's beginning! Ten minutes ago there was a group of people waiting at the bus stop outside my house. Now, they're all gone! My own blog is at https://tddpirate.zak.co.il/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at https://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: "antisemitic" Linux Mint [was: Re: Distro recommendation]
I searched the English Wikipedia and found in its articles no mention of the Israel-Palestine controversy as it pertains to Linux Mint. There is neither mention of it in the Linux Mint article nor as a separate article. According to my findings: People, who would like to read about the controversy, would not find information about it in the English Wikipedia. Form your opinions about the above fact. --- Omer On Mon, 2017-11-20 at 07:27 +0200, Yehuda Deutsch wrote: > I don't see an issue in clem's views, as long that it stays off the > community's ground. > His apology for mixing open source with politics is here: > https://blog.linuxmint.com/?p=775 > > > I have no idea if this will fuel or calm things, but there is an > archived talk sub-page on wikipedia on the subject: > https://en.wikipedia.org/wiki/Talk:Linux_Mint/Archive_Israel-Palestine_Controversy > > > > I find mint to be very useful, both for "professional" and "home" > users. I tried ubuntu for a while, it left a bitterer taste than any > other distro i tried before. -- 42 is the answer to everything. Food is the answer to everything except obesity. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Corrupt file system: Replace hard disk or not?
Once in a while, there is some rare Linux kernel bug which has the effect of corrupting filesystems. Maybe it is what has bitten you? How to check: 1. Which version of the kernel is running on the PC? 2. Are there any reports of filesystem corruption for this version of the kernel? Since you are going to replace the computer in a year anyway, and the data on the hard disk in question is not essential, my advice would be to put the hard disk back to service. Also, configure your system to run fsck frequently on the hard disk (say the shorter of a week and each 5 boots, instead of each 30 boots). --- Omer Zak On Fri, 2017-09-22 at 12:11 +0300, Eli Billauer wrote: > Hello all, > > TL;DR: My hard disk's filesystem was corrupt, but the SMART statistics > is perfect. Should I replace the hard disk? > > Full version: > > It seems like one of my hard disks has passed its own premature Yom > Kippur verdict. Rebooting my computer this morning, it failed to mount, > saying "Group descriptor 32768 checksum is invalid" and forced me into a > shell. > > I made the mistake (?) of running fsck and then aborting it with a > (proper CTRL-ALT-DEL) reboot, as it took ages. This is a 3 TB disk, > which isn't necessary for booting, so I removed it from /etc/fstab, and > brought up the computer fine. > > Then I ran fsck on that disk, which generated a log of 125 MB, and > basically threw everything into /lost+found, leaving nothing in the root > directory. Hurray. > > It's a Western Digital WDC WD30EZRX-00DC0B0, with one big ext4 over LUKS > over LVM, 4 years in service, containing stuff that doesn't deserve a > backup. So the damage is limited, but I wonder if I should replace the disk. > > Despite its age, this disk's SMART status is perfect: No bad sectors, no > reallocated sectors, nothing. No parameter can be better. I know there's > a "don't trust SMART" word around, but had a sector failed, I would > expect that to appear in the statistics. I mean, I do understand that > SMART can't predict a failure, but doesn't it mean anything? > > And there's another thing: The reason a rebooted the computer was that I > found the screen frozen, but the mouse pointer moved. The time stood > still at 3:01 (AM). This is highly unusual on my computer, which usually > runs of months with zero issues. > > So I connected with ssh, and saw nothing suspicious: Not in > /var/log/messages, not in dmesg, not in .xsession-errors. No process was > busy in particular. From the remote terminal, I couldn't have guessed > something was wrong. So I issued a reboot from remote, which failed as I > mentioned above. > > Bottom line: The panic instinct is to replace the disk, even though the > whole computer is due for replacement within a year or so. Money left > aside, it's a bit of an effort, and involves a lot of scary commands as > root, which are a risk factor by themselves. I'm not implying that I'm > stupid enough to mke2fs the wrong disk. Not me. I never err. ;) ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Any contacts in Dublin LUG?
I am trying to help a friend in Dublin Ireland, who wants to install Linux in her old laptop. We found that no Linux installation parties are scheduled there in the near future. So my friend needs to have contact with someone in the local LUG, who can help her accomplish this. Does anyone have suitable contacts there? Thanks, --- Omer Zak -- No actual electrons, animals or children were harmed by writing this E-mail message. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Accessibility (Re: Internet recommendations)
Hello Geoff, I understand that you have an accessibility problem with the services provided by the infrastructure/ISP who provide the routers. You should complain at the Commission for Equal Rights of Persons with Disabilities: http://www.justice.gov.il/Units/NetzivutShivyon/Pages/default.aspx (English: http://www.justice.gov.il/En/Units/CommissionEqualRightsPersonsDisabilities/Pages/About-the-Commission-for-Equal-Rights-of-Persons-With-Disablities.aspx) Hopefully they'll help get the service providers to provide you with an accessible but secure router. --- Omer Zak On Sun, 2017-07-16 at 21:30 +0100, Geoff Shang wrote: > Hello, > > This could get a bit lengthy, so please bare with me. Also, there is a > direct connection to Linux if you read far enough. > > We are moving house in two weeks and have the opportunity to change ISP > and infrastructure providers. I'm hoping you all can help us decide who > to go with. > > Our preference is for a high-quality Internet service, and we have been > prepared to pay for it. Up until two years ago, we were happily using > Bezeqint's Gamers' package, over Bezeq NGN. But then we started running > into a problem. > > My wife and I are both blind. When we got our service reconnected in > November 2015, after being out of the country for six months, we > discovered that the Bezeq routers now have a CAPTCHA in addition to the > username and password. Moreover, this CAPTCHA has no audio challenge, > only visual ones. > > This of course makes it difficult to get into the router to administer it, > and while there are solutions that can help a blind person solve these > challenges, you of course need to be connected to the Internet to use > them, which limits their usefulness in this case. > > When we moved in earli 2016, we tried getting our infrastructure from > Bezeqint instead of Bezeq, the point being that the people you pay for > the infrastructure provide the router. Unfortunately, they also had a > CAPTCHA challenge on their login page, so this did not help particularly. > > Late last year, we tried switching to 012. To be honest, I can't remember > if they have a CAPTCHA or not. I have found the Internet in this > apartment less than satisfactory, but I'm not 100% sure if this is due to > the ISP, the phone line or the poor wi-fi performance in this apartment. > > One thing that I'm sure does contribute to poor performance, both now and > previously, is bad router firmware. I've seen problems caused by on-board > DHCP and DNS resolvers, and I've lost count of the number of times I've > cleared up some issue we've been having by rebooting the router. > > So I bought myself an EdgeRouter PoE from Ubiquiti Networks > (https://www.ubnt.com/edgemax/edgerouter-poe/). This device runs a > modified Debian Linux distribution. I've not yet set it up, but I'm > looking to do so once we move. > > To use this of course, I will either need to use some kind of modem device > only (no routing necessary) or put an ISP-supplied router in bridged mode. > > As the infrastructure provider also provides the router/modem, I'm also > looking at other connectivity options. > > I see that the Electricity company is now offering a fibre-to-the-home > service called Unlimited (unlimited.net.il). At least according to the > English language pages, which may well not be up to date, they only seem > to have a handful of ISPs, none of which I've had anything to do with. > Furthermore, I don't know anything about their reputation (it's difficult > to find much in English), and I obviously don't know anything about their > end equipment, whether it can play nice with an EdgeRouter PoE and whether > or not it has a CAPTCHA. > > I've also heard rumours of Bezeq providing a fibre-to-the-home solution as > well, but I don't know how true this is and I also don't know if equipment > for this would also suffer from a CAPTCHA that I've never figured out how > to disable. > > I'm not particularly interested in going back to Hot cable unless someone > can make a very good case for them > > If you've read this far, I thank you. > > As you can see, I have a number of concerns, some of which might be > difficult to explain to an ISP or carrier sales rep. > > My requirements are, therefore, in no particular order: > > * Fast > * Reliable > * Usable with third-party routers > * Able to be managed without a visual CAPTCHA. > > Obviously, some of this is relevant to ISPs as well as carriers, so any > thoughts on the best ISPs would also be welcome. I'm more interested in > quality and capacity than the usual bells and whistles the big ISPs have > that no-one ueses anyway. > > If yo
OpenSource Yearbook 2016
The OpenSource Yearbook2016 is available from: https://opensource.com/node/34176/download/1c5a42d8038e539c9615e32875897eff The long PDF file has several articles, which may be of interest. -- What happens if one mixes together evolution with time travel to the past? See: http://www.zak.co.il/a/stuff/opinions/eng/evol_tm.html My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Forwarded from another mailing list [Fwd: Re: [GoLugTech] Linux Presentation Day, timing.]
A lot of advice. Forwarded Message From: Hauke Laging via TechReply-to: Hauke Laging , t...@golug.org To: t...@golug.org Cc: SVLUG Subject: Re: [GoLugTech] Linux Presentation Day, timing. Date: Fri, 09 Dec 2016 08:07:17 +0100 Hello, Am Donnerstag, 8. Dezember 2016, 15:54:28 CET schrieb Steve Litt: > Here in Orlando, Enrique Gomez, Patrick Berry and I have set up > a Linux Presentation Day for 1/7/2017. that is great but you might reconsider the date; especially... > Radios using Linux. Now we need to publicize. ...for this reason. > I just read that you wanted these Linux Presentation Days to happen > approximately all on the same day, but you didn't specify that day. A > lot seem to happen in October. We do not set international dates any more because that creates more problems than it solves. But there is an international time frame: The events shall be in April / May and October / November. The interested organizations in the US should agree on an "official date" for the US. That is the date you tell the nationwide media. Those events which cannot be on that date should rather be after that date than before because only that way you can profit from nationwide media coverage (which is most probable in the IT media). Based on the current responses I assume there will be 20 to 50 US locations for the first event. For comparison: We had 65 locations in Germany for our first nationwide event. Italy had 20 but they have a similar event in autumn with nearly 100 cities. The next-highest numbers are five cities in France and Poland. In order to have a really comprehensive event which is close to most of the population and has enough capacity for visitors in the large cities I assume we need about 1,000 locations in Germany. Due to the other level of distance problems that adds up to probably rather 5,000 than 3,000 in the US. The local media seems not to care much about that a local event is part of something really big but the nationwide media needs to be impressed by the number of countries, national locations and what you are heading for with this. Doesn't work in Germany yet but the Italians are on TV and covered by nationwide newspapers. > I imagine the Orlando Linux Presentation Day will be the first of 2017. > Are there any special things we can do to make things easier for Linux > Presentation Days that come later? Any suggestions for getting > publicity, and who to try to attract as our audience? If you want to stick with your January date then I would suggest to plan for a small event. That is less effort and stress and you make some experience wich allows you to have a bigger event in April / May with little effort. And you could consult the other US locations. We have learnt that defining a target audience doesn't make tthem the majority of visitors... We don't know what the reason is but many German hosts were surprised that the majority of visitors were men from 40 to 60. I have heard similar from abroad. That may but need not turn out similar in the US. After all the LUG response to my mails differs incredibly from the rest of the world. It's probably a matter of attitude whether you decide a) to focus the "advertising" on men from 40 to 60 because you might get the most visitors this way or b) focus on all other groups because you would like the visitors be closer to the population average... We have also leant that posters and flyers in the public have hardly any effect; same for online advertising. That may change when the event name is better known. Two things are known to work great: a) media coverage (how surprising...) b) Posters in a public location for the event (e.g. a public library). It can help a lot to cooperate with organizations which have good access to the local media like adult education centers (the second-largest group of hosting organizations in Germany) or universities. A library may not have good access to the media but if you have 50 visitors then it may not feel like a problem that most of them are regular library visitors. And for the next event you can tell the media that the former event had 50 visitors... In Germany we prepare a press release template for the local media. Meanwhile we have learnt that the press release for local media should be very different from that for nationwide media because you have to explain to the nationwide media why the LPD is such a great event but the local media are scred off by too much text. If the national organizers manage to raise some sponsor money then it may be possible to have a press agency write (and spread) the press release. In April 2017 the support period for Windows Vista ends. My impression is that nobody here uses Vista any more but if the non-IT media cover that then it might be a good idea to spread a press release at that time. CU Hauke --
[Fwd: [GoLugTech] expanding Europe's Linux Presentation Day to the US]
Forwarded from another mailing list. Forwarded Message From: Hauke Laging via TechReply-to: Hauke Laging , t...@golug.org To: t...@golug.org Subject: [GoLugTech] expanding Europe's Linux Presentation Day to the US Date: Tue, 06 Dec 2016 21:37:49 +0100 Hello, in May 2015 Berlin's Linux user group (BeLUG) has started a new type of event which has spread quickly all over Europe: the Linux Presentation Day (LPD) 2015.1: Berlin only 2016.1 & 2016.2: 120+ cities in 15 countries 2017.1: first locations outside Europe (Canada, New Zealand, probably more) I contact you because we intend to expand the LPD beyond Europe next year. The aim of the LPD towards the general public is to provide biannual and comprehensive information events about Linux for private users who would like to get a first impression of Linux. The aim towards the media is to make the event so big (both nationally and internationally) that the nationwide non-IT media cover it regularly. The aim towards the Linux community is that an LPD event can be so small and easy to organize (even without costs) that really everyone can try to organize an event with good chances of success. The local organizers decide on their own what their event shall be like; we just make suggestions and offer support. You can find a longer description of the concept here: http://www.linux-presentation-day.org/idea/ Are you as an organization interested in participating in the LPD? If not: Are any of your members interested in helping us bring the LPD to the US? This event is very useful for finding new LUG members. Best regards, (Mr.) Hauke Laging -- http://www.linux-presentation-day.org/ International phone contact for the Linux Presentation Day: tel:+49-30-55579620 (13:00–23:00, German and English) XMPP (Chat with OTR): linux-presentation-...@jabber.ccc.de OTR: 91626899 1C06F2BD 75EC2441 35C696CE 38F75997 -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Experience with USB 3.0 Port Replicators for laptops?
I am again planning to buy hardware, and am looking again for the collective experience of the community with the hardware being considered for purchase. I have a Lenovo Y700 laptop, which was purchased less than a year ago. It runs Linux (Debian Jessie) with backported kernel 4.7.8 (linux-image-4.7.0-0.bpo.1-amd64, version 4.7.8-1~bpo8+1). I would like to select an USB 3.0 Port Replicator for it and connect two additional monitors (to have total of three monitors - laptop's own monitor + two extra ones). It was suggested that I'll buy ThinkPad Basic USB 3.0 Dock (http://shop.lenovo.com/SEUILibrary/controller/e/web/LenovoPortal/en_US/catalog.workflow:item.detail?hide_menu_area=true=460=4X10A06687). It uses DisplayLink chips, which have Linux support for a while (see: https://github.com/AdnanHodzic/displaylink-debian). This port replicator can drive only one external monitor in addition to the laptop's own monitor. However, the ThinkPad USB 3.0 Dock (https://support.lenovo.com/il/en/documents/pd023761) supports two external monitors. Does anyone have experience with any of the above? Are there other non-Lenovo USB 3.0 Port Replicators, which work with Lenovo Y700? Thanks, --- Omer -- What happens if one mixes together evolution with time travel to the past? See: http://www.zak.co.il/a/stuff/opinions/eng/evol_tm.html My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Using DVB-T on Raspberry Pi (was: Re: Up-to-date hardware recommendation (this time, USB DVB-T dongle)?)
Few weeks ago I asked about recommendations for a USB DVB-T dongle. Meanwhile I ordered and received DVB-T+DAB+FM D037C-04. Now the task is to make it work with Raspberry Pi using Raspbian. According to the link http://askubuntu.com/questions/20204/which-application-do-you-recommend-for-watching-tv-dvb people recommend: vlc, kaffeine the following were mentioned, too: totem, gxine, mplayer The link http://www.howtoeverything.net/linux/hardware/making-dvb-usb-sticks-and-other-tv-cards-work-linux (Making DVB-USB-Sticks and other TV cards work with Linux) recommends to install kaffeine and libxine1-all-plugins Raspbian has libxine2-all-plugins instead. My experience was that the Raspbian installation (most up-to-date Jessie one) recognized the device without the need to install anything further. I got stuck at failing to find any channels when scanning. Not known whether it's a problem of bad reception or another problem. --- Omer -- For the average human female, a cockroach is merely another name for a walking turd. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Up-to-date hardware recommendation (this time, USB DVB-T dongle)?
I am considering the purchase of an USB DVB-T dongle which will work with Raspberry Pi (under Raspbian, of course). What is the currently recommended model and where can one buy it for a good price? Thanks, --- Omer Zak -- My Commodore 64 is suffering from slowness and insufficiency of memory; and its display device is grievously short of pixels. Can anyone help? My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
[SUMMARY] Re: How to access installation logfiles? - a failed attempt to install Debian Stretch in a virtual machine
Two people replied (thanks!). borissh1983 suggested to mount the raw image and copy files directly from there, using tools like: qemu-nbd, vfuse/vdfuse. As an alternative, he suggested to convert using: "VBoxManage clonehd --format RAW input.vfi output.img" (disclaimer: the command was not checked) and then mount directly the image. shlomif suggested to reboot the VM using a LiveDVD/LiveCD, mount the installation virtual disk and copy the relevant files outside using scp/rsync/sftp/lftp/etc I am saving the suggestions for future reference. For now, I ended up installing Debian Jessie (Stable) and then upgrading to Testing and to Unstable. --- Omer On Sun, 2016-04-17 at 09:25 +0300, Omer Zak wrote: > I found that there are layout problems in the Hebrew PDF file in the > debian-refcard package. > > To fix the problems, I am building a virtual machine (using VirtualBox) > for a Debian Stretch (Unstable) installation. > > I tried to install using debian-stretch-DI-alpha5-amd64-netinst.iso > but in middle, there was a message that installation failed. > > I was offered the possibility to access the installation logfiles from > http://10.0.2.15/ > I tried but it did not work. Apparently installation was not > sufficiently complete to make it possible. > > Is there another way to access the installation logfiles, so that I can > file a proper bug report? > > For now, I am installing Debian Jessie (Stable) with intention to update > later to Debian Unstable. > > --- Omer Zak -- Any legal limit to self defense means that there is no right for self defense at all. This is because the aggressors would exploit those legal limits to render their victims totally defenseless. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: How to access installation logfiles? - a failed attempt to install Debian Stretch in a virtual machine
On Sun, 2016-04-17 at 10:46 +0300, Shlomi Fish wrote: > Hi Omer, > > On Sun, Apr 17, 2016 at 9:25 AM, Omer Zak <w...@zak.co.il> wrote: > To fix the problems, I am building a virtual machine (using > VirtualBox) > for a Debian Stretch (Unstable) installation. > > isn't Debian Stretch the current Debian Testing whereas Debian > Unstable is called "sid"? Mea Culpa. I tried to install Debian Stretch with intention to upgrade later to Debian Sid. --- Omer -- Shakespeare Monkeys: cat /dev/urandom | strings -n 16 My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
How to access installation logfiles? - a failed attempt to install Debian Stretch in a virtual machine
I found that there are layout problems in the Hebrew PDF file in the debian-refcard package. To fix the problems, I am building a virtual machine (using VirtualBox) for a Debian Stretch (Unstable) installation. I tried to install using debian-stretch-DI-alpha5-amd64-netinst.iso but in middle, there was a message that installation failed. I was offered the possibility to access the installation logfiles from http://10.0.2.15/ I tried but it did not work. Apparently installation was not sufficiently complete to make it possible. Is there another way to access the installation logfiles, so that I can file a proper bug report? For now, I am installing Debian Jessie (Stable) with intention to update later to Debian Unstable. --- Omer Zak -- The key to making programs fast is to make them do practically nothing. Mike Haertel (original author of GNU grep) My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: [OT] Password regex change on mybills.co.il
DISCLAIMER: I tested on Python's re. Each of the sub-patterns enclosed in (?=...) is a lookahead pattern. As such, they do not consume the string, just check if it matches them. The whole pattern is effectively an AND of the subpatterns. The last pattern matches 8 or more characters (any character). Therefore, the string to be matched needs to be at least 8 characters long (no upper bound) and have at least one character from each of the following groups: a-z A-Z 0-9 ~#%&=$-!?^@ (one of 11 specific special characters) The other characters may be just any character you want (including spaces). I confirmed that the following strings match the pattern (without the doublequotes): "aA0~" (8 characters long) "aA0~." (9 characters long) "bzCY19#@---" (11 characters long) "bzCY19^9 99" (11 characters long, with space) --- Omer On Sat, 2016-02-27 at 19:46 +, Valery Reznic wrote: > Hi, All. > > > It's not actually Linux-related, but more regular-expression question. > Nevertheless ... > > > Recently I was unable to login into site mybills.co.il > > > Attempt to reset password also failed due to regular expression test > failed. > > > Mybills claims that password should be 8-10 characters long and > should > include at least two digits and Latin letters. > > > Whatever I tried as password - I was not able to pass their regex > test. > > > After a bit of digging > I found following in the https://www.mybills.co.il/js/Validations.js > > > > > //var passREGEX > = /^(?=.{8,10}$)(?=(.*[0-9]){2,})(?=(.*[a-zA-Z]){2,})(?=(.*[~!@#$% > ^&*()+-_=])).*/; > var passREGEX = /^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[~#%&=\$\-\! > \?\^@])(?=.{8,})/; > > > I tried first (commented out) regex in > the regex101.com and indeed password with 2 digits and 2 Latin > letters matches > > > I tried the second (active) one- no matches. > > > Any idea what password should looks like to match this regex? > > > I tried to contact mybills's support - no luck here :( -- $ python >>> type(type(type)) My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
More pieces of the IPv6 puzzle (Re: ISP with native ipv6 in isarael)
On Thu, 2016-01-28 at 15:55 +0200, Beni Cherniavsky-Paskin wrote: > Brain dump & tips on starting with IPv6 [I imagine Shachar knows all > this but for others, including future me ;-]: A nice brain dump! To complement the brain dump, I'd like to see advice, from anyone who has experience with this, about securing the hosts against intruders via both IPv4 and IPv6 - in other words, per host firewall. The reasons for this are: 1. The firewall in Bezeq's router is turned off in Beni's setup. 2. Those of us, who are not willing to switch to Xfone yet wish to breathe the IPv6 pixie dust, will need to use IPv6 over IPv4 tunnelling. It means that the computer running the tunnel will need an IPv6 firewall around the local tunnel's endpoint. Another piece of advice desired is as follows. How to configure the home network so that: 1. It'll use IPv6 internally. 2. Communicate with the outside world via both IPv4 and IPv6 tunnel. 3. When your ISP finally starts to support IPv6, switching the home network to pure IPv6 would be piece of cake. --- Omer -- According to Jean Boutcher, I am "a baby man, whining". My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
E-mail hosting provider in Israel?
I am looking for an E-mail hosting provider based in Israel, which I can use to receive and send E-mail to the entire world. With which provider/s (with the exception of the well-known Google's gmail) do you have good experience? --- Omer -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Lenovo Y700
The process of selecting a new laptop to be used with Linux turned out to be rather painful. Now I am considering the Lenovo Y700 laptop. Does anyone have experience with this laptop and with installing Linux on it? >From what I found by googling this laptop model, the Linux installing process is standard, for a laptop which has UEFI and Secure Boot. Before actually ordering it, I'd like to be sure that there are no surprises. --- Omer -- "Prior to capitalism, the way people amassed great wealth was by looting, plundering and enslaving their fellow man. Capitalism made it possible to become wealthy by serving your fellow man." - Walter E. Williams My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: How to search Linux Kernel changelogs? (USB disconnect problem)
My sources.list already has jessie-backports, and tlp was not backported to Debian Jessie. On Fri, 2015-12-25 at 16:48 +1100, Amos Shapira wrote: > Backports? > https://packages.debian.org/jessie-backports/ > > On 25 Dec 2015 9:04 a.m., "E.S. Rosenberg" <esr+linux...@g.jct.ac.il> > wrote: > Unless it has dependencies that force you 'onward' there is no > reason > not to download the deb and install it manually > > 2015-12-24 20:14 GMT+02:00 Omer Zak <w...@zak.co.il>: > > As it turned out, it did not matter that I misunderstood > tlp's name. > > The package tlp exists only in Debian Stretch (testing) and > in Debian > > Sid (unstable), and my PC runs on Debian Jessie, so there is > no tlp in > > my near future. > > > > On Wed, 2015-12-23 at 09:32 +, Daniel Shahaf wrote: > >> Omer Zak wrote on Mon, Dec 21, 2015 at 13:54:50 +0200: > >> > At your hint, I have installed powertop. > >> > I did not find a tip in Debian, but there is a tiptop > command in my > >> > system. > >> > >> Rabin wrote "tlp" with an 'L', not "tip" with an 'I'. > >> > >> Daniel > >> > >> > How can they help me diagnose USB problems? > >> > > >> > > >> > On Mon, 2015-12-21 at 13:35 +0200, Rabin Yasharzadehe > wrote: > >> > > do you install/use powertop or tlp ? -- Did you shave a yak today? My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: How to search Linux Kernel changelogs? (USB disconnect problem)
As it turned out, it did not matter that I misunderstood tlp's name. The package tlp exists only in Debian Stretch (testing) and in Debian Sid (unstable), and my PC runs on Debian Jessie, so there is no tlp in my near future. On Wed, 2015-12-23 at 09:32 +, Daniel Shahaf wrote: > Omer Zak wrote on Mon, Dec 21, 2015 at 13:54:50 +0200: > > At your hint, I have installed powertop. > > I did not find a tip in Debian, but there is a tiptop command in my > > system. > > Rabin wrote "tlp" with an 'L', not "tip" with an 'I'. > > Daniel > > > How can they help me diagnose USB problems? > > > > > > On Mon, 2015-12-21 at 13:35 +0200, Rabin Yasharzadehe wrote: > > > do you install/use powertop or tlp ? -- Did you shave a yak today? My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Alternate docking station for the Dell Precision M3800? (Re: The Dell Precision M3800 Laptop)
The computer shop which suggested to me the Dell Precision M3800 laptop suggests that the E-port with 210W adapter (http://accessories.ap.dell.com/sna/productdetail.aspx?c=my=en=dhs=mydhs1=450-14000) be used with the laptop. I googled for Linux support for this adapter, but found no information. About using 3 displays with the laptop (2 + laptop's own, or 3 external), it seems to be possible according to: http://superuser.com/questions/369488/will-the-e-port-plus-laptop-docking-station-allow-me-to-use-three-viewports-moni Does anyone have experience using it with Linux? BTW there is another model with confusingly similar name and more connections: http://accessories.us.dell.com/sna/productdetail.aspx?c=us=en=430-3312=bsd). Thanks, --- Omer Zak On Thu, 2015-12-24 at 00:51 +0200, Omer Zak wrote: > Another problem is that according to what I found while googling it, the > docking station mentioned with the laptop (Dell Docking Station USB 3.0 > - D3100) is not supported by Linux (or maybe supported using proprietary > drivers limited to some Linux distributions). > > I need something to connect 2-3 additional displays to the laptop (3 > displays if the laptop's own display is disabled). ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: The Dell Precision M3800 Laptop
Thanks for the feedback and advice, Shachar. When I'll have 4K displays, I'll worry about the resolution differences. At present, I don't care about smartcard/fingerprint readers. One of the problems, which I worry about, is that Ely Levy was very unhappy with the M3800 that he got. If no one else was as unhappy with it, Ely may have gotten a lemon. Another problem is that according to what I found while googling it, the docking station mentioned with the laptop (Dell Docking Station USB 3.0 - D3100) is not supported by Linux (or maybe supported using proprietary drivers limited to some Linux distributions). I need something to connect 2-3 additional displays to the laptop (3 displays if the laptop's own display is disabled). --- Omer On Wed, 2015-12-23 at 19:54 +0200, Shachar Shemesh wrote: > On 23/12/15 10:54, E.S. Rosenberg wrote: > > > 2015-12-22 21:48 GMT+02:00 Omer Zak <w...@zak.co.il>: > > > As I said few weeks ago, I am considering the purchase of a new laptop > > > to replace my current desktop PC and also serve me on the road. > > > > > > It was suggested to me to consider purchasing the Dell Precision M3800 > > > laptop. > > > > > > Before ordering it, I'd like to know if anyone else bought it and if > > > yes, what is his/her experience. Specific questions appear below. > > > > > > From the reviews that I read, the laptop suffers from a battery life > > > deficiency (which does not bother me). Also, the 4K display option > > > causes a lot of software to display too small graphical elements. > > > (see, for example: > > > http://www.networkworld.com/article/2897199/opensource-subnet/review-dells-ubuntu-powered-m3800-mobile-workstation-is-a-desktop-destroyer.html). > > Usually the DE has somewhere where you can tell it how high the DPI is > > for your screen and it will scale elements accordingly, however this > > usually won't work across the board. > Make sure not to have different displays on the same desktop with > drastically different DPIs. I've had a laptop with a fairly high > resolution, and connected a monitor that was both bigger and had lower > resolution. The result was that the DPI of the laptop display was > almost twice that of the external monitor. Things did not look good. > Things were either too small on the built-in display or too big on the > external one. > > Also, in my previous email on the subject I said that almost > everything works with Linux, but was then hard pressed to say what > didn't. I have, since, remembered. Some Dell laptops have a built in > smartcard/fingerprint reader. That one is completely and hopelessly > unsupported on Linux. That was the only hardware component I failed to > make work. -- More proof the End of the World has started. Just saw this online: I think it's beginning! Ten minutes ago there was a group of people waiting at the bus stop outside my house. Now, they're all gone! My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
The Dell Precision M3800 Laptop
As I said few weeks ago, I am considering the purchase of a new laptop to replace my current desktop PC and also serve me on the road. It was suggested to me to consider purchasing the Dell Precision M3800 laptop. Before ordering it, I'd like to know if anyone else bought it and if yes, what is his/her experience. Specific questions appear below. From the reviews that I read, the laptop suffers from a battery life deficiency (which does not bother me). Also, the 4K display option causes a lot of software to display too small graphical elements. (see, for example: http://www.networkworld.com/article/2897199/opensource-subnet/review-dells-ubuntu-powered-m3800-mobile-workstation-is-a-desktop-destroyer.html). The above review also claims that the laptop works with all Linux distributions the author tried. The laptop has the Nvidia® Quadro® K1100M, w/ 2GB GDDR5 display card. According to http://www.nvidia.com/Download/driverResults.aspx/69378/en-us, it works well with the NViDia proprietary driver. Should I be on the lookout for any problems with it? Is the card strong enough to drive three displays simultaneously? And finally, when I install Linux on the laptop, should I be careful when dealing with UEFI? --- Omer -- My Commodore 64 is suffering from slowness and insufficiency of memory; and its display device is grievously short of pixels. Can anyone help? My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
How to search Linux Kernel changelogs? (USB disconnect problem)
During the last several months, I was having a problem of USB mouse disconnecting and reconnecting very often in my Linux system (Debian Wheezy, kernels 3.16.0-4-amd64 and 4.2.0-0.bpo.1-amd64). Recently a similar problem started to affect also my printer. Hardware problems were ruled out yesterday in the computer repair lab. I found some information which suggested that it has to do with USB power control, and that there are several problems with USB handling in general. I also saw that other people complain about similar problems, often without a solution to their problems. So I wanted to search the Linux Kernel changelogs for any recent changes in the USB subsystem. Unfortunately I found no such search function. https://www.kernel.org/pub/linux/kernel/ has all changelogs in its subdirectories but no search function. The search function in http://kernelnewbies.org/LinuxChanges is broken - I get Web searches even when I choose "This site". What do you do when you need to search Linux kernel changesets for relevant changes? --- Omer -- As long as there are families which throw their teenager sons and daughters out of home if they turn out to be gays or lesbians, Gay Pride Parade events are needed. As long as the most common cause of suicide by teenagers is their finding out that they are gays or lesbians, Gay Pride Parade events are needed. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: How to search Linux Kernel changelogs? (USB disconnect problem)
At your hint, I have installed powertop. I did not find a tip in Debian, but there is a tiptop command in my system. How can they help me diagnose USB problems? On Mon, 2015-12-21 at 13:35 +0200, Rabin Yasharzadehe wrote: > do you install/use powertop or tlp ? > > On 21 December 2015 at 12:53, Omer Zak <w...@zak.co.il> wrote: > During the last several months, I was having a problem of USB > mouse > disconnecting and reconnecting very often in my Linux system > (Debian > Wheezy, kernels 3.16.0-4-amd64 and 4.2.0-0.bpo.1-amd64). > Recently a > similar problem started to affect also my printer. > > Hardware problems were ruled out yesterday in the computer > repair lab. > > I found some information which suggested that it has to do > with USB > power control, and that there are several problems with USB > handling in > general. > > I also saw that other people complain about similar problems, > often > without a solution to their problems. > > So I wanted to search the Linux Kernel changelogs for any > recent changes > in the USB subsystem. > > Unfortunately I found no such search function. > https://www.kernel.org/pub/linux/kernel/ has all changelogs in > its > subdirectories but no search function. > The search function in http://kernelnewbies.org/LinuxChanges > is broken - > I get Web searches even when I choose "This site". > > What do you do when you need to search Linux kernel changesets > for > relevant changes? -- The key to making programs fast is to make them do practically nothing. Mike Haertel (original author of GNU grep) My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Entering Shortcuts While in Hebrew Layout - LibreOffice on Ubuntu
I encounter this issue when I edit Hebrew text in Emacs. An example: When I hit the keys Ctrl and "S" to start a search in Emacs, the command is decoded as C-s when in English mode, but as C-ד when in Hebrew mode. Then it turns out that C-ד is not recognized. In the case of Emacs, it probably can be fixed by binding C-ד and other Hebrew key combinations to the same actions as the corresponding English key combinations. In browsers, the problem used to exist, but it was fixed long time ago. I just confirmed that also my E-mail client software handles correctly Hebrew mode. --- Omer On Sat, 2015-12-12 at 12:04 +0200, Amichai Rotman wrote: > Hi All, > > > Can someone explain to me, once and for all, what's the issue with > entering keyboard shortcuts (i.e.: CTRL-C) while in Hebrew Layout in > LibreOffice on Ubuntu? > > > I call it an issue, because I understand it isn't a bug. It has > something to do with the text entry in Ubuntu, and if I change the > text entry mode - problem solved! > > > I really hate having to switch to English every time I need to copy or > pate text... > > > I promise I'll write up a Hebrew HOWTO guide for the community, as > soon as i successfully fix this annoyance. -- Feedback from one of the visitors to my http://www.zak.co.il/deaf-info/old/ Web site: "I found nothing helpful at this site so go to hell. Fuckers" My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Summary: Which Linux distribution is stable yet up-to-date
Yesterday I posted my question about selecting a Linux distribution to serve as the host Linux distribution for a system which runs Docker and a virtualization system. For such a system, I'll want to use a stable but up-to-date kernel. Unstable distributions will be operated inside a virtual machine or a Docker container, as needed. Several people responded with suggestions. Rabin Yasharzadehe suggested Arch and Fedora - both as unstable distributions. Shlomi Fish suggested Mageia, which gets a release roughly every 9 months. Its unstable counterpart is Cauldron. He had a problem using VirtualBox (the virtualization solution which I am currently using) on Mageia. Yuval Adam claims that Arch Linux manages to be extremely stable without losing the ability to get frequent updates. Jeremy Hoyland suggested the use of Linux Mint. But he said nothing about its stability. Steve Litt proposes the use of a rolling release. He recommends Void as more stable than the alternatives. Unlike me, systemd use or avoidance is for him a religious issue. Sara Fink suggests Gentoo, which has what to offer to both sides of the systemd divide. Not clear how stable is it. Tzafrir Cohen pointed out that Debian Stable strives to maintain a stable interface to Kernel modules. The winners so far are Arch and Void. Yet another option is to use Debian Stable as the host operating system, like I did so far, but compile and install my own kernel builds according to the instructions in places such as: http://www.cyberciti.biz/faq/debian-ubuntu-building-installing-a-custom-linux-kernel/ User space programs, which rely upon bleeding-edge features of the kernel, will be run from containers as needed, thus hopefully restricting somewhat any damage they could cause. Thanks to all responders. --- Omer -- We will only have peace with the Arabs when they love their children more than they hate us. Golda Meir (Israeli Prime Minister between 1969-1974) My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Debian Testing (was: Re: Summary: Which Linux distribution is stable yet up-to-date)
Actually, Debian Testing is a bad alternative when wishing to trade off stability vs. being up-to-date. On one hand, while Debian Testing is mostly stable, things break all the time (and get fixed within few days). Not good when you depend upon a working system for your work. The worst breakages occur during the first weeks after Debian Testing goes out of freeze, following a Debian Stable release. On the other hand, Debian Testing gets frozen (except for bug fixes) for several months each two years or so, while a new Debian Stable release is being made. The best use case for Debian Testing is for someone who develops (or adapts) software for running in a Debian installation, and needs to test it in a live system. On my current main PC I use Debian Stable (Debian Jessie at the moment), and until recently I used Debian Testing on a netbook which I use for lecture notetaking. I learned early in the game not to update packages on the netbook for few days before lectures and other events, for which I need notetaking. --- Omer On Wed, 2015-12-02 at 15:17 +1100, Amos Shapira wrote: > I tried to avoid this discussion but I'm a little surprised that > nobody mentioned Debian Testing. > I've used it as a desktop for a decade or so and it had a great > combination of very good stability (i.e. I can't recall it ever > disappointed me) and still relatively up to date. > But then again - it's been a while since I used it. > > These days I use Ubuntu LTS for servers and Mac for laptop, and for a > few months around a year ago also Ubuntu LTS for a work laptop. > > On 2 December 2015 at 06:35, Geoff Shang <ge...@quitelikely.com> > wrote: > On Tue, 1 Dec 2015, Omer Zak wrote: > > Yet another option is to use Debian Stable as the host > operating system, > like I did so far, but compile and install my own > kernel builds > according to the instructions in places such as: > > http://www.cyberciti.biz/faq/debian-ubuntu-building-installing-a-custom-linux-kernel/ > > You can also use Debian Backports to get more recent kernel > releases. > > deb http://httpredir.debian.org/debian jessie-backports main > contrib non-free > > Here's the most recent kernel in jessie-backports at time of > writing: > > Package: linux-image-4.2.0-0.bpo.1-amd64 > Source: linux > Version: 4.2.6-1~bpo8+1 -- You haven't made an impact on the world before you caused a Debian release to be named after Snufkin. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Which Linux distribution is stable yet up-to-date?
In another E-mail thread I am discussing selection of a laptop. Once a laptop is acquired, I'll want to install one of Linux distributions on it. At present, I am using Debian Stable (today it is Debian Jessie) as the host OS of my PC, along with Ubuntu 14.04 inside a VirtualBox based virtual machine (Android development environment). For the new system, I'd like to select an host Linux distribution with stable but up-to-date kernel, Docker and a virtualization system (VirtualBox or other). For this, Debian Stable (today's Debian Jessie) is not the answer as it gets updated about once each two years. I'll want to use Docker to run my current Debian Jessie installation and the Android development environment (running on Ubuntu). The virtualization system will be used to experiment with bleeding edge stuff such as new Linux kernel versions, Debian Unstable, GNU/Hurd and other exotic stuff. What is the community's recommendation for a Linux distribution which provides stable yet up-to-date versions of the Linux kernel and the other basic software tools? --- Omer -- The key to making programs fast is to make them do practically nothing. Mike Haertel (original author of GNU grep) My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Up-to-date hardware (laptop) recommendations?
People replied to my message in private and to the mailing list. In the following, I'll summarize their points and respond to them. -=-=-=-=-=- (1/9) Shachar Shemesh/Roman Ovseitsev: Why connect internal monitor + 3 external monitors? My response: I was not clear in expressing my wishes. What I'd like to be able is to work at home with three monitors. I do not care if it is 3 external monitors (with disabled internal monitor) or 2 external monitors with an active internal monitor. Roman Ovseitsev's point about Skylake based laptop: not relevant since I do not need more than 3 monitors total. Thanks also to Yaron deLeeuw for the tip about looking for display port 1.2. -=-=-=-=-=- (2/9) Shachar Shemesh: Recommends Dell, which has reasonable Linux support. Uses Dell Latitude E7440. My response: What does "reasonable" mean here? Are there any features not well supported by Linux? Do other models in the E7000 series have as good reputation? If yes, I'll check if any of them supports total of 3 displays. -=-=-=-=-=- (3/9) Roman Ovseitsev: Uses ThinkPad T 14" for several years and is happy with it. My response: How are today's ThinkPads (which are probably different from ThinkPads from years ago)? -=-=-=-=-=- (4/9) Shachar Shemesh/Roman Ovseitsev: Latest models don't have eSATA port, relying upon USB-3 instead. My response: It is a pity, because (according to Wikipedia), SATA 3.2 provides 16Gbit/sec transfer speed while USB 3.1 provides only 10Gbit/sec. -=-=-=-=-=- (5/9) Boris Shtrasman: How about Legacy and UEFI (or only UEFI) mode? My response: UEFI should be OK, but I need to disable secure boot so that I'll be able to upgrade Linux kernels at whim. -=-=-=-=-=- (6/9) Boris Shtrasman: How about vPRO / AMT? My response: Not relevant for me, because the laptop will be for my personal use and not for corporate use. -=-=-=-=-=- (7/9) Boris Shtrasman: USB 3 vs. USB 2? My response: USB 3 is not mandatory (unless needed as a substitute for missing eSATA connections). -=-=-=-=-=- (8/9) Boris Shtrasman: UMTS/4G adapter (for cellular communication)? My response: Prefer not to have - might shock me by unexpected cellular phone charges. -=-=-=-=-=- (9/9) Service providers: People remarked that Dell provides good service in Israel, whereas Neupan's service is bad. -=-=-=-=-=- --- Omer On Sun, 2015-11-29 at 11:05 +0200, Omer Zak wrote: > After long time of not looking for hardware recommendations, I am again > looking for up-to-date hardware recommendations. > > This time, I'd like to buy a laptop which will serve as my main > workhorse PC at home and outside of it. > > As things look like, I would like it to have: > - 16GB RAM. > - Ability to connect 2-3 external displays (possibly via a docking > station). > - External SATA interface, with which I can connect an external hard > disk and work with it at full speed. This is in addition to internal > hard disk (500GB or more, capacity not critical). > - Battery time is not critical, as I expect to work near electricity > anyway. > - Several USB sockets > - WiFi > - Wired Ethernet socket > - Full Linux compatibility > > So far someone recommended Macbook Pro with 13" display size. > > Any recommended brands, models, off-brands? > Any brands to keep away from? > Any specs to ask for? > Any of the above specs NOT to ask for and why? -- My Commodore 64 is suffering from slowness and insufficiency of memory; and its display device is grievously short of pixels. Can anyone help? My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Up-to-date hardware (laptop) recommendations?
After long time of not looking for hardware recommendations, I am again looking for up-to-date hardware recommendations. This time, I'd like to buy a laptop which will serve as my main workhorse PC at home and outside of it. As things look like, I would like it to have: - 16GB RAM. - Ability to connect 2-3 external displays (possibly via a docking station). - External SATA interface, with which I can connect an external hard disk and work with it at full speed. This is in addition to internal hard disk (500GB or more, capacity not critical). - Battery time is not critical, as I expect to work near electricity anyway. - Several USB sockets - WiFi - Wired Ethernet socket - Full Linux compatibility So far someone recommended Macbook Pro with 13" display size. Any recommended brands, models, off-brands? Any brands to keep away from? Any specs to ask for? Any of the above specs NOT to ask for and why? --- Omer -- PHP - the language of the Vogons. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
A nice alternative to software versions
The following blog article (I am using the Wayback link because the original article seems to have been overwritten by other stuff) proposes specifying software compatibility by means of contracts rather than by means of software versions: https://web.archive.org/web/20150905145522/http://hintjens.com/blog:85 As I was reading the article, I thought that the Debian virtual package mechanism can be co-opted for specifying contracts rather than versions. This is by having a virtual package name correspond to each contract. This way, a package advertises that it implements a contract by declaring that it "provides" the corresponding virtual package. A package declares that it requires an implementation of a contract by "requiring" the corresponding virtual package. --- Omer -- cal 09 1752 My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Where are you, kiwix?
Since it would be cool to be able to hold a Wikipedia snapshot on my PC for offline access in case of need[1], I looked into kiwix. Turns out that kiwix is unavailable for Debian Jessie (the distribution that I am currently using). This is because the package was removed[2] a year ago. The cause for removal is removal of xulrunner from Debian. I tried to google for information about xulrunner removal, but found nothing relevant. There are 3 bugs[3] in Debian bugs database, but no one of them mentioned removal of xulrunner. Is there anyone who knows more about the Debian xulrunner issues and can shed more light on the matter? [1] https://en.wikipedia.org/wiki/Wikipedia:Database_download [2] http://lists.alioth.debian.org/pipermail/debian-edu-pkg-team/Week-of-Mon-20140922/000720.html [3] https://bugs.debian.org/cgi-bin/pkgreport.cgi?package=xulrunner --- Omer -- One cannot argue with a Bayesian filter. Peter Lorand Peres My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
A gentle introduction to OpenGL, anyone?
Does anyone know a book, E-book or Website which contains a gentle introduction to OpenGL - a series of examples with explanations, which go gradually from the easy to sophisticated, eventually covering a large part of the OpenGL API? Preferably using the Qt5.x platform. --- Omer -- PHP - the language of the Vogons. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: A gentle introduction to OpenGL, anyone?
So far I got the following suggestions: * http://nehe.gamedev.net/ * http://www.amazon.com/exec/obidos/ASIN/0321552628/khongrou-20 * http://www.opengl-redbook.com/ (Thanks, Boris Shtrasman and Dov Grobgeld.) However, it seems that the materials describe deprecated OpenGL versions. Specifically, I am looking for materials which also teach about shader files, which I see in Qt5.5 projects demonstrating OpenGL. On Tue, 2015-08-25 at 11:10 +0300, Omer Zak wrote: Does anyone know a book, E-book or Website which contains a gentle introduction to OpenGL - a series of examples with explanations, which go gradually from the easy to sophisticated, eventually covering a large part of the OpenGL API? -- The volume of a pizza of thickness a and radius z can be described by the following formula: pi zz a My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: [OT] driver's license exam app?
Hello Daniel, Three years ago, I developed an Android application which does the same thing [1]. I hoped to get more volunteers to polish and improve it, however there was very little interest in it. Nevertheless, it was a good way to tell the world that yes, I am an Android developer. I got other projects thanks to it (such as [2]). So I suggest that you release your application but without expecting anything from it beyond being a showcase of your software development skills. While you are it, I strongly urge you to split off the part of the code, which deals with Hebrew terminals, and make it a library that people can take and use in their own projects. Maybe you'll be able to contribute to terminfo/ncurses projects. --- Omer [1] https://github.com/Hamakor/teuria [2] https://play.google.com/store/apps/details?id=com.heliconbooks.epub.epubreader On Fri, 2015-08-21 at 01:24 +, Daniel Shahaf wrote: I've got here a desktop app that quizzes the user with questions from מבחן התיאוריה (the one people take when they learn driving). It's basically a self-test/study app, using the questionset from the Ministry's web site. (They publish questionsets in six languages, I only tried the Hebrew set.) By app I mean a python script that prints questions to stdout, reads answers from stdin, and displays images by invoking display(1) [a minimal image viewer from imagemagick]. It doesn't have a GUI (beyond the image displayer) since my target audience didn't need one. I can't release it as-is because $LEGAL_REASONS, but I could clean it up to make it releaseable. Before I spend too much time on that, is that something anybody would be interested in? [feel free to reply offlist] Cheers, Daniel P.S. It wasn't fun to get Hebrew to print correctly on all terminals: there are differently-behaving terminals that use the same value of $TERM (undermining terminfo-based solutions). I ended up using $WINDOWID to get the terminal emulator's argv[0], and hardcoding exceptions based on that. That's so 1990... -- QA People of Curse. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Matrix inversion tool
All those discussions about inverting matrices over Z2 make me curious to know what kind of problems can be solved by inverting such matrices. I suppose that the actual problem, with which Shachar is struggling, is proprietary information. However, is it possible to indicate the kind of problems which can be attacked by inverting a matrix over Z2? --- Omer On Sun, 2015-08-09 at 19:50 +0300, Shachar Shemesh wrote: On 09/08/2015 13:29, Matan Ziv-Av wrote: On Sun, 9 Aug 2015, Oleg Goldshmidt wrote: Shachar Shemesh shac...@shemesh.biz writes: Hi all, I'm looking for a tool/code to invert a matrix. So far, this sounds trivial. I have one special requirement. I did not think it was too special, except I could not find anywhere that supplied it. I want the matrix to be over a different field (i.e. - not the real numbers). In my particular case, I want it to be over Z2 (zero and one). [... snipped ...] -- The brain does not use addresses. www.werner-seyfried.com My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Matrix inversion tool
What happens if you use the regular matrix inversion tool which works on real numbers? (after rejecting, as singular over Z2, matrices whose determinant modulo 2 is different from 1) On Sat, 2015-08-08 at 20:31 +0300, Shachar Shemesh wrote: Hi all, I'm looking for a tool/code to invert a matrix. So far, this sounds trivial. I have one special requirement. I did not think it was too special, except I could not find anywhere that supplied it. I want the matrix to be over a different field (i.e. - not the real numbers). In my particular case, I want it to be over Z2 (zero and one). So far, I have failed to find such a tool. If anyone knows how to do it, please let me know, as the alternative is writing one myself, which is something I REALLY don't want to do without a good reason. -- If verbal consent is not obtained in triplicate, it is a date rape. Asking permission constitutes harassment. My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.htmlDelay is the deadliest form of denial.C. Northcote Parkinson My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Extending R.E. Syntax
Unfortunately for you two (Amos and Shachar), Shlomi Fish beat you by showing where the ideas I proposed are already implemented. The goal of my talking before showing any code was accomplished - it was shown that my proposal is redundant, before I got to spend any time putting together an implementation. The best code is the code that does not need to be written because the proposed functionality is already implemented. --- Omer On Tue, 2015-07-21 at 20:10 +1000, Amos Shapira wrote: The sages of Linux has a saying Talk is cheap, show me the code. https://en.wikiquote.org/wiki/Linus_Torvalds#2000-04 On 21 July 2015 at 15:22, Omer Zak w...@zak.co.il wrote: The ancient sages of Israel have a saying סוף מעשה - במחשבה תחילה, meaning that the end of a project is as planned in the beginning. In our case it means some discussion and feedback about proposed features and their use cases, before one plunges into implementing them. On Tue, 2015-07-21 at 06:38 +0300, Shachar Shemesh wrote: On 20/07/15 21:46, Omer Zak wrote: Instead of, it would have been better to Good job! Where can I download your patch? Shachar -- More proof the End of the World has started. Just saw this online: I think it's beginning! Ten minutes ago there was a group of people waiting at the bus stop outside my house. Now, they're all gone! My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Extending R.E. Syntax (was: Re: Eliminating binary from a text file)
Instead of creating a separate bgrep, it would have been better to be able to extend the syntax of regular expressions (in egrep, Perl and other platforms) to allow specification of binary strings having arbitrary length by means of an hex string. This would come instead of making it very cumbersome to specify strings longer than one character (\xnn or \u or equivalent - see also: http://www.regular-expressions.info/unicode.html). And if we are at it, it would have been nice to add to all R.E. engines hooks to allow private extensions of R.E. syntax, in order to allow people to concisely express special parsing requirements. --- Omer On Mon, 2015-07-20 at 21:24 +0300, Shachar Shemesh wrote: On 20/07/15 11:56, Orna Agmon Ben-Yehuda wrote: Hello everyone, I often have damaged text files (due to a lovely storage system). The files are of different formats, although I can usually assume they contain spaces. The files are structured as lines. Every once in a while, the lovely destruction (ahmstorage) system inserts binary garbage to the file. I wish to fix the files by removing the cancer without leaving any leftovers. That is, I want to lose partial lines. I tried using grep with all sorts of keys, but it did not do the trick. strings catches too little - it leaves partial lines. Is there an elegant way to do the trick line-wise? Thanks Orna http://debugmo.de/2009/04/bgrep-a-binary-grep/ -- What happens if one mixes together evolution with time travel to the past? See: http://www.zak.co.il/a/stuff/opinions/eng/evol_tm.html My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Extending R.E. Syntax
The ancient sages of Israel have a saying סוף מעשה - במחשבה תחילה, meaning that the end of a project is as planned in the beginning. In our case it means some discussion and feedback about proposed features and their use cases, before one plunges into implementing them. On Tue, 2015-07-21 at 06:38 +0300, Shachar Shemesh wrote: On 20/07/15 21:46, Omer Zak wrote: Instead of, it would have been better to Good job! Where can I download your patch? Shachar -- There is no IGLU Cabal because My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Accessibility in August Penguin 2015
This message is for anyone who is contemplating participation in the upcoming August Penguin 2015, but has a disability which causes him to need special provisions to fully attend the event. We plan to have, as in previous years, a notetaker who will transcribe lectures in one track for the deaf and hard of hearing. If you need a different accessibility provision (such as a listening device for the hard of hearing, an escort for the blind, etc.), please contact me ASAP with information about your disability and what accessibility provision do you need - even if you are not sure you'll attend the event. Thanks, --- Omer Zak (Accessibility Coordinator for the event) -- In civilized societies, captions are as important in movies as soundtracks, professional photography and expert editing. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
In http://httpredir.debian.org/debian, do we use jessie-backports or jessie/backports?
When using the Debian apt system for updating packages, and when using http://httpredir.debian.org/debian, do we use jessie-backports or jessie/backports Similarly - jessie-updates or jessie/updates? The reason for my question: When updating in aptitude, I sometimes got errors for some of the above. Yet a Google search in Debian documentation did not give me a clear-cut answer. --- Omer -- Feedback from one of the visitors to my http://www.zak.co.il/deaf-info/old/ Web site: I found nothing helpful at this site so go to hell. Fuckers My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
[octave3.0-info vs. dpkg] Dirty package uninstall in Debian - how to do it?
In Linux (Debian Jessie which is currently Debian Testing), I encountered the following bug from hell. I have installed the package octave3.0-info (1:3.0.1-6lenny3) which conflicts with the new version of dpkg (1.17.25) which is part of Debian Jessie. The current dpkg version that I have is 1.17.24, and there is a problem with octave3.0-info which prevents the current dpkg from uninstalling it. Hence, a deadlock which prevents me from upgrading to the new dpkg version (I reported the bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782714). Is there any expert who can advise me how to work around the deadlock and allow me to install the new dpkg? Thanks, --- Omer -- cal 09 1752 My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
[FIXED] Re: [octave3.0-info vs. dpkg] Dirty package uninstall in Debian - how to do it?
Hello Lior, Thanks for the pointer. The culprit was the install-info --remove command in the octave3.0-info.prerm script. This command appears also in other *.prerm scripts, but in the other scripts, it was commented out and had an absolute path as the filename. The path started with /usr/info, a directory which does not exist in my system. I commented out the install-info --remove command and re-ran aptitude. This time, octave3.0-info was removed and dpkg was upgraded. --- Omer On Fri, 2015-04-17 at 10:26 +0300, Lior Okman wrote: Hi, This is a dirty hack, but in the worst case, you can edit the octave3.0-info pre-removal script (it's in /var/lib/dpkg/info ) and have either debug that script or simply return 0 from it. If you do this, make sure to manually do what that script would have done. Once you edited that script, you will be able to uninstall octave3.0-info as usual (dpkg etc.). Regards, Lior On Fri, Apr 17, 2015 at 10:14 AM, Omer Zak w...@zak.co.il wrote: In Linux (Debian Jessie which is currently Debian Testing), I encountered the following bug from hell. I have installed the package octave3.0-info (1:3.0.1-6lenny3) which conflicts with the new version of dpkg (1.17.25) which is part of Debian Jessie. The current dpkg version that I have is 1.17.24, and there is a problem with octave3.0-info which prevents the current dpkg from uninstalling it. Hence, a deadlock which prevents me from upgrading to the new dpkg version (I reported the bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782714). Is there any expert who can advise me how to work around the deadlock and allow me to install the new dpkg? -- What happens if one mixes together evolution with time travel to the past? See: http://www.zak.co.il/a/stuff/opinions/eng/evol_tm.html My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: [OFFTOPIC] Time varying FSMs
Of course, anything more complicated than a non-programmable calculator can be considered to be a Turing machine (sometimes, with bounded memory capacity). However, it would be as useful as saying that every computer program is a function transforming an input (such as a series of events in a GUI based program) into an output (such as a series of screen behaviors). Therefore, as software developers, we use other concepts, which help us to accomplish more. I would like to propose another point of view. Call it another series of concepts, which may be more helpful than the concepts of a Turing machine or a time-varying FSM. Let's consider not a big time-varying FSM but time-varying cellular automata. Perhaps they won't vary their states and transition rules. But they would vary their interconnections. Those interconnections would be as complicated and entangled, topology-wise, as those of physical neurons. It would be interesting to figure out interesting rules by which such cellular automata would form new connections, break off old connections, spawn new units, etc. --- Omer On Fri, 2015-01-30 at 10:51 +0200, Oleg Goldshmidt wrote: Shachar Shemesh shac...@shemesh.biz writes: On 29/01/15 15:37, Ori Idan wrote: Didn't you just describe a Turing machine? Turing machine is finite and has certain number of states with defined transitions. I think what Omer meant here was more of a dynamic Turing machine. Since a Turing machine has an infinite amount of memory, and since that memory can be used in order to decide on which transitions to perform, I disagree with your statement that there is a difference. I think you are both right. A Turing machine has a finite and static table of states and transitions, having infinite memory does not make the number of allowed states infinite (cf. my negligent slip in a previous post). After all, each new state that Omer's FSM (I'm not sure how you can call it a Finite state machine, when you do not bound the number of states it has, hence the quotes) Finite != Constant, at least not in my mind. I have not checked whether the definition of FSM includes a constant number of states. In any case, it's semantics, let's call it a D(ynamic)SM. must be describable given a combination of the initial states and the input. This is, precisely, how a Turing machine works. And here you may be right. The must be describable bit requires a proof, but the proof may be simple, given that input is arbitrary (as far as I can see) and may be infinite. I am with you, so I am willing to give it some more thought. How about modelling something evolving? Assume you can model me, in sufficient detail, as a state machine. Intuitively[*], I am a bit more complex and have a richer state set than an amoeba. It may be theoretically possible to model the evolution from an amoeba all the way to a primate based on a static set of elementary particles and their states, and infinite memory (rings a bell?). That model might not be practical, exactly for this last reason. In my mind it's a question of modelling and representation. We all know how to create abstractions, modularize, etc. So if we have a module that is, for all intents and purposes, an FSM, can we create an event (and events can carry data, and programs are data, and metaprograms doubly so) that will deliver a metaprogram that will be executed as a part of the reactor and will add another state and some new transitions to the FSM? After that, our module will have new capabilities (it will have learnt something new, if you will). Can this be described as a larger system that includes both the FSM in the previous paragraph and stuff external to it (including our metaprogram that the FSM knew nothng about until it arrived)? Probably. And that larger system may be a regular FSM with a very large state set / transition table. However, it may be so large that it will be impractical (will probably become unmaintanable even earlier - that's why we modularize, eh?). And all the new states/transitions might not be known at compile time. In conclusion, it well may be that any system that include things that can be modelled as our imaginary DSMs can be theoretically represented as a Turing Machine. An implementation of such a Turing Machine may be not practical, however, and therein lies a possible motivation for exploring DSMs as a more practical approach. [*] Intuitively here means that a negation of the statement will require a proof... -- No actual electrons, animals or children were harmed by writing this E-mail message. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at
[OFFTOPIC] Time varying FSMs
After a brief Google search: Does anyone know about any research, theory or practice of time-varying finite state machines? I mean FSMs which might grow a new state, remove a state, add/subtract transitions by means of meta-rules. Given the research demonstrating the plasticity of the brain, such FSMs could be nice models of neurons and neuron networks. --- Omer -- We will only have peace with the Arabs when they love their children more than they hate us. Golda Meir (Israeli Prime Minister between 1969-1974) My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Copying kernel stack in a generic way
I think that any serious approach would include code for identifying the OS and OS version in question, and using this information to find the kernel stack. Any generalized heuristic would risk missing pathological OS configurations and new versions. On the other hand, reliance upon OS identification would at least enable the user to call Support when he runs your code on an OS not identified as a supported OS. --- Omer On Sun, 2014-12-21 at 11:08 +0200, Elazar Leibovich wrote: Thanks, On Sun, Dec 21, 2014 at 9:27 AM, Muli Ben-Yehuda mu...@mulix.org wrote: On Fri, Dec 19, 2014 at 02:19:07PM +, Elazar Leibovich wrote: I know where the stack ends, but how can I know where it begins? What assumptions can you make? Can you run kernel code in the VM (e.g., by cloning and restarting it)? Can you assume it's running Linux and/or Windows? Can you assume the kernel was compiled with frame pointers? Or is it a completely black box VM and you can't make any assumptions about what's running inside? This is a very practical question. Yes, I can run a forth-based OS, which isn't even using C-like stack. But I need to solve a problem for most of the user, and I want to support any reasonable OS. So Windows and Linux is a must, freeBSD/Solaris is nice-to-have, and anything else is probably optional. I want to assume anything which would be reasonably portable across popular OSes. For example, you asked about frame pointers, assuming you meant I can follow ebps back, until I get invalid ebp address, assuming this is the head of the stack. I'm not sure if it's reasonable to assume most kernel would be compiled with frame pointers, so I'm not sure how valid would this heuristic be. I can run code in the guest context, and actually to fetch the stack I'll probably run code that would copy it from the host context, but I couldn't think of a way to fetch the stack, that wouldn't be too implementation-specific. By the way, some OS's have separate interrupt stacks, so you may be on an interrupt stack or on a regular stack. Good point, but I think the heuristic should catch it as well. -- If verbal consent is not obtained in triplicate, it is a date rape. Asking permission constitutes harassment. My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.htmlDelay is the deadliest form of denial.C. Northcote Parkinson My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
How to sort a file by pure ASCII order?
I encountered a counterintuitive behavior of 'sort' in modern Linux releases. I checked the sorting behavior of sort, as installed in Debian Jessie and Ubuntu 14.04 LTS. Turns out that the default behavior of sort (with locale=en_US.UTF-8) is not to sort by ASCII order, but as if letters and digits are more important to sort order than punctuation marks. Attached please find a sort-test.txt file and the output of sort sort-test.txt (as the file actual.txt). To show how would the output look like using pure ASCII sort, I sorted sort-test.txt using python-sort.py (attached). and got the result reproduced in correct.txt (attached). The problem is then what options would get GNU sort to sort like python-sort.py? Can anyone shed a light on the matter? --- Omer -- No actual electrons, animals or children were harmed by writing this E-mail message. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html a b c d C B z-a z-c z-B z/d z/f z/E zy-a zy/A zy/b zy-B a b B c C d z-a z-B z-c z/d z/E z/f zy-a zy/A zy/b zy-B import sys data = [line for line in sys.stdin] data.sort() for line in data: sys.stdout.write(line) B C a b c d z-B z-a z-c z/E z/d z/f zy-B zy-a zy/A zy/b ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
[SOLVED] Re: How to sort a file by pure ASCII order?
Thanks, Jonathan, 'LC_ALL=C sort' did the trick. Later I went back to 'man sort' and found there the warning to pay attention to locale when running sort. I missed the warning before... On Sun, 2014-09-14 at 17:15 +0300, Jonathan Ben Avraham wrote: LC_ALL=C ? On Sun, 14 Sep 2014, Omer Zak wrote: Date: Sun, 14 Sep 2014 16:59:32 +0300 From: Omer Zak w...@zak.co.il To: linux-il linux-il@cs.huji.ac.il Subject: How to sort a file by pure ASCII order? I encountered a counterintuitive behavior of 'sort' in modern Linux releases. I checked the sorting behavior of sort, as installed in Debian Jessie and Ubuntu 14.04 LTS. Turns out that the default behavior of sort (with locale=en_US.UTF-8) is not to sort by ASCII order, but as if letters and digits are more important to sort order than punctuation marks. Attached please find a sort-test.txt file and the output of sort sort-test.txt (as the file actual.txt). To show how would the output look like using pure ASCII sort, I sorted sort-test.txt using python-sort.py (attached). and got the result reproduced in correct.txt (attached). The problem is then what options would get GNU sort to sort like python-sort.py? Can anyone shed a light on the matter? -- Palestinians did not firmly and vocally and strongly denounce the Hannover attack (http://www.huffingtonpost.com/2010/06/24/german-youths-attack-jewi_n_623922.html) but rather supported the attack, even though it is yet another proof why Jews need their own country in which they can live safely. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Who is leaking memory in my Linux Jessie/KDE4 installation?
I have a 8GB PC which runs Linux Debian Jessie with KDE 4.4. My problem is to find out who is occupying almost 4GB memory some time after rebooting, even when nothing heavy is running. The heaviest applications that I run are: - A VirtualBox virtual machine occupying 3GB memory - Google Chrome browser (version 37.0.2062.94, 64-bit) - Evolution 3.12.2. However, even when they are closed, a lot memory is still reported to be in use. My question is: besides top, what tools can be used to find who is using all this memory? The next question, of course, is how to get rid of those memory hogs without destabilizing the system. --- Omer -- More proof the End of the World has started. Just saw this online: I think it's beginning! Ten minutes ago there was a group of people waiting at the bus stop outside my house. Now, they're all gone! My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Who is leaking memory in my Linux Jessie/KDE4 installation?
Hello Shimi and Oleg, Thanks for helping me clarify what I mean by memory leak in this context. I routinely monitor memory usage by means of gnome-system-monitor, and it appears to display memory consumption by watching the used -/+ buffers/cache number. As the time since last reboot lengthens, the above memory usage number creeps upwards. I cannot get it back to the value it had shortly after reboot by closing all heavy applications. This is why I am referring to it as memory leak. This kind of memory usage concerns me, because when more than 90% of memory is being used, the system slows down. It is not because swap memory is used (swap usage remains 0% at all times) but apparently because there is not enough free memory to buffer/cache the entire working set of frequently-used files. When the system slows down, I reboot it and few more days pass before memory usage (-/+ buffers/cache) again nears 90%. So I am interested in finding who is hogging memory at expense of the buffer/cache memory. Furthermore, I'd like to find out who is hogging more and more memory as time passes on. --- Omer On Fri, 2014-08-29 at 20:14 +0300, Oleg Goldshmidt wrote: Omer Zak w...@zak.co.il writes: I have a 8GB PC which runs Linux Debian Jessie with KDE 4.4. My problem is to find out who is occupying almost 4GB memory some time after rebooting, even when nothing heavy is running. What is your question? The subject mentions leaking, while the body of your post seems to indicate (I am guessing a bit) that what bothers you is that most of your memory is reported as used rather than as free or available. If an application really leaks memory you should normally be able to observe it by running top or similar and seeing, say, RES increasing with time. If your problem is too much memory is reported as used then you should know that most of memory is used by something. This does not mean it is not available. The classic case is memory that is - or was - used for buffers or cache. However, even when they are closed, a lot memory is still reported to be in use. Operating systems do not free memory until someone requests it - again, your buffers and cached stuff are primary examples, as explained above. If you look at the Mem line of your top(1) or free(1) it will *always* report most of your memory as used. Here is my free(1) output on an old laptop with 4G of RAM: $ free total used free sharedbuffers cached Mem: 39416643522680 418984 0 2186362208160 -/+ buffers/cache:10958842845780 Swap: 6029308 1138725915436 How much memory is used? About 1GB, actually, with ~3GB available. See the 2nd line, which takes into account that whatever is listed as buffers+cache are available for applications if/when they request it. Check your free(1), if you see anything suspicious, post it. My question is: besides top, what tools can be used to find who is using all this memory? Find out the PIDs of the processes you suspect (make top sort by RES by typing Fq in top?) and do egrep ^Vm /proc/pid/status for each - it will give you a lot of detailed info. If you suspect a leak repeat a few times while the suspect process is running (and doing something). Relevant details have been discussed here before (guilty). Check http://www.mail-archive.com/linux-il@cs.huji.ac.il/msg31797.html http://mailman.cs.huji.ac.il/pipermail/linux-il/2011-December/008322.html - you will either find that useful or it will help you sleep (well). The next question, of course, is how to get rid of those memory hogs without destabilizing the system. First, find out if there is a problem, and what the problem is. -- Your liberty to swing your fist ends just where my nose begins. Your freedom of expression ends where my freedom of expression begins. Your freedom of religion ends where my rights for equality and accessibility begin. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Printing UTF-8 in C
You may want to review the following StackOverflow item: http://stackoverflow.com/questions/4607413/c-library-to-convert-unicode-code-points-to-utf8 One answer describes how to do it yourself. Another answer uses the iconv library. On Sun, 2014-01-12 at 21:29 +0200, Ori Idan wrote: On Sun, Jan 12, 2014 at 9:26 PM, Dov Grobgeld dov.grobg...@gmail.com wrote: The most unixy way is to treat everything as binary UTF-8 and then forget about encodings. The following program works just fine: #include stdio.h int main() { printf(Hello שלום!\n); } Compile with: cc -o hello hello.c ./hello Hello שלום! (Though שלום is inversed in the terminal). That works, but I need one character such as 'א' to be printed and to be able to print 'ב' as 'א' + 1 Does someone have any idea how to do it? -- cal 09 1752 My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Does anyone use MATE (Gnome 2 fork)?
After reading Ilan Shavit's blog article about his disappointment from Gnome 3 (http://ilsh.info/archives/3084), I found about the Gnome 2 fork MATE (http://mate-desktop.org/). Before installing MATE on my Debian Wheezy system, I would like to know other people's experience with it. Thanks, --- Omer -- We will only have peace with the Arabs when they love their children more than they hate us. Golda Meir (Israeli Prime Minister between 1969-1974) My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: replace string foo to bar AND bar to foo in the same file
Some context is missing - is it an one-shot job to be carried manually, or do you plan to run it automatically from a script? In principle, you first do: egrep thirdstring *.txt to make that the string 'thirdstring' does not exist anywhere. A script would need a way to select another 'thirdstring' if the original one is already in use. Then you perform three sed's: sed -i 's/foo/thirdstring/g' *.txt sed -i 's/bar/foo/g' *.txt sed -k 's/thirdstring/bar/g' *.txt DISCLAIMER: I did not actually run the above code. --- Omer On Wed, 2013-09-25 at 14:24 +0300, vordoo wrote: Hi, I know how to: sed -i 's/foo/bar/g' *.txt But how do I: replace string foo to bar AND bar to foo in the same file?? -- I grew up in Chicago, learned to vote, then moved to Florida in time for the 2000 election. In both places I was told I did an excellent job, as did my father, grandfather, and in 2000, my great-great grandfather, who cast 277 votes. S. Litt My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
[Fwd: [SUA 36-1] Updated tzdata version]
Forwarded Message From: Adam D. Barratt a...@adam-barratt.org.uk Reply-to: debian-rele...@lists.debian.org To: debian-stable-annou...@lists.debian.org Subject: [SUA 36-1] Updated tzdata version Date: Tue, 10 Sep 2013 20:04:39 +0100 --- Debian Stable Updates Announcement SUA 36-1 http://www.debian.org debian-rele...@lists.debian.org Clint Adams September 10th, 2013 --- Package : tzdata Version : 2013d-0wheezy1 Importance : medium Upstream published version 2013d. Changes since 2013c-0wheezy1 currently in Wheezy are adjustments to the DST rules of Morocco and Israel. The changes for Israel take effect in October; the other changes are already in effect. Upgrade Instructions You can get the updated packages by adding the stable-updates archive for Wheezy to your /etc/apt/sources.list: deb http://ftp.debian.org/debian wheezy-updates main deb-src http://ftp.debian.org/debian wheezy-updates main You can also use any of the Debian archive mirrors. See 'http://www.debian.org/mirrors/list' for the full list of mirrors. For further information about stable-updates, please refer to http://lists.debian.org/debian-devel-announce/2011/03/msg00010.html If you encounter any issues, please don't hesitate to get in touch with the Debian Release Team at 'debian-rele...@lists.debian.org' ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Debian Oldstable and Ubuntu 12.04 (Re: Winter clock issues in linux)
I checked the timezone in two Linux machines. One of them is Debian Squeeze (which is now OldStable), and the other is Ubuntu 12.04 LTS (12.04.3 LTS, Precise Pangolin - running in a virtual machine). I found to my horror that the timezone definitions in them are rather out of date: $ zdump -v Asia/Jerusalem |grep 2013 Asia/Jerusalem Thu Mar 28 23:59:59 2013 UTC = Fri Mar 29 01:59:59 2013 IST isdst=0 gmtoff=7200 Asia/Jerusalem Fri Mar 29 00:00:00 2013 UTC = Fri Mar 29 03:00:00 2013 IDT isdst=1 gmtoff=10800 Asia/Jerusalem Sat Sep 7 22:59:59 2013 UTC = Sun Sep 8 01:59:59 2013 IDT isdst=1 gmtoff=10800 Asia/Jerusalem Sat Sep 7 23:00:00 2013 UTC = Sun Sep 8 01:00:00 2013 IST isdst=0 gmtoff=7200 Does anyone have the magic spell how to update the timezones to 2013d for those machines? I plan to upgrade the Debian machine to Debian Wheezy in few days, after an important milestone in my project. I do not have plans to upgrade the Ubuntu virtual machine. --- Omer On Sat, 2013-09-07 at 21:34 +0300, Shlomo Solomon wrote: I just checked my Mageia 3 and found that the files are from 2013c. [solomon@shlomo1 ~]$ /usr/sbin/zdump -v Asia/Jerusalem |grep 2013 Asia/Jerusalem Thu Mar 28 23:59:59 2013 UTC = Fri Mar 29 01:59:59 2013 IST isdst=0 Asia/Jerusalem Fri Mar 29 00:00:00 2013 UTC = Fri Mar 29 03:00:00 2013 IDT isdst=1 Asia/Jerusalem Sat Oct 5 22:59:59 2013 UTC = Sun Oct 6 01:59:59 2013 IDT isdst=1 Asia/Jerusalem Sat Oct 5 23:00:00 2013 UTC = Sun Oct 6 01:00:00 2013 IST isdst=0 I then updated to 2013d from Cauldron (I wonder why no production version of 2013d). Now it looks OK. [solomon@shlomo1 ~]$ /usr/sbin/zdump -v Asia/Jerusalem |grep 2013 Asia/Jerusalem Thu Mar 28 23:59:59 2013 UTC = Fri Mar 29 01:59:59 2013 IST isdst=0 Asia/Jerusalem Fri Mar 29 00:00:00 2013 UTC = Fri Mar 29 03:00:00 2013 IDT isdst=1 Asia/Jerusalem Sat Oct 26 22:59:59 2013 UTC = Sun Oct 27 01:59:59 2013 IDT isdst=1 Asia/Jerusalem Sat Oct 26 23:00:00 2013 UTC = Sun Oct 27 01:00:00 2013 IST isdst=0 On Sat, 7 Sep 2013 21:24:19 +0300 Amichay P. K. am1chay@gmail.com wrote: tnx, my machine is ok :) -- MCSE - acronym for Minesweeper Consultant Solitaire Expert. (Unknown) My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Recommendations for an all-in-one printer/fax/scanner?
I would say that today it's anything but HP - unless things changed for the better during the last two or so years. I am an happy user of the Brother MFC-490W printer-FAX-scanner-copier. --- Omer On Sun, 2013-08-18 at 10:29 +0300, ronys wrote: Greetings, My trusty HP all-in-one has finally gone to the great bit-bucket in the sky after one of the scanner lid hinges broke, and I'm looking for a replacement. This is for home use: Color printing is required by family members. Other than that, I'd like network connectivity (pref. via Ethernet, not WiFi), and of course Linux-friendliness. Back in the day, the consensus was anything but Lexmark. Has this changed? -- One does not make peace with enemies. One makes peace with former enemies. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
OOPS, I meant MFC-490CW (Re: Recommendations for an all-in-one printer/fax/scanner?)
On Sun, 2013-08-18 at 10:41 +0300, Omer Zak wrote: I would say that today it's anything but HP - unless things changed for the better during the last two or so years. I am an happy user of the Brother MFC-490W printer-FAX-scanner-copier. OOPS, I meant Brother MFC-490CW. -- I am the Cochlear Corporation of the Borg. All resistance is futile. Deaf Culture is irrelevant. YOU SHALL BE IMPLANTED. My own blog is at http://www.zak.co.il/tddpirate/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il