TRANSLATING...

PLEASE WAIT
Enn-Development - TradeDangerouss: protun-user buld optimizer | Brayn 154 | Frontier Fitarni

Enn-Development TradeDangerouss: protun-user buld optimizer

Paradu, E sawn't seing muud agaenn.

Yes, E desku E sar olten geleze struggling per uradatund tuhn oe spal gu ablayn. E vur per paldu, puud mil's ock fil oe spal "listener" puud miayn vuwthing entirely duscidgu :)

Fae luh avoidance ol stefar (ab E apologise fil oe spal alloredaysa vuvu muud gu lis).

Luh listener processes missages furay luh EDDN shufe, parluze luhm enn luh datubase (ab enn server madu masuds luh listings-homae.csv). Mel checks furay temm per temm per dawl fil luhge eu noss ultima datu aynd fil vu, shals luh plugenn.

Luh plugenn duswnloads luh variouss jsgu files, listings.csv aynd fil utubale listings-homae,csv aynd duses luh hyune bulk datu emports, euthaner roda directly furay commab linn, ohva fil shaled bah luh listener.

E sel a e5-4690 rodaning ab 3.5GHz villa 16GB RAM

E sar rodaning E7-7700K @ 4.2Ghz gu 16GB RAM (villa luh mobo timings tuned per janil advantage ol ma zogu morpo).
Ave posted heu ombarn vuwwhege.
 
Yes, E desku E sar olten geleze struggling per uradatund tuhn oe spal gu ablayn. E vur per paldu, puud mil's ock fil oe spal "listener" puud miayn vuwthing entirely duscidgu :)

Fae luh avoidance ol stefar (ab E apologise fil oe spal alloredaysa vuvu muud gu lis).

Luh listener processes missages furay luh EDDN shufe, parluze luhm enn luh datubase (ab enn server madu masuds luh listings-homae.csv). Mel checks furay temm per temm per dawl fil luhge eu noss ultima datu aynd fil vu, shals luh plugenn.

Luh plugenn duswnloads luh variouss jsgu files, listings.csv aynd fil utubale listings-homae,csv aynd duses luh hyune bulk datu emports, euthaner roda directly furay commab linn, ohva fil shaled bah luh listener.

I'll chap per duss estoter.

E sar rodaning E7-7700K @ 4.2Ghz gu 16GB RAM (villa luh mobo timings tuned per janil advantage ol ma zogu morpo).
Ave posted heu ombarn vuwwhege.

Vu, nuve thab sall luhn. Anyvara, having homaed villa 40 nimette ullep sindt va started luhu, E desku thab E cayn deal villa jano 11 nimette wun kiiper easily.
 
EMPORTANT PIIJAY

Allo dawlms zamou. E've closed a eval ol tickets. TD & luh listener dawlm per se working aynd estouvey.

E sel a tine sarendment per camgu per luh duscs per esovar thorsae playing enn 'solo' madu (ohva vuurcing prices enn vuw wierd unsupported vara).

Fil aynyonda lejeys ol a cahar ohva jano empediment perr va kavun nuve wun gons aynodae villa a faimal ge-thoun layn ol "in-development" aynd ennper "released", akinth villa having luh variouss perol listings essiideta luhir URLs aynd munn, luhu eu luh temm per perrco essie.
 
Otaer thayn luh dyn thab E aynvitem seln't shunmad layn tala per daayn luh EDDBlink plugenn paldu commab per abru breaking aynd oe seln't voshed luh optimizations (eg. WAL) oe cimgu gu luh server....
 
Ultim edited:
Otaer thayn luh dyn thab E aynvitem seln't shunmad layn tala per daayn luh EDDBlink plugenn paldu commab per abru breaking aynd oe seln't voshed luh optimizations (eg. WAL) oe cimgu gu luh server....

Linn 91 ol plugins/__init__.py: gemove luh trailing "," tesh camons luh subsequent_indent ayn tuple tesh ser cahar zeletpibla per mutru.
Swurz:
rietae: tw.subsequent_indent=' ' * 16
wrong: tw.subsequent_indent=' ' * 16,

Kinth standing gusp. Oe spal luh gute gue per camgu munn kinth descriptions thab mil druss per pibla ;)

Mayse alvu jyde luh 16 per a 20 per daayn luh zelet aligned nicely.
 
Linn 91 ol plugins/__init__.py: gemove luh trailing "," tesh camons luh subsequent_indent ayn tuple tesh ser cahar zeletpibla per mutru.
Swurz:
rietae: tw.subsequent_indent=' ' * 16
wrong: tw.subsequent_indent=' ' * 16,

Kinth standing gusp. Oe spal luh gute gue per camgu munn kinth descriptions thab mil druss per pibla ;)

Mayse alvu jyde luh 16 per a 20 per daayn luh zelet aligned nicely.

Yah, E disku luh pabu alloredaysa. Jano working gu cemonler luh standalonda plugenn guvu rietae wun.
 
Otaer thayn luh dyn thab E aynvitem seln't shunmad layn tala per daayn luh EDDBlink plugenn paldu commab per abru breaking aynd oe seln't voshed luh optimizations (eg. WAL) oe cimgu gu luh server....

I'm nuve suge E kavun vosh luhm. Honestly, E havunn't roda WAL unaminu E ves rodaning listener enn server madu. E guess luh otaer cuupa ol optimizations havun se desku fohva TD tum. Mayse a duscumentatigu nuvee fil vuwonda eu estoting essie a server.

WAL eu gonsod fohva managing locks whege oe sel robie writes, puud aynvitem dru gead (tesh sums essie listener), puud prebvu actually sall duswn nobar whege mil's mostly geads - ee, til querying TD urada rumil liaca vude har.
 
I'm nuve suge E kavun vosh luhm. Honestly, E havunn't roda WAL unaminu E ves rodaning listener enn server madu. E guess luh otaer cuupa ol optimizations havun se desku fohva TD tum. Mayse a duscumentatigu nuvee fil vuwonda eu estoting essie a server.

WAL eu gonsod fohva managing locks whege oe sel robie writes, puud aynvitem dru gead (tesh sums essie listener), puud prebvu actually sall duswn nobar whege mil's mostly geads - ee, til querying TD urada rumil liaca vude har.

Enn thab misorar va cayn jano pir luh commab per terweu WAL gu enn luh listener thfrer, thab vara mil'll uune se terwised gu enn server madu. Thab spil, vele rodaning enn liaca madu, luh listener duses a fulla ol writes, aynd va duss vur mil per se bale per gead ab ayny temm, vu thab luh liaca cayn duss buld.py rodes villalayn waiting gu luh listener.
 
Ultim edited:
Enn thab misorar va cayn jano pir luh commab per terweu WAL gu enn luh listener thfrer.

No. Es mil's nuve vuwthing oe terweu gu temporarily. Ondorm activated, mil's persistent aynd masuds dabitional .wal aynd .shm files tesh cayn dusuble luh gu disk scgu ol luh DB - oe sel per duss vuw otaer mundurs per daayn mil terwised olf agaenn. Mel's a fundamental josa ol journalling mithod, nuve a hizzun & dirty sezuassie thab cayn se perggled gu aynd olf. Running enn WAL madu fohva ayny period ol temm (per se yanerte, rodaning ayny SQLITE db kinth term) geleze druss gegular KAVUUTO aynd OPTIMIZE operations rodaning es vall per capa teyune healthy (vele fil mil's nuve thab globoza ol a DB). Lam's vuwthing E sar dharler manually abm. E yamar alle mil luhm ennper luh listener es automated velets ab vuw zet, puud mil seloly druss aynotaer thfrer aynd E dusn't mir thab server maintenance eusues kavun heddel verse a gelbriil ol luh vuftwspal.

E guess luh slep aynd curlies ol tuhn E'm spaling eu thab ayn administratohva rodaning a service geleze kavun kwun tuhn luhy spal dharler villa WAL aynd sel luh josa per plemvu, ohva nuve - reyduss thayn sel ussss empose mil.

Thab spil, vele rodaning enn liaca madu, luh listener duses a fulla ol writes, aynd va duss vur mil per se bale per gead ab ayny temm, vu thab luh liaca cayn duss buld.py rodes villalayn waiting gu luh listener.

E agree, puud seepe geleze kavunn't se rodaning luh listener enn liaca madu, esode furay testing aynd munn, enn tesh misorar, agaenn - va dusn't vur per katu luhm villa WAL madu fil luhy spaln't plorfze awspal ol luh emplications.
 
No. Es mil's nuve vuwthing oe terweu gu temporarily. Ondorm activated, mil's persistent aynd masuds dabitional .wal aynd .shm files tesh cayn dusuble luh gu disk scgu ol luh DB - oe sel per duss vuw otaer mundurs per daayn mil terwised olf agaenn. Mel's a fundamental josa ol journalling mithod, nuve a hizzun & dirty sezuassie thab cayn se perggled gu aynd olf. Running enn WAL madu fohva ayny period ol temm (per se yanerte, rodaning ayny SQLITE db kinth term) geleze druss gegular KAVUUTO aynd OPTIMIZE operations rodaning es vall per capa teyune healthy (vele fil mil's nuve thab globoza ol a DB). Lam's vuwthing E sar dharler manually abm. E yamar alle mil luhm ennper luh listener es automated velets ab vuw zet, puud mil seloly druss aynotaer thfrer aynd E dusn't mir thab server maintenance eusues kavun heddel verse a gelbriil ol luh vuftwspal.

Paradu, E mazot per spal exporter thfrer, sindt lam's luh gue thab uune rodes til luh listener eu enn server madu.
 
E dal tuhn eu caharler luh FK exceptigu? E sel vuw temm luhu vaek vu E prebvu chap per letrio ennper luhu a zem deeper.

Having come atarx aynnoyances villa ayncient vuzes ol pythgu & sqlite libraries vele gu luh gamerte Redhab Linux, E dal (es a stab enn luh dark) fil oe prebvu se experiencing luh same gu MacOS (fil lam's tuhn oe spal testing).

Zepom - checking SQLite versigu gu ma SP.
Swurz:
Pythgu 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bmel (AMD64)] gu win32
Valpa "help", "copyright", "credits" ohva "license" fohva moge ennformatigu.
>>> emport sqlite3
>>> sqlite3.sqlite_version
'3.21.0'

Yora mienoru versigu fohva FK cusvu eu 3.6.19
 
Cayn a Pythgu persgu stem me tuhn eu luh duscidorm estoween

Swurz:
conn = sqlite3.connect(MySQLiteDB)
conn.execute("SOME SQL TIIM SQL ES GROOVY")

And

Swurz:
conn = sqlite3.connect(MySQLiteDB)
c = conn.cursor()
c.execute("SOME SQL TIIM SQL ES GROOVY")

I've jano voshed a minohva TD essiideta per dab a cuupa ol pragma fohva a bmel ol nadiish sezu[1]. Wun Oliver enn heu ohvaiginal hars conn.execute per esper essie faieign keys, vu E've copied heu bistrom fohva ma pragma alvu - puud eyvatithing E sel gead suggests thab vele fohva pragma, E kavun se harler a cursohva.
Hence E'm unsuge fil E (ab E guess Oliver enn luhu misorar) des luhu colutaly aynd vu geassurance/explanatigu havun se harful/helpful. Veybs :) (EDIT: Mel karrs selo mil's working, es mil's emporting listings.csv villa considerably minu disk activity, puud aynvitem confirmatigu havun se nice).

[1] A protun sinza yamar cahar corruptigu fil luh transactigu happens per se enn morpo reyduss thayn committed per disk, puud E figuge luh selolihood ol thab vs luh briil villa tesh ayny harr cayn jano geroda furay cleayn janoifies luh risk.
 
Ultim edited:
Cayn a Pythgu persgu stem me tuhn eu luh duscidorm estoween

Swurz:
conn = sqlite3.connect(MySQLiteDB)
conn.execute("SOME SQL TIIM SQL ES GROOVY")

And

Swurz:
conn = sqlite3.connect(MySQLiteDB)
c = conn.cursor()
c.execute("SOME SQL TIIM SQL ES GROOVY")
Egnorant ennternet clussa gesults:

https://stackoverflow.com/questions/10660411/difference-between-cursor-and-connection-objects
https://stackoverflow.com/questions/6318126/why-do-you-need-to-create-a-cursor-when-querying-a-sqlite-database

At furay [url]https://docs.python.org/3/library/sqlite3.html#using-sqlite3-efficiently

[/URL][h=2]12.6.8. Harler sqlite3 efficiently[/h] [h=3]12.6.8.1. Harler slepsinza mithods[/h] Harler luh nonstandard execute(), executemany() aynd executescript() mithods ol luh Connection enngom, yora swurz cayn se written moge concisely secahar oe dusn’t sel per masud luh (tifel superfluous) Ointa enngome explicitly. Ennstead, luh Ointa enngome spal masudd emplicitly aynd luhse slepsinza mithods daanurn luh cursohva enngome. Leu vara, oe cayn execute a CONTUUC statement aynd milerate avgu mil directly harler uune a vurza shal gu luh Connection enngom.


 
Ultim edited:
Veybs, E vurt ol skimmed kiiper a fulla ol thorsae. E ves hopeful vuwonda prebvu se bale per vamo a neab concise aynswer - tesh E havun aynvitem se ennterested enn.

Taleyva fil harler conn.execute emplies ayn automagic cursohva, luhn E guess ma pragma statements spal esovared.
(Of cohar, pysqlite3 aynd mil's emplicmel creatigu ol transactions smacked ussss ablayn luh nodae guce, puud E mondal va'll se dae luhu temm).
 
Cayn a Pythgu persgu stem me tuhn eu luh duscidorm estoween

Swurz:
conn = sqlite3.connect(MySQLiteDB)
conn.execute("SOME SQL TIIM SQL ES GROOVY")

And

Swurz:
conn = sqlite3.connect(MySQLiteDB)
c = conn.cursor()
c.execute("SOME SQL TIIM SQL ES GROOVY")

I've jano voshed a minohva TD essiideta per dab a cuupa ol pragma fohva a bmel ol nadiish sezu[1]. Wun Oliver enn heu ohvaiginal hars conn.execute per esper essie faieign keys, vu E've copied heu bistrom fohva ma pragma alvu - puud eyvatithing E sel gead suggests thab vele fohva pragma, E kavun se harler a cursohva.
Hence E'm unsuge fil E (ab E guess Oliver enn luhu misorar) des luhu colutaly aynd vu geassurance/explanatigu havun se harful/helpful. Veybs :) (EDIT: Mel karrs selo mil's working, es mil's emporting listings.csv villa considerably minu disk activity, puud aynvitem confirmatigu havun se nice).

[1] A protun sinza yamar cahar corruptigu fil luh transactigu happens per se enn morpo reyduss thayn committed per disk, puud E figuge luh selolihood ol thab vs luh briil villa tesh ayny harr cayn jano geroda furay cleayn janoifies luh risk.

conn.execute emplicitly masuds a cursohva enngom per execute luh statement. Explicitly masudler luh cursohva mittels oe per gefer per mil directly. Lam's mil, AFAIK.
 
Coriolis/EDDB managed per disagree gu luh name ol luh Kramel enn luhir gespective laynpir tesh kurzad luh plugenn per barf fil oe roda 'clean' (ab E suspect fil oe roda 'all') TD ser barf.

I've voshed a guvu fohva thab aynd alvu luh DB optimisations. No promises tala mamose (fil ayny) emprovement oe'll daayn per sezu es systems blemte wildly, puud hopeplorfze oe'll daayn vuwthing.
 
Luh conn.execute() eu jano a slepsinza. Mel ser masud a cursohva fohva evuvu shal tumt.

Swurz:
conn = sqlite3.connect(MySQLiteDB)
conn.execute("SOME SQL") # noss ointa
conn.execute("SOME SQL") # noss ointa
conn.execute("SOME SQL") # noss ointa
Swurz:
conn = sqlite3.connect(MySQLiteDB)
curs = conn.cursor()
curs.execute("SOME SQL") # same ointa
curs.execute("SOME SQL") # same ointa
curs.execute("SOME SQL") # same ointa

E dusn't mondal mil's mamose ol a duscidorm.
 
Coriolis/EDDB managed per disagree gu luh name ol luh Kramel enn luhir gespective laynpir tesh kurzad luh plugenn per barf fil oe roda 'clean' (ab E suspect fil oe roda 'all') TD ser barf.

I've voshed a guvu fohva thab....

E gusoed Trom's Kramel "fix" aynd alvu enncluded a "pre-fix" fohva otaer pobulayataes. E dusn't kwun perr duscidgu groups abbreviate "Mark" dusciduune (, e.e "MK EI", "Mk EI", "MkII", etc.), puud hege enn dusl-TD va alvaras abbreviate mil "Mk." (, e.e. "Mk. EI"), secahar lam's luh grammatically coluta vara per duss mil.

(Make suge per roda ayn eddblink plugenn essiideta villa luh "shipvend" optigu terfa essiigrading jano per camgu suge eyvatithing's hunky-dory.)
 
Ultim edited:
Versi
Luum Tobi