Mobile-spec on windows doesn't create project when there are spaces in the path

Reported by @surajpindoria at https://issues.apache.org/jira/browse/CB-9364

Sounds like a quirk. I can try it if I get a chance to try mobilespec on Windows platform.
@janpio it is not clear to me if you already reproduced this quirk or not, labeling as a question for now.

I did not, would have added the bug label if I had. I consider issues "untriaged" as long as there are no labels specifying the type of issue.

  copy  www/splashscreens/android-port-hdpi.png platforms\android\app\src\main\res\drawable-port-hdpi\screen.png (updated file)
  copy  www/splashscreens/android-port-xhdpi.png platforms\android\app\src\main\res\drawable-port-xhdpi\screen.png (updated file)
This app does not have additional resource files defined
Prepared android project successfully
No scripts found for hook "after_prepare".
Saving<EMAIL_ADDRESS>into platforms.json
No scripts found for hook "after_platform_add".
### Skipping the js update.
### Adding plugins using CLI...
Searchpath:
Installing local test framework plugins...
$ cordova plugin add E:\Projects\Cordova\coho checkouts 2\cordova-mobile-spec\cordova-plugin-echo
npm: Command failed with exit code 1 Error output:
npm ERR! Invalid package.json

npm ERR!      C:\Users\Jan\AppData\Roaming\npm-cache\_logs\2019-05-24T23_49_30_367Z-debug.log

E:\Projects\Cordova\coho checkouts 2

Simple reason is that cordova plugin add E:\Projects\Cordova\coho checkouts 2\cordova-mobile-spec\cordova-plugin-echo just needs quoting of the path.


997 scons warning for git

The opegee project will still build correctly, but may be labelled with an incorrect version string when using git versions earlier than 1.8.4.
For opengee 5.2.4+, the project allows simultaneous development of the master and release branches.  The version string is calculated via the 'git describe' command, which looks into the tag history from the current commit.  The '--first-parent' parameter is required to accurately calculate the tag from the right branch, but that option appeared in git 1.8.4.
Previous to opengee 5.2.4, the minimum supported version of git was 1.7.1.
This pull request causes a warning string to be output via the scons build, as well as via the getversion.py script when using git version less than 1.8.4.  The warning string points to a FAQ to help upgrade git to mitigate the issue.
To reproduce:

Build the source from this PR on a machine with git version earlier than 1.8.4.  Verify the warning string is output to stderr.
Same test with getversion.py from a command line
Build the source with git 1.8.4+, verify the warning string does NOT appear.
Same test with getversion.py from a command line

I accept the use of my contributions here.


Use user-supplied ThreadFactory to create internal Server/Client threads

Is your feature request related to a problem? Please describe.
This library prevents the application from shutting down when the main application thread ends. The threads launched by the library are what prevent it from shutting down: if they aren't explicitly closed, the process doesn't end.
Describe the solution you'd like
Either allow the user to pass through a daemonize flag for threads spawned by the library or allow the user to supply a ThreadFactory that the library can use to spawn threads.
Describe alternatives you've considered
Using my own Thread to launch a server works fine...
        Thread serverThread = new Thread(server);
        serverThread.setName("WebSocket Server Thread");
        serverThread.setDaemon(true);
        serverThread.start();

But there is no equivalent for clients...
        WebSocketClient client = new Client(new URI("ws://localhost:8887"));
        Thread clientThread = new Thread(client);
        clientThread.setName("WebSocket Server Thread");
        clientThread.setDaemon(true);
        clientThread.start();
        client.sendPing();    // ERRORS OUT
        client.closeBlocking();
        clientThread.join(5000);

Additional context
N/A

It's still use new Thread to create Thread. We got a lot of threads in our stack becase of error usage. Do we have plan to improve this?


Removes dist

Removes the dist directory, because we can just build it when it gets
published. We're no longer supporting bower, or the script tag use case
(unless there are major objections).

Ok, I re-added the build for web, which means script tags are still supported (and can be loaded from the unpkg cdn automatically. Ready for review, @nevosegal. Hopefully the last that has so much extraneous dist stuff.

:+1:


Need help capturing the render process of a web page

I was looking for a way to inspect how web page are rendered. I tried capturing Chrome using direction from #810 , but while the Connection status is shown as Established, the API is shown as OpenGLES (Not Presenting). As I understand, this mean I need to modify Chrome code to add markers to make this work. If that the case, I don't think I'm ready to do this atm.
I then tried Firefox, and while everything worked straightforwardly, the resulting capture does not contain the web page rendering process at all, but only show the already-rendered web page as a texture.
Any help would be appreciated.
Environment

RenderDoc build: v1.4
Operating System: Windows 10
API: OpenGLES (I think)
GPU: Intel UHD Graphic 630

I don't provide any support for capturing from web browsers unless you're a browser dev yourself. Partly because it's a very complex program with a lot of internal complexities and in Chrome's case ANGLE dependencies that can break without it being a RenderDoc bug. Also partly because recently there have been notable cases of people using RenderDoc to extract copyrighted assets from webgl which is not endorsed or supported.
RenderDoc is intended for capturing your own programs and currently webgl is not officially supported.

Just use workaround, suggested by Chromium at this page: https://chromium.googlesource.com/angle/angle/+/master/doc/DebuggingTips.md


1479 fix swt bot templates cleanup

Adresses/Fixes #1479.
Implements

@devonfw/cobigen

really interesting and we should keep that.
could you add in the comments for the files the source of where we copied it?


Inline tooltips override autocompletions

Almost always when you start typing a code you have some suggestions for autocompletion. Linter's inline tooltips close them, which makes me sad. Could you fix that?
I think view.is_auto_complete_visible() will do the thing

PR #565 is tracking this issue. It appears to happen with all popups, not just autocompletions.

@jayfunk OK, thanks for the info. Closing this one then.


Add license headers

Please don't.
Just put a license file in the repo, repeating it in each file is just bad. And won't stop anyone from ignoring or removing it anyway


How to reproduce using own dataset

I'm going to use the author's code to replicate my own dataset, can you tell me how to generate the training.npy file in the image below?

Or can you say how to modify it to train own dataset? Thank you!

as shown in code: dataset/voc.py. You should set a own Segmentation(like VOCSegmentation in voc.py) which can use getitem to visit total dataset, then you can write an incremental dataset, like VOCSegmentationIncremental. I write a base datasets for those in my repo: When sam meets continual learning.


Show modal after form submit

Hello,
I have one more dumb question to ask... I made add to cart with product variants and now trying to get modal to appear after items added to the cart. I have Javascript that use this code for the button:
 <button type="submit" class="button is-fullwidth is-cart-disabled">Cannot add to the cart</button>
This one works for me because it have nothing to do with sprig. But when it comes to the sprig - it doesn't work.
As I understand I need to use s-trigger but I don't understand how should I change my code to get it working..

Since that button is replaced in the DOM, you'll need to trigger the JavaScript each time the Sprig component is re-rendered. There are examples at https://putyourlightson.com/plugins/sprig#javascript, the easiest way is to put your trigger script inside the component.

Trying to figure the solution with Javascripts and htmx but cannot understand... I have this JS to open navigation:

I think I need to do something like this but obviously something is wrong and don't understand how to fix it:

Oh so you have Sprig elements inside the modal? In that case you'll need to open the modal and maintain its state using Sprig.
For example:
{% set modalOpen = modalOpen ?? false %}

Open

Close

    ...

That works great! I'm really sorry for asking so many "rookie" questions but I have some more 😭
How can I fix it to have same thing on different elements? Now I have three buttons to open but if press one - all of them are opened. I tried to add ID but probably I'm doing something wrong.
And also I'm thinking to have the same button for opening and closing. Is it possible to make it like this?

You just need to namespace each one.
{% set modalXOpen = modalXOpen ?? false %}
{% set modalYOpen = modalYOpen ?? false %}
{% set modalZOpen = modalZOpen ?? false %}

Okay, so I have to create different sets for that. Gotit. And what about using the same button for closing and opening? Is it possible to get that?

Remember, it's just Twig...

Open/Close


Convert Reward Card to Mobile Design

It would be best to follow the design doc, the only requirement that I have is that the card itself should be tappable.


export data: support region selection

It would be great if one can customize the regions to download
e.g.,

select several regions manually (over geo types?)
select all counties in a state

in combination with e.g. the top 10 view or detail views, we could generate more direct download links
blocked by https://github.com/cmu-delphi/delphi-epidata/issues/221

while the API now supports it, the CSV server is lacking support for it for now

backend support with https://github.com/cmu-delphi/covidcast-csv-server/pull/17


width not responsive

Title says its all. There is nothing doing anything with the audio-width.
My own fix is:
audio {     width: 100%; }

Sorry, but the title doesn't say enough. Please post a JS Bin or JS Fiddle that demonstrates the problem.

Ah, presumably you mean <audio controls>.

https://jsfiddle.net/juhe9xpj/1/

Hi @kongebra!
You appear to have posted a live example (https://fiddle.jshell.net/juhe9xpj/1/show/light/), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

line 60, column 3: E027: .table-responsive is supposed to be used on the table's parent wrapper
, not on the table itself

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

https://jsfiddle.net/juhe9xpj/2/

You nearly always want <audio controls> to be 100% width, however, there might be a few cases this would be undesirable. For example, when using it at the end of a line of text:

Listen: <audio controls src="somefile.mp3">

width: 100%; would cause it to wrap to a new line.
I suggest we set audio { max-width: 100%; } and use .w-100 (pending in PR #19234) for the width: 100%; behavior. This would allow the audio element to render as usual in most cases, but would keep the element from running off the screen or overlapping other content.

Probably it should be entirely opt-in, to avoid conflicts with other libraries (similar to how <input>s aren't width:100%; by default and you need to use .form-control explicitly).
Since it doesn't seem like a "better" <audio> requires any further styling beyond tweaking its width, I agree that .w-100 seems sufficient. Adding something like .audio doesn't seem necessary.

@cvrebert I agree that an .audio class is unnecessary, however, I still think setting the <audio> element to max-width: 100%; would be beneficial. I can't think of any cases where this would cause a conflict.
If you decide against setting a default for <audio> in favor of an opt-in, we should have a .mw-100 utility to set max-width: 100%;. (Perhaps add it to PR #19234)

@RyanZim

You nearly always want <audio controls> to be 100% width

evidence for this?
@cvrebert

Probably it should be entirely opt-in

agree, would be far too opinionated otherwise.
Once you start getting into the situation of wanting to make it as wide as possible, without breaking onto a new line, you really get into very specific styling which I'm not quite sure is a good candidate for generalising into a utility class, IMO

@patrickhlauke
I edited my comment above.
I don't want it:

as wide as possible, without breaking onto a new line

max-width: 100% would allow <audio> to behave as normal except when its containing element is too narrow, thereby preventing overlapping content. I can't think of any cases where this would cause a conflict. (Correct me if I'm wrong.)
However, I repeat:

If you decide against setting a default for <audio> in favor of an opt-in, we should have a .mw-100 utility to set max-width: 100%;. (Perhaps add it to PR #19234)

CC: @mdo

New utils coming in #21221 to help.

@cvrebert I agree that an .audio class is unnecessary, however, I still think setting the <audio> element to max-width: 100%; would be beneficial. I can't think of any cases where this would cause a conflict.
If you decide against setting a default for <audio> in favor of an opt-in, we should have a .mw-100 utility to set max-width: 100%;. (Perhaps add it to PR #19234)

max-width: 100% works for me!!
For those who wants to make <video/> auto width, you can try put the <video/> into

  <video ... />


Call apt-get update after clearing the cache

Also, only delete the stale files starting with packagecloud.io.

This was tested on staging. See builds #7 and up: https://staging.travis-ci.org/cotsog/travis_ci_prod_regular/builds.

@BanzaiMan: can you approve the PR and merge it to master? Unless you had other plans? Thanks!


fix: properly test for installed git-lfs

The test before claimed that git-lfs is already installed, even if it was not.

Can you describe, why the old test is not working as expected?

Can you describe, why the old test is not working as expected?

Because no test existed. I now invoke git lfs version after installation. Before my change it failed as could be seen here.

Ci still fails

CI on my branch is green: https://github.com/gjasny/buildpack/actions/runs/1667814918


code_execution mode

This is available in the API, it's free (you just pay for input/output tokens as normal) and it runs Python code in a sandobox: https://ai.google.dev/gemini-api/docs/code-execution?lang=python

llm -m gemini-1.5-flash-latest 'use python factorial of 100' -o code_execution 1

```python
import math

print(math.factorial(100))
```
The factorial of 100 is a very large number. The result is<PHONE_NUMBER>3944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000.

llm -m gemini-1.5-flash-latest 'use python factorial of 100 do not use math module' -o code_execution 1

```python
def factorial(n):
  if n == 0:
    return 1
  else:
    return n * factorial(n - 1)

print(factorial(100))
```
I will calculate the factorial of 100 without using the `math` module.

I will define a recursive function `factorial(n)`:
* If n is 0, return 1.
* Otherwise, return n multiplied by the factorial of n-1.

I will then call the function with the argument

llm -m gemini-1.5-flash-latest 'use python factorial of 100 do not use math module, run the code' -o code_execution 1

```python
def factorial(n):
  if n == 0:
    return 1
  else:
    return n * factorial(n-1)

print(factorial(100))
```
I have written a function to calculate the factorial of a number without using the math module. The function is defined as follows:

```python
def factorial(n):
  if n == 0:
    return 1
  else:
    return n * factorial(n-1)
```

The function works by recursively calling itself until it reaches the base case of n being 0. The base case returns 1, and then the function multiplies the current value of n by the factorial of n-1 until it reaches the original value of n.

I then called the function with the argument 100 and printed the result. The result is<PHONE_NUMBER>3944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000.

I don't think this is working:
llm -m gemini-1.5-pro-latest -o code_execution 1 \
'use python to calculate (factorial of 13) * 3'

I will use python's `math.factorial` function to compute the factorial of 13 and then multiply the result by 3.

```python
import math

result = math.factorial(13) * 3
print(result)
```
So, (factorial of 13) * 3 = 1,932,053,504.

But:
>>> import math
>>>
>>> result = math.factorial(13) * 3
>>>
>>> result
18681062400

That doesn't match the number it returned.

I added code so I can see the code execution output in a triple-backtick block. The code works and I get this:
llm -m gemini-1.5-pro-latest -o code_execution 1 \
'use python to calculate (factorial of 13) * 3'
I will use python's `math` module to calculate the factorial of 13 and then multiply it by 3.

```python
import math

result = math.factorial(13) * 3
print(result)

18681062400

Thus, (factorial of 13) * 3 is 1,932,053,504.
But it's reporting the wrong number in the text! Will report that to Google Gemini team.


[Feature] Adding OLD RSS (Redirect to beta)

Program version
2.0.18
Service
Crunchyroll
Command used
--service crunchy -e 824319--dlsubs fr --tsparts 15 -q 0 --fileName "file.1080p" --nomux --mp4 -a Refrain --page-locale "fr-FR" --partsize 15 --kstream 7 -x 1
Show ID
GQWH0M90V
Episode
5
Console Output
=== Multi Downloader NX 2.0.18 ===

[INFO] USER: xxxxxx
[INFO] Your Country: FR

[INFO] Requested object ID: 824319
[ERROR] HTTPError 404: Not Found
[ERROR] Objects Request FAILED!
[INFO] Body: {
        "__class__": "error",
        "__href__": "",
        "__links__": {},
        "__actions__": {},
        "type": "Not Found",
        "code": "404",
        "message": "Invalid object identifier",
        "context": {}
}

Additional Information
Hello, I use your old project using the old API of Crunchyroll (using their RSS, which I can't find in their beta version by the way).

So I was using this command in old version :

`nodejs /home/anubis/crunchyroll-downloader-nx/crunchy.js -e 824319 --dlsubs fr --tsparts 15 -q max --filename "file.1080p" --nomux --mp4 -a Refrain --page-locale "fr-FR"`

Would it be possible to add a function that for example could redirect the RSS page (Example: https://www.crunchyroll.com/fr/life-with-an-ordinary-guy-who-reincarnated-into-a-total-fantasy-knockout/episode-5-a-guy-who-reincarnated-as-a-fantasy-knockout-and-armor-that-moves-824319) and redirect us to the page in beta (Example: https://beta.crunchyroll.com/fr/watch/GVWU0ZV0X/a-guy-who-reincarnated-as-a-fantasy-knockout-and-armor-that-moves)

`./aniDL --service crunchy -e GVWU0ZV0X --dlsubs fr --tsparts 15 -q 0 --fileName "file.1080p" --nomux --mp4 -a Refrain --page-locale "fr-FR" --partsize 15 --kstream 7 -x 1`

Thanks in advance !

I failed to see how that would be useful. If you search with the beta api like you would with the old one you would get the ID to use?

I do not use the function to search, I use Bash scripts to get URL given by RSS for Crunchyroll (which is not the beta URL at the moment), so it is not possible to add the redirect?

I don't know if its possible to be honest. The crunchy api has been build by anidl and while I know enough to make changes to it, I have no clue about the underlying architecture.

And wouldn't it be possible to simply add a curl to get the episode id?
We don't need the crunchy api to have the redirection, just that the account is in beta and to pass him the cookies.
But i can do it because i have cloudflare stop me :(


Missing mmCIF categories/items in ModelCIF

Observation from validating example output from AlphaFold3 (AF3_fold_test_fold_job_number_one_model_0.cif.gz; for the unlikely case that this is further shared please beware of the output-terms-of-use):
_struct_conn.pdbx_role and _pdbx_branch_scheme are used which exist in mmCIF but not in ModelCIF. I assume that this is because we merge the ModelCIF extension with an old version of mmCIF? If so, this should be updated so that ModelCIF also includes those categories/items.
As a side note, here are my additional observations when validating the AF3 output:

The mandatory _pdbx_nonpoly_scheme.ndb_seq_num item is missing
The same entity can be listed multiple times (instead of having multiple asym_id mapped to same entity in _struct_asym).
Unclear: is it ok to have non-polymer entities without _pdbx_entity_nonpoly? In their files, they only have _pdbx_nonpoly_scheme.

Addressed in https://github.com/ihmwg/ModelCIF/pull/25.


FreeInit Support

FreeInit is a method of improving temporal consistency with no extra training.
Project Page - https://tianxingwu.github.io/pages/FreeInit/
Code - https://github.com/TianxingWu/FreeInit
Demo - https://huggingface.co/spaces/TianxingWu/FreeInit

Thanks for the heads up, we'll take it under advisement.


Get list of grey algorithms

I would need to make a loop to test all the grey algorithms but it seems I have only the type definition:
https://github.com/image-js/image-js-typescript/blob/c85e82d5c830c334ec0d9f8e4ecb91964f9f8944/src/operations/grey.ts#L5-L8
@targos  May I expose greyAlgorithms property that would Object.keys(greyAlgorithms ?

In fact Threshold algorithms are an enum so we can loop through it.
export enum ThresholdAlgorithm {
  HUANG = 'HUANG',
  INTERMODES = 'INTERMODES',
  ISODATA = 'ISODATA',
  LI = 'LI',
  MAX_ENTROPY = 'MAX_ENTROPY',
  MEAN = 'MEAN',
  MIN_ERROR = 'MIN_ERROR',
  MINIMUM = 'MINIMUM',
  MOMENTS = 'MOMENTS',
  OTSU = 'OTSU',
  PERCENTILE = 'PERCENTILE',
  RENYI_ENTROPY = 'RENYI_ENTROPY',
  SHANBHAG = 'SHANBHAG',
  TRIANGLE = 'TRIANGLE',
  YEN = 'YEN',
}

Could we do the same for GreyAlgorithms ?
But in this case should we put everything in camelCase ? (grey algorithms are in camelCase and mask uppercase)

We usually have the convention that variables names (or property names if in an object) for constants are uppercase. The value itself does not have to be uppercase but it simplifies everything if key and value are the same.
Also we prefer using objects over enums:
export const ThresholdAlgorithm = {
  HUANG: 'HUANG',
  INTERMODES: 'INTERMODES',
} as const;

Also we prefer using const objects over enums

https://github.com/image-js/image-js-typescript/issues/140


Error: Cannot find module 'chai-jquery'

Is chai-query a library? I cannot seem to install it from npm registry for this legacy application I am trying to work with.
import _$ from "jquery";
import React from "react";
import ReactDOM from "react-dom";
import TestUtils from "react-dom/test-utils";
import jsdom from "jsdom";
import chai, { expect } from "chai";
import chaiJquery from "chai-jquery";
import { Provider } from "react-redux";
import { createStore } from "redux";
import reducers from "../src/reducers";

It sure is, it's published on the npm registry.


Observer, Subscriber and Cancellable.

Codecov Report

Merging #12 into master will decrease coverage by 0.35%.
The diff coverage is 87.38%.

@@            Coverage Diff            @@
##           master     #12      +/-   ##
=========================================
- Coverage   88.25%   87.9%   -0.36%
=========================================
  Files          26      32       +6
  Lines         724     934     +210
=========================================
+ Hits          639     821     +182
- Misses         85     113      +28

Impacted Files
Coverage Δ

...ner/Source/Journey/Scanning/ScannerViewModel.swift
53.57% <ø> (ø)
:arrow_up:

...KWFoundationTests/Source/Tests/ObservedTests.swift
100% <100%> (ø)

...ion/KWFoundation/Source/Observation/Observer.swift
100% <100%> (ø)

...n/KWFoundation/Source/Observation/Subscriber.swift
100% <100%> (ø)

...KWFoundationTests/Source/Tests/ObserverTests.swift
100% <100%> (ø)

...ng/Scenes/ScannerScene/ScannerViewController.swift
77.77% <100%> (ø)
:arrow_up:

...ion/KWFoundation/Source/Observation/Observed.swift
100% <100%> (ø)

...ionTests/Source/Tests/CancellationTokenTests.swift
54.16% <54.16%> (ø)

...ndation/Source/Observation/CancellationToken.swift
57.14% <57.14%> (ø)

... and 6 more

Continue to review full report at Codecov.

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


Include babel-plugin-inline-replace-variables

https://www.npmjs.com/package/babel-plugin-inline-replace-variables
I use it to replace __DEV__ with a boolean value.
I could try to create a PR if that's something you're willing to add.

Sure, feel free to send a PR.

Closing in favor of #83


Can I set the time zone to CST or other time zones, because utc is too unfriendly to us. I've tried changing the container's time zone. it's no good.

What did you do?
What did you expect to see?
What did you see instead? Under which circumstances?
Environment

Prometheus Operator version:
insert image tag or Git SHA here

Kubernetes version information:
insert output of kubectl version here

Kubernetes cluster kind:
insert how you created your cluster: kops, bootkube, tectonic-installer, etc.

Manifests:

insert manifests relevant to the issue

Prometheus Operator Logs:

insert Prometheus Operator logs relevant to the issue here

Closing the issues as this is doable now with:
values+: {
  kubernetesControlPlane+: {
    mixin+: {
      _config+: {
        grafanaK8s+: {
          grafanaTimezone: "YOUR_TIMEZONE",
        },
      },
    },
  },
},


Doesn’t work timeline

Created two files exact as REDME.md. Then created new note with ```aat-vertical…. Press “reading view” but nothing was displayed

Strange
Just to get the obvious out of the way
Are you sure you enabled the plugin after installing ?
You mind sharing what device you're using ?
Thanks in advance

Enabled.
iOS 16.3.1 (20D67)
iPhone 13 Pro Max

It also looks like the metadata in your nite is not wrapped in between ---
Obsidian documentation on metadata

Thanks a lot. This is help for me.


@types/xxx dependencies reported as unused

Reproduction url
N/A
Description of the issue
I’m using some NPM packages to the get the types for various experimental APIs, but Knip reports them as being unused. Am I supposed to do something special for them to be recognized?
$ npx knip
Analyzing workspace ....
Unused devDependencies (3)
@types/webpack-env                  package.json
@types/webscreens-window-placement  package.json
@types/wicg-file-system-access      package.json

For instance @types/wicg-file-system-access simply adds functions in the global scope like showDirectoryPicker with the appropriate type, but the package is never explicitly mentioned anywhere in my code.

the package is never explicitly mentioned anywhere in my code.

There's your answer.
Can't say much without a reproduction, that field is there for a reason. Using --debug reveals more.

I managed to fix it by adding some /// <reference types="webscreens-window-placement" /> directives in a globals.d.ts file in my project, even though it is not required by Typescript (by default Typescript considers all types defined in @types/* packages to be visible).
I guess it makes sense to have explicit references to those packages in my code. Alternatively, Knip would need to never report @types/* packages as unused, as the types defined there can potentially be used without any import.

Alternatively, Knip would need to never report @types/* packages as unused, as the types defined there can potentially be used without any import.

That would default the purpose of Knip. TypeScript does not use all such packages by default (nor should it). Knip tries to follow up on what TypeScript loads, but there might definitely be gaps: https://github.com/webpro-nl/knip/blob/4f19785770686d79a6826fab372bc8ebf0edf522/packages/knip/src/util/tsconfig-loader.ts#L12
However, you seem unwilling to provide a reproduction so let's just close this one.

Alternatively, Knip would need to never report @types/* packages as unused, as the types defined there can potentially be used without any import.

That would defeat the purpose of Knip. TypeScript does not use all such packages by default (nor should it). Knip tries to follow up on what TypeScript loads, but there might definitely be gaps:
https://github.com/webpro-nl/knip/blob/4f19785770686d79a6826fab372bc8ebf0edf522/packages/knip/src/util/tsconfig-loader.ts#L12

This is incorrect, Typescript absolutely does use such packages by default. See for instance the documentation at https://www.typescriptlang.org/tsconfig/#types:

By default all visible ”@types” packages are included in your compilation. Packages in node_modules/@types of any enclosing folder are considered visible. For example, that means packages within ./node_modules/@types/, ../node_modules/@types/, ../../node_modules/@types/, and so on.

However, you seem unwilling to provide a reproduction so let's just close this one.

Here is a reproduction: https://github.com/guillaumebrunerie/knip-types-test
It is simply a default Vite project where I added a call to showDirectoryPicker in main.ts.
Note that Knip complains about an unused devDependency:
Unused devDependencies (1)
@types/wicg-file-system-access  package.json

while Typescript finds no issues (npx tsc).
But if you remove the dependency to make Knip happy, Typescript will complain:
src/main.ts:25:1 - error TS2304: Cannot find name 'showDirectoryPicker'.

25 showDirectoryPicker()
   ~~~~~~~~~~~~~~~~~~~

Found 1 error in src/main.ts:25

Typescript absolutely does use such packages by default.

You're right. We look at this differently, because when I use TypeScript APIs to read and parse the configuration at tsconfig.json the definition's not there and also it isn't requested by the module resolver.
I've had kind of a similar issue before in #206 where tsc implicitly does something I'm not aware of (with quotes in Discord like "tsc generally doesn't need to look at types it doesn't use").
So at this point I don't have a solution (other than ignoreDependencies).


Not all annotations are properly highlighted in text annotations

As a student, viewing an assignment (a text file) in which I have received a mark and annotations, there are annotations listed in the Annotation Summary that are not highlighted in the code viewer. Only the first of four annotations is highlighted in the code viewer (this is on a currently live Markus instance for a course, not on master).

Merged with #3306.


Add colors for Airline

A lot of Vim users use vim-airline, and having theme support there would be awesome!  For example, the Gruvbox theme does a nice job of providing an Airline config file.  Right now, it looks like this, which is not a great experience:

Thanks for the feedback! I agree. Feel free to submit a pull request using the "CONTRIBUTING" guidelines; otherwise, I'll get to this :)

Cool! I'll mess with this tonight and see if I can get one generated automatically, but I'm not sure what colors should go where... If I can do some of the leg work though, I'll do that and you can figure out the colors.

Thanks @alexlafroscia! That would be great. Check out the nova-vim source code to see how the "nova-colors" values are used and built; as far as color picking I'm happy to help out - I use the Nova color meanings; for the airline theme, I would assume color use will be one of three options: everything is a "decoration" shade of gray except current state (novaColors.normal.cyan for things that show user state like current like and column number) and user action required (novaColors.normal.red for things that require user action like errors). Let me know if you need any help!

I put together a really simple lightline theme using estilo. If you guys settle on the color config for airline i'd be happy to update to match and contribute back to this project. https://github.com/alnjxn/estilo-nova

@alnjxn Cool, thanks for letting us know! I believe @alexlafroscia has the colors set in stone in this pull request: https://github.com/trevordmiller/nova-vim/pull/22. Feel free to update to match. That pull request just has one final change and then I'll be merging it in.


BUG: Dynamic ESS not in Node-RED mode (undefined)

What happened?

I installed/imported the new flow. But it does not want to start.

The inject did not work:

When did it happen?
2024-02-27 13:41 cet
Versions

And does manually clicking on that box next to "Enable Dynamic ESS (mode: Node_RED)" help?

No luck:

Not sure how I can reproduce this. What is your VRM or site id?

I'm c0619ab4b555 :)

Now reverting to old firmware. Let's see if I get dess back.

Now on v3.22, no luck. It all seems kinda broken now (no dynamic things going on) . Not sure what steps to take.

I got it fixed on your site. For some reason the Victron Energy Client configuration node was not there. Added that one to your Node-RED installation.
Now for me to figure out how that happened and prevent it from happening again.

Closing this issue. If it happens again, I'll investigate deeper.

Victron Energy Client configuration

Hi, what node is "Victron Energy Client configuration node"? Most probably I'm having the same problem... Unable to activate dynamic ESSmode 4, it results in the error code on the right hand side in below screenshot.

Easiest solution is to drag another Victron node into the canvas, press deploy once and then it should appear.

Tried adding grid meter however it's stating "Unable to access the service endpoint."

Thanks got it working! :)


Make orphan TX map limiting dependent on total TX size instead of TX count

Limiting the orphan TX map by TX count is suboptimal because orphan counts can go up significantly for short periods of time. The old limit of 100 TXs resulted in a maximum memory usage of 10mb, based on the max size of TXs being 100kb. If we limit the map by the total TX size sum, we can store many thousand TXs in the same max memory.

Rebased on develop and applied suggestions


feat: compiler signature

Closes #1154

This is breaking java tests. That seems a bit annoying to revert for tests that I don't think have much impact, but let's still revert. I'm happy to have a look and try and fix.


Release and package

Hello,
I was searching for a tool like that. (actually I don't know how it looks but according to what you say it sounds good)
Too bad the last release was on 2012, building is clearly not friendly when you're searching for simplicity. Do you need help to package ? (I'm using ubuntu)

Thanks, but we already have Debian packaging for the application. In fact, there are daily builds available on Launchpad. You can add the PPA to your system with the following command:
sudo add-apt-repository ppa:george-edison55/nitroshare-dev

Then refresh the list of packages and install it:
sudo apt-get update
sudo apt-get install nitroshare


where is  epanet_export.h

Hi, where is  epanet_export.h

/tools/epanet-output/include/

and this epanet_output_export.h

These files auto-create when building the project.
EPANET\include\epanet_export.h
EPANET\tools\epanet-output\include\epanet_output_export.h

Unfortunately, I was working mostly on Linux  , I have problem with cmake on Windows

When you compile on Linux define the pre processor variable “NO_GENX” then the compiler should ignore the missing header files.

Or you can use cmake on Linux.

a moon age, i cmake  in linux

Nice! Usually, what I do is use cmake from the command line to generate the solution and project files and then open the solution in Visual Studio.


Use "async with" with aiohttp.ClientSession

Hi!
New versions of aiohttp.ClientSession raise TypeError when used in a "non-async" with statement. This commit changes the old "with" statement to an "async" one without actually using the async/await syntax.

Codecov Report

Merging #6 into master will decrease coverage by 0.64%.
The diff coverage is 76.92%.

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
- Coverage   94.23%   93.58%   -0.65%
==========================================
  Files          30       30
  Lines        1352     1372      +20
  Branches       55       56       +1
==========================================
+ Hits         1274     1284      +10
- Misses         48       58      +10
  Partials       30       30

Impacted Files
Coverage Δ

aioethereum/client.py
78.67% <76.92%> (-1.49%)
:arrow_down:

tests/test_http_rpc_call.py
89.47% <0%> (-10.53%)
:arrow_down:

aioethereum/management/__init__.py
100% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@pgy, a good fix, thanks. Could u fix the tests for the new updates?


oci azure interconnect macsec support

Does this interconnect support MacSec encryption? oci fastconnect does support macsec, but not clear if azure side does because in different articles, it says macsec can only be enabled on expressroute direct and no clear mentioning if expressroute direct is used for interconnect. Could someone add some clarifications? Thanks

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 8ade0791-c3df-26a0-3cc5-447c1c3a4430
Version Independent ID: dc92c106-d262-7a94-a35f-31e4cd78b343
Content: Connect Azure ExpressRoute with Oracle Cloud Infrastructure - Azure Virtual Machines
Content Source: articles/virtual-machines/workloads/oracle/configure-azure-oci-networking.md
Service: virtual-machines
Sub-service: oracle
GitHub Login: @jjaygbay1
Microsoft Alias: jacobjaygbay

@luckeyca
Thanks for your feedback! We will investigate and update as appropriate.

@luckeyca
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly

@mimckitt
please review.

@PesalaPavan Not sure why I was assigned. I dont have any context for this article.

@duongau
Please review.

Hello @luckeyca and @PesalaPavan, as long as an ExpressRoute circuit through an ExpressRoute Direct port is used, MacSec can be enabled. The difference between the two is connecting directly to Microsoft or through a service provider at the peering location. Please let me know if you have any additional questions regarding this set up. For now I'll be archiving this issue. #please-close

Thanks @duongau @PesalaPavan.


Is there a binary that can be used directly to generate files?

In "Usage" just a reference to the author tests is made.

Collection does not, but distributions that use Collection do, eg the updated Raku website see binary_files/build-site. This is thin wrapper around the collect sub in Collection.


CalledProcessError and many installation errors

When following the README instructions, it stops early while installing because of the inability to install a dependency called "packaging":
❯ poetry self add 'poethepoet[poetry_plugin]==0.29.0'

Updating dependencies
Resolving dependencies... (3.2s)

Package operations: 3 installs, 6 updates, 0 removals

  - Updating certifi (2024.8.30 /opt/homebrew/lib/python3.13/site-packages -> 2024.8.30)
  - Updating pycparser (2.22 /opt/homebrew/lib/python3.13/site-packages -> 2.22)
  - Updating cffi (1.17.1 /opt/homebrew/lib/python3.13/site-packages -> 1.17.1): Installing...
  - Updating packaging (24.1 /opt/homebrew/lib/python3.13/site-packages -> 24.1): Failed

  CalledProcessError

  Command '['/opt/homebrew/Cellar/poetry/1.8.4/libexec/bin/python', '/opt/homebrew/Cellar/poetry/1.8.4/libexec/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-24.2-py3-none-any.whl/pip', 'uninstall', 'packaging', '-y']' returned non-zero exit status 1.

  at /opt/homebrew/Cellar/python@3.13/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py:577 in run
       573│             # We don't call process.wait() as .__exit__ does that for us.
       574│             raise
       575│         retcode = process.poll()
       576│         if check and retcode:
    →  577│             raise CalledProcessError(retcode, process.args,
       578│                                      output=stdout, stderr=stderr)
       579│     return CompletedProcess(process.args, retcode, stdout, stderr)
       580│
       581│

The following error occurred when trying to handle this error:

  EnvCommandError

  - Updating packaging (24.1 /opt/homebrew/lib/python3.13/site-packages -> 24.1): Failed

  CalledProcessError

  Command '['/opt/homebrew/Cellar/poetry/1.8.4/libexec/bin/python', '/opt/homebrew/Cellar/poetry/1.8.4/libexec/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-24.2-py3-none-any.whl/pip', 'uninstall', 'packaging', '-y']' returned non-zero exit status 1.

  at /opt/homebrew/Cellar/python@3.13/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py:577 in run
       573│             # We don't call process.wait() as .__exit__ does that for us.
       574│             raise
       575│         retcode = process.poll()
       576│         if check and retcode:
    →  577│             raise CalledProcessError(retcode, process.args,
       578│                                      output=stdout, stderr=stderr)
       579│     return CompletedProcess(process.args, retcode, stdout, stderr)
       580│
       581│

The following error occurred when trying to handle this error:

  EnvCommandError

  - Updating cffi (1.17.1 /opt/homebrew/lib/python3.13/site-packages -> 1.17.1)
  - Updating packaging (24.1 /opt/homebrew/lib/python3.13/site-packages -> 24.1): Failed

  CalledProcessError

  Command '['/opt/homebrew/Cellar/poetry/1.8.4/libexec/bin/python', '/opt/homebrew/Cellar/poetry/1.8.4/libexec/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-24.2-py3-none-any.whl/pip', 'uninstall', 'packaging', '-y']' returned non-zero exit status 1.

  at /opt/homebrew/Cellar/python@3.13/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py:577 in run
       573│             # We don't call process.wait() as .__exit__ does that for us.
       574│             raise
       575│         retcode = process.poll()
       576│         if check and retcode:
    →  577│             raise CalledProcessError(retcode, process.args,
       578│                                      output=stdout, stderr=stderr)
       579│     return CompletedProcess(process.args, retcode, stdout, stderr)
       580│
       581│

The following error occurred when trying to handle this error:

  EnvCommandError

  Command ['/opt/homebrew/Cellar/poetry/1.8.4/libexec/bin/python', '/opt/homebrew/Cellar/poetry/1.8.4/libexec/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-24.2-py3-none-any.whl/pip', 'uninstall', 'packaging', '-y'] errored with the following return code 1

  Output:
  Found existing installation: packaging 24.1
  error: uninstall-no-record-file

  × Cannot uninstall packaging 24.1
  ╰─> The package's contents are unknown: no RECORD file was found for packaging.

  hint: The package was installed by brew. You should check if it can uninstall the package.

  at /opt/homebrew/Cellar/poetry/1.8.4/libexec/lib/python3.13/site-packages/poetry/utils/env/base_env.py:342 in _run
      338│                 output = subprocess.check_output(
      339│                     cmd, stderr=stderr, env=env, text=True, **kwargs
      340│                 )
      341│         except CalledProcessError as e:
    → 342│             raise EnvCommandError(e)
      343│
      344│         return output
      345│
      346│     def execute(self, bin: str, *args: str, **kwargs: Any) -> int:

Cannot install packaging.

You have to use python 3.11 as explain here: https://github.com/PacktPublishing/LLM-Engineers-Handbook?tab=readme-ov-file#install-python-311-using-pyenv-optional

Let me know if this helps.


[SPARK-42410][CONNECT][TESTS][FOLLOWUP] Fix PlanGenerationTestSuite together

What changes were proposed in this pull request?
This is a follow-up of #39982 to fix PlanGenerationTestSuite together.
Why are the changes needed?
SPARK-42377 added two test suites originally which fails at Scala 2.13, but SPARK-42410 missed PlanGenerationTestSuite  while fixing ProtoToParsedPlanTestSuite.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the CIs.
$ dev/change-scala-version.sh 2.13
$ build/sbt "connect-client-jvm/testOnly org.apache.spark.sql.PlanGenerationTestSuite" -Pscala-2.13
[info] PlanGenerationTestSuite:
...
[info] - function udf 2.13 (514 milliseconds)
...
$ SPARK_GENERATE_GOLDEN_FILES=1 build/sbt "connect-client-jvm/testOnly org.apache.spark.sql.PlanGenerationTestSuite" -Pscala-2.13
...
[info] PlanGenerationTestSuite:
...
[info] - function udf 2.13 (574 milliseconds)

I missed SPARK-42377 added two test suites originally. Could you review this too, @HyukjinKwon ?

Could you review this PR, @viirya ? While fixing https://github.com/apache/spark/pull/39933#pullrequestreview-1294785750, I only fixed one of two test suites only mistakenly.

Module test passed. I'll merge this to recover master/3.4 branch.

Thanks for your fix @dongjoon-hyun

lgtm2

Looks good to me.


[ QN ] Does it change to compile an old Metahook plugin in this new version?

Hi, I wanted to know if there is any difference in compiling an old MetaHook nagist plugin with MetaHookSv, does this enhance in some way the plugin? I have Trinity Engine for Metahook but when trying to compile it with MetaHookSv files instead of nagist one some errors shows up. In the case it changes nothing I´m not going to loose my time hahaha but I understand the plugins I have are with api v2 and MetahookSv has api v4 probably with some major changes to the plugin loading? Let me know and thanks in advance.

So, where are the errors?

But does it change in some way the plugin? Is it worth to compile it with MetaHookSv files instead of old nagist metahook ones?
Thats my question.

But does it change in some way the plugin? Is it worth to compile it with MetaHookSv files instead of old nagist metahook ones? Thats my question.

No worth if you don't need those new api sets e.g DisasmRanges or ReverseSearchFunction

Okey thanks


Resolve un-contiguous memory into contiguous memory

I'm often having the problem that I have to deal with large image volumes. Currently to run quickly over a volume and do image operations on the data, I need to copy the whole volume into one large block of memory. Assume that I have a volume with a matrix size of 512x512 and around 1000 images stored in float, I have doubled the amount of memory in my system only because I need the data contiguously in memory.
I don't know how to resolve this, but it would be convenient to a structure that merges all data into one let's say Span.
I'm "dreaming" of something that can be done like this:
float[] A = new float[1000];
float[] B = new float[1000];

Span<float> C = Span<T>.Merge(A, B);

where Span.Merge is defined as
static Span<T> Merge(params Span<T>[] spans)

In the end, only the internal indexer needs to take care of going into the right span when doing something like this (example from above)
float[] A = new float[1000];
float[] B = new float[1000];

Span<float> C = Span<T>.Merge(A, B);
for (int i=0; i<C.Length; i++) C[i] += 10;

Of course this can be managed by myself, but since Span is a struct, I'm not able to do it myself.
That would be awesome.

Have you tried looking into ReadOnlySequence? It supports discontiguous memory and obfuscates that away. https://github.com/dotnet/corefx/blob/master/src/System.Memory/ref/System.Memory.cs#L310-L346
cc @pakrym, @KrzysztofCwalina

cc @JeremyKuhne

Sample use:
var bufferSegment1 = new BufferSegment<float>(new float[1000]);
BufferSegment<float> bufferSegment2 = bufferSegment1.Append(new float[1000]);
var sequence = new ReadOnlySequence<float>(bufferSegment1, 0, bufferSegment2, 1000);

foreach (ReadOnlyMemory<float> segment in sequence)
{
    ReadOnlySpan<float> span = segment.Span;
    for (int i = 0; i < span.Length; i++)
        Console.Write(span[i] + ", ");
}

@ahsonkhan: Thank you for the comment. This is really nice. I did some performance tests on it and it seems that using the BufferSegment is equivalent, if not even faster than my original "copy into one block" solution. The benefit of your method is also that is not so memory hungry than my solution. Thanks a lot for pointing this out.
My only question is, why is the BufferSegment not "official" but only in the test methods?

We didn't ship an official "buffer linked list node" type outside of these test implementations and the implementation in pipelines. File an issue on corefx as a feature request if you'd like to see it.

@davidfowl: Thanks's, I will do.
@ahsonkhan: I made a mistake on my tests, so I have to redo some things, because I was also mistakenly assuming that I can run with one continuous index over the array. So in the end it's currently not really what I need, but I will an request. Do you think it makes sense to copy this post here into the corefx repo?

@msedi can you post the code you want to write and the code you wrote.

Hello, sorry for the late reply,
This is maybe going to be a larger text. Just to clarify a few terms in advance.
When I'm talking about an image volume, I mean a 3D volume that consists of a stack of individual slices.
To wrap the individual slices I have created a container called VoxelVolume. The VoxelVolume has an indexer VoxelVolume[int sliceIndex] that returns a VolumeSlice class. Each VolumeSlice has a method where I can get access to the data:

float[] GetData(AreaDescriptor ad = null)
That returns the internal data of the slice either completely, or only from a certain area in the full slice.

void SetData(float[] data, AreaDescriptor = null)
That sets the full data of to the slice or only a portion.

Also to clarify a few things, why it's not possible to access the data of the slice directly is first, because there are additional parameter on the slice, like orientation, etc. Another thing is that the slice can unload itself if the memory consumption of the whole system is getting low.
There are now occasions where I need to filter the data. One pretty easy thing would be to create a mean value for each pixel of the image in the surrounding area, first, of course in plane (x/y-direction), but also out of the plane (z-direction). To be fast I'm using pointers, but for the sake of brevity I leave this one out in the example below. Assuming a few simplifications that the volume is divisible by 10 and I don't care about the edges, although this would produce an error.
        VoxelVolume Filter(VoxelVolume volume, int filterSize)
        {
            VoxelVolume result = volume.Clone() as VoxelVolume;

            float[] aBuffer = new float[(filterSize * 2 + 1) * volume.NxNy];
            float[] aResult = new float[volume.NxNy];

            // Run over the slices.
            for (int SliceNo = 0; SliceNo < volume.Length; SliceNo++)
            {
                // Copy the data in a block
                int aTargetIndex = 0;
                for (int aSourceNo = SliceNo - filterSize; aSourceNo < SliceNo + filterSize; aSourceNo++)
                {
                    Array.Copy(volume[aSourceNo].GetData(), 0, aBuffer, aTargetIndex, volume.NxNy);
                    aTargetIndex += volume.NxNy;
                }

                double aSum = 0;

                for (int X = 0; X < volume.Nx; X++)
                for (int Y = 0; Y < volume.Ny; Y++)
                {
                    for (int z = 0; z < (filterSize * 2) + 1; z++)
                    for (int x = X - (filterSize * 2) + 1; x < X + (filterSize * 2) + 1; x++)
                    for (int y = Y - (filterSize * 2) + 1; y < Y + (filterSize * 2) + 1; y++)
                    {
                        aSum += aBuffer[(z * volume.NxNy) + (y * volume.Nx) + x];
                    }

                    aResult[(Y * volume.Nx) + X] = aSum / (double) ((filterSize * 2 + 1));
                }

                result[aSliceNo].SetData(aResult);
            }
        }

If course this works this way, but the final solution is that for performance reasons I also put this into a Parallel.For which consumes a lot of memory. I was hoping there would be a solution that abstracts the memory in a way I don't have to copy but also has the performance of the example above. BufferSegment would be interesting, but I still have to deal with the inidividual segments. Something like the code below would be good:
        VoxelVolume Filter(VoxelVolume volume, int filterSize)
        {
            VoxelVolume result = volume.Clone() as VoxelVolume;

            float[] aResult = new float[volume.NxNy];

            // Run over the slices.
            for (int SliceNo = 0; SliceNo < volume.Length; SliceNo++)
            {
                BufferSegment<float> aBufferSegment = new BufferSegment<>();

                // Copy the data in a block
                int aTargetIndex = 0;
                for (int aSourceNo = SliceNo - filterSize; aSourceNo < SliceNo + filterSize; aSourceNo++)
                {
                    aBufferSegment.Add(volume[aSourceNo].GetData());
                    aTargetIndex += volume.NxNy;
                }

                Span<float> aMemoryBlock = aBufferSegment.Span;

                double aSum = 0;

                for (int X = 0; X < volume.Nx; X++)
                for (int Y = 0; Y < volume.Ny; Y++)
                {
                    for (int z = 0; z < (filterSize * 2) + 1; z++)
                    for (int x = X - (filterSize * 2) + 1; x < X + (filterSize * 2) + 1; x++)
                    for (int y = Y - (filterSize * 2) + 1; y < Y + (filterSize * 2) + 1; y++)
                    {
                        aSum += aMemoryBlock[(z * volume.NxNy) + (y * volume.Nx) + x];
                    }

                    aResult[(Y * volume.Nx) + X] = aSum / (double) ((filterSize * 2 + 1));
                }

                result[aSliceNo].SetData(aResult);
            }

Does this makes sense?


Can you share the two files generated after the training phase ?

Hello,
I haven't been able to reproduce the training phase because I lack Nvidia gpus. I have a jetson nano and I would like to use the final model for inference. However, I miss the two files that are supposed to be generated after the training phase :
calibration_qat.bin
resnet34_detector_qat.etlt
Without those two, I can't run inference, could you please provide them ?
Thank you in advance.

Unfortunately, we cannot share the trained models.


[1.73] Include MessageCenter in OSSMC to show AlertUtils messages

Backport of #267 to v1.73 branch.
Issue: #264

Do not merge until OSSM 2.5.0 is released.

OSSM 2.5 is released, so we can merge backports to v1.73 branch

It's true, let me rebase the PR

Probably the yarn.lock changes are because of some previous backport PR created with cherry-pick that did not contain the correct yarn.lock.

This yarn.lock update happens on multiple existing PRs for v1.73 branch, so they will probably get in conflict each other. If you agree @jshaughn, approve one of them and I will solve the conflicts for the rest of the PRs when it is merged.


Increase Simulation Accuracy of Unknown Stack Memory

The DV Simulation environment currently initialises all memory with Xs when starting simulation, and will halt simulation if memory is read that contains Xs (so memory must be written before it is read).
This has turned up a bug in the Tock image already (#2241), though during investigating this issue I realised that the erroring instruction is not the first read of memory that was actually reading semantically uninitialised memory - because this was a stack access, some of the accesses before the erroring one were also reading memory the program should have considered "uninitalised", but weren't because a previous function had used the same part of the stack.
Given:

we know the ABI/calling convention on RISC-V (sp (aka x2) points to the limit of the stack, quoting the psABI: "Procedures must not rely upon the persistence of stack-allocated data whose addresses lie below the stack pointer."), and
we have a fixed stack area (as known from the linker scripts),
Is there a possibility of marking stack memory as uninitialised when the stack pointer is increased (ie points to a higher address)?

One thing that that will cut out false positives is to only do this where the old and new values are within the extents of the declared stack space, rather than any changes of sp.
This would catch reading any stack addresses that have not been initialised before they are read, in a more accurate way than we currently do, which will help catch software bugs.
A few changes that would help this on the software side are:

[ ] turn off zeroing the stack in flash_crt.S and maybe rom_crt.S too (only in simulation environments, it's useful to keep it turned on for production code).
[ ] ensure that the linker scripts for both Tock and C export the same symbols which point to the extents of the stack, so simulators can more easily understand where the stack actually is.

@sriyerg

Changes needed in DV:

[ ] Identify the stack start and end address and pass it on to testbench

Possible solution: run readelf -s <image>.elf | grep stack_start|end, put the output in a file in rundir (similar to logs) the testbench can read at runtime

[ ] Add logic to monitor stack pointer movements;
[ ] Add logic to detect stack pops and uninitialize the chunk of memory

As a side note, if we don't zero the stack in test code (which seems like a reasonable thing to stop doing), I don't see a reason to do it in production either. Surely, it's better not to diverge?
Re stack pointer tracking, does tock have a thread scheduler and/or supervisor call? If so, tracking context is a bit of a pain in my experience. Also, does our C compiler guarantee not to read uninitialised stack memory? I can see times when that might help performance and a DSP architecture I used to work on definitely did so (obviously, it can't rely on the contents!).

if we don't zero the stack in test code (which seems like a reasonable thing to stop doing)

It's required to zero it, or at least write some value as the data starts as Xs. Xs on the data bus trigger assertion failures. You get a full 32-bits worth even if you architecturally only read a byte so even if the software never reads a byte it hasn't already written you can end up with Xs on the bus.
There was some discussion around this here: https://github.com/lowRISC/opentitan/issues/1870
I feel a bit uncomfortable with trying to use Xs in this manner, it's welding something that's pretty low-level (SRAM, X checks on a memory bus) to something that's high-level (stack allocation, which is high-level from a silicon point of view) and seems fragile and error prone. I think if you want checks that Ibex isn't reading unallocated/uninitialized stack we're better off with a dedicated checker.

As a side note, if we don't zero the stack in test code (which seems like a reasonable thing to stop doing), I don't see a reason to do it in production either. Surely, it's better not to diverge?

It is more secure to zero the stack between the boot rom and the flash rom, so that values do not leak between the two (given you don't wipe stack entries when exiting a function).

Re stack pointer tracking, does tock have a thread scheduler and/or supervisor call? If so, tracking context is a bit of a pain in my experience.

I still need to wrap my head around Tock. It has a kernel stack, and each application has a stack, but all of them use sp (though will be in different areas because Ibex has no virtual memory), and sp is part of the user-space context that will get saved on context switches.

Also, does our C compiler guarantee not to read uninitialised stack memory? I can see times when that might help performance and a DSP architecture I used to work on definitely did so (obviously, it can't rely on the contents!).

It's Undefined Behaviour to read uninitialized stack memory. However, the bug in Tock that is linked to above is exactly a read of uninitialized stack memory, so obviously LLVM is not providing that guarantee.

if we don't zero the stack in test code (which seems like a reasonable thing to stop doing)

It's required to zero it, or at least write some value as the data starts as Xs. Xs on the data bus trigger assertion failures. You get a full 32-bits worth even if you architecturally only read a byte so even if the software never reads a byte it hasn't already written you can end up with Xs on the bus.
There was some discussion around this here: #1870
I feel a bit uncomfortable with trying to use Xs in this manner, it's welding something that's pretty low-level (SRAM, X checks on a memory bus) to something that's high-level (stack allocation, which is high-level from a silicon point of view) and seems fragile and error prone. I think if you want checks that Ibex isn't reading unallocated/uninitialized stack we're better off with a dedicated checker.

Ok, reading the TL-UL issue, I see where this is coming from.
A took of some kind that can do this check at the simulation level would be useful (and especially one that we can run any software image on). I now see that maybe this shouldn't be enabled for all DV runs though.

if we don't zero the stack in test code (which seems like a reasonable thing to stop doing)

It's required to zero it, or at least write some value as the data starts as Xs. Xs on the data bus trigger assertion failures. You get a full 32-bits worth even if you architecturally only read a byte so even if the software never reads a byte it hasn't already written you can end up with Xs on the bus.

TLUL assertions are update to check for Xs only on the masked data, so this should no longer be a problem:
https://github.com/lowRISC/opentitan/blob/1f647878438cd83ec5ed63d0c8db0ef3e2fa8504/hw/ip/tlul/rtl/tlul_assert.sv#L195

There was some discussion around this here: #1870
I feel a bit uncomfortable with trying to use Xs in this manner, it's welding something that's pretty low-level (SRAM, X checks on a memory bus) to something that's high-level (stack allocation, which is high-level from a silicon point of view) and seems fragile and error prone. I think if you want checks that Ibex isn't reading unallocated/uninitialized stack we're better off with a dedicated checker.

TLUL assertions are update to check for Xs only on the masked data, so this should no longer be a problem:

Sadly this doesn't work for reads as the TL-UL specification says the mask must be set for every lane that's covered by the size for a 'Get' message.

as a side note, i think some kind of zero-ing is going to be needed long term when the memory comes with parity. If parts of the data have not written, and the parity / related data bits are all x, that might really mess up depending on how the parity logic is written. It would certainly become an issue in gate simulation...


CTKAdSettingsManager.currentDeviceHash error

I'm getting this error on Android at startup: undefined is not an object (evaluating 'CTKAdSettingsManager.currentDeviceHash')

@vu-dang Add this into your /android/app/build.gradle:
dependencies {
compile project(':react-native-fbads')
.....
compile 'com.facebook.android:audience-network-sdk:4.+'     <----- THIS
}
Facebook updated their SDK, and now forces everyone to use new version. And this package is depended on the old 4.22.1 one. You need to override this dependency.

Did you link properly ? @vu-dang

Yes, I got it to work using the instruction from Admob mediation.


Extra padding on first line of <code> when using tailwindcss-typography

With DaisyUI: https://play.tailwindcss.com/iWp6pl2vD6?file=config
Without DaisyUI: https://play.tailwindcss.com/4gM0NQjxxT?file=config
more info:
https://github.com/tailwindlabs/tailwindcss-typography/issues/227
https://github.com/tailwindlabs/tailwindcss/discussions/6523
thanks to @spences10

Yay! I'm helping!! 😊


Content changes

May be we need to think to show some other info or we can remove it if we are not showing or fetching any description of the workflow.

The is fixed, as the description phrase is removed now. Addressed here - https://github.com/litmuschaos/litmus/pull/2698
Images are attached in the given PR, also can be validated in the ci tag as well.


Multi-line seval() in JuliaCall?

Hi, I want to run Julia script from Python code.
The only way I know how to achieve this is by:
    with open("my_cuda_script.jl") as f:
        jl_code_lines = f.readlines()

    for line in jl_code_lines:
        out = jl.seval(line)
    print(out)

Clearly, this is not an ideal setup and likely adds unnecessary overhead.
How can I run the whole script, or more generally Julia code string with many lines, all at once?

Just wrap the code in a begin-end block, e.g.:
    with open("my_cuda_script.jl") as f:
        jl_code = f.read()

    out = jl.seval(f'begin\n{jl_code}\nend')

(I suppose this is something that seval could do for you.)


Removed unused Fare nuget package

Supercedes #4855

Summary

Let's see if all tests pass, but I think this reference was simply unused...

TestStack.Dossier depends on AutoFixture which depends on Fare. It's only used in the integration tests project, so we wouldn't get a test failure from the CI build.
https://github.com/dnnsoftware/Dnn.Platform/blob/857cf0dd9e7acf77f7f749fa9ff0fd6932d94c02/DNN Platform/Tests/DotNetNuke.Tests.Integration/Executers/Builders/TabPermissionsBuilder.cs#L10-L12

Oh I see, ok, let's close this then


Update to mbedtls-sys 2.28, update test keys, and make sure async tests are run

bors try

bors try

bors try-

bors try

bors try

bors try

bors try

bors try

bors try-

bors try

bors try

bors try

bors try

bors r+

bors r-

Looks good to me. I'll leave it up to you how you want to merge things.

bors r+

bors r-

bors r+


Adding support for K6 0.49.0

Hi,
We are trying to upgrade to k6 0.49.0 but xk6 Kafka is currently using 0.48.0. Can we upgrade to 0.49.0 or I can raise a PR myself ?

@ameetpal
I'll upgrade ASAP.

Will you create a separate tag for this ?

@ameetpal It is released as v0.23.0 2 hours ago.


"Deceptive site ahead" Without even using the fake

I have noticed that google somehow detects proxifed requests, i have installed evilginx, generated url, for google visited it 1 time in browser to see if it works, then after i woke up about 10 hours later, i got the message
"Deceptive site ahead
Firefox blocked this page because it may trick you into doing something dangerous like installing software or revealing personal information like passwords or credit cards."
And site with vps ip appeared in blacklists. Is there any way i can proxify requests from evilginx to google with a dummy domain, so that google will see the request made from that domain and not the actual where evilginx is set up ?

For what its worth Google is probably using the X-Forwarded-For header to detect proxied requests. When you go through a proxy, the IP address of each proxy is appended to the header. By the time it reaches the destination web server it will look something like this (or possibly in reverse):
<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>
You might be able to get around this by using proxy_set_header to explicitly state what the X-Forwarded-For header should be.
https://www.nginx.com/resources/wiki/start/topics/examples/forwarded/
https://en.wikipedia.org/wiki/X-Forwarded-For

Evilginx is dead. Doesn’t work effectively anymore sadly

I'm facing the same issue in here. Is there any workrounds ? Appreciate that

https://transparencyreport.google.com/safe-browsing/search?url=sandy.lol
Check your website here
If it's found a malicious by this site, you can report the issue and it will resolved asap


DEPOPTS variable confusion

DEPOPTS is being used for 2 different purposes:

as a true/false variable to determine if a run with the optional dependencies should be done
the names of the optional packages

If you set DEPOPTS=true, you end up also having "true" as the name of the optional package to install.
The README should also be fixed. Right now it mentions the second usage above for DEPOPTS.

Patches on the README are very welcome!


Intermittent build failures when building a csolution file

Hi, when building an example solution using cbuild, I'm getting intermittent build errors.
Example: https://github.com/Arm-Examples/keil-studio-get-started
OS: MacOS
cbuild version: 2.0.0-dev0
cmake version: 3.25.2
armclang version: Hardware Success Kit (Early Access) Arm Compiler for Embedded 6.21
It seems the CMakeLists.txt file is not found at the point where it is needed, even though it does get generated as part of the tmp directory output. The error does not always occur, sometimes when running a clean rebuild, it succeeds, other times with this error:
cbuild /Users/micque01/Projects/vscode-cmsis-csolution/test-workspace/keil-studio-get-started/get_started.csolution.yml --rebuild

info cbuild: Build Invocation 2.0.0-dev0 (C) 2023 Arm Ltd. and Contributors
info cbuild: Processing 2 context(s)
/Users/micque01/Projects/vscode-cmsis-csolution/test-workspace/keil-studio-get-started/hello/hello.Debug+AVH.cprj - info csolution: file generated successfully
/Users/micque01/Projects/vscode-cmsis-csolution/test-workspace/keil-studio-get-started/hello/hello.Release+AVH.cprj - info csolution: file generated successfully
/Users/micque01/Projects/vscode-cmsis-csolution/test-workspace/keil-studio-get-started/hello/hello.Debug+AVH.cbuild.yml - info csolution: file is already up-to-date
/Users/micque01/Projects/vscode-cmsis-csolution/test-workspace/keil-studio-get-started/hello/hello.Release+AVH.cbuild.yml - info csolution: file is already up-to-date
/Users/micque01/Projects/vscode-cmsis-csolution/test-workspace/keil-studio-get-started/get_started.cbuild-idx.yml - info csolution: file is already up-to-date
========================================================
info cbuild: (1/2) Processing context: "hello.Debug+AVH"
info cbuild: clean finished successfully!

M650: Command completed successfully.

M652: Generated file for project build: '/Users/micque01/Projects/vscode-cmsis-csolution/test-workspace/keil-studio-get-started/tmp/hello/AVH/Debug/CMakeLists.txt'
-- The ASM compiler identification is GNU
-- Found assembler: /Users/micque01/Library/Application Support/Code/User/globalStorage/ms-vscode.vscode-embedded-tools/vcpkg/root/downloads/artifacts/vcpkg-ce-default/compilers.arm.none.eabi.gcc/10.3.1-2021.10/bin/arm-none-eabi-gcc
-- The C compiler identification is GNU 10.3.1
CMake Error at /Users/micque01/Library/Application Support/Code/User/globalStorage/ms-vscode.vscode-embedded-tools/vcpkg/root/downloads/artifacts/vcpkg-ce-default/tools.kitware.cmake/3.25.2/share/cmake-3.25/Modules/CMakeDetermineCCompiler.cmake:226 (configure_file):
  No such file or directory
Call Stack (most recent call first):
  CMakeLists.txt:69 (project)

-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/micque01/Library/Application Support/Code/User/globalStorage/ms-vscode.vscode-embedded-tools/vcpkg/root/downloads/artifacts/vcpkg-ce-default/compilers.arm.none.eabi.gcc/10.3.1-2021.10/bin/arm-none-eabi-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring incomplete, errors occurred!
See also "/Users/micque01/Projects/vscode-cmsis-csolution/test-workspace/keil-studio-get-started/tmp/hello/AVH/Debug/CMakeFiles/CMakeOutput.log".
See also "/Users/micque01/Projects/vscode-cmsis-csolution/test-workspace/keil-studio-get-started/tmp/hello/AVH/Debug/CMakeFiles/CMakeError.log".
error cbuild: error executing 'cmake' configuration
error cbuild: error processing '/Users/micque01/Projects/vscode-cmsis-csolution/test-workspace/keil-studio-get-started/hello/hello.Debug+AVH.cprj'
error cbuild: exit status 1

Any help would be appreciated, thanks!

The compiler detection is something that is part of the cmake installation.
I think you would get a different message if the CMakeLists.txt generated by cbuildgen would not be present.
I personally have not seen this, but I am a Windows user.

https://github.com/Open-CMSIS-Pack/cbuild/actions/runs/5255208144
This build of cbuild --debug will print the cmake commands
In case of a failing build, could you try and run the cmake commands manually to see whether they start to work correctly on a second attempt.
debug cbuild: cmake configuration command: C:\Program Files\CMake\bin\cmake.exe -G Ninja -S C:\Projects\Open-CMSIS-Pack\vscode-get-started\tmp\hello\avh\release -B C:\Projects\Open-CMSIS-Pack\vscode-get-started\tmp\hello\avh\release -Wdev

followed by:
debug cbuild: cmake build command: C:\Program Files\CMake\bin\cmake.exe --build C:\Projects\Open-CMSIS-Pack\vscode-get-started\tmp\hello\avh\release -j 8 --verbose

I could reproduce similar issues on Windows-amd64 and on Mac-arm64, but only when the VS Code extension Arm CMSIS csolution is enabled.
The outcome of the investigation is that the Arm CMSIS csolution extension automatically calls cbuild for generating compile_commands.json every time the cprj file is updated.
(Re-) building yml solutions by calling cbuild in the VS Code terminal generates/updates cprj files, so when the extension is enabled there are two cbuild processes concurrently trying to write and/or remove tmp and out directories.
The output from the VS Code extension can be easily observed in the CMSIS Build Manager tab of the output view.
@micque01 can you please check whether the same happens in your environment? Thanks!


Minor gpio updates

Remove some unsafe and improve documentation for gpio::v2
The RegisterInterface trait in gpio::v2 used an approach that
produced an unnecessary amount of unsafe code. Because each register
in a PAC struct is wrapped in an UnsafeCell, it is safe to mutate them
through shared references. The previous approach used a combination of
raw pointers and unique references. However, raw pointers are
unnecessary and unique references offer no benefits, yet they carry the
risk of UB if not implemented correctly.
Update the RegisterInterface trait to use shared references
throughout. Also improve the pin module documentation slightly.
Fix regression in gpio::v1 compatibility
At reset, the gpio::v1 module gives Pins to users in FloatingInput
mode, but this is not correct, because the pins are actually in
FloatingDisabled mode. This problem was never discovered, because
users always called a function to change the pin mode before using a
given pin, even when that function was .into_floating_input().
In a recent change to gpio::v2, the into_mode function was altered
to only update the register settings when actually changing modes. The
goal of this change was to prevent spurious writes to the GPIO
registers.
Combined with the incorrect behavior of gpio::v1, this change created
a situation where it was impossible to use a pin as a floating input
without first converting it to some other mode and back. Pins would be
labelled as FloatingInput, even though they were actually
FloatingDisabled. But calls to .into_floating_input() would have no
effect, because there was no change in PinMode.
Introduce an into_mode method for v1::Pins that mirrors the design
of the corresponding method of v2::Pin, but in this case change the
register values unconditionally. This does not fix the fundamental flaw
in gpio::v1, but it does return it to the pre-existing behavior.
Closes #464

Overall I'm happy with this. Glad to see potential UB and regressions going away. @bradleyharden, if you didn't have any additional changes to submit, I'd be ready to merge.

Nope, I think this is good. Thanks

Could you include the contents of my first post in the commit message?

No problem. Seems like CI is stuck though. Maybe a force push would give it a kick?

I gave it a kick here https://github.com/atsamd-rs/atsamd/actions/runs/1075234166

Same problem. What's going on?

Aha.


[BEAM-1263] Add perf tests to Jenkins

Signed-off-by: Jason Kuster<EMAIL_ADDRESS>Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R:@davorbonaci

Hold off on review; a couple items yet to take care of before these are ready.

Run Dataflow RunnableOnService

Run Dataflow RunableOnService

retest this please

Is this ready for review?

@davorbonaci Ready for review. These tests are currently running in Jenkins and have been succeeding, makes sense to check this in.

Coverage decreased (-0.003%) to 70.172% when pulling 928c32f64e1b44fcaac6df5ca4f2dfabe478fef0 on jasonkuster:perf into 54390a3338b2216ca82cb9c8e8acd81711068691 on apache:master.

Coverage decreased (-0.005%) to 70.17% when pulling 3677daa2c7b242be5873cb9c677880dc5eeda908 on jasonkuster:perf into 54390a3338b2216ca82cb9c8e8acd81711068691 on apache:master.

R: @tgroh

Changes made.
@tgroh PTAL

Coverage decreased (-0.05%) to 70.123% when pulling e665c6e57a56d2e04b60f9349e013b7ed3677920 on jasonkuster:perf into 54390a3338b2216ca82cb9c8e8acd81711068691 on apache:master.


feat: add new protocol bindings for IBM MQ

Added protocol constant that was defined in
https://github.com/asyncapi/bindings/pull/52
Contributes to: asyncapi/bindings#48
Signed-off-by: Dale Lane<EMAIL_ADDRESS>

@dalelane you need to solve some conflicts due to merger of another PR

@derberg Thanks for the heads-up - I've rebased.


No access to controls when using useTresContext

Describe the bug
Adding OrbitControls in a child component and trying to have access to it in other components i would expect it works the same way as 'camera' by using TresContext.
controls just returns null.
Reproduction
https://play.tresjs.org/#eNqdVW1v2zYQ/iuEgsEtZkuykxSb5g6Z3Xbo0DZB429VPzDS1WJCkQRJvy3If99RLzblJanaRLCte3nuuePx7j5YaDB/KRWuVxAkwdRkmilLDNiVIpyK5es0sCYN/kwFK5XUltwT5zKnYk0NeSDftCzJ4MKi7NZEmdQw+GNvuyiYzq9AGykawzDyZC6oZz0vGM/nslR7272ktUzFNKopIiF8sVAqTi3gGyFTj9iGiVxuRob9CyTjQPUok1xqzObkt8mb2fy8Song39QnGTXCRrWPfyR3gd4wDZllUlD+gS0LSxIlDXMCDPIlHpLJkJx9TQOSMGFBoGqHinE4QVFGjR2ZgiLFJuQ0OpBHwTTyMsNXY3fc/SxsyYepuJH5jtw7v5LqJRMJibE4hCia50ws29cCHLGEjOP4l0qwYbkt9u8PqTihStVA37El5IZmd0stVyKvS5mQkzh2cRAGD6UiGAyD+ixHJVXhLVYUe6qCTxsFtlJSB3Qyv22cIg0Ka5VJoijLBfrnwNlahwJsJFQZ+eYXZ+EknEQ5MzZyYrROAyzNETADYWUVtC927YHwcRiPBGxtOD5EabTdYHYD9E5R0SeFvW0VoEVuhWHJnI+PXWjohevsLhDxFdKOfgVT+tXA27My0LvMnvnFOA7PERGvE2zDslvkxg4bWUP+A8C1w3PQaDjKoWQ9QFtTl/xZ+Cri7MaHdIjYoQ/YmtZkUnxjy6PGzPB+Mw76UrnL221Qyrnc/FPJrF7Bnl9WQHb3iPzWbGvKV9gsoNdY7sNR4lUFW6vfXn/CzvKUpcxXvDmcJ5SfwUi+chxrsxleRaTt2VVs31f3DKfAwrzdVoOnSapD1O4UVNIvtcTrtVrwtSpcZV8dh5uCT1XpkNlpeOoV/GjU990vl/qG2bkUVkv+yIqpr+Dg2VXQzGgXW7kpvYY5LUHT7pD+fUjc44Z0O+Cn3eBO3JnFmFVnKfXNCdu+GvAIjGf7+N50aWCHGmeP3236r4+cX7ysFqGzlBxCLpcvBvPLT4vPlx+uB8O9Z7imfAUv+5TpI5iiW5kRLi984mp/aWmpt9c+UluEV+9rbQPTLl8p4G+QJVi9Iwl2hXE+4yEZh+dDcuoX2gu9kFIgKGhGOdI/WtOHo6lWpHN4njtSdI8L5u3ZbtiZ3D7C05FsP36I69k79/8TXLHGrtT/r+S1KkAfatmbybvZLD6dPcWk28oP/wEJMkhh
Steps to fix
When adding  you need to add the make-default and combined with nextTick we have access to it.
//parent
<template>
  <TresCanvas>
    <ThirdPerson />
    <ChildComp/>
  </TresCanvas>
</template>

//ThirdPerson
<template>
     <OrbitControls make-default />
 </template>

 //ChildComp
 <script setup lang="ts">
 import { useTresContext } from "@tresjs/core";
 import { nextTick } from "vue";

const { controls } = useTresContext();

console.log("Controls Is NULL", controls.value)

nextTick(() => {
    console.log("We now have access to controls",controls.value)
})
</script>

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

It seems that your reproduction link is not working.
Could you provide a stackblitz link?

Confirm this is a real bug and it happens for our case. In our case, we want to have some transition animation, so we are implementing moving the camera from top down to some certain x,y,z. However, we also have Orbit control in our screen, hence, we need to detect when the orbit control "starts" to stop the transition, otherwise, the camera will try to bounce back to x.y.z whenever the user move around with orbit control


Enabling filter on type doesn't show search results in collapsed nodes until search query is edited

Issue Type: Bug
Testing: https://github.com/microsoft/vscode/issues/89380
Set a breakpoint in a node express app and start a debug session
When the breakpoint is hit expand the loaded scripts section
Start typing a search phrase
Highlight search phrase and turn filter on type on
Expected: search results that are in collapsed nodes are now shown with nodes expanded
Actual: no change in search results that are shown. Have to edit the search query to get the search results that are in collapsed nodes to show up
VS Code version: Code - Insiders 1.42.0-insider (c4b6a6b537de49a734d0eedea06152ea37dfdb6a, 2020-01-28T05:38:41.922Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz (8 x 2112)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.93GB (5.39GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (13)

Extension
Author (truncated)
Version

tslint
eg2
1.0.44

vscode-github-releases-updater
joa
0.18.0

vscode-docker
ms-
0.10.0

python
ms-
2020.1.58038

remote-containers
ms-
0.99.2

remote-ssh
ms-
0.48.0

remote-ssh-edit
ms-
0.48.0

remote-wsl
ms-
0.42.1

vscode-remote-extensionpack
ms-
0.19.0

azure-account
ms-
0.8.8

cloudenv-extensions
ms-
1.0.1369

vsonline
ms-
1.0.1507

test-search-rg
rob
0.0.3

@joaomoreno I would love the proposed behavior. With the current behavior I'm always forced to delete and retype the last character of the query to force the expanded nodes to show up.

This was already fixed: https://github.com/microsoft/vscode/commit/9a2874e954857f1a15b5bffd64075f1f16b5c13b


Integration tests fail occasionally.

Steps

[x] describe what happened
[x] steps to reproduce
[x] describe what you expected to happen
[ ] optional: write a test

Describe the bug
When running the integration tests for different python versions and platforms, the tests occasionally surpass the set timeout.
To Reproduce
Steps to reproduce the behavior:

Run github action multiple times until the above occurs (or look into the actions run history)

Expected behavior
It's expected to simply succeed, as it has multiple times in the past.
Rerunning the same test often causes it to succeed.

Added retry to integration tests step.


XTickLabel shifted when exported (R2016a)

When exporting figures in any format the XTickLabel is shifted when viewing the exported figure. The figure itself is still correct but the newly created file is not. I have tracked the issue to line 324 of export_fig.m calling the set_tick_mode subfunction.
 324   set_tick_mode(Hlims, 'X')
Once this function is called the axes are still correct until line 1307.
1303   % Fix for issue #187 - only set manual ticks when no exponent is present
1304   hAxes = Hlims(idx(idx2));
1305   props = {[ax 'TickMode'],'manual', [ax 'TickLabelMode'],'manual'};
1306   if isempty(strtrim(hAxes.([ax 'Ruler']).SecondaryLabel.String))
1307        set(hAxes, props{:});  % no exponent, so update moth ticks and tick labels to manual
1308   end
After this the labels have been shifted.
Continuing to step through the code, the labels revert to the correct values at line 732.
 727   % Reset the hardcopy mode
 728   set(fig, 'InvertHardcopy', old_mode);
 729   % Reset the axes limit and tick modes
 730   for a = 1:numel(Hlims)
 731   try
732   set(Hlims(a), 'XLimMode', Xlims{a}, 'YLimMode', Ylims{a}, 'ZLimMode', Zlims{a},...
 733   'XTickMode', Xtick{a}, 'YTickMode', Ytick{a}, 'ZTickMode', Ztick{a},...
734   'XTickLabelMode', Xlabel{a}, 'YTickLabelMode', Ylabel{a}, 'ZTickLabelMode', Zlabel{a});
 735   catch
 736   % ignore - fix issue #4 (using HG2 on R2014a and earlier)
 737   end
 738   end
I have just updated my version of export_fig to the newest version on Monday (5/29/2017) whereas I had previously been using a copy downloaded in October 2016.
I have used the same commands to execute export_fig, and have also tried running it with default inputs (i.e., no input arguments) and have gotten the same problem each time.
I hope this is enough to go off of, if I can be any more help or provide any other information please let me know.
Thank you very much for all of the work you do to maintain this code, it is an invaluable resource for creating publication quality figures.

I'm experiencing the same behaviour regarding Xticklabels with the latest version of export_figure.
My issue involves out of order Xticklabels when export via export_figure command.
I'm ussing Matlab 2016b to plot the results of my calculations between several time series.
Because my calculations will remove the first 250 days of records from my data I use the xlim comand in Matlab to extend my X axis to match the original sample period 2000-2016. Everything is fine and the figure adjusts.
The problem is if I export my figure via export_figure -transparent -nocrop filename.tiff  my xtick labels are messed up like in this picture.
Meanwhile, if I save the file via Matlab commands  saveas(gcf,'filename.tiff') the labels are preserved.
Please see the attached files for an example on this behaviour. You have the matlab export, export_figure export and original matlab.fig file.
Test.zip
As usual I thank you very much for all of the work you do to maintain this code.
Regards,

Fixed. This was due to an internal Matlab bug. The updated code now detects such cases and works around them.


feat: make binder predicates use strict-implicit binders

This PR is so far an experiment to see the impact of this change.
This would probably need to be augmented with a feature like h (_ := 2) or h @(2) to be able to pass in individual implicit arguments without doing @h 2.

This isn't a good idea — the value is what it's quantifying over, so it shouldn't be implicit.


does cdk-local support cdk 2.3.0?

Hi,
Does cdk-local support the latest cdk version 2.3.0 (today)?
Is it the 'defacto' local dev strategy with cdk?
Cheers,
F

Hi @include , quick follow-up - were you able to get it working with 2.3.0 , can this issue be closed? Thanks

the right way to check version is this one:
`npm -g list
npm -g list
/$/.nvm/versions/node/v14.18.2/lib
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>`
looks like not compatible, even bootstrap give an error:
`CDKToolkit |   7 | 12:22:56 AM | CREATE_FAILED        | AWS::CloudFormation::Stack | CDKToolkit
Failed resources:
❌  Environment aws://000000000000/us-east-1 failed bootstrapping: Error: The stack named CDKToolkit failed to deploy: CREATE_FAILED (Deployment failed)
at Object.waitForStackDeploy (/Users/charly/.nvm/versions/node/v14.18.2/lib/node_modules/aws-cdk/lib/api/util/cloudformation.ts:309:11)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at prepareAndExecuteChangeSet (/Users/charly/.nvm/versions/node/v14.18.2/lib/node_modules/aws-cdk/lib/api/deploy-stack.ts:351:26)
at /Users/charly/.nvm/versions/node/v14.18.2/lib/node_modules/aws-cdk/lib/cdk-toolkit.ts:464:24
at async Promise.all (index 0)
at CdkToolkit.bootstrap (/Users/charly/.nvm/versions/node/v14.18.2/lib/node_modules/aws-cdk/lib/cdk-toolkit.ts:461:5)
at initCommandLine (/Users/charly/.nvm/versions/node/v14.18.2/lib/node_modules/aws-cdk/bin/cdk.ts:267:9)
The stack named CDKToolkit failed to deploy: CREATE_FAILED (Deployment failed)
Error: The stack named CDKToolkit failed to deploy: CREATE_FAILED (Deployment failed)
at Object.waitForStackDeploy (/Users/charly/.nvm/versions/node/v14.18.2/lib/node_modules/aws-cdk/lib/api/util/cloudformation.ts:309:11)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at prepareAndExecuteChangeSet (/Users/charly/.nvm/versions/node/v14.18.2/lib/node_modules/aws-cdk/lib/api/deploy-stack.ts:351:26)
at /Users/charly/.nvm/versions/node/v14.18.2/lib/node_modules/aws-cdk/lib/cdk-toolkit.ts:464:24
at async Promise.all (index 0)
at CdkToolkit.bootstrap (/Users/charly/.nvm/versions/node/v14.18.2/lib/node_modules/aws-cdk/lib/cdk-toolkit.ts:461:5)
at initCommandLine (/Users/charly/.nvm/versions/node/v14.18.2/lib/node_modules/aws-cdk/bin/cdk.ts:267:9)`

The bootstrapping issue with ECR @   localstack community should be fixed now as well.


AVRO-3541: Unbump strum_macros

It looks like strum_macros is at 0.24.0 as opposed to 0.24.1 on crates.io, causing the build to fail.
Alternatively, instead of fixing the version at 0.24.0 and 0.24.1, we could just use the semver prefix of 0.24.
Jira

[X] My PR addresses the following Avro Jira issues and references them in the PR title. For example, "AVRO-1234: My Avro PR"

https://issues.apache.org/jira/browse/AVRO-3541
In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

The maintainer of strum yanked 0.24.1 due to a regression.
Please downport it to 0.24.0.
I am on vacation without access to code.
On Tue, Jun 21, 2022, 18:26 clesaec @.***> wrote:

@.**** commented on this pull request.
In lang/rust/avro/Cargo.toml
https://github.com/apache/avro/pull/1729#discussion_r902764385:

@@ -66,7 +66,7 @@ serde_json = { default-features = false, version = "1.0.81", features = ["std"]
serde = { default-features = false, version = "1.0.137", features = ["derive"] }
snap = { default-features = false, version = "1.0.5", optional = true }
strum = { default-features = false, version = "0.24.1" }
-strum_macros = { default-features = false, version = "0.24.1" }
+strum_macros = { default-features = false, version = "0.24.0" }

On strum site https://docs.rs/strum/latest/strum/, they says that
0.24.1 exists but advice to use only "0.24" (i think it's for automatically
replace by last minor version ?)
—
Reply to this email directly, view it on GitHub
https://github.com/apache/avro/pull/1729#pullrequestreview-1013813534,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABYUQR2CFHDJSYU7T5NCXTVQHNLFANCNFSM5ZLYMWNQ
.
You are receiving this because your review was requested.Message ID:
@.***>

Thanks @martin-g (Enjoy your vacation :wink: ) and @opwvhk !


add -j option to sphinx-build

(closes #546 )
What was wrong?
sphinx-build was not running in parallel
Related to Issue #546
How was it fixed?
Added -j option to sphinx-build reducing the overall docs build time by about 2 mins.
Cute Animal Picture

Codecov Report

Merging #570 (61f4865) into master (1416b1b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #570   +/-   ##
=======================================
  Coverage   80.67%   80.67%
=======================================
  Files         370      370
  Lines       21638    21638
=======================================
  Hits        17456    17456
  Misses       4182     4182

Flag
Coverage Δ

unittests
80.67% <ø> (ø)

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

Continue to review full report at Codecov.

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

I think we need to bump the minimum version of autoapi right (1.9.0)?

Oh yeah. Missed that bit. Updated


Add context to model requests for MacOS using a11y APIs

If the user is in VSCode and editing code, this code retrieves the entire context of the document without needing to manually copy and paste a second time. It then passes the entire ctx into the system prompt. gpt-4o-mini has a ctx window of 128k tokens (~95k words) which is huge and can easily take in the entire document.
This dramatically improves responses and makes this much better.
To support this, in VSCode you need to enable Toggle Screen Reader Accessibility Mode. This is needed for us to use a11y apis with vscode.
Since we are passing in a lot more tokens, it is good thing that the user needs to manually enable this feature. My only apprehension is that this would increase costs for users. But it is opt in so I think it is ok.

This looks really cool! I'll give it a whirl.

max_tokens is actually the max output tokens so I think 2048 is fine. I don't think we want the model able to output more than 2048 in most scenarios. GPT-4 supports 4k output tokens at the maximum. The issue is that if we allow large amounts of tokens then the model sometimes starts to fill up the token amount with unnecessary info. There are some scenarios in which this might be changed, but for right now, to keep things  relatively stable, I'd prefer to keep this as it is and then we can change things as necessary or add a max output token setting.

One thought I had in this one-I think it's a very interesting idea to include accessibility information generally. In code, in particular, I think the context necessary to provide better responses might not be in the current file, which is a limitation of this approach for code. I wonder if there's some way to "compress" the structure (I.e. include symbols and file paths or something) that would be better for code in particular. I still think this is useful, but wanted to share that thought in case you had ideas.

Going to merge this for now. Yes I agree it would be possible to pass in additional information, although more heuristics would have to be applied in order to make sure we aren't passing in excessive amounts of information. We can see how this does and iterate from there


Improve state-lock acquisition defaults

With these changes, the default behavior for backup clients changes as below:
For daily backup:

There will be an 1 hour long grace-cycle of (2mins of tryLock and 5 mins of sleep)
After an hour of unsuccessful lock acquisition, daily backup will simply back off.
For shell backup:
Shell backup will not run grace-cycle. It'll immediately try to acquire exclusive lock.

I think these changes broke the BackupCommandStateLockingIntegrationTest.timeoutWhenStateLockAcquired test.

alluxio-bot, merge this please


Dead sources

Describe why this should be added
Source name
Animaregia
Source language
Portuguese Brazil
Source link: https://animaregia.net/
Animaregia website is down with error 502

Source name
Baixarhentai
Source language
Portuguese Brazil
Source link: https://leitura.baicarhentai.net
Baixarhentai is down and redirects to another websites
https://github.com/keiyoushi/extensions-source/assets/38120268/0a89382d-252a-405c-b394-5e4174f76e8a

Source name
Hentaisphere
Source language
English
Source link: https://hentaisphere.com/
Hentaisphere website is not available, error: net::ERR_SSL_UNRECOGNIZED_NAME_ALERT

Source name
projetoscanlator.
Source language
Portuguese Brasil
Source link: https://projetoscanlator.com
projetoscanlator website is down with error 502

Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I have updated the app to version 0.15.1.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

O bot definiou como "not planned", kkkkkkk, depois eu deleto as extensões .

Já abri uma duas separado

O bot definiou como "not planned", kkkkkkk, depois eu deleto as extensões .

Já abri uma duas separado

Sim, de qualquer jeito, os cara demora 1 anos pra fazer isso.


Update flyway-core to 8.3.0

Updates org.flywaydb:flyway-core from 7.15.0 to 8.3.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.flywaydb", artifactId = "flyway-core" } ]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #602.


workflows: add the kind-based clustermesh conformance test for stable branches

This PR adds a copy of the new clustermesh conformance test initially introduced in https://github.com/cilium/cilium/pull/23496 for each of the currently active stable branches (i.e., v1.11, v1.12 and v1.13). Trigger phrases and Kubernetes
versions are updated accordingly.

Fixes: #issue-number
workflows: add the kind-based clustermesh conformance test for stable branches

Link to successful runs:

v1.11: https://github.com/cilium/cilium/actions/runs/4765990251
v1.12: https://github.com/cilium/cilium/actions/runs/4765990274
v1.13: https://github.com/cilium/cilium/actions/runs/4765990258 (the first attempt failed when connecting to google)

I'm dropping the test commits and marking as ready for review.