[FancyZones] Excluded Apps doesn't work with Sticky Notes

ℹ Computer information

PowerToys version: v0.23.2
PowerToy Utility: FancyZones
Running PowerToys as Admin: Yes
Windows build number: [run "winver"] 19041.058

📝 Provide detailed reproduction steps (if any)

Add the text "Sticky Notes" under the Excluded Apps text area in FancyZones.
Open the Sticky Notes app and move the window around

✔ Expected result
Sticky Notes should not snap into any of the FancyZones.
❌ Actual result
Sticky Notes snapped into a FancyZone.
📷 Screenshots

Please try to replace the app name "Sticky Notes" with the process name (maybe "Microsoft.StickyNotes.exe").
In this exclusion list you have to enter a process name loke outlook.exe.

@Madelena

Add the text "Sticky Notes" under the Excluded Apps text area in FancyZones

Use "StickyNotes" without the space since the check is done against the process name not against the tile name.

@Madelena

Add the text "Sticky Notes" under the Excluded Apps text area in FancyZones

Use "StickyNotes" without the space since the check is done against the process name not against the tile name.

I changed the text to StickyNotes without the space, but it doesn't work for me.
Also, technically, the process name of Sticky Notes is ApplicationFrameHost.exe

@Madelena
ApplicationFrameHost.exe is the host for UWP apps, but we retrieve the actual application's name, in this case it contains StickyNotes and it should work.

Cool. I found the process name using Task Manager, and it is Microsoft.Notes.exe
I'm glad that the instructions on the textbox is clearer now.


Build time for CircleCI

I'm using Circle CI for deploying my site.
Right now, "serverless package" is very long compared to "next build".
With config.optimization.minimize = false on next.config.js (to minimize next part)
Next build : Done in 37.92s.
serverless package : Done in 761.15s.
Its maybe related to https://github.com/danielcondemarin/serverless-nextjs-plugin/issues/11

Not sure I can do much about this tbh.
I'm seeing:
107 seconds - next build
188 seconds - serverless package
Macbook Pro
Intel Core i7 2.2GHz
Memory: 16GB
Maybe some of the suggestions here https://github.com/serverless/serverless/issues/4263 can help.

FYI, on CircleCI with 20 pages

One way to fix that is to decompose "sls package" into different steps (mainly, next build and createHandlers).
This way, all CI's won't break.

@romainquellec I believe https://github.com/danielcondemarin/serverless-next.js/tree/master/packages/serverless-nextjs-component can help here. Deployments should be considerably faster.

Thanks ! I will try the new version soon.
(Not related to the issue, but i'm a bit scared by this decision : "One master lambda is provisioned". I will dig that later also :D)
Thanks again for all this. This is awesome.

Thanks @romainquellec !
Regarding your concern, I've given a lot of thought to the architecture of the component. It is more flexible than it might seem. Right now is one lambda (which is replicated across the globe),. However I am currently working on splitting off the API pages onto a separate Lambda. pages/api/* will be deployed in its own Lambda@Edge.
That way you get:

250MB SSR pages (50MB zipped). Note that statically optimised pages (HTML) are not included here. Those are separately deployed to S3 so there can be as many as you want.
250MB API pages (50MB zipped)

That should cover most apps out there. However, if it needs be, you could still scale horizontally the architecture by adding more cache behaviours (like api/*) but I don't think that's necessary right now.
Getting rid of API Gateway provided massive wins in reducing complexity and latency. I will be documenting a lot more about this design decisions in the upcoming days.

I fully trust you and your work !

I will be documenting a lot more about this design decisions in the upcoming days.

Waiting for this. Thanks !

Closing this. The new version of the project (component) doesn't use serverless package therefore is much faster building the app 🚀


Support Jenkins configruation merge strategy

With this feature, we can provide multiple Jenkins config files.
References

https://github.com/jenkinsci/configuration-as-code-plugin/pull/1218

LGTM


Calling Java methods from javascript

Is this currently planned functionality?
is CefMessageRouter the ideal?

I believe a fork of Journey has implemented this functionality (https://github.com/dhruvit-r/Journey). Maybe give that a try first and if it works we can merge those changes back here.

Thanks!  I will take a look and get back to you.

reporting back,
I was unable to get that one to Build.
'class file for org.joor.Reflect not found' error when trying to build.
Issue looks related to  this dependancy, compileOnly 'com.github.bfergerson:joor:bef9254b2a'

@jamieJames45, I wasn't expecting you to build it. The author has already provided a release (https://github.com/dhruvit-r/Journey/releases). Using that release would be the simplest way of verifying if it does what you're looking for.

My apologies for the misunderstanding. Thanks for the response.

Granted,  I know you didn't write this part,  but since we are discussing, and fo your info, attempting to run this as an example:
https://github.com/dhruvit-r/Journey/blob/master/src/test/java/com/codebrig/journey/JourneyBrowser.java
results in :
Exception in thread "main" java.lang.IllegalArgumentException: not a proxy instance 	at java.lang.reflect.Proxy.getInvocationHandler(Proxy.java:816) 	at com.codebrig.journey.proxy.browser.CefMessageRouterProxy.lambda$static$0(CefMessageRouterProxy.java:26) 	at org.joor.Reflect$1.invoke(Reflect.java:754) 	at com.sun.proxy.$Proxy3.addHandler(Unknown Source)

@jamieJames45, it seems you're running the class directly without the required dependencies. I think it might be easier to just use include that fork's dependencies entirely and just run it like so: https://github.com/BFergerson/journey-dhruvit-r-fork-test
Running that I can't find any issues with the fork. I wasn't able to test if the JavaScript integration worked though because I'm not aware of how it should work to begin with. I can only say that the code appears to be correct and it appears to be functional.
It would be up to you now to write the appropriate JavaScript code to communicate with CEF/JCEF (https://bitbucket.org/chromiumembedded/cef/wiki/JavaScriptIntegration). If you're able to get that working I'll gladly merge in the fork and improve the documentation so others can easily do this as well.

Apologies for not getting back to you sooner. I got pulled on to another project.
I can verify that it works as expected.
I can provide some samples if you like.
Thanks for your help.

@jamieJames45, don't worry about it. I would love a small reproducible example of the JavaScript integration if you got one.

Based on example from the jcef wiki
MessageHandler class
class MessageHandler extends CefNativeDefault implements CefMessageRouterHandlerProxy {

    public void onQueryCanceled(CefBrowserProxy browser, CefFrameProxy frame, long query_id) {
        System.out.println("Query cancelled.");
    }

    public boolean onQuery(CefBrowserProxy browser, CefFrameProxy frame, long query_id, String request,
        boolean persistent, CefQueryCallbackProxy callback) {
        System.out.println("Query succeeded: " + request);
//TODO switch
        if (request.startsWith("javaVersion")) {
            // return something back to JS
            callback.success(System.getProperty("java.version"));
            return true;
        }
        if (request.startsWith("showDevTools")) {

            CefBrowserProxy devTools = browser.getDevTools();
            Component uiComponent = devTools.getUIComponent();
            JFrame devFrame = new JFrame("DevToolsWindow");
            devFrame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
            devFrame.setSize(400, 400);

            //Adding Components to the frame.
            devFrame.getContentPane().add(BorderLayout.CENTER, uiComponent);
            devFrame.setVisible(true);

            return true;
        } else {
            return false;
        }
    }
}

On the JS side:
function execute(cmd) {
  //generic execute handler
            try {

                window.cefQuery({
                    request: cmd,
                    onSuccess: function (response) {

                        return response;
                    },
                    onFailure: function (error_code, error_message) {
                        document.getElementById('result').value = 'Error: ' + error_message;
                    }
                });
            } catch (ex) {
                console.dir(ex);
            }
        }
// callable JS methods
        function showDevTools() {
            execute("showDevTools");
        }
        function getJavaVersion() {

          alert(execute("javaVersion"));
        }

Hello, what the state of this issue? Planned to merge ?

@tokazio, thanks for reminding me about this. I've merged in changes for the JavaScript integration.
Take a look at:

https://github.com/CodeBrig/Journey/blob/master/src/test/java/com/codebrig/journey/JourneyBrowser.java
https://github.com/CodeBrig/Journey/blob/master/src/test/resources/JSTest.html

Running JourneyBrowser should bring up:

p.s. I see your issue (#28) about running Journey. I'll look at that today.

@jamieJames45, were you actually able to get alert(execute("javaVersion")); to work? I kept running into No javascript dialog runner available for this platform jcef. Not a big deal if not. Just curious. Thanks for the example code btw.


ipa files with spaces fail to submit to itunes connect

I'm getting this error when the ipa file name has a space:
1 package(s) were not uploaded because they had problems:
Package.itmsp - Error Messages:
ERROR ITMS-3000: "Line 6 column 55: character content of element "file_name" invalid; must be a string matching the regular expression "[^/: ]*" at XPath /package/software_assets/asset/data_file/file_name"

FWIW I have submitted a Pull Request that allows you to specify the filename of the generated .ipa file. In the meantime if you clone my fork it might meet your needs. https://github.com/nomad/shenzhen/pull/183

I ended up just renaming the .ipa file in my build script after building.  Either way your pull request is a nice feature and should be merged.
I still think the actual bug of not supporting spaces in the filename should be fixed.

The bug of not supporting spaces in the file names is caused by the iTunes Transporter and not by shenzhen.
The output you posted

1 package(s) were not uploaded because they had problems:
Package.itmsp - Error Messages:
ERROR ITMS-3000: "Line 6 column 55: character content of element "file_name" invalid; must be a string matching the regular expression "[^/: ]*" at XPath /package/software_assets/asset/data_file/file_name"

came directly from the iTunes Transporter.

Oh, I see.  The <file_name></file_name> attribute in the metadata XML file generated for iTunes Transporter does not accept spaces in the name.
Perhaps shenzhen itunesconnect plugin should copy the ipa file into a temporary location with a valid name so that this stage doesn't fail.  Or, just tell the users about valid names in the README.

Copying over the file to a temporary folder probably makes sense. I'll update deliver to do so as well :+1:

PR #185 should fix this. It replaces spaces with underscores when saving the ipa.

I just noticed, deliver already just uses the md5 value of the ipa file name and renames it to d6c047ca8fbffdf8cc40a379ef959091.ipa and then stores the file name in the metadata.xml. It does the same for screenshots :+1:


twister: Alleviate DeviceHandler serial port TOCTOU

The DeviceHandler class method monitor_serial() has time-of-check to time-of-use (TOCTOU) race condition possible on its serial port which might be closed and its file descriptor cleared in between of isOpen() and is_waiting status checks.
The issue is alleviated with controlled exception handling.

sample log in case the issue happens:
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/workdir/zephyr/scripts/pylib/twister/twisterlib/handlers.py", line 366, in monitor_serial
    if not ser.in_waiting:
  File "/usr/local/lib/python3.8/dist-packages/serial/serialposix.py", line 549, in in_waiting
    s = fcntl.ioctl(self.fd, TIOCINQ, TIOCM_zero_str)
TypeError: argument must be an int, or have a fileno() method.


[DO NOT MERGE] Add ecommerce tracking to the new results grouping checker actions

Trello: https://trello.com/c/G8vx3tIU/275-do-not-deploy-adapt-ecommerce-tracking-for-new-results-grouping
What
Adjust the ecommerce tracking (introduced in https://github.com/alphagov/finder-frontend/pull/1764) for the new groupings.
This is an example of what is sent to GA for an impression and a click:
ga("ec:addImpression", {position: 1, list: "Brexit checker results: Visiting the EU", dimension71: "", name: "https://www.gov.uk/guidance/foreign-travel-insurance"})

ga("ec:addProduct", {position: 2, list: "Brexit checker results: Visiting the EU", dimension71: "", name: "https://www.gov.uk/check-a-passport-for-travel-to-europe"})

ga("ec:setAction", "click", {list: "Brexit checker results: Visiting the EU"})

ga("send", {hitType: "event", eventCategory: "UX", eventAction: "click", eventLabel: "Results", dimension15: "200", dimension16: "unknown", dimension95: "1682487469.1574251572", dimension11: "2", dimension3: "other", dimension4: "00000000-0000-0000-0000-000000000000", dimension5: "14", dimension12: "not withdrawn", dimension20: "FinderFrontend", dimension30: "none", dimension32: "none", dimension56: "other", dimension57: "other", dimension58: "other", dimension59: "other", dimension39: "false", dimension26: "0", dimension27: "0", dimension23: "unknown"})

Link to test:
https://finder-frontend-pr-1752.herokuapp.com/get-ready-brexit-check/results?c[]=pharma&c[]=do-not-ip&c[]=do-not-sell-to-public-sector&c[]=do-not-eu-uk-funding&c[]=do-not-personal-eu-org&c[]=employ-eu-citizens&c[]=owns-operates-business-organisation&c[]=visiting-driving&c[]=visiting-ie&c[]=visiting-eu&c[]=visiting-row&c[]=travel-eu-business-no&c[]=working-uk&c[]=living-uk&c[]=nationality-uk

@huwd Oh, doh, I totally forgot this was against the new grouping. I'll raise a PR as we actually want this change to be effective immediately. Then I can rebase this one in preparation for the grouping going live.

ah cool cool, peril of this results page hanging around for longer than usual!
We could wait into your other one has gone into master then repoint this at the groupActionsByResults branch or this PR, could merge immediately there so this goes live with the results?

I'm going to close this for now as it's got a bit messy in the rebase. Will re-open a new PR.


Describe your problem
8月15日晚8点，docker装入ragflow后，运行时，01万物接入api错误，不知是否已经修复？

hi @xxz196801  thanks for mention that , will fix it soon

It seems that there are both Chinese and English API interfaces. Moving forward, the English version of the API interface will be used.


Remove unnecessary node_modules from the repository

Description
node_modules directory is a leftover directory as a result of trying to install lefthook via npm. It has no place in this repository.

This should be in.gitignore

This should be in.gitignore

This should be in .gitignore

I will add it. Though, it's interesting why a Dart project would need ever need node_modules in .gitignore. :smile:

This should be in .gitignore

I will add it. Though, it's interesting why a Dart project would need ever need node_modules in .gitignore. :smile:


DNS check fails for CNAME records

Output of the info page (if this is a bug)
Log entry:
2021-11-03 15:33:39 CET | CORE | ERROR | (pkg/collector/python/datadog_agent.go:116 in LogMessage) | dns_check:xyz-dns-check:95e92da93d0a5f5b | (dns_check.py:108) | DNS resolution of xyz.domain.com has failed.
Traceback (most recent call last):
  File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/dns_check/dns_check.py", line 97, in check
    self._check_answer(answer, resolves_as)
  File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/datadog_checks/dns_check/dns_check.py", line 121, in _check_answer
    ips = [x.strip().lower() for x in resolves_as.split(',')]
AttributeError: 'list' object has no attribute 'split'

$ sudo datadog-agent status
Getting the status from the agent.

===============
Agent (v6.19.2)
===============

  Status date: 2021-11-03 15:39:01.306857 CET
  Agent start: 2021-11-03 13:40:46.309635 CET
  Pid: 28111
  Go Version: go1.13.8
  Python Version: 2.7.17
  Build arch: amd64
  Check Runners: 4
  Log Level: info
[...]
  Host Info
  =========
    bootTime: 2021-11-02 17:10:20.000000 CET
    kernelVersion: 3.10.0-957.5.1.el7.x86_64
    os: linux
    platform: centos
    platformFamily: rhel
    platformVersion: 7.6.1810
    procs: 196
    uptime: 20h30m27s
[...]
dns_check (1.5.2)
    -----------------
      Instance ID: dns_check:xyz-dns-check:95e92da93d0a5f5b [OK]
      Configuration Source: file:/etc/datadog-agent/conf.d/dns_check.d/conf.yaml
      Total Runs: 473
      Metric Samples: Last Run: 0, Total: 0
      Events: Last Run: 0, Total: 0
      Service Checks: Last Run: 1, Total: 473
      Average Execution Time : 2ms
      Last Execution Date : 2021-11-03 15:38:54.000000 CET
      Last Successful Execution Date : 2021-11-03 15:38:54.000000 CET

Describe what happened:
Check is unable to resolve the record.
Describe what you expected:
Check is able to resolve the record.
Steps to reproduce the issue:
Try to resolve a CNAME record.
$ cat /etc/datadog-agent/conf.d/dns_check.d/conf.yaml
init_config: {}
instances:
  - hostname: xyz.domain.com
    name: xyz-dns-check
    resolves_as: "<IP_ADDRESS>"
    tags:
      - "team:erp"

Additional environment details (Operating System, Cloud provider, etc):
Haven't had the chance yet to try and reproduce this on the latest version.

Hi @danvaida, the resolves_as config option takes a comma separated string.
Also I think there may be some yaml issues with your conf.yaml, it's missing an instances key. Please try to following and let me know if that resolves the error.
init_config: {} # assuming no changes were made for the `init_config`

instances:
  - hostname: xyz.domain.com
    name: xyz-dns-check
    resolves_as: "<IP_ADDRESS>"
    tags:
      - "team:erp"

Hi @ChristineTChen,

it's missing an instances key.

I think it must've been a copy-paste error on my behalf... the file that I have is actually identical in terms of structure with what you posted. The content of the log entry and status message prove this. I updated my original snippet in this issue, now.

@danvaida error log line is saying it can't split the resolves_as value by ,. If you fixed the resolves_as value in the dns_check's conf.yaml, please try restarting the Agent and running the check if you still see the error.
Otherwise, I would need more information from your Agent. Please open a support ticket and submit a flare if the above does not resolve your issue. Thank you!

As said, the data is already in the right format, yet the error persists, regardless of restarts.
Will open an internal support ticket from now on...


Improve push notifications

Short description

This pr fixes the problems we found after the merge of the push notification features.
Before this is merged, a database migration will be required which sets draft=False on push notifications created before update 2023.8.0
Proposed changes

As described in the issue

Side effects

/
Resolved issues

Fixes: #2375

Pull Request Review Guidelines

Awesome, thanks! :tada:
Just a reminder before we deploy this: we need to update the database to draft=False for all messages that were created before we deploy(ed) version 2023.8.0 to the Integreat and Malte CMS. Malte was deployed on Monday (2023-08-01 at 0830 CEST). The Integreat CMS will receive the update in the morning of Friday (2023-08-11).

Generally the content of the PR looks also quite good, thanks :+1:
One bold question though: would you be willing to include the change of the checkboxes for the multi-region messages to a nice & pretty multiselect? :eyes: If you do not want to include this, we can also split this into another issue. The changes of this PR are important enough to merge them anyways :)

Done. Is it correct to use news in singular form? Or should the sentences be updated to plural form?

Is it correct to use news in singular form?

News is like sand, data or information linguistically. They are the plural form. Rather, there exists no singular form, since it doesn't make sense; you can use auxiliary words like a grain of sand or a piece of news, but not one sand – it's uncountable.
In German it even is kind of similar for news: Yes, the singular form Nachricht exists, but only with the meaning of message. Nachrichten can mean both messages or news, and is similarly uncountable in the latter case.


typo: Double word "to"

OPS Build status updates of commit e9fecce:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide/console/console-api.md
:white_check_mark:Succeeded

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

Docs Build status updates of commit 005ba5d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide/console/console-api.md
:white_check_mark:Succeeded

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

Signed off and merged into master branch.


Error when trying to start the songs in the game

Describe your bug here.
Basically, every time I tried to play a song (Freeplay), the game crashes and a message appears explaining what happened.
Problem is, I'm using the no-code version, so I can't do much.
Detail: This does not occur in Senpai's week.
Command Prompt/Terminal logs (if existing)
flixel/graphics/frames/FlxAtlasFrames.hx (line 246)
Character.hx (line 164)
PlayState.hx (line 912)
flixel/FlxGame.hx (line 637)
flixel/FlxGame.hx (line 724)
flixel/FlxGame.hx (line 677)
flixel/FlxGame.hx (line 551)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)

Uncaught Error: Null Object Reference
(Text speaking to warn you.)

> Crash Handler written by: sqirra-mg

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Not. I didn't change any code.

Not a bug
Missing girlfriend texture files

Not a bug Missing girlfriend texture files
Oh, that's right, i see it now. Thanks!


Fix registry package tool

certificateChainPaths is an empty array by default (can't be nil), so even though neither privateKeyPath nor certificateChainPaths is specified, thus signing is not needed, the tool fails with missing signing inputs error.
Fix typo in error message

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test Windows


Provide support to help Admiral team integrate registry UI components via published npm package

Provide guideline
Fix issues they found etc.

It's long term task. Ongoing. Move to sp11

Continuously ongoing, move to sp12

Work done @ Sofia


Pagination bullet click inconsistent result (cross platform)

http://idangero.us/swiper/demos/180-nested.html
This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: Version released on http://idangero.us/swiper/demos/180-nested.html.

Platform/Target and Browser Versions: Windows + Chrome, Windows + Edge, probably cross platform.

Live Link or JSFiddle/Codepen or website with isssue: http://idangero.us/swiper/demos/180-nested.html.

What you did
As user i go to : http://idangero.us/swiper/demos/180-nested.html
I click around on the pagination bullets for a while.
Expected Behavior
I Expect that swiper is navigating to the appropriate slide every time I try to navigate.
Actual Behavior
Sometimes swiper is navigating to other slides.

I had the same issue. I noticed that swipe event works over bullets too, and swiper navigates to other slides because of mini swiping move while you pressing bullet. To solve this issue I simple moved bullets out of .swiper-container

The solution @Nikolay01 used unfortunately doesn't really work when using multiple sliders though.
Is there any plan to ignore swipes on bullets?

solved by changing touchEventsTarget to 'wrapper'

i am using latest version of swiper but facing same issue -  Sometimes swiper is navigating to other slides.

same here. behaves like @SSiertsema mentioned.
@csbug: the solution of @Etto91 with 'touchEventsTarget' set to 'wrapper' seems to work (for me and till now - i'm not able to reproduce)


Swagger is using internal backend port to hit on APIs

Context

hapi-swagger version:  "^9.1.2"
any other relevant information:
"hapi": "^17.6.4"

What are you trying to achieve or the steps to reproduce?
I create normally my routes and my application on localhost:4000 is working fine. But when I publish to Heroku and click at Send Button on Swagger page. The request is going to myurl:HEROKU_PORT. But this HEROKU_PORT are defined internally by Heroku and it is exposed on 80. To fix this, I need to change my swagger options passing the heroku-url manually
Describe your issue here, include example route or JOI schemas.
const app = Hapi.Server({
    // host: '<IP_ADDRESS>',
    port: process.env.PORT || 4000,
    routes: {
        cors: {
            origin: ['*']
        }
    }
})

app.route([{
    path: '/login',
    method: 'GET',
    config: {
        tags: ['api'],
        auth: false,
        handler: async (req, h) => {
            const token = Jwt.sign(people, SECRET)
            return token

        }
    },

}])
const swaggerOptions = {
        info: {
            title: 'Minha API',
            version: Pack.version
        },
        // workaround hapi17
        // schemes: ['https'],
        lang: 'pt',
        // host: `gamaacademy.herokuapp.com`
    }

await app.register([
        HapiAuthJwt,
        Vision,
        Inert,
        {
            plugin: HapiSwagger,
            options: swaggerOptions
        }
    ])

What result did you get?
Swagger is getting https://gamaacademy.herokuapp.com:1019/
What did you expect?
The Swagger needs to get current URL, and hits to its URL passing the route.
https://gamaacademy.herokuapp.com

does this issue still persist with latest release?

closing since I believe this was resolved.


CUDA Setup failed despite GPU being available

I'm getting the same error as many others are having. I'm trying to get the qlora code to work, which seems to work perfectly fine when I run the fine-tuning notebook example on colab, but when running it on a GCP notebook with the same GPU (T4), I start running into errors. The log from python -m bitsandbytes is listed below. I'm running CUDA 11.0 according to nvcc --version, using conda and python 3.10.11.
Welcome to bitsandbytes. For bug reports, please run

python -m bitsandbytes

 and submit this information together with your error trace to: https://github.com/TimDettmers/bitsandbytes/issues
================================================================================
bin /opt/conda/envs/qlora/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda110.so
False
/opt/conda/envs/qlora/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py:149: UserWarning: /opt/conda/envs/qlora did not contain ['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] as expected! Searching further paths...
  warn(msg)
CUDA SETUP: CUDA runtime path found: /usr/local/cuda/lib64/libcudart.so
CUDA SETUP: Highest compute capability among GPUs detected: 7.5
CUDA SETUP: Detected CUDA version 110
CUDA SETUP: Required library version not found: libbitsandbytes_cuda110.so. Maybe you need to compile it from source?
CUDA SETUP: Defaulting to libbitsandbytes_cpu.so...

================================================ERROR=====================================
CUDA SETUP: CUDA detection failed! Possible reasons:
1. CUDA driver not installed
2. CUDA not installed
3. You have multiple conflicting CUDA libraries
4. Required library not pre-compiled for this bitsandbytes release!
CUDA SETUP: If you compiled from source, try again with `make CUDA_VERSION=DETECTED_CUDA_VERSION` for example, `make CUDA_VERSION=113`.
CUDA SETUP: The CUDA version for the compile might depend on your conda install. Inspect CUDA version via `conda list | grep cuda`.
================================================================================

CUDA SETUP: Something unexpected happened. Please compile from source:
git clone git@github.com:TimDettmers/bitsandbytes.git
cd bitsandbytes
CUDA_VERSION=110 make cuda110
python setup.py install
CUDA SETUP: Setup Failed!
Traceback (most recent call last):
  File "/opt/conda/envs/qlora/lib/python3.10/runpy.py", line 187, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/opt/conda/envs/qlora/lib/python3.10/runpy.py", line 146, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/opt/conda/envs/qlora/lib/python3.10/runpy.py", line 110, in _get_module_details
    __import__(pkg_name)
  File "/opt/conda/envs/qlora/lib/python3.10/site-packages/bitsandbytes/__init__.py", line 6, in <module>
    from . import cuda_setup, utils, research
  File "/opt/conda/envs/qlora/lib/python3.10/site-packages/bitsandbytes/research/__init__.py", line 1, in <module>
    from . import nn
  File "/opt/conda/envs/qlora/lib/python3.10/site-packages/bitsandbytes/research/nn/__init__.py", line 1, in <module>
    from .modules import LinearFP8Mixed, LinearFP8Global
  File "/opt/conda/envs/qlora/lib/python3.10/site-packages/bitsandbytes/research/nn/modules.py", line 8, in <module>
    from bitsandbytes.optim import GlobalOptimManager
  File "/opt/conda/envs/qlora/lib/python3.10/site-packages/bitsandbytes/optim/__init__.py", line 6, in <module>
    from bitsandbytes.cextension import COMPILED_WITH_CUDA
  File "/opt/conda/envs/qlora/lib/python3.10/site-packages/bitsandbytes/cextension.py", line 20, in <module>
    raise RuntimeError('''
RuntimeError:
        CUDA Setup failed despite GPU being available. Please run the following command to get more information:

        python -m bitsandbytes

        Inspect the output of the command and see if you can locate CUDA libraries. You might need to add them
        to your LD_LIBRARY_PATH. If you suspect a bug, please take the information from python -m bitsandbytes
        and open an issue at: https://github.com/TimDettmers/bitsandbytes/issues```

I always have this problem where I struggle to find a solution, and as soon as I post a github issue, I find a fix.
So I fixed it by updating my CUDA installation to 11.8 instead of using 11.0, as colab was also using 11.8. I used the following commands to install CUDA 11.8.
wget https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_520.61.05_linux.run
chmod +x cuda_11.8.0_520.61.05_linux.run
sudo sh cuda_11.8.0_520.61.05_linux.run
export PATH=/usr/local/cuda-11.8/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-11.8/lib64:$LD_LIBRARY_PATH

After running these steps, I was able to get the qlora finetuning notebook to run.


Add a lightweight scheduler subsystem

There has been a substantial re-work based on various comments. Instead of being a port of the SOF LL scheduler, this is now merely inspired by it and called the Lightweight Scheduler.
The basic premise is this.  A "scheduling thread" is triggered at regular intervals by a k_timer. During each interval, it runs through its list of registered "tasks" in sequence and calls the associated handler if it is in the executing state. These tasks can be in one of three states: paused (which is also the initial state), execute, and abort.
More information is in the documentation commit.

Working on fixing these checks ....

Catching up on stale review requests.  Not going to stand in the way of this one but... is this really the right thing to do?  I get that this is just code motion from SOF, but (1) it's a LOT of code and (2) it doesn't really... do much?  The original SOF design was thicker, but largely abandoned, and all that's left here is just a bunch of callbacks to be made out of a timer interrupt.
Which is to say: this is just k_timer.  Do we really want a 1600-line subsystem added to the tree just to do what k_timer does already?  Can't that effort be better spent porting SOF internally to use k_timer instead?

I think I have addressed the most significant issues identified thus far.

Updated to resolve a merge conflict.

Updated to address comments from both @ceolin and @pdgendt .

Differences to work queues
There are admittedly many similarities between the LW scheduler and work queues. There are several key differences with this current iteration.
Ordering.
Work queues are FIFO based--first one to be submitted to the work queue is the first one to be executed. LW tasks on the other hand have an order field, much like a thread's priority. That is, they can be added in any order, but will execute according to that order field (lowest to highest).
Processing
Work queues will process until all the work has been consumed in the order that they were submitted. The LW scheduler processes until it has completed a single pass of its work items, with the expectation that it will begin to re-process that list at the start of the next period/interval.
Arguments
Unless I have missed it, the work queue handlers does not explicitly have any custom arguments; however LW tasks do. That being said, this is relatively minor, as I expect that work queue handlers can obtain any necessary arguments from a parent structure that encapsulates the k_work structure the work queue handler uses (see below). So let's just consider this one  irrelevant.
    struct parent {
        struct k_work work;
        ... extra args ...
   };

Let's look at the question "Can work queues be used to perform this functionality?"
The answer to that question is yes with a but, The but is that the developer must implement some extras and follow some guidelines.
Of the two remaining key differences, the processing one is easiest to eliminate. One of the work items would need to be a synchronisation item to repeatedly sync with the trigger source (such as a k_timer) which would be created and started by the developer. This synchronising work item would need to be re-submitted to the work queue by the final work item to ensure that it blocks waiting for the semaphore to be given by the trigger source. It is a little extra work for the developer, but likely in the realm of reasonable.
This leaves ordering. The developer could maintain an ordered list of work items that ought to be processed this "period" of the work queue. The synchronising work item would before it is done, submit the next item in this external list to be the next work item processed by the work queue. the entire list has been traversed, then the next work item is the synchronising work item (it could even be set up as a sentinel). Maintenance of this external list would be up to the developer. As submission to the work queue would be done "just in time", there would be a greater overhead between calling work items than there would be for LW tasks. This might not be an unreasonable solution.

Lightweight Scheduler.pptx
Attaching slides.


rPi0W Bullseye install problem

I understand that rPi0w might not be suitable for controld and maybe somebody already opened an issue for this.
I have successfully installed and ran controld on the same rPi0w the other day with raspbian Bookworm.
But since I had to downgrad to Bullseye, I have trouble reinstalling controld today.
I have a paid subscription, so I tried both copy and install from Auto config using app from my controld account and when it is not working, I used the github readme.md instructions.
Both stuck at: NTC Starting service, as in the attached screenshot.
As soon as it hit that point, the rPi0w went offline.
Finally the rPi0w SSH session time out.
Thanks in advance,

Can you manually start the binary: ctrld start --cd RESOLVER_ID_HERE -vv and provide the log?


format_microsecond to avoid precision loss

Resolves #1 , uses the new 6.1 release of the rfc3339 package

I removed the accidental extras from this PR.


Unable to start debugging session when trying to debug tests

Issue Description
Hi!
Whenever I try to debug tests, the C# Dev Kit - Test Explorer reports Unable to start debugging session and the targeted tests in the TESTING view stay yellow and are never executed.
Stopping them and trying to run tests does nothing then.
Only restarting VS Code resets the TESTING view.
Why am I reporting this here instead of at vscode-dotnettools?
Thing is that this only happens with v2.18.16 (and newer) of the C# extension, but v2.15.30 works fine.
Changing the version of the C# Dev Kit did not change anything.
Seems to be unrelated to this.
Steps to Reproduce

With a similar environment, attempt to debug a test via Debug Test.
Navigate to OUTPUT and select C# Dev Kit - Test Explorer in the drop-down there.

Expected Behavior
Debugger attached and the debugger is actually attached to the test run.
Actual Behavior
Created Test Controller
Using vstest from dotnet sdk in [C:\Program Files\dotnet\sdk\8.0.100].
Initialized Test Explorer Server [15632]
Test Store Folder: c:\Users\<redacted>\AppData\Roaming\Code\User\workspaceStorage\7fa6afdb1ce7a6d4b881651aeb6cf65b\ms-dotnettools.csdevkit
Test data store opened in 2.345 sec.
Initialized project system provider.
<redacted> projects added, 0 changed, 0 removed.
Scheduling discovery: <redacted> [1709017421856]
========== Starting test discovery ==========
No test is available in <redacted>. Make sure that test discoverer & executors are registered and platform & framework version settings are appropriate and try again.
[MSTest][Discovery][<redacted>] UTA001: TestClass attribute defined on non-public class <redacted>
========== Test discovery finished: <redacted> Tests found in 48.9 sec ==========
<redacted> tests discovered from <redacted>
========== Starting test run ==========
Unable to start debugging session.

Logs
C# log

Expand...
[LanguageServerHost] [01:42:13.868][Start]workspace/buildOnlyDiagnosticIds
[LanguageServerHost] [01:42:13.895][End]workspace/buildOnlyDiagnosticIds
[LanguageServerHost] [01:42:20.958][Start]workspace/buildOnlyDiagnosticIds
[LanguageServerHost] [01:42:20.981][End]workspace/buildOnlyDiagnosticIds
[LanguageServerHost] [01:42:21.372][Start]workspace/buildOnlyDiagnosticIds
[LanguageServerHost] [01:42:21.389][End]workspace/buildOnlyDiagnosticIds
[LanguageServerHost] [01:42:22.467][Start]workspace/buildOnlyDiagnosticIds
[LanguageServerHost] [01:42:22.484][End]workspace/buildOnlyDiagnosticIds
[LanguageServerHost] [01:42:22.558][Start]workspace/buildOnlyDiagnosticIds
[LanguageServerHost] [01:42:22.577][End]workspace/buildOnlyDiagnosticIds
[LanguageServerHost] [01:42:22.671][Start]workspace/buildOnlyDiagnosticIds
[LanguageServerHost] [01:42:22.677][Start]workspace/buildOnlyDiagnosticIds
[LanguageServerHost] [01:42:22.690][End]workspace/buildOnlyDiagnosticIds
[LanguageServerHost] [01:42:22.698][End]workspace/buildOnlyDiagnosticIds
[LanguageServerHost] [01:42:23.192][Start]workspace/buildOnlyDiagnosticIds
[LanguageServerHost] [01:42:23.218][End]workspace/buildOnlyDiagnosticIds

C# LSP Trace Logs

Expand...
[Trace - 2:43:10 PM] Sending request 'workspace/buildOnlyDiagnosticIds - (205)'.
[Trace - 2:43:10 PM] Received notification 'window/logMessage'.
Params: {
    "type": 4,
    "message": "[LanguageServerHost] [01:43:10.157][Start]workspace/buildOnlyDiagnosticIds"
}
[Trace - 2:43:10 PM] Received response 'workspace/buildOnlyDiagnosticIds - (205)' in 23ms.
Result: {
"ids": [
"CS1607",
"CS0169",
"CS0414",
"CS0067",
"CS0649",
"CS0656",
"CS0518",
"CS5001",
"CS0028",
"CS0017",
"CS7022",
"CS1556",
"CS0402",
"CS1558",
"CS1555",
"CS8892",
"CS0148",
"CS8078",
"CS7038",
"CS0204",
"CS0570",
"CS8004",
"CS8006",
"CS8005",
"CS8008",
"CS4007",
"CS8178",
"CS4013",
"CS1969",
"CS9026",
"CS9068",
"CS9144",
"CS9148",
"CS9149",
"CS9153",
"CS9154",
"CS9155",
"CS9156",
"CS9158",
"CS9159",
"CS9160",
"CS9163",
"CS9177",
"CS9178",
"CS9207",
"CS8419",
"CS8420",
"CA1016",
"CA1014",
"CA1017",
"CA1017",
"CA1724",
"CA1724",
"CA1501",
"CA1502",
"CA1505",
"CA1506",
"CA1509",
"CA1852",
"CA5360",
"CA5399",
"CA5400",
"CA5380",
"CA5381",
"CA5367",
"CA5401",
"CA5402",
"CA2301",
"CA2302",
"CA2321",
"CA2322",
"CA2329",
"CA2330",
"CA2311",
"CA2312",
"CA2327",
"CA2328",
"CA5387",
"CA5388",
"CA5362",
"CA5396",
"CA5391",
"CA5395",
"CA5382",
"CA5383",
"CA1812",
"CA1824",
"RS1010",
"RS1011",
"RS1016",
"RS1019",
"RS2002",
"RS2003",
"RS2005",
"RS2006",
"RS2007",
"RS2007",
"RS2007",
"RS2007",
"RS1022",
"RS1022",
"RS1010",
"RS1011",
"RS1016",
"RS1019",
"RS2002",
"RS2003",
"RS2005",
"RS2006",
"RS2007",
"RS2007",
"RS2007",
"RS2007",
"RS1022",
"RS1022"
]
}
[Trace - 2:43:10 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[LanguageServerHost] [01:43:10.178][End]workspace/buildOnlyDiagnosticIds"
}
[Trace - 2:43:23 PM] Sending request 'workspace/buildOnlyDiagnosticIds - (206)'.
[Trace - 2:43:23 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[LanguageServerHost] [01:43:23.351][Start]workspace/buildOnlyDiagnosticIds"
}
[Trace - 2:43:23 PM] Received response 'workspace/buildOnlyDiagnosticIds - (206)' in 19ms.
Result: {
"ids": [
"CS1607",
"CS0169",
"CS0414",
"CS0067",
"CS0649",
"CS0656",
"CS0518",
"CS5001",
"CS0028",
"CS0017",
"CS7022",
"CS1556",
"CS0402",
"CS1558",
"CS1555",
"CS8892",
"CS0148",
"CS8078",
"CS7038",
"CS0204",
"CS0570",
"CS8004",
"CS8006",
"CS8005",
"CS8008",
"CS4007",
"CS8178",
"CS4013",
"CS1969",
"CS9026",
"CS9068",
"CS9144",
"CS9148",
"CS9149",
"CS9153",
"CS9154",
"CS9155",
"CS9156",
"CS9158",
"CS9159",
"CS9160",
"CS9163",
"CS9177",
"CS9178",
"CS9207",
"CS8419",
"CS8420",
"CA1016",
"CA1014",
"CA1017",
"CA1017",
"CA1724",
"CA1724",
"CA1501",
"CA1502",
"CA1505",
"CA1506",
"CA1509",
"CA1852",
"CA5360",
"CA5399",
"CA5400",
"CA5380",
"CA5381",
"CA5367",
"CA5401",
"CA5402",
"CA2301",
"CA2302",
"CA2321",
"CA2322",
"CA2329",
"CA2330",
"CA2311",
"CA2312",
"CA2327",
"CA2328",
"CA5387",
"CA5388",
"CA5362",
"CA5396",
"CA5391",
"CA5395",
"CA5382",
"CA5383",
"CA1812",
"CA1824",
"RS1010",
"RS1011",
"RS1016",
"RS1019",
"RS2002",
"RS2003",
"RS2005",
"RS2006",
"RS2007",
"RS2007",
"RS2007",
"RS2007",
"RS1022",
"RS1022",
"RS1010",
"RS1011",
"RS1016",
"RS1019",
"RS2002",
"RS2003",
"RS2005",
"RS2006",
"RS2007",
"RS2007",
"RS2007",
"RS2007",
"RS1022",
"RS1022"
]
}
[Trace - 2:43:23 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[LanguageServerHost] [01:43:23.369][End]workspace/buildOnlyDiagnosticIds"
}
[Trace - 2:43:28 PM] Sending request 'workspace/buildOnlyDiagnosticIds - (207)'.
[Trace - 2:43:28 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[LanguageServerHost] [01:43:28.281][Start]workspace/buildOnlyDiagnosticIds"
}
[Trace - 2:43:28 PM] Received response 'workspace/buildOnlyDiagnosticIds - (207)' in 23ms.
Result: {
"ids": [
"CS1607",
"CS0169",
"CS0414",
"CS0067",
"CS0649",
"CS0656",
"CS0518",
"CS5001",
"CS0028",
"CS0017",
"CS7022",
"CS1556",
"CS0402",
"CS1558",
"CS1555",
"CS8892",
"CS0148",
"CS8078",
"CS7038",
"CS0204",
"CS0570",
"CS8004",
"CS8006",
"CS8005",
"CS8008",
"CS4007",
"CS8178",
"CS4013",
"CS1969",
"CS9026",
"CS9068",
"CS9144",
"CS9148",
"CS9149",
"CS9153",
"CS9154",
"CS9155",
"CS9156",
"CS9158",
"CS9159",
"CS9160",
"CS9163",
"CS9177",
"CS9178",
"CS9207",
"CS8419",
"CS8420",
"CA1016",
"CA1014",
"CA1017",
"CA1017",
"CA1724",
"CA1724",
"CA1501",
"CA1502",
"CA1505",
"CA1506",
"CA1509",
"CA1852",
"CA5360",
"CA5399",
"CA5400",
"CA5380",
"CA5381",
"CA5367",
"CA5401",
"CA5402",
"CA2301",
"CA2302",
"CA2321",
"CA2322",
"CA2329",
"CA2330",
"CA2311",
"CA2312",
"CA2327",
"CA2328",
"CA5387",
"CA5388",
"CA5362",
"CA5396",
"CA5391",
"CA5395",
"CA5382",
"CA5383",
"CA1812",
"CA1824",
"RS1010",
"RS1011",
"RS1016",
"RS1019",
"RS2002",
"RS2003",
"RS2005",
"RS2006",
"RS2007",
"RS2007",
"RS2007",
"RS2007",
"RS1022",
"RS1022",
"RS1010",
"RS1011",
"RS1016",
"RS1019",
"RS2002",
"RS2003",
"RS2005",
"RS2006",
"RS2007",
"RS2007",
"RS2007",
"RS2007",
"RS1022",
"RS1022"
]
}
[Trace - 2:43:28 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[LanguageServerHost] [01:43:28.302][End]workspace/buildOnlyDiagnosticIds"
}
[Trace - 2:43:33 PM] Sending request 'workspace/buildOnlyDiagnosticIds - (208)'.
[Trace - 2:43:33 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[LanguageServerHost] [01:43:33.442][Start]workspace/buildOnlyDiagnosticIds"
}
[Trace - 2:43:33 PM] Received response 'workspace/buildOnlyDiagnosticIds - (208)' in 63ms.
Result: {
"ids": [
"CS1607",
"CS0169",
"CS0414",
"CS0067",
"CS0649",
"CS0656",
"CS0518",
"CS5001",
"CS0028",
"CS0017",
"CS7022",
"CS1556",
"CS0402",
"CS1558",
"CS1555",
"CS8892",
"CS0148",
"CS8078",
"CS7038",
"CS0204",
"CS0570",
"CS8004",
"CS8006",
"CS8005",
"CS8008",
"CS4007",
"CS8178",
"CS4013",
"CS1969",
"CS9026",
"CS9068",
"CS9144",
"CS9148",
"CS9149",
"CS9153",
"CS9154",
"CS9155",
"CS9156",
"CS9158",
"CS9159",
"CS9160",
"CS9163",
"CS9177",
"CS9178",
"CS9207",
"CS8419",
"CS8420",
"CA1016",
"CA1014",
"CA1017",
"CA1017",
"CA1724",
"CA1724",
"CA1501",
"CA1502",
"CA1505",
"CA1506",
"CA1509",
"CA1852",
"CA5360",
"CA5399",
"CA5400",
"CA5380",
"CA5381",
"CA5367",
"CA5401",
"CA5402",
"CA2301",
"CA2302",
"CA2321",
"CA2322",
"CA2329",
"CA2330",
"CA2311",
"CA2312",
"CA2327",
"CA2328",
"CA5387",
"CA5388",
"CA5362",
"CA5396",
"CA5391",
"CA5395",
"CA5382",
"CA5383",
"CA1812",
"CA1824",
"RS1010",
"RS1011",
"RS1016",
"RS1019",
"RS2002",
"RS2003",
"RS2005",
"RS2006",
"RS2007",
"RS2007",
"RS2007",
"RS2007",
"RS1022",
"RS1022",
"RS1010",
"RS1011",
"RS1016",
"RS1019",
"RS2002",
"RS2003",
"RS2005",
"RS2006",
"RS2007",
"RS2007",
"RS2007",
"RS2007",
"RS1022",
"RS1022"
]
}
[Trace - 2:43:33 PM] Received notification 'window/logMessage'.

If the problem only happens with debugging, can you enable debug protocol logging using the VS Code setting and grab the log from the debug console?

Hi @gregg-miskelly!
It works perfectly fine when using "Run Test".
Thanks for the hint with the debugger logging!
How heavily does this affect performance if enabled all the time?
Here is the output:
-> (C) {"command":"initialize","arguments":{"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"coreclr","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true,"locale":"en","supportsProgressReporting":true,"supportsInvalidatedEvent":true,"supportsMemoryReferences":true,"supportsArgsCanBeInterpretedByShell":true,"supportsMemoryEvent":true,"supportsStartDebuggingRequest":true},"type":"request","seq":1}
-> (C) {"command":"attach","arguments":{"justMyCode":true,"requireExactSource":false,"symbolOptions":{"searchMicrosoftSymbolServer":true,"searchNuGetOrgSymbolServer":true},"type":"coreclr","name":".NET Test Attach","request":"attach","processId":32136,"attachRequestId":"3c38aac4-c783-46fd-8eb5-47616d1b4c4a","hotReloadOnSave":true,"hotReloadVerbosity":"minimal","stopAtEntry":false,"enableStepFiltering":true,"logging":{"exceptions":true,"moduleLoad":true,"programOutput":true,"browserStdOut":true,"elapsedTiming":false,"threadExit":false,"processExit":true,"engineLogging":false,"diagnosticsLog":{"protocolMessages":false,"dispatcherMessages":"none","debugEngineAPITracing":"none","debugRuntimeEventTracing":false,"expressionEvaluationTracing":false,"startDebuggingTracing":false},"consoleUsageMessage":true},"suppressJITOptimizations":false,"allowFastEvaluate":true,"__sessionId":"fe127111-da9f-4966-80df-ac9d46035f20"},"type":"request","seq":2}

Thanks! You are running into #6918. The debugger has a bug in its handling of the searchNuGetOrgSymbolServer option. As a work around until we put out the next version of the debugger, remove that option. If you need symbols from nuget.org, you can still download them by adding the server (https://symbols.nuget.org/download/symbols) to the search path.

Just tried it out, that seems to be the cause!
I will for now just use the old version until the one with the fix is released as I would like to keep my settings unchanged.
Thanks for your help @gregg-miskelly!

To anyone coming across this in the future:
The issue has been fixed in the v2.23.2 pre-release.


[Figma File Search] Support for multiple teams

Extension
https://www.raycast.com/michaelschultz/figma-files-raycast-extension
Description
Currently the extension only supports searching files within one Figma team. As someone who is in multiple teams in one same Figma account, I would like to be able to search files from all my teams.
Who will benefit from this feature?
Anyone with multiple Figma teams.
Anything else?
No response

Duplicate of #373

Update: This was added by @GLaDO8 https://github.com/raycast/extensions/pull/6490 🎉


Canned query ?sql= is pointlessly echoed in query string starting from hidden mode

Example: https://latest.datasette.io/fixtures/neighborhood_search?text=cork&_hide_sql=1
Submitting that form again results in this:
https://latest.datasette.io/fixtures/neighborhood_search?sql=
select+neighborhood%2C+facet_cities.name%2C+state
from+facetable
++++join+facet_cities
++++++++on+facetable.city_id+%3D+facet_cities.id
where+neighborhood+like+'%25'+||+%3Atext+||+'%25'
order+by+neighborhood%3B
&_hide_sql=1&text=cork
Because the HTML on https://latest.datasette.io/fixtures/neighborhood_search?text=cork&_hide_sql=1 includes this:

Custom SQL query returning 1 row (show)

        <input type="hidden" name="sql" value="
select neighborhood, facet_cities.name, state
from facetable
    join facet_cities
        on facetable.city_id = facet_cities.id
where neighborhood like '%' || :text || '%'
order by neighborhood;
">
        <input type="hidden" name="_hide_sql" value="1">

Confirmed: https://latest.datasette.io/fixtures/neighborhood_search?text=cork&_hide_sql=1 no longer exhibits the bug.


CSIP60

CSIP60: Should be clarified whether repository specific values can be used in addition to specified values (Documentation, Schemas and Representations)
Section: CSIP60

Connects to #366 #367 and #369

Addition needed


Parameterless constructor for serialization use when using nested types

Recently I have noticed that to define dtos life is quite simple if there is no inheritance, record with primary constructor can be used to express oneself very succinctly
public record Something(int X, string Y);

This works both to ensure that Something instances are initialized properly by requiring x and y when creating them, and works well with json serializers. However, once inheritance is added to the mix, things get more complicated as this does not work as expected:
public record Something(int id, int X, string Y): ThingBase(id);
public abstract record ThingBase(int Id);

'id' collides with another property.
Thus, my idea to declare an explicit constructor by hand with the required properties, and to let code generator generate empty ones, with all the boilerplate required:
[SerializerConstructor]
public partial class Test
{
    public int Id { get; init; }
    public string Name {get; init;}
    public int OptionalPropA {get; init;}
    public int OptionalPropB {get; init;}

    public Test (int id, string name){
        Id = id;
        Name = name;
    }
}

partial class Test
    {
        #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
        [global::System.ObsoleteAttribute("For serialization only",true)]
        public Test()
        {
        }
    }

This generated constructor will be used by serializer, while a manually defined constructor is used to ensure proper object creation in code. This could be further combined with existing AutoContstructor functionality to generate both constructors:
[SerializerConstructor, AutoConstructor]
public partial class Test
{
   [field:AutoConstructorInject]  public int Id { get; init; }
   [field:AutoConstructorInject] public string Name {get; init;}
    public int OptionalPropA {get; init;}
    public int OptionalPropB {get; init;}
}

Would you be interested including such feature in this library, given that I could do PR and the new feature would be fully backward compatible, as [AutoContstructor] attribute would work the same way as now.
I played around a little to see how feasible is to add such functionality to the libary, instead of starting my own nano-generator, and it seems quite easy. I haven't touched analyzers yet, and added only some basic tests, but as complexity of [SerializerConstructor] is smaller than that of [AutoContstructor], there would be fewer things to cover.
https://github.com/k94ll13nn3/AutoConstructor/compare/main...DomasM:AutoConstructor:feat/add-serialization-only-empty-constructor

Hello, I think that this could be a nice feature to have, but I also think that having an attribute that is only doing a parameterless constructor is kind of outside the scope of this package.
I would be ok with this being on option on AutoConstructor to be able to also generate a parameterless constructor (and so maybe expend the rules to allow AutoConstructor on a class without fields if the parameter is set), but as a standalone attribute this feature would not make sense in this package.

Okay, then I assume we add a new property to AutoConstructorAttribute which defaults to old behavior but can be overridden, similar to constructor accessibility . Let's call this option bool 'AddEmpty'. Considering that a type might or not might have anything to inject via ctor and option might or might not be present, such different outcomes are possible:

Anything to inject?
AddEmpty
Generation result
Comment

No
False
Analyzer error
Same as now

No
True
Only empty ctor
Analyzer needs to take AddEmpty into account and not report an error

Yes
False
Ctor with arguments
Same as now

Yes
True
Two ctors:  empty and with arguments
Impossible to generate just empty ctor. Both ctors will have the same accesibility. Guess this is OK.

A few more questions to decide on before continuing with PR:

Is 'AddEmpty' a good name for a new property
Should we output both ctors in the same file? This might make writing tests a bit harder, but there is less of IDE spamming with multiple partials and easier for users to understand what exactly has been generated.
Do we need to support any customization for empty constructor generated - I think it's better toleave it simple for now and only add customization later on if requried.

Hi, thank you for the feedback.
Regarding this and base calls - as I understand:

parameterless constructor never needs to call base constructor explicitly because there are no arguments to pass anyway
and never needs to call this(...), as type can't have two parameterless constructors

So there is little work to do here. We could add an analyzer to detect situations when the base type does not have parameterless constructor, but this will be caught by the compiler anyway.
GenerateParameterlessConstructor - won't that be a bit too clunky/repetitive:
[AutoConstructor(GenerateParameterlessConstructor:true)]
class SomeType{
...

we repeat Constructor here twice in five words, and all the words in are really long in new property name.

Hi, thank you for the feedback.
Regarding this and base calls - as I understand:

parameterless constructor never needs to call base constructor explicitly because there are no arguments to pass anyway

If there is a constructor on the base class with parameter, the parameterless constructor will have to call it otherwise it will generate a compilation error like you said, it's just that I try to avoid when possible to generate code that will not compile.

and never needs to call this(...), as type can't have two parameterless constructors

Yes, there is no need to call this, I was referring to the code in this package that detects if there is already a parameterless constuctor on the class to call, because the code that checks if there is already a parameterless constructor on the class won't see the generated one (here).

So there is little work to do here. We could add an analyzer to detect situations when the base type does not have parameterless constructor, but this will be caught by the compiler anyway.
GenerateParameterlessConstructor - won't that be a bit too clunky/repetitive:
[AutoConstructor(GenerateParameterlessConstructor:true)]
class SomeType{
...

we repeat Constructor here twice in five words, and all the words in are really long in new property name.

Yes maybe it is a bit too long, it could be only AddParameterless.

"If there is a constructor on the base class with parameter, the
parameterless constructor will have to call it"
I don't think it's possible to do that, as there are nowhere to take the
values  for the arguments. It might be possible to pass default values for
the argument type, but that would make very little sense. So I think if we
are generating parameterless ctor, base type must have parameterless one,
whether implicit or explicit.
On Thu, May 16, 2024, 10:03 Kévin Gallienne @.***>
wrote:

Hi, thank you for the feedback.
Regarding this and base calls - as I understand:

parameterless constructor never needs to call base constructor
explicitly because there are no arguments to pass anyway

If there is a constructor on the base class with parameter, the
parameterless constructor will have to call it otherwise it will generate a
compilation error like you said, it's just that I try to avoid when
possible to generate code that will not compile.

and never needs to call this(...), as type can't have two
parameterless constructors

Yes, there is no need to call this, I was referring to the code in this
package that detects if there is already a parameterless constuctor on the
class to call, because the code that checks if there is already a
parameterless constructor on the class won't see the generated one (here
https://github.com/k94ll13nn3/AutoConstructor/blob/1b6f5d91f74ff2b54e81ed0b1379f3f4c29a6c80/src/AutoConstructor.Generator/AutoConstructorGenerator.cs#L152
).
So there is little work to do here. We could add an analyzer to detect
situations when the base type does not have parameterless constructor, but
this will be caught by the compiler anyway.
GenerateParameterlessConstructor - won't that be a bit too
clunky/repetitive:
[AutoConstructor(GenerateParameterlessConstructor:true)]class SomeType{
...
we repeat Constructor here twice in five words, and all the words in are
really long in new property name.
Yes maybe it is a bit too long, it could be only AddParameterless.
—
Reply to this email directly, view it on GitHub
https://github.com/k94ll13nn3/AutoConstructor/issues/119#issuecomment-2114217144,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADG3FPWUUBDHZYSIOK3KDHLZCRK47AVCNFSM6AAAAABHWDM532VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJUGIYTOMJUGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yes I agree, I was not saying that we have to generate a call to the base, we can't, I was just saying that since we can't do it, it will generate a compilation error.


Android template: Allow overriding default "index.js" entry file

Summary

Using "System.getenv" allows to specify any entry file using environment variables and without modifying gradle file. Example:
export ENTRY_FILE="another_entry_file.js"
./gradlew assembleDebug

This functionality is also more align with iOS implementation that uses 'if [[ "$ENTRY_FILE" ]]; then'. See https://github.com/facebook/react-native/pull/23667 for more details.

Possibility to define entry file on CI without modifying sources (Example: project like pixels-catcher requires different entry file)

Changelog
[Android] [Added]  - Custom entry file on android using ENTRY_FILE environment variable
Test Plan

Create a project from template

Define ENTRY_FILE environment variable

export ENTRY_FILE="anotherIndexFile.js"

Build android

./gradlew assembleDebug

Expected result: App contains bundle file that starts from anotherIndexFile.js file.

I think it's best to do it in react.build file.

I think it's best to do it in react.build file.

Good point, I'll update PR with this change.


chore: entire scripts refactoring and packages

Initial checklist

[x] I read the support docs
[x] I read the contributing guide
[x] I agree to follow the code of conduct
[x] I searched issues and couldn’t find anything (or linked relevant results below)
[x] If applicable, I’ve added docs and tests

Description of changes
TODO

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (704ce56) 67.61% compared to head (c032d62) 67.61%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #170   +/-   ##
=======================================
  Coverage   67.61%   67.61%
=======================================
  Files          11       11
  Lines         315      315
  Branches       27       27
=======================================
  Hits          213      213
  Misses        102      102

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add url_source

See #126
https://github.com/nestauk/nesta/blob/dev/nesta/production/schemas/tier_1/aliases/health_scanner.json#L118
"url": {
    "crunchbase": "url_of_organisation",
    "meetup": "url_of_group"
}

=>
"url": {
    "crunchbase": "url_of_organisation", // company website
},
"url_source": {
    "crunchbase": "url_crunchBase_organisation", // company page on the CB website
    "meetup": "url_meetup_group" // group page on the Meetup website
    "nih": "url_nih_org" // project page on the NIH website
}

This way we'll be able to link to the source page and eventually to the item website if available.

We agreed to use:

NIH: http://grantome.com/grant/NIH/<project id>
CB: url
Meetups: url

Closing.


Extensions: allow to right click to bring up gear menu

No reason not to allow that imho:

Doesn't work for me...

@jrieken It's only for gear menu which means only for installed extensions. Did you try on installed extensions?

It works for me

yes

allow to right click to bring up gear menu

this is about the gear, right? not the row

Context menu is for the list entry not for the gear.
@bpasero What was your expectation?

@jrieken It is context menu on the row (or extension) not on the gear icon.

almost anywhere ;-)

Yeah that is an "issue" with any context menu in any tree/list that has an action under the cursor.


IE11 Syntax error

Laravel Mix Version: 2.1.11 (npm list --depth=0)
Node Version (node -v): 5.6.0
NPM Version (npm -v): 8.9.4
OS: Win10

Description:
IE11 throws error SCRIPT1002: Syntax error
app.js (6749,49) which is:
pageSizeOptions: { type: Array, default: () => [10, 20, 40, 80, 100] },
pageSizeOptions is coming from vue2-datatable-component.
This means that mixer does not compile to ES5 correct.
All my vue components are empty when browser is IE11.

the Babel loader excludes any module coming from node_modules folder, and will not transpile.
Make sure the package is compatible with IE 11 itself.

Thanks, this https://github.com/OneWayTech/vue2-datatable/issues/139 solved my issue.


Can i able to change default padding?

Instead of having default padding as 0.75rem can I have it as 0.25rem. Is it possible?

For posterity, if you create your own ItemComponent by copying https://github.com/iannbing/react-simple-tree-menu/blob/master/src/TreeMenu/renderProps.tsx to your own component file, then tweak it, you can do lots of stuff so far as cleaning up the markup and styles.


ESPC32-H2: Example HA_ON_OFF_SWITCH renders W (509) ESP_ZB_ON_OFF_SWITCH: Network(0x3700) closed, devices joining not allowed. (IDFGH-12844)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.2.1
Espressif SoC revision.
Chip is ESP32-H2 (revision v0.1)
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
CMD
Development Kit.
ESP32-H2-DevKitM-1
Power Supply used.
USB
What is the expected behavior?
According to the example (I just xcopied the HA_on_off_switch without any modifications), this is what I expected (part of the README.md):
This is the expected behaviour as given in the README.md from the standard Zigbee HA_on_off_switch example that comes with ESP-IDF 5.2.1 (stable):
I (388) main_task: Calling app_main()
I (398) gpio: GPIO[9]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:2
I (398) phy_init: phy_version 220,2dbbbe7,Sep 25 2023,20:39:25
I (478) phy: libbtbb version: 90c587c, Sep 25 2023, 20:39:57
I (488) ESP_ZB_ON_OFF_SWITCH: ZDO signal: ZDO Config Ready (0x17), status: ESP_FAIL
I (488) ESP_ZB_ON_OFF_SWITCH: Zigbee stack initialized
I (488) ESP_ZB_ON_OFF_SWITCH: Start network formation
I (498) main_task: Returned from app_main()
I (998) ESP_ZB_ON_OFF_SWITCH: ZDO signal: NWK Permit Join (0x36), status: ESP_OK
I (998) ESP_ZB_ON_OFF_SWITCH: Formed network successfully (Extended PAN ID: 60:55:f9:00:00:f6:07:b4, PAN ID: 0x2a74, Channel:13)
I (1468) ESP_ZB_ON_OFF_SWITCH: ZDO signal: NWK Permit Join (0x36), status: ESP_OK
I (1468) ESP_ZB_ON_OFF_SWITCH: Network steering started
I (14228) ESP_ZB_ON_OFF_SWITCH: ZDO signal: NWK Device Associated (0x12), status: ESP_OK
I (14728) ESP_ZB_ON_OFF_SWITCH: ZDO signal: ZDO Device Update (0x30), status: ESP_OK
I (14788) ESP_ZB_ON_OFF_SWITCH: New device commissioned or rejoined (short: 0xe399)
I (14858) ESP_ZB_ON_OFF_SWITCH: Found light
I (14858) ESP_ZB_ON_OFF_SWITCH: Try to bind On/Off
I (14858) ESP_ZB_ON_OFF_SWITCH: Bound successfully!
I (14858) ESP_ZB_ON_OFF_SWITCH: The light originating from address(0xe399) on endpoint(10)
I (15338) ESP_ZB_ON_OFF_SWITCH: ZDO signal: ZDO Device Authorized (0x2f), status: ESP_OK
I (15408) ESP_ZB_ON_OFF_SWITCH: ZDO signal: NWK Permit Join (0x36), status: ESP_OK
I (35838) ESP_ZB_ON_OFF_SWITCH: ZDO signal: NLME Status Indication (0x32), status: ESP_OK
I (38548) ESP_ZB_ON_OFF_SWITCH: Send 'on_off toggle' command
I (39598) ESP_ZB_ON_OFF_SWITCH: Send 'on_off toggle' command
I (41148) ESP_ZB_ON_OFF_SWITCH: Send 'on_off toggle' command
What is the actual behavior?
The example builds, and I can flash it. When I do idf.py monitor, the program does not behave as indicated in the README.md from the example. Instead it renders errors:
W (509) ESP_ZB_ON_OFF_SWITCH: Network(0x9e84) closed, devices joining not allowed.
I (519) ESP_ZB_ON_OFF_SWITCH: Device started up in non factory-reset mode
I (519) ESP_ZB_ON_OFF_SWITCH: Device rebooted
I also tried rebooting the devboard several times (and even power-cycled it) - same behaviour. See full logs below in debug logs.
Steps to reproduce.
Downloaded esp-idf 5.2.1 (stable) using the Windows installer. Standard install. Also installed the support for ESP32-H2 and ESP32-C6.
mkdir HA_on_off_switch
xcopy /e /i %IDF_PATH%\examples\bee\light_sample\HA_on_off_switch HA_on_off_switch
cd HA_on_off_switch
idf.py set-target esp32h2
idf.py menuconfig (did not change anything)
idf.py build
idf.py erase-flash
idf.py flash
idf.py monitor
Debug Logs.
ESP-ROM:esp32h2-20221101
Build:Nov  1 2022
rst:0x1 (POWERON),boot:0xc (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x408460e0,len:0x17ac
load:0x4083cfd0,len:0xf04
load:0x4083efd0,len:0x2ca8
entry 0x4083cfda
I (23) boot: ESP-IDF v5.2.1 2nd stage bootloader
I (24) boot: compile time May 19 2024 19:19:11
I (25) boot: chip revision: v0.1
I (27) boot.esp32h2: SPI Speed      : 64MHz
I (31) boot.esp32h2: SPI Mode       : DIO
I (36) boot.esp32h2: SPI Flash Size : 2MB
I (41) boot: Enabling RNG early entropy source...
I (46) boot: Partition Table:
I (50) boot: ## Label            Usage          Type ST Offset   Length
I (57) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (64) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (72) boot:  2 factory          factory app      00 00 00010000 000e1000
I (79) boot:  3 zb_storage       Unknown data     01 81 000f1000 00004000
I (87) boot:  4 zb_fct           Unknown data     01 81 000f5000 00000400
I (95) boot: End of partition table
I (99) esp_image: segment 0: paddr=00010020 vaddr=42090020 size=11cd0h ( 72912) map
I (129) esp_image: segment 1: paddr=00021cf8 vaddr=40800000 size=06320h ( 25376) load
I (139) esp_image: segment 2: paddr=00028020 vaddr=42000020 size=8d67ch (579196) map
I (317) esp_image: segment 3: paddr=000b56a4 vaddr=40806320 size=080c0h ( 32960) load
I (332) boot: Loaded app from partition at offset 0x10000
I (333) boot: Disabling RNG early entropy source...
I (344) cpu_start: Unicore app
W (353) clk: esp_perip_clk_init() has not been implemented yet
I (360) cpu_start: Pro cpu start user code
I (360) cpu_start: cpu freq: 96000000 Hz
I (361) cpu_start: Application information:
I (363) cpu_start: Project name:     light_switch
I (368) cpu_start: App version:      1
I (373) cpu_start: Compile time:     May 19 2024 19:18:50
I (379) cpu_start: ELF file SHA256:  9ff5c20a6...
I (384) cpu_start: ESP-IDF:          v5.2.1
I (389) cpu_start: Min chip rev:     v0.0
I (394) cpu_start: Max chip rev:     v0.99
I (399) cpu_start: Chip rev:         v0.1
I (403) heap_init: Initializing. RAM available for dynamic allocation:
I (411) heap_init: At 408180B0 len 000352D0 (212 KiB): RAM
I (417) heap_init: At 4084D380 len 00002B60 (10 KiB): RAM
I (424) spi_flash: detected chip: generic
I (427) spi_flash: flash io: dio
W (431) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (445) sleep: Configure to isolate all GPIO pins in sleep state
I (451) sleep: Enable automatic switching of GPIO sleep configuration
I (459) main_task: Started on CPU0
I (459) main_task: Calling app_main()
I (469) gpio: GPIO[9]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:2
I (479) phy: phy_version: 230,2, 9aae6ea, Jan 15 2024, 11:17:12
I (479) phy: libbtbb version: 944f18e, Jan 15 2024, 11:17:25
I (489) main_task: Returned from app_main()
I (499) ESP_ZB_ON_OFF_SWITCH: ZDO signal: ZDO Config Ready (0x17), status: ESP_FAIL
I (499) ESP_ZB_ON_OFF_SWITCH: Zigbee stack initialized
W (509) ESP_ZB_ON_OFF_SWITCH: Network(0x9e84) closed, devices joining not allowed.
I (519) ESP_ZB_ON_OFF_SWITCH: Device started up in non factory-reset mode
I (519) ESP_ZB_ON_OFF_SWITCH: Device rebooted

In other words, it never gets to the network formation.
I erased the devboard's flash before flashing the example.

More Information.
I have tried the same on a different devkit: ESP32-C6-DevKitM-1. The same problem occurs as well using that set-up. Of course I have done idf.py set-target esp32c6, idf.py menuconfig, idf.py build, idf.py erase-flash, idf.py flash, idf.py monitor and I have also power-cycled the devkit.
I am using USB UART bridge (not sure this makes any difference).

Have the same issue, example does not open the network for registration as "advertised" in example Readme.
Tried on ESP32-C6.

I just ran off.py erase-flash again, switched off power to devboard. Followed by IDF.pt flash and  powered off.devboard again. Powered on followed by idf.py monitor. Same behaviour, unfortunately, still does not work. Built on 5.2.1

I have the same problem, I tried modifying the code, but without success. The network remains closed.

@phelicksg @cy-lhe @MeryaneF ,
In this example, the Zigbee network will be closed when the device is not factory reset. This means that if the device is on a network and reboots, the network is closed by default. You can call esp_zb_bdb_open_network() to open the network again.
    case ESP_ZB_BDB_SIGNAL_DEVICE_FIRST_START:
    case ESP_ZB_BDB_SIGNAL_DEVICE_REBOOT:
        if (err_status == ESP_OK) {
            ESP_LOGI(TAG, "Deferred driver initialization %s", deferred_driver_init() ? "failed" : "successful");
            ESP_LOGI(TAG, "Device started up in %s factory-reset mode", esp_zb_bdb_is_factory_new() ? "" : "non");
            if (esp_zb_bdb_is_factory_new()) {
                ESP_LOGI(TAG, "Start network formation");
                esp_zb_bdb_start_top_level_commissioning(ESP_ZB_BDB_MODE_NETWORK_FORMATION);
            } else {
                esp_zb_bdb_open_network(180); // Open network 180s
                ESP_LOGI(TAG, "Device rebooted");
            }
        } else {
            ESP_LOGE(TAG, "Failed to initialize Zigbee stack (status: %s)", esp_err_to_name(err_status));
        }
        break;

By the way, the above logic will be added to these examples in the future.


fix nget handling, provide ngetscu example

avoid use of event identifier, use RequestedSOPClassUID/RequestedSOPInstanceUID for model and match criteria.
This doesn't narrow down the N-GET-RSP to just those elements requested.
A separate feature request should be created to accomplish that.
Should close #77

@christof-schadt-bl and @dwikler sorry, I didn't remember who had brought up the N-GET (which isn't a part of TDW-II but is a part of UPS... so that's part of the "plus")


be启动时日志文件显示报错

这个问题是什么原因引起的，需要怎么去解决呢

The main error is Doris Be http service did not start correctly. exiting.
Other warnings can be ignore.
This error means the BE's http port(default is 8040, configured in be.conf) is already used by some other process. You need to try your port using netstat command.


Added Star button

Close: #26
I added star button. You can merge it now  ^_^
Happy to contribute 😁

Well done will do a little fix before merging

What ?

? @heysagnik

@heysagnik hey...

what should i do ?

Actually I want to fix the ui of the star button as the
https://codepen.io/aaroniker/pen/BaZJMjv

@heysagnik  Okay I will. But the thing is I am unable to access the button's styling in scss . could you help me ?

Actually I am away from keyboard ⌨ , you have to wait for 2 more days so that I can help you.
Till then you can work on any other projects. Becoz time is running out for Hacktoberfest.

@heysagnik  okay... Just tell me how I can access the styling of the button then i will change the style as you want. Actually i am using pug and scss for the first time.

I would make a simple button instead of
the one you used.and did a styling with scss.
This may help you to understand the basic of pug .
Likewise will use <a> and linked to the repo .
If you face difficulties with scss then create a seperate style.css to use css for the button.

Okay

@heysagnik  hey I changed the styling according to your reference but I am unable to make the star animation because the javascript giving me error.

@heysagnik Sorry I am unable to do this.. you better have to find someone else. I am unassigning  from this

Ok

@heysagnik hey can you merge it please ? then later you will modify the button. 🙂


Added example for usage with rematch

Fixes #4076
This example helps setting up the following with rematch.

[x] A standard counter example which has both sync and asynchronous actions
[x] A github user page which is predominantly asynchronous and shows a good example for fetching data from the server
[x] Server side rendered initial state
[x] Specifying initialState for a particular model in createStore.

Please run yarn lint --fix locally.

Very nice!


Use new groupId

See sebhoss/maven-build-process#1

deployed new group id w/ version 3.0.0-20160626185251


where is the  training scripts and configs

I try to reproduce the model but I can't find the training file and training config. Can you release it?

Hi, thank you for your interest. With this current version, you can reproduce the results reported in the paper. Because of some requirements from our project, we will release the training code later. You can also send me an email for specific questions.

I have the same issue. Do you still plan to release the training-related files?

I have the same issue. Do you still plan to release the training-related files?

It would also help me to have the training scripts and config. I'm trying to use this for my thesis and I'd like to retrain on a custom dataset

We have updated the code here:
https://github.com/aistairc/DeepEventMine/tree/train


CSS optimization MuiListItem MuiListSecondaryAction

should not need position absolute and top:50% etc to align a secondary action on a list item, when flex is an option.

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

I think that we can move the thread to #13597, it's about improving the handling of this component. The position absolute comes from the constraint that button > button is forbidden.


Camunda 7.10 - Expanded Fetch and Lock parameters

Added Fetch and Lock filter parameters for Camunda 7.10.
Camunda REST API docs:
https://docs.camunda.org/manual/7.10/reference/rest/external-task/fetch/
Camunda REST API source:
https://github.com/camunda/camunda-bpm-platform/blob/master/engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/dto/externaltask/FetchExternalTasksDto.java
Prerelease NuGet package:
https://www.myget.org/feed/flyingpie/package/nuget/Camunda.Api.Client

Perfect, thank you!


Calibration between Unity space and DSLR or HoloLens Camera and DSLR

I have some misalignment between my two coordinate systems. Is the calibration done regarding unity space and DSLR or the HoloLens Webcam and the DSLR. In the second case, I would need to apply another transformation, right?

Hello,
The calibration process does a few things:

We generate intrinsic camera parameters for both the HoloLens PV camera and the DSLR camera. Intrinsics parameters include things like focal points and principal points (https://en.wikipedia.org/wiki/Camera_resectioning)
After generating intrinsic camera parameters, we calculate the extrinsic/physical transform between the two cameras.

When using this calibration information the HoloLens drives the unity camera location. This is based on the HoloLens's perceived location in the world, which is not equal to the actual physical location of the PV camera used during calibration. Some error is introduced by this assumption. In an ideal world, the physical transform for the DSLR camera would be both the transform from the HoloLens's perceived self to the physical PV camera combined with the transform from the PV camera to the DSLR camera. This error is likely small enough to not detract from the end filming experience, but may be worth fixing long term if information is available on the physical location of the PV camera relative to the HoloLens's position tracking.
Is there more information on what sort of misalignment you are seeing? Calibration has been a major pain point for many of the contributors/users of Spectator View Pro. Is it possible for you to share the CalibrationData.txt you generated so that we can take a look on our end at the transforms you generated?

Thank you for your reply!
I was wondering if the transformation between physical location of the PV camera relative to the HoloLens's position in Unity is actually available. At least I was trying it with the code you can see below:
    Matrix4x4 cameraToWorldMatrix;
    photoCaptureFrame.TryGetCameraToWorldMatrix(out cameraToWorldMatrix);
    Matrix4x4 HoloLensToWorldMatrix = Matrix4x4.identity;
    HoloLensToWorldMatrix.SetTRS(HoloLens.transform.position, HoloLens.transform.rotation, HoloLens.transform.lossyScale);

Nevertheless, the results did not make really sense to me...
Reagrding your question: I am trying to calibrate HoloLens and a RealSense D415. I will attach the Calibration file. What I realized is that the intrincsic parameters of the D415 calculated from the Calibration app do not match the ones I get from the manufacturer. See below:
Mafucaturer:

Calibration app:
DSLR camera Matrix: fx, fy, cx, cy:
DSLR_camera_Matrix: 1151.68, 1158, 674.547, 339.866
CalibrationData.txt

It is possible to obtain camera extrinsic information/the physical location of the PV camera. However, it doesn't appear to be possible to obtain this information when grabbing a PV camera frame via the mixed reality capture REST api. If you built your own logic for handing frames from the hololens to the calibration app, you could access the information in a similar manner to here:
https://github.com/Microsoft/MixedRealityToolkit-Unity/blob/41e3feaddb26c1d20c3a6571b7d3500604a314a6/Assets/MixedRealityToolkit.Extensions/SpectatorView/Scripts/Utilities/HoloLensCamera.cs#L1655
In this HoloLensCamera wrapper we obtain both PV camera extrinsic (physical location) and intrinsic information (focal length, principal points, etc). Both of these values could be used in calibration and make for a more accurate spectator view pro experience. On our end, we are going to look into improvements that we can make to both calibration and spectator view pro, but its unclear whether or not we will be able to invest in this soon given other HoloLens 2 related work. Any changes also likely won't align 1:1 with the code in this repo as we are trying to refactor and consolidate both the spectator view pro (dslr based) and spectator view preview (iOS based) codebases.

Note: that above class is written to work in both a uwp c# app or in unity. It is more heavily used/tested with unity so you may hit some issues if you chose to build a uwp for obtaining and relaying camera frames from the hololens to the calibration app.

The manufacturer provided focal length and principal points will be more accurate than the values you obtain with opencv. The calibration app roughly supports providing your own intrinsic information, which I would suggest doing to try and get a more accurate calibration. But I would also suggest some changes based on the richness of information that you have.

Set the following flag to true:
https://github.com/Microsoft/MixedRealityCompanionKit/blob/efa41f37519aafa833ad0687d01a7375b4e94711/SpectatorView/Calibration/Calibration/stdafx.h#L27

Then go in and update the camera intrinsic information to use your own focal length and principal point
https://github.com/Microsoft/MixedRealityCompanionKit/blob/efa41f37519aafa833ad0687d01a7375b4e94711/SpectatorView/Calibration/Calibration/CalibrationApp.cpp#L503
The calibration app is not in the best shape for this, it only allows a single focal length and defaults to a principal point in the center of the image. You should write your own logic here to generate an intrinsic matrix. See https://en.wikipedia.org/wiki/Camera_resectioning for more information, specifically the intrinsic parameter matrix definition 'K'. You will need to get focal length and principal point values from [0,1] by dividing by the corresponding frame dimension component (scaled focal length x = focal length x / 1920, etc). Then from there, multiply these scaled focal length and principal point values by the hololens frame dimension (final focal length x = scaled focal length x * hololens frame width, etc) since that's the dimension of images that will be used during calibration (dslr camera images are resized to match the hololens image for easier processing).

Opencv calculates its own values for distortion coefficients during this processing, but you could provide your own. I'm not sure if it will be more accurate to use the opencv distortion coefficient values compared to the ones you have from the manufacturer (0's kind of suggest distortion wasn't actually calculated for the device).

From here normal processing should work with the updated intrinsic information and hopefully you'll get better calibration results.

Thanks a lot for the detailed answer!


Please add an entry for the Samsung S8+

{"type":"android","rules":[{"mdmh":"samsung//SM-G955U/"},{"ua":"SM-G955U"}],"dpi":[522.514,525.762],"bw":3,"ac":500},

@aaronanderson I've added the device with the settings you submitted above. Can you please try the updated dpdb file and confirm if it works correctly? Thanks.

Added in version 1.0.2


fmap maybe

Hey,
This is quite a simple question really, but is there anything similar to a fmap on a maybe (on Haskell)?
My use case was to apply a function to a value which can be either null, undefined, or have a decent value.
I ended up with:
defaultXpto = (v) => defaultTo('N/A', v ? v + ' €' : null);

Which feels quite dumb, to have to checks on the validity of the value, one implicit, the other explicit.
defaultTo is equivalent to Haskell's fromMaybe. So where is the fmap, so that I could write the cleaner:
defaultXpto = (v) => defaultTo('N/A',fmap(x => x + ' €',v));

this seems more like a case for pattern matching? You can only sorta come close to pattern matching using things like cond or ifElse, e.g. http://goo.gl/QUDqa3
Once you have wrapped your value in a Maybe like this, you ought to be able to pass it to R.map and it should do the right thing (i.e. fmap over it, provided your Maybe is fantasyland-compliant).

S.toMaybe and S.fromMaybe would be useful:
//    v :: Nullable String
const v = ...;

//    v$ :: Maybe String
const v$ = S.toMaybe(v);

//    v$$ :: Maybe Number
const v$$ = R.chain(S.parseFloat, v$);

//    v$$$ :: Maybe String
const v$$$ = R.map(amt => amt.toFixed(2) + ' €', v$$);

//    v$$$$ :: String
const v$$$$ = S.fromMaybe('N/A', v$$$);

One could use a pipeline to avoid intermediate variables:
//    formatAmount :: Nullable String -> String
const formatAmount =
S.pipe([S.toMaybe,
        R.chain(S.parseFloat),
        R.map(amt => amt.toFixed(2) + ' €'),
        S.fromMaybe('N/A')]);

S.maybe provides a shorthand for R.map+S.fromMaybe:
//    formatAmount :: Nullable String -> String
const formatAmount =
S.pipe([S.toMaybe,
        R.chain(S.parseFloat),
        S.maybe('N/A', amt => amt.toFixed(2) + ' €')]);


CDM ADLS storage adapter support sovereign cloud

The ADLS storage adapter is using the public Azure endpoint for storage and AAD authentication, it doesn't support sovereign cloud environment.
Suggest to refer this  to enable the sovereign cloud adoption in Java/Python/CSharp

Hello - we currently don't have plans to introduce sovereign cloud support in ADLS adapter for Common Data Model SDK. If this is a blocker for adopting the SDK in your product, please contact me directly to discuss the options. Thanks.


Appstudio update hacbs-test-project-i4ez

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI has failed.There was an error creating the PipelineRun: hacbs-test-project-i4ez-on-pull-request-
creating pipelinerun hacbs-test-project-i4ez-on-pull-request- in namespace rhtap-demo-ilih-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request