D415 not visible to Windows 7 Enterprise Intel RealSense Viewer

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{  D400 }

Firmware Version
5.14

Operating System & Version
{Win (7 Enterprise)

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC

SDK Version
{ legacy / 2.<5>.<0> }

Language
{C++ }

Segment
{Robot/Smartphone/VR/AR/others }

Issue Description
<Hello,
I am trying to get the D415 camera connected to my PC running Windows 7 enterprise. I have followed the steps provided in the release list here: https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_win7.md
I am able to see the both the RGB and Depth camera in my device manager under Universal Serial Bus Devices, which to me indicates the drivers were installed correctly. However, when I try to open Real Sense Viewer it does not recognize my camera. Likewise, when I try to implement some example code using C++, the code throws an error saying that it has timed out.
I tried connecting this D415 camera to a laptop running the Windows 10 version of the SDK (V 2.45) and the camera is able to be detected and streamed from this Windows 10 computer. The firmware on the camera is also up-to-date with version 5.14.
I have tried uninstalling the drivers and reinstalling them.
I have also tried plugging and unplugging the USB connection.
This computer has USB 3.0.
Do you have any suggestions on how to troubleshoot this issue?
Very Best

Hi @rwjmoore  The next step that I would usually recommend is to try checking in the camera section of the Windows privacy options whether permission to access the camera hardware and permission for applications to access the camera are both set to On.
Whilst Windows 7 does have a privacy settings interface, I do not know if the camera privacy options in Windows 7 are the same as Windows 10 and 11.
Information about Windows 7 privacy settings can be found at the link below.
https://droidrant.com/how-do-i-get-to-privacy-settings-in-windows-7/?utm_content=cmp-true

Hi @rwjmoore  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


load_dataset fails when filename is unicode

It seems like xarray does not handle unicode file names. The error is present even if the unicode characters appear in the parent path.
 What system does it not work on — windows?

After investigating the issue, it seems to be related to an error in the netcdf library, which in turn is related to an error in the hdf5 library. The relevant issues are
netcdf4: https://github.com/Unidata/netcdf4-python/issues/941
hdf5: https://forum.hdfgroup.org/t/non-english-characters-in-hdf5-file-name/4627/8
Quoting the dev responding in the hdf5 forum:

I would be thrilled to fix this issue. The problem is that it’s a huge amount of effort with no obvious funding source. Everyone wants this problem to be fixed but nobody wants it fixed so badly that they are willing to pay for an engineer to spend the better part of a year fixing it properly. A lot of people seem to think that we just need to tweak the “open file” code, but that isn’t true. So much stuff in the library is affected by Unicode file names on Windows and doing a hasty job will risk dramatically increasing our technical debt and bug count.


Support overviews for named layer wrapped queries

Fixes #405
I've looked into adding aggregation-counter to overviews queries and flexibilizing the form of accepted queries, but at the moment I've opted for solving the current issue with minimal effort/changes.

@dgaubert @rafatower please CR this

:+1:


[Feature request]: Undo/Redo Support

Before proceeding, is there an existing issue or discussion for this?

[X] I have done a search for similar issues and discussions.

Description
As mentioned in the title. This will likely need a major refactor :skull_and_crossbones: , in traffic editor we were fortunate to have Qt's built in QAction based undo/redo workflow. For Site Editor, we should support some way of undoing a change.
Implementation Considerations
There are several ways to support undo/redo. The naivest way is to snapshot the current world state and keep it in a buffer. This will not scale well as worlds get more complex.
A less naive way would be to require that every forward edit has an equivalent inverse edit. For instance in Qt, this is exactly what the QAction class does. TBF, I'm not sure of the best way we would implement this particularly, with the context of bevy_impulse in mind.
Special care will have to be taken when we handle moving and deletion of objects as well.
Alternatives
Saving intermediate .ron files :skull_and_crossbones: .
Additional information
No response

If I remember correctly, one of the intentions behind using the ChangePlugin for submitting changes to components rather than writing directly to their value was exactly for this reason, to be able to intercept them and save an undo redo buffer (there is a comment about it).
Note however that the Change plugin does not cover everything. Specifically entity creation and deletion does not go through a Change plugin. However I can imagine intercepting the Delete events to undo / redo deletion and keeping track of what was created to undo creation.
There might also be other component changes that don't go through a Change plugin but I'm not 100% sure

Yeah I do believe that was one of the reasons to use the change plugin, IIRC that it does not cover movement (which is often the thing I want to undo most)


Cannot display error message for other input box according to the localization in Matrix Dropdown Column

Are you requesting a feature, reporting a bug or asking a question?
I have a similar question of martix dropdown column from #1292
What is the current behavior?
The error message of other input box is not changed according to the survey locale.
What is the expected behavior?
The error message of other input box is changed according to the survey locale.
Provide the test code and the tested page URL (if applicable)
Here is link for testing
https://next.plnkr.co/edit/SB9RiBa0a7LNNSN8

Specify your

browser:
browser version:
surveyjs platform : react
surveyjs version: 1.0.47

@tsv2013 It works. Thanks a lot


Retaining zips of previous branches/versions

I noticed that the 1.5.1 branch was removed, along with the cub.1.5.1.zip file when 1.5.2 was released. Would it be possible to retain archives of these older versions so that builds can be reproducible? In my case, I had a 1.5.1 dependency in a Dockerfile. This isn't a train smash for me by any means, but it'd be nice to have some future-proofing.

Sorry for the inconvenience.  We'll be using tags for all releases moving forward (to supplement the major.minor.last branches, which we keep around for hotfixes for customers)


Question: Switch-language

Problem
I want to include a "choose language" button, that may be located either in the navbar or in all pages?
There is a form to add that? or a recommended way?

The best way is to override one of the templates https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-templates_path https://github.com/readthedocs/sphinx_rtd_theme/blob/include-preinstall/sphinx_rtd_theme/layout.html


SP4: Add markers support to DataLogger

Purpose:
This PR is to enable Markers support for DataLogger.
Per default, markers are disabled to not change current behavior.
I know that SP4 is in "frozen" state, but it would be nice if this PR could be included 😄

Hi @KroMignon, thanks for this PR! I'll extend this PR by adding a cookbook recipe (which I just noticed doesn't exist for the data logger plot type yet) then merge in a few minutes and it will be in the next release 🚀

To keep the API consistent with DataStreamer (and prevent breaking code of people who are already using the label argument) I'll modify this PR to remove the arguments customizing markers. Instead, users can opt-in to markers like this:
var logger = plt.AddDataLogger();
logger.MarkerShape = MarkerShape.openCircle;
logger.MarkerSize = 5;

Is this available in ScottPlot 5 (am using 5.0.34, but don't see it) and, if so, how is a marker added to a position/coordinate in the plot (not just it's shape etc)?
At the moment just add directly to the Plot as defined in the xaml, WinUI 3, and seems to work OK, as per code below:
 var mkrCoords = new Coordinates(DateTime.Now.ToOADate(), lastPointValue);
 xaml_winUIPlot.Plot.Add.Marker(mkrCoords, MarkerShape.FilledCircle, 12, Colors.Red);


I am not able to see Azure storage blobs inside containers on portal but it's working from Azure storage explorer. also the Azure storage explorer preview on portal couldn't see the blobs inside containers.

@Parag-Sonne so to double check, you can access your resources in desktop Storage Explorer, but not via any of the portal experiences?
If yes then, is there a reason you need to be able to use portal in addition to desktop Storage Explorer?
Finally, how are you accessing your containers in desktop Storage Explorer? Did you:

sign in and enumerate accounts under your subscription?
attach a storage account directly?
attach a container directly?

Hi,
I actaully need this to set stored access policies on containers from portal. And also trying to use some scrips on the blob.
And in desktop storage explorer, i just sign and enumerate accounts under subscription. It works well there

I actaully need this

What is this?

I actaully need this to set stored access policies on containers from portal.

You can set stored access policies using desktop Storage Explorer. Right click on containers click "Manage access policies".

also trying to use some scrips on the blob

What do you mean by scrips/scripts?

And in desktop storage explorer, i just sign and enumerate accounts under subscription. It works well there

Ultimately, it sounds like desktop storage explorer is working well and your issue is with portal. So in that case you'll need to open a support ticket. You can do this by going to the portal and clicking on the "?":

Closing due to lack of response. If you still need help, please either open a support ticket from the portal, or open a new issue here.


Install as a Clojure CLI tool

This is to address #5

Thanks a lot for your contribution @pilosus!
I've undone a few of your breaking changes and simplified the report generation code. Please let me know if you have any objections to these changes!

Thanks a lot for your contribution @pilosus!
I've undone your deprecation changes and simplified the report generation code. Please let me know if you have any objections to these changes!

No objections from my side. All changes look totally legit.
Thanks for the code review @ferdinand-beyer!


Add generics to browser.runtime.sendMessage

Hey,
I would love to use browser.runtime.sendMessage the following way so that I can specify the type of the message that I am sending.
  browser.runtime.sendMessage<LogMessage>({
    command: "log",
    logData,
  })

My current workaround is this but generics would be much nicer
  browser.runtime.sendMessage({
    command: "log",
    logData,
  } as LogMessage)

Also for browser.runtime.onMessage.addListener it would be useful to be able to specify the type of the callback argument.
browser.runtime.onMessage.addListener<LogMessage>(async message => {
  // It would be nice to have auto-completion for message.logData
})

Would it be possible to add this?
Thanks a lot!

Interesting idea, but I'm not sure, how much work it would be to integrate that into the code generator. I'll check when I have some time.
For the time being, I would advise to not use the as LogMessage, as it is not fully type-safe.
Try using the satisfies operator from TypeScript 4.9 if you can: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-9.html

The idea originally comes from me using this web-ext-types package which used generics for exactly this use case. I had my code written this way but when I switched to your more up-to-date type package, I had to remove the generics and adapt my implementation.
I think it would be great to provide this possibility because right now the message is of type any and it would be nice to be more precise about the message without using additional keywords such as as or satisfies.
Thanks a lot for your great tip! I will use it to improve my workaround for now 👍🏼

browser.runtime.onMessage.addListener callback's 3rd argument sendResponse should also be typed. Rn it's signature is
sendResponse: () => void

but the correct signature would be
sendResponse: <T>(data: T) => void

More info: https://github.com/wxt-dev/wxt/issues/299

I'll add the changes for sendMessage and sendNativeMessage. That part seems to be straight forward.
However, onMessage is a different story. After all, it's not just about sendResponse, but also about the return-type and the message paramter as well. Currently, I have no neat typescript way to do this with the existing API due to the nature of the Events.Event type. Feel free to offer ideas.
I can offer you a workaround for that though:
// Add this somewhere in your code:
function typedEventListener<TMessage, TResponse>(listener: (
                message: TMessage,
                sender: MessageSender,
                sendResponse: (message: TResponse) => void,
            ) => Promise<TResponse> | true | void) {
    return listener as (
                message: unknown,
                sender: MessageSender,
                sendResponse: (message: unknown) => void,
            ) => Promise<unknown> | true | void;
};

// Then wrap your listeners like this:
browser.onMessage.addListener(typedEventListener<{foo: string}, { bar: string }>((message, sender, sendResponse) => {
    sendResponse({ bar: "true" });
    return true;
}));

// Or promise-based:
x.onMessage.addListener(typedEventListener<{foo: string}, { bar: string }>((message, sender, sendResponse) => {
    return Promise.resolve({ bar: "true" });
}));

Cool! I really appreciate the effort and your suggested workaround!

I'll add the changes for sendMessage and sendNativeMessage. That part seems to be straight forward.
However, onMessage is a different story. After all, it's not just about sendResponse, but also about the return-type and the message paramter as well. Currently, I have no neat typescript way to do this with the existing API due to the nature of the Events.Event type. Feel free to offer ideas.
I can offer you a workaround for that though:
// Add this somewhere in your code:
function typedEventListener<TMessage, TResponse>(listener: (
                message: TMessage,
                sender: MessageSender,
                sendResponse: (message: TResponse) => void,
            ) => Promise<TResponse> | true | void) {
    return listener as (
                message: unknown,
                sender: MessageSender,
                sendResponse: (message: unknown) => void,
            ) => Promise<unknown> | true | void;
};

// Then wrap your listeners like this:
browser.onMessage.addListener(typedEventListener<{foo: string}, { bar: string }>((message, sender, sendResponse) => {
    sendResponse({ bar: "true" });
    return true;
}));

// Or promise-based:
x.onMessage.addListener(typedEventListener<{foo: string}, { bar: string }>((message, sender, sendResponse) => {
    return Promise.resolve({ bar: "true" });
}));

Is there a reason why in the library, the type for the listener passed into browser.runtime.onMessage.addListener has to return undefined rather than void?
https://github.com/Lusito/webextension-polyfill-ts/blob/75f8b24b455cf0634561b0e9c63bf0b2c609adc6/out/namespaces/runtime.d.ts#L583
I was expecting it to allow returning void like in your comment but the library requires undefined so I've needed to explicitly return undefined in my listeners.


Support more RecordTypes

BodyFat, BodyTemperature, HeartRateSeries, OxygenSaturation, RespiratoryRate, and RestingHeartRate.
@yukukotani Please, take a look at this.
Thank you.

Hello @yukukotani
If you have some time, kindly, take a look at this.
Thank you.

FYI: You can automatically update README.md by pnpm docgen

Released in v0.7.0

Thank you, @yukukotani


Map.! exception when syncing.

Test case tba.

Hey there. Playing with this tool and running into this issue. Curious if you have any fixes for it. My Haskell chops are frankly nonexistent. Thanks!

@amitsnyderman - nope but I have a suspicion it occurs where a link/image references a non-existent page.

I just ran into this same issue.  I'm trying to sync this Repo:
https://github.com/SparkPost/momentum-documentation/tree/master/docs/web-momo4
Many (not all) of the pages get created in my Confluence site, and then the error is returned.  The created pages have the following in them, "This page is currently being synchronized - please check back again soon."  Any thoughts?


Release Version 0.0.4

Release Version 0.0.4

Completing this task will also fix #3 .

Because of the trunk register issue https://github.com/CocoaPods/cocoapods-trunk/issues/100#issuecomment-629858392, i could not release next version 0.0.4, wish that the issue will be resolved soon. waiting eagerly...

The pod trunk register...  issue got fixed, faced some validation issue while publishing. The final version which worked after fixing is 0.0.7 which is live now.


[TOPIC-BLE-LLCP] Bluetooth: llcp: run proper UUT instance

For running tests with legacy LLCP we need to set the proper
PRJ_CONF.
Also re-enables tests with the legacy LLCP
Signed-off-by: Andries Kruithof<EMAIL_ADDRESS>

superceded by #39567


AOT compilation failing with computed object properties

🐞 Bug report
Command (mark with an x)

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

Is this a regression?
Yes 8.0.x AOT compiled without errors
Description
Compiling AOT bundle fails following the log message:
Generating ES5 bundles for differential loading...
Break seems to be caused by computed properties. Works OK with JIT compile.
🔬 Minimal Reproduction

With a simple component the following computed property breaks the build:
@Component({
    selector: 'auth',
    templateUrl: 'component.html',
})
export class AuthComponent {

    error(error: any) {

        let {message='Some problem there was'} = error;

        const {active, inactive, unverified} = <any>{[error.message]: true};

        if (active || inactive || unverified) {
            message = `An account is already registered with this email. Please Log In`;
        }
    }
}

🔥 Exception or Error
Generating ES5 bundles for differential loading...
An unhandled exception occurred: Cannot read property 'name' of undefined
> cat error.log
TypeError: Cannot read property 'name' of undefined
    at getObjectLiteralIndexInfo ([...]/test/node_modules/typescript/lib/typescript.js:49193:90)
    at createObjectLiteralType ([...]/test/node_modules/typescript/lib/typescript.js:49360:67)
    at checkObjectLiteral ([...]/test/node_modules/typescript/lib/typescript.js:49357:20)
    at checkExpressionWorker ([...]/test/node_modules/typescript/lib/typescript.js:53943:28)
    at checkExpression ([...]/test/node_modules/typescript/lib/typescript.js:53878:38)
    at checkExpressionCached ([...]/test/node_modules/typescript/lib/typescript.js:53617:38)
    at getTypeOfExpression ([...]/test/node_modules/typescript/lib/typescript.js:53855:28)
    at checkDeclarationInitializer ([...]/test/node_modules/typescript/lib/typescript.js:53628:24)
    at getTypeForVariableLikeDeclaration ([...]/test/node_modules/typescript/lib/typescript.js:36093:28)
    at getTypeForBindingElementParent ([...]/test/node_modules/typescript/lib/typescript.js:35828:61)
    at checkVariableLikeDeclaration ([...]/test/node_modules/typescript/lib/typescript.js:56088:34)
    at checkBindingElement ([...]/test/node_modules/typescript/lib/typescript.js:56223:20)
    at checkSourceElementWorker ([...]/test/node_modules/typescript/lib/typescript.js:58263:28)
    at checkSourceElement ([...]/test/node_modules/typescript/lib/typescript.js:58119:17)
    at Object.forEach ([...]/test/node_modules/typescript/lib/typescript.js:280:30)
    at checkVariableLikeDeclaration ([...]/test/node_modules/typescript/lib/typescript.js:56107:20)

🌍 Your Environment
Angular CLI: 8.3.9
Node: 10.16.0
OS: darwin x64
Angular: 8.2.10
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.803.9
@angular-devkit/build-angular     0.803.9
@angular-devkit/build-optimizer   0.803.9
@angular-devkit/build-webpack     0.803.9
@angular-devkit/core              8.3.9
@angular-devkit/schematics        8.3.9
@angular/cli                      8.3.9
@ngtools/webpack                  8.3.9
@schematics/angular               8.3.9
@schematics/update                0.803.9
rxjs                              6.4.0
typescript                        3.5.3
webpack                           4.39.2

Anything else relevant?
Build command:
ng build test --aot --build-optimizer --extract-css=false --extract-licenses=false --output-hashing=none --output-path='./dist' --prod --vendor-chunk=false

@peteboere looking at your code, the problematic part is the following;
  let {message='Some problem there was'} = error;
const {active, inactive, unverified} = <any>{[error.message]: true};

You are casing {[error.message]: true} to any and hence when doing the first ES2015 build TypeScript is ignoring what's on the right side. However during down-levelling or when build optimizer is run it is trying to resolve the properties active, inactive and unverified. which is failing because they cannot determine by statically analysing the code.
A safer way to write this code which doesn't require to bypass TSC typechecking and doesn't break during TypeScript's parsing would be something along;
  let {message='Some problem there was'} = error;
  if (['active', 'inactive', 'unverified'].includes(message)) {
      message = `An account is already registered with this email. Please Log In`;
  }

@alan-agius4 Thanks, I have a workaround in place for our project.
This is still valid code though, works in 8.0.x and JIT compile.  My goal with this particular example wasn't type safety.  I was (perhaps incorrectly) expecting to be able to use the same technique in Typescript that I can with regular JS.

Type-checking is still required in some parts during the build pipeline. Such as downleveling and build optimization (which are used during a prod build). Typescript doesn’t offer a way to disable this and thus this is not actionable by us.
While the above is indeed valid JS code, the transpilled version of it is not a valid input for TypeScript and will cause the TypeScript compiler to crash.
Seeing that there is a workaround which also offers better type safety I am going to close the issue.
Thanks.


pisa

Adding PISA to the mix!
I haven't tested all the evaluations exhaustively on Kaggle yet, but it looks like it can provide pretty substantial speedups on as datasets get larger, likely due to its dynamic pruning.
QPS (PISA are my measurements on Kaggle, others are from the README)

Dataset
PISA
BM25S
ES
PSRN
PT
Rank

msmarco
122.73
12.2
11.88
11.01
OOM
0.07

fiqa
556.50
717.78
16.96
12.51
20.52
4.46

Expand for Kaggle notebook code to run
!git clone https://github.com/seanmacavaney/bm25-benchmarks
%cd bm25-benchmarks
%pip install -r requirements-pisa.txt
%env JAVA_HOME=/usr/lib/jvm/default-java/
!python -m benchmark.on_pisa -d msmarco

Thanks! Will merge once the kaggle results are out (you can add the link in the readme, there's a section for kaggle links)

aside: 100 q/s on msmarco is crazy. I can't believe we are seeing <10ms query time on 8M docs on free kaggle cpus🤯

(you can add the link in the readme, there's a section for kaggle links. one notebook is fine if you don't want to run them individually).

👍 on it!

Btw can you set n_threads=1? It seems to be -1 by default, but the result table assume n_threads=1 to be fair to single-threaded implementations (rank-bm25 for example).

Thanks! It looks like that was only just the default for build_pisa_index, the script's default arguments are correct. I'll update it there too though.

You can also set n_threads=-1 in this folded table right below the single-threaded results

👍 Nice, I missed that table before! Will add.

aside: 100 q/s on msmarco is crazy. I can't believe we are seeing <10ms query time on 8M docs on free kaggle cpus🤯

Yep 🤓, I usually get <= 1ms/q on msmarco on the machines I use for research, which is exactly why I use PISA :)

Ah makes sense! Pisa looks very good. I wonder how they can achieve such a high throughput on the top-k selection step (which is a big bottleneck). Perhaps it's really worth looking into inverted indexing!

The software includes a lot of optimizations, but my understanding is that static pruning with BlockMaxWAND is one of the most impactful techniques it implements.

@xhluca all results done -- I merged them into the README tables

Awesome, merged!

@seanmacavaney I'm trying to add results for recalll@1000 and ndcg@10. It seems that output for this is not present: https://www.kaggle.com/code/smac2048/pisa-cqadupstack/notebook

Yep, no problem! Running now


Stop saving if the buffer has not changed and there is no difference from the origin file

Optionally or :update like vim

I don't get what you intend. What command do you have a problem?

Watching file changes and build a project, :w is always save the file and the build is restarted. So I want the :update command.


Store logger filtering data in persistent memory

Is your feature request related to a problem? Please describe.
Logger supports runtime filtering of log messages. Filtering is independent for each backend so you can have more logs on uart backend but less on file system crash log backend. Filtering can be configured by shell commands but after reboot current configuration is lost and same set of commands needs to be applied to get back to previous filtering.
Describe the solution you'd like
Provide an API (log_config_store()/log_config_restore()) and shell commands for storing and restoring filtering information. Filters are stored in one memory section so data is there.

@nvlsianpu as zephyr supports multiple persistent storage options how would you see it being solved in a generic way? Kconfig to decide which location to use?

settings subsystem is something which can store such a configuration.
I would say that if settings is in usage log_config_store()/log_config_restore(),
also pure nvs() implementation is possible if settings solution is to much (it even can be used while settings uses nvs)
alternatively user might provide simpler implementation - especiali if device has backup register or an high endurance memory.

I've a question that goes into a similar direction. Would it be possible to have the default log level per log sources independent of the compiled log level? Currently log_core.c copies the compiled log level into the runtime filter:
if (IS_ENABLED(CONFIG_LOG_RUNTIME_FILTERING)) {
	for (int i = 0; i < log_sources_count(); i++) {
		uint32_t *filters = log_dynamic_filters_get(i);
		uint8_t level = log_compiled_level_get(i);

		LOG_FILTER_SLOT_SET(filters,
			    LOG_FILTER_AGGR_SLOT_IDX,
			    level);
	}
}

I see use cases for having more logging available but muted during normal operation.
One issue I see with log_config_store()/log_config_restore() is the compile time coupling of sources to indices. So if a module is altered the index of a source might be shifted by an offset.


Add identifier aliases

This is somewhat related to #56.  It would be useful to be able to re-name various identifiers such as class names, method names, etc. in definition files.  Perhaps this could be done using either a native TypeScript feature or via custom decorators.

Could you give an example?

Say I have an interface:
interface SomeLuaClass {
  /** !Native SomeLuaMethod */
  someLuaMethod(a: int, b: int): float;
}```
Essentially this is declaring `someLuaMethod` on the TS side, but the custom decorator would signal to the transpiler that the actual method name is `SomeLuaMethod`.

Why go through all the effort of renaming instead of just declaring it as SomeLuaMethod?

I think that many people would agree that having consistency in naming schemes across a programming language is a good idea.  It's nice to be able to use lowerCamelCase for everything in TypeScript.

If your declarations use PacalCase just do everything in PascalCase, we will not be adding a renaming mechanism just because of user preference.


Find Social Worker records that were dropped from the 2019 Adoption Option event

Unfortunately when the SWs were dropped there wasn't enough of them to trigger the automated email to be generated.
I went through the database backups and the only SW I found that existed in the list two days ago that isn't in the current list is Bridget Curley.  The backups occur around 8PM daily, so yesterday's backup would not have captured the state of the event record before the SWs were dropped.  Unfortunately I don't think there's anything else I can do to recover the lost data from my end.


i want to use more than one BLE devices

HI
i use two noble at the same time,
var noble1 = require('noble');
var noble2 = require('noble');
and
noble1.on('stateChange', function(state) {
console.log('1 on -> stateChange: ' + state);
if (state === 'poweredOn') {
noble1.startScanning();      //any service UUID, no duplicates
} else {
noble1.stopScanning();
}
});
noble2.on('stateChange', function(state) {
console.log('1 on -> stateChange: ' + state);
if (state === 'poweredOn') {
noble2.startScanning();      //any service UUID, no duplicates
} else {
noble2.stopScanning();
}
});
in my notebook,it can receive two device's data.
but in my computer, it cannot work.
it will show that
1 on -> stateChange: poweredOn
1 on -> stateChange: poweredOn
and stop.
what should i do ?
i am not sure about the connection between them.
In my notebook , i use 'read' to get notifications, but in my computer i need to use 'data'

@yongtingwang are you trying to use 2 different bluetooth antennas? There's a note about that sort of use case in the docs here.  It looks like you'll need to run two separate node processes.  You may be able to modify this library here-ish to add a parameter to let you specifty which BLE antenna you want to use when you include noble.

@mbifulco  thank you! i will take a look.

@mbifulco thanks!
Closing as answered.


Output Template option filepath should be mentioned in the list beside filename

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
Currently option filepath is only mentioned in this note and not in any of the lists like filename is, this issue asks that this option be mentioned in the list and in which stages it is available
PS: is it correct that filepath is not available in a later stage like after_video (which is seemingly after after_move)?
Command used: yt-dlp -v -x -f bestaudio/best -o "'%(extractor)s'-'%(id)s'-%(title).150B.%(ext)s" --print "after_video:TESTVIDEO %(filepath)s %(filename)s" --print "after_move:TESTMOVE %(filepath)s %(filename)s" https://www.youtube.com/watch\?v\=ygsdfe-cjH4
relevant output (stage, filepath, filename):
TESTMOVE /tmp/test/'youtube'-'ygsdfe-cjH4'-Just Ghost Recon. ｜ Ghost Recon Wildlands.opus NA
TESTVIDEO NA NA

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-v', '-x', '-f', 'bestaudio/best', '-o', "'%(extractor)s'-'%(id)s'-%(title).150B.%(ext)s", '--print', 'after_video:TESTVIDEO %(filepath)s %(filename)s', '--print', 'after_move:TESTMOVE %(filepath)s %(filename)s', 'https://www.youtube.com/watch?v=ygsdfe-cjH4']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d]
[debug] Python 3.10.10 (CPython x86_64 64bit) - Linux-6.3.4-2-MANJARO-x86_64-with-glibc2.37 (OpenSSL 3.0.8 7 Feb 2023, glibc 2.37)
[debug] exe versions: ffmpeg 6.0 (setts), ffprobe 6.0, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[youtube] Extracting URL: https://www.youtube.com/watch?v=ygsdfe-cjH4
[youtube] ygsdfe-cjH4: Downloading webpage
[youtube] ygsdfe-cjH4: Downloading android player API JSON
[youtube] ygsdfe-cjH4: Downloading MPD manifest
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[info] ygsdfe-cjH4: Downloading 1 format(s): 251
[debug] Invoking dashsegments downloader on "https://rr3---sn-4g5ednd7.googlevideo.com/videoplayback?expire=1685646069&ei=lZZ4ZN6eOo691gKQ06CIDw&ip=2003%3Ad5%3Abf20%3Acd92%3Abd7d%3Ab67a%3Aaefa%3A23b5&id=o-AGD7TN0BGx-0sDjqBZQEA3mlhoBkB3GqceS1rQtUBeIr&itag=251&source=youtube&requiressl=yes&mh=AS&mm=31%2C26&mn=sn-4g5ednd7%2Csn-5hnednss&ms=au%2Conr&mv=m&mvi=3&pl=37&initcwndbps=1783750&spc=qEK7B1vVrDRAzxPbNGv880NNRzrWn-A&vprv=1&svpuc=1&mime=audio%2Fwebm&gir=yes&clen=4390&dur=9.101&lmt=1564297005054889&mt=1685624254&fvip=2&keepalive=yes&fexp=24007246%2C51000014&c=ANDROID&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgP59S0H_r4qa12-u0UrWJaLyLVY-ew-mjksu4EV_OCooCIQCIsHxtbiIb7yyGZ6Vsk7PNBXr4y5Ljs7gQhxSeZzMkbw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgTFwOdIepZSi6Y-_f4GAYpz4IPXdnapJnyIoUznARsagCIE3zk-l3cdNcIRz-nLjN6TuElqqLJWeoVmic-gvQMTi_"
[dashsegments] Total fragments: 1
[download] Destination: 'youtube'-'ygsdfe-cjH4'-Just Ghost Recon. ｜ Ghost Recon Wildlands.webm
[download] Download completed
[debug] ffmpeg command line: ffprobe -show_streams 'file:'"'"'youtube'"'"'-'"'"'ygsdfe-cjH4'"'"'-Just Ghost Recon. ｜ Ghost Recon Wildlands.webm'
[ExtractAudio] Destination: 'youtube'-'ygsdfe-cjH4'-Just Ghost Recon. ｜ Ghost Recon Wildlands.opus
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:'"'"'youtube'"'"'-'"'"'ygsdfe-cjH4'"'"'-Just Ghost Recon. ｜ Ghost Recon Wildlands.webm' -vn -acodec copy -movflags +faststart 'file:'"'"'youtube'"'"'-'"'"'ygsdfe-cjH4'"'"'-Just Ghost Recon. ｜ Ghost Recon Wildlands.opus'
Deleting original file 'youtube'-'ygsdfe-cjH4'-Just Ghost Recon. ｜ Ghost Recon Wildlands.webm (pass -k to keep)
TESTMOVE /tmp/test/'youtube'-'ygsdfe-cjH4'-Just Ghost Recon. ｜ Ghost Recon Wildlands.opus NA
TESTVIDEO NA NA

The field is documented in --exec, but I get your point. Documenting it there made sense when it was written and --print WHEN: didn't yet exist. I'll move it.

PS: is it correct that filepath is not available in a later stage like after_video

after_video and playlist stages do not correspond 1-1 with other stages and have different infodict structures. Documenting them would be difficult - I suggest studying the shape from %()#j. To answer your question, it's in %(requested_downloads.0.filepath)s


Update owasp-zap to 2.7.0

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Thanks @commitay !


apollo的前端提交页面有增加diff渲染的计划吗？

在提交页面，左右两列做diff。后面会有这个feature吗？
因为有时候单个key的value是一个长字符串

Would you please share more detail on this?

Currently, there is a diff page when releasing the configurations. I'm not sure whether it's a common requirement to show the diff page when the user is editing the configuration item.

我本地用quick-start-1.9.0启动的实例：在发布前的页面是这样的，没有diff渲染额

This is the release form for non-properties namespaces, e.g. yaml
http://<IP_ADDRESS>/config.html?#/appid=100004458

您好，非常期望properties格式的配置也具备diff渲染功能

我又回来了，这个计划现在怎么样啦？

mark

mark


Add missing closing parenthesis to changelog entry

Fix the upcoming changelog (https://dlang.org/changelog/2.075.0_pre.html)
Ddoc is a really nasty engine, everyone gets punished if there's a missing parenthesis ...
@CyberShadow should we automatically replace all parenthesis which aren't in macros by the LPAREN or RPAREN to avoid stuff like this in the future?
Or maybe simply counting the braces and making it a hard error? (Ddoc doesn't support this)

@CyberShadow should we automatically replace all parenthesis which aren't in macros by the LPAREN or RPAREN to avoid stuff like this in the future?

I don't think a program can know whether a parenthesis is meant literally or to close a macro.

Or maybe simply counting the braces and making it a hard error?

Yes, we should do that somehow. Doesn't DDoc print a warning for mismatched parentheses currently?

Rebased to restart Jenkins (unrelated failure ...)


A getting started guide for juju

A guide for deploying a kubernetes cluster with Juju (https://juju.ubuntu.com/).

Would you mind adding a line or lines to https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/README.md

@whitmo, could you make sure that you sign the CLA? Thanks!
@erictune, are you the right person to review this?

Thanks for getting Kubernetes running on another platform.
I have a couple of questions.
What version of the kubernetes binaries or source does this use, and could
I easily have determined that myself?
Where are the flags for the various binaries set?
On Thu, Feb 19, 2015 at 10:19 AM, Yu-Ju Hong<EMAIL_ADDRESS>wrote:

@whitmo https://github.com/whitmo, could you make sure that you sign
the CLA? Thanks!
@erictune https://github.com/erictune, are you the right person to
review this?
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/4597#issuecomment-75106094
.

Thanks for the feedback on our work.
Currently the v0.8.1 Kubernetes binaries are included in the the files directory of the kubernetes and kubernetes-master charm and that is the default version installed unless the charms are configured to different versions.  The gsutils python package is used to pull the Kubernetes binaries if the user configures a version other than default.  We are working on a way to build the binaries from source but that is not implemented yet.
https://github.com/whitmo/charm-kubernetes
https://github.com/whitmo/charm-kubernetes-master
In Juju the charms install the software and a bundle defines the Kubernetes system/cluster.  The bundle can pass configuration to the charms. For example to install a different version of Kubernetes by passing 'version: v0.10.0' to the options of the charms.  We have several bundles that configure different versions of Kubernetes in the specs directory of the Kubernetes bundle.
https://github.com/whitmo/bundle-kubernetes
Please let us know if you have more questions.

Thanks for the quick responses!
@erictune once we get deployment from source landed, we'll default the bundle in github to run from source.  In the meantime I guess we should add instructions about how to parameterize a cluster deployment to pick a version.
And we'll update the PR to add info about this to the kubernetes README asap.
@yujuhong we are trying to get the corporate CLA cleared with legal. Hopefully that will all get wrapped up today.

I think it is fine if you only support deployment from binary releases at
first.
I'm trying to work out whether it is practical for the core Kubernetes team
to make updates the flags used by this "Getting Started Guide".
On Mon, Feb 23, 2015 at 8:06 AM, Whit Morriss<EMAIL_ADDRESS>wrote:

Thanks for the quick responses!
@erictune https://github.com/erictune once we get deployment from
source landed, we'll default the bundle in github to run from source. In
the meantime I guess we should add instructions about how to parameterize a
cluster deployment to pick a version.
And we'll update the PR to add info about this to the kubernetes README
asap.
@yujuhong https://github.com/yujuhong we are trying to get the
corporate CLA cleared with legal. Hopefully that will all get wrapped up
today.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/4597#issuecomment-75572030
.

Thank you again for this PR.  After considerable thought, I'm not going to merge it right now.
There has been a lot of discussion recently about the number of different configurations that we advertise to our users (19 at the moment, [here] (https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/getting-started-guides/README.md)). It is getting quite difficult for the core Kubernetes team to maintain all those combinations.  In particular, it is hard for us to support configurations that don't use a configuration distribution mechanism that core team members are familiar with (e.g. saltstack).  At the same time, we don't want to visitors to the github repo to see instructions that we can't maintain and that may bitrot.
We are sorry we can't support more configurations right now, but as we sprint towards releasing version 1.0.0, we have to defer some things.  We plan to more clearly define the criteria for being a supported configuration, and for being listed in this repo.  But, until we are ready to define the requirements, I think it is best to put a hold on accepting new getting-started-guides.  Once we define the criteria, we'll clean up the existing list of getting-started-guides too.  We'll announce the new criteria when they are ready on<EMAIL_ADDRESS>(a low-traffic list).
I'd encourage you to share the Juju getting-started-guide on another repo or blog.  And we still welcome code contributions.

@erictune thanks for taking the time for consideration and I understand the time constraints and changes that occur as a project approaches 1.0.  We expect to maintain the getting started guide just as we maintain the opensource projects for the charms and bundle for deploying kubernetes with juju and will be happy to contribute if and when it's appropriate.

After some further discussion w/ folks here, I'm re-opening this.  @erictune and I dug in and came up with the requirements that we need to make sure we are making the right statements to users who may come across it in the future.  Namely:

Please update the matrix of supported platform/os contributions, indicating the concrete binary version that you tested, the date it was tested, and the github user (@whitmo) that tested it.
Please add this same information to the documentation in your juju.md as well.
Any future version revisions to support future versions should come in the form of a PR to rev. the statements above.

It would be great if you also ran CI for this and notified us of build breaks as issues, although that is not a hard requirement.
Thanks for your help and patience as we figure this stuff out.
Best
--brendan

Thank you for taking a look at our proposal @brendanburns and @erictune
I've taken a look at the requested feedback and I've addressed the issues with adding Juju to the getting started README.md, and put links in the table to our CI results in the Juju getting started guide under cloud integration.
Our Matrix would be slightly different than most listed here, as we're working across all substrates, and this would make your integration table huge. I don't want to be presumptuous about implementation, and left the detailed view to our scoped Juju getting started guide.
@brendandburns we're actively working on the CI stack with regard to our Kubernetes bundles, and would like to offer that level of integration. I'll have more details about that as work starts to land that will enable this.

LGTM


Pre-commit hook to call make lint

As discussed in #813. A simple npm install will enable this.
Tested on Ubuntu Linux so far. (Do Git hooks work on Windows?)

(Do Git hooks work on Windows?)

According to https://stackoverflow.com/questions/18277429/executing-git-hooks-on-windows:
By default, Git for Windows executes hook scripts using its own Windows port of the bash shell.

Thanks for adding this.  It should save some time next time I forget ;.


Infinite loop with MutationObserver + browser zoom

Using a combination of ngx-bootstrap tooltips, MutationObserver, and browser zooming it is possible to trigger an infinite loop that locks up the browser tab. Here is a plunker demonstrating the issue. Try different browser zoom levels, then mousing over the tooltips. For me it will lock the browser at 90% and 125% zoom, but not at 100% or 110%.
I filed this issue with a couple other libraries while trying to nail down the culprit:

https://github.com/valor-software/ngx-bootstrap/issues/3047
https://github.com/que-etc/resize-observer-polyfill/issues/27

@que-etc mentioned zone.js as his prime suspect in that second link, thus I am filing this issue.
Thanks for making Angular easier to use with this library!

@eric-simonton-sama , there is a walk around about this one.
import { Component, OnInit, NgZone } from '@angular/core';
import ResizeObserver from 'resize-observer-polyfill';

@Component({
  selector: 'ngx-app',
  templateUrl: 'app.component.html'
})
export class AppComponent {
  array = new Array(20);

  constructor(private ngZone: NgZone) {
    this.ngZone.runOutsideAngular(() => {
          new ResizeObserver(() => {}).observe(document.body);
    });
  }
}

Thank you for the workaround. To fix this in our real application it sounds like we would do as you suggest here, then manually trigger change detection from our resize handler when needed.  That's better than having the browser crash!

So we have recently run into this too (using 0.8.26). Weird part is, the components using the ResizeObserver and MutationObservers are built using StencilJS so they are not part of the Angular ecosystem. Are there workarounds for 3rd party libraries?

Trying to integrate a custom component (WebComponent v1) with Angular app. The component uses MutationObserver for observing changes in native control, but falls into infinite loop while placed into Angular app.
Template in the application:
<my-custom-select>
  <select formControlName="options">
    <option *ngFor="let term of option$ | async" [value]="option">{{ option }}</option>
 </select>
</my-custom-select>

In my component class:
this._optionsObserver = new MutationObserver(()=>{ /* the callback */})
this._optionsObserver.observe(this.select, {childList: true, subtree: true})

Tried a proposed workaround with instantiating window[window.Zone.symbol("MutationObserver")] but falling into loop again.
I'd appreciate any suggestion.

@notbear, could you create a reproduce repo?


Unknown OpenSSL error

Good evening @micahflee, thanks for developing this wonderful tool! Sadly, I keep experiencing a strange error after upgrading my openSUSE Tumbleweed. Please review this logfile. I first filed the error in the cryptography repository at https://github.com/pyca/cryptography/issues/2727, but they closed it since they think the bug is caused by another program or possibly even yours. Questions: How to find out which program is causing this Issue (since torbrowser-launcher worked fine before) and how to fix this error for everyone?
EDIT: Since noone is answering, maybe @adrelanos, @kraai or @intrigeri can help me here?

Sorry I responded to this issue too late, and the log file you linked to isn't active anymore. Can you paste the logs here, if you still have them?

This seems to be a duplicate of #774


Endpoint for GCC

This list of end points does not include the ones for GCC which should be:
*.blob.core.usgovcloudapi.net	Azure Government Blob Storage	Used for temp encrypted Azure Storage for Migration API
*.queue.core.usgovcloudapi.net	Azure Government Queue Storage	Used for temp encrypted Azure Storage for Migration API

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

ID: 88bace7b-082e-b83d-5489-a9891d2c4e3a
Version Independent ID: d2777cb8-575d-064b-481c-9c870d8420b7
Content: Troubleshooting SPMT installation issues
Content Source: migration/spmt-install-issues.md
Service: sharepoint-online
GitHub Login: @JoanneHendrickson
Microsoft Alias: jhendr

@Padavid Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

We had the same issue with it. In the documentation it is stated that *.blob.core.windowns.net is needed but from network monitor, it shows also *.store.core.windows.net as destination and failed on that.

Hello @Padavid thanks for noticing and reporting, created a pull request to improve the article.

@Padavid Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Pass props to component in Unit Test

Hi!
I'm trying to create a unit test for my app based in Vue and vue-cli with webpack template.
I read Vue documentation, vue-loader, vue-cli and vue-template/webpack (an more!). When I try to make a unit test for my component, I use this.
const Constructor = Vue.extend(MyComponent)
vm = new Constructor().$mount()

like Vue-template/webpack example and like Vue official
This work fine. but the pronlem is when my component has some props. I try to pass with this
const Constructor = Vue.extend(MyComponent)
vm = new Constructor({
  myprop: 10
}).$mount()

And in my unit test, when I try to get this prop, I get undefined. How can I pass prop to my component in unit test?

I solve it with this
const Constructor = Vue.extend(MovieList)
vm = new Constructor({
    data: {
        myProp: 10
    }
}).$mount()

You can use the next package vue-test-utils


Should we retire the fleet summary?

The fleet summary (#21) was introduced to help users diagnose rollout progress. It was part one of a two step strategy: a low-level summary in the CapacityTarget, while a higher-level one would be created at the Release level (#139). This was implemented way before we ever thought that one day Shipper we'd have Shipper objects spread into application clusters as well (#272).
Now that we are indeed moving CapacityTargets away from the management cluster, users would need to check each application cluster for their CapacityTargets and their summary. I'm of the opinion that at this point, users are better off just looking at the Pods directly instead of combing through our summaries.
This raises the question: do we still want to keep the fleet summary? Especially after #139 gets addressed, I feel like we're not getting the value that the original idea was supposed to give us. So I propose that after both #277 and #139 are done, we completely remove the fleet summary in favor of a Release level summary.
What do you guys think?

The breakdown argument sounds very reasonable to me. In practice, users rarely go further than checking release objects and having this information spread around the clusters doesn't sound shiny to me personally. Good initiative!


update to new plugin api

Any chance somebody can look at this?
This codec is mentioned in the Logstash 5.x documentation, but isn't actually supported.


Gradle and multi-projects

I have to use Gradle as a build tool for Java in a project, and it's a multi-project, by which I mean there are several sub-projects in the repository. The directory structure follows the recommended structure:
README.md
|- README
|- foo
|  |- src
|     |- main
|     |  |- java
|     +- test
|        |- java
|- bar
|  |- src
|     |- main
|     |  |- java
|     |- test
|        |- java
|- baz
   |- src
      |- main
      |  |- java
      |- test
         |- java

The current Gradle test runner simply executes gradle test, and if I am trying to run a test called Herp it will try to test Herp in all sub-projects. If there is no such test class in all projects the test fill fail (which is usually the case).
I have figured out what needs to change (see here, but my problem is how to write tests for the Vim plugin. The way I see it there are three scenarios to test: a plain project where the source files just lie in the top level (the way tests are set up now), a single project, and a multi project. The directory structure of spec/fixtures/gradle can look like this:
spec/fixtures/gradle/
├── multi
│   └── foo
│       └── src
│           ├── main
│           │   └── java
│           └── test
│               └── java
│                   ├── MathTestCase.java
│                   ├── MathTest.java
│                   ├── MathTests.java
│                   └── TestMath.java
├── plain
│   ├── MathTestCase.java
│   ├── MathTest.java
│   ├── MathTests.java
│   └── TestMath.java
└── single
    └── src
        ├── main
        │   └── java
        └── test
            ├── java
            ├── MathTestCase.java
            ├── MathTest.java
            ├── MathTests.java
            └── TestMath.java

In the actual test (spec/gradletest_spec.vim) I need to cd into each of the three directories and run all the tests. Is there a way of doing this without repeating everything three times?

The same issue happens across all runners. I have got around the issue myself by opening each sub-project in a different tab and change the working in each tab using lcd or tcd in Neovim.
The problem of dealing multi-projects isn't specific to vim-test, it happens across other plug-ins that assume a single project starting at the root.  A couple of ideas to address were suggested in #272 one of which was to use vim-projectionist. @janko what are your thoughts on this?

@codeinabox I don't have time to work on vim-test lately, so would be glad if others could take point on these decisions 👍

At least in the case of Gradle I have solved the problem by taking an educated guess based on the first component of the file path (relative to the root of the project):

If the root is also the file name (ends in .java) we are dealing with a plain project without any real structure
If the root is named src it is a single-module project
Otherwise the root is the name of the sub-project

This is of course assuming that the project follows the usual Gradle conventions. If the developer breaks these conventions (which is possible, but it requires extra work), then all bets are off. If the project is single-module (or plain) running gradle test is good enough. In a multi-module project I invoke gradle :modulename:test instead (where modulename is the name of the sub-project).

The same could be done for maven I guess with different flags added to the command. I might be able to hop in to help, expect a PR in the next few days because this little thing annoys me as well :)

#494 was created for the maven support on multimodules. If that approach is correct than I'll gladly extend that to gradle.

#496 was also created for gradle plain, single and multi-module projects.

@HiPhish can you check the PR's above (especially the gradle related one) to make sure thats the right approach?

The line ['--tests ' . name. modulename] makes it look like you append the name of the Java package to the name of the class instead of the other way around. The correct syntax is
./gradlew :foo:test --tests com.example.MyAwesomeLib.util.SomeClassTest

where com.example.MyAwesomeLib.util is the name of the Java package (packages is what Java calls namespaces) and SomeClassTest is the name of the test class. By convention a test class has the same name as the class it is testing, except with Test appended.

@HiPhish if you check the tests or the documentation changes then you can see that's not the case. That modulename can be either an empty string or a toggle like '-p modulename'.
So for that foo submodule it will be: gradle test -p foo --tests com.example.MyAwesomeLib.util.SomeClassTest

OK, sorry for my misunderstanding. I haven't been using this plugin for a while, I'll try it out and report back one of these days.

Sorry for bumping an old thread but it doesn't seem to work for kotlin. After checking #496, it does seem to only implement the feature for java.


LayerMaterial should create it's base by default

The base can only be called once and at the origin
<LayerMaterial>
    <Base color="#603295" >
</LayerMaterial>

becomes:
<LayerMaterial color="#603295" >
...
</LayerMaterial>

Similar to how R3f handles camera.  Now base only has 3 arguments and only 1 will regularly be set, but if they had a specific requirement or need  and really wanted they still could still do:
<LayerMaterial>
    <Base color={compareAllyColors{userColorVar, safeColorVar)} alpha={() => isDarkMode ? 1 : .5}  blend={/**No idea why base blends?**/} >
</LayerMaterial>

R3F Canvas & Camera:
<Canvas camera={{ positon: [0,5,0] }}>
    <Lights >
        <mesh></mesh>
</Canvas>

<Canvas>
    <perspectiveCamera ref="camRef" position={ [0,5,0 }>
        <Lights >
        <mesh></mesh>
</Canvas>

The <Base /> layer is more of a <Color /> layer. It provides a nice solid color. This is useful to, for example, darken a given material. You could do:
<Base color="black" alpha={0.3} />

Or fi you want to give something a specific tint.
Maybe we should rename <Base /> to <Color />

Addressed in 1.1.0


error

Description
What steps will reproduce the problem?

What is the expected output? What do you see instead?
Please provide any additional information below
File "C:\Users\Cafintech\AppData\Local\conda\conda\envs\python35\lib\site-packages\spyder\widgets\variableexplorer\collectionseditor.py", line 519, in createEditor
readonly=readonly)
File "C:\Users\Cafintech\AppData\Local\conda\conda\envs\python35\lib\site-packages\spyder\widgets\variableexplorer\collectionseditor.py", line 1311, in setup
readonly=readonly, remote=remote)
File "C:\Users\Cafintech\AppData\Local\conda\conda\envs\python35\lib\site-packages\spyder\widgets\variableexplorer\collectionseditor.py", line 1266, in init
title)
File "C:\Users\Cafintech\AppData\Local\conda\conda\envs\python35\lib\site-packages\spyder\widgets\variableexplorer\collectionseditor.py", line 1151, in init
minmax=minmax)
File "C:\Users\Cafintech\AppData\Local\conda\conda\envs\python35\lib\site-packages\spyder\widgets\variableexplorer\collectionseditor.py", line 111, in init
self.set_data(data)
File "C:\Users\Cafintech\AppData\Local\conda\conda\envs\python35\lib\site-packages\spyder\widgets\variableexplorer\collectionseditor.py", line 159, in set_data
self.set_size_and_type()
File "C:\Users\Cafintech\AppData\Local\conda\conda\envs\python35\lib\site-packages\spyder\widgets\variableexplorer\collectionseditor.py", line 179, in s

Sorry, the error is not complete. The next this problem appears, please copy the error from the dialog that reports the error and report it here again.

Closing because of lack of response.


Request Date segment

Is there a way to have actual date segment just like time segment .
Consider this as a development idea, this is not an issue ... or explain me how to purpose development ideas.
I will close or delete if possible this issue at the second i receive an answer

When u mean with "like a time segment", that the last prompt line has a clock that update itself other time, this not possible, cause the whole prompt is build as a single string when zsh calls a new prompt.

ok, i'm not skilled as much needed to argue but i was hoping date and time close to this : https://github.com/zakaziko99/agnosterzak-ohmyzsh-theme#agnosterzak-for-oh-my-zsh-

There is already a date segment, however it is still in the next branch. Either wait for a new version or download the current development version.
https://github.com/bhilburn/powerlevel9k/tree/next#date
You can also use the time format variable to add date to time as described here.

Thank you @tippl  that's a very good news, however i still have trouble to configure powerlevel9k with awesome-terminal-fonts but it's another issue so thanks for the answer and as that issue was already old, we could consider this issue as closed. Thanks again.


This restricts the grammar a little bit.

Production
e -> d e

was removed. Instead we now have:
de -> d* e

And some very specific places where de is allowed:
e -> { de }
o -> = de ;

This has the effect that a typical error like this:
.let x = foo 1 2 3 /* missing semicolon */
.let y = bar 4 5;

is now a syntax error.

This would affect something like
.ax %matrix.transpose: Π [kl: «2: .Nat; .Nat», T: *] ->
    .let (k,l) = kl;
    %matrix.Mat (2,(k,l),T) -> %matrix.Mat (2,(l,k),T), normalize_transpose;

right?

This would affect something like
.ax %matrix.transpose: Π [kl: «2: .Nat; .Nat», T: *] ->
    .let (k,l) = kl;
    %matrix.Mat (2,(k,l),T) -> %matrix.Mat (2,(l,k),T), normalize_transpose;

right? Because now .let is only allowed at the beginning but not in between expressions.

This is correct. But what you can do instead is the following:
.ax %matrix.transpose: Π [kl: «2: .Nat; .Nat», T: *] ->
    {
        .let (k,l) = kl;
        %matrix.Mat (2,(k,l),T) -> %matrix.Mat (2,(l,k),T)
    }, normalize_transpose;

yes, but I do see the value of putting .lets in between stuff without opening a new block. Yet, missing semicolons are really annoying errors. Any other ideas?

yes, but I do see the value of putting .lets in between stuff without opening a new block. Yet, missing semicolons are really annoying errors. Any other ideas?

Maybe introduce an additional inline-let e -> let p = e in e .
The let with a semicolon in an expression looks weird in some circumstances (like the one above).

What about a production
e -> .with de

Then, you could do this:
.ax %matrix.transpose: Π [kl: «2: .Nat; .Nat», T: *] ->
    .with
        .let (k,l) = kl;
    %matrix.Mat (2,(k,l),T) -> %matrix.Mat (2,(l,k),T), normalize_transpose;

What about a production
e -> .with d* .in e

That is basically the same syntax as with a block. Which is also fine.
Also, I think is not that common. Therefore, we probably do not need a special notation. (In the case above, a deeper intro-pattern avoids the need to destruct kl)

What about a production
e -> .with d* .in e

That is basically the same syntax as with a block. Which is also fine. Also, I think is not that common. Therefore, we probably do not need a special notation. (In the case above, a deeper intro-pattern avoids the need to destruct kl)

yes, but in contrast to { de } the .with/.in expression doesn't open a new scope. So:
{
    .let x = ...;
    x;
}
...
use(x); // error

in contrast to
.with
    .let x = ...;
.in
    x;
...
use(x); // fine

Let me just merge this like it is now. If we need sth like the.with-expr we can still add this later on.


Adjust the mmi/msa detection mode for mips platform.

Using mips-simd-check.sh to test the current compiler support mmi/msa
or not before make. If supported, enable mmi/msa.
According to the model name in /proc/cpuinfo to test the current
cpu support mmi/msa or not for runtime detection.
Now We can use the following make instructions on mips platform:

make (automatic detection mmi/msa)
make ENABLE_MMI=No (disable mmi)
make ENABLE_MSA=No (disable msa)
make ENABLE_MMI=No ENABLE_MSA=No (disable mmi and msa)

Change-Id: Ibd348ebc11912d7fca1b548c76838675d69b7c40
Signed-off-by: gxw<EMAIL_ADDRESS>

@FlyGoat @yinshiyou
please help me review the patch, thx.

looks good now.

can you help to merge you commit to one? thanks


improve the efficiency of saved_segments

Codecov Report
Base: 90.39% // Head: 90.58% // Increases project coverage by +0.18% :tada:

Coverage data is based on head (b8d3c67) compared to base (a75beb8).
Patch coverage: 99.42% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #4      +/-   ##
==========================================
+ Coverage   90.39%   90.58%   +0.18%
==========================================
  Files          14       15       +1
  Lines        7822     7988     +166
==========================================
+ Hits         7071     7236     +165
- Misses        751      752       +1

Impacted Files
Coverage Δ

cfdp-core/src/lib.rs
100.00% <ø> (ø)

cfdp-core/src/segments.rs
99.38% <99.38%> (ø)

cfdp-core/src/transaction.rs
96.19% <100.00%> (+<0.01%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Parsing numbers according to YAML 1.2

Based on the spec for YAML 1.2, underscores shouldn't be allowed in numbers:
https://yaml.org/spec/1.2/2009-07-21/spec.html#id2604185
However the latest js-yaml still allows them:
package.json
{
  "dependencies": {
    "js-yaml": "^4.1.0"
  }
}

test.js
const yaml = require('js-yaml');
const data = yaml.load(`
string: '1_2_3'
also_string: 1_2_3
`);
console.log(typeof data.string);
console.log(typeof data.also_string);

$ node test.js
string
number

Is this intended behaviour?  Thanks in advance.

Does it break anything? Are there any strings with numbers and underscores that should stay strings?
found this issue, kinda similar https://github.com/symfony/symfony/issues/27120

Based on the spec for YAML 1.2, underscores shouldn't be allowed in numbers

YAML 1.2 doesn't define how numbers are parsed. As far as YAML is concerned, there're just 3 types: maps, collections and scalars. How they are represented in memory is up to parser/schema. Reference parser wouldn't tell you if it's a number or not.
What you linked to is a recommended default schema. I would be very hesitant to make a subset of it, but superset might be fine for historical/interoperability reasons.
We used to strictly implement https://yaml.org/type/int.html schema (the one 1.2 spec refers to in section 10.4.). Unfortunately, it has problems (people confused sexagesimals with port numbers, and octals didn't align well with ecmascript changes), so it was reduced a bit. But underscores remained from there.
So the questions are:

how other 1.2 parsers do it?
is it worth breaking existing documents?

I'm looking at ruamel.yaml (that was one of the first yaml 1.2 parsers I remember), it casts digits with underscores to numbers as well:
$ python3
>>> from ruamel.yaml import YAML
>>> YAML().load("foo: 1_2_3_4")
ordereddict([('foo', 1234)])

I think the behaviour should reflect either the one from YAML 1.1, or one of the YAML 1.2 schemas. A mixture is unfortunate, and it will never be in sync to what other libraries are doing
You can use this repo https://perlpunk.github.io/yaml-test-schema/ to test behaviour when you implement the YAML 1.2 Core Schema. (Note that the JSON schema is defined a bit ambiguously)

how other 1.2 parsers do it?

Other YAML 1.2 libraries use the YAML 1.2 Core schema as the default, e.g. https://github.com/eemeli/yaml, https://github.com/perlpunk/YAML-PP-p5
Note that a "parser" doesn't do anything here, it's the constructor. A YAML parser only cares about the syntax.

is it worth breaking existing documents?

Well, it depends on what you do by default.
That should stay the same, and people can opt in into a new schema. Or you make an explicit breaking change and default to the Core schema.

I've checked, there are 2 differences with YAML 1.2 core schema left:

support for underscores in integers/floats (we do, they don't)
support for binary ints like 0b10101 (we do, they don't)

change for next major version maybe, not sure
@perlpunk do you have any idea why YAML 1.2 spec removed those?

I don't know why binary was dropped.
But for underscores, it turned out that it didn't make sense the way it was defined for 1.1 (and the regular expression would get too complicated if the goal was to fix it), e.g. should .1_ or ._ or even .________ be parsed as a number? The regex says yes.

We use yaml-cpp which is where we first ran into the conflict: https://github.com/jbeder/yaml-cpp/issues/781 (they don't support underscore)
I'm happy to update the PR to make underscores "opt out". I would just need some guidance on what you want to call the property or how to make a new schema.

I have a concrete case where this breaks things. This OpenAPI spec uses 18_24 as a map key. When parsed with js-yaml, that key becomes 1824, breaking internal references and making that spec completely unparseable.
The yaml package from npm parses this correctly (as a string key) but js-yaml does not:
> yaml = require('yaml')
> jsYaml = require('js-yaml')

> yaml.parse('18_24: test')
{ '18_24': 'test' }

> jsYaml.load('18_24: test')
{ '1824': 'test' }


Added Crystal Network

General:

[ ] The pull request title is descriptive. (ex. Added Lunar Network, not Updated servers.json)
[ ] The pull request does not contain any unrelated commits.  (ex. commits from previous pull requests)

Mapping Additions or Updates:

[ ] No changes were made to the file's formatting.
[ ] There are no syntax errors.
[ ] There is no pre-existing mapping matching my id.
[ ] My field values match your requirements.
You can view our patterns here: servers.schema.json, or take a look below and complete the field checklist:

[ ] id: a lowercase string (ex. myserver)
[ ] name: a string (ex. MyServerPvP)
[ ] addresses: an array with lowercase strings (ex. of address my.server)

You do not need to specify sub-domains, Lunar Client services automatically detect them.

Logo Additions or Updates:

[ ] My image is a png file.
[ ] I uploaded my image to the logos directory.
[ ] My image has a transparent background and is square (1:1 aspect ratio).
[ ] My image is 512 pixels in width and height.
[ ] My image's file name matches its mapping id.

This guy is gay, this request should be denied

skidders are haram this should be closed asap

Would heavily recommend not accepting this PR.

Would heavily recommend not accepting this PR.

What for?

Let this be closed :)


Maybe dumb question where does the .env file live

The instructions say create in the root of your project.
I installed with npm, it installed itself in /usr/local/lib/node_modules/mongo-gui
I created a .env file there with an openai key but no sign of the ai query
Also I tried adding a line MONGO_URL=mongodb:// etc to save having to start with a -u and it didn't pick up.
Commented it out in case it caused problem with the openai
Apologies if it's obvious to everyone else where the .env file should go.

@Ilya-666 The OpenAI feature is not published to npm yet. If you want to give it a try, you can clone this repo and follow the steps mentioned in the readme file.

These are the actual variables you have to use in the .env file.
So in the readme it is stated you have to use USERNAME and PASSWORD, but that is not correct is should be MONGOGUI_USERNAME and MONGOGUI_PASSWORD
The .env file goed into the root of the project when you clone it from Github.
I do not know where it resides or how it works when you install via npm. I believe for Linux it could be
/usr/local/lib/node_modules/mongo-gui
MONGOGUI_USERNAME="username"
MONGOGUI_PASSWORD="password"
OPENAI_API_KEY=OPEN_API_KEY

if i uses this MONGOGUI_USERNAME="username"
MONGOGUI_PASSWORD="password"
OPENAI_API_KEY=OPEN_API_KEY  it gives me error of too many redirects


Portable Red Hole's explosion isn't detected by Aura Nodes containing red Aura.

Reproduceable, the explosion that comes from a Portable Red Hole item is not absorbed or mitigated by Aura Nodes containing red Aura, nor is any amount of red Aura moved upwards when used this way.

For....quite obvious reasons, this is fully intentional.


Commands instruction?

While I haven't tried BugStalker yet (just discovered it) I have noticed the absence of one gdb command that would probably be quite easy to implement and has proved useful in gdb in the past for me.
That is the commands instruction which simply sets a list of commands to be executed automatically when a breakpoint is hit. This can be useful to e.g. print all the backtraces for a given breakpoint or some specific pieces of data at every occurence relatively quickly.

Thanks for the idea! I have never used this functionality in GDB (because I didn’t know), I will definitely try to implement it in version 0.3.0


STORM-3164: Fix usage of traceback.format_exc in multilang

Misuse of traceback.format_exc was causing exceptions thrown in python bolts to throw TypeErrors during attempts to handle them. Fixing the calls results in expect behaviour.
Examples of the change can be seen below where the Storm side messages have been mocked so as to directly inspect the python side response. Lines prefixed with # are the prompt, > are stdin (manually entered) and > denotes stdout. Unprefixed lines are stderr.
https://issues.apache.org/jira/browse/STORM-3164
Test Code
from storm import Bolt

class TestBolt(Bolt):
    def process(self, tup):
        raise Exception('harakiri!')

if __name__ == '__main__':
    TestBolt().run()

while true; do
  printf '> ' > /dev/tty
  read line
  echo "$line"
  sleep 0.1
  printf '\n' # trigger sigpipe if python is dead
done | python3 multilang/resources/bolt.py | sed 's/^/< /'

Before
# sh ./bolttest
> {"conf": {}, "context": {}, "pidDir": "/tmp"}
> end
< {"pid": 10643}
< end
> {"id":1, "comp": 2, "stream": 3, "task": 4, "tuple": ["foo", "bar"]}
> end
Traceback (most recent call last):
  File "/usr/src/test/storm.py", line 198, in run
    self.process(tup)
  File "bolt.py", line 6, in process
    raise Exception('harakiri!')
Exception: harakiri!

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "bolt.py", line 10, in <module>
    TestBolt().run()
  File "/usr/src/test/storm.py", line 200, in run
    reportError(traceback.format_exc(e))
  File "/usr/lib/python3.4/traceback.py", line 256, in format_exc
    return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))
  File "/usr/lib/python3.4/traceback.py", line 181, in format_exception
    return list(_format_exception_iter(etype, value, tb, limit, chain))
  File "/usr/lib/python3.4/traceback.py", line 153, in _format_exception_iter
    yield from _format_list_iter(_extract_tb_iter(tb, limit=limit))
  File "/usr/lib/python3.4/traceback.py", line 18, in _format_list_iter
    for filename, lineno, name, line in extracted_list:
  File "/usr/lib/python3.4/traceback.py", line 58, in _extract_tb_or_stack_iter
    while curr is not None and (limit is None or n < limit):
TypeError: unorderable types: int() < Exception()

After
# sh ./bolttest
> {"conf": {}, "context": {}, "pidDir": "/tmp"}
> end
< {"pid": 10644}
< end
> {"id":1, "comp": 2, "stream": 3, "task": 4, "tuple": ["foo", "bar"]}
> end
< {"command": "error", "msg": "Traceback (most recent call last):\n  File \"/usr/src/test/storm.py\", line 198, in run\n    self.process(tup)\n  File \"bolt.py\", line 6, in process\n    raise Exception('harakiri!')\nException: harakiri!\n"}
< end

+1


Chat Copilot Planner Implementation

Hello, I noticed that the previous implementations of a planner have been removed and sk directly invokes functions from internal or external plugins. Is there any plan to implement either the Function-Calling Stepwise or the Handlebars Planner in the Chat Copilot? If not, is there an alternative planned other than the aforementioned?
Thanks!

My team experienced the same issue recently, any recommendation for such scenarios?

I am not sure exactly where we sit with regards to putting planners back into Chat Copilot using post 1.0 versions of Semantic Kernel.  I'll try to find out.
Are there specific things you are trying to achieve which are no longer possible?

It was nice to see/approve/disapprove the plan before execution. This way, I felt that I had more control over the execution because the plan was not always perfectly executed i.e. certain functions from external plugins were not correctly lined up (at least that was the case with the Sequential Planner). Now, the AutoInvoke feature creates and executes the plan and that too isn't perfect as it misses a few a functions along the way as well. So, I wanted to try out Handlebars (specifically) this time around within the context of this app, allowing me to be able edit/reuse/etc. a plan at the very least.

@glahaye I thought about this and came out with the follwing idea.
I tried it, and can do a PR if you want to have a look at it.
First we would have to add a boolean setting AlwayShowPlan (name need to be adjusted).
Then according to this settings we could either :

Call directly the HandleRequest method
or creating a plan and displaying it in a message with two choices (execute / deny)
Then according to the user response, we could call the HandleRequest.
The plan will then be executed.

@tdechanterac I would love to see that PR, yes!

Is there any update for the enhancement, thanks.


Protect against stackoverflow when printing advice exceptions

What does this PR do?
Tries to mitigate #3152 .
Checklist

[x] This is a bugfix

[ ] I have updated CHANGELOG.asciidoc
[ ] ~I have added tests that would fail without this fix~ not feasible to produce a StackOverflow in a test while keeping the system in a known state.

:broken_heart: Build Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2023-06-01T05:42:26.677+0000

Duration: 8 min 47 sec

Steps errors
Expand to view the steps failures

mvn install

Took 1 min 56 sec . View more details here
Description: ./mvnw clean install -DskipTests=true -Dmaven.javadoc.skip=true

mvn install

Took 0 min 18 sec . View more details here
Description: ./mvnw clean install -DskipTests=true -Dmaven.javadoc.skip=true

mvn install

Took 0 min 19 sec . View more details here
Description: ./mvnw clean install -DskipTests=true -Dmaven.javadoc.skip=true

mvn install

Took 0 min 19 sec . View more details here
Description: ./mvnw clean install -DskipTests=true -Dmaven.javadoc.skip=true

mvn install

Took 0 min 19 sec . View more details here
Description: ./mvnw clean install -DskipTests=true -Dmaven.javadoc.skip=true

:grey_exclamation: Flaky test report
No test was executed to be analysed.
:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run benchmark tests : Run the benchmark tests.

run jdk compatibility tests : Run the JDK Compatibility tests.

run integration tests : Run the Agent Integration tests.

run end-to-end tests : Run the APM-ITs.

run windows tests : Build & tests on windows.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)


Check docs deployment repo for staleness

do a diff between a fresh docs build and the current docs deployment repo and see if there's much else to flush out
Slack Message

Bit me again today
I merged https://github.com/treeverse/lakeFS/pull/5353/files which has a docs change but I don't see it reflected on the live site. Is there something about the build & deployment process that I'm missing here? thanks
I can see the action ran.
…asked & answered: commands.html already exists and is being served stale https://github.com/treeverse/docs-lakeFS/blob/main/reference/cli.html / https://github.com/treeverse/docs-lakeFS/blob/main/reference/commands.html

and again (Google search result) https://docs.lakefs.io/setup/virtual-host-addressing.html


bb.js crashes at circuit initialization when using std::verify_proof

I'm doing some tests related to recursive proofs and I'm unable to make bb.js work with a circuit that uses std::verify_proof
Here is the circuit
use dep::std;

fn main(vk : [Field; 114], proof : [Field; 94], public_inputs: pub [Field; 3], key_hash: Field, input_aggregation_object: [Field; 16]) -> pub [Field; 16] {
    let _vk: [Field] = vk;
    let _proof : [Field] = proof;
    let _public_inputs : [Field] = public_inputs;
    std::verify_proof(
        _vk,
        _proof,
        _public_inputs,
        key_hash,
        input_aggregation_object
    )
}

Here is the initialization logic (that works well for other circuits, I'm also able to generate and verify proofs)
export class Noir {

  public artifact: NoirArtifact;

  protected acirBufferCompressed: Uint8Array;
  protected acirBuffer: Uint8Array;
  protected acirComposer: Awaited<ReturnType<Barretenberg['acirNewAcirComposer']>>;

  protected bb: Barretenberg;
  protected logger: winston.Logger
  protected name: string;

  constructor(name: string, _artifact: any, protected logLevel: string = 'error') {
    this.artifact = _artifact;
  }

  async init(threadCount: number = 8): Promise<void> {
    const isBrowser = typeof window !== 'undefined';
    if (isBrowser) {
      const { default: initACVM } = await import('@noir-lang/acvm_js');
      await (initACVM as any)();
    }

    this.acirBufferCompressed = Buffer.from(this.artifact.bytecode, 'base64')
    this.acirBuffer = decompressSync(this.acirBufferCompressed);
    this.bb = await Barretenberg.new(threadCount);

    // looks like it crashes at this step based on debugging
    const [, total,] = await this.bb.acirGetCircuitSizes(
      this.acirBuffer,
    );

    const subgroupSize = Math.pow(2, Math.ceil(Math.log2(total)));
    const crs = await Crs.new(subgroupSize + 1);
    await this.bb.commonInitSlabAllocator(subgroupSize);
    await this.bb.srsInitSrs(
      new RawBuffer(crs.getG1Data()),
      crs.numPoints,
      new RawBuffer(crs.getG2Data()),
    );

    this.acirComposer = await this.bb.acirNewAcirComposer(subgroupSize);
  }
}

This is the error I get
node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

Error [RuntimeError]: null function or function signature mismatch
    at wasm://wasm/01139722:wasm-function[7227]:0x2de51d
    at wasm://wasm/01139722:wasm-function[1190]:0xdb3a0
    at wasm://wasm/01139722:wasm-function[1160]:0xd4a71
    at wasm://wasm/01139722:wasm-function[1143]:0xd0e6c
    at wasm://wasm/01139722:wasm-function[66]:0x37321
    at wasm://wasm/01139722:wasm-function[85]:0x37a3b
    at wasm://wasm/01139722:wasm-function[2139]:0x123475
    at BarretenbergWasmMain.call (.../node_modules/@aztec/bb.js/dest/node/barretenberg_wasm/barretenberg_wasm_base/index.js:87:40)
    at callback (.../node_modules/comlink/dist/umd/comlink.js:109:52)
    at MessagePort.l (.../node_modules/@aztec/bb.js/dest/node/barretenberg_wasm/helpers/node/node_endpoint.js:11:21)

I'm using:

bb.js 0.7.10 (also tried (0.7.2)
@noir-lang/acvm_js 0.27.0
nargo 0.12.0 (also tried, 0.9.0, 0.10.5, 0.11.0 and 0.13.0)

Also this repo works on my end https://github.com/noir-lang/noir-examples (yarn test completes inside the recursion folder), but the circuits are already compiled in the repo so no idea what exact nargo version was used
If I comment the std::verify_proof line in the circuit and re-compile, it works.
Any clue where my issue might be coming from ?

Hi there. Confusingly, proof data also currently has the public inputs at the start of its data (think this is set to change).
But at present, you should therefore have 96 proof fields, not 94, as you have 3 public inputs.
Hope that helps!


bug(CdkVirtualScroll + CdkDragDrop): Drag item and scroll inside a virtual scroll viewport | items get messed up

Reproduction
Drag an item in a CDK Drop List which is contained inside a CDK Virtual Scroll Viewport. After a certain point when auto-/manual-scrolling the viewport (while the item is still being dragged), the items in the main drop list view start to overlap and break out of their layout.
Use StackBlitz to reproduce your issue:

Components: https://stackblitz.com/edit/angular-ivy-kmwblc?file=src/app/app.component.ts
Harnesses: NA

Steps to reproduce:

Add a  element.
Add a <div *cdkVirtualFor="loop data here">
Start dragging any item, say you start dragging item no. 5.
Reach till end of the viewport so that auto-scrolling starts or do manual-scrolling using mouse middle wheel. Either way...
After certain point, say item 21, the list view gets messed up/garbled. There is overlap of data items in the screen.

Expected Behavior
What behavior were you expecting to see?
Items in the background list view should not overlap.
Also, after the item is dropped, depending on the drop logic, the messed up view either resets back to normal (no issue), or sticks (the messed up view persists).
Actual Behavior
What behavior did you actually see?
The list view gets messed up/garbled -- some data items overlap each other. Data item being dragged appears in the background list view too, even though it is still being dragged.

Environment

Angular: 11, 12
CDK/Material: 11, 12
Browser(s): Chrome, Firefox, Edge
Operating System (e.g. Windows, macOS, Ubuntu): Windows, macOS

Found an older issue stating the exact same issue. #19003, which makes this issue a duplicate. Please advise.

Closing as a duplicate of https://github.com/angular/components/issues/10122. It's not something that we support at the moment.


Bump caching-writer dependency

The newer caching-writer uses core-object 0.0.3 instead of 0.0.2, so it seems we need to update init. @stefanpenner, is this _super call correct? I'm just guessing here.

Never mind, seems we'd need another update when a new broccoli-caching-writer with core-object 1.1.0 is out.

I think that is my plan for next week


Parsing a non-empty google calendar gives an empty list

from icalevents.icalevents import events
url = "https://calendar.google.com/calendar/ical/be313b87e8cf5816aae2948070cdb311484244c8df94384ba9a05ccfcc30ddb7%40group.calendar.google.com/public/basic.ics"
some_events = events(url)
print(some_events)

prints an empty list, however the contents of the calendar does not appear to be empty:
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:Improv @ The Glitch
X-WR-TIMEZONE:Europe/London
X-WR-CALDESC:Comedy events at The Glitch
BEGIN:VEVENT
DTSTART:20221214T230000Z
DTEND:20221215T000000Z
DTSTAMP:20221114T225842Z
<EMAIL_ADDRESS>CREATED:20221114T225833Z
LAST-MODIFIED:20221114T225833Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Test Event 2\, Wow!
TRANSP:OPAQUE
END:VEVENT
BEGIN:VEVENT
DTSTART:20221122T230000Z
DTEND:20221123T000000Z
DTSTAMP:20221114T225842Z
<EMAIL_ADDRESS>CREATED:20221114T224645Z
DESCRIPTION:
LAST-MODIFIED:20221114T224654Z
LOCATION:The Glitch\, 134 Lower Marsh\, London SE1 7AE\, UK
SEQUENCE:1
STATUS:CONFIRMED
SUMMARY:Test event
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

In this case I would expect to see 2 calendar entries for this calendar, but none is returned.

I've put a demo of the problem here:
https://colab.research.google.com/drive/1o2rV-PO02P1oSMh-7xIa_7NTeoN5Uase?usp=sharing

It's not particularly well-documented, but by default, events() only returns events occurring within the next week. If you want it to do something else, you have to provide start and end dates.

@salimfadhley and @tewhalen
We could print the total count of events and the total selected events if not in prod environment - what do you think?

Thanks for the issue! I will close due to inactivity :-)


fix Signature serialization and deserialization

fixes #304

Closing this. And opening a new PR which changes the model in v3 Siganture.


Python code to add files to .csv

Once thing we need to make our work easier is a python script that creates new entries on kitchen20.csv for a given file in the [https://github.com/kevinmicha/kitchen20/tree/master/audio](audio folder).

This is ready. Closing


exclude react-native-splash-screen from expo unimodules

This library is already unmaintained(last release is 2019) with its issue board already piling up with issues.
I had experience this old library even interfering with notifications(due to SplashActivity of that library being run as another activity, making the app launch again when user presses the notification).
The solution is exclude this from unimodules on this template and just use react-native-bootsplash or the likes
relevant ticket: https://github.com/expo/expo/issues/9604
TIA!

for others who are coming from google search, this is the workaround for now for that library:
https://github.com/crazycodeboy/react-native-splash-screen/issues/289#issuecomment-502406454

closing this as this is not the library to resolve the issue


Advanced chart / plotting features

Hi,
The current chart object is nice but lacks advanced features.
Here is a non-exhaustive list of features that would make lvgl charts perfect for measurement/scientific GUI usage :

Axis label
Linear/Log/Time scale type
Dual axis, left or right (for example to plot voltage an current against time)
Legend
Data range selection
Automatic SI label suffix (ex : base unit 'g', labels are µg mg g kg etc...)
Line divisor and sub-divisor (for example 1/1 main divisor, 1/10th secondary divisor)

What do you think of these features?
Best regards

Hi,
Thank you for the suggestion! I agree these are useful and great features.
I also have two idea:

Animation or style change on datapoint selection/click or even show the exact value in a small box.
Area chart: similar to the line but the area below the line(s) is filled

For PC development, I like QCustomPlot. There a a lot of interesting features.

QCustomPlot looks like a good reference. Firstly a new object (based on lv_chart) should be created which have better features for axis and scales.
Would you like to contribute to this object? If yes, I can help you to get started with creating a new object type and during the whole implementation.

I am using a chart for my project and need to add axis labels and tick marks to it.  I would be willing to contribute that work to your project if you walk me through how to do it.

I personally can’t invest a lot of time right now. But since I will need this for an upcoming project, I should be able to contribute when I start it.

@kisvegabor
Thanks for the primer.  I was not too familiar with your signalling mechanism.  Seems to make sense though.  I tried what you described above, and yes, that works fine.  I also added in tick marks and tick labels inside the graph.

Awesome! Can you share a screenshot?

Looks great!
Do you use hardcoded values to test or already use real values of the chart?

I'm in the process of adding parameters to the lv_chart_ext_t struct to enable/disable the axis labels and tick marks and also provide the values for the ticks. I need the tick labels to show unit values (e.g., 0 - 10000 meters) instead of data point values (e.g., 0 - 800).  So this will need to be a part of the parameters.
Is that the way that you would recommend to extend the chart control?

Is that the way that you would recommend to extend the chart control?

You should place the new parameters in lv_chart_ext_t (lv_chart.h) and create set get API functions for them.

@gjohnson0720
Is there any new about it?

Yes, I've got something that seems to be working.  I'm happy to share it.  Should I check it in?  If so, to 5.2 branch?

Great!
v5.2 was released previous week and I've just created the dev-5.3 branch.
Can make a PR to the dev-5.3 branch.

I have some local commits that i'm trying to push and am getting an error:
remote: Permission to littlevgl/lvgl.git denied to gjohnson0720.
Is this a problem on your end or mine?

You need to send a Pull request because you don't have write access to the repository:

Fork the lvgl repo: Click the Fork button in to top right corner: https://github.com/littlevgl/lvgl
lvgl repo will be added to your repositories: https://github.com/gjohnson0720?tab=repositories
Clone your new lvgl repo
Move your changes there
On your repository's main page on GitHub click the  "New pull request" button
As base branch set lvgl/dev-5.3
Create the pull request
See your pull request here: https://github.com/littlevgl/lvgl/pulls

It might seem complicated at first look but it's quite easy once you work on Fork.
More info here: https://help.github.com/articles/creating-a-pull-request/

I close this issue because there was no activity here for a while.
If you have remarks about this topic feel free to comment here and reopen the issue.

There was a PR about adding tick marks but finally, it wasn't merged.
"area chart" is not supported right now but it can be a new char type. e.g. LV_CHART_TYPE_AREA. It can use lv_draw_triangle to draw the areas. If you are interested in adding this feature please open a new issue for it.


Read N number of rows from a specific offset

Very large files won't fit in RAM. Can be implemented by skipping rowgroups and certain rows on reader most effectively.

A few use cases for this, and I'd like supported by the core lib:

Head n

To be feature compatible with parquet-tools

Tail n

To be feature compatible with parquet-tools

Pagination at the file level

Parq currently creates "folds" after reading the whole file into memory, I would like to be able to request specific ranges , which this should support.
I don't need the reader to be stateful, the consumer can manage the state

At the moment we can easily support this by passing options to reader. Ideally this should be solved by writing a LINQ provider (then you can use native C# queries) but that's a lot of work. Options will solve the problem and can be used in LINQ. On it.


useEscapePress

Motivation
We need to have a simple hook, that will allow us, for example, to close popups by Esc click
Draft API

interface UseHookProps {
  onKeyUp: (event: KeyboardEvent) => void,
  // active flag will allow declarative detachment of the handler, for example if popup was closed. Defaults to true
 active?: boolean
}

A11y

References

Integration

Actually we can create keyboard-hook it's more complexity then escaped press, for example:
useKeyboardEvent('esc', () => onClose())

And in the future we can create more complexity cases (with keys combinations), for example:
useKeyboardEvent('cmd+a', () => onSelect())

Actually we can create keyboard-hook it's more complexity then escaped press, for example:
useKeyboardEvent('esc', () => onClose())

And in the future we can create more complexity cases (with keys combinations), for example:
useKeyboardEvent('cmd+a', () => onSelect())

UPD.
Also need to support disabled/enabled prop (opt-in or opt-out)
// All props as object
useKeyboardEvent({ key: 'esc', isDisabled: true, fn: () => onClose() })
// Props as partial object
useKeyboardEvent('esc', { isDisabled: true, fn: () => onClose() })
// Props as separated args
useKeyboardEvent('esc', () => onClose(), true)

Sounds good, updated title and description.

closed by #118


Video files crash Beaker, possibly related to size

Operation System: Linux
Beaker Version: 0.7.1
Tim reported a crash bug in linux where an FLV of around 983mb crashed Beaker. This only happened when reading the file from staging. It's possible there's some code that's trying to allocate a buffer of that size, when it ought to be streaming.

I spent some time debugging this and found I was able to produce crashes in both OSX and Linux. Both of them are segfaults, which suggests to me there's a bad pointer reference in the underlying C++.
I'm going to see if I can produce a test-case and file an issue with electron.

Filed https://github.com/electron/electron/issues/9635

Interestingly, I'm able to reproduce this issue with <audio src="dat://foo.mp3"> but not with <video src="dat://foo.mp4">.  Will keep updated on my findings if any.
Versions at the time of test:

Like @soyuka, I've been able to reproduce this crash using an <audio> element. Playing an .mp3 file from the local dat:// archive will bork the browser anywhere after 30 seconds to 1 minute.
I think this was answered on IRC, but I wanted to make sure it's documented in a GH issue for others to see: does this PR (https://github.com/electron/electron/pull/10918) fix the <audio>/<video> bug?

@louiscenter yes. We'll hopefully have a new version of beaker with the fix soon.

Fixed now that we have electron 1.8.2-beta.2. Will release soon!


Use severity:4 (hint) for hlint hints

Now it uses warnings (severity:2) so hints and warnings are blended together in neovim.

severity:4 is used correctly for hlint "hints". However, hlnt warnings use the same severity as ghc warnings. I think we could use severity: 3 (info) for hlint errors and warnings.

Makes sense.
Would you be interested in making a PR? It is quite straightforward.