obj->design_func(obj, &obj_ext_mask, LV_DESIGN_DRAW_MAIN); causes hang

As in #431 I have an SAMD21 based arduino with an Adafruit screen I am porting the library to.
However in lv_refr_obj
obj->design_func(obj, &obj_ext_mask, LV_DESIGN_DRAW_MAIN);
causes the controller to hang
As suggested in #431 I looked at the obj values:
.piolibdeps/littlevgl_ID6228/lv_core/lv_refr.c@591->design_func: 12041
.piolibdeps/littlevgl_ID6228/lv_core/lv_refr.c@593->obj: 536880188
.piolibdeps/littlevgl_ID6228/lv_core/lv_refr.c@595->obj_ext_mask:  x1:0 y1:0 x2:479 y2:7
They look just fine to me. Increasing the memory did not help.
Another suggestion there was:

Will the crash disappear if you immediately return from lv_refr_area_part_vdb (lv_refr.c)?
Doing this stops the controller from hanging.

On further digging I've traced the error further to sw_color_fill
When the function attempts to acces mem[col] it simply stops. mem has a valid value as does col
.piolibdeps/littlevgl_ID6228/lv_draw/lv_draw_vbasic.c@624->mem: 536871897 .piolibdeps/littlevgl_ID6228/lv_draw/lv_draw_vbasic.c@626->col: 0

Another update. As in #431 it turned out to be an issue of compiler optimization. Disabling optimization in lc_draw_vbasic.c stops the system from hanging.

@nanokatz Maybe this would be helpful? https://github.com/littlevgl/lv_arduino/issues/2#issuecomment-466004502

@nanokatz Maybe this would be helpful? littlevgl/lv_arduino#2 (comment)

I saw this issue as well. However I believe my setup code is correct:

  lv_disp_drv_t disp_drv;
  lv_disp_drv_init(&disp_drv);
  disp_drv.disp_flush = disp_flush;
  disp_drv.disp_fill = disp_fill;              /*Used in unbuffered mode (LV_VDB_SIZE == 0  in lv_conf.h)*/
  disp_drv.disp_map = disp_map;                /*Used in unbuffered mode (LV_VDB_SIZE == 0  in lv_conf.h)*/
  lv_disp_drv_register(&disp_drv);

@nanokatz I see. Maybe @kisvegabor has an idea.

@nanokatz

Please attach your lv_conf.h
SAMD21 has only 32 kB RAM. Maybe you have a stack overflow. Try to lower the memory usage reducing LV_MEM_SIZE and LV_VDB_SIZE.

I doubt it is a memory issue as it occured with very low memory values. My lv_conf is here https://justpaste.it/2hygl
However I will also note this issue does not occur with v6. Optimization makes no differnce then

Can you reproduce it in the simulator?

@nanokatz mem is an unaligned pointer. That is probably the reason why it is crashing.
Did you set LV_ATTRIBUTE_MEM_ALIGN to __attribute__((aligned(4)))? Maybe that will solve your problem; it will force the compiler to align important LittlevGL structures on a 4-byte boundary.

I am actually having trouble recreating the bug now. It compiles and runs with optimizations enabled. Any idea on how to generate a misaligned structure?
I've switch to the dev-6.0 branch for my current project where it has not occurred so far.

@nanokatz When optimization is enabled, the compiler will sometimes disregard alignment in an effort to reduce the amount of memory that is consumed. Using LV_ATTRIBUTE_MEM_ALIGN should fix the problem.
Notice that the address 536871897 (or 0x200003D9) is not divisible by 4. This is probably causing an alignment fault inside the CPU.

Sounds then like this is a problem that already has a solution. I'll see if I can recreate the problem and see if it goes away with the MEM_ALIGN setting;.

Notice that the address 536871897 (or 0x200003D9) is not divisible by 4. This is probably causing an alignment fault inside the CPU.

I agree it can cause issues like this. We already faced this issue with Arduino and -Os optimization.
I suggest closing this issue now and reopen if the problem persists with LV_MEM_ALIGN too.


I want to add docs about bulk insert with a short example.

I sent pull request about bulk insert.
The pull request was merged.
https://github.com/cakephp/phinx/pull/1148
And I receive request from @lorenzo.
you mind sending another pull request with a short example for the docs?

https://github.com/cakephp/phinx/pull/1148
I sent other another pull request for the docs, but my addition doesn't really make sense.
Please send pull request with a short example for the docs.
https://github.com/cakephp/phinx/pull/1163

Thanks for the issue @kenzo0107! Will update or comment on that PR with corrections when I get a chance :)

PR open.


[DO NOT MERGE] Add Slack properties and publisher details

This commit adds the slack configuration to the "Copy Data To Integration" job.
Before this can be merged, we need to:

[ ] Add the Slack Access Token to hieradata in gds/deployment
[ ] Test this against a local Jenkins.

@carvil I don't see a PR on gds/deployment for the config. Should we close this?

@tijmenb At the time I didn't have permissions to add encrypted data to gds/deployment, hence the delay. I was going to finish it when I'm back on 2nd line (in 2 weeks time).
Feel free to close it and I will re-open it when I have some time to test it and add the other PR.

Closing for now as per https://github.com/alphagov/govuk-puppet/pull/4909#issuecomment-260903608


Any advice on patching dependencies?

Hello,
Thanks for the super cool package.
I have a situation where an indirect dependency (mediasoup-sys) of my crate fails to build on NixOS (mainly because it tries to install its own dependencies over the network at build time). After much tinkering, I've finally found a way to patch the dependency using buildRustPlatform. My solution is terribly inelegant, but you can see it in my MWE here. Hopefully there's a much easier way that I've failed to discover.
I would love to migrate from buildRustPlatform to crane for the caching gains, but I'm worried that it would be quite hard given that crane fetches dependencies outside of the normal cargo mechanisms.
Do you have any general suggestions on the subject, or specific comments on porting my solution?
Thanks!
Oliver

Hi @OliverEvans96 thanks for the report! We don't really have a means to customize or patch individual dependency crates (especially when dealing with transitive dependencies), so the best advice I can offer at this moment is:

Consider submitting your patch upstream like @dpc recommended. From your example it looks fairly self-contained and hopefully the project maintainers won't have an issue accepting an environment variable to disable the automatic installation behavior
You could fork the crate and apply your own patch there, then update Cargo.toml to patch the dependency with your own fork. Though keeping up with upstream changes will require some effort, so upstreaming the change sounds like the least involved solution long term

We might be able to support a form of dependency patching in the future by copying the sources out of the nix store and into the builder working directory, but it feels like trying to put a bandaid on sandbox-unfriendly behavior which ideally should come from upstream


Important: migrate from ReactJS to NextJS

Project Update
We are excited to announce that we are moving our ReactPlay project from ReactJS to NextJS. This change will improve performance and server-side rendering, making our project faster and smoother.
During this transition, we will be updating dependencies, changing the file structure, and modifying the code to work with NextJS. We appreciate your patience and support as we work through these changes.
If you have any questions or need help, feel free to reach out. Thank you for being a part of our community!
Repository update

there is a branch named nextjs-migration where you need to send the pull request regarding nextjs migration
after that this branch will be merged to the main branch
we will use Vercel for deployment

Join Discord 🔥

Hi @priyankarpal  I am interested in this Project, can I work with you on this Project?

Hi @priyankarpal I am interested in this Project, can I work with you on this Project?

yup sure you can

Hi @priyankarpal I am interested in this Project, can I work with you on this Project?

yup sure


DCS-632 Use staffIdentifier based instead of staffCode based community-api endpoints.

When retrieving staff details from Delius fall back to using staff code if no staff identifier found in staff_ids table.
Display staffIdentifier in migrate view for user.


getting Marconi

What is your username and discriminator?
Derban#7430
Why did you join Discord Linux?
I searched a Discord Server with a community to read about getting help to others
Where did you hear about Discord Linux?
meeh, Google told me. I was just asking.
What is the passphrase that was assigned to you by the bot?
sudo -i leading-bag-incandescent-schoolhouse

From Syretia :
Looks good.  I've given you a temporary role so that you can enter the passphrase in the welcome channel.


Memory leak during routing switch

Version
3.1.2
Reproduction link
https://github.com/wukang0718/vue3-memory
Steps to reproduce
1, project execution npm run serve
2. Click the button to switch the route continuously
3. Found that JS Heap and DOM Nodes are not reduced
What is expected?
JS Heap and DOM Nodes reduced
What is actually happening?
JS Heap and DOM Nodes are not reduced

This demo can't replicate my problem

No idea if related in any way but I have a memory leak problem were each route sticks in memory on first visit.
Reproduction: https://github.com/MarMun/vue-memleak
Maybe it helps.


Heavy artifacts appear when the video length is very small such as 5 and 10

I tried your pretrained weights, and I find when the video length is very short, such as  5 or 10 frames, the generated results will appear losts of artifacts, especially on the background.
Besides, when I use long video, I can also ovserve some artifacts on the end or beginning of the video.
I guess there may be some problem with the model to deal with the short videos and both ends of the video.

I guess that is caused by the fixed length of motion module: 32. The model does not see any videos with less than 32 frames.


Inventory rework

Currently, the inventory object is linked directly to the player and only the player. We want to be able to abstract that object to let it be useful in something like a chest inventory.
Goals

abstract the Inventory object
add a Player getter to get inventory
add some sort of chest gui getter to get inventory

Mostly implemented in commits 1d1ca5a603189937872028bec637ac23a3baca63 and 29cb011569cbf9044509ead92a1f7756ad1aa18a. However, I do want to add a helper for getting the player's armor, possibly a subclass of Player allowing for an API such as Player.armor.getHelmet().

Should be fully completed as of 11e5781692fd94cfa12a47e02b37db7a43b288cd.


Unable to determine what CMake generator to use

Hi, I faced this problem when I opened my cmake project yesterday:
[main] Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable. Error: No usable generator found.
Before, two days ago, all worked correctly. I can use cmake generator from Windows Prompt console.
Please help

What generator are you using? What kit?
Can you share any "cmake.generator" and "cmake.preferredGenerators" settings you may have defined, at folder/workspace/global levels? Or you didn't set anything specifically anywhere?
Can you share a debug log (set in settings with "cmake.loggingLevel": "debug") for when you open and configure your project?
Try to delete the build folder and reload your project. But do this after copy pasting the above, because in case you happen to get unblocked we would lose the information that would help us identify a possible bug.


When refreshing the segment with identical segment, still update creation time and refresh time in ZK metadata

We check crc to identify whether two segments are identical.
Segment creation time is not included in crc, so the segment
creation time might be different. This make sense since we might
generate segment with same data but at different time, and we don't
need to refresh the segment. In such case we should still update
creation time and refresh time.

Codecov Report

Merging #4112 into master will increase coverage by 0.18%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #4112      +/-   ##
============================================
+ Coverage     66.78%   66.96%   +0.18%
  Complexity       20       20
============================================
  Files          1037     1037
  Lines         51425    51427       +2
  Branches       7192     7192
============================================
+ Hits          34343    34440      +97
+ Misses        14726    14623     -103
- Partials       2356     2364       +8

Impacted Files
Coverage Δ
Complexity Δ

...apache/pinot/controller/api/upload/ZKOperator.java
72.82% <100%> (+3.93%)
0 <0> (ø)
:arrow_down:

...pinot/core/operator/docidsets/OrBlockDocIdSet.java
84.9% <0%> (-13.21%)
0% <0%> (ø)

...ation/function/MinMaxRangeAggregationFunction.java
61.62% <0%> (-11.63%)
0% <0%> (ø)

.../impl/dictionary/LongOffHeapMutableDictionary.java
81.81% <0%> (-10.91%)
0% <0%> (ø)

...e/impl/dictionary/LongOnHeapMutableDictionary.java
88.88% <0%> (-6.67%)
0% <0%> (ø)

...mpl/dictionary/DoubleOffHeapMutableDictionary.java
72.72% <0%> (-5.46%)
0% <0%> (ø)

...g/apache/pinot/common/metrics/AbstractMetrics.java
75.33% <0%> (-1.34%)
0% <0%> (ø)

.../pinot/core/common/datatable/DataTableBuilder.java
78.94% <0%> (-1.17%)
0% <0%> (ø)

...a/org/apache/pinot/core/common/DataBlockCache.java
79.38% <0%> (-0.77%)
0% <0%> (ø)

...e/operator/dociditerators/MVScanDocIdIterator.java
63.63% <0%> (ø)
0% <0%> (ø)
:arrow_down:

... and 20 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7ef519d...f398d45. Read the comment docs.


Seeking Contributors Proficient in FIR

This project is a custom Kotlin compiler plugin that primarily utilizes the Kotlin K2 compiler's IR (Intermediate Representation) and FIR (Frontend Intermediate Representation).
However, there is currently insufficient documentation on IR and FIR, which has led me to handle all the learning and development of this project on my own.
To ensure the stable release of this project, not only IR transformations but also the Fir Checker needs to be adequately implemented. Unfortunately, I am facing significant challenges in handling FIR.
Due to my full-time job, I do not have enough time to study FIR (especially as I need to keep up with IR updates corresponding to new Kotlin versions).
Consequently, most of the Fir Checker implementations remain as TODOs, and the related test codes are marked with @Ignore. My ultimate goal is to complete all these implementations and include them in the official release.
Currently, the biggest obstacle to reliably completing this project is FIR. Therefore, I am seeking external contributors who are proficient in FIR. If you are interested, I hope to collaborate with you to gradually complete the Fir Checkers for this project.
Thank you for your interest and support!

Feel free to let me know if you're interested in contributing or have any questions.
(This text is translated from Chat GPT, so the English grammar may be strange 😅.)

Some FIR study resources have been available recently, so I believe I can do it alone now. 😄


Does not work at all for me

1st problem: After installing bootprint and bootprint swagger when I start bootprint I get a message complaining about missing "handelbars". There might be a missing dependency to handlebars. After installing handlebars I these versions:
├─┬<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   └──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>After calling
bootprint swagger http://localhost:53108/backend/swagger/docs/v1 neu
I get:
Loading bootprint-swagger 0.11.0
Loading bootprint-json-schema 0.8.1
Loading bootprint-base 0.6.1
[object Object]
No output is generated at all.

Hi @guidoffm, thanks for taking the time to report this.
I have unpublished<EMAIL_ADDRESS>The latest changes seem to be broken. I've tested this with the petstore-example and it seems to work. I'll investigate further tonight.
Mind trying again?

Hi Nils,
the issue with missing handlebars dependency is gone. npm ls -g now reads:
├─┬<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   └──<EMAIL_ADDRESS>├─┬<EMAIL_ADDRESS>│ └─┬<EMAIL_ADDRESS>│   └─┬<EMAIL_ADDRESS>│     └──<EMAIL_ADDRESS>└─┬<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>After calling
bootprint swagger http://localhost:53108/backend/swagger/docs/v1 neu
I get:
Loading bootprint-swagger 0.11.0
Loading bootprint-json-schema 0.8.1
Loading bootprint-base 0.6.0
[object Object]
Still no output generated at all.

Can you try the petstore-example: bootprint swagger http://petstore.swagger.io/v2/swagger.json target.

@guidoffm I have published the modules again tonight, I tried
npm -g install bootprint
npm -g install bootprint-swagger

bootprint --version # prints "0.7.7"
bootprint swagger http://petstore.swagger.io/v2/swagger.json target

and I get the following result.
Loading bootprint-swagger 0.11.1
Loading bootprint-json-schema 0.8.3
Loading bootprint-base 0.6.2
[ 'target/index.html', 'target/main.css', 'target/main.css.map' ]

The target/index.html-file looks good. I would like to verify this with your setup, because I don't understand why your bootprint-call prints [object Object]. But since I cannot reproduce your situation (because I don't have access to your  swagger.json), I would like you to reproduce mine.
Could you try the new modules with your own swagger.json, but also with the petstore-example?

After uninstalling everything and reinstalling I get the following error
bootprint swagger http://petstore.swagger.io/v2/swagger.json target
Loading bootprint-swagger 0.11.1
Loading bootprint-json-schema 0.8.3
Loading bootprint-base 0.6.2

C:\Users\XXXX\AppData\Roaming\npm\node_modules\bootprint\node_modules\q\q.js:155
                throw e;
                ^
Error: The partial base/title could not be found
    at Object.invokePartial (C:\Users\XXXXX\AppData\Roaming\npm\node_modules\bootprint\node_modules\customize-engine-handlebars\node_modules\handlebars\dist\cjs\handlebars\runtime.js:216:11)
    at Object.invokePartialWrapper [as invokePartial] (C:\Users\XXXXX\AppData\Roaming\npm\node_modules\bootprint\node_modules\customize-engine-handlebars\node_modules\handlebars\dist\cjs\handlebars\runtime.js:61:39)
    at Object.eval (eval at createFunctionContext (C:\Users\XXXXX\AppData\Roaming\npm\node_modules\bootprint\node_modules\customize-engine-handlebars\node_modules\handlebars\dist\cjs\handlebars\compiler\javascript-compiler.js:221:23), <anonymous>:6:23)....

@jneubeck Firstly I have to apologize for the long installing time of bootprint-swagger. npm@1 and npm@2 download all peer-dependencies, so the bootprint package has been downloaded three times. I have removed the dependency for now.
The bug you observe is a regression that was introduced in<EMAIL_ADDRESS>The partials are not registered correctly because Windows separates path-components with a backslash and not a slash.
I will fix that in a moment.

@jneubeck I have released a new version of customize which is responsible for building the file-paths.
Would you mind trying again? The just make sure that npm ls -g show<EMAIL_ADDRESS>otherwise you won't have the fix installed.

Thank you it now works.

Glad to hear


Fall back to keyutils if secret-service not available in Linux

When using this library from the context of WSL, where gnome-keyring etc is not available, it fails with a generic error along the lines of:

Platform secure storage failure: zbus error: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files

Even after installing gnome-keyring, you still get an error like:

Couldn't access platform secure storage: SS error: result not returned from SS API

Reading the keyring-rs source, it pretty much sounds like using Secret Service from a headless environment is not going to work. Since I'm using this library from the context of a cross-platform CLI, where some of my users are using WSL2, I need a way to use keyutils instead. So I've implemented a custom CredentialBuilder for Linux, that tries to use Secret Service but falls back to keyutils if Secret Service doesn't work, based on this comment
I haven't implemented this same support for the find_credentials functions, as I can't really figure out what it's trying to do or why it isn't using keyring-rs. In my case I'm not using find_credentials, so having at least partial support for headless Linux is enough for me. The tests are passing in WSL2 if I remove the calls to find_credentials and instead test get_password, set_password and delete_password etc.
I'm definitely no rust developer, so let me know if something about this is wonky.

The lint issue should be fixed, and hopefully the broken freebsd build as well. Could you please approve the workflow run?

Haha, geez, okay. This time I have faith :D

All green! I can't press the merge button, so if you would go ahead and merge and release when you have the chance, I would appreciate it. 😃


This PR exists to evaluate different approaches for collision hands

This PR implements the following:

Extracted force-pushing-body logic from PokeBody into XRToolsForceBody.
Modified XRToolsHand so it can be any descendant of an XRController3D (from DigitalN8m4r3/BastiaanOlij)
Added rough XRToolsCollisionHand script
Modified interactables demo to hack XRToolsCollisionHand in for now

The interactable demo scene puts an XRToolsCollisionHand under the left controller, and moves everything else under it. It also adds a basic box as a hand collider:

The XRToolsCollisionHand script has a few experimental modes:

l(almost)gtm
it seems to fix the hand drifting away/ staying behind issue we currently have
currently what is not working good is when usign it with climbables, might just be the same issue i had at the beggining regarding collision layers but this needs some more investigating since being able to pull urself up/down using climbables is actualy one of the main selling points for the col hand

I'll find some time this week to test as well but it's looking good so far.
Digitals issue with the drift we'll need to think about whether we fix that first or whether we leave that for a future enhancement. As we're not actually grabbing anything and we're still attempting to follow the real hands position it's normal that the hand doesn't stay in one position.
The thing I wanted to add here is to have a mode that if a static body is grabbed, instead of anchoring the object to the hand (like we do with rigidbodies), we anchor the hand to the object. In this case it becomes a lot easier because we simply switch by following the parent (the XRController3D node) to "following" the thing we've grabbed (which in essence will mean that we disable collisions and just position the XRToolsCollisionHandNode on one of the grab points).
If the position of the node gets to far away from the XRController3D node we'll "let go" automatically.

gettin better there,
climbing works pretty good now, only thing i dont like is when u climb the offset is too fast, introducing a smooth/ease would be verry welcome since it could otherwise intoduce motion sickness
collision on pickables, not good the way it is introduced in the pickables demo... the pickables collide just with the hands and upon drop perform a instant throw off due to collision issues with the other hand
(lets just keep this simple and plain and use actual pickable collision the way i intended it in the col demo)
bugs/issues:
snap turining while holding objects - object lags behind and adds a visual distortion due to frame inconsistency
moving while holding objects - object lags behind

collision on pickables, not good the way it is introduced in the pickables demo... the pickables collide just with the hands and upon drop perform a instant throw off due to collision issues with the other hand
(lets just keep this simple and plain and use actual pickable collision the way i intended it in the col demo)

@DigitalN8m4r3 we've simply not implemented this yet, Malcolm just added collision hands to all the demos just to test various things but that will be remove before we merge this.
We're looking at enhancing what you build to include other collision shapes as well, one of the things I want to combine for instance is the logic in physics hands (which will likely become obsolete), so this will likely all happen in a follow up PR

@Malcolmnixon this looks good to me for a first pass, works pretty well. As discussed we should remove the changes to the existing demos and rebase the PR so we can merge.
Follow ups then become (in no particular order):

rebasing Digitals PR and getting most of his example scene in to demo this logic
start working on implementing his collision improvements combined with our ideas to also combine in physics hands
look into the two handed mode
evaluate which of our current scenes should include collision hands

Something I also want to start thinking about is if we can do something with angular collisions instead of just re-orienting the hands. It be nice that if we bring a hand down on a table, it flattens itself on the surface instead of retaining the angle of the hand. Though I don't think we can start looking into that until after we have our finger collisions


Remove resolve_argument_type() from typing context

It was only used by the CUDA target, and contained CUDA-specific code in the core of Numba, which was a bit of a violation of the target abstraction.
The CUDA target's typeof_pyval() implements the same logic anyway, so we can just reuse that in the CUDA target.

gpuci run tests

gpuci run tests


[FEATURE] Emit and listen to global events

[FOLD] Remove console.log
[FOLD] listen contract creation on codius.events

LGTM :+1:

The build is good and I'm seeing 1 +1s from the following folks:

wilsonianb

As such, I'll attempt to merge and close this pull request.


Why filter deployment settings?

In the action "DetermineDeploymentEnvironments", a step defines a default list of parameters and overwrites them with custom values if they are defined in the configuration.
https://github.com/microsoft/AL-Go/blob/c1020361df06b369c3fed56cefced85e1709f03b/Actions/DetermineDeploymentEnvironments/DetermineDeploymentEnvironments.ps1#L139-L165
Wouldn't it be better, however, to just add every property of the deployment config to the environment settings? That way, it's possible to define custom parameters that can be used by custom deployment scripts.
I don't know if there is any code that relies on a known quantity of properties, so I don't see a risk in allowing this.

On that note, why pass the parameters of the custom deploy script in a single hashtable? Wouldn't it be much better to use splatting to pass each individual parameter and allow for features like default values and parameter properties?
Instead of

For custom deployments (or overridden deployments), yes - it would be a good idea to include all properties in the deploymentsettings - will investigate this.
The method of getting all parameters as a hashtable is the same all over - cannot remember the reason behind that design, but it is kind of hard to change now (unless we would have a look at the script and analyze it - which would be possible, but maybe not a must-have).

Is the PS session in strict mode? We could pass both the hashtable and the splatted hashtable to maintain backward compatibility. Future deploy scripts can ignore the parameters hashtable, and legacy ones can ignore the individual parameters.

Yes, we are running strict mode version 2.0


cert-manager-webhook deployment tooks too long to start..  secret "cert-manager-webhook-tls" not found

Describe the bug:
cert-manager deployment takes too long to full start..
Log:
Events:
  Type     Reason       Age                    From                                    Message
  ----     ------       ----                   ----                                    -------
  Normal   Scheduled    4m14s                  default-scheduler                       Successfully assigned cert-manager/cert-manager-webhook-64d6cc8864-n2jhv to aks-tier1-17832576-vmss000001
  Warning  FailedMount  3m10s (x8 over 4m14s)  kubelet, aks-tier1-17832576-vmss000001  MountVolume.SetUp failed for volume "certs" : secret "cert-manager-webhook-tls" not found
  Warning  FailedMount  2m11s                  kubelet, aks-tier1-17832576-vmss000001  Unable to mount volumes for pod "cert-manager-webhook-64d6cc8864-n2jhv_cert-manager(a294e3d7-f101-4a19-bc32-ae63334af67c)": timeout expired waiting for volumes to attach or mount for pod "cert-manager"/"cert-manager-webhook-64d6cc8864-n2jhv". list of unmounted volumes=[certs]. list of unattached volumes=[certs cert-manager-webhook-token-fh2b6]
  Normal   Pulled       117s                   kubelet, aks-tier1-17832576-vmss000001  Container image "quay.io/jetstack/cert-manager-webhook:v0.12.0" already present on machine
  Normal   Created      117s                   kubelet, aks-tier1-17832576-vmss000001  Created container cert-manager
  Normal   Started      117s                   kubelet, aks-tier1-17832576-vmss000001  Started container cert-manage

Not sure if cert-manager-webhook-tls is created with cainjector + admission hook, but it looks like it.
Any idea how to speed up things?
Expected behaviour:
cert-manager-webhook pods are fully started asap, it should not take 4-5mins to start.
Steps to reproduce the bug:
1.
kustomization base -> https://github.com/jetstack/cert-manager/releases/download/v0.12.0/cert-manager.yaml
2.
kustomization.yaml
resources:
- ../../base
namespace: cert-manager

3.
kustomize build . | kubectl apply -f -
Anything else we need to know?:
Environment details::

Kubernetes version (e.g. v1.10.2): v1.15.7
Cloud-provider/provisioner (e.g. GKE, kops AWS, etc): Azure AKS
cert-manager version (e.g. v0.4.0): 0.12.0
Install method (e.g. helm or static manifests): manifest/kustomization

/kind bug
Related::

https://github.com/jetstack/cert-manager/issues/1730
https://github.com/jetstack/cert-manager/issues/2484

Edit::
I had success with:
1.
kustomization base -> https://github.com/jetstack/cert-manager/releases/download/v0.12.0/cert-manager.yaml
2.
kustomization.yaml
resources:
- ../../base
patchesStrategicMerge:
- patch.yaml
namespace: cert-manager

3.
patch.yaml
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cert-manager-cainjector
  namespace: cert-manager
spec:
  template:
    spec:
      containers:
        - name: cert-manager
          args:
          - --v=2
          - --leader-election-namespace=$(POD_NAMESPACE)
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: cert-manager
  namespace: cert-manager
spec:
  template:
    spec:
      containers:
        - name: cert-manager
          args:
          - --v=2
          - --cluster-resource-namespace=$(POD_NAMESPACE)
          - --leader-election-namespace=$(POD_NAMESPACE)
          - --webhook-namespace=$(POD_NAMESPACE)
          - --webhook-ca-secret=cert-manager-webhook-ca
          - --webhook-serving-secret=cert-manager-webhook-tls
          - --webhook-dns-names=cert-manager-webhook,cert-manager-webhook.cert-manager,cert-manager-webhook.cert-manager.svc

4.
kustomize build . | kubectl apply  --validation=false -f -
, but now I am getting: ( kubectl logs cert-manager-webhook-7c7ddc98-46tdx -n cert-manager )
I0122 14:18:56.704896       1 main.go:64]  "msg"="enabling TLS as certificate file flags specified"
I0122 14:18:56.705141       1 server.go:126]  "msg"="listening for insecure healthz connections"  "address"=":6080"
I0122 14:18:56.705202       1 server.go:138]  "msg"="listening for secure connections"  "address"=":10250"
I0122 14:18:56.705230       1 server.go:155]  "msg"="registered pprof handlers"
I0122 14:18:59.168427       1 server.go:307]  "msg"="Health check failed as CertificateSource is unhealthy"
I0122 14:19:09.167818       1 server.go:307]  "msg"="Health check failed as CertificateSource is unhealthy"
I0122 14:19:19.167874       1 server.go:307]  "msg"="Health check failed as CertificateSource is unhealthy"
I0122 14:19:29.167866       1 server.go:307]  "msg"="Health check failed as CertificateSource is unhealthy"
I0122 14:19:39.167731       1 server.go:307]  "msg"="Health check failed as CertificateSource is unhealthy"
I0122 14:19:49.167910       1 server.go:307]  "msg"="Health check failed as CertificateSource is unhealthy"
I0122 14:19:59.167832       1 server.go:307]  "msg"="Health check failed as CertificateSource is unhealthy"
I0122 14:20:06.705647       1 tls_file_source.go:144]  "msg"="detected private key or certificate data on disk has changed. reloading certificate"

, so deployment time is reduced from 4-5mins to 1-2mins

I seem to be running into a similar issue. The webhook for cert-manger takes almost 5 minutes to come up. I have a v.1.14.8 running on Azure Kubernetes Service. I am now using cert-manager version v.14.0 with the legacy YAML since I'm running < 1.15 for K8s. Is this normal? It's a fresh install of cert-manager on my Azure kubernetes cluster.

@deathcat05 I'm not able to reproduce your issue - on a new Kubernetes cluster, using Helm to install and adding the --wait flag (which waits for all pods to become Ready):
$ time helm install \
  cert-manager jetstack/cert-manager \
  --namespace cert-manager \
  --version v0.14.0 --wait
...
0.46s user 0.28s system 2% cpu 27.474 total

(i.e. 27.5s altogether).

I get this issue with k3s when using the vanilla tutorial, nothing out of the ordinary. k3s uses Kubernetes 1.17 and this is a first-time installation of cert-manager. So all the typical reasons for this problem aren't applicable. That said, it does not work, at all. I would be happy if I only had to wait 5 minutes, but it never finishes (already waited 15 minutes during one try and still did not work).
@munnerz command does not finish ever for me.
I don't understand what the issue is, because I have NO old cert-manager installation or old Kubernetes versions. This is a FRESH installation on a FRESH server with k3s. Everything should work according to the setup instructions.

@munnerz Apologies for the late reply. But it indeed was an issue on my end. IIRC, I forgot to open up port 80 on my external load balancer, which Let's Encrypt requires for validating the domain for "challenges." Appreciate you looking into my issue though!

@munnerz
I am unable to receive a working certificate thru the default CERT-MANAGER from letsencrypt prod/staging API comes with istio-dex.1.0.2.yaml( kfctl_istio_dex.v1.0.2.yaml)

The current setup includes below approach
K8s cluster setup with 1.0.2 Istio Dex Yaml, mentioned in kubeflow.org documentation, which comes with istio 1.3.1 and cert-manager by default.
As my major task is to complete this with kubeflow enabled with istio-ingressgateway along with HTTPS Lets-Encrypt ACME SSL Certificate generation.
Kindly let me know a possible solution.
Environment:
Kubeflow version:
K8s API version 1.14
kfctl version: 1.0.2
Kubernetes platform: GKE
Kubernetes version: Git Version 1.17
OS: default
Istio -1.3.1
Cert-Manager: the same which comes with default manifest.

@Anujay-Saraf Please check , it it helps you, I rant into similar situation and recovered broken cert manager installation.
https://github.com/jetstack/cert-manager/issues/2757


Added rubocop back to gemspec

I had to set the rubocop dependency requirement to Ruby 2.0.0 to achieve successful tests.

👍


error: error on hasInspector on main

Rill Developer appears to be broken. I pulled down main and got this error:
index.svelte? [sm]:93 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'hasInspector')

hmm, this seems to be because of no migration after a recent merge. Blasting the application state and eveyrthing is fine


Upgrading travis ci settings for codecov.io

Current coverage is 91.94%

Branch #31 has no coverage reports uploaded yet.

No diff could be generated. No reports for master found.

Powered by Codecov. Updated on successful CI builds.


chore: remove intercom

Description of the changes

Remove the Intercom widget from Request Create and Request Pay because the messages are sent to Request Finance's Intercom account and the Request Network team never sees the messages.

Internal discussion resolved.


wait-on times out, even tough app is ready

First of all: It's awesome to see how much effort the Cypress team invests into creating examples and bindings for all kinds of tools and services. Thank you.
Now for the issue: I have an app with the following configuration:
cypress-run:
  runs-on: ubuntu-latest
  steps:
    - name: Checkout
      uses: actions/checkout@v1
    - name: Cypress run
      uses: cypress-io/github-action@v1
      with:
        start: yarn run parcel src/index.html
        wait-on: http://localhost:1234

Full configuration: https://github.com/rbuetzer/kinder/blob/4e3ce07bf651ab5f8f9edcdeda0666d7c93c67da/.github/workflows/run-tests.yml
Observed behaviour:
wait-on times out after 60 seconds, even tough the app is ready after <30 seconds.
starting server with command "yarn run parcel src/index.html"
current working directory "/home/runner/work/kinder/kinder"
/usr/bin/yarn run parcel src/index.html
waiting on "http://localhost:1234" with timeout of 60 seconds
/usr/local/bin/npx wait-on --timeout 60000 "http://localhost:1234"
yarn run v1.19.1
$ /home/runner/work/kinder/kinder/node_modules/.bin/parcel src/index.html
Server running at http://localhost:1234
✨  Built in 22.57s.
Error: Timeout
    at Timeout._onTimeout (/home/runner/.npm/_npx/2839/lib/node_modules/wait-on/lib/wait-on.js:113:10)
    at listOnTimeout (internal/timers.js:531:17)
    at processTimers (internal/timers.js:475:7)

Full log: https://github.com/rbuetzer/kinder/runs/316750720
Expected behaviour
wait-on does not time out.
Analysis
If I use wait-on with a background process instead of using the configuration, the test runs successfully.
start: yarn run parcel src/index.html & npx wait-on http://localhost:1234

Full configuration: https://github.com/rbuetzer/kinder/blob/13e239b1f055fd1e7b222f0697343d0510679085/.github/workflows/run-tests.yml
Successful run: https://github.com/rbuetzer/kinder/runs/316749597
App version which has the issue:
https://github.com/rbuetzer/kinder/tree/4e3ce07bf651ab5f8f9edcdeda0666d7c93c67da
App version which does not have the issue:
https://github.com/rbuetzer/kinder/tree/13e239b1f055fd1e7b222f0697343d0510679085
Diff between the two:
https://github.com/rbuetzer/kinder/compare/4e3ce07bf651ab5f8f9edcdeda0666d7c93c67da..13e239b1f055fd1e7b222f0697343d0510679085

I'm running into the same issue too. I tried the alternative @rbuetzer shared but it didn't work for me as it behaved no differently than without it.
It looks like their server might start up super quickly so they might not actually need the wait-on to be executed?
start: yarn run parcel src/index.html & npx wait-on http://localhost:1234

The above doesn't seem to behave any different than the below.
start: yarn run parcel src/index.html

You are right @JoshAntBrown, the test succeeded because the app was ready before Cypress. Leaving away wait-on alltogether worked (https://github.com/rbuetzer/kinder/runs/318844295).
Also, after another experiment, it seems, the &-variant does not do anything in GH actions (worked on my machine though).
So to update the bug description:
wait-on times out here, even if localhost:1234 is available:
https://github.com/rbuetzer/kinder/runs/316750720
https://github.com/rbuetzer/kinder/tree/4e3ce07bf651ab5f8f9edcdeda0666d7c93c67da
However, if I leave away wait-on, the tests run successfully:
https://github.com/rbuetzer/kinder/runs/318844295
https://github.com/rbuetzer/kinder/tree/4c2f70703bdba371043c25ff10e7d20264ca25c2
I know http://localhost:1234 is available, because otherwise the latter Cypress-test would fail.


add paper teasers fumero

👷 Deploy Preview for gladia processing.

Name
Link

🔨 Latest commit
6c1e9f89f7a31b10eb89223a4324c8d912380b51

🔍 Latest deploy log
https://app.netlify.com/sites/gladia/deploys/642c8ea68f7ac90008ba7f06


updated Readme.md files with torchrun

updated Readme.md files with torchrun instead of the torch.distributed.launch and omitted --use_env
Closes https://github.com/pytorch/vision/issues/4450
cc @datumbox

Thanks @shrutipulstya , I randomly tried a few of them and it seemed to run fine, LGTM.
@fmassa @datumbox any concern about this?

sure anytime!


[BUG] no-contradicting-classname breaks eslint

Describe the bug
Using the no-contradicting-classname with nested arrays in JSX breaks ESLint:
Oops! Something went wrong! :(

ESLint: 8.27.0

AssertionError [ERR_ASSERTION]: Node must be provided when reporting error if location is not provided

To Reproduce
This will throw the error if used with the ESLint CLI:

  bug

Environment:

OS: macOS
ESLint 8.27.0
eslint-plugin-tailwindcss 3.7.0

Additional context
My editor manages to show the linter warning, but executing the ESLint CLI throws the error message mentioned above.

Facing this issue as well.
Environment:

OS: Windows
ESLint 8.38.0
eslint-plugin-tailwindcss 3.11.0

@tbo & @TheMythologist please take the latest beta for a test run on your project(s):
npm i<EMAIL_ADDRESS>How is it working for you both ?

Nope, the error still occurs for me:
AssertionError [ERR_ASSERTION]: Node must be provided when reporting error if location is not provided
    at assertValidNodeInfo (<truncated>\node_modules\.pnpm\eslint@8.41.0\node_modules\eslint\lib\linter\report-translator.js:83:9)
    at <truncated>\node_modules\.pnpm\eslint@8.41.0\node_modules\eslint\lib\linter\report-translator.js:317:9
    at Object.report (<truncated>\node_modules\.pnpm\eslint@8.41.0\node_modules\eslint\lib\linter\linter.js:1021:41)
    at <truncated>\node_modules\.pnpm\eslint-plugin-tailwindcss@3.12.2-beta.0_tailwindcss@3.3.2\node_modules\eslint-plugin-tailwindcss\lib\rules\no-contradicting-classname.js:146:21
    at Array.forEach (<anonymous>)
    at <truncated>\node_modules\.pnpm\eslint-plugin-tailwindcss@3.12.2-beta.0_tailwindcss@3.3.2\node_modules\eslint-plugin-tailwindcss\lib\rules\no-contradicting-classname.js:143:29
    at Array.forEach (<anonymous>)
    at parseForContradictingClassNames (<truncated>\node_modules\.pnpm\eslint-plugin-tailwindcss@3.12.2-beta.0_tailwindcss@3.3.2\node_modules\eslint-plugin-tailwindcss\lib\rules\no-contradicting-classname.js:107:20)
    at parseNodeRecursive (<truncated>\node_modules\.pnpm\eslint-plugin-tailwindcss@3.12.2-beta.0_tailwindcss@3.3.2\node_modules\eslint-plugin-tailwindcss\lib\util\ast.js:326:5)
    at parseNodeRecursive (<truncated>\node_modules\.pnpm\eslint-plugin-tailwindcss@3.12.2-beta.0_tailwindcss@3.3.2\node_modules\eslint-plugin-tailwindcss\lib\util\ast.js:278:9)
 ELIFECYCLE  Command failed with exit code 2.
 ```

Environment:

OS: Windows
ESLint 8.41.0
eslint-plugin-tailwindcss 3.12.2-beta.0
<EMAIL_ADDRESS>Monorepo setup

Let me know if there is any other information you need, I'll be glad to help :)

Note: I took a look at the attempted fix and the location that caused the error, seems like it occurred in a different switch block (childNode.type was ConditionalExpression instead of ArrayExpression). Perhaps this error will occur for more than just these 2 switch blocks?

Using eslint-plugin-tailwindcss 3.17.4, this still breaks eslint:
export const Test = () => {
  return <div className={`${"block inline"}`}>
;
};

Oops! Something went wrong! :(

ESLint: 9.10.0

AssertionError [ERR_ASSERTION]: Node must be provided when reporting error if location is not provided
    at assertValidNodeInfo (/Users/djoume/src/fata-app/node_modules/eslint/lib/linter/report-translator.js:83:9)
    at /Users/djoume/src/fata-app/node_modules/eslint/lib/linter/report-translator.js:339:9
    at FileContext.report (/Users/djoume/src/fata-app/node_modules/eslint/lib/linter/linter.js:1047:41)
    at /Users/djoume/src/fata-app/node_modules/eslint-plugin-tailwindcss/lib/rules/no-contradicting-classname.js:146:21
    at Array.forEach (<anonymous>)
    at /Users/djoume/src/fata-app/node_modules/eslint-plugin-tailwindcss/lib/rules/no-contradicting-classname.js:143:29
    at Array.forEach (<anonymous>)
    at parseForContradictingClassNames (/Users/djoume/src/fata-app/node_modules/eslint-plugin-tailwindcss/lib/rules/no-contra
dicting-classname.js:107:20)
    at parseNodeRecursive (/Users/djoume/src/fata-app/node_modules/eslint-plugin-tailwindcss/lib/util/ast.js:345:5)
    at /Users/djoume/src/fata-app/node_modules/eslint-plugin-tailwindcss/lib/util/ast.js:285:11


cmd/compile: functions evaluated in defer and go statements are not checked for inlining

What version of Go are you using (go version)?

$ go version
go version devel +4c7a18d74a Thu Oct 22 01:20:16 2020 +0000 windows/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
PS E:\gotip\src> E:\gotip\bin\go env
set GO111MODULE=on
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\zephyr\AppData\Local\go-build
set GOENV=C:\Users\zephyr\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=E:\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=E:\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=E:\gotip
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=E:\gotip\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=E:\gotip\src\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\zephyr\AppData\Local\Temp\go-build120537955=/tmp/go-build -gno-record-gcc-switches

What did you do?

Compile this source code with go tool compile -m=2 p.go:
package p

func f(x int) {
	defer f(g())
}

func g() int {
	return 1
}

What did you expect to see?
E:\go\p.go:7:6: can inline g with cost 2 as: func() int { return 1 }
E:\go\p.go:3:6: cannot inline f: recursive
E:\go\p.go:4:3: inlining call to g func() int { return 1 }

What did you see instead?
E:\go\p.go:7:6: can inline g with cost 2 as: func() int { return 1 }
E:\go\p.go:3:6: cannot inline f: recursive

I.e., I expect g to be inlined, but it is not.
Even though g is eligible to be inlined, and it is evaluated on line 4 to provide the argument to the deferred call to f, it is not inlined. The issue appears to be that inlnode marks the callee in defer and go statements as ineligible for inlining and then immediately returns, so the arguments to that callee are not checked.
I found this during work on #41117.

For reference, #38471 is similar, though that one is about inlining of the deferred function itself, not calls in the deferred function arguments.
cc @randall77


Need collab access? Ask here

If you need collab access, just ask for it here.
For simplicity, I started this repo under https://github.com/jbenet/depviz but in the future will likely move to a relevant org (@ipfs or @protocol)  -- or it's own org entirely (@depviz). Will do that when it's deemed necessary/relevant.

Relevant IPFS Community Guidelines and Code of Conduct apply to this repo -- see https://github.com/ipfs/community

I gave @wking and @victorbjelkholm collab access.

@jbenet me please


Newbie question: xgboost very slow and gives poor result

I am completely new to xgboost so thank you very much for any help in advance.
I have this simple script.
from sklearn.ensemble import ExtraTreesClassifier
from sklearn import cross_validation
import xgboost as xgb
import autosklearn.classification
import sklearn.datasets

digits = sklearn.datasets.load_digits()
X = digits.data
y = digits.target

# train a with ensemble

clf = ExtraTreesClassifier(n_estimators=50, max_depth=None, min_samples_split=1, random_state=0, verbose=True, n_jobs=-1)
print cross_validation.cross_val_score(clf, X, y, cv=5)

gbm = xgb.XGBClassifier(silent = True)
print cross_validation.cross_val_score(gbm, X, y, cv=5)

From this I get as the cross-validation scores
[ 0.95054945 0.9281768 0.96100279 0.98319328 0.93802817] (ExtraTreesClassifier)
[ 0.93131868 0.87569061 0.95264624 0.94677871 0.88169014] (xgboost)
That is xgboost does quite a lot worse than ExtraTreesClassifier which seems surprising.
What should I be doing to tune xgboost or is there some other problem with my approach?
When I try the same thing (see below for precise code) with the MNIST digits data set from kaggle I get
[ 0.96216538 0.96465548 0.96428146 0.96558295 0.9670081 ]
from ExtraTreesClassifier very quickly but xgboost took a really long time and eventually gave
[ 0.9323022 0.93157206 0.92796762 0.93271406 0.93854216]
which is worse again.
What am I doing wrong? Why is xgboost so slow and why is the result worse?
import pandas as pd
from sklearn.ensemble import ExtraTreesClassifier
from sklearn import cross_validation
import xgboost as xgb

# import data
train = pd.read_csv('train.csv')
test = pd.read_csv('test.csv')

# drop and get labels
labels = train.label.values
train = train.drop('label', axis=1)

# train a with ensemble
clf = ExtraTreesClassifier(n_estimators=50, max_depth=None, min_samples_split=1, random_state=0, verbose=False, n_jobs=-1)
#Print CV scores for ExtraTreesClassifier
print cross_validation.cross_val_score(clf, train, labels, cv=5)

gbm = xgb.XGBClassifier(nthread=4, silent=True)
#Print CV scores for xgboost
print cross_validation.cross_val_score(gbm, train, labels, cv=5)

Parameter tuning is very important for a good performance. Visit our documentation for the available parameters: http://xgboost.readthedocs.io/en/latest//parameter.html


Thread issue when using multiple groups

There seem to be a thread safety issue somewhere in the OPC stack that does not allow for safe simultaneous reading of tags.

Fixed in commit ec39f98


Surface normals and wireframe

Description
Add the ability to display edge wireframe, face normals and vertex normals for the Surface layer.
Example:
https://user-images.githubusercontent.com/23482191/143427532-e98cd62d-1593-491b-a029-01784d9b724a.mp4
Type of change

[ ] Bug-fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

References

#3669
#3334
#2970

How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

I am excited for this! Thanks, @brisvag !

Yup, I thought about using EventedModel too, this layer's api got very wide very quickly.
Ny the way, something that should be said about the current implementation: it should probably be changed to only create the normal visuals if they are displayed. Right now, there's a lot of data being created and shuffled around for no reason even if the user never uses this functionality.

Nice, do you see that as blocking for this PR or would you rather follow up with that in a second PR soon?

Not really blocking, but might be easy to fix here already :)

Not really blocking, but might be easy to fix here already :)

Done :) I did not change to to "purge" the normals if one disables them, with the reasoning that if you enable them once, you probably want them again later, and memory usage is (probably) less valuable than speed of enable/disable.

Switched over to EventedModel. Things I'm in doubt about:

type hints
where the new models live

Other than that, it works!


Registration Application Merge into Portal & Enable OSP Registration Product

Description
For a better product management and reduction of the maintenance, the registration repo code is planned to get merged into the portal code.
For the change, a couple of steps are needed

transfer current registration code step by step to follow same coding guidelines and quality levels as the portal
activate linter and solve findings one after another
move the code into the portal
adjust the client management of the users (recheck keycloak clients as well) - possible role management update needed
check if core offers (inside table portal.offers) need to get adjusted
switch registration implemented design elements to the shared component library
recheck all code areas where the registration url is stored and adjust the same to the new url

Additionally; a own repo is planned to be used for the OSP Registration application.
The OSP registration application is supposed to be a FE service; enhanced by a backend service and a keycloak instance.
This will enable the community to test e2e
Impact

Portal internal impact only; external systems are not affected

Additional information

[x] I'm willing to contribute to this feature

Replaced by:

https://github.com/eclipse-tractusx/sig-release/issues/577
https://github.com/eclipse-tractusx/sig-release/issues/644


Update APIs and fixes from server for dev8

Codecov Report

Merging #474 (739f7f6) into main (dd621d9) will increase coverage by 0.42%.
The diff coverage is 82.69%.

@@            Coverage Diff             @@
##             main     #474      +/-   ##
==========================================
+ Coverage   51.00%   51.43%   +0.42%
==========================================
  Files         107      107
  Lines       19612    19297     -315
==========================================
- Hits        10004     9926      -78
+ Misses       9608     9371     -237

Impacted Files
Coverage Δ

src/ansys/meshing/prime/autogen/connect.py
16.45% <ø> (+1.56%)
:arrow_up:

src/ansys/meshing/prime/autogen/connectstructs.py
39.10% <ø> (+0.88%)
:arrow_up:

src/ansys/meshing/prime/autogen/fileio.py
77.77% <ø> (+11.11%)
:arrow_up:

src/ansys/meshing/prime/autogen/fileiostructs.py
64.03% <ø> (+3.46%)
:arrow_up:

...c/ansys/meshing/prime/autogen/thinvolumecontrol.py
31.11% <ø> (ø)

src/ansys/meshing/prime/core/model.py
83.48% <ø> (+1.18%)
:arrow_up:

...rc/ansys/meshing/prime/internals/error_handling.py
75.22% <ø> (ø)

src/ansys/meshing/prime/autogen/morpherstructs.py
36.53% <14.28%> (-0.39%)
:arrow_down:

src/ansys/meshing/prime/lucid/utils.py
72.00% <46.15%> (-18.00%)
:arrow_down:

src/ansys/meshing/prime/autogen/surferstructs.py
70.51% <75.00%> (+0.35%)
:arrow_up:

... and 4 more


proposal: Go 2: sync: OnDealloc for sync.Pool

Currently the documentation states:
Any item stored in the Pool may be removed automatically at any time without notification. If the Pool holds the only reference when this happens, the item might be deallocated.

It would be good if sync.Pool had a function (p *Pool) OnDealloc(item interface{})  (Or maybe called OnRemoval(item interface{}), since something outside the pool may hold a reference to it)
It will operate like this:
Just before an item gets removed from the pool, then OnDealloc() gets called so we can call some cleanup code.
It may or may not be vaguely related to: https://github.com/golang/go/issues/38057 and https://golang.org/pkg/runtime/#SetFinalizer

What would people use this for?
Why not just use a finalizer?

What would people use this for?
Why not just use a finalizer?


Enable Maven parallelism via .mvn/maven.config file

What problem are you trying to solve?

The vast majority of Maven builds I've encountered are single-threaded - quite a waste of processing power in today's multi-core world.  While not every multi-module Maven build will be compatible with parallelism, those that are are typically provide CLI arguments on every invocation like -T 1C or --threads 0.5C.
There is no way to provide a parallelism setting in a pom.xml file.
I recently discovered that Maven 3.3.1+ has a facility to persist default CLI arguments in a file called .mvn/maven.config (docs). (thanks @bdemers)
What precondition(s) should be checked before applying this recipe?

Maven version is 3.3.1+
For MVP, does .mvn/maven.config file already exist?
For future releases, parameterize the parallelism factor in the recipe.  Defaulting to 1C (one thread per CPU core) is a reasonable default.
For future releases, parse .mvn/maven.config if exists already and add/edit -T or --threads argument.
Expanding beyond that, maybe provide a general-purpose Maven CLI argument persistence recipe.

Describe the situation before applying the recipe

.mvn/maven.config does not exist
Describe the situation after applying the recipe

.mvn/maven.config is created with contents:
-T 1C

Have you considered any alternatives or workarounds?

Not really.  Other than a bespoke shell script to invoke Maven, .mvn/maven.config is the only method I know of to "natively" provide CLI argument defaults.
Any additional context

If I were a consumer of this recipe, I'd want to ensure that enabling parallelism doesn't break my build and that the results before/after are the same.  I'm not sure how this could be verified.
Are you interested in contributing this recipe to OpenRewrite?

Absolutely.

Just in case it wasn't clear, there is no way to provide a parallelism setting in a pom.xml file.

Hi @DPUkyle ; thanks for the suggestion & detailed outline! Indeed looks like a valuable addition to help speed up builds. I think we should already have enough information to write a version, and expand on that once available.
In terms of implementation I think a ScanningRecipe would be best: That gives you an API to evaluate all files before making any changes (to for instance spot disqualifiers in known-not-parallel-safe-plugins), a method to generate new files, and a visitor for new and existing files to add options as needed/desired. You can see an example scanning recipe implemented in our rewrite-recipe-starter; the new recipe described here would be a fine contribution to openrewrite/rewrite.
Great to see you're interested in contributing this recipe! Feel free to ask any questions here, or reach out through our OSS Slack, or the shared Slack channel we have with Gradle.

Just to tack on another option for this as well, the Maven daemon uses -T 1C by default in its implementation. So another way to achieve the parallelism would be to swap from the standard Maven distribution or wrapper to the Maven daemon.

Let's spin off Java toolchains for Maven to a separate issue. If you're up for providing the features for one or both of them, we can always help on a PR or in the OpenRewrite Slack workspace.

Let's spin off Java toolchains for Maven to a separate issue. If you're up for providing the features for one or both of them, we can always help on a PR or in the OpenRewrite Slack workspace.

I'll create a new issue now

Please be aware that enabling parallelism in Maven builds will almost always break the build. That's because most developers are lazy as hell, and just build modules depending on each other in an aggregator child module order which is fine. E.g. you build modules A, B, C, where C depends on B, and B depends on A, without ever specifying those dependencies explicitly. In a non-parallel build that will always work, in a parallel build that will often break.
I've switched a lot of commercial and open source projects from non-parallel to parallel, and it basically always required additional changes to create a "partial graph" of build nodes with explicit dependencies. Therefore I'm not sure whether creating a recipe for enabling parallelism is actually worth it, as I expect most users to see their build fail afterwards and to complain about the recipe.
That being said, if someone is going to implement this, then the recipe should also switch the maven builder from the built-in builder to the takari smart builder, which does more aggressive parallelization than the maven standard builder, and therefore leads to shorter build times than the standard builder.


Remove unanchored git dependency, update to 0.3.1

The 0.3.0 version is published to npm and used by some other projects. Its git dependency on resolve-file, without a reference specified, causes thrash in npm package-lock.json files when npm install is run multiple times, as npm resolves the reference differently on different runs.
Switching to what seems to be the intent (referencing a published version of resolve-file) resolves this because npm knows how to handle packages from npm much better than those from a git repo.
The version of base-env is bumped to reflect this change.
Hopefully this too can be published to npm 🙂

@jonschlinkert anything else I should do to see this merged?


Allow a few builders to be customized

As usual, I will add tests if you think this looks roughly OK :)
This is a part of https://github.com/flutter/flutter/issues/129098
Why
In order to record the current frame, I need to know all calls to SceneBuilder, ParagraphBuilder, etc. Then, I can use the delegate (proxy) design pattern to record all data.
Performance
IMHO this is not on the critical path. For example, even if the creation of SceneBuilder is a bit slower, the builder will then be called a lot of times (and each call is heavy), so the time of the creation is negligible.
In addition, I guess Dart may be even smart enough to optimize this out if the creator is always null for users who do not use it.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Offering static properties for this isn't the right way. What if two entities try to set these? They would just overwrite each other leading to hard to debug behavior.

Thank you, though I do see such code in Flutter framework. Anyway, given that Hixie has already rejected my proposal of session replayer via recording EngineLayers, this PR is no longer useful.


Feature request — colored non-breaking spaces

Hi,
I really love the non-breaking space highlighting functionnality on Emacs:

The on-breaking space (U+00A0 or more commonly known as   in HTML) is really important in typography and I often use the Unicode character in HTML source code instead of the   escape code. The benefit is that a b is much more readable than a b, and the drawback is that it’s hard to differenciate a regular space from a non-breaking space without any special highlighting.
So, it would be awesome if micro could slightly highlight U+00A0. The simple Emacs’ colored underline looks good enough to me. Is it possible to implement this functionnality as a plugin?
(Of course, I can edit every single syntax file I use and copy-paste the same rule for those non-breaking spaces, but this looks like a rather ugly fix to me. I really prefer highlighting non-breaking spaces globally with one single setting, as Emacs does.)
Thanks for all the nice work you’ve done so far :slightly_smiling_face:

An indent-char (or indent-char.whitespace ?) syntax rule can be added to any files you wish to have it, but you also need a colorscheme that colors indent characters. I don't think there's some sort of "global" syntax rules to set, so it'd probably need to be added to all yaml files for the syntaxes that support it.

To me, the non-breaking space being highlighted is to avoid problems like the following:
$    ls    a
bash:   ls : command not found

Thus I badly need those non-breaking space characters to be highlighted.
PS. I don't think we need any configurations (e.g., indent-char or indent-char.whitespace etc) for this highlighting functionality.


SSH behaviour undesirable on libraries

When a module includes a library specified with https, adding the module with a SSH URL results in undesirable behaviour:
annirak:~/workspace/mbed-os-ucmm (master) $ mbed add git@github.com:ARMmbed/update-client-common.git
[mbed] Adding library "update-client-common" from "git@github.com:ARMmbed/update-client-common.git/" at latest revision in the current branch
Warning: Permanently added 'github.com,<IP_ADDRESS>' (RSA) to the list of known hosts.
[mbed] Adding library "update-client-common/atomic-queue" from "https://github.com/ARMmbed/atomic-queue/" at rev #64c817760497
Username for 'https://github.com':

If a user has authenticated with ssh for a top-level module, ssh should be assumed for each submodule, unless ssh fails, then https should be used as a fallback.
This might be easier if it were possible to specify a git repo with no protocol. e.g. github.com:ARMmbed/update-client-common.git can easily be used as either a ssh or https repo specifier.

As mentioned above, --protocol ssh applies to all git interaction in a session.


Use numpy.ptp(arr) for resample button

When testing the resample-button during #2, I noticed that NumPy 2.0 has removed the arr.ptp(...) function.
This PR uses numpy.ptp(array, ...) instead to resolve the error.
Should be backward-compatible as earlier NumPy version also support this function:
https://numpy.org/doc/1.13/reference/generated/numpy.ptp.html
https://numpy.org/doc/1.26/reference/generated/numpy.ptp.html

thanks.  test failures are due to an old action failing


Performance Improvement using DataLoader

Thank you @UmerIftikhar! The whole codebase switched to TypeScript and now there is DataLoader used (b377d7b16708ee7f2c26f0529edb7e7a7c7e62de). Closing this pull requests.


Fix ThroughputResponse.IsReplacePending

fix the value that is being retrieved when mapping ThoughputResponse.IsReplacePending
Pull Request Template
Description
This PR is to fix the value that is being retrieved when mapping ThoughputResponse.IsReplacePending as it is currently incorrectly attempting to read WFConstants.BackendHeaders.MinimumRUsForOffer
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Closing issues
Closes #1024

 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.:x: wahyuen sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

/azp run

/azp run


[build-windows] Error running scripts\code.bat

VSCode Version: insider 24c9b09925...
OS Version: Windows 10 (64bit)

Steps to Reproduce:

Run scripts\npm.bat install then npm run watch
Run .\scripts\code.bat

What happens?
A new electron window is opened but vscode doesn't properly run and outputs errors:
{ Error: Cannot find module './build/Release/keymapping'
    at Module._resolveFilename (module.js:470:15)
    at Function.Module._resolveFilename (E:\Docs\Dev\vscode\.build\electron\resources\electron.asar\common\reset-search-paths.js:35:12)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at NativeBinding._init (E:\Docs\Dev\vscode\node_modules\native-keymap\index.js:15:22)
    at NativeBinding.onDidChangeKeyboardLayout (E:\Docs\Dev\vscode\node_modules\native-keymap\index.js:37:10)
    at Object.exports.onDidChangeKeyboardLayout (E:\Docs\Dev\vscode\node_modules\native-keymap\index.js:61:18)
    at KeyboardLayoutMonitor.onDidChangeKeyboardLayout (E:\Docs\Dev\vscode\out\vs\code\electron-main\keyboard.js:27:30)
    at CodeApplication.registerListeners (E:\Docs\Dev\vscode\out\vs\code\electron-main\app.js:136:55) code: 'MODULE_NOT_FOUND' }
[14816:0613/114719.748:INFO:CONSOLE(201)] "Loading "gc-signals" failed", source: file:///E:/Docs/Dev/vscode/out/vs/loader.js (201)

More errors follow.

Please provide the full npm install log. You'll find errors there.

@joaomoreno You mean the log of the log I have when running scripts\npm.bat install

Yes.

I did not get any errors running the script. Here is the log I had after running it again:
><EMAIL_ADDRESS>preinstall E:\Docs\Dev\vscode
> node build/npm/preinstall.js

><EMAIL_ADDRESS>postinstall E:\Docs\Dev\vscode
> node build/npm/postinstall.js

><EMAIL_ADDRESS>postinstall E:\Docs\Dev\vscode\extensions
> node ./postinstall

up to date in 0.672s
up to date in 7.591s

><EMAIL_ADDRESS>postinstall E:\Docs\Dev\vscode\extensions\vscode-colorize-tests
> node ./node_modules/vscode/bin/install

Detected VS Code engine version: *
Fetching vscode.d.ts from: https://raw.githubusercontent.com/Microsoft/vscode/master/src/vs/vscode.d.ts
vscode.d.ts successfully installed!

up to date in 8.152s

><EMAIL_ADDRESS>postinstall E:\Docs\Dev\vscode\extensions\json
> cd server && npm install

up to date in 0.73s
up to date in 2.216s
up to date in 0.352s
up to date in 0.413s
up to date in 1.515s
up to date in 0.586s
up to date in 0.499s
up to date in 0.579s

><EMAIL_ADDRESS>postinstall E:\Docs\Dev\vscode\extensions\css
> cd server && npm install

up to date in 0.639s
up to date in 2.18s

><EMAIL_ADDRESS>postinstall E:\Docs\Dev\vscode\extensions\html
> cd server && npm install

up to date in 0.772s
up to date in 2.036s
up to date in 1.548s
up to date in 0.463s
up to date in 0.464s
up to date in 0.38s
up to date in 1.128s

><EMAIL_ADDRESS>postinstall E:\Docs\Dev\vscode\extensions\emmet
> node ./node_modules/vscode/bin/install

Detected VS Code engine version: ^1.10.0
Found minimal version that qualifies engine range: 1.10.0
Fetching vscode.d.ts from: https://raw.githubusercontent.com/Microsoft/vscode/1.10.0/src/vs/vscode.d.ts
vscode.d.ts successfully installed!

up to date in 16.687s
up to date in 0.436s
up to date in 0.302s

><EMAIL_ADDRESS>postinstall E:\Docs\Dev\vscode\build
> npm run compile

><EMAIL_ADDRESS>compile E:\Docs\Dev\vscode\build
> tsc

up to date in 13.843s
up to date in 124.652s

Clean the whole repo and start over: git clean -xfd . and then scripts\npm.bat install. That full log will have an error.

I am getting this error when running scripts\npm.bat install:
npm ERR! Cannot read property 'find' of undefined

npm ERR!      C:\Users\Nicolas\.npm-electron\_logs\2017-06-14T12_01_26_047Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>postinstall: `node build/npm/postinstall.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\Nicolas\.npm-electron\_logs\2017-06-14T12_01_29_372Z-debug.log

Can you just send me the full log?

I'm not able to reproduce in the html client and server folders (using npm 5.0.3)


⚠ Processors has degraded performance

In 72ebaaf, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 47 ms

Resolved: Processors performance has improved in 5bcd237.


make serde work with full specification

Closes #27

This looks great, thank you! Evidently my rustfmt.toml is out of date but all the tests pass locally.


Simplify access to the version number(s)

Hi everybody,
I am developing an integration of VictoriaMetrics for Node-RED (open-source IOT dataflow platform), and I am struggling to find the version number(s) of the currently installed db.  In my case a single node db.
Other people (e.g. here) seem to use vm_app_version.  I have tried to query that in all kinds of formats in vmui, but I don't get a match unfortunately:

WARNING: No match! This query hasn't selected any time series from database. Either the requested metrics are missing in the database, or there is a typo in series selector.

When I try to export that same selector, I always get an empty array.
Therefore:

It would be nice if the version number(s) would be somehow visible in the vmui.  Because that is the place where most (frontend) users will expect to find it.
It would perhaps also be nice to make these version numbers available via e.g. api/v1/version_info, so we can easily fetch them at the backend size.
Or if somebody could tell me how I can easily get the version numbers via a query, then point 2 might be rejected (because I can execute that query also via api/v1).

Thanks!!
Bart

Wrong repo...


Update README.md

Thanks @intelliot, I've now incorporated your changes into the README. Apologies that I didn't merge this PR directly; this was mainly due to your second example:
Use `Date()` for the sunrise and sunset for today

This is done via a default argument in the Swift initialiser, so isn't necessary in this example. I.e. Solar(coordinate: CLLocationCoordinate2D(latitude: 51.528308, longitude: -0.1340267)) does the same thing.


New board revision?

Hi, I really want to attempt this mod, but the big issue is my board revision is quite different from yours (mine is ZD-20U-4, while yours is ZD-20U-8).
Attached are the pics of the PCB front and back.
What modifications do I need to do to my board?

Here are some pictures of another pcb version of this iron.

Thanks for the pictures of the revision  9, it's interesting how "innovative"  these guys are :).  I can't spot the difference between revision 8 (only the solder point of the brown thick wires are square and possibly machine soldered rather than manually) and 9. Am I missing something? Anything unusual on the bottom side of the PCB?
The left part of the PCB on my instructional pictures show the D1 and the silver "shake" tube and the yellow wire already de-soldered, as the mod requires them to be removed.


feat(tutorial): complete step 2

Closes #
feat(tutorial): complete step 2
Changelog

Do I require anything else?


fix(composer): Allows nodes to be dropped at root level

Overview
Fix to allow dragging nodes to root.

Includes fix for expand/collapse button for submodels as children

Legal
This project is available under the Apache 2.0 License.

From testing in the Storybook, the issue of dropping at root nodes still seems to be present. Let's discuss.


✨[feature Request]: Password Visibility Toggle  for Login and SignUp pages #758

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
the login and signUP pages do have that eye for user to confirm what password they have entered , also hovering that field must specify therules for creating password .
Use Case
Better interaction as user can see what he is entering
Benefits
this will help user in creating strong passwords and naive user will understand what the website is expecting
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24EXTD contributor
[X] I have starred the repository

@palak-k5 it is already assigned.


Missing Images

The conversion of docs/home/procedures/install-oracle-rdbms/install-oracle-rdbms-11-2-0-1-0-with-grid-infrastructure.html gave the following error messages:
Unable to locate image file, '/home/douglas/git-repositories/dfhawthorne.github.io/docs/home/procedures/install-oracle-rdbms/install-oracle-rdbms-11-2-0-1-0-with-grid-infrastructure/Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 1 of 9.png'
Unable to locate image file, '/home/douglas/git-repositories/dfhawthorne.github.io/docs/home/procedures/install-oracle-rdbms/install-oracle-rdbms-11-2-0-1-0-with-grid-infrastructure/Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 2 of 9.png'
Unable to locate image file, '/home/douglas/git-repositories/dfhawthorne.github.io/docs/home/procedures/install-oracle-rdbms/install-oracle-rdbms-11-2-0-1-0-with-grid-infrastructure/Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 3 of 9.png'
Unable to locate image file, '/home/douglas/git-repositories/dfhawthorne.github.io/docs/home/procedures/install-oracle-rdbms/install-oracle-rdbms-11-2-0-1-0-with-grid-infrastructure/Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 4 of 11.png'
Unable to locate image file, '/home/douglas/git-repositories/dfhawthorne.github.io/docs/home/procedures/install-oracle-rdbms/install-oracle-rdbms-11-2-0-1-0-with-grid-infrastructure/Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 5 of 11.png'
Unable to locate image file, '/home/douglas/git-repositories/dfhawthorne.github.io/docs/home/procedures/install-oracle-rdbms/install-oracle-rdbms-11-2-0-1-0-with-grid-infrastructure/Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 6 of 11.png'
Unable to locate image file, '/home/douglas/git-repositories/dfhawthorne.github.io/docs/home/procedures/install-oracle-rdbms/install-oracle-rdbms-11-2-0-1-0-with-grid-infrastructure/Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 7 of 11.png'
Unable to locate image file, '/home/douglas/git-repositories/dfhawthorne.github.io/docs/home/procedures/install-oracle-rdbms/install-oracle-rdbms-11-2-0-1-0-with-grid-infrastructure/Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 8 of 11.png'
Unable to locate image file, '/home/douglas/git-repositories/dfhawthorne.github.io/docs/home/procedures/install-oracle-rdbms/install-oracle-rdbms-11-2-0-1-0-with-grid-infrastructure/Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 10 of 11.png'

When I run the following commands:
cd docs/home/procedures/install-oracle-rdbms
find install-oracle-rdbms-11-2-0-1-0-with-grid-infrastructure -name "*.png*" -type f -print0 | \
    xargs -0 -I@ basename '@' | \
    grep -vE '(\?attredirects=0|png)$' | \
    sort -nk12

I get the following list of files:
Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 2 of 9.png?attredi
Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 3 of 9.png?attredi
Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 4 of 11.png?attred
Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 5 of 11.png?attred
Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 6 of 11.png?attred
Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 7 of 11.png?attred
Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 8 of 11.png?attred
Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 9 of 11.png?attred
Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 10 of 11.png?attre
Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 11 of 11.png?attre

So, ten (10) of the missing files are explained by the truncated path names.
The first file could be 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - St'.

Run the following commands:
git mv 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - St' 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 1 of 9.png'
git mv 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 10 of 11.png?attre' 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 10 of 11.png'
git mv 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 11 of 11.png?attre' 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 11 of 11.png'
git mv 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 2 of 9.png?attredi' 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 2 of 9.png'
git mv 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 3 of 9.png?attredi' 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 3 of 9.png'
git mv 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 4 of 11.png?attred' 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 4 of 11.png'
git mv 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 5 of 11.png?attred' 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 5 of 11.png'
git mv 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 6 of 11.png?attred' 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 6 of 11.png'
git mv 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 7 of 11.png?attred' 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 7 of 11.png'
git mv 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 8 of 11.png?attred' 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 8 of 11.png'
git mv 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 9 of 11.png?attred' 'Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 9 of 11.png'

However, the conversion now fails with:
URL: Neither 'home/procedures/install-oracle-rdbms/install-oracle-rdbms-11-2-0-1-0-with-grid-infrastructure/Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 2 of 9.png?attredi' or 'home/procedures/install-oracle-rdbms/install-oracle-rdbms-11-2-0-1-0-with-grid-infrastructure/Screenshot-Oracle Database 11g Release 2 Installer - Installing database - Step 2 of 9.png?attredi.html' exist

I wrote a short SED script, scripts/fix_issue_103.sed, to fix the names:
sed -i -f ~/git-repositories/dfhawthorne.github.io/scripts/fix_issue_103.sed install-oracle-rdbms-11-2-0-1-0-with-grid-infrastructure.html

Unfortunately, Step 1 screenshot was missing and the URL for Step 11 pointed to Step 9. Downloaded the screenshot for Step1 from the New Google Sites, and manually updated the HTML for the web page to correct the URL after conversion.


Question [ How configure the plugin with venvs ]

When developing in python, is normal that different projects have different env. We can use, venv, poetry, etc.
How we indicate to the plugin which venv we want to use?

I'm not sure how pylsp identifies that. Are there any resources you know of that explain how that would be done?

I think the question is: how to make this plugin talk with a particular pylsp installed in a specific environment (generally tied to the project).

I think the question is: how to make this plugin talk with a particular pylsp installed in a specific environment (generally tied to the project).

Yes, that is exactly my point.

Lapce "talks" with the language server, rather than the plugin direclty. The plugin can specify arguments passed to the language server when it is started. Outside that, we'd have to look into the language server protocol and the subset that Lapce supports.

One option might be to read the configuration (e.g., the executable in the venv) in the pyproject.toml. That's now the default place where tool config is supposed to go

activate your venv in a terminal
start lapce in the same terminal

activate your venv in a terminal

start lapce in the same terminal

Thanks a ton. This is what I was looking for

activate your venv in a terminal

start lapce in the same terminal

Do we think this is the proper way to do it and should be added to the README? Or do other language plugins handle this more intelligently?


Make linux scripts executable

Make the build scripts executable so CONTRIBUTING.md doesn't lie.
Note: I snuck a change to .gitignore to ignore my editor directory. Can remove this if it's offensive.

I approve of your editor of choice. 😁


Content showing below header until move

On initial load, the content shows below the header.

After scrolling, the content then moves to the correct place. @andreialecu Does this happen on the updated PR for you too? https://github.com/andreialecu/rnctv-react-native-bare-test/pull/1 I am concerned as I'm still not seeing the indicator when scrollEnabled is set as per #109

I can repro this one. Checking.

@alexpchin can you do me a favor and pull the change I made to the PR and tell me if you can also see this extra space between the tab bar and the albums when scrolling down?

@andreialecu Yes, I also see that after I have scrolled down.

Also... I've just noticed, I can see the indicator too.

I found what the problem is, will open a PR shortly. Seems to be a difference between Expo and bare RN.
More specifically it seems that automaticallyAdjustContentInsets needs to be set to false on the inner scroll view.
This resolves the main issue you're seeing. Will open a PR shortly after testing it further.

If you manually edit this file in node_modules, as per the screenshot below, this should work:

Here's a build containing all recent fixes, until rc.1 is released (should be later today):
react-native-collapsible-tab-view-v4.0.0-rc.1.tgz.zip

@alexpchin try 4.0.0-rc.2

Thanks! @andreialecu


Add grounding data (RAG) lab 2

Adding Lab 2 Rag Items

Hey Rafael - all great suggestions, thank you!  I used the UI tool to commit the changes, but it appears that the DCO sign off doesn't work properly that way, at least for me..   let me see if I can amend it - let's see...


[vcpkg_copy_tool_dependencies] Shouldn't use PowerShell on non-Windows

Host Environment

OS: [Linux]
Compiler: revision

To Reproduce
Steps to reproduce the behavior:
./vcpkg install gtkmm
Failure logs
Error: Building package glib:x64-linux failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with ./vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Starting package 6/29: glib:x64-linux
Building package glib[core]:x64-linux...
Could not locate cached archive: /home/jacobski/.cache/vcpkg/archives/07/0718b8f98e514b50ba35e4175ba022064f8cedec.zip
-- Downloading https://ftp.gnome.org/pub/gnome/sources/glib/2.52/glib-2.52.3.tar.xz...
-- Extracting source /home/jacobski/vcpkg/downloads/glib-2.52.3.tar.xz
-- Applying patch use-libiconv-on-windows.patch
-- Applying patch arm64-defines.patch
-- Applying patch fix-arm-builds.patch
-- Using source at /home/jacobski/vcpkg/buildtrees/glib/src/2.52.3-34a15219ec.clean
-- Configuring x64-linux-dbg
-- Configuring x64-linux-rel
-- Building x64-linux-dbg
-- Building x64-linux-rel
CMake Error at scripts/cmake/vcpkg_copy_tool_dependencies.cmake:22 (message):
Could not find PowerShell Core; please open an issue to report this.
Call Stack (most recent call first):
ports/glib/portfile.cmake:53 (vcpkg_copy_tool_dependencies)
scripts/ports.cmake:135 (include)
Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.

Should be fixed by #14366.
Duplicated to #14358.


Test M1 installers before making a public release

https://github.com/mne-tools/mne-installers/releases/tag/untagged-41d19bf875fbbe3e2fab

The installer title says it's version 1.0.3_0, but it should be 1.0.3_1 🤔

Looking good so far:
❯ mne sys_info
Platform:         macOS-12.4-arm64-arm-64bit
Python:           3.10.4 | packaged by conda-forge | (main, Mar 24 2022, 17:42:03) [Clang 12.0.1 ]
Executable:       /Applications/MNE-Python/.mne-python/bin/python3.10
CPU:              arm: 8 cores
Memory:           16.0 GB

mne:              1.0.3
numpy:            1.21.6 {blas=NO_ATLAS_INFO, lapack=lapack}
scipy:            1.8.1
matplotlib:       3.5.2 {backend=MacOSX}

sklearn:          1.1.1
numba:            0.55.1
nibabel:          3.2.2
nilearn:          0.9.1
dipy:             1.5.0
cupy:             Not found
pandas:           1.4.2
pyvista:          0.34.0 {OpenGL 4.1 Metal - 76.3 via Apple M1}
pyvistaqt:        0.9.0
ipyvtklink:       0.2.2
vtk:              9.1.0
PyQt5:            5.15.4
ipympl:           0.9.1
pooch:            v1.6.0

mne_bids:         0.10
mne_nirs:         0.2.1
mne_features:     0.2
mne_qt_browser:   0.3.1
mne_connectivity: 0.3

Spyder is working too

3D viz works:

Awesome, sounds like we're good to go, then, right?

@larsoner We still need #129 or at least the part of it that bumps the build number
Then force-delete the 1.0.3-post1 tag I created
Then make a new draft release again
and then we can publish it :)

As per discussion on Discord, we're holding off the new release until we have MNE 1.1, to not compromise the "wow" effect of the new native builds :) so the idea is to announce 1.1 together with the M1 builds.

I think we've tested these so I'll close. I'll cut a prerelease and we should test on every platform anyway


Assign people as session chairs

and give them instructions (cf.  #141).

There is now a copy of the program in which people can go in and sign themselves up to be a room chair. We did discuss if we are planning to include the travel fellows in that work, but I am unclear what was decided about that or how we would invite them to sign up. When would we like to invite people to go in and sign themselves up? And how much would we like each person to volunteer for or limit themselves to?

I believe this is the right link for the spreadsheet to sign up on.
https://docs.google.com/spreadsheets/d/12KegT8b4B8gKci-8GOMFSK6aK8P0vyLuvVybdFfhhpA/edit?usp=sharing

For the travel fellows, I think we discussed perhaps involving them as notetakers.
For session chairs, we can also suggest specific names other than the programme committee as chairs where we feel that would fit particularly well.

This worked. Not aware of any problems.


serviceConfig Restart no with quoted strings

Hey, thanks for the great tool! With the following minimal docker-compose.yml
services:
  test:
    image: nginx:latest

and compose2nix -project test I get
  systemd.services."podman-test-test" = {
    serviceConfig = {
      Restart = lib.mkOverride 500 "\"no\"";
    };
  };

where nix complains about the escaped quotes with something like this
       error: A definition for option `systemd.services.podman-test-test.serviceConfig' is not of type `attribute set of (systemd option)'. Definition values:
       - In `/nix/store/yv0aqwqsvns7rx164q6lvjgy1fpvfk0c-source/test.nix':
           {
             Restart = {
               _type = "override";
               content = "\"no\"";
               priority = 500;
           ...

please let me know if you would like to have a PR for that

Thanks for reporting! Oof, not sure how I missed this lol... Will fix.

you have // Need to use string literal here to avoid parsing as a boolean. in your code so maybe it is not trivial

maybe the service config type needs to be strictly typed so the "no" does not get interpreted as boolean when the object is written to disk


Off Canvas Menu

To a nice app genre presentation

Live: https://tympanus.net/Development/OffCanvasMenuEffects/index.html
Code: https://github.com/codrops/OffCanvasMenuEffects/blob/master/index.html

Sorry, I don't understand this bug. You are reporting a bug on the sandstorm app market, but the app market doesn't have a menu at all, so what are you suggesting, exactly?

Ah, I think you meant to suggest this for Sandstorm itself. It looks like you brought this up here:
https://github.com/sandstorm-io/sandstorm/issues/1713#issuecomment-285495107
I'll close this thread since I think the other thread is the right place to discuss.


[Task]: Upgrade http(s) VFS to httpclient5

What needs to happen?
We are using a deprecated mode to read HTTP content using VFS upgrade to the newer version
Issue Priority
Priority: 2
Issue Component
Component: VFS

.take-issue


datastore node.js API filter not working properly

Environment details

OS: MacOS
Node.js version: v5.10.1
npm version: v3.8.3
google-cloud-node version: "@google-cloud/datastore": "^0.7.1"

Steps to reproduce
var datastore = require('@google-cloud/datastore')({
  projectId: 'XXX',
  keyFilename: 'XXX'
});

queryNearestGlobalSession = function (localSessionSnapshot, callback) {
  var startDate = new Date();
  var query = datastore.createQuery('GlobalSession');
  query.filter('startTime','>',startDate.getTime());
  datastore.runQuery(query, callback);
}

This following error was given when running the query:
{ [Error: no matching index found. recommended index is:
- kind: GlobalSession
  properties:
  - name: channel
  - name: user
  - name: startTime
] code: 412, metadata: Metadata { _internal_repr: {} } }

Filter operator "=" is working fine, but not the ">" nor the "<".
Tried two different data types (Time and Date, and Integer), both not working.

This just means you'll need to create an index.yaml file that looks like the one they whipped up for you in the error message. See this document for more info on Datastore Indexes.


Bulky Interface

Atom material looks very bulky for me.

It doesn't show the tab names correctly and shows the titles squashed together (see right in the bottom images)
The project management is large and bulky for no reason (see left in the bottom images)
The settings seem just cluttered (why that settings font is that big?)
The new one (https://github.com/suda/tool-bar/pull/277): It doesn't show 21px toolbar buttons correctly.

Compare One-Dark:

To Material:

Toolbar button issue:
Left Material, Right One-Dark

This sounds more like an opinion instead of a bug report. If that's the case, please feel free to adjust things to your liking through the user stylesheet 😄

This sounds more like an opinion instead of a bug report. If that's the case, please feel free to adjust things to your liking through the user stylesheet 😄

Since we don't have access to this repository, we can just ignore the problem
Ref.

Well, to be completely honest, I've switched to a more performant text editor a couple years ago and I don't have the time nor energy to maintain the theme properly. I'm just keeping an eye open for breaking changes in Atom.


Spelling error with odo push

/kind bug

What versions of software are you using?
Operating System: Linux
Output of odo version: Master
How did you run odo exactly?
~/test
▶ git clone https://github.com/openshift/nodejs-ex && cd nodejs-ex
Cloning into 'nodejs-ex'...
remote: Enumerating objects: 665, done.
remote: Total 665 (delta 0), reused 0 (delta 0), pack-reused 665
Receiving objects: 100% (665/665), 262.16 KiB | 518.00 KiB/s, done.
Resolving deltas: 100% (259/259), done.

~/test/nodejs-ex  master ✔                                                                                82d
▶ cd

~/test/nodejs-ex  master ✔                                                                                82d  ⍉
▶ odo push
 ✗  the current direcotry doesn't contain a devfile

Actual behavior
 ✗  the current direcotry doesn't contain a devfile

Expected behavior
 ✗  the current directory doesn't contain a devfile

And specifically... it should be worded "The current directory does not contain a Devfile" with maybe a suggestion to use odo create to initialize the folder...
Any logs, error output, etc?
See above

And specifically... it should be worded "The current directory does not contain a Devfile" with maybe a suggestion to use odo create to initialize the folder...

So something like the following should work.
"the current directory does not represent an odo component. Use 'odo create' to create component here or switch to directory with a component"
But, since the message and a few similar ones are used in a lot of places, I think it would be nice to write an implementation of the error interface for this particular error.


"Homorod", "Jimbor ", "Mercheașa" are villages in "Homorod" common, "BRAȘOV" count

Description : When user is typing the villages in the search bar, the locations should appear in the dropdown menu correctly spelled and with localities information (as in Law nr. 2 din 16 februarie 1968)
Preconditions : the website (https://peviitor-ro.github.io/ui.orase/) is up and runing.
After every step delete the text you typed from the search bar.

Step 1
Type "Homorod" in the search bar.
Expected results
The location is listed in the drop-down menu as "Homorod, Brașov (Homorod)"

Step 2
Type "Jimbor" in the search bar.
Expected results
The location is listed in the drop-down menu as "Jimbor, Brașov (Homorod)"

Step 3
Type "Mercheașa" in the search bar.
Expected results
The location is listed in the drop-down menu as "Mercheașa, Brașov (Homorod)"


Publishing needs is not disabled while disconnected

When the connection to the server is lost, it's still possible to create new needs. Those needs only exist as placeholders until the page is reloaded, at which point they'll disappear. Maybe we should disable the Publish button until the session is reconnected.

just found out one can induce the connection loss by executing ´cnc.$ngRedux.dispatch(actionCreators4Dbg.lostConnection())´ within the dev console