tap-hold-*, tap-next-release: Wrong event order when used quickly

Hello,
Given any one of
_bs (tap-hold-next 200 bspc lsft)
_bs (tap-next-release bspc lsft)
_bs (tap-hold-next-release 200 bspc lsft)

when rapidly typing _bs j (where j can be any button):
Opening KeySink
Registering Uinput device
Opening KeySource
Initiating ioctl grab
Launching process: emitter_proc

--------------------------------------------------------------------------------
Received event: Press <bks>
Running hooks
Block level set to: 1
Registering untimed hook: 2
Registering 200ms hook: 1

--------------------------------------------------------------------------------
Received event: Press <j>
Running hooks
Registering untimed hook: 4
Registering 156ms hook: 3
Storing event, current store:
 - Press <j>

--------------------------------------------------------------------------------
Received event: Release <bks>
Running hooks
Emitting: Press <bks>
Unblocking input stream, rerunning:
Press <j>

Emitting: Release <bks>

--------------------------------------------------------------------------------
Rerunning event: Press <j>
Running hooks
Registering untimed hook: 5
Emitting: Press <j>

--------------------------------------------------------------------------------
Received event: Release <j>
Running hooks
Emitting: Release <j>
Tried cancelling expired hook: 3
Tried cancelling expired hook: 1

MappingNotify event, serial 136, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 8, count 248

KeyPress event, serial 136, synthetic NO, window 0x9c00001,
    root 0x7b8, subw 0x0, time 212392116, (167,23), root:(1171,939),
    state 0x0, keycode 22 (keysym 0xff08, BackSpace), same_screen YES,
    XLookupString gives 1 bytes: (08) "
    XmbLookupString gives 1 bytes: (08) "
    XFilterEvent returns: False

KeyRelease event, serial 136, synthetic NO, window 0x9c00001,
    root 0x7b8, subw 0x0, time 212392117, (167,23), root:(1171,939),
    state 0x0, keycode 22 (keysym 0xff08, BackSpace), same_screen YES,
    XLookupString gives 1 bytes: (08) "
    XFilterEvent returns: False

KeyPress event, serial 136, synthetic NO, window 0x9c00001,
    root 0x7b8, subw 0x0, time 212392117, (167,23), root:(1171,939),
    state 0x0, keycode 44 (keysym 0x6a, j), same_screen YES,
    XLookupString gives 1 bytes: (6a) "j"
    XmbLookupString gives 1 bytes: (6a) "j"
    XFilterEvent returns: False

KeyRelease event, serial 137, synthetic NO, window 0x9c00001,
    root 0x7b8, subw 0x0, time 212392140, (167,23), root:(1171,939),
    state 0x0, keycode 44 (keysym 0x6a, j), same_screen YES,
    XLookupString gives 1 bytes: (6a) "j"
    XFilterEvent returns: False

This works fine if I hold down _bsp longer, or if I use tap-hold instead.
However, my goal is to make _bsp usable to perform Shift + click
Apologies if this is already expressed in another issue - some seemed similar but not quite the same.

I've also noticed issues with this when trying to quickly perform 2 macros back to back (e.g. I tried to make the spanish ¿¡ work by putting those 2 characters back-to-back, but ran into issues as well). This is stemming from something that needs to be redone, but it's a big fix. It's on my list, but not near the top at the moment. I'll try to remember to post an update here if I ever get to it.

Thanks for the information on this!
I'm seeing also this which is probably the same:
If I have
md1 (tap-hold-next-release 180 del  rmet)
nav  (tap-hold-next-release 180 esc (layer-toggle navigation))

and I type P@md1 T@nav R@md1 kmonad will sometimes typeTdel Tesc and sometimes Prmet Tesc Rrmet (the desired behavior). The latter only happens if I wait 180ms for rmet to be emitted.
The workaround I found for this is:
md1 (tap-hold-next-release 180 del  rmet
md1 (tap-hold-next 180 del  (around rmet (layer-toggle tmp)))

where the tmp layer replaces @nav with esc. Of course removes the ability to use rmet with keys in navigation but I can work without that for now.

I've also noticed issues with this when trying to quickly perform 2 macros back to back (e.g. I tried to make the spanish ¿¡ work by putting those 2 characters back-to-back, but ran into issues as well). This is stemming from something that needs to be redone, but it's a big fix. It's on my list, but not near the top at the moment. I'll try to remember to post an update here if I ever get to it.

Reading your comment again after some time, I wonder if the issue you were seeing is the same as mine.
I am simply trying to have a key that acts as a modifier (e.g., shift) when held. When typing fast, it simply doesn't work as intended because kmonad releases it before the next key.
Unfortunately this is extremely frustrating, as half the times I use a modifier key, I end up inputting something else.

Reading your comment again after some time, I wonder if the issue you were seeing is the same as mine.

Rereading this stuff again myself, I'm not so sure either. Sadly, I think the most efficient thing right now for me is to focus what time/energy I do have on my main project (getting the IO-shell more solid). Only when that is done does it make sense for me to really turn my mind to digging back into the fine-grained intricacies of the button-model.
My intention is very much to get to this some day.

That's understandable, thanks again!


CSS framework ?

I would like to make some changes to the structure of the site, but is kind of difficult to guess what are the css classes doing without any documentation.
Are you using any css framework in particular?

Hey,
The original author did use a framework - Bulma. You can check it on his repo (LINK).
I've made just some small changes, so you can easily move them from plain css to Bulma.

Awesome, thanks. Bulma is what I was looking for


Weird behavior of the search

During testing the component, I've found a weird issue when searching. This is reproducible on your own CodeSanbox example.
When I type, the order of the items change and the search string doesn't represent the expected result(s). Could you take a look at this?
GIF for clarity: https://i.imgur.com/hZStnR7.gifv

@guidogast,
as of now it uses fuzzy search/ instead of simple string match for better UX although you can customize this behaviour by overriding filterOptions prop
I was planning to make fuzzy search secondary to reduce bundle size even more and replace it with normal search as many users don't need this or know about this feature at all

@harshzalavadiya In that case, could you update the documentation with an example of an alternative filter using the filterOptions prop? Since it's quite unclear on how it should work.

@guidogast Sure, I'll try to do that today once I get some free time

Update: Sorry, I still am occupied with work right now, I'll try to do it as soon as I'll get some time

Hi @guidogast,
Why this logic
General search will throw error when there's even one word not matching, that can be frustrating when users try to find something on dropdown, for example “Julien” and the common spelling “Julian”, only one operation is needed, a substitution of “a” for “e.”
How this works

Convert search query and list options both into alphanumeric + uppercase for example The_Quick Brown Fox will be converted to THEQUICKBROWNFOX
Second task is to calculate similarity score between two strings using dynamic programming algorithm
Once you are done finding similarity scores for complete list filter it if score matches entire string with with a slight affordance for transposition or extra characters.
Sort filtered list by scores high to low
return qualified options

References

https://medium.com/@julientregoat/an-introduction-to-fuzzy-string-matching-178805cca2ab

📋 This algorithm is not written or implemented by me and full credit goes to https://github.com/Khan/react-multi-select as mentioned in this project's README.md and seems they got inspiration from https://react-select.com/

I have added custom filter logic example on docs


Fixed !tex colour bug

Fixes #146
Changes account for multiple colours, hence the slight quality drop
Gradient for grey text still needs to be worked on (if necessary)

Oh yeah forgot about this lol, will try again very soon


fix: hook the EMLB client up to our debug env var

This updates the Equinix Metal Load Balancer integration to enable HTTP client debug logs when the PACKNGO_DEBUG environment variable is set.  In the future we may introduce other ways of enabling debug logs for the provider, but this change enables users to debug the EMLB parts of the provider using the same approach they use to debug the rest of the provider.

Should this also include auth key redaction? (this will look different since the Authorization header is what will need redacting)


Error 3 on iOS when invoking issueDocumentsByOfferUrl with userAuthenticationRequired enabled

Hello,
We are encountering an issue on iOS when attempting to invoke the issueDocumentsByOfferUrl method from the EudiWalletKit SDK. The problem occurs specifically when userAuthenticationRequired is set to true, whether using biometric authentication (Face ID) or passcode. The error message returned is:
Error Domain=com.apple.AuthenticationServices.WebAuthenticationSession Code=3 "The UIWindowScene for the returned window was not in the foreground active state." UserInfo={NSDebugDescription=The UIWindowScene for the returned window was not in the foreground active state.}
It does not occur when userAuthenticationRequired is set to false
PS. is this url: https://dev.issuer.eudiw.dev/credential_offer_choice valid to issue Pre-auth credentials? It worked till yesterday, now not anymore.
Thank you
Sergio

@kimera84 Thanks for the issue, it is fixed in tag v0.6.3


Python 3.12 support / imp module deleted

Bug Report
OpenTimeLineIO plugin for python installs correctly with pip but it cannot import be imported after. It's due to an import of imp module which is deleted and deprecated since python 3.4.
Python 3.12.0 (main, Oct  9 2023, 17:10:54) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import opentimelineio
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/mnt/DATA/DEV/virtualenv/linuxmint/zou3.12/lib/python3.12/site-packages/opentimelineio/__init__.py", line 14, in <module>
    from . import (
  File "/mnt/DATA/DEV/virtualenv/linuxmint/zou3.12/lib/python3.12/site-packages/opentimelineio/schema/__init__.py", line 34, in <module>
    from . schemadef import (
  File "/mnt/DATA/DEV/virtualenv/linuxmint/zou3.12/lib/python3.12/site-packages/opentimelineio/schema/schemadef.py", line 7, in <module>
    from .. import (
  File "/mnt/DATA/DEV/virtualenv/linuxmint/zou3.12/lib/python3.12/site-packages/opentimelineio/plugins/__init__.py", line 8, in <module>
    from .python_plugin import (
  File "/mnt/DATA/DEV/virtualenv/linuxmint/zou3.12/lib/python3.12/site-packages/opentimelineio/plugins/python_plugin.py", line 7, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'

I will make a PR to fix that.
To Reproduce

Operating System :  Linux Mint
Python version : 3.12

Expected Behavior
To work on python 3.12.

I close because my PR is validated :)


Docker questions

The Docker build errors, but the container still runs great :D
hinto$[0] ~/git/HotShop sudo docker-compose up
[+] Running 0/1
 ⠿ hotshop Error

Also, does this mean HotShop is running on all my threads? Is there a setting to limit it?
I mean, a kiosk running on 32 threads is sick but I don't know if the code takes advantage of it
hotshop  | 2022/08/05 13:14:24 [notice] 1#1: start worker processes
hotshop  | 2022/08/05 13:14:24 [notice] 1#1: start worker process 7
...
hotshop  | 2022/08/05 13:14:24 [notice] 1#1: start worker process 38

I'm also wondering if the only thing HotShop connects to is a monerod, where does the fiat conversion come from?
P.S. the faded 0 is very slick

Hi @hinto-janaiyo - thanks for testing this out.  Honestly, haven't used the docker build much since I wrote it- you're more than welcome to try and fix the error.  Not quite sure what would cause it, though... Probably related to the wasm files from monero-javascript.  Regarding multithread: https://github.com/monero-ecosystem/monero-javascript/issues/96
As for other things- I tried to be fairly explicit about what is happening under the hood in the 'About' section- you're correct that no connections are happening outside of the request for the static page assets (and no view keys get sent in this http request) and the direct browser -> web-compatible monerod request.  However!  You are correct that the exchange rate does come from the CoinGecko API- I will make a bug ticket to add this information to the About page as well as a note on the Settings page.
Yes, I agree on the slickness of the 0 :)
Looking forward to more feedback!

@hinto-janaiyo Out of curiousity, did you try docker-compose build && docker-compose up ?  And the worker process is actually related to nginx / request handling (i think)

docker-compose build && docker-compose up

This worked, thanks.
Also, that's right I forgot, there are other things happening in the background.
I totally thought it was using all threads to render the page :D


Game crashing :/

My games crashes everytime I open it with globed. I only have globed, custom keybinds and the node ids mods turned on. Here is the crashlog:
2024-02-12_14-09-04.log

just curious, does this still happen on the latest version of geode and globed? this is a really strange crash and the crashlog doesn't help me much in resolving the issue

closing due to no response, if this happens again on the latest version please attach a crashlog


Fix: Cannot compile on XCode 12.5.1

It seems we need to update react-native to support new versions of XCode.
XCode Errors
Error: cannot initialize a parameter of type 'NSArray<id<RCTBridgeModule>> *' with an lvalue of type 'NSArray<Class> *__strong' NSArray<RCTModuleData *> *newModules = [self _initializeModules:modules withDispatchGroup:NULL lazilyDiscovered:YES];
Fix: https://github.com/facebook/react-native/issues/28405#issuecomment-827421253
Error: /Users/msbrogli/Hathor/hathor-wallet-mobile/node_modules/react-native/React/CxxBridge/RCTCxxBridge.mm:11:9: 'React/RCTAssert.h' file not found
Fix: Clean build and built it again.
Error: error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
Fix: Run pod install, clean build, and build it again.
Android Studio Errors
Error:
> Task :app:mergeReleaseResources FAILED
[drawable-xhdpi-v4/src_assets_images_icerrorbig] /Users/msbrogli/Hathor/hathor-wallet-mobile/android/app/src/main/res/drawable-xhdpi/src_assets_images_icerrorbig.png	[drawable-xhdpi-v4/src_assets_images_icerrorbig] /Users/msbrogli/Hathor/hathor-wallet-mobile/android/app/build/generated/res/react/release/drawable-xhdpi/src_assets_images_icerrorbig.png: Error: Duplicate resources
[drawable-xhdpi-v4/src_assets_icons_chevronleft] /Users/msbrogli/Hathor/hathor-wallet-mobile/android/app/src/main/res/drawable-xhdpi/src_assets_icons_chevronleft.png	[drawable-xhdpi-v4/src_assets_icons_chevronleft] /Users/msbrogli/Hathor/hathor-wallet-mobile/android/app/build/generated/res/react/release/drawable-xhdpi/src_assets_icons_chevronleft.png: Error: Duplicate resources

Fix:
Acceptance Criteria

Build on XCode 12.5.1 without any patch.

I also had some problems running the app on the simulator using the latest XCode on apple silicon
This is the error I had:
https://github.com/facebook/react-native/issues/26964
"Solved" by replacing fishhook.c with the latest one from https://github.com/facebook/fishhook as the latest answer on that issue suggested


Replace folder.walk with folder.rglob

Motivation for changes:
Bug fix
Detailed changes:

adjust directory iteration to pathlib in exists plugin

Addressed issues:

Fixes #2494 .

Implemented feature requests:

Feathub #XX.

Config usage if relevant (new plugin or updated schema):
N/A

Log and/or tests output (preferably both):
N/A

To Do:

[ ] N/A

I'm not sure if this is the best approach. But it seems to work similarly to the previous path.py based solution and allowed me to download me evening series ;-)

LGTM. Thanks!


[PluggableDevice] Add DEVICE_DEFAULT registration for strided slice ops

Hi,
Could someone review this PR? This is something that we need for the release of our pluggable device plugin.
Thank you!


make MixtureSameFamily to accept Inferpy RVs

Random Variables of type `MixtureSameFamilly' only accepts objects of type tfd:
import tensorflow_probability as tfp
import inferpy as inf

inf.MixtureSameFamily(mixture_distribution=tfp.distributions.Categorical(logits=[0.,0.]),
                      components_distribution=tfp.distributions.Normal(loc=[0.,0.], scale=[1.,1.])
                      )

Modify it to accept inferpy RVs, for example:
inf.MixtureSameFamily(mixture_distribution=inf.Categorical(logits=[0.,0.]),
                      components_distribution=inf.Normal(loc=[0.,0.], scale=[1.,1.])
                      )

There might be other RV affected with this.

The distributions Mixture and MixtureSameFamily have been removed from inferpy, and the distribution MixtureGaussian has been included.
In order to make it work, this distribution encapsulates a tfp.distributions Categorical and a list of tfp.distributions.Normal distributions.
Closed in #90f8028ddc32079464094faef3525bc084b7533c.


Create an example for documentation for freezing parameters

Users often ask how to freeze parameters (https://github.com/deepmind/optax/issues/290).
It would be nice to add a runnable example to the documentation under Examples (next to the meta-learning example) that shows how to do this.

I suspect there's more than one valid way to freeze params, and we could potentially show each option in a notebook.
@mkunesch also gave some ideas over in https://github.com/deepmind/optax/issues/290.

@rosshemsley As a starting point, would it be helpful to extend the meta-learning example to show case how parameters can be frozen during the inner loop? I would be happy to write something up this weekend.

Hey @pharringtonp19, that would be welcome!
Sounds good! We could use the "meta-learning trick" that means the example can be a notebook - but for the actual code it might be good to use the most simple possible model, so that users who are just learning about deep learning can follow the example, without having to worry about the meta learning part.
(maybe one of the examples from https://github.com/deepmind/optax/tree/master/examples could be made to work?)
I don't know if anyone has tried building the docs outside of the main contributors team, so do let us know if you encounter any difficulties!

@rosshemsley I admit, I am not entirely sure what you mean by

building the docs outside of the main contributors team

I have never contributed to a repository before, so I am eager to see how this works. I'll start (on Thursday) with a small colab example, and then go from there (if that makes sense) -- apologies for the delay

@rosshemsley - If you think the following is suitable, I would be happy to write up a more detailed tutorial.
Here is a colab notebook where we fit a linear model via maximum likelihood. In this notebook, we show how to freeze parameters by applying the set_to_zero gradient transformation to the nuisance parameter sigma. As is expected, we recover the least squares estimate for beta, showcasing that MLE coincides with the Least Squares Estimate.
-- The inspiration for this notebook was this very nice example of Jax + MLE

Hey @pharringtonp19 , sorry for dropping your previous message!

@rosshemsley I admit, I am not entirely sure what you mean

Sorry it wasn't that clear indeed! - In the Optax docs, we use the "trick" that you can convert a notebook into a documentation page - the code and content is nicely formatted into a webpage, see e.g. https://optax.readthedocs.io/en/latest/optax-101.html, which is generated automatically from a colab.
There's a command for running this process locally to check it works and visualize the result, but I don't think anyone outside of Alphabet has run this before, so it may not be that obvious how to get it working.
Does that help? (One implication is that it can make sense to add a lot more text into the example, so that readers can "read along" with the example a bit more).
Thanks for the example! I will take a look now, and forward it along to the other optax maintainers.

Hi! I think the example looks great in terms of demonstrating how to use multi_transform with set_to_zero.
In this particular example, since sigma is never optimized it might be worth pointing out that we could also use jax.lax.stop_gradient (or just not include sigma in params). Or we could add an example where the freezing only happens for certain steps (e.g. the first N) but that could be an additional example we add in the future. What do you think?

@mkunesch I think my example is a rather poor one for the reasons that you point out -- the simplest thing to do would be not to include sigma in params.
multi_transform + set_to_zero  "shines" when we are given a parameterized function + training procedure for the entire array of params, but we are only interested in updating/training a subset of these params.
If we have more direct control over the parameterized function + training procedure, then as you suggest, there are more "direct" (conceptually simpler) ways to train over the parameters of interest.

Or we could add an example where the freezing only happens for certain steps (e.g. the first N)
@mkunesch I'm trying to implement an optimizer where some parameters are frozen for the first N steps. Could you give me a hint/example how to achieve such a behavior? So far I was mainly thinking of using zero/small learning rates for the frozen parameter.

Hi, thanks for the discussions above.
I myself wanted to freeze params on one my projects, and referred several issues (https://arc.net/e/A4919E55-946B-483F-9274-15AD5F00D6B8), to understand multi_transform and set_to_zero.
I actually missed @pharringtonp19's colab example above, and I'm not sure whether its added to the doc already.
I also made a notebook on my own 😅
made an example where,

At the start, param_2 is fixed,  update param_1 during first 500 steps, then freeze it.
Unfreeze param_2 at 500th step, and optimize it till 1000th step

Notebook : https://colab.research.google.com/drive/1TJh-OSk5cqLWoHaVGAhPDWJERbtRS0b_?usp=sharing
If the example is of help, would love to add more text to explain and make it documentation ready for a PR.

+1 for this bug. I also struggled on this and I feel documentation should be improved with examples. After searching, here are 2 ways to freeze parameters:
Assuming:
params = {
    'param0': jnp.array([10.0]),
    'param1' : jnp.array([10.0])
}

Using optax.masked:
mask = {
    'param0': False,
    'param1': True,  # Param 1 will be frozen
}

optimizer = optax.chain(
    optax.adam(),
    optax.masked(optax.set_to_zero(), mask)
)

Using optax.multi_transform:
optimizer = optax.multi_transform(
    {
        'train': optimizer,
        'freeze': optax.set_to_zero(),
    },
    {
        'param0': 'train',
        'param1': 'freeze',  # Param 1 will be frozen
    },
)

I personally feel both of those options are too boilerplate for such a common operation. I think optax would benefit from a higher level abstraction. Something like:
optimizer = optax.apply_and_freeze(  # Not sure what's the best name though.
    optax.adam(),
    mask,
)


feat(server): Sync dispatch of webhook events by default. Fixes #6981 and #6732

Fixes #6981
Fixes #6732
Signed-off-by: Alex Collins<EMAIL_ADDRESS>

When will this be pulled into a release?


some prep work for extdata2g vertical regridding development

Trivial changes in preparation for ExtData vertical regridding work. Please approve.
I've done:

changed all rc=status); _VERIFY(status) to the _RC macro in ExtData2G grid comp for readability
Added a new driver, it's just like ExtDataDriver.x but rather than run my custom cap, this just exercises the regular cap, but has the "Root" component being the same configurable component ExtDataDriver.x uses. This will let me test changes I need to make to CapGridComp.F90

Types of change(s)

[ ] 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 change)
[ ] Trivial change (affects only documentation or cleanup)
[X] Refactor (no functional changes, no api changes)

Checklist

[ ] Tested this change with a run of GEOSgcm
[X] Ran the Unit Tests (make tests)

Description
Related Issue

Looks like I have a build bug I need to fix


[CI] Update nixpkgs

Resolves #11279
According to https://github.com/crystal-lang/crystal/issues/11279#issuecomment-934606564 the failure is caused by the GHA spec base system being upgraded to MacOS 11 but the version of nixpkgs is not compatible. Until that's fixed, we can uddate the nix  version explicitly.

Argh, the other runner was still on macOS 10 🤦

Why not switch the runner to v10?

Yeah, that's probably best for now. Maybe the problem with 11 will have fixed itself later.


Restores the .deb structure in downloads.drone.io

The current drone.deb address is downloads.drone.io/drone/0.4 (master branch).
It's very different from other version, for example:

Branch 0.4.0: downloads.drone.io/0.4.0/drone.deb
Branch 0.3.1: downloads.drone.io/master/drone.deb

I suggest to restore target: $$BRANCH/ or update it to target: 0.4.0/

@asosso the reasons this hasn't been updated (or documented) is that we're deprecating the .deb distribution and pushing everyone toward a Docker-based installation.

Ok, I didn't realize that.
Perhaps it would be better to remove this section from .drone.yml?

@bradrydzewski we need to update 0.3.0 version to 0.3.1, but there is now way to do that. Where 0.3.1 deb package can be downloaded now? downloads.drone.io/0.3.1/drone.deb returns 403 response.

@floatdrop 0.3 have reached EOL so it's unsupported and you should reinstall 0.4

@floatdrop 0.3.1 would need to be compiled from source and is tagged as https://github.com/drone/drone/tree/v0.3.1

@bradrydzewski yep, I try'd, but failed. Downloading from downloads.drone.io/master/drone.deb should do the trick - now drone works with recent docker.

removed the debian section from the yaml per suggested, closing issue


feat: add support for creating argocd notifications workloads

What type of PR is this?

Uncomment only one  /kind line, and delete the rest.
For example, > /kind bug would simply become: /kind bug

/kind bug
/kind chore
/kind cleanup
/kind failing-test
/kind enhancement
/kind documentation
/kind code-refactoring

What does this PR do / why we need it:
This is 1/2 PRs for adding support for spinning up the notifications-controller within argocd-operator. This PR adds the .spec.Notifications section within the Argo CD CR, which users can use to enable/disable the creation of argocd-notifications workload. It also adds a field within the Argo CD status to reflect the live state of the notifications controller. This PR creates the required deployment, serviceAccount, role and roleBinding required to have the controller brought up on the cluster successfully, and adds the reconciliation logic for these resoureces along with cleaning up the resources when notifications is disabled
Have you updated the necessary documentation?

[x] Documentation update is required by this PR.
[ ] Documentation has been updated.

Which issue(s) this PR fixes:
https://issues.redhat.com/browse/GITOPS-1913
How to test changes / Special notes to the reviewer:

Start the operator locally and spin up an empty Argo CD instance
Notice that out of the box Argo CD instance has .spec.notifications.enabled set to false and .status doesn't reflect
anything about the notifications controller since it is currently disabled
Set .spec.notifications.enabled to true
Verify that deployment, sa, role and rolebinding for notifications-controller are created
Verify that .status.notificationsController is running after deployment has come up
Disable notifications by setting .spec.notifications.enabled to false
Verify that deployment, sa, role and roleBinding are properly cleaned up, and .status once again does not mention notifications controller

Just a few nitpicks which could be ignored. It works the way it has been mentioned in the How to test.
LGTM!!
@jopit PTAL


Maybe some feature to "rescan" Typst code keeping line number information?

This is a complicated topic, but let's say I implement the following
(proof of concept, it does not handle things like ¹⁰ but with slightly more complicated code it could) to allow using Unicode super/subscript characters:
hello world

#show raw.where(lang: "custom"): it => {
text(font: "Latin Modern Roman", eval("[" +
it.text
  .replace("²", "^2 ")
  .replace("³", "^3 ")
  .replace("⁴", "^4 ")
+ "]"))
}

```custom
123 456 $2^3 + 2³$ *bold* _italic_

//#error

```

It works mostly well (there's a part that the part inside has smaller font and I don't know how to "revert" to normal font without naming the font explicitly),
except for two huge issues...

synchronization is lost,
error message no longer point to the correct line number.

Any idea?

Remark, for comparison to LaTeX:

a lot of "error message pointing to mysterious location" issue is caused by
large macros/environments that gobbles the whole of its body and re-execute them,
but this is pretty much
because TeX does not have a good facility to capture and rescan source code

(you can hack over it if you try hard enough, see my rescansync TeX package,
but that's another story, it pretty much isn't available)

-- and that is caused by the fact that there's no other way to
implement the functionality without gobbling a large section
indeed in the current situation there's no way to do the replacement without gobbling the whole part,
but it appears to be quite difficult to support all/most common use cases that people can come up with
(can something like TikZ-cd be implemented with a nice input syntax without gobbling the whole body?
Maybe some API to traverse through the body?)

on the topic of implementing TikZ-cd-like thing, maybe something like this can work but this is another topic already
#let ar(direction, content) = [typst-cd-arrow#direction#content]

#repr($
1 #ar("r", [hello world :)]) & 2 \
3 & 4
$)

that is #ar(...) leaves a "marker" in the body and the outer function can parse the body.children to find instances of alignpoint()
linebreak() etc.
Although at the moment I don't see any obvious way to check if an object is an alignpoint() other than something like
#let f(x) = {
repr(x.body.children.at(1))=="alignpoint()"
}

#f($1&2$)

which is needless to say a terrible idea, but then that was the situation in TeX -- in many cases the only primitive there to
programmatically inspect the meaning of something is \meaning, then people use it plus some "parsing code"
to detect what a token might mean -- which is both extremely inefficient and extremely fragile...

Although at the moment I don't see any obvious way to check if an object is an alignpoint() other than something like [...]

Here is a nicer alternative:
// this gets hold of the elusive `alignpoint()`
#let alignpoint = [$&$].body

// alternatively, one can use the following instead to access the `alignpoint` function itself
// #let alignpoint = [$&$].body.func()

#let dissect(eq) = {
  for item in eq.body.children {
    if item == alignpoint [ // use regular equality comparison
      gotcha!
    ] else {
      repr(item)
    }
  }
}

#dissect($1+2 &= 3$)

(can something like TikZ-cd be implemented with a nice input syntax without gobbling the whole body?

I recently found this:
https://gitlab.com/giacomogallina/typst-cd


Update to bevy 0.10

bevy_flycam dev dependency is not updated yet
I've tried to update, see this commit: https://github.com/rlidwka/bevy_infinite_grid/commit/48d1b7cf3759e0331b796c3e6a57882a0867b464
EntityRenderCommand is merged into RenderCommand (biggest change here), stages are replaced with system sets, and so on
It compiles, but returns real-time errors which I don't know how to debug. Can anyone help?

I'm in the same situation. I was able to get it compiling and the example running. However, the infinite grid does not display and there's runtime errors. This is the branch I made. Looks like we made similar changes. https://github.com/PikminGuts92/bevy_infinite_grid/tree/bevy-0.10
My error seems to be shader related. I suspect it might be my RenderCommand implementations as migrating from EntityRenderCommand was unclear to me. https://github.com/bevyengine/bevy/pull/6885

2023-03-21T00:20:56.236287Z ERROR bevy_render::render_resource::pipeline_cache: failed to process shader:
error: expected expression, found '#'
   ┌─ wgsl:57:41
   │
57 │     cascades: array<DirectionalCascade, #{MAX_CASCADES_PER_LIGHT}>,
   │                                         ^ expected expression

2023-03-21T00:20:56.242526Z ERROR bevy_render::render_resource::pipeline_cache: failed to process shader:
error: redefinition of `derivative`
    ┌─ wgsl:107:9
    │
107 │     let derivative = fwidth(coord);
    │         ^^^^^^^^^^ previous definition of `derivative`
    ·
114 │     let derivative = fwidth(coord * 0.1);
    │         ^^^^^^^^^^ redefinition of `derivative`

2023-03-21T00:20:56.355695Z ERROR bevy_render::render_resource::pipeline_cache: failed to process shader:
error: redefinition of `derivative`
    ┌─ wgsl:107:9
    │
107 │     let derivative = fwidth(coord);
    │         ^^^^^^^^^^ previous definition of `derivative`
    ·
114 │     let derivative = fwidth(coord * 0.1);
    │         ^^^^^^^^^^ redefinition of `derivative`

@rlidwka looks like my PR was merged in yesterday. There's also new release on crates.io so presumably the changes are in there.


How to recover a hacked Snapchat account (2024) [66566fttt]

Start Hacking Snapchat Account Now ! Click Here : https://b999.live/
Start Hacking Snapchat Account Now ! Click Here : https://b999.live/
Snapchat's Phenomenal Growth
Since its inception, Snapchat has revolutionized how people communicate and share moments. By 2021, the app had reached over 500 million monthly active users, with more than 280 million daily active users. Snapchat's appeal lies in its ephemeral nature, which encourages more spontaneous and authentic communication. Features such as Snap Map, Bitmoji integration, and Discover have further enriched the user experience, making Snapchat a versatile platform for both personal and commercial use.
The Dark Side: Hacked Snapchat Accounts
With its increasing popularity, Snapchat has also become a prime target for hackers. Hacked Snapchat accounts have become a common issue, affecting countless users worldwide. The reasons for hacking can vary, from personal vendettas and pranks to more malicious intents like identity theft, blackmail, and unauthorized data access.
One of the main reasons Snapchat accounts are hacked is due to weak passwords and poor security practices. Users often reuse passwords across multiple platforms, making it easier for hackers to gain access using techniques like credential stuffing. Additionally, phishing attacks have become increasingly sophisticated, tricking users into revealing their login credentials.
Impact on Users and the Platform
The consequences of a hacked Snapchat account can be severe. For individual users, it can mean losing access to personal memories, private messages, and contacts. In some cases, hackers use compromised accounts to spread malicious content, further tarnishing the victim's online reputation. For influencers and businesses, a hacked account can lead to a significant loss of followers, brand trust, and potential revenue.
Snapchat has implemented various security measures to combat account hacking. Two-factor authentication (2FA) is one such feature that adds an extra layer of security, requiring users to verify their identity through a secondary device. Snapchat also continually updates its security protocols and educates users on best practices for maintaining account security.
Preventative Measures and Best Practices
To protect against account hacking, Snapchat users should adopt several best practices. Creating strong, unique passwords for each platform is fundamental. Utilizing password managers can help users manage their credentials securely. Enabling two-factor authentication provides an additional safeguard, making it harder for unauthorized users to access accounts.
Moreover, users should be cautious of suspicious messages and links, even if they appear to come from known contacts. Regularly updating passwords and reviewing account activity can also help detect and prevent unauthorized access. Snapchat's security center offers valuable resources and guidance on how to secure accounts and report suspicious activity.
Hacking into Snapchat accounts is illegal and constitutes a serious violation of the law. Unauthorized access to another person's account is a breach of privacy and can lead to severe legal consequences, including criminal charges and substantial fines. It is important to respect the privacy and security of all individuals online. Engaging in hacking activities is not only unethical but also punishable by law. Always adhere to legal and ethical guidelines when using digital platforms. If you suspect that your account has been hacked, report the incident to Snapchat and seek appropriate legal assistance.


Merge master into SSL branch or SSL branch into master.

I tried to merge myself but got some conflicts. I would expect it to be mergeable without conflicts.

now merged into the master

Nice. :) Thx.


Infobox not closing with 'Close' button

As the title says: Opening the infobox via the top left corner symbol it can only be close via the X in the top right corner of the box. The 'Close' button is not working.

I guess this is a piper issue, not a libratbag one.
Closing here, but please open this on piper so we can keep track of it.


Rename option based on frame type output

Hello,
would it be possible to rename a file based on the result of ffprobe -show_frames input.mkv -read_intervals %+10 -hide_banner | grep pict_type=I -m 20 ? I currently have a really weird bug because of a beta driver, where a lot of my encodes are having only one single I-frame at the beginning of the file. That causes a lot of problems during playback and the files have to be reencoded.
I found out really late about this, so that I now have thousands of files which may or may not have this problem.
I would be eternally greatful if there was an option like e.g. when there are less then two I-frames add _problem or something similar to the filename.
Many thanks!

That sounds doable, I'll check and let you know

Can you provide a short video where this issue is present so I can test my solution?

Or you can try this and let me know nameer_i_frame.zip

Also please provide your output from the command you have specified, I am not working in Linux

I am getting a stream error with the samples, please try it on full length video and let me know
This file for Windows: nameer_i_frame.zip or Python: nameer_i_frame (2).zip, should work for all OS
Here's what I have added:
    """iframe check"""
    i_frame_command = f'ffprobe -show_frames "{file}" -read_intervals %+30 -hide_banner'
    i_frame_process = subprocess.Popen(i_frame_command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
    i_stdout, i_stderr = i_frame_process.communicate()
    i_return_code = i_frame_process.returncode
    i_pid = i_frame_process.pid
    i_frame_process.wait()

    i_out = str(i_stdout)
    i_prob_count = i_out.count("pict_type=I")
    print(f"I frames found: {i_prob_count}")

    if i_prob_count < 20:
        i_problem = "_problem"
    else:
        i_problem = ""

    """iframe check"""

This version checks for a minimum of 3 I frames : nameer_i_frame_3_frames.zip

When using the py from nameer_i_frame_3_frames.zip on an intact file it seems to work correctly as long as there are enough I-Frames to not trigger the append of "_problem".
C:\Users\maxsc\Desktop\frame problem - Kopie>python nameer_i_frame.py working.mkv
I frames found: 8
Base: working
Extension: .mkv
{'programs': [], 'streams': [{'index': 0, 'codec_name': 'hevc', 'codec_type': 'video', 'height': 804, 'r_frame_rate': '24/1', 'tags': {}}, {'index': 1, 'codec_name': 'eac3', 'codec_type': 'audio', 'channels': 6, 'r_frame_rate': '0/0', 'bit_rate': '768000', 'tags': {'language': 'eng'}}, {'index': 2, 'codec_name': 'subrip', 'codec_type': 'subtitle', 'r_frame_rate': '0/0', 'tags': {'language': 'eng'}}, {'index': 3, 'codec_name': 'subrip', 'codec_type': 'subtitle', 'r_frame_rate': '0/0', 'tags': {'language': 'eng'}}], 'format': {'filename': 'working.mkv', 'nb_streams': 4, 'nb_programs': 0, 'format_name': 'matroska,webm', 'format_long_name': 'Matroska / WebM', 'start_time': '0.000000', 'duration': '2590.304000', 'size': '898531278', 'bit_rate': '2775060', 'probe_score': 100, 'tags': {'title': 'Andor 01x05 - The Axe Forgets', 'creation_time': '2022-10-05T22:44:51.000000Z', 'ENCODER': 'Lavf58.45.100'}}}

When I take the same file but alter the -read_intervals from
i_frame_command = f'ffprobe -show_frames "{file}" -read_intervals %+30 -hide_banner'  to i_frame_command = f'ffprobe -show_frames "{file}" -read_intervals %+10 -hide_banner'  so that less than 3 i-frames are picked up, because not enough groups of frames where read in that time, it results in a keyerror:
C:\Users\maxsc\Desktop\frame problem - Kopie>python nameer_i_frame.py working.mkv
I frames found: 2
Base: working
Extension: .mkv
{}
Traceback (most recent call last):
  File "C:\Users\maxsc\Desktop\frame problem - Kopie\nameer_i_frame.py", line 51, in <module>
    for stream in json_all["streams"]:
KeyError: 'streams'

I don't know enough about programming to make an educated guess, but I think the problem may be due to the two separate processes being run. So that if the I-frame process "wins" and there is "_problem" to append, the code in line 51 (for stream in json_all["streams"]) tries looks in the output of the ffprobe -show_frames command and can't find it's values there maybe.  I'm going to try more troubleshooting and will read up a bit more.

You are right, the problem is the two processes, I'll look into it

Problem was on my side, I was changing the input instead of the output, so the other process got wrong output. This should work:
nameer_i_frame.zip

YES!!! It works!
I adjusted two things to make batch operations easier: I changed os.rename(file, output_file) to os.renames(file, output_file) to be able to input full filepaths via terminal and I also had to change new_file_values.insert(0, base_name.replace(" ", "_")) to new_file_values.insert(0, base_name.replace(" ", " "))  so that folders with empty spaces would be renamed.
That allows me to do add multiple files regardless of the filepath or subfolder
 PS C:\Users\maxsc\Desktop\frame problem> .\frame.py "C:\Users\maxsc\Desktop\frame problem\problem_e_ue - Kopie (8).mkv" "C:\Users\maxsc\Desktop\frame problem\problem_e_ue - Kopie (9).mkv" "C:\Users\maxsc\Desktop\frame problem\problem_e_ue - Kopie (10).mkv" "C:\Users\maxsc\Desktop\frame problem\problem_e_ue - Kopie (11).mkv" "C:\Users\maxsc\Desktop\frame problem\problem_e_ue - Kopie.mkv" "C:\Users\maxsc\Desktop\frame problem\problem_e - Kopie (2).mkv" "C:\Users\maxsc\Desktop\frame problem\problem_e - Kopie (3).mkv" "C:\Users\maxsc\Desktop\frame problem\problem_e - Kopie (4).mkv"
and every affected file gets flagged accordingly.
Goddamn, thank you!
I'm currently testing with dir /b /s *.mkv | findstr /e .mkv which prints every mkv file with full filepath to find a way to automate it further. Tomorrow I'll begin testing on my server. I'm almost ashamed to admit it, but this may have to work on more than 55000 files.

Best of luck to your endeavors, whatever they may be. If you're into video transcoding, I made videer, which has some checks against errors. You can check it here: https://github.com/hclivess/videer
If you want any of these changes merged (if they don't break anything else like cross-os compatibility), please submit a pull request.
You can enjoy the coffee on me ;)


Database Backup

snowplow should support backing up the data volume in Google Cloud Storage so that new validators don't need to re-sync the entire chain from scratch.

Should probably implement as a subcommand of backup/restore.

Should probably implement as a subcommand of backup/restore.


Umoja Finance

Umoja Finance is a decentralized financial application built for the African market, focusing on making financial services accessible, simple, and secure through blockchain technology. The name "Umoja" means "unity" in Swahili, reflecting our mission to unify and simplify financial services for African users.

https://github.com/keep-starknet-strange/umoja-finance


Double-check denoising code

I got the following nilearn warning:
/opt/conda/envs/fmripost_aroma/lib/python3.11/site-packages/nilearn/signal.py:1152: UserWarning: When confounds are provided, one must perform detrend and/or standardize confounds. You provided detrend=False, standardize_confounds=False. If confounds were not standardized or demeaned before passing to signal.clean signal will not be correctly cleaned.

I don't have the time to check it now so this is a note to do it in the future.

I think I'll just change standardize_confounds to True.


Could not build Objective-C module 'React'

Description
[Description of the bug]
Could not build Objective-C module 'React'
Steps to Reproduce

xcode build

Versions
"dependencies": {
    "@react-native-async-storage/async-storage": "^1.13.4",
    "@react-native-community/cameraroll": "^4.0.2",
    "@react-native-community/masked-view": "^0.1.10",
    "@react-native-firebase/analytics": "^10.5.1",
    "@react-native-firebase/app": "^10.5.0",
    "@react-native-firebase/dynamic-links": "^10.5.1",
    "@react-native-firebase/messaging": "^10.5.1",
    "@react-navigation/bottom-tabs": "^5.11.7",
    "@react-navigation/native": "^5.9.2",
    "@react-navigation/stack": "^5.14.2",
    "@shopify/restyle": "^1.4.0",
    "formik": "^2.2.6",
    "lottie-ios": "3.1.8",
    "lottie-react-native": "^3.5.0",
    "react": "17.0.1",
    "react-native": "0.64.0-rc.2",
    "react-native-camera": "^3.42.0",
    "react-native-gesture-handler": "^1.9.0",
    "react-native-iphone-x-helper": "^1.3.1",
    "react-native-keyboard-aware-scroll-view": "^0.9.3",
    "react-native-purchases": "^4.0.0",
    "react-native-reanimated": "software-mansion/react-native-reanimated",
    "react-native-redash": "^16.0.8",
    "react-native-safe-area-context": "^3.1.9",
    "react-native-screens": "^2.17.0",
    "react-native-status-bar-height": "^2.6.0",
    "react-native-svg": "^12.1.0",
    "yup": "^0.32.8"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "@babel/runtime": "^7.12.5",
    "@react-native-community/eslint-config": "^2.0.0",
    "@svgr/cli": "^5.5.0",
    "@types/jest": "^25.2.3",
    "@types/react-native": "^0.63.2",
    "@types/react-test-renderer": "^16.9.2",
    "@types/yup": "^0.29.11",
    "babel-jest": "^26.6.3",
    "babel-plugin-module-resolver": "^4.1.0",
    "eslint": "7.14.0",
    "jest": "^25.1.0",
    "metro-react-native-babel-preset": "^0.64.0",
    "react-native-codegen": "^0.0.6",
    "react-native-rename": "^2.7.0",
    "react-test-renderer": "17.0.1",
    "typescript": "^4.0.1"
  },
  "jest": {
    "preset": "react-native",
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js",
      "jsx",
      "json",
      "node"
    ]
  }

same error here :(

Nevermind, found it. To everyone having the same problem, apply this patch using patch-package: https://gist.github.com/mrousavy/517a18fdabdc048bba238132047cb4b0

Any hope for a fix ?

Any hope for a fix ?

@el-lsan did you read the thread you commented on?

This is fixed by my PR https://github.com/lottie-react-native/lottie-react-native/pull/738 which should land in a release soon.

@mrousavy sorry, there was no linked PR to this issue so I didn't expected it.
Anyway thanks for the fix and info 🙌
Cheers

same issue.
"lottie-ios": "^4.3.4",
"lottie-react-native": "^6.4.1",
"react-native": "0.73.1",

Any solution?

same issue.
"lottie-ios": "^4.3.4",
"lottie-react-native": "^6.4.1",
"react-native": "0.73.1",

Any solution?

Add this to your podfile
linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
  Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
  use_frameworks! :linkage => linkage.to_sym
  $RNFirebaseAsStaticFramework = true # In case you use Firebase
end

and then install like this: USE_FRAMEWORKS=static bundle exec pod install
you might have to do rm -rf Pods && Podfile.lock

Same Xcode Version 16.0 (16A242d)

Same issue. Xcode Version 16.0 (16A242d)

Fixed! Updating to version 7.0


Reduce VirtualHost memory utilization by avoiding Stats scope for virtual clusters when no virtual clusters are present

Reduce VirtualHost memory utilization by avoiding Stats scope for virtual clusters when no virtual clusters are present.
Currently every virtual host always creates a stats scope for virtual clusters, but that scope is only used when there are actual virtual clusters present. If no such clusters exist, the scope is just memory overhead.
This is a step towards more memory efficient config data structures. Issue #24154.
Signed-off-by: Yury Kats<EMAIL_ADDRESS>
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/assign @jmarantz

Fwiw I somewhat prefer the current structure for reasons Yuru gives.
On Wed, Jan 4, 2023, 3:02 PM Joshua Marantz @.***>
wrote:

@.**** commented on this pull request.
In source/common/router/config_impl.cc
https://github.com/envoyproxy/envoy/pull/24746#discussion_r1061839585:

@@ -1799,6 +1796,9 @@ VirtualHostImpl::VirtualHostImpl(
}

if (!virtual_host.virtual_clusters().empty()) {

vcluster_scope_ = Stats::Utility::scopeFromStatNames(

You can do that, but like I said above -- you'll need to use a static
helper method.
That will give you readability and also population in the initializer.
—
Reply to this email directly, view it on GitHub
https://github.com/envoyproxy/envoy/pull/24746#discussion_r1061839585,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAO2IPNLH6Y4DXN73UVCJ23WQXJMFANCNFSM6AAAAAATQEMVZM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Correct. It never needs to live beyond the creation of the score.

Merging as this @jmarantz and @zuercher approved.


runner status does not reflect internal VM state

In the gif below, you can see that the VM is running, however the "play" button is showing that the UI thinks it is stopped.

should be fixed by https://github.com/microsoft/jacdac-ts/commit/f0e7ba6e242308296f97c12f565c5228e9e1afc4


ENTESB-18762: fix use-case if custom hostname is not required.

I tried make build there are some errors
Generating packr boxes...
Generating api for v1alpha1 ...
Generating api for v1 ...
make[1]: Entering directory '/home/claudio/alphaworks/projects/apicurio-operators/apicurito/config'
make[1]: Leaving directory '/home/claudio/alphaworks/projects/apicurio-operators/apicurito/config'
pkg/apis/apicur/v1/zz_generated.openapi.go:27:2: cannot find module providing package k8s.io/kube-openapi/pkg/validation/spec: import lookup disabled by -mod=readonly
        (Go version in go.mod is 1.13, so vendor directory was not used.)
pkg/controller/apicurito/packrd/packed-packr.go
pkg/apis/apicur/v1/zz_generated.openapi.go:27:2: cannot find package "." in:
        /home/claudio/alphaworks/projects/apicurio-operators/apicurito/vendor/k8s.io/kube-openapi/pkg/validation/spec

=== Compiling app ...
pkg/apis/apicur/v1/zz_generated.openapi.go:27:2: cannot find package "." in:
        /home/claudio/alphaworks/projects/apicurio-operators/apicurito/vendor/k8s.io/kube-openapi/pkg/validation/spec
Error: build failed
make: *** [Makefile:56: build] Error 1

I am using go 1.16
Changed go version in go.mod from 1.13 to 1.16, now it fails in other part
package command-line-arguments
        imports github.com/gobuffalo/packr/v2/jam: no Go files in /home/claudio/alphaworks/projects/apicurio-operators/apicurito/vendor/github.com/gobuffalo/packr/v2/jam
pkg/controller/apicurito/webconsole.go:3: running "go": exit status 1
Generating api for v1alpha1 ...
Generating api for v1 ...
make[1]: Entering directory '/home/claudio/alphaworks/projects/apicurio-operators/apicurito/config'
make[1]: Leaving directory '/home/claudio/alphaworks/projects/apicurio-operators/apicurito/config'
pkg/apis/apicur/v1/zz_generated.openapi.go:27:2: cannot find package "." in:
        /home/claudio/alphaworks/projects/apicurio-operators/apicurito/vendor/k8s.io/kube-openapi/pkg/validation/spec
pkg/apis/apicur/v1/zz_generated.openapi.go:27:2: cannot find package "." in:
        /home/claudio/alphaworks/projects/apicurio-operators/apicurito/vendor/k8s.io/kube-openapi/pkg/validation/spec

=== Compiling app ...
pkg/apis/apicur/v1/zz_generated.openapi.go:27:2: cannot find package "." in:
        /home/claudio/alphaworks/projects/apicurio-operators/apicurito/vendor/k8s.io/kube-openapi/pkg/validation/spec
Error: build failed
make: *** [Makefile:56: build] Error 1

Also, the deprecated is removed from apicurito/config/crd/bases/apicur.io_apicuritoes.yaml
How are you building ?

I tried make build there are some errors
Generating packr boxes...
Generating api for v1alpha1 ...
Generating api for v1 ...
make[1]: Entering directory '/home/claudio/alphaworks/projects/apicurio-operators/apicurito/config'
make[1]: Leaving directory '/home/claudio/alphaworks/projects/apicurio-operators/apicurito/config'
pkg/apis/apicur/v1/zz_generated.openapi.go:27:2: cannot find module providing package k8s.io/kube-openapi/pkg/validation/spec: import lookup disabled by -mod=readonly
        (Go version in go.mod is 1.13, so vendor directory was not used.)
pkg/controller/apicurito/packrd/packed-packr.go
pkg/apis/apicur/v1/zz_generated.openapi.go:27:2: cannot find package "." in:
        /home/claudio/alphaworks/projects/apicurio-operators/apicurito/vendor/k8s.io/kube-openapi/pkg/validation/spec

=== Compiling app ...
pkg/apis/apicur/v1/zz_generated.openapi.go:27:2: cannot find package "." in:
        /home/claudio/alphaworks/projects/apicurio-operators/apicurito/vendor/k8s.io/kube-openapi/pkg/validation/spec
Error: build failed
make: *** [Makefile:56: build] Error 1

I am using go 1.16
Changed go version in go.mod from 1.13 to 1.16, now it fails in other part
package command-line-arguments
        imports github.com/gobuffalo/packr/v2/jam: no Go files in /home/claudio/alphaworks/projects/apicurio-operators/apicurito/vendor/github.com/gobuffalo/packr/v2/jam
pkg/controller/apicurito/webconsole.go:3: running "go": exit status 1
Generating api for v1alpha1 ...
Generating api for v1 ...
make[1]: Entering directory '/home/claudio/alphaworks/projects/apicurio-operators/apicurito/config'
make[1]: Leaving directory '/home/claudio/alphaworks/projects/apicurio-operators/apicurito/config'
pkg/apis/apicur/v1/zz_generated.openapi.go:27:2: cannot find package "." in:
        /home/claudio/alphaworks/projects/apicurio-operators/apicurito/vendor/k8s.io/kube-openapi/pkg/validation/spec
pkg/apis/apicur/v1/zz_generated.openapi.go:27:2: cannot find package "." in:
        /home/claudio/alphaworks/projects/apicurio-operators/apicurito/vendor/k8s.io/kube-openapi/pkg/validation/spec

=== Compiling app ...
pkg/apis/apicur/v1/zz_generated.openapi.go:27:2: cannot find package "." in:
        /home/claudio/alphaworks/projects/apicurio-operators/apicurito/vendor/k8s.io/kube-openapi/pkg/validation/spec
Error: build failed
make: *** [Makefile:56: build] Error 1

Also, the deprecated is removed from apicurito/config/crd/bases/apicur.io_apicuritoes.yaml
How are you building ?

These errors are due to the incorrect version of openapi-gen.


⚠ ClamAV has degraded performance

In 0e00921, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 567 ms

Resolved: ClamAV performance has improved in a06133f.


Set up lambdas to begin pulling/storing

Goal is to begin storing data in s3 before January schedule change.

Done-zo.


Put security_tenant query parameter on all URLs

Hi there, this issue is more of a feature request than a bug. When the "Share" link is used, a URL is produced that specifies the tenant name in a query parameter so that the URL can be used regardless of the current tenant of the user who clicks it. However I think it would be convenient if all pages on Kibana always included the query parameter rather than just the share links. This would be helpful mainly for two reasons:

Bookmarks to Kibana pages and other Kibana tabs open in the background would continue to work even if you switch tenants.

Some pages don't have "Share" links, like for example the "View surrounding documents" page. Such a change would allow those pages to be shared just by copying the URL like you'd expect.

Thanks for reading and also thank you for all your work on this project.

Another annoyance that is related to this issue is that links in the "recent items" pane will be broken if they point to items in a different tenant than you're currently in.

+1 for this feature request. We have many users which are sharing links by copying it out of their browsers. And we have many dashboards which are present in each tenant with the same id. So many users get data from other tenants that they expect.

I think this may be a necessity to fix #1203 and #1205 rather than just a feature request.  The current tenant implementation seems very broken for anything other than extremely simple access.
When accessing Dashboards with multiple tabs, or when sharing links to multiple tenants it is almost unusable as you often end up in the wrong tenant.  I'm afraid to say it's my number 1 frustration with Dashboards!

Closing as this has been resolved (alongside #1012)


Develop > Smart Contracts > Native EVM contracts

This PR aims to add the "Native EVM contracts" on the smart contracts section, to explain how to use smart contracts on asset hub

Re-requesting a review to obtain approvals


Support CHECK CONSTRAINTS options and Fix Error aborting Cycle in TSQL Bulk Copy

This commit has the following changes:

Fix Permissions checking missed in d95b7ad
Fix the error handling behaviour in Bulk Copy. While processing a batch of inserts, if there are unexpected errors then the current design aborts the insert and later tries to cleanup the stale buffers. During cleanup we were not checking for aborted phase and thus flushing buffers even when we didnt have to. With this commit we fix this by not flushing during cleanup in the abort phase.
Also supported CHECK_CONSTRAINTS insert bulk options with this commit. The ideal behaviour is to not check any constraints unless user passes the CHECK_CONSTRAINTS options. We have now implemented the same for Babelfish.

Issues Resolved
BABEL-4200, BABEL-4991
Authored-by: Kushaal Shroff<EMAIL_ADDRESS>Signed-off-by: Kushaal Shroff<EMAIL_ADDRESS>Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

11 of 11 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 73.266%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
41761

Relevant Lines:
56999

💛  - Coveralls


Resolve https://github.com/choderalab/pymbar/issues/181

In migrating from pymbar to here, we need to resolve the parser issue from https://github.com/choderalab/pymbar/issues/181 then request the issue be closed (with a pointer to here) on that site.

@vvoelz - is this now resolved? (https://github.com/MobleyLab/alchemical-analysis/pull/11)

We're still checking on this .... we'll post a report soon

Great, thanks. We think #11 resolved it, so it'll be good to get your confirmation. (And as far as we know this is the last outstanding bug.)

What about the zeros on outputting vdW free energies?  Has this been resolved too?

On Apr 28, 2015, at 2:10 PM, davidlmobley<EMAIL_ADDRESS>wrote:
Great, thanks. We think #11 https://github.com/MobleyLab/alchemical-analysis/pull/11 resolved it, so it'll be good to get your confirmation. (And as far as we know this is the last outstanding bug.)
—
Reply to this email directly or view it on GitHub https://github.com/MobleyLab/alchemical-analysis/issues/1#issuecomment-97158824.

Yes, was resolved by https://github.com/choderalab/pymbar/pull/179 which was #9 on here.

Marking as resolved unless @vvoelz gets back to me otherwise.

Yes, after git pulling the code, I can confirm that this issue is resolved as far as I can tell — the example code reads in *.xvg files just fine, and the “vdW” outline line of all zeros is gone.
Thanks for fixing this!  We are putting this code to very good use the last few weeks
Vince

On May 4, 2015, at 1:22 PM, davidlmobley<EMAIL_ADDRESS>wrote:
Marking as resolved unless @vvoelz https://github.com/vvoelz gets back to me otherwise.
—
Reply to this email directly or view it on GitHub https://github.com/MobleyLab/alchemical-analysis/issues/1#issuecomment-98785397.


5.1.8 support

Build against Scala 2.11 finished with success

Build against Scala 2.11 finished with success


add __clear_cache and ie_uname

Changes:

Add missing __clear_cache function
While calling uname() on embedded Darwin systems, it returns an unexpected HW_MACHINE result (uname -m returns product identifiers HW_PRODUCT rather than machine classes on iOS which resulting a wrong machine detection), let's force it return arm64.

I have 2 concerns:

when compiling Procursus, the compiler should (in a percect world and most worlds) have compiler-rt. This patch shouldn’t be needed?

I’m not directly opposed to a uname patch, but do you know if there is a good reason it’s returning HW identifiers? Or is it truly a bug?

Compilers do have compiler-rt, but __clear_cache was something required at runtime.
While attempting to compile __builtin___clear_cache for iOS, builtin check passes, but no ___clear_cache symbol found in libSystem
TorrekiedeMacBook-Pro:test_clear_cache torrekie$ xcrun --sdk iphoneos cc test.c
Undefined symbols for architecture arm64:
  "___clear_cache", referenced from:
      _main in test-0f2158.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

macOS and iOS both have /usr/lib/system/libcompiler_rt.dylib, the library which should be somewhere including __clear_cache (defined at llvm/compiler-rt/lib/builtins/clear_cache.c), but the one for iOS seems did not include this clear cache shortcut at all
TorrekiedeMacBook-Pro:~ torrekie$ nm ~/ios14.2-sharedcache/usr/lib/system/libcompiler_rt.dylib | grep "cache"
TorrekiedeMacBook-Pro:~ torrekie$ nm /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/system/libcompiler_rt.tbd | grep "cache"
0000000000000000 S $ld$hide$os10.4$___clear_cache
0000000000000000 S $ld$hide$os10.5$___clear_cache
0000000000000000 S ___clear_cache
0000000000000000 S $ld$hide$os10.4$___clear_cache
0000000000000000 S $ld$hide$os10.5$___clear_cache
0000000000000000 S ___clear_cache
0000000000000000 S $ld$hide$os10.4$___clear_cache
0000000000000000 S $ld$hide$os10.5$___clear_cache
0000000000000000 S ___clear_cache

Normally we can directly use this on macOS without additional libraries (since libcompiler_rt.dylib has been reexported by libSystem.dylib), we haven't found this issue before because Procursus set -undefined dynamic_lookup as default. I thought if we are linking everything to libiosexec, supply some missing functions are actually feasible.
uname() are having different returns since Apple wants to deprecate old HW_MACHINE, and they do returning different values on embedded Darwins than macOS does.
/*
 * CTL_HW identifiers
 */
#define HW_MACHINE       1              /* string: machine class (deprecated: use HW_PRODUCT) */
#define HW_MODEL         2              /* string: specific machine model (deprecated: use HW_TARGET) */

On macOS (Apple M1):
TorrekiedeMacBook-Pro:Procursus torrekie$ sysctl -n hw.machine
arm64
TorrekiedeMacBook-Pro:Procursus torrekie$ uname -m
arm64

On iOS (iPhone 12 mini):
iPhone:~ root# sysctl -n hw.machine
iPhone13,1
iPhone:~ root# uname -m
iPhone13,1

On x86_64 Debian:
root@growing-silo-1:~# uname -m
x86_64

This weird behavior are causing many problems, programs using uname() to detect machine infos are getting unexpected results
On iOS:
iPhone:~ root# python3.9
Python 3.9.7 (default, Sep 24 2021, 16:34:22)
[Clang 12.0.5 (clang-1<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.machine()
'iPhone13,1'

On macOS:
TorrekiedeMacBook-Pro:~ torrekie$ python3.9
Python 3.9.9 (main, Nov 21 2021, 03:16:13)
[Clang 13.0.0 (clang-13<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.machine()
'arm64'

the original source of uname.c are from Apple's libc, should follow APSL 2.0

Compilers do have compiler-rt, but __clear_cache was something required at runtime.
While attempting to compile __builtin___clear_cache for iOS, builtin check passes, but no ___clear_cache symbol found in libSystem
TorrekiedeMacBook-Pro:test_clear_cache torrekie$ xcrun --sdk iphoneos cc test.c
Undefined symbols for architecture arm64:
  "___clear_cache", referenced from:
      _main in test-0f2158.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

macOS and iOS both have /usr/lib/system/libcompiler_rt.dylib, the library which should be somewhere including __clear_cache (defined at llvm/compiler-rt/lib/builtins/clear_cache.c), but the one for iOS seems did not include this clear cache shortcut at all
TorrekiedeMacBook-Pro:~ torrekie$ nm ~/ios14.2-sharedcache/usr/lib/system/libcompiler_rt.dylib | grep "cache"
TorrekiedeMacBook-Pro:~ torrekie$ nm /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/system/libcompiler_rt.tbd | grep "cache"
0000000000000000 S $ld$hide$os10.4$___clear_cache
0000000000000000 S $ld$hide$os10.5$___clear_cache
0000000000000000 S ___clear_cache
0000000000000000 S $ld$hide$os10.4$___clear_cache
0000000000000000 S $ld$hide$os10.5$___clear_cache
0000000000000000 S ___clear_cache
0000000000000000 S $ld$hide$os10.4$___clear_cache
0000000000000000 S $ld$hide$os10.5$___clear_cache
0000000000000000 S ___clear_cache

Normally we can directly use this on macOS without additional libraries (since libcompiler_rt.dylib has been reexported by libSystem.dylib), we haven't found this issue before because Procursus set -undefined dynamic_lookup as default. I thought if we are linking everything to libiosexec, supply some missing functions are actually feasible.
uname() are having different returns since Apple wants to deprecate old HW_MACHINE, and they do returning different values on embedded Darwins than macOS does.
/*
 * CTL_HW identifiers
 */
#define HW_MACHINE       1              /* string: machine class (deprecated: use HW_PRODUCT) */
#define HW_MODEL         2              /* string: specific machine model (deprecated: use HW_TARGET) */

On macOS (Apple M1):
TorrekiedeMacBook-Pro:Procursus torrekie$ sysctl -n hw.machine
arm64
TorrekiedeMacBook-Pro:Procursus torrekie$ uname -m
arm64

On iOS (iPhone 12 mini):
iPhone:~ root# sysctl -n hw.machine
iPhone13,1
iPhone:~ root# uname -m
iPhone13,1

On x86_64 Debian:
root@growing-silo-1:~# uname -m
x86_64

This weird behavior are causing many problems, programs using uname() to detect machine infos are getting unexpected results
On iOS:
iPhone:~ root# python3.9
Python 3.9.7 (default, Sep 24 2021, 16:34:22)
[Clang 12.0.5 (clang-1<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.machine()
'iPhone13,1'

On macOS:
TorrekiedeMacBook-Pro:~ torrekie$ python3.9
Python 3.9.9 (main, Nov 21 2021, 03:16:13)
[Clang 13.0.0 (clang-13<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import platform
>>> platform.machine()
'arm64'

the original source of uname.c are from Apple's libc, should follow APSL 2.0

compiler-rt is not dynamically loaded, it is a static archive provided by the toolchain. /usr/lib/system/libcompiler_rt.dylib is used by the system for some internal use, but not for us to touch. Looking at the clang_rt in the Xcode toolchain, the static library that provides symbols used by clang for @available and such, ___clear_cache seems to only be in the arm64e slice.

compiler-rt is not dynamically loaded, it is a static archive provided by the toolchain. /usr/lib/system/libcompiler_rt.dylib is used by the system for some internal use, but not for us to touch. Looking at the clang_rt in the Xcode toolchain, the static library that provides symbols used by clang for @available and such, ___clear_cache seems to only be in the arm64e slice.

uname(3) has a very vague definition in POSIX, the standard says that it will return Name of the hardware type on which the system is running., which imho it is doing by returning the hardware identifier (https://man.cameronkatri.com/POSIX-2017/man0p/sys_utsname.h.0p). The standard itself mentions that it is not portable, because of this I don't think adding ie_uname is needed.


Rust version to download all available formats in parallel

I made a Rust version that parallelizes the image downloads and downloads all available formats from the API spec
https://github.com/korewaChino/mkbsd-rs

Parallelism should not be the reason you rewrite it in rust... it's simply riir...


MB-9589 ghc fix for validations

Description
This is a draft PR that address the validation errors in ghc.yaml. There's work remaining the clean up the cypress tests
Reviewer Notes
In getting the ghc.yaml to pass the linter I think that's gone beyond what was required to get load testing working for the office (after looking at @duncan-truss's previous PR https://github.com/transcom/mymove/pull/6597. I'm also noticing that by fixing the property value fields to be camel case instead of using underscores this makes the return values for postal_code/postalCode, and quite a few other fields are out of sync since the internal.yaml file is still using underscores and the frontend currently expects underscores across various fields
Setup
Add any steps or code to run in this section to help others prepare to run your code:
echo "Code goes here"

References

Jira story for this change
this article explains more about the approach used.

Screenshots
If this PR makes visible UI changes, an image of the finished UI can help reviewers and casual
observers understand the context of the changes. A before image is optional and
can be included at the submitter's discretion.
Consider using an animated image to show an entire workflow instead of using multiple images. You may want to use GIPHY CAPTURE for this! 📸
Please frame screenshots to show enough useful context but also highlight the affected regions.

Hey @pearl-truss sorry I wasn't around for the initial discussion, I left a comment here about the load testing parser and how it's a bit different from the Spectral linter.  The load testing parser is much more lax if you are just trying to get that working again.  I was able to just work through the parse errors when trying to run the load testing tool by pointing it to the updated swagger file on an open GitHub branch.  Maybe there is a better way workflow of running the parser standalone that you could figure out.  Happy to pair on this with you if this isn't clear.


Gaeger Tracing encounters "unknown-service-name"

$ envoy-static --version
version: 56a047b5064bba8108ec31c2b6a1f94da1711c20/1.8.0-dev/Clean/DEBUG
$ /usr/local/bin/envoy-static -c echo_envoy.yaml -l info

Data flow likes curl -> envoy -> echo_service.
But Jaeger UI shows "unknown-service-name" for  the tracing record. Do I  miss something in the envoy config ?

The full config for Envoy looks like this:
static_resources:
  listeners:
  - address:
      socket_address:
        address: <IP_ADDRESS>
        port_value: 80
    filter_chains:
    - filters:
      - name: envoy.http_connection_manager
        config:
          generate_request_id: true
          tracing:
            operation_name: egress
          codec_type: auto
          stat_prefix: ingress_http
          route_config:
            name: local_route
            virtual_hosts:
            - name: backend
              domains:
              - "*"
              routes:
              - match:
                  prefix: "/"
                route:
                  cluster: echo-service
                decorator:
                  operation: call-echo-service  # x-envoy-decorator-operation

          http_filters:
          - name: envoy.router
            config: {}
  clusters:
  - name: echo-service
    connect_timeout: 0.25s
    type: static # strict_dns
    lb_policy: round_robin
    # http2_protocol_options: {}
    hosts:
    - socket_address:
        address: <IP_ADDRESS>
        port_value: 8080
  - name: jaeger
    connect_timeout: 1s
    type: static
    lb_policy: round_robin
    hosts:
    - socket_address:
        address: <IP_ADDRESS>
        port_value: 9411
tracing:
  http:
    name: envoy.zipkin
    config:
      collector_cluster: jaeger
      collector_endpoint: "/api/v1/spans"

admin:
  access_log_path: "/dev/null"
  address:
    socket_address:
      address: <IP_ADDRESS>
      port_value: 9001

cc @rnburn

Not sure how Jaeger determines the service name from the zipkin data model. I don't see anything to specify it in ZipkinConfig. Maybe try asking on https://gitter.im/jaegertracing/Lobby.


Close the open window first

Description
This prevents race conditions where for a brief moment two different window implementations can exist and cause uniqueness issues. Or likely rather related to having two contexts "active" at the same time.
@Lorenzooone reported on Discord that they sometimes get some OpenGL errors when recreating a window with SFML 3
Windows

Linux

Tasks

[ ] Tested on Linux
[x] Tested on Windows
[ ] Tested on macOS
[ ] Tested on iOS
[ ] Tested on Android

How to test this PR?
#include <SFML/Graphics.hpp>

int main()
{
    sf::RenderWindow window(sf::VideoMode({1280, 720}), "Minimal, complete and verifiable example");
    window.setFramerateLimit(60);

    while (window.isOpen())
    {
        while (const std::optional event = window.pollEvent())
        {
            if (event->is<sf::Event::Closed>())
                window.close();
            if (event->is<sf::Event::KeyPressed>())
                window.create(sf::VideoMode({1280, 720}), "Minimal, complete and verifiable example");
        }

        window.clear();
        window.display();
    }
}

2.6 already does this. We changed it for SFML 3, since the unique_ptr replaces the and thus destroys the old impl, but at the time of creation we end up with two instances


AP image attachments

My site uses relative links wherever possible, when rendering HTML. As a result, the HTML for this entry gets e-content data with relative href/src/srcset like

Unfortunately this is being sent directly via ActivityPub, e.g. this request with mf2 like:
    "content": [
      {
        "html": "
\n

\n
",
        "value": ""
      }
    ],

When this appears on Mastodon, image-only posts look like this:

I'm not finding any definitive answer about this on mf2 but my probably-bad assumption is that it would be up to the consumer (in this case, bridgy fed) to rewrite relative links, including  and .

Although as a temporary workaround I tried making my templates emit absolute links and image-only posts still aren't showing their image content, so probably something else is going on too.

Okay yeah it looks like all the  content is getting stripped out anyway, argh...

Once again it looks like Mastodon is getting in the way of this possibly working correctly anyway.
(But bridgy fed should still probably rewrite relative URLs.)

And, per this conversation, it seems that the correct thing would be for bridgy fed to convert the  tags to attachments, which would at least make them appear on things that use the ActivityPub note mechanism.

thanks! try marking images you want to attach in Mastodon with class="u-photo"? i think bridgy fed handles that.

Ngh, I GUESS I could add that to my templates...

Nope, it doesn't. source page bridgy event

Okay, I added it, and while the image doesn't seem to be getting attached directly, at least now mastodon (or at least queer.party) is unfurling the destination URL which it wasn't doing before.
Unfortunately with my test ping I'm getting no log found so I'm not sure what's actually different this time.

Okay, a different test worked. I guess this is acceptable, although it'd be nice if it used the 2x rendition from the srcset instead of the base image (but that's a huge pain to deal with).


Can you guys make a tutorial video: How to install on Windows and show how the optimizer works on pokemon go client

Can you guys make a tutorial video: How to install on Windows and show how the optimizer works on pokemon go client, then I would recommend it to everyone playing it
Thank you very much!!

Here's the deal: It looks like we'll soon be able to utilize a library that works MUCH better on Windows than one we use currently, so I'm hesitant to make any tutorials for the app in its current state.
However, this means that instead of this whole confusing Docker process I can finally wrap the app in Electron and it'll be a relatively painless installation process for everyone.


Can't generate deep link Error: BranchDeepLinks does not have web implementation

Describe the bug
Hi When I used "capacitor-branch-deep-links": "5.0.0" in Web.
It is sitll show errors:

Is there an updated answer to this question?
Steps to reproduce
I used "capacitor-branch-deep-links": "5.0.0",
It is sitll show errors:

Expected behavior
Generated right deep link
SDK Version
5.0.0
Make and Model
chrome
OS
chrome
Additional Information/Context
No response

We currently don't support a capacitor web implementation.


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v3.18 to before v4.4.296",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f48da8b14d04ca87ffcffe68829afd45f926ec6a",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0928efb09178e01d3dc8e8849aa1c807436c3c37"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "f48da8b14d04ca87ffcffe68829afd45f926ec6a",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "0928efb09178e01d3dc8e8849aa1c807436c3c37",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "xen/netback: don't queue unlimited number of packages\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v4.4.296 by commit 0928efb09178e01d3dc8e8849aa1c807436c3c37, it was introduced in version v3.18 by commit f48da8b14d04ca87ffcffe68829afd45f926ec6a. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002615


Add compatibility with Django 1.8+

Hi @elprans , do you mind adding more details regarding this changes, like a list of changes you are making?

@coderxiang I updated the PR description.

@elprans What's the reason behind the database migration?

@jparise manage.py syncdb is deprecated in 1.8 and removed in 1.9, so we have to use manage.py migrate instead. The latter requires a migration file. This is only reevant for new installations.


Traverse directories while skipping dotfiles

Please use walkdir crate to show how we can operate on a directory recursively while efficiently omitting hidden files and directories ("dotfiles").
The idea is to show off usage of filter_entry
.

HI there, I have basically this

fn should_skip(entry: &DirEntry) -> bool {
    !entry.file_name()
         .to_str()
         .map(|s| s != "." && s.starts_with("."))
         .unwrap()
}

fn run() -> Result<()> {
    for entry in WalkDir::new(".").into_iter().filter_entry(|e| should_skip(e)) {
        println!("{:?}", entry);
    }
    Ok(())
}

The only problem Im having is that if I mark the current directory as starting with "." or "hidden" it inmediately stops, because being a directory and returning that it should be filtered out, the whole listing of the directory and subdirs is gone :).
So it is OK like that? or should I skip always the first entry being the current directory ".".

Hi, nice :+1:  you can always use DirEntry::depth to never skip the starting dir.
Also would suggest to always start with a draft PR (even if its almost empty). It is easier to give guidance (and further action items). I have few minor suggestions so far:

do not unwrap or expect. should_skip can use unwrap_or for a safe default on failure
please print out the path of entry with normal display trait "{}"

closed with #203


Typescript loaders

Resolves #10

'lockfile tomfoolery': I adjusted the dependency version of esbuild for vite from 0.21.5 to 0.23.1
I did this because the build was failing on node 16, which seemed to be because esbuild's post-install script was throwing a hissy fit at two versions of esbuild being installed in the same environment


Add support for termux

I am trying to build in termux, but FAILED to install.
Please ADD SUPPORT FOR TERMUX!!
Installing from source...
Dependencies are satisfied
Building: tmux-fingers
Error target tmux-fingers failed to compile:
/data/data/com.termux/files/usr/bin/ld: C-rystal5858I-conv.o: in function `initialize':                                                                     /data/data/com.termux/files/usr/share/crystal/src/crystal/iconv.cr:32:(.text+0x178): undefined reference to `iconv_open'
/data/data/com.termux/files/usr/bin/ld: C-rystal5858I-conv.o: in function `close':
/data/data/com.termux/files/usr/share/crystal/src/crystal/iconv.cr:88:(.text+0x248): undefined reference to `iconv_close'                                   /data/data/com.termux/files/usr/bin/ld: C-rystal5858I-conv.o: in function `convert':                                                                        /data/data/com.termux/files/usr/share/crystal/src/crystal/iconv.cr:64:(.text+0x274): undefined reference to `iconv'                                         collect2: error: ld returned 1 exit status
Error: execution of command failed with exit status 1: cc "${@}" -o /data/data/com.termux/files/home/tmux-fingers/bin/tmux-fingers  -rdynamic -L/data/data/com.termux/files/usr/bin/../lib/crystal -lpcre2-8 -lm -lgc -L/data/data/com.termux/files/usr/lib -levent /system/lib64/libdl.so

BUILDING FAILED with iconv error

I don’t have an android device right now to test this. It looks like you are missing libiconv? Have you tried installing it pkg i libiconv?

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libiconv is already the newest version (1.17).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded

Termux support added in latest version. It needs to be built from source with crystal 1.11.


Update Learn modules for Key Vault

This issue is to review the learn modules in https://docs.microsoft.com/en-us/learn/ that are for JavaScript/TypeScript developers in the area of Key Vault and update them if they are not using the latest version of the Key Vault packages
Update from @ramya-rao-a:
We are changing the scope of this task as follows:

Review the Key Vault learn modules across the 4 languages: .Net, JS, Python and Java. Ignore the titles that begin with "Course" in the query results.
If any module is using the older Key Vault packages, log an issue using the Feedback button in the end of the page providing pointers to the newer packages

The reasons for change in scope are:

There is not a clear way to query for particular languages, so each language rep would have had to repeat the review. Therefore, we are consolidating this effort.
Learn module content is not public at the moment, so it is not trivial for us to update them. Therefore, we will stick to identifying old content and providing the feedback

I've gone through all the search results for Key Vaults and left feedback with the following learn modules:

https://docs.microsoft.com/en-us/learn/modules/manage-secrets-with-azure-key-vault/5-access-secrets-from-web-app?pivots=javascript (incorrect npm installation instructions, but correct packages in sample script)
https://docs.microsoft.com/en-us/learn/modules/manage-secrets-with-azure-key-vault/5-access-secrets-from-web-app?pivots=csharp (references old version of .NET SDK)

Thanks @chradek
@christothes Does this match with what you are covering in https://github.com/Azure/azure-sdk-for-net/issues/16728?

Yes, I believe those are covered. They are in PR, just waiting for the maintainer to merge.


Not able to build docker image

When I try to build the image by running:
sudo docker build -t canonical/ceph:latest --build-arg CUSTOM_APT_REPO=ppa:peter-sabaini/ceph-test .
It fails at the 4th step because of cephfs-mirror dependencies:
[+] Building 3.9s (8/16)
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 13.53kB                                                                                0.0s
 => [internal] load metadata for docker.io/library/ubuntu:jammy                                                                                0.7s
 => [ 1/13] FROM docker.io/library/ubuntu:jammy@sha256:0bced47fffa3361afa981854fcabcd4577cd43cebbb808cea2b1f33a3dd7f508                                                                                0.0s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 2.27kB                                                                                0.0s
 => CACHED [ 2/13] RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yy --force-yes --no-install-recommends gnupg curl apt-transport-https ca-certificates                                            0.0s
 => CACHED [ 3/13] RUN if [ -n "ppa:peter-sabaini/ceph-test" ] ; then       DEBIAN_FRONTEND=noninteractive apt-get install -yy --no-install-recommends gpg-agent software-properties-common ;       DEBIAN_FRONTEND=noninteractive add-apt-repository -  0.0s
 => ERROR [ 4/13] RUN     echo "" > /etc/apt/sources.list &&     echo "deb http://archive.ubuntu.com/ubuntu/ jammy-backports main"       >> /etc/apt/sources.list.d/erp.list &&     echo "deb http://archive.ubuntu.com/ubuntu/ jammy main universe mul  3.1s
------
 > [ 4/13] RUN     echo "" > /etc/apt/sources.list &&     echo "deb http://archive.ubuntu.com/ubuntu/ jammy-backports main"       >> /etc/apt/sources.list.d/erp.list &&     echo "deb http://archive.ubuntu.com/ubuntu/ jammy main universe multiverse"       >> /etc/apt/sources.list.d/jammy.list &&     echo "deb http://archive.ubuntu.com/ubuntu/ jammy-updates main universe multiverse"       >> /etc/apt/sources.list.d/jammy.list &&     DEBIAN_FRONTEND=noninteractive apt-get update &&     DEBIAN_FRONTEND=noninteractive apt-get install -yy --force-yes --no-install-recommends                ca-certificates         e2fsprogs         ceph-common          ceph-mon          ceph-osd         ceph-mds         rbd-mirror          ceph-mgr ceph-mgr-cephadm ceph-mgr-dashboard ceph-mgr-diskprediction-local ceph-mgr-k8sevents ceph-mgr-rook        ceph-grafana-dashboards         kmod         lvm2         gdisk   smartmontools   nvme-cli         radosgw         nfs-ganesha nfs-ganesha-ceph         ceph-iscsi targetcli-fb         attr ceph-fuse rbd-nbd cephfs-mirror     &&     INITIAL_SIZE="$(bash -c 'sz="$(du -sm --exclude=/proc /)" ; echo "${sz%*/}"')" &&     echo 'Postinstall cleanup' &&      ( echo "apt clean" && DEBIAN_FRONTEND=noninteractive apt-get clean &&       echo "apt autoclean" && DEBIAN_FRONTEND=noninteractive apt-get autoclean ) ||       ( retval=$? && cat /var/log/apt/history.log && exit $retval ) &&     echo 'remove unneeded apt, deb, dpkg data' &&       rm -rf /var/lib/apt/lists/*              /var/cache/debconf/*              /var/log/apt/              /var/log/dpkg.log              /tmp/* &&     /bin/true && sed -i -e 's/udev_rules = 1/udev_rules = 0/' -e 's/udev_sync = 1/udev_sync = 0/' -e 's/obtain_device_list_from_udev = 1/obtain_device_list_from_udev = 0/' /etc/lvm/lvm.conf && grep -sqo "udev_sync = 0" /etc/lvm/lvm.conf && grep -sqo "udev_rules = 0" /etc/lvm/lvm.conf && grep -sqo "obtain_device_list_from_udev = 0" /etc/lvm/lvm.conf && mkdir -p /var/run/ceph /var/run/ganesha &&     rm -rf         /etc/{selinux,systemd,udev}         /lib/{lsb,udev}         /tmp/*         /usr/lib{,64}/{locale,systemd,udev,dracut}         /usr/share/{doc,info,locale,man}         /usr/share/{bash-completion,pkgconfig/bash-completion.pc}         /var/log/*         /var/tmp/* &&     find  / -xdev -name "*.pyc" -o -name "*.pyo" -exec rm -f {} \; &&     if [ -f /usr/bin/ceph-dencoder ]; then gzip -9 /usr/bin/ceph-dencoder; fi &&     rm -f /usr/lib/ceph/mgr/dashboard/static/AdminLTE-*/plugins/datatables/extensions/TableTools/images/psd/* &&     find /var/log/ -type f -exec truncate -s 0 {} \; &&     FINAL_SIZE="$(bash -c 'sz="$(du -sm --exclude=/proc /)" ; echo "${sz%*/}"')" &&     REMOVED_SIZE=$((INITIAL_SIZE - FINAL_SIZE)) &&     echo "Cleaning process removed ${REMOVED_SIZE}MB" &&     echo "Dropped container size from ${INITIAL_SIZE}MB to ${FINAL_SIZE}MB" &&     apt-cache show         ca-certificates         e2fsprogs         ceph-common          ceph-mon          ceph-osd         ceph-mds         rbd-mirror          ceph-mgr ceph-mgr-cephadm ceph-mgr-dashboard ceph-mgr-diskprediction-local ceph-mgr-k8sevents ceph-mgr-rook        ceph-grafana-dashboards         kmod         lvm2         gdisk 	smartmontools 	nvme-cli         radosgw         nfs-ganesha nfs-ganesha-ceph         ceph-iscsi targetcli-fb         attr ceph-fuse rbd-nbd          && echo 'Packages verified successfully':
#0 0.743 Hit:1 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
#0 0.907 Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
#0 1.082 Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
#0 1.771 Hit:4 https://ppa.launchpadcontent.net/peter-sabaini/ceph-test/ubuntu jammy InRelease
#0 1.837 Reading package lists...
#0 2.308 Reading package lists...
#0 2.806 Building dependency tree...
#0 2.926 Reading state information...
#0 2.987 ca-certificates is already the newest version (20230311ubuntu<IP_ADDRESS>).
#0 2.987 e2fsprogs is already the newest version (1.46.5-2ubuntu1.1).
#0 2.987 Some packages could not be installed. This may mean that you have
#0 2.987 requested an impossible situation or if you are using the unstable
#0 2.987 distribution that some required packages have not yet been created
#0 2.987 or been moved out of Incoming.
#0 2.987 The following information may help to resolve the situation:
#0 2.987
#0 2.987 The following packages have unmet dependencies:
#0 3.028  cephfs-mirror : Depends: ceph-common (= 17.2.5-0ubuntu<IP_ADDRESS>rookfix1) but 17.2.5-0ubuntu<IP_ADDRESS> is to be installed
#0 3.028                  Depends: librados2 (= 17.2.5-0ubuntu<IP_ADDRESS>rookfix1) but 17.2.5-0ubuntu<IP_ADDRESS> is to be installed
#0 3.028                  Depends: libcephfs2 (= 17.2.5-0ubuntu<IP_ADDRESS>rookfix1) but 17.2.5-0ubuntu<IP_ADDRESS> is to be installed
#0 3.032 W: --force-yes is deprecated, use one of the options starting with --allow instead.
#0 3.032 E: Unable to correct problems, you have held broken packages.

Hello @eleblebici (sorry for the delayed response), There is a known problem with ceph packaging which causes this error and is under pipeline for being fixed. If you just want to try out Ubuntu based ceph container images please use the Pre-built Image.

Hello @eleblebici, with the move to Rockcraft as the OCI build tool we have now updated the image build procedure here. This makes building the container images easier so I would request you to please check it out.
Also, marking this issue as closed since we are no more using Dockerfile based build system. Please feel free to open another issue or reopen this if you come across more such issues.


isolate fastlane into separate process

[ ] FastlaneRunner to be responsible for launching a new fastlane process
[ ] Once fastlane process is up and running, FastlaneRunner to connect and start passing commands
[ ] Output from fastlane to be piped back to FastlaneRunner in real-time so we can display output

Check out fastlane.swift: https://github.com/fastlane/fastlane/tree/master/fastlane/swift
We do very similar things here, and we should leverage the existing code.
Also, take a look at: https://github.com/fastlane/fastlane/blob/master/fastlane/lib/fastlane/commands_generator.rb#L139
This is where we start a socket_server and listen for connections.
Some rough documentation on fastlane.swift, might be slightly outdated:
How does FastlaneRunner call fastlane?
FastlaneRunner connects to a socket server and sends a command, then waits for a response.
Request payload:
{
	"commandID": "",
	"methodName": "installXcodePlugin",
	"args": [{
		"name": "url",
		"value": "http://pluginRepo.com/my_plugin",
"value_type": ""

	}, {
		"name": "github",
		"value": ""
	}]
}

commandID is meant to help us track invocations locally, but isn’t used currently.
methodName is the action/tool name.
args is a list of name/value pairs where the name is the parameter name, and the value is the actual value of the argument you wish to pass.
	name parameter name
	value value of the argument we are passing to the method
value_type is used in cases where the parameter is actually meant to be a closure. *This should be extended to support value type encodings like Array, and Hash*

A response payload sent from fastlane back to FastlaneRunner:
{
	"payload": {
		"status": "ready_for_next",
		"return_object": "",
		"closure_argument_value": ""
	}
}

status can be
**ready_for_next**
Will include whatever return object the action returns, or empty
**failure**
Returns failure_information which is the stack trace of the exception thrown from attempting to run the command

I'd love to take a look into this, if no one else wants it!

Opening the discussion:
fastlane.swift has its own LaneManager see [1] to run commands from the Fastfile.swift.

Consider making a dedicated ci_lane_manager that, using the same resources as the Swift runner, can create a runner, using [2], and cruise to a lane making a new Thread like [3] after making the proper preparation of the environment (Bundler, ENV, etc.) and lastly calling like [4] the actual isolated fastlane runner.

Marking this as blocked for now, as this is something a full-time employee should build, as it's not a one-off task, it will probably require follow-up work 👍


Make jugs label deletable

About the PR

Now labels from chemVend jugs can be deleted/rewriten
Synchronized jugs label text
Documented LabelComponent
I know, it's bad that to add to entity prototype label with text you must allow some rules, but not just type some text into required field of yaml, but i think it's hard now, because chemVend use name field (not sure), that means if name be normal, then in vend UI it also be normal.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

fix: Nanotrasen Department of Economics has reduced glue expenses in jug production lines. Now labels from jugs can be deleted.

vendors should append label then

You are a STAR for this(if it gets merged). This'll allow me to play chemist and not get all bent out of shape because of disorganized jugs.


scylla_cluster: start_nodes: start nodes in parallel more conservatively

Note: This is "replay" of https://github.com/scylladb/scylla-ccm/pull/247
that was dequeued due to https://github.com/scylladb/scylla/issues/7396, that is now fixed.
Wait for previous nodes' "node is now in normal status" message
to let is finish bootstrapping if it needs to.
Otherwise, the 60 seconds timeout on the booting node may not be sufficient
as seen in dtest-debug:
https://jenkins.scylladb.com/view/master/job/scylla-master/job/dtest-debug/609/artifact/logs-debug.2/1601767547770_internode_ssl_test.TestInternodeSSL.putget_with_reloaded_certificates_test/node3.log
INFO  2020-10-03 23:14:45,477 [shard 0] storage_service - Checking bootstrapping/leaving nodes: tokens 256, leaving 0, sleep 1 second and check again (59 seconds elapsed)
...
ERROR 2020-10-03 23:14:48,151 [shard 0] init - Startup failed: std::runtime_error (Other bootstrapping/leaving nodes detected, cannot bootstrap while consistent_rangemovement is true)

Signed-off-by: Benny Halevy<EMAIL_ADDRESS>

@bhalevy now we are sure ?

@bhalevy now we are sure ?

yes, as far as I could test manually on my workstation.

Trying https://jenkins.scylladb.com/view/master/job/scylla-master/job/byo/job/dtest-byo/301/ just in case

BYO failed on unrelated errors (probably due to weak host it was running on.  we need to improve that too so tests could run reliably also on weak machines...)


Adds readme/command to run a example application

It should be trivial to run an example with a single command. It helps to triage issues and reproduce users issues.
For example https://owasp.slack.com/archives/C03H4LQSHNZ/p1686216435947609

What I use is already in documentation.

We have a working docker setup. With the complexity/amount of moving parts this will probably the only example to get it up quickly