Opyrator launch-ui and launch-api throwing errors

In the fresh environment, using Python 3.9.7 on macOS Monterey 12.2.1 (x86) (tested on M1 chip, same issues)
No extra packages were installed, only Opyrator and its dependencies
The code I'm trying to run:
from pydantic import BaseModel

class Input(BaseModel):
    message: str

class Output(BaseModel):
    message: str

def hello_world(input: Input) -> Output:
    """Returns the `message` of the input data."""
    return Output(message=input.message)

Issue #1
$ opyrator launch-ui my_opyrator:hello_world
ModuleNotFoundError: No module named 'streamlit.report_thread'
Issue #2
$ opyrator launch-api my_opyrator:hello_world
ImportError: cannot import name 'graphql' from 'starlette' (/Users/sean/python_envs/opyrator-env/lib/python3.9/site-packages/starlette/init.py)
Problem with streamlit (streamlit==1.6.0)
Some folks on the internet suggest downgrading streamlit, but it seems like the issue still persists.
I've looked into the package itself and didn't find either report_thread.py or "report_thread" in the python files

This seems to be a dependency issue. I got it working with pip3 install starlette==0.13.6 as a quick fix.

+1. One fails on the first thing on "Getting started"...
I downgraded streamlit to 1.3.1 and starlette to 0.13.6 as suggested by @felixmaechtle, now the Getting started works.

Can we keep this open until solved?


docs: update installation instructions

I've updated the docs to provide clearer installation instructions.
Related changes:

removed duplicate License file
added pytest to requirements.txt
added /MicrobeMod/db to .gitignore
removed dependency tests from test files

This branch should not be merged, but can still be used for identifying the best installation steps.


Line Graph is not accessible using keyboard.

Expected behavior
Control(s) must be accessible to keyboards and other assistive technology.
Current behavior
Line Graph is not accessible using Keyboard.
Reproducible sample
https://codesandbox.io/s/react-chartjs-2-chart-js-issue-template-cg7b5?file=/src/App.tsx
Optional extra steps/info to reproduce
Repro Steps:

Open URL https://react-chartjs-2.js.org/examples/multiaxis-line-chart/ on New Edge Browser.
Navigate to Multiaxis Line Chart.
Reach the graph under the Multiaxis Line Chart section using the tab key.
Observe that the graph is not accessible using Keyboard.

Possible solution
Provide keyboard equivalent functionality for the line graph and its interactive components.
Context
When interactive components are not accessible, assistive technology users are blocked, which leads to everything from inaccessible content, features, and functionality, up to entire applications or sites.
chart.js version
yarn add<EMAIL_ADDRESS><EMAIL_ADDRESS>Browser name and version
OS: Windows_11 Version: 21H2 OS Build: 22000.795 Browser: Version 103.0.1264.71 (Official build) (64-bit)
Link to your project
https://www.bing.com/webmasters

From the issue template:

Chart.js versions lower then 3.x are NOT supported anymore, new issues will be disregarded.

But if you update to 3.x you can make the chart accessible as shown in the codepen @kurkle posted in this issue: #1976


Clean Snow Notebook using Pangeo

The PR focuses on fixing headings and proofreading of the snow notebook using Pangeo.

@pl-marasco the PR is ready to review. fyi, I've restructured the notebook and corrected the headings of the sections.
The data/ADO_DSC_ITH1_0025.csv file is missing. Please upload it to the data folder in this PR or a separate one.

The data/ADO_DSC_ITH1_0025.csv file is missing. Please upload it to the data folder in this PR or a separate one.

Fixed in the latest commit 6572f71

@pl-marasco @acocac well done the notebook is really good! It also helped me to fix things on my side


Integration with spiceinit web service

Is your feature request related to a problem? Please describe.
Due to recent changes in ISISDATA structure, I cannot process anymore hiedr2mosaic.py since it crash at spice function due to missing kernels.
My ISISDATA is updated to the recent version.
Running the hiedr2mosaic.py commands one by one, highlight exactly the probelm with spiceinit since if I use spiceinit WEB=True, it works flawlessly.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Add a new argument to hiedr2mosaic.py to enable spiceinit web
I have already edited hiedr2mosaic.py with the new argument and tested with success.
def spice( cub_files, threads, web):
    for cub in cub_files:
        cmd = f'spiceinit WEB={web} from={cub}'
        add_job(cmd, threads)
    wait_on_all_jobs()
    for cub in cub_files:
        cmd = 'spicefit from= '+ cub
        add_job(cmd, threads)
    wait_on_all_jobs()
    return

and in the main function
[...]
parser.set_defaults(web=False)
[...]
parser.add_option("-w", "--web", dest="web",
                              help="Uses spiceinit web (default False).")
[...]

I'll create a PR if this is ok.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
This may be implemented also to other scripts such as lronac2mosaic.py

@oleg-alexandrov PR already under review :)

Would be so nice if every day code would just write itself. :)

I have the same problem, after updating ISIS. I did the synchronization with downloadIsisData mro $ISISISDATA.
However, I try to process CTX EDR using mroctx2isis but got errors about missing kernels.
**ERROR** No existing files found with a numerical version matching [kernels.????.db] in [/isis/mro/kernels/pck].
ISIS version is 7.1.0
ASP version 3.2.0
After synchronizing two times using downloadIsisData mro $ISISDATA, when I look inside my ISISDATA/mro/kernels/pck file, I can only find a kernel file kernels.0001.db.


aider freezers while scanning repo.

This is a new instance for me here, where whenever i try to load aider it will just freeze while scanning repo and it will just not finish.
I tested in multiple VSCODE projects and still the same behavior. and I tried different models. Anthropic sonnet 3.5 and gpt4o and getting the same.
I deleted all aider folders and files in the project and still go the same

Also when I try to kill the application it will not just terminate I have to delete the complete terminal nad re-start
After the above screen shot I killed my terminal I restarted again and lunched iwht 40 and stuck on this for the past 5 minutes

Now I deleted all my aider folders again within the project and re-tried again

Now again during scanning repo gets stuck at 75% and does not move again.
then I uninstalled and did a fresh install
then when I tried to run again

Then when I deleted all cache and tried to re-run again same issue here

Thanks for trying aider and filing this issue.
Try rubbing with --verbose and see if it's getting stuck on a particular file.

Thanks for trying aider and filing this issue.
Try rubbing with --verbose and see if it's getting stuck on a particular file.

I started getting this issue again. and when I ran verbose I see it always gets stuck at this file. The file is just a simple table nothing complex and the file has no business logic or code errors and follows basic code limiting structure.
to bypass this, I have the comment or delete the code, and the only the repo map works otherwise it just gets stuck there and does not exit this error

Tree sitter sometimes hangs on certain files. You can add it to your .aiderignore or sometimes just reformatting the code with a linter will help.


A new updated release

Updated release that should provide us a DOI from Zenodo

@kretep There is something weird happening with the release branch, it is ahead of main due to the PRs (see here). At the same time we cannot update main as it is protected.

Maybe that was caused by me changing the settings of the protected branch. I've unchecked the option to require branches to be up-to-date before merging; I hope that fixes it

@kretep It looks like you fixed it, feel free to have a look at it and merge it!


Adapted to more layer2 and bgp scenes

Adapted to more layer2 and bgp scenes

layer2 mode adapts to multiple NICs
bgp mode adapts to multi-layer network topology
Filter notready nodes from nexthops

Signed-off-by: Duan Jiong<EMAIL_ADDRESS>

/cc @zheng1

/cc @zheng1

/lgtm
/approve

/lgtm
/approve


docs: do not merge!!! - only for testing the pr pipeline check

…ne verification steps #1

What:

Why:

How:

Checklist:

[ ] PR small as possible
[ ] Codebase consistent
[ ] TypeScript definitions updated
[ ] Tests and linting
[ ] Ready to be merged

Closed because the ticket is done and all-contributors setup is finished.


fix: ReferenceError: exports is not defined

https://github.com/solidjs/solid-start/issues/45
This PR includes setting the dependency:
"solid-start": "workspace:0.1.0-alpha.53"
& adding *.log to .gitignore

Yeah this was my bad on the exports stuff. I've also fixed it in my PR #44 and the dependency for solid-start-node


Set the task context in background reader threads

Fixes #3872.
This changes the multi file reader code to pass the current task context to the batch runner instances, and those instances now ensure the task context is set on the thread while running the background task and cleared when the task completes.

build

build


Add e2e tests for kpt fn eval

We need to add e2e tests for kpt fn eval.

[x] Update test driver to support new command #1646
[x] Implement the tests cases

Not all test cases are covered: https://docs.google.com/spreadsheets/d/1V5f1UpL0_WqJPyeFTaR0bR4acCGtoUENYHVvV_HOlrc/edit#gid=1609746542


TLS 1.0, 1.1 for Skype for Business server 2019

In SFB server 2015 TLS 1.0 and 1.1 is enabled still for the Lync Phone Edition, thus these devices are in extended support still. Is it possible to enable TLS 1.0 in SFB server 2019? Regarding the article it is only TLS 1.3 and TLS 1.2

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

ID: a7679160-fb98-6e52-07f3-b844ba979065
Version Independent ID: a137b9d1-7721-c4ba-b2bd-0122795e80b6
Content: Encryption for Skype for Business Server
Content Source: Skype/SfbServer/plan-your-deployment/security/encryption.md
Product: skype-for-business-itpro
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

@CorbinMeek might be the best person to answer this.

@João<EMAIL_ADDRESS>- @James<EMAIL_ADDRESS>I am skeptical of that document stating 2019 will only offer 1.3 and 1.2 – but I don’t know for sure, so added Joao who might.  If he does not then we would need to get this in front of Engineering team.

From: James Birkinshaw<EMAIL_ADDRESS>Sent: Thursday, October 3, 2019 12:24 PM
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness<EMAIL_ADDRESS>Cc: Corbin Meek<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] TLS 1.0, 1.1 for Skype for Business server 2019 (#3145)
@CorbinMeekhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCorbinMeek&data=02|01|corbinm%40microsoft.com|837b192b8e9b4c43f7f408d7481e2817|72f988bf86f141af91ab2d7cd011db47|1|0|637057166666279943&sdata=lOIzhoY7Cxaf0N4LYuTPOqlyhRqrwT5LPZMhWyXNFic%3D&reserved=0 might be the best person to answer this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SkypeForBusiness%2Fissues%2F3145%3Femail_source%3Dnotifications%26email_token%3DAJ2BLJA6YSAV7VTQQEIETX3QMYMDRA5CNFSM4I5A2KFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAIYK3A%23issuecomment-538019180&data=02|01|corbinm%40microsoft.com|837b192b8e9b4c43f7f408d7481e2817|72f988bf86f141af91ab2d7cd011db47|1|0|637057166666279943&sdata=JAD%2B7%2F%2B8bA3Wl%2Bkdoqx7fHQjotX7R6OTx1%2B8%2FIPtkWU%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJ2BLJHZOVCB47BZUGGJCD3QMYMDRANCNFSM4I5A2KFA&data=02|01|corbinm%40microsoft.com|837b192b8e9b4c43f7f408d7481e2817|72f988bf86f141af91ab2d7cd011db47|1|0|637057166666289904&sdata=WnjfGYBJs2emM280zkagfFtuT%2B%2BGwp5WJklsuGmoMbo%3D&reserved=0.

Adding @Hiren<EMAIL_ADDRESS>and @Ravi Kant<EMAIL_ADDRESS>I think what was meant with that particular note was that sfb server 2019 would offer tls 1.3 and tls 1.2 prior to 1.1 / 1.0. Not that tls 1.1/1.0 was disabled by default. @Hiren<EMAIL_ADDRESS>@Ravi Kant<EMAIL_ADDRESS>Please let me know if my understanding is correct.
Regards,
Joao
From: Corbin Meek<EMAIL_ADDRESS>Sent: Thursday, October 3, 2019 17:29
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness<EMAIL_ADDRESS>MicrosoftDocs/OfficeDocs-SkypeForBusiness<EMAIL_ADDRESS>João Loureiro<EMAIL_ADDRESS>James Birkinshaw<EMAIL_ADDRESS>Cc: Mention<EMAIL_ADDRESS>Subject: RE: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] TLS 1.0, 1.1 for Skype for Business server 2019 (#3145)

@João<EMAIL_ADDRESS>- @James<EMAIL_ADDRESS>I am skeptical of that document stating 2019 will only offer 1.3 and 1.2 - but I don't know for sure, so added Joao who might.  If he does not then we would need to get this in front of Engineering team.

From: James Birkinshaw <notifications<EMAIL_ADDRESS>Sent: Thursday, October 3, 2019 12:24 PM
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness <OfficeDocs-SkypeForBusiness<EMAIL_ADDRESS>Cc: Corbin Meek <corbinm<EMAIL_ADDRESS>Mention <mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] TLS 1.0, 1.1 for Skype for Business server 2019 (#3145)
@CorbinMeekhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCorbinMeek&data=02|01|joaol%40microsoft.com|7725bc552ccd4a2de56708d7481edd55|72f988bf86f141af91ab2d7cd011db47|1|0|637057169717379861&sdata=7cE150CPv6H690Be45EGikyklT9f1DLq33Ph%2FxM0nKI%3D&reserved=0 might be the best person to answer this.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-SkypeForBusiness%2Fissues%2F3145%3Femail_source%3Dnotifications%26email_token%3DAJ2BLJA6YSAV7VTQQEIETX3QMYMDRA5CNFSM4I5A2KFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAIYK3A%23issuecomment-538019180&data=02|01|joaol%40microsoft.com|7725bc552ccd4a2de56708d7481edd55|72f988bf86f141af91ab2d7cd011db47|1|0|637057169717389859&sdata=D9HJWPzrkkWsWy2%2F9tW279NRbBLFr0C9Z9zBeYXCrpE%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJ2BLJHZOVCB47BZUGGJCD3QMYMDRANCNFSM4I5A2KFA&data=02|01|joaol%40microsoft.com|7725bc552ccd4a2de56708d7481edd55|72f988bf86f141af91ab2d7cd011db47|1|0|637057169717389859&sdata=mtD3eAdsqZ9H92yAAkU4jK9HKKmXTz3vxzF6%2BzEjrnE%3D&reserved=0.

Any update regarding this issue?
We have also tested it to enable TLS 1.0, TLS 1,1 on SFB 2019 but the Lync Phone Edition wont connect.

Hello @Erdem-Oz
Since TLS 1.0 has a lot of years being vulnerable, I don't think it would be possible to go back and allow TLS 1.0 or TLS 1.1 into a server suite from Microsoft in 2019-2020.
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/dn786446(v=ws.11)?redirectedfrom=MSDN
I have doubt relative to the TLS 1.3, so @scanum  would you please tag the author to determine if this requires Product Team intervention to get this clear?.

@j0rt3g4 The problem is that the lync phone editions are still supported. And it works only with TLS 1.0 or there must be an update to support TLS 1.2 / 1.3?

@j0rt3g4 The problem is that the lync phone editions are still supported. And it works only with TLS 1.0 or there must be an update to support TLS 1.2 / 1.3?

Hi @Erdem-Oz hopefully we can set the record straight here.
First, Lync Phone Edition is unsupported on Skype for Business Server 2019.  See: https://docs.microsoft.com/en-us/skypeforbusiness/plan-your-deployment/clients-and-devices/clients-and-devices#legacy-clients
So if you have legacy LPE devices you need to maintain for a bit longer as you execute your plan to retire those, you should keep a SfB Server 2015 pool or Std Edition server around.
Second, TLS 1.0 is supported on Skype for Business Server 2019, the documentation doesn't explicitly state this but we can mention that, however, it won't change the supportability stance on LPE.
Third - it may still work anyway.  Check out this discussion thread.
We wouldn't recommend it, but if you have to run LPE for a bit longer as you move to modern 3PIP phones or soft phones, you could potentially get away with this.  Just understand that Microsoft Support would not be obligated to assist with troubleshooting connectivity or update problems.  If you maintain a 2015 Pool or SE server to connect LPE to, then sure, fully supported.
Finally - LPE will not be updated to work with higher versions of TLS, this is well established and settled.
Hope this helps you proceed with your implementation plans!

I'd say, that answer solves the issue.

@Erdem-Oz
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.

@j0rt3g4 The problem is that the lync phone editions are still supported. And it works only with TLS 1.0 or there must be an update to support TLS 1.2 / 1.3?

Hi @Erdem-Oz hopefully we can set the record straight here.
First, Lync Phone Edition is unsupported on Skype for Business Server 2019. See: https://docs.microsoft.com/en-us/skypeforbusiness/plan-your-deployment/clients-and-devices/clients-and-devices#legacy-clients
So if you have legacy LPE devices you need to maintain for a bit longer as you execute your plan to retire those, you should keep a SfB Server 2015 pool or Std Edition server around.
Second, TLS 1.0 is supported on Skype for Business Server 2019, the documentation doesn't explicitly state this but we can mention that, however, it won't change the supportability stance on LPE.
Third - it may still work anyway. Check out this discussion thread.
We wouldn't recommend it, but if you have to run LPE for a bit longer as you move to modern 3PIP phones or soft phones, you could potentially get away with this. Just understand that Microsoft Support would not be obligated to assist with troubleshooting connectivity or update problems. If you maintain a 2015 Pool or SE server to connect LPE to, then sure, fully supported.
Finally - LPE will not be updated to work with higher versions of TLS, this is well established and settled.
Hope this helps you proceed with your implementation plans!

Thank you for answer everything is clear now :)


Uninstall fails - fixed

There was another topic with my issue, but you closed it in 2018, so I had to open a new thread:
I did a mistake, installing the full Flare VM on my Win 10 Pro OS, not on a virtual machine.
I installed the latest flare vm as of today from here and I did choco update/upgrade all packages.
It took me 14 hours of restarts and logins, as the login always went to my wrong admin account (default admin account but with a different password) instead of my actual user I was installing to (also admin) - you might want to fix that.
I now try to uninstall it by using the Windows PowerShell (Admin) as I did with the installer, following your instructions:
I change directory to the original folder (as downloaded) "cd c:\flare-vm-master",
then run "choco uninstall flarevm.installer.flare" but I get this error:
"flarevm.installer.flare is not installed. Cannot uninstall a non-existent package."
Boxstarter shell is still installed.
What do I do wrong when i try to uninstall Flare VM and how to revert my pc to the previous state safely?
Thank you!

LE: I fixed the issue by running the .install.ps1 again in my BoxStarter Shell and interrupting the process a little later with Ctrl+C.
Now the uninstallation went smooth. Probably there was a wrong reference for flare in my registry.

LE: I fixed the issue by running the .install.ps1 again in my BoxStarter Shell and interrupting the process a little later with Ctrl+C.
Now the uninstallation went smooth. Probably there was a wrong reference for flare in my registry.

Hi @ciprianmp, thank you for the update on how you fixed and uninstall FLARE-VM. Officially, we still don't support uninstallation. Therefore, please remember to install FLARE-VM in a VM.
htnhan

@htnhan I did installed flare vm on my host OS. and everything seems to be changed(settings, apps are gone, and my access to certain folders). I have tried choco uninstall flarevm.installer.flare through powershell and got the same error. Could you please tell me what shall I do to get everything back to what it was!?

@ciprianmp could you please tell me the steps in details !? As I tried what you said with no success. May be the problem is that I do not know the directory that I should be working on

As I said here, I ran the install again but didn''t wait for the entire package, as it was time consuming. Then I ran uninstall as per the instructions on flare (see picture above for the actual command I used.

@amro90 😟
Uninstallation is tricky and why it's always recommended to install in a virtual machine.
Windows settings/apps modified have no way to be restored currently since we don't backup settings prior to installation. Unfortunately, I would recommend backing up your important data and reinstalling Windows 10 on your host system. If this isn't feasible, you can try bulk uninstallation using an administrative PowerShell prompt via:

Windows 7: choco uninstall flarevm.installer.flare

Windows 10: choco uninstall flarevm.win10.installer.fireeye

I see you mentioned you ran into errors during uninstall by trying one of the commands above. Could you elaborate?
If you keep running into issues during bulk uninstallation (using a command above), you may need to uninstall each package manually. I'll be upfront, this will be a very tedious process unless you script it. You can see a list of all packages currently installed by navigating to: %PROGRAMDATA%\chocolatey\lib or executing: choco list --local-only.
Lastly, after all packages are uninstalled you can uninstall Chocolatey itself by following the information at:

https://docs.chocolatey.org/en-us/choco/uninstallation

Side Note
There appears to be a method to uninstall ALL chocolatey packages; however, I have NOT tested it! I crafted the command below based on the information at: https://docs.chocolatey.org/en-us/choco/commands/uninstall. Again, I have NOT tested this command and do not know the consequences.
choco uninstall all --yes --force --remove-dependencies

@ciprianmp Thank you so much for your reply. I followed exactly what You said, but I still get the same error "cannot uninstall a non existent package"
Could you please tell me what I have done wrong !?

@ciprianmp Thank you so much for your reply. I followed exactly what You said, but I still get the same error "cannot uninstall a non existent package"
Could you please tell me what I have done wrong !?

Sorry, I was just a one-time user and I don't know too much about the process. I assume I was just lucky?
Besides, I don't recall exactly what I did, just that I was frustrated as you are...

@ciprianmp Thank you so much for your reply. I followed exactly what You said, but I still get the same error "cannot uninstall a non existent package"
Could you please tell me what I have done wrong !?

Please see my reply above. You'll want the command choco uninstall flarevm.win10.installer.fireeye since you installed the flarevm.win10.installer.fireeye package.

@MalwareMechanic thank you so much for your tips. I will give it a try and feed you back with the results

@MalwareMechanic thank you so much for your help. I used the command at boxstarter shell and it worked fine. I appreciate your help. I think I should reset windows 10 so that I make sure that windows returened to normal


FluffyDisplay no longer works under macOS Sonoma

Thank you for this very handy tool! It is exactly what I need.
Unfortunately, exactly since I upgraded my MacBook Air M1 (MacBookAir10,1) from macOS Ventura to macOS Sonoma 14.0 (23A344), I am no longer able to add a virtual display. The app launches normally and appears in the menu bar, but when I click on "New" and then select any virtual display, nothing happens. Neither in the app itself nor in the System Settings / Information does the virtual display appear.
When I download the source code and start the app from Xcode, the app behaves exactly the same, every time I try to add a virtual display without success, Xcode gives me the following error message:
-[VirtualDisplayClient pluginWithOptions:]: spawnProxy message error kr=0x5((os/kern) failure)
Unfortunately, my knowledge is not sufficient to solve the problem myself, so I would be incredibly grateful if you could solve it!
Thank you, F1248

same issue here, please help

In VirtualDisplay.m changing following descriptor properties to non-zero works for me
descriptor.serialNum = 1;
descriptor.productID = 1;
descriptor.vendorID = 1;

In VirtualDisplay.m changing following descriptor properties to non-zero works for me
descriptor.serialNum = 1;
descriptor.productID = 1;
descriptor.vendorID = 1;

Thank you so much! I don't understand it, but now it works again!
By the way, I have found out that it is sufficient to change only descriptor.vendorID to 1, the other two values can remain unchanged at 0.

In VirtualDisplay.m changing following descriptor properties to non-zero works for me
descriptor.serialNum = 1;
descriptor.productID = 1;
descriptor.vendorID = 1;

Thank you so much! I don't understand it, but now it works again!
By the way, I have found out that it is sufficient to change only descriptor.vendorID to 1, the other two values can remain unchanged at 0.

I don't understand either since it's an undocumented API but my experience tell me that somewhere above the error thrown point has the fix 💯

In VirtualDisplay.m changing following descriptor properties to non-zero works for me
descriptor.serialNum = 1;
descriptor.productID = 1;
descriptor.vendorID = 1;

hey there, how do you run the compilation?
(i can run the standalone app, though have no idea how to do it after downloading source files)


[Artificial Intelligence]Turing Test in AI

Proposal Submission
Proposed title of article
[Artificial Intelligence]Turing Test in AI
Proposed article introduction
This article will provide an overview of the Turing Test in AI, which was introduced in 1950 by renowned mathematician Alan Turing. The purpose of the test was to determine whether a machine can exhibit Human-like Intelligence in its work or thought process. The test was dubbed 'The Imitation Game' in Alan Turing's research paper. He considered a computer/machine to be intelligent only if it could mimic human-like responses. If the interrogator (Judge) cannot determine whether the response is from a machine or a human, the machine passes the test.
Key takeaways
How turing test is performed
Requirements for passing turing test in AI
Feartures of Turing Test in AI
Limitations of Turing test.
Article quality
The Modern Day Turing test. Machine is tested using respondents to determine if it is  human or a computer. This article uses simple grammar and it is user friendly.
References
N/A
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Please fill in the Article Quality section so we can review your article.

Please fill in the Article Quality section so we can review your article.

The changes requested has been made. Thank you

Hi, @LeemaH2. Your article quality section is more about what you're writing about rather than what makes your article unique? Can you tell me what aspects of your article are not covered elsewhere or your unique perspective that you plan to bring?

Hi @louisefindlay23
Unlike the other articles, my article will cover a bit of Turing test history and the critics of turing test. I'll take the reader step by step through the turing test in Artificial Inteligence, i will also use simple grammar hence my article will be beginner-friendly.

I'm going to close this topic due to inactivity.
It can be reopened.

Closed #4976 via #5550


IApplicationBuilder.UseSwaggerUi does not expose lambda-based config as documentation suggests

Documentation says you can do this:
app.UseSwaggerUi(c =>
{
    ...
    c.InjectStylesheet("/swagger-ui/custom.css");
}

...but when trying this out:

I'm using v6.0.0-beta902.

You'll want to move to the latest:
https://www.nuget.org/packages/Swashbuckle.AspNetCore/1.0.0-rc1
They broke the versioning so you won't automatically receive this.

Never would have guessed that.  Thanks!


Add documentation explaining how parameters over arguments are applied to pytrees

Some function transforms take per-argument annotations as optional parameters, for example, vmap and pmap's in_axes, vmap's out_axes, and soon sharded_jit's in_parts and out_parts. These annotations can be applied to pytree arguments, and can themselves be pytrees of the same structure as or a prefix of the arguments. We should explain this behavior somewhere. I'm thinking a note somewhere in the docs that we can link to from all relevant docstrings, rather than repeating it in each docstring, unless we manage to explain it very succinctly.

We have a description and example in the vmap docstring. I'm guessing the point here is to have a centralized explanation.


Fix bugs for deadline and errors in documentation

Bug fixes:
Fix bug in deadline accepting the date in any format even invalid ones
Fix bug in add command showing an invalid command example
UI changes
Include $ sign for project budget
Change addStaff to addstaff for consistency with delstaff command
Documentation
Change errors found in user guide (Please vet through this in case i miss anything)

Codecov Report
Base: 70.30% // Head: 70.30% // No change to project coverage :thumbsup:

Coverage data is based on head (89cd383) compared to base (12e0a00).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #101   +/-   ##
=========================================
  Coverage     70.30%   70.30%
  Complexity      510      510
=========================================
  Files            88       88
  Lines          1633     1633
  Branches        190      190
=========================================
  Hits           1148     1148
  Misses          432      432
  Partials         53       53

Impacted Files
Coverage Δ

.../java/seedu/address/logic/commands/AddCommand.java
100.00% <ø> (ø)

.../seedu/address/logic/commands/AddStaffCommand.java
20.68% <ø> (ø)

...ain/java/seedu/address/model/project/Deadline.java
80.00% <ø> (ø)

src/main/java/seedu/address/ui/ProjectCard.java
0.00% <0.00%> (ø)

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.


upgrade error

Hi could not upgrade automatically:
pip install --upgrade subliminal
Downloading/unpacking subliminal from https://pypi.python.org/packages/source/s/subliminal/subliminal-1.1.1.tar.gz#md5=d9d4c3863d366d7dde498c6c318ae933
  Downloading subliminal-1.1.1.tar.gz
  Running setup.py egg_info for package subliminal
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/tmp/pip_build_root/subliminal/setup.py", line 11
        setup_requirements = ['pytest-runner'] if {'pytest', 'test', 'ptr'}.intersection(sys.argv) else []
                                                           ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "/tmp/pip_build_root/subliminal/setup.py", line 11

    setup_requirements = ['pytest-runner'] if {'pytest', 'test', 'ptr'}.intersection(sys.argv) else []

                                                       ^

SyntaxError: invalid syntax

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/subliminal

Are you using python 2.6? If so please update.

Crap you mean it's need 2.7 or 3?

Yes: https://github.com/Diaoul/subliminal/blob/master/setup.py#L52-L58

Crap didn't see it in RTFM :(

Fixed with 63dd6a1f3c4dd890b353c228ae9db1ab7ae75cb1

By fixed I mean the docs, not python 2.6 support ;)

Of course ;) will have to find time to migrate what still need 2.6 on this host. Thank's for all your work by the way.


add stepfun models

💻 变更类型 | Change Type

[x] feat
[ ] fix
[ ] refactor
[ ] perf
[ ] style
[ ] test
[ ] docs
[ ] ci
[ ] chore
[ ] build

🔀 变更说明 | Description of Change

增加阶跃星辰的模型

step-1-8k
step-1-32k
step-1-128k
step-1-256k
step-1v-8k
step-1v-32k
step-2-16k
step-1-flash

📝 补充信息 | Additional Information

Summary by CodeRabbit

New Features

Introduced support for the Stepfun API, enhancing overall application functionality.
Added a configuration component for the Stepfun service in the settings.
Integrated localization for Stepfun in both Chinese and English versions.
Expanded access store to manage and validate Stepfun API credentials.

Bug Fixes

Improved authentication handling for the Stepfun model provider.

Documentation

Updated localization files to include new entries for Stepfun.

Chores

Made environment variable configurations for Stepfun available across the application.

@forrestlinfeng is attempting to deploy a commit to the NextChat Team on Vercel.
A member of the Team first needs to authorize it.

how to authorize NextChat??


Discontinuity at (0,0) ... is it still there?  Let's debug

% -Check why we have a discontinuity at (0,0).  Something about the 0 always
% mapping to 0, or something ...

Appears to be resolved.


FR: add compilation / error checking options with third-party compilers

It would be nice to have a compile option for external compilers (defined via json).
What do you think about adding this? I may help with implementations and can provide a sample configuration for GPLed GnuCOBOL.
Including this would also allow for a nice syntax checker... [nearly all COBOL compilers can be called from command line and provide a "check only" option].

ping @spgennard What do you think about this? Do you see any option to add this?

I have something already for my sublime plugin, so I will have a look at
doing something simular in VSCode.
On 16 November 2017 at 12:35, Simon Sobisch<EMAIL_ADDRESS>wrote:

ping @spgennard https://github.com/spgennard What do you think about
this? Do you see any option to add this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spgennard/vscode_cobol/issues/2#issuecomment-344910046,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFtrGGqTEoy7Ce4JfGiRpiOjoumNfkoKks5s3Cv0gaJpZM4P8Pui
.

--
Stephen Gennard
<EMAIL_ADDRESS>

Ping (and adding the reference to https://bitbucket.org/bitlang/sublime_cobol/overview) - Do you have any news on this issue and/or a rough time plan?
BTW: You may want to change "OpenCOBOL" in your sublime plugin to "GnuCOBOL" ;-)

@spgennard:
The extension page says

MsBuild based projects can be consumed as build task, allowing navigation to error/warnings when they occur.

Does this solves the issue? If yes: please add a short doc how to setup these projects using an external COBOL compiler. Thank you.

Hi,
I am working on this at the moment, including the docs too.
It should, hopefully be done by the end of weekend..
Fingers crossed football does not distract me too much
On Thu, 28 Jun 2018, 15:12 Simon Sobisch<EMAIL_ADDRESS>wrote:

@spgennard https://github.com/spgennard:
The extension page says
MsBuild based projects can be consumed as build task, allowing navigation
to error/warnings when they occur.
Does this solves the issue? If yes: please add a short doc how to setup
these projects using an external COBOL compiler. Thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spgennard/vscode_cobol/issues/2#issuecomment-401048895,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFtrGFGs83r1jaNMR4qrWNYM_NTR6nE-ks5uBORDgaJpZM4P8Pui
.

Thank you for your work on this. It is nice to see that the updated extension is already available and was automatically updated.
As I'm no daily vscode user I understand that for syntax checks (or actual compilation) to work:

I need to create a MsBuild based project
I need to create a solution
I need to define tasks, the README has good samples

What I don't understand:
How do I create a MsBuild based project and the solution file?
Can you please elaborate on this, possibly in the wiki or in README.md?

To create a msbuild solution the easiest way is to use an IDE that creates
them, for example, Micro Focus Visual COBOL/Enterprise Developer or Fuijtsu
NetCOBOL.
The reason I suggest this both of these products have msbuild extensions
that make the compilation, linking of COBOL to either exe/dll easier.
On 31 July 2018 at 10:34, Simon Sobisch<EMAIL_ADDRESS>wrote:

Thank you for your work on this. It is nice to see that the updated
extension is already available and was automatically updated.
As I'm no daily vscode user I understand that for syntax checks (or actual
compilation) to work:

I need to create a MsBuild based project
I need to create a solution
I need to define tasks, the README has good samples

What I don't understand:
How do I create a MsBuild based project and the solution file?
Can you please elaborate on this, possibly in the wiki
https://github.com/spgennard/vscode_cobol/wiki or in README.md?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/spgennard/vscode_cobol/issues/2#issuecomment-409158782,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFtrGLCXWXFIhNbrG3THxPbngVvjZfDIks5uMCSigaJpZM4P8Pui
.

--
Stephen Gennard
<EMAIL_ADDRESS>

@spgennard you may want to edit your post and remove your mail signature and/or the quotation.
I don't have any of these available, can you try to reduce the ones you use to the minimal needed parts for vscode and add them as https://gist.github.com/?

GnuCOBOL only (GNU/Linux or Windows), if forced to then acu (on GNU/Linux).

Why not choose a cross-platform builder such as make.
https://www.gnu.org/software/make/manual/html_node/Introduction.html#Introduction
On 31 July 2018 at 21:25, Simon Sobisch<EMAIL_ADDRESS>wrote:

GnuCOBOL only (GNU/Linux or Windows), if forced to then acu (on GNU/Linux).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spgennard/vscode_cobol/issues/2#issuecomment-409356127,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFtrGCYkqO3JVxIaZ3Mi7l_xZcN8DfMtks5uML1RgaJpZM4P8Pui
.

--
Stephen Gennard
<EMAIL_ADDRESS>

I actually do this, but how do I enable showing compilation issues in vscode when pressing a button?
All the steps mentioned above (starting with msbuild + solution) seems necessary for this (or the README is not clear enough).
I'm confused now...

You just declare a set of tasks that use "make" with a specific
problemMatcher:
For example, one for gcc would be:
https://stackoverflow.com/questions/39673485/how-do-i-set-up-visual-studio-code-problemmatcher-to-match-c-errors
On 31 July 2018 at 22:02, Simon Sobisch<EMAIL_ADDRESS>wrote:

I actually do this, but how do I enable showing compilation issues in
vscode when pressing a button?
All the steps mentioned above (starting with msbuild + solution) seems
necessary for this (or the README is not clear enough).
I'm confused now...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spgennard/vscode_cobol/issues/2#issuecomment-409366938,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFtrGPszbuf3AoC46EQVQGONJs9r1GVPks5uMMXygaJpZM4P8Pui
.

--
Stephen Gennard
<EMAIL_ADDRESS>

@spgennard Can you please include a sample for "Task: using make" in README.MD (I assume this would be a minimal task definition and a sample Makefile)? Actually using this approach would save to specify a bunch of options there and would not include any third-party specifics like compiler names or options in the task definition and a clean definition of those in the Makefile.


add issue 740 as test

Adding an extra test based on the issue #740 and https://github.com/getgauge/taiko/commit/93c82f16f008c7a24f1060c9eb4a00e3a7cb97a8

@karuppiah7890 Thanks for PR. 🎉 🎉


test update some case in p2

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Handle NPE

Issues: #2596

Make sure that:

[x] You have read the contribution guidelines.
[x] You have created a feature request first to discuss your contribution intent. Please reference the feature request ticket number in the pull request.
[x] You applied code formatting rules using the mvn formatter:format target. Don’t submit any formatting related changes.
[ ] You submit test cases (unit or integration tests) that back your changes.

Could you also please provide some unit/integration tests that check for this condition?


Add a counter for zombie allocs and skip them

This is based on version 0.0.7 so I'm not too sure which base branch should I point it to.
In some extreme cases an allocation can be orphaned. That is, it doesn't have a node associated. We can't be sure about its state, whether it's running or not, but the most important thing is that allocStub.NodeID is empty and we're assuming that it's not, which leads to a segfault.
This patch notices the pitfall before we dive in it and, while we're at it, adds a new metric that can be useful to trigger an alert.

right... we can't merge because of conflicts.
I think we need to revert the 0.0.8 commit to move forward

Now we can merge


[REQUEST] - User Data Persistence whit Docker

Reference Issues
No Persistence of User Data (Created Users or uploaded Documents) when removing and recreating the docker container.
Summary
I am running Tests with Kotaemon, which I find really complete and a step ahead of other solutions found on GitHub. I do the tests using Docker, specifically the main-full image.
When I remove the container and create a new one (new image) I could not maintain both the persistence of the user data (documents) and the users created.
I created a volume that I called "kotaemon-data" then I create/start the container with this command:
docker run  -e GRADIO_SERVER_NAME=<IP_ADDRESS> -e GRADIO_SERVER_PORT=7860 -p 7860:7860 -v kotaemon-data:/ktem_app_data --restart always --name="kotaemon" -it  ghcr.io/cinnamon/kotaemon:main-full
Everything seems to run but there is no persistence of data and looking in the created volume it is empty (only a /_data directory is in there).
Is there any way to get the persistency?
Thanks in advance
Basic Example
docker run  -e GRADIO_SERVER_NAME=<IP_ADDRESS> -e GRADIO_SERVER_PORT=7860 -p 7860:7860 -v kotaemon-data:/ktem_app_data --restart always --name="kotaemon" -it  ghcr.io/cinnamon/kotaemon:main-full
Drawbacks
No persistence of user data
Additional information
No response

Hmm, my quick check seems that the folder which you mount inside Docker is not the correct ones.
Can you try:
... -v kotaemon-data:/app/ktem_app_data ...

I partially got it: ....kotaemon-data:/app/ktem_app_data/user_data/....   document and indexes are persistent.
However no kotaemon configuration is preserved and the same is for the users i have created.
Now I am going to proceed as suggested by you.
Thank you

@phv2312
It works!
Thanks a lot for your support!


Expose ViewModel property names as static class members

The CalcViewModels currently follow a paradigm of declaring a namespace to store strings that are property names of the matching class, for example:
https://github.com/Microsoft/calculator/blob/ac5292cf88e958c15c34c6a6236766fe3e820126/src/CalcViewModel/StandardCalculatorViewModel.h#L34-L39
These strings are then used by the View layer in PropertyChanged event handlers, to identify if a specific property changed, e.g.
https://github.com/Microsoft/calculator/blob/ac5292cf88e958c15c34c6a6236766fe3e820126/src/Calculator/Views/CalculatorProgrammerBitFlipPanel.xaml.cpp#L69-L75
Problem
The problem with this approach is that the namespaces storing these strings are only related to the ViewModel class by the namespace name.  The strings within otherwise have no relation to the ViewModel they are supposed to be associated with.  Furthermore, namespaces can be reopened and added to at-will, meaning the ViewModel has no guarantee about what content goes in the namespace.  Correctness is left for the programmer to manually verify.
Solution
CX classes with DependencyProperties follow a common convention for implementation of the properties.  Per property, there will be a static property DependencyProperty^ *PropertyName*Property and a non-static property *Type* *PropertyName*.  Similarly, for properties that need to be referenced by name, we should define static property Platform::String^ *PropertyName*PropertyName and property *Type* *PropertyName*.
The benefit of this change is that the property name is now a static member of the ViewModel class it is associated with.  This makes sense because the property name is a part of the ViewModel as much as the property itself is also a member.  Additionally, the ViewModel has full control over what properties it names and no other parts of the program can add to the ViewModels interface.

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.


Update README with mint instructions

Update the README to include instructions for both SPM plugin and mint installation.
Open to ideas! Please offer suggestions if you have them.

Note: Good idea to not merge this PR until this one is merged.


Auto optimize when some functions depend on data?

I don't think it'll know what to do with that function in modelingtookitize, so it would skip over to other forms of analysis and probably find the sparsity at least.

I found it refuses to optimize in my case (KeplerSolve is a numerical Float64 function, solved by iterating) :
prob_1opt,alg_ = auto_optimize(prob_1)
Try ModelingToolkitization
MethodError(KeplerSolve, (α₃, α₁ * t), 0x0000000000006dfa)
┌ Warning: ModelingToolkitization Approach Failed
└ @ AutoOptimize /Users/alexey/.julia/packages/AutoOptimize/4YFOU/src/AutoOptimize.jl:65
MethodError: no method matching KeplerSolve(::Operation, ::Operation)
Stacktrace:
[1] auto_optimize(::ODEProblem{Array{Float64,1},Tuple{Float64,Float64},true,Array{Float64,1},ODEFunction{true,typeof(rot_1d_expl!),LinearAlgebra.UniformScaling{Bool},Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing},Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}},DiffEqBase.StandardODEProblem}, ::Nothing; verbose::Bool, stiff::Bool, mtkify::Bool, sparsify::Bool, gpuify::Bool, static::Bool, gpup::Nothing) at /Users/alexey/.julia/packages/AutoOptimize/4YFOU/src/AutoOptimize.jl:67
[2] auto_optimize at /Users/alexey/.julia/packages/AutoOptimize/4YFOU/src/AutoOptimize.jl:37 [inlined] (repeats 2 times)
[3] top-level scope at In[110]:1
[4] include_string(::Function, ::Module, ::String, ::String) at ./loading.jl:1091

I'd need to see code.

I think this reproduces it
using AutoOptimize
using DifferentialEquations

function odefunc1(du,u,p,t)
    du[:] .= u
end
prob = ODEProblem(odefunc1,[0.1,0.2],(0.0,10.0))
prob,_ = auto_optimize(prob)
sol = solve(prob)

numfunc(t) = sol(t)[end]

function odefunc2(du,u,p,t)
    du[:] .= numfunc(t).*u
end

prob = ODEProblem(odefunc2,[0.1,0.2],(0.0,10.0))
prob,_ = auto_optimize(prob)
sol = solve(prob)

The second auto_optimize needs mtkify=false, gpuify=false to work on my system.

I should try to make my code smaller, but so far it is:
From here: https://github.com/agoldin/2006HY51
using DifferentialEquations;
using AutoOptimize;
T = 4.17*365.25
n = 2*π /T;   # mean motion of asteroid  rad/day, period of 4.17 years
e = 0.9684;
σ = 0.2;
M(t, n) = mod(nt, 2pi);
Ta(E, e) = 2 atan(sqrt((1 + e)/(1 - e))* sin(E/2.),cos(E/2.))
Read http://murison.alpheratz.net/dynamics/twobody/KeplerIterations_summary.pdf
Efficiently solve M = y - esin(y)
function KeplerStart3(e::Float64, M::Float64)
t34=ee
t35 = et34
t33= cos(M)
M+(-.5t35+e+(t34+1.5t33*t35)*t33)*sin(M);
end
function eps3(e::Float64,M::Float64,x::Float64)
t1 = cos(x);
t2 = -1+e*t1;
t3 = sin(x);
t4 = e*t3;
t5 = -x+t4+M;
t6 = t5/(.5*t5*t4/t2+t2);
t5/((.5*t3 - 1.0/6*t1*t6)*e*t6+t2);

end;
function KeplerSolve( e::Float64, M::Float64)#; tol=1.0e-14 )
tol=1.5e-14
Mnorm = mod(M,2π)
E0 = KeplerStart3(e,Mnorm);
dE = tol + 1.0;
count = 0;
E = E0;
while dE > tol
E = E0 - eps3(e,Mnorm,E0);
dE = abs(E-E0);
E0 = E;
count = count + 1;
if count >10
return E
end
end
return E

end
function rot_1d_expl!(du, u, p,t)
n,σ,e = p
e_anom = KeplerSolve(e, n*t)
du[1] = -3.0/2.0*n^2*σ/((1.0 - e*cos(e_anom))^3.0)*(sin(2*u[2] - 2*Ta(e_anom,e)))
du[2] = u[1] # u[1] - velocity, u[2] - angle
nothing

end
tspan = [-T/2,T/2]
u0 = [800.0n, π1.5]
params = [n,σ, e]
save_at = range(tspan[1],stop=tspan[2],length=100000);
prob_1 = ODEProblem(rot_1d_expl!,u0, tspan,params )
prob_1opt,alg_ = auto_optimize(prob_1)

I managed to express solution for eccentric anomaly as DAE. auto_optimize works if solution is expressed in form of mass matrix problem, but does not work for DAEProblem yet. Impressive piece of software though, it will hopefully get even better.

I managed to express solution for eccentric anomaly as DAE. auto_optimize works if solution is expressed in form of mass matrix problem, but does not work for DAEProblem yet.

Yes, right now it's just on ODEProblem, but when I get a second I'll extend it to some others.


hisat2 index to temp

After the seminar today, what is your feeling, should be go ahead and change the wrapper to copy indexes over, or just leave it as it is?

Leave as is for indexes I think.


[SPARK-36379][SQL] Null at root level of a JSON array causes the parsing failure (w/ permissive mode)

What changes were proposed in this pull request?
This PR proposes to fail properly so JSON parser can proceed and parse the input with the permissive mode.
Previously, we passed nulls as are, the root InternalRows became nulls, and it causes the query fails even with permissive mode on.
Now, we fail explicitly if null is passed when the input array contains null.
Note that this is consistent with non-array JSON input:
Permissive mode:
spark.read.json(Seq("""{"a": "str"}""", """null""").toDS).collect()

res0: Array[org.apache.spark.sql.Row] = Array([str], [null])

Failfast mode:
spark.read.option("mode", "failfast").json(Seq("""{"a": "str"}""", """null""").toDS).collect()

org.apache.spark.SparkException: Malformed records are detected in record parsing. Parse Mode: FAILFAST. To process malformed records as null result, try setting the option 'mode' as 'PERMISSIVE'.
	at org.apache.spark.sql.catalyst.util.FailureSafeParser.parse(FailureSafeParser.scala:70)
	at org.apache.spark.sql.DataFrameReader.$anonfun$json$7(DataFrameReader.scala:540)
	at scala.collection.Iterator$$anon$11.nextCur(Iterator.scala:484)

Why are the changes needed?
To make the permissive mode to proceed and parse without throwing an exception.
Does this PR introduce any user-facing change?
Permissive mode:
spark.read.json(Seq("""[{"a": "str"}, null]""").toDS).collect()

Before:
java.lang.NullPointerException
	at org.apache.spark.sql.catalyst.expressions.GeneratedClass$GeneratedIteratorForCodegenStage1.processNext(Unknown Source)
	at org.apache.spark.sql.execution.BufferedRowIterator.hasNext(BufferedRowIterator.java:43)
	at org.apache.spark.sql.execution.WholeStageCodegenExec$$anon$1.hasNext(WholeStageCodegenExec.scala:759)

After:
res0: Array[org.apache.spark.sql.Row] = Array([null])

NOTE that this behaviour is consistent when JSON object is malformed:
spark.read.schema("a int").json(Seq("""[{"a": 123}, {123123}, {"a": 123}]""").toDS).collect()

res0: Array[org.apache.spark.sql.Row] = Array([null])

Since we're parsing one JSON array, related records all fail together.
Failfast mode:
spark.read.option("mode", "failfast").json(Seq("""[{"a": "str"}, null]""").toDS).collect()

Before:
java.lang.NullPointerException
	at org.apache.spark.sql.catalyst.expressions.GeneratedClass$GeneratedIteratorForCodegenStage1.processNext(Unknown Source)
	at org.apache.spark.sql.execution.BufferedRowIterator.hasNext(BufferedRowIterator.java:43)
	at org.apache.spark.sql.execution.WholeStageCodegenExec$$anon$1.hasNext(WholeStageCodegenExec.scala:759)

After:
org.apache.spark.SparkException: Malformed records are detected in record parsing. Parse Mode: FAILFAST. To process malformed records as null result, try setting the option 'mode' as 'PERMISSIVE'.
	at org.apache.spark.sql.catalyst.util.FailureSafeParser.parse(FailureSafeParser.scala:70)
	at org.apache.spark.sql.DataFrameReader.$anonfun$json$7(DataFrameReader.scala:540)
	at scala.collection.Iterator$$anon$11.nextCur(Iterator.scala:484)

How was this patch tested?
Manually tested, and unit test was added.

cc @MaxGekk and @cloud-fan

Test build #141947 has started for PR 33608 at commit 8e2d903.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46457/

Test build #141950 has started for PR 33608 at commit 66087b6.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46457/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46461/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/46457/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46461/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/46461/

Test build #141947 has finished for PR 33608 at commit 8e2d903.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141947/

Test build #141950 has finished for PR 33608 at commit 66087b6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141950/

Merged to master/3.2.

Hi, @HyukjinKwon . Could you make a PR to branch-3.1?
[error] /Users/dongjoon/APACHE/spark-merge/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/json/JacksonParser.scala:447:38: not found: value QueryExecutionErrors
[error]       if (isRoot && v == null) throw QueryExecutionErrors.rootConverterReturnNullError()
[error]                                      ^
[error] one error found

oops sure, thanks!

It's only about backporting to branch-3.1~


acorn projects use - to switch back to my previous projects

I find git's git checkout - to switch back to the previous branch I was on very convenient. Would be nice to have this for acorn projects use

Tested with acorn version v0.9.2-36-g3ff45929+3ff45929
Able to use acorn projects use - to switch back to the previous projects.


New release?

Hi @benlangfeld  , any possibility of a new tag and rubygems.org release of what's currently in master?
Best,
Lourens

That would be nice.

v0.10.0 was just released: https://github.com/javan/whenever/blob/master/CHANGELOG.md#0100--november-19-2017


Highlighting for EPP

Puppet (or epuppet) templates are an integral part of Puppet.
I don't get any highlighting in .epp files, am I doing something wrong or is this not supported by this integration?

embedded languages are always a pain point since the inner embedded highlight is done by determining the extension. This would be best written in your own config or as a standalone plugin, to register the epp filetype as epuppet, take the embedded template parser and parse that code, then inject puppet into code regions. It's out of the scope of the grammar though, so I'll close this out

embedded languages are always a pain point since the inner embedded highlight is done by determining the extension. This would be best written in your own config or as a standalone plugin, to register the epp filetype as epuppet, take the embedded template parser and parse that code, then inject puppet into code regions. It's out of the scope of the grammar though, so I'll close this out

I understand from your reaction that it is not straightforward for me to set this up?
I have no experience writing plugins, unfortunately.
btw epp is already registered as epuppet (checked :set ft?)


make build reproducible

by allowing build systems to use a constant date instead of the current one
see https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable
This call is designed to work with GNU date. If BSD support is a concern, it can be added.

@bmwiedemann Thank you for pointing out that flaw in the macro, but if you intended to make our build reproducible there are occurrences of __DATE__ and  __TIME__ in the code.

@freerdp-bot test please!

Ok, used your commit and added reproducible build date witn #3715

On 2017-01-23 09:36, akallabeth wrote:

if you intended to make our build
reproducible there are occurrences of |DATE| and |TIME| in the code.

that is fine, because gcc already has a patch to override those.

@bmwiedemann @akallabeth I think one of the issues might also be the usage of FILE which might vary depending on the build machine.

@bmiklautz yes, that can be a source of unreproducibility and Debian guys care about that, but at least on the openSUSE side we do not care about that, because we have a standardized build environment that always uses the same build path.


Support für Arp-Responder

This is the second pull request of the series to get the DVR Support.

new pull request #219


Post release automated changes for devopsinfrastructure releases

Post release automated changes for azure-arm-devopsinfrastructure

API change check
API changes are not detected in this pull request.


Add CI to publish fuelup-init.sh

I ran this in CI before force-pushing to clean up the very ugly history 😂
You can find the file here! https://github.com/FuelLabs/fuelup/tree/gh-pages, and the command in the readme works as of this PR:
curl --proto '=https' --tlsv1.2 -sSf https://fuellabs.github.io/fuelup/fuelup-init.sh

Going to wait for @binggh to confirm since he's most familiar with the setup

gm


The website in plugin.json

I think that the website in plugin.json should point to this repo (https://github.com/Quriz/PowerToysRunScoop)
https://github.com/Quriz/PowerToysRunScoop/blob/233d74a7cbaf061d47f7df36c086f8f4461a7b49/plugin.json#L9
I don't know where the website is used in PowerToys, but I think is a nice touch point to the source code.

However, the community plugins in the main repo does not do so:
https://github.com/microsoft/PowerToys/blob/3299ecfece9128cfd6791bacee1351b1c9a32c73/src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.UnitConverter/plugin.json#L9


Migrated commit_represent to S3Represent

@nursix done

This is the right concept - but a sloppy implementation of it ;)
You should always test your code before submitting a PR - and this code can not work, so you either didn't test it, or you ignored that it doesn't work ;)

Actually @nursix I did tried to test it, but I think they way I tested it is wrong, sorry for that.

@anurag-ks - generally no problem to ask for feedback on the concept by tagging me in a comment to your commit before submitting a PR. But for a PR, stuff should be working.
You could try to write a unit test for this (even if just as an exercise) - this would give you immediate feedback while refactoring things.

@nursix just a doubt, these represent classes/functions are used for custom rendering of data values for data-tables or exporting data, right ? But on enabling the commit_id field on /eden/req/commit gives me None

for req/commit there is no 'commit_id' field, there is an 'id' field which in other  places would be seen as a commit_id

these represent classes/functions are used for custom rendering of data values for data-tables or exporting data, right ?

yes

Okay so commit_id is for components, but it's not there on the data tables.
To be honest I haven't written any unit tests before (only automation stuff), so I was checking out other ways to test it.

A unit test would create a test req_commit record, and then run req_CommitRepresent against the record ID. Then check whether the return value is correct, and finally remove the test record.
That's all there is to it, nothing fancy.

There are over 500 examples of unit tests in modules/unit_tests and plenty of documentation for the Python unittest module. It's not rocket science - the trick is just to understand what you're trying to prove with the test and implement a valid test.

And I said that with the unittest only to spare you the effort of digging for a case where it is visible, because I understood that you couldn't find one. In fact, there may not be one ;)


Integrating a Meta Service.

Creating a new Service that uses the ObjectDetection Service with the ImageRecon Service to deliver a more complete image analysis.

Trying to figure out a way to charge the user only for the Meta Service and use this initial fee to call for all other services.
Right now the user pays for Meta and then for each service separately (the user identity has to be sent from Meta to all services).

This isn't explicitly supported, but you can ask Tesfa and Joel on slack if there's a better way (Tesfa wrote a service that calls Joel's face services)

I just found something that may cause some pain for us with gRPC.
Unfortunately gRPC doesn't support fork() neither Popen() after a connection is made.
#15334
#13873
If I try to use them inside my service's gRPC server, it trows an:
154 tcp_server_posix.cc:210]    Failed accept4: Invalid argument
I'm working on a service that calls another service (it must be able to call snet client call ...).
My "for now" solution is to use subprocess.run() instead.

Now gRPC supports client side fork().
Releases
Maybe the server side (our "service side") will be released soon.
PR with MetaService Implementation and Tutorial: #14


Add example for running multiple renderers inside threlte

As discussed in Discord, here is an example based on le grisch's tip from back in May. The example shows how to run CSS2DRenderer in Threlte, applying HTML elements for use as flat labels on 3d objects inside a scene.
I have done my best to follow the style of the existing examples; please let me know if there's anything else you'd like to see.

That's super useful! Looks almost ready to merge at a first glance, could you just change the styling on the buttons? I think something went wrong here😄

@jerzakm - Ah, whoops. I have a browser extension for dark themes, it was inverting the background color on my screen. Pushed a fix.

Still not the prettiest thing, but is a bit more eye-catching than the flat grey buttons. :D

Still not the prettiest thing, but is a bit more eye-catching than the flat grey buttons. :D

If you make one end of the gradient a darker shade of the same hue, it would look nicer. Maybe try #4e6cf4 and #1338db?

If you make one end of the gradient a darker shade of the same hue, it would look nicer. Maybe try #4e6cf4 and #1338db?

Colors updated.
Feels like we're getting close here, good improvements all around.

Aha, figured out (by asking) what the three slot is for, and added an example usage to the scene. Now we have threlte components nested inside our CssObject. I added a ball to each corner we're labeling.

Excellent work, one last thing (and I feel a little bad bringing up such a tiny issue after you have done such great work):

Indentation here is off for some reason.

Excellent work, one last thing (and I feel a little bad bringing up such a tiny issue after you have done such great work):
Indentation here is off for some reason.

Fixed! My editor seems to want to switch to tabs rather than spaces today for some weird reason! And no worries, I understand on a deep level needing the indentation to be correct, would drive me nuts too. :D


slaughterhouse preset

https://wiki.openstreetmap.org/wiki/Tag:industrial%3Dslaughterhouse

Ahhh another one where somebody put a building style feature with landuse=industrial 👎
Can we change this before it gains traction?

This tag is for large industrial slaughterhouse. There is nothing wrong with it. Should be used on area, not on a building. Kind of man_made=works.
For small slaughterhouses (ie. building) wiki allows to use shop=butcher.

Ok, I see now that it's one of these: https://wiki.openstreetmap.org/wiki/Key:industrial
I guess there is no use complaining anymore about how none of these things are landuse.  We can support these presets in a way similar to what we had to do for the landuse=military ones.

Following the logic  here and in https://github.com/openstreetmap/iD/issues/3387 we can now really simplify the presets and remove all shop presets and replay with landuse=retail. I think that is a really good idea (not).

Following the logic here and in #3387 we can now really simplify the presets and remove all shop presets and replace them with landuse=retail. I think that is a really good idea (not).

I'm confident that if you make a wiki proposal and a handful of sockpuppet wiki accounts, you can get it "approved" 👍 😆


Solarized LS_COLORS persist with set -U yimmy_solarized false

Since the LS_COLORS are being hardcoded as a part of the fish_prompt function without a check for yimmy_solarized, you see solarized colors even if you don't use solarized.
I would personally recommend defaulting to false, and only setting LS_COLORS or other solarized colors when set to true.

Thanks for pointing this out, that does seem like a bug.


Add panel - image to design system

Ticket added to keep track of new design system components - unnecessary for dashboard, not part of initial set up to start using design system external to dashboard.

Work was done outside of this ticket by prometheus, closing as duplicate.


supply tries to set :apk even if :aab is explicitly provided (or if the file doesn't exist)

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

If you run gradle(), it will populate APK output paths, which supply() uses to fill :apk. However, if you subsequently run gradle() with "clean" to generate a bundle, the APK paths are still cached, and supply throws an error
Command executed
In one lane, I'm currently building an APK for distribution to Firebase, and a bundle for uploading to the Play Store, so I don't have a single command here. However, I glanced through the code for upload_to_play_store and I believe my assessment above is correct. Probably, we should skip using the SharedValues::GRADLE_APK_OUTPUT_PATH etc if they don't exist.
Complete output when running fastlane, including the stack trace and command used
(omitted, see above)
Environment
✅ fastlane environment ✅
Stack

Key
Value

OS
10.15.3

Ruby
2.5.5

Bundler?
false

Git
git version 2.21.1 (Apple Git-122.3)

Installation Source
/usr/local/Cellar/fastlane/2.141.0/libexec/bin/fastlane

Host
Mac OS X 10.15.3 (19D76)

Ruby Lib Dir
<EMAIL_ADDRESS>

OpenSSL Version
OpenSSL 1.1.1d  10 Sep 2019

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
11.3.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

default_platform(:android)

REPO = "interspace/veetoo"
BETA_NOTES_FILE = ".last-beta-notes"
APK_PATH = "../app/build/outputs/apk/prod/release/app-prod-release.apk"
AAB_PATH = "../app/build/outputs/bundle/prodRelease/app-prod-release.aab"

platform :android do
  before_all do
    gradle = File.open("../build.gradle").read
    versionName = gradle.match(/versionName: "(.*)"/) { |m| m.captures[0] }
    versionCode = gradle.match(/versionCode: (\d*),/) { |m| m.captures[0] }
    Actions.lane_context["GIT_TAG"] = "ff/#{versionName}"
    Actions.lane_context["VERSION_NAME"] = versionName
    Actions.lane_context["VERSION_CODE"] = versionCode
    Actions.lane_context["RELEASE_NOTES_PATH"] = "metadata/android/en-US/changelogs/#{versionCode}.txt"

    # ensure a github token:
    if not ENV["GITHUB_TOKEN"]
      UI.message "Trying to read GH token from #{ENV["HOME"]}/.config/hub"
      config = File.open("#{ENV["HOME"]}/.config/hub").read
      ENV["GITHUB_TOKEN"] = config.match(/oauth_token: (.*)$/) { |m| m.captures[0] }
    end
    UI.user_error! "No GITHUB_TOKEN found." unless ENV["GITHUB_TOKEN"]

  end

  desc "Verify version has been updated"
  private_lane :verify_version do |options|
    versionName = Actions.lane_context["VERSION_NAME"]
    versionCode = Actions.lane_context["VERSION_CODE"]

    tagExists = git_tag_exists(tag: Actions.lane_context["GIT_TAG"])

    if tagExists
      UI.user_error! "Tag for version #{versionName} already exists!"
    else
      UI.message "New version #{versionName} ##{versionCode}"
    end

    not tagExists
  end

  desc "Create release notes in vim"
  private_lane :release_notes_vim do
    UI.user_error! "Release notes for ##{Actions.lane_context["VERSION_CODE"]} already exist!" if File.exists?(Actions.lane_context["RELEASE_NOTES_PATH"]) && !File.exists?(BETA_NOTES_FILE)

    notes = File.open(BETA_NOTES_FILE).read if File.exists?(BETA_NOTES_FILE)

    if not notes
      notes = changelog_from_git_commits(
        pretty: "- %s",
      ).downcase
      notes = "hello there! here's what we've got today:\n\n#{notes}\n\nenjoy!\n\n*byte team"

      system({"VIM_RELEASE_NOTES" => notes},
             'vim', BETA_NOTES_FILE,
             "-c", "silent put=$VIM_RELEASE_NOTES")
    else
      # notes file exists already; just edit it
      system('vim', BETA_NOTES_FILE)
    end
    system('reset')

    if not File.exists?(BETA_NOTES_FILE)
      UI.user_error! "No release notes written"
    end

    # copy to correct path
    sh "cp", BETA_NOTES_FILE, Actions.lane_context["RELEASE_NOTES_PATH"]

    next unless verify_release_notes

    File.exists?(BETA_NOTES_FILE)
  end

  desc "Ensure that release notes for the current version exist"
  private_lane :verify_release_notes do
    notes = File.open(Actions.lane_context["RELEASE_NOTES_PATH"]).read
    UI.user_error! "No release notes for v#{"VERSION_CODE"}!" unless notes
    Actions.lane_context["RELEASE_NOTES"] = notes
  end

  desc "Create a github release with the tag and release notes"
  private_lane :github_release do
    next unless verify_release_notes

    # verify this is a new release
    UI.user_error! "Release #{Actions.lane_context["GIT_TAG"]} already exists!" if git_tag_exists(tag: Actions.lane_context["GIT_TAG"])

    # create the tag
    add_git_tag(
      tag: Actions.lane_context["GIT_TAG"],
      message: Actions.lane_context["RELEASE_NOTES"]
    )
    push_to_git_remote(tags: true)

    # find assets (TODO: contribute from lanes?)
    assets = []
    if File.exists?(APK_PATH)
      # use the absolute path, since github_release seems like it
      # runs in the project root
      assets << File.realpath(APK_PATH)
    else
      UI.important "APK not found"
    end

    UI.important assets

    # create the release
    set_github_release(
      repository_name: REPO,
      name: Actions.lane_context["GIT_TAG"],
      tag_name: Actions.lane_context["GIT_TAG"],
      api_token: ENV["GITHUB_TOKEN"],
      description: Actions.lane_context["RELEASE_NOTES"],
      upload_assets: assets,
    )
  end

  desc "Submit a new Beta Build to Firebase App Distribution"
  private_lane :firebase do
    verify_release_notes
    gradle(task: "clean assembleProdRelease")

    apk = File.realpath(APK_PATH)
    firebase_app_distribution(
      app: "1:236591221969:android:35d4d211a6d01aca",
      groups_file: "beta-data/firebase-ff-beta.groups",
      release_notes: Actions.lane_context["RELEASE_NOTES"],
      apk_path: apk
    )

    # explicitly clear apk paths from context to prevent
    # upload_to_play_store from trying to use them
    Actions.lane_context[SharedValues::GRADLE_ALL_APK_OUTPUT_PATHS] = nil
    Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH] = nil
  end

  desc "Deploy a new version to the Google Play Alpha track"
  private_lane :alpha do
    verify_release_notes
    gradle(task: "clean bundleProdRelease")

    aab = File.realpath(AAB_PATH)
    upload_to_play_store(
      track: 'alpha',
      aab: aab,
      skip_upload_apk: true,
      skip_upload_metadata: true,
      skip_upload_images: true,
      skip_upload_screenshots: true,
    )
  end

  desc "Fetch release notes from a github release"
  private_lane :fetch_github_release do
    release = get_github_release(
      url: REPO,
      version: Actions.lane_context["GIT_TAG"],
      api_token: ENV["GITHUB_TOKEN"],
    )
    Actions.lane_context["RELEASE_NOTES"] = release['body']
    File.open(Actions.lane_context["RELEASE_NOTES_PATH"], 'w') { |f|
      f.puts Actions.lane_context["RELEASE_NOTES"]
    }
  end

  desc "Runs all the tests"
  lane :test do
    gradle(task: "testProdRelease")
  end

  desc "Promote the Google Play Alpha track to Production"
  lane :promote do
    upload_to_play_store(
      track: 'alpha',
      track_promote_to: 'production',
      version_code: Actions.lane_context["VERSION_CODE"],
      skip_upload_apk: true,
      skip_upload_metadata: true,
      skip_upload_images: true,
      skip_upload_screenshots: true,
    )
  end

  desc "Partially Promote the Google Play Alpha track to Production"
  lane :promote_partial do |options|
    upload_to_play_store(
      track: 'alpha',
      track_promote_to: 'production',
      release_status: 'inProgress',
      rollout: options[:percent] || "0.2",
      version_code: Actions.lane_context["VERSION_CODE"],
      skip_upload_apk: true,
      skip_upload_metadata: true,
      skip_upload_images: true,
      skip_upload_screenshots: true,
    )
  end

  desc "One-stop test and deploy for Firebase ONLY"
  lane :deploy_firebase do
    next unless verify_version
    next unless release_notes_vim
    test
    firebase
    github_release

    File.delete(BETA_NOTES_FILE)
    UI.message "Done!"
  end

  desc "Test and deploy from CI --- requires release notes already created"
  lane :deploy_ci do
    fetch_github_release
    next unless verify_release_notes

    test
    firebase
    alpha
    UI.message "Done!"
  end

  desc "One-stop test and deploy"
  lane :deploy do
    next unless verify_version
    next unless release_notes_vim

    test
    firebase
    alpha
    github_release

    File.delete(BETA_NOTES_FILE)
    UI.message "Done!"
  end
end

`./fastlane/Appfile`
json_key_file(".publishing/play-service-key.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
package_name("co.byte") # e.g. com.krausefx.app

fastlane gems

Gem
Version
Update-Status

fastlane
2.142.0
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-firebase_app_distribution
0.1.4
✅ Up-To-Date

Loaded gems

Gem
Version

slack-notifier
2.3.2

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.6.1

terminal-table
1.8.0

plist
3.5.0

CFPropertyList
3.0.2

public_suffix
2.0.5

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-cursor
0.7.1

tty-spinner
0.9.3

babosa
1.0.3

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.72.0

faraday
0.17.3

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.13.1

fastimage
2.1.7

gh_inspector
1.1.3

json
2.3.0

mini_magick
4.10.1

multi_xml
0.6.0

rubyzip
1.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.7.5

bundler
2.1.4

jwt
2.1.0

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mini_mime
1.0.2

multi_json
1.14.1

signet
0.12.0

memoist
0.16.2

os
1.0.1

googleauth
0.10.0

httpclient
2.8.3

google-api-client
0.36.4

google-cloud-env
1.3.0

google-cloud-errors
1.0.0

google-cloud-core
1.5.0

digest-crc
0.4.1

google-cloud-storage
1.25.1

emoji_regex
1.0.1

nanaimo
0.2.6

colored2
3.1.2

claide
1.0.3

atomos
0.1.3

xcodeproj
1.15.0

tty-screen
0.7.1

naturally
2.2.0

simctl
1.6.8

fastlane-plugin-firebase_app_distribution
0.1.4

generated on: 2020-02-21

Another idea is if gradle is fun with the clean task we should clear any previously-set outputs?

Are you saying that if you run gradle and it does not output an APK, it should unset any potentially already present values in the SharedValues?

Are you saying that if you run gradle and it does not output an APK, it should unset any potentially already present values in the SharedValues?

Or rather, if running gradle deletes an APK that was previously output, the lane state should be updated to reflect that. You could run gradle("assemble") then gradle("bundle") and both APK and AAB might exist, but if you ran gradle("clean assemble") then gradle("clean bundle"), the APK would be removed by the second clean, and having the APK in the lane context might lead subsequent actions to think it exists when it has, in fact, been deleted.

Uh, are there any other commands than clean that could get rid of the file? Will clean always get rid of the file? (My Android days were a bunch of years ago...)

clean is the default, but people can make their own commands so there's probably no way to actually predict based on that. Sorry for the noise; it was a long day yesterday.
It may be safest to just verify that the paths actually exist after running the gradle command? I'm not terribly familiar with ruby but this might be the culprit:
        Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH] = File.expand_path(last_apk_path) if last_apk_path

If I'm reading this correct, but it seems that if last_apk_path is nil, the context will be left unchanged?

Almost, this basically says "if last_apk_path ha been set before, write it to the SharedValues". There is no checking if the file exists yet - but adding that could potentially solve the problem you are describing I think.


Add PHP 8.2

Allows PHP 8.2
Change Profile

Question
Answer

New feature
no

Bug fix
no

BC breaks
no

Description
Add PHP 8.2 to the list
Reason
PHP 8.2 is out for 9 months now

Thanks @BrunoSpy !


Silliman__added newVariable() with docstring comment

This is the python function comment standard, a docstring created by 3 quotes creating a block comment INSIDE the function.  This becomes helpful when debugging from automatic function testing.

looks good


multimedia: remove module specific cache

The multimedia module does not makes use of invenio.ext.cache but instead uses it's own implementation:
https://github.com/inveniosoftware/invenio/blob/master/invenio/modules/multimedia/api.py#L590
@drjova Will you have time to fix it?

Seems to only be a few calls that must be changed in restful.py

@lnielsen yes, please assign me. Actually we should completely remove it and use the Flask-IIIF extension.

Great. Thanks a lot.
I think we can remove it without requiring deprecation since it's been in PACKAGES_EXCLUDE.
/cc @jirikuncar

since it's been in PACKAGES_EXCLUDE.

Please just keep invenio/modules/multimedia/__init__.py with active deprecation message.

:+1:

WIP #2924

I think we could close this issue
cc @jirikuncar, @lnielsen


Why not all authorization requirements included in ForbiddenResponseOperationFilter?

Why only these requirements are included?

Forbidden means you have access to the site but you are not allowed to access the resource within the site. Are there other you think should be included?

Why not just check for any IAuthorizationRequirement?

You don't want to include DenyAnonymousAuthorizationRequirement because that produces a 401 (See code).
Also we can't be sure if any custom requirements a developer creates should create a 401 or 403, so I'm very explicit here about types that should create a 403.

I thought that requirement must produce 403 only

DenyAnonymousAuthorizationRequirement means you must be logged in which translates to a 401. Everything else is a 403 i.e. you don't have access to that resource.


Enhance EarningsTracker with time buckets and primary volume

This PR moved to https://github.com/ZmnSCPxj/clboss/pull/231, wrong branch here, apologies ...

Replaced by https://github.com/ZmnSCPxj/clboss/pull/231


fix: Can't go back to the root page after invoke setState()

https://github.com/famedly/wupper/issues/7
I've made some attempts to circumvent this error, but I'm sure there's a more elegant way to handle it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.luban seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Upload pipeline-service images to multiple repos

Currently, we are storing our images in quay.io.
Short names for container images comes with the potential risk of an outsider uploading an image with the same name in another image registry which could be a potential security threat at the user's end.
If we don't claim redhat-pipeline-service on ghcr.io and docker (other image registry?), someone could claim it, push tainted images there, and an unsuspecting user doing a pull docker redhat-pipeline-service/setup_compute:latest could open themselves to harm.
In order to avoid this, we need to upload our images to multiple image registries.
https://www.redhat.com/sysadmin/container-image-short-names
https://www.redhat.com/en/blog/be-careful-when-pulling-images-short-name

@ramessesii2 We've decided against uploading our images to other registries, but we've secured access to some organizations on various image registries to prevent that type of squatting.
Do you think that's good enough to close this issue?

@Roming22 @ramessesii2 Yes, we have created orgs in other registries and that is good enough for now. Good to close this one.


Automated cherry pick of #8545

Cherry pick of #8545 on cloud.
/cc  @mickmister
NONE

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.


Image Picker with newArchEnabled=true breaks the build on RN 0.70.13

When using React native image picker with RN .70.13 breaks the build.
buildToolsVersion = "31.0.0"
minSdkVersion = 21
compileSdkVersion = 31
targetSdkVersion = 31
    if (System.properties['os.arch'] == "aarch64") {
        // For M1 Users we need to use the NDK 24 which added support for aarch64
        ndkVersion = "24.0.8215888"
    } else {
        // Otherwise we default to the side-by-side NDK version from AGP.
        ndkVersion = "21.4.7075529"
    }

I'm faceing this problem too, but I tryied to run the library whitout set the newArEnabled to true. it worked just to pick image but not os take picture. what is the solution to solve this?


Corrected to "Wide World Importers"

Corrected "World Wide Importers" to "Wide World Importers"

@cathrinew : Thanks for your contribution! The author, @rothja, has been notified to review your proposed change.

Reviewed editorial correction.


pull request for e2e test at 12/29/2016 00:56:14

:white_check_mark: Validation status: passed
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.


Azure types as Bicep types

Following builds a NSG security rule with a user defined function:
resource ruleDenyInbound 'Microsoft.Network/networkSecurityGroups/securityRules@2023-05-01' = {
  parent: nsg
  name: 'DenyInbound'
  properties: netfunc.buildNsgRuleDenyInboundAnyAny(4096)
}

The function looks like this:
func buildNsgRuleDenyInboundAnyAny(priority int) object => {
  description: 'Deny inbound traffic. Any protocol, any address, any port.'
  protocol: '*'
  sourcePortRange: '*'
  destinationPortRange: '*'
  sourceAddressPrefix: '*'
  destinationAddressPrefix: '*'
  access: 'Deny'
  priority: priority
  direction: 'Inbound'
}

How cool would it be if, instead of having an object output type, i would be able to use the actual Azure type, so in this case the securityrulepropertiesformat:
import 'Microsoft.Network@2023-05-01' as aznet

func buildNsgRuleDenyInboundAnyAny(priority int) aznet.securityrulepropertiesformat => { etc... }

... then we could build a strongly-typed libary containing all sorts of great functions with the best-practices and needs of users. We then could even reference them in parameters:
param myNetworkRule aznet.securityrulepropertiesformat

You could achieve something like this with:
type nsgRule =<EMAIL_ADDRESS>
func a (priority int) nsgRule => {
  id: '...'
  name: '...'
  properties: {
    description: 'Deny inbound traffic. Any protocol, any address, any port.'
    protocol: '*'
    sourcePortRange: '*'
    destinationPortRange: '*'
    sourceAddressPrefix: '*'
    destinationAddressPrefix: '*'
    access: 'Deny'
    priority: priority
    direction: 'Inbound'
  }
}

@mattias-fjellstrom thank you 🥇! Looks great and exactly what i was looking for, so i guess i'm already going to close this one.


Add kdata() method to cspyce class

This will allow us to query the currently loaded kernels.  At present I do not think there is a way to get that information beyond tracking furnishes and unloads.  I suspect this is not difficult, it just hasn't been needed to date.

Actually, looks like it's there now.


Ios async rest call never returns after upgrade to 4.0.0

I love Refit and have been using it for my X.F. project. Recently I moved from PCL to .net standard for my shared code. I use Refit in combination with ModernHttpClient and up to version 3.1.0 all works fine. After upgrade to 4.0.0 or higher on Ios only my async rest calls seems to be awaiting for ever. I have added a working basic example project to demonstrate the issue, the rest call never returns. If you downgrade refit to 3.1.0 it will work. On android it is not a problem
My Interface:
    [Get("/posts/{postId}")]
    Task<PostModel> GetPostAsync(int postId);

My Code:
   var testApi  = RestService.For<ITestApi>(new HttpClient(new NativeMessageHandler()) {
                          BaseAddress = new Uri("https://jsonplaceholder.typicode.com") });

   var post1 = await testApi.GetPostAsync(1);
   // With Refit 3.1.0 above line works fine
    // With Refit 4.0.0 and higher above line seems to await for ever

RefitTest.zip

I've had this exact problem after updating to 3.1.0 so perhaps not limited to 4.0.0.

Deleted my previous comment as my libraries have indeed been updated to 4.0.1. I'm seeing the same issue and as above only on iOS, Android works fine.

If you look with Fiddler, what do you see? Is the request actually being fired?

Also, I wonder if this is related to another issue: https://github.com/paulcbetts/refit/issues/347

Issue #347 is IOS only but that is the only resemblance.

In my case version 2.4.1 has no problem while the other do.
Also in the other issue an exception is throw while in my case it does not.
So my feeling is that it is unrelated.

If you look with Fiddler, what do you see? Is the request actually being fired?

I used nettop to monitor the network traffic that the ios simulator is generating and yes the request is being fired.
With refit 3.x i see a connection with the backend "https://jsonplaceholder.typicode.com" = <IP_ADDRESS>:443 is being made en data is returned.

With refit 4.x i see the same connection but the call never returns

I just created a new sample app using Refit 4.0.1. Making a POST call to https://requestb.in which works as expected. The call returns just fine. Do you have a reproduction sample we can use?

Do you have a reproduction sample we can use?

Yes see the end of my first post: https://github.com/paulcbetts/refit/files/1283667/RefitTest.zip
One small update, change the line:
mainLabel.Text = post1.title
into
Device.BeginInvokeOnMainThread(() => mainLabel.Text = post1.title);

The issue is with ModernHttpClient, not Refit.

You are right, when I remove ModernHttpClient it does work indeed!

Also this was without ModernHttpClient. Not going to add it since it is not maintained and broken on Android. You shouldn't use it...

Do you have any reference of the above?
I thought that ModernHttpClient was improving everything by using the native httpclient but it if you are right it makes things worse.

Just go to the modernhttpclient repo, and see that it has been inactive for ages.
Xamarin provides its own native client handlers, which you should use instead.

For now I removed ModernHttpClient and all works fine.

Xamarin provides its own native client handlers, which you should use instead.
Does this mean I can replace modernhttpclient with an other "native" httpclient to improve the performance? Do you have an example or where can I find the documentation?

Both HttpClientHandler and NSUrlSessionHandler work as expected.
Is this what you mean with "Xamarin provides its own native client handlers, which you should use instead." ?
How should I use this? Can you share the example project you made to test this issue?

I too have been using the ModernHttpClient based on a number of posts on the web. Can I respectively suggest that the repo and maybe nuget pages for ModernHttpClient be updated to reflect your advice that it isn't maintained and to avoid using it. Thanks.

I don't have access to that repo, nor the nugets.


parsing issue

Greetings,
i am writing a parser for RDF-Turtle and i am having  the same issue in two grammars.
i will write simple version of the grammer
_:' (upper |digit) ((upper | '.')* upper)?

and i want to implement it with PEGTL
i tried to implement it as the following
struct BLANK_NODE_LABEL : seq<
    one<'_'>,
    one<':'>,
    sor< upper, digit >,
    opt<
        star<
            sor< upper, one<'.'> >,
            upper
        >
    >
>

it is working for inputs consisting of even number of uppers but not working with inputs consisting of odd number of uppers
for example :
_:A                _:AAA       _:A.A       _:AAA.A     _:AAA.AAAAA                   (working)
_:A A           _:AAAA      _:AA.A     _:A.AA        _:AA.AAAA                      (not working)

it seems that when the parser is having an even number of 'upper' .it consumes one on the first 'sor' which is correct .but in the  "opt" part ,instead of  consuming it on the 'upper' part outside the 'star' and accepting the grammer.it consume it inside the 'star' part and then gives an parsing error.
how to deal with such a case using PEGTL?
thanks in advance

I reformatted your grammar, and the problem became apparent: You pass the last upper as a parameter to the star-part. But the grammar has it on the outside, so you need to move it properly. Instead of
opt<
    star<
        sor< upper, one<'.'> >,
        upper
    >
>

you need:
opt<
    star<
        sor< upper, one<'.'> >
    >,
    upper
>

So the star only allows repetition of the sor-part, and the star-part is then followed by upper - and only everything together is optional (opt).

...and I also just realize that this won't work either. OK, digging deeper: You probably try to write a PEGTL-equivalent of the following rule:
BLANK_NODE_LABEL ::= '_:' (PN_CHARS_U) | [0-9]) ((PN_CHARS | '.' )* PN_CHARS)?

Besides the difference between PN_CHARS_U and PN_CHARS (the latter not being just uppercase characters) you have one major problem in your understanding of grammars: The above is a rule from a CFG (a Context-Free Grammar) and not from a PEG (a Parsing Expression Grammar). They look extremly similar, but they have a different semantic. Hence you need to adapt those rules from CFG to PEG as otherwise the naive translation will never match the optional part as the star is greedy and eats all PN_CHARS and therefore the following PN_CHARS can never match.
A semantically correct version of the above CFG as a PEG might look like this:
BLANK_NODE_LABEL ::= '_:' (PN_CHARS_U) | [0-9]) ('.'* PN_CHARS)*

I'll leave it to you to adapt your PEGTL grammar, feel free to ask if you need more help  🙂

Thanks very much for the help.

Very interesting indeed. Thank you @d-frey for your great explanations.
Eventually I have one or two follow up question:

Do you know of any automated converter from deterministic CFGs to PEGs? Or of a good text book or cheat-sheet to do it by hand?
Apparently you found BLANK_NODE_LABEL in the turtle W3C Recommendation. Do you think a PEG is a good choice for parsing it? And can we expect to get a fast and efficient parser for the language by using PEGTL?

No, I don't know of any resources to automate translating CFGs to PEGs. And I am not sure that the result would be an efficient grammar. I just do it manually when needed and once you got the hang of it (PEGs) it's not that hard.
I think PEGs are generally preferable over CFGs, but not everyone might agree. I like that PEGs are a formal description of a recursive-decent parser, which is how I think and reason about the actual grammar. I also think that with PEGs in general and even more so with the additional options offered by the PEGTL (convenience rules and, if needed, custom rules) you can write very efficient parsers.

And one more tip for improving the efficiency: It might be more efficient (and semantically identical) to use
BLANK_NODE_LABEL ::= '_:' (PN_CHARS_U) | [0-9]) ('.'* PN_CHARS+)*

instead of
BLANK_NODE_LABEL ::= '_:' (PN_CHARS_U) | [0-9]) ('.'* PN_CHARS)*


MULTIARCH-3212: Use IBM COS as storage backend for PowerVS

Fixes https://issues.redhat.com/browse/MULTIARCH-3212

could you please sync with the author of https://github.com/openshift/cluster-image-registry-operator/pull/842 ?

could you please sync with the author of #842 ?

Yes, we did, decided to keep this PR. Will close the other one.

/cc @mkumatag @clnperez @mjturek

/retest-required

@clnperez has lgtm.
/approve
/retest

/retest-required

/retest

/lgtm

@juliemathew
Could you please add /label qe-approved here?

/label qe-approved

/label qe-approved

@alishaIBM
Could you please add /label docs-approved /label px-approved labels?

/label docs-approved

/label px-approved

/retest-required

/retest


[REVIEW] Can you review my GitHub profile?

Github Profile Link:
https://github.com/saileshbro
You can also join the discord community here
Feel free to check out other cool repositories of EddieHub Community here

Really like your profile!
Some suggestions from my side:

remove the view counter due its inaccurate

Take a look here think this repo doesn't exist anymore or something else is broken

Love that you are using the github profile as website (https://sailesh.is-a.dev)

Hey @schmelto, Thanks for your feedback. I have made changes to the profile based on your suggestions.

It looks nice, few suggestions in the hey there section

the name- I'd suggest keep it as the first point, it's kinda lost in all the points of tech and suddenly name comes
maybe the links for linkedin, facebook, twitter could go too since they are already in contact section

HI, @starlightknown  Thanks for your feedback I have made suggested changes.

Thanks for sharing 👍 , I will review on a live stream soon. Great to see the community already giving you feedback 💥

Reviewed your GitHub Profile on live stream https://www.youtube.com/watch?v=gN9SWGV8YME
Looks great some thoughts:

the GitHub profile on the left is great 👍
highlights badges seem quite busy and I always just skip over these
suggest having only 4 pinned (definitely an even number)
suggest removing the project section as a duplicate with the pinned repo section
diamond activity graph, shows very commit heavy, suggest getting involved in reviews and issues


Bump supported OperatorHub versions (#3773)

Description
#3773

How can this be tested?
#3773

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 65.06%. Comparing base (879f771) to head (f0a23f5).
Report is 1 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3832   +/-   ##
=======================================
  Coverage   65.06%   65.06%
=======================================
  Files         397      397
  Lines       21414    21414
=======================================
  Hits        13932    13932
  Misses       6143     6143
  Partials     1339     1339

Flag
Coverage Δ

unittests
65.06% <ø> (ø)

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

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


Docker Push fails - tcp lookup returns no such host

I successfully logged in to ecr but get this error when trying to push container:
$ docker push<PHONE_NUMBER>68.dkr.ecr.us-west-2.amazon.aws.com/mythicalmysfits/service:latest
The push refers to repository [906554764568.dkr.ecr.us-west-2.amazon.aws.com/mythicalmysfits/service]
Get https://906554764568.dkr.ecr.us-west-2.amazon.aws.com/v2/: dial tcp: lookup<PHONE_NUMBER>68.dkr.ecr.us-west-2.amazon.aws.com on <IP_ADDRESS>:53: no such host

I resolved the issue by changing my DNS setting on my Mac to <IP_ADDRESS>