Re: models.CalculatedField feature

2017-11-15 Thread Shai Berger
On Thursday 16 November 2017 07:21:38 Josh Smeaton wrote: > > I don't agree with reimplementing lookups/transforms/funcs to produce the > python version of a SQL concept. It's a leaky abstraction. Instead, I'd > prefer the model author provides their python calculation: > > is_adult =

[issue31946] mailbox.MH.add loses status info from other formats

2017-11-04 Thread Shai Berger
New submission from Shai Berger <s...@platonix.com>: In mailbox.py in the stdlib, the functions MH.add and MH.__setitem__ take a message object and dump it to a file in the MH folder, which is good and well. However, they only call self._dump_sequences() if the message was a

Re: Failing to Run AutodetectorTests Using runtest.py (25253)

2017-10-13 Thread Shai Berger
I can see the problem as well, and I can see it in 2.0 and 1.11 too. Please open a new bug on the testing framework. On Monday 09 October 2017 06:50:15 Shun Yu wrote: > When I try to run the whole test suite it works fine, it's just that when I > try to run this specific one it's failing on me.

Re: Ticket #28609 - Making REQUEST_URI available in runserver

2017-10-07 Thread Shai Berger
Hi Jay, First, I'd like to say that your post was very nicely done. You did not miss any conventions as far as I could see. I believe the only reason you got no responses so far is that the issue is relatively fringe, and your message was relatively long. For the subject matter, though, it

Re: about ticket 28588- has_perm hide non-existent permissions

2017-09-28 Thread Shai Berger
Can we define a new API on the permission backend, "verify_permission_exists()" or some such, and just call it if settings.DEBUG and it is provided? That doesn't seem very complex to me, and doesn't necessarily imply a huge performance hit (even in DEBUG). On Thursday 28 September 2017

[Python-il] Fwd: New security-annou...@python.org mailing list

2017-09-23 Thread Shai Berger
Thought some of you might be interested --- Begin Message --- I’m happy to announce the availability of a new mailing list, with the mission of providing security announcements to the Python community from the Python Security Response Team (PSRT): security-annou...@python.org You can sign up

Re: Database "execute hooks" for instrumentation

2017-09-15 Thread Shai Berger
On Friday 15 September 2017 11:35:49 Shai Berger wrote: > On Friday 15 September 2017 11:09:58 Anssi Kääriäinen wrote: > > > > def simple_execute_hook(execute): > > # One-time configuration and initialization. > > > > def execute_hook(sql, params, m

Re: Database "execute hooks" for instrumentation

2017-09-15 Thread Shai Berger
On Friday 15 September 2017 11:09:58 Anssi Kääriäinen wrote: > Would it make sense to use the same technique used for HTTP > request/response middleware? That is, the hook would look a bit like this: > > def simple_execute_hook(execute): > # One-time configuration and initialization. >

Re: Database "execute hooks" for instrumentation

2017-09-14 Thread Shai Berger
ould love this, > it currently monkey patches connection.ops.last_executed_query to listen to > all the queries going on. > > On 7 April 2017 at 16:10, Shai Berger <s...@platonix.com> wrote: > > On Friday 07 April 2017 17:47:51 Carl Meyer wrote: > > > Hi Shai, > > &g

Re: לקראת האסיפה: דרושים מועמדים

2017-09-12 Thread Shai Berger
ש > אבל לא ירצו לחכות שנה... > > יהודה > > -- > *Yehuda Deutsch | IT Developer* > > 2017-09-11 20:51 GMT+03:00 Shai Berger <s...@platonix.com>: > > הי יהודה, > > > > On Sunday 10 September 2017 09:53:45 Yehuda Deutsch

Re: לקראת האסיפה: דרושים מועמדים

2017-09-11 Thread Shai Berger
הי יהודה, On Sunday 10 September 2017 09:53:45 Yehuda Deutsch wrote: > אני מציע להעביר את המסמכים של האסיפה לרשם בהקדם, את זה בוודאי צריך לעשות, > לאחר קבלת אישור שינוי התקנון להודיע על כינוס אסיפה כללית שלא מן המניין ביום > של מפגש פיתוח הקרוב בו יוכלו חברים נוספים להציע מועמדות. > ייתכן שאגיש

Re: Having a MongoDB connector for Django

2017-09-10 Thread Shai Berger
I would like to add to this discussion just the clarification that, when we say Django relies on transactions, we don't mean that it is impossible to write a database backend which doesn't implement them -- but that Django assumes transactional behavior to protect data integrity. It can work

לקראת האסיפה: דרושים מועמדים

2017-09-05 Thread Shai Berger
ערב טוב כולם, כפי שכולכם ודאי זוכרים, בעוד יומיים וחצי יש לנו אסיפה כללית, ובה אנחנו בין השאר נבחר ועד וועדת ביקורת. אחד הסעיפים על סדר היום אפילו מדבר על הגדלה של הועד, ובתור מי שהציע אותו, אני תיכף אסביר. אבל הסעיף הזה חסר ערך בלי מועמדים למוסדות -- והאמת שגם סתם בחירות קצת קשה לקיים כך.

Re: Custom Join Conditions

2017-09-02 Thread Shai Berger
I think that giving this funcionality names that follow the patterns of select_related() or prefetch_related() is bad, because although it is very close to them in subdomains (dealing with relations), its functionality is much closer to annotate(). In particular, alias is better than to_attr

Re: udisks2 upgrade brakes plasma

2017-08-30 Thread Shai Berger
On Wednesday 30 August 2017 11:53:30 Martin Steigerwald wrote: > > And even if the bug is already mentioned by apt-listbugs, a warning here > does not really hurt, I think. Its not that this list has an overwhelming > amount of traffic on it. > FWIW, I've been using Debian for more than 10

Re: תקנון העמותה - RFC

2017-08-28 Thread Shai Berger
On Monday 28 August 2017 08:17:22 Yehuda Deutsch wrote: > 1. אני מקבל את ההערה לגבי הפרדה, אציע את שתי ההצעות, כאשר אם הצעות תוכניות > יעברו בהצבעה אמשוך את ההצעה הטכנית ואגיש מחדש באסיפה אחרת, לאחר שהתקנון > יאושא על ידי הרשם. זה נשמע לי מצוין. > 2. לגבי הצטרפות בעת הרישום, אמנם לרישום יש

Re: תקנון העמותה - RFC

2017-08-27 Thread Shai Berger
On Monday 28 August 2017 02:15:49 Omer Zak wrote: > On Mon, 2017-08-28 at 01:51 +0300, Shai Berger wrote: > > אם עושים שינויים כאלה, אני חושב שחייבים להפריד הפרדה חדה ביניהם לבין כל > > שינוי תוכני. > > אני מסכים שצריך להפריד בין הארגון-מחדש והשינוי התוכני, כדי להקל על

Re: תקנון העמותה - RFC

2017-08-27 Thread Shai Berger
שלום יהודה וכולם, אני רוצה להעיר ולהגיב על ההצעות האלה. אני גם רוצה להזכיר שהודעה הכוללת סדר יום לאסיפה צריכה לצאת עד שלישי בצהריים (10 ימים לפני תאריך האספה), ולכן, כל מי שיש לו משהו להגיד, עכשיו זו הדקה ה־90. On Sunday 20 August 2017 23:57:32 Yehuda Deutsch wrote: > בהמשך להודעת הועד על

Re: Fwd: Invitation: ארדואינו: צעדים ראשונים

2017-08-22 Thread Shai Berger
זה ביום הראשון של אוגוסט פינגווין, אבל בשעות הערב, כך שמי שהכנס לא מספיק לו יכול ללכת. On Tuesday 22 August 2017 21:09:05 Shay Gover wrote: > -- Forwarded message -- > From: Tel Aviv Makers (TAMI) > Date: 2017-08-22 20:44 GMT+03:00 > Subject: Invitation:

Re: Automatic prefetching in querysets

2017-08-21 Thread Shai Berger
On Monday 21 August 2017 18:44:35 Tobias McNulty wrote: > On Sat, Aug 19, 2017 at 1:10 PM, Luke Plant wrote: > > This could work something like the way that ForeignKey `on_delete` works > > - you have options that are enumerated as constants, but in reality they > > are

Re: Automatic prefetching in querysets

2017-08-18 Thread Shai Berger
On Friday 18 August 2017 09:08:11 Anssi Kääriäinen wrote: > Maybe we should just add the queryset method. This is the smallest atomic > task that can be done. Even if there's only the queryset method available, > it's possible to enable prefetches per model by using a Manager. > I disagree on

Re: Automatic prefetching in querysets

2017-08-16 Thread Shai Berger
First of all, I think making the auto-prefetch feature available in some form is a great idea. As an opt-in, I would have made use of it on several occasions, and cut days of optimization work to minutes. It's true that this wouldn't achieve the best possible optimization in many cases, but it

אסיפה כללית באוגוסט פינגווין

2017-08-16 Thread Shai Berger
ערב טוב לחברי וידידי המקור ולמתעניינים והמתעניינות בעמותה, כפי שאולי שמעתם, אנחנו מתכננים לכנס אסיפה כללית בסוף אוגוסט פינגווין. באסיפה זו אנו מתכוונים לעשות את כל הדברים המעניינים באמת באסיפה -- לאחר ש„הפרטים הטכניים” (אישור דו״חות) טופלו באסיפה שהיתה במאי. האסיפה הזו תדון בשינויי תקנון,

Re: Admin list view counting

2017-08-08 Thread Shai Berger
On Wednesday 09 August 2017 00:40:30 Josh Smeaton wrote: > We use the explain analyze method at work, but I don't think it's an > appropriate thing to include in core. > Agreed. > I'm not so sure about providing count estimates in core, but I don't fully > grok how the `estimate_above` would

Re: Admin list view counting

2017-08-07 Thread Shai Berger
On PG we can and should do much better -- there is a way to get a very fast, though not accurate, count of records in a table: https://wiki.postgresql.org/wiki/Count_estimate I think we should expose an API along the lines of queryset.table_count(estimate_above=2000) which

Re: should nonexistent template filter arguments resolve to string_if_invalid rather than raise VariableDoesNotExist?

2017-06-24 Thread Shai Berger
On Friday 23 June 2017 19:01:21 allejjandr...@gmail.com wrote: > IMHO I think it's more consistent with the definition of certain filters > make the system somehow "lazy" and only evaluate filter variables only when > are used. > Like everything else, it's a tradeoff: Making conditional filters

Re: שימוש ברישיון MIT בגרסת FREE ושימוש בקוד סגור בגרסת PRO - מותר?

2017-06-10 Thread Shai Berger
שלום גיל, יש שתי נקודות לגבי השאלה שלך: א. אתה מדבר על להפיץ תוכנה שאת כולה אתה כתבת בעצמך. מה שכתבת בעצמך הוא שלך, ואתה יכול לעשות בו ככל העולה על רוחך. בפרט, אתה יכול להציע אותו לציבור פעם כקוד פתוח תחת רשיון MIT, ופעם כקוד סגור בלי שום התייחסות לקוד פתוח. בפרט, אחד המודלים לעשיית כסף מקוד

Re: should nonexistent template filter arguments resolve to string_if_invalid rather than raise VariableDoesNotExist?

2017-06-03 Thread Shai Berger
On Friday 02 June 2017 18:38:47 Vlastimil Zíma wrote: > > Shai: Values are sometimes turned into an empty string in case of > UnicodeDecodeError, see > https://github.com/django/django/blob/master/django/template/base.py#L994-L > 998 > That code is within a render() method -- a place where the

Re: should nonexistent template filter arguments resolve to string_if_invalid rather than raise VariableDoesNotExist?

2017-06-02 Thread Shai Berger
I favor raising an exception in this case, because values in this context are not coerced to strings (unlike the case in {{ }} references). IMO, and in order to protect the writers of all 3rd-party filters, the only way to solve this without raising an exception is to resolve the whole filter

Re: Integrate dj-database-url into Django

2017-05-29 Thread Shai Berger
If I understand things correctly, registration of new url-schemas to enable something like dj-database-url to support 3rd parties should be a trivial matter; just add an entry to some dictionary, with the schema as key, and the dotted-path of the backend as value. IMO, scanning INSTALLED_APPS,

אספה כללית עוד כשעה ורבע

2017-05-25 Thread Shai Berger
שלום כולם, כמו שכולכם יודעים, אבל בטח חלקכם שכח, יש אסיפה כללית של המקור בשעה 20:00 היום במשרדי מטיפיק, מגדל משה אביב, ז׳בוטינסקי 7 רמת גן, קומה 51. אני מתנצל על זה ששכחתי לתזכר קצת יותר מוקדם, מי שרוצה לשמוע על הצרות שלי מוזמן, באסיפה או שלא באסיפה. תודה, שי.

Re: assertRaises vs. assertRaisesMessage

2017-05-25 Thread Shai Berger
Hi, I apologize for re-raising a thread that's mostly done and decided, but I just ran into [1] where it says: """ Note Exception messages are not part of the Python API. Their contents may change from one version of Python to the next without warning and should not be relied on by code

Re: Pre-DEP: Meta.without_primary_key (related to CompositeFields)

2017-05-23 Thread Shai Berger
Hi, Thank you for making this suggestion. It is my guess that allowing pk-less models will place quite a burden on many parts of Django, which assume a PK exists. There may also be other solutions to the problem you raise -- e.g. changing the legacy table to add a PK, perhaps while providing

דיווח על אי־אספה

2017-05-21 Thread Shai Berger
שלום לכולם, אמ;לק: האספה שקיימנו ביום חמישי לא היתה חוקית, והאספה נדחית ליום חמישי הזה, שוב ב־20:00, באותו מקום. היה דיון מעניין והוא מפורט בהמשך. אנחנו הולכים להוציא מהעמותה רשימת חברים שגם היא מפורטת בהמשך. לאמ;כק: למרות כוונותינו הטובות, הכוונות הטובות של כל מי שבא ביום חמישי, ומה שחשבנו

Re: הודעה על אסיפה כללית של עמותת המקור - 18.5.2017

2017-05-18 Thread Shai Berger
בכניסה למגדל משה אביב יבקשו מכם להפקיד תעודה מזהה. אנא ודאו שיש לכם אחת אתכם. On Thursday 18 May 2017 15:31:21 Tomer Brisker wrote: > תזכורת: > האסיפה הכללית תתכנס הערב בשעה שמונה במשרדי מטיפיק, בקומה 51 של מגדל משה > אביב, דרך ז'בוטינסקי 7, רמת גן. > אם אין ביכולתכם להשתתף, אנא יפו את כוחו של

Re: Easier way to populate test databases for parallel tests (patch in github)

2017-04-29 Thread Shai Berger
On Saturday 29 April 2017 03:50:16 Tim Graham wrote: > I would expect test data population to happen using migrations rather than > in the test runner. Can you elaborate on your use case and say if that > method would be unsuitable? > Apparently, many people think that migrations are the wrong

Re: can_introspect_default feature

2017-04-25 Thread Shai Berger
Hi Maxi, On Tuesday 25 April 2017 20:21:47 Maximiliano Robaina wrote: > Hi, > > Sorry but a need to return to this > > El jueves, 20 de octubre de 2016, 9:53:23 (UTC-3), Tim Graham escribió: > > The 'default' model field option is used in Python rather than in the > > database. SchemaEditor

PyCon Israel 2017

2017-04-23 Thread Shai Berger
Hi all, Many of you attended, and some of you even presented, at PyCon Israel 2016. According to the feedback we got, it was very successful. So we are back: As many of you have probably heard already, PyCon Israel 2017 is going to be at Wohl auditorium (Bar-Ilan University), June 12-13

Re: libreoffice calc- למי לשלוח דווח באג הקשור לפורמט תאריך?

2017-04-23 Thread Shai Berger
מארה"ב). > > 2017-04-23 12:21 GMT+03:00 Shai Berger <s...@platonix.com>: > > כן, זו שאלה אם זה בכלל באג -- פורמט תצוגה זה לא פורמט קלט. > > > > מצד שני, ניסיתי להגדיר את הלוקאל כבריטי כדי לשנות את פורמט הקלט, וגם זה > > לא כל > > כך עבד לי; מצד שלישי, זו הית

Re: libreoffice calc- למי לשלוח דווח באג הקשור לפורמט תאריך?

2017-04-23 Thread Shai Berger
כן, זו שאלה אם זה בכלל באג -- פורמט תצוגה זה לא פורמט קלט. מצד שני, ניסיתי להגדיר את הלוקאל כבריטי כדי לשנות את פורמט הקלט, וגם זה לא כל כך עבד לי; מצד שלישי, זו היתה גרסה ישנה מאד (‎4.x) אז יכול להיות שזה נפתר מאז. On Sunday 23 April 2017 12:17:09 Guy Dafny wrote: > אין לי משתמש בbugzilla

Re: [Feature Request] Let manage.py ignore migration dependencies

2017-04-13 Thread Shai Berger
Hi, On Thursday 13 April 2017 18:18:57 Brock Hallenbeck wrote: > > Due to these duplicate tables, my process of setting up an app database is > as follows: > > 1.Create database on server / point django at it / set up router > 2. migrate --database=app_db > 3. Delete all the duplicate auth_*

Re: [Python-il] Where should Python 2/Py3 compatibility shims be placed?

2017-04-08 Thread Shai Berger
Hi Shlomi, On Saturday 08 April 2017 21:22:27 Shlomi Fish wrote: > > if sys.version_info > (3,): > long = int > xrange = range > > This is a py2/py3 compatibility shim. > > My question is whether I should put it only at the main program's file or > also at each and every *.py module

Re: Database "execute hooks" for instrumentation

2017-04-07 Thread Shai Berger
On Friday 07 April 2017 17:47:51 Carl Meyer wrote: > Hi Shai, > > On 04/07/2017 06:02 AM, Shai Berger wrote: > > This is an idea that came up during the djangocon-europe conference: Add > > the ability to install general instrumentation hooks around the database > >

Re: Making __repr__ safe by default

2017-04-07 Thread Shai Berger
On Friday 07 April 2017 15:35:55 Adam Johnson wrote: > Patryk, when you say 'revisit', do you have links to the original > discussion/tickets? He was replying to a thread from 2013. You should have the link at the bottom of every message. > > I also agree that __repr__ shouldn't be able to

Database "execute hooks" for instrumentation

2017-04-07 Thread Shai Berger
Hello, This is an idea that came up during the djangocon-europe conference: Add the ability to install general instrumentation hooks around the database "execute" and "executemany" calls. Such hooks would allow all sorts of interesting features. For one, they could replace the current

Re: assertRaises vs. assertRaisesMessage

2017-04-07 Thread Shai Berger
Hi Tim, > Without testing for a message, there's also a possibility that the > exception you think you're testing isn't the one the test is actually > raising. If you need to verify the error message for that reason, then the exception is probably not specific enough. Testing the message, in

assertRaises vs. assertRaisesMessage

2017-04-07 Thread Shai Berger
Hello all, A recent PR[1] seeks to replace most of the assertRaises() calls in the test- suite with assertRaisesMessage(). The argument for it is that it then becomes easier to find the test for some error handling, by grepping the test for the message text. Also, in some cases, an existing

An app to make migrations faster on Django 1.8

2017-04-06 Thread Shai Berger
Hi all, As you may be aware, Django 1.8 migrations have some performance issues, especially if you have a lot of apps with a lot of migrations. Django 1.9 improved on this somewhat, and AFAICT Django 1.10 solved the problem, so that the time taken is really mostly the time taken by database

Google open-source Central

2017-03-28 Thread Shai Berger
Projects, policies, procedures, could be useful for adopting in other companies or just as a reference. https://opensource.google.com/ ___ Discussions mailing list Discussions@hamakor.org.il http://hamakor.org.il/cgi-bin/mailman/listinfo/discussions

Re: Database connection retry

2017-03-05 Thread Shai Berger
On Sunday 05 March 2017 12:32:34 James Pic wrote: > > However, perhaps runserver could just exit if checks don't pass, which > makes sense I think, allowing the optional use of a shell loop. I'd prefer > that, what do you think is better, exit or retry ? ... then you can do that yourself already

Re: Template handling of undefined variables

2017-02-27 Thread Shai Berger
On Sunday 26 February 2017 11:16:54 Florian Apolloner wrote: > As much as I'd like variables to raise an error if they cannot resolve, I > am with Karen here -- the backwards compatibility considerations should > take priority here. At least we should have a possibility in the templates > to check

Re: טיוטה של נייר העמדה בנושא היחס לקוד פתוח בפרוייקטי מו" פ הנתמכים ע" רשות החדשנות

2017-02-26 Thread Shai Berger
הי, הערות עריכה בתוך המסמך. לא הרבה. שינוי שעשיתי, אבל לא מופיע במעקב השינויים: בחלק מהערות השוליים שיניתי את הכיווניות מ־RTL ל־LTR. הדבר נחוץ מאד כאשר ההערה היא URL הכולל בתוכו מלים בעברית, ובמקרים בהם עשיתי זאת, דאגתי לשנות כיווניות עבור כל הערות השוליים שבאותו עמוד. במקרים שבהם יש URL

Re: מועדים קבועים למפגשי פיתוח ( היה Re: סקר תאריך למפגש הפיתוח הבא)

2017-02-23 Thread Shai Berger
On Thursday 23 February 2017 11:59:23 Omer Zak wrote: > גם אני בעד מועדים קבועים, רק שעדיף להוסיף עוד יום בשבוע למי שלא יכול > בימי ד+ה. נגיד יום ב' השני בכל חודש? יש סיפור ישן על מנכ״ל תעשיה אווירית מלפני כמה עשרות שנים, שהגיב על ההצעה לעבור לחמישה ימי עבודה בשבוע במלים „לא צריך לקפוץ מעל

Re: Is it possible to Atomically check limit and Increment/decrement a counter field in multiple tables ?

2017-02-14 Thread Shai Berger
Hi Sarvi, This list is intended for discussions about developing Django itself; your question is about writing code using Django, and belongs to the django-users. That said, please look up database transactions and database locks, and the relevant Django APIs -- transaction.atomic() and

Re: חומר דרוש לנייר העמדה עבור הרשות הלאומית לחדשנות טכנולוגית

2017-02-14 Thread Shai Berger
On Tuesday 14 February 2017 20:00:13 Omer Zak wrote: > בשעה טובה התחלתי לכתוב את נייר העמדה, תוך שימוש בחומר שעלה מהדיונים עד > כה. > > אחת מהשאלות שצריך לענות עליהן היא: > האם יש נתונים ומידע לגבי מקרים של צמיחה כלכלית של חברות כתוצאה > מהעמדת קוד פתוח לטובת הכלל או של תוצר אחר

Re: standardised approach for packaged apps to define default settings

2017-02-01 Thread Shai Berger
Hi Anthony, Two points: 1) 1.11 is feature frozen, nothing like a new subframework is likely to be accepted to it. 2) The ticket is actually a dupe of an ancient ticket[1]. In that ticket, you can see my own take of the subject, of several years ago. In the years since then, I haven't felt

Re: Replacing the contrib.sites Site model with a setting?

2017-01-30 Thread Shai Berger
On Sunday 29 January 2017 22:54:12 Proxy wrote: > > Actually django.contrib.settings needs to be SWAPPABLE. Then it will > receive +100. (Oooohh... Someone already proposed this. Even with code > sample -> https://code.djangoproject.com/ticket/22779. 3 years ago and > ticket still open... How

Re: Django 1.11 indexes

2017-01-29 Thread Shai Berger
On Sunday 29 January 2017 11:41:39 Adam Johnson wrote: > On 28 January 2017 at 21:45, Vitaliy Kucherivaiy > wrote: > > > > Do I understand this correctly - now there are 2 ways to make a single > > field indexed in database: > > - FieldClass(db_index=True) > > -

Re-open ticket 25192

2017-01-28 Thread Shai Berger
Hello, Ticket #25192[1] is about a problem that only affects Python 2 users: If you write a migration with a `RunPython` operation, and you use the documented `RunPython.noop` as the reverse action (or forward action, but that is much less likely...), then all looks well, until you try to

[Pkg-xfce-devel] Bug#683662: lightdm does not remember which session was selected

2017-01-23 Thread Shai Berger
Package: lightdm Version: 1.18.3-1 Followup-For: Bug #683662 Dear Maintainer, What Adrian said. -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (990, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores) Locale:

Bug#683662: lightdm does not remember which session was selected

2017-01-23 Thread Shai Berger
Package: lightdm Version: 1.18.3-1 Followup-For: Bug #683662 Dear Maintainer, What Adrian said. -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (990, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores) Locale:

Re: Kmail attachment and drag and drop

2017-01-23 Thread Shai Berger
On Monday 23 January 2017 10:05:13 Valerio Passini wrote: > Hi, > > Maybe I'm wrong but I recall that some versions ago kmail was able to put > attachments in a message simply by drag'n'dropping a file from dolphin. Now > doing this simple action gives as a result a line in the message leading

Re: תקן מקלדת חדש si1452-2

2017-01-21 Thread Shai Berger
On Sunday 22 January 2017 01:29:48 Omer Zak wrote: > > יש תווים לטיניים בפרישות הסטנדרטיות של מקלדות קיריליות וערביות. > https://www.terena.org/activities/multiling/ml-mua/test/kbd-all.html העמוד הזה מדבר על מקלדות פיסיות, על מה מקובל לחרוט על מקשים. בקובץ ההגדרות הרוסי

Re: Removing and renaming Django's Python 2 related helpers

2017-01-21 Thread Shai Berger
On Saturday 21 January 2017 22:55:51 Tim Graham wrote: > > I'm advocating to remove the undocumented things in Django 3.0 (released > Dec. 2019) or later without a deprecation. By that time, I hope third-party > apps won't support Python 2 either and so part of adding Django 3.0 > compatibility

Re: תקן מקלדת חדש si1452-2

2017-01-19 Thread Shai Berger
קן הקיים. הוא מאד נוח לי. תודה > רבה. > > 2017-01-20 0:46 GMT+02:00 Shai Berger <s...@platonix.com>: > > שלום לכולם ולכולן, > > > > כפי שחלקכם כבר שמעו, מכון התקנים מציע תקן חדש לפרישת המקלדת העברית. התקן > > החדש, > > שנקרא si1452-2 (כדי להבדילו מהקיים,

[Pkg-xfce-devel] Bug#851693: xfce4-clipman: xfce4-popup-clipman doesn't open with a hotkey

2017-01-17 Thread Shai Berger
Package: xfce4-clipman Version: 2:1.4.1-1 Severity: normal Dear Maintainer, xfce4-popup-clipman doesn't open with a hotkey. I have a shortcut assigned in keyboard settings. When i run xfce4-popup-clipman from the terminal or via the app finder, it opens as expected, but not with my hotkey. This

Bug#851693: xfce4-clipman: xfce4-popup-clipman doesn't open with a hotkey

2017-01-17 Thread Shai Berger
Package: xfce4-clipman Version: 2:1.4.1-1 Severity: normal Dear Maintainer, xfce4-popup-clipman doesn't open with a hotkey. I have a shortcut assigned in keyboard settings. When i run xfce4-popup-clipman from the terminal or via the app finder, it opens as expected, but not with my hotkey. This

Re: Provide a simpler way to default runserver IP/port to 0.0.0.0:8000

2017-01-16 Thread Shai Berger
I am -1 on adding a setting to handle a use-case that can be handled by users with a 6-line file: On Monday 28 November 2016 16:05:39 Shai Berger wrote: > > It seems all you need in the overridden runserver is: > > from (...)runserver import Command as BaseCommand >

Bug#767354: hplip: looks like a permissions issue

2017-01-05 Thread Shai Berger
Package: hplip Version: 3.16.11+repack0-1 Followup-For: Bug #767354 Dear Maintainer, I saw exactly the same error as the original poster. I was able to resolve it by $ sudo chgrp lp ~/.hplip $ chmod g+w ~/.hplip The issue turns out to have been reported upstream:

Bug#767354: hplip: looks like a permissions issue

2017-01-05 Thread Shai Berger
Package: hplip Version: 3.16.11+repack0-1 Followup-For: Bug #767354 Dear Maintainer, I saw exactly the same error as the original poster. I was able to resolve it by $ sudo chgrp lp ~/.hplip $ chmod g+w ~/.hplip The issue turns out to have been reported upstream:

Re: is support for old cx_Oracle versions needed?

2016-12-22 Thread Shai Berger
On Thursday 22 December 2016 00:07:05 Josh Smeaton wrote: > I don't think licensing allows OS maintainers to package up cx_Oracle and > its dependencies, so I'd like to hear from others if this is a thing. > I checked and cx_Oracle does not seem to be packaged in Debian (at least not in its free

Re: Considering removing support for ("iLmsu") regex groups in URLpatterns. Do you use them?

2016-12-20 Thread Shai Berger
I think part of Sjoerd's point was that current implementation also means that including the flag in a child affects parents -- but only with regard to said child. So, if you have url('a/', include("b")) and in b: url('b/$', blah), url('c/$', bleh, flags=re.I), then the valid urls include

Re: תקנון העמותה

2016-12-19 Thread Shai Berger
יע בתקנון העמותה זה תקין > > אם לא צריך להוסיף את זה > > זה שרשם העמותות עדכן את עצמו ואישר בכללים כי ניתן לקיים אספה/הצבעה בדרך > אלקטרונית זה לא מחיל על הכל באופן גורף וצריך להכניס את זה לתקנון > > דוד > > On 19/12/2016 22:04, Shai Berger wrote: > > סעיף 19 ב

תקנון העמותה

2016-12-18 Thread Shai Berger
שלום לכולם, בעקבות האירועים שמנעו מאתנו את כינוס האסיפה בשבוע שעבר[1], הלכתי לברר בדיוק מה הוא התקנון שבתוקף. ניסיתי לעשות זאת באמצעות התייעצות עם קלינגר לפי תיק העמותה (אוסף המסמכים הציבוריים של העמותה, שאפשר לקבל מרשם העמותות תמורת תשלום סמלי), ולא הגענו למסקנות מוחלטות; אז היום התקשרתי לרשם

האסיפה שלא היתה -- אסיפה ביום רביעי הבא 21.12.2016 בשעה 19:00

2016-12-15 Thread Shai Berger
שלום לכולם, אמ;לק -- לא התקיימה אספה בגלל בעיות משפטיות ונוכחות לא מספיקה; האסיפה נדחתה לאותו מקום ושעה בשבוע הבא; רוב הנוכחים הפקידו ייפויי כח כדי עם הצבעותיהם כדי שייספרו בשבוע הבא גם אם לא יבואו. התקיימו דיונים לא פורמליים. בעקבות בקשות שעלו בקבוצת הטלגרם של התוכנה החופשית, בדקנו את

Re: תאריך עברי בשורת הפקודה

2016-12-15 Thread Shai Berger
On Thursday 15 December 2016 11:21:34 Tzafrir Cohen wrote: > On Wed, Dec 14, 2016 at 10:55:58PM +0200, Shay Gover wrote: > > היי, > > > > מצאתי את זה: > > https://github.com/hebcal/hebcal > > > > די בטוח שזה יהיה שימושי לחלקכם. > > לפחות בדביאן, hcal הוא חלק מהחבילה hdate. ואלו hebcal קיימת

Re: נושאים לדיון באסיפה

2016-12-13 Thread Shai Berger
שלום יהודה, הנושאים פורטו כבר קודם, והם אישור הדו״חות של הועד, ובחירות למוסדות חדשים (ועד וועדת ביקורת). עכשיו כבר מאוחר להעלות נושאים חדשים, באופן קצת פחות פורמלי, נדבר קצת על הפעילות מאז האסיפה האחרונה (רובה ב־2016 ולכן לא מכוסה כלל בדו״חות). ועדת הביקורת מתכוננת להגיש את הדו״ח שלה לאסיפה,

שינוי מקום ( אותו בנין, חדר אחר) לאסיפה הכללית של העמותה

2016-12-08 Thread Shai Berger
שלום לכולם, האסיפה הכללית של העמותה שנקבעה ליום רביעי הקרוב תתקיים, כפי שהודענו קודם, בבניין פרניק שבמכללת שנקר, אבל היא תתקיים בחדר 247 ולא בחדר 204 כפי שפורסם. בברכה, שי. ___ Discussions mailing list Discussions@hamakor.org.il

Re: [ANN] I won't run for another cadence in the comptrollers committee

2016-12-08 Thread Shai Berger
On Thursday 08 December 2016 14:25:39 Shai Berger wrote: ועדת הביקורת היא דרך מצויינת ללמוד כיצד מתנהלת העמותה ולסייע לניהולה מבלי לקחת התחייבות כבדה. אני, למשל, הייתי בועדת הביקורת לפני שהייתי בועד, וזה סייע לי מאד להכנס לועד בצורה חלקה, כאשר ברור לי למה אני נכנס. > וידוא שהחשבונות בסדר

Re: האקתון קוד פתוח

2016-12-03 Thread Shai Berger
ההנחה שלי היתה, באמת, שהכוונה לסדנאות בסגנון Don't be afraid to commit[1]‎. יום שהמטרה שלו היא לא כל כך השגת תוצרים, אלא יותר הכנסת מפתחים ומפתחות לעולם של השתתפות בפרוייקטי קוד פתוח. אני חושב שבשביל תוצרים, יום אחד זה כמעט תמיד פחות מדי. On Saturday 03 December 2016 21:34:46 Tomer Brisker

Bug#830523: xserver-xorg-input-libinput: segfaults upon plugging back a USB keyboard when session is inactive

2016-12-03 Thread Shai Berger
forwarded 830523 https://bugs.freedesktop.org/show_bug.cgi?id=97117 retitle 830523 tags 830523 + upstream fixed-upstream thanks It seems this bug has been reported and even recently fixed upstream. The Freedesktop.org bug title is about bluetooth, but it appears to share the underlying cause

Bug#830523: xserver-xorg-input-libinput: segfaults upon plugging back a USB keyboard when session is inactive

2016-12-03 Thread Shai Berger
forwarded 830523 https://bugs.freedesktop.org/show_bug.cgi?id=97117 retitle 830523 tags 830523 + upstream fixed-upstream thanks It seems this bug has been reported and even recently fixed upstream. The Freedesktop.org bug title is about bluetooth, but it appears to share the underlying cause

Re: two-phase commit / distributed transaction

2016-12-01 Thread Shai Berger
On Thursday 01 December 2016 13:52:41 Aymeric Augustin wrote: > > I’m proposing a separate context manager because I’m worried about > increasing again the complexity of transaction.atomic. There will be a > significant amount of duplication between the two implementations, though. > I believe

[issue27286] str object got multiple values for keyword argument

2016-12-01 Thread Shai Berger
Shai Berger added the comment: Following the last comment, and just as clarification for anyone else running into this and thinking like me: The bumped code is not included in v3.5.2, and v3.5.3 hasn't been released yet. Should it be undone? No, because the bump which was encountered by John

Re: איזה עמותה אנחנו רוצים להיות

2016-11-30 Thread Shai Berger
<אותנו כשמחפשים ליצור קשר עם הקהילה. > > <העמותה במידה זאת או אחרת עשתה ועושה את כל הדברים הללו. > > > 2016-11-30 12:15 GMT+02:00 Shai Berger <s...@platonix.com>: > <ליאור קיסוס הזכיר כאן פוסט שהוא שלח בטלגרם. בעקבות הפוסט הזה > <התחיל ק

Re: משוב חיובי ומיקוד פעילות הפיתוח

2016-11-30 Thread Shai Berger
rm בעברית (אמנם מבוסס node) שמומן בעקיפין על ידי לקוח שבחר לשחר > > אותו כקוד פתוח. > > יש צפי להמשך פיתוח גם במהלך 2017 > > נראה לי מעולה לשתף פעולה וזה ירתום אותנו אוטומטית לתהליך. > > בברכה > > ליאור > > > > 2016-11-30 11:37 GMT+02:00 Shai Berger <s...@

איזה עמותה אנחנו רוצים להיות

2016-11-30 Thread Shai Berger
ליאור קיסוס הזכיר כאן פוסט שהוא שלח בטלגרם. בעקבות הפוסט הזה התחיל קצת דיון שם על תפקיד העמותה, ואני חושב שראוי להביא אותו לכאן, כי זה הפורום הנכון, ואני חושב שבשביל דיון מהסוג הזה, מייל הוא גם המדיום הנכון. הכיוונים שעלו: * "הארוע הוכיח (לי לפחות) למה העמותה האוריינטציה הנוכחית. כספקית שירות

Re: Window expressions, #26608

2016-11-29 Thread Shai Berger
On Wednesday 30 November 2016 03:10:23 Michael Manfre wrote: > > On 29 November 2016 at 22:04, Josh Smeaton > > wrote: > > > Mads, there's nothing that currently handles a list of expressions, and > > certainly nothing specific to OrderBy. Your proposed syntax is

Fwd: [ILTechTalks] Mind-CET hackathon

2016-11-29 Thread Shai Berger
למי שבקיץ הצליח להגיע לבאר־שבע, מוצע עכשיו צעד נוסף! http://www.mindcet.org/%D7%94%D7%90%D7%A7%D7%AA%D7%95%D7%9F-%D7%97%D7%99%D7%A0%D7%95%D7%9B%D7%99-2016/ --- Begin Message --- Hey guys If you wish to come and participate in a real educational hackathon. MindCET the government startups

Re: Provide a simpler way to default runserver IP/port to 0.0.0.0:8000

2016-11-28 Thread Shai Berger
On Monday 28 November 2016 15:48:21 emor...@mozilla.com wrote: > This was filed as https://code.djangoproject.com/ticket/27537 , but moving > here for discussion. > It seems all you need in the overridden runserver is: from (...)runserver import Command as BaseCommand class

כרטיסים ל־DrupalCamp לחברי וידידי העמותה

2016-11-28 Thread Shai Berger
שלום לכולם, כפי שחלקכם ודאי יודעים, יש מחר כנס DrupalCamp בבסקולה בת״א. אם לא ידעתם, תסתכלו באתר http://2016.drupal.org.il/‎ -- יש קבוצה די מרשימה של מרצים מעניינים, כולל מחו״ל. התאפשר למארגנים להציע מספר מצומצם של כרטיסים לחברי וידידי העמותה, בחינם. אם אתם מעוניינים, אנא פנו אלי

Bug#830523: Easy workaround found

2016-11-27 Thread Shai Berger
Hello, I was able to find an easy workaround for this problem: 0) Make sure xserver-xorg-input-evdev (or some other input driver to handle the keyboard and mouse) is installed. If your system is not brand-new, they are probably installed anyway 1) Disable the configuration that causes

Bug#830523: Easy workaround found

2016-11-27 Thread Shai Berger
Hello, I was able to find an easy workaround for this problem: 0) Make sure xserver-xorg-input-evdev (or some other input driver to handle the keyboard and mouse) is installed. If your system is not brand-new, they are probably installed anyway 1) Disable the configuration that causes

Re: [JOB] OwnBackup recruiting a DevOps Engineer

2016-11-25 Thread Shai Berger
מאחר וכבר העליתם את זה -- מיקרוסופט ההסטורית הרוויחה את היחס הזה ביושר, אבל שווה לציין שמיקרוסופט המודרנית מנסה להשתנות, ומשקיעה הרבה מאוד בקוד פתוח --גם זה שלא דווקא מתממשק למוצרים הקנייניים שלהם. הם פתחו את dot-net די לגמרי, אני שומע המון דברים טובים על visual studio code, ה„ארגון” שלהם

הזמנה לאסיפה כללית של עמותת המקור לשנת 2016

2016-11-22 Thread Shai Berger
שלום לכולם, (אני מתנצל בפני מי שמקבל הודעה זו פעמיים; אני שולח גם ל־discussions וגם ל־announcements בתקווה שכל מי שאמור לראות את ההודעה הזו, יראה אותה. חברים וידידים בעמותה אמורים גם לקבל הודעות אישיות, בהמשך) חברי העמותה וידידיה מוזמנים לאסיפה כללית שנתית רגילה (ומאוחרת) ביום רביעי, 14 בדצמבר

Re: drop compatibility with Python < 2.7.8?

2016-11-15 Thread Shai Berger
I would too, since the distros tend to patch the older Python versions without updating the version number (2.7.8-12 etc). On Tuesday 15 November 2016 11:01:42 Marc Tamlyn wrote: > I'd be inclined to agree with Claude. > > On 15 November 2016 at 07:20, Claude Paroz wrote: >

Re: RFC: DEP 7 - dependency policy

2016-11-12 Thread Shai Berger
Hi all, I just had a look, and noted, On Saturday 05 November 2016 14:23:43 Jacob Kaplan-Moss wrote: > > DEP 7 proposes a new dependency policy. In a nutshell, the policy is: > Python packaging is good now. Django can have dependancies. > Actually, we have an already accepted DEP 7. It deals

Re: הצעה לשימוש במערכת ניהול חברים

2016-11-08 Thread Shai Berger
אנחנו בהחלט צריכים לשקול אותו. יחד עם זאת, אני נוטה יותר לפתרון מבוסס Django, כי זה עשוי להקל על אינטגרציה עם מערכת mailman 3 (שגם היא מבוססת Django) וכי, הלו, זה אני. וכן, כבר הרבה זמן אני חושב שאנחנו צריכים להקים לנו מערכות ניהול שכאלה. שי On Tuesday 08 November 2016 11:45:06 Lior Kesos

Funding Open Source projects

2016-11-08 Thread Shai Berger
שלום לכולם, ההרצאה הבאה, מכנס "Django under the Hood" בסוף השבוע שעבר, מדברת על דרכים לייצר מערכת שבה קוד פתוח ממומן בצורה אפקטיבית. כבר שנים מדברים על זה, וזו הפעם הראשונה שאני רואה תובנות כאלה. ההרצאה עדיין לא יצאה כוידאו נפרד; https://www.youtube.com/watch?v=kWH3Waigi5Y הוא רצף של כל הרצאות

Membership status updates

2016-11-06 Thread Shai Berger
Hi all, (apologies if you revceive this message twice, I am cross-posting to discussions@ and announcements@ to make it more likely that everyone who should see this message, does) We have just sent membership status updates to all Hamakor Members (but not Friends, more on that below). If you

<    1   2   3   4   5   6   7   8   9   10   >