[Request] Invoke Methods of Native UI Components

In React Native, we can expose properties of native UI components and native UI components can send events to JS. However, it lack the ability to invoke methods of native UI components.
For example, I have  a drawing pad which is a custom native UI component. I want to be able to call some method from JS side and let the native drawing pad export the image.
I have been hacking around RCTUIManager which has the viewRegistry and viewManagerRegistry, and managed to invoked methods of native UI components via view manager.
I think calling native UI components' methods is common requirement and it would be nice to have it built in React Native

If I understand correctly, You want to expose native react's methods to JS. I use category feature in objective-c to expose the methods. So if you really need some method to be exposed in your application just create a manager class and expose those methods.
You can take a look at this which does the same thing.

Thanks @alinz. I do know how to do that. I also used category to expose methods of native views :)
Thanks to the category feature of obj-c so that I can extend RCTUIManager without messing the code of the core modules. But, what if other languages (we will support Android, right?) do not have such similar feature as category? Then we might have to modify the code of react native core modules in order to expose methods of native ui components which I think is a quite common requirement.
What I am thinking is that, could we add some api to RCTUIManager (or some other better place) and provide some macro and documentation to make it easier to expose methods of native ui components? And also take this requirement into consideration when we build core modules for Android.

Thanks @alinz. I do know how to do that. I also used category to expose methods of native views :)
Thanks to the category feature of obj-c so that I can extend RCTUIManager without messing the code of the core modules. But, what if other languages (we will support Android, right?) do not have such similar feature as category? Then we might have to modify the code of react native core modules in order to expose methods of native ui components which I think is a quite common requirement.
What I am thinking is that, could we add some api to RCTUIManager (or some other better place) and provide some macro and documentation to make it easier to expose methods of native ui components? And also take this requirement into consideration when we build core modules for Android.

Thanks @alinz. I do know how to do that. I also used category to expose methods of native views :)
Thanks to the category feature of obj-c so that I can extend RCTUIManager without messing the code of the core modules. But, what if other languages (we will support Android, right?) do not have such similar feature as category? Then we might have to modify the code of react native core modules in order to expose methods of native ui components which I think is a quite common requirement.
What I am thinking is that, could we add some api to RCTUIManager (or some other better place) and provide some macro and documentation to make it easier to expose methods of native ui components? And also take this requirement into consideration when we build core modules for Android.

@Hybrid-Force The current way to expose methods of native views is via methods on the ViewManager which take the view's reactTag as the first argument. There's no need to modify the RCTUIManager for this.
If you want to expose methods on an existing view then you can use a category to add additional methods to its ViewManager, as @alinz suggests, but it's not the only way to do so.
An alternative solution would be to either add the methods directly to the view manager and open a pull request (if you think they'd be useful to others), or subclass the view manager and add your new methods, then either:

Inject your new view manager module using the bridge moduleProvider or extraModules delegate method so that it overrides the standard component. Or

Export your view manager module with a different name and then write a new JS wrapper for it so you can use it alongside the standard component.

@nicklockwood  I like point 2 in alternative solution but what if js wrapper also needs inheritance.
For eg: I need onChange with Text component which wouldn't make sense for most usecases but it does for me. So I will subclass the RCTText and got it to work with a custom js wrapper. The js wrapper is just a copy paste of text.js with onChange handler added.
Now i get all these warning for using internal modules in the js wrapper. How do i handle this case?

@nicklockwood would you provide the example for Inject your new view manager module using.... The reason I'm asking is I was trying to extend WebView component and I end up copying a lot of code to my module which was a nightmare if WebView component for next version changes. Thats why I ended up using category feature in objective-c.

@alinz
RCTBridge *bridge = [[RCTBridge alloc] initWithBundleURL:jsBundle moduleProvider:^{
  return @[[[MyCustomWebViewManager alloc] init]];
} launchOptions: nil];

RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"MyApp"];

Thanks for the suggestion @nicklockwood. I re-read @alinz's example and found that this is exactly what I needed.

@nicklockwood Thoughts on my comment?

@chirag04 I'm not too sure about the rules for inheritance on the JS side. Maybe @vjeux can help?

This is a tricky one, we would need to expose all the internals that Text.js is using to implement itself. The big one that's not exposed right now is ReactNativeViewAttributes and I'm not sure that we want to expose it :( Sorry I don't have a good solution :x

What do you guys think of this one?
https://github.com/wix/react-native-invoke


Update documentation in README (No automatic deployment)

This PR updates the documentation reg. updating the landing pages.
Feedback is welcome!

Thanks @Ein-Tim, the information regarding automatic deployments was infact, wrong.

@Ein-Tim
I don't normally follow PRs on this site, so I didn't notice a typo before this was merged. If you are going to make changes I also have some suggestions for the grammar and formatting in addition to the one typo:
"Deploying of the chnages" =>
"Deployment of changes"
"Thus, even if a PR is merged into main here on GitHub , the change is not immediately visible on the pages, but only after the change was deployed."
=>
"Thus, even if a PR is merged into main here on GitHub, changes are not immediately visible on the pages, but only after the changes have been deployed."

@MikeMcC399
Thanks, I should've pinged you! 😅
I will provide a PR implementing your suggested changes & ping you so you can take a look. Thanks for the feedback!

@Ein-Tim
I have subscribed to PRs from here now, so no need to ping me. I will get notified automatically.

That's even better 😄

PR: https://github.com/corona-warn-app/cwa-event-landingpage/pull/41


[webview_flutter] get/set a custom User Agent

Description
Based on this pull request https://github.com/flutter/plugins/pull/968 that was closed, I added the functionality to set a custom User Agent and get the current User Agent in the current WebView version.
Related Issues
https://github.com/flutter/flutter/issues/28256
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

Updated emails CLA.

Thank you @LuisThein, we're already making use of this as we had the same requirement to change the user agent :)

Added requested changes and updated branch.

@LuisThein I pushed a few changes to your branch.
I'm ok with the current state of this PR.
Let me know whether the updates I pushed makes sense to you as well.


Bring

Everything was great but if I have 4 different levels of lists from mysql database how to implement it

Everything was great but if I have 4 different levels of lists from mysql database how to implement it

HI @AL-YAFEA-KHALED! Thank you for using the package!
I would need a little bit more information to help you with your issue.
Could you post a snippet of code, or include more details of what you are trying to do?

Hi sir Thank you for replying me.
Actually I haven't add any code yet I just used your package as it is. But what I'm confused here is that how can bring data from mysql database and fetch them in the tree view. I have 4 tables that contains 4 level of accounts tree so I wanna select them and combine them to list then display them as you did in your package. I hope you can help me in this

Hey @AL-YAFEA-KHALED!
I don't think I quite understand what you're trying to achieve...
To create a simple tree:
Future<void> createSubtree(TreeNode? parent) async {
  final models = await getDataFromDatabase(
    id: parent?.id ?? yourTopLevelId,
  );

  if (models.isEmpty) {
    // Exit recursion if no more models are found
    return;
  }

 for (final model in models) {
    final node = TreeNode (
      id: model.id,
      label: model.label,
      data: model,
    ),

    parent?.addChild(node);
    await createSubtree(node);
  }
}

final root = TreeNode(id: "your top level id here");
await createSubtree(root);

// Then pass `root` into the tree controller

I don't know if it's what you're looking for but without more information and some code snippets, I may not be able to help you. Let me know if this helps.

Sir, I'm sorry for disturbing you but the code you shred is not clear. Assume you model class that you retrieve data from database to the model class list and you want to display the output of the retrieved data in the tree view

This my class model

This is how I call it to normal list view from database

This is the output

Hi sir, I followed your code with a little bit changes. It worked and display in the tree view but it only display one item like 1- name while I have four items in the list
This is the code

Can you help me in this. Thanks and sorry for disturbing you

Hey @AL-YAFEA-KHALED!
The only problem that I can spot in your code is the hard-coded final level = level1, every time this function is executed, it loops through the same list, you must update that list before the next execution.
Have a try with the following update:
Future<void> getTree<T>(TreeNode? parent, List<T> levels) async {
  if (levels.isEmpty) return;

  for (final level in levels) {
    final node = TreeNode (
      id: level.levelNumber1.toString(),
      label: level.levelName1.toString(),
      data: level,
    );

    parent?.addChild(node);
    await getTree(node, <insert next level list here>);
  }
}

final root = TreeNode(...);
await getTree(root, level1);

Try this out and let me know if it works.

Sir actually the code doesn't work. But I figured out that the await is stopping the loop from continue looping and it just stopped at once loop. When I disabled the all await line at the end it works fine and displayed all my items. But the next step is I wanna get now sublevels. I will give try I hope I can handle it otherwise I will comment to you sir

Yeah... The async part of it is not necessary, hope you get things working!

You did great job in this package. It's really amazing and very helpful. I hope you go ahead and create more packages. I still didn't fetch sublevels yet I will do it tonight and update you sir

Sir, I'm facing problem here. As we discussed before I was able to display the first level in the tree view with the previous code. For the second level I tried to add it using parent?.add children(.....). But it display the items in level 2 as top level not displaying them as nested items from level1. Then I figured out that this code
parent?.children.foreach(getTree)
Is the code that make the items nested but this make the app hanging up. I think it's hanging up because it's not finding nested items in level one so how can I make my 4 levels nested in one map string list. Then I can use one list for all my lists

Hey @AL-YAFEA-KHALED!
Could you please show me how is your code at the moment? Because this doesn't seem to be a problem with the package.
If you could provide a code snippet, I'd gladly help you find a solution, but with the lack of information I might not be able to.

`Future getTree(TreeNode? parent) async {
final levels = level1;
if (levels.isEmpty) return;
for (final T level in levels) {
final node = TreeNode (
id: level.levelNumber1.toString(),
label: level.levelName1.toString(),
data: level,
);
parent?.addChild(node);
}
}
final root = TreeNode(...);
await getTree(root);`
This works fine for top-level now I have 3 more levels under top-level. I want to display them as nested levels based on level names

Hey!
Take a look at my previous answer, your level variable is hard-coded inside the getTree function, you have to reassign that variable to the next levels when done creating nodes.
The code I shared previously takes this into account:

Future<void> getTree<T>(TreeNode? parent, List<T> levels) async {
  if (levels.isEmpty) return;

  for (final T level in levels) {
    final node = TreeNode (
      id: level.levelNumber1.toString(),
      label: level.levelName1.toString(),
      data: level,
    );

    parent?.addChild(node);
    await getTree<T>(node, <insert level 2 list here>);
  }
}

final root = TreeNode(...);
await getTree(root, level1);

Sir, I did as your exact code but it show errors in

level.levelNumber.toString(); level.levelName.toString()`
They are not defined.
The code isn't tree.
If you can assume that you have the four levels and you want to add them to tree view how can you do it in your package sir

Sir I solved the issue in different way. Now I wanna ask you. We have got function to add child when we click on node id it shows dialog to add new child. Can we add child to specific node id without out selecting node id?

Hey @AL-YAFEA-KHALED!
It should be straightforward, take a look at the find method of the TreeViewController class.
The find method traverses the tree looking for a node which id matches the id passed to it and then returns the found node, or null if no node is found with the given id.


Create kogan_kasmgphXXXX_heater.yaml

Add support for the white 1.5kw Kogan Smarterhome KASMGPH15YA. This is tested and working on KASMGPH15YA.
While I have not tested, since the user guide appears to be the same for all the series, this would likely work with all KASMGPH series heaters. E.g.
1.5kw - KASMGPH15YA (White) and KASMGPH15YB (Black)
2.0kw - KASMGPH20YA (White) and KASMGPH20YB (Black)
2.4kw - KASMGPH24YA (White) and KASMGPH24YB (Black)

Updated to try to fix the yaml linter error regarding readonly


Issues related to RequiredKeys option

Spark link
No response
Plugin Version
3.5.7
Server Version
1.21
Server Platform
Paper
Describe the bug
Crate won't open until player has the amount of keys from RequiredKeys in his inventory but when it opens, it will eat only 1 key and not the amount from RequiredKeys.
Knock-back is not applied on player when he doesn't have enough keys. (only works when RequiredKeys: 0)
Enhancement: Would be great if not-enough-keys in messages.yml will also have {key} placeholder for key name so we can do "You need 2x Advanced Key to open Advanced Crate."
Note: Tested only with physical keys on physical crate.
Crate Type
CSGO
Steps to reproduce

Go to CrateName.yml
Change RequiredKeys option to number you like.
Test knock-back issue. (make sure its turned on in your config.yml)
Give yourself enough physical keys.
Open crate and test issue.

Additional context
No response
Agreements

[X] I have searched for and ensured there isn't already an open issue regarding this.
[ ] I ticked all the boxes without actually reading them
[X] My version of Minecraft is supported by CrazyCrew.

It was only ever developed as a requirement, it wouldn't take 5 keys.


Added handling of MSG_WAITALL flag in TCP recv.

Summary
Added handling of the flag MSG_WAITALL when receiving in TCP sockets.
This PR replaces the relevant one #7278.
Impact
New functionality.
Testing
Tested on a proprietary server that needs this flag to operate correctly.
TCP seems to behave as expected.
Tests were carried out on an STM32F427 board.
Also see the relevant PR for more info.

I haven't tested the latest changes on actual hardware, yet.
Please do not merge before confirmation.

@fjpanag could you rebase the change to the latest master? The ci break is fixed after your update.

Both sim and macos pass the ci which mean the network change in this patch should work as expect, so let's ignore the ci break.


Server-side: Function type propare interpreted as String, not Function

Vue.js version
2.1.10
Reproduction Link
https://github.com/shentao/vue-hackernews-2.0
Steps to reproduce

Run the app

npm run dev

Description
What is Expected?
<my-comp></my-comp> should render to
Default function result: value

What is actually happening?
<my-comp></my-comp> throws error:
Vue warn]: Invalid prop: type check failed for prop "functionProp". Expected Function, got String.
(found in component <my-comp> at /Users/damiandulisz/code/private/vue-hackernews-2.0/src/MyComp.vue)
Default function result: undefined
[Vue warn]: Error when rendering component <my-comp> at /Users/damiandulisz/code/private/vue-hackernews-2.0/src/MyComp.vue:
error during render : /top
TypeError: _vm.functionProp is not a function
    at Proxy.render (__vue_ssr_bundle__:1605:48)
    at VueComponent.Vue._render (/Users/damiandulisz/code/private/vue-hackernews-2.0/node_modules/vue/dist/vue.runtime.common.js:2216:22)
    at renderComponent (/Users/damiandulisz/code/private/vue-hackernews-2.0/node_modules/vue-server-renderer/build.js:6078:25)
    at renderNode (/Users/damiandulisz/code/private/vue-hackernews-2.0/node_modules/vue-server-renderer/build.js:6061:7)
    at next (/Users/damiandulisz/code/private/vue-hackernews-2.0/node_modules/vue-server-renderer/build.js:6197:9)
    at next (/Users/damiandulisz/code/private/vue-hackernews-2.0/node_modules/vue-server-renderer/build.js:6189:7)
    at Object.cachedWrite [as write] (/Users/damiandulisz/code/private/vue-hackernews-2.0/node_modules/vue-server-renderer/build.js:36:9)
    at next (/Users/damiandulisz/code/private/vue-hackernews-2.0/node_modules/vue-server-renderer/build.js:6199:17)
    at cachedWrite (/Users/damiandulisz/code/private/vue-hackernews-2.0/node_modules/vue-server-renderer/build.js:36:9)
    at renderNode (/Users/damiandulisz/code/private/vue-hackernews-2.0/node_modules/vue-server-renderer/build.js:6069:7)

so which one should we keep? 😛

Sorry! Not sure why GitHub saved the in-progress issue -_-


OOM question

Excellent work! But I ran into OOM issue when i runing the lora method for llama-2-7b-chat model:
Specifically, I applied 4xA100(80GB) in the slurm system and then run the code below:
bash FastChat/lora_train.sh
The following error messages are displayed
torch.cudatorch.cuda..OutOfMemoryErrorOutOfMemoryError: : CUDA out of memory. Tried to allocate 2.00 GiB (GPU 0; 79.15 GiB total capacity; 77.13 GiB already allocated; 307.31 MiB free; 78.21 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONFCUDA out of memory. Tried to allocate 2.00 GiB (GPU 3; 79.15 GiB total capacity; 77.13 GiB already allocated; 355.31 MiB free; 78.21 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF
I'm confused about this situation, lora should be a peft method, why this OOM issue could occur when applying 4xA100(80GB)?
What could be the reason, please？

Hi @BUGLI27, how did you solve this issue?

Hi, I found that OOM is caused by some data in the LTE dataset being too long.
To solve this, you can set the cut_off value to avoid OOM.

Hi @BUGLI27, how did you solve this issue?

Hi, I found that OOM is caused by some data in the LTE dataset being too long.
To solve this, you can set the cut_off value to avoid OOM.


Deprecate Version 3 (types-ddd)

[ ] - Mark version 3 as deprecated in the repository and in package registries (npm).
[ ] - Add clear warnings in the documentation indicating that v3 is deprecated.
[ ] - Communicate the deprecation to users through announcements in the README, issues, and other communication channels.

#447


chore(readme): remove old 3 ads per page warning

Related Issue
#175
Notes
I checked the official Google documentation for reference just in case, but as the specifications for the previously stated restrictions have simply disappeared, there still does not seem to be a page that explicitly states that there are no restrictions.

Thanks!


GUI freezes upon inputing unreachable Electrum server in settings of bitcoind-using Liana wallet

Testing Electrum support by switching my Liana wallet to Electrum, if i input an incorrect or unreachable server it just freezes the GUI.

Some logs. It can connect but it fails to talk to it.
  2024-09-07T09:55:05.017550Z  WARN electrum_client::client:202: call 'block_header_raw' failed with Resource temporarily unavailable (os error 11), retry: 1/6

  2024-09-07T09:55:07.042372Z  INFO electrum_client::raw_client:205: Trying to connect to <IP_ADDRESS>:50002 (attempt 1/1) with timeout 180s

  2024-09-07T09:55:07.141989Z  INFO electrum_client::client:202: Succesfully created new client

  2024-09-07T09:55:07.142360Z TRACE electrum_client::raw_client:593: ==> {"jsonrpc":"2.0","id":0,"method":"blockchain.block.header","params":[0]}

  2024-09-07T09:55:07.142566Z TRACE electrum_client::raw_client:479: Starting reader thread with `until_message` = Some(0)

Seems like it would be fixed by your idea of pinging the server in the dummy client to test the connection.

i can have a try on this tmr

@nondiremanuel i think we can close this as the switch feature have been disabled?

@nondiremanuel i think we can close this as the switch feature have been disabled?

There can be a point when we will enable the switching feature, but you are right that it's not an issue relevant for now. I will just add a reminder in #1335 to check for this case when we will implement it and close this.


Release process

The current version of mack that is available through pip is 0.1.0 which has been released on the 27th of November.
Going forward, how should the deployment approach look like?
@MrPowers

@robertkossendey - I think I'm the only one that can deploy cause I'm the only one with the credentials (unfortunately).  In the long run, if this project gets more popular, let's figure out a better solution.  In the meantime, just ping me whenever you want a release and I will run the command.  I just need to run poetry build and poetry publish.

Sounds good, I will add this to the CONTRIBUTING.md as soon as I have time to work on it :)


Add new badges

Adding some status badges.

Link to review rendered changes: https://github.com/nf-osi/nf-research-tools-schema/blob/975064dc545b04bc13ce718adfbadf56809f6748/README.md


Add flatten array exercise

I'm not entirely sure whether I updated the config.json file appropriately.
One issue I have with this exercise currently: "array" is not a word we use in Python.  Could we rename this to "flatten-list" or just "flatten" (which I think would be best)?  Would that be problematic because the exercise is called something different for the other languages?

The iter builtin checks for the __iter__ method or in the case of strings for the __getitem__ method. So for this exercise you could rewrite the function like this:
def is_iterable(thing):
    return hasattr(thing, '__iter__')

Than it would be possible to drop the isinstance(item, (str ... check. That would make the example implementation shorter. Not sure if this is a better way, just something to think about.
I think it would be a good idea to drop array from the exercise name. But it would have to be changed in the x-common repo first I guess.
The config.json looks good to me. The difficulty and topics can be updated later.

The iter function isn't entirely equivalent to an __iter__ check.
Since __getitem__ is checked as well, we'd potentially be ignoring some types of iterables:
>>> class A:
...     def __getitem__(self, x):
...         return 0
...
>>> a = A()
>>> hasattr(a, '__iter__')
False
>>> iter(a)
<iterator object at 0x7f510adc5668>

This also doesn't fix the string issue because strings implement __iter__ in Python 3 (I'm not really sure why they didn't but lists/tuples did in Python 2).
As for "array", should I make a pull request on the common repo and see what they say about it?

Sorry, only checked Python2 (wired change).
A pull request over there should do it. But I would suggest we add the exercise with the old name and rename it later, because it may take some time.

I opened an issue to rename it. I agree that it should be merged in the meantime.

Does anyone have different thoughts about the exact placing in the problems order?

I had no idea where to put it so I placed it somewhere that seemed reasonable. Feel free to move it based on whatever logic is currently used to determine exercise order.


Network API

KubeVirt needs to gain an API to specify the guest facing aspects of networking.
In addition this API should allow to connect to different backends.
As there are a few ways to connect backends and frontends, some options around how to connect them should also be exposed.

Scope of this card is to settle on an API scheme. Different issues the cover implementing different backends and frontends and connections.

Closing this issue, as it's merged.


Add support for specifying multiple security requirement keys

Hi! The first contribution to this repo, so I may have missed some things.
I use utoipa in my project and I faced a problem of not being able to use multiple security requirement keys.
As described in Swagger docs: Some REST APIs support several authentication types. The security section lets you combine the security requirements using logical OR and AND to achieve the desired result.
I made an issue. Then, I resolved it myself. Now you can use multiple security requirements separated by a comma in #[utoipa::path]. Example:
#[utoipa::path(
      delete,
      path = "/todo/{id}",
      responses(
          (status = 200, description = "Todo marked done successfully"),
          (status = 401, description = "Unauthorized to delete Todo", body = TodoError, example = json!(TodoError::Unauthorized(String::from("missing api key")))),
          (status = 404, description = "Todo not found", body = TodoError, example = json!(TodoError::NotFound(String::from("id = 1"))))
      ),
      params(
          ("id" = i32, Path, description = "Todo database id")
      ),
      security(
          // literally means (api_key and api_key2) or api_key3
          ("api_key" = [], "api_key2" = []),
          ("api_key3" = []),
      )
  )]

Also, now you can construct those with add() method:
SecurityRequirement::default()
  .add("api_key", ["test"])
  .add("api_key2", ["test"])

I didn't change the names of already existing methods and types. Additionally, as you can see new security(...) syntax is compatible with the old one. So it isn't really a breaking change.
Resolves https://github.com/juhaku/utoipa/issues/803.

@juhaku fixed it.

Future support for duplicate name keys in security: attribute of the OpenApi #992


Update cordova-plugin-tun2socks endpoint

This change is

:thumbsup:

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Yay :-)


Seemingly random CUDA_ERROR_ILLEGAL_ADDRESS is thrown after correct execution

I get a reproducable CUDA_ERROR_ILLEGAL_ADDRESS in code which works for the first two executions (see lines above first stack trace) and then errors. It also happens in different functions when code is changed (see second stack trace).
Running np.linalg.eigh(jax.random.uniform(key=jax.random.PRNGKey(42), shape=(30, 30))) (from the second stack trace) in isolation works fine.
I'm not sure which change caused this behavior as it worked before. It also happens on different GPUs. Running it only on the CPU works fine.
I'm open for any pointers how I could debug this further as this is probable not enough information to draw any conclusions at all.
jax version 0.2.13, jaxlib 0.1.67+cuda110
Loss reduction: 0.034373939037323
Loss reduction: 0.0363161563873291
2021-06-08 13:00:47.364628: E external/org_tensorflow/tensorflow/compiler/xla/pjrt/pjrt_stream_executor_client.cc:1981] Execution of replica 0 failed: Internal: Failed to launch CUDA kernel: CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered
Traceback (most recent call last):
  [...]
  File "file.py", line 293, in function
    print(f"Loss reduction: {self.function.loss(self.weights)-self.function.loss(self.weights+1*update)}")
  File "function.py", line 68, in loss
    p = self.predict(weights, self.X)
  File "function.py", line 88, in predict
    return logistic(data@weights + bias)
  File "function.py", line 52, in logistic
    return 1 / (1 + np.exp(-r))
  File "/home/user/.local/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 404, in <lambda>
    fn = lambda x: lax_fn(*_promote_args_inexact(numpy_fn.__name__, x))
  File "/home/user/.local/lib/python3.7/site-packages/jax/_src/lax/lax.py", line 185, in exp
    return exp_p.bind(x)
  File "/home/user/.local/lib/python3.7/site-packages/jax/core.py", line 264, in bind
    out = top_trace.process_primitive(self, tracers, params)
  File "/home/user/.local/lib/python3.7/site-packages/jax/core.py", line 606, in process_primitive
    return primitive.impl(*tracers, **params)
  File "/home/user/.local/lib/python3.7/site-packages/jax/interpreters/xla.py", line 232, in apply_primitive
    return compiled_fun(*args)
  File "/home/user/.local/lib/python3.7/site-packages/jax/interpreters/xla.py", line 350, in _execute_compiled_primitive
    out_bufs = compiled.execute(input_bufs)
RuntimeError: Internal: Failed to launch CUDA kernel: CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered
2021-06-08 13:00:47.664840: E external/org_tensorflow/tensorflow/stream_executor/cuda/cuda_driver.cc:1039] could not synchronize on CUDA context: CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered :: *** Begin stack trace ***

[many empty lines]

	PyDict_SetItem
	_PyModule_ClearDict
	PyImport_Cleanup
	Py_FinalizeEx

	_Py_UnixMain
	__libc_start_main

*** End stack trace ***

2021-06-08 13:00:47.664934: F external/org_tensorflow/tensorflow/compiler/xla/service/gpu/gpu_executable.cc:89] Check failed: pair.first->SynchronizeAllActivity()

np.linalg.eigh(a):
  File "/home/user/.local/lib/python3.7/site-packages/jax/_src/numpy/linalg.py", line 283, in eigh
    v, w = lax_linalg.eigh(a, lower=lower, symmetrize_input=symmetrize_input)
  File "/home/user/.local/lib/python3.7/site-packages/jax/_src/lax/linalg.py", line 111, in eigh
    x = symmetrize(x)
  File "/home/user/.local/lib/python3.7/site-packages/jax/_src/lax/linalg.py", line 299, in symmetrize
    def symmetrize(x): return (x + _H(x)) / 2
  File "/home/user/.local/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 5666, in deferring_binary_op
    return binary_op(self, other)
  File "/home/user/.local/lib/python3.7/site-packages/jax/_src/numpy/lax_numpy.py", line 427, in fn
    return lax_fn(x1, x2) if x1.dtype != bool_ else bool_lax_fn(x1, x2)
  File "/home/user/.local/lib/python3.7/site-packages/jax/_src/lax/lax.py", line 340, in add
    return add_p.bind(x, y)
  File "/home/user/.local/lib/python3.7/site-packages/jax/core.py", line 264, in bind
    out = top_trace.process_primitive(self, tracers, params)
  File "/home/user/.local/lib/python3.7/site-packages/jax/core.py", line 606, in process_primitive
    return primitive.impl(*tracers, **params)
  File "/home/user/.local/lib/python3.7/site-packages/jax/interpreters/xla.py", line 232, in apply_primitive
    return compiled_fun(*args)
  File "/home/user/.local/lib/python3.7/site-packages/jax/interpreters/xla.py", line 350, in _execute_compiled_primitive
    out_bufs = compiled.execute(input_bufs)
RuntimeError: Internal: Failed to load in-memory CUBIN: CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered
2021-06-08 13:17:31.165223: E external/org_tensorflow/tensorflow/stream_executor/cuda/cuda_driver.cc:1039] could not synchronize on CUDA context: CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered :: *** Begin stack trace ***

	PyDict_SetItem
	_PyModule_ClearDict
	PyImport_Cleanup
	Py_FinalizeEx

	_Py_UnixMain
	__libc_start_main

*** End stack trace ***

2021-06-08 13:17:31.165317: F external/org_tensorflow/tensorflow/compiler/xla/service/gpu/gpu_executable.cc:89] Check failed: pair.first->SynchronizeAllActivity()

We'd need a reproduction of the problem to make progress here.

Like Peter says, we'll need code we can run ourselves to repro this problem. Can you share the code you're using to trigger this? Smaller repros are better, but a complicated repro is better than nothing.
Also, do you experience this issue with previous jaxlib versions?

Hello Skye,
I get a similar error when running this code: nf-tutorial-jax
If I make the model tiny by changing the code to "Dense(16), Relu, Dense(16)" then the error disappears.
Attaching the package versions I am using in requirements.txt, CUDA Version 10.1.243
Converting the notebook to python and running it gives an error as well.
For completeness the error I am getting is:
/tmp/ipykernel_16068/3820967770.py in
18 opt_state = opt_init(ps)
19 for i in range(iters):
---> 20   opt_state = step(i, opt_state, next(data_generator))
21 ps = get_params(opt_state)
22
ValueError: Internal: Failed to launch CUDA kernel: CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered
requirements.txt
Regards,
Joe

Perhaps google/jax#7752 is related?

I run the code for #7752 and it worked fine:
In[2]:import jax
  ...: import jax.numpy as jnp
  ...:
  ...: a = jnp.ones([100, 100])
  ...: b = jnp.ones([100, 1])
  ...: c = jax.lax.dot_general(a, b, dimension_numbers=(((0,), (0,)), ((), ())))
  ...: c.block_until_ready()
Out[2]:
DeviceArray([[100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.],
             [100.]], dtype=float32)

@hawkinsp were you able to reproduce the issue with nf-tutorial-jax?

I believe the issue you are seeing in nf-tutorial-jax is a CUDA 11.0 bug (in ptxas). My best suggestion for now is "use a newer CUDA installation, although obviously that's difficult to do on Colab. Most likely there's not much we can do on the JAX side since it isn't our code that is buggy. I verified that CUDA 11.2 works. Hopefully Colab upgrades sometime soon.

Hello,
Thank you @hawkinsp, actually I was using CUDA Version 10.1.243 after installing cuda_11.4.1_470.57.02_linux.run I can confirm that the error went away.
Might be adding a note to the docs that CUDA 10 is buggy or dropping it's support.
You can close this ticket, @Baschdl can reopen if latest CUDA does not work for him.
Regards,
Joe

I have to get access to the machine where it happened again to test it and to check the CUDA version. Feel free to close it for now.

Thanks. Our current belief is that CUDA 11.1 is the lowest version free of this bug.


Unexpected (undefined?) behaviour when using ::to_future with a canceled continuable

@Naios

Commit Hash
f7f304e971e05d5cae24edc6a0c93116588edd0b (4.2.1)
Expected Behavior
Calling .get() on an std::future obtained by applying cti::transforms::to_future() should result in an exception.
Actual Behavior
.get() returns without an exception, returning some (random?) value or crashing (probably undefined behaviour).
Steps to Reproduce
Run the following program:
#include <iostream>

#include <continuable/continuable.hpp>

enum Result { READY, EXCEPTION, CANCELLATION };

cti::continuable<int> get_result(Result type) {
  switch (type) {
  case READY:
    std::cout << "Creating ready continuable..." << std::endl;
    return cti::make_ready_continuable<int>(1);
  case EXCEPTION:
    std::cout << "Creating exceptional continuable..." << std::endl;
    return cti::make_exceptional_continuable<int>(
        std::make_exception_ptr(std::runtime_error("Exception!")));
  case CANCELLATION:
  default:
    std::cout << "Creating cancelling continuable..." << std::endl;
    return cti::make_cancelling_continuable<int>();
    break;
  }
}

void test(Result type) {
  auto cti_value = get_result(type);
  auto future = std::move(cti_value).apply(cti::transforms::to_future());

  if (!future.valid()) {
    std::cout << "Future not valid!" << std::endl;
    exit(1);
  }

  future.wait();
  try {
    if (!future.valid()) {
      std::cout << "Future not valid!" << std::endl;
      exit(1);
    }
    auto value = future.get();
    std::cout << "Result is a value: " << value << "\n" << std::endl;
    // Do something with the value
  } catch (...) {
    std::cout << "Result is an exception!\n" << std::endl;
    // Do something with the exception
  }
}

int main() {
  test(READY);
  test(EXCEPTION);
  test(CANCELLATION);
}

Output (on my system):
Creating ready continuable...
Result is a value: 1

Creating exceptional continuable...
Result is an exception!

Creating cancelling continuable...
Result is a value: 1

I'm not sure what the expected behaviour is when calling .get() on a "cancelled" future, but it probably shouldn't return 1 in this case. Maybe this use case is unsupported? In that case, I would expect this to be reflected in the documentation.
Your Environment

OS: Arch Linux
Compiler and version: GCC 12.2.0
Standard library (if non default):  glibc

Thanks for your report.
It might be possible that to_future is missing the correct logic for the cancellation.


Geolocation doesn't appear to be working

Hi, I'm using the twitter gem to fetch geolocated tweets, but for some reason it doesn't work and gives me some weird data.
This tweet should be geolocated (correct me if I'm wrong): https://twitter.com/ngw/status/653875745899548672
The client is created exactly as in documentation, and in fact it "kinda" works...
tweet = client.status(653875745899548672)
=> #<Twitter::Tweet id=653875745899548672>
tweet.text
=> "Geolocating tweets must be the least used Twitter feature."
tweet.user.screen_name
=> "ngw"

Unfortunately I can't make the geo part work...
tweet.geo?
=> false
tweet.geo
=>

Am I doing something wrong? Apparently yes, my tweet is clearly geolocalized, but the gem is telling me it isn't. Thanks in advance.
number13:r6_graph $ bundle show twitter
<EMAIL_ADDRESS>

Looks like it's not geotagged, but has a place. I didn't realize there was a difference between the two but there's detailed docs for places.
{
    "created_at": "Tue Oct 13 10:11:40 +0000 2015",
    "id":<PHONE_NUMBER>99548700,
    "id_str": "653875745899548672",
    "text": "Geolocating tweets must be the least used Twitter feature.",
    "source": "Twitter for iPhone",
    "truncated": false,
    "in_reply_to_status_id": null,
    "in_reply_to_status_id_str": null,
    "in_reply_to_user_id": null,
    "in_reply_to_user_id_str": null,
    "in_reply_to_screen_name": null,
    "user": {
        "id": 828841,
        "id_str": "828841",
        "name": "ngw",
        "screen_name": "ngw",
        "location": "Mantua - Italy",
        "description": "Lisp and Ruby hacker, wine lover.",
        "url": "http://t.co/omrYipugkB",
        "entities": {
            "url": {
                "urls": [
                    {
                        "url": "http://t.co/omrYipugkB",
                        "expanded_url": "http://nofeed.org",
                        "display_url": "nofeed.org",
                        "indices": [
                            0,
                            22
                        ]
                    }
                ]
            },
            "description": {
                "urls": []
            }
        },
        "protected": false,
        "followers_count": 266,
        "friends_count": 289,
        "listed_count": 12,
        "created_at": "Fri Mar 09 10:13:57 +0000 2007",
        "favourites_count": 3,
        "utc_offset": 7200,
        "time_zone": "Rome",
        "geo_enabled": true,
        "verified": false,
        "statuses_count": 1392,
        "lang": "en",
        "contributors_enabled": false,
        "is_translator": false,
        "is_translation_enabled": false,
        "profile_background_color": "FFFFFF",
        "profile_background_image_url": "http://pbs.twimg.com/profile_background_images/494432451/twt-bg.png",
        "profile_background_image_url_https": "https://pbs.twimg.com/profile_background_images/494432451/twt-bg.png",
        "profile_background_tile": false,
        "profile_image_url": "http://pbs.twimg.com/profile_images/52912926/doo_normal.jpg",
        "profile_image_url_https": "https://pbs.twimg.com/profile_images/52912926/doo_normal.jpg",
        "profile_banner_url": "https://pbs.twimg.com/profile_banners/828841/1401377066",
        "profile_link_color": "01071A",
        "profile_sidebar_border_color": "EEEEEE",
        "profile_sidebar_fill_color": "EFEFEF",
        "profile_text_color": "333333",
        "profile_use_background_image": true,
        "has_extended_profile": false,
        "default_profile": false,
        "default_profile_image": false,
        "following": false,
        "follow_request_sent": false,
        "notifications": false
    },
    "geo": null,
    "coordinates": null,
    "place": {
        "id": "1ea588c12abd39d7",
        "url": "https://api.twitter.com/1.1/geo/id/1ea588c12abd39d7.json",
        "place_type": "city",
        "name": "Milan",
        "full_name": "Milan, Lombardy",
        "country_code": "IT",
        "country": "Italia",
        "contained_within": [],
        "bounding_box": {
            "type": "Polygon",
            "coordinates": [
                [
                    [
                        9.040628,
                        45.3867262
                    ],
                    [
                        9.2780451,
                        45.3867262
                    ],
                    [
                        9.2780451,
                        45.5359644
                    ],
                    [
                        9.040628,
                        45.5359644
                    ]
                ]
            ]
        },
        "attributes": {}
    },
    "contributors": null,
    "is_quote_status": false,
    "retweet_count": 0,
    "favorite_count": 0,
    "entities": {
        "hashtags": [],
        "symbols": [],
        "user_mentions": [],
        "urls": []
    },
    "favorited": false,
    "retweeted": false,
    "lang": "en"
}


103 search through projects

closes #103
It is all working please check and merge.

Looks good and seems to be working. We might need to update the design later but the functionality is good!


[Bug Report] semaphore-style spinlock causes kernel hang

Describe the bug
I took the semaphore_set and semaphore_wait code (implemented as pointer dereferences and do-while wait loops), implemented them to wait for a DRAM read (BRISC), then print the contents of that DRAM read from TRISC1. BRISC sets the semaphore to 0x1 when the read finishes, TRISC sets the semaphore to 0x2 when the print finishes. The TRISC is waiting for the 0x1 signal before printing. The BRISC waits for the 0x2 signal before exiting. Sometimes this works perfectly, sometimes it hangs the card.
To Reproduce
Compile and run the host and kernel code.
code is in this discord thread:
https://discord.com/channels/863154240319258674/1283846118085628028
Expected behavior
Should execute without issues.
Please complete the following environment information:

OS: Ubuntu 20.04.6 LTS
commit hash: ba49ed5729c4e74d07f969f1a4e4261846379929

Wondering if simple NOPs in the spinlock cycle will fix the issues.

Added NOPs and -O0 compile flag just to be sure and still get random kernel hang.

fyi @pgkeller this is a P0 bug.

@aebarthyi sorry for the delay on this.  questions/comments:

The commit posted is from January.  Metal has changed dramatically since then including many fixes to the memory map and sync code that might relate to this (the old code could have corruption affecting the results).  Can you try a recent commit?
Lacking that, we need more info to try to reproduce this on our end.  I see the kernels on the discord channel, do you have the host code?  We could try to reconstruct, but, then, it wouldn't be apples to apples.

Thanks.

I can try to move it to a more recent commit this weekend, I will add the host code here as well.

spinlock.txt util.txt spinlock.cpp - Host code util.h - Host helper funcs

Great, thanks.  Keep us posted, if this is still an issue we'll pick it up Monday.

spinlock.txt util.txt spinlock.cpp - Host code util.h - Host helper funcs

Great, thanks. Keep us posted, if this is still an issue we'll pick it up Monday.

Oops, Tues, Mon is a holiday...

checking to see if this was reproduced w/ a recent commit

checking to see if this was reproduced w/ a recent commit

I should have said: @aebarthyi does this still reproduce w/ a recent commit?  thanks

Still working on bringing build script up for newer commit - compiler complaining about missing  using clang-17

Lowering Priority on this ticket from P0 to P1.


optional password

I wanna add a password feature to invites. Currently anyone with your invite code can control your computer.
when you create an invite it should ask if you wanna password protect it
if you choose yes, you have to enter a password.
we then use the password to AES encrypt the SDP before it gets uploaded to the lobby
If you don't specify a password you should a clear warning like 'Anyone with this room name will be able to join and see your screen'

I feel like a passwordless design would work nicely here.
Instead of generating a room with a random name, here is the process:

Generate securely random 256-bit secret stored on disk upon first installation
When sharing your screen, “Who do you want to give your computer access? [email input]”
Input email address, click “Send”
Generate a JWT containing the email address, secured with the installation secret, have the website send a secure email with a link to the website and the JWT as a query parameter
The website sends the JWT to the host during signaling, and the host verifies the JWT
The guest and the host start communicating directly (unless the JWT's signature was invalid)

If the host gets a JWT that it verified, it knows that it generated it, so that it could only come from the email account whose address is in the JWT.
This design would be safer than user-generated passwords, the two most sensitive points being:

the initial generated secret stored on-disk. However, if that is accessible to a malevolent party, that party can already control your computer, so it is useless to them.
the website. Obviously, if the server gets hacked, it can skip sending the email, and tell the host that the email account holder correctly proved that it controls the email account, even though that is not true.


Google Maps: iOS frame rate constantly at 30fps

Hi there,
I am noticing a low frame rate when using the GoogleMap Widget on iOS (no problems on Android). I've tested the performance in profile mode and noticed very sluggish animations & page transitions when exiting the page that contains the map widget. DevTools show that the frame rate caps at 30fps if the Widget is present on the current page.
Is this a known issue & is there a fix?
Thanks!

Hi @carlowenig
can you please provide your flutter doctor -v and flutter run --profile --verbose?
Also, to better address the issue, would be helpful if you could post a minimal code sample to reproduce the problem
Thank you

Thanks for the response.
I fixed it now. It seemed to be an issue with a FadeTransition-Widget on the same page, not with the GoogleMap-Widget.


Missing openssl?

mitmanek:systemd $ podman ps
CONTAINER ID  IMAGE                                                                               COMMAND               CREATED       STATUS       PORTS                                                                             NAMES
ed06ab80d466  registry.opensuse.org/opensuse/dovecot:latest                                       /usr/sbin/dovecot...  19 hours ago  Up 19 hours  <IP_ADDRESS>:1143->143/tcp                                                             dovecot
mitmanek:systemd $ podman run -it dovecot /bin/sh
useradd: warning: the home directory /var/spool/vmail already exists.
useradd: Not copying any file from skel directory into it.
Add TLS config...
No CA cert file found, generating one
Generating private CA key...
/common-scripts/ssl-helper: line 29: openssl: command not found
chmod: /etc/certs/dovecot-ca.key: No such file or directory
Generating CA certificate...
/common-scripts/ssl-helper: line 34: openssl: command not found
No certificate file and certificate key provided, generate:
/etc/certs/dovecot-tls.crt and /etc/certs/dovecot-tls.key
Generating certificate key...
/common-scripts/ssl-helper: line 67: openssl: command not found
Generating sign request...
/common-scripts/ssl-helper: line 69: openssl: command not found
Generating certificate...
/common-scripts/ssl-helper: line 74: openssl: command not found
/entrypoint.sh: line 261: openssl: command not found
chmod: /etc/certs/dovecot-dhparam.pem: No such file or directory
Enforce TLS...
Updating certificate store...
#

Is this right?

Yes, openssl was  missing in dovecot, fixed.


add USIntervention date file

Jira Ticket: https://occ-data.atlassian.net/secure/RapidBoard.jspa?rapidView=1&projectKey=COV&modal=detail&selectedIssue=COV-815&assignee=5bedb7bbe17eda2b3fdd0270

New Features
Breaking Changes
Bug Fixes
Add intervention (lock down) dates for all the counties in US. If the county doesn't lock down, code the lock down date as 'NA'
Improvements
Dependency updates
Deployment changes

included in https://github.com/uc-cdis/covid19model/commit/086f755d4bc9cfddd9b26c8e2830789282fdcab1


Not able to run fzf with tmux run-shell

Checklist

[X] I have read through the manual page (man fzf)
[X] I have searched through the existing issues
[X] For bug reports, I have checked if the bug is reproducible in the latest version of fzf

Output of fzf --version
0.55.0 (brew)
OS

[ ] Linux
[X] macOS
[ ] Windows
[ ] Etc.

Shell

[ ] bash
[X] zsh
[ ] fish

Problem / Steps to reproduce
Hello,
I have the following simplified version of my script, which runs just fine when I run it from shell directly /bin/sh $HOME/test.sh within a tmux session or outside of tmux. However, when I try to run it as tmux run-shell "$HOME/test.sh" it fails with error code 2.
test.sh
#!/bin/bash

run() {
  delx_() {
    ans=$(echo -e "Yes\nNo" | fzf)
    if [ "$ans" == "Yes" ]; then
      echo "Yes $1"
    else
      echo "No $1"
    fi
  }
  export -f delx_
  del_bind="del:become:(delx_ {})"
  binds=" --bind \"$del_bind\""
  fzf_cmd="fzf --no-tmux $binds "

  shell=$(which bash)
  ls | SHELL="$shell" eval "$fzf_cmd"
}

run

I can't change the --no-tmux to --tmux as that starts to throw error 127 and causes fzf to not recognize the exported function as a bash command, however setting --no-tmux does not play nicely when the script is invoked from tmux with run-shell command.
I eventually want to map this script to a keybinding in tmux, so that I run it quickly, but I am not sure why it is failing, so something like this bind M-m run-shell '"$HOME/test.sh"'.
I tested this both tmux version 3.4 and 3.5 and got the same error, so I guess there is something wrong with what I am doing but I am not a shell wizard, so not sure if I am missing something obvious here ?

tmux run-shell runs the process in the background, so it won't work with interactive programs.
tmux run-shell top # hangs
tmux run-shell vim # fails

So you have to use --tmux option to start fzf in a tmux popup (or use the legacy fzf-tmux to open in a tmux pane).

causes fzf to not recognize the exported function as a bash command

You might be running into #4001. Try building fzf from the latest source and see if it helps.

@junegunn thanks for the info. Any eta when this will be released as part of the stable release ?

No particular plan for now.

I think it seems to fix the issue of bash functions not being exported with --tmux.

So with the binary built from the source, does run-shell with --tmux work for you?

Not the run-shell but the issue wrt to bash exported functions not recognised seems to be fixed.

Not the run-shell

Any idea why it's still not working for you? It works fine on my system.
tmux run-shell 'seq 100 | fzf --tmux bottom'


Descend from alps (typespec apiview)

]

API change check
APIView has identified API level changes in this PR and created following API reviews.
Microsoft.ManagedCcf


Is there a way to get table response or metadata only to list k8s resource from k8sclientset?

I'm trying to fetch all the cm/secrets name/metadata in a k8s cluster,
For this I'm using clientset.CoreV1().ConfigMaps("").List(context.TODO(), metav1.ListOptions{}) but the response for this call is list of configmap with data field.
Issue:
As configmap and secrets data size is close to half MB, the memory footprint is too high for this api-call,
Expectation:
I wanted to know if there is a way or plan to support light calls like fetching the metadata or get tabular response same as kubectl get command?

The metadata client (https://github.com/kubernetes/client-go/tree/master/metadata) can be used to select just the metadata stanza of objects.


feat: retry invalid/expired refs

Resolves: #333
Description
This PR adds a retry mechanism when a RefNotFoundError or RefExpiredError is thrown in a query method. The client will retry a maximum of 3 times before throwing.
A warning is logged when retrying:
"The ref (xxx) was expired. Now retrying with the latest master ref (yyy). If you were previewing content, the response will not include draft content."

This PR also clears the /api/v2 value cached for 5s when we know a stale value is saved. This prevents a small edge case where calls within 5s would have all failed if the ref was invalid or expired.
Checklist

[x] If my changes require tests, I added them.
[x] If my changes affect backward compatibility, it has been discussed.
[ ] If my changes require an update to the CONTRIBUTING.md guide, I updated it.

Preview

There are no changes to existing code. Queries appear as before.
How to QA [^1]

See the tests.

[^1]:
Please use these labels when submitting a review:
:question: #ask: Ask a question.
:bulb: #idea: Suggest an idea.
:warning: #issue: Strongly suggest a change.
:tada: #nice: Share a compliment.

@lihbr I made the following changes:

Retries are limited to 3 attempts.
The cached repository value is cleared when we know a stale /api/v2 was used.
Added tests for those cases.

You can see the changes here: https://github.com/prismicio/prismic-client/pull/356/files/d10ebe6d8fe3f5d5461e3e565d8d4c93370e60ba..f3ae551cd9da9dee493971db58c8c4f003f8ee87?diff=split&w=1

It would be AWESOME if this could also bypass the cache in the retry if the ref is expired. It has caused so much pain in my NextJS projects where websites suddenly start to "crash" due to this issue.
I was deploying a new version of a site and all of the pages started crashing cause Vercel stores cached data between deployments. I had to delete all the cache manually.


Directory structure change for App Engine standard/flexible.

This changes app_engine to app_engine/standard and managed_vms to app_engine/flexible.

+1 on the change, but can we just use appengine instead of app_engine?

Something is wrong. I will close this and re open a new one.


OCPBUGS-23342: Add dummy Progressing condition on blocked driver install

When CSI driver installation is blocked, e.g. because upstream CSI driver is installed, add a dummy Progressing condition
to ClusterCSIDriver. Because without any *Progressing condition, CSO will default to Progressing=True and the whole storage will be Progressing=True forever.
@openshift/storage

monitor test pod-network-avalibility setup flaked
/test e2e-vsphere-ovn-upgrade

/retest
node-driver-registrar on one of the nodes crashlooped. I checked that the CSI driver has gracefully stopped and a new one did not start for 2 minutes, making the registrar to crash. I did no check if it was the reason for all 21 crashes that the test reported.
https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_vmware-vsphere-csi-driver-operator/191/pull-ci-openshift-vmware-vsphere-csi-driver-operator-master-e2e-vsphere-ovn-upgrade/1728052919644721152

/retest

/test e2e-vsphere-ovn-upgrade

/retest

The e2e-vsphere-csi-extended test 2 failed cases could be ignored, 1 is a flake of debug node, 1 is caused by after the driver rebase create intree provisioner with allowVolumeExpandsion: true become allowed since it support migrated volumes resize. I fixed it in https://github.com/openshift/openshift-tests-private/pull/13085 .

/lgtm

/lgtm

/cherry-pick release-4.14


Run Flow: Error location services are required

As put in the note: "You may receive an error stating that location services are required. If this happens, please allow location services to Power Automate and refresh the page before trying again."
I'm facing the same problem, but sorry I'm not able to allow location services to PA, could you please share the steps to be covered in order to setup this attribute?
Thanks & regards,
Ale

duplicated


UPDATE BADGE REQUEST [DFA R0dn3yS#2244]

What is your Discord Tag?
DFA R0dn3yS 2244
What is your UID (User ID)?
325254775828512778
What is the image for the badge that you want? Please make sure that the image is hosted on a trusted domain, such as i.imgur or cdn.discordapp.
https://i.imgur.com/M4NrT4r.png
Additional Confirmation:

[x] My badge does not contain any NSFW material.
[x] My badge is not a badge that signifies that I am an official developer / staff for Discord or client mod communities.

done! sorry it took so long lol


Logging for WASM httpCall

I had some difficulties troubleshooting a WASM filter that made an httpCall.  I needed some simple logging to see what my AssemblyScript was doing incorrectly.  This is my first contribution to this repo.
Commit Message: Logging for WASM httpCall
Additional Description: When writing filters in AssemblyScript it is easy to make coding mistakes.  Envoy will return WasmResult::BadArgument but it isn't easy to know which argument is the problem.  My code had two mistakes and these log messages helped me find them.
Risk Level: Low
Testing: I tested this manually, in Istio, building a Docker image using https://github.com/istio/proxy containing an Envoy with these changes and then manually inspected the logs while troubleshooting my WASM filter.
Docs Changes: N/A
Release Notes: N/A

@PiotrSikora I may need advice on how to get past the coverage warning.
I wrote no test cases.  My guess is that the code coverage went down because the new logging lines are not exercised by any tests that try to create invalid httpCall()s to trigger the new lines.  I can't figure out how to see the coverage report, though.

@PiotrSikora should I attempt to rebase and keep this in sync, or is this unlikely to make it into Envoy-WASM?


improve semantics of utility function in cli/command/service

Signed-off-by: Gaetan de Villele<EMAIL_ADDRESS>- What I did
I changed the signature of the addServiceFlags function in cli/command/service/opts.go
I replaced the *cobra.Command param by a *pflag.FlagSet param, as the function doesn't need a cobra.Command struct. This makes it more "reusable", IMO.
🐨

ping @dnephin ptal

Thank you 🙂
What about the ppc build that failed? (Timeout)


badge in toolbar

Hi is there a way that I can create a badge in my toolbar actions icon?
I'm building in android and want to build a cart system
Thanks

It has the same feature set as ToolbarAndroid, so unfortunately not. You'd have to request this feature in the react native core repo instead.

For anyone interest, I just uploaded a NPM package to achieve this:
https://github.com/Benjamin-Dobell/react-native-android-toolbar-badge


tf.keras.layers.Conv1DTranspose ?

This is somewhat related to the issue #8729, which is already solved.
In the issue, tf.nn.conv1d_transpose was requested and implemented in the end.
But the corresponding function in tf.layers or tf.keras is missing.
In other words, there's no function like tf.layers.conv1d_transpose, tf.keras.layers.Conv1DTranspose.
Can you please implement it?
Since there's already tf.nn.conv1d_transpose, I guess it doesn't take so much time to implement it.

This is already implemented.
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/keras/layers/convolutional.py

Thank you for your response.
But could you tell me in which branch and file we can find the function
tf.keras.layers.Conv1D?
I can't find it in the file you said.

Oh it seems that we only have 2dtranspose, but not 1dtranspose.

Any updates so far?

Since TensorFlow already has tf.nn.conv1d_transpose, it should be easy to implement tf.keras.Conv1DTranspose.

It is really weird to not to have Conv1DTransposed in TF.
I feel like I am able to turn right 90 degrees, but not left. Yes, this is not a huge problem because you can always turn right 3 times, but why?
Anyway, this is what I use and I hope it'll help someone
class Conv1DTranspose(tf.keras.layers.Layer):
    def __init__(self, filters, kernel_size, strides=1, padding='valid'):
        super().__init__()
        self.conv2dtranspose = tf.keras.layers.Conv2DTranspose(
          filters, (kernel_size, 1), (strides, 1), padding
        )

    def call(self, x):
        x = tf.expand_dims(x, axis=2)
        x = self.conv2dtranspose(x)
        x = tf.squeeze(x, axis=2)
        return x

even just for symmetry reasons - Conv1DTranspose needs to find it's way in the Keras API.
It has been requested already (see #6724) but denied as it can't be reduced to a Conv2DTranspose which is already implemented. But if we keep that reasoning, why do we need Conv1D, Conv2D if all of them can be replaced with a Conv3D.
And let`s face it Conv1DTranspose is not that exotic, that everyone who needs it, should be forced to implement it's own version.
Could it be, that Conv1DTranspose is not here, because it is not in the original Keras API? Should we report the issue there first, and wait until it finds it's way back to TF?

Somehow this falls outside of my radar. I will make this done today.

This is fixed and should be available in tf-nightly tomorrow. Closing it.

Thank you @tanzhenyu - that was really quick!
P.S. I guess it also resolves #29157

Thank you @tanzhenyu - that was really quick!
P.S. I guess it also resolves #29157

Yeah, resolving that too. Thanks

Hi @tanzhenyu
I have got this error while running 'Conv1DTranspose':
AttributeError: module 'tensorflow.keras.layers' has no attribute 'Conv1DTranspose'
while in TensorFlow documentation, this has been implemented. Could you please guide me on this?

I met the same problem when using 'Timeseries anomaly detection using an Autoencoder' from Kerashttps://keras.io/examples/timeseries/timeseries_anomaly_detection/. And I find that Tensorflow>=2.30 add the Conv1DTranspose, https://tensorflow.google.cn/versions/r2.3/api_docs/python/tf/keras/layers/Conv1DTranspose.


Prepare rollout isOnV2

Migrate Dust workspace on v2 (and local environments).
We hardcode the sids of the rolled out workspaces on V2_ROLLED_OUT_WORKSPACES.

Let's point settings to assistants manager once rolled out instead of data sources?
Done! 🙏🏻


Will it be possible to speed up tests?

During R CMD check  running tests is slow on a system that has 8GB RAM and 13GB virtual memory
   Examples with CPU (user + system) or elapsed time > 5s
                  user system elapsed
   calculateJSD 767.19   1.78  799.25

Maybe reducing test data inside tests can speed up the calculations or the calculations itself can be made faster?

Hi Sudarshan @microsud
on three of the machines I have access to this takes about 5-10sec on a single core. Therefore, I am quite sure, that the times given above are exaggerated at best.
However, I am not saying performance cannot be improved, but with such a low run time to start with, it is probably not a high priority and worth our time at this moment.
If you can provide additional benchmarks proving your point, we of course continue investigating.
Felix

It seems an issue with my system. Time for clean up :expressionless:

Hi Sudarshan @microsud ,
did you by any chance test this on R 4.0.3? I just did upgrade one machine and this is taking now a bit longer. Thanks for feedback.
Felix

Yes I am working with R 4.0.3

Yeah somehow there was a speed bump, which actually make me come up with serious improvement in the whole thing. Fix is on its way


Add my personal instance

just so i dont have to readd it when i update to newer versions of this

bro that took 2 seconds lfmao


Moving issues into ideas.md when they are not bugfixes.

I'd like to be able to access issues which aren't conversations with users to a file in the repository itself, so I'm moving them to ideas.md. I know I just changed that: but that's because I didn't predict that scenario, sorry.
Obviously if the issue is more of a conversation then I'll leave them up.

Also I'm deleting issues that won't have future value: so if it's not something that we fixed, but a feature we've added then it doesn't need to be logged.

So decisions like removing scripting I'll add to a Software Philosophy heading in the ideas.md.


FIX: Rename LICENSE to LICENSE.md

The .md portion didn't merge or I accidently forgot it. It is added now as a quick fix.

This License was already approved and merged. It was simply missing the .md to the file name. The only repos I am having problems on are the belindas-closet-android and nsc-events-android repos.


App not showing up in list of broadcasting applications

Description
I am trying to integrate Twilio directly with my app and use the screenshare feature. My App is not showing up in the list of broadcasting applications when I click on RPSystemBroadcastPickerView
Steps to Reproduce
I've mimicked exactly the same thing that the Twilio Broadcast Sample App has done.

I've created a new sample project
I created an extension by going to file > new > target > broadcast upload extension
In the view controller of the first presented view I added:

let broadcastPickerView = RPSystemBroadcastPickerView(frame: CGRect(x: 50, y: 100, width: 51, height: 51))
        view.addSubview(broadcastPickerView)

When I run my application, and click on the RPSystemBroadcastPickerView -- my app does not show up in this list. I'm at a loss because even if I take the Twilio app and strip it down to the bare bones, the app still shows up in the Broadcast Apps list.

Expected Behavior
My application should show up in this list of apps
Actual Behavior
My app is not present.
Reproduces How Often
100%
Logs
Debug level logs are helpful when investigating issues. To enable debug level logging, add the following code to your application:
TwilioVideoSDK.setLogLevel(.debug)

// Log output when the issue occurs

Xcode
12.5.1
iOS Version
14.4.2
iOS Device
iPad pro 11 inch

Odd. I am trying on another device and it shows up. It's not showing up on this specific device for some reason. I'm at a loss.

Hi @samitaha2,
This might be related to something about the first run experience when you debug an app with a broadcast extension. I'm not sure what to make of it either.
Best,
Chris


operation chdir parameter not accepting dynamic value

Describe the bug
Using a dynamic value in the chdir parameter is not working.
To Reproduce
create an inventory with multiple hosts
servers = [
'a.domain.com,
'b.domain.com,
'c.domain.com',
]
from pyinfra import host
from pyinfra.operations import server
server.shell(
chdir=f"/var/www/{host.name}",
commands=f"echo Hello {host.name}!"
)
the command is created correctly, the chdir parameter seems to by fixed after the first execution
Expected behavior
The chdir parameter should accept a dynamic value
Meta
Was working with v1.1.2, broken since v1.2.

@christian-thieme this is a side-effect of making chdir a global argument. I think this perfectly highlights the need for the global arguments to work on a per host, rather than per-operation, level 👍.

This has now been implemented in https://github.com/Fizzadar/pyinfra/commit/895bd023faf661a167dff960f567b1e4b229060a and released in v1.3!


[Bug]: RemixRoute (Safari 14) undefined is not an object (evaluating 'routeModules[id]')

Which Remix packages are impacted?

[X] remix (Remix core)

What version of Remix are you using?
1.1.3
What version of Node are you using? Minimum supported version is 14.
14 & 16
Steps to Reproduce

$ npx create-remix@latest
Chose express, typescript
Install
run $ npm run dev and $ npm run start:dev
Open in safari 14.1.1 (Mac Big Sur)

Note: Works fine in Safari 15 (Mac Monterey)
Expected Behavior
It loads as expected
Actual Behavior

Get above error

Note: Works fine in Safari 15 (Mac Monterey), Only issue on Safari 14 and below

Did you ever figure this out? I'm seeing the same error on Safari 15.4 as well

Sorry no, I had to avoid remix for now because of this :(
On Wed, 18 May 2022 at 9:10 PM Sridatta Thatipamala <
@.***> wrote:

Did you ever figure this out? I'm seeing the same error on Safari 15.4 as
well
—
Reply to this email directly, view it on GitHub
https://github.com/remix-run/remix/issues/1747#issuecomment-1130487796,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACWQ4K5ZSZCKPUXPQOFLDHTVKVFENANCNFSM5NHOBFAA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Hey,
Cheers,
\drew

@sridatta Sorry no, I had to avoid remix for now because of this :(

@dr3 Too bad. I'm pretty sure the error is happening before the 'undefined' error, which is more a symptom of the root cause.
Feel free to reach out if you would like assistance in debugging this issue.

This issue appears to have resolved itself 🎉 Cant reproduce in prod/dev mode on Safari 14


[Bug] SB v7 docs broken without storyStoreV7

What version of vite are you using?
3.0.0
System info and storybook versions
System:
OS: macOS 12.5.1
CPU: (10) arm64 Apple M1 Pro
Binaries:
Node: 16.15.0 - /usr/local/bin/node
Yarn: 1.22.17 - /opt/homebrew/bin/yarn
npm: 8.5.5 - /usr/local/bin/npm
Browsers:
Chrome: 105.0.5195.52
Firefox: 104.0.1
Safari: 15.6.1
npmPackages:
@storybook/addon-a11y: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/addon-actions: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/addon-backgrounds: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/addon-docs: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/addon-essentials: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/addon-highlight: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/addon-interactions: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/addon-measure: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/addon-outline: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/addons: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/api: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/channel-postmessage: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/channel-websocket: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/cli: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/client-api: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/client-logger: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/components: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/core-client: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/core-events: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/preview-web: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/react: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/react-vite: ^7.0.0-alpha.28 => 7.0.0-alpha.28
@storybook/testing-library: ^0.0.13 => 0.0.13
@storybook/theming: ^7.0.0-alpha.28 => 7.0.0-alpha.28
Describe the Bug
This is for a pnpm monorepo project migrating from 7.0.0-alpha.10 webpack React to 7.0.0-alpha.28 with the Vite framework. I have storyStoreV7 set to false due to TypeError: Failed to fetch error. Everything is working great using the Vite framework except for the new Docs pages that are now on the sidebar with the stories:

I've tried removing addons, tweaking any configuration but nothing seems to help. Any suggestions?
Link to Minimal Reproducible Example
No response
Participation

[ ] I am willing to submit a pull request for this issue.

Thanks for reporting this.  I don't see @storybook/builder-vite in the list of dependencies you listed out above.  What version are you using?

Ah, you're right.  I'm still getting used to this myself.  :-D
I don't suppose you'd be able to share a minimal reproduction, would you?  I'd love to figure out what's going on, and I haven't seen this before.
Until then, what does your .storybook/main.js look like?  Particularly the stories.

Nevermind, I can see it myself when disabling storyStoreV7.  Thanks again for reporting!

My pleasure! Thanks for the quick response. I might report the TypeError: Failed to fetch error with storyStoreV7 set to true on Storybook's side as it happens for both Webpack and Vite versions.

Please do!  You'll definitely want to use storyStoreV7, especially with Vite, so we should be sure to get that fixed.
@tmeasday There's an issue here with the V6 store that I could use your help in troubleshooting.  It reproduces in a new vite storybook project when disabling storyStoreV7.

Thanks folks! PR here: https://github.com/storybookjs/storybook/pull/19127

@Niznikr can you try upgrading to the latest 7.0 alpha and confirm that your issue is solved?  I'm going to close this in the meantime, but let us know if you're still having trouble.  Thanks!

That fixed it thanks!


Configure location of the temporary files

Is it possible to configure the location of the temporary files / compiled assemblies? It would be useful to be able to do this for apps that already manage their own temporary file store.

Currently it is not a PR is welcome ;)

Pull request has been issued for this feature.

Is this still a thing? I'm also looking to change the temp file path...

I need it too... I think I cant resolve my problem without change the path

@matthid is this option included in any version of the project?
thanks!


Sports Betting - My Account - Page Layout Responsive

Mobile layout:
Figma link
Responsive references:
Figma link

https://github.com/AugurProject/augur/issues/8873

In general looks fine. Some comments:

I'm seeing a double scroll bar on tablet breakpoint:

Can we check if notifications are showing up on mobile? Because right now seems empty to me, but I'm seeing the notifications on desktop.

Can we reduce the size we use to show page title and tabs on mobile?

Filter icon seems different (First one design, second dev)

Please, update to match design

Figma reference: https://www.figma.com/file/wogMuUDylgOHgTEYhZ3jgp/Augur-Bet-UI?node-id=4153%3A196592

Dropdown styles are incorrect. The ones applied to My created markets are ok.

Missing buttons:

Footer should be fixed to bottom:

Gray bkg should continue. Missing Apply filter button.

@yanelbottini

Missing Apply filter button.

When I created those filters, I made them generic so we could use the same component anywhere in the UI. Since it's generic, it's hard to keep of which filters were applied, that's why the filters are applying automatically when clicked instead of when we click an "Apply filters" button.
I still need to figure out the best strategy for that, so I am going to ask you create a separate ticket since it's going to demand some work.
Or we can leave it without the button since the filter process in this case is very fast and performant, as opposed to the Market List page, where we fetch a lot of data every time we click the "Apply filters" button.

Hi @bconfortin Ok. I'll check with Chwy and Matt to see what they think.
I've found some other stuff on mobile:

There seems to be a white space between notifications?
All buttons should be like the first one (Full-width)

The box containing Active markets doesn't follow the same approach than the rest of them. I mean: On notifications I only have 2 notifications and the box is as tall as those 2 notifications. While on Active Markets is full height.

Looks fine. Wonder if we can unify the style for this 2 empty states. One has a box, while the other doesn't. Let's do whatever is simpler, but double check that all the sections within My Account (Favorites, Active Markets, Created Markets, Favs, Notifications) use the same pattern:

Can we delete the line break between "Only... To view" so it fits in  3 lines?


ClassCastException if a view uses an array as value

Caused by: java.lang.ClassCastException: com.couchbase.lite.support.LazyJsonArray cannot be cast to java.util.Map
at com.couchbase.lite.QueryRow.getDocumentId(QueryRow.java:138)
I guess it should be surrounded by a type check like some lines below:
https://github.com/couchbase/couchbase-lite-java-core/blob/master/src/main/java/com/couchbase/lite/QueryRow.java#L171

@saubaer Thank you for your suggestion!


Parsing protobuf etcdv3 keys

Hello,
I am having troubles parsing keys from ETCDv3 to get the endpoints of Kubernetes api servers.
I understood that Kubernetes now stores keys in etcd3 in protobuf format, therefore when I extract the keys with confd, I obtain something like:
[test]
data = k8s

v1      Endpointss
O

kubernetesdefault"*$f261a458-398f-11e8-ba0a-0cc47a7451282���z

        <IP_ADDRESS>
https�2TCP"

This is the result this simple configuration:
confd -onetime -backend etcdv3 -node http://<IP_ADDRESS>:2379
src = "test.conf.tmpl"
dest = "/tmp/test.conf"
keys = [
    "/registry/services/endpoints/default/kubernetes",
]

and
data = {{ get "/registry/services/endpoints/default/kubernetes"}}

Is there any way this problem can be overcome or we need to rely on custom scripting (which is a bad solution in general)?

I think it would be an antipattern to rely on the internal format used by Kubernetes in Etcd. There is an open PR with the new backend specifically for Kubernetes, it's not merged though, but you can still check it out by building it from source. #649

Ye, I can see that point. Etcd2 though has been deprecated since k8s 1.9 and soon will be removed. This basically means that confd will not be natively usable in k8s environments soon.
Am I correct?

applications should use external interfaces instead of internal storage


Update: [CellarTracker RTD] Show example display when credentials are missing

Description
Show some example display content when credentials are missing so the Tidbyt mobile app will have a meaningful preview.
Copilot

🤖 Generated by Copilot at da19102
Summary
🍷🧹🚀

Refactor CellarTracker app code to use render_widgets function and improve no-credentials message.

render_widgets /
Makes a wine glass and name /
No creds? Sad message.

Walkthrough

Define a new function render_widgets to simplify rendering wine information (link)
Use render_widgets to show a more appealing message when no credentials are found (link)
Refactor the render function to use render_widgets instead of duplicated code (link)

I have read the CLA Document and I hereby sign the CLA

Excellent, much appreciated!


SSB

This is the only function that I personally think is missing

Hi #56

I have no idea how to set it up. I have no antenna to receive such signals.

Thanks for the prompt and honest reply

New modulation and programmable button function for switching modes added. If you can confirm that it works that would be nice.
ssb.packed.bin.zip

Thanks for sending me this file.  I have installed it and all seems well
although at the moment I am stuggling to find a station TXing SSB to check
this function out.  I will try again tomorrow when hopefuly I may be able
to find a station.
Malcolm
On Thu, 2 Nov 2023 at 17:34, egzumer @.***> wrote:

New modulation and programmable button function for switching modes added.
If you can confirm that it works that would be nice.
ssb.packed.bin.zip
https://github.com/egzumer/uv-k5-firmware-custom/files/13242814/ssb.packed.bin.zip
—
Reply to this email directly, view it on GitHub
https://github.com/egzumer/uv-k5-firmware-custom/issues/64#issuecomment-1791231798,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDG36LIOIVRHRZZ62M5IMSDYCPKRBAVCNFSM6AAAAAA6V3N6ECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJRGIZTCNZZHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I have had a couple of further looks at this and the problems I am having
with SSB are probably due to my loction.  I assume that v0.16 is the
released version of this test one so I am going to flash that.
Thanks for th great work
Malcolm
On Thu, 2 Nov 2023 at 17:34, egzumer @.***> wrote:

New modulation and programmable button function for switching modes added.
If you can confirm that it works that would be nice.
ssb.packed.bin.zip
https://github.com/egzumer/uv-k5-firmware-custom/files/13242814/ssb.packed.bin.zip
—
Reply to this email directly, view it on GitHub
https://github.com/egzumer/uv-k5-firmware-custom/issues/64#issuecomment-1791231798,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDG36LIOIVRHRZZ62M5IMSDYCPKRBAVCNFSM6AAAAAA6V3N6ECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJRGIZTCNZZHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

The release have am fix disabled for ssb, should work better


Custom mediation is not enabled even after selecting a policy

Will be fixed with following PR
https://github.com/wso2/carbon-apimgt/pull/7184


Add to TSC page link to YT video that explains how to join TSC

Reason/Context

We have https://www.asyncapi.com/community/tsc
https://github.com/asyncapi/community/blob/master/CHARTER.md
https://www.youtube.com/watch?v=uG_aLF9Z1F0

but we do not have yet above converted into a clear document guide or FAQ that would explain how to become TSC member. Before we find someone who can convert YouTube presentation into a document, we should at least make YouTube video easier to access.
Description

Become a member! card should link to https://www.youtube.com/watch?v=uG_aLF9Z1F0

/gfi js

Ohh😮!! We have a process to join the TSC committee as well. I come to know now regarding this.

Well, I will recommend writing a whole document (either in md or in jsx) from the Youtube video presentation. For me, the audio of the Youtube video seems to be very low there. I had to work harder to hear your explanation clearly. Thus, I came to the conclusion that we should have a document regarding joining the TSC committee (it may help me as well 😊).

Well, if we come up with the solution to add only the Youtube video link, I will prefer to add an embed of the Youtube video instead of a link. With this, viewers will see the video on the website only.  Also, we need an extra paragraph at the end, so to provide links to the user to start contributing to the organization along with a Slack workspace Link to connect with other community members.
Here's the embed code of the Youtube video:
<iframe width="560" height="315" src="https://www.youtube.com/embed/uG_aLF9Z1F0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Hi @derberg is this issue still open, will love to jump on it.

@Nelson-Chinedu yes, sorry for keeping you waiting

I can help in making the video into a document @derberg

@starlightknown OMG, you will be my hero 🙏

@starlightknown need any help with this issue? Where did you reach?

@starlightknown need any help with this issue? Where did you reach?

sorry kind of lost this one. I made a google doc for this listing all the steps to become a TSC. I wasn't sure where should I add the md file of it

@starlightknown need any help with this issue? Where did you reach?

sorry kind of lost this one. I made a google doc for this listing all the steps to become a TSC. I wasn't sure where should I add the md file of it

That's okay. I am working on a new one. Thanks.

hi can I work on this issue ?

@Jitulteron7 it is already handled by @Dindihub in this PR first -> https://github.com/asyncapi/community/pull/449/files

@derberg why this is one is not closed?

@toukirkhan it is because it is still in progress. The PR with instruction in community repo is not yet merged

@derberg okay!!

Whoever wants to pick this up. The PR can be opened as the document where link should point is there already -> https://github.com/asyncapi/community/blob/master/TSC_MEMBERSHIP.md

Hello 🙋♂, can I work on this issue?

@Anurag607 please 🙏

is this okay?


Update mrtk-porting-guide.md

loc header

Docs Build status updates of commit fa3d0b1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/mrtk-porting-guide.md
:white_check_mark:Succeeded
View

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


Signup Endpoint

This solves issue #16

@delphine-boke is this ready for review?

Closing this in favour of #30


Ubuntu WSL: update and improve Install Ubuntu on WSL2 guide

Update the following guide:
Install Ubuntu on WSL2
Background
This Ubuntu WSL guide explains multiple ways to install Ubuntu WSL on a Windows device.
There are some quick improvements that can be made to the guide:

The latest Ubuntu LTS (24.04) should be referenced instead of any older versions where possible.
The tutorial is about installing Ubuntu on WSL, not only installing WSL, and this should be more clearly stated in What You Will Learn.
There is a reference to running "a graphical application" at the end of the tutorial but it is not clear what application (if any) is being referred to. This reference should be clarified or removed.
Syntax highlighting for CLI commands might not correspond to the user's CLI experience and should be removed by labelling markdown code blocks as text (rather than powershell or bash).

You are welcome to highlight any other small issues that you observe and suggest changes.
Prerequisites
Access to a Windows machine and a familiarity with WSL would be helpful for understanding the content and testing any commands.
The specific issues outlined above can be addressed without significant experience of WSL or access to a Windows machine.

Happy to do it this week/weekend (actually need to switch to WSL instead of dual-booting :)

@edibotopic The PR is a minimal edit to address your issue description. Feels like maybe the text was first planned to be a more complete/ less formal tutorial but got quickly published as a guide. Let me know if you think it should get expanded/revised further.

That's great @krzysiekwie . I appreciate the quick work on this. I think you might be right about the confusion between tutorial and guide also. I will have a look at what you submitted ASAP and get back to you with any comments. Thanks again!


FIX-#768: compress store, T > 4 bytes, ssse3.

as_int() for non-aggregated top_bits. We just need it
couple of uniform ptr operations in detail to make our life easier.
removed slide left masking. It's not doing anything.
utilised some of the main tricks from SIMD.JSON compress store: https://gist.github.com/aqrit/6e73ca6ff52f72a2b121d584745f89f3#file-despace-cpp-L141

Tricks used:

Last element can be always written
We can shift_left by 1 and blend to get rid of 1 element before that (only did it for 2 elements) in order to not do masks.
For 4 elements we only need to store 9 masks. (we can get away with 2 by using previous trick, but I figured 9 masks is not too bad).
We can shuffle with extra bits on top
I store the popcount in the mask.

Storing popcount is not a given that a win, but before sse4.2 the popcount is a mutli instruction disaster: https://godbolt.org/z/1vqjd5qx9

The only thing burrowed from simdjson was the fast whitespace detection.
simdjson implementation burrows a bit from me... originally they were using a 1 MiB table.
Now they are done to 2 KiB table with another 272 bytes for "combine" table.
https://github.com/simdjson/simdjson/blob/95b4870e20be5f97d9dcf63b23b1c6f520c366c1/include/simdjson/westmere/simd.h#L119
The combine table is a bit of a question mark... there are pshufb tricks to avoid it.
InstLatx64 supposedly developed the fastest version, but I don't know if they ever made it available.
https://github.com/InstLatx64/AVX512_VPCOMPRESSB_Emu

@aqrit
We do not support the avx-512 bmi, so that's not for us.
Do you maybe want to implement compress_store for eve? Or review it?
I'm happy to help you set up.
I just used bmi version before but it was horrible on amd.

This thin_table does not seem terribly thin to me
https://github.com/simdjson/simdjson/blob/95b4870e20be5f97d9dcf63b23b1c6f520c366c1/src/internal/simdprune_tables.cpp#L39
If we were only focused on really big chunks, maybe, but we are not.


Xcode compile error in FactoryKey.init(type:key:) due to use of @inlinable

Using Factory version 2.3.1 and Xcode 15.2. produces a compiler error.
Cause of the error is probably the use of the build setting "BUILD_LIBRARY_FOR_DISTRIBUTION".

It might be related to the use of @inlinable, see this discussion: https://github.com/grpc/grpc-swift/issues/1063#issuecomment-785727051

Updated converting key to an internal type. Please try branch again.

Inlines removed and key internal in 2.3.2


[Dropdown] Purely cosmetic dropdown?

First of all, I'm new to Semantic so my apologies if I'm missing something obvious.
For the past hour I've been trying to create a dropdown login form using Semantic UI but I just can't get it to work properly. So far I haven't found any way to create a dropdown that is purely for cosmetic purposes. Because I'm trying to include a form in the dropdown, I'd like it to not close the menu when clicking inside of it so the user can give input. I'd also like the dropdown's content to be unselectable and only close when clicking it again or when clicking anywhere outside it's content. Is there any way to achieve this using Semantic?

Maybe an accordion menu with one item would do the job. http://semantic-ui.com/modules/accordion.html#accordion-menu

@ivantcholakov Thanks for your response, but unfortunately this is not an option as an accordion can't be nested inside a menu (or can it?)

I found, an accordion menu can be nested within an accordion menu again. But I don't know whether it would be suitable for your case.

The solution to my problem was simple actually. I solved it by using a popup module. http://semantic-ui.com/modules/popup.html#/definition


rename logging module

Simple Summary
Because the curvesim.logging module has the same name as the python logging module, an error is reported when importing curvesim. I recommend renaming it.
Motivation / Use-case
When developing based on curvesim, I found that import curvesim will report an error and cannot be run. The reason is that curvesim.logging has the same name as the python logging module. After experiments, it was found that modifying the logging module name can solve this problem.
Python 3.10.10 (main, Jun  8 2023, 14:33:30) [Clang 14.0.3 (clang-14<IP_ADDRESS>.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import curvesim
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/stan/Library/Caches/pypoetry/virtualenvs/crvusdsim-pUi1XxWR-py3.10/lib/python3.10/site-packages/curvesim/__init__.py", line 4, in <module>
    from ._order_book import order_book
  File "/Users/stan/Library/Caches/pypoetry/virtualenvs/crvusdsim-pUi1XxWR-py3.10/lib/python3.10/site-packages/curvesim/_order_book/__init__.py", line 6, in <module>
    import matplotlib.pyplot as plt
  File "/Users/stan/Library/Caches/pypoetry/virtualenvs/crvusdsim-pUi1XxWR-py3.10/lib/python3.10/site-packages/matplotlib/__init__.py", line 145, in <module>
    import logging
  File "/Users/stan/workcode/curve/curvesim/curvesim/logging.py", line 7, in <module>
    import logging.config
ModuleNotFoundError: No module named 'logging.config'; 'logging' is not a package

Detailed Summary
Rename curvesim.logging module.

@0x-stan we can't replicate this error. Can you create a minimal working example?  e.g. include what's in your venv and what commands you ran first

btw, the way python namespacing works, having a module named logging in a package should not create an issue with import logging in any other module or dependent package.  The name would only create a conflict if you already did something previously in your interpreter instance to import curvesim.logging as logging (setting sys.modules['logging']) or your sys.path starts looking from inside the package.

Thanks Reply! I can not reproduce this error today. I think you are right. Maybe it was caused by an internal conflict in my sys.path. Will close this issue.


Bug

Challenge Change the Font Size of an Element has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

@CaArMo0NaA  thanks for the issue but if you get stuck with a challenge, please first ask questions to the Help Room. Hint: reread the instructions to help with your issue.

Create a second p element with the following kitty ipsum text: Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

Happy coding!


More links

Description

Checklists
General Checks

[x] the branch is up to date with main/master
[x] the code works when pulled and run locally
[x] All CI checks pass
[x] all conflicts are resolved (if any)
[x] PR has a descriptive title
[x] PR has appropriate labels and milestones for easy identification
[x] PR it is assigned to the owner
[x] reviewers are assigned
[x] the PR contributes only one focused change
[x] It is in the appropriate column in the project board (if necessary)
[x] has short and clear description
[x] is linked to an issue (if it is related)
[x] feedback is addressed (if any and if it is appropriate feedback.)

Markdown

[x] the markdown source is formatted
[x] spelling and grammar is correct in all text
[x] The markdown looks correct when you preview the file
[x] all links and images work

@samirm00 @stefan-000 : there is merge conflict. can you please check how to resolve?


docs: add logo & prepare struct

Codecov Report

Merging #69 (ecd5dab) into main (7545b1d) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head ecd5dab differs from pull request most recent head 8054147. Consider uploading reports for the commit 8054147 to get more accurate results

@@            Coverage Diff            @@
##               main      #69   +/-   ##
=========================================
  Coverage     95.00%   95.00%
  Complexity      445      445
=========================================
  Files            96       96
  Lines          1723     1723
=========================================
  Hits           1637     1637
  Misses           86       86

Flag
Coverage Δ

phpunit
95.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


Update cmake style

This PR updates the CMake script to follow the recommended style.

@lorensen It is based of the latest master.
If you have other project to convert, you could easily reuse these scripts:  https://github.com/jcfr/cmake-auto-style#cmake-auto-style


Add postpro OBB Paraview

Done in write_operator_obb_particles:

@lamarsid Documentation here: https://collab4exanbody.github.io/doc_exaDEM/project_exaDEM/Analysis.html#dump-paraview-with-obbs