Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs

[x] I've read, understood, and done my best to follow the *CONTRIBUTING guidelines.

What did you do?
ℹ 1. Just add Alamofire to the project. 2. Submit the app to the App Store.
What did you expect to happen?
ℹ The app must be accepted without errors.
What happened instead?
ℹ See below:

We identified one or more issues with a recent delivery for your app, "...". Your delivery was successful, but you may wish to correct the following issues in your next delivery:
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.
After you’ve corrected the issues, you can use Xcode or Application Loader to upload a new binary to App Store Connect.

Alamofire Environment
Alamofire version: Alamofire 5.0.0-rc.3
Xcode version: Version 11.2 (11B52)
Swift version: 5.1
Platform(s) running Alamofire: iOS
macOS version running Xcode: 10.14.6 (18G1012)
Demo Project
ℹ Please use any.

Alamofire makes no use of UIWebView.

Have you tried to submit an app using Alamofire to the App Store? Please reopen the issue.

That would be AFNetworking, not Alamofire.

Thank you. The link to the issue: https://github.com/AFNetworking/AFNetworking/issues/4468


feat: [FC-0047] Relative Dates

New Feature: Relative Date Display
The useRelativeDates functionality has been added to improve the readability of dates within the application. When this feature is enabled (default setting), dates within the range of -7 to +7 days from the current date will be displayed in a relative format (e.g., "just now," "2 days ago"). Dates outside this range will continue to be displayed in the traditional format. This setting can be toggled in the calendar synchronization settings.
Quick Demo
https://github.com/user-attachments/assets/9ded7849-ed3d-4b69-8f74-7cd7723cd45e

Thanks for the pull request, @IvanStepanok!
What's next?
Please work through the following steps to get your changes ready for engineering review:
:radio_button: Get product approval
If you haven't already, check this list to see if your contribution needs to go through the product review process.

If it does, you'll need to submit a product proposal for your contribution, and have it reviewed by the Product Working Group.

This process (including the steps you'll need to take) is documented here.

If it doesn't, simply proceed with the next step.

:radio_button: Provide context
To help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:

Dependencies

This PR must be merged before / after / at the same time as ...

Blockers

This PR is waiting for OEP-1234 to be accepted.

Timeline information

This PR must be merged by XX date because ...

Partner information

This is for a course on edx.org.

Supporting documentation
Relevant Open edX discussion forum threads

:radio_button: Get a green build
If one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green.
:radio_button: Update the status of your PR
Your PR is currently marked as a draft.  After completing the steps above, update its status by clicking "Ready for Review", or removing "WIP" from the title, as appropriate.

:radio_button: Let us know that your PR is ready for review:
Who will review my changes?
This repository is currently maintained by @openedx/openedx-mobile-maintainers.  Tag them in a comment and let them know that your changes are ready for review.
Where can I find more information?
If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources:

Overview of Review Process for Community Contributions
Pull Request Status Guide
Making changes to your pull request

When can I expect my changes to be merged?
Our goal is to get community contributions seen and reviewed as efficiently as possible.
However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:

The size and impact of the changes that it introduces
The need for product review
Maintenance status of the parent repository

:bulb: As a result it may take up to several weeks or months to complete a review and merge your PR.

Hi @IvanStepanok, once the date handling has been updated to match the comment above/what @PavloNetrebchuk described on the Android version, I think this is all clear from the design side for now.
In the future, I think it's worth coming back to this and reconsidering how we approach dates/examining some edge cases, so I've created a new roadmap issue (#513) to track that future work.

@salman2013 Thanks for your review; all feedback has been addressed.

@IvanStepanok 🎉 Your pull request was merged!  Please take a moment  to answer a two question survey so we can improve your experience in the future.


Unable to resolve configuration with compilerPath

Hi Alex,
First of all I would like to thank your effort on this plugin as I like how it works. I am working with a Windows 10(21h1) environment with WinAVR ver20090313 installed. Originally I use Eclipse C/C++ IDE for building and burning codes on my ATmega32. I like VS Code as I include all my compilers in one place for ease of use so I tried using it for AVR, your plugin looks the simple to use in terms of UI. However I want build a very simple .c file where I just include <avr/io.h> and nothing is running in main method. I ran the code it manages to identify the included libraries correctly but it keeps throwing these errors in the TERMINAL:

Executing task: make -fc:\Amir\Coding\VSTest.vscode\avr.targets.mk build <
/usr/bin/sh: c:AmirSoftwaresWinAVRbinavr-gcc.exe: command not found
/usr/bin/sh: c:AmirSoftwaresWinAVRbinavr-gcc.exe: command not found
/usr/bin/sh: c:AmirSoftwaresWinAVRbinavr-gcc.exe: command not found
/usr/bin/sh: c:AmirSoftwaresWinAVRbinavr-gcc.exe: command not found
===== Making .vscode/avr.build/obj/main.c.o
mkdir: cannot create directory `.vscode\avr.build\obj': File exists
make: [.vscode/avr.build/obj/main.c.o] Error 1 (ignored)
/usr/bin/sh: c:AmirSoftwaresWinAVRbinavr-gcc.exe: command not found
make: *** [.vscode/avr.build/obj/main.c.o] Error 127
The terminal process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command make -fc:\Amir\Coding\VSTest.vscode\avr.targets.mk build" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.

The WinAVR is installed at C:\Amir\Softwares\
However I noticed in the OUTPUT:

[02/10/2021, 15:47:46] Unable to resolve configuration with compilerPath "c:\Amir\Softwares\WinAVR\bin\avr-gcc.exe".  Using "C:\Amir\Softwares\MinGW\mingw32\bin\gcc.exe" instead.

it  popped out the moment I selected the Device type and frequency (ATmega32 and 16000000) I am sure that the avr-gcc is the selected path at least from what I can see in "Edit Configuration (UI)" and the "c_cpp_properties.json" file.
I uninstalled MinGW it became:

[02/10/2021, 15:47:46] Unable to resolve configuration with compilerPath "c:\Amir\Softwares\WinAVR\bin\avr-gcc.exe"
I tried reinstalling WinAVR to its default location but no luck.

I used your Makefile from #16 (https://raw.githubusercontent.com/Alex079/vscode-avr-helper/7d3a18e31cb2d8e802e6fe0fd27c918f30ab36ed/resources/windows/avr.targets.mk)
But nothing changed all I could notice is that the number of these lines reduced:

/usr/bin/sh: c:AmirSoftwaresWinAVRbinavr-gcc.exe: command not found.

I just don't get why it refuses to change the complier, all commands work in the cmd (gcc, avr-gcc and make) but I did not try set a target for them.
I did not identify the Upload Port and rate because yet I don't have any files in the avr/build.obj to flash.
my c_cpp_properties.json looks like this:
{
"configurations": [
{
"name": "AVR",
"intelliSenseMode": "${default}",
"cStandard": "c99",
"cppStandard": "c++11",
"compilerPath": "c:\Amir\Softwares\WinAVR\bin\avr-gcc.exe",
"includePath": [
"c:\Amir\Coding\VSTest\",
"c:\Amir\Softwares\WinAVR\avr\",
"c:\Amir\Softwares\WinAVR\avr\include\**"
],
"compilerArgs": [
"-mmcu=atmega32        [c:\amir\softwares\winavr\bin\avrdude.conf:6185]",
"-DF_CPU=16000000UL"
]
}
],
"version": 4
}
Thanks in Advance

Hi!
I think this is caused by more verbose output of avrdude version bundled in winavr. The latest winavr I could find is from 2010-01-20.
You can try one of the following:

install avr-gcc for windows
or
update AVR.device.type setting in workspace settings or directly in .vscode/settings.json file to contain only atmega32

I hope it helps.

Thanks for the response yes it helped at least I am not getting errors that the command is not found however I got another issues which is :
"make : The term 'make' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again."
I tried running the "make command in both the cmd and the powershell and they ran fine, not sure if I should update my make
my GNU make version is 3.81

Is the utils/bin directory added to PATH environment variable?

For wrong AVR.device.type, I will prepare a fix for filtering avrdude output to support this version of avrdude.
Regarding the issues with make in Windows, there is a big piece of work to switch from make to node spawn. In general, it works but needs clear error handling and a lot of testing.

Is the utils/bin directory added to PATH environment variable?

Yes

Oops I mange to make it build not sure how I will try to reproduce and close the issue

cool :slightly_smiling_face:
In my test with WinAVR, avr-objdump in Windows still doesn't work as well mkdir and rmdir. I think my test setup is a bit broken by now.
I will release the patch version for avrdude output parsing anyway. Thank you!

It looks like mkdir and rmdir behave differently depending on the setup, I do not know yet what could cause this.
I suggest to do two things

remove the unrecognized options from avr.targets.mk because the compiler in winavr does not like them
replace mkdir $(subst /,\,$(@D)) with mkdir -p $(@D) because "it works on my machine"

I am stuck now too at avr-objdump

I could reproduce this kind of error only when composing the command by hand and passing the same object file to linker twice in the same command. I am not sure that duplicated filename is the problem here though. May I ask you to check, please, if there is any indication of function duplication source in the error you got? If there is none, we can try running make --trace -f .vscode\avr.targets.mk build

--trace in an unrecognized option

OK. I can suggest to try a version of the plugin version which does not use make. This one is not production ready.
vscode-avr-helper-0.0.0-preview.zip

released v2


CAPI uws_res_upgrade segfault

I'm trying to integrate capi web sockets. It looks like uws_res_upgrade leads to a segfault with ssl. The segfault is reproduced in provided example UpgradeSync.c
Compiler : gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0

I think the examples are not updated, I will take a look, fix and update them.

uws_res_upgrade was broken, now it's fixed in PR #1571

uws_res_upgrade was broken, now it's fixed in PR #1571
Contributor
cirospaciari, Thank you!


Fixing typo in documentation for network-only strategies.

As described in title.

:tada: This has been pushed live to https://developers.google.com/web/


[image input] for generating prompt | [context/example prompt input]

would love the option to enter single image to drive the prompt generation, and a mix of image and prompt.
Similar to Plush custom node.

Optionally, a context/example prompt, that helps format the lenght and style of the prompting

Vision model support is planned. I will keep this issue open for tracking development.

Optionally, a context/example prompt, that helps format the lenght and style of the prompting

There is already a tab in settings to change instructions. Is this not what you mean?
For vision. How would you want it to work? Just a separate option in the magic prompt tab or tied into the init image of the main options?


Release note for v1.4.13 is available but no chart for this version

What happened: Release note for v1.4.13 is available but no chart for this version
What you expected to happen: A chart for v1.4.13
How to reproduce it (as minimally and precisely as possible): there's no chart 1.4.13 when using helm search repo -l splunk
Anything else we need to know?:
Environment:

Kubernetes version (use kubectl version):
Ruby version (use ruby --version):
OS (e.g: cat /etc/os-release):
Splunk version:
Splunk Connect for Kubernetes helm chart version:
Others:

@ndctrb, the issue is resolved.


Search is broken?

Not sure if it is just me, but I just tried the search and apparently it is broken.
Chrome:

Firefox:

I tried fixing it but couldn't figure out. Maybe some one can help here?
Also, not sure if this error is related to this or causing this problem?
Access to XMLHttpRequest at 'https://crushingcode.github.io/index.json' from origin 'https://crushingcode.nisrulz.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
(index):582 GET https://crushingcode.github.io/index.json net::ERR_FAILED

Should mention, the search works in development i.e via localhost.

Search isn't broken - especially not if it works in development.
Your issue is that you are hosting on Github Pages and you are using a Custom Domain linked to it. It's trying to access a file on the Github domain from your Custom domain and that won't be allowed by the browser - it's seen as cross-origin requests and those are blocked by default. I don't personally use Github Pages but are you sure everything for the domain is configured on Github?

Yes everything is configured properly. There wasn't any issue earlier, but there is now.
Just to add to this, the search worked before when it got live. I tested all functionality before moving to this theme.

Hello,
I'm busy recently working in a company.
I'll look into it after I got home

No problem. Nothing is urgent. Opened up the issue for reference. 😺

I found that Git Pages designed to redirect username/github.io to custom-domain.com so this happened.
Can you change the baseURL to https://crushingcode.github.io in the config.toml file and check again?

Will check in a few hours when I am back. I think that could be it 🤔
However it used to work before without any change 😅
Will try it anyways!

baseURL to https://crushingcode.github.io

This was set like that.
However I set:
baseURL = "https://crushingcode.nisrulz.com/"
and published it. Now search works.
Closing as resolved. :smile:

im tried search is not work im hosted in netlify im i change the BaseURL to
baseURL = 'picode.netlify.app'
a search cannot work

The search seemes to be broken on my localhost as well. Not totally sure what may be the reason.
Also getting this url http://busuanzi.ibruce.info/busuanzi?jsonpCallback=BusuanziCallback_558727397759 gives some sort of BAD Request error when tried to access from the browser


[Migrator] Don't take var -> let fix-it

This isn't generally useful for Swift 4 migration and in some cases
can result in code that doesn't compile, like for let i in ....
rdar://problem/32390791
rdar://problem/32390726

@swift-ci Please test

Can you file a bug about the invalid case with 'for'?

It's in the commit message.


Fix toast color

The toast success, warning, and error messages need to have their font color corrected to match the default material color palette.
Eg. Warning font should not be #fff but should be rgba(0,0,0,0.87).

Fixed in version 0.1.7.


JSONDecodeError

Why this happen?

[23/Aug/2018 22:00:33] ** Welcome to SafariBooks! **
[23/Aug/2018 22:00:33] Logging into Safari Books Online...
[23/Aug/2018 22:00:35] Retrieving book info...
[23/Aug/2018 22:00:37] Title: C++ Reactive Programming
[23/Aug/2018 22:00:37] Authors: Peter Abraham, Praseed Pai
[23/Aug/2018 22:00:37] Identifier:<PHONE_NUMBER>775
[23/Aug/2018 22:00:37] ISBN:<PHONE_NUMBER>775
[23/Aug/2018 22:00:37] Publishers: Packt Publishing
[23/Aug/2018 22:00:37] Rights: Copyright © 2018 Packt Publishing
[23/Aug/2018 22:00:37] Description: Learn how to implement the reactive programming paradigm with C++ and build asynchronous and concurrent applicationsAbout This BookEfficiently exploit concurrency and parallelism in your programsUse the Functional Reactive programming model to structure programsUnderstand reactive GUI programming to make your own applications using QtWho This Book Is ForIf you're a C++ developer interested in using reactive programming to build asynchronous and concurrent applications, you'll find this book extr...
[23/Aug/2018 22:00:37] Release Date: 2018-06-29
[23/Aug/2018 22:00:37] URL: https://www.safaribooksonline.com/library/view/c-reactive-programming/9781788629775/
[23/Aug/2018 22:00:37] Retrieving book chapters...
[23/Aug/2018 22:00:54]   File "safaribooks.py", line 1023, in
SafariBooks(args_parsed)
File "safaribooks.py", line 295, in init
self.book_chapters = self.get_book_chapters()
File "safaribooks.py", line 509, in get_book_chapters
return result + (self.get_book_chapters(page + 1) if response["next"] else [])
File "safaribooks.py", line 509, in get_book_chapters
return result + (self.get_book_chapters(page + 1) if response["next"] else [])
File "safaribooks.py", line 509, in get_book_chapters
return result + (self.get_book_chapters(page + 1) if response["next"] else [])
[Previous line repeated 7 more times]
File "safaribooks.py", line 492, in get_book_chapters
response = response.json()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\models.py", line 896, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\json_init_.py", line 348, in loads
return _default_decoder.decode(s)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
[23/Aug/2018 22:00:54] Unhandled Exception: Expecting value: line 2 column 1 (char 1) (type: JSONDecodeError)
[23/Aug/2018 22:00:54] Last request done:
URL: https://www.safaribooksonline.com/api/v1/book/9781788629775/chapter/?page=12

There was an error parsing the JSON response.
I tried personally to download the same book and it works.
Did you try again?

Sometimes it fails to decode, some network stuff... just retry


Inputliteral language selection add two inputs  w/ same name

When adding the same value twice to the input field, the languages concat and then we have a problem.

When you add the same value twice, it reads from the same redux store.

I'm not sure this is a problem...


Distance

Hello,
I have a Server with my friend and we want to use Wireless charging. Everything work but we all find thats zhe distance of wireless charging ist a littele bit to much.
And here my question where can I edit this?
We play on Forge 1.16.4 Version 35.1.37

No, a flux network has no physical center, so it's charging no matter where players are

No, a flux network has no physical center, so it's charging no matter where players are

Ah ok thankyou

Ah ok thankyou


Add a Jupyter Notebook to demonstrate the use of Grouped Forecasting

Hi,
This isssue ois similar to issue #9.  WIP.
Need to adapt the example in issue #9 to use grouped hierarchies.

sample test scripts with grouped hierarchies here :
https://github.com/antoinecarme/pyaf/tree/master/tests/hierarchical

Great! Thanks for the update and the link to the test scripts. I did not notice that directory earlier.

All pyaf aspects are (expected to be) tested and a  test script is available ... a grep can help.
You can test the status of the build tets here (run after each commit) :+1:
https://travis-ci.org/antoinecarme/pyaf
grouped hierarchies tests passed the last time ;)

@tomaszb
I just added the notebook you requested. Thanks to your issues, I corrected also some small glitches with plotting. You mean need to upgrade you install.

@antoinecarme Thanks for the quick response! Will do an upgrade on the package and will take a look.

You are welcome. Enjoy!

Unfortunately there is an issue in the Grouped Notebook example. When creating the hierarchy with the call:
lSignalHierarchy = lEngine.plot_Hierarchy(French_Wine_Export_in_Euros_DF , "Month", "Signal", 1,                                            lHierarchy, None);
I get the error:
`---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
 in ()
5
6 lSignalHierarchy = lEngine.plot_Hierarchy(French_Wine_Export_in_Euros_DF , "Month", "Signal", 1,
----> 7                                           lHierarchy, None);
/usr/local/lib/python3.6/site-packages/pyaf/HierarchicalForecastEngine.py in plot_Hierarchy(self, iInputDS, iTime, iSignal, iHorizon, iHierarchy, iExogenousData)
86         lSignalHierarchy = self.create_signal_hierarchy(iInputDS, iTime, iSignal, iHorizon, iHierarchy, iExogenousData);
87         lSignalHierarchy.create_HierarchicalStructure();
---> 88         lSignalHierarchy.plot();
89         return lSignalHierarchy;
90
/usr/local/lib/python3.6/site-packages/pyaf/TS/SignalHierarchy.py in plot(self, name)
201         start_time = time.time()
202         lAnnotations = None;
--> 203         lHasModels = (self.mModels is not None)
204         if(lHasModels):
205             lAnnotations = {};
AttributeError: 'cSignalGrouping' object has no attribute 'mModels'`

@tomaszb
This was the object of the first commit (failure when plotting)
https://github.com/antoinecarme/pyaf/commit/1de5d2418bf34b8f3bb7ba84cae954bd0c56da85
The line with init(self) corrects this.
Are you sure that this line is present in your version ?

An upgrade is needed.
pip install --upgrade git+git://github.com/antoinecarme/pyaf.git
Can you please try un-installing and installing PyAF (the hard way ;) ?

@tomaszb
Can you please tell me if you were able to use the notebook ?

@antoinecarme Sorry for the delay. After reinstalling correctly I was able to get the GroupedSignals notebook to work. Thank you for the follow up.

thanks @tomaszb. enjoy!


How can I transfer training data?

Hi, I'm new to this business, can you teach me how to import the training data into my model? I would be very happy if you help!

Hi @admiraldus1 you can easily transfer learn using the configuration scripts provided in the configs folder using 'load_from' and specifying the model path . Detailed explaination can be found here - https://mmdetection.readthedocs.io/en/latest/tutorials/finetune.html

Hi @admiraldus1 you can easily transfer learn using the configuration scripts provided in the configs folder using 'load_from' and specifying the model path . Detailed explaination can be found here - https://mmdetection.readthedocs.io/en/latest/tutorials/finetune.html

thank you very much for helping


Security mechanism for the Rafiki Admin API & UI

Summary
Currently, the GraphQL Admin API in Rafiki is using "same network" as a security concern. We'd like to explore and implement a more secure policy for it, looking at Basic Auth and MTLS.
The Admin UI is unsecured right now, we'll need to add login screens to that as well.
Intended Outcomes
Design, spec and implement a security mechanism for the Admin API.
How will it work?
There is a secure communication mechanism between the account provider and the backend service.
Links
Resources

https://docs.confluent.io/platform/current/kafka/overview-authentication-methods.html#authentication-methods-overview
https://www.cockroachlabs.com/docs/stable/authentication.html#client-authentication

@JoblersTune do you want to research on how to best secure the admin UI?


As a ward doctor getting ready for shift, I want to add and delete events from my personal duty schedule

So that I can track my schedule from the centralized system and easily access records of patients as I check my schedule

This is unlikely to implement as it lies outside of core set of features which is managing patients/wards/staff allocation.

Not implementing due to time constraints.


Solution for issue #23 -- retry serial connections

This change makes deej retry the serial connection if it is unable to connect at start up or if it disconnects after the initial connection. It solves issue #23.
Should the connection continue to fail, the attempts will exponentially back off until it reaches  100 seconds between attempts.
The changes here are fairly quick / rudimentary. I basically did the minimum necessary to get it functioning. If more is desired, lmk.

@omriharel is this a decent fix/method to make the retry work? Again, I'm not a great programmer, so this looks fine to me. If possible, I'd even be happy to beta test.

@omriharel any chance of merging this soon to make a new release to fix the issue?

Hi @marcuswu, thank you for your interest in contributing to deej!
I apologize for the delay in responding to this PR. I've been under a lot of internal stress thinking how I'd like to handle external contributions for the project, and I kept putting it off and went completely silent (both here and on #23). I realize that this reflects poorly on myself and the project, and I'll do my best to make communication a much higher priority moving forward.
I recently decided that I prefer to work on deej mostly by myself, which you can read more about in the project's contribution guidelines that I outlined here.
While I'm positive that the changes you made here are high quality work (and solve the original issue), I prefer to tackle the reconnection issue alongside other improvements related to connection stability that I'm planning in the near future. I hope this is understandable, and apologies once more for the delay.

cc: @Nickxsch @prueker - apologies for making you folks wait, please read my above response for context. In the meantime, I encourage you to take these changes from @marcuswu's branch. Thank you!

As always, I understand this is a free time project and don't expect anything from you. I will try to build the fork Marcus made (google here I come!) and am looking forward to what you've got in store for the future man.


[Authy] OTPs are not fetching

Extension
https://www.raycast.com/guga4ka/authy
Description
After providing permissions to the extension with the id and password it doesn't load the OTPs:

Steps To Reproduce

Install Authy extension
Search Tokens in raycast

Current Behaviour
Doesn't show or fetch OTPs
Expected Behaviour
Copy and see OTPs in Raycast

same issue, how can I resolve this issue

If all the OTP are "corrupted" then it's likely you have an incorrect backup password. Please try resetting it and redownloading your OTP if you are sure the password is correct.

I've checked the password and changed it a few times. Reinstalled the extension on Raycast but still getting the same result. The password is correct.


MultiParameterAttributes not working.

In the document
If you want to use multi-paramater attributes with Rails, you will need to include an extra Mongoid module to support it.
...
include Mongoid::MultiParameterAttributes

http://mongoid.org/en/mongoid/docs/rails.html
but my very simple application (only including Mongoid::MultiParameterAttributes) occured uninitialized constant Mongoid::MultiParameterAttributes. What is my mistake?

MutiParameterAttributes was removed on Mongoid 4+ .
https://github.com/mongoid/mongoid/commit/5a72dd9f103ea25577389c9342d08181a96504a6
The docs are wrong, and we need to add a changelog entry for this.

@arthurnn thanks.
then, how can I use date_select form helper with mongoid?
Why removed this feature?

@durran Do you have that answer?

We're trying to decouple as much as possible dependencies in the persistence layer on view code. It's simply a bad pattern.

I can try to gemify that.
Dne 14.4.2015 11:37 "AknEp"<EMAIL_ADDRESS>napsal(a):

@arthurnn https://github.com/arthurnn thanks.
then, how can I use date_select form helper with mongoid?
Why removed this feature?
--
Reply to this email directly or view it on GitHub
https://github.com/mongoid/mongoid/issues/4034#issuecomment-92720174.


Update URLs to new home in the flatsurf organization

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender.


change perkin to sdx-collect

documentation update - please check the readme is now correct
testing - anyone but david gunthorpe

A couple of comments:

Should we drop the "sends the data via ftp for processing by the ONS" part
We've still got "perkin" in "perkin exposes the following endpoints" and the Lombok section.

This section "Office of National Statistics (ONS) Survey Data Exchange (SDE) project", should be "Office for National Statistics (ONS) Survey Data Exchange (SDX) project".
Still showing "perkin" in "perkin exposes the following endpoints"

ta, will address those Andy


Feature/base s3 publisher

Decreasing the S3 filesize due to a timeout I saw when uploading a 4.9 gb file. Amazon recommends using a multipart uploader for files bigger than 100 mb (but since we can't arbitrarily partition our files, we will manually partition them at 500 mb).
Also removed the s3 key prefix after our discussion with Wyatt/Shrikanth on Friday.

:+1:


Google monetization ads.txt not working

Added ads.txt in the root directory of github.io page. On al-folio 0.3.5 ads.txt was recognized by google ads. But with same settings al-folio 0.11 fails to be accepted by google ads. Google ads says "ads.txt was not found".
Has anyone tried adding ads.txt and did it work?

Maybe something is preventing it to be copied to _site/. Try building your site locally with bundle exec jekyll build --lsi then check the generated _site/ directory. If it is not being copied to _site/, try adding it to keep_files in _config.yml.

ads.txt exists without adding it in keep_files. Also, I tried adding it in keep_files but it did not work. After some days adsense claims the ads.txt does not exist.

The build process before uploading the site to GitHub pages is done in .github/workflows/deploy.yml. Try to replicate these steps locally and see if the ads.txt file is copied to the _site/ directory that is generated after the build. If it is, then something outside our template is blocking you. Maybe check JamesIves/github-pages-deploy-action action documentation to see if this action doesn't handle it.


Fix console logs page when linked from resource

I rewrote the console logs page here but introduced a regression when loading logs when linked from a resource. Fixed in this PR with included test.
Checklist

Is this feature complete?

[x] Yes. Ready to ship.
[ ] No. Follow-up changes expected.

Are you including unit tests for the changes and scenario tests if relevant?

[x] Yes
[ ] No

Did you add public API?

[ ] Yes

If yes, did you have an API Review for it?

[ ] Yes
[ ] No

Did you add <remarks /> and <code /> elements on your triple slash comments?

[ ] Yes
[ ] No

[x] No

Does the change make any security assumptions or guarantees?

[ ] Yes

If yes, have you done a threat model and had a security review?

[ ] Yes
[ ] No

[x] No

Does the change require an update in our Aspire docs?

[ ] Yes

Link to aspire-docs issue:

[x] No

Microsoft Reviewers: Open in CodeFlow

/azp run


Survey object loading time

Sometimes the sidebar for the Gary project map at http://garymaps.com/map/ takes a really long time to load. It looks like now a bottleneck is loading the survey object itself (https://app.localdata.com/api/surveys/2012edd0-b17c-11e4-b2e2-af76412575df), which can take 15+ seconds or even time out

Loading it directly often takes only a second or so.


removes the mention of the agenda backlog from the template

@lornajane here is the change you suggested :)

Superseded by #3522


Add pre-commit hooks

This is fun: https://pre-commit.com/
You can hook up various tools to git actions, which then automatically do things for you when you commit/push/etc.
I start with pyupgrade whereby I upgrade various Python syntax things.

nice! FWIW, this is the setup I currently use in ufoLib2
https://github.com/fonttools/ufoLib2/blob/master/.pre-commit-config.yaml

and I also set up a custom tox environment for running pre-commit on all files:
https://github.com/fonttools/ufoLib2/blob/bc7ab3af790ac4205539db8eb2dd9e19d0c96fda/tox.ini#L38-L46
so provided one has tox installed locally, one can do tox -e fix-lint and run the pre-commit hooks on all files.
The same command is run on Travis CI so incoming code is always checked automatically (whether or not a developer has registered the pre-commit hooks in his local repo) and PR status shows failure if any hook returns non-zero.
https://github.com/fonttools/ufoLib2/blob/bc7ab3af790ac4205539db8eb2dd9e19d0c96fda/.travis.yml#L13

I want to add a slew of tools from https://github.com/pre-commit/pre-commit-hooks but they modify things in data/ and prebuilt/. The documentation is somewhat confusing on how to make things run only in Lib/ and tests/...

there is a exclude option I think

yeah, check https://pre-commit.com/#pre-commit-configyaml---top-level

hm, looks like Travis CI is not enabled for fontbakery: it doesn't show in the PR status checks, only the CLA bot is run. Why is that?

It is enabled, it just doesn't show up here for some reason.
https://travis-ci.org/googlefonts/fontbakery

whomever is the admin of the travis account, try go to https://travis-ci.org/googlefonts/fontbakery/settings and check that it looks something like

if still doesn't work, try to nuke the settings and re-register Travis with Github from scratch.

Yikes, it seems I don't have access to Travis settings for this repo. Not
can I nuke it.
Felipe, do you?

I can only access that settings page for my personal fork under felipesanches but not the googlefonts one.

That's weird. So who has permissions for the googlefonts repo?

I think I fixed it. We had the old "Travis CI for Open Source" and not "Travis CI" but now we have both and I have access to the settings page


Suggestion: An extra reminder when the output path is not empty

I've just been creating a new project with gdx-liftoff, and I've changed a lot from the config I left over from last time, but I forgot to modify the output path, so the gradle script from my previous project was replaced a lot. I haven't  to apply version control tools like git to my projects yet, so I have to fix all of them manually, and most of them are libraries be like to javacv that aren't included in the libgdx ecosystem, which means that there is no quick way to import them automatically, and I have to spend hours rewriting the compilation script and configuring all the subprojects, especially the Android part, which is hell.
So we need a more obvious way to show that the output path isn't empty, such as giving it a bold red display and a pop-up confirmation dialog, in order to prevent the above tragic situation from happening
Version: gdx-liftoff-<IP_ADDRESS>

I've fixed it in an afternoon when I brought this up and I just want to prevent someone from doing the same thing as me in the future,(at the moment this tip is even green and looks harmless)

I've fixed it in an afternoon when I brought this up and I just want to prevent someone from doing the same thing as me in the future,(at the moment this tip is even green and looks harmless)

As you can see in the sources, that isn't green.
notEmptyDirectory=[YELLOW]Caution: Project destination folder is not empty.[] It even says "Caution" already.
Congratulations, you probably have some form of color-blindness! The exam was free! You should not associate any green you perceive with the green non-color-blind people perceive, which can actually be yellow and indicate a warning.
Also, you already mentioned the obvious fix, which is to use version control. Just use version control, i.e. Git! It addresses the exact problem where you can lose projects. If you aren't using version control, you implicitly consider that it's fine for the project as it stands to be lost for any reason.
Reasons such as...

Burglary! 💔
Fire! 🔥
Vandalism! 🖌
Electrical damage! ⚡
Animals run off with your shiny laptop! 🦝
Human error! 🫵

As @SonicGDX mentioned, IDEA has a Local History feature that can handle at least the last reason in some cases, but it's still unable to help with the first five reasons.
I'm probably going to add TextraTypist or Typing-Label as a dependency at some point so I can make text change colors in a gradient, which at least makes the app more accessible. That should make slowly-changing and still "this is good" text distinguishable from rapidly-changing and maybe occasionally-moving "this is bad" text.

Sorry, when I rechecked it today, I found that it was indeed yellow (hex#eeee00), maybe I was staring at my chartreuse tablemat for too long, or maybe my screen had a color cast, because my used screen was only $20 when I bought it, I did a quick online test to rule out that I have color blindness
But in any case, a more obvious warning is always appropriate, and perhaps they will help people who are really colorblind, who are used to receiving a confirmation dialog before performing a dangerous operation, non-native English speakers who are not sensitive to English, and who are not using git on their projects :)

I've done part of a solution by making the warning and error texts look substantially different now, using Typing-Label. Error texts flicker from red to slightly darker red, and look "broken" by having characters drop and return at random. Less serious warning texts (which may be fine for some conditions, but you should just be aware of) have "Caution" wave up and down, and the warning has a yellow-to-pink gradient. Both of these do catch the eye the first time you see them, at least, and are distinguishable even for people with total colorblindness (grayscale).
@SonicGDX the idea for a "restore previous path" is a good one for the user folder, and we should maybe have something similar for the Android SDK because it's a pain if it gets changed and you need to find it again.
@shan-luan $20 is a good deal for a screen that works, I'd say it's worth it! 😆
@raeleus Do you have any thoughts on how to present a "Restore Previous" button to users? I don't think an icon-only button is the best idea, since this isn't a common action in other GUI apps. This would probably just store the previous path as it does now, but only auto-fill for Android SDK.


Remove support for sr-SP

The language doesn't have >= 25% translation on crowdin and therefor was automatically removed from Gitea.
Ref: https://github.com/go-gitea/gitea/commit/f91092453ed0269420ab5161b4742a692dd500fe

I'm not sure how, but we should consider having these files changed by the webhook if possible, or otherwise alerting us when locales are added/removed.

Time to manually review the update translation commits?


Remove Jest, remove tests, uninstall related packages

I have decided to remove Jest and all the existing tests. This decision stems from how the Pomo app was built. The Pomo timer should function properly even when the user switches tabs or minimizes the browser, so it relies on web workers. Unfortunately, this creates challenges for testing, as mocking the worker becomes necessary.
In my opinion, adding tests that rely on mocking the core functionality undermines their purpose. They become tests added for the sake of having tests, rather than meaningful validations of the application and its flow.
I have not yet found a way to test the application in the way I want. Therefore, I believe it is better to remove the current tests for now and reintroduce them when I can implement legitimate and meaningful testing.


Support more jaxb-api annotations

Following PR https://github.com/treblereel/mapper-xml/pull/91 several new jaxb-api annotations were stubbed to support compilation of the PMML model marshallers. We should look into implementing support for the annotations in mapper-xml:

@javax.xml.bind.annotation.XmlAnyElement
@javax.xml.bind.annotation.XmlList
@javax.xml.bind.annotation.XmlMixed
@javax.xml.bind.annotation.XmlSchemaType

Closing due to age.


Update whats-new.md

Added new UX feature changes for CVS

@tonyeiyalla : Thanks for your contribution! The author(s) have been notified to review your proposed change.

The following users don't have valid GitHub IDs, or are not collaborators on this repo: microsoftdocs/public-repo-pr-review-team

#sign-off


[Announcement] Migration to ASP.NET Core (Obsoleting ASP.NET MVC / .NET Framework)

Hello everyone,
As you are probably aware ASP.NET MVC did not get any updates for years, and is an obsolete technology.
ASP.NET Core 1 and 2 used to support both .NET Core and .NET Framework but Microsoft removed the support in .NET Core 3, so .NET Framework itself is also obsolete.
.NET 5 will be the next single .NET and it will be based on .NET Core. (They are simply skipping version 4 to avoid confusion with .NET Framework 4).
We tried to support both ASP.NET MVC and ASP.NET Core for a long time, but it has been a hard work and resulted in some code in ASP.NET Core version to be not so .NET Core'ish, like Dependency system (we should have used .NET Core dependency injection container but had to use some workarounds to keep compatibility with MVC version).
We are planning not to release any new ASP.NET MVC versions of Serene / StartSharp unless there will be a critical issue that needs to be solved.

For existing StartSharp customers, we'll provide support on how to apply new features in StartSharp Core to their StartSharp MVC based project, if they can't migrate to .NET Core for some reason, until their subscription ends.

We'll be still releasing .NET Framework versions of Serenity base libraries until end of 2020, so you may still update Serenity itself with the package manager.
We strongly recommend migrating your existing MVC projects (that needs to be updated) to .NET Core version and prepared a migration guide for you:
https://serenity.is/blog/2020/06/17/migrating-dotnetcore
The steps in above document is test with several projects, but it is still possible that you may have different issues due to custom code in your projects, or if your project is based on a relatively older version of Serene/StartSharp.
If you report your conversion issues here, we may offer solutions when possible, and may add your solutions to the document itself.

@volkanceylan  Thank you for the well written information providing reasons for the change .this will help me in my next iteration to migrate with more time allotted ..


Improve unit tests for PageActionInvoker

The unit tests for the PageActionInvoker don't go into enough detail with respect to how handler methods work. We need some unit tests invoking handler methods of different signatures with and without PageModel

The missing tests are generally already covered by other existing tests.


[2.5] u.replaceWith is not a function

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Upgrade from 2.4.5 to 2.5.1 with Kubernetes v1.18.5
Log in to the cluster (need more info on which user).

Result:

Other details that may be helpful:
This upgrade works on Kubernetes v1.15.2 without problems.
This issue is filed from the forum post: https://forums.rancher.com/t/u-replacewith-is-not-a-function/18627
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): 2.5.1
Installation option (single install/HA):  need more info

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): need more info
Machine type (cloud/VM/metal) and specifications (CPU/memory): need more info
Kubernetes version (use kubectl version): need more info

(paste the output here)

Docker version (use docker version): need more info

(paste the output here)

Information needed...

What was the user that was being attempted to login with? Was it the Admin user?
What was the installation option (single install/HA)?
What was the cluster type (Hosted/Infrastructure Provider/Custom/Imported)?
What was the machine type (cloud/VM/metal) and specifications (CPU/memory)?
What is the output when running kubectl version?
What is the output when running docker version?

Information needed...

What was the user that was being attempted to login with? Was it the Admin user?
Admin user

What was the installation option (single install/HA)?
single docker install
docker run -d --restart=unless-stopped --privileged  -p 80:80 -p 443:443   -v /opt/rancher:/var/lib/rancher   rancher/rancher:latest

What was the cluster type (Hosted/Infrastructure Provider/Custom/Imported)?
Imported

What was the machine type (cloud/VM/metal) and specifications (CPU/memory)?
rancher: vmware RAM 4GB, 2 CPU
k8s 1.18: vmware 3 vm - 6 CPU, 12Gb RAM
k8s 1.15: vmware 2 vm, - 6 CPU, 12 GB RAM

What is the output when running kubectl version?
k8s 1.15:
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.2", GitCommit:"f6278300bebbb750328ac16ee6dd3aa7d3549568", GitTreeState:"clean", BuildDate:"2019-08-05T09:23:26Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.2", GitCommit:"f6278300bebbb750328ac16ee6dd3aa7d3549568", GitTreeState:"clean", BuildDate:"2019-08-05T09:15:22Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}

k8s 1.18:
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.5", GitCommit:"e6503f8d8f769ace2f338794c914a96fc335df0f", GitTreeState:"clean", BuildDate:"2020-06-26T03:47:41Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.5", GitCommit:"e6503f8d8f769ace2f338794c914a96fc335df0f", GitTreeState:"clean", BuildDate:"2020-06-26T03:39:24Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

What is the output when running docker version?
k8s 1.15:
Client: Docker Engine - Community
Version:           19.03.12
API version:       1.40
Go version:        go1.13.10
Git commit:        48a66213fe
Built:             Mon Jun 22 15:46:54 2020
OS/Arch:           linux/amd64
Experimental:      false

Server: Docker Engine - Community
Engine:
Version:          19.03.12
API version:      1.40 (minimum version 1.12)
Go version:       go1.13.10
Git commit:       48a66213fe
Built:            Mon Jun 22 15:45:28 2020
OS/Arch:          linux/amd64
Experimental:     false
containerd:
Version:          1.2.13
GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
runc:
Version:          1.0.0-rc10
GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version:          0.18.0
GitCommit:        fec3683
k8s 1.18:
Client: Docker Engine - Community
Version:           19.03.12
API version:       1.40
Go version:        go1.13.10
Git commit:        48a66213fe
Built:             Mon Jun 22 15:46:54 2020
OS/Arch:           linux/amd64
Experimental:      false
Server: Docker Engine - Community
Engine:
Version:          19.03.12
API version:      1.40 (minimum version 1.12)
Go version:       go1.13.10
Git commit:       48a66213fe
Built:            Mon Jun 22 15:45:28 2020
OS/Arch:          linux/amd64
Experimental:     false
containerd:
Version:          1.2.13
GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
runc:
Version:          1.0.0-rc10
GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version:          0.18.0
GitCommit:        fec3683
Rancher host:
Client: Docker Engine - Community
Version:           19.03.12
API version:       1.40
Go version:        go1.13.10
Git commit:        48a66213fe
Built:             Mon Jun 22 15:46:54 2020
OS/Arch:           linux/amd64
Experimental:      false
Server: Docker Engine - Community
Engine:
Version:          19.03.12
API version:      1.40 (minimum version 1.12)
Go version:       go1.13.10
Git commit:       48a66213fe
Built:            Mon Jun 22 15:45:28 2020
OS/Arch:          linux/amd64
Experimental:     false
containerd:
Version:          1.2.13
GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
runc:
Version:          1.0.0-rc10
GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version:          0.18.0
GitCommit:        fec3683

I have the same error.
for my import kubernetes-cluster version v1.15.10

I cannot reproduce the bug in the upgrade path from v2.4.5 to v2.5.1 single install
Step:

run rancher v2.4.5 single-install
log in as a standard user
provision one cluster for each supported k8s versions
imported an RKE cluster with k8s version v1.15.12-rancher2-6

add another standard user as the cluster member of all the above clusters
upgrade Rancher to v2.5.1

Results:
Admin, cluster owner, and cluster member can open the cluster page of all clusters without seeing any errors.
The error in the issue is NOT seen for both the rancher-provisioned k8s 1.15 cluster and the imported k8s 1.15 cluster.

By all accounts, this doesn't look reproducible by QA or UI anymore. @jiaqiluo, shall we close this and either reopen this or create a new ticket if it pops up again?

This issue is closed since it is not reproducible.
Be free to reopen the issue if you hit it.
If possible, please provide steps and information about your setup so we can try to reproduce it.


[FEATURE] Move main loop to SceneManager, or have a custom main loop runner

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
The main loop code in the window providers is almost exactly the same thing: run some init, create a clock, infinite loop, quit etc. but it's hard to create something like VSync that can be toggled on and off. This really shouldn't be handled by the window providers.
Describe the solution you'd like
A clear and concise description of what you want to happen.
The main loop code should be either in SceneManager.__loadScene or (more preferably) another ABCMeta that can be subclassed and implemented, given an update function and set to chug along nicely.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

This will tie into a new event loop (possibly async), which has started to be written on feature/saving.

#62 manages this


Missing validation text messages for some BT-198-fields

Comparing text messages for BT-198(xxx)-Fields in fields.json as well as in rule_en.xml-file, I realized that some error-messages named in fields.json are missing in rules_en.xml.
Is seems as if the missing messages belong to rules that have been added somehow later in the definition-process. Some of the missing rules are:
rule|text|BR-BT-00198-4292
rule|text|BR-BT-00198-4293
rule|text|BR-BT-00198-4335
rule|text|BR-BT-00198-4357
Since rules from rule|text|BR-BT-00198-1301 to rule|text|BR-BT-00198-1350 contain the same text-message as rule|text|BR-BT-00198-4292, rule|text|BR-BT-00198-4335 and rules from rule|text|BR-BT-00198-4052 to rule|text|BR-BT-00198-4101 have the same text message as rule|text|BR-BT-00198-4293, rule|text|BR-BT-00198-4357: wouldn't it be easier to define these messages only once and refer to the same message code whereever/whenever it is needed?

Thanks for your feedback.
From what I can see, the 4 messages you refer to are currently present in rule_en.xml, and they were already present in recent versions of the SDK. Which version of the SDK are you using ?
Some of the messages for rule are indeed currently identical, in particular for the BT-198(xxx) fields.
We have chosen to systematically have one message for each rule, so that the message identifier can be built directly from the identifier of the rule. This also allows us to easily modify the message for one rule, without impacting others or having to create a new message.

Thank you for your clarification and I have to apologize for this issue, which was my fault: I thought I was using rules_en from sdk 1.5.0 but in fact I was using 1.1.0 - the rules had not been in there.
Once again sorry.

No problem, happy that the problme was resolved.
So I'm closing this issue.


Mailchimp

@jthandy First cut of the base models and a simple time series analysis (without Mixpanel)

@3mei I left several line-level comments in the models. I really like the approach you're taking here, just poked at a couple of things.
Outside of the line level stuff, this needs to include unsubscribes. We get them from Mailchimp and the demo dataset has them; is there any reason they wouldn't be included? IMO, they're just another email event and every bit as important as the others. They add a ton of value when going to analyze the data.
Once you address all of this, we should get this PR merged and we can talk about what additional analysis can be layered on top. There are absolutely a ton of interesting things we can do with the data beyond what's done today, all of which would significantly improve the quality of the resulting blog post. But let's get these models ironed out first.

I left two comments on the subscribers analysis. We're really close.

Changes look great. :+1:
:merging:


Gigya XPlat missing gigya.Jar file

What jar file (or Gigya  SDK for Android version) was this Gigya XPlat Android solution developed using?
Since it the jar was missing, I've downloaded the latest (3.3.14.jar for Android) and I'm having a lot of build issues with the wrapper.

hi @CurtisHerrick if you take a look at this file -> https://github.com/xamarin/XamarinComponents/blob/master/XPlat/Gigya/build.cake  you can see the version of the android sdk,  3.3.9, and where its downloading the jar file too.
regards


Wrong vendor ID when intitially flashing

Hey, if you are flashing the glasgow initially the VID:PID are 04b4:8613 (CY7C68013 EZ-USB FX2) and not 20b7:9db1, getting started with this is not intuitive. It would be nice if the initial VID:PID are also included in the udev rules.

SUBSYSTEM=="usb", ATTRS{idVendor}=="04b4", ATTRS{idProduct}=="8613", \
  MODE="0660", GROUP="plugdev", TAG+="uaccess"

It's not "wrong" per se. The issue here is that 04b4:8613 are programmed into the mask ROM of the FX2, and so it won't be just Glasgow that uses that pair. I don't think our udev rules should override any shared VID:PIDs by default.

Yea, ok, agreed


Support pagination of get_users

This PR will support pagination in get_users.
Currently, the default get_users will return 1000 users, which doesn't work for orgs/companies that have > 1000 users.
Worth also noting that this API endpoint has a ratelimit (https://api.slack.com/methods/users.list) that will easily hit with large Slack workspaces, however this PR doesn't address that.

Sorry, may have jumped gun -- cursor is not being set properly.  Will reopen later.


Add Mocha and Chai to CoffeeScript page

Page on CoffeeScript does not mention that Mocha and Chai are available. I went with the old framework before I noticed that I can use more modern setup.

CoffeeScript doesn't use Mocha. I don't know why it's installed. describe/it (from cw-2.js) and assertions from chai can be used to make it "look" like Mocha + Chai.

So describe and it which worked for me were not Mocha but CW framework? Okay, good to know!
Should Chai be added to the page,  or there is nothing to change then?

Feel free to add it.


ModuleNotFoundError: No module named 'pytorch_lightning.callbacks.pt_callbacks'

can it update these new feature to pypi on time?
otherwise users maybe very confused about these new imports.

Hi!
1.6.0 has not been released yet so it's not available in PyPI.
If you want to try master, you can do so with:
pip install https://github.com/PyTorchLightning/pytorch-lightning/archive/master.zip

Can you share the full error stacktrace if you are getting an import error?

ModuleNotFoundError: No module named 'pytorch_lightning.callbacks.pt_callbacks'

also, you might need to do this:
import pytorch_lightning.callbacks as pt_callbacks


[Bug] agent selector no data

Search before asking

[X] I had searched in the issues and found no similar issues.

Operating system information
MacOS(M1, M2...)
Python version information

=3.11

DB-GPT version
main
Related scenes

[ ] Chat Data
[ ] Chat Excel
[ ] Chat DB
[ ] Chat Knowledge
[ ] Model Management
[ ] Dashboard
[X] Plugins

Installation Information

[X] Installation From Source

[ ] Docker Installation

[ ] Docker Compose Installation

[ ] Cluster Installation

[ ] AutoDL Image

[ ] Other

Device information
CPU
macOS M1 Pro
RAM 16G
Models information
LLM_MODEL=tongyi_proxyllm
What happened
export const getDbgptsList = () => {
return GET<undefined, GetDBGPTsListResponse>('/api/v1/dbgpts/list');
};
The query table is not correct
Causes the agent to drop down with no data
What you expected to happen
Should be queried dbgpt.gpts_instance
How to reproduce
According to the documentation tutorial, the plug-in section
Additional context
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

The actual query is  gpts_app
The document needs to be updated

The actual query is gpts_app
The document needs to be updated

So what should the correct sql look like? I try to insert data manually, but I don't know what data to insert in the team_context field.


BUG/API: Index creation with different tz coerces DatetimeIndex

Closes #11488.
Based on the type check added in #11588, the change affects to fewer functions than I originally thought.

Thanks, moved to inferrence.pyx. Also fixed and added tests for NaT.

lgtm. comment above.

Thanks, I've fixed the tz comparison logic based on your comment below.

do an equality check on tz first then only check get_timezone if it's False

merged via https://github.com/pydata/pandas/commit/b80b5c7443499905eda2e3295ed8973db12a9853
thanks!


[TBB] use openHashMap instead of multi hash map in index building

What changes were proposed in this pull request?
Use openHashMap since it should be faster.
How was this patch tested?
ut passed, will benchmark this.

It's great to know the benchmark result about how much reduction of the index building time. Thanks.

IMHO, the role of the map(hashmap derivatives or other replacement) will span the whole lifecyle of the index writer. In other words, even if the replacement can spill to disk, somewhere we may still need to load back into memory from disk since we may use it later. That may cause the data moving back and forth between memory and disk in an extreme case. That may be another huge issue, compared with the existing GC issue in index building phase. One good approach is to do some performance comparison before deciding to use whatever approach. Thanks.

Sorry, but what is TBB?

to be benchmark

any update on this? Is benchmark still needed.


fix(#1859): add arialabel to radio group and radio item

Fixing bug #1859
Example:

Adding aria-label:

<goa-radio-group name="color" arialabel="please select color" value="orange" (_change)="onChange($event)">
  <goa-radio-item name="color" arialabel="you are choosing color red" value="red"></goa-radio-item>
  <goa-radio-item name="color" arialabel="you are choosing color blue" value="blue">

          Content description
           Another test?

            Help test

  </goa-radio-item>
  <goa-radio-item name="color" arialabel="you are choosing color orange" value="orange" description="Orange description">
  </goa-radio-item>
</goa-radio-group>

Adding arialabelled-by:

Basic with accessibility

<goa-radio-group name="color" arialabelledby="radio-group-label" value="orange" (_change)="onChange($event)">
  <goa-radio-item name="color" arialabel="you are choosing color red" value="red"></goa-radio-item>
  <goa-radio-item name="color" arialabel="you are choosing color blue" value="blue">

          Content description
           Another test?

            Help test

  </goa-radio-item>
  <goa-radio-item name="color" arialabel="you are choosing color orange" value="orange" description="Orange description">
  </goa-radio-item>
</goa-radio-group>

Reference: https://www.w3.org/WAI/ARIA/apg/patterns/radio/examples/radio-activedescendant/#rps_label

:tada: This PR is included in version 1.17.0-alpha.75 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.17.0-alpha.32 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.22.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.0.0-alpha.5 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


OrderedDictionary: PSReference: Exception: … does not contain a method named 'Contains'

Good morning
I have to handle a big OrderedDictionary. Therefore, I passed it by reference to a function.
Unfortunately, this referenced object does not know the OrderedDictionary methods like Contains().
In https://msdn.microsoft.com/powershell/reference/5.1/Microsoft.PowerShell.Core/about/about_Ref
there is no note about any restrictions. If this kind of .Net (!) object is not supported, it would be great to get a more descriptive error.
Steps to reproduce
# Just test if [ref]$dict has a method named 'Contains'
function TestRef([ref]$adict) {
	# This should probably will create an exception:
	Write-Host $adict.Contains('a')
	# Exception:
	# Method invocation failed because
	# [System.Management.Automation.PSReference`1[[System.Collections.Specialized.OrderedDictionary, System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089]]]
	# does not contain a method named 'Contains'.
	# +     Write-Host $adict.Contains('a')
	# +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	#     + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
	# + FullyQualifiedErrorId : MethodNotFound
}

# Create an OrderedDictionary
$ODict = New-Object Collections.Specialized.OrderedDictionary([StringComparer]::OrdinalIgnoreCase)
$ODict['a'] = '1'

# Assure that there is a method named 'Contains'
Write-Host $ODict.Contains('a')

# Pass ODict by reference and call Contains in it
TestRef ([ref]$ODict)

Expected behavior
[ref] should work as the developer expect.
Or it should create a parser exception (which is probably almost impossible).
Or it should create a clear exception says that this kind of object is not supported.
Actual behavior
It looks like there is a wrapper for [ref] Objects which does not completely support common .Net Objects.
Environment data
Name                           Value
----                           -----
PSVersion                      5.1.14393.693
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.693
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

This is by design.  Objects other than value types are passed by reference, so you shouldn't normally use [ref].
[ref] exists mostly for COM support. It is usable outside of COM though, it creates a wrapper object which you need to unwrap.

Hi Jason, thank you very much!, I'm sorry for the trouble.
I've added a 'not helpful' vote to the help page about_Ref because it does not explain which kind of objects needs a [ref] for methods.


Revert changes on indy-promote-common:dataset and update CacheProducerMergeXmlTest

retest this please

This fixed the master PR build. Merged.


Add a title to the Dashboard page for better SEO and user experience.

Benefits:
Improved User Experience: A clear, descriptive title helps users identify the page they are on, especially when they have multiple tabs open.
SEO Benefits: Search engines use the title to understand the content of the page, which can improve the page's visibility in search results.
Accessibility: Screen readers announce the title of the page, providing context to users who rely on them.
Example:
Imagine you have multiple tabs open in your browser. Without setting the document title, each tab might just display "React App" or something generic, making it hard to distinguish between them. By setting a specific title like "Dashboard - Your Shop," users can quickly find the tab they need.

kindly send me some screenshot so tht I cn understand


azure-monitor-opentelemetry release 1.1.1

Description

Default Resource Detector environment variable to allow for customization. Add App Service Resource Detector to Auto-Instrumentation.
(#33340)

All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

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


input autofocus is not working on reveal

html5 autofocus attribute or jquery focus() function is not working on reveal,
we have a login form on reveal,
when we click and open reveal, form is coming but autofocus property or tab button on keyboard is not working. So starting to fill form needs mouse click.
is there anyone help us to solve this issue.
thank you.

thanks for posting this.
this is what worked for my purposes.
 $('#SystemModal2').foundation('reveal', 'open')

              $(document).on('opened', '[data-reveal]', function () {
                  $("#close162").first().focus();
              });

 CLOSE162

http://foundation.zurb.com/docs/components/reveal.html -- the updated event handlers are at the bottom of the page


mem-ruby: allow comparison of int and Addr in SLICC

allow easy isolation of specific addresses in coherence protocols. useful for debugging.
Change-Id: I93e07956b8e29837219d328dacfbd5c6067c1a62

@mattsinc can you re-review since you "requested changes" to allow this to merge?


PHP Elephant Icon

What's the possibility of using an elephant icon for PHP like the Seti UI Icons?

Oh, I second that. Image for reference:

With all due respect, that'd look kinda ridiculous, even if it is the official icon. :\
PHP's icon always has been somewhat... unfortunate.

Unfortunate or not, Gradle uses an elephant now for its icon (which has been recently included in file-icons). Good time to go find the old Tim Conway Siamese elephant skit on YouTube.

The icon should just be the php text logo, no shield, if not the elephant.

Rather than the entire body, just the head would make for an easier-to-identify silhouette. Currently, it's too easy to confuse php/html files at a glance.


Soft Validations - refactor metadata and fix pattern

As a developer and user I need to be able to run individual or sets of soft validations.  To do this properly we need to refactor how soft validations are instantiated.
After the refactor soft validations will not be re-run prior to fix calls, fixes are run only on the set of soft validations that are called.  All fixable soft validations are fixed when requested, i.e. if you want to exclude or only run some then only validation those you intend to fix.  See options in lib/soft_validations#soft_validate.
Steps:

[x] rewrite set method and meta expectations (@mjy)
[ ]  all has_fix: true must be updated to fix: :sv_fix_name, moving the validation name from the sv_ method to the soft_validate call (@proceps)
[ ] remove fix: :abc from sv_checks methods (fix is defined prior)
[ ] all fix_trigger: :abc change to 'flagged: true'  - specs with flagged: true are not run by default, i.e. a restricted set (@proceps)
[ ] move resolution: :named_route from sv_method to soft_validate(resolution: :method_name)
[ ] all spec calls for actual specs (not meta-model testing) must be updated to reflect this pattern (@proceps)

Models to update method calls:

[ ] AssertedDistribution
[ ] Citation
[ ] CollectingEvent
[ ] CollectionObject
[ ] Descriptor
[ ] Image
[ ] Otu
[ ] RangedLotCategory
[ ] Serial
[ ] TaxonName
[ ] TaxonNameClassification
[ ] TaxonNameRelationship
[ ] TypeMaterial

Models to update method calls:

[ ] AssertedDistribution
[ ] Citation
[ ] CollectingEvent
[ ] CollectionObject
[ ] Descriptor
[ ] Image
[ ] Otu
[ ] RangedLotCategory
[ ] Serial
[ ] TaxonName
[ ] TaxonNameClassification
[ ] TaxonNameRelationship
[ ] TypeMaterial

show we close this?


Meenu resusable card component

Changes:

...

Type of change

[ ] Bug fix
[ ] New feature
[ ] Update feature
[ ] Refactor code
[ ] Translation to code
[ ] Translation to crowdin
[ ] Script configuration
[ ] Improve performance
[ ] Style only
[ ] Dependency update
[ ] Documentation update
[ ] Release

No longer needed. Fixed in another PR


Add slab ibi

After #218 (to fix #179) porting the old code will really hard, so closing. Sorry!
Re-open if feature is really needed.


Fixed enclosing by double-quotes for arguments with symbols & < > |

#4133
Fixed enclosing by double-quotes for script arguments.

Is it possible for an executable to contain these characters? If so, they should be added to the regex pattern in the line above.

According to https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file:

The following reserved characters:

< (less than)

> (greater than)

: (colon)

" (double quote)

/ (forward slash)

\ (backslash)

| (vertical bar or pipe)

? (question mark)

* (asterisk)

However, these are allowed on *nix

It looks like the changes merged into pypa:master never made it into a live release, or were subsequently deleted. Does anyone know what happened here? @uranusjr
Latest release as of this comment:
https://github.com/pypa/pipenv/blame/660db3ef1a72112b8350b67b1f8bf78c611b37e9/pipenv/cmdparse.py#L76

@chris-twosense Do you have record of what the missing changes are?  This seems to be from before I started working on the project, and I'm having trouble finding what you are referring to.  There is a deleted branch on this thread so that doesn't really help.

Oh duh, I am looking at the PR, thought this was an issue report.  Ok so this was closed and never merged.  Should it have been merged?

It looks like the PR was approved, but then deleted? The fix implemented by this branch is still an issue, special characters & < > | are treated as separate arguments in pipenv scripts, so I'm not sure why it shouldn't have been merged. Thoughts?

@chris-twosense I assigned the issue to myself and when I find some time I'll look into it more.  Unless you think you can get to it sooner and want to open a new similar PR with a news fragment and unit test?


Export symbols init_app_map and list_builtins

See discussion at https://github.com/PX4/Firmware/issues/5756

Much appreciated!

@Stifael @julianoes Can you please test this today?

Thanks @CarloWood, I'll test this today.

init_app_map and list_builtins are fixed but now I get:
     30762: HAP:63:undefined PLT symbol _Dtest (1328) /libpx4muorb_skel.so (symbol.c:303)

I'll check if this is related to this change.

Strange enough if I cherry-pick this commit right after the initial cleanup commit I get:
   1298408: HAP:63:undefined PLT symbol localeconv (278) /libpx4.so (symbol.c:303)

Starting work on this now...

Hoping for a short cut, I just concentrated on the target qurt_eagle_default again.
The only reference to a symbol with even the string 'localeconv' in it appears in apps.cpp.o.
So, from now on only looking at that object file.
Compilation:
sean:/usr/src/px4/Firmware/Firmware.git/build_qurt_eagle_default/src/firmware/qurt>/usr/src/px4/snapdragon/Qualcomm/HEXAGON_Tools/7.2.12/Tools/bin/hexagon-clang++   -DCONFIG_ARCH_BOARD_EAGLE -D__DF_QURT -D__PX4_POSIX -D__PX4_QURT -D__PX4_QURT_EAGLE -D__QAIC_SKEL_EXPORT=__EXPORT -D__STDC_FORMAT_MACROS -Dpx4_EXPORTS -I/usr/src/px4/snapdragon/Qualcomm/Hexagon_SDK/3.0/incs -I/usr/src/px4/snapdragon/Qualcomm/Hexagon_SDK/3.0/incs/stddef -I/usr/src/px4/snapdragon/Qualcomm/Hexagon_SDK/3.0/libs/common/rpcmem/inc -I/usr/src/px4/snapdragon/Qualcomm/Hexagon_SDK/3.0/libs/common/qurt/ADSPv5MP/include -I/usr/src/px4/Firmware/Firmware.git/src -I/usr/src/px4/Firmware/Firmware.git/build_qurt_eagle_default -I/usr/src/px4/Firmware/Firmware.git/build_qurt_eagle_default/src -I/usr/src/px4/Firmware/Firmware.git/src/modules -I/usr/src/px4/Firmware/Firmware.git/src/include -I/usr/src/px4/Firmware/Firmware.git/src/lib -I/usr/src/px4/Firmware/Firmware.git/src/platforms -I/usr/src/px4/Firmware/Firmware.git/src/drivers/boards/eagle -I/usr/src/px4/Firmware/Firmware.git/build_qurt_eagle_default/src/modules/px4_messages -I/usr/src/px4/Firmware/Firmware.git/build_qurt_eagle_default/src/modules -I/usr/src/px4/Firmware/Firmware.git/mavlink/include/mavlink -I/usr/src/px4/Firmware/Firmware.git/src/lib/DriverFramework/framework/include -I/usr/src/px4/Firmware/Firmware.git/src/lib/matrix -I/usr/src/px4/Firmware/Firmware.git/src/lib/DriverFramework/dspal/include -I/usr/src/px4/Firmware/Firmware.git/src/lib/DriverFramework/dspal/sys -I/usr/src/px4/Firmware/Firmware.git/src/lib/DriverFramework/dspal/sys/sys -I/usr/src/px4/Firmware/Firmware.git/src/lib/DriverFramework/dspal/mpu_spi/inc -I/usr/src/px4/Firmware/Firmware.git/src/lib/DriverFramework/dspal/uart_esc/inc -I/usr/src/px4/Firmware/Firmware.git/src/platforms/qurt/include -I/usr/src/px4/Firmware/Firmware.git/src/platforms/posix/include -I/usr/src/px4/Firmware/Firmware.git/build_qurt_eagle_default/external/Install/include -I/usr/src/px4/Firmware/Firmware.git/build_qurt_eagle_default/src/firmware/qurt -I/usr/src/px4/snapdragon/Qualcomm/Hexagon_SDK/3.0/libs/common/rpcmem -I/usr/src/px4/snapdragon/Qualcomm/Hexagon_SDK/3.0/libs/common/remote/ship/hexagon_Debug  -DCONFIG_WCHAR_BUILTIN -D__CUSTOM_FILE_IO__ -mv5 -G0 -DDSP_TYPE_ADSP -g -fno-exceptions -fno-rtti -std=gnu++0x -fno-threadsafe-statics -DCONFIG_WCHAR_BUILTIN -D__CUSTOM_FILE_IO__ -Wall -Werror -Wextra -Wno-sign-compare -Wshadow -Wfloat-equal -Wpointer-arith -Wmissing-declarations -Wno-unused-parameter -Werror=format-security -Werror=array-bounds -Wfatal-errors -Werror=unused-variable -Werror=reorder -Werror=uninitialized -Werror=init-self -Wno-missing-field-initializers -fvisibility=hidden -include visibility.h -O0 -O2 -fno-strict-aliasing -fomit-frame-pointer -funsafe-math-optimizations -ffunction-sections -fdata-sections -fPIC  -DCONFIG_WCHAR_BUILTIN -D__CUSTOM_FILE_IO__ -mv5 -G0 -DDSP_TYPE_ADSP -DCONFIG_WCHAR_BUILTIN -D__CUSTOM_FILE_IO__ -mv5 -G0 -DDSP_TYPE_ADSP -fPIC   -D __QURT -D _PID_T -D _UID_T -D _TIMER_T -D _HAS_C9X -D restrict=__restrict__ -D noreturn_function= -include visibility.h -D __QURT -D _PID_T -D _UID_T -D _TIMER_T -D _HAS_C9X -D restrict=__restrict__ -D noreturn_function= -o CMakeFiles/px4.dir/__/__/__/apps.cpp.o -c /usr/src/px4/Firmware/Firmware.git/build_qurt_eagle_default/apps.cpp

symbols with the string 'locale' in it:
sean:/usr/src/px4/Firmware/Firmware.git/build_qurt_eagle_default/src/firmware/qurt>readelf -s -W CMakeFiles/px4.dir/__/__/__/apps.cpp.o | grep locale
   244: 00000000   184 FUNC    WEAK   HIDDEN   204 _ZNSt5ctypeIcE7_GetcatEPPKNSt6locale5facetEPKS1_
   247: 00000000     4 FUNC    WEAK   HIDDEN   225 _ZNSt6locale5facetD2Ev
   249: 00000000   172 FUNC    WEAK   HIDDEN   134 _ZNSt7num_putIcSt19ostreambuf_iteratorIcSt11char_traitsIcEEE7_GetcatEPPKNSt6locale5facetEPKS5_
   254: 00000000   148 FUNC    WEAK   HIDDEN   162 _ZNSt8numpunctIcE7_GetcatEPPKNSt6locale5facetEPKS1_
   288: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND _ZNKSt6locale9_GetfacetEj
   292: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND _ZNSt6locale2id7_Id_cntE
   293: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND _ZNSt6locale5facet9_RegisterEv
   326: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND localeconv

It annoys me that locale is used at ALL. It seems something we could do without.
Therefore I'll have to get back to c200ef88edb314b852ec4a5bcfb4042d5dfc6da8
and investigate what exists there...

Can you pull in Nuttx's locale stubs?

Ok, in c200ef8 there is no symbol localeconv anywhere at all. So, a solution would be something where that UND symbol disappears from apps.cpp.o. Furthermore, apps.h is included there in src/platforms/qurt/px4_layer/main.cpp :
Compilation:
sean:/usr/src/px4/Firmware/Firmware.git/build_qurt_eagle_default/src/platforms/qurt/px4_layer>/usr/src/px4/snapdragon/Qualcomm/HEXAGON_Tools/7.2.12/Tools/bin/hexagon-clang++   -DCONFIG_ARCH_BOARD_EAGLE -DMODULE_NAME=\"platforms__qurt__px4_layer\" -D__DF_QURT -D__PX4_POSIX -D__PX4_QURT -D__PX4_QURT_EAGLE -D__QAIC_SKEL_EXPORT=__EXPORT -D__STDC_FORMAT_MACROS -I/usr/src/px4/snapdragon/Qualcomm/Hexagon_SDK/3.0/incs -I/usr/src/px4/snapdragon/Qualcomm/Hexagon_SDK/3.0/incs/stddef -I/usr/src/px4/snapdragon/Qualcomm/Hexagon_SDK/3.0/libs/common/rpcmem/inc -I/usr/src/px4/snapdragon/Qualcomm/Hexagon_SDK/3.0/libs/common/qurt/ADSPv5MP/include -I/usr/src/px4/Firmware/Firmware.git/src -I/usr/src/px4/Firmware/Firmware.git/build_qurt_eagle_default -I/usr/src/px4/Firmware/Firmware.git/build_qurt_eagle_default/src -I/usr/src/px4/Firmware/Firmware.git/src/modules -I/usr/src/px4/Firmware/Firmware.git/src/include -I/usr/src/px4/Firmware/Firmware.git/src/lib -I/usr/src/px4/Firmware/Firmware.git/src/platforms -I/usr/src/px4/Firmware/Firmware.git/src/drivers/boards/eagle -I/usr/src/px4/Firmware/Firmware.git/build_qurt_eagle_default/src/modules/px4_messages -I/usr/src/px4/Firmware/Firmware.git/build_qurt_eagle_default/src/modules -I/usr/src/px4/Firmware/Firmware.git/mavlink/include/mavlink -I/usr/src/px4/Firmware/Firmware.git/src/lib/DriverFramework/framework/include -I/usr/src/px4/Firmware/Firmware.git/src/lib/matrix -I/usr/src/px4/Firmware/Firmware.git/src/lib/DriverFramework/dspal/include -I/usr/src/px4/Firmware/Firmware.git/src/lib/DriverFramework/dspal/sys -I/usr/src/px4/Firmware/Firmware.git/src/lib/DriverFramework/dspal/sys/sys -I/usr/src/px4/Firmware/Firmware.git/src/lib/DriverFramework/dspal/mpu_spi/inc -I/usr/src/px4/Firmware/Firmware.git/src/lib/DriverFramework/dspal/uart_esc/inc -I/usr/src/px4/Firmware/Firmware.git/src/platforms/qurt/include -I/usr/src/px4/Firmware/Firmware.git/src/platforms/posix/include -I/usr/src/px4/Firmware/Firmware.git/build_qurt_eagle_default/external/Install/include  -g -fno-exceptions -fno-rtti -std=gnu++0x -fno-threadsafe-statics -DCONFIG_WCHAR_BUILTIN -D__CUSTOM_FILE_IO__ -Wall -Werror -Wextra -Wno-sign-compare -Wshadow -Wfloat-equal -Wpointer-arith -Wmissing-declarations -Wno-unused-parameter -Werror=format-security -Werror=array-bounds -Wfatal-errors -Werror=unused-variable -Werror=reorder -Werror=uninitialized -Werror=init-self -Wno-missing-field-initializers -fvisibility=hidden -include visibility.h -O0 -O2 -fno-strict-aliasing -fomit-frame-pointer -funsafe-math-optimizations -ffunction-sections -fdata-sections -fPIC -fPIC   -D __QURT -D _PID_T -D _UID_T -D _TIMER_T -D _HAS_C9X -D restrict=__restrict__ -D noreturn_function= -include visibility.h -O2 -fno-strict-aliasing -fomit-frame-pointer -funsafe-math-optimizations -ffunction-sections -fdata-sections -fPIC -o CMakeFiles/platforms__qurt__px4_layer.dir/main.cpp.o -c /usr/src/px4/Firmware/Firmware.git/src/platforms/qurt/px4_layer/main.cpp

symbols with the string 'locale' in it do not exist at all. I like that more ;).
The question is now thus: why is locale suddenly being used?

davids5: That sounds like what is missing, but I had never heard of Nuttx's locae stubs :p. So, I'm not sure at all HOW to do that.

I just tried compiling main.cpp with the command line that compiled apps.cpp and still no locale... so it's not something that is passed to the compiler.

Look here
https://bitbucket.org/nuttx/nuttx/src/2fa8b9ba34d73bd0157c1d4f407a060fae796c2b/include/locale.h?at=master&fileviewer=file-view-default
This work to make the the arm tool chain compile.
The latter code is not even linked bit is here:
https://bitbucket.org/nuttx/nuttx/src/2fa8b9ba34d73bd0157c1d4f407a060fae796c2b/libc/locale/?at=master

Really... I just copied all header files at the top of main.cpp into apps.cpp(.in) and compiled apps.cpp with the same command line as main.cpp is compiled, plus a -I. and a copy of get_commands.h into .
... Still locate symbols in apps.cpp.o.

Ok, I found the problem... now lemme think of a proper solution...

So, david was right and linking with Nuttx's locale stubs would be a (the?) proper way to solve the linking issue... but I had to figure out why the old code didn't need those stubs. The answer is actually pretty embarrassing, locale gets dragged in by using std::cout, something I had done without giving it much thought: the posix/apps.h_in used cout, qurt/apps.h_in used printf, .. and I wasn't going to put a printf in a .cpp file haha.
At this point I'm not sure what to do though: adding an empty localeconv would work, but other locale related symbols are being linked and I'm worried about needless larger code because of this? I just have no idea. If it links then that code already exists anyway and you could argue as well that using printf will grow the code.
A "not a regression" solution would be to go back to printf, but that feels ugly to me.
I'll leave this choice to you guys (though I'm willing to write the patch, just let me know).

@CarloWood Embedded RTOS systems (like QuRT) generally implement just enough of the C/C++ standards to run "true low level" code. Often also custom implementations are used (QuRT has its own CLANG version). It can prove costly (in terms of loss of time, loss of drones and even loss of life) to test the boundaries of the C++ support. We don't know how well tested the string stream operators are.
You cannot make the assumption that everything that links is actually well implemented and well tested. I therefore want to go back to printf() and not run any more string stream operation than required. If we did we would need first to write a test suite to test the whole standard, including a valgrind session. We don't have the time for that unfortunately.
Thanks!

@LorenzMeier Does the software not print to 'cout' at all then, when compiled for QuRT? Because that seems what you imply; that it hasn't been used at all yet, so we don't know anything about the stability.

Note that the relevant diff from before and what we have now, for QuRT is:
-        unsigned long usecs = ( (unsigned long) atol( argv[1] ) ) * 1000 * 1000;
-        PX4_WARN("Sleeping for %s, %ld",argv[1],usecs);
-        usleep( usecs );
+        unsigned long usecs = 1000000UL * atol(argv[1]);
+        printf("Sleeping for %s s; (%ul us).\n", argv[1], usecs);
+        usleep(usecs);

I have to say that I didn't understand why that had to be a warning, so I used printf :*).
printf was already used elsewhere in that file, for another command.
While for POSIX the relevant diff is now:
+void list_builtins(apps_map_type &apps)
 {
-       cout << "Builtin Commands:" << endl;
-       for (map<string,px4_main_t>::iterator it=apps.begin(); it!=apps.end(); ++it)
-               cout << '\t' << it->first << endl;
+       PX4_INFO("Builtin Commands:\n");
+       for (apps_map_type::iterator it = apps.begin(); it != apps.end(); ++it)
+               PX4_INFO("%s : 0x%x\n", it->first.c_str(), it->second);
 }

and
+int sleep_main(int argc, char *argv[])
 {
-       if (argc != 2) {
-               cout << "Usage: sleep <seconds>" << endl;
-               return 1;
-       }
-       sleep(atoi(argv[1]));
-       return 0;
+        if (argc != 2) {
+           PX4_WARN( "Usage: sleep <seconds>" );
+           return 1;
+        }
+
+        unsigned long usecs = 1000000UL * atol(argv[1]);
+        printf("Sleeping for %s s; (%ul us).\n", argv[1], usecs);
+        usleep(usecs);
+        return 0;
 }

So, on posix we didn't print that we were sleeping at all; but now it does.
Also, sleep(3) conforms to POSIX.1-2001. While usleep was removed from POSIX in 2008 (it was obsoleted in POSIX.1-2001) and people should use nanosleep. I don't think it's a problem however we use usleep on POSIX (aka, linux), until it simply stops compiling.

@CarloWood I would not be conscious about using cout on any of our RTOS builds and yes, I would actively avoid using it. I do expect that its not used intensely and that we turn ourselves into guinea pigs when we do.
I'm speaking of experience - we have suffered through a lot of corner cases on various RTOS systems when using higher-level C++ features.
That does not mean I'm against targeting that medium term - but it would be a shame to gate your good cleanup on a complete cout test suite. Instead I'd like to dodge it for now, get the PX4 internals cleaned up and then consciously attack these standardisation aspects one-by-one with enough time to ring them out.

I'm bringing this in now. If there is any cleanup left we'll handle in a separate PR. Thanks!

@CarloWood @LorenzMeier
I am late to party here, but I just wanted to say thanks for tracking this down.  I will spread the word around here internally.  I will also see if I can find an official statement of the level of C++ support provided by the Hexagon SDK.
To Lorenz's point about C++ sometimes causing unexpected issues, we have a known bug related to the initialization of static C++ classes executed on the DSP.  I don't know all the details, but I believe the ctors's of the statically declared classes are not always executed correctly.
I will try to get more information on this as well.

@jywilson Not sure what you mean, since this was about a regression that I caused with another commit ;). The least I can do then is to track down and fix the issue. Also, this doesn't seem directly related to Hexagon SDK (although I have a few remarks about that elsewhere; in that it doesn't totally conform to the standard).
As for your second paragraph, static (and global) non-POD classes (aka, classes with a constructor) are evil to begin with; they should be avoid at almost every cost in any project imho. If this project has them then we should think about getting rid of them for the sake of stability anyway.

I agree this was a regression, but I think it would be helpful to know the extent of C++ support in the Hexagon tool chain to avoid future regressions.


How to work with image only?

not continuously video frame?
just image

for image segmentation, we recommand you just using original sam 2 since this work (samurai) is designed for video tracking tasks


Build and apply patched kernel modules fail on kernel 5.11

Required Info

Camera Model
D435i

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 20.04.1

Kernel Version (Linux Only)
5.11.0-46-generic

Platform
PC

SDK Version
built from source

Language
c, c++

Segment
Robot

Issue Description
I followed the instruction to build librealsense2 and patch kernel modules.
Steps:

Remove all realsense cameras from the robot
sudo apt remove librealsense2*
cd /tmp/new_librealsense_test/
git clone https://github.com/IntelRealSense/librealsense.git
cd /tmp/new_librealsense_test/librealsense
Start to build the librealsense2 SDK from source
mkdir build && cd build
cmake ../ -DCMAKE_BUILD_TYPE=Release
sudo make uninstall && make clean && make && sudo make install
The librealsense2 SDK is installed properly from above, later I tried to build and install the patched kernel modules
sudo apt-get install libglfw3-dev libgl1-mesa-dev libglu1-mesa-dev
cd /tmp/new_librealsense_test//librealsense
./scripts/setup_udev_rules.sh
./scripts/patch-realsense-ubuntu-lts.sh
The command above built the kernel modules but wasn't able to insert. The errors shown below

                  .
                  .
  LD [M]  /tmp/new_librealsense_test/librealsense/ubuntu-focal-hwe-5.11/drivers/media/v4l2-core/videodev.ko
  LD [M]  /tmp/new_librealsense_test/librealsense/ubuntu-focal-hwe-5.11/drivers/media/v4l2-core/videobuf-vmalloc.ko
make: Leaving directory '/tmp/new_librealsense_test/librealsense/ubuntu-focal-hwe-5.11'
Patched kernels modules were created successfully

Replacing videodev  -
        Applying the patched module ... modprobe: ERROR: could not insert 'videodev': Exec format error
Failed to insert the patched module. Operation is aborted, the original module is restored
Verify that the current kernel version is aligned to the patched module version
The original  videodev  module was reloaded

Hi @DeboBurro  In the past issues https://github.com/IntelRealSense/librealsense/issues/1225 and https://github.com/IntelRealSense/librealsense/issues/5598 where this problem was reported, the solution was found to be to disable Secure Boot in the computer's BIOS configuration.

@MartyG-RealSense Thank you. The secure boot was already be disabled in the beginning of provisioning the robots (nvidia-driver required us to disable the secure boot). I also double checked again now, so this might not be the case.

I note in your installation list above that you are building librealsense (step 6) and then applying the kernel patch script (step 14).  The installation order described in the installation.md instructions is to apply the patch before building librealsense.
In regard to removing librealsense packages with sudo apt remove librealsense2 in step 2 before performing a source code installation, the SDK's package installation instructions at distribution_linux.md recommend using a 'purge' instruction instead to remove all librealsense-related packages that might be installed on a computer.
dpkg -l | grep "realsense" | cut -d " " -f 3 | xargs sudo dpkg --purge
https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md#uninstalling-the-packages
The installation_md instructions also advise to perform sudo apt-get install libglfw3-dev libgl1-mesa-dev libglu1-mesa-dev before installing librealsense.

@MartyG-RealSense I followed your suggestions by the steps below

sudo apt install ${librealsense_pkgs[@]}  # install back the librealsense packages so later when it purges, it would remove all the config files properly
dpkg -l | grep "realsense" | cut -d " " -f 3 | xargs sudo dpkg --purge
sudo apt-get install libglfw3-dev libgl1-mesa-dev libglu1-mesa-dev
mkdir -p /tmp/1013_realsense_test/ && cd /tmp/1013_realsense_test/
git clone https://github.com/IntelRealSense/librealsense.git
cd librealsense
./scripts/patch-realsense-ubuntu-lts.sh
But it still shows the same error

  LD [M]  /tmp/1013_realsense_test/librealsense/ubuntu-focal-hwe-5.11/drivers/media/v4l2-core/videobuf-core.ko
make: Leaving directory '/tmp/1013_realsense_test/librealsense/ubuntu-focal-hwe-5.11'
Patched kernels modules were created successfully

Replacing videodev  -
	Applying the patched module ... modprobe: ERROR: could not insert 'videodev': Exec format error
Failed to insert the patched module. Operation is aborted, the original module is restored
Verify that the current kernel version is aligned to the patched module version
The original  videodev  module was reloaded

And I checked the kernel log by dmesg -T, the time when the kernel module inserts i
[Thu Oct 13 11:01:13 2022] USB Video Class driver (1.1.1)
[Thu Oct 13 12:02:05 2022] usbcore: deregistering interface driver uvcvideo
[Thu Oct 13 12:02:05 2022] mc: Linux media interface: v0.10
[Thu Oct 13 12:02:05 2022] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc<PHONE_NUMBER>2915a0, val ffffffffc3972e7d
[Thu Oct 13 12:02:05 2022] videodev: Linux video capture interface: v2.00

I then removed all the linux header files and reinstall back the 5.11.0-46 header
sudo apt remove --purge linux-headers-*
sudo apt autoremove && sudo apt autoclean
sudo apt install linux-headers-5.11.0-46-generic
sudo reboot

Then double checked the system after rebooting
USERNAME@burro-8-883:~$ mokutil --sb-state
SecureBoot disabled
burro@burro-8-883:~$ uname -a
Linux burro-8-883 5.11.0-46-generic #51~20.04.1-Ubuntu SMP Fri Jan 7 06:51:40 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

And follow the same steps in the first section to install but it still shows the could not insert 'videodev': Exec format error

Is it possible for you to build librealsense with the RSUSB backend, which bypasses the Linux kernel and so provides hardware metadata without having to apply a kernel patch?  You can build librealsense in RSUSB mode by adding -DFORCE_RSUSB_BACKEND=true to the CMake build instruction.
cmake ../ -DCMAKE_BUILD_TYPE=Release -DFORCE_RSUSB_BACKEND=true

@MartyG-RealSense we are using a multi camera set up and need to use the V4L backend

Hi @fiorano10  The comment about the ROS wrapper installation being based on the RSUSB backend relates to the Method 1 installation method in the wrapper instructions that installs librealsense and the ROS wrapper together at the same time from packages with apt-get install, as advised at https://github.com/IntelRealSense/realsense-ros/issues/1515#issuecomment-744223832
As advised by Yusheng in the image quote that you kindly provided, a source code build of librealsense will not be based on RSUSB backend by default.

hi @MartyG-RealSense, thank you so much. We were also suggested to use the branch development to build the kernel modules based on the discussion in the PR.
So I ran through the following commands and it builds the patch kernel modules successfully.

git clone -b development https://github.com/IntelRealSense/librealsense.git
cd librealsense
./scripts/patch-realsense-ubuntu-lts-hwe.sh

The result shown below says successfully built and installed but I am a little bit concern about some *.ko files related to v4l2 were skipped.
      .
      .
Skipping BTF generation for /tmp/librealsense/ubuntu-focal/drivers/media/v4l2-core/videobuf-core.ko
due to unavailability of vmlinux
  BTF [M] /tmp/librealsense/ubuntu-focal/drivers/media/v4l2-core/v4l2-dv-timings.ko
Skipping BTF generation for /tmp/librealsense/ubuntu-focal/drivers/media/v4l2-core/v4l2-dv-timings.k
o due to unavailability of vmlinux
  LD [M]  /tmp/librealsense/ubuntu-focal/drivers/media/v4l2-core/videodev.ko
  LD [M]  /tmp/librealsense/ubuntu-focal/drivers/media/v4l2-core/videobuf-vmalloc.ko
  BTF [M] /tmp/librealsense/ubuntu-focal/drivers/media/v4l2-core/videobuf-vmalloc.ko
Skipping BTF generation for /tmp/librealsense/ubuntu-focal/drivers/media/v4l2-core/videobuf-vmalloc.
ko due to unavailability of vmlinux
  BTF [M] /tmp/librealsense/ubuntu-focal/drivers/media/v4l2-core/videodev.ko
Skipping BTF generation for /tmp/librealsense/ubuntu-focal/drivers/media/v4l2-core/videodev.ko due t
o unavailability of vmlinux
make: Leaving directory '/tmp/librealsense/ubuntu-focal'
Patched kernels modules were created successfully

[sudo] password for burro:
Replacing videodev  -
        Applying the patched module ...  succeeded
Replacing uvcvideo  -
        Applying the patched module ...  succeeded
Replacing hid_sensor_accel_3d  -
Module is resident, unloading ...  succeeded.
        Applying the patched module ...  succeeded
Replacing hid_sensor_gyro_3d  -
Module is resident, unloading ...  succeeded.
        Applying the patched module ...  succeeded

Script has completed. Please consult the installation guide for further instruction.

Hi @DeboBurro and @fiorano10  Do either of you require further assistance with this case, please?  Thanks!


It should be refactored in a way that the shared product-related markup is stored in the Detail.cshtml but the model-specific details are handled using e.g. Display templates (per type).

fixed in #11


registry package pages

DO NOT MERGE
not ready for code review yet!
theme: https://github.com/pulumi/theme/pull/397
figma designs:
https://www.figma.com/file/bVEoSwAvU7KDpuPNri332F/Compact-Registry?node-id=117%3A3379&t=aHUxQCTiyRaFs11P-0
https://www.figma.com/file/bVEoSwAvU7KDpuPNri332F/Compact-Registry?node-id=227%3A5397&t=3sCE2WZGUSX9Dm5q-0
known issues:
these are some issues I am still working through. let me know if you all find any others.
mobile view - card and content getting cutoff specifically on install tab

on a few  resource pages content laying out strangely.

aahhh so exciting!! so glad to see this come together
a few minor style nits for the card itself:

the font and size of every element on the open card should be Inter 12px
the only font that's different is the "last published" on the collapsed card which is Inter 10px gray600#5A5A5A
(this is my bad, it's wrong in figma) we should use blue600 #4D5BD9 for that info icon to match the note containers
the info icon and the github icon should be the same size -- i think without the padding it'll be about 15x15
i'm pretty sure the border color is a little light on the open card, should be gray300 #DCDCDC. on the closed card it's gray400 #B0B0B0 along with the down/up chevron

awesome. thanks @anita-trimbur. I'll get those changes made!

wow you got those changes in fast!
last nit: can we shrink that external link icon by the source code repo? maybe down to like 10x10. i think that link text can also be 12px.

following up on our team discussion regarding grays. here's the breakdown

tailwind is using the blue-grays that we were trying to get rid of. the _colors.scss file nearly matches the service grays in figma with the exception of gray 200, so it shouldn't be problematic to align gray200 as #EFEFEF. i think the difference in border color on the collapsed card was a color sampling error i made in figma -- sean you're right that it should match gray300 as it is defined in the service/.scss file.