Create contact us page

Is your feature request related to a problem? Please describe.
Create a contact us page.
Describe the solution you'd like
Add a contact form and also add social icons.
Describe alternatives you've considered
NA
Additional context
No response

hello i would like to work on this issue under jwoc.
can u please share the theme or wirefram about how it want to look like ?

I am interested to work on this issues under JWOC

hello i would like to work on this issue under jwoc. can u please share the theme or wirefram about how it want to look like ?

https://gdscjgec.github.io/pages/contact.html

assigned @itsshahinhere. if fails to do in the given period, will assign @khushimarothi

leave it. no need to create contact us page.


LL-5914 (AuthPass): fix some issue with navigation hooks imported outside of navigation context

(AuthPass): fix some issue with navigation hooks imported outside of navigation context
Type

Bug Fix
Context

LL-5914
Parts of the app affected / Test plan

Password lock screen should no longer crash

Maybe the best way to avoid importing the wrong version would be to remove the default export and make both Button and WrappedButton explicit exports?
Not sure this is possible with memo<BaseButtonProps> though...

i renamed the export from Button to BaseButton it should do the trick for now :+1:


 In WordPress 4.4, responsive images were added. This automatically adds source set attributes to rendered image tags in content and templates. This is a performance win. However, how we render image tag, these attributes are not added.
Alternatives Considered

Additional Context

Function wp_calculate_image_srcset
Function wp_calculate_image_sizes

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

I have created a very small POC here.
Screenshot

I did some testing in another branch. Bad news. If we use portrait  image size for image src, then we will not have source. It turns that the source set logic, tries to find images of the same aspect ratio to fill out sourcesets. As by default there are not other image with the same or even similar aspect ratio, not source sets are generated.
The other way we could get this working, is if we use the full size image as the source and generate the source sets. This would then mean that the browser can fix what it thinks is the best size image to use in these cases. In some cases, like where a square image would be better, it is likely a better size image would load.
This is a big change, let me know if you want to go a head.

Let's put this on hold.

Definitely don't want to use different aspect ratios here. For that, <picture> would need to be used.

As by default there are not other image with the same or even similar aspect ratio, not source sets are generated.

An alternative would be for us to register such additional image sizes, but I currently don't think we should do that.

Now considering going forward with the additional image size approach, maybe adding one that is half the size of 640x853
Though ideally we'd only generate the image size conditionally as there have been concerns in the past about generating too many unnecessary thumbnails.

These seems to be the only places that have image tag rendered. So not to many...
https://github.com/google/web-stories-wp/blob/37cd92a734635bd1cbb8b878f2b3df7db35d4dd9/includes/Renderer/Story/Image.php#L84-L88
https://github.com/google/web-stories-wp/blob/37cd92a734635bd1cbb8b878f2b3df7db35d4dd9/includes/Renderer/Story/Embed.php#L153-L160
https://github.com/google/web-stories-wp/blob/37cd92a734635bd1cbb8b878f2b3df7db35d4dd9/includes/Renderer/Stories/Renderer.php#L594-L601

Stories/Renderer.php is crucial because that one is used for the latest/select stories block when displaying carousels and the like.
I added the Performance label because using images that are too large is often flagged in PSI / Lighthouse.

Regarding additional image sizes:
This ticket is solely about making sure srcset and sizes work appropriately.
Any talk about actually adding new image sizes ourselves is for a separate ticket.


safe attribute access

I came across the following error:
File "/usr/local/pythons/current/lib/python3.4/site-packages/drf_haystack/generics.py", line 98, in filter_queryset
    queryset = super(HaystackGenericAPIView, self).filter_queryset(queryset)
  File "/usr/local/pythons/current/lib/python3.4/site-packages/rest_framework/generics.py", line 152, in filter_queryset
    queryset = backend().filter_queryset(self.request, queryset, self)
  File "/usr/local/pythons/current/lib/python3.4/site-packages/drf_haystack/filters.py", line 58, in filter_queryset
    applicable_filters, applicable_exclusions = self.build_filters(view, filters=self.get_request_filters(request))
  File "/usr/local/pythons/current/lib/python3.4/site-packages/drf_haystack/filters.py", line 45, in build_filters
    return query_builder.build_query(**(filters if filters else {}))
  File "/usr/local/pythons/current/lib/python3.4/site-packages/drf_haystack/query.py", line 116, in build_query
    if self.view.serializer_class.Meta.field_aliases:
AttributeError: type object 'Meta' has no attribute 'field_aliases'

In this particular case I'm using

Python 3.4
Django 1.10.7
DRF 3.6.3
Haystack 2.6.1
Happens on Ubuntu 14.04 and MacOS Sierra

I don't know what differences in environment exist or why the tests run on travis-ci don't encounter this, but I thought it would be good just to change to an attribute access method that would be safe regardless.
So instead of
if self.view.serializer_class.Meta.field_aliases:

this PR uses
if hasattr(self.view.serializer_class.Meta, 'field_aliases'):

Coverage remained the same at 92.405% when pulling 189274aa389654ee927f4b1fb5e6d6251879cec9 on jannon:safe-attribute-access into 454c1cc125d8e1a1d9953d7dd841795103856f5c on inonit:master.


It doesn't work for me

Tried it couple days ago but it generated false mails

So I tried it again today but it didn't even generate I changed the proxy and captcha solver but it didn't help.

it is stuck on that.

Hello may you provide all details on discord if this info didn’t help:
uncreated is about captcha and proxy problems not tool problem
i recommend you to use capsolver with any good proxy that doesn’t block outlook.
Thanks  , if its still not working please send full details on discord like which solver did u use , which proxy service


Fix typo

IPSec -> IPsec

@EliotSeattle
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Fixing the bug #4244 that I just reported in code.opencv.org

Fixing the problem reported in
http://code.opencv.org/issues/4244

:+1:


set default borg_ssh_command

Without a default borg_ssh_command, borg_ssh_key_* seem useless.

Not useless, since Borgmatic will use its own default. (which is fine in most cases)
You can still override the option, if you need to pass custom options.

I'm not that sure, but I could be missing something.
For example: if you only specify a custom borg_ssh_key_name, the role will use it to generate a new pair, but not for authenticating to the remote server with that public key.

That's right. If you make your own key you also need to adjust this command. We had it like this during the last big refactor.
The issue with this is that you clutter the config file for the majority of users using standard keys and need to maintain this command.

I do not agree: if I change the ssh key I'll have to remember to also change the ssh command. (You can read: human error incoming 😅).
With this simple default, instead, the role will edit it accordingly. And if a user need another custom command he can overwrite it.
However, please feel free to close the PR. I've only thought it could have been useful.

Both options aren't great. I already thought about it when someone else suggested it in the big refactoring PR.

Set both the key name and the command when using a custom key
Hard-code the SSH command and add it in the Borgmatic config for everyone


grafana deprecated http_conn_validator

Warning: The method 'Puppet::Network::HttpPool.http_instance' is deprecated. Use Puppet.runtime[:http] instead
   (file & line not available)

This is caused by the puppet-healthcheck module which uses the deprecated http_instance call in http_conn_validator, used as per:
https://github.com/voxpupuli/puppet-grafana/issues/35
We should move entirely to provisioning and drop api usage anyhoo.

Removed use of http_conn_validator altogether, and puppet-modules/healthcheck module.


Readjust batch sizes for optimal GPU usage

Might need some other adjustments like dropout layers to avoid degradation.
https://stats.stackexchange.com/questions/164876/what-is-the-trade-off-between-batch-size-and-number-of-iterations-to-train-a-neu

See wiki page.


Allow for the usage of JavaScript based Web3API's

In some cases it may be easier for developers to create a Web3API that is actually in JavaScript instead of WASM. As far as the user is concerned, it is interacted with the same way that any other Web3API is, however in the backend, JavaScript code is actually ran instead.
Since runtime code execution is not allowed, the JavaScript Web3API's must be defined on build, and not during the runtime. This means that the end-user will have to configure which JavaScript Web3API's are allowed to be used. This can be done by linking a specific URI to a JavaScript Web3API.

These are currently being referred to as "Client Plugins", and can be used with any client like so:
import { EthereumPlugin } from "ethereum-web3api-js"
import { Web3APIClient } from "@web3api/client-js"

const ethereum = new EthereumPlugin({ provider: window.web3 });

const client = new Web3APIClient({
  plugins: [
    ethereum
  ]
})

These plugins can specify what URIs they intercept via regex. For example, for ethereum it might look like:
public getUris(): RegExp[] {
  return [
    // Matches: ethereum.eth
    // Matches: api.ethereum.web3api.eth
    /(.*[\.])?ethereum[\.].*/,
    // Matches: w3://ethereum
    /w3:\/\/ethereum/
  ];
}

You can see JS plugins that've been created for Ethereum, IPFS, and The Graph here: https://github.com/Web3-API/prototype/tree/issue-28/packages/client-js-plugins

Completed in prealpha-dev branch

Completed in prealpha-dev branch


Pieces move off the board when chessboardjsx is minified

Using chessboardjsx with Create React App I noticed that there is funny behaviour when the app is built for production.
Using chess.js to generate random moves, my component looks like this:
function App() {
  const game = useRef(new Chess());
  const [fen, setFen] = useState(game.current.fen());
  const [play, setPlay] = useState(false);
  const [colorToPlay, setColorToPlay] = useState(game.current.turn());

  useEffect(() => {
    if (play) {
      const possibleMoves = game.current.moves({verbose: true});
      const randomIndex = _.random(0, possibleMoves.length - 1);
      game.current.move(possibleMoves[randomIndex]);
      setFen(game.current.fen())
       setTimeout(() => {
        setColorToPlay(game.current.turn());
      }, 1000);
    }

  }, [colorToPlay, play]);

  return (
    <div className="App">
      <header className="App-header">
        <Chessboard
          id="arena"
          position={fen}
          transitionDuration={500}
          lightSquareStyle={{backgroundColor: '#edf2f7'}}
          darkSquareStyle={{backgroundColor: '#a0aec0'}}
          width={400}
        />
        <button onClick={() => setPlay(!play)}>Play/Pause</button>
      </header>
    </div>
  );
}

Everything works fine when I run my CRA app using yarn start however, when built for production all the pieces move when the position prop is updated.
I've uploaded a short screencast to DropBox, and below is a screenshot:

I've reproduced the issue in this repo: https://github.com/ninjaPixel/chessboardjsx-issue
You can run it by executing:
yarn
yarn serve

I've also ejected the CRA app on this branch: https://github.com/ninjaPixel/chessboardjsx-issue/tree/eject
If you modify the webpack config file, line 179 to turn the minification off, then the weird behaviour stops.
I'm not sure if this is an issue with terser-webpack-plugin or chessboardjsx but it's worth mentioning since terser-webpack-plugin is currently the de-facto minifier for webpack so it's likely that others may experience this issue.

Thank you for finding this bug.  I'll do a little brainstorming to see if it could be something on chessboardjsx's end.
Cool seeing the project used with hooks, that's a first for me

Thank you, @willb335!!

Still not sure of the cause here.  Just to rehash, when built for production, the pieces move incorrectly when the position prop is updated. The behavior is not there when running in development with CRA.  The behavior is fixed when minification is turned off via the webpack.config.js.
At the very least, I'm hoping similar issues regarding the positon prop run across this issue.  Thanks again


WK 8 [T15-B2] Cheng Jin Ting

Allow contact to find by email

Changes Unknown when pulling aa909acd00195922e05ef186634a7f50a3d8f1ef on jin-ting:WK8 into ** on CS2103AUG2017-T15-B2:master**.


Cannot read property 'fields' of undefined

why i am facing this issue?

Looks like the library we use for file uploads is not defined. did you remove files from the same?

Нет
пн, 30 июля 2018, 14:24 German Attanasio<EMAIL_ADDRESS>
Looks like the library we use for file uploads is not defined. did you
remove files from the same?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/watson-developer-cloud/visual-recognition-nodejs/issues/283#issuecomment-408831313,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARegsqV9bNp5GZzFxmqmKQUDoaZx0WoNks5uLuzsgaJpZM4Vk7zG
.


add armv8(apple m1) support

fix https://github.com/machinefi/w3bstream/issues/332

https://github.com/machinefi/w3bstream/actions/runs/4299807355


to support Qwen2-Audio model

Feature request / 功能建议
Qwen2-Audio, which is capable of accepting audio and text inputs and generating text outputs. Qwen2-Audio has the following features:

Voice Chat: for the first time, users can use the voice to give instructions to the audio-language model without ASR modules.

Audio Analysis: the model is capable of analyzing audio information, including speech, sound, music, etc., with text instructions.

Multilingual: the model supports more than 8 languages and dialects, e.g., Chinese, English, Cantonese, French, Italian, Spanish, German, and Japanese.

Motivation / 动机
for more users to interact with Qwen2-Audio
Your contribution / 您的贡献
https://qwenlm.github.io/blog/qwen2-audio/

Thanks, we will support it ASAP.


Feeding sequence of sequences as a single input

I am trying to implement key-value memory networks in Keras. This requires me to feed in mainly two types of sequences:

A question sequence, which is nothing but a sequence of word embedding indices of the shape: (n_batch_samples, max_question_len)

The key sequences, each being a sequence of sequences of word embedding indices of shape: (n_batch_samples, max_num_key, max_key_len)

Each question has some associated keys. There are other inputs too, but they will have a dimension similar to that of candidate sequences.
My question is: What is the proper way to feed in the sequences? Also, is there a way to feed in variable number of candidate sequences along with the question sequence?
I have tried this:
question_encoding = Sequential()
question_encoding.add(A)
question_encoding.add(Dropout(0.3))
question_encoding.add(LSTM(output_dim=64))

key_encoding = Sequential()
key_encoding.add(TimeDistributed(A, batch_input_shape=(None, max_num_keys, max_key_len)))
key_encoding.add(TimeDistributed(Dropout(0.3)))
key_encoding.add(TimeDistributed(LSTM(output_dim=64), input_shape=(max_num_keys, max_key_len, A.output_dim)))

Here A is an embedding and the number of key sequences per question is fixed and I can't seem to obtain a pairwise dot product among the two layers with Merge().
Would really appreciate any pointers or insights. Thanks!
Please make sure that the boxes below are checked before you submit your issue. Thank you!

[x ] Check that you are up-to-date with the master branch of Keras. You can update with:
pip install git+git://github.com/fchollet/keras.git --upgrade --no-deps

[ x] If running on Theano, check that you are up-to-date with the master branch of Theano. You can update with:
pip install git+git://github.com/Theano/Theano.git --upgrade --no-deps

[ x] Provide a link to a GitHub Gist of a Python script that can reproduce your issue (or just copy the script here if it is short).

I was able to perform the dot product by using a couple of Reshape's. Closing the issue since I guess there is no way to define operations on arbitrary length 2D sequences.

Nilabhra would you mind sharing your model or some tips on how to implement a K/V memory net in Keras?


怎样调整各个容器的使用内存 how to adjust memory of each container

There are lots of containers of Harbor, and they all have a fixed memory, now I have a requirement. I expect to adjust memory of each container to what I want. Who can tell me how to adjust them.
I will really appreciate of you!

docker update --memory=512m container_id


An error occured while executing demo.py: RuntimeError: Error(s) in loading state_dict for vgg16:

I trained the model with vgg16, and loaded it for detecting images,but when I executed the demo.py, an error arised:
RuntimeError: Error(s) in loading state_dict for vgg16:
size mismatch for RCNN_rpn.RPN_cls_score.weight: copying a param with shape torch.Size([24, 512, 1, 1]) from checkpoint, the shape in current model is torch.Size([18, 512, 1, 1]).
size mismatch for RCNN_rpn.RPN_cls_score.bias: copying a param with shape torch.Size([24]) from checkpoint, the shape in current model is torch.Size([18]).
size mismatch for RCNN_rpn.RPN_bbox_pred.weight: copying a param with shape torch.Size([48, 512, 1, 1]) from checkpoint, the shape in current model is torch.Size([36, 512, 1, 1]).
size mismatch for RCNN_rpn.RPN_bbox_pred.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([36]).
size mismatch for RCNN_cls_score.weight: copying a param with shape torch.Size([3, 4096]) from checkpoint, the shape in current model is torch.Size([21, 4096]).
size mismatch for RCNN_cls_score.bias: copying a param with shape torch.Size([3]) from checkpoint, the shape in current model is torch.Size([21]).
size mismatch for RCNN_bbox_pred.weight: copying a param with shape torch.Size([12, 4096]) from checkpoint, the shape in current model is torch.Size([84, 4096]).
size mismatch for RCNN_bbox_pred.bias: copying a param with shape torch.Size([12]) from checkpoint, the shape in current model is torch.Size([84]).
The command is : python demo.py --dataset coco --cfg cfgs/vgg16.yml --net vgg16 --checksession 1 --checkepoch 1 --checkpoint 43594 --cuda --load_dir outputs/vgg16
I will be really appreciated if someone could help me.

I knew how to work it out, modify the lib/model/utils/config.py line 295 as __C.ANCHOR_SCALES = [4,8,16,32],then the demo.py could be run successfully.


Bug: Invisible Cursor

There is a problem with the cursor, while using Pixel Streaming.
I'm using Pixel Streaming mainly for Unreal 4.27, but the bug occurs with 5.0 Unreal projects too.
My mouse cursor disappears while using Pixel Streaming.
It doesn’t happen instantly. I can start my App and join a level.
But as soon as I leave the level and go back to the main menu, the cursor turns invisible.
It’s still there, I can hover over buttons, and I am still able to click, but the cursor stays hidden from then on.
It is only fixable by restarting the stream (the app, SWS can keep operating).
If you want to test this. You can easily replicate the issue:
Just create a project using the Lyra-template for Unreal Engine 5.0. I used the current version 5.0.3
Package the project for Windows and run the App + SWS.
In my case, the stream starts as wanted, but the cursor is never visible. You can still control the app with mouse clicks, but you can only guess the cursors position if it hovers over a button.
I'm using the LockedMouse ControlSchemeType.

Hi @JRosenschon,
I gave this a go just today using the "Top Down" sample from UE5.0.3 and was unable to reproduce the issue.
The cursor is always visible and never disappears.
You may need to set "Show Mouse Cursor" to true on the BeginPlay event of your main menu level.
Let me know how you go!


Update 2.0 -> 2.1 migration docs to cover AspNetCore shared runtime quirks

There are some very specific rules for being able to use packages or projects targeting the shared runtime with Mvc. They are:

Project referencing Microsoft.AspNetCore.All or Microsoft.AspNetCore.App packages, must reference Microsoft.Net.Sdk.Web Sdk.
Projects referencing packages or projects that transitively reference Microsoft.AspNetCore.All or Microsoft.AspNetCore.App must reference Microsoft.Net.Sdk.Web Sdk and the same shared runtime package. E.g if LibraryA references Microsoft.AspNetCore.App, any projects referencing it must reference Microsoft.AspNetCore.App.
Executable projects, i.e. the app that you launch, must not specify the version. The Sdk will specify this for you e.g. <PackageReference Include="Microsoft.AspNetCore.App" /> . This includes "apps" that run and test projects for apps.
Referenced projects, i.e. projects that aren’t the entry point, that reference Microsoft.AspNetCore.All or Microsoft.AspNetCore.App must specify a package version.

cc @danroth27 \ @JunTaoLuo \ @Rick-Anderson
We should add these details to the 2.1 migration docs - https://docs.microsoft.com/en-us/aspnet/core/migration/20_21?view=aspnetcore-2.1.

I could probably recommend adding a new section in the document with information about the packages you are listing before the Update the project file to use 2.1 versions section.

And if you want, I can add this section.

@Rick-Anderson We're seeing a fair amount of customer questions related to this issue that we would like to address by updating the migration doc. Can we please get this issue prioritized?


Deserialization after adding new field in Serializable class doesn't throw any exception.

I am using FST to serialize and deserialize java objects in/out of redis.
FST version used: 1.63(issue producible even in 2.47)
Below is the code used:
static FSTConfiguration conf = FSTConfiguration.createDefaultConfiguration();
for serialize:
byte[] bytes = conf.asByteArray((Serializable) object);
Deserialize:
conf.asObject(uncompressedBytes);
Deserialization after adding new field in Serializable class doesn't throw any exception instead it deserialize the byte[] with incorrect data.
I serialized below object with values mentioned in comment:
public class TestPojo implements Serializable {
private static final long serialVersionUID =<PHONE_NUMBER>524074403L;
int id; //11
String name; // Bikas
String address; // null
//getter and setters
}
To test our production case, before deserializing the object I removed "address" field. To my surprise it doesn't throw any exception instead it deserialze the TestPojo object successfully with incorrect value:
id=11 and name=null

fst does not make any attempts on versioning (see readme front page), you need to come up with a manual solution at this point in time :)

Any examples how to handle it?

Create a new Subclass which then contains the new field for backward compatibility. The binary stream cannot recover from such changes.


Reduce channel id conflict probability

Change summary:

Reduce channel id conflict probability

Related issues:

https://github.com/ainblockchain/ain-blockchain/issues/1304

Thanks for the review! @jiyoung-an Now merging..


Security: Plugin allows a subscription to be created on behalf of an another user

Security Issue
Severity: Low - 3.5
Description
The Create/Update Subscription API endpoints of the ServiceNow plugin does not have any proper checks in place to verify if the user_id sent in the request is same as authenticated user or not.
Impact
A bad actor can modify the user_id sent in the body params of the Create/Update API endpoints and thereby alter the integrity of the creator of the subscription. When such request is sent, the plugin displays that the subscription was created by the other user.

@asatkinson These are fixed so please verify and close

@mickmister the issue is fixed. Please verify and close

Fixed with https://github.com/mattermost/mattermost-plugin-servicenow/pull/151


Parsing produce nonsence with some shape combination

Checks

[x] I added a descriptive title to this issue
[x] I have searched (google, github) for similar issues and couldn't find anything
[x] I have read and followed the docs and still think this is a bug

Bug
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
             pydantic version: 1.9.0
            pydantic compiled: True
                 install path: /home/project/venv39/lib/python3.9/site-packages/pydantic
               python version: 3.9.7 (default, Sep 10 2021, 14:59:43)  [GCC 11.2.0]
                     platform: Linux-5.13.0-35-generic-x86_64-with-glibc2.34
     optional deps. installed: ['devtools', 'email-validator', 'typing-extensions']

from typing import Optional, Union

from pydantic import BaseModel

Indexes = tuple[int, ...]

class SomeModel(BaseModel):
    value: Optional[Union[tuple[Indexes, dict], tuple[Indexes, tuple[dict, dict]]]]

# Single dict is ok. This is by notation tuple[Indexes, dict].
assert SomeModel(value=[[0, 3], {"a": 1, "b": 2}]).value == ((0, 3), {"a": 1, "b": 2})

# Pair of three length dict is ok. This is by notation tuple[Indexes, tuple[dict, dict]].
assert SomeModel(
    value=[
        [0, 3],
        [{"a": 1, "b": 2, "pydantic": "hack"}, {"a": 3, "b": 4, "pydantic": "hack"}],
    ]
).value == (
    (0, 3),
    ({"a": 1, "b": 2, "pydantic": "hack"}, {"a": 3, "b": 4, "pydantic": "hack"}),
)

# Pair of two length dict is nonsense. This is by notation tuple[Indexes, tuple[dict, dict]].
assert SomeModel(value=[[0, 3], [{"a": 1, "b": 2}, {"a": 3, "b": 4}]]).value == (
    (0, 3),
    ({"a": 1, "b": 2}, {"a": 3, "b": 4}),
), SomeModel(value=[[0, 3], [{"a": 1, "b": 2}, {"a": 3, "b": 4}]]).value
# This produces AssertionError: ((0, 3), {'a': 'b'})

PS I lied about searching similar issues, because I couldn't compose search query to describe this situation.

You should set Config.smart_union to True. The doc about it should help you understand

@PrettyWood, sorry for bother. Thank you for free support.


Error during  "git submodule update --init --depth 1"

Hi
if I follow your steps to compile it, i get the following error at this step:
/micropython/usercmodule/ucryptography$ git submodule update --init --depth 1
Cloning into '/micropython/usercmodule/ucryptography/c25519'...
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:dmazzella/c25519.git' into submodule path '/micropython/usercmodule/ucryptography/c25519' failed
Failed to clone 'c25519'. Retry scheduled
Cloning into 'micropython/usercmodule/ucryptography/c25519'...
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:dmazzella/c25519.git' into submodule path '/micropython/usercmodule/ucryptography/c25519' failed
Failed to clone 'c25519' a second time, aborting
Any hints on how to fix this?
Thanks & best regards

fixed in eec3e2f3d0481e36c4064f14a121c34ff81078b0
update your local repository and retry

Hi, thanks for the fix, the build for the unix port now worked, but the module was not included when I build micropython for the esp32 port.
I changed then the last compile to:
make -j2 -C ports/esp32/ MICROPY_PY_BTREE=0 MICROPY_SSL_MBEDTLS=1 USER_C_MODULES="$(pwd)/usercmodule"
I get than the following error:
Including User C Module(s) from /micropython/usercmodule
CMake Error at /micropython/py/usermod.cmake:42 (include):
include could not find load file:
/micropython/usercmodule

Call Stack (most recent call first):
esp32_common.cmake:19 (include)
main_esp32/CMakeLists.txt:11 (include)
Any ideas what I need to do so that I compile it for the ESP32 port?
Thanks & best regards

For ESP32 in USER_C_MODULES must point to micropython.cmake no the folder
However at the moment the build with cmake is not tested, I only wrote the file but never tried it

I tested it, build start now but I got than the following error:
[ 82%] Building C object esp-idf/main_esp32/CMakeFiles/__idf_main_esp32.dir/micropython/py/argcheck.c.obj
/micropython/usercmodule/ucryptography/c25519/src/edsign.c: In function 'expand_key':
/micropython/usercmodule/ucryptography/c25519/src/edsign.c:23:29: error: storage size of 's' isn't known
23 |         struct sha512_state s;
|                             ^
/micropython/usercmodule/ucryptography/c25519/src/edsign.c:23:29: warning: unused variable 's' [-Wunused-variable]
/micropython/usercmodule/ucryptography/c25519/src/edsign.c: In function 'hash_with_prefix':
/micropython/usercmodule/ucryptography/c25519/src/edsign.c:70:29: error: storage size of 's' isn't known
70 |         struct sha512_state s;
|                             ^
I do not need c25519, can I disable this? Or how can I fix the error otherwise?
Thanks & best regards

Hi, ok I tried this, it goes further but than I get a  lot of errors like this:
98%] Building C object esp-idf/main_esp32/CMakeFiles/__idf_main_esp32.dir/micropython/usercmodule/ucryptography/modcryptography.c.obj
[ 98%] Building C object esp-idf/main_esp32/CMakeFiles/idf_main_esp32.dir/micropython/usercmodule/ucryptography/BLAKE2/ref/blake2s-ref.c.obj
In file included from /micropython/py/mpstate.h:35,
from /micropython/py/runtime.h:29,
from /micropython/usercmodule/ucryptography/modcryptography.c:36:
/micropython/py/objexcept.h:44:50: error: 'MP_QSTR_InvalidSignature' undeclared here (not in a function); did you mean 'mp_type_InvalidSignature'?
44 |     MP_DEFINE_CONST_OBJ_TYPE(mp_type##exc_name, MP_QSTR##exc_name, MP_TYPE_FLAG_NONE,
|                                                  ^~~~~~~~
/micropython/py/obj.h:777:44: note: in definition of macro 'MP_DEFINE_CONST_OBJ_TYPE_EXPAND'
777 | #define MP_DEFINE_CONST_OBJ_TYPE_EXPAND(x) x
|                                            ^
/micropython/py/obj.h:781:179: note: in expansion of macro 'MP_DEFINE_CONST_OBJ_TYPE_NARGS_4'
781 | #define MP_DEFINE_CONST_OBJ_TYPE_NARGS(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, 24, 25, 26, 27, 28, N, ...) MP_DEFINE_CONST_OBJ_TYPE_NARGS##N
|                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/micropython/py/objexcept.h:44:5: note: in expansion of macro 'MP_DEFINE_CONST_OBJ_TYPE'
44 |     MP_DEFINE_CONST_OBJ_TYPE(mp_type##exc_name, MP_QSTR##exc_name, MP_TYPE_FLAG_NONE,
|     ^~~~~~~~~~~~~~~~~~~~~~~~
/micropython/usercmodule/ucryptography/modcryptography.c:66:1: note: in expansion of macro 'MP_DEFINE_EXCEPTION'
66 | MP_DEFINE_EXCEPTION(InvalidSignature, Exception);
| ^~~~~~~~~~~~~~~~~~~
/micropython/py/objexcept.h:44:50: error: 'MP_QSTR_AlreadyFinalized' undeclared here (not in a function); did you mean 'mp_type_AlreadyFinalized'?
44 |     MP_DEFINE_CONST_OBJ_TYPE(mp_type##exc_name, MP_QSTR##exc_name, MP_TYPE_FLAG_NONE,
|                                                  ^~~~~~~~
/micropython/py/obj.h:777:44: note: in definition of macro 'MP_DEFINE_CONST_OBJ_TYPE_EXPAND'
777 | #define MP_DEFINE_CONST_OBJ_TYPE_EXPAND(x) x
|                                            ^
/micropython/py/obj.h:781:179: note: in expansion of macro 'MP_DEFINE_CONST_OBJ_TYPE_NARGS_4'
781 | #define MP_DEFINE_CONST_OBJ_TYPE_NARGS(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, 24, 25, 26, 27, 28, N, ...) MP_DEFINE_CONST_OBJ_TYPE_NARGS##N
|                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/micropython/py/objexcept.h:44:5: note: in expansion of macro 'MP_DEFINE_CONST_OBJ_TYPE'
44 |     MP_DEFINE_CONST_OBJ_TYPE(mp_type##exc_name, MP_QSTR##exc_name, MP_TYPE_FLAG_NONE,
|     ^~~~~~~~~~~~~~~~~~~~~~~~
/micropython/usercmodule/ucryptography/modcryptography.c:67:1: note: in expansion of macro 'MP_DEFINE_EXCEPTION'
67 | MP_DEFINE_EXCEPTION(AlreadyFinalized, Exception);
| ^~~~~~~~~~~~~~~~~~~
/micropython/py/objexcept.h:44:50: error: 'MP_QSTR_NotYetFinalized' undeclared here (not in a function); did you mean 'mp_type_NotYetFinalized'?
44 |     MP_DEFINE_CONST_OBJ_TYPE(mp_type##exc_name, MP_QSTR##exc_name, MP_TYPE_FLAG_NONE,
|                                                  ^~~~~~~~
/micropython/py/obj.h:777:44: note: in definition of macro 'MP_DEFINE_CONST_OBJ_TYPE_EXPAND'
777 | #define MP_DEFINE_CONST_OBJ_TYPE_EXPAND(x) x
|                                            ^
/micropython/py/obj.h:781:179: note: in expansion of macro 'MP_DEFINE_CONST_OBJ_TYPE_NARGS_4'
781 | #define MP_DEFINE_CONST_OBJ_TYPE_NARGS(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, 28, N, ...) MP_DEFINE_CONST_OBJ_TYPE_NARGS##N
there are several more errors like this.
Any suggestions on how I could fix this?
Thanks & best regards

try to add:
extern const mp_obj_type_t mp_type_InvalidSignature;
extern const mp_obj_type_t mp_type_AlreadyFinalized;
extern const mp_obj_type_t mp_type_NotYetFinalized;
extern const mp_obj_type_t mp_type_UnsupportedAlgorithm;
extern const mp_obj_type_t mp_type_InvalidKey;
extern const mp_obj_type_t mp_type_InvalidToken;

modcryptography.c#L65

the problem is:

#if defined(MICROPY_PY_UCRYPTOGRAPHY) in modcryptography.c#L27
#endif // MICROPY_PY_UCRYPTOGRAPHY in  modcryptography.c#L6779C1-L6779C35

please comment it and retry, sorry

Good morning, I tried it and now I get the following errors:
98%] Building C object esp-idf/main_esp32/CMakeFiles/idf_main_esp32.dir//__/frozen_content.c.obj
[ 98%] Building C object esp-idf/main_esp32/CMakeFiles/__idf_main_esp32.dir/micropython/usercmodule/ucryptography/BLAKE2/ref/blake2s-ref.c.obj
In file included from /micropython/lib/mbedtls/include/mbedtls/gcm.h:82,
from /micropython/usercmodule/ucryptography/modcryptography.c:183:
/esp-idf/components/mbedtls/port/include/gcm_alt.h:30:37: error: conflicting types for 'esp_aes_gcm_starts'; have 'int(mbedtls_gcm_context *, int,  const unsigned char *, size_t,  const unsigned char *, size_t)' {aka 'int(esp_gcm_context *, int,  const unsigned char *, unsigned int,  const unsigned char *, unsigned int)'}
30 | #define mbedtls_gcm_starts          esp_aes_gcm_starts
|                                     ^~~~~~~~~~~~~~~~~~
/micropython/lib/mbedtls/include/mbedtls/gcm.h:243:5: note: in expansion of macro 'mbedtls_gcm_starts'
243 | int mbedtls_gcm_starts(mbedtls_gcm_context *ctx,
|     ^~~~~~~~~~~~~~~~~~
In file included from /esp-idf/components/mbedtls/port/include/gcm_alt.h:22,
from /micropython/lib/mbedtls/include/mbedtls/gcm.h:82,
from /micropython/usercmodule/ucryptography/modcryptography.c:183:
/esp-idf/components/mbedtls/port/include/aes/esp_aes_gcm.h:88:5: note: previous declaration of 'esp_aes_gcm_starts' with type 'int(esp_gcm_context *, int,  const unsigned char *, size_t)' {aka 'int(esp_gcm_context *, int,  const unsigned char *, unsigned int)'}
88 | int esp_aes_gcm_starts( esp_gcm_context *ctx,
|     ^~~~~~~~~~~~~~~~~~
In file included from /micropython/lib/mbedtls/include/mbedtls/gcm.h:82,
from /micropython/usercmodule/ucryptography/modcryptography.c:183:
/esp-idf/components/mbedtls/port/include/gcm_alt.h:32:37: error: conflicting types for 'esp_aes_gcm_update'; have 'int(mbedtls_gcm_context *, size_t,  const unsigned char *, unsigned char *)' {aka 'int(esp_gcm_context *, unsigned int,  const unsigned char *, unsigned char *)'}
32 | #define mbedtls_gcm_update          esp_aes_gcm_update
|                                     ^~~~~~~~~~~~~~~~~~
/micropython/lib/mbedtls/include/mbedtls/gcm.h:275:5: note: in expansion of macro 'mbedtls_gcm_update'
275 | int mbedtls_gcm_update(mbedtls_gcm_context *ctx,
|     ^~~~~~~~~~~~~~~~~~
In file included from /esp-idf/components/mbedtls/port/include/gcm_alt.h:22,
from /micropython/lib/mbedtls/include/mbedtls/gcm.h:82,
from /micropython/usercmodule/ucryptography/modcryptography.c:183:
/esp-idf/components/mbedtls/port/include/aes/esp_aes_gcm.h:168:5: note: previous declaration of 'esp_aes_gcm_update' with type 'int(esp_gcm_context *, const unsigned char *, size_t,  unsigned char *, size_t,  size_t *)' {aka 'int(esp_gcm_context *, const unsigned char *, unsigned int,  unsigned char *, unsigned int,  unsigned int *)'}
168 | int esp_aes_gcm_update( esp_gcm_context *ctx,
|     ^~~~~~~~~~~~~~~~~~
In file included from /micropython/lib/mbedtls/include/mbedtls/gcm.h:82,
from /micropython/usercmodule/ucryptography/modcryptography.c:183:
/esp-idf/components/mbedtls/port/include/gcm_alt.h:33:37: error: conflicting types for 'esp_aes_gcm_finish'; have 'int(mbedtls_gcm_context *, unsigned char *, size_t)' {aka 'int(esp_gcm_context *, unsigned char *, unsigned int)'}
33 | #define mbedtls_gcm_finish          esp_aes_gcm_finish
|                                     ^~~~~~~~~~~~~~~~~~
/micropython/lib/mbedtls/include/mbedtls/gcm.h:296:5: note: in expansion of macro 'mbedtls_gcm_finish'
296 | int mbedtls_gcm_finish(mbedtls_gcm_context *ctx,
|     ^~~~~~~~~~~~~~~~~~
In file included from /esp-idf/components/mbedtls/port/include/gcm_alt.h:22,
from /micropython/lib/mbedtls/include/mbedtls/gcm.h:82,
from /micropython/usercmodule/ucryptography/modcryptography.c:183:
/esp-idf/components/mbedtls/port/include/aes/esp_aes_gcm.h:206:5: note: previous declaration of 'esp_aes_gcm_finish' with type 'int(esp_gcm_context *, unsigned char *, size_t,  size_t *, unsigned char *, size_t)' {aka 'int(esp_gcm_context *, unsigned char *, unsigned int,  unsigned int *, unsigned char *, unsigned int)'}
206 | int esp_aes_gcm_finish( esp_gcm_context *ctx,
|     ^~~~~~~~~~~~~~~~~~
/micropython/usercmodule/ucryptography/modcryptography.c: In function 'ec_sign':
/micropython/usercmodule/ucryptography/modcryptography.c:1803:21: error: implicit declaration of function 'time' [-Werror=implicit-function-declaration]
1803 |     srand((unsigned)time(&t));
|                     ^~~~
cc1: some warnings being treated as errors
make[3]: *** [esp-idf/main_esp32/CMakeFiles/__idf_main_esp32.dir/build.make:3234: esp-idf/main_esp32/CMakeFiles/__idf_main_esp32.dir/micropython/usercmodule/ucryptography/modcryptography.c.obj] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/micropython/ports/esp32/build-GENERIC'
make[2]: *** [CMakeFiles/Makefile2:4742: esp-idf/main_esp32/CMakeFiles/__idf_main_esp32.dir/all] Error 2
make[2]: Leaving directory '/micropython/ports/esp32/build-GENERIC'
make[1]: *** [Makefile:130: all] Error 2
make[1]: Leaving directory '/micropython/ports/esp32/build-GENERIC'
HINT: Please check that the function name is correct. Also it is possible that you've forgot to import time library(s) in header file or add the necessary REQURIES component. Try to add missing libraries to your project header file or check idf_component_register(REQUIRES ...) section in your component CmakeList.txt file. For more information run 'idf.py docs -sp api-guides/build-system.html'.
Also, please check if the function has been removed, renamed or replaced by an alternative function - refer to the migration guide for more information.
make failed with exit code 2, output of the command is in the /micropython/ports/esp32/build-GENERIC/log/idf_py_stderr_output_881667 and /micropython/ports/esp32/build-GENERIC/log/idf_py_stdout_output_881667
-e See https://github.com/micropython/micropython/wiki/Build-Troubleshooting
make: *** [Makefile:56: all] Error 1
make: Leaving directory '/micropython/ports/esp32'
Any suggestions on how I could fix this?
Thanks & best regards

Good morning,
this error is due to the fact that esp32 implements an alternative function (which takes advantage of hardware acceleration) for aes_gcm
/esp-idf/components/mbedtls/port/include/gcm_alt.h:30:37: error: conflicting types for 'esp_aes_gcm_starts';
to fix this I need some time, esp32 is not the target for this library, but as soon as possible I will get my hands on it and integrate it
Regards

Hi,
I really appreciate your effort & help.
Any Idea on how long this would take? Days, Weeks?
Thanks & best regards!

close first issue, for ESP32 I will open a new issue when I come back to it


Use skinCluster input shape and preBindMatrix instead of initial values time

Description
This implements an additional boolean flag which allows the exporter to use the input geometry and preBindMatrix of the skinCluster node as the base input mesh for any skinned meshes instead of relying on the initialValuesTime.
Note
This is currently a draft PR, rather quick and dirty - it compiles and does something with the flag. But the export isn't correct yet and I still need to identify where it's wrong. Will need to investigate how the preBindMatrix should be converted along with the geo to the correct inverseBindMatrices values for GLTF.
Input on code style is welcome too - C++ is not my regular forte.

@ziriax Any chance you know why the preBindMatrix and using the Maya input geometry as geometry points doesn't behave as expected? What's different in what GLTF (and e.g. threeJS) expects for inverseBindMatrices?
I'm testing with geometry that has 0, 0, 0 pivots, no parents, no transformations for one of our complex characters. Very simple cases seem to work but our character seems to break.

Sorry, I have no idea.
Does this link help?
https://forums.autodesk.com/t5/maya-animation-and-rigging/bindprematrix-worldinversematrix-issue-workflow-quesiton/td-p/9520456

Thanks - that URL does confirm what I know about Maya but doesn't "translate" to the GLTF export the way I expected.
I did find out it seems to ignore any vertex tweaks done on/after the original intermediate mesh when getting the points on the input mesh - so I need to maybe get the points from mesh data from the input plug of the skinCluster instead to ensure it has the exact incoming geometry information. Maybe the issue resides somewhere there anyway.

I found the issue - I had the wrong indices for the preBindMatrices array plug. I had removed some joints from my skincluster so I had some empty unusued physical indices. Fix coming up.

I believe this now works as expected.
When using -skinUsePreBindMatrixAndMesh argument the exports for any meshes connected to a skinCluster would then use the skinCluster's input geometry and bindPreMatrix values (still retrieved at initialValuesTime for if the input geometry was also animated in some form or another).
With that flag enabled an animation that has an animation with scale starting at 0, 0, 0 (infinitely small) will still behave as expected similar to what the user would be seeing in Maya. With that flag enabled the skinning will now match exactly what Maya uses as pre bind matrices and base points geo.
With that flag enabled you thus technically also need no T-pose in your animation scene to retrieve the bindpose from.

Note: I have NOT tested together with blendshapes (morph targets) functionality.

Again, great work! Given my very limited time, maybe I should add you as a code owner?

Given my very limited time, maybe I should add you as a code owner?

Thanks for the offer. Not sure if that's best.
My usage of glTF only happen every now and then for projects and usually isn't the core of my work. Plus I don't think I should be the maintainer of a C++ library - ha!
Would love to see more activity here though. Have fiddled around with the BabylonJS exporters too but it was just way too darn slow for my skinned exports (over five minutes!) of my characters and was unable to do a correct animated export of our current project's character too. This plug-in however blasted through in a few secon
ds and everything looked close to ok (except for the skinning base discrepencies which this PR has now solved).

Yeah, this plugin was made for really complex characters, I had to do a lot of optimisations to make it fast.


Add Single Object Encoding Support to Ruby library

This patch adds support for the Single Object Encoding Spec.
I translated the code from Java to Ruby.
I believe this is a performant implementation in Ruby.
I'm not sure this is the right place for this code, but I couldn't think of a better one. Definitely open to suggestions / feedback!
Hope this helps,

Hello! FWIW the team at Optoro has been using this branch for a couple years now with no regressions. Is there any way to merge this into master? Thanks!

Thanks @jszmajda for the feedback. LGTM

@jszmajda One more thing, can you open a Jira ticket for this? This is required for keeping track of the changelogs. Thanks!

@Fokko I created https://jira.apache.org/jira/projects/AVRO/issues/AVRO-2538
Can this be included in 1.9.1?

@Fokko gentle ping: can you review and/or merge this?
It closes AVRO-2538 and AVRO-1740 (I should have probably just pointed to AVRO-1740 but missed it the first time around).

Excuse me @Ingvar-Y for not responding. I think I've missed a message somewhere. I think this is ready to be merged.

Hi @jszmajda (or anyone else using the Ruby single object encoding implementation from this PR), are you using the output of the Ruby Avro::Schema.single_object_schema_fingerprint or Avro::Schema..single_object_encoding_header methods? And if yes, have you compared it to the output from other languages?
I've compared the output of the Ruby implementation to the Java implementation, and it seems like the output of the Ruby implementation of single_object_schema_fingerprint is reversed in comparison.
I believe that this is caused by unnecessarily reversing the array traversal here during the bit mask + shift operation that constructs the little endian fingerprint for the message header.
I've filed a Jira ticket here to track this:
https://issues.apache.org/jira/browse/AVRO-2907
Hoping to hear if there's more to the story here and get some guidance on how to proceed. I'm happy to submit a PR that updates the Ruby implementation if folks feel ok with that.

Hey @ypt! I built this for my last company but I've since left and haven't needed it. @yarmiganosca may have more detail on its use in practice. FWIW we were using it in an entirely ruby shop, so didn't need to interop with Java.
For the encoding direction - I copied over the tests from the Java code and reimplemented things. It's entirely possible I got the order backwards!!
If you need to interop with Java I'd say let's trust the Java version and update this if needed. But it would introduce a breaking change :(


Simplify TeX Dependency Installation

Currently, following the instructions in the README, users must install TinyTeX, then install many $\mathrm{\TeX}$ packages. I should look into improving this by exporting a function like this:
install_TeX = function(remove_existing = TRUE, update_pkgs = TRUE) {
  # remove exisiting installation of tinytex if requested

  # install tinytex

  # install TeX packages, with option to update existing
}

This is marked low priority because it is not essential.

Closed by #220


Update settings.php

User description

Closes #
📑 Description

✅ Checks

[ ] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[ ] All the tests have passed

☢ Does this introduce a breaking change?

[ ] Yes
[ ] No

ℹ Additional Information

Description

Enhanced the user interface by updating notification checkboxes to use the form-switch class for a better visual representation.
This change improves the overall user experience in the settings page.

Changes walkthrough 📝
Relevant filesEnhancement

settings.phpUpdate notification checkboxes to use form-switch class

Src/settings.php
Changed the class of the notification checkboxes to 'form-switch'.  Updated the checkbox for 'Issue Notification' to use the new class.  Updated the checkbox for 'Pull Requests Notification' to use the new class.

+2/-2

💡 Penify usage:
Comment /help on the PR to get a list of all available Penify tools and their descriptions

Summary by CodeRabbit

New Features

Enhanced user settings form with toggle switch styling for notification preferences.

Bug Fixes

Maintained existing functionality for saving user preferences without any disruptions.

@gstraccini codacy bypass

@gstraccini codacy bypass


Size and Sort?

Looks like a very nice component! Could this be run inside a modal? Also, is sorting and showing in a list feasible like in a standard file browser. Also, can the path be returned?

yes, it can be converted into an npm packet like <FileSystem />.


CMake custom command can only be one arg

Not critical, but does seem to have issues, at least on Windows.
I believe that the problem is that COMMAND is expected to be one argument, so passing the python.exe plus the script name violates that.  I'm not sure why this hasn't been an issue before, but it causes all sorts of hilariously bad behavior on Windows (popping open the Microsoft store of VS code rather than trying to run the script).

Got hit by this issue, too (in my case, opening GVim.exe :) ).
The resolution is much simpler, though:
https://github.com/gazebosim/sdformat/blob/881cbb7f4bab89d052095a43a11cf30059a174f4/sdf/1.5/CMakeLists.txt#L70
See, Pyhton ? :-D It's only in the 1.5 SDF CMakeLists, elsewhere it's okay.
@mjcarroll I think you can revert the other changes in your PR as they don't really make sense. CMake docs say ARGS is only for backwards compatibility and is ignored. So my interpretation is that command is always the first thing after COMMAND, while other things are args.

Good call, reverted.

I guess it didn't manifest on the other operating systems as their default is to run .py files with an interpreter instead of an IDE.

Yeah, we have a shebang line in the xmlschema.py, so it should just do the right thing on platforms that understand that.  Windows is not one of those, unfortunately, so it would have all sorts of silly side effects.

The title of the PR should be renamed though.


Output max bank number used

Add --print-max flag to output the maximum bank number used, optionally rounding up to the nearest power of 2 so that this value can be passed to the GBDK linker to set the minimum required cartridge size -Wl-yo$(CART_SIZE)

yes, it is nice, if tool returns a number that can be passed into the linker later.

cool, I've added --print-max / -p for outputting the maximum bank used and --print-cart / -c for outputting the minimum cart size needed in 1.2.0 https://github.com/chrismaltby/gbspack/releases/tag/v1.2.0


Fix for Issue 9064 - Dispatcher call instead

https://github.com/AvaloniaUI/Avalonia/issues/9064
Fix for throwing unhandled exception in screen page, replace direct invalidate visual with dispatcher invocation of invalidate visual
What does the pull request do?
This change fixes an unhandled exception causing a crash on Windows systems when navigating to the screens page
What is the current behavior?
The incorrect behaviour is a crash on windows systems when navigating to the screens page.
What is the updated/expected behavior with this PR?
The screens page should now correctly work on Windows systems
How was the solution implemented (if it's not obvious)?
The direct invocation of InvalidateVisual has been replaced with a Dispatcher post operation which invalidates the visual later.
Checklist

[? ] Added unit tests (if possible)?
[ ?] Added XML documentation to any related classes?
[ ?] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Do any of these checks apply to bugfixes for the sample pages?
Breaking changes
Does not apply to the control catalog samples?
Obsoletions / Deprecations
None apply
Fixed issues
Fixes #9064

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

You can test this PR using the following package version. 11.0.999-cibuild0024243-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0024245-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


Alternating circles and squares

Right now the plot does not alternate between showing circles and squares. My guess is that this is happening because it is creating a brand new sample for every observeEvent(input$sampleButton)?
A possible solution (that would have to be implemented across the entire code) is to replace the 'group <- sample(c(1,2),1,1)' solution with logic that states: if input$sampleButton is even, group is 1; else group is 2.
Note, this might require that input$sampleButton be nested in a as.numeric() function.

great suggestion! Implemented through:
if((input$sampleButton %% 2) == 0) {
group <- 1
} else {
group <- 2
}


weather.gov has changed thier event types

New types can be found here: https://www.weather.gov/lwx/WarningsDefined
This causes card to throw Unknown warning error

Nope still broken, this is full list https://www.weather.gov/help-map


Add yarn

Note, the yarn version (printed by the system_report script):
* Yarn: 0.19.1

Release schedule: will be available (on the non LTS) Linux/Android stack (Ubuntu 16.04) after this weekend's updates.


Python test debugging freeze

Does this issue occur when all extensions are disabled?: Yes/No

Version: 1.95.3 (Universal)
Commit: f1a4fb101478ce6ec82fe9627c43efbf9e98c813
Date: 2024-11-13T14:50:04.152Z (1 mo ago)
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Darwin arm64 23.6.0
Steps to Reproduce:

write a python test
Run the test -works
add a breakpoint
Run the test in debug mode
Freezes

dup of this: https://github.com/microsoft/vscode-python/issues/24613


Add an option to decompress graphics or convert them to PNG when extracting them from the base rom, and compress the graphics at compile time

for easy graphics editing
just like pokeemerald

On the todo list, will try to tackle it myself (if it hasn't already been done before) after the full codebase cleanup

However there's a challenge: Samus and many enemies have duplicate colors in their palette.

The images can use indexed color, so duplicate colors shouldn't be an issue.
Might be worth mentioning that I'm not aware of any LZ77 compression implementation that produces matching data, but I guess it doesn't matter if you're modifying the data anyway

Does the compressor in MAGE compress data smaller than vanilla?


deps: updates wazero to 1.0.0-rc.2

This updates wazero to 1.0.0-rc.2 which notably

is the final release candidate before 1.0 next Friday.
improves instantiation performance (startup time)
passes os package tests defined by Go.
no longer supports importing unnamed modules.

@ktock fix merged!

Thanks!


Wrong rows/columns obtaining mothod in imagePlaneModule after today's change

The method used now uses _getNumberValues (which gets an array of numbers, not a number) rather than basic dataSet.uint16 method like this:
rows: dataSet.uint16('x00280010'),
columns: dataSet.uint16('x00280011'),
This results in undefined rows and columns fields in the image plane data.

Whoops, sorry about that. Will fix that ASAP.

I should have post this in the cornerstoneWADOLoader, not here but thanks for noticing :)

Closed this (on WADO Image Loader) here: https://github.com/chafey/cornerstoneWADOImageLoader/commit/d941eb430ab553d53a9135213a50895b3c42bd5b


Add support for RN

This is the counterpart to https://github.com/prisma/prisma-engines/pull/4774. The potential effort to bring Prisma to mobile platforms via React Native and Expo

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

How do the tests work? I didn't change any of the code but it is somehow failing

didn't change any of the code but it is somehow failing

@ospfranco you did change LibraryEngine code generator and client runtime. After your changes, those places assume that the code will be exclusively ran in React Native and that obvously breaks other runtimes.
As for how tests work, we have a doc here.


(multi entry points support) Added support for cases where outdir is specified

Google Apps Script (GAS) has a file size limitation, which makes it prone to hitting this limit when bundling everything into a single file. To work around this, it's common to split the output into multiple files by specifying multiple files in the entryPoints option of esbuild or using a glob pattern like **/*.ts. Therefore, esbuild-gas-plugin needs to support cases where there are multiple output files.

Thank you for your contribution!

Google Apps Script (GAS) has a file size limitation

Could you please tell me the source for this?


update go module path

Hi there! Thanks for fixing this and sorry for not reviewing it sooner. Given the urgency of fixing Go module importing this was fixed in https://github.com/ollama/ollama/pull/3347 – thanks again for creating a PR!


Revamp projects pages on microprofile.io

On the microprofile.io under all projects, it lists all of the projects and disaply the readme for the relevant project. The readme doc is often static and contains old info. We need to revisit the readme and introduce a template so that all of the readme flles adopt the same format.
Here is the draft page for MP config.

@Emily-Jiang did you read the forum thread: https://groups.google.com/forum/?pli=1#!topic/microprofile/7xEB4PO9Zqs yet?
Work in progress!

This ticket is related to automatication using back & front end work (currently being investigated with the help of Summers)
Closing it b.c it doesn't require human adjustments or maintenance as other pages in MP site.


Init project

👷 Deploy Preview for exquisite-cheesecake-2a4582 processing.

Name
Link

🔨 Latest commit
7d78044ff2be8b11e961506ee0dd422bd00e8606

🔍 Latest deploy log
https://app.netlify.com/sites/exquisite-cheesecake-2a4582/deploys/65220c185cc1ab00085491d8


create_local_resource runs during SSR

Describe the bug
create_local_resource runs during SSR, which does not have access to some of the browser functions (in my case leptos' set_timeout. As far as I understand it and since it's result is not serializable, it should not be running on the server?
Leptos Dependencies
leptos = { version = "0.5.0-rc3", features = ["nightly"] }
leptos_meta = { version = "0.5.0-rc3", features = ["nightly"] }
leptos_actix = { version = "0.5.0-rc3", optional = true }
leptos_router = { version = "0.5.0-rc3", features = ["nightly"] }

To Reproduce
This is my functions code:
create_local_resource(debounced_query, move |query| async move {
    // This is the workaround for the issue
    if cfg!(feature = "ssr") {
        return;
    }

    if query.is_empty() {
        // TODO: Remove redundancy
        set_remove_outdated(true);
        set_remove_bg(true);
        set_timeout(
            move || {
                set_remove_outdated(false);
                set_outdated(false);
                set_results(None);
            },
            Duration::from_millis(200),
        );
        return;
    }
    let b = reqwest::get(&format!("{}/api/search?q={}", base_url(), query))
        .await
        .unwrap()
        .bytes()
        .await
        .unwrap();

    let d: Vec<CardWithPrinting> = bitcode::decode(&b).unwrap();
    set_remove_outdated(true);
    set_remove_bg(false);
    // wait 200ms

    set_timeout(
        move || {
            set_remove_outdated(false);
            set_outdated(false);
            set_results(Some(d));
        },
        Duration::from_millis(200),
    );
});

Expected behavior
From the description I assumed that it would act like create_effect and not run the code during SSR. (note I have not checked whether create_effect runs during SSR either but it seems like it doesn't). The docs do not explicitly say that it doesn't run during SSR though, so I am not sure if maybe my expectations were wrong, but I feel like I generally wouldn't want this local code to run during SSR especially since its result could not be rendered/transfered to the frontend.
Additional context
My local resource returns () instead of the actual resource. I don't know if that is what causes the problem. The code that I wrote above is also not ideal and will most certainly be refactored into a leptos-idiomatic variant once I had the time to build a proper component for animation transitions.

Yes, thanks, it is fixed with the latest commit!


docs: fix grammar and other small issues in README.md

This PR makes grammatical fixes and minor adjustments to the main README.md.
Excellent intro document, by the way.

I have not signed a CLA, let me go and take care of that first. Thanks for flagging it.


CASMPET-5737: Add Nexus Space Cleanup Doc

Description
This adds in documentation on how to cleanup space usage by nexus. This is the first draft and will likely need to change as information is figured out about the space usage of customers and upgrades.
Checklist Before Merging

[x] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[x] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[x] My commits or Pull-Request Title contain my JIRA information, or I don't have a JIRA.

/backport release/1.2

I did some linting, and a rebase/force push, so if further edits are made, be sure to first pull down the current PR branch.

@ndavidson-hpe should this new file be referenced as a prerequisite in the upgrade docs?


(FACT-1862) Add support for Suse v15 os detection

This refactors how we handle platforms that rely on Freedesktop.org's
/etc/os-release to determine os facts. This includes CoreOS, Cumulus, and
adds Suse v15 releases, which have removed the /etc/SuSE-release file in
favor of os-release.

Here's an ad-hoc run with passing facter tests: https://jenkins-master-prod-1.delivery.puppetlabs.net/view/puppet-agent/view/ad-hoc/job/platform_puppet-agent-extra_puppet-agent-integration-suite_adhoc-ad_hoc/
The puppet test failures are I believe a known issue I saw discussed in hipchat earlier today.

CLA signed by all contributors.

Typo fixed. :)


Folia support: java.lang.UnsupportedOperationException: null

Plugin Version:
Version: 3.6.8-2
Describe The Bug:
java.lang.UnsupportedOperationException: null
How To Reproduce:

Drop the plugin in Folia plugins folder
Start the server

Expected Behavior:

Screenshots/Error Log:
Error Log: https://paste.md-5.net/qujudovapo.cs
Additional Context:
I think is the scheduler
I see this commit: https://github.com/RonanPlugins/BetterRTP/commit/a1c266ffca5be83a789e18c67013faba237580a4

Version 3.6.8 technically added folia support. Were waiting on one of our dev team to create a library to allow easy folia support while building on Java 8

Version 3.6.8 technically added folia support. Were waiting on one of our dev team to create a library to allow easy folia support while building on Java 8

Nice. Thanks jeje


As a user, I can find specific module/lecture/video by keyword from current and children(if any) contexts

so that I can check if a specific module/lecture/video is in the current and children context quickly.

find {keyword}


P2P - Review of Wifi Direct Lib - Wi-Fi Direct (peer-to-peer or P2P) overview for Discovery ,Connection & Data transfer

Action items

Review Wifi Direct Lib - Wi-Fi Direct (peer-to-peer or P2P) overview for Discovery ,Connection &  Data transfer
Document Findings here in this ticket
How do we block any other sync/ connection (data/wifi) during p2p sync
- How to programmatically shut down mobile/wifi networks when p2p is initiated, to avoid server update
- Confirm if the device is connected to a wifi network with internet access, the app does not try to sync to the server but only does p2p via wifi direct

Next Steps

To integrate and incorporate wifi direct lib that can be loaded via gradle
Integrate it to P2P sync module
Add components to FHIR Engine to do
- Conflict resolution
- Broadcasting of messages
- Error handling
- Sync  - PUT/PATCH to the Android FHIR Engine Sync module
- Auth  - Sync only in same team / location

Acceptance criteria

[x] Check to see that the previous implementation of  wifi-direct can be able to do discovery , connection and transfer https://github.com/opensrp/p2p.
[x] See is we can load the wifi direct lib via gradle and incorporated on demand to a FHIR Core based app - Enabled or Disabled via config

@Rkareko You can check this out https://github.com/opensrp/p2p. Decode had started on this but did not complete it .

How to programmatically shut down mobile networks when p2p is initiated

There does not seem to be a way to do this without user interation i.e popping up a system setting dialog where users can turn mobile data on or off by themselves with the following code snippet
Intent intent = new Intent();
intent.setClassName("com.android.settings",
     "com.android.settings.Settings$DataUsageSummaryActivity");
startActivity(intent);

This quora post goes on to say For Android, You cannot access mobile data on/off programmatically above android 4.4. It has been made stopped for security reasons.

Confirm if the device is connected to a wifi network with internet access, the app does not try to sync to the server but only does p2p via wifi direct

The networkUtils class in client core has an isNetworkAvailable function that we could re use for this check.
It's not clear why we need to do this check i.e if the phone is connected to the internet via wifi do we prevent normal client-server sync from happening?

@dubdabasoduba can you briefly expound on this point  - How to programmatically shut down mobile/wifi networks when p2p is initiated, to avoid server update

@dubdabasoduba can you briefly expound on this point - How to programmatically shut down mobile/wifi networks when p2p is initiated, to avoid server update

Confirm if the device is connected to a wifi network with internet access, the app does not try to sync to the server but only does p2p via wifi direct

The networkUtils class in client core has an isNetworkAvailable function that we could re use for this check.
It's not clear why we need to do this check i.e if the phone is connected to the internet via wifi do we prevent normal client-server sync from happening?

@dubdabasoduba can you briefly expound on this point - How to programmatically shut down mobile/wifi networks when p2p is initiated, to avoid server update

Confirm if the device is connected to a wifi network with internet access, the app does not try to sync to the server but only does p2p via wifi direct

The networkUtils class in client core has an isNetworkAvailable function that we could re use for this check.
It's not clear why we need to do this check i.e if the phone is connected to the internet via wifi do we prevent normal client-server sync from happening?

@dubdabasoduba can you briefly expound on this point - How to programmatically shut down mobile/wifi networks when p2p is initiated, to avoid server update

Check to see that the previous implementation of wifi-direct can be able to do discovery , connection and transfer https://github.com/opensrp/p2p.

Tesing with a Samsung Galaxy J5  Android 5.1.1 and a Samsung Galaxy Tab Active Pro tablet running Android 11.
So far the implementation on both devices is able to discover peers as well as connect with each other.
However on a Samsung galaxy A51 running android 11 peer discovery is failing yet on the phone settings wifi-direct is enabled and shows available devices.

Establishing a connection between the 2 devices is failing with a Host is unresolved: /<IP_ADDRESS> error. More investigations are required to figure out why it's failing yet the receiver's ip appears to have been correctly captured by the sender device.

Confirm if the device is connected to a wifi network with internet access, the app does not try to sync to the server but only does p2p via wifi direct

The networkUtils class in client core has an isNetworkAvailable function that we could re use for this check.
It's not clear why we need to do this check i.e if the phone is connected to the internet via wifi do we prevent normal client-server sync from happening?

@Rkareko @f-odhiambo We need to check for network connection then prevent the server sync by either doing the following

Closeout any connections (Wireless, mobile network) to prevent sync.
Disable the automatic/manual sync triggers to the server.

Confirm if the device is connected to a wifi network with internet access, the app does not try to sync to the server but only does p2p via wifi direct

The networkUtils class in client core has an isNetworkAvailable function that we could re use for this check.
It's not clear why we need to do this check i.e if the phone is connected to the internet via wifi do we prevent normal client-server sync from happening?

@Rkareko @f-odhiambo We need to check for network connection then prevent the server sync by either doing the following

Closeout any connections (Wireless, mobile network) to prevent sync.
Disable the automatic/manual sync triggers to the server.

@dubdabasoduba I think we should look into how to Disable the automatic sync to the server when the user initiates the P2P sync workflow. Depending on how the UI is designed it may not be possible to trigger manual sync once P2P workflow is initiated.
Closeout any connections (Wireless, mobile network)  is something that we may not be in control of and there may not be a straightforward way to achieve this for different devices and OS versions

However on a Samsung galaxy A51 running android 11 peer discovery is failing yet on the phone settings wifi-direct is enabled and shows available devices.

An interesting finding is that to fix this issue, Location Services on the device has to be turned on.

Francis
Questions

Is it possible to have the P2P sync module to be activated/enabled on demand ?
Could we make  bundling of P2P lib/module optional depending on app?
How easy would it to decouple P2P module from FHIR Core  in future?

Ans.
- This is currently not possible as the code need to be bundled on FHIR core . Loading of libraries may introduce more complexity in understanding the codebase
Using gradle no currently known way to load libs/modules dynamically via Dynamic features - Feature dependent on app. : On demand download of features
- To be considered in future after app configuration / dynamic workflows are complete
- There are known issues with writing instrumented test
- It makes the code complex to understand
- Implementation of UI will not be done using the conventional way/will not straightforward but via a dynamic mechanism based on a predetermined decision tree/workflow - e.g launching activities
Kitoto

The way to build this or approach this would be to
Have P2P Sync module built  as a separate module/library on a separate repo
Include it in FHIR Core  as separate lib.
The module will only be enabled using app level configs
The P2P sync module will be Included in Engine module via gradle

Declare P2P workflow

Application downloads composition resource
Composition resource has workflow points for the app
Workflow points has P2P workflow
If P2P workflow is present for app it is enabled to start at either side menu or bottom nav

CC @Rkareko

The following issues were encountered during testing of the p2p sync functionality : -

Sync payload serialization was failing. The fix is on this PR
The receiving device was getting an empty string as the sync payload instead of the content sent by the sender device. This is fixed on this PR
After the first socket connection between the peers is established, it appears any subsequent socket connections between the same peers fails. So far the workaround has been to manually  disable the wifi direct peer to peer connection before trying to establish a socket connection that is required for data transfer.

However on a Samsung galaxy A51 running android 11 peer discovery is failing yet on the phone settings wifi-direct is enabled and shows available devices.

An interesting finding is that to fix this issue, Location Services on the device has to be turned on.

Do we need to always check this and alert the user to turn it on? Also just to check we are requesting location

Confirm if the device is connected to a wifi network with internet access, the app does not try to sync to the server but only does p2p via wifi direct

The networkUtils class in client core has an isNetworkAvailable function that we could re use for this check.
It's not clear why we need to do this check i.e if the phone is connected to the internet via wifi do we prevent normal client-server sync from happening?

@Rkareko @f-odhiambo We need to check for network connection then prevent the server sync by either doing the following

Closeout any connections (Wireless, mobile network) to prevent sync.
Disable the automatic/manual sync triggers to the server.

@dubdabasoduba I think we should look into how to Disable the automatic sync to the server when the user initiates the P2P sync workflow. Depending on how the UI is designed it may not be possible to trigger manual sync once P2P workflow is initiated.
Closeout any connections (Wireless, mobile network)  is something that we may not be in control of and there may not be a straightforward way to achieve this for different devices and OS versions

Makes sense.  Is this something we can use a flag to control i.e When the wifi direct handshake is initiated we disable the server sync? Then when (for any reason) this handshake is deactivated we re-enable the server sync.

Agree with both these suggestions, I think it's reasonable to require Location Services to be activated, most health projects need to collect GPS anyhow

Marking this as DONE


clarifying users who can run the script

Signed-off-by: Joydeep Banerjee<EMAIL_ADDRESS>Minor updates. I tested a non-kubeadmin user to be able to assume grafana admin role - so added an explicit example

/approve
/lgtm


In language fence for markdown mutliparagraph list items do not keep order but default to 1.

Hello,
List items with paragraphs between them all default to starting at 1. when in a markdown code fence. A great feature of markdown is able to start all list items with the same number (1.) in order to make editing your document and moving around list items easy. However, when fenced, the markdown will not show correctly even though it works properly outside of the fence. See this example markdown:

1. First item

  paragraph of text

1. Second item

  paragraph of text

Each item is defaulted to 1. even though the second item should be 2.
This is how the same markdown actually renders:

First item

paragraph of text

Second item

paragraph of text

Fenced code-blocks don't exist for presentational purposes: they're for depicting source code verbatim, exactly as the author wrote it. Processing Markdown in such constructs runs counter to the idea of preprocessed text.

That makes perfect sense, thank you!


Filter to find raw data

A useful extra filter would be to find raw datasets still on mothership6. Sometimes these get buried and the current user does not know the drives are fairly full.

I think this is not needed anymore. The addition of the "space left" bar allows us to keep track of this better.


fix empty css tab in all pages

css tab in source is empty

resolve merge conflicts

conflicts resolved!


Add Color Refinement List Widget

This looks really good, impressive how you published it and have the demo, both inside this directory


No stairs in creative inventory

Upon installing this mod, almost all the stairs in the creative inventory have disappeared! Worse still, if   remove it, all the stairs & slabs in my existing build get corrupted.
What can I do?

I've solved the issue by reverting to a backup. Perhaps some attention should be given to allowing creative builders easier access to stairs & slabs?

@daufinsyd I took a backup of my world before I installed the mod. I simply restored it and deleted the mod.

Ok thanks :)


[CHERRY-PICK]  Changing the event source to the correct schedulerName

Need this fix for the k8s conformance tests to pass for 'volcano-sh'.

/lgtm
/approve


Thanks, looks like the CI has stopped working -- will have to look into that.


Perfdash: Fetch build logs from latest to oldest

Fetch build logs from latest to oldest so as to make sure metrics with newer version are parsed first.
/cc @gmarek

@gmarek Since you said you are on vocation the following days, and this is really a minor change, I think I shouldn't bother you. :)
Self apply LGTM.


Create char from progmem

To save some flash memory, it may be useful to store constants to create new characters in PROGMEM


Async archive-get with prefetch

Getting one archive file at a time can be tedious if the cluster is very far behind.  An async get with some sort of prefetch would speed the process a lot.
Should be able to specify how may archive logs to prefetch.

Moved to xml backlog.


Pull configurations available from Supervisor repo

In https://github.com/balena-io/docs/blob/master/pages/learn/manage/configuration.md we show a list of configurations available and how to manage them. I would like to change this to only explain how to manage configurations which is the bottom portion of the page and then provide a link to a dedicated config variable page.
This dedicated config page will be pulled from the Supervisor repo once https://github.com/balena-os/balena-supervisor/pull/1648 is merged.

Since we moved the Supervisor from balena-io org to balena-os we should make sure the other fetch requests for markdown files from that repo still work and update them to use balena-os.

pending fix for https://github.com/balena-os/balena-supervisor/issues/1646

This issue mentions pulling config vars from a configuration.md file in the docs folder of the Supervisor repo. The data should actually be pulled from a contract.


Added Private Messaging Provider

OK Will do

Currently we can't find a way to properly determine the referenced notification from the PrivateMessageSentEto. So I just by default assume all published pm results in success. To ensure a pm is sent, I think we have to rework the PrivateMessageModule to include something like a referenceid(in this case, notificationid), so we can use this id to refer to the actual notification and set the result.

@gdlcf88 I Have reworked the private message module :P

@slarkerino Please give me the Write permission of https://github.com/yuansicloud/NotificationService

@slarkerino Please give me the Write permission of https://github.com/yuansicloud/NotificationService

I have invited you :P

@slarkerino Could you please make an EasyAbp.NotificationService.Provider.PrivateMessaging.Tests project?

@slarkerino Could you please make an EasyAbp.NotificationService.Provider.PrivateMessaging.Tests project?

OK, I have added and tested the unit test for private message module and fixed some naming issues for Sms Module

@gdlcf88  Fixed

Thanks, @slarkerino.

Thanks, @slarkerino.

XD


Clarify PATH issue - 2000-01-02-build.md

Adding a note clarifying PATH issues I faced when building on Windows.

Oh, yeah. Good catch! Thank you!


CAMEL-19498: camel-core - Pool for non-singleton polling consumer sho…

…uld be limite to capacity size, to avoid growing unlimited and leak memory.
Description

Target

[ ] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[ ] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[ ] I checked that each commit in the pull request has a meaningful subject line and body.

[ ] I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

/component-test camel-ftp


guard canLoad(), incorrect return types

🐞 Bug report
Command (mark with an x)

[ ] new
[ ] build
[ ] serve
[ ] test
[ ] e2e
[x] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?

 Probably not
Description
 generating a guard with canLoad() method creates it with a wrong return type.
🔬 Minimal Reproduction

ng g guard auth/test --implements CanLoad
🔥 Exception or Error

🌍 Your Environment

@angular-devkit/architect         0.1000.8
@angular-devkit/build-angular     0.1000.8
@angular-devkit/build-optimizer   0.1000.8
@angular-devkit/build-webpack     0.1000.8
@angular-devkit/core              10.0.8
@angular-devkit/schematics        10.0.8
@angular/cdk                      10.2.0
@angular/cli                      10.0.8
@angular/material                 10.2.0
@ngtools/webpack                  10.0.8
@schematics/angular               10.0.8
@schematics/update                0.1000.8
rxjs                              6.5.5
typescript                        3.9.7
webpack                           4.43.0

Anything else relevant?

The generated  class:
export class TestGuard implements CanLoad {
  canLoad(
    route: Route,
    segments: UrlSegment[]): Observable<boolean> | Promise<boolean> | boolean {
    return true;
  }
}

Should be:
export class TestGuard implements CanLoad {
  canLoad(
    route: Route,
    segments: UrlSegment[]): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree {
    return true;
  }

}
The return type is not correct, according to angular docs | UrlTree is missing

can i work on a PR for it?

@geromegrignon, sure!


[Error] There was an error deserializing the object

Hello,
I have a problem when trying to start procurement:
Procurement 1.9.4 Initialized.

Authenticating<EMAIL_ADDRESS>                                                      [OK]
Loading characters...
[Error] There was an error deserializing the object of type System.Collections.Generic.List`1[[POEApi.Model.JSONProxy.Character, POEApi.Model, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null]]. Encountered unexpected character '<'.
The DebugInfo.log has following entry:
[14-08-2015 11:52] System.Runtime.Serialization.SerializationException: There was an error deserializing the object of type System.Collections.Generic.List`1[[POEApi.Model.JSONProxy.Character, POEApi.Model, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null]]. Encountered unexpected character '<'. ---> System.Xml.XmlException: Encountered unexpected character '<'.
at System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, XmlException exception)
at System.Runtime.Serialization.Json.XmlJsonReader.ReadAttributes()
at System.Runtime.Serialization.Json.XmlJsonReader.Read()
at System.Xml.XmlBaseReader.IsStartElement()
at System.Xml.XmlBaseReader.IsStartElement(XmlDictionaryString localName, XmlDictionaryString namespaceUri)
at System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalIsStartObject(XmlReaderDelegator reader)
at System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName)
at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
--- End of inner exception stack trace ---
at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
at System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(XmlDictionaryReader reader)
at POEApi.Model.POEModel.GetCharacters()
at Procurement.ViewModel.LoginWindowViewModel.<>c__DisplayClass2.b__1()
at System.Threading.Tasks.Task.Execute()

Hi,
The problem is that Procurement is getting back invalid data from GGG. Have you tried logging in with sessionID?

Thx for the reply.
I have not :-/
How does this SessionID thing work?

Take a look at this video https://www.youtube.com/watch?v=o8aHmbvWxAo There is also an article on the wiki if you need more detail.


Modify Commit and TrapAction so that they return Maybe PC

Return valid iff the PC changed, and return the written pc value in data. If not modified return old/current pc with valid set to false.

b1e540d

We do not need to add a Valid flag to the commit function because this function always updates the PC.


alert rule schema can be customized

What did you do?
Against the following alert rule：

alert: NodeCPUUsageMinor
expr: 100 - avg by (instance) (irate(node_cpu_seconds_total{mode="idle"}[5m])) * 100 > 70
for: 0s
labels:
severity: MINOR
name: CPUExceedThreshold
text: Usage of CPU is greater than the threshold value
id: 3001203
eventType: 11
probableCause: 351
key: MOC004
source: CPRO

We want to make sure that some fields in labels section be mandatory, so on the side of alertmanager, we like to check the validation of HTTP POST request whether these mandatory fields are contained or not.
So our proposal is liking as below:
Based on the common library prometheus/common/alert (https://github.com/prometheus/common/blob/master/model/alert.go ), one new class, liking customizedAlert inheriting from alert, which can add some schema checking, is developed. And adopting this new class in Alertmanager code.
Can you evaluate the above approach is right direction? And the new code developed by us can be acceptable by community?
What did you expect to see?
What did you see instead? Under which circumstances?

Hello,
We have a tool in house that is doing pre check (with ansible validate: parameter.)
I do not think that this should be alertmanager's job.

As stated by the others, it makes sense to have the validation done when writing the rules files. If the validation is done in alertmanager, the incorrect alert format will only be detected when the alert is firing. Validating as a pre-check will catch any issues immediately, instead of at an indeterminate time (and when you probably want to be notified).


Support full set of RESQML units of measure

Presently, common units such as "v/v" are lost and stored as "EUC".
A really exciting option could be to include pint, and include a short config file to handle the most common units used in reservoir modelling. This could be (hopefully) an elegant way to allow a wide range of common units, with simple configuration - and could be a "selling point" of resqpy more broadly.
https://pint.readthedocs.io/en/stable/

No. I don't think we should go down the pint route.
RESQML has a very thorough and rigorous system of units of measure. It includes "volume per volume" and similar dimensionless quantity classes, with uoms such as "m3/m3" and "ft3/ft3". I think it will be too confusing to muddle together pint and RESQML uom systems.
If we are losing the uom for ratios in our workflows, we need to improve our code – but the fault will typically be in calling code rather than resqpy.
Having said that, resqpy does not currently make full use of RESQML's uom information and could be improved to do so.

I definitely agree with you that we should use of RESQML units of measure, and it would be confusing to muddle together a different unit system.
I think we may be misrepresenting pint here. Pint it is primarily a lightweight package for implementing a unit system, and also happens to come with a ready-made configuration for common units.
I was thinking we could use pint to implement the RESQML unit system behind the scenes in resqpy.

Ah yes, I've had a quick glance at the Pint documentation and think I see what you are suggesting @connortann. We could in principal provide a uom/pint build process which takes the RESQML uom related data and constructs the Pint definition file (to completely replace the default). RESQML does have an extra concept – quantity class – which sits between units and dimensions. However, I can't think of a need to have more than one quantity class for a given dimensionality, so the two systems should map onto each other quite cleanly. Let's discuss!

We can we also take the opportunity to ensure in the unit system we banish any ugly instances of π and ensure we're using the much more beautiful τ == 2 π

For future reference, here is the pseudo-code from our discussion on how calling code might work:
from pint import UnitRegistry
ureg = UnitRegistry('./resqpy_units.txt')

def parse_quantity(value, unit, property_kind):
    """Parse an input value into the resqml unit system"""

    valid_uoms, default_uom = bwam.get_valid_uoms(property_kind)

    if unit in valid_uoms:
        resqml_value = value
        resqml_uom = unit
    else:
        quantity = ureg.Quantity(value, unit).to(default_uom)
        resqml_value = quantity.magnitude
        resqml_uom = default_uom

    return value, unit

class Property:

    def init(self, value, unit):
        quanity, valid_uom = parse_quantity(value, unit)
        self.value = quanity
        self.uom = valid_uom

    def as_pint_quantity():
        return ureg.Quantity(self.value, self.uom)

From our Teams chat, our priorities for functionality are:

Identifying whether a unit is a valid uom
Converting values between different valid units
Coercing invalid units into equivalent valid uoms

A mental model of how Quantities, UoMs and Property kinds relate together:

And a schematic for how we may wish to represent this in JSON  (which we wish to generate from the XSD):
# resqml_property_kinds.json
# RESQML specific
# Should be extendable
# Continuous property kinds only
{
    property_kind name:
        - Description
        - Supported Quantity
        - Example uom
}

# uoms.json
# Cannot be extended
# Common to PRODML, WITSML, RESQML
{
    Quantities:
        - Name
        - base uom
        - Dimension

    uoms:
        - Name
        - Quanitiy(s)
        - Conversion factor to base
        - Base uom?
}

Closed via #112


Karabiner Elements has stopped working

I believe i restarted the computer; and applied Apples latest security patch;
EventViewer is still listening and printing/logging keystrokes, however, none of my complex modifications are working at all.

Restarting 2 times fixed the issue on
OS: macOS High Sierra 10.13.6


Xwayland double axis events

When scrolling on an Xwayland window, sometimes there will be two axis events sent. It's not every time, but happens very frequently. It's easiest to notice on a web browser, where the page will randomly scroll a lot further than normal.
Trying a wayland application with WAYLAND_DEBUG=1, I couldn't ever get it to send more than 1 event.
Trying libinput debug_events, I also couldn't get it to have more than 1 event.
Looking at xev, I can see that there a multiple events being sent to it, so it's definitely related to Xwayland.
This affects both rootston and sway, so it's probably a wlroots problem.

Can you check what happens in Weston? This stuff is handled by Xwayland.

I did some extra testing on an Ubuntu 17.10 computer I have.
I tried it with weston 1.12.0 and weston's current master, I couldn't reproduce it (DRM and X11 backend).
I could still reproduce it with sway/rootston, but I only tried X11.

The doubling only happens to the legacy button press events, the XInput axis motion event should be fine (see "xinput test").
If you're seeing this in Firefox, try if exporting MOZ_USE_XINPUT2=1 helps. It fixes the stuttering scrolling here, and I suspect the issues it previously caused aren't too bad under Xwayland and Sway (see below).
You might also see this in Chrome (I saw some bug reports indicating it also ignores the modern scroll events in some cases). I don't know if this is still the case or if there is a workaround.
As far as I know modern toolkits use the XInput 2 events so they should be fine (unless applications opt out like Firefox does).
(Firefox opts out because of some bugs. One of those bugs should be fixed in Xorg 1.19. The other is focus-related, and might not be too bad under Sway: the first scroll event after moving focus away from the browser and back is lost. This was a problem under some WMs with "overeager passive button grabs", but so far I'm only noticing this in Sway if I really did move focus away, which isn't too annoying.)

https://github.com/swaywm/wlroots/pull/970 is the first part of the fix. The second part will be to add support to axis_discrete events to xwayland.

The fix has been merged into Xwayland.
https://gitlab.freedesktop.org/xorg/xserver/commit/cd285922cdec966825e47220b1182a57abc1ff90


Modify  a spec for Google::APIClient::FileStore.load_credentials

Google::APIClient::FileStore.load_credentials loads all attributes of the json.

Coverage remained the same at 94.757% when pulling ccd694a916a6ae0cc428d7ff954c88beace0d76f on ysksn:load_credentials into dffa167d5fd2925bd80517b7ed9117c56e9b588c on google:master.


fix: react's hook useId cause ssr hydrate failed

Summary

Add some empty node to sure the browser hydrate has same struct with ssr render.

Related Links

Checklist

[ ] I have added changeset via pnpm run change.
[ ] I have updated the documentation.
[ ] I have added tests to cover my changes.

Is there more information to this solution? Just looking at the code, I don't really understand why it can be solved  the problem.

Is there more information to this solution? Just looking at the code, I don't really understand why it can solved the problem.

React would generate the id reference the node tree. In router/runtime/plugin.node.ts, we organize the component like this:
// https://github.com/web-infra-dev/modern.js/blob/v2.59.0/packages/runtime/plugin-
return (
                <>
                  <StaticRouterProvider
                    router={remixRouter!}
                    context={routerContext!}
                    hydrate={false}
                  />

                  {mode === 'stream' && (
                    // ROUTER_DATA will inject in `packages/runtime/plugin-runtime/src/core/server/string/ssrData.ts` in string ssr
                    // So we can inject it only when streaming ssr
                    <DeferredDataScripts
                      nonce={nonce}
                      context={routerContext!}
                    />
                  )}
                  {mode === 'stream' && JSX_SHELL_STREAM_END_MARK}
                </>
);

We must sure the browser as the same struct as ssr


New edits ishu

Changes to zeppelin instructions

Can you change chron -> cron

done
On Thu, Dec 22, 2016 at 1:38 PM, Andrew Block<EMAIL_ADDRESS>wrote:

Can you change chron -> cron
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sabre1041/iot-ose/pull/15#issuecomment-268862490, or mute
the thread
https://github.com/notifications/unsubscribe-auth/APpY8FiHp21kdMVSR2C7WhCY7djrU62dks5rKsOIgaJpZM4LUQJK
.


Question about running inference

Thank you for the work you've done—it's really awesome!
I'm trying to reproduce your results on some datasets and I'm noticing some differences in accuracy, I'm using AutoModelForCausalLM when loading the model and I'm not sure if this will have an impact on the accuracy?
model = AutoModelForCausalLM.from_pretrained(
            model_path,
            attn_implementation='flash_attention_2',
            torch_dtype=torch.half,
            trust_remote_code=True
        )

Side point regarding this question. Can we get a confirmation from the authors that what @SYuan03 showed is the proper way to load the model through huggingface? This is because the README does not use AutoModelforCausalLM to load the model for some reason. Would appreciate confirmation on that point.

Side point regarding this question. Can we get a confirmation from the authors that what @SYuan03 showed is the proper way to load the model through huggingface? This is because the README does not use AutoModelforCausalLM to load the model for some reason. Would appreciate confirmation on that point.

Hi，thank you for your attention. I actually noticed this, and I tried loading the model two ways, but they were consistent in my tests.

Hi, the accuracy of most large language models can be affected by the prompt. We will release the evaluation pipeline in the coming days for easy reproducibility of the results. For a specific task, can you provide more information about your evaluation process, such as the prompts and processors used?

Thanks for the reply. I'm a developer for the project VLMEvalKit. We're trying to add mPLUG-Owl3 into the project. I have submitted a PR to support the model, but the accuracy on e.g. the MMBench dataset fails to meet expectations. Here is my code.
We'd appreciate it if you'd mention PR yourself in support! But it will take you some time to read the developer's manual. So if it's convenient for you, you can see what's wrong with my code. Thanks a lot.

Thank you for supporting our models! We have recently released the evaluation pipelines at this link to help you reproduce the evaluation results.