The yafyaml package build fails when building on macOS with gfortran 13

Describe the bug
The yafyaml package build fails when building on macOS with gfortran 13.
To Reproduce
Steps to reproduce the behavior:
Follow the steps to build spack-stack-v1.3.1, using clang 14.0.0 and gfortran 13.
Expected behavior
A clear and concise description of what you expected to happen.
yafyaml should be built fine.
System:
What system(s) are you running the code on?
macOS Monterey, 12.6.5 (21G531)
Additional context
Add any other context about the problem here.
Underneath, I was following https://jointcenterforsatellitedataassimilation-jedi-docs.readthedocs-hosted.com/en/latest/using/jedi_environment/spackbuild.html#building-spack-stack-modules-for-jedi, but the crash should be the same regardless of the environment.
Please, find attached the log for the crash: spack-build-out.txt.

Yes, we know about this. We've had issues all over the place with GCC 13. On the one system I managed to build everything with GCC 13, GEOS fell apart.
@tclune and I are hoping to work on it soon, but for now, GCC 13.1 is probably a no-go for GFE libraries.

We should probably add a conflict statement for gcc13 somewhere central in spack-stack until we've devoted enough time to test and fix building with it.

I want to say I got further along with GFE stuff on Intel Mac compared to M1 Mac. Not sure why...

@mathomp4 Any update on this?

@climbfuji Not yet as it hasn't been high on our issue list in recent times. And, unfortunately, the one person who might know how to fix this, @tclune, is a civil servant and, well, shutdown fun. Maybe he can work on this in the coming days/weeks or maybe not. I'm not too sure.
But I'll try and do some tests soon on this.
Though, again, you don't need yaFyaml for recent MAPL that uses ESMF 8.5.0, so this might be even less of a priority for MAPL/GEOS, though I'm sure @tclune would like to support the compiler in future.

We've removed the need for yafyaml from all spack-stack environments, therefore we can close this as done.

Note that I think Tom did fix this...as I know I've built it with Clang + Gfortran 13. But as you say, not really needed anymore for GEOS at least.


Species per polygon API for decision-support tool

@niconoe: Thanks for this, I just made a few tests this morning and the computation seems to work as expected. I'm just afraid that the URL will be a little short...
If I get, for example, the province of Liège with its geometry simplified at 1km precision, here's the request that should be made :

p=MULTIPOLYGON%28%28%286.120273673002623%2050.1619257548964%2C6.0841880676960916%2050.17197763297901%2C6.0837011333094555%2050.171929062578954%2C6.078599709445645%2050.156997705770834%2C6.078783734653217%2050.15653525093492%2C6.064063246239979%2050.153353462365175%2C6.063569039916557%2050.15329770407422%2C6.030775824622578%2050.16454679516232%2C6.02954771912905%2050.165919246577346%2C6.020912275812882%2050.191054010240975%2C6.0203648684785%2050.19173429060953%2C6.034370091272459%2050.205928460210856%2C6.0343889390256695%2050.20595054457215%2C6.013063263275692%2050.206250395883245%2C6.012363976922016%2050.206008142741496%2C6.008790378935758%2050.23771770777208%2C6.0086934063709085%2050.23813789514503%2C6.017260290313371%2050.30009254253744%2C6.017285045771381%2050.30018915027904%2C5.980178916511405%2050.329749303824826%2C5.980171145774727%2050.32982862525725%2C5.960769272780707%2050.32738374355293%2C5.960751546376589%2050.327380749255724%2C5.937448050158327%2050.33834148173747%2C5.937398199104118%2050.3383485753765%2C5.924091985030513%2050.33249632024942%2C5.923999124896709%2050.33248794113757%2C5.8622126865771795%2050.348183799114054%2C5.862010772387942%2050.34829516984064%2C5.850323239271785%2050.3273088946367%2C5.850416189400701%2050.326809717837364%2C5.869085195011671%2050.31426562171896%2C5.869076609066899%2050.314155409822945%2C5.84544299543103%2050.281700335603574%2C5.845028762003789%2050.28063425179158%2C5.881194157037048%2050.27857132573982%2C5.881187902011759%2050.27851142821004%2C5.84041508416157%2050.26147821722711%2C5.840108738922591%2050.26139740745404%2C5.810243053822181%2050.264314549516484%2C5.809870385965776%2050.26431709401561%2C5.807780861672479%2050.25455189326095%2C5.807710326402204%2050.25420274514039%2C5.799981208989532%2050.264904705664605%2C5.799871948527476%2050.2650184000735%2C5.7212052618252125%2050.26213411507783%2C5.721081647251591%2050.26219792610439%2C5.7486104689318935%2050.30085871287844%2C5.748769264929468%2050.30090037496717%2C5.722520227321971%2050.30175405638161%2C5.722453060889151%2050.30174370345193%2C5.706579921033064%2050.31923203454505%2C5.70648419528087%2050.31938011182547%2C5.720282830274652%2050.3581329107443%2C5.720259125536504%2050.35818723349885%2C5.673332066948973%2050.35632000953302%2C5.673086844646791%2050.35625991524145%2C5.674940055130957%2050.367871565219644%2C5.675577771043545%2050.36844658496253%2C5.646339551353748%2050.36579056926121%2C5.645823947048959%2050.36594789643539%2C5.58718213232019%2050.39939174905939%2C5.587125714009207%2050.39941702653849%2C5.553825738568483%2050.388518489725385%2C5.553808136157296%2050.388510902128075%2C5.536241410403029%2050.39204624620973%2C5.536018069629345%2050.39205983240237%2C5.536116149211026%2050.402124236773346%2C5.535882473301223%2050.402331163816285%2C5.510053351583808%2050.41362710480885%2C5.5093626655254%2050.41452070161563%2C5.512662713569118%2050.42512856518789%2C5.512533809147101%2050.42515958896851%2C5.467490222835951%2050.40755987643473%2C5.467403012959129%2050.40753610799135%2C5.4534446523788995%2050.421243100760876%2C5.4532918464974784%2050.42144227736293%2C5.419278982784678%2050.430123565555306%2C5.418691450517023%2050.429978372003205%2C5.408743091141515%2050.414975218139546%2C5.40589727318859%2050.41378709110458%2C5.429387243013605%2050.40283001829789%2C5.429413946423122%2050.40280266337899%2C5.3971343954336835%2050.38100356386968%2C5.39712745415786%2050.3809748537266%2C5.351467489688484%2050.388358552659696%2C5.351394468039965%2050.38836598751206%2C5.297492547387965%2050.365150315014915%2C5.297165428666971%2050.364949267488214%2C5.281205050433842%2050.378131552366085%2C5.281052898494597%2050.37823727974268%2C5.2873397049308535%2050.39447769475228%2C5.287411180585774%2050.394508085551564%2C5.2371923084896785%2050.40296216434069%2C5.236931602821846%2050.40301571390145%2C5.22129763588373%2050.417151046746284%2C5.221179357131589%2050.41727573401417%2C5.236442931877142%2050.43827605603951%2C5.2364512877656155%2050.43833807697072%2C5.198692648394046%2050.47791359150685%2C5.19893226152181%2050.47881985067812%2C5.165046396111546%2050.46779939708776%2C5.163951886124015%2050.46760636925288%2C5.149704637168706%2050.48229528216939%2C5.1493138853345926%2050.48246143315839%2C5.157387346242162%2050.489313958741434%2C5.157430481711932%2050.489405128779936%2C5.132910120331741%2050.490304918710194%2C5.132857154502954%2050.49037629365856%2C5.142208370795014%2050.51202817508491%2C5.142181749527087%2050.51213912760383%2C5.115055979190897%2050.50368438148425%2C5.114903015732849%2050.50367131955508%2C5.092361137039205%2050.529302496134505%2C5.092360104630513%2050.529303865637814%2C5.036588026096489%2050.5316723724128%2C5.034244997546399%2050.53177981149011%2C5.053754134173902%2050.54087758089028%2C5.0542419990382035%2050.54112151101495%2C5.044316100910966%2050.55772347158239%2C5.048567698785942%2050.561108258587495%2C5.0280934562651725%2050.587540602571835%2C5.028671878277177%2050.588702610969705%2C4.979387636712882%2050.61851602674932%2C4.979299914543024%2050.61859481993767%2C5.001943782655941%2050.66454487503154%2C5.0026512460030945%2050.664990820913374%2C5.0013157461781255%2050.69373441876024%2C5.001129068627752%2050.6937780222232%2C5.017303122742352%2050.70217602675504%2C5.017311493337954%2050.70223631419316%2C4.992550628003609%2050.72362471128196%2C4.992525101655171%2050.72363171787231%2C5.016647447002821%2050.732697955776985%2C5.016921234173539%2050.73283235833057%2C5.019557866650282%2050.75074960695056%2C5.019566463032489%2050.75076537201264%2C5.047877004724982%2050.73914289110712%2C5.048130705831668%2050.73904900808995%2C5.044033954116311%2050.72348970179493%2C5.0440094735508625%2050.72347074081725%2C5.070109785322192%2050.70669403431148%2C5.070375095284441%2050.706473002103365%2C5.1189398263337385%2050.707921993500804%2C5.1193350619482425%2050.70827886589535%2C5.147652896336149%2050.69588395365321%2C5.148641508283578%2050.69543394099097%2C5.180822717561769%2050.704782459688914%2C5.18087316283492%2050.70480125534368%2C5.169382189956366%2050.72178210167496%2C5.169840755270365%2050.722496203553646%2C5.227537758864619%2050.718008208578226%2C5.227856062264478%2050.71764769064043%2C5.23672687398831%2050.7267979306329%2C5.236909650992274%2050.72722361862151%2C5.241065584333087%2050.71680938100192%2C5.241133366269172%2050.716725032458044%2C5.257386764515486%2050.71512823809934%2C5.257450190219283%2050.71512303030562%2C5.276302025171505%2050.72867636722276%2C5.276306497303081%2050.729034845982454%2C5.303781609194582%2050.7160632231994%2C5.3039035351477395%2050.71594168234472%2C5.350271263376532%2050.74637869301179%2C5.350293953106084%2050.7463936409149%2C5.389580141960213%2050.74796555944141%2C5.389589325918949%2050.74796949737063%2C5.402380938751911%2050.72831698753424%2C5.402287784177666%2050.72805447099785%2C5.432286377274013%2050.718184272279416%2C5.432344971000535%2050.71810120779148%2C5.454714659026277%2050.721657785730116%2C5.454837353575745%2050.72172101984762%2C5.462276907706369%2050.73823163531685%2C5.462078164334275%2050.7388126042228%2C5.4784428121836175%2050.723634172925046%2C5.478620719996067%2050.72354046580929%2C5.490748532247357%2050.7273633649076%2C5.490885959988186%2050.727397540135485%2C5.522547102255044%2050.74147768087752%2C5.524360256897432%2050.7423515863581%2C5.522484902033136%2050.75845951675649%2C5.522584155655402%2050.7586517515212%2C5.607530063178915%2050.77683984415671%2C5.610224651666091%2050.775134257444336%2C5.652348200040456%2050.80443006430673%2C5.653193736976973%2050.805444596950196%2C5.685021108146498%2050.80403032869316%2C5.685942477235407%2050.803882310542434%2C5.687420441365835%2050.810861506901006%2C5.687876816170534%2050.81192377814796%2C5.698823016509905%2050.78165236191771%2C5.698743240122889%2050.779619722052104%2C5.683048525093655%2050.755033184961974%2C5.683234667706078%2050.754815307642616%2C5.721942559183699%2050.745770191399856%2C5.722277041027575%2050.74571044147973%2C5.732884475409241%2050.75524333038578%2C5.732980112162465%2050.75530558689914%2C5.748880503685967%2050.745263399879434%2C5.7488972726402325%2050.74524288916294%2C5.770620457169354%2050.751349019977454%2C5.7707108436568255%2050.751332590397766%2C5.801819631555263%2050.73653135908128%2C5.802407339122858%2050.736323445928605%2C5.812949752102623%2050.715325383910425%2C5.813096253225867%2050.71528874727173%2C5.86089550401683%2050.71744721072179%2C5.861287959125353%2050.717436538658006%2C5.882892907084523%2050.70997921146932%2C5.883366502319323%2050.70986503875815%2C5.911031526751649%2050.735094163115576%2C5.911109397979484%2050.735145309689585%2C5.891910970566545%2050.75506907098128%2C5.892109138964216%2050.755219452156666%2C5.915819998437887%2050.75040992563842%2C5.916217295339397%2050.75044935748576%2C5.96037684572684%2050.76236620078325%2C5.96066008193539%2050.76247420344819%2C6.040294181470327%2050.74558276220134%2C6.040439310565824%2050.74550353034806%2C6.039566881187753%2050.71833215367357%2C6.039695086548092%2050.718282270201314%2C6.044273368634708%2050.727917124943986%2C6.044460632893926%2050.72843397118507%2C6.113803772080171%2050.72251187608529%2C6.1146922068748815%2050.72227598979845%2C6.16489774483237%2050.6631291532845%2C6.165834337462258%2050.662139327017655%2C6.194436674690632%2050.66333682268842%2C6.194746210331107%2050.663048354453394%2C6.186407863328212%2050.64080315735441%2C6.186674640659731%2050.640650694936056%2C6.2210546410911665%2050.64062116142941%2C6.221602238342875%2050.64072380751972%2C6.229796980423434%2050.64923266110972%2C6.230386759290029%2050.6492896672147%2C6.266377926785759%2050.64207662344353%2C6.26678707928974%2050.641591393938654%2C6.27406911321833%2050.62963777161585%2C6.273938386607597%2050.629206932206046%2C6.248169011624942%2050.60423119533763%2C6.2479542856695%2050.603917639220896%2C6.236221784716135%2050.56650745498803%2C6.236015593785272%2050.566162796185694%2C6.2104511375709075%2050.55404590605988%2C6.2103898662185015%2050.553996397572604%2C6.196963164528447%2050.53098982477769%2C6.197057647439617%2050.53040570965322%2C6.226295466497684%2050.494604378613246%2C6.226618090672518%2050.494349888713685%2C6.26964756862122%2050.504529563469106%2C6.269664271003047%2050.50454446201661%2C6.351218449079099%2050.4882903756677%2C6.351289798913107%2050.4882881011076%2C6.340381002222641%2050.46244035850543%2C6.340406506990761%2050.46226265738798%2C6.369934772638367%2050.4551414070184%2C6.371816849063502%2050.45550730980736%2C6.377449366553313%2050.43954904972597%2C6.377465833177325%2050.438807216080875%2C6.36768655295297%2050.404872720450726%2C6.366221985957305%2050.402337390642685%2C6.343178816605285%2050.38053572471679%2C6.342942715893247%2050.380249537253974%2C6.408088022354873%2050.335581312202464%2C6.4081001020426305%2050.33541426430389%2C6.405541208304883%2050.323367593165386%2C6.405534354001432%2050.323335515726626%2C6.358949056914505%2050.31339476481551%2C6.358853348249346%2050.31346035389265%2C6.3639209015456295%2050.305497252918855%2C6.3639571474604395%2050.305393920728335%2C6.333441950043589%2050.323270450803335%2C6.332994326741193%2050.32347791177125%2C6.307361638109793%2050.32017137842365%2C6.306407283108229%2050.32015729904623%2C6.278308770729938%2050.26632947006263%2C6.278307532035536%2050.266312672588896%2C6.217429048792155%2050.25660568351674%2C6.215784681886543%2050.25693329519956%2C6.19630056073405%2050.237398440722245%2C6.196233830210697%2050.23735848115541%2C6.174007087182697%2050.23355003697057%2C6.1738595079396275%2050.23346663586108%2C6.166514866780981%2050.21969580820695%2C6.1664962225985%2050.219595284602406%2C6.188548925579048%2050.20541394221982%2C6.188891035585917%2050.205283819657694%2C6.19230849465296%2050.18209082085866%2C6.192508686772159%2050.18206661991425%2C6.160430789389469%2050.17253773047881%2C6.160401896666216%2050.171560527798874%2C6.146533173365308%2050.177406439209705%2C6.146290352294287%2050.17727149929459%2C6.147591348736041%2050.16059965992258%2C6.147634212862854%2050.16047642718527%2C6.131866666842278%2050.15413582804669%2C6.131884292527196%2050.15389336983591%2C6.152968849005709%2050.15016414113211%2C6.153067148220805%2050.15013186684868%2C6.1509215152130725%2050.13765112629696%2C6.150922382643649%2050.13764665216647%2C6.13355866429733%2050.129554660941295%2C6.13337053744667%2050.12951749160891%2C6.112489829124471%2050.136024390225316%2C6.112312253637743%2050.136016604865745%2C6.120273673002623%2050.1619257548964%29%2C%286.206644805808512%2050.52164617235067%2C6.196192266551476%2050.531072296453715%2C6.19618836602034%2050.531106449747966%2C6.1872183479767395%2050.526301794881675%2C6.187188791471705%2050.526114076703294%2C6.206644805808512%2050.52164617235067%29%2C%286.183550737385095%2050.541355692797396%2C6.196899865568133%2050.536110836514894%2C6.197437948794198%2050.53626255978236%2C6.210469716632805%2050.554683711938765%2C6.210542612081412%2050.55474712848232%2C6.225379304594919%2050.555633749707795%2C6.22558880848129%2050.555800223894465%2C6.2403464674807445%2050.58668297470794%2C6.240574946647858%2050.58706215214386%2C6.225339689414248%2050.59046495804779%2C6.22526222071754%2050.59046004632083%2C6.174684395642003%2050.55793404505661%2C6.174660850075981%2050.557925332555044%2C6.183550737385095%2050.541355692797396%29%2C%286.2474024957415875%2050.59702042963718%2C6.2474024957415875%2050.59702042963718%29%2C%286.259040164508199%2050.62789004465452%2C6.273192005252023%2050.62860160809413%2C6.273462460675287%2050.62899583272733%2C6.2660613989302245%2050.64162415719139%2C6.265634424500936%2050.64200327793861%2C6.232561348681383%2050.64876583746869%2C6.232049143944965%2050.64887367285104%2C6.221153177475692%2050.64032530027433%2C6.220752875904041%2050.64027898300924%2C6.167238952054238%2050.64380339008159%2C6.166686161505419%2050.643621874457125%2C6.181669896358082%2050.62384616585305%2C6.181798430805268%2050.623797223261874%2C6.194152008467546%2050.63387895402789%2C6.194205789489785%2050.63389790990959%2C6.259040164508199%2050.62789004465452%29%2C%286.182879239426674%2050.65237247467667%2C6.194066920428672%2050.6631489210842%2C6.193621061545324%2050.66346121706127%2C6.166619804573516%2050.66195490973388%2C6.166034327583498%2050.66186332483676%2C6.182879239426674%2050.65237247467667%29%29%29

That's way too long. It must be simplified at a 5km precision to fit in the 4096 characters allowed by the querystring :

Thanks @sronveaux to have already quite extensively tested this. If I understand correctly we have two issues here:

the 500 error for the province of Liège
the URL length that might not be sufficient

Concerning the first error, I found the following message in the logs Invalid number of points in LinearRing found 2 - must be 0 or >= 4. I guess one of the feature is indeed weird. Should we investigate deeper and tackle this case? (I personally don't know, but I think I'd go with the URL length issue first)
Concerning the issue length, I am thinking of the following possible solutions:

You could gain a substantial number of characters by truncating the coordinates precision of each of the polygon points (i.e. use 4.6431 50.5642 instead of 4.643117955930783 50.56422187277607). According to wikipedia, you'd only lose a few meters of precision for this point, which should be good enough). That approach might be more efficient (or complementary?) to the simplification that just removes some edges of the polygon.
We can also keep it a GET request, but pass the parameters in the body rather than the URL. That's a bit unorthodox/nonstandard, but apparently not that rare.  We can always make a quick test to see how convenient or painful that would be on both sides (JS + Django), if you want!
We could make the endpoint a POST or PUT request, and passing the parameter in the body would be much more natural. I'm not a big fan myself, I sleep better at night when POST requests change the server state and GET requests don't, but that's a possibility.
Finally, we could look for a more compact way to encode the WKT in the URL (base64?)

Just tell me your preferred approach and we'll try it!

Hello @sronveaux, I am back in the game and working on RIPARIAS again. Do you still need improvements on this issue?
You can also open new issues if you have other needs in terms of APIs.

Hi @niconoe, good news that you are back on this!
Thanks for proposing opening new issues in case of needs, I'll keep that in mind!
Concerning this particular problem, the API was used at a certain point of our workflow to give a hint to the user on which species were present in the area they were managing. However we had to change this workflow and we are now working the other way which means people already have selected the species they will manage before choosing the area. This is unfortunately less useful now...
It's still used to get some approximative answers at another place which doen't require to send such detailed geometries. The problem never occured in this situation.
Thanks again for all,
Cheers


🐛 Camera is exclusively lock to react-native-vision-camera on Android

What's happening?
Hello, we're encountering an issue with react-native-vision-camera. It appears that when the camera is initiated within the app on Android, the library exclusively locks the camera, preventing other libraries (in same react-native-program) that also require camera access from gaining control.
As an example, we are using both react-native-vision-camera and react-native-torch (utilized for opening the flashlight, which camera permissions on Android).
To replicate the issue:

Open the camera using react-native-vision-camera.
Attempt to activate the flashlight using react-native-torch.
We got this error message "CAMERA_IN_USE (4): setTorchMode:2122: Torch for camera "0" is not available due to an existing camera user" even if the camera modal/screen is dismissed. (https://github.com/ludo/react-native-torch/blob/957db6330a0afd09455e42ce6537e0ca69518e3c/android/src/main/java/com/cubicphuse/RCTTorch/RCTTorchModule.java#L47)

We suspected that this function (https://github.com/mrousavy/react-native-vision-camera/blob/be1bb419c16c68f9982d0f67ff97513696f587f5/package/android/src/main/java/com/mrousavy/camera/core/CameraSession.kt#L98) is not call at all even the screen dismiss/close, which may make the react-native-vision-camera exclusive lock
If we  restart application again without calling the Camera screen, the torch function is working properly. So, we think that the problem comes from  react-native-vision-camera exclusively lock the Camera
Reproduceable Code
Example camera code from react-native-vision-camera repos with a single function call to react-native-torch

Relevant log output
Error toggling flashlight Error: CAMERA_IN_USE (4): setTorchMode:2122: Torch for camera "0" is not available due to an existing camera user

Camera Device
{
  "sensorOrientation": "landscape-right",
  "hardwareLevel": "full",
  "maxZoom": 8,
  "minZoom": 1,
  "supportsLowLightBoost": false,
  "neutralZoom": 1,
  "physicalDevices": [
    "wide-angle-camera"
  ],
  "supportsFocus": true,
  "supportsRawCapture": true,
  "isMultiCam": false,
  "name": "BACK (0)",
  "hasFlash": true,
  "hasTorch": true,
  "position": "back",
  "id": "0"
}

Device
Multiple Android Devices (SS Note9/Xiaomi Redmi Note9)
VisionCamera Version
3.6.4
Can you reproduce this issue in the VisionCamera Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information

[ ] I am using Expo
[ ] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

Just a question, are you using torch on some component which don't includes camera? If not try to use torch which is provided from vision-camera.

Hey! I just found out that I really forgot to close and dispose the locked Camera resources, so I just fixed that in this PR: https://github.com/mrousavy/react-native-vision-camera/pull/2174
Now the Camera fully & synchronously closes all resources (CameraSession, CameraDevice, OpenGL context, Video & Photo outputs, Photo Synchronizer) once the view gets removed from the React view hierarchy ("unmounted"), and things like Flash, Torch, NFC, and other Camera components should be working again.
There is still a small issue that causes once Camera component to turn into a blackscreen when navigating back and forth between two Camera components, that's a pretty rare edge case but I will still try to fix that soon when I have some free time.
If you appreciate my time, expertise and dedication to this project, pleas 💖 consider sponsoring me on GitHub 💖 to support the development of this project.


Support native inlay hints

I'm not sure if "support" is correct way to put it. I'm not sure if the inlay hints are customisable to add symbols like rust-tools enable, but in nightly now there's native inlay hints. If I enable native and from rust-tools I get duplicated hints (expected). I think rust-tools could check if native is enabled and ignore if that's the case to avoid showing duplicated.

Yeah, should be an option in rust-tools config.

In /after/ftplugin
I added the file: rust.vim
with the following content:
lua << EOF
vim.lsp.buf.inlay_hint(0, true)
EOF

and in rust-tool config:
inlay_hints {
 auto = false,
 ..
}

🦀

I was aware of that. I just think rust-tools should check it and enable or disable its own hints.

One thing I'm noticing with inlay hints is that the return type annotations is sometimes placed after the diagnostics. This means that if the diagnostics line is long enough it'll get pushed out of view.

I think the placement depends on which one gets rendered first.
Is there a way to change this behavior?

Never mind, actually the native inlay hints are not working at all.
If you think you're seeing the native inlay hints, you're probably seeing ones from this plugin.
Setting inlay_hints { auto = false } to your config will still enable rust-tools's inlay hints, not the native one. You can try running RustDisableInlayHints (a command from this plugin) to confirm this behavior.
You can switch to a vanilla lspconfig setup and run vim.lsp.buf.inlay_hint(0, true) and you will see that the native inlay hints are not working at all. Not sure what's going on here.

Not sure what you are doing, @musjj . Native inlay hints do works. Setting inlay_hints = { auto = false } really disable rust-tools' inlay hint for me.
I don't need to enable inlay hints manually, I use these settings: https://github.com/latipun7/dotfiles/commit/f9750042e9503eba4d6cf05ce7bb5465437bcf4f
Note: since https://github.com/neovim/neovim/commit/37079fca58f396fd866dc7b7d87a0100c17ee760 I guess vim.lsp.buf.inlay_hint() not works, you need to move it to vim.lsp.inlay_hint().

I solved the auto = false problem (I put them in the wrong table), sorry about that, kinda rushed without thinking.
I'm alredy using vim.lsp.inlay_hint and my neovim version is v0.10.0-dev-606+g628f6cce8.
But the inlay hints are still not enabled automatically for me. I have this in my on_attach:
on_attach = function(client, buffer)
  if client.server_capabilities.inlayHintProvider then
    vim.notify("enabling hints")
    vim.lsp.inlay_hint(buffer, true)
  end
end

The notify is there just to confirm that it's running at all.
Inlay hints works perfectly fine for Lua. For Rust, I have to manually run vim.lsp.inlay_hint(0, false) and then vim.lsp.inlay_hint(0, true) after opening a file. Manually running just vim.lsp.inlay_hint(0, true) does not work.
The issue occurs with both rust-tools.nvim and a vanilla lspconfig setup.
I'm not sure why this is happening. Kinda hard to imagine a plugin that would interfere with this, but I might debug it a bit more later.

Made a minimal reproduction:
vim.api.nvim_create_autocmd("FileType", {
  pattern = "rust",
  callback = function(args)
    local path = vim.fs.dirname(vim.api.nvim_buf_get_name(args.buf))
    local match = vim.fs.find("Cargo.toml", { path = path, upward = true })[1]
    if match then
      vim.lsp.start {
        name = "rust_analyzer",
        cmd = { "rust-analyzer" },
        root_dir = vim.fs.dirname(match),
        on_attach = function(client, bufnr) vim.lsp.inlay_hint(bufnr, true) end,
      }
    end
  end,
})

Run it like this: nvim -u repro.lua src/main.rs
The hints will not show up until you start typing. I suspect that this is an upstream issue.

EDIT: It seems that the inlay hints will only get rendered, after entering insert mode and inputting a keystroke for the first time. So far this only happens with Rust, but not other languages.

I don't think this is rust-tools related but  typical a rust-analyzer (RA) behavior.
Note: It's a common 'issue' with RA that it is slow analyzing your Rust crate(s) on start up.
It takes some time to scan all directories for the root paths of the current Rust project and its dependencies.
In my case everything behaves as intended. It depends on machine and project, but the average time it takes for RA to automatically show the inlay help and clippy info, is about 8 seconds.

Yeah, it's not really a rust-tools issue, it's probably an upstream issue.
But the problem is not that it's slow, the inlay hints will never show up until you start typing. You can test the reproduction config above on a small Rust project, wait until rust-analyzer is done without typing anything, and the hints will still not show up.
I'm also experiencing a bug where lines gets virtually duplicated when lines containing hints gets wrapped (if you have set wrap). Still don't have solid reproduction for this one. And of course there's also that backspace issue that has been reported in the neovim repro.
In general, native inlay hints is still in a pretty rough state right now (understandable, since it's a nightly feature). I think I'll stick with rust-tools's hints for now.

https://github.com/simrat39/rust-tools.nvim/blob/master/lua/rust-tools/server_status.lua#L7-L9
We enable inlay hints when the server is done processing the codebase, that's probably why the native inlay hints are slow


Does not work in ion-item next to ion-label

So I want to use this component in a form, like you would usually do with an input:
<ion-item>
  <ion-label color="dark" fixed text-wrap>Label</ion-label>
  <ion-input type="text" formControlName="label"></ion-input>
</ion-item>

Which end up looking like:
<ion-item>
  <ion-label color="dark" fixed text-wrap>Label</ion-label>
  <ion-auto-complete [dataProvider]="service"></ion-auto-complete>
</ion-item>

The weird thing (or maybe just my lack of knowledge) is that the autocomplete is just not there at all. If I remove the ion-label element, it does appear though.

Try this:
      <div class="employer-wrap">
        <ion-item [ngClass]="{'valid':form.controls['address'].status === 'VALID'}" class="employer-item">
          <ion-label [ngClass]="{'employer-label-valid':form.controls['address'].status === 'VALID'}" class="employer-label required-label">{{ inputArray['address'].label | translate }}</ion-label>
        </ion-item>
        <ion-auto-complete [ngClass]="{'valid':form.controls['address'].status === 'VALID'}"
        class="employer-typeahead" [dataProvider]="addressAutocompleteService"
        (ionAutoInput)="onAddressInput($event)"
        (itemSelected)="onAddressSelected($event)"
        [options]="{ showCancelButton: false }" #addressFormField></ion-auto-complete>
      </div>

You'll have to work some magic with the employer-wrap css things to make it look good. But yea it doesn't work out of the box.

Sure, this is a workaround, but why doesn't it work like an ion-input ?

Oh sorry got it:
<ion-item>
  <ion-label color="dark" fixed text-wrap>Label</ion-label>
  <ion-auto-complete item-content [dataProvider]="service"></ion-auto-complete>
</ion-item>

Don't forget to add item-content attribute


providing migrationId: 'timestamp' default in setup or asking from user

when setting up the orchid first time, by default for demo table, it generates timestamp base migration file, when we try to run it, we get error, we need to pass migrationId: 'timestamp' in dbScript file, i think either ask user when setting up the orm about migrationId type or by default give timestamp, because that's what are generated in default tables!
i can create PR for this change, if you like, or let me know there are any other thought behind keeping this way!

Thank you for pointing. I fixed this a couple of days ago, but it didn't publish for some reason.
Now it should work fine with
npm create orchid-orm@latest
# or
pnpm create orchid-orm


fix: Groovy compatibility

Fix for issue reported here: https://community.sonarsource.com/t/clover-coverage-analysis-sensor-not-firing-on-groovy-projects/35364
Tested manually on a SonarQube instance.

 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.

@Tony-Proum Is there a chance that this can get merged/released? Thanks in advance.

What is missing to generate a release of this fix?

If this requires monetary contribution to review and merge I suggest applying to https://opencollective.com/friends-of-groovy
The community is awaiting your response.
Thank you.

@prestontim Please review and accept :)

@sbglasius I would love to see this merged, but I don't have write access to this repo.

@sbglasius I would love to see this merged, but I don't have write access to this repo.

Can you point to one who does? As said, if it is downplayed because of monetary reasons, that can probably be dealt with.

@sbglasius I don't have any first-hand knowledge about this repo, but I am assuming that one of the contributors can merge this.

@Tony-Proum: Could you review and merge this PR?

Could someone please merge and release this fix?
cc: @geromegrignon @kuroidoruido @rlespinasse @Shikanime @tinesoft

@prestontim Thanks for this contribution.
I'm not competent to review your PR and release a new version but will make sure someone does as soon as possible.

Oh sorry, I totally missed the notifications. We have to migrate our artifact repository prior to include this change in the future release (we are using Bintray for now, but well, I' ll push merge this into master branch and try to find time to migrate into another artifact repository and release the plugin as soon as possible)

Is it possible to add a simple example of a groovy project in order to create a integration test case ? (something like the one you can fin here: https://github.com/sfeir-open-source/sonar-clover/tree/master/its/integration (a simple hello world is sufficient)

@Tony-Proum : I have made a pull request with a simple groovy project if that is sufficient: https://github.com/sfeir-open-source/sonar-clover/pull/46

As mentioned in this two issue, this fix seems not to do anything with groovy projects . I'll we try to help providing a doc on how I test it locally in few times.


NodeCG quits if IRC Ping Timeout

Currently, if there is a ping timeout for the IRC connection NodeCG will completely quit.
[12:24pm] error: Ping timeout.
warn: [lfg-sublistener] DISCONNECTED:

Expected results are that NodeCG will continue to run, and SubListener will continue to re-attempt connections.

And this is with nodecg.bundleConfig['tmi.js'].connection.reconnect being set to true?

I just tested on my end and this doesn't appear to be the case when nodecg.bundleConfig['tmi.js'].connection.reconnect is true.


Add detail to Range.PasteSpecial and fix spaces.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Excel-VBA/articles/range-pastespecial-method-excel.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Excel-VBA/articles/range-pastespecial-method-excel.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

All content in this repository has been migrated to a new repository (https://github.com/MicrosoftDocs/VBA-Docs). The changes in this PR have been applied in the new repository (as part of pull request #61), so this PR is being closed. The changes will be published to the live docs soon. Thank you for your contribution!


Add home-screen icon and shortcut

https://web.dev/customize-install/

https://stackoverflow.com/questions/34369951/how-to-get-add-to-home-screen-pop-up-on-site-open-in-mobile-browser

https://medium.com/@sam20gh/how-to-add-add-to-home-screen-to-your-website-4b07aee02676

https://dev.to/iamsahilsonawane/a2hs-in-flutter-web-3cln
See what chrome (desktop) says under dev tools/application/manifest

https://web.dev/customize-install/

Registers a service worker with a fetch handler

Need to add a fetch handler?


Bumping datadog agent RAM to 512req / 1024 limit (from 256/512).

Description
Doing this because we see datadog agents being restarted for OOM and we are missing some datadog traces. Hoping this will fix it.

Risk

Deploy Plan

I think it's really weird that the daemon needs so much ram. OK to try it, but I think the issue might be something else :/

Looking at our traces and the number of spans they have, I am actually surprised that this can run with that little RAM.
I am debugging a Slack webhook issue, we generate ~1200 spans just for one webhooks, each with some payload 🙃

So I have set both requests and limit to 512, hoping this is actually a bump and not just the same as before?

I hope too. If not we'll have to bump both to 1024 :/

@lasryaric

Looking at our traces and the number of spans they have, I am actually surprised that this can run with that little RAM.
I am debugging a Slack webhook issue, we generate ~1200 spans just for one webhooks, each with some payload 🙃

this thing is really just forwarding stuff to the cluster agent... so shouldn't need that much

Yes but it's receiving so much data, it must go somewhere. Running any sorts of app today takes a few hundred megabytes of ram already.


Add AsyncReadTestExt::limited

Also merges InterleavePending and InterleavePendingWrite to reduce code duplication. And renamed LimitedWrite to Limited and implemented AsyncRead on it for AsyncReadTestExt::limited .

Great, thanks!


Switching to nixos stable?

Must I be on the unstable branch as, from my understanding, configured by the installation or can I downgrade to the stable branch without breaking Asahi support?

It should work. it does to me. You can still roll back if it fails.

Doesn’t work anymore though. I had to switch to unstable with the last release to get GPU acceleration. :smiling_face_with_tear:


Use system titlebar-font config if available

This PR uses gsettings bin to read org.gnome.desktop.wm.preferences titlebar-font (is there a better way to query this?) and use this to configure the font used to render the title (ab_glyph and crossfont).
If no system font preference is found the default will remain sans:10.
Gnome
Using gnome (which I'm using) this means the titles look the same as native.
Example: Top system settings app title, middle ab_glyph example title, bottom crossfont example title

~Requires a new ab_glyph & owned_ttf_parser release to support variable font bold logic.~ Update: done.

This should be ready to go now.

Sorry for the delay, looks good to me. Thanks!


BeReal map

Can you bring back the BeReal map like BeFake did? It shows a map of where each BeReal is taken.

I'll add this to the Todo list, but I've slowed down a bit on TooFake additions for now.


Split main.py into smaller segments

Hey @silasary,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: ae8f3790-11ac-11ea-b428-cb0bccf60dd8


Support gradient backgrounds

If you enter linear-gradient(lime, green) as the value for the background, it’ll render it, but its calculations are off, because it’s interpreting it as a semi-transparent background.
It should instead calculate the range of contrast ratios, probably by sampling a bunch of colours on the gradient and considering them individually.
(Pathological example: grey on linear-gradient(white, black) has contrast ratios in the range 1–5.31, but if you only sampled the two ends of the gradient you’d get the answer 3.94–5.31.)

This might be tricky but quite valuable! I can't actually find anywhere online that checks this...

This is not hard for simple cases (you just calculate gradient for all colors, present min and max) but can very tricky in the general case.
FWIW right now gradients are not handled at all, what you're seeing is just the browser rendering the gradient because we also feed the input in element.style.background

[]```
Whiteslack.com****
@Whiteslack****
@Whacky****
@White****
@Slack****


Access-Control-Allow-Origin missing?

I recently noticed resources failing to load on my website because of the Access-Control-Allow-Origin header missing.
Is this done with a reason because i am sure it was being send a while ago.

Hello. What files do you serve? I recently started to redirect "unknown" file extensions such as images and videos, etc, to GitHub itself.

Hey, i am loading in .HDR files: https://rawcdn.githack.com/pmndrs/drei-assets/aa3600359ba664d546d05821bcbca42013587df2/hdri/venice_sunset_1k.hdr

Some folks were abusing the service to serve copyrighted video files, so I tried to mitigate this issue. Will try to resolve it soon.

Thank you! I don't mind the redirect since the page it redirects to has correct Access-Control-Allow-Origin headers. But currently my browser just fails on being redirect at all since the link is missing the headers

I've added the header to the location link. Could you please quickly check if that works for you?

Hmmm, can't see it yet. Is it possible cloudflare still has it cached? I cleared the cache of my browser

Well, it should redirect, at least from what I see it redirects

Let me know if you see something else working incorrectly, I will keep this open for a while

Well, it seems there is somewhere still some caching enabled. Firefox shows that the file is not redirect but has the correct headers:

cURL shows a redirect with the correct headers:

and chrome shows a redirect without the headers:

I would honestly trust the cURL the most. So it seems to be fixed  then
Let's indeed keep it open for a while to see if the situation resolves itself then :)
Thank you for the quick help!

Looks like it is fixed, closing


Support for non repo root folder stash display

Currenty, the stash display only works if the folder being opened is the project root folder, if it's not, e.g. foo-project > bar, in this case, if I open bar folder in vscode, gitstash won't work, and will throw an error when opening the folder.

I rolled back to v1.0.2, and it works now. May relate to this issue.

Hi @wenfangcn. I just released a new version with a setting to configure the search depth for git repos (with a default value to search on one sublevel). I hope this works for you. Would you let me know?

Hi @arturock , thanks for the new setting, can the depth be negative, so it can go up folder levels to find the real repo?

Currently only positive values are considered, but I'll see what can I do to support this

Hi @wenfangcn. I just got the time to work on this. Parent directories are supported on the new version using negative values. I hope the updated feature works the way you need it. Please let me know I you have any issues.

@arturock Thanks, bro! It automatically works now like v1.0.2 did, I didn't configure "gitstash.advanced.repositorySearchDepth" though, is it now automatically find the nearest repo first?

There was a bug when searching for the repository root directories when showing the explorer tree, introduced on the refactor for supporting multi-root, this affecting Windows machines (my box is a Linux one so sadly It wasn't happening on my machine). The fix restores the broken functionality so you don't need to change anything.
Regarding the icons. Do you have any tooltip if you position the mouse over the places where icons should be? Mostly sure, commands are correctly registered but for some reason icons cannot be located. I've got a Win7-64 VM for testing purposes and icons display correctly. Not sure if has to do with your OS, vscode version or even the home folder name (where extensions are located). Did you have the icons showing on a previous extension version?
Can you see any related info if you open the developers tools view?
Maybe something along the lines of
refresh.svg:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
If so, could you paste one of the failed link addresses?

Oh, I see why they didn't "show up" , my stash messages were so long that I have to scroll right to find the icons 😂 .

Can you please make the icons positioning absolute to the right border, so they can always appear when hovering? 👍

Thanks for the info @wenfangcn . Do you by any chance have configured workbench.list.horizontalScrolling to true? This setting controls the horizontal scrolling on trees, which affects the tree view of this extension too

Yes, I do, but the source control section is not affected by this setting though, it's still not scrollable.

Can git-stash also do that? It'll be great if it works even when workbench.list.horizontalScrolling is true, since this setting is quite useful in some cases.

Unfortunately no, extension tree widgets display mode depend on that setting.

OK, I guess I'll have to change the setting now :D, thanks anyway!

There's a similar vscode issue regarding to disable horizontal scrolling for specific lists.

No prob dude. Thanks your input on solving the original issue and for the vscode issue reference, if something is changed I'll most probably add a setting for it.


Replace older style for-loops with enhanced for-loops

Updating source code to make use of newer enhanced for-loop constructs.

Fixes #1495

This was merged in 6e8787e36e5b89dbc9c5af5e2d2b35bab74b7f36

@ctubbsii do you know why this page is indicating it is closed with unmerged commits even though the changes have been merged into master?

@jmark99 The only time I've seen that is if the commit was rewritten and merged on the command-line, rather than via the web UI. If you merged it via the web UI, or didn't re-write the commit, it could just be a weird screwy thing with GitHub. I wouldn't worry about it.


Show anchor links when hovering over documentation headers

Closes #68

@oleg-nenashev this looks exactly like what I was referring to, can't wait to see this added to the docs. This will make sharing links with people in Slack and in my workshops a lot easier!

Ok, merging then! Thanks


Nodejs service to convert YAML to JSON / CSV and vice-versa

AS AN Architect
I WANT TO have a REST endpoint to convert YAML to JSON and vice-versa
SO THAT I wouldn't have duplicate services for the same functionality
Acceptance Criteria

[ ] POST REST endpoint /convert/yaml-to-json to convert YAML to JSON
[ ] POST REST endpoint /convert/json-to-yaml to convert JSON to YAML
[ ] POST REST endpoint /convert/csv-to-json to convert CSV to YAML (applicable for flat JSONs only)
[ ] Request parameters provided as POST body
[ ] In case of request body output_type=base64, response as base64, otherwise based on endpoint type

https://koodivaramu.eesti.ee/buerokratt/plug-and-play/rasa-ilmateenused/-/blob/main/data/nlu/common_abi_küsimine_nlu.yml

Pull request https://github.com/buerokratt/Training-Module/pull/155


Need to smooth the 1st derivative in order to calculate 2nd derivative

Numerical first derivative on implied call prices is noisy. Numerical differentiation on this raw data would lead to a noisy 2nd derivative.
Option 1:
Research methods for numerical differentiation on noisy data:
https://www.researchgate.net/publication/255907171_Numerical_Differentiation_of_Noisy_Nonsmooth_Data
Python implementation here:
https://oliver-k-ernst.medium.com/how-to-differentiate-noisy-signals-2baf71b8bb65
Option 2:
Smooth the 1st derivative using a machine learning model
~~https://stackoverflow.com/questions/15862066/gradient-in-noisy-data-python~~
- this seems to be difficult. I think we'll need a natural cubic spline, because a normal cubic spline produces poor edge behavior that results in negative implied PDF after differentiating again
Update on Option 2:

smoothing the data before differentiating is not a good solution. "Denoising the data before or after differentiating does not generally give satisfactory results" (pg.1 of the paper above)

Ignore everything above.
We use spline to smooth derivatives, as options data contains noise. We use the method outlined by this paper:
https://edoc.hu-berlin.de/bitstream/handle/18452/14708/zeng.pdf?sequence=1&isAllowed=y


Text in Casper antialiased sometimes, but sometimes not

Issue Summary
Sometimes text in my blog based on default non-modified Casper theme is antialiased, and sometimes not. There are difference in browsers, I want to finally remove antialiased text. Is it possible?
Steps to Reproduce
I think picture on page will reproduce this problem, pages without images display text normal, without antialiasing.

Technical details:

Ghost Version: 0.8
Node Version: 4.2.6
Browser/OS: Chrome, Safari on OS X 10.11
Database: SQLite

Yeah, the antialiasing only applies when the post doesn't have a post cover image, and doesn't apply when there is a cover image. However, this difference only appears in Chrome and Safari. There's no difference in rendering in Firefox. Here's a gif showing the difference in Chrome: http://i.imgur.com/GTFIi88.gif
This is still present in Ghost v0.10.0 on Windows 10.
Antialiasing makes the text look too light, I think.

Yeah, the antialiasing only applies when the post has an image in the body, and doesn't apply when there are no images. However, this difference only appears in Chrome and Safari. There's no difference in rendering in Firefox. Here's a gif showing the difference in Chrome: http://i.imgur.com/42XLFB9.gif
This is still present in Ghost v0.10.0, viewed on Windows 10.
Antialiasing makes the text look too light, I think.
UPD: it also has something to do with "transform: translate3D" function used in the navigation styling.
If you try opening your screen.css and simply remove this part of the code:
body.nav-closed .nav {
    -webkit-transform: translate3D(97px, 0, 0);
        -ms-transform: translate3D(97px, 0, 0);
            transform: translate3D(97px, 0, 0);
}

You'll notice that the antialiasing will be gone. Once you click on "Menu", it will apply again.
You can also change the body.nav-closed .nav's transform value from 97px to 240px or more, which will also remove the antialias. Notice how the 240px value coincides with body.nav-opened .site-wrapper's value.
'Navigation' part of the css is responsible not just for the navigation menu but also for moving the text around the screen when the navigation is opened, and something about the current code results in antialiasing.
You can google "translate3d blur" and there'll be dozens of results about the blur problems this function.
I'm not sure what to do with all this because I'm not a web developer, maybe someone more knowledgeable will come up with a fix.

This has been open for almost a year - so I'm going to close it for now. If anyone reports or comes up with a fix in future then we can look at it again


fix serializing inverse of compound models

If it's a compound model its inverse is saved in CompoundModel.inverse. If it's a single model the inverse is in Model._user_inverse. The tag needs to check for both. In the future these may be refactored to be more consistent.

@perrygreenfield Let me add a test before this is merged.


ERR /home/vcap/app/lib/admin.rb:6:in `require_relative': /home/vcap/app/lib/admin/config.rb:95: syntax error, unexpected '.' (SyntaxError)

I am not able to deploy admin-ui. I am using CF Release 230 and using branch cf-release-pre-v245
Following my configuration file:
ubuntu@bosh:~/admin-ui$ cat config/default.yml
---
bind_address: <IP_ADDRESS>
ccdb_uri: postgres://ccadmin:CCDB_PASSWORD@192.168.1.x:5524/ccdb
cloud_controller_discovery_interval: 300
cloud_controller_ssl_verify_none: true
cloud_controller_uri: https://api.xxx.xxx.openstack.xxx.com
component_connection_retries: 2
data_file: data/data.json
db_uri: sqlite://data/store.db
doppler_data_file: data/doppler_data.json
doppler_reconnect_delay: 300
doppler_rollup_interval: 30
event_days: 7
log_file: admin_ui.log
log_file_page_size: 51200
log_file_sftp_keys: [ ]
log_files: ['/var/vcap/sys/log/cloud_controller_ng/*.log', 'admin_ui.log']
mbus: nats://NATS_USER:NATS_PASSWORD@192.168.1.xx:4222
monitored_components: [NATS, CloudController, DEA, HealthManager, Router, -Provisioner, ALL]
nats_discovery_interval: 30
nats_discovery_timeout: 10
port: 8070
receiver_emails: [ ]
sender_email:
  server: localhost
  account: vcap@localhost
stats_file: data/stats.json
stats_refresh_schedules: [ '0 5 * * *' ]
stats_retries: 5
stats_retry_interval: 300
uaa_client:
  id: admin
  secret: c1oudc0w
uaadb_uri: postgres://uaaadmin:UAADB_PASSWORD@192.168.1.xx:5524/uaadb
uaa_groups_admin: [ admin_ui.admin ]
uaa_groups_user: [ admin_ui.user ]
varz_discovery_interval: 30

Here is my deployment manifest:
ubuntu@bosh:~/admin-ui$ cat manifest.yml
---
applications:
- name: admin-ui-100
  memory: 512M
  instances: 1
  command: ~/bin/admin -c ~/config/default.yml

And here are application logs:
2017-02-02T12:23:40.74+0000 [API/0]      OUT App instance exited with guid df8de51b-67dd-4300-b878-5e330f2e9a97 payload: {"cc_partition"=>"default", "droplet"=>"df8de51b-67dd-4300-b878-5e330f2e9a97", "version"=>"ce958aa9-ee38-4092-84e5-61cf8c03ebdb", "instance"=>"9ef9ebc2786e46799ca087923ca9e12a", "index"=>0, "reason"=>"CRASHED", "exit_status"=>1, "exit_description"=>"failed to accept connections within health check timeout", "crash_timestamp"=>1486038220}
2017-02-02T12:23:41.36+0000 [DEA/0]      OUT Removing crash for app with id df8de51b-67dd-4300-b878-5e330f2e9a97
2017-02-02T12:23:41.36+0000 [DEA/0]      OUT Stopping app instance (index 0) with guid df8de51b-67dd-4300-b878-5e330f2e9a97
2017-02-02T12:23:41.36+0000 [DEA/0]      OUT Stopped app instance (index 0) with guid df8de51b-67dd-4300-b878-5e330f2e9a97
2017-02-02T12:24:01.49+0000 [DEA/0]      OUT Starting app instance (index 0) with guid df8de51b-67dd-4300-b878-5e330f2e9a97
2017-02-02T12:24:04.32+0000 [App/0]      ERR /home/vcap/app/lib/admin.rb:6:in `require_relative': /home/vcap/app/lib/admin/config.rb:95: syntax error, unexpected '.' (SyntaxError)
2017-02-02T12:24:04.32+0000 [App/0]      ERR         schema[:stats_refresh_schedules]&.each do |spec|
2017-02-02T12:24:04.32+0000 [App/0]      ERR                                           ^
2017-02-02T12:24:04.32+0000 [App/0]      ERR /home/vcap/app/lib/admin/config.rb:232: syntax error, unexpected '.'
2017-02-02T12:24:04.32+0000 [App/0]      ERR       @config[:sender_email][:authtype]&.to_sym
2017-02-02T12:24:04.32+0000 [App/0]      ERR                                          ^
2017-02-02T12:24:04.32+0000 [App/0]      ERR    from /home/vcap/app/lib/admin.rb:6:in `<top (required)>'
2017-02-02T12:24:04.32+0000 [App/0]      ERR    from /home/vcap/app/bin/admin:11:in `require'
2017-02-02T12:24:04.32+0000 [App/0]      ERR    from /home/vcap/app/bin/admin:11:in `<main>'
2017-02-02T12:24:04.34+0000 [App/0]      OUT
2017-02-02T12:24:04.37+0000 [DEA/0]      ERR Instance (index 0) failed to start accepting connections

Is there  something i am missing out?

@harshalk91 Reference this prior issue:  https://github.com/cloudfoundry-incubator/admin-ui/issues/145.
The crash is likely being caused by the admin ui not using the ENV['VCAP_APP_PORT'], but instead trying to listen on your configured port of 8070.
The &. syntax errors are likely due to an older ruby level.  Try adding the latest ruby buildpack to get the later version of ruby:  -b https://github.com/cloudfoundry/ruby-buildpack.git

@rboykin  Thank you so much!! I am able to deploy admin-ui as an application. But still confused on which credentials are needed to login on admin-ui

You use a UAA managed user to login to the admin ui.  The UAA user must be a member of the group designated in your admin ui's default.yml.  In your case, you used admin_ui.admin group membership for your admin-enabled group and admin_ui.user group membership for your user-enabled group.  As an example, from the https://github.com/cloudfoundry-incubator/admin-ui/blob/master/README.md you can see the following snippet of uaac commands:
Create a new group and add the 'admin' user to it
uaac group add admin_ui.admin
uaac member add admin_ui.admin admin

Closed due to inaction


Unchecked runtime.lastError: The message port closed before a response was received.

This error (pictured above) shows up on the main browser console (not the Reactime extension console) occasionally, not always.
Still not sure what causes it, or what functionality exactly is affected, if any at all.
The previous iteration team seemed to attempt solving this issue by returning true at the end of the port.onMessage and chrome.runtime.onMessage event handlers in our background.js script file.
One of these attempts is reproduced in screenshot-form, below:

Why it might be happening?
Issue #206 : an uncaught error in our extension that breaks the chrome runtime connection.

This issue does not come up in the package version on the Chrome package. Issue came from updating unpacked chrome dev tool during development.


Make compatible with TextMate

This change will make this language usable as a TextMate Bundle.
I have used my name/email as contact for the Bundle. Feel free to change.

Add UUID's to tmLanguage and tmPreferences to make them work with TextMate
Add Build, Run, Fmt and Test tmCommands
Run Fmt on save
Symlink Comments.tmPreferences to TextMate location
Add install instructions
Add info.plist required by TextMate

@aequitas, sorry for not seeing this earlier, but thanks for the contribution! regarding your name and email i think that would be more of a question to ask andrew about.


Disable line wrapping

DartPad currently uses line wrapping, but this causes some weird behavior for samples with long lines. For example, an upcoming codelab uses this line:
const owl_url =
    'https://raw.githubusercontent.com/flutter/website/master/src/images/owl.jpg';

This line of code restricts the size of the Flutter app.

The second sample at https://dart.dev/tutorials/web/low-level-html/add-elements also demonstrates this issue

@johnpryan Should #1438 be considered a duplicate of this issue?

Yeah, marked that issue as a dupe. Pasting the gist from that issue for reference: https://dartpad.dartlang.org/cbb4deb6b52b3cb7689d2fb974cf9c58

It's also visible here: https://flutter.dev/docs/codelabs/layout-basics_migrated#image-widget

We should probably put a min-width property on the output container as well.

Any workarounds here?

@marcellodesales see https://github.com/dart-lang/dart-pad/pull/1921

I came up with a groovy string to generate a variable with the long string value :)
https://groovyconsole.appspot.com/script/5151226664583168


PHP version?

My question, is would you ever think about making a PHP version of this? As I would love to use this for programs I make to distribute them as a minified version, on an App Store I made.
As I would send the data up via PHP post and then get the return you see, so if you do make something like this please tell me as this would be SUPER useful!
Thanks,

A PHP port of luamin is outside the scope of this project.
But then again, it doesn’t sound like you need one. You could easily create a wrapper around the luamin binary in your language of choice.


Setting the project up locally

I'd like to setup the project locally but I do get a

Postgres connection error: Error: connect ECONNREFUSED <IP_ADDRESS>:5432

when I run ./localdev.js init zen
afaik this has sth to do with postgres/node both pointing to <IP_ADDRESS> but i don't know how to fix it...

Hi there, is postgres actually running in your box? They will use the same address, that's not an issue, because they use different ports but it looks like postgres is either not running, or potentially being blocked by a firewall?

#facepalm no postgres was not running....works all fine now :)

@nerdess great stuff; could you please close the issue if you are happy with the setup?


stable release Tag

Please release a version with a stable semver tag for composer
composer require yzalis/litmus => "Could not find package yzalis/litmus at any version for your minimum-stability (stable)."

@eyepin Done

https://github.com/yzalis/Litmus/releases/tag/2.0.0


process.env.PORT is undefined in CI Build

I'm in the process of deploying a webpack-supported node.js app to Azure App Service, but I have a problem using process.env.PORT in the source code. This environment variable is not available during CI Build, and when webpack compiles it becomes undefined.
An example:
const NODE_PORT = process.env.PORT || 3000; will become var NODE_PORT = undefined || 3000;.
process.env.PORT is defined at runtime (as a namepipe) and is dynamic, and therefore can't be defined (from what I know) in e.g. webpack --env.PORT=\\.\2sf12g3[...].
Any suggestion on how I can approach this? Can I tell webpack to not compile/parse specific lines?
Thanks!
Do you want to request a feature or report a bug?
Bug

What is the current behavior?
process.env.PORT becomes undefined
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
process.env.PORT to be in the compiled version, literally.
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.
Node: 8.10.0
Webpack: 4.5.0
OS: Windows 10, Windows Server 2016

Unfortunately, the PORT (named pipe) is dynamic and defined on runtime. This means that I don't know what the PORT will be during CI Build.
(Wrote HOST instead of PORT by mistake as example).

Do you use target: "node"?

I am not. I will look into this.

This issue was solved by stringify the statement as below.
const NODE_PORT = 'process.env.PORT || 3000';

The issue was solved by giving absolute path to your .env file. like that;
const path = require("path");
require("dotenv").config({ path: path.join(__dirname, "./.env") });


Accept labels as objects on start and end span

Previously, labels were passed to start and end span calls
with the structure [{ key: 'key', value: 'val' }]. This has been
replaced with the more concise { key: 'val' } structure.
@ofrobots PTAL.

LGTM


More logical keybinding CTRL+SHIFT+S

Instead replacing the standard CTRL+S for save a single file, it is better to replace the "Save as..." command

Thanks for your commit. Unfortunately I don't think this keybinding is better. Please use your local keymap or make it a checkable option in the settings.

Hi Brown. Well, don't worry, now that I know where to change it once your package is installed I can "change the binding" after installation. But consider your binding: it is very aggressive for people used to save only the current file (while programming, a lot of times I want only to save one file to test my last change before save other changes). Anyway, thanks for the package.

If someone want's to make it an option, I'd be happy to take ctrl-shift-s as default. By the way, this package is not required anymore since version 1.2.0-beta: "Atom no longer attempts to save unmodified files when the "Save All" command is dispatched."


Whitelisting still does not allow connections (IDFGH-322)

Environment

Core : [ESP-WROOM32]
IDF version: 1c7a8b3b712c4020562551f692d0ced8f7470d2c
Development Env:		[msys32]
Operating System:		[Windows]
Power Supply:         [external 3.3V]

Problem Description
Whitelist does not work as expected, all connection attempts timeout when set to only allow whitelist connections.
I am trying to get the whitelist to work on my code which is based on Secure Gatt Server example.  When I set advertising parameters to be:
data_adv_params.adv_filter_policy = ADV_FILTER_ALLOW_SCAN_ANY_CON_WLST;
or
data_adv_params.adv_filter_policy = ADV_FILTER_ALLOW_SCAN_WLST_CON_WLST;
all connections timeout even from whitelisted devices.  No GAP events are handled.  When the device is bonded at ESP_GAP_BLE_AUTH_CMPL_EVT event I add it to the whitelist.
Debug Logs
Here is a sample log.  "Pairing mode" is just a change in advertising to allow any scan any connection for a set period of time.   After the advertising is set back to whitelist, all Gatt connections timeout, even from the newly bonded / whitelisted device.
I (10330) GATT SERVER: Entering Pairing Mode
I (10334) GATT SERVER: Removed all bonded devices
I (10347) GATT SERVER: GAP_EVT, event 17
I (10347) GATT SERVER: GAP_EVT, event 6
I (10347) GATT SERVER: advertising start success
I (10349) GATT SERVER: GAP_EVT, event 23
I (10353) GATT SERVER: ESP_GAP_BLE_REMOVE_BOND_DEV
I (10358) GATT SERVER: -----ESP_GAP_BLE_REMOVE_BOND_DEV----
I (10363) GATT SERVER: 61 86 f0 64 a9 f7
I (10367) GATT SERVER: ------------------------------------
I (13906) GATT SERVER: ESP_GATTS_CONNECT_EVT
I (13907) GATT SERVER: ESP_GATTS_CONNECT_EVT
E (13909) BT_APPL: earlier enc was not done for same device

I (14115) GATT SERVER: GAP_EVT, event 20
W (15705) BT_SMP: FOR LE SC LTK IS USED INSTEAD OF STK
I (15826) GATT SERVER: GAP_EVT, event 9
I (15827) GATT SERVER: key type = ESP_LE_KEY_LENC
I (15827) GATT SERVER: GAP_EVT, event 9
I (15827) GATT SERVER: key type = ESP_LE_KEY_PENC
I (15831) GATT SERVER: GAP_EVT, event 9
I (15835) GATT SERVER: key type = ESP_LE_KEY_LID
I (16002) GATT SERVER: GAP_EVT, event 9
I (16002) GATT SERVER: key type = ESP_LE_KEY_PID
I (16002) GATT SERVER: GAP_EVT, event 8
I (16003) GATT SERVER: remote BD_ADDR: 44c553f4daed
I (16007) GATT SERVER: address type = 1
I (16011) GATT SERVER: pair status = success
I (16016) GATT SERVER: Bonded devices number : 1
I (16019) GATT SERVER: Bonded devices list : 1
I (16023) GATT SERVER: 44 c5 53 f4 da ed
I (16028) GATT SERVER: GAP_EVT, event 27
I (16031) GATT SERVER: Whitelist updated
I (16037) GATT SERVER: GAP_EVT, event 20
I (19306) GATT SERVER: ESP_GATTS_DISCONNECT_EVT
I (19306) GATT SERVER: ESP_GATTS_DISCONNECT_EVT
I (19310) GATT SERVER: GAP_EVT, event 6
I (19311) GATT SERVER: advertising start success
I (19312) GATT SERVER: GAP_EVT, event 6
I (19315) GATT SERVER: advertising start success
I (40323) GATT SERVER: bt_pairing_timer_callback
I (40331) GATT SERVER: Stopping Pairing Mode
I (40334) GATT SERVER: GAP_EVT, event 17
(advertising set back to whitelist only connection)
I (40334) GATT SERVER: GAP_EVT, event 6
I (40334) GATT SERVER: advertising start success
(at this point there are no GAP events when trying to connnect, just timeouts)

I updated due to some recent changes and while I see some different output, it seems whitelisting doesn't work for servers still.

I (101127) GATT SERVER: Entering Pairing Mode
I (101127) GATT SERVER: Removed all bonded devices
I (101134) GATT SERVER: GAP_EVT, event 17
I (101134) GATT SERVER: GAP_EVT, event 6
I (101138) GATT SERVER: advertising start success
I (107823) GATT SERVER: ESP_GATTS_CONNECT_EVT
I (107824) GATT SERVER: ESP_GATTS_CONNECT_EVT
E (107826) BT_APPL: earlier enc was not done for same device

I (107939) GATT SERVER: GAP_EVT, event 20
W (109532) BT_SMP: FOR LE SC LTK IS USED INSTEAD OF STK
I (109654) GATT SERVER: GAP_EVT, event 9
I (109654) GATT SERVER: key type = ESP_LE_KEY_LENC
I (109654) GATT SERVER: GAP_EVT, event 9
I (109654) GATT SERVER: key type = ESP_LE_KEY_PENC
I (109659) GATT SERVER: GAP_EVT, event 9
I (109663) GATT SERVER: key type = ESP_LE_KEY_LID
I (109799) GATT SERVER: GAP_EVT, event 9
I (109800) GATT SERVER: key type = ESP_LE_KEY_PID
I (109800) GATT SERVER: GAP_EVT, event 8
I (109800) GATT SERVER: remote BD_ADDR: 65fbf0ddd585
I (109805) GATT SERVER: address type = 1
I (109809) GATT SERVER: pair status = success
I (109814) GATT SERVER: Bonded devices number : 1
I (109817) GATT SERVER: Bonded devices list : 1
I (109821) GATT SERVER: 65 fb f0 dd d5 85
I (109826) GATT SERVER: GAP_EVT, event 27
I (109829) GATT SERVER: Whitelist updated
I (109864) GATT SERVER: GAP_EVT, event 20
I (116553) GATT SERVER: ESP_GATTS_DISCONNECT_EVT
I (116554) GATT SERVER: ESP_GATTS_DISCONNECT_EVT
I (116558) GATT SERVER: GAP_EVT, event 6
I (116558) GATT SERVER: advertising start success
I (116559) GATT SERVER: GAP_EVT, event 6
I (116563) GATT SERVER: advertising start success
I (131117) GATT SERVER: bt_pairing_timer_callback
I (131125) GATT SERVER: Stopping Pairing Mode
I (131128) GATT SERVER: GAP_EVT, event 17
I (131128) GATT SERVER: GAP_EVT, event 6
I (131128) GATT SERVER: advertising start success

I do duplication of ESP_GATTS_DISCONNECT_EVT, which is probably unrelated if it is actually a problem.

Hi guys, I have similar problems with whitelist (establishing connection without whitelist works as expected, please refer to attachment1.png)...
Once I set advertising filter policy on ADV_FILTER_ALLOW_SCAN_WLST_CON_WLST I'm still able to see in sniffer tool that scan response is send back to the smart device (android) and ESP is shown up as expected... But unfortunately establishing connection fails… Smart device (android) sends out connect request, but from ESP side there are no more packets seen in sniffer tool (please refer to attachment2.png)…
How this whitelist works in case that from user perspective there are stored just static address. Smart device address is changing quite often. Does the BLE stack take over for IRKs?
Is there any example available – I have found just whitelist example for scanning.
Thank you for info!
BR,
Matej

hi all:
Sorry, whitelist have a bug. We will find the cause and fix it.

@Weijian-Espressif Any updates on this?

@jkhax0r Sorry, this is caused by a hardware problem, we are thinking about a solution, it will take some time.

@jkhax0r any movement on this ticket? Has anyone else implemented a manual whitelisting in the meantime?

bump

After short investigation i found that with device whitelisted and advertising set to connect whitelisted only i am getting GATT ERROR 0x85 on android.
http://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/t/534737#
Maybe its not esp32 issue at the end, i will try to connect with another esp32.

@Weijian-Espressif
Do you have any movements? or any workaround to prohibit connection from annonymous?

Sorry, the whitelist only support public address and static random address without encryption.

@Weijian-Espressif, I’m wondering how can I add device to whitelist without performing bonding? In Gatt Security Server Example Walkthrough example is mentioned that pairing and bonding process is invoked with esp_ble_set_encryption()… In latest version of esp-idf, there is no option within esp_ble_sec_act_t for non-secure connection. I tried with 0, but then bonding is not triggered. That means no keys are exchanged – nothing to store for advertising with whitelist
I understand that there is a bug, but is there any workaround? What I would like to achieve is that once one central (smart device) connects to peripheral (esp32), none of other centrals (smart devices) won’t be able to connect to peripheral (esp32). But reconnecting for first connected central (smart device) should work.
AFAIK direct advertising is no go… since smart devices changes their MACs after some time. Any idea, till waiting on fix?
Thank you for info!

@MatejMasat,  I think you do not need to use whitelist. Once your device is successfully bond, ESP32  always shows the first bond address, even if the peer device address has changed. The premise is that the peer device uses a resolvable address.

@Weijian-Espressif, when can we expect to have a resolution to the random address whitelist issue? Were you able to find the bug and do you have a time frame for a fix?

After further investigation, I see that esp_ble_gap_update_whitelist() in esp_gap_ble_api.h has two parameters unlike it's analog in bluedroid that has a third parameter esp_ble_wl_addr_type_t wl_addr_type. Why was the third parameter and associated enum dropped in the esp-idf? When can we expect the fix?
@Weijian-Espressif  @TianHao-Espressif @Yulong-espressif @Yulong-espressif

https://github.com/espressif/esp-idf/commit/c0bdea6aaee41d6a08897d21852fe03f2b19f6ad#diff-ef4b8f59d8290755270cc2d35c13b352

I think this is very important comment to note:

/* Controller do not support resolvable address now, only support public address and static random address */
https://github.com/espressif/esp-idf/blob/master/components/bt/bluedroid/stack/btm/btm_ble_bgconn.c#L202

@chegewara good point! How come the official idf doc has the third esp_ble_wl_addr_type_t parameter in esp_ble_gap_update_whitelist() ? I don't see it in the latest release source code in tools\sdk\include\bt\esp_gap_ble_api.h
See here:
https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/bluetooth/esp_gap_ble.html?highlight=esp_ble_gap_update_whitelist#_CPPv428esp_ble_gap_update_whitelistb13esp_bd_addr_t22esp_ble_wl_addr_type_t

I am also developing against esp32 and need this functionality, otherwise I'll need to move to another MCU vendor.

Any news about whitelisting? I saw you restructured bluetooth examples on your repo, maybe there are any updates?

+1 we really need this functionality to be able to use RPA with smartphones

Hi, is there any update on this please - this functionality is required for a project that I am working upon.  An indication of whether this can/will be addressed would be most beneficial, thanks.

Mark!
i have the same requirments!

:+1:
I need the whitelist functionality as well.
Any updates? (last statement from Espressif is 04.2019 -> 15months ago)

For my project I also need the feature to switch pairing off and activate it only if the user presses a button. Unfortunately this seems to be not possible. Does anyone know a workaround?

For my project I also need the feature to switch pairing off and activate it only if the user presses a button. Unfortunately this seems to be not possible. Does anyone know a workaround?

You can refuse pairing when button is/was not pressed.

Thank you for your fast reply.
How do I accomplish to refuse pairing? The callbacks

bool onConfirmPIN(uint32_t pass_key)
bool onSecurityRequest()

are never been called in my code. Probably because I am using static passkey?

IIRC you have to add 1 line of code after setiing up static pin:
pSecurity->setAuthenticationMode(param); with one of those as parameter, because by default static pin is setup to not bond:

ESP_LE_AUTH_REQ_SC_BOND
ESP_LE_AUTH_REQ_SC_MITM_BOND
ESP_LE_AUTH_REQ_SC_MITM

But im not 100% sure right now and there may be something else in security connection setup.

I have this line pSecurity->setAuthenticationMode(ESP_LE_AUTH_REQ_SC_MITM_BOND); already in my code. But the relevant callbacks (mentioned above) are not called. The only callbacks which are called are void onPassKeyNotify(uint32_t pass_key) and void onAuthenticationComplete(esp_ble_auth_cmpl_t cmpl). But with these I don't know how to deny paring.

I dont have good answer at this moment, i would have to test it, but there is hacky way to do it.
You can try to change esp32 capability to ESP_IO_CAP_KBDISP for the time when button is not pressed, which would require to enter or confirm pin on esp32 and from callbacks send false or pin 000000 for example.
For sure there is better way to do it, but this is something that came to my mind right now.

This workaround seems to work now. Although it is not nice to present the user of the smartphone a request to confirm a PIN which then results in a refusal to connect. But for the time being it could be acceptable until the issue in ESP-IDF if fixed (if it finally will).

Hi all,
Do you have any update about the whitelist and RPA?
A solution software or hardware (with the eco-v3 chip for example) was founded ?

I'm still struggling to get this working...

Parts of the whitelist feature are already available in ESP32,  it's need to enable Update RPA to Controller in menuconfig.
First of all, add the Public address of a peer device to the whitelist, and then connect and pairing, After disconnect, call esp_ble_gap_config_local_privacy(true)  generate a resolvable random address. Set ADV parameters and start broadcasting, the own_addr_type should set to BLE_ADDR_TYPE_RPA_RANDOM, the adv_filter_policy set to ADV_FILTER_ALLOW_SCAN_ANY_CON_WLST.
Public addresses are not allowed after encryption, only resolvable addresses can be used.

Thanks you @xiewenxiang for your answer.
This feature is only work on Bluedroid?
I don't  @find this option on Nimble menuconfig setting?

Hello @SamyRICHET ,  for Nimble,  if we do not enable BLE_HOST_BASED_PRIVACY, then by default it will go for controller based privacy. So, there is no explicit option "Update RPA to Controller" in menuconfig for Nimble.

Closing this . Please feel free to reopen in case of any issue.

Having some issues to make it work.
I'm running idf 5.0.2 on a GATT server initializing advertising with own_addr_type = BLE_ADDR_TYPE_RPA_PUBLIC. When pairing is successful I'm trying to whitelist the peer device (Android phone) and manage to trigger ESP_GAP_BLE_UPDATE_WHITELIST_COMPLETE_EVT. In that event i tried implementing the suggested solution by @xiewenxiang but can't get it to work. Is there any updates regarding the whitelist functionality?


query dbref filter

is it possible to find documents based on dbref filter?
in mongo it self with:
db.getCollection('messages').find({'user.$id': ObjectId("56d4ba0880f59017008b4567")})
but how can i do this with php?

The shell example you shared would translate to the following query in the PHP library:
$db->messages->find(['user.$id' => new MongoDB\BSON\ObjectId('56d4ba0880f59017008b4567')]);


channel closed error in cluster mode

When starting an app in cluster mode using pm2( pm2 start app_file -i 16), it keeps showing channel closed error in pm2 log file.
Error: channel closed     at ChildProcess.target.send (internal/child_process.js:562:16)     at Timeout.that.interval.setInterval (/var/www/node/express/node_modules/memeye/src/lib/Collector.js:57:24)     at Timeout._onTimeout (/var/www/node/express/node_modules/async-listener/glue.js:188:31)     at ontimeout (timers.js:380:14)     at tryOnTimeout (timers.js:244:5)     at Timer.listOnTimeout (timers.js:214:5)

@carlisliu
Hi, thanks for your feedback.
But i am so sorry to tell you that Memeye does not support multiple process on the way like pm2 yet.
Cause the dashboard that you seen on http://localhost:23333 are designed to show state of one NodeJS process .
If want to collecting and showing multiple process's state, the first thing to do is extend dashboard to support multiple process showing.
And then to change the API of Memeye, that means the simple way we used Memeye now will be changed.
I considering how to support multiple process in the elegant way.


Add debugging hooks/ways to extract and manipulate state at runtime

Would be awesome to have for instance voice solo/mutes, individual voice output, etc.

This is all being done progressively on the dbg branch for this project: https://github.com/yupferris/snes-apu-dbg


⚠ ClamAV has degraded performance

In 7aa8670, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 94 ms

Resolved: ClamAV performance has improved in b1ce760.


Catalogs can be turned into mind maps

BEFORE MAKING A FEATURE REQUEST, PLEASE READ THE
CONTRIBUTING GUIDE.
FEATURE REQUESTS THAT DO NOT PROPERLY FILL
IN THE TEMPLATE MAY BE IGNORED OR REJECTED.

What makes the feature necessary?
How would the feature work?

Could you please explain what you have in mind a bit more? Some examples would be helpful.


[master] sync the master branch with upstream opendatahub stable branch changes

[master] sync the master branch with upstream opendatahub stable branch changes

All the check seems to be alright
merging this.


0.7.5 beta1

bump
laserpane combo fix

This should fix most of the desync issues @apbarrett identified.

Issue report for the beta
The current 0.7.5-beta1 doesn't remember the device selection now. And I'm not sure the "fix" is totally working (link between devices and laser pane). I had to restart meerk40t a few times and I still can't explain the results

Just know that it starts up with spooler 4 selected, and nothing listed in the main window title bar.

Paiin's right, the reload doesn't automatically select the correct item in the laserpane. It's initialized wrongly.

And fixed that one. Best I can tell this works fully now. And could be merged and versioned...


Write tests for ConsensusManager

This is a complementary task to this issue
https://github.com/stratisproject/StratisBitcoinFullNode/issues/1322

Duplicated with https://github.com/stratisproject/StratisBitcoinFullNode/issues/1937


Allow publishing migrations separately

I'm building a new php please install:eloquent-driver command into Statamic Core, which will make the process of moving "things" to the Eloquent Driver much easier.
The command will install the package & let you configure which repositories you want to move over.
As part of these changes, I didn't want to force users to publish all of the Eloquent Driver's migrations, even if they're only planning on switching one of two of the repositories.
This PR makes that possible by splitting the migrations into separate publish tags, grouped by repository.

Made a couple of minor changes, let me know what you think.

Changes look good to me. Thanks!


chore: insert OwnerReferences param to pipelines

What this PR does / why we need it:
chore: insert OwnerReferences param to pipelines
sometimes the pipeline can fail and cleanup tasks are not triggered. By inserting the ownerReferences to created objects, when the pipelineRun fails, they can still be deleted by deleting the pipelineRun
Release note:
chore: insert OwnerReferences param to pipelines

/lgtm

/retest


Add Sentry module to simplify integration with Sentry

PR Checklist

[x] Verify if the change requires a changeset. See CONTRIBUTING.md
[x] Link to the respective task if one exists: COM-369
[ ] Provide screenshots/screencasts if the change contains visual changes

Screenshots/screencasts

LGTM. Have you tried if the optional peer dependency solution works as expected?

Works as expected, but if you use the Sentry module, you need to install @sentry/node manually.


Support Version 2.0.0 changes for /v1/regard-updated-approval-status

Generate server stub for the version 2.0.0 specification
If the api/openapi.yaml is not updated as per the published version 2.0.0 , then copy the api/openapi.yaml file from the generated stub to the source code
no change required in the method signature

Following tasks needs to be completed to support /v1/regard-updated-approval-status version 2.0.0 ,

[x] https://github.com/openBackhaul/RegistryOffice/issues/225

When /v1/regard-updated-approval-status , embed-yourself callback will be triggered by RO , this should now consists of the following 3 attributes in the resquest body ,

old-release-protocol
old-release-address
old-release-port

When there is an upgrade in the release-number , then by using the "application-name" , old-release of this application shall be traced. but when there is a change in the "application-name" itself , this cannot be traced.
So , in this case , RO fails to send proper old-release details resulting in not initiating "bequeath-your-data-and-die" to the proper old-release.


[stable/gitlab-ce] Gitlab won't initialize/start without a cert with https externalURL

Is this a request for help?:
no
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
bug (?)

Version of Helm and Kubernetes:
$ helm version; kubectl version
Client: &version.Version{SemVer:"v2.6.1", GitCommit:"bbc1f71dc03afc5f00c6ac84b9308f8ecb4f39ac", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.6.1", GitCommit:"bbc1f71dc03afc5f00c6ac84b9308f8ecb4f39ac", GitTreeState:"clean"}
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.0", GitCommit:"0b9efaeb34a2fc51ff8e4d34ad9bc6375459c4a4", GitTreeState:"clean", BuildDate:"2017-09-29T05:56:06Z", GoVersion:"go1.9", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.0+coreos.0", GitCommit:"a65654ef5b593ac19fbfaf33b1a1873c0320353b", GitTreeState:"clean", BuildDate:"2017-09-29T21:51:03Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

Which chart:
stable/gitlab-ce
What happened:
Specified an externalUrl with protocol https. The internal nginx couldn't start with error message:
2017/10/24 12:07:21 [emerg] 970#0: BIO_new_file("/etc/gitlab/ssl/gitlab-test.preprod-local.ch.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/gitlab/ssl/<MY DOMAIN NAME HERE>.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)

What you expected to happen:
The container to start correctly, or at the very least get a warning. I think giving a warning in NOTES.txt in case the user specifies a HTTPS URL is probably a good middle ground.
How to reproduce it (as minimally and precisely as possible):
$ helm install stable/gitlab-ce --values externalUrl=https://foo.bar
...
$ kubectl logs <pod name of gitlab instance>

Anything else we need to know:
Relevant issue on Gitlab's tracker: https://gitlab.com/gitlab-org/omnibus-gitlab/issues/1509

@andor44 Have you followed the instructions here? : https://docs.gitlab.com/ee/install/kubernetes/gitlab_chart.html#https-configuration
I needed to add the following to configmap.yaml
  nginx['listen_port'] = 80
  nginx['listen_https'] = false
  nginx['proxy_set_headers'] = {
    "X-Forwarded-Proto" => "https",
    "X-Forwarded-Ssl" => "on"
  }

Now I know, but I think this should be documented on the chart, as it wasn't immediately obvious to me why it wouldn't initialize with a seemingly valid configuration.


Implement Bitcoin functionality

[x] Provide importable types in Azle

[x] bitcoin_get_utxos
[x] bitcoin_get_balance
[x] bitcoin_send_transactions
[x] bitcoin_get_current_fee_percentiles

[ ] Simple example with tests
[ ] npm packages (either find ones that work, fork, or implement our own)
[ ] Documentation

[ ] Add jsdoc comments around types

[ ] Complex example (if you want to)

Resources:

https://internetcomputer.org/docs/current/references/ic-interface-spec/#ic-bitcoin-api

Quick progress update.
I've created all the necessary TS types in https://github.com/demergent-labs/azle/pull/627. Once that's merged in you should no longer need to declare your own types. You can just import the management canister and start calling methods on it directly.
Example canister:
import { CanisterResult, Update, Variant } from 'azle';
import {
    BitcoinNetwork,
    ManagementCanister,
    Satoshi
} from 'azle/canisters/management';

export type ExecuteGetBalanceResult = Variant<{
    ok: Satoshi;
    err: string;
}>;

export function* get_balance(address: string): Update<ExecuteGetBalanceResult> {
    const BITCOIN_API_CYCLE_COST = 100_000_000n;

    const canister_result: CanisterResult<Satoshi> =
        yield ManagementCanister.bitcoin_get_balance({
            address,
            min_confirmations: null,
            network: BitcoinNetwork.Regtest
        }).with_cycles(BITCOIN_API_CYCLE_COST);

    return canister_result;
}

I'm still working on creating a fully functioning example. I have one mostly working on the 565_bitcoin branch.
Where I'm currently hitting snags:

Current attempts to get balances always return a 0 amount. I've proved this works when pulling data created from Dfinity's basic rust bitcoin example, but can't get it to function when creating balances manually with bitcoin-cli. My current hypothesis is there must be something wrong about how I'm creating the address. I'm using P2WPKH addresses which should be supported, but something is off.
The example currently has a prerequisite to have bitcoind already installed and available on your $PATH. I'm working to get the test script to download and spin up the daemon as preparation steps, but am having difficulty getting the spawned child process to terminate correctly, leaving a ghost daemon process running.
A more robust example will require a bitcoin library that works in azle. There will likely be snags with cryptographic libraries but that will be my next step to explore.

Made good progress today. The test suite is almost complete. I've got it downloading and running the bitcoin daemon inline. The test is getting hung up when mining blocks for some reason though. I make a call out to the bitcoin-cli and it never returns. So figuring that out is my next step.
But we've discovered the reason behind why the canister was always returning a balance of 0. The replica takes a little longer to pick up the state changes so we'll just have to add a delay in and then the balances should show up.


3: box2 css

vs the base pr, initial mount of the thread storybook (which has a lot of nested box2s)
root:
692.25
671.28
546.73
pr:
681.86
655.16
505.03

@keybase/react-hackers

@keybase/react-hackers bump


User cannot access options in Combobox component with keyboard

Environment
Chrome 70
macOS Mojave
Violation
The user cannot access the drop down box options with a keyboard

Thanks @dakahn for reporting! As we talked offline, combo box is a react-only component as of today, and ones we have in dev env is for demonstrating markup/styles only.


Remove: Discord.Discord.PTB version 1.0.1003

## .\Tools\YamlCreate.ps1 -PackageIdentifier Discord.Discord.PTB -Mode 5 -SkipPRCheck 1.0.1003

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.0 schema?

Microsoft Reviewers: Open in CodeFlow

/azp run


Cannot install colmap with vcpkg on Windows

My nerfstudio installation works well with your in-built dataset, e.g. it trains and renders 3D model, but it does not work with custom dataset, and the colmap installation keeps failing though I've tried all code variants from github.com.microsoft/vcpkg. Pls see the attached error message. Any suggestions?

Looks like it is failing to build Colmap with vcpkg on your machine. I am not sure why, but you could try an alternative installation. From colmap's github releases you can download the latest .zip (COLMAP-3.8-windows-cuda.zip) file. Make sure you add Colmap to your system environment path and restart your cmd/terminal (open and close it again). To add colmap to path you can check some other links like:
https://peterfalkingham.com/2018/04/01/colmap-openmvs-scripts-updated/#:~:text=Type “edit the system environment,Now the script should work.
or
https://github.com/colmap/colmap/issues/1539

Thank you for your advice! Will try these options.
From your tutorial it is not clear thought whether colma should be installed at the root base (I'm going with Anaconda) or at the nerfstudio level (see the image).

Dear Matias,
Thank you for all your answers so far.
I've tried to install and run Nerf Studio on two local machines and once on
Google Colab, and there is always something wrong with it one way or
another that I cannot fix on my own.
I'm a senior lecturer at King's College London and am leading a project
that maps wooden Ukrainian churches. Part of our project is to start
experimenting with 3D modelling based on hybrid and disparate image and
video data given the circumstances that make it impossible to do
traditional photogrammetry.
I wonder if you could help us set up the studio to get us going.
Best wishes,
Gabriele Salciute Civiliene
On Sun, 23 Jul 2023, 19:42 Matias Turkulainen, @.***>
wrote:

Looks like it is failing to build Colmap with vcpkg on your machine. I am
not sure why, but you could try an alternative installation. From colmap's
github releases you can download the latest .zip (
COLMAP-3.8-windows-cuda.zip
https://github.com/colmap/colmap/releases/download/3.8/COLMAP-3.8-windows-cuda.zip)
file. Make sure you add Colmap to your system environment path and restart
your cmd/terminal (open and close it again). To add colmap to path you can
check some other links like:
https://peterfalkingham.com/2018/04/01/colmap-openmvs-scripts-updated/#:~:text=Type “edit the system environment,Now the script should work
https://peterfalkingham.com/2018/04/01/colmap-openmvs-scripts-updated/#:~:text=Type “edit the system environment,Now the script should work
.
or
colmap/colmap#1539 https://github.com/colmap/colmap/issues/1539
—
Reply to this email directly, view it on GitHub
https://github.com/nerfstudio-project/nerfstudio/issues/2260#issuecomment-1646927909,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEUKHLIDG7BFNRCTOHBWS4LXRVWANANCNFSM6AAAAAA2UVMCBM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Sorry for the delay, colmap should be installed at the system level so at the base environment. Better yet, if you deactivate all environments (by typing 'conda deactivate') you should be able to run colmap by simply tying 'colmap' into the terminal/cmd. This is the ideal setup, if you are able to run 'colmap' from the cmd/terminal directly then it has been installed correctly and also nerfstudio will be able to find it in its python scripts.
I assume you are on windows, and it is indeed a bit trickier to install colmap on windows from my experience. Are you running into any errors trying to install colmap directly from https://demuc.de/colmap/ ? At the bottom of this page you should try install the windows zip file and extract it to a convenient place on your system. Then you have to add the path to the /COLMAP-3.8-windows-cuda/bin path to your system variables path on Windows.

To test that your system is able to find colmap after updating the PATH variable, restart your cmd/terminal and type 'colmap' into the terminal and it should pop up with some information and help things regarding colmap.

Thank you for a detailed explanation. I've downloaded colmap from where you indicated, installed it and then added to the PATH variable, but when I try to run it in cmd, the following problem/s are flagged as in the screenshots attached. I've tried it on two machines, and the result is the same.

Did you restart the terminal as well after installing? If that does not work, I am not sure what the problem is. I am not a windows user and Colmap can be a pain installing on windows. Could you please also try installing an older version of Colmap, so not the newest release.

Thank you for a detailed explanation. I've downloaded colmap from where you indicated, installed it and then added to the PATH variable, but when I try to run it in cmd, the following problem/s are flagged as in the screenshots attached. I've tried it on two machines, and the result is the same.

I found I had to add the path to the root of colmap to get this to work. So that the system runs COLMAP.bat notthe exe in the bin folder. (COLMAP-3.9.1-windows-cuda)

after extracting the folder from zip, I add the "C:\Users\WIN\Desktop\COLMAP-3.9.1-windows-cuda\bin" and "C:\Users\WIN\Desktop\COLMAP-3.9.1-windows-cuda\lib"(example, you should change to your own path), these two paths to environment path in window10 setting, so that the CMD or PowerShell can run "colmap", but anaconda(base) may get an input point error, but when i activated nerfstudio in anaconda and type 'colmap' into the terminal and it pop up with some information successfully


Ensure GPX 1.1 compliance

The GPX exports from the COROS are not GPX 1.1 compliant, nor are they are GPX 1.0 compliant.
GPX files should be expected to pass XML validation against the GPX 1.1 schema.
It wouldn't take much effort for COROS to tweak their GPX exports to ensure they are compliant with the GPX 1.1 schema. I have written a document with some recommendations / guidance for the developers at COROS:

GPS Exchange Format (GPX) - COROS

I also wrote some notes relating to GPX files which may serve as useful background information:

GPS Exchange Format (GPX)
GPS Exchange Format (GPX) - Doppler Speed

The app release on 16 May 2024 fixed most of the issues in the GPX exports.
Speed is not included as gpxdata:speed and the files validate, with the exception of  in speedsurfing exports.

If / when <gpxtpx:course> is added (i.e. using the Garmin TrackPointExtension v2), it would also be worth renaming <gpxdata:speed> to <gpxtpx:speed>.

I've created a new issue for the outstanding tasks.
I will close this one now.


Improve readability of README

PR includes typos and grammar fixes in addition to changing the order of the README to prioritize configuration of flavours over Base16 examples.

Awesome project! I'm really glad your tool exists. Some of the changes are subjective, so please modify or reject entirely to your preference. I did include the grammar fixes from the other PR. Thanks again for making such a fun tool.

Hey! Thanks a lot for the corrections :). I ended up merging #50 first, so I'll go ahead and resolve the conflicts here

Done! My changes were just removing the backticks around hook default value (as its not literally none), as well as the paragraph about my (old) generate usecase.

Merging this now, please feel free to create a follow up PR if you see anything else that could be improved.
Thanks again!


Game closes when loading a custom stage SOURCE

Describe your problem here.
When loading my stage (added a Latamcity.hx stage then added it to PlayState.hx) the game just closes and the logs does not help me

when it says new BPM map the game crashes and doesn't show anything useful
All modifications to the source code
PlayState.hx
LatamCity.hx (Stage)
MainMenuState.hx
SplashScreenState.hx (Splash Screen of my mod)
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
Yes I edited Some states and fixed the CharacterEditorState.hx issue with the black screen made some modifications to MainMenuState.hx and CreditsState.hx (all of these working fine and aviable in my github repository if you need more information https://github.com/BloodMoonDS/FNF-VS-Bloodiey-Project-Reset))

I got the solution: The stage JSON used a custom folder instead of shared


Fix: plugin github-repo-scaffolding-golang branch doesn't take effect.

Signed-off-by: Daniel Hu<EMAIL_ADDRESS>Summary
Fix: plugin github-repo-scaffolding-golang branch doesn't take effect.
Description

Fix #237
Fix #238

Related Issues
#237 #238
New Behavior
I've already tested the new code, the 2 bugs have been fixed.


Any plan to support Ubuntu Server 24.04 (will release on 2024/04/25) ?

As title, I could help to test.

Thanks. But not right away, I plan to be ready by August or so.


v0.2.4 (center ROI) results in wrong ROIs

This version results in incorrect ROIs in mcd files. Reverting back to v0.2.3 (bottom right) solves the issue.

Potentially related to https://github.com/BodenmillerGroup/immucan-roi/issues/11

Fixed with v0.2.5


tsc --watch

Issue Type: Feature Request
You want to integrate the 'tsc --watch' switch in the bottom status bar and, when opened, output compiled information in the Problem Panel or Terminal Panel
VS Code version: Code 1.26.1 (493869ee8e8a846b0855873886fc79d480d342de, 2018-08-16T18:38:57.434Z)
OS version: Windows_NT x64 10.0.17134

You can create an extension to do it.