Re: A funny thing happend to me tonight.

2012-12-30 Thread Dotan Cohen
On Sun, Dec 30, 2012 at 10:51 AM, Geoffrey S. Mendelson  In
xsession-errors I found the problem. Sometime in 12.04's maintenance a
 bug was introduced to Gnome on Intel GMA-950 video cards.

 It was not in the 12.10 release, but was propagated between Wednesday when I
 installed it, and Saturday night when I upgraded it.

 It runs of of space somewhere, the diagnostic message makes it look like
 disk space but it is in the video card itself. Although the bugs filed are
 for Gnome, using KDM and KDE did not fix it.


Please report that bug, Geoff:
https://bugs.launchpad.net/ubuntu/+filebug/?no-redirect


 This, Dotan, is the reason why I said NO ONE can warranty that Linux,
 especially UBUNTU will run on a computer.


I don't see how it is relevant. I didn't ask anyone to sell me a
computer running Linux that will never have any userspace software
issues. I asked a company which sells computer components which
motherboard has components that are currently compatible with
commonly-available Linux distros.

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Re: A funny thing happend to me tonight.

2012-12-30 Thread Dotan Cohen
On Sun, Dec 30, 2012 at 11:51 AM, Geoffrey S. Mendelson
geoffreymendel...@gmail.com wrote:
 Dotan Cohen wrote:


 Please report that bug, Geoff:
 https://bugs.launchpad.net/ubuntu/+filebug/?no-redirect


 It's already been reported. That's how I found out that it existed. I don't
 think I can document it with any useful information except that it worked on
 Wednesday and was dead on Saturday. Since I no longer have that system, I
 restored to a Friday backup, I can't look for anything.


I hope that you at lest clicked the Launchpad.net button for Also
affects me as I do know that Canonical takes that seriously.


 I don't see how it is relevant. I didn't ask anyone to sell me a
 computer running Linux that will never have any userspace software
 issues. I asked a company which sells computer components which
 motherboard has components that are currently compatible with
 commonly-available Linux distros.


 It's relevant IMHO because it goes against conventional wisdom. If you tried
 a live CD, if you did an install on one system, if you looked at the
 Hardware Compatibility Lists, if you just looked up the driver status of
 every bit of hardware on the computer, if you had rolled twelve sided dice
 and accepted anything above 7 on each of them, it would have been ok, but
 failed miserably if you installed them this morning.

 I'm not even sure it is a userspace issue. Before I gave up and went back to
 my working backup, I tried KDE. I got effectively the same results. I may of
 had something misconfigured at that point, but I can't tell anymore.

 I'm not trying to make this a personal attack, and apologize if you were or
 are offended in any way. I seriously do not think it is possible for a
 computer vendor, even the size of Ivory, to warrant that a computer you buy
 will run Linux.

 Ironicaly, I did buy the laptop in question from Ivory, almost 4 years ago
 to the day. In that time it has run Linux, Windows, BSD, occasionaly all at
 the same time.  Although I have had to live with lots of features of
 UBUNTU, until last night it never failed to run.



I'm not offended, Geoff! I actually find your opinion very pragmatic
even if I disagree. Now, if you tell me that my children are ugly and
my dog is disobedient, I will be very much offended indeed!

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


How many times can an internet connection interruption occur and still be considered acceptable?

2013-04-01 Thread Dotan Cohen
I use Bezeq for my infrastructure and Bezeq Beinleumi for my ISP.
Every hour or two my internet connection is disconnected. It will
remain so until I unplug the modem and plug it back in. Connected to
the modem is a D-Link DIR-320 router, which connects my Ubuntu machine
via cable and various other devices (laptop, Nook, Android phone) via
wireless.

Yesterday I called Bezeq Beineumi about the issue, as I've been told
by both companies that when the modem's DSL light is lit that the
problem is with the ISP. The woman who answered (Galit) informed me
that she shows 4 disconnects that day (this was at about 14:00) and
that 4 disconnects in a day is considered valid (תקין). Is this really
considered valid in the industry? Have things really gotten this bad
for consumers?

She furthermore insisted that the problem is not with Bezeq Beinleumi
but rather with Bezeq, despite the DSL lights. We got a Bezeq
technician on the line (Alex) who could not help us diagnose the issue
because there was no Windows machine to connect directly to the modem.
However, he agreed to send a technician here tomorrow. Unfortunately,
I won't be here (my wife will meet the technician) so I suspect that
if this intermittent issue does not appear during that time then
nothing will get fixed.

Is 4 disconnects per half-day really considered acceptable now? Other
than the DSL light, can I diagnose problems myself? How? How can I
diagnose a bad modem on a home Linux machine? If when the internet is
'down', if I can still access the router's web control panel is that a
sign that the router is not to blame? Might the router be to blame,
even though a modem reset resolves the issue and even though I can
still access the router when the internet is down?

Thanks.

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Re: Announcing New Israeli Tech User Groups

2013-04-01 Thread Dotan Cohen
On Mon, Apr 1, 2013 at 7:30 PM, Ori Idan o...@helicontech.co.il wrote:
 I think Shlomi is the best authority for cat

Meow?


--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Re: How many times can an internet connection interruption occur and still be considered acceptable?

2013-04-01 Thread Dotan Cohen
On Mon, Apr 1, 2013 at 10:35 PM, Geoffrey S. Mendelson
geoffreymendel...@gmail.com wrote:
 If your infrastructure was upgraded from an aDSL-2 to vDSL/aDSL-2
 combination units, you need to upgrade your modem. You can tell, by the
 maximum speed BEZEQ can offer you. If it is 15m or less it is aDSL-2, if it
 is more, than the hardware was upgraded.

 The problem is the upgraded hardware does not do aDSL-2 very well, and you
 should upgrade to vDSL.

 BEZEQ does not tell people this when they make the upgrade.


Thank you, this seems to be the issue. I know that Bezeq has recently
installed (within the past year) a connection box ‏ 30 meters from my
building, with all sorts of fiber optic connections inside, buzzing fans and
blinking lights. The guy who installed it showed me around the box while
my dog waited patiently for her walk!

In fact, just last week I got a call from Bezeq offering to upgrade my 5 MiB/sec
connection to something higher that I don't remember. I refused only because
he wanted my billing information and I wasn't willing to give that
information to
someone who called _me_, rather I said that I'll call Bezeq and give that
information. When it turned out that was impossible, I decided that I
was talking
to a phone-phisher and told him that I refuse to give that information
over a call
that I did not initiate.

 While you are at it, you should upgrade your router. It's going to have all
 sorts of problems running out of space for routing tables, and very likely
 does not reset NAT tables when the line drops.


I don't understand why this would be an issue. Why are the routing
tables going to be larger? The router needs store only the routing
tables for the devices that it acts as a default gateway for, i.e. my
LAN and that hasn't changed. Wouldn't NAT tables be discarded anyway
after a short time? How else could two computers on the LAN browse the
same website?

 I have had really good results with a D-Link 6740vn router from BEZQ which
 has an integrated vDSL modem.

 It's nice because you can log into the router and check the speed and
 quality of the DSL connection. You can even run BERT (bit error rate) tests
 on the fly.


I'll ask about that. Thanks.

 Note that almost no one in Israel had an aDSL connection to their central
 office. BEZEQ quietly replaced every line they could, and are still working
 on the rest with fiber optic connections. Each connection is 100mBit and
 gets split at the corner to DSL lines.

 So your actual DSL connection is a most a few hundred meters, and often a
 lot less.

 Geoff.


Thank you!

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Re: How many times can an internet connection interruption occur and still be considered acceptable?

2013-04-01 Thread Dotan Cohen
On Tue, Apr 2, 2013 at 2:38 AM, Guy Gold guy1g...@gmail.com wrote:
 If Dotan connects a laptop to the modem's LAN port, instead of the router,
 and the same issues keep happening, doesn't that clear the router from being
 the culprit ?


Seeing how Bezeq does not have a Linux 'dialer' this is not an option.
I already fought with them on the phone about this.

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Re: How many times can an internet connection interruption occur and still be considered acceptable?

2013-04-01 Thread Dotan Cohen
On Tue, Apr 2, 2013 at 3:06 AM, Steve Litt sl...@troubleshooters.com wrote:
 Yes. However, unless his laptop has a darned complete firewall, he'd
 better reformat it after that test.


What would you recommend? I'm not running an SSH server on the
desktop, so if I shut down my local Apache instance will I be safe?
Note that I am using an up-to-date Linux distro (Kubuntu), not
Windows.

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Re: How many times can an internet connection interruption occur and still be considered acceptable?

2013-04-02 Thread Dotan Cohen
The Bezeq technician just came and went. He found no fault on the
equipment and left without changing anything. He is of the opinion
that the problem is with Bezeq Beinleumi, and he insists that if the
problems continue to contact them. However, he cannot give to me a
paper which describes what he had found, so that I might give that
paper to Bezeq Beinleumi.

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


Re: Cloud Backup

2013-05-16 Thread Dotan Cohen
Nadav, Amazon has a special service made just for this:
http://aws.amazon.com/glacier/pricing/

The trick with Glacier is that the data is stored _offline_. That
means two things:
1) It is actually more failure-redundant than EBS, S3, or rsync.net
2) You get your data about an hour _after_ you request it.

Data transfer in is free and data transfer out has a free tier per
month. Data storage is the absolute cheapest on the internet.

Again I stress, this is the _most_failure_redundant_ service that
exists. It is specifically designed for long-term backup and
archiving.

Furthermore, I am very happy with Amazon's cloud offerings. I have had
very good experience with their support teams.




On Sat, Feb 23, 2013 at 6:15 PM, Nadav Har'El n...@math.technion.ac.il wrote:
 Hi, I'm looking for a cloud backup solution for Linux, where I'll be
 able to use rsync, sftp (and similar utilities) to a remote server
 to back up by files, and when needed, look at individual files (e.g.,
 using sshfs) or restore all my files.

 I am *not* looking for a solution based on special purpose (and usually,
 closed source) utilities or daemons that attempt to decide for me what to
 back up and when - I want to be of full control of this process.

 For the last 3 years, I've been using the services of rsync.net, and
 they're doing exactly what I want. However, the storage price I pay them
 is 40 cents per gigabyte per month, is 4 times that of Amazon's, so I
 think there must be a cheaper solution.

 One thing I've been thinking - wouldn't it be fairly easy to store my
 files on Amazon's S3 or even more simply EBS, and then run rsync server
 on a micro instance on EC2? Sounds like a cheap, convenient backup
 solution for Linux diehards like myself, and I wonder if anyone has
 done this before and then I won't need to code this myself?

 Thanks,
 Nadav.

 --
 Nadav Har'El|  Saturday, Feb 23 2013, 13 Adar 5773
 n...@math.technion.ac.il 
 |-
 Phone +972-523-790466, ICQ 13349191 |Creativity consists of coming up with
 http://nadav.harel.org.il   |many ideas, not just that one great idea.

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



-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Re: Choosing a new bank

2013-06-27 Thread Dotan Cohen
On Sun, Jun 9, 2013 at 7:49 PM, Dov Grobgeld dov.grobg...@gmail.com wrote:
 After getting the reply we only support Windows and Mac one time too many
 from Bank Leumi, when reporting about problems with their internet site, I
 have decided to finally switch banks. (They have annoyed me in other ways as
 well). Do you have any experience with the other banks? Which is the most
 Linux (or rather standards) friendly bank in Israel?


I switched from Discount to Poalim exactly for the same reason. I am
so happy with Poalim branch 702 in Haifa that when I moved to
Beersheba I kept my branch in Haifa.

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Re: Raspberry PI questions

2013-06-27 Thread Dotan Cohen
On Sun, Feb 24, 2013 at 4:33 PM, Geoffrey S. Mendelson
geoffreymendel...@gmail.com wrote:
 Does anyone know of a company selling them here? I'm looking for them with a
 reasonable price, e.g. board, cheap shipping and VAT, as opposed to board
 and expensive shipping from out of the country.

 Second question, which I can't quite find an answer, does the model B have 2
 separate USB ports, or one USB port spilt with an on board hub?

 Thanks in advance,

 Geoff.

Hi Geoff! I just got a Raspberry Pi B as a gift. If you want to play
around, I can set up an account on it and give you shell access. It is
running on my home network.

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Postfix unable to find /etc/postfix/virtual file

2013-07-04 Thread Dotan Cohen
On an Ubuntu Server 12.04 machine, I've set up an email forwarder for
a specific address in /etc/postfix/virtual: exam...@mydomain.com
postfix-t...@dotancohen.com

The address postfix-t...@dotancohen.com works and receives mail. When
I send mail to exam...@mydomain.com I get this in the logs:

warning: hash:/etc/postfix/virtual is unavailable. open database
/etc/postfix/virtual.db: No such file or directory
warning: hash:/etc/postfix/virtual lookup error for exam...@mydomain.com
warning: 705B58190E: virtual_alias_maps map lookup problem for
exam...@mydomain.com  -- deferring delivery

Why might postfix be unable to find the /etc/postfix/virtual file?

$ ls -la
total 96
drwxr-xr-x   3 root root  4096 Jul  4 08:46 .
drwxr-xr-x 102 root root  4096 Jun 24 06:23 ..
-rw-r--r--   1 root root   274 Jun 24 06:23 dynamicmaps.cf
-rw-r--r--   1 root root  1549 Jul  4 08:46 main.cf
-rw-r--r--   1 root root  5531 Jun 24 06:23 master.cf
-rw-r--r--   1 root root 19707 Feb 20 20:03 postfix-files
-rwxr-xr-x   1 root root  8729 Feb 20 20:03 postfix-script
-rwxr-xr-x   1 root root 26498 Feb 20 20:03 post-install
drwxr-xr-x   2 root root  4096 Feb 20 20:03 sasl
-rw-r--r--   1 root root43 Jul  4 08:27 virtual
-rw-r--r--   1 root root   130 Jul  4 08:26 vmailbox

$ cat virtual
exam...@mydomain.com post-t...@dotancohen.com

$ cat main.cf | grep virtual
virtual_mailbox_domains = mydomain.com
virtual_mailbox_base = /var/mail/vhosts
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_minimum_uid = 100
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_alias_domains = fastupfront.com
virtual_alias_maps = hash:/etc/postfix/virtual
# virtual_alias_maps = /etc/postfix/virtual # I tried without the
'hash:' prefix as well.

Note that mydomain.com is anonymized. In fact, the domain name that is
used in the files is a real domain name that does have its A and MX
records pointed to the IP address of this server, and serving webpages
with Apache works. The DNS records were changed last week, so I know
that they have propagated.

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Re: Postfix unable to find /etc/postfix/virtual file

2013-07-04 Thread Dotan Cohen
On Thu, Jul 4, 2013 at 2:16 PM, Amos Shapira amos.shap...@gmail.com wrote:


 http://lmgtfy.com/?q=%2Fetc%2Fpostfix%2Fvirtual.db%3A+No+such+file+or+directoryl=1

 You need to execute postmap /etc/postfix/virtual after editing the file.


Thank you Amos!

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Postfix: Accept some mail to mailbox, and forward some mail.

2013-07-05 Thread Dotan Cohen
Hi all. I need to set up a virtual alias (forwarder) and a virtual
mailbox on the same domain. I'm using Postfix on Ubuntu Server 12.04.
Here is my setup:

$ cat /etc/postfix/main.cf
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

append_dot_mydomain = no
readme_directory = no

# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

myhostname = awsBeta
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = awsBeta, localhost.localdomain, , localhost
relayhost =
mynetworks = 127.0.0.0/8 [:::127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

virtual_mailbox_domains = someDomain.com
virtual_mailbox_base = /var/mail/vhosts
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_minimum_uid = 100
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000

virtual_alias_domains = someDomain.com

$ cat /etc/postfix/virtual
forw...@somedomain.com t...@gmail.com

$ cat /etc/postfix/vmailbox
do...@somedomain.com someDomain.com/dotan

$ sudo postmap virtual
$ sudo postmap vmailbox
$ tree /var/mail/vhosts/
/var/mail/vhosts/
└── someDomain.com
└── dotan

When mail is sent to forw...@somedomain.com it is properly forwarded
to t...@gmail.com. However, when mail is sent to do...@somedomain.com
the sending address receives a mail with this error:
Recipient address rejected: User unknown in virtual alias table

This appears in the log:
warning: do not list domain someDomain.com in BOTH
virtual_alias_domains and virtual_mailbox_domains

Of course, I cannot remove the domain from either
virtual_alias_domains or virtual_mailbox_domains because I need to use
bothe of those features. So how might one set up do...@somedomain.com
as a real mailbox (no unix account though), but forw...@somedomain.com
to forward to t...@gmail.com? I've been trolling Google for answers,
but though I thought that this would be easy, I'm stuck!

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Re: Postfix: Accept some mail to mailbox, and forward some mail.

2013-07-07 Thread Dotan Cohen
Thank you Shachar!

Did you use Dovecot to access the mail? I am having some trouble with
the Dovecot passwords. I am finding this in the logs when I
unsuccessfully try to log in:

Jul 07 08:13:25 auth-worker: Debug:
pam(u...@somedomain.com,212.179.241.14): lookup service=dovecot
Jul 07 08:13:25 auth-worker: Debug:
pam(u...@somedomain.com,212.179.241.14): #1/1 style=1 msg=Password:
Jul 07 08:13:27 auth-worker: Info:
pam(u...@somedomain.com,212.179.241.14): pam_authenticate() failed:
Authentication failure (password mismatch?) (given password: 12345)
Jul 07 08:13:29 auth: Debug: client out: FAIL   2   user=u...@somedomain.com
Jul 07 08:13:29 pop3-login: Info: Disconnected (auth failed, 2
attempts): user=u...@somedomain.com, method=PLAIN,
rip=212.179.241.14, lip=10.138.11.251

This is not the real password, but an example to show that I think
that there is an issue:
$ /usr/bin/doveadm pw -u u...@somedomain.com -s DIGEST-MD5
Enter new password: # Here I have typed 12345
Retype new password: # Here I have typed 12345
{DIGEST-MD5}f4e442b0dec5009eaa8b9b4104923edc
$ printf 12345 | md5sum
827ccb0eea8a706c4c34a16891f84e7b  -
$

Shouldn't that password match the md5sum check? Also, might I have the
file formats wrong?
$ cat passwd
u...@somedomain.com::5000:5000::/var/mail/vhosts/someDomain.com/user
$ cat shadow
u...@somedomain.com:{DIGEST-MD5}f4e442b0dec5009eaa8b9b4104923edc
$

Thanks!

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


Re: Postfix: Accept some mail to mailbox, and forward some mail.

2013-07-07 Thread Dotan Cohen
Note that testing in Telnet fails the password as well, both when
specifying the user without a domain and with a domain:

$ telnet mail.someDomain.com 143
Trying x.x.x.x...
Connected to mail.someDomain.com.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
IDLE AUTH=PLAIN] Dovecot ready.
a login user 12345
a NO [AUTHENTICATIONFAILED] Authentication failed.
e logout
* BYE Logging out
e OK Logout completed.
Connection closed by foreign host.
$ telnet mail.someDomain.com 143
Trying x.x.x.x...
Connected to mail.someDomain.com.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE
IDLE AUTH=PLAIN] Dovecot ready.
a login u...@somedomain.com 12345
a NO [AUTHENTICATIONFAILED] Authentication failed.
* BAD Error in IMAP command received by server.
e logout
* BYE Logging out
e OK Logout completed.
Connection closed by foreign host.
$

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Re: Postfix: Accept some mail to mailbox, and forward some mail.

2013-07-07 Thread Dotan Cohen
On Mon, Jul 8, 2013 at 5:37 AM, Shachar Shemesh shac...@shemesh.biz wrote:
 I do use dovecot, but mine is an LDAP setup, so I suspect that that part of
 the configuration is completely different between our systems.

Right, I just looked again at your main.cf. I thought that you meant
that you use LDAP for the user database. I'll go pour a coffee
retroactively for yesterday.

Thanks! Have a great week!

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Re: Watch out for Bezeq

2013-09-02 Thread Dotan Cohen
On Sun, Sep 1, 2013 at 3:04 PM, Mord Behar mord...@gmail.com wrote:
 Just a general heads up:
 I recently registered on the Bezeq site in order to be able to view my
 receipts and stuff. When I signed up I provided a username and a password.
 Which they then sent me to my email address in plaintext.
 So just a reminder: don't reuse passwords, and use a throw-away password
 for bezeq.
 Have a Shanna Tova!


I have so much to add under the idea Watch out for Bezeq. Too bad
that they only happen to be the least-worst infrastructure in Israel.

Go sign up for Lastpass, my entire office is now using it. I lets you
set up individual passwords for every site, and they are encrypted
locally.


-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Open position: Full time job in Beersheba.

2013-09-30 Thread Dotan Cohen
If anybody here is in the Beersheba area, I would love to talk to you
in person! We have a full time position open for a developer skilled
in any of these technologies:
Python
PHP
Apache Solr
Amazon Web Services (EC2, EBS, RDS)

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Re: Linux friendly NAS or networked drive/raid - perhaps wireless

2013-10-07 Thread Dotan Cohen
Are the drives spinning all the time? If the drives are not accessed
for some time (say, one hour) then I would expect the device to spin
them down.


On Mon, Oct 7, 2013 at 2:20 PM, E.S. Rosenberg esr+linux...@g.jct.ac.il wrote:
 There are plenty of cheap low-power mainboards available...
 Intel Atom boards
 AMD E-series
 ARM stuff (pandaboard, beagleboard, and many more)
 So you can build your own low-power solution that will use in the area
 of 33W (though if you have lot's of disks I really don't see how you
 would get that low a peak usage with more then 2 disks since the avg.
 usage of a disk is about 10W, though that may have improved by now...)

 And yes, RAID 6, 1, 10 or RAIDZ should be what you look at

 Regards,
 Eliyahu - אליהו


 2013/10/7 vordoo vor...@yahoo.com:

 DO NOT USE RAID 5, Go for 1, 6, or 10 :
 http://www.zdnet.com/blog/storage/why-raid-5-stops-working-in-2009/162

 use flickr which offers free storage up to 1TB (you can mark all your
 files private if you want)...
 Marked or not, if you flickr privet it will not be anymore. Which may be OK
 as long as you know.


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


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



-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Re: self mail hosting

2014-06-08 Thread Dotan Cohen
On Sun, Jun 8, 2014 at 8:40 PM, shimi linux...@shimi.net wrote:
  And then, there's The Cloud (TM). http://aws.amazon.com/ses/


This is what I use. I think I pay something like $1 monthly. I'm very
happy with AWS in general.

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Re: terminal emulator

2014-09-05 Thread Dotan Cohen
I can confirm that Konsole works out of the box in Kubuntu 14.04:

$ touch שלום.txt
$ ls
שלום.txt
$ vim שלום.txt
$ cat שלום.txt
שלום, עולם

Note that VIM did have some trouble with the RTL, however.


On Thu, Aug 28, 2014 at 6:23 PM, Yedidyah Bar David
linux...@didi.bardavid.org wrote:
 2014-08-28 18:06 GMT+03:00 Efraim Flashner efraim.flash...@gmail.com:

 tilda shows up left-to-right with hebrew letters, mlterm shows up
 right-to-left with boxes.  All on debian sid.
 https://dl.dropboxusercontent.com/u/7048321/tilda.jpg
 https://dl.dropboxusercontent.com/u/7048321/mlterm.jpg


 I now verified that konsole also shows hebrew right-to-left.
 You should probably configure mlterm (ctrl-rightclick) to use some other
 font.

 I personally use both xterm and mlterm with a very old raster (pcf) font I
 found somewhere a very long time ago, don't remember anymore where, and
 tweaked a bit since. I don't mind sharing it, but any modern vector font
 will probably look better.
 --
 Didi


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




-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Re: Hebrew in markup

2015-04-01 Thread Dotan Cohen
http://dotancohen.com/howto/rtl_right_to_left.html
The LRM and RLM characters do not have to be invisible. I agree that
when I'm editing markup I prefer to see all the control characters.

If your markup interpreter supports HTML entities, then LRM is lrm;
and you can guess what the RLM is. Even more useful is the
Right-To-Left Embedding character which is HTML entity #8235;

There is a table of useful RTL-related HTML entities at the bottom of this page:
http://dotancohen.com/howto/rtl_right_to_left.html


On Wed, Apr 1, 2015 at 11:49 AM, Nadav Har'El n...@math.technion.ac.il wrote:
 On Sat, Mar 07, 2015, Tzafrir Cohen wrote about Hebrew in markup:
 But I could not figure a simple way with any of those to get decent
 control of bidi. Or specifically:

 * Make the whole document RTL
 * Make various paragraphs LTR

 I guess I need to override some styles. With asciidoc I could not find a
 simple way to do that and ended up having to create my own separate
 bidi style. I didn't yet check all the various reSt and markdown
 implementations. Any better alternatives?

 I see the discussion in this thread focused on how to edit such a
 document, but I think there's a deeper issue here - not how to edit
 this document, but how the different markdown displayers and
 converters (the most popular is, of course, githaps) will *display*
 the resulting document.

 15 years ago, I approached the same problem in pure-text documents
 (such as emails) by inventing my own conventions (embodied in the bidiv
 program) which automatically determines each paragraph's direction
 in a natural (I think) way: I decided on a convention that paragraphs
 are separated by a blank line, and a paragraph's direction is the direction
 of its first directioned character.

 It would be wonderful if popular markdown converters would be added
 a similar automatic direction convention, so Hebrew paragraphs would
 just work (and be right-aligned) without any concious changes to the
 text needed. Seems very easy to add this support to any particular
 markdown converter (I'd start with github's...).

 Alternatively, (or additionally,) special markdown conventions could be
 added to control directionality.

 Unicode also has the LRM, RLM characters, but I *don't* recommend
 those - I hate invisible characters in my documents.

 --
 Nadav Har'El| Wednesday, Apr 1 2015, 12 Nisan 5775
 n...@math.technion.ac.il 
 |-
 Phone +972-523-790466, ICQ 13349191 |Linux: Because rebooting is for adding
 http://nadav.harel.org.il   |new hardware.

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



-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

___
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?

2019-06-18 Thread Dotan Cohen
One reason that I like sudo is that root can be disabled for all
intents and purposes. Most random SSH logins were once to the root
account. We hardly ever see that anymore, thanks in no small part to
the deprecation of root in many widespread Linux distros.

On Tue, Jun 18, 2019 at 9:24 AM 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?
>
> --
> Shlomo Solomon
> http://the-solomons.net
> Claws Mail 3.16.0 - Kubuntu 18.04
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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


Re: A mailto link with RTL body

2022-03-02 Thread Dotan Cohen
As Boris mentioned, you need to add the \u200f character to the
beginning of each line. This page will explain how to add that keycode
to your keyboard, I've already done it to a few Debian machines:
https://unix.stackexchange.com/questions/674997/new-keyboard-layout-variant-not-detected-after-reboot

On Fri, Feb 4, 2022 at 10:46 AM Dimid Duchovny  wrote:
>
> Hi,
>
> Is it possible to add some unicode characters so that the body of the email 
> will be displayed right-to-left?
> I've tried the answer here with both Thunderbird and Gmail, and it didn't 
> work.
> https://stackoverflow.com/a/7556801
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

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


Re: Visidata with RTL text

2022-06-16 Thread Dotan Cohen
LRE and PDF are generally only useful at the beginning of text lines.
RLM and LRM are useful in all places in a text line.

I use them often, I've even added them to my keyboard:
https://unix.stackexchange.com/questions/674997/new-keyboard-layout-variant-not-detected-after-reboot

On Mon, 13 Jun 2022 at 11:41, Tzafrir Cohen  wrote:
>
> Hi,
>
> On Mon, Jun 13, 2022 at 09:53:36AM +0300, Shachar Shemesh wrote:
> >
> >     On 09/06/2022 19:10, Dotan Cohen wrote:
> > >   If anybody doesn't yet use Visidata, then give it a look. It is
> > > ostensibly a tool for looking at tabular data, like CSV files, but it
> > > works with so many formats that I find myself using it very often as
> > > it is easier to use than purpose-built tools. I even use it to poke
> > > around the filesystem sometimes.
> > >
> > > https://www.visidata.org/
> > >
> > > Visidata unfortunately places consecutive RTL cells in reverse order.
> > > Here's the bug that I filed:
> > > https://github.com/saulpw/visidata/issues/1392
> > >
> > > It would be great if someone could add something constructive to that
> > > bug report. I personally have many CSV files and other files with
> > > Hebrew and Arabic text. Thanks.
> >
> >
> > If you can find the part of the code that outpus, simply inserting
> > an "LRM" character between cells should, at the very least, greatly
> > improve things.
>
> Isn't that what LRE and PDF are for?
>
> --
> mail / xmpp / matrix: tzaf...@cohens.org.il
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

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


Visidata with RTL text

2022-06-09 Thread Dotan Cohen
If anybody doesn't yet use Visidata, then give it a look. It is
ostensibly a tool for looking at tabular data, like CSV files, but it
works with so many formats that I find myself using it very often as
it is easier to use than purpose-built tools. I even use it to poke
around the filesystem sometimes.

https://www.visidata.org/

Visidata unfortunately places consecutive RTL cells in reverse order.
Here's the bug that I filed:
https://github.com/saulpw/visidata/issues/1392

It would be great if someone could add something constructive to that
bug report. I personally have many CSV files and other files with
Hebrew and Arabic text. Thanks.

Dotan Cohen

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


Re: Are there any implication of using or supporting Debian now that the Project Leader shared a call for BDS on debian.social ?

2024-03-03 Thread Dotan Cohen
Debian, as an organization, has a public image that reflects the sentiments
of the people who make up that organization. Those people have begun
slandering the Jewish state.

Debian is not conscious and can not support or oppose anything. The people
who compose of the organization are conscious, and have declared their
stance.

On Sun, 3 Mar 2024 at 15:20, Tzafrir Cohen  wrote:

> Hi,
>
> On Sat, Mar 02, 2024 at 09:21:37PM +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  ?
>
> Debian does not support (or oppose, or whatever) BDS.
>
> Some Debian people may support (or oppose or whatever).
>
> --
> mail / xmpp / matrix: tzaf...@cohens.org.il
> ___
> Linux-il mailing list -- linux-il@cs.huji.ac.il
> To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
>
___
Linux-il mailing list -- linux-il@cs.huji.ac.il
To unsubscribe send an email to linux-il-le...@cs.huji.ac.il


<    4   5   6   7   8   9