Still getting error

project/platforms/ios/Pods/FirebaseAnalytics/Frameworks/FIRAnalyticsConnector.framework/FIRAnalyticsConnector(FIRAnalyticsConnector_c162b9f6e9dd193ef13757b8d7ebe6f7.o), building for Mac Catalyst, but linking in object file built for iOS Simulator, file 'project/platforms/ios/Pods/FirebaseAnalytics/Frameworks/FIRAnalyticsConnector.framework/FIRAnalyticsConnector' for architecture x86_64

Podfile:
target 'Project' do
        project 'platforms/ios/Project.xcodeproj'
        pod 'Firebase/Messaging'
        pod 'Firebase/Functions'
        pod 'Firebase/Crashlytics'
        pod 'Firebase/Analytics'
end

# Configure your macCatalyst dependencies
catalyst_configuration do
	# Uncomment the next line for a verbose output
	#verbose!
        ios 'Firebase/Messaging'
        ios 'Firebase/Functions'
        ios 'Firebase/Crashlytics'
        ios 'Firebase/Analytics'
	# ios '<pod_name>' # This dependency will only be available for iOS
	# macos '<pod_name>' # This dependency will only be available for macOS
end

# Configure your macCatalyst App
post_install do |installer|
	installer.configure_catalyst
end

It's building fine for iOS but still getting the same error with this configuration, any ideas?

@BRadHoc have you opened any other issue? Can you reference it here please?

I haven't got another issue. I meant "still" as in it wouldn't build before without catalyst-support and it still won't build with this currently.

Having the same issue. Curiously it doesn't seem to work with "Firebase/Analytics" specifically -- "Nothing to uninstall"

@BRadHoc please, from now on use the issue templates available. This issue is missing information required to properly analyse it.
Could any of you @bdaz or @BRadHoc please let me know you Xcode and Cocoapods version? Mine is 12.4 and 1.10.1.
I'm using the same dependencies as in the description ☝ in my Sample project in this repo (please follow the link) and it seems to compile fine.
Could you please:

Download the project in this specific branch.
Try to compile for Mac
run pod catalyst in your project folder
Try and compile again

And let me know if steps 2 or 4 fail?

@fermoya Xcode version is 12.5. Cocoapods version is 1.10.1.
I did what you asked. Step 2 and 4 both work—however, I did manage to reproduce the error in the Sample using that branch—it simply involved a local pod that depends on 'Firebase/Analytics'. You can see the setup here: https://github.com/bdaz/cocoapods-catalyst-support/tree/issue-26-bdaz-modified
Note that I removed all other dependencies in the sample except Firebase/Analytics -- they are not necessary to demonstrate the issue.

@bdaz I think your Podfile in your example is wrong. By saying this:
target 'Sample' do
  pod 'Firebase/Analytics'
  pod 'TFBase', :path => 'Libraries/TFBase'

You're defining a Sample target that depends on Firebase/Analytics and TFBase. To add Firebase/Analytics as a dependency of TFBase you need to say so:
target 'TFBase' do
pod 'Firebase/Analytics'
Or

abstract_target 'App' do
pod 'Firebase/Analytics # shared by all targets declared in here
target 'Sample'
target 'TFBase' do
# install more pods only for TFBase
See more info [here](https://guides.cocoapods.org/using/the-podfile.html)


dark mode

I am requesting  a dark mode version of the website and documentation. It's not about my personal style preference. It's a usability issue since I am presently dealing with cataracts.
A dark theme can be easier to read because it reduces light and improves contrast. An alternate solution would be having the ability to change the style.
I want to thank you for Flask. It's incredible.

Hi, I'm working on this feature.
Do we need configuration to enable/disable the dark mode (show/hide the switch)?

I think giving users the option to toggle it (persistently - save it e.g. in localStorage) is enough.

Got it.
One more question, the themes/babel folder is unused, right? I checked the conf.py of babel, and it didn't involve the pallets-sphinx-thmes.

We're planning to switch to Furo as a base theme, which will provide a dark mode.


Test Submit Program

Description
Test Submit Program

Program added successfully :tada:
    Thanks for your contribution :hugs:


Using Other Networks than Bitcoin

Currently the Peer->send() only serializes for the Bitcoin network, as no NetworkInferface parameter is provided.
https://github.com/Bit-Wasp/bitcoin-p2p-php/blob/master/src/Peer/Peer.php#L127
The easiest approach IMHO would be to add a getNetwork() method in the Message Factory and call this inside the Peer. I will create a pull request...
Maybe not the most beautiful solution though...

Closing this issue, as the connected PR has been merged! Thanks again :)


chore(winget): rename manifests to align with project

Prerequisites

[x] I have read and understood the [contributing guide][CONTRIBUTING.md].
[x] The commit message follows the [conventional commits][cc] guidelines.
[ ] Tests for the changes have been added (for bug fixes / features).
[ ] Docs have been added/updated (for bug fixes / features).

Description
The file names do not seem to affect winget-create, but ideally, they should correspond with the project.

@all-contributors please add @vedantmgoyal2009 for maintenance

@JanDeDobbeleer this time I added myself :D


version 5.0.2 does not parse tracks correctly (works with version 4.4.5)

Bug
onLoad does not return tracks (audio/video/text) details.
selectedTextTrack parameter does not work (subtitles not effectively selected).
Here is an example of the 'onLoad' payload I receive:
{"canPlayFastForward": true, "canPlayReverse": true, "canPlaySlowForward": true, "canPlaySlowReverse": true, "canStepBackward": true, "canStepForward": true, "currentTime": 0, "duration": 5170, "naturalSize": {"height": 540, "orientation": "landscape", "width": 960}}
You can see that audioTracks, textTracks and videoTracks are missing.
Platform
Which player are you experiencing the problem on:

Android ExoPlayer
I have not tested on other platforms, might fail too.

Environment info
React native info output:
 System:
    OS: macOS 10.15.5
    CPU: (4) x64 Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
    Memory: 2.33 GB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 12.13.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.4 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.6, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 23, 28, 29
      Build Tools: 23.0.1, 28.0.3, 29.0.3
      System Images: android-28 | Intel x86 Atom_64
  IDEs:
    Android Studio: 3.6 AI-192.7<IP_ADDRESS>41897
    Xcode: 11.6/11E708 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.4 => 0.61.4

Library version: 5.0.2
Steps To Reproduce
Add a console print of the payload returned by onLoad
Expected behaviour
Payload should include audioTracks, textTracks and videoTracks
Reproducible sample code
Video sample
https://d1v7aopt5pctsj.cloudfront.net/HLS-TopKnotchDetective/TKD_FEATURE_MASTER_2017_LCR_CINEMA_20171201_STEREO(Created+by+Vince).m3u8
https://d1v7aopt5pctsj.cloudfront.net/HLS-Chrieg/CHRIEG_11062015_TV_grading_prores4444_HD1080_24P_STEREO.m3u8
IMPORTANT NOTE
it works fine with library version 4.4.5 !

I'm facing this same issue with onLoad.
As a workaround I'm using an external m3u8 parser for now.
What's exactly the problem with selectedTextTracks? If you can paste your code I can try to help

also 4.4.5 version not working  correctly

We were having this same issue after upgrading our app to RN 0.60 to 0.63 and thought it was because we also upgraded react-native-video. Turns out that, for whatever reason our app had switched to using Android's mediaPlayer instead of the exoPlayer like it was before upgrading. ymmv.

@edferreira Would you be able to shed some light on what layer you implemented the external m3u8 parser workaround?


Lowercase TCP is printed as UDP in output.

Lowercase (incorrect):
$ cat lowercase.txt ; ./leprechaun.rb -f lowercase.txt -p all
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 <IP_ADDRESS>:52796       <IP_ADDRESS>:22       ESTABLISHED
[*] Completed! Graph output file located at: ./network_diagram.png
+---------+-----------------------------+----------------------------------+
| Server  | Number of connected clients | Highest traffic destination port |
+---------+-----------------------------+----------------------------------+
| <IP_ADDRESS> | 1                           | 22/udp (1 connections)           |
+---------+-----------------------------+----------------------------------+
Uppercase (correct):
$ cat uppercase.txt ; ./leprechaun.rb -f uppercase.txt -p all
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
TCP        0      0 <IP_ADDRESS>:52796       <IP_ADDRESS>:22       ESTABLISHED
[*] Completed! Graph output file located at: ./network_diagram.png
+---------+-----------------------------+----------------------------------+
| Server  | Number of connected clients | Highest traffic destination port |
+---------+-----------------------------+----------------------------------+
| <IP_ADDRESS> | 1                           | 22/tcp (1 connections)           |
+---------+-----------------------------+----------------------------------+

Fixed. Thanks @duncrow!


Fix Darwin native stdenv

Since we are not quite ready on https://github.com/NixOS/nixpkgs/pull/105026, I wanted to look into getting native darwin stdenv working again. There were quite a few evaluation errors which needed to be fixed.
In testing, I installed coreutils-8.32 and bash-5.1 in /usr/local.

outdated


Pathfinding Improvements: Replace nextNodes array with UniquePriorityQueue

The current algorithm uses a simple array to store the nextNode queue, and sorts the array every iteration in (probably) O(nlog(n)) time.
I've implemented the UniquePriorityQueue which, when pushing a node, will always keep itself sorted in priority order. Also on insert, it will look through the queue for a matching node, and the lower-priority instance of the element is discarded. This gives time complexities:

Push: O(n) on the number of existing elements
Pop: O(1)

Note This currently includes the changes from #168 as it builds upon them. Once #168 is merged, those changes can be merged into here.

Did you perform any benchmarks of this change? Since linked lists may be spread all over the memory, they usually aren't as easy to deal with for CPUs as arrays (more frequent cache misses and less options for speculative execution). So while O indicates that using a linked list should be faster, in reality it might turn out that it isn't.
I'll have access to a test world with a huge map for benchmarking later today, so if you don't have a good benchmarking setup I'm able to do that for you.

Apart from the single comment I left the code changes look pretty good.

Addressing a bit at a time. After running some benchmarks on the map I was having trouble with (a fair amount of open space but the route needing to go back and forth a bit) I was getting ~45-100ms pathing times with before this change and ~30-60ms after. I made sure everything was cached beforehand, so those times are only for the actual algorithm loop.
One of the nice things about this approach is that the internals of UniquePriorityQueue can be changed later if an even more performant method is required.


rewrite renameDirectory to use Path instead of String for its parameters

Checklist
General

[ ] I tested all changes and their related features with all corresponding user types on a test server.
[ ] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[ ] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[ ] I chose a title conforming to the naming conventions for pull requests.

Server

[x] I followed the coding and design guidelines.
[ ] I added multiple integration tests (Spring) related to the features (with a high test coverage).
[ ] I added pre-authorization annotations according to the guidelines and checked the course groups for all new REST Calls (security).
[x] I implemented the changes with a good performance and prevented too many database calls.
[x] I documented the Java code using JavaDoc style.

Client

[x] I followed the coding and design guidelines and ensured that the layout is responsive.
[ ] Following the theming guidelines, I specified colors only in the theming variable files and checked that the changes look consistent in both the light and the dark theme.
[ ] I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.
[ ] I added authorities to all new routes and checked the course groups for displaying navigation elements (links, buttons).
[ ] I documented the TypeScript code using JSDoc style.
[ ] I added multiple screenshots/screencasts of my UI changes.
[ ] I translated all newly inserted strings into English and German.

Changes affecting Programming Exercises

[ ] I tested all changes and their related features with all corresponding user types on Test Server 1 (Atlassian Suite).
[ ] I tested all changes and their related features with all corresponding user types on Test Server 2 (Jenkins and Gitlab).

Motivation and Context

https://github.com/ls1intum/Artemis/issues/5793
Description

I changed the types of the parameters of the function renameDirectory in src/main/java/de/tum/in/www1/artemis/service/FileService.java from String to Path. I also added the test testRenameDirectory() in de/tum/in/www1/artemis/service/FileServiceTest.java to test the function behaves as expected.
Steps for Testing

Prerequisites:

1 Instructor
2 Students
1 Programming Exercise with Complaints enabled

Log in to Artemis
Navigate to Course Administration
...

Exam Mode Testing

Prerequisites:

1 Instructor
2 Students
1 Exam with a Programming Exercise

Log in to Artemis
Participate in the exam as a student
Make sure that the UI of the programming exercise in the exam mode stays unchanged. You can use the exam mode documentation as reference.
...

Review Progress

Code Review

[ ] Review 1
[ ] Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Exam Mode Test

[ ] Test

Test Coverage

Screenshots

How do I test this on a test server?

Codecov Report

Merging #5992 (77aad94) into develop (aac6e35) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #5992   +/-   ##
==========================================
  Coverage      79.95%   79.95%
- Complexity     12375    12376    +1
==========================================
  Files           2126     2126
  Lines          84451    84451
  Branches       12671    12671
==========================================
+ Hits           67522    67526    +4
+ Misses          9391     9388    -3
+ Partials        7538     7537    -1

Impacted Files
Coverage Δ

...va/de/tum/in/www1/artemis/service/FileService.java
82.30% <100.00%> (+0.73%)
:arrow_up:

...ce/scheduled/ParticipantScoreSchedulerService.java
84.10% <0.00%> (+0.66%)
:arrow_up:

Flag
Coverage Δ

client
75.76% <ø> (ø)

server
84.61% <100.00%> (+0.01%)
:arrow_up:

Continue to review full report at Codecov.

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


BackendConfig usage

Hi Amitai,
I hope you're doing great. I've been delving into Elm lately and have been using your work on Elm Hedley as an amazing starting point. I really appreciate you keeping it open source so we can learn from it!
I have a question though. You have a notion of "Backends" in your application Config type aliases. How do you determine whether you use the productionURL or the developmentURL? I'm facing this similar challenge, and can't quite pinpoint how you've solved this.
Thank you very much for your time,
Tolga Paksoy.
PS: we had talked in e-mail and you recommended me opening an issue

Geting the right backend is happening here. It's a naive approach - looking at the URL, and finding the right backend from the backend list


handle sparqlUpdate request as single string arg

This bug fix supports the shortcut way of calling graph.sparqlUpdate(). The method can also be called with a configuration object.
closes #236

A minor nit:
data = arg;
would also work and is consistent with the pattern elsewhere, but the difference is fussy and of no account.
Thanks for squaring this issue away.


Demo flattened attributes in example app

Add Book attributes that use flattened JSON key paths such as pricing.retail_price, and expose them in the example app UI.

This fixes a bug where flattened attribute values weren't being encoded correctly.


How to connect mssql via Socks5 by pyodbc

I want to use pyodbc to connet and query under Python
For security, I set the target can only be connected by a special IP
So I must use Socks5 proxy to connet it
How to do it

Python: 3.8
pyodbc: latest
OS: Windows10 64bit
DB:mssql 2016
driver:

Please be more specific and detailed in your question.

Please be more specific and detailed in your question.

Please be more specific and detailed in your question.

I updated my question thanks

Please be more specific and detailed in your question.

Please be more specific and detailed in your question.

I mean how to use proxy such as Socks5 in pyodbc

https://github.com/mkleehammer/pyodbc/discussions/1030


Estimate duration should consider only successful workflow runs

Currently  RD use the estimated runtime also from crashed releases, which can lead to massive overdue.
Estimate duration should consider only successful workflow runs

Oh, that's a good one!


Full support for complex license expressions

Simple license expression (SpdxSimpleLicenseExpressionV2) is a structure with multiple fields.
Where a complex license expression (SpdxComplexLicenseExpressionV2) is just a string.  It would be more elegant and easier for analysis if a license expression such as this:
(MIT AND BSD-3) OR GPLV2
is decomposed into its constituent pieces.

Maybe a parser package would help with this?


feature: non-humanities users handling and access control

Fixes #509
Adds a new Faculty model, using a M2M to User. I did end up also needing a proxy model, as SAML can only use processors defined on the User model. I did not switch Django itself to said model, only SAML is using it.
The faculty model is set-up to extend further; one idea I have is automatically redirecting FSW users to their committee. But I'm lazy, so this can become our next backlog issue :)
I decided to only ever add faculties to a user, instead of constantly replacing the entire set with the current SAML-provided set. It's debatable if that's a good idea, I mostly did it to give us the ability to ad-hoc add people to certain faculties.
Also implemented were 2 (well, 2 with 2 variants) ways to check 'membership'. A straight copy of GroupsRequiredMixin for views, and a simple utility function for other uses. Both come in a 'generic' variant, and a preset 'humanities' variant.
It's a bit overkill, but might come in handy if we even need to support REBO as well.
The last change is a controversial one; I moved the constants from settings.py into their own file. Mostly because I dislike our monolithic settings files, as it makes deployment annoying (in terms of keeping settings in sync). In the future, I want the 'dev settings' and the 'deployed settings' use the same files more, making the file we need to configure on the server smaller and thus easier to keep in sync.

Testing:

Have your SAML configured; update any existing local SAML settings with the new attribute map
Create or update an user in the dev IdP, to have a 'Organisational Unit Name' entry with as name 'Faculteit Geesteswetenschappen'

Also, maybe add some other users with other faculties. (I was testing with 'Faculteit Pythonwetenschappen' at some point)
The dev IdP has a 'fsw' user btw

Log in using said users
See if it all works ;)

Oh, just one final meta comment! I noticed this PR has one commit touching 16 files at once. I don't always step through commits when reviewing, but it does make the process easier sometimes.
When I'm ready to make a PR, I like to reset my index and re-commit my changes in related chunks. This also has some QA benefits for me. Just another suggestion.

I'll address the comments sometime this week;
Regarding the fragility of the hardcoded constant; Yeah, I agree that it isn't ideal.
Your solution would make things better in that sense, but will also make things slightly less fine-grained. We can only say 'this faculty is slightly more special than others'.
I admit, at the moment this does not matter, as we only have the one faculty we care about atm. However, I'd like to propose an alternative:
Add a new field internal_name (or something) that's a choices-limited field (atm the choices would probably be 'humanities' and 'other'). Then, instead of the constant we can refer to the model-specific choices where needed. It would make the whole thing django-admin-friendly, and still allow easy extension to other 'special' faculties in the future.

Oh, just one final meta comment! I noticed this PR has one commit touching 16 files at once. I don't always step through commits when reviewing, but it does make the process easier sometimes.
When I'm ready to make a PR, I like to reset my index and re-commit my changes in related chunks. This also has some QA benefits for me. Just another suggestion.

That's a valid point. I'll try to make more individual commits; for example, this PR could've been split it up in 3 commits. (Adding the base faculty logic, adding the warning and adding the access-controls to the views).
However, in general I do prefer larger commits in the long-term, as it makes it easier to understand using git-blame why something was changed. (Otherwise, you end up picking through multiple commits sometimes). Something I find myself doing on a semi-regular basis.
Maybe a good 'having your cake and eat it too' solution would be to start using 'squash-merges' in GH? That way, all the 'address PR comments' commits would also be merged into the one commit. Those make stuff harder to understand as wel...
(And GH also adds the PR number by default to the squashed commit message, so you can also easily find the discussion for those changes, all in one commit)
Okay, maybe I'm getting ahead of the meeting next week now...

Maybe a good 'having your cake and eat it too' solution would be to start using 'squash-merges' in GH? That way, all the 'address PR comments' commits would also be merged into the one commit. Those make stuff harder to understand as wel...

Didn't we already switch to this? For me, squash and merge is the default option when merging PR's. I'm a fan.

Add a new field internal_name (or something) that's a choices-limited field (atm the choices would probably be 'humanities' and 'other'). Then, instead of the constant we can refer to the model-specific choices where needed. It would make the whole thing django-admin-friendly, and still allow easy extension to other 'special' faculties in the future.

That would be even better: strikes a good balance between future-proofing and overengineering. The overengineering side of me kind of wants a way to allow individual users into the archive without polluting their profile with a fake faculty. But that's really overthinking things at this point.

Didn't we already switch to this? For me, squash and merge is the default option when merging PR's. I'm a fan.

Eh, I don't recall we've ever agreed to do this. (I didn't even know it was an option GH offered until Xander pointed it out to me).
But in that case, great :)

That would be even better: strikes a good balance between future-proofing and overengineering. The overengineering side of me kind of wants a way to allow individual users into the archive without polluting their profile with a fake faculty. But that's really overthinking things at this point.

Awesome, I'll implement this with the other comments.
And to ease your concerns about pollution;
I don't consider manually adding someone to the Humanities faculty is wrong; this should only happen for researchers working on humanities research and, by extension, are actually working for humanities. SAP might disagree, but well, that is bound to happen from time to time.

Okay, added the new internal name thing and I think I addressed your comments!

Yeah, the default select-multiple is pretty horrible.
I've changed the Faculty admin to use the same widget used for groups in the user admin; which is pretty easy to do turns out lol.
Honestly, I think this is the superior widget for M2M relations. Sadly, it will only work on the model defining the M2M (for some reason, there is no underlying DB reason). So we can't use it on the user admin page.
Luckily, the biggest fault of the widget we use there now is that it is very ugly....


Missing features in light example after commissioning at Home Assistant

I've been testing commissioning and controlling devices in Home Assistant, the given examples given by Nabu Casa works, but flashing the light example from this repo, results in missing features on the device.
This how the given example looks like: (It has Product name, vendor name, hardware version, and the light control)

And this is how the example from this repo looks like (Product name, vendor name, hardware version have placeholder values and there isn't any control for the light)

How can placeholder values be changed? And about the controls, maybe the example doesn't report correctly some information so that home assistant doesn't know that is a light, so I think that this is a problem.

@Diegorro98 If you are trying with the esp-matter light example then it creates a color temperature light device type which is currently not supported with Home Assistant. See here: https://developers.home.google.com/matter/supported-devices
You can simply change the example code to make the light as a dimmable light (similar to the upstream lighting example you've mentioned above). With that, ideally the Home Assistant should be able to identify the device. Can you please give it a try and let us know if it helps?
`
/* Create a Matter node */
node::config_t node_config;
node_t *node = node::create(&node_config, app_attribute_update_cb, NULL);
dimmable_light::config_t light_config;
light_config.on_off.on_off = DEFAULT_POWER;
light_config.level_control.current_level = DEFAULT_BRIGHTNESS;
endpoint_t *endpoint = dimmable_light::create(node, &light_config, ENDPOINT_FLAG_NONE);

/* These node and endpoint handles can be used to create/add other endpoints and clusters. */
if (!node || !endpoint) {
    ESP_LOGE(TAG, "Matter node creation failed");
}

/* Initialize identify */

`
@shubhamdp Can you please help about the 2nd part of the question: Changing the product name, vendor name, hardware version etc.

I tried the changes you suggested me, at first didn't work. But after erasing the flash and clean build the example it worked!
I can control the light and the bright. Thank you!

@Diegorro98 Glad to know. Erasing flash is required as the commissioning with the correct device type needs to happen again.
I will still keep this issue open until we have a resolution on the 2nd part.

For second part i.e setting device instance information:
Can you please apply 0001-Set-device-instance-info-provider-to-read-data-from-.txt. We'll also release this patch sooner.
Enable CONFIG_ENABLE_ESP32_FACTORY_DATA_PROVIDER and CONFIG_ENABLE_ESP32_DEVICE_INSTANCE_INFO_PROVIDER sdkconfig options and rebuild and flash the firmware.
To set the configs you have specified, please use generate_esp32_chip_factory_bin.py script to generate the factory partition. Please check -h/--help for more options.
Below is the sample how you can use this script. Please make sure the VID/PID for the test certs that you will be using matches with the one you'll be providing in --vendor-id and --product-id  arguments.
./generate_esp32_chip_factory_bin.py -p 20202021 -d 3840 \
    --dac-cert connectedhomeip/credentials/test/attestation/Chip-Test-DAC-FFF2-8001-0008-Cert.der \
    --dac-key connectedhomeip/credentials/test/attestation/Chip-Test-DAC-FFF2-8001-0008-Key.der \
    --pai-cert connectedhomeip/credentials/test/attestation/Chip-Test-PAI-FFF2-8001-Cert.der \
    --cd connectedhomeip/credentials/test/certification-declaration/Chip-Test-CD-FFF2-8001.der \
    --vendor-id 0xFFF2 --product-id 0x8001 \
    --product-name "Light Switch" --vendor-name "Espressif Systems" \
    --hw-ver 3 --hw-ver-str "ESP32C3-DevKitM1"

Now, flash the generated factory_partition.bin at deafult nvs partition address.
esptool.py -p (PORT) write_flash 0x1000 path/to/factory_partition.bin

@Diegorro98 Did you get a chance to try it out

Hi! Sorry for the delay, I've been disconnected for some days and I'm testing it.
First, I should mention that flash address given in this comment

Now, flash the generated factory_partition.bin at deafult nvs partition address.
esptool.py -p (PORT) write_flash 0x1000 path/to/factory_partition.bin

maybe is wrong, because I tried and the output at the console was the following:
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371

I checked partitions.csv at the example and the nvs partition seems to have 0x10000 offset, so I specified to write on that flash address after erasing the whole flash and flashing the example just in case, and it seemed to work.
But now I'm facing another issue that doesn't let me test, at the console, I receive some error logs about app_qrcode:
E (2299) chip[DL]: Long dispatch time: 340 ms, for event type 2
E (2299) app_qrcode: Couldn't get discriminator: Error Device Layer:0x000002
E (2309) app_qrcode: Error getting payload -1
E (2319) app_qrcode: Error getting short manual code text
E (2329) app_qrcode: Error getting long manual code text
E (2339) app_qrcode: Error getting qrcode text

and if y wrote this command at the console, I receive errors too:
> matter onboardingcodes ble
QRCode:            E (40850) chip[SVR]: GetCommissionableDataProvider()->GetSetupPasscode() failed: 2d
I (40850) chip[SVR]: *** Using default EXAMPLE passcode 20202021 ***
E (40860) chip[SVR]: GetCommissionableDataProvider()->GetSetupDiscriminator() failed: 201
E (40860) chip[SVR]: GetPayloadContents() failed: 201

I've doing some testing and seems to be related to the mentioned sdkconfigs options. If I go back to the defaults, the problem is solved.

Sorry, I completely forgot to apply the changes at esp_matter_core.cpp. I just tested with them, there are still errors, but now are different. At boot:
E (2336) chip[DL]: Long dispatch time: 326 ms, for event type 2
E (2336) app_qrcode: Couldn't get setup_pin_code: Error CHIP:0x0000002D
E (2346) app_qrcode: Error getting payload -1
E (2366) app_qrcode: Error getting short manual code text
E (2376) app_qrcode: Error getting long manual code text
E (2376) app_qrcode: Error getting qrcode text

Running command at console:
> matter onboardingcodes ble
QRCode:            E (130206) chip[SVR]: GetCommissionableDataProvider()->GetSetupPasscode() failed: 2d
I (130206) chip[SVR]: *** Using default EXAMPLE passcode 20202021 ***
MT:634J042C00KA0648G00
QRCodeUrl:         E (130216) chip[SVR]: GetCommissionableDataProvider()->GetSetupPasscode() failed: 2d
I (130236) chip[SVR]: *** Using default EXAMPLE passcode 20202021 ***
https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A634J042C00KA0648G00
ManualPairingCode: E (130246) chip[SVR]: GetCommissionableDataProvider()->GetSetupPasscode() failed: 2d
I (130256) chip[SVR]: *** Using default EXAMPLE passcode 20202021 ***
34970112332
Done

Although that, it worked and I have been able to set product name, vendor name and hardware version and its visible at Home Assistant!
I'm going to leave the issue open just in case that the error logs are something that need to be solved, if you prefer to close it because its already known or because whatever reason, feel free to close the issue!

Specs mentions few mandates on how to store the passcode and verifier on the device and that has not been implemented yet. And not storing passcode in the device is also a valid case and it that we have implemented.
So the error logs you posted are not an actual issue.

@shubhamdp I can't do this anymore because it requires spake2p to be added at the PATH, I found that this tool is located at connectedhomeip/src/tools/spake2p, I tried to add it just like that to the PATH but it didn't work. I think I should build it but I don't know how to.
I've seen that since https://github.com/project-chip/connectedhomeip/commit/09704264d1dcf49e8bb30409aa19783e0423c548 commit exists a python implementation, and later, at https://github.com/project-chip/connectedhomeip/commit/1a56789d5f343e490d909ad1f943460b62175ad8, you implemented this in generate_esp32_chip_factory_bin.py. However these commits are not yet at the Matter submodule in this repository.
Should I build spake2p, apply these commits or wait to this commits to be released?

You will have to build spake2p, guide for using factory data is mentioned here: https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/esp32/factory_data.md#dependency

Thank you so much!

@Diegorro98 This building host tools will be done through install.sh script, changes are up and they will be out soon.


New

Really surprised it worked so well and so fast.
Here's how it looks:

Should we delete the readme after the project is generated?

Ok maybe in the future we'll update the readme to make a bit more sense after being copied but for not I think it's fine then.


Any idea about mqtt

Describe the feature request
websocket-sharp is a lightweight websocket lib. Asp.net5.0 or greater is too heavy。
Which project is your feature request related to?

Server

The library you mentioned is 7 years old and has no final release yet (https://www.nuget.org/packages/WebSocketSharp).
ASP.NET also provides much more features in terms of authentication etc.


Check adding more of the sample application

Check work necessary to cover the other example app available in https://github.com/redhat-et/locallm

The object_detection recipe is based on the https://huggingface.co/facebook/detr-resnet-101 model which is not yet in the catalog
Same for the audio-to-text recipe using https://github.com/ggerganov/whisper.cpp.git model


OCTIS could not evaluate an external result?

OCTIS version: 1.10.4
Python version: 3.9
Operating System: Windows 11

Description
I got an error:
unable to interpret topic as either a list of tokens or a list of ids.
What I Did
I use another method to get the topics of 20newsgroup, and I want to use the metrics provided by octis to test their quality.
So, I have many lists of topics. for example, one list is: ['cheek', 'yep', 'huh', 'ken', 'lets', 'ignore', 'forget', 'art', 'dilemma', 'dilemna']. I need to calculate the topic cohesion between these topics and the document(corpus).
As a topic modeling metrics system, I thought OCTIS may do this for me. However, it is hard.
I got this error because: among my result topics, some of the words are not in the corpus of 20newsgroup provided by OCTIS. I got my data from scikit-learn's 20newsgroup. So I think the only explanation is that the corpus of 20newsgroup from scikit-learn and OCTIS is different.
Therefore, it seems that the only solution is to use OCTIS's dataset to do the training. And then use OCTIS's evaluation system to do the topic cohesion. Does this mean that OCTIS is not accepting external topics?
Not sure if there are any other solutions for this case. I believe OCTIS should be able to work with external topic modeling methods. I just did not find the way. So please tell me if there is any suggestions.

I just saw that in the introduction of OCTIS, it was mentioned that OCTIS provides the 20newsgroup. But it says "# Docs: 16309".
However, 20newsgroup from scikit-learn has about 18000 documents. Is this the reason they are not compatible with each other?

An update is: BBCNews works properly. The difference is that BBCNews in sklean has the size of 2225 as well, they are the same as the description in OCTIS. So I think the reason for 20newsgroup not working is that OCTIS provides the 20newsgroup corpus with the wrong size?

Hello,
20Newsgroup in OCTIS is different from the other version because we preprocessed it. This means that it also removes documents with less than a certain number of words. That's why the two number of documents do not match. However, you can use OCTIS just for evaluation without training a new topic model.
For example, if you want to use topic coherence, you can do the following:

# the list of topics
topics = {"topics": [['cheek', 'yep', 'huh', 'ken', 'lets', 'ignore', 'forget', 'art', 'dilemma', 'dilemna'], ....]}

# this is the list of documents that you want to use as a reference to compute the topic coherence,
# i.e. in your case, scikit's 20newsgroups
texts = [['cheek', 'yep'], [ 'yep', 'huh', 'lets'], ....]

# define the metric and provide texts as input
npmi = Coherence(texts=texts, topk=10, measure='c_npmi')

# get the score
npmi.score(topics)

Hope it helps!
Silvia

Hello, 20Newsgroup in OCTIS is different from the other version because we preprocessed it. This means that it also removes documents with less than a certain number of words. That's why the two number of documents do not match. However, you can use OCTIS just for evaluation without training a new topic model.
For example, if you want to use topic coherence, you can do the following:
# the list of topics
topics = {"topics": [['cheek', 'yep', 'huh', 'ken', 'lets', 'ignore', 'forget', 'art', 'dilemma', 'dilemna'], ....]}

# this is the list of documents that you want to use as a reference to compute the topic coherence,
# i.e. in your case, scikit's 20newsgroups
texts = [['cheek', 'yep'], [ 'yep', 'huh', 'lets'], ....]

# define the metric and provide texts as input
npmi = Coherence(texts=texts, topk=10, measure='c_npmi')

# get the score
npmi.score(topics)

Hope it helps!
Silvia

Thanks for your help!


.raw errors on date params w/ Postgres

Bug description
When running a raw SQL query with prisma.raw and template literal params, I get the error below when querying on timestamp columns:
error: PrismaClientKnownRequestError: Raw query failed. Code: `22P03`. Message: `db error: ERROR: incorrect binary data format in bind parameter 2`
  engine       at NodeEngine.graphQLToJSError (/Users/wmorgan/dev/safe-office/api/node_modules/@prisma/engine-core/dist/NodeEngine.js:590:1)
  engine       at /Users/wmorgan/dev/safe-office/api/node_modules/@prisma/engine-core/dist/NodeEngine.js:498:1
  engine       at process.result (internal/process/task_queues.js:97:5)
  engine       at PrismaClientFetcher.request (/Users/wmorgan/dev/safe-office/api/node_modules/@prisma/client/src/runtime/getPrismaClient.ts:628:13) {
  engine     code: 'P2010',
  engine     meta: {
  engine       code: '22P03',
  engine       message: 'db error: ERROR: incorrect binary data format in bind parameter 2'
  engine     }
  engine   }
  engine }

How to reproduce

Create a DB table in Postgres with a timestamp without time zone field.
Query it via prisma.raw like this: prisma.raw`select * from table where tzfield=${dateValue}`

For dateValue I tested with both ISO-formatted date strings and JS Date objects.

Expected behavior
The query works and returns the same data as a query not involving timestamp fields.
Environment & setup

OS: macOS
Database: PostgreSQL
Prisma version: 2.0.0-beta.5
Node.js version: v12.16.3

I can confirm the issue. My guess is that we are implicitly converting every date into ISO format in the client code.
Reproduction:

Bootstrap postgres database with following SQL:

DROP TABLE IF EXISTS "public"."example";
-- Sequence and defined type
CREATE SEQUENCE IF NOT EXISTS example_id_seq;
-- Table Definition
CREATE TABLE "public"."example" (
    "id" int4 NOT NULL DEFAULT nextval('example_id_seq'::regclass),
    "time" timestamp,
    PRIMARY KEY ("id")
);
INSERT INTO "public"."example" ("id", "time") VALUES
('1', '2020-05-29 16:08:54.028741');

Introspect the database and generate the client
Run the following code:

import { PrismaClient } from "@prisma/client";

async function main() {
  const client = new PrismaClient();

  const date = "2020-05-29T16:08:54.028741+00:00";
  console.log(date);

  const data = await client.raw`select * from example where time = ${date}`;
  console.log(data);
  client.disconnect();
}

main();

The client fix is coming later today. From now on when wanting to use dates in raw queries, they should be provided as JavaScript Date objects for them to work.

And the client part is also merged.
In order to make Date work, you now need to explicitly provide a Date instance in JavaScript, otherwise, we can't reliably and fast coerce the type.

This should be explained somewhere in the docs. I didn't see anything relating this there.

cc @mhwelander


caffe: use pre-CUDNN 8.x

Description of changes

Since https://github.com/NixOS/nixpkgs/pull/215578, the default for cudatoolkit 10.1 is CUDNN 8.0.5, the last version to support CUDA 10.1. However, caffe does not build with CUDNN 8.x, so we use CUDNN 7.6.5 instead. Earlier versions of cudatoolkit use pre-8.x CUDNN, so we use the default.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 217330 run on x86_64-linux 1

1 package marked as broken and skipped:

python310Packages.caffeWithCuda

1 package built:

caffeWithCuda

@abbradar @avitex would you mind giving this a quick once-over? The change is the addition of a conditional to ensure caffe isn't built with a version of CUDNN which is too new.

cc @NixOS/cuda-maintainers

Result of nixpkgs-review pr 217330 run on x86_64-linux 1

1 package marked as broken and skipped:

python310Packages.caffeWithCuda

1 package built:

caffeWithCuda

Removed the useless check in assert that CUDNN was of the correct version given that the let statement handles that.
Also removed the PR stack info in the header because it can be merged independently of the others.

Is there a reason to support cuda < 10.1? Why not just mark caffe as broken for cuda versions that are too old?

Maybe the way I wrote the if expression is weird -- CUDA 10.0 and all the prior versions of CUDA work fine because they only support up to CUDNN 7.6.5. (That's why we use their default cudaPackages.cudnn and don't need to fish around for a different version.)
CUDA 10.1 is special because it's the only release in the 10.x series to be supported by a version of CUDNN 8 (it's supported by CUDNN 8.0.5). So in the special case where we have 10.1, we need to fall back to the older version of CUDNN.

Ahh, I misunderstood -- thank you for explaining! Ok this LGTM then

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/tweag-nix-dev-update-45/26397/1


Revert "Update dashmap requirement from 4.0.1 to 5.0.0"

Reverts kube-rs/kube-rs#755
Workaround for https://rustsec.org/advisories/RUSTSEC-2022-0002, it's not like we're using anything 5.x-specific anyway.

Codecov Report

Merging #780 (e057c04) into master (315ad9d) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head e057c04 differs from pull request most recent head f05f7d3. Consider uploading reports for the commit f05f7d3 to get more accurate results

@@           Coverage Diff           @@
##           master     #780   +/-   ##
=======================================
  Coverage   71.89%   71.89%
=======================================
  Files          54       54
  Lines        3700     3700
=======================================
  Hits         2660     2660
  Misses       1040     1040

Continue to review full report at Codecov.

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

Marking this as excluded from changelog because it happens within the same version that added it (#755)


License

We should probably decide on a license.
I am in favor of something permissive.

Indeed. My other projects are all MIT, but to be honest I don't have any strong feeling.
For wayland-client and wayland-server, I mostly stuck with MIT because it's the license of the C libraries.
I see many rust projects are MIT+Apache2.0. What do you think about that?

Both combinations are fine for me. servo started with this MIT + Apache2 thing, that's why many crates are following, but I honest don't care very much. I am using only MIT for most of my project, but feel free to do what you want out of these possibilities.

Well. We'll go with MIT, and if any issues with it are brought up, we'll discuss them then.


Updates for Marathon 1.9.109

+1 here, 0.12 don't work with 1.9.136

@dPeS do you get the role error when using my changes or do you encounter any other errors?
I'd like to improve my code if I can.

Can you update the readme and maybe the test matrix?
I don't actually expect the build to go green, but maybe?

@solarkennedy is this what you asked for?

Cool. Can you check the failing tests next? They look real.

@solarkennedy do you happen to have or now of a docker image that has all of these versions of mesos and marathon already baked in?
I'm trying to build the 14.04 image and keeps failing on ppa:webupd8team/java which seems to be discontinued

I'm not aware of such an image.
I would accept a PR to use a standard image:
https://hub.docker.com/r/mesosphere/marathon
Maybe running in "development mode"?
Even if that means we have to only test against 1 version.
I don't know if there is a replacement for that PPA, or maybe the docker image itself could be upgraded to 20.04?

@solarkennedy I'll try https://hub.docker.com/r/mesosphere/marathon and Ubuntu 20.04, I'll get back to you

@solarkennedy I fixed the issues with the tests, whenever I have time I'll make another PR to make the fix the tests and use https://hub.docker.com/r/mesosphere/marathon


[9.x] Rename $sleep argument to $sleepMilliseconds in retry method on PendingRequest

When using the retry() method on the Http facade, you have to set the $sleep as second argument.
Now it is unclear whether the $sleep is in seconds or in milliseconds, although it makes sense that it is in milliseconds.
To clear up this confusion and maintain consistency with the retry() helper function (Support/helpers.php), I'v opened this PR which renames the $sleep argument variable into $sleepMilliseconds.
Before:

After:

I'm not 100% sure but doesn't this break calls with named arguments?

@marvin-wtt named arguments don't fall under our BC policy: https://laravel.com/docs/9.x/releases#named-arguments


Remove lithium namespace

After this, the only lithium references are in TARGET files
https://github.com/ReactiveSocket/reactivesocket-cpp/issues/38

Cool, did you run ./devtools/format_all.sh successfully?

Of course, what sort of 2 bit huckster do you take me for?


MINOR: [C++] Move static declaration to non-static declaration to improve performance

According to conbench there was a slight regression on #12957 .  Poking around a bit it seems that a static local variable is implemented using some kind of global lock (__cxa_guard_acquire / __cxa_guard_release).  On the other hand, constructing an empty shared_ptr is cheap (two pointers are set to 0).  So if we care about performance here we probably don't want static.  This may be what is causing the conbench issue.

@ursabot please benchmark lang=R

appveyor test failure may deserve deeper investigation, though unlikely related to this pr:
https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/43639301/job/n3qanqaqw8xdrcij#L2236
23/94 Test #23: arrow-threading-utility-test ..............***Failed   27.32 sec
Running main() from D:\bld\gtest_1647154904782\work\googletest\src\gtest_main.cc
[==========] Running 140 tests from 24 test suites.
[----------] Global test environment set-up.
[----------] 7 tests from CancelTest
[ RUN      ] CancelTest.StopBasics
[       OK ] CancelTest.StopBasics (0 ms)
[ RUN      ] CancelTest.StopTokenCopy
[       OK ] CancelTest.StopTokenCopy (0 ms)
[ RUN      ] CancelTest.RequestStopTwice
[       OK ] CancelTest.RequestStopTwice (0 ms)
[ RUN      ] CancelTest.Unstoppable
[       OK ] CancelTest.Unstoppable (0 ms)
[ RUN      ] CancelTest.SourceVanishes
[       OK ] CancelTest.SourceVanishes (0 ms)
[ RUN      ] CancelTest.ThreadedPollSuccess
[       OK ] CancelTest.ThreadedPollSuccess (8332 ms)
[ RUN      ] CancelTest.ThreadedPollCancel
[       OK ] CancelTest.ThreadedPollCancel (7768 ms)
[----------] 7 tests from CancelTest (16100 ms total)
[----------] 2 tests from SignalCancelTest
[ RUN      ] SignalCancelTest.Register
[       OK ] SignalCancelTest.Register (0 ms)
[ RUN      ] SignalCancelTest.RegisterUnregister
C:/projects/arrow/cpp/src/arrow/util/cancel_test.cc(191): error: Value of: stop_token_->IsStopRequested()
  Actual: true
Expected: false
C:/projects/arrow/cpp/src/arrow/util/cancel_test.cc(191): error: Value of: stop_token_->IsStopRequested()
  Actual: true
Expected: false
[  FAILED  ] SignalCancelTest.RegisterUnregister (22 ms)
[----------] 2 tests from SignalCancelTest (22 ms total)

@ursabot please benchmark lang=R

Rebased and applied suggestion of using a module-private variable.

@ursabot please benchmark lang=R


vNEXT has two roadmap files

Does this affect the legacy HoloToolkit (master) or the Mixed Reality Toolkit (mrtk_release)?
Mixed Reality Toolkit
Describe the bug
mrtk_development branch has two roadmap files

https://github.com/Microsoft/MixedRealityToolkit-Unity/blob/mrtk_development/Roadmap.md
https://github.com/Microsoft/MixedRealityToolkit-Unity/blob/mrtk_development/MRTK-WorkRoadmap.md

We should probably consolidate these and put them into a single file.

https://github.com/Microsoft/MixedRealityToolkit-Unity/blob/mrtk_release/Roadmap.md


Decode gzip in Replay

With Accept-Encoding: gzip header:

I need to remove the Accept-Encoding: gzip header to see a normal response:

It would be great if you could get the response in gzip but decrypt it in replay. 😉

Sorry left out

This isn't a bug, this is a feature request. The bigger question here is whether this level of assistance is even appropriate for the replayer, which is meant to remain relatively low level. You are requesting gzip encoding, and getting gzip encoded data back.
That being said, it isn't an unreasonable idea for an additional replayer assistance feature, so i'll leave this open.


links to download binaries lead to the "master" binaries instead of "release"

I see many people wanting to try out IPFS and downloading it from https://ipfs.io/docs/install/
The problem is that the links to the binaries there lead to the master branch binaries instead of the release ones, so people end up trying an unstable version.

yeah we should be using release. just pushed an update.


Can't deploy to Heroku

I've cloned this repo, added the Procfile, and pushed to Heroku. When I view the Heroku logs, it says the app as crashed and that the hhvm command was not found, even though the stack is cedar-14. Help?

Are you able to deploy any HHVM app at all, e.g., even a hello world app? That sounds like a Heroku issue

I'm enough of a noob to think that this was a hello world app. I'm just
getting started with Hack/HHVM and have tried a couple tutorials to get
started, but haven't been able to get off the ground. (Interning at fb this
summer and wanted to get some exposure before I start.)
On Tue, May 26, 2015 at 11:49 AM Josh Watzman<EMAIL_ADDRESS>wrote:

Are you able to deploy any HHVM app at all, e.g., even a hello world app?
That sounds like a Heroku issue
—
Reply to this email directly or view it on GitHub
https://github.com/hhvm/hack-example-site/issues/17#issuecomment-105632380
.

It seems quite likely that Heroku changed their setup since the directions were written. If you figure it out, would love a PR to fix it :)
For getting started, I'd look at https://github.com/facebook/hhvm/wiki/Getting-Started -- it's pretty simple on Ubuntu 14.04. A couple commands to install the HHVM repo, then HHVM and nginx, and a script will set up nginx for you.

I'am doing exactly what is on README, but didn't work for me.

This repo has been deprecated and archived.


Question about prerequisites

Sorry for asking here, but I couldn’t find a better way to get in contact with any developers.
I’m trying to get nvim-compe to run on my system, but I keep getting errors during startup of neovim:
Error detected while processing function compe#setup:
line    1:
E5108: Error while calling lua chunk for luaeval(): /home/robertl/.config/nvim/lua/compe/context.lua:20: attempt to index field 'b' (a nil value)

I suspect that I’m missing something obvious in the prerequisites. Is by any chance version 0.5 of neovim a requirement?

I don't know how to find neovim's API version history but I think it depends on neovim version.

As discussed in #265 neovim 0.5 is a minimum requirement for nvim-compe to work.


Is it possible to use passport.js with fastify framework?

I can use passport.js with express framework without problem. But I could not use with fastify framework.

There's a port available here https://github.com/fastify/fastify-passport
But are there any plans to create an official version we can use in production builds?


Add support for Trailing Stop Orders

It would be great to support for Trailing Stop Orders.
Past discussion here: https://www.quantconnect.com/forum/discussion/601/trailing-orders
Using the Algorithm Framework would this best be implemented as:

New Order Type
Risk Management Model
Execution Model

@mchandschuh @jaredbroad any update on this one?

@jaredbroad this is super super important for live trading! I did implement a trailing stop algo in my live trade, but it could fail for all sorts of issues. The most important reason for QC to support trailing stop on live is it reduces the unreliability by a huge degree for it eliminates all the possible issues such as server goes offline, network unavailable, market data not available, etc. I'm hoping you can take this into consideration to get more Ib order type implemented(most important are stop loss and trailing stop loss). Again, I do think it is essential for live trading. Please do consider offer this!


MTUIStatusBarStyleCustom

Hey,
I created an enum for UIStatusBarStyle (MTUIStatusBarStyle) that upon initialization maps to be equal to whatever the application StatusBarStyle is.
The cool addition here is MTUIStatusBarStyleCustom, which if set by the user, allows him to set custom colors (which you have as #define attributes).
Hopefully you find that I've maintained a good level of control while also giving the user a tiny bit of UI flexibility :)

Hello Sarah!
Sorry for not responding for that long, but I'm pretty busy working on some stuff. I will need to take some time to look into this before I merge it, but I promise I will do :)
Thanks for contributing to my projects, always appreciated!
cheers Matthias


Convert this project from setup.py to pyproject.toml

This project (for the obvious historical reasons) uses setup.py.  And I have not been bothered to change that because, "It works, so who cares."  But it looks like future versions of Python will really need pyproject.toml, and not setup.py.

We want to support the pyproject.toml.
It should be an easy enough change.
We need to be careful to not drop support for older versions of Python.

HIGH PRIORITY
This needs to happen.

I think this might be a non-starter.
According to the below references, the standard wisdom is you can't convert a Cython project to pyproject.toml without also keeping large chunks of your old setup.py around.
I am at a loss for why the Python org is making this big push to pyproject.toml if I still need a setup.py anyway. Why move to an inferior tool that still requires me to keep the old tooling as well?

Official setuptools docs
relevant StackOverflow

I am not sure this is worth doing.

The Python org is pushing so hard for everyone to abandon the old setup.py approach and move to the new pyproject.toml approach. But according to the official setuptools docs, there is no way to build a Cython project with only a pyproject.toml file; you will still need a setup.py file to go with it.
Which begs the question:

Why should I bother moving to an inferior tech that doesn't even support Cython?

Sounds like a waste of time.  (See relevant StackOverflow post.)

Done!


IRC Options config

Is it possible in the IRC options config to make it so that everytime someone logs on or off of IRC that message is sent to discord via the bot? I could care less about irc knowing discords status but it'd be nice to know who's in the IRC channel, also is there a way to enable a command that would spit out the list of all users on IRC into the discord chat? could you give me an example of that config?
Thanks in advance and this is a really great Bot! Thanks!

This has also been suggested in #92


Fix/117 educators evaluation

In this PR the evaluation of kids it is done. Now you can evaluate the kid and see the pass evalution grades of it in the button"evaluaciones". This show a summary of the evalutions of the kid until that moment so the educator knows what are the grades.

It does not appear because it has no previous evaluation:

Only the option of 0 appears because it has a previous evaluation.

Only the option of 0 appears because it has a previous evaluation.

The thing is that some evaluations are not shown for the children becuase they do not belong to that course that it is been evaluated. The educator have this students but all of them are not in the same class that is why it does not show in some cases the dropdown


hi,chrome41can not work

hi,chrome41can not work

thank you for reminding me. I'll look into it now.


Pod install error on macOS when add bitsdojo_window  dependency

❯ flutter run
Connected devices:
macOS (desktop) • macos  • darwin-arm64   • macOS 13.4.1 22F82 darwin-arm64
Chrome (web)    • chrome • web-javascript • Google Chrome 118.0.5993.96
Checking for wireless devices...
Please choose one (or "q" to quit): 1
Launching lib/main.dart on macOS in debug mode...
Running pod install...                                             411ms
CocoaPods' output:
↳
Preparing
Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
[!] Unable to find a target named `RunnerTests` in project `Runner.xcodeproj`, did find `Runner`.

/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer/target_inspector.rb:108:in `compute_targets'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer/target_inspector.rb:40:in `compute_results'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1197:in `block (3 levels) in inspect_targets_to_integrate'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1195:in `each'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1195:in `block (2 levels) in inspect_targets_to_integrate'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1193:in `each'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1193:in `block in inspect_targets_to_integrate'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/user_interface.rb:64:in `section'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:1188:in `inspect_targets_to_integrate'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer/analyzer.rb:107:in `analyze'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:422:in `analyze'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:244:in `block in resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/user_interface.rb:64:in `section'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:243:in `resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/installer.rb:162:in `install!'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/command/install.rb:52:in `run'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/lib/cocoapods/command.rb:52:in `run'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/gems/cocoapods-1.12.1/bin/pod:55:in `<top (required)>'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/bin/pod:25:in `load'
/opt/homebrew/Cellar/cocoapods/1.12.1/libexec/bin/pod:25:in `<main>'

dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.2
ffi: ^2.0.1
flutter_rust_bridge: ^1.45.0
meta: ^1.8.0
uuid: ^4.1.0
bitsdojo_window: ^0.1.5  // add new lib

Seems like this problem is not unique to bitsdojo but to all plugin packages. Since the base XCode project does not come with any scaffolding for plugins, adding such a package will add/change a few project files that break the template. The fix is to:

Completely remove ios/, macos/ and build/
flutter create --platforms=ios,macos .
flutter pub add bitsdojo_window
Follow the steps here to set up the Rust integration again

I'll add this to the documentation soon, but for now there doesn't seem to be a general solution to this short of creating a new template.

Thanks very much. It's worked after followed the steps above.
However,  ffigen: ^9.0.1  is required to make it work. Do you know why?

However, ffigen: ^9.0.1 is required to make it work. Do you know why?

I didn't notice this, could be a constraint from flutter_rust_bridge and/or bitsdojo.

I upgraded the flutter_rust_bridge version to 1.82.4, and there is a constraint in the the frb_codegen/src/commands.rs file. so the flutter_rust_bridge_codegen command is failing. However, this constraint is not present in version 1.45.0.
The constraint code：
lazy_static! {
    pub(crate) static ref FFI_REQUIREMENT: VersionReq =
        VersionReq::parse(">= 2.0.1, < 3.0.0").unwrap();
    pub(crate) static ref FFIGEN_REQUIREMENT: VersionReq =
        VersionReq::parse(">= 8.0.0, < 10.0.0").unwrap();
}


Update README.md

Description

Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

Hi @felixatdlr could you please fix the merge conflict. I guess you need to rebase because #5 was merged


Using SDRAM of OpenMV instead of SRAM

Hey, @meenchen . it is me again :)
I have realized that there exists a SDRAM which has a 32MB of memory while I was looking for OpenMV H7 Plus' features. This is way bigger than SRAM which has only 1MB. I was wondering if is there a way to embed the TinyEngine to SDRAM.
Just for you to remember, I was trying to handle a memory overflow problem in the firmware for higher resolutions ( #75 ).
I have no limit for the time that the inference takes, I will have a lot of time for inference in the pipeline of my project. So, if using SDRAM for higher resolutions is possible, I won't be suffering because of the time increased.
Thank you so much in advance.

Hi, @senceryucel
Actually, OpenMV DOES use SDRAM to load the models. What it does in SRAM is, basically, if the model that you are using is small enough, then SRAM takes it to process it faster as like thousands time. (3.2GB/s speed). So, even though I do not have all the details about what TinyEngine does to fit the engine into the firmware; the thought of using SRAM only and keeping SDRAM empty does not seem to be correct to me.

Oh, @BehicKlncky
I think I got it. Thank you for your explanation. Can I ask some further questions about OpenMV in detail from direct message if it is OK?

Hi, @senceryucel
Sure, I' ll be waiting for your message.
Have a great day!


Remove unused references

There are some unsed references that can be removed. Core and Crypto UT Traits pass green (I didn't run the rest, honestly).

Can you check that portable libs always compile ? if I remember I added these references for portable tests.

what do I do with this PR ? I think portable libs do not compile anymore with it.

you're right. It doesn't work for PLs.


Merge pull request #1 from facebook/master

同步facebook上的提交

?

sorry, i want  to pull code from facebook branch, it is a operation failure.


New pruner interface

Discussion about new pruner interface is here.
https://github.com/pfnet/optuna/pull/424#issuecomment-520644877

@sile Thank you for your review! I applied your feedbacks.

@sile Thank you for reviewing! I applied your suggestion.


DromedaryRepo param is redundant and not used

There’s a DromedaryRepo param in the stack with a default value of "https://github.com/stelligent/dromedary.git”.  But I think it gets ignored.  I think the actual github URL gets constructed from the github user and repo params.

It doesn't get ignored as it's used here, but it probably should be unnecessary as I should be using an Fn::Join to concatenate the URL from the GitHubUser and Repo parameters.

Your change will bring it in line with codepipeline-cfn.json which uses GitHubUser and Repo params to configure the Source stage of the pipeline.


Mangle friendly

nowTime uses implicit annotation for DI. The other services uses array annotation for DI. As is pointed out in the angular docs (https://docs.angularjs.org/guide/di), you can't mangle names with implicit annotation. Hence nowTime should use array notation too. :)
Also I forgot to add Swedish in the readme in an earlier pull request.

@a-morn Thanks for identifying the annotation issue and fixing it.


Remove noop package "babel" from package.json

npm WARN deprecated<EMAIL_ADDRESS>Babel's CLI commands have been moved from the babel package to the babel-cli package

This is causing some level of broken-ness in any project depending on this package.

Coverage decreased (-3.3%) to 89.286% when pulling 8f098978eac3b63b1cc6511bcb7aec7dedba0e7c on mattbailey:patch-1 into 1bfd07da6128e524dce9de1e6fa7c822a992340c on i18next:master.

hell how could i miss that...both that dependencies are not needed at all.

Yeah, thought that might be the case too, but wanted to make sure just the one passed :)
Thanks!

already on it...just need to get build chain up again

Coverage decreased (-3.3%) to 89.286% when pulling 4e5a4d548a7143a00e48ecfecd329cad9290a9f4 on mattbailey:patch-1 into 1bfd07da6128e524dce9de1e6fa7c822a992340c on i18next:master.

published<EMAIL_ADDRESS>


Add more explanation to custom*Configuration docs

I couldn't figure out what to do with these configuration options so I had to search the source code. This should help in the future.

@radix,
There is information is the wiki.
Doesn't it enough?

@KalitaAlexey I had no idea I should search on the wiki. I think it's preferable to just have the settings be self-documenting, but if not then they should have links to the documentation site.

@radix,
Let me check something.
At the time please change your PR.
Instead of args (array) write args (array of string).

sure thing @KalitaAlexey, I've done that and also fixed some spacing inconsistency that I noticed in my change.


Earth mobs mod incompatibility

The milking timer from this mod does not affect Earth mobs mod's cows variants.
https://github.com/baguchan/EarthMobs

Hello! You have to add relevant mobs to the right tag via a datapack or KubeJS script. Let me know if they don't work after completing this step :]

Would it be too difficult to implement a mob whitelist that adds the required tags to the mobs?, alternately could you explain to me how and what tags to add via datapack (or point me to he correct resource to learn)?

It's not difficult as much as it would be unnecessary (and possibly less performant), as entity type tags are what vanilla uses in order to differentiate groups of mobs under certain conditions.
This video may provide some insight--I mostly learned datapacking through knowing mod file structures, which takes longer and is less accessible. The tag(s) you want to replace are here. You need to make sure to follow the same namespace (milky_way/tags/entity_types/whatever.json) to make sure it overrides my entity type tag json file in-game.
If none of that made any sense, I'd recommend using a KubeJS script. Alternatively, I'm sure there are many spaces on Discord where you can probably ask for help or guidance. Best of luck!


is_incremental() evaluates to false when using macro inside execute_sql() for an incremental model

Describe the bug
I have an incremental model and in my Python script triggered by fal run --select mymodel I am using execute_sql with a macro inside the query string. However, inside the macro, is_incremental() evaluates to false, despite working as expected during dbt run.
Your environment

OS: Mac OS 12.6.1
Paste the following commands output:

fal --version
fal 0.7.3
dbt --version
Core:
  - installed: 1.3.1
  - latest:    1.3.1 - Up to date!

Plugins:
  - athena: 1.3.3 - Ahead of latest version!

Adapter being used: dbt-athena-community

How to reproduce
Create an incremental model via dbt run. Add a fal post-hook to your model:
 - name: mymodel
    meta:
      fal:
        post-hook:
          - check_incremental.py

and a Python file check_incremental.py with the following contents:
df = execute_sql("SELECT {{ is_incremental() }}")
print(df.iloc[0,0])

Expected behavior
Output should be "True"
Actual behavior
Output is "False"

Thank you for raising this issue, @jurgispods! We're looking into this.


".sampling"

In spectrum.py
from .sampling import Sampling  <---- I can not find ".sampling".
Thank.

Thanks!


Italy North and Israel Central regions should be added

Italy North and Israel Central regions should be added to the list of supported regions.
Thank  you

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

ID: 536eb96c-7a9a-7cf0-5fb5-3b9dfdb2076d
Version Independent ID: 8f8ef528-f6c3-49bd-0672-72f85b908060
Content: Availability zones in Azure Monitor - Azure Monitor
Content Source: articles/azure-monitor/logs/availability-zones.md
Service: azure-monitor
Sub-service: logs
GitHub Login: @guywi-ms
Microsoft Alias: guywild

Thanks for the feedback! We are currently investigating and will update you shortly.

All good now. Thanks!


APIM 4.2.0 pre-alpha Testing

Description
This is to track APIM 4.2.0 release testing progress of @msm1992

[x] Okta Key Manager Integertion
[x] KeyCloak Key Manager Integration

Affected Component
APIM
Version
No response
Related Issues
No response
Suggested Labels
No response

The above testing tasks were successfully completed on 14/12/2022.

Reopened the ticket to track progress on alpha testing for below scenarios.

[x] Swagger/Graphql to Postman Collection
[ ] Application Owner change

Closing as the tasks are completed.


Fix / rework version ordering

Based on https://github.com/coursier/coursier/pull/1315.
Fixes https://github.com/coursier/coursier/issues/1313.

Let's merge, thanks for having pushed for it @eed3si9n!


DOC: release note for sparse resize methods

See gh-3963.
I also added an anchor link to the backwards-incompatible changes section.

Looks good. In it goes then.


Use MGR 'rbd_support' module for long-running tasks

Describe the feature you'd like to have
Long-running tasks like image removal, trash image removal, and flatten should be handled via the MGR module (will backport to Mimic and later releases). This module keeps a persistent task list that can be recovered in the case of crashes and restarts.
What is the value to the end user? (why is it a priority?)
The CSI no longer needs to handle running long-running maintenance operations nor track redo log state.
 Similarly, flattening a cloned image can be handled in the background by scheduling it (ceph rbd task flatten <image-spec>).
How will we know we have a good solution? (acceptance criteria)
The CSI doesn't block waiting for long-running RBD operations. In the future we could even offload things like conversion between RBD block devices (w/ file systems) to CephFS subvolumes.
Additional context
# schedule an image removal
$ ceph rbd task remove rbd/image
{"sequence": 1, "id": "09220aee-cf57-43dd-bb1b-5355c5f2a5d7", "action": "remove", "refs": {"message": "Removing image rbd/image", "pool_name": "rbd", "pool_namespace": "", "image_name": "image"}}

# attempting to re-add will just return the original task
$ ceph rbd task remove rbd/image
{"sequence": 1, "id": "09220aee-cf57-43dd-bb1b-5355c5f2a5d7", "action": "remove", "refs": {"message": "Removing image rbd/image", "pool_name": "rbd", "pool_namespace": "", "image_name": "image"}}

# show the current status of a scheduled task
$ ceph rbd task list 09220aee-cf57-43dd-bb1b-5355c5f2a5d7
{"sequence": 1, "id": "09220aee-cf57-43dd-bb1b-5355c5f2a5d7", "action": "remove", "refs": {"message": "Removing image rbd/image", "pool_name": "rbd", "pool_namespace": "", "image_name": "image"}, "in_progress": true}

See https://github.com/ceph/ceph/pull/29054 for initial PR

@dillaman https://github.com/ceph/ceph-csi/pull/467  has to wait till we get this feature?

@dillaman #467 has to wait till we get this feature?

I don't think that is necessary since we can tweak the CSI to use this new background helper at a later time (when handling flatten and trash removal). If flatten and trash remove are needed right now, it will just block the CSI thread, and as long as that is OK (i.e. k8s will just time-out and retry), we should be fine.

Volume removals can be sped up by first moving images to the trash (rbd trash mv ) and then initiating a background removal (ceph rbd task trash remove ). Similarly, flattening a cloned image can be handled in the background by scheduling it (ceph rbd task flatten ).

I have to look into the Ceph PR in detail, however a quick question here, Isnt it a good idea to wrap these operations in a single command or "switch" option for client to consume easily? In short, "move to trash" and "async deletion later"..etc can be exposed by a single command ?

Isnt it a good idea to wrap these operations in a single command or "switch" option for client to consume easily

They are different operations, so I don't believe it makes sense to combine. Just because the CSI is going to use the "ceph rbd task trash remove" op after a "rbd trash move" op, doesn't mean that all users want that. Plus, adding support for "trash move" into the background async maintenance op runner breaks the abstraction that it's for long-running ops (which "trash move" is not).

@phlogistonjohn these are CephMGR commands that need some interface in go-ceph


Plugin is dependent on android tools

It seems that we cannot use this plugin for pure (non-android) kotlin projects. The plugin fails with error "Could not find com.android.tools.build:gradle"
Will the plugin support non-android kotlin projects in the future?

Currently, the plugin relies on com.android.tools package to identify android source sets.
As per the doc, including the google repository should do it.
buildscript {
    repositories {
        google()  // <--- include the google repository
        mavenCentral()
        jcenter()
    }
}

I would be more than happy to identify ways to not have this dependency, if possible.

Actually you are right, my problem was that I put the google() in the wrong build.gradle file. This is why the plugin could not access it 😓  Everything works fine now! Thank you 😄

could you do it via reflection instead? won't be type safe but would be basically the same but without the extra dependency?

Have PR to remove this, but in the interim you can fix by excluding it in your gradle file, since its only required during compile time
classpath ("com.github.nbaztec:coveralls-jacoco-gradle-plugin:1.2.6") {
            exclude group: "com.android.tools.build", module: "gradle"
        }

Have PR to remove this, but in the interim you can fix by excluding it in your gradle file, since its only required during compile time
classpath ("com.github.nbaztec:coveralls-jacoco-gradle-plugin:1.2.6") {
            exclude group: "com.android.tools.build", module: "gradle"
        }

Plugin version 1.2.9 safely handles presence (or absence) of Android tools now, without the need to explicitly declare google() repository. Thanks @nhoughto for the initial PR.

Plugin version 1.2.9 safely handles presence (or absence) of Android tools now, without the need to explicitly declare google() repository. Thanks @nhoughto for the initial PR.


chore: update radix primitives

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add support for [clrLoading] for Wizard buttons

Summary
Add support for the [clrLoading] directive to clr-wizard-button buttons.
Use case
Would be useful for async finish steps and async validation in between steps.
Workarounds
Use a clr-spinner.

This looks like a 2 liner solution. I will need to check several situations before introducing the feature.

After taking some time to introduce it, it turns out to be a bigger change than I expected.
We are moving our focus to @clr/core development and we are less likely to bring new features to @clr/angular. I'll encourage you to proceed with the workaround.
https://stackblitz.com/edit/clarity-wizard-button-loading Leaving this stackblitz example for future reference.


docs(QUICKSTART.md): created QUICKSTART.md

Created QUICKSTART.md -- a starting point for someone new to this extension.

@vxdguy Excellent work and documentation on this!
I will link this to the ticket #333 , as it is related and gets us a good portion of the way to having some intro documentation.
I don't think we will close the above ticket yet as I still want to take a stab at the walkthroughs, but this can definitely go into release 2.10.0.

Is something missing here? Or why was this not merged as far as I can see?

Is something missing here? Or why was this not merged as far as I can see?

Hmm after checking nothing was springing to mind, so I will go ahead and merge this!
Thanks for the poke!

@vxdguy Thanks for the contribution!


Add optimism goerli chain

<EMAIL_ADDRESS>add optmism goerli chain.
ref: https://github.com/wagmi-dev/wagmi/releases/tag/wagmi%400.6.2

Is there an ETA for when this will be merged?

nice @LeifuChen thanks for the PR! only thing is it is currently failing CI due to a small linting error:

Expected object keys to be in insensitive ascending order. 'optimismGoerli' should be before 'optimismKovan'  sort-keys-fix/sort-keys-fix

if you just move both your additions above the optimismKovan lines it should be good. if you want to make the change, i will merge once it passes CI 🤠

nice @LeifuChen thanks for the PR! only thing is it is currently failing CI due to a small linting error:

Expected object keys to be in insensitive ascending order. 'optimismGoerli' should be before 'optimismKovan'  sort-keys-fix/sort-keys-fix

if you just move both your additions above the optimismKovan lines it should be good. if you want to make the change, i will merge once it passes CI 🤠

Updated. Thanks.

hey, does this need a docs change update as well?

thanks for catching that. will add  now 👍


model running speed

can we use ONNX to run model in speed ? anyone interested to have discussion on this topic? please reply here.

Hi! Well, I'm interesting

can we use ONNX to run model in speed ? anyone interested to have discussion on this topic? please reply here.

Hi! I'm interesting

Assuming you want onnx to go browser??? these findings maybe relevant.
so i've been working on this problem on another repo for over a month ...
below is some findings that may help...
I achieved something similiar to what you want here
https://github.com/johndpope/IMF/blob/main/onnxconv.py
(long story short) performance was crap
I ended up at this post  by @drsleep advocating tensorflowjs -
https://drsleep.github.io/technical/Tutorial-PyTorch-to-TensorFlow-JS/
spent many weeks investigating going from pytorch to tensorlfowjs
(the models in pytorch go BCWH - and in tensorflow its BWHC (maybe it's a hardware thing)
this is a total ball breaker as all the code needs to be converted or you have to specify channels last -
there's this
https://github.com/AlexanderLutsenko/nobuco
but you have to drop into swizzle things
https://github.com/AlexanderLutsenko/nobuco/issues/67
then came across google-ai-edge which can go pytorch to tflite - this has most promise to me
https://github.com/google-ai-edge/ai-edge-torch/issues/305
next problem is getting high fps in browser -
I have rust video codec I'm working on privately but these models have to spit out an image in 20-50ms to achieve 30fps
Im currently looking to use vasa + megaportraits to achieve this
https://github.com/johndpope/vasa-1-hack


DataChannel implementation

Hello,
I've been trying to implement datachannel functionality with the help of some tutotials, but unfortunately nothing worked so far. As a standalone project I have successfully enabled the channel. How can I implement the datachannel into this project?

I am aslo interested.

Maybe the datachannels samples in the samples/ repo can be of some help?


python312Packages.pandoc-latex-environment: <IP_ADDRESS> -> <IP_ADDRESS>

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.pandoc-latex-environment is: Pandoc filter for adding LaTeX environment on specific div
meta.homepage for python312Packages.pandoc-latex-environment is: https://github.com/chdemko/pandoc-latex-environment
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found <IP_ADDRESS> with grep in /nix/store/rihq9pszw54x9yw183sq8wcdds9gk3rq-python3.12-pandoc-latex-environment-<IP_ADDRESS>
found <IP_ADDRESS> in filename of file in /nix/store/rihq9pszw54x9yw183sq8wcdds9gk3rq-python3.12-pandoc-latex-environment-<IP_ADDRESS>

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

python311Packages.pandoc-latex-environment
python312Packages.pandoc-latex-environment

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/rihq9pszw54x9yw183sq8wcdds9gk3rq-python3.12-pandoc-latex-environment-<IP_ADDRESS> \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.pandoc-latex-environment https://github.com/r-ryantm/nixpkgs/archive/7db74bdc937d5317cab93e17fe787886fb1e733f.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/7db74bdc937d5317cab93e17fe787886fb1e733f#python312Packages.pandoc-latex-environment

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/rihq9pszw54x9yw183sq8wcdds9gk3rq-python3.12-pandoc-latex-environment-<IP_ADDRESS>
ls -la /nix/store/rihq9pszw54x9yw183sq8wcdds9gk3rq-python3.12-pandoc-latex-environment-<IP_ADDRESS>/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages built:

python311Packages.pandoc-latex-environment
python311Packages.pandoc-latex-environment.dist
python312Packages.pandoc-latex-environment
python312Packages.pandoc-latex-environment.dist

Maintainer pings
cc @Sigmanificient for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 337263 at 7db74bdc run on aarch64-darwin 1

2 packages built successfully:

python311Packages.pandoc-latex-environment
python312Packages.pandoc-latex-environment


Another random after using details

Hey!
When you set "Random" view and then use right-click -> "Details" on one video, and change rating (I think also when you rename the file?), then another random shuffle is used (videos in main window/backgroud of detail window shuffle again random). I don´t like that and I think this is an error/bug.
Marc

I cannot replicate. I see Random in the dropdown. I right-click on a video, and click "Details" - the details modal (popup) shows up, but when I press the Esc key or click outside the modal - the modal goes away and the view is unchanged (no more re-shuffling). I'm in the Thumbnails view. I'm on version 3.1.0 👍
Please share a bit more about the setup that makes the problem appear.

Sorry for the late response!
It shuffles when I change the rating (stars) in details view. eg. actual there are 0 stars and I choose 4. Then it shuffles in the background, everytime I change the stars.
I also use version 3.1.0.
Marc

I cannot replicate, but I wonder if you're used to using CTRL + S keyboard combination and are pressing it - thinking it means to "save" something, while the shortcut is actually to shuffle 🤔

I cannot replicate. I see Random in the dropdown. I right-click on a video, and click "Details" - the details modal (popup) shows up, but when I press the Esc key or click outside the modal - the modal goes away and the view is unchanged (no more re-shuffling). I'm in the Thumbnails view. I'm on version 3.1.0 👍
Please share a bit more about the setup that makes the problem appear.

I can confirm that the view wasn't reshuffled using the Details 2 view, but neither was the rating visibly updated.


chore: Update dependencies

BREAKING CHANGE: Node >=10.13.0 is required
BREAKING CHANGE: Prettier ^2.0.0 is required

Closes #101
Closes #102

+1 for new prettier

@cgfarmer4<EMAIL_ADDRESS>requires<EMAIL_ADDRESS>

I just ran it on 8 🤔

https://prettier.io/blog/2020/03/21/2.0.0.html#drop-support-for-node-versions-older-than-10-6908httpsgithubcomprettierprettierpull6908-by-fiskerhttpsgithubcomfisker

@MichaelDeBoey Thanks for this PR and apologies for the delay, I was taking a break from OSS.
This all looks good, and especially after the delay in reviewing, I don't have any issues in pushing a v3 with these changes.
I've just tinkered with the semantic-release setup (bump from v11 to v15), so hopefully this goes out without a hitch. 🤞

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix(challenges): Add user story to tribute page challange

add user story to center img in parent element. this is part of tests
run on the project but students don't know to implement it until test
fails.
Closes #17248

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Addressed currently open issue (replace XXXXX with an issue no in next line)

Closes #17248
Description

adds user story #9 to tribute page challenge instructing students to center the img in its parent element

Hi @megantaylor
Thanks a lot for this pull request. We sincerely appreciate the time and efforts put into this.
However can you please make the same changes once again on the https://github.com/freeCodeCamp/curriculum repository?
I would like to apologise for the inconvenience, but at this point it has become very difficult to carry over commits into the other repo, to which we have moved over the entire curriculum package.
Thanks once again.
Please reach out to us in the Contributors Chat room for any assistance.
Happy contributing!


unable to see switch on HomeKit

I use this Zigbee switch and I found it on the UI as you can see , but dont see it at HomeKit

what may be the problem ?
p.s
the switch : https://www.aliexpress.com/item/4001133814342.html?spm=a2g0s.90423<IP_ADDRESS>8a4c4dtVJQ8s

This switch is still not supported by this plugin. Is it supported by the herdsman lib? I don't see it in this list:
https://www.zigbee2mqtt.io/information/supported_devices.html#somgoms

this is the somgoms switch , and it does recognize and connect as you can see in the first picture


Keras guide: input_shape needed when fitting example model using datasets (instead of numpy arrays)

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): no
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux fedora 28
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.9
Python version: 3.6
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A
Exact command to reproduce: N/A

Below, I'm extracting code from the Keras guide (sequentially)
https://www.tensorflow.org/guide/keras
Here a model is being fit twice, to show you can use numpy or datasets. This works fine:
import tensorflow as tf
from tensorflow import keras

model = keras.Sequential()
# Adds a densely-connected layer with 64 units to the model:
model.add(keras.layers.Dense(64, activation='relu'))
# Add another:
model.add(keras.layers.Dense(64, activation='relu'))
# Add a softmax layer with 10 output units:
model.add(keras.layers.Dense(10, activation='softmax'))

model.compile(optimizer=tf.train.AdamOptimizer(0.001),
              loss='categorical_crossentropy',
              metrics=['accuracy'])

import numpy as np

data = np.random.random((1000, 32))
labels = np.random.random((1000, 10))

val_data = np.random.random((100, 32))
val_labels = np.random.random((100, 10))

model.fit(data, labels, epochs=10, batch_size=32)

dataset = tf.data.Dataset.from_tensor_slices((data, labels))
dataset
dataset = dataset.batch(32)
dataset = dataset.repeat()
dataset
# Don't forget to specify `steps_per_epoch` when calling `fit` on a dataset.
model.fit(dataset, epochs=10, steps_per_epoch=30)

However,  if you comment the first fit, the second will fail:
import tensorflow as tf
from tensorflow import keras

model = keras.Sequential()
# Adds a densely-connected layer with 64 units to the model:
model.add(keras.layers.Dense(64, activation='relu'))
# Add another:
model.add(keras.layers.Dense(64, activation='relu'))
# Add a softmax layer with 10 output units:
model.add(keras.layers.Dense(10, activation='softmax'))

model.compile(optimizer=tf.train.AdamOptimizer(0.001),
              loss='categorical_crossentropy',
              metrics=['accuracy'])

import numpy as np

data = np.random.random((1000, 32))
labels = np.random.random((1000, 10))

#model.fit(data, labels, epochs=10, batch_size=32)

dataset = tf.data.Dataset.from_tensor_slices((data, labels))
dataset
dataset = dataset.batch(32)
dataset = dataset.repeat()
dataset
# Don't forget to specify `steps_per_epoch` when calling `fit` on a dataset.
model.fit(dataset, epochs=10, steps_per_epoch=30)

with
  TypeError: Input 'y' of 'Mul' Op has type float32 that does not match type float64 of argument 'x'.

When I add an input_shape to the model, the fit using datasets works fine standalone, too.
So if input_shape is required with datasets, the model in the guide should probably have it, so people can copy out and directly use the code?

I have this exact same issue.
Everything skye has said, occurs in my system.
Strangely (for me at least) compiling and running model.fit again after this error works:
#Following instructions on https://www.tensorflow.org/guide/keras

import tensorflow as tf
from tensorflow import keras
import numpy as np

model = keras.Sequential()
# Adds a densely-connected layer with 64 units to the model:
model.add(keras.layers.Dense(64, activation='relu'))
# Add another:
model.add(keras.layers.Dense(64, activation='relu'))
# Add a softmax layer with 10 output units:
model.add(keras.layers.Dense(10, activation='softmax'))

model.compile(optimizer=tf.train.AdamOptimizer(0.001),
              loss='categorical_crossentropy',
              metrics=['accuracy'])

data = np.random.random((1000, 32))
labels = np.random.random((1000, 10))

val_data = np.random.random((100, 32))
val_labels = np.random.random((100, 10))

#model.fit(data, labels, epochs=10, batch_size=32)

# Instantiates a toy dataset instance:
dataset = tf.data.Dataset.from_tensor_slices((data, labels))
dataset = dataset.batch(32)
dataset = dataset.repeat()

# Don't forget to specify `steps_per_epoch` when calling `fit` on a dataset.
try:
    model.fit(dataset, epochs=10, steps_per_epoch=30)
except:
    print("Error - repeating")

    model.compile(optimizer=tf.train.AdamOptimizer(0.001),
                  loss='categorical_crossentropy',
                  metrics=['accuracy'])

    model.fit(dataset, epochs=10, steps_per_epoch=30)

Thank you @skeydan and @Sirplentifus for reporting this. The issue has been fixed by https://github.com/tensorflow/tensorflow/commit/efe370fcb367efd069c8166120858492dffa9a33#diff-2afc7c6acfd68474e1e8c56718431276
This will be available in the next nightly release. Please try and let us know if it works for you.

thanks, with the nightly build it works for me!

@pavithrasv I have just tested the issue, and I am being able to reproduce the error. That is, the code mentioned above, with two calls to fit, works well, but commenting the first fit gives error in the second. That is: "TypeError: Input 'b' of 'MatMul' Op has type float32 that does not match type float64 of argument 'a'."
I am in Windows 10 enterprise, not using GPUs, tensorflow version = 1.11.0-dev20180907
Please notice that I am working with a nightly built since 1.10 was giving other issues, please see https://github.com/tensorflow/tensorflow/issues/21894


Remove forall

forall is no longer present as its own method in CAPire, beyond a brief mention, so I assume it is no longer part of the API?

incorrect


Shortcode {{ .Inner }} not being rendered as markdown despite use of %

I am attempting to set up a set of shortcodes that will wrap the inner shortcode content in some html, and render the markdown inside, as shown in this video on https://gohugo.io/ . At the end of this video this is made possible by using {{% in the shortcode call.
When a block tag is used in the shortcode template itself, around the {{ .Inner}}, the markdown is not rendered. This is not what is shown in the tutorial, as a
 tag is successfully used.
Based on the documentation and the tutorial I expected the markdown to be rendered and the result inserted into whatever html was in the shortcode, not for the unrendered markdown to be passed into the shortcode and then the shortcode rendered.
Test case:
contentfile.md
This is rendered as markdown **markdown**

{{% foo %}}
This is rendered as markdown **markdown**
{{% /foo %}}

{{% bar %}}
This is rendered as markdown **markdown**
{{% /bar %}}

{{% baz %}}
This is not rendered as markdown **markdown**
{{% /baz %}}

foo.html
{{ .Inner }}
bar.html
{{ .Inner }}
baz.html

{{ .Inner }}

I asssume this is Hugo 0.55?

Sorry - yes 0.55

Please read the release notes for 0.55. We will get the docs updated soon, but it's Easter so a little slow in the Hugo Enterprise.

I'm not sure I understand this change 🤔 what's the difference between using % and < now, if both don't render Markdown?
Thanks

I confirm the same issue with hugo 0.55.6
Inside a shortcode,
{{.Inner}}
 is not rendered as a markdown (raw content is displayed), while {{.Inner}} is rendered correctly by markdown engine.
@bep Why this issue is closed?

This might clarify things a bit: https://discourse.gohugo.io/t/misunderstanding-of-shortcode-syntax-in-0-55/18538/25