Embedding Ollama problem - No default constructor found

When trying to do embedding on ollama like in the code below:
package prv.duchamk.quarkus.test.main;

import dev.langchain4j.model.embedding.EmbeddingModel;
import io.quarkus.runtime.QuarkusApplication;
import jakarta.enterprise.context.control.ActivateRequestContext;
import jakarta.inject.Inject;

@ActivateRequestContext
public class MyQuarkusApplication implements QuarkusApplication {

    @Inject EmbeddingModel aiembed;

    @Override
    public int run(String... args) throws Exception {
        // embedding
        var v = aiembed.embed("Jakiś tekst.").content().vector();
        System.out.println("vector: "+v.length);
        return 0;
    }

}

I get the answer:
2024-05-21 18:54:24,699 INFO  [io.qua.lan.oll.OllamaRestApi$OllamaLogger] (vert.x-eventloop-thread-2) Request:
- method: POST
- url: http://localhost:11434/api/embeddings
- headers: [Accept: application/json], [Content-Type: application/json], [User-Agent: Quarkus REST Client], [content-length: 64]
- body: {
  "model" : "nomic-embed-text",
  "prompt" : "Jakiś tekst."
}
2024-05-21 18:54:25,794 INFO  [io.qua.lan.oll.OllamaRestApi$OllamaLogger] (vert.x-eventloop-thread-2) Response:
- status code: 200
- headers: [Content-Type: application/json; charset=utf-8], [Date: Tue, 21 May 2024 16:54:25 GMT], [Transfer-Encoding: chunked]
- body: {"embedding":[1.2152793407440186,0.7061670422554016,-3.920266628265381,-0.15716147422790527,0.1636817455291748,0.40220484137535095,-0.10822450369596481,1.1845251321792603,-0.7441623210906982,-0.5174110531806946,-1.770889163017273,0.035071391612291336,1.6755348443984985,0.6936782598495483,1.176145076751709,-1.1741924285888672,-0.918232798576355,-0.6608086824417114,-0.5158448815345764,0.7021397352218628,-0.343803346157074,-0.0694512203335762,0.6995362043380737,-0.18004025518894196,-1.240907907485962,0.771946907043457,-0.18770591914653778,0.19963793456554413,-0.1739630252122879,-0.1726313829421997,-0.5771702527999878,-1.3131558895111084,-0.09595434367656708,1.5054917335510254,0.04286672919988632,-1.4843380451202393,2.544625997543335,1.5172076225280762,1.2872018814086914,-0.2609632909297943,-0.5731022357940674,0.8018061518669128,-0.747904896736145,-1.3333332538604736,0.3897770345211029,-1.271011233329773,-0.21130041778087616,0.3321129083633423,0.4450817406177521,-0.777601420879364,0.29190054535865784,0.4553738236427307,-0.18283700942993164,-1.1479129791259766,2.140427827835083,1.1868846416473389,0.7155641913414001,0.43868476152420044,0.785290002822876,-1.303718090057373,0.5114717483520508,1.2778455018997192,-2.171344757080078,1.317874789237976,0.47046616673469543,-1.567000150680542,-1.5473109483718872,1.4016759395599365,-0.8004230260848999,-0.8084776997566223,0.8006671071052551,-0.9349930286407471,0.1590569168329239,1.9726628065109253,-1.4984947443008423,0.24800410866737366,-0.2042602151632309,0.46867623925209045,-0.0708979070186615,0.20377713441848755,0.668700635433197,-1.081278920173645,0.7992839813232422,0.1736026257276535,0.5328491926193237,-0.34551700949668884,-0.3956960141658783,0.4383695125579834,-0.4075542688369751,0.9364575147628784,0.30667760968208313,1.6952240467071533,0.6417703628540039,1.114962100982666,0.6931087374687195,0.9174191951751709,-0.3557582497596741,-0.02837441861629486,-0.5174110531806946,0.06343817710876465,-0.5818891525268555,-0.5007321834564209,0.9450817108154297,0.05762346088886261,1.326824426651001,0.09497802704572678,1.150435209274292,-0.04750029370188713,-1.3670164346694946,-1.5211129188537598,0.02382650226354599,0.02905835397541523,-0.35161903500556946,-1.388576865196228,-0.4024896025657654,-0.7856154441833496,0.36850130558013916,-1.1656495332717896,0.06940927356481552,0.09664082527160645,-0.8817020058631897,-0.1855829358100891,-0.5980798602104187,1.111382246017456,0.0714750587940216,0.9333658218383789,-1.125538945198059,0.21894067525863647,0.06966733187437057,-1.0577657222747803,-0.5962899327278137,0.9235212206840515,-1.0192009210586548,-0.1974818855524063,-0.3081420958042145,1.0016270875930786,-0.26530587673187256,-1.0024406909942627,0.048961445689201355,0.1289002001285553,1.784069538116455,0.9925961494445801,1.5009355545043945,-1.975591778755188,0.19125431776046753,-0.18589819967746735,0.28991737961769104,-0.07403917610645294,-0.882352888584137,0.48747047781944275,0.27997109293937683,0.8181595802307129,-1.0816043615341187,0.9812057018280029,1.0989340543746948,0.3251565992832184,-0.011049751192331314,-0.22575713694095612,0.27829810976982117,0.016709379851818085,-0.28315430879592896,0.7641363143920898,0.1443052589893341,1.0568708181381226,0.4763241112232208,-0.10735496878623962,0.3172697126865387,1.6594254970550537,0.27619799971580505,0.9304368495941162,-1.8677079677581787,-0.7317548990249634,-1.4050930738449097,0.03513749688863754,1.9310063123703003,-0.050138309597969055,1.8029451370239258,-0.563664436340332,-0.15313540399074554,-0.8675453066825867,1.7240256071090698,-0.6136196851730347,0.6729313731193542,0.4255755841732025,-1.3657146692276,0.4255755841732025,-0.041355203837156296,-1.1299324035644531,0.11435576528310776,-0.5752582550048828,-0.822959840297699,0.39316365122795105,-0.33978110551834106,0.9708729386329651,-0.8303636312484741,-1.1011308431625366,1.4055812358856201,-0.9025302529335022,0.3639654815196991,-1.3512325286865234,0.3362724483013153,-0.6783825159072876,-0.2629829943180084,0.10305812209844589,-1.0269302129745483,0.19492919743061066,-0.4382067918777466,0.9999999403953552,-0.6075990200042725,0.531364381313324,0.4330708980560303,0.8488324284553528,0.7251647114753723,0.46550318598747253,0.10104572772979736,-0.04132310301065445,-0.12249816209077835,-1.179724931716919,-1.065088152885437,1.8750303983688354,-0.16509029269218445,1.3203155994415283,-0.019854463636875153,-0.9725001454353333,-0.1041564866900444,0.8642095327377319,-1.3255226612091064,-1.0864859819412231,-0.5603896379470825,-0.9333658218383789,-0.05263759195804596,-3.4792935848236084,0.9930843114852905,-0.5366934537887573,-1.0510941743850708,0.6214302778244019,0.7854527235031128,1.4150190353393555,0.9637132287025452,1.6353428363800049,0.18523715436458588,0.345354288816452,-0.6414042115211487,-2.026360511779785,0.1562042236328125,0.4887163043022156,0.5700919032096863,-0.26436007022857666,0.025221705436706543,0.42795538902282715,0.2845882773399353,1.5106987953186035,1.1051174402236938,-0.38532257080078125,1.5116751194000244,-1.9433730840682983,-1.0737937688827515,0.027436232194304466,0.3660401701927185,-1.0374256372451782,0.01943495124578476,-0.9000080823898315,-0.10201569646596909,0.2974940836429596,-1.384427547454834,0.4911723732948303,-1.6617035865783691,-0.5156618356704712,1.0887640714645386,-0.6165893077850342,0.567122220993042,0.6642664670944214,0.93637615442276,0.6938409805297852,-0.29019197821617126,-0.8907736539840698,-0.7469692826271057,-0.6551948189735413,0.21092668175697327,0.42589086294174194,0.3124440312385559,-0.7478642463684082,0.9813684225082397,0.4739239811897278,-0.470262736082077,-0.07313785701990128,-0.9988608956336975,0.20065493881702423,1.0375070571899414,0.10233477503061295,0.1650775671005249,-0.2537730634212494,0.002995077520608902,0.16078580915927887,1.488080620765686,1.5530061721801758,1.2632006406784058,-0.7531526684761047,-0.030179601162672043,0.1502307504415512,0.29901957511901855,0.017533153295516968,2.031404972076416,0.2043771743774414,0.7556748390197754,-0.10932286828756332,0.11928188055753708,-0.811813473701477,-0.21649986505508423,0.2076531946659088,-0.7710519433021545,0.09314614534378052,-0.11868058145046234,0.3341875970363617,-1.2164998054504395,0.6750060319900513,0.8341875672340393,-0.32401755452156067,1.8890243768692017,0.47579526901245117,1.0584166049957275,0.27705228328704834,-0.46647951006889343,-1.0628100633621216,-0.37755265831947327,1.0749328136444092,-1.0677731037139893,-0.4157920181751251,-0.8381742238998413,-0.4623708128929138,-0.4708729684352875,0.9440240263938904,0.5929948091506958,-1.017248272895813,-1.225774884223938,0.38418352603912354,-0.32677361369132996,0.04043862968683243,0.521072268486023,1.1691480875015259,1.4060693979263306,-0.694410502910614,0.5797737836837769,-0.8005857467651367,-0.474168062210083,1.4457732439041138,-0.6213895678520203,-0.34163713455200195,0.7819542288780212,0.07163014262914658,-0.29306501150131226,0.41703274846076965,-0.4247009754180908,-1.4602553844451904,0.054902974516153336,0.07302090525627136,0.19986675679683685,0.5235537886619568,0.16713447868824005,-0.6630054116249084,1.4742493629455566,-0.3975673019886017,1.390610933303833,-1.0430395603179932,-0.06722524762153625,-0.36135175824165344,2.004230499267578,0.5010576248168945,-0.2863375246524811,0.6887152791023254,-0.4719662368297577,-0.24076049029827118,-0.35745665431022644,0.07443200051784515,0.08794035762548447,-0.31770193576812744,-0.24873889982700348,-1.3424456119537354,-0.811406672000885,-0.36233827471733093,0.2053331583738327,-0.678463876247406,-0.8254006505012512,0.5704987049102783,1.142217755317688,-0.5216825008392334,1.0824179649353027,-0.3708099126815796,-0.24275891482830048,0.402550607919693,-0.20712308585643768,-1.2342363595962524,-0.28927668929100037,0.1319410353899002,0.008493256755173206,-0.3820071220397949,1.0125293731689453,0.9454885125160217,-0.8794239163398743,0.5007728934288025,-0.10549988597631454,-0.6261084675788879,0.47441214323043823,-0.8759254217147827,-0.39927586913108826,1.0770481824874878,0.2727198600769043,-1.0709460973739624,0.12576019763946533,-0.3839190900325775,1.0081359148025513,1.0977137088775635,-0.5937677621841431,-0.17581969499588013,0.4037710130214691,-0.5492636561393738,1.5001219511032104,-0.13504290580749512,0.3928077220916748,-0.5837197303771973,-0.9870636463165283,0.9681880474090576,0.16884811222553253,-0.3557887673377991,0.8737286925315857,1.0206654071807861,0.8615246415138245,1.138637900352478,0.07855848968029022,-1.2205678224563599,0.6091448664665222,0.6103855967521667,0.7448539137840271,-0.21146568655967712,0.30982017517089844,-0.03570955991744995,-0.38028839230537415,-0.1545592099428177,-0.6624765396118164,1.8685215711593628,0.8098608255386353,-0.7189813256263733,-0.8790171146392822,0.36933526396751404,0.224127396941185,1.142217755317688,0.044173579663038254,-0.6829386949539185,-1.9563907384872437,-0.730290412902832,-1.4220160245895386,0.46176061034202576,0.15494059026241302,0.04664299264550209,0.676551878452301,-1.562606692314148,-1.3691318035125732,0.45163124799728394,0.2369721531867981,1.8333739042282104,0.9433731436729431,0.20190584659576416,-1.6359937191009521,0.10776177048683167,0.5545113682746887,-1.0508501529693604,-0.05336475372314453,-0.2526543438434601,1.0585793256759644,0.5127735137939453,-0.871206521987915,1.1644291877746582,0.7358229160308838,0.1041412353515625,0.4035472869873047,-0.5221502780914307,-0.8035960793495178,0.8428117632865906,0.6189081072807312,3.0015456676483154,0.017573833465576172,-2.0553247928619385,-1.366690993309021,-1.316084861755371,0.3073996901512146,-0.015736868605017662,0.06600357592105865,-0.6525912880897522,0.16013748943805695,1.222927212715149,1.28598153591156,0.6911560893058777,0.9947115182876587,0.12980787456035614,0.14768092334270477,-0.8900821208953857,-0.8457407355308533,0.30977949500083923,0.5701732635498047,0.5577251315116882,0.920836329460144,0.9196159243583679,-0.6535676121711731,0.7433487176895142,0.07563460618257523,-0.9875518083572388,0.8560734987258911,-1.2778455018997192,-1.222927212715149,1.2308192253112793,-1.2500202655792236,0.47994464635849,0.15188957750797272,0.8411845564842224,0.26344063878059387,-1.0400291681289673,0.1624317765235901,0.7075501680374146,-1.1455535888671875,0.015425411984324455,1.069481611251831,0.23152101039886475,-0.46938812732696533,-1.0965746641159058,-1.193881630897522,0.16106167435646057,0.3022027909755707,-0.48759251832962036,0.5682206153869629,-0.00193103589117527,0.8758440613746643,-0.4589536786079407,-0.8529818058013916,0.41900575160980225,-0.2584843337535858,-1.683019995689392,-0.7566511631011963,0.05584370344877243,0.492344468832016,1.2012040615081787,-0.49056217074394226,-0.052233338356018066,0.5081766843795776,0.8235293626785278,0.07130216807126999,0.27442842721939087,-0.35143598914146423,1.0883572101593018,-0.16220200061798096,-1.342771053314209,0.03398828208446503,-0.3181392550468445,-1.1846065521240234,-1.8751931190490723,1.0091122388839722,-0.8992758393287659,-0.03720710054039955,0.4017166793346405,-0.6287933588027954,-2.1295254230499268,-0.7475388050079346,0.130275696516037,1.0785126686096191,0.20805872976779938,-0.5377104878425598,-0.6204946041107178,-0.5317304730415344,-0.037423212081193924,-0.2916768193244934,-0.43979331851005554,0.29799240827560425,-0.2537323832511902,-0.5002135038375854,0.14448943734169006,-0.5993409156799316,1.1791553497314453,-0.30703356862068176,0.9446749091148376,-1.630786657333374,-0.8591651916503906,-0.0033866241574287415,0.36254167556762695,-0.004249807447195053,0.32686516642570496,-0.5293303728103638,0.5163533687591553,-2.0157837867736816,-0.6781384348869324,0.7338295578956604,0.15924760699272156,-0.168588787317276,0.4888129234313965,-0.38728538155555725,0.16332578659057617,0.6527946591377258,-0.4343421757221222,-0.3203766644001007,0.013200715184211731,-0.6772434711456299,-0.1904899775981903,0.30190786719322205,0.565047562122345,0.9118866920471191,-0.6262711882591248,-0.9520787000656128,0.591571033000946,0.3838987648487091,0.5505654215812683,-0.5428361892700195,-0.3760678172111511,0.3124847114086151,0.18205392360687256,1.84004545211792,-0.11165180802345276,0.4296639561653137,-0.011573508381843567,1.2119436264038086,1.0279878377914429,-0.6831827759742737,0.20380765199661255,-0.18808729946613312,-1.104385256767273,1.4363354444503784,-0.8281669020652771,1.031404972076416,-0.6899763345718384,-0.03650028258562088,-0.19079507887363434,0.32088515162467957,-0.33371976017951965,-2.090472459793091,1.0826619863510132,-1.1741924285888672,-0.08000517636537552,-1.8162882328033447,1.0200145244598389,-1.0983645915985107,0.9087949991226196,0.1620825082063675,1.1611747741699219,1.1071515083312988,0.40214380621910095,0.15418800711631775,0.5854690074920654,-0.1485995650291443,0.9588316082954407,0.964282751083374,0.9485802054405212,0.8383369445800781,-0.5366528034210205,0.6510454416275024,0.9247416257858276,0.7609225511550903,-0.6744365096092224,0.23475508391857147,-0.4881416857242584,1.4864534139633179,-0.7917174696922302,-1.7586851119995117,-1.5896183252334595,-0.059967655688524246,0.1934138685464859,0.971849262714386,-0.3442355990409851,-0.12051436305046082,-0.022381722927093506,0.367138534784317,-0.35052067041397095,-1.9515091180801392,-0.05421395227313042,1.3123422861099243,0.24658285081386566,0.3290822207927704,-1.2555527687072754,0.8280855417251587,0.7195508480072021,1.2314701080322266,-0.5368561744689941,0.7489219307899475,0.24849481880664825,-1.2898868322372437,-0.28633373975753784,-0.2349890023469925,-1.584736704826355,0.8380928635597229,-0.4146529734134674,1.0072410106658936,-0.7747131586074829,1.463916540145874,-1.7106825113296509,-1.3331705331802368,-0.30474531650543213,-0.47864288091659546,-0.3121185898780823,-0.8158814907073975,0.7289072871208191,-1.2872833013534546,-0.163048654794693,-0.5645594000816345,0.24173173308372498,-1.0541858673095703,0.18212512135505676,0.9039947390556335,0.5823366045951843,0.2883512079715729,0.04845326021313667,1.1518182754516602,0.31325763463974,-0.20304997265338898,1.002359390258789,-0.3016841411590576,0.39628586173057556,-1.0962492227554321,1.1443331241607666,0.0887819230556488,0.26539739966392517,-0.7255715131759644,-0.418497234582901,-1.4220160245895386,-0.19116628170013428,0.785290002822876,-1.2428605556488037,-0.9212431311607361,-0.834919810295105,-0.11953105032444,0.1784435659646988,0.31179314851760864,-1.196485161781311,1.6198843717575073,-0.6111381649971008,-0.7423317432403564,0.6734195351600647,-0.6527946591377258,0.9428036212921143,-0.21886439621448517,0.45848584175109863,-1.16971755027771,-0.2775404453277588,-1.3517206907272339,-0.733870267868042,0.14106610417366028,-0.19958707690238953,0.8265396952629089,-0.007050380110740662,-0.17914529144763947,-0.6211861968040466,-0.2320396900177002,1.2341549396514893,1.0259538888931274,0.1576356589794159,-0.9085509181022644,0.6547066569328308,-0.5606541037559509,0.42371445894241333,-0.1655174344778061,0.4416239261627197,-1.2028312683105469,1.644129753112793,2.8755998611450195,-0.8098608255386353,0.6910747289657593,0.025977464392781258,-0.5700105428695679,-0.10930570214986801,-0.16829131543636322,-1.340981125831604,-0.8517614006996155,-0.21953053772449493]}
2024-05-21 18:54:25,813 DEBUG [org.jbo.res.rea.com.cor.AbstractResteasyReactiveContext] (vert.x-eventloop-thread-2) Restarting handler chain for exception exception: jakarta.json.bind.JsonbException: Cannot create instance of a class: class io.quarkiverse.langchain4j.ollama.EmbeddingResponse, No default constructor found.

The problem occurs in version 0.14.1.
After adding the constructor in the EmbeddingResponse.java file in quarkus-langchain4j-ollama :
package io.quarkiverse.langchain4j.ollama;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder;

@JsonDeserialize(builder = EmbeddingResponse.Builder.class)
public class EmbeddingResponse {

    private float[] embedding;

    public EmbeddingResponse() {
    }

    private EmbeddingResponse(Builder builder) {
        embedding = builder.embedding;
    }

    public float[] getEmbedding() {
        return embedding;
    }

    public void setEmbedding(float[] embedding) {
        this.embedding = embedding;
    }

    @JsonPOJOBuilder(withPrefix = "")
    public static final class Builder {
        private float[] embedding;

        private Builder() {
        }

        public Builder embedding(float[] val) {
            embedding = val;
            return this;
        }

        public EmbeddingResponse build() {
            return new EmbeddingResponse(this);
        }
    }

}

Works correctly :
2024-05-21 19:26:42,899 INFO  [io.qua.lan.oll.OllamaRestApi$OllamaLogger] (vert.x-eventloop-thread-2) Request:
- method: POST
- url: http://localhost:11434/api/embeddings
- headers: [Accept: application/json], [Content-Type: application/json], [User-Agent: Quarkus REST Client], [content-length: 64]
- body: {
  "model" : "nomic-embed-text",
  "prompt" : "Jakiś tekst."
}
2024-05-21 19:26:44,440 INFO  [io.qua.lan.oll.OllamaRestApi$OllamaLogger] (vert.x-eventloop-thread-2) Response:
- status code: 200
- headers: [Content-Type: application/json; charset=utf-8], [Date: Tue, 21 May 2024 17:26:44 GMT], [Transfer-Encoding: chunked]
- body: {"embedding":[1.2152793407440186,0.7061670422554016,-3.920266628265381,-0.15716147422790527,0.1636817455291748,0.40220484137535095,-0.10822450369596481,1.1845251321792603,-0.7441623210906982,-0.5174110531806946,-1.770889163017273,0.035071391612291336,1.6755348443984985,0.6936782598495483,1.176145076751709,-1.1741924285888672,-0.918232798576355,-0.6608086824417114,-0.5158448815345764,0.7021397352218628,-0.343803346157074,-0.0694512203335762,0.6995362043380737,-0.18004025518894196,-1.240907907485962,0.771946907043457,-0.18770591914653778,0.19963793456554413,-0.1739630252122879,-0.1726313829421997,-0.5771702527999878,-1.3131558895111084,-0.09595434367656708,1.5054917335510254,0.04286672919988632,-1.4843380451202393,2.544625997543335,1.5172076225280762,1.2872018814086914,-0.2609632909297943,-0.5731022357940674,0.8018061518669128,-0.747904896736145,-1.3333332538604736,0.3897770345211029,-1.271011233329773,-0.21130041778087616,0.3321129083633423,0.4450817406177521,-0.777601420879364,0.29190054535865784,0.4553738236427307,-0.18283700942993164,-1.1479129791259766,2.140427827835083,1.1868846416473389,0.7155641913414001,0.43868476152420044,0.785290002822876,-1.303718090057373,0.5114717483520508,1.2778455018997192,-2.171344757080078,1.317874789237976,0.47046616673469543,-1.567000150680542,-1.5473109483718872,1.4016759395599365,-0.8004230260848999,-0.8084776997566223,0.8006671071052551,-0.9349930286407471,0.1590569168329239,1.9726628065109253,-1.4984947443008423,0.24800410866737366,-0.2042602151632309,0.46867623925209045,-0.0708979070186615,0.20377713441848755,0.668700635433197,-1.081278920173645,0.7992839813232422,0.1736026257276535,0.5328491926193237,-0.34551700949668884,-0.3956960141658783,0.4383695125579834,-0.4075542688369751,0.9364575147628784,0.30667760968208313,1.6952240467071533,0.6417703628540039,1.114962100982666,0.6931087374687195,0.9174191951751709,-0.3557582497596741,-0.02837441861629486,-0.5174110531806946,0.06343817710876465,-0.5818891525268555,-0.5007321834564209,0.9450817108154297,0.05762346088886261,1.326824426651001,0.09497802704572678,1.150435209274292,-0.04750029370188713,-1.3670164346694946,-1.5211129188537598,0.02382650226354599,0.02905835397541523,-0.35161903500556946,-1.388576865196228,-0.4024896025657654,-0.7856154441833496,0.36850130558013916,-1.1656495332717896,0.06940927356481552,0.09664082527160645,-0.8817020058631897,-0.1855829358100891,-0.5980798602104187,1.111382246017456,0.0714750587940216,0.9333658218383789,-1.125538945198059,0.21894067525863647,0.06966733187437057,-1.0577657222747803,-0.5962899327278137,0.9235212206840515,-1.0192009210586548,-0.1974818855524063,-0.3081420958042145,1.0016270875930786,-0.26530587673187256,-1.0024406909942627,0.048961445689201355,0.1289002001285553,1.784069538116455,0.9925961494445801,1.5009355545043945,-1.975591778755188,0.19125431776046753,-0.18589819967746735,0.28991737961769104,-0.07403917610645294,-0.882352888584137,0.48747047781944275,0.27997109293937683,0.8181595802307129,-1.0816043615341187,0.9812057018280029,1.0989340543746948,0.3251565992832184,-0.011049751192331314,-0.22575713694095612,0.27829810976982117,0.016709379851818085,-0.28315430879592896,0.7641363143920898,0.1443052589893341,1.0568708181381226,0.4763241112232208,-0.10735496878623962,0.3172697126865387,1.6594254970550537,0.27619799971580505,0.9304368495941162,-1.8677079677581787,-0.7317548990249634,-1.4050930738449097,0.03513749688863754,1.9310063123703003,-0.050138309597969055,1.8029451370239258,-0.563664436340332,-0.15313540399074554,-0.8675453066825867,1.7240256071090698,-0.6136196851730347,0.6729313731193542,0.4255755841732025,-1.3657146692276,0.4255755841732025,-0.041355203837156296,-1.1299324035644531,0.11435576528310776,-0.5752582550048828,-0.822959840297699,0.39316365122795105,-0.33978110551834106,0.9708729386329651,-0.8303636312484741,-1.1011308431625366,1.4055812358856201,-0.9025302529335022,0.3639654815196991,-1.3512325286865234,0.3362724483013153,-0.6783825159072876,-0.2629829943180084,0.10305812209844589,-1.0269302129745483,0.19492919743061066,-0.4382067918777466,0.9999999403953552,-0.6075990200042725,0.531364381313324,0.4330708980560303,0.8488324284553528,0.7251647114753723,0.46550318598747253,0.10104572772979736,-0.04132310301065445,-0.12249816209077835,-1.179724931716919,-1.065088152885437,1.8750303983688354,-0.16509029269218445,1.3203155994415283,-0.019854463636875153,-0.9725001454353333,-0.1041564866900444,0.8642095327377319,-1.3255226612091064,-1.0864859819412231,-0.5603896379470825,-0.9333658218383789,-0.05263759195804596,-3.4792935848236084,0.9930843114852905,-0.5366934537887573,-1.0510941743850708,0.6214302778244019,0.7854527235031128,1.4150190353393555,0.9637132287025452,1.6353428363800049,0.18523715436458588,0.345354288816452,-0.6414042115211487,-2.026360511779785,0.1562042236328125,0.4887163043022156,0.5700919032096863,-0.26436007022857666,0.025221705436706543,0.42795538902282715,0.2845882773399353,1.5106987953186035,1.1051174402236938,-0.38532257080078125,1.5116751194000244,-1.9433730840682983,-1.0737937688827515,0.027436232194304466,0.3660401701927185,-1.0374256372451782,0.01943495124578476,-0.9000080823898315,-0.10201569646596909,0.2974940836429596,-1.384427547454834,0.4911723732948303,-1.6617035865783691,-0.5156618356704712,1.0887640714645386,-0.6165893077850342,0.567122220993042,0.6642664670944214,0.93637615442276,0.6938409805297852,-0.29019197821617126,-0.8907736539840698,-0.7469692826271057,-0.6551948189735413,0.21092668175697327,0.42589086294174194,0.3124440312385559,-0.7478642463684082,0.9813684225082397,0.4739239811897278,-0.470262736082077,-0.07313785701990128,-0.9988608956336975,0.20065493881702423,1.0375070571899414,0.10233477503061295,0.1650775671005249,-0.2537730634212494,0.002995077520608902,0.16078580915927887,1.488080620765686,1.5530061721801758,1.2632006406784058,-0.7531526684761047,-0.030179601162672043,0.1502307504415512,0.29901957511901855,0.017533153295516968,2.031404972076416,0.2043771743774414,0.7556748390197754,-0.10932286828756332,0.11928188055753708,-0.811813473701477,-0.21649986505508423,0.2076531946659088,-0.7710519433021545,0.09314614534378052,-0.11868058145046234,0.3341875970363617,-1.2164998054504395,0.6750060319900513,0.8341875672340393,-0.32401755452156067,1.8890243768692017,0.47579526901245117,1.0584166049957275,0.27705228328704834,-0.46647951006889343,-1.0628100633621216,-0.37755265831947327,1.0749328136444092,-1.0677731037139893,-0.4157920181751251,-0.8381742238998413,-0.4623708128929138,-0.4708729684352875,0.9440240263938904,0.5929948091506958,-1.017248272895813,-1.225774884223938,0.38418352603912354,-0.32677361369132996,0.04043862968683243,0.521072268486023,1.1691480875015259,1.4060693979263306,-0.694410502910614,0.5797737836837769,-0.8005857467651367,-0.474168062210083,1.4457732439041138,-0.6213895678520203,-0.34163713455200195,0.7819542288780212,0.07163014262914658,-0.29306501150131226,0.41703274846076965,-0.4247009754180908,-1.4602553844451904,0.054902974516153336,0.07302090525627136,0.19986675679683685,0.5235537886619568,0.16713447868824005,-0.6630054116249084,1.4742493629455566,-0.3975673019886017,1.390610933303833,-1.0430395603179932,-0.06722524762153625,-0.36135175824165344,2.004230499267578,0.5010576248168945,-0.2863375246524811,0.6887152791023254,-0.4719662368297577,-0.24076049029827118,-0.35745665431022644,0.07443200051784515,0.08794035762548447,-0.31770193576812744,-0.24873889982700348,-1.3424456119537354,-0.811406672000885,-0.36233827471733093,0.2053331583738327,-0.678463876247406,-0.8254006505012512,0.5704987049102783,1.142217755317688,-0.5216825008392334,1.0824179649353027,-0.3708099126815796,-0.24275891482830048,0.402550607919693,-0.20712308585643768,-1.2342363595962524,-0.28927668929100037,0.1319410353899002,0.008493256755173206,-0.3820071220397949,1.0125293731689453,0.9454885125160217,-0.8794239163398743,0.5007728934288025,-0.10549988597631454,-0.6261084675788879,0.47441214323043823,-0.8759254217147827,-0.39927586913108826,1.0770481824874878,0.2727198600769043,-1.0709460973739624,0.12576019763946533,-0.3839190900325775,1.0081359148025513,1.0977137088775635,-0.5937677621841431,-0.17581969499588013,0.4037710130214691,-0.5492636561393738,1.5001219511032104,-0.13504290580749512,0.3928077220916748,-0.5837197303771973,-0.9870636463165283,0.9681880474090576,0.16884811222553253,-0.3557887673377991,0.8737286925315857,1.0206654071807861,0.8615246415138245,1.138637900352478,0.07855848968029022,-1.2205678224563599,0.6091448664665222,0.6103855967521667,0.7448539137840271,-0.21146568655967712,0.30982017517089844,-0.03570955991744995,-0.38028839230537415,-0.1545592099428177,-0.6624765396118164,1.8685215711593628,0.8098608255386353,-0.7189813256263733,-0.8790171146392822,0.36933526396751404,0.224127396941185,1.142217755317688,0.044173579663038254,-0.6829386949539185,-1.9563907384872437,-0.730290412902832,-1.4220160245895386,0.46176061034202576,0.15494059026241302,0.04664299264550209,0.676551878452301,-1.562606692314148,-1.3691318035125732,0.45163124799728394,0.2369721531867981,1.8333739042282104,0.9433731436729431,0.20190584659576416,-1.6359937191009521,0.10776177048683167,0.5545113682746887,-1.0508501529693604,-0.05336475372314453,-0.2526543438434601,1.0585793256759644,0.5127735137939453,-0.871206521987915,1.1644291877746582,0.7358229160308838,0.1041412353515625,0.4035472869873047,-0.5221502780914307,-0.8035960793495178,0.8428117632865906,0.6189081072807312,3.0015456676483154,0.017573833465576172,-2.0553247928619385,-1.366690993309021,-1.316084861755371,0.3073996901512146,-0.015736868605017662,0.06600357592105865,-0.6525912880897522,0.16013748943805695,1.222927212715149,1.28598153591156,0.6911560893058777,0.9947115182876587,0.12980787456035614,0.14768092334270477,-0.8900821208953857,-0.8457407355308533,0.30977949500083923,0.5701732635498047,0.5577251315116882,0.920836329460144,0.9196159243583679,-0.6535676121711731,0.7433487176895142,0.07563460618257523,-0.9875518083572388,0.8560734987258911,-1.2778455018997192,-1.222927212715149,1.2308192253112793,-1.2500202655792236,0.47994464635849,0.15188957750797272,0.8411845564842224,0.26344063878059387,-1.0400291681289673,0.1624317765235901,0.7075501680374146,-1.1455535888671875,0.015425411984324455,1.069481611251831,0.23152101039886475,-0.46938812732696533,-1.0965746641159058,-1.193881630897522,0.16106167435646057,0.3022027909755707,-0.48759251832962036,0.5682206153869629,-0.00193103589117527,0.8758440613746643,-0.4589536786079407,-0.8529818058013916,0.41900575160980225,-0.2584843337535858,-1.683019995689392,-0.7566511631011963,0.05584370344877243,0.492344468832016,1.2012040615081787,-0.49056217074394226,-0.052233338356018066,0.5081766843795776,0.8235293626785278,0.07130216807126999,0.27442842721939087,-0.35143598914146423,1.0883572101593018,-0.16220200061798096,-1.342771053314209,0.03398828208446503,-0.3181392550468445,-1.1846065521240234,-1.8751931190490723,1.0091122388839722,-0.8992758393287659,-0.03720710054039955,0.4017166793346405,-0.6287933588027954,-2.1295254230499268,-0.7475388050079346,0.130275696516037,1.0785126686096191,0.20805872976779938,-0.5377104878425598,-0.6204946041107178,-0.5317304730415344,-0.037423212081193924,-0.2916768193244934,-0.43979331851005554,0.29799240827560425,-0.2537323832511902,-0.5002135038375854,0.14448943734169006,-0.5993409156799316,1.1791553497314453,-0.30703356862068176,0.9446749091148376,-1.630786657333374,-0.8591651916503906,-0.0033866241574287415,0.36254167556762695,-0.004249807447195053,0.32686516642570496,-0.5293303728103638,0.5163533687591553,-2.0157837867736816,-0.6781384348869324,0.7338295578956604,0.15924760699272156,-0.168588787317276,0.4888129234313965,-0.38728538155555725,0.16332578659057617,0.6527946591377258,-0.4343421757221222,-0.3203766644001007,0.013200715184211731,-0.6772434711456299,-0.1904899775981903,0.30190786719322205,0.565047562122345,0.9118866920471191,-0.6262711882591248,-0.9520787000656128,0.591571033000946,0.3838987648487091,0.5505654215812683,-0.5428361892700195,-0.3760678172111511,0.3124847114086151,0.18205392360687256,1.84004545211792,-0.11165180802345276,0.4296639561653137,-0.011573508381843567,1.2119436264038086,1.0279878377914429,-0.6831827759742737,0.20380765199661255,-0.18808729946613312,-1.104385256767273,1.4363354444503784,-0.8281669020652771,1.031404972076416,-0.6899763345718384,-0.03650028258562088,-0.19079507887363434,0.32088515162467957,-0.33371976017951965,-2.090472459793091,1.0826619863510132,-1.1741924285888672,-0.08000517636537552,-1.8162882328033447,1.0200145244598389,-1.0983645915985107,0.9087949991226196,0.1620825082063675,1.1611747741699219,1.1071515083312988,0.40214380621910095,0.15418800711631775,0.5854690074920654,-0.1485995650291443,0.9588316082954407,0.964282751083374,0.9485802054405212,0.8383369445800781,-0.5366528034210205,0.6510454416275024,0.9247416257858276,0.7609225511550903,-0.6744365096092224,0.23475508391857147,-0.4881416857242584,1.4864534139633179,-0.7917174696922302,-1.7586851119995117,-1.5896183252334595,-0.059967655688524246,0.1934138685464859,0.971849262714386,-0.3442355990409851,-0.12051436305046082,-0.022381722927093506,0.367138534784317,-0.35052067041397095,-1.9515091180801392,-0.05421395227313042,1.3123422861099243,0.24658285081386566,0.3290822207927704,-1.2555527687072754,0.8280855417251587,0.7195508480072021,1.2314701080322266,-0.5368561744689941,0.7489219307899475,0.24849481880664825,-1.2898868322372437,-0.28633373975753784,-0.2349890023469925,-1.584736704826355,0.8380928635597229,-0.4146529734134674,1.0072410106658936,-0.7747131586074829,1.463916540145874,-1.7106825113296509,-1.3331705331802368,-0.30474531650543213,-0.47864288091659546,-0.3121185898780823,-0.8158814907073975,0.7289072871208191,-1.2872833013534546,-0.163048654794693,-0.5645594000816345,0.24173173308372498,-1.0541858673095703,0.18212512135505676,0.9039947390556335,0.5823366045951843,0.2883512079715729,0.04845326021313667,1.1518182754516602,0.31325763463974,-0.20304997265338898,1.002359390258789,-0.3016841411590576,0.39628586173057556,-1.0962492227554321,1.1443331241607666,0.0887819230556488,0.26539739966392517,-0.7255715131759644,-0.418497234582901,-1.4220160245895386,-0.19116628170013428,0.785290002822876,-1.2428605556488037,-0.9212431311607361,-0.834919810295105,-0.11953105032444,0.1784435659646988,0.31179314851760864,-1.196485161781311,1.6198843717575073,-0.6111381649971008,-0.7423317432403564,0.6734195351600647,-0.6527946591377258,0.9428036212921143,-0.21886439621448517,0.45848584175109863,-1.16971755027771,-0.2775404453277588,-1.3517206907272339,-0.733870267868042,0.14106610417366028,-0.19958707690238953,0.8265396952629089,-0.007050380110740662,-0.17914529144763947,-0.6211861968040466,-0.2320396900177002,1.2341549396514893,1.0259538888931274,0.1576356589794159,-0.9085509181022644,0.6547066569328308,-0.5606541037559509,0.42371445894241333,-0.1655174344778061,0.4416239261627197,-1.2028312683105469,1.644129753112793,2.8755998611450195,-0.8098608255386353,0.6910747289657593,0.025977464392781258,-0.5700105428695679,-0.10930570214986801,-0.16829131543636322,-1.340981125831604,-0.8517614006996155,-0.21953053772449493]}
vector: 768
2024-05-21 19:26:44,460 DEBUG [io.qua.run.Application] (Quarkus Main Thread) Stopping application

Thanks for reporting!
Do you want to provide a PR?

OK.

🙏

Sorry, I just looked at this more closely and I was wrong to propose adding the constructor.
The error comes from JSONB, which should not be used at all.
What extensions are you using in the application?

I use quarkus-rest-client-jsonb and quarkus-rest-jsonb to communicate with other modules.
After removing quarkus-rest-client-jsonb and quarkus-rest-jsonb the error doesn't appear.
This means that can't use JSON-B if  use quarkus-langchain4j.

This means that can't use JSON-B if use quarkus-langchain4j.

It means that we have to make sure in this module that nothing changes whether or not JSONB exists on the classpath or not :).
I'll have a look soon

The qdrant database is probably not running.

I added a very simple example.
Trying to call:
curl http://localhost:8080/ollama
ends with:
2024-11-10 19:27:19,073 INFO  [io.qua.lan.oll.OllamaRestApi$OllamaLogger] (vert.x-eventloop-thread-0) Request:
- method: POST
- url: http://localhost:11434/api/chat
- headers: [Accept: application/json], [Content-Type: application/json], [User-Agent: Quarkus REST Client], [content-length: 314]
- body: {
  "model" : "llama3.2",
  "messages" : [ {
    "role" : "system",
    "content" : "Answer concisely."
  }, {
    "role" : "user",
    "content" : "Describe Quine–McCluskey algorithm."
  } ],
  "tools" : [ ],
  "options" : {
    "temperature" : 0.8,
    "top_k" : 40,
    "top_p" : 0.9
  },
  "stream" : false
}
2024-11-10 19:27:20,283 INFO  [io.qua.lan.oll.OllamaRestApi$OllamaLogger] (vert.x-eventloop-thread-0) Response:
- status code: 200
- headers: [Content-Type: application/json; charset=utf-8], [Date: Sun, 10 Nov 2024 18:27:20 GMT], [Content-Length: 1013]
- body: {
  "model" : "llama3.2",
  "created_at" : "2024-11-10T18:27:20.280248928Z",
  "message" : {
    "role" : "assistant",
    "content" : "The Quine-McCluskey algorithm is a method used to minimize Boolean algebraic expressions by reducing the number of logic gates required for implementation. It works as follows:\n\n1. **Step 1: Sorting**: Sort the terms in decreasing order based on the number of variables.\n2. **Step 2: Merging**: Find adjacent terms that differ by exactly one variable and merge them into a new term.\n3. **Step 3: Elimination**: If two terms can be combined using an OR operation, eliminate one of the variables to simplify the expression.\n4. **Step 4: Repeat**: Continue Steps 2-3 until no further simplifications are possible.\n\nThe algorithm produces a minimized Boolean expression with the fewest number of logic gates required."
  },
  "done_reason" : "stop",
  "done" : true,
  "total_duration" :<PHONE_NUMBER>,
  "load_duration" : 8544055,
  "prompt_eval_count" : 40,
  "prompt_eval_duration" : 47000000,
  "eval_count" : 156,
  "eval_duration" : 821000000
}
2024-11-10 19:27:20,300 DEBUG [org.jbo.res.rea.cli.han.ClientErrorHandler] (vert.x-eventloop-thread-0) Failure: POST http://localhost:11434/api/chat, Error[Internal error: No enum constant io.quarkiverse.langchain4j.ollama.Role.assistant]: jakarta.json.bind.JsonbException: Internal error: No enum constant io.quarkiverse.langchain4j.ollama.Role.assistant
	at org.eclipse.yasson.internal.DeserializationContextImpl.deserializeItem(DeserializationContextImpl.java:142)
	at org.eclipse.yasson.internal.DeserializationContextImpl.deserialize(DeserializationContextImpl.java:127)
	at org.eclipse.yasson.internal.JsonBinding.deserialize(JsonBinding.java:55)
	at org.eclipse.yasson.internal.JsonBinding.fromJson(JsonBinding.java:102)
	at org.jboss.resteasy.reactive.server.jsonb.JsonbMessageBodyReader.doReadFrom(JsonbMessageBodyReader.java:57)
	at org.jboss.resteasy.reactive.server.jsonb.JsonbMessageBodyReader.readFrom(JsonbMessageBodyReader.java:33)
	at org.jboss.resteasy.reactive.client.impl.ClientReaderInterceptorContextImpl.proceed(ClientReaderInterceptorContextImpl.java:86)
	at io.quarkiverse.langchain4j.ollama.OllamaRestApi$OllamaRestApiReaderInterceptor.aroundReadFrom(OllamaRestApi.java:86)
	at org.jboss.resteasy.reactive.client.impl.ClientReaderInterceptorContextImpl.proceed(ClientReaderInterceptorContextImpl.java:134)
	at org.jboss.resteasy.reactive.client.impl.ClientSerialisers.invokeClientReader(ClientSerialisers.java:160)

just remove the section in pom:
        <dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-rest-client-jsonb</artifactId>
        </dependency>

and the problem disappears.
a simple example may be useful:
https://github.com/duchamk/quarkus-ollama-sample

What version of Quarkus and Quarkus LangChain4j are you using?
Most samples work if you replace the OpenAI extension with Ollama

quarkus - 3.16.2
quarkus-langchain4j - 0.21.0

Indeed this is same problem as originally reported and although I totally agree it's not a great user experience, I haven't yet found a way to address it that would not break existing code...

Maybe there is another way. Unfortunately I don't know how the library management mechanism works in this case. I'll take a look at it.

I have fixed it for now


AI trait assigner issue

Bug report forwarded from steam workshop
Reportee: Sebi
Random created organic species ALL have the Decadent trait, which is the only trait on their main template, while they all get a sub-template with the other traits, which is their actual population (still including decadent + others).

Fixed!


Update enable-permissions-management.md

Updated a statement regarding the assignment of CSPM Standards.

@safeenab786 -
Thanks for your contribution, but this PR was opened in the public repo, instead of the private one.  I'm going to close it. If you'd like to make changes to the documentation, please use the Microsoft Learn Editor to ensure the PR opens in the public repo.

#please-close


[Bug]: Postgresql connections are left idle.

Is there an existing issue for this?

[X] I have searched the existing issues

Description
After running a query postgres connections are left idel
Steps To Reproduce

Create Postgress data source.
Create multiple onload select queries.
Create multiple pages.
traverse multiple all the pages few times.
Check idle connections

Public Sample App
https://release.app.appsmith.com/app/habitasaurus/page1-628f4177dfdca56c4283eb2a/edit/queries/628f4182dfdca56c4283eb2c
Version
cloud
Update:

A large part of the issue is supposed to be resolved by this fix.
Unsolved part is described here.

 Front conversations

@yatinappsmith I could not reproduce the increasing idle connections scenario using the steps mentioned in the PR. I used the following command to check the state of connections to the db: SELECT usename, state FROM pg_stat_activity where datname='mydb'; Please let me know if I should use some other way or if you used any specific way to test it.

Hi @sumitsum
Please find the test cases attached here

Partly addressed by https://github.com/appsmithorg/appsmith/pull/14348

Lowering the priority to High since we expect the issue to be resolved to a large extent via https://github.com/appsmithorg/appsmith/pull/14348

Another case was reported : https://theappsmith.slack.com/archives/C040LHZN03V/p1668423093195909

I was facing this issue recenlty during this week, Too many idle connections were opened by single page of appsmith so If multiple users are using it then database quickly reaches maximum connection limit and appsmith pages becomes unresponsive.
The same issue was obeserved during the end of september 2022 and when I tried to reduce the idle_session_timeout it helped then but this time it did not help.  Idle connections are closing automatically even if the session timeout was set with low value like 50 seconds.
The idle connections persisit for longer time even after the users closes appsmith pages.
I use postgres 14 database. I have attached the screen shot of pg_stat_activity for reference.
I was using appsmith in my company for the past few months but this issue for faced frequently.
Thanks

My app has multiple pages and links to a Supabase database, hence I am experiencing this problem whenever the app is reloaded once or twice. The Appsmith pages are unresponsive because there are too many idle connections that have been opened by the Appsmith.

@saran-ravi @sarojsarab can you please mention which version of Appsmith you were using when you faced this problem ?

@sumitsum I am using https://app.appsmith.com/ to build my app, and I think the version was v1.8.9 when I got this issue

@sumitsum I am using the appsmith cloud, Appsmith v1.8.10-SNAPSHOT - Hope it is the latest

@sumitsum I am using the appsmith cloud, Appsmith v1.8.10-SNAPSHOT - Hope it is the latest

Today I saw some behaviour that can give a clue. Here are the steps I followed:

Supabase setup
a. create a project in supabase
b. create a dummy table with some dummy data

c.   get connection params

Appsmith setup

create an app with datasource that connects to this postgres db
create two queries:

select * from test bind this to a table and also trigger the query with a button
SELECT COUNT(*) FROM pg_stat_activity WHERE application_name='PostgreSQL JDBC Driver'; bind this to another table and also trigger the query with a button

This is what the app looks like.

Things to note:

when I first created the app and ran the query, the number of connections was already 5 - too high, shouldn’t this have been 1?
keep going back to this app and clicking both the buttons after some intervals (5 minutes, 30 minutes, a few hours etc) - the number of connections only keeps growing. In the screenshot above, it has reached 27.

Why I am not sharing the app or the db credentials?
this is easy to setup, and if I share the credentials here, then our assumption that there’s only one external consumer of this db becomes moot, and we won’t know truly how many connections should be there.

This issue seems to be the same or similar to this problem: #21203


workbench.action.focusRightGroup not focusing all editor groups

VS Code version: Code - Insiders 1.24.0-insider (41a7c4976ebd1f6ced20c034485300f46ab1829f, 2018-05-29T06:09:34.618Z)
OS version: Windows_NT x64 10.0.16299

#50458
Keybinding:
{ "key": "alt+right",       "command": "workbench.action.focusRightGroup", "when": "editorTextFocus" },

Start state:

Pressing alt+right 5 times results in:

Top-right focused
Bottom-left focused
Top-right focused (moves the cursor to a seemingly random position)
Bottom-left focused
Nothing

Treating as duplicate of https://github.com/Microsoft/vscode/issues/50679. I would not expect the focus to change once you are on the right hand side of the grid and continue to invoke this action. The fix is to implement these commands within the grid widget.


Add German translation (#1)

This PR adds German translation and fixes a typo in the English names of the countries.
I tested this change locally and it worked as intended.

I did not translate the data privacy note, however, when I viewed the page locally, it was already German! Probably the text is already somewhere translated.

@Ein-Tim the privacy is already translated in German and English. In the future this will get added to the translation files as well to translate it into other languages but this will come a bit later

LGTM


Modify drag speed when using Orthographic projection

Addresses https://github.com/JuliaPlots/Makie.jl/pull/1144#issuecomment-884135316.

There's a bit more than just the factor wrong here. #1159 should fix it


initial push for hierarcy based permissions

Doesn't seem to check permission to use the abort operation of updateBlob?

It needed UPDATE tier permissions to ABORTblob process. Fixed, updated tests and tested.

https://github.com/NatLibFi/melinda-record-import-api/pull/14 merge first if possible?


Remove default broker's password

We should delete the default password from AMQPVerticle and require the password is always provided in the configuration file when connecting to the broker.

Implemented by #6 .


Add bifunctor instance.

Bifunctor instance from Data.Bifunctor for the MultiExcept data type.

Could probably put it under the functor instance.


Replace relative CSS units with with fixed values [KHCP-5598]

Summary
JIRA: https://konghq.atlassian.net/browse/KHCP-5598

Replace all rem units with px
Replace all em units with px
Remove relative units error downgrade in stylelint KHCP-5605]
Add autogenerated vitepress docs

PR Checklist

[x] Does not introduce dependencies
[x] Functional: all changes do not break existing APIs and if so, bump major version.
[x] Tests pass: check the output of yarn test
[x] Naming: the files and the method and prop variables use the same naming conventions as other Kongponents
[x] Framework style: abides by the essential rules in Vue's style guide
[x] Cleanliness: does not have formatting issues, unused code (e.g., console.logs, debugger), or leftover comments
[x] Docs: includes a technically accurate README, uses JSDOC where appropriate

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Great suggestion, verified after rounding up these still look ok.
Below screenshots for DropdownMenu and Select compare Prod in Chrome on the left, with LocalDev in Firefox on the right.


Cache is not working

I have a job which runs twice per hour.  The exchange rate is cached for 24 hours. Still, fixer.io tells me I had 32 requests the last < 24 hours.
This is stored in the cache folder but it seems not to be used.
1564327443s:516:"a:4:{i:0;b:1;i:1;O:22:"Exchanger\ExchangeRate":4:{s:36:"Exchanger\ExchangeRatecurrencyPair";O:22:"Exchanger\CurrencyPair":2:{s:36:"Exchanger\CurrencyPairbaseCurrency";s:3:"EUR";s:37:"Exchanger\CurrencyPairquoteCurrency";s:3:"GBP";}s:29:"Exchanger\ExchangeRatevalue";d:0.900369;s:28:"Exchanger\ExchangeRatedate";O:8:"DateTime":3:{s:4:"date";s:26:"2019-07-28 00:00:00.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}s:32:"Exchanger\ExchangeRateprovider";s:5:"fixer";}i:2;a:0:{}i:3;i:1564412403;}";

@SvanThuijl Can you please send a PR (if you can locate the issue)? Thanks!


The dates are not homogenously displayed on different platforms

When using mobile version, the dates have format MM/DD/YYYY, even if localization is set to "FR". The problem is not here on full secreen App. The problem is observed on a firefox mobile fr Android.

It seems to be a more general problem. I can see differences on firefox windows and firefox linux. Eg :

Firefox linux : 04/02/15
Firefox windows : 4/2/15

This is due to the op.date.toLocaleDateString method call in the OperationComponent.

Using moment.js could help, but isn it a bit to much? The minified lib weighs 12.4kB

The date should not be localized according to the browser (which in my case is wrong for some reason) but according to cozy, IMO. It means kresus should have a way to format the date as needed.
However moment.js is probably an unnecessary mean.
A simple function like this would be enough:
/**
 * Gets the date in string with a specific format
 * @param {Date} date a Date object
 * @param {string} format a format string which contains conversion
 * options.
 * The options are:
 *

 *
%d Day of the month, 2 digits with leading zeros

 *
%m Numeric representation of a month, with leading zeros

 *
%Y A full numeric representation of a year, 4 digits

 *
%y A full numeric representation of a year, 2 digits

 *
%H 24-hour format of an hour with leading zeros

 *
%i Minutes with leading zeros

 *
%s Seconds with leading zeros

 *

 * @return {string}
 */
function getDateLocaleFormat(date, format)
{
	if ((date instanceof Date) && format && (typeof(format) === "string"))
	{
		var fullYear = "" + date.getFullYear();
		var month = date.getMonth() + 1;
		var days = date.getDate();
		var hours = date.getHours();
		var minutes = date.getMinutes();
		var seconds = date.getSeconds();

		days = ((days < 10) ? "0" : "") + days;
		month = ((month < 10) ? "0" : "") + month;
		hours = ((hours < 10) ? "0" : "") + hours;
		minutes = ((minutes < 10) ? "0" : "") + minutes;
		seconds = ((seconds < 10) ? "0" : "") + seconds;

		return format.replace("%d", days)
				.replace("%m", month)
				.replace("%Y", fullYear)
				.replace("%y", fullYear.slice(-2))
				.replace("%H", hours)
				.replace("%i", minutes)
				.replace("%s", seconds);
	}

	return "";
}

Right, but that would mean encoding all the dates format in raw, directly in the code, and I'm not too hot with this. Using a third-party library that handles this for us, like moment.js, sounds fine. For what it's worth, it's already in the package.json file, as it's used on the server.

You could actually set the date format in the localization files too.
Maybe you could consider using something lighter than moment.js like fecha ?

Sync dates are also concerned:
https://forum.cozy.io/t/app-kresus-affichage-des-dates/1613


Support for orienteering maps (*.omap, *.xmap)

Add possibility for use OpenOrienteering Mapper files, that are XML-based (with support many tags for each map object) and open format for orienteering maps.

http://www.openorienteering.org/apps/mapper/

https://github.com/OpenOrienteering/mapper
https://github.com/OpenOrienteering/api-docs

https://purplepen.uservoice.com/forums/13891-general/suggestions/3507979-allow-import-of-omap-or-xmap-files

Interesting.  I don't know anything about those OO Mapper files yet, but I'll leave this open in case anyone else wants to discuss the potential feature.

I don't know anything about those OO Mapper files yet

@MikeFricker, omap & xmap is look like mix of some elements from SVG and OSM file formats; omap format look like compact version of xmap, where last include human readable code formatting style.

Closing old issue.  No plans for this right now.


Add lib_gui_box

solves: #51

I believe it's done.

I am going to do a bit more work on this. I have bound the inputs but currently the box can be 1 high (a horizontal line) but not 1 wide (a vertical line), just going to change stuff around a little to get it able to create a vertical line.


feat: aggregate metrics

[x] add new table to db (aggregates)
[x] add DB resolvers for adding and fetching aggregates
[x] add tick in tokio::select to insert aggregate data once a day
[x] add GraphQL resolver to allow for querying aggregates up to a given number of days

Open Questions
Should we delete the aggregates every X period? Maybe 30 days, 1 year? Open to suggestions ¯_(ツ)_/¯

@hopeyen

What do you think about returning Vec directly as part of Summary instead of having to calculate total_message_count and average_subgraph_account? I think that allows more flexibility on the client side like calculating averages; but I can see an argument of providing that functionality to the client out-of-the-box... a bit of a tricky balance

I think it's better to leave it like this for now so that it's already usable straight from the graphql endpoint playground, for instance for @PilarRod to get the aggregates when needed.


Modify automated test framework to drive K8S rules configuration both through A8CTL and natively via K8S Third Party resource definitions.

Currently testing framework is only testing K8S via the native K8S Third Party resource configuration.  This work item is to add in the support for the use of A8CTL for K8S environment as well.

Resolved by https://github.com/amalgam8/amalgam8/pull/534


feat(clerk-js,types,localizations): Introduces Membership Requests in

Type of change

[ ] 🐛 Bug fix
[x] 🌟 New feature
[ ] 🔨 Breaking change
[ ] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Packages affected

[x] @clerk/clerk-js
[ ] @clerk/clerk-react
[ ] @clerk/nextjs
[ ] @clerk/remix
[x] @clerk/types
[ ] @clerk/themes
[x] @clerk/localizations
[ ] @clerk/clerk-expo
[ ] @clerk/backend
[ ] @clerk/clerk-sdk-node
[ ] @clerk/shared
[ ] @clerk/fastify
[ ] @clerk/chrome-extension
[ ] gatsby-plugin-clerk
[ ] build/tooling/chore

Description

[x] npm test runs as expected.
[x] npm run build runs as expected.

Photo

This PR has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.


Add batcher module.

Add batcher module to do auto batching.

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.
What to do if you already signed the CLA
Individual signers

It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data and verify that your email is set on your git commits.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot (Public version).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data and verify that your email is set on your git commits.
The email used to register you as an authorized contributor must also be attached to your GitHub account.

ℹ Googlers: Go here for more info.

@googlebot I signed it!

This is an interesting first step @zhangrongguo
Can you add some documentation of the design somewhere to help with the review?

This is an interesting first step @zhangrongguo
Can you add some documentation of the design somewhere to help with the review?

Ok, I will write a doc.

/ok-to-test

This is an interesting first step @zhangrongguo
Can you add some documentation of the design somewhere to help with the review?

Ok, I will write a doc.

Hi，I have a new commit of this PR. In this commit, the left code and some docs are added.

This looks really interesting.

What is the point of configuring batcher host and port? Shouldn’t that be done automatically, just like the transformer? There is already a pattern for how “middleware” is Deployer with how the transformer is implemented, is there a reason not to follow the same?

Do you have any idea of how this performs in comparison to say TFServings native batcher?

This looks really interesting.

If I read the code correctly, the batcher is implemented as a sidecar on the predictor Pod. This is a bad choice, as it will lead to suboptimal batching when there is more than 1 replica as it sits after the load balancer. A better implementation would be to treat the batcher just like the transformer. It will be just another step in the pipeline that does batching and will receive all requests to it, before the load balancing happens. I would put it after the transformer.
Once it is wired up as a pipeline, the host and port configuration can be removed. It should be fully automatic, just like the transformer.
I am curious of how this performs in comparison to say TFServings native batcher? Given that batching can happen on a global level, instead of per Pod level, it should be able to be much more effective.

If we put the batcher outof the predictor pod, the performance will be decreased due to the large data transfer between pods.
The port configuration is for possible future extensions.
We haven't tested this with TFServings. However, we have tested this with PyTorch framework, and the the performance is much better than the initial PyTorch Server.

| PyTorch   Server | PyTorch   Server   With   Batching | PyTorch   Server   With   Batcher Sidecar
-- | -- | -- | --
5   client threads | 5   client threads | 5   client threads
Average(seconds) | 0.7559(s) | 0.1367(s) | 0.062(s)

@zhangrongguo thank you for those numbers, that's some pretty good result. I also understand the sidecar setup for CPU based inferencers. When you say large data transfer, are you sending several thousand images per second, or what is the scale we are talking about here?
It would be really great to be able to run the batcher globally, and not only per Pod. For GPU Inferencing, you usually only have 1 GPU per Pod. For large models, where inference time is measured in seconds, batching at the per pod level will be significantly less efficient than batching right at the pipeline input.
For example, in my setup, I have ~50 GPUs that receive inference requests. Each inference takes 2 seconds, leading to a query rate of 25qps. If I run the batcher before the predictors in the pipeline, and want a batch size of 5, I will have to buffer for ~200ms. If I on the other hand run it on the predictor, I'd have to batch for ~10s.

@zhangrongguo @salanki Interesting thoughts.
Sounds like we'd want to be able to choose where the batcher goes, either in front of a particular component or at the start of the pipeline. Not sure how easy it is to put it next to the knatve q-proxy? @yuzisun
On the numbers,  @salanki can you explain your reasoning a bit more as it seems to assume a fixed 25qps whereas the addition of the batcher would hopefully change the max qps even if in front of the model, so you wouldn't be waiting 10s to construct a batch unless you enforced 25qps externally. It probably depends where requests are queued in knative.

@cliveseldon our use case is real-time prediction. The QPS is therefore fixed, and it depends only on active users on our application. Since it is real-time, latency is important. By doing batching before the load balancer, we could increase throughput without adding a lot of latency. The benefit here is better resource utilization, requiring less GPUs.

What do we think about combining the logger/batcher into the same go proxy?
https://github.com/kubeflow/kfserving/issues/802

Hey it's great to see progress on this, but I do want to caution a little bit. Until this design is reviewed, writing up all the code may require a rewrite if we decide to change course on the design.
It's definitely good to get familiar with the code base and implement a prototype in the meantime, but I just want you to be aware.

What do we think about combining the logger/batcher into the same go proxy?
#802

Agreed. One proxy is more extensible,  like Mixer in istio at beginning and integrated in envoy at last.

/retest

/retest

/retest


KAFKA-12417 "streams" module: switch deprecated Gradle configuration testRuntime

note: remaining 'testRuntime' reference changed to 'testRuntimeOnly'
Related link: https://docs.gradle.org/7.0-rc-2/userguide/upgrading_version_6.html#sec:configuration_removal
FYI @ijuma

I filed a JIRA for this issue, the build failed with this change before. Did it work for you?

The change I had attempted was slightly different: https://issues.apache.org/jira/browse/KAFKA-12417

I just pushed configurations.testRuntimeOnly.setCanBeResolved(true) (I forgot to include that directive  into my first commit).
And yes, I do receive same circular dependency error with Gradle 7 (as you mentioned in a JIRA ticket above):
./gradlew -PscalaVersion=2.12 jar
......
* What went wrong:
Circular dependency between the following tasks:
:streams:copyDependantLibs
+--- :streams:jar
|    \--- :streams:copyDependantLibs (*)
\--- :streams:test-utils:jar
     \--- :streams:test-utils:copyDependantLibs
          \--- :streams:jar (*)
......

This Gradle issue seems to be related : https://github.com/gradle/gradle/issues/16604 (see step 4. under Steps to Reproduce).
@ijuma  I can take that JIRA ticket and hopefully provide some solution. Is that ok with you ?

@dejan2609 yes, please take the ticket. It would be great to solve this so that we can build with Java 16.

Gradle 7.0 has been released. Any luck figuring out the issue?

@ijuma I narrowed the gap and will post my findings here in a few days.... some more digging will be required in order to solve this (I will try to squeeze it asap).

I am going to split my findings to a separate comments... here it goes.
I decided to work with Gradle 6.8.3 for the moment (that is, until circular dependency issue is resolved). After that we can try with Gradle 7.0.
So, I am going to change title and align it with a corresponding JIRA ticket that was mentioned above: https://issues.apache.org/jira/browse/KAFKA-12417

Also, after some digging I stumbled upon these GitHub resources (I will intentionally leave them formatted as code):

https://github.com/gradle/gradle/issues/6353
https://github.com/gradle/gradle/issues/847 (especially comment: https://github.com/gradle/gradle/issues/847#issuecomment-287515195):

Came across this and was looking for a workaround...so in case anyone else is trying to find a way out: it seems sufficient to change group for the subprojects such that they end up with different module coordinates

I tested this quick and dirty solution (experimented with changing group for subprojects) but that action yield no results... 😐
Also, I played around with dependencies and tasks:

./gradlew streams:dependencies > DEPS.txt
./gradlew tiTree  :streams:copyDependantLibs   > TasksGraph.txt
./gradlew tiOrder :streams:copyDependantLibs > TasksOrder.txt (appropriate plugin is added in order to create Gradle taks graph and list).

So, after some time, I moved to a phase two.

Digging through project history I managed to find some commits that are seems to be related (see the comment):
project(':streams') {
  dependencies {
    api project(':clients')
....
    // testCompileOnly prevents streams from exporting a dependency on test-utils, which would cause a dependency cycle
    testCompileOnly project(':streams:test-utils')
....

    testRuntimeOnly project(':streams:test-utils')
  }
....
}

@vvcephei contributed two PRs (#4821 and #4812) 3 years ago and these are related commits:

05. Apr 2018. https://github.com/apache/kafka/commit/d5db4e9b8055536bdbb3b2d2308e36efa4abafcc
23. Apr 2018. https://github.com/apache/kafka/commit/ed51b2cdf5bdac210a6904bead1a2ca6e8411406

Out of curiosity I tried to consolidate these dependency into one testImplementation project(':streams:test-utils') and here are the results:

on top of trunk: build works fine ✔
on top of this PR: build fails ❌ (with identical Circular dependency between the following tasks error as above)

Could we reintroduce a configuration that behaved the same as testRuntime?

So, I started to abandon quick and dirty solution and to lean towards something heavier (i.e. to a some form of refactoring):

https://discuss.gradle.org/t/gradle-support-for-cyclic-dependencies/14355/2
https://stackoverflow.com/questions/38062841/how-to-resolve-circular-dependency-in-gradle/38063421#38063421
https://stackoverflow.com/questions/58178381/resolve-circular-dependency-in-gradle/58186686#58186686

Gradle introduced new thing (among many others): java-test-fixtures plugin  (that goes hand in hand with `java-library') that is able to fine-grain test related dependency configurations:

https://docs.gradle.org/6.8.3/userguide/java_testing.html#declaring_dependencies_of_test_fixtures (some browsers show page bottom... in that case scroll up to **"Declaring dependencies of test fixtures"*)
https://stackoverflow.com/questions/5644011/multi-project-test-dependencies-with-gradle/60138176#60138176
https://stackoverflow.com/questions/64133013/gradle-test-fixtures-plugin-and-core-module-dependencies
https://stackoverflow.com/questions/5144325/gradle-test-dependency/66138658#66138658

Ok, I finished my writings above (I just had to be as detailed as possible, these comments serve me a lot).

Could we reintroduce a configuration that behaves the same as testRuntime did before it was removed?

Well, I can try to revert to a previous solution, see how that goes and build it from there.

Could we reintroduce a configuration that behaves the same as testRuntime did before it was removed?

@ijuma  Can you please expand on this ? Are you referring to a testRuntime mentioned in a copyDependantLibs task ?
https://github.com/apache/kafka/blob/2.8.0-rc2/build.gradle#L1472
project(':streams') {
...
  tasks.create(name: "copyDependantLibs", type: Copy) {
    from (configurations.testRuntime) {
...
  }
...
}

Or we now just brainstorm about Gradle behavior in-general ?

@ijuma quick update: I did made some progress developing a quick and dirty fast solution for this... will update this ticket today or tomorrow.

@ijuma So, now I have something to show: I managed perform some reverse-engineering and received exactly the same content in /streams/build/dependent-libs-${version.scala} folder (that folder is being filled with dependencies by a gradle task streams:copyDependantLibs). Mental note: it would be interesting to fully discover this task background and usage.
Also: Gradle version is bumped (from 6.8.3 to 7.0).
Pitfall: ./gradlew clean streams:copyDependantLibs execution times are significantly higher when comparing to a trunk... will try to sort that out, if possible.

git branch
Gradle 6.8.3
Gradle 7.0

trunk
16 seconds
not applicable

this PR
1 minute 55 seconds
2 minutes 10 seconds

@dejan2609 can you please rebase on trunk?

@ijuma branch is rebased onto trunk (I can also squash all commits into one).

@ijuma previous commits are rebased/squashed and PR branch is force-pushed.
Overall: Gradle build looks ok (on my loptop, that is). Some warnings do appear (related to spotless plugin / scala compilation) but I guess those things can be solved elsewhere (I volunteer to create JIRA tickets and see what can be done).
I opted to change commit message in order to emphasize Gradle version upgrade (if that is ok with you we can also change summaries for JIRA ticket and this PR).
One more note: Gradle patch 7.0.1 is around the corner (with lots of issues being solved: https://github.com/gradle/gradle/milestone/173).

Can you remove the Gradle version bump from this PR then? We can merge the other change and see if there's any impact. We can then go straight to Gradle 7.0.1 once it's released. It may take 1-3 weeks from the link you shared.

Sure, let go step-by-step then.

Done, changes are trimmed down.

Unrelated failures, merging to trunk.


[camera] crash in ios 12.4.4

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
version:
ios: 12.4.4
camera: ^0.10.5
flutter: 3.10.2
Expected results
app work
Actual results
dyld: Symbol not found: _AVCaptureDeviceTypeBuiltInUltraWideCamera
  Referenced from: /private/var/containers/Bundle/Application/8175BC3D-00A2-4ECD-A9D2-CDA447D604A5/xxx.app/Frameworks/camera_avfoundation.framework/camera_avfoundation (which was built for iOS 13.0)
  Expected in: /System/Library/Frameworks/AVFoundation.framework/AVFoundation
 in /private/var/containers/Bundle/Application/8175BC3D-00A2-4ECD-A9D2-CDA447D604A5/xxx.app/Frameworks/camera_avfoundation.framework/camera_avfoundation

Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here](https://pastebin.com/FAkJ9Fpx)

Flutter Doctor output
Doctor output
    • Flutter version 3.10.2 on channel stable at /Users/xuzihao/fvm/versions/3.10.2
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/2.19.4/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/xuzihao/fvm/versions/3.10.2. Consider adding /Users/xuzihao/fvm/versions/3.10.2/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 9cd3d0d9ff (5 weeks ago), 2023-05-23 20:57:28 -0700
    • Engine revision 90fa3ae28f
    • Dart version 3.0.2
    • DevTools version 2.23.1
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/xuzihao/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.79.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.66.0

[✓] VS Code (version 1.79.0-insider)
    • VS Code at /Applications/Visual Studio Code - Insiders.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[!] Proxy Configuration
    • HTTP_PROXY is set
    ! NO_PROXY is not set

[✓] Connected device (3 available)
    • iPad (4) (mobile) • 824990e50dfa884fa4cd8ddfd218a2b29f7a1541 • ios            • iOS 12.4.4 16G140
    • macOS (desktop)   • macos                                    • darwin-arm64   • macOS 13.4 22F66 darwin-arm64
    • Chrome (web)      • chrome                                   • web-javascript • Google Chrome 113.0.5672.126

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 3 categories.

i remove config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0' in podfile run work

Hi @Adherentman, what Podfile did you remove the line you specified above from?

Hi @Adherentman, what Podfile did you remove the line you specified above from?

in application/ios/Podfile
This is code pr screenshot

Oh, your application Podfile.
This is an issue with your configuration then. You set the compilation limit to iOS 13 and tried to run on it on iOS 12, that's why it crashed.
Closing from here as this was an issue with your configuration.
Thank you


Make various throwing weapons Rogue class and nerf Wulfrum Ammo

As Per the Trello Cards: https://trello.com/c/er7QUJXm and https://trello.com/c/8GWNICQx
The Following Weapons now classified as Rogue:

Bone Javelin
Bone Throwing Knife,
Throwing Knife
Shuriken
Soaring Scalpula
Duskfeather Dagger
Lightning Throw
Bismite Grenade
Kunai (Spirit Mod one)
Explosive Rum
Gel Throwing Axe
Winged Knife
Berry Bombs
Explosive Knife

Additional Changes:

Wulfrum Scrap Ammo now does 5 damage.

Note: The Gold Chakram remains unchanged.

Hello.
The ideas you have are great but do you think the code is easy to navigate? I'm sure it can be refactored in order to make it easier to navigate like storing the damage class string literals in a utility module as well as using guard clauses instead of nesting if statements.

[!NOTE]
I'm not a maintainer so I can't edit the code directly but that's all I'd suggest.

If you have any questions feel free to ask them.

I have rewrote the Rogue classifications by using lists and a foreach loop as well as implementing Guard Clauses as recommended. Hopefully these changes makes the code more readable and sustainable long term.
However I have been struggling with figuring out a way to get the Rogue damage class outside of using CalamityMod.Find. Can you store something like CalamityMod.Find("RogueDamageClass") as a Variable? I know you can store the "RogueDamageClass"  as string but I don't think item.DamageType itself wants a string.

I have rewrote the Rogue classifications by using lists and a foreach loop as well as implementing Guard Clauses as recommended. Hopefully these changes makes the code more readable and sustainable long term.
However I have been struggling with figuring out a way to get the Rogue damage class outside of using CalamityMod.Find. Can you store something like CalamityMod.Find("RogueDamageClass") as a Variable? I know you can store the "RogueDamageClass" as string but I don't think item.DamageType itself wants a string.

One possible way to do it is to store it as a public static readonly variable in a utility class (contained in a utility namespace) and access it from there. You also get the performance benefit for not having to call CalamityMod.Find() more than once at least for "RougeDamageClass". And you can [JITWhenModsEnabled("CalamityMod")] on that static field.


Shortcut resolveProfileForBrowserWindow for when 1 profile?

An idea to reduce work on the critical startup path for opening a window: if there is only 1 profile overall, return default profile.
https://github.com/microsoft/vscode/blob/57945a1416f02a6f74a7d7bf3be38454f2722b95/src/vs/platform/windows/electron-main/windowsMainService.ts#L1472-L1489
PS: method misses a return type annotation.

We can but this will not remember that the workspace was opened with the default profile and opening this workspace again from a window that has a different profile opens this workspace with that profile.

Oh ok, so we need to distinguish a window having a default profile from a window that was never opened to use the new profile for the window?

Yes


⚠ Bofrost.be has degraded performance

In 3935124, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1510 ms

Resolved: Bofrost.be performance has improved in 33a71bd.


Need help with testing registry entries

I'm struggling to get testing to work w/ the https://github.com/puppetlabs/puppetlabs-registry module.
I have a manifest that helps setup Chrome as the default browser on Windows 2012, which contains this:
registry_key { 'HKLM\SOFTWARE\Policies\Microsoft\Windows\System':
  ensure => present,
}->

registry_value { 'HKLM\SOFTWARE\Policies\Microsoft\Windows\System\DefaultAssociationsConfiguration':
  data   => 'c:/tmp/defaultapps.xml',
  ensure => present,
  type   => string,
}

And a test like this:
it { should contain_registry_key("HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\System")
  .with(
    "ensure" => "present",
  )
}

it { should contain_registry_value("HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\System\\DefaultAssociationsConfiguration")
  .with(
    "ensure" => "present",
  )
  .that_requires("Registry_key[HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\System]")
}

which results in this failure:
1) CLASS_NAME should contain Registry_value[HKLM\SOFTWARE\Policies\Microsoft\Windows\System\DefaultAssociationsConfiguration] that requires Registry_key[HKLM\SOFTWARE\Policies\Microsoft\Windows\System]
   Failure/Error:
     it { should contain_registry_value("HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\System\\DefaultAssociationsConfiguration")
       .with(
         "data"   => 'c:/tmp/defaultapps.xml',
         "ensure" => "present",
         "type"   => "string",
       )
       .that_requires("Registry_key[HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\System]")
     }

   NoMethodError:
     undefined method `resource_type' for Registry_key[HKLM\SOFTWARE\Policies\Microsoft\Windows\System]:Puppet::Type::Registry_key
   # ./spec/classes/default_browser_spec.rb:41:in `block (2 levels) in <top (required)>'

The line number, 41, is referring to
.that_requires("Registry_key[HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\System]")

I've also tried these:
.that_requires("Registry_key[HKLM/SOFTWARE/Policies/Microsoft/Windows/System]")

# and this:
.that_requires("Registry_key[HKLM\\\\SOFTWARE\\\\Policies\\\\Microsoft\\\\Windows\\\\System]")

And both give errors like this:
expected that the catalogue would contain Registry_value[HKLM\SOFTWARE\Policies\Microsoft\Windows\System\DefaultAssociationsConfiguration] with that requires Registry_key[HKLM/SOFTWARE/Policies/Microsoft/Windows/System]

# and this:
expected that the catalogue would contain Registry_value[HKLM\SOFTWARE\Policies\Microsoft\Windows\System\DefaultAssociationsConfiguration] with that requires Registry_key[HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\System]

Unfortunately, I must have the backslashes in the manifest, otherwise it won't work when applied on a node.  So this issue is isolated to the test of this particular module (as far as I can tell).
Any help is greatly appreciated.  Thanks

@dandunckelman I think that the wsus_client may have some tests that use registry and do verification with rspec-puppet.

@dandunckelman Also, you may consider joining the slack community - slack.puppet.com

Here are the specs for wsus that check registry items - https://github.com/puppetlabs/puppetlabs-wsus_client/blob/master/spec/classes/init_spec.rb

@ferventcoder thanks for finding that spec for me (I probably should've dug around the other windows-related modules).  I'll jump on slack ASAP (thx for the tip).
Unfortunately, my failure occurs when ensuring the require relationship:
.that_requires("Registry_key[HKLM\\SOFTWARE\\Policies\\Microsoft\\Windows\\System]")

and the tests in the wsus_client module doesn't check for those relationships.  I'll dig thru the other Windows modules to see if I can find a match for my failure.
Thanks

Could be a limitation in rspec-puppet not dealing well with backslashes.

@DavidS ^^

Hi @dandunckelman , I've tried to reproduce the error you're seeing with your code, the current registry module's master, the current rspec-puppet master, and puppet 4.4.1, and failed. Can you specify more details on your environment?

@DavidS thanks.  I'm glad to hear it works as expected in the latest/greatest.
Here's more info about my environment:

Module Version:  1.1.3
Ruby:  1.9.3-p484
Puppet:  3.7.5
RSpec-Puppet:  2.4.0
OS:  Windows 2012 R2

Please let me know if you'd like any other info.
Thanks

I wonder if I have hit the same issue. I have the following test.
it {
  is_expected.to contain_registry_value('aes_128_128_enabled').that_requires(
    'registry_key[aes_128_128]',
  )
}

The above tests produces the following error.
failed: rspec: ./spec/classes/ciphers/aes_128_128_spec.rb:29: undefined method `resource_type' for #<Puppet::Type::Registry_key:0x00007ffc3b43e628>
  crypto_win::ciphers::aes_128_128 on windows-2008 R2-x64 passes with minimal params should contain Registry_value[aes_128_128_enabled] that requires registry_key[aes_128_128]
  Failure/Error:
          }

          it {
            is_expected.to contain_registry_value('aes_128_128_enabled').that_requires(
              'registry_key[aes_128_128]',


"Unprevent" tap events

After touchmove, the next tap stays prevented. Set info.prevent to false when "saving" a new tap event so any calls to Gestures.prevent('tap') only prevent the "current" tap.

CLA signed :)
On Sun, 5 Jul 2015 at 00:37 googlebot<EMAIL_ADDRESS>wrote:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project, in which case you'll need to
sign a Contributor License Agreement (CLA).
[image: :memo:] Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll
verify. Thanks.

If you've already signed a CLA, it's possible we don't have your
GitHub username or you're using a different email address. Check your
existing CLA data https://cla.developers.google.com/clas and verify
that your email is set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
If you signed the CLA as a corporation, please let us know the
company's name.

—
Reply to this email directly or view it on GitHub
https://github.com/Polymer/polymer/pull/2031#issuecomment-118560767.

Can you explain a bit more about the order of operations you're seeing this in?
Are you calling Gestures.prevent outside of an event loop, or using a gesture event's detail.prevent function?

I'm not calling prevent at all. The info.prevent property on the tap gesture stays prevented from the previous track gesture. In my case, after I swiped to open a drawer or scrolled a paper-scroll-header-panel, the next tap event had its info.prevent set to true.

Closing, resolved by https://github.com/Polymer/polymer/pull/2124.


[TCFMM-5] Add initial Haskell accompanying library

Description
Problem: We need to have an Haskell library in the project to
be able to develop cleveland tests for the contract.
Solution:

Added Haskell type for CFMM storage and parameters
Add Makefile for haskell
Update CI to handle haskell project

Related issue(s)
Resolves TCFMM-5

:white_check_mark: Checklist for your Pull Request

Related changes (conditional)

Tests

[x] If I added new functionality, I added tests covering it.
[x] If I fixed a bug, I added a regression test to prevent the bug from
silently reappearing again.

Documentation

[x] I checked whether I should update the docs and did so if necessary:

README
Haddock

Stylistic guide (mandatory)

[x] My commits comply with the policy used in Serokell.
[x] My code complies with the style guide.

@pasqu4le This PR is ready for review, a few things to note:

Haskell directory structure, and CI are setup similar to BaseDAO
Ligo.SegCFMM.Types is pretty much mirrored the ligo version. I didn't add documentation to these types since I'm not sure what they do yet.

On the side note, I'm not sure why github pull request template is not working at all (I have to copy/paste from previous PR).

@rinn7e regarding the second point: some of the types and fields are documented in the LIGO source, those that aren't and are still unclear I think should be documented now.
I don't think we need a detailed explanation, but especially given that some of the field names are terse we should at least have a description/definition.


change JobPrio to int value

from the report, https://cms-logbook.cern.ch/elog/Workflow+processing/19692

@bbockelm, Hi Brian, please review.

We could cast again priority to integer, but it shouldn't be needed.
Pushing this patch to the production nodes since JobUpdater is winning a lot.
What surprises me is that we did not hit this problem in testbed agents (which are also connected to the global pool...)

Thanks Brian, I updated the patch. Could you point me the condor python wrapper api document? I have no idea, I guess it is time for me to learn. :smile:

Hi,
The python wrapper API docs are here:
http://research.cs.wisc.edu/htcondor/manual/v8.3/6_7Python_Bindings.html
They are in the HTCondor manual format (which is a bit strange way to do python docs, but it is what we have...) and are reasonably complete.  The online python help function is probably the most accurate.
Brian

Thanks Brian

Actually the problem seems to be this line.
https://github.com/dmwm/WMCore/blob/1.0.1/src/python/WMCore/BossAir/Plugins/CondorPlugin.py#L801
priority = (int(kwargs['requestPriority']) + int(kwargs['taskPriority']) * self.maxTaskPriority)

default self.maxTaskPriority is 1e7 which is float and give the priority to float.
And it seems we were using default value as well before. (There is not maxTaskPriority is set)
https://github.com/dmwm/WMCore/blob/1.0.1/etc/WMAgentConfig.py
However, that code hasn't changed between versions either.  I am not sure why it only causing the problem now.

Alan, do you want me to create new patch for 1.0.5 version?

I think it would be more clear to have this patch in that branch as well.
OR, we could accumulate a few PR and then cherry pick all these changes for a patch2 for example.


Implement rhp4 basic client and server

Requires https://github.com/SiaFoundation/core/pull/200
Need to readd the robust RPC client on top of the base implementations in a f/u

I think most of the contents has been reviewed already. One last run through for all of us and lets get this milestone merged.


ISSUE: FedEx delivery update email not scanned

Describe the bug
Getting a FedEx package delivered today. It was supposed to be delivered tomorrow, but due to shipping from a closer location it was updated overnight to be delivered today, so FedEx never sent me the initial email to let me know I would be getting a package and only sent the delivery update email. However that email wasn't scanned by this plugin.
Environment (please complete the following information):

OS: Home Assistant OS 7.1
Type of device: RPi4
Home Assistant version: 2021.12.10
Component version: 0.3.3-2

I can provide the full FedEx email, just don't want to post it publicly here. Short info:
From: FedEx Delivery Manager<EMAIL_ADDRESS>Subject: FedEx Shipment : Your package delivery has been updated
Body looks very similar to a regular shipment notification.

I am not getting those. But I have signed up for every possible email on my delivery manager profile:

The only email I received for this delivery was the aforementioned updated delivery notification. I am guessing this was because when the tracking number was created, the shipper used a more distant address, and FedEx figured it would be delivered tomorrow. But when they received the package yesterday at a closer location, they updated the delivery to today overnight. So maybe the day of delivery emails go out first, and I wasn't part of that, and then the package delivery date was updated to today, and I only received the Delivery update notification?
Can the integration also parse the delivery update notifications and, if the date is today, add that to the deliveries, since FedEx sees fit not to send out an out for delivery email in those cases?

Does it happen to say FedEx SmartPost?

LOL, nope. This was a FedEx end to end:
SERVICE TYPE:		FedEx Home Delivery
I can forward you an email copy if you'd like so you can see the full tracking history.

I've never seen a FedEx package that didn't get a "Your package is now out for delivery today" email unless it was SmartPost, then it's a 50/50 chance between FedEx and USPS delivering it.

Yeah, I have no idea. I checked my SPAM folder and there's nothing. There is just the delivery update email, that's it. Like I said, I wonder if it got missed on the "out for delivery" deadline and had its deliver date updated afterwards, so that email did not go out.
There was definitely a last minute delivery date change. I purchased this yesterday with promise of next day delivery. But the shipper sent out an automated notification at 22:30 saying "sorry for the delay, it will arrive a day later", but then FedEx (in its only email to me) sent the delivery notification update saying it would arrive today. So it was an overnight delivery date update within the FedEx system.
Having said that, the FedEx email also came at 22:30 last night. So no idea why they would not also send out the out for delivery email. My account is enabled for it. (Technically I should have gotten three emails. Since I have checked notification on a package addressed to me, as well as day before and day of delivery.)
And now that I'm saying that out loud, since the delivery update came in last night, the integration would not be able to scan that for delivery today, as the email was from yesterday. So cases like these (however common or rare they are) would be unsupportable.

Normally the out for delivery message comes when they scan the packages when loading the trucks.

Maybe I live near a bad FedEx station where they don't do that? Let me open up a case with them and see if they can shed light on this.

FedEx customer service had no answers. Said I should have received it, and "they will look into it". And call back if it happens again.

 Don't get me started on USPS. Moved here in June, and I STILL don't have informed delivery.
This house was split into a duplex in 2006, but they shared the same +4 ZIP, They fixed that by giving our side a new +4 in November. But that just means that our tenant gets all our informed delivery info now since they have the old +4.
(To be fair, it doesn't help that USPS thinks our house numbers are 123A and 123B, but we use 123, and the tenant uses 123 Apt B. Not sure how to get this problem resolved. All online databases just recognize the address as 123, but with the old +4 ZIP)
And yeah, that took from June to November to get the +4 issue identified and fixed. From USPS.com to the local post office, nobody knew what was wrong until I finally got to the right person who identified and fixed that in a day)


Deployment Strategy

Is your feature request related to a problem? Please describe.
Yes. Recently while scaffolding a new project, I tried deploying a yoga2 server, but ran into several error messages of missing files on the server.
Describe the solution you'd like
I'd love to see more documentation on deploying a yoga2 server. Perhaps to Heroku or Now even. Currently there is no documentation or support other than a build command, which doesn't execute without errors in a remote environment.
Additional context
I'd be glad to help document the process by sharing my results, but I've yet to get a server deployed successfully.

Please add information on the docs(https://www.graphql.yoga/) regarding deployment.
Lately I have got used to using continuous-deployment with netlify for my frontend apps. I'm not sure what hosting providers offers that, but it would nice to have something like that in the docs as well. I hope this is not to much to ask


Nuxt update to verbatimModuleSyntax breaks prisma seeding 'ESM syntax is not allowed'

Nuxt has changed to verbatimModuleSyntax True
look in this file...
.nuxt/tsconfig.json
and you will see this..
"verbatimModuleSyntax": true,

This breaks prisma DB seeding i.e. this..
npx prisma db push

gives you an error like this
ESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax' is enabled.
then some bullshit with node types being missing "process can't be found'
I have fixed this in a downstream project by doing the following.  Not sure if I should bring it back to the main repo or if it is the best fix.....
I needed to add this to .tsconfig (for the missing process bullshit)
  "compilerOptions": {
    "types": ["node"]
  }

change to this in package.json
  "prisma": {
    "seed": "ts-node prisma/seed.ts"
  },

and do this in seed.ts
const { PrismaClient } = require('@prisma/client');

I had a similar issue and could not seed into Supabase DB. I switched ts-node with tsx, and it worked fine.
in package.json
"prisma": {
  "seed": "pnpx tsx prisma/seed.ts"
}

Agree with the tsx usage, minimal and in place replacement just works fine.

@wireless25 @mubaidr did you consider using vite-node?

@wireless25 @mubaidr did you consider using vite-node? .... because it works good for me
  "prisma": {
    "seed": "npx vite-node prisma/seed.ts"
  },

I did not, no. Didn't know this is a thing 😅 @JavascriptMick


.find by data-attributes

Hi! First, thank you for your work)
I have a problem, I cannot find by any data-attributes.
For example:
const context = shallow(<SomeComponent />);
console.log(context.find('[data-target="id"]')); // FindWrapper { length: 0 }

And .find always return 0 nodes (although this element exist).
I tried different cases: .find('[data-target="id"]'), .find('div[data-target="id"]'), .find('data-target="id"'). But nothing.
Where is my mistake?

I found solution.
console.log(context.find('<div data-target="id"/>'))

I'm having a similar problem.
In my case context.exists('input[type="checkbox"]') returns true, but  context.find('input[type="checkbox"]') returns nothing.
I also realized that if I add a className or id to the component I want to find, context.find returns correctly. I believe that this is a problem with this specific kind of selector on find function.

Try context.find(<input type="checkbox" />). Maybe it will help you


minizip: apply patch for CVE-2023-45853

Description of changes
Upstream PR: https://github.com/madler/zlib/pull/843

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage (I rebuilt some of the direct dependencies but I do not have the kind of power needed to rebuild Chromium right now)
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Hum the dependency tree seemed smaller, staging it is then...

Linked to:

https://github.com/madler/zlib/issues/868


Update maintainer email and mark Capataz package test-suite as unreliable

Checklist:

[x] Meaningful commit message - please not Update build-constraints.yml

[x] Some time passed since Hackage upload

[x] On your own machine, in a new directory, you have successfully run the following set of commands (replace $package with the name of the package that is submitted, $version is the version of the package you want to get into Stackage):
stack unpack $package
cd $package-$version
stack init --resolver nightly
stack build --resolver nightly --haddock --test --bench --no-run-benchmarks

Thanks!


✨ Mobile | Make Flyout page accessible

Cc: @adamcogan
Pain
The Flyout page becomes messy once the user increases the font size.
Suggested Solution

Truncate labels which display user name and email
Vertically align email and the red mail icon

Tasks

[ ] Implement suggestions 1 and 2
[ ] Figure out why the padding between icons and labels (e.g. Log Out) goes away when font increases. Fix it.

Acceptance Criteria

[ ] Meets Definition of Done - https://github.com/SSWConsulting/SSW.Rewards.Mobile/blob/main/_docs/Definition-of-Done.md

More Information

Screenshots

Figure 1: ❌ Truncated labels and messy UI

Figure 2: Font size settings to reproduce the issue
Thanks!

Check with @zacharykeeping and then with @adamcogan once it's fixed.


basic feature implementation of app repo client

Please. don't merge this it's not ready yet

#19 client side stuff  ✔

it's almost ready now, need testing and review.