[datameet] LGDIR data quality: block data incorrect?

2024-10-09 Thread Sharad Lele
Folks, I have been browsing the Local Government Director (LGDIR) dataset to check for some issues with our data for MP. I find that there are errors (at least for MP) in the "Block" variable. E.g., in Dindori district, it shows only 1 block (Dindori) when we know there are 7 blocks in this d

Re: Some links to "previous version" seem wrong

2024-08-04 Thread Lele Gaifax
"David G. Johnston" writes: > The point of that sentence is not to provide a simple always-present link > to the prior release notes. It is to warn about special update concerns if > the update is not trivial. I see, thanks for the clarification! Bye, lele. -- nickname: L

Some links to "previous version" seem wrong

2024-08-03 Thread Lele Gaifax
notes, the page related to 15.4[2] says Also, if you are upgrading from a version earlier than 15.1, see Section E.7. Is that correct? I mean, I'd expect it to say "earlier than 15.3, see section E.5"... The same happens on the 15.3 page[3]. Thanks and bye, lele. [1] https://w

[pylons-discuss] Re: pyramid_rpc & jsonrpc on Python 3.12

2024-06-20 Thread Lele Gaifax
dict keys and set items. (Contributed by Will Bradshaw, Furkan Onder, and Raymond Hettinger in gh-101264 [https://github.com/python/cpython/pull/101264]) bye, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di

[datameet] Re: LGD codes = Census 2011 codes?

2024-04-26 Thread Sharad Lele
Btw, the portal he mentioned was the "Gati Shakti" portal (that supposedly uses LGD codes) On Friday, April 26, 2024 at 4:19:15 PM UTC+5:30 Sharad Lele wrote: > Folks, today in a meeting at Ministry of Tribal Affairs, the Addl Secy > said that "the new portal for tracki

[datameet] LGD codes = Census 2011 codes?

2024-04-26 Thread Sharad Lele
Folks, today in a meeting at Ministry of Tribal Affairs, the Addl Secy said that "the new portal for tracking benefits to tribal villages is using LGD codes, and henceforth all other data should be linked to these codes" Now, I presume LGD=local govt directory codes. But when I look at data sha

Re: [datameet] Block Boundary

2024-03-04 Thread Sharad Lele
Arulalan: The .shp file is missing from this GitHub folder that you have shared. On Tuesday, March 5, 2024 at 2:58:57 AM UTC+5:30 Arulalan T wrote: > Hai, > > Please see it here > > https://github.com/India-Meteorological-Department/India-BlockLevel-SubDistricts-Shape-File > > On Tue, 27 Feb 202

[datameet] Re: Some Collections of Indian Data

2023-12-27 Thread Sharad Lele
Amazing work, Sreeram! Many many thanks ! Sharad On Tuesday, December 26, 2023 at 7:52:53 PM UTC+5:30 sreeram kandimalla wrote: > > Indian Administrative Boundaries: > https://github.com/ramSeraph/indian_admin_boundaries > > Indian Roads: > https://github.com/ramSeraph/indian_roads > > Indian C

[datameet] Sorting Devanagari lists correctly in Excel

2023-12-20 Thread Sharad Lele
So if I have a list of village names entered in Devanagari font in an Excel column, and I try to sort that list, it does a 'sort of okay' job, but goofs up in at least one way: it puts अं before अ , so अंबिकापुर comes before अकोला , when in fact it should come afterwards. Has anyone encountered

Re: [datameet] Creating variable names in Devanagari

2023-12-06 Thread Sharad Lele
ports that postGIS does not accept those variables. Any workarounds? Sharad On Tue, 5 Dec 2023, 17:28 Sharad Lele (शरच्चंद्र लेले), < sharad.l...@gmail.com> wrote: > Ok, thanks, Nikhil. Let me see what works at our backend. > > Sharad > > On 05-Dec-23 16:51, Nikhil VJ wrote:

Re: [datameet] Creating variable names in Devanagari

2023-12-04 Thread Sharad Lele
767&signature=9f333ff36f736872> > --- > Ujaval Gandhi > Spatial Thoughts > www.spatialthoughts.com > <https://mailtrack.io/link/43de97ab1302774e567fc413805c61bb36bd8af8?url=http%3A%2F%2Fwww.spatialthoughts.com&userId=8747767&signature=904253fcbc9b4da4> > > > >

Re: [datameet] Creating variable names in Devanagari

2023-12-04 Thread Sharad Lele
] On Monday, December 4, 2023 at 1:57:04 PM UTC+5:30 Sharad Lele wrote: > Thanks, Dilawar. The article was very interesting/useful. But for a > simpleton like me, the question then is: How do I ensure that QGIS3 in > particular is using UTF-8 encoding every time? > > Sharad > >

Re: [datameet] Creating variable names in Devanagari

2023-12-04 Thread Sharad Lele
or web-based tools. > > Long answer: > https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/ > > best, >Dilawar > > > > On Mon, 04 Dec 2023 13:24:2

[datameet] Creating variable names in Devanagari

2023-12-03 Thread Sharad Lele
Hi folks, I am using QGIS and I want to create variable names in Devanagari (for instance जिला instead of District). If I create a new column in the attribute table and enter the column name in Devanagari using Microsoft Indic Language Tool on my computer, it seems to work (जिला is shown as the

Re: psql \du no more showing "member of" column

2023-10-13 Thread Lele Gaifax
Ian Lawrence Barwick writes: > and also noted in the release notes: > > https://www.postgresql.org/docs/16/release-16.html#RELEASE-16-PSQL FWIW, I noticed a small typo in the relevant entry: s/informaion/information/ ciao, lele. -- nickname: Lele Gaifax | Dire che Emacs è "

[sqlalchemy] Re: Trying to find a way to sort a query given the name of one of its columns

2023-06-12 Thread Lele Gaifax
Lele Gaifax writes: > I will study the contains_eager() alternative and try to modernize my > code that still uses that idiom. After reading the different sections (narrative and reference), I wonder if there is a case where the joinedload() has some advantage over contains_eager(), or

[sqlalchemy] Re: Trying to find a way to sort a query given the name of one of its columns

2023-06-11 Thread Lele Gaifax
ld be preferred to share code snippets) Sorry, note taken. ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero.it | -- Fortunato Depero, 1929. -- SQLAlchemy -

[sqlalchemy] Re: Trying to find a way to sort a query given the name of one of its columns

2023-06-10 Thread Lele Gaifax
erjoin() and order_by() normally, then > use contains_eager(). Oh, thanks a lot for this!. Accordingly with the git history, I introduced that test to address a deprecation warning issued by SA 1.4+ load_only()... I will study the contains_eager() alternative and try to modernize my code tha

[sqlalchemy] Trying to find a way to sort a query given the name of one of its columns

2023-06-10 Thread Lele Gaifax
difference in the object, under both SA I see (Pdb) p col Column('firstname', String(), table=) Can you shed some light on what I can try to smooth this different behaviour? Thanks a lot in advance, bye, lele. [1] https://gitlab.com/metapensiero/metapensiero.sqlalch

Re: [datameet] Google Earth historical imagery disappeared?

2023-05-02 Thread Sharad Lele
ng the application once. > > Regards, > > On Tue, May 2, 2023 at 8:22 AM Sharad Lele wrote: > >> Folks, >> Over the last few days, it appears as if Google has removed all >> historical satellite imagery for India for the 2000-2019 period. Just last >> week, I

[datameet] Google Earth historical imagery disappeared?

2023-05-01 Thread Sharad Lele
Folks, Over the last few days, it appears as if Google has removed all historical satellite imagery for India for the 2000-2019 period. Just last week, I was using imagery from 2005 and 2003 for our field sites in MP and Chhattisgarh. But as of this weekend, there is NO historical imagery betwe

[sqlalchemy] Re: Dealing with readonly column

2023-04-14 Thread Lele Gaifax
"Mike Bayer" writes: > On Fri, Apr 14, 2023, at 8:03 AM, Lele Gaifax wrote: >> I now have >> >> CREATE TABLE something (id SERIAL, name TEXT) >> >> CREATE FUNCTION counter(something) >> RETURNS INTEGER AS $$ >> SELECT count(*) FROM

[sqlalchemy] Dealing with readonly column

2023-04-14 Thread Lele Gaifax
tly that the value [assigned to the column] will be ignored", so that does not bring me any advantage. On the ORM side, I could "hide" the concrete column and expose it thru a readonly property, but I'd like to have a similar safety-belt also at the Core layer, because many

[sqlalchemy] Re: Working with func in dates, No response, no error message

2023-04-05 Thread Lele Gaifax
day().strftime('%m')) pprint([(t.description, t.date) for t in q.limit(3).all()]) and emits [('2° Torneo', datetime.date(2001, 4, 1)), ('7° Torneo', datetime.date(2004, 4, 24)), ('7° Torneo', datetime.date(2005, 4, 30))] Hope this helps, ciao, lele

[sqlalchemy] Re: Working with func in dates, No response, no error message

2023-04-04 Thread Lele Gaifax
ave written: > func.strftime('%m', func.date(Events.date_of_event) == > datetime.today().strftime('%m')) You are passing a boolean value to the strftime() function, and that's not what you probably meant/want. ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di

[sqlalchemy] Re: ext.hybrid.Comparator.property not implemented in SA2

2023-02-16 Thread Lele Gaifax
"Mike Bayer" writes: > On Thu, Feb 16, 2023, at 7:16 AM, Lele Gaifax wrote: >> >> TL;DR >> >> Why is the sqlalchemy.ext.hybrid.Comparator.property explicitly >> raising a NotImplementedError? > > the .property attribute in the base PropCom

[sqlalchemy] ext.hybrid.Comparator.property not implemented in SA2

2023-02-16 Thread Lele Gaifax
e here[5], my code tries to obtain the "property" attribute of the comparator to determine whether it should assign a scalar value or an instance to the target. In SA 2, the ext.hybrid.Comparator explicitly[6] defines the "property" property as "not defined" (sorry for

Re: [datameet] Re: Looking for list of census village names for CG and MP in Devanagari

2023-02-03 Thread Sharad Lele
Saturday, February 4, 2023 at 10:32:59 AM UTC+5:30 Sharad Lele wrote: > Dear Nikhil, > > Thanks for your help and yes, I assumed (incorrectly) that if the menus > are in Hindi then the data will also be in Hindi/Devanagari! Unfortunately, > as you pointed, out, the data are still i

[datameet] Re: Looking for list of census village names for CG and MP in Devanagari

2023-02-02 Thread Sharad Lele
For instance, if someone can scrape the names from this website: https://www.prd.mp.gov.in/GramSearch/SearchPanchayat.aspx (sequentially, so as to get the district, block and GP tags also) On Thursday, February 2, 2023 at 9:47:01 PM UTC+5:30 Sharad Lele wrote: > I am looking for the cen

[datameet] Looking for list of census village names for CG and MP in Devanagari

2023-02-02 Thread Sharad Lele
I am looking for the census village list for Chhattisgarh and Madhya Pradesh (for starters) in Devanagari (Hindi script). Preferably with Census 2011 codes, so that I can quickly match them to the Census dataset, which is in English. But even if no codes attached, an accurate list with tehsil/b

[sqlalchemy] Re: Alembic and SA 2: upgrade ends with a rollback

2023-01-15 Thread Lele Gaifax
requirements/base.txt). I'm testing against a copy of the production DB, but it actually does not make any difference, as the same happens with an empty development db. Thanks&bye, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas

[sqlalchemy] Re: Alembic and SA 2: upgrade ends with a rollback

2023-01-15 Thread Lele Gaifax
"Mike Bayer" writes: > There's a few things going on here, and I can see the code here in > your "master" branch at least hasn't been updated for 2.0. See https://gitlab.com/metapensiero/SoL/-/commits/sol5 bye, lele. -- nickname: Lele Gaifax | Quando vivr

[sqlalchemy] Re: Alembic and SA 2: upgrade ends with a rollback

2023-01-15 Thread Lele Gaifax
ry, I'm committing current state and pushing it right now. > Will be back on your other remarks later. Thanks&bye, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero.it |

[sqlalchemy] Re: Alembic and SA 2: upgrade ends with a rollback

2023-01-15 Thread Lele Gaifax
my.engine.Engine: [raw sql] () 16:56:36 [I] sqlalchemy.engine.Engine: ROLLBACK Traceback (most recent call last): File "/home/lele/wip/sol5/env/bin/soladmin", line 33, in sys.exit(load_entry_point('SoL', 'console_scripts', 'soladmin')()) ^^

[sqlalchemy] Alembic with SQLite FOREIGN_KEYS pragma

2023-01-15 Thread Lele Gaifax
GMA foreign_keys=OFF") context.configure( connection=connection, target_metadata=target_metadata ) with context.begin_transaction(): context.run_migrations() As this unconditionally affects all migrations, it obviously may ruins further ones, where the FK

[sqlalchemy] Alembic and SA 2: upgrade ends with a rollback

2023-01-15 Thread Lele Gaifax
same as when I started using Alembic in this project (ten years, omg!), but even modernizing it using Alembic 1.9.2 template didn't help: when the connection is closed, either explicitly by the old try:finally: code or implicitly by the new connectable.connect() context manager, a ROLLBA

Spark multiple iterations in batch processing

2022-12-23 Thread Suparn Lele (sulele)
Hi, Basically I am running a flink batch job. My requirement is following I have 10 tables having raw data in postgresql I want to aggregate that data by creating a tumble window of 10 minutes I need to store the aggregated data into aggregated postgresql tables My pseudo code somewhat looks l

[sqlalchemy] Re: Where is the exactly .db file if I use sqlite code in the example

2022-12-06 Thread Lele Gaifax
tps://docs.sqlalchemy.org/en/14/dialects/sqlite.html#connect-strings, that syntax is equivalent to sqlite://:memory:, and thus there is no file involved. ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi

[sqlalchemy] Re: Reflections on the SA 2.0 new PG Range

2022-12-04 Thread Lele Gaifax
"Mike Bayer" writes: > there should definitely be an "isempty" accessor, but from SQLA's > naming conventions we prefer to have "is_empty" as the official name. > There's a bunch of precedent for this. overall people should be able > to u

[sqlalchemy] Re: Reflections on the SA 2.0 new PG Range

2022-12-04 Thread Lele Gaifax
est_types.py: is_false(bool(Range(empty=True))) test/dialect/postgresql/test_types.py: eq_(data, [(self._data_obj().__class__(empty=True),)]) test/dialect/postgresql/test_types.py:eq_(data, [(self._data_obj().__class__(empty=True),)]) thanks&bye, lele. -- nickname:

[sqlalchemy] Re: Reflections on the SA 2.0 new PG Range

2022-12-01 Thread Lele Gaifax
"Mike Bayer" writes: > On Thu, Dec 1, 2022, at 1:01 PM, Lele Gaifax wrote: >> Wrt "empty", what's your preference, leaving it as is and expose a >> "isempty" property or rename the attribute to "isempty" (and possibly) >> add

[sqlalchemy] Re: Reflections on the SA 2.0 new PG Range

2022-12-01 Thread Lele Gaifax
"Mike Bayer" writes: > On Wed, Nov 30, 2022, at 2:31 PM, Lele Gaifax wrote: >> "Mike Bayer" writes: >> >> > On Wed, Nov 30, 2022, at 10:30 AM, Lele Gaifax wrote: >> >> >> >> - "empty" vs "isempty": both

[sqlalchemy] Re: Reflections on the SA 2.0 new PG Range

2022-11-30 Thread Lele Gaifax
"Mike Bayer" writes: > On Wed, Nov 30, 2022, at 10:30 AM, Lele Gaifax wrote: >> On the former one, it would be nice if we could reduce the "distance" >> between the new Range class and what popular drivers provide: >> >> - "empty&quo

[sqlalchemy] Reflections on the SA 2.0 new PG Range

2022-11-30 Thread Lele Gaifax
e different kind of ranges also in the recent improvements to the Range class, to be able to determine a "discrete step" for each of them. So I wonder if it would be reasonable/doable/affordable if SA could grow a "family" of classes, derived from current Range, one for

[sqlalchemy] Learning to use new PG Ranges

2022-11-26 Thread Lele Gaifax
r: cannot adapt type 'Range' using placeholder '%s' (format: AUTO) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/lele/wip/etour/ndn/hopi/next/tmp/sa_range_contains/test.py", line 49, in

WIndowing in batch mode

2022-11-21 Thread Suparn Lele (sulele)
Hi, We have one table A in database. We are loading that table into flink using Flink SQL JdbcCatalog. Here is how we are loading the data val catalog = new JdbcCatalog("my_catalog", "database_name", username, password, url) streamTableEnvironment.registerCatalog("my_catalog", catalog) streamTab

[pylons-discuss] Re: plaster 1.1 and plaster_pastedeploy 1.0/1.0.1 released

2022-11-19 Thread Lele Gaifax
. :-) I have not > yet had this happen in my envs but I think I have some ideas. > Thank you Michael, I will try to dig further on my own the following week. ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad a

[pylons-discuss] Re: plaster 1.1 and plaster_pastedeploy 1.0/1.0.1 released

2022-11-19 Thread Lele Gaifax
ini Is that expected, or is there some problem with my configuration/usage? Thanks in advance, bye, lele. -- nickname: Lele Gaifax | Dire che Emacs è "conveniente" è come real: Emanuele Gaifas | etichettare l'ossigeno come "utile" l...@etour.tn.it |

[sqlalchemy] Re: sqlacodegen getting error

2022-11-13 Thread Lele Gaifax
e-orm.com/en/latest/peewee/playhouse.html#pwiz for Peewee. ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero.it | -- Fortunato Depero, 1929. -- SQLAlchemy -

[sqlalchemy] Re: sqlacodegen getting error

2022-11-13 Thread Lele Gaifax
d after a long deprecation period in https://github.com/python/cpython/pull/28618, replaced by FullArgSpec. Reasonably this should be reported to sqlacodegen team. ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | cominc

[sqlalchemy] Re: On new native PG Range in SA 2.0

2022-10-24 Thread Lele Gaifax
figure out how to obtain the "compilation" of just a single value from the connection.dialect. But hey, I do not expected those arguments will be changing often... :-) ciao, lele -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad a

[sqlalchemy] Re: On new native PG Range in SA 2.0

2022-10-24 Thread Lele Gaifax
and thus I manually coded those values. For that reason I didn't (yet) created an issue and proposed a PR. Mike, can you tell me if this is acceptable or how can I improve it? Thanks&bye, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comi

[sqlalchemy] Re: On new native PG Range in SA 2.0

2022-10-23 Thread Lele Gaifax
Lele Gaifax writes: > I will propose a PR soon. An ethical concern: given that the proposed methods are so simple, is it legal/acceptable to verbatim copy them, and their tests, from the psycopg (LGPL) and asyncpg (Apache license)? ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di que

[sqlalchemy] Re: On new native PG Range in SA 2.0

2022-10-23 Thread Lele Gaifax
directly. I would just disagree with > psycopg2's more nonsensical methods like `__lt__`, `__gt__`, etc. > Thank you for the directions: while I'm not 100% convinced about avoiding __contains__(), which seems very intuitive and practical, I will propose a PR soon. ciao, lele. --

[sqlalchemy] On new native PG Range in SA 2.0

2022-10-22 Thread Lele Gaifax
return self.active and date.today() in self.validity to something different, that in some way "reaches" the underlying psycopg (say) implementation and uses its logic? Thanks in advance, ciao, lele. -- nickname: Lele Gaifax | Dire che Emacs è "conveniente" è com

Re: [datameet] Re: Survey of India published - District, Block and Village Boundaries

2022-09-19 Thread Sharad Lele
Thanks Craig for locating this dataset. Potentially solves all our problems. Yes, can add only one district at a time to the Shopping Cart, but can in theory keep going back and adding more items to the Cart (I did 2 at a time). Process for checking out and creating downloads involves many clic

[datameet] Maharashtra cadastral maps

2022-09-14 Thread Sharad Lele
Has anyone tried this website: http://mrsac.maharashtra.gov.in/cadastralgis/ It seems to require login and password. Can anyone get a login? If not, does anyone in this group have access? we are looking for some maps of Chandrapur district that are not available on Bhunaksha. Sharad -- Datame

Re: [PATCH] emacs: add paramter to not quote original message in replies

2022-05-30 Thread Lele Gaifax
jos...@joshuao.com writes: > +will be addressed to all recipients of the source message. If > +OMIT-ORIGINAL is non-nil, the orignial message will not be quoted." s/orignial/original ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Eman

[datameet] Re: can we get the cadastral shape files of karnataka state

2022-05-24 Thread Sharad Lele
Go to https://landrecords.karnataka.gov.in/ and click on "revenue maps" button , which is https://landrecords.karnataka.gov.in/service3/ Best, Sharad On Tuesday, May 24, 2022 at 10:14:53 AM UTC+5:30 anil...@gmail.com wrote: > hello everyone, i am looking for cadastral boundary shapefiles kar

[sqlalchemy] Re: Problem with PG ARRAY's ANY() and SA 1.4.36 (maybe related resolution of #6515 ?)

2022-05-03 Thread Lele Gaifax
ferent smaller "chunks" generated by common functions, used in several other places. It would be very impractical to carry around the whole set of "parameters" and use the implicit/automatic injection made by SA. Thanks again, ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di

[sqlalchemy] Problem with PG ARRAY's ANY() and SA 1.4.36 (maybe related resolution of #6515 ?)

2022-04-29 Thread Lele Gaifax
be that's what I should do... but given that the above idiom has worked well for me for so long, this may very well be an unintended side effect of https://github.com/sqlalchemy/sqlalchemy/commit/63191fbef63ebfbf57e7b66bd6529305fc62c605. Thank you for any hint, ciao, lele. -- nickname: L

Re: [datameet] Shape files for Bhopal, Khandawa, Omkareshwar along with villages boundaries

2022-02-21 Thread Sharad Lele
Hi Akshit: I tried this link because I also want accurate village boundaries for MP. But the link does not work: first it does not accept even spaces between first name and last name etc. And finally when I had that figured out, clicking the submit button led to an error (crash) message. Have y

[Python-Dev] Re: Replace debug runtime checks in release mode with assertions in debug mode

2022-02-08 Thread Lele Gaifax
s://github.com/actions/python-versions/blob/797eb71c41e47d194f563c7ef01790d734534788/builders/ubuntu-python-builder.psm1#L35-L38 > . You can get a debug variant using from https://github.com/deadsnakes/action. bye, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad av

Re: [datameet] State-->District-->Village level data

2022-01-12 Thread Sharad Lele
Thanks, KK. I checked this out. Apart from the fact that it is not downloadable, I find that the layer has many errors. Lots of generalization of boundaries and actual errors in locating villages... :-( Just sharing my observations for others to be aware of... Sharad On Thursday, January 13, 20

Re: Python notmuch2 bridge, something changed in the Database constructor

2021-12-24 Thread Lele Gaifax
r the config > argument should be changed. > > Can you try > > with Database(config=Database.CONFIG.SEARCH) as db: Yes, that works too. Should the Database docstring be rectified accordingly? Thank you, ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato

Python notmuch2 bridge, something changed in the Database constructor

2021-12-23 Thread Lele Gaifax
ook it up: >>> Database.default_path() PosixPath('/home/lele/Maildir') so fixed my problem with a minor tweak, ie doing with Database(Database.default_path()) as db: handle_deleted_messages(db) move_spam_to_junk(db) I wonder where the trouble is is: has someth

Re: org-persist cache for remote files

2021-12-21 Thread Lele Gaifax
e from the persistent index, without even prompting for a password. I will try again (and harder) as time permits. ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metap

Re: org-persist cache for remote files

2021-12-18 Thread Lele Gaifax
Lele Gaifax writes: >> + :group 'org-persist >> + :type '(choice (const :tag "Never" nil) >> + (const :tag "Always" t) >> + (number :tag "Keep note more than X files") > > Now that you ex

Re: org-persist cache for remote files

2021-12-18 Thread Lele Gaifax
Ihor Radchenko writes: > Lele Gaifax writes: > >> In the meanwhile, here below some notes: > > Thanks! See the updated patch. Great, you're so fast! :-) I couldn't test yet, but I saw a couple of other glitches, sorry for not noticing first. > ... > +(defc

Re: org-persist cache for remote files

2021-12-18 Thread Lele Gaifax
Ihor Radchenko writes: > Lele Gaifax writes: > >>> Maybe we should better make this a user option? >> >> Yes, that's what I had in mind: when (say) org-persist-do-not-auto-gc-remotes >> is enabled, the cleanup procedure would ignore remote Org documents a

Re: org-persist cache for remote files

2021-12-17 Thread Lele Gaifax
Ihor Radchenko writes: > Lele Gaifax writes: > >> I wonder if there is some mechanism I could use to either prevent caching >> of non-local documents or to avoid the check on existence in the >> org-persist-gc. > > I can easily make a change that always garbage

Re: org-persist

2021-12-17 Thread Lele Gaifax
a considerable time in the network round trip. I wonder if there is some mechanism I could use to either prevent caching of non-local documents or to avoid the check on existence in the org-persist-gc. Thanks for any hint, bye, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pens

Re: [datameet] State-->District-->Village level data

2021-10-07 Thread Sharad Lele
Go to https://mpbhulekh.gov.in/mpbhulekh.do and choose 'land parcel map' from the dashboard on the home page (have to scroll to right). MP used to have a Bhunaksha portal like other states, but they seem to have purposely disabled it! On Wednesday, October 6, 2021 at 8:03:28 AM UTC+5:30 samar..

Re: [PLUG] Terabyte paper tape

2021-09-22 Thread Atharva Lele
Hello, Reading all of this is really so interesting to me! I was born in 1998 and I feel like I've missed out on so much! My first computer was an Intel Pentium 4 with 256MB RAM and 40GB HDD. Hopefully I'll get to at least tinker with some of the old tech! Regards, Atharva Lele On T

[clamav-users] Regarding Clam AV latest Signature on Ubuntu 18.04 OS

2021-08-22 Thread Amey Lele via clamav-users
re version on Ubuntu 18.04 version and how to update the same if it is not updated. Awaiting your response. -- Regards, Amey Lele mobile: 9850093736 ___ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listi

[sqlalchemy] Re: update with in clause from kwargs

2021-08-04 Thread Lele Gaifax
nize_session. I think a full traceback could help in diagnosing the problem. ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero.it | -- Fortunato Depero, 1929. -- SQ

[sqlalchemy] Re: update with in clause from kwargs

2021-08-03 Thread Lele Gaifax
> ) > > Is there a way to do this? Sure, and easy enough: replace the line where you append to `filter_group` with something like attr = getattr(self.model_class, col) filter_group.append(attr.in_(tuple(kwargs['query_params'][col]))) that is, obtain the mapped class membe

[datameet] Re: Pune Villages Map

2021-07-27 Thread Sharad Lele
Rather: https://www.cse.iitb.ac.in/~pocra/MahaCensus_shapefile_data1.2/MaharashtraCensus.html On Wednesday, July 28, 2021 at 12:00:06 PM UTC+5:30 Sharad Lele wrote: > Check out: > > > https://www.cse.iitb.ac.in/~pocra/MahaCensus_shapefile_data1.2/Attribute.html > > On Wednesday

[datameet] Re: Pune Villages Map

2021-07-27 Thread Sharad Lele
Check out: https://www.cse.iitb.ac.in/~pocra/MahaCensus_shapefile_data1.2/Attribute.html On Wednesday, July 28, 2021 at 2:14:20 AM UTC+5:30 rushikesh...@gmail.com wrote: > Hi, does anyone have pune villages shapefile or maharashtra villages > shapefiles ? > > -- Datameet is a community of Da

[sqlalchemy] Re: Relationship backref cascade path

2021-07-24 Thread Lele Gaifax
"Mike Bayer" writes: > On Sat, Jul 24, 2021, at 5:49 AM, Lele Gaifax wrote: >> Hi all, >> >> I need some clarification on the following RemovedIn20Warning >> >> "Pet" object is being merged into a Session along the backref cascade path &

[sqlalchemy] Relationship backref cascade path

2021-07-24 Thread Lele Gaifax
of places. Another approach could be configuring all the "one-to-many" relationships as "viewonly", but that again would require more analysis on the code paths... So, am I missing something and there is some recommended alternative, or should I dig into the rabbit's hole

[sqlalchemy] Re: joinedload().load_only() emits 2.0 warning

2021-07-21 Thread Lele Gaifax
Federico Caselli writes: > Updated here https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/2959 Great, thank you! ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero

[sqlalchemy] Re: joinedload().load_only() emits 2.0 warning

2021-07-16 Thread Lele Gaifax
Federico Caselli writes: > There is no difference, it's the documentation that's outdated. > > We should update that I see, thank you for the clarification! ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò a

[sqlalchemy] Re: joinedload().load_only() emits 2.0 warning

2021-07-16 Thread Lele Gaifax
to the generic load_only() function documentation uses the string name. ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero.it | -- Fortunato Depero, 1929. -- SQLAlchemy

[sqlalchemy] joinedload().load_only() emits 2.0 warning

2021-07-15 Thread Lele Gaifax
7;m not sure where's the problem. Maybe using joinedload(X.y).load_only(a, b), a and b cannot be column names under 2.0, but should be Y.a and Y.b instead? Thanks a lot for any hint, ciao, lele. [1] https://docs.sqlalchemy.org/en/14/orm/query.html#sqlalchemy.orm.Load.load_only -- SQLAlchemy

Re: [datameet] Re: Downloading Survey of India topos (Open Series)

2021-06-29 Thread Sharad Lele
blem. > but otherwise the process is a little simpler than earlier. Now they only > require your mobile no. > > With regards > Upasana > > On Fri, 25 Jun 2021 at 07:56, Sharad Lele wrote: > >> Hi folks, no help from anyone on this? >> Has anyone tried registeri

Re: [datameet] Re: global 10 m landuse data

2021-06-25 Thread Sharad Lele
, Sharad On Friday, June 25, 2021 at 11:29:50 AM UTC+5:30 Sharad Lele wrote: > Works! Thanks, Justin! > > Sharad > > On 25-Jun-21 08:15, J M wrote: > > Shared, > Let me know if this works! > > https://www.arcgis.com/home/item.html?id=d6642f8a4f6d4685a24ae2dc0c73d

Re: [datameet] Re: Downloading Survey of India topos (Open Series)

2021-06-24 Thread Sharad Lele
> Sudhira. > > On Fri, 25 Jun 2021 at 07:56, Sharad Lele wrote: > >> Hi folks, no help from anyone on this? >> Has anyone tried registering recently? >> https://soinakshe.uk.gov.in/mtr/Manchitra_MTR.aspx >> >> On Friday, May 21, 2021 at 8:20:44 AM UTC+5:30 S

[datameet] Re: Downloading Survey of India topos (Open Series)

2021-06-24 Thread Sharad Lele
Hi folks, no help from anyone on this? Has anyone tried registering recently? https://soinakshe.uk.gov.in/mtr/Manchitra_MTR.aspx On Friday, May 21, 2021 at 8:20:44 AM UTC+5:30 Sharad Lele wrote: > I thought SOI had put out topos for all of India in the Open Series for > public download.

[datameet] Re: global 10 m landuse data

2021-06-24 Thread Sharad Lele
Hi Justin, Thanks for this. I downloaded a tile, but could not find the legend information anywhere. Please advise. Sharad On Thursday, June 24, 2021 at 11:38:42 PM UTC+5:30 Justin wrote: > On Thursday, June 24, 2021 at 2:08:19 PM UTC-4 Justin wrote: > >> revolutionarygis.wordpress.com >> > --

[Python-Dev] Re: Roundup to GitHub Issues migration

2021-06-21 Thread Lele Gaifax
will just silently abandon their bug report. On Gitlab there is a "create-issue-by-email" feature, but a quick search didn't reveal an equivalent [builtin] way for Github. However, I found a few addons that implement that, for example https://fire.fundersclub.com/. Maybe that coul

[datameet] Downloading Survey of India topos (Open Series)

2021-05-20 Thread Sharad Lele
I thought SOI had put out topos for all of India in the Open Series for public download. But when I visit this page: https://surveyofindia.gov.in/pages/open-series-maps-osm I find many states are missing in the list: Kerala, Tamil Nadu, Jharkhand, etc. And when I visit the download page https:/

Re: [datameet] Historic village-level census data

2021-05-18 Thread Sharad Lele
Following Sanjeev Sinha's point: the scanned district census handbooks for older censuses can be found here: http://lsi.gov.in:8081/jspui/handle/123456789/1 The collection is not comprehensive, but ... On Wednesday, May 19, 2021 at 7:03:51 AM UTC+5:30 Nishadh K A wrote: > For years 1991 and 200

Re: editor recommendations?

2021-03-03 Thread Lele Gaifax
nce with a modular configuration. ciao, lele. [1] https://www.emacswiki.org/emacs/Evil [2] https://github.com/hlissner/doom-emacs -- Emacs outshines all other editing software in approximately the same way that the noonday sun does the stars. It is not just bigger and brighter; it simply makes ever

Re: Please share recommendations of mail fetcher for notmuch on GNU

2021-02-08 Thread Lele Gaifax
job here: on Debian (sid?) it has replaced the original Py2-only version. bye, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero.it | -- Fortunato Dep

Re: [datameet] Chhattisgarh Forest Working Plans and maps are online!

2021-01-26 Thread Sharad Lele
wrote: > Hi Every one > > Can any one share casestal maps (Khasara maps of Madhya Pradesh) > > with regards > > On Mon, Jan 25, 2021 at 10:10 PM Sharad Lele (शरच्चंद्र लेले) < > shara...@gmail.com> wrote: > >> http://www.fmisonline.org/Forest%20Working%2

[datameet] Re: Census land use categories 2011 vs 2001

2021-01-11 Thread Sharad Lele
shrubs* *and jungles which are not put to any use.* Now what does one make of this? Sharad On Monday, January 11, 2021 at 8:09:18 PM UTC+5:30 Sharad Lele wrote: > Dear All, > As you know, Census Village Amenities Tables (now called Village > Directories) contain a huge amount of data on vari

[datameet] Census land use categories 2011 vs 2001

2021-01-11 Thread Sharad Lele
Dear All, As you know, Census Village Amenities Tables (now called Village Directories) contain a huge amount of data on various attributes of villages. Of particular interest to me is the last set of columns, which are about land use in the village. Till Census 2001, there used to be a limited

[issue22228] Adapt bash readline operate-and-get-next function

2020-12-20 Thread Lele Gaifax
Lele Gaifax added the comment: Hey, recompiling current master against readline 8.1 gives an interpreter where this is already working: rl_operate_and_get_next() is bound to Control-o in the standard emacs keymap! http://git.savannah.gnu.org/cgit/readline.git/tree/emacs_keymap.c?h=readline

[issue22228] Adapt bash readline operate-and-get-next function

2020-12-17 Thread Lele Gaifax
Lele Gaifax added the comment: Apparently, now the operate-and-get-next function has been moved to the readline library, so hopefully it will be easier to get its advantage. See point 2.j in https://lwn.net/Articles/839213/ -- ___ Python tracker

  1   2   3   4   5   6   7   8   9   10   >