Docker 1.10 not assigning MAC provided by remote plugin it works for 1.11

Hi,
I am remote plugin which is used being used to create macvlan endpoint for the containers.
I am trying to create MAC address from the plugin and pass it in Create Endpoint response.
I can see the MAC address in docker inspect. However, if I exec into the container I see some random MAC address.
Same thing works with docker 1.11.
Can someone tell what changed from 1.10 to 1.11

Some logs for reference
Mar 09 18:39:20 node-001e67f84794 macvlan-docker-plugin[68294]: time="2017-03-09T18:39:20Z" level=debug msg="The container interface for this context is [ {Address:<IP_ADDRESS>/16 AddressIPv6: MacAddress:} ]"
Mar 09 18:39:20 node-001e67f84794 macvlan-docker-plugin[68294]: time="2017-03-09T18:39:20Z" level=info msg="Allocated container IP: [ <IP_ADDRESS>/16 ]"
Mar 09 18:39:20 node-001e67f84794 macvlan-docker-plugin[68294]: time="2017-03-09T18:39:20Z" level=info msg="Allocated container Mac: [ 02:42:0a:41:12:07 ]"
Mar 09 18:39:20 node-001e67f84794 macvlan-docker-plugin[68294]: time="2017-03-09T18:39:20Z" level=debug msg="Create endpoint response: &{Interface:0xc82014f9e0}"
Mar 09 18:39:20 node-001e67f84794 macvlan-docker-plugin[68294]: time="2017-03-09T18:39:20Z" level=debug msg="The container Interface for response for this context is [{Address: AddressIPv6: MacAddress:02:42:0a:41:12:07}]"
Inside the container.
root@01aa058c158d:/# ip a sh
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
102: eth0@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 2e:68:b0:32:2d:2a brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/16 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::2c68:b0ff:fe32:2d2a/64 scope link
valid_lft forever preferred_lft forever
root@01aa058c158d:/#
Output from docker network inspect
"Containers": {
"01aa058c158d3a502531c30ad4f20d08890da975f6e13641e084e5ba665cb672": {
"Name": "fervent_curie",
"EndpointID": "00076e569020d27b782ff6c9cb25ac06c3cf6a486d3b3fd694b215c4fbbbb19b",
"MacAddress": "02:42:0a:41:12:07",
"IPv4Address": "<IP_ADDRESS>/16",
"IPv6Address": ""

@tombee Can you comment on this issue.

Sorry @kkapoor29, I'm not familiar with this issue.  Did you tag the correct person? :smile:


Remove 8443 defaults

Whilst the use of back channel endpoints (e.g. port 8443) was common in earlier deployments of the IdP it is recognized in more recent times that this is not actually necessary and that it can lead to security issues when enabled without a specific need.
Should a newly created IdP have some specific need for 8443 support these endpoints can still be manually provided once registration has been completed.

Has had all tests run locally as well as the app itself.
Looking to move initial version to test fed for more thorough going over with real data.


Add option to update dataset_description.json

It would be useful to have a function that updates the existing json sidecars existing in the derivatives folder instead of creating a new one or overwriting the existing ones.
This is important because if we modify the segmentations, then, the names of the author modifying the dataset along with the original author of the segmentations should exist in the json sidecar (the current script creates a new json file with the name of the modifying author).

Excellent point, Naga! Agree.

Closing --> further discussion in the parallel issue: https://github.com/spinalcordtoolbox/manual-correction/issues/34


Release Google.Cloud.Dialogflow.V2 version 4.18.0

Changes in this release:
New features

Change netstandard2.1 target to netstandard2.0 (commit 82bea85)

Created release for Google.Cloud.Dialogflow.V2-4.18.0


Wrong year for some publications

Fixed 👍  bibtex loader is looking for year key. But instead of year, these had date. See example below:
@article{Venn.2024,
 author = {Venn, Benedikt and Leifeld, Thomas and Zhang, Ping and Mühlhaus, Timo},
 year = {2024}, // this was date= {2024}
 title = {Temporal classification of short time series data},
 volume = {25},
 number = {1},
 issn = {1471-2105},
 journal = {BMC bioinformatics},
 doi = {10.1186/s12859-024-05636-6},
 file = {Venn, Leifeld et al. 2024 - Temporal classification of short time:Attachments/Venn, Leifeld et al. 2024 - Temporal classification of short time.pdf:application/pdf}
}


Is there a way to Undo or Revert seeding?

Is it possible to remove the seeded data via a command? and if not, how would one achieve this reliably?

Hi @stephanoparaskeva
I use this command to clean the database.
    "schema:drop": "ts-node ./node_modules/typeorm/cli.js schema:drop",

just add this to the scripts in your package.json.


Generate API documentation

Some combination of jsdoc, tsc, tsdoc, and/or dts-gen.
Separate, related goal: generate .d.ts file, rather than hand-coding

Separate, related goal: generate .d.ts file, rather than hand-coding

So here's a topic
There exists a tool called dts-gen that can do this without typescript.  However, it's pretty broad: it'll give fairly minimal type bindings.
If on the other hand you let typescript do this, you get a much stronger type file, but need to get peggy through tsc once first
I guess if it were up to me, I'd slap dts-gen on it now with the intention of switching to better results from tsc down the road, assuming that'd be a little bit of work
Thoughts?
(also should this be a different issue?)

I think this is the same issue.  I'll do a PR for the tsc approach since I've used it before.  You do one for dts-gen, then let's compare them and see what we like?
Are we both going to need the same jsdoc type annotations?  Maybe we should do that first together.

I'll do a PR for the tsc approach since I've used it before. You do one for dts-gen, then let's compare them and see what we like?

i mean if you're doing it through tsc then that's the good way and there's no reason for the dts-gen way
dts-gen is just a stop-gap.  if tsc is already working, it should be that
.

Are we both going to need the same jsdoc type annotations? Maybe we should do that first together.

They both consume the same annotations.
If it's tsc driven, typescript will already know what a lot of them are from static analysis
Personally, I'm going to make an investigation of how much work it would actually be to convert peggy itself to TS.  I know, nobody has agreed that that's the right thing to do yet; I just want to sniff around and see what I think.
Obviously, it would need to be delivered as JS at the end.


Refactoring

Progress: 60 %

Construct MS-SQL DB named HospitalData with two schemes: Core & Pool
Construct new UI code based on Lab 05-06

Progress 80 %


[vimeo] Unable to download JSON metadata: HTTP Error 400: Bad Request (caused by <HTTPError 400: Bad Request>)

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Provide a description that is worded well enough to be understood
Encountered a problem while trying to download a video from Vimeo. This method worked a few days ago but suddenly gave an error today.
Provide verbose output that clearly demonstrates the problem

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

Complete Verbose Output
C:\yt-dlp\yt-dlp file>yt-dlp https://vimeo.com/video/963118644 --verbose
[debug] Command-line config: ['https://vimeo.com/video/963118644', '--verbose']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [12b248ce6] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-114081-g64634e809f-20240309 (setts), ffprobe N-114081-g64634e809f-20240309
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.2, sqlite3-3.35.5, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1820 extractors
[vimeo] Extracting URL: https://vimeo.com/video/963118644
[vimeo] 963118644: Downloading webpage
[vimeo] 963118644: Downloading JSON metadata
[vimeo] 963118644: Downloading JSON metadata
ERROR: [vimeo] 963118644: Unable to download JSON metadata: HTTP Error 400: Bad Request (caused by <HTTPError 400: Bad Request>)
  File "yt_dlp\extractor\common.py", line 734, in extract
  File "yt_dlp\extractor\vimeo.py", line 891, in _real_extract
  File "yt_dlp\extractor\vimeo.py", line 756, in _extract_from_api
  File "yt_dlp\extractor\common.py", line 1133, in download_content
  File "yt_dlp\extractor\common.py", line 1093, in download_handle
  File "yt_dlp\extractor\common.py", line 954, in _download_webpage_handle
  File "yt_dlp\extractor\common.py", line 903, in _request_webpage

  File "yt_dlp\extractor\common.py", line 890, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 4142, in urlopen
  File "yt_dlp\networking\common.py", line 117, in send
  File "yt_dlp\networking\_helper.py", line 208, in wrapper
  File "yt_dlp\networking\common.py", line 337, in send
  File "yt_dlp\networking\_requests.py", line 366, in _send
yt_dlp.networking.exceptions.HTTPError: HTTP Error 400: Bad Request

Opening this specific URL in browser shows (translated) "this video is password proteced". Is this the reason why it doesn't work?

Opening this specific URL in browser shows (translated) "this video is password proteced". Is this the reason why it doesn't work?

Adding "--video-password" showed the same error. Sorry, completely forgot to mention that I had tried it.

Duplicate of #6603


[Gally]: master <- dev

Automatically created by Git-Ally

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Test Suite

Zero - test_suite - Very initial implementation of a own test suite, to stop to depend on third party implementations due to our constraints of use the latest C++ features.
The main reason behind this is due to the issues detected with Clang version >= 16 and Catch2, since it's imposible to build Catch2 with Clang. Instead of waiting them for fix this, we will implement our test suite from scratch.
Initially, we have:

Test Suite -> Common structure for handle related test cases
Test Case  -> A particular user-defined code that will be the testing object
Test Results -> Structure for hold the results of different suites and the free test cases (There's still a very initial implementation, warnings are not handled by them)
Assertions -> Only implemented assertEquals. We are in a very initial state, so it's fine to test our development workflow right now

Color features: Added some different colors to the terminal output, related by action. This should be completly refactored into their own feature, but due to the incoming std::print and std::format (that won't be usable until LLVM's 17 version, I don't know how to exactly proceed, because printing coloured strings could be done with the planned custom string implementation that we have planned, or just concatenating the color ANSI codes... hard to tell now. But we can think in such a feature in different ways

Hello ZDC devs. I am changing the state of the PR from draft to ready to review, since the initial implementation of the test suite is finished.
I would really love to have your feedback and approvals in order to merge the content to upstream ASAP, since it would be interesting to merge the contents of #23 with this code, and change the horrible ANSI scape character sequencies that are left in the suite's code.


docs - get started: git contents inaccurate

In the tutorial page, https://dvc.org/doc/start/data-pipelines#dependency-graphs-dags, the files listed to be committed into git may be inaccurate.
Here is the list of my unstaged files:

vs the list of files that the tutorial wants me to commit:

.gitignore
dvc.lock
dvc.yaml

Does the tutorial specifically want me to commit on these 3 files and not the other files in src, and params.yaml?
Maybe we can specify a reason if that's the case or add the files in the list.

Hi @utkarshsingh99 are you talking about this part?

Other than maybe changing .gitignore for data/.gitignore, I think "incude" implies this list is non-inclusive. The idea is that by this point the user understands what to do on their own. Not sure it's a good assumption but we don't want to teach Git.

"This" should be "These" though!

Alright. Also, interestingly, I do have a .gitignore in the root of my project.

That's because of the train stage in ⚙ Expand to add more stages.

"This" should be "These" though!

Would you like to update this @utkarshsingh99 ?

"This" should be "These" though!

Hi. Has this been addressed? Can we close this issue? Thanks!

Yes, I will address this mistake in the draft PR.
Sorry for the delay. Is it okay if I mention it in that PR? Maybe I should rename the issue as well

Is it okay if I mention it in that PR?

I'm not sure what you mean. Please link #1494 as the fix to this issue.

Actually it's such a small thing... I see you've addressed it there. Let's just close this now. Thanks


remove EAP 7.1 TP imagestream entries

https://issues.jboss.org/browse/CLOUD-2594

@rcernich FYI

@sdodson looks like this is ready to be pulled into openshift-ansible. Is there a preferred way for me to request this? bz bug maybe?


fix: Consider root dir for source maps paths

Fixes an issue where the root_dir was not considered when computing the paths in source maps. The issue is visible in the examples by checking the computed paths against the actual paths of the source files in the Bazel output directory.

Changes are visible to end-users: no
Test plan

Covered by existing test cases

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


Please stop telling me about JLR blocking the api!

I really do appreciate people passing on information and sharing but .....
Fully aware of the JLR third party blocking issue.  Also fully aware that the devs over at Wattcat have found a workaround.
In fact, it was me who found the workaround and shared with ardevd to fix jlrpy and wattcat and other onward apps.
Before telling me again, please update to v2.2.6 or v3.0.0beta6, read some of the closed issues or check on the forum and see for yourself that we know and its fixed.
Rant over! 😘
Oh BTW, if they do it again, let me know! 😀

Looks like they did it again!

 It's been looked at.  Thanks

Will close this issue for now and it can be tracked on #138


Update README.md

update jar name as defined in pom.xml:    1.0.0-rc3-SNAPSHOT, otherwise jar wont be found!

Thanks!


Preventing overcharging & undercharging shipping

Is there any way there can be a shipping type for 'calculate before checkout' or 'pay for shipping separately'?
Every item & destination zone price is unique, and if all you use are flat-rate boxes, you end up overcharging customers when variable rate is cheaper at least 50% of the time.
I never want to overcharge, or to markup all my item prices a certain amount and set them as "free" shipping, then end up having my actual cost of shipping exceed my markup.

+1, this is something that I also want to see implemented.
Mercado Livre  (Ebay-like website) works this way:

Before buying, customer opens chat with vendor and informs his address/postal code
Vendor verifies shipping costs and informs it to customer
Customer buys product and fills shipping price on a custom field that states: "I already know how much my shipping costs",

Alternatively, customers can buy a product without filling this field, and asking for shipping costs later to the vendor.

This has been a request since version 1, but implementing it would be very complicated.
It would solve a lot of issues to have a way to negotiate prices (shipping, taxes, special requests, etc.). That's something we may implement in the future.

Need to figure out a way that isn't complicated to code. Maybe a switch that makes the listing unpurchasable & instructs potential buyers to message their zip/post code, then the seller can edit the listing's shipping price for the buyer, then switch the listing to live, or give the buyer a Cloned & Hidden listing's GUID with their actual shipping filled in, a la Etsy's private listings.


Fixed parameter typo

PR checklist

[ ] Addresses an existing issue: #0000
[ ] New feature, bugfix, or enhancement

[ ] Includes tests

[x] Documentation update

Overview of change:
Just a typo fix in documentation.
Is there anything you'd like reviewers to focus on?

CHANGELOG.md entry:
Documentation typo fix.

Thanks for your interest in palantir/tslint, @EricSmekens! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

Thank you for your PR. Unfortunately this is the wrong branch and file. The file you edited is automatically generated from the source code.
Can you please open a new PR against the master branch and make the change in src/rules/noDuplicateVariableRule.ts instead?


Create block_letters.py

#My first Name is: Shubham , Middle Name is: Kumar, and Last Name is: Tripathi.
#I am a very honest person.
name =     '''
SSS   K   K TTTTT
S   S  K  K    T
S      K K     T
SSS   KK      T
S  K K     T
S   S  K  K    T
SSS   K   K   T  '''
print (name)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


publisherName must be a string

I am trying to create a certificate for my app, but I am getting an error saying publisherName must be a string :/

Any idea what's causing this? This tool worked nicely for me in the past with the same app.

Thanks for the report, it seems like @jacobq's last PR broke something. Feel free to install the last version (0.9.3), I'll try to figure out what broke.

I think it might be a publisher vs publisherName naming goof in my commit.
https://github.com/felixrieseberg/electron-windows-store/commit/2130d97b9b4188e0f684f9822d257143b602b2b1#diff-3dc8020b53daf52d9c95dc37e8688b10R60

Thanks guys! I am now getting this error, pretty sure this isn't related to this package but not sure how to fix this, couldn't find much details online either

@MehediH It looks like there's a " character in your path?
P.S. In the future if you could copy & paste the text instead of just a screenshot that would be more useful (avoids size/scaling problems on different screens, shows more text that just what's in the window, etc., as well as more search-friendly for other people who might be running into the same problem).

@jacobq Will make sure to copy paste next time.
There isn't any electron-windows-store folder in my AppData folder for some reason, I looked into the npm folder but couldn't find anything.

According to the screenshot above it was apparently in C:\Users\mehed\AppData\Roaming\npm\node_modules\electron-windows-store (probably from npm install -g ...) If you copy and paste that into Windows Explorer do you encounter an error?

Nope, but I don't see the E9C87844-1C8E-430E-9950-8E0DC3A6EE56" folder there

That may be because that's not a valid file name ;)
Could you paste the config file or command line arguments you're passing? I have no idea where that crazy name is coming from unless you entered it.

Here you go, removed my publisher details for obvious reasons :)
electron-windows-store --input-directory .\build --output-directory .\output\ --flatten true --package-version <IP_ADDRESS> --publisher "CN=pub_id_here" --package-name Tweeten.TweetenApp --package-display-name Tweeten --package-description "Tweeten, an app that makes TweetDeck prettier." --package-executable app\tweeten.exe --assets .\assets -m appxmanifest.xml

@MehediH Unfortunately, I think the problem is in your publisher string, so if you're not comfortable sharing it I guess the best advice I can give you is look at it closely. Does it contain quotation marks? If so, try escaping them or removing the surrounding quotes.

Hmm thanks anyway, @jacobq!


Icons not displayed

Describe the bug
MDI Icons are not showing in the home or alias screens
To Reproduce
Steps to reproduce the behavior:

Click on Admin
Click on Alias

Expected behavior
The icons for the aliases should appear

I noticed this too, in the last couple of days the icons are not showing up in the web interface. It's a problem with fontawesome. Something must have changed recently.

This is fixed in 0.3.13.
You will need to visit the fontawesome website and register your own kit. See the instructions in the release notes


List aiohttp in optional dependencies

Versions
azure-core @ file:///home/dima/.cache/pypoetry/artifacts/1d/05/81/2e2cfcd2a8815ee1fd0d0c76864a0bc9db9eb1d56da502844a29f92d8d/azure_core-1.25.1-py3-none-any.whl
azure-storage-blob @ file:///home/dima/.cache/pypoetry/artifacts/92/6a/74/89433492a804a762d9b6b76861cc31b8e9c1cf53919c260a51047eeec5/azure_storage_blob-12.13.1-py3-none-any.whl
Python 3.10.6 (main, Aug  2 2022, 15:11:28) [GCC 9.4.0] on linux

Describe the bug
The .aio API of this library depends on aiohttp but the package does not require it.
To Reproduce
Steps to reproduce the behavior:

pip install azure-storage-blob
`python -c "from azure.storage.blob.aio import BlobServiceClient"
Fails because aiohttp is not installed

Expected behavior
Expected the package to have an optional dependency on aiohttp.
Example:
https://github.com/HENNGE/aiodynamo/blob/1e3ea24042ac1ca3914aedd9d2ffcf0b1d0ef226/pyproject.toml#L23-L32

Hi @dimaqq Dima, the "hard" dependency on aiohttp from azure-storage-blob was actually removed in our latest preview release 12.14.0b1 and will not be present in our next full release. We were actually importing something from aiohttp which was not supposed to be the case since the client libraries should remain Transport agnostic.
That being said, typically aiohttp is used for the azure.storage.blob.aio (though it does not have to be). I'm not exactly sure on our approach to handling this dependency or if we should add it to azure-core or individual libraries.
@lmazuel, @xiangyan99 any thoughts on this? Should we be adding aiohttp as an optional dependency anywhere?

Hi again @dimaqq Dima, I have just created a PR which adds an extras_requires to our setup.py file called aio that will install aiohttp along with blob package install. Since we use the setup.py method of defining dependencies, this was the best way to specify an optional dependency.
After this is merged and released, you will be able to do pip install azure-storage-blob[aio] to install aiohttp along with the blob SDK. Thanks for bringing this up so we could get it added!


Unable to build due to missing mvnpm dependency

I was able to build with quarkus 3.7.1 earlier today but our build started failing later with a clean maven repository.
Looks like mvnpm is missing some versions of ssr-dom-shim?
Disabling quarkus-logging-manager fixed the issue for the moment, which is not ideal of course.
[ERROR] Failed to execute goal io.quarkus.platform:quarkus-maven-plugin:3.7.1:generate-code (default) on project eae: Quarkus code generation phase has failed: Failed to collect dependencies for io.quarkiverse.loggingmanager:quarkus-logging-manager-deployment:jar:3.0.3: Failed to collect dependencies at io.quarkus:quarkus-vertx-http-deployment:jar:3.7.1 -> io.quarkus:quarkus-vertx-http-dev-ui-resources:jar:3.7.1 -> org.mvnpm.at.mvnpm:vaadin-webcomponents:jar:24.3.0 -> org.mvnpm:lit:jar:3.0.0 -> org.mvnpm:lit-element:jar:4.0.4 -> org.mvnpm.at.lit-labs:ssr-dom-shim:jar:[1.2.0,2): No versions available for org.mvnpm.at.lit-labs:ssr-dom-shim:jar:[1.2.0,2) within specified range -> [Help 1]
@phillip-kruger  I think you are also maintainer for mvnpm if I am not mistaken, would the issue lie somewhere there?

That was raised here in quarkus and issue's been mitigated, closing:
https://github.com/quarkusio/quarkus/issues/38510


More specific navigation to locate Azure AD tenant

The previous content suggested selecting Azure AD tenant by just clicking users account in the top right, which is a bit confusing, specially who just started using the portal.  The new changes suggests a more specific walk through to locate the target Azure AD tenant.

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

@AshrafAlam : Thank you for your contribution! Adding the new owner of this content @CelesteDG to review the change.

Thank you, @priyamohanram - #sign-off
Hi @AshrafAlam - Thank you for your contribution.

@CelesteDG: I'm sorry - only the author of this article, @priyamohanram, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off


New version: ONLYOFFICE.DesktopEditors version <IP_ADDRESS>

Pull request has been automatically created using 🛫 WinGet Releaser.
Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree company="ONLYOFFICE"

@microsoft-github-policy-service agree company="ONLYOFFICE"


GH-15081: [Release] Add support for using custom artifacts directory in dev/release/05-binary-upload.sh

It's for reusing the script from apache/arrow-adbc.

Closes: #15081

+1


⚠ ku-s has degraded performance

In 065ee21, ku-s ($KU_API_STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 10673 ms

Resolved: ku-s performance has improved in f4a5c66 after 8 minutes.


[Bug] No "Open Millennium" button

Before Reporting

[X] I found no existing issues matching my bug
[X] My issue is not caused by a theme
[X] My issue is not caused by a plugin

Describe the Bug
I installed it using Powershell. After installing Millennium then Steam restarted but was closed again. After opening Steam manually and clicking on Steam>Settings>Interface tab there is no “Open Millennium” button. I tried -dev mode but I didn't find any errors
[05:17.810] INFO<EMAIL_ADDRESS>is up to date.
[05:17.811] INFO Ports: { FTP: 61335, IPC: 61343 }
[05:17.812] INFO Plugins: { core: Enabled }
[05:17.812] INFO Verifying Python environment...
[05:17.857] INFO Starting plugin backends...
[05:17.857] INFO Opting to use '8080' for SteamDBG port
[05:17.857] INFO Created thread<PHONE_NUMBER> for plugin 'pipx'
[05:17.857] INFO Starting frontend socket...
[05:17.857] INFO Startup took 1094 ms
[05:17.870] INFO Redirecting stdout/stderr for plugin 'pipx'
[05:17.870] INFO Invoking plugin main callback for 'pipx'
[05:17.870] INFO Started preloader module
[05:17.967] PIPX Starting Package Manager...
[05:17.976] PIPX checking for packages on Windows
[05:17.994] PIPX All required packages are satisfied.
[05:17.994] PIPX Finished in 25.97 ms
[05:17.994] INFO Preloader finished...
[05:17.994] INFO Notified plugin [pipx] to shut down...
[05:17.994] INFO Orphaned 'pipx', jumping off the mutex lock...
[05:17.994] INFO Trying to join thread<PHONE_NUMBER>...
[05:17.994] INFO Shutting down plugin 'pipx'
[05:17.999] INFO Ended sub-interpreter...
[05:17.999] INFO Shut down plugin 'pipx'
[05:17.999] INFO Successfully joined thread
[05:17.999] INFO Successfully unloaded pipx
[05:18.000] INFO Enabled Plugins: 1, Loaded Plugins : 0
[05:18.000] INFO Starting backends...
[05:18.001] INFO Ports: { FTP: 61335, IPC: 61347 }
[05:18.001] INFO Plugins: { core: Enabled }
[05:18.001] INFO Plugins: { core: Enabled }
[05:18.001] INFO Starting backend for 'core'
[05:18.001] INFO Created thread<PHONE_NUMBER> for plugin 'core'
[05:18.015] INFO Redirecting stdout/stderr for plugin 'core'
[05:18.015] INFO Invoking plugin main callback for 'core'
[05:18.043] CORE Loading<EMAIL_ADDRESS>[05:18.535] CORE Starting the websocket for theme installer...
[05:18.536] CORE Ready in 510.951 milliseconds!
[05:18.536] INFO Successfully loaded 'core'
[05:18.537] INFO Enabled Plugins: 1, Loaded Plugins : 1
[05:18.537] INFO Finished preparing backends...
[05:18.553] CORE Server started on ws://localhost:9123
[05:20.108] INFO Connected to Steam @ 0xe1ff040
[05:20.109] INFO Connected to SharedJSContext in 1 ms
[05:20.109] INFO Preparing to inject frontend shims...
[05:20.767] INFO Successfully sent debugger pause...
[05:21.355] INFO Debugger has paused!
[05:21.355] INFO Ready to inject shims!
[05:21.356] INFO Registering for load event @ 0x13c9f980
[05:21.357] INFO Enabled Plugins: 1, Loaded Plugins : 1
[05:21.357] INFO Finished preparing backends...
[05:21.357] INFO Invoking & removing on load event @ 0x690c500
[05:21.358] INFO Notifying frontend of backend load...
[05:21.458] INFO Successfully resumed debugger, injecting shims...
[05:21.459] INFO Successfully injected shims, updating state...
[05:21.459] INFO Successfully notified frontend...
[05:21.459] INFO Frontend notifier finished!
[05:23.224] CORE Using default accent color
[05:23.232] CORE SteamUI successfully loaded!

Expected Behavior
So I can see that button. Yes?
Steps To Reproduce

Open PowerShell
Type “iwr -useb ‘https://steambrew.app/install.ps1’ | iex” and enter
Wait for installation and open Steam
No button

Operating System
Windows
Anything else?
No response

No where in the docs does it provide insight on a "Open Millennium" option, that was a thing almost a year ago. It's now a separate tab in settings at the top, not sure how you missed it; must have been tunnel vision.
Cheers

No where in the docs does it provide insight on a "Open Millennium" option, that was a thing almost a year ago. It's now a separate tab in settings at the top, not sure how you missed it; must have been tunnel vision.
Cheers

It's a misunderstanding. This describes the old way of installation https://steambrew.app/theme?id=F8h9ZhwOdoNygNcAfjIZ . This tab “themes” For this reason, I considered this “themes” tab as part of the default steam ui


example video_capture.rs fails [OpenCV 3.2]

opencv = {version = "0.33", default-features = false, features = ["opencv-32"]}
rustc 1.42.0
Ubuntu 18.04.4 LTS
I just copy pasted the example video_capture.rs and got this error
error[E0599]: no function or associated item named `new` found for struct
`opencv::videoio::VideoCapture` in the current scope
  --> src/main.rs:16:42
   |
16 |     let mut cam = videoio::VideoCapture::new(0, videoio::CAP_ANY)?;  // 0 is the default camera
   |                                          ^^^ function or associated item not found in `opencv::videoio::VideoCapture`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0599`.
error: could not compile `opencv_rust_test`.

I suspect the examples might be outdated with rust.
I just started with rust, so this is something that will take me longer than a pro to fix.

There is a feature fork in that example:
    #[cfg(feature = "opencv-32")]
    let mut cam = videoio::VideoCapture::new_default(0)?;  // 0 is the default camera
    #[cfg(not(feature = "opencv-32"))]
    let mut cam = videoio::VideoCapture::new(0, videoio::CAP_ANY)?;  // 0 is the default camera

It doesn't work out because your project doesn't have those features declared/enabled so rust picks up the second branch. In your case you need to only leave:
    let mut cam = videoio::VideoCapture::new_default(0)?;  // 0 is the default camera

Yep, now it compiles. However the windows immediately closes after being opened. This is because of line 25. I verified using print! . However no keys are pressed.

Hm, it looks like OpenCV 3.2 return value from waitKey is different from later version. Please use this fixed code (I will also update the example):
        let key = highgui::wait_key(10)?;
        if key > 0 && key != 255 {
            break;
        }

Yep that fixed it. Thanks! I suppose -1 is the same as 255 on 8bit integers so thats why it failed.
Because I expected many issues to occur from using old versions of opencv I built the 4.2.0 version.
The .pc file has been generated.
Compiling opencv = {version = "0.33"} has not worked however because of many linker errors. SO many infact, that I cannot show them here. I think I have not been able to successfully set the PKG_CONFIG_PATH and LD_LIBRARY_PATH. I will try to restart and find a way to be sure that those have been set. Help regarding this is appreciated.

I think it was because I compiled cmake statically. That is why no .so files were in the LD_LIBRARY_PATH. I am going to build the Shared Libraries for OpenCV 4.2.0 now and report back once that is done.

The static build is something that I still want to explore at some point, but yeah I haven't tested it at all.

Alright. I have compiled the shared Libraries and it works. Since the reason I switched from c++ to Rust in this case was to try if cross platforming is simpler, I will try the same on windows next.
If Issues occur I will create a new one. Thank you!


Many box - box interaction oddities

Boxes push other boxes when held
Book is layered behind the boxes
When let go of a box while obstructed by another box, the box teleports up instead of dropping down in front of the box on the ground.
Boxes that were released and hit another box while going upwards tend to get stuck at the corner like so :

I tihnk the largest of these all is that in flash 5b boxes clip with level geometry and not with entities when held and at the moment 5bHTML does the opposite
Specifications

Version: v5
Browser: Firefox 90.0.2
Operating System: Windows 10 64 bit

Will be updated whenever I fix one of the bugs:

[ ] Bug 1
[x] Bug 2
[ ] Bug 3 (Affects #12)
[ ] Bug 4
[ ] Grab Collide Bug (Affects #15)


[WIP] Add NextAuth for Discord OAuth integration

Initial (very ugly) example for NextAuth implementation, using Discord's OAuth for login and also email magic link.
Included a /session page which displays the data from the useSession() hook from next-auth.

created an issue to track this! https://github.com/garageScript/c0d3-app/issues/1376


Add ability to set initial time of reminder.

Right now this one fixes it. But it uses generally unhealthy tactic of catching exceptions in control flow. And it worsens a UX a little bit by deleting and resending messages instead of editing them.
So perhaps some more work?


Run tests in parallel

In WebdriverIO you can specify maxInstances and run tests in parallel.  How is this configured in CodeceptJS?

For now it's not really possible. Probably you can do this, but I didn't try.
Personally I don't really understand how parallel running tests won't affect each other by using the same web application and data from it. I prefer to run parallel testing in different docker containers to ensure their isolation

@DavertMik Can you please describe how do you run parallel testing in different containers? Are you just running codecept with different configs or you are using some modules organization to mare it work?

@DavertMik - I'm also interested in understanding how to run parallel tests using a dockerized selenium grid ... Any help would be greatly appreciated.

+1

@DavertMik There are webdriver commands to create separate instances of the browser - there is no reason to have an entire separate docker container to test in parallel. On my local machine I have no problems testing 8+ instances of chromedriver (driven via selenium) simultaneously (not using codeceptjs for them, obviously). The execution of every driver is isolated from the others. So I can test 8 instances of the same website logged in as the same user creating different session data and there are no issues with the tests affecting each other. This should be trivial to implement, as it already works and we just need the CodeceptJS tools to send the commands to webdriverio or selenium.
Feel free to ask me if you have any questions about my existing setup.

In v0.6.0 we added new command multiple-run. It's allow you to create different suites for different browsers and launch them in parallel using NodeJS child processes. See http://codecept.io/advanced/#multiple-execution
Also as mentioned you can create a Dockerfile, add selenium and your test to docker to run tests in isolation. Then run several docker instances with different arguments (e.g. use grep to define suites http://codecept.io/advanced/#groups)


Why I can't change my port?

const amqp = new AMQPClient("amqp://tmp:tmp@<IP_ADDRESS>:15672");

const conn = await amqp.connect();

Does not throw an error when the message queue cannot be connected.
Thanks

15672 is typically the management plugin port, are you sure you meant to use it?

The reporter is right, it should fail


MTB: replace profile level and categories with labels

At the Sep 2nd 2020 sig-auth meeting we discussed the multi-tenancy benchmarking tool (video) and how the benchmarks tests could potentially be reused for other goals.
An option to enable that would be to replace multi-tenancy profile levels and categories with labels, like:
wg-multitenancy.kubernetes.io/profile-level
wg-multitenancy.kubernetes.io/category

The benchmarking tool can then allow running tests that match one or more labels:
kubectl mtb run -l "wg-multitenancy.kubernetes.io/profile-level=1"

Validation of other suites / profiles, like the Standardized Pod Security Profiles could then be supported using additional labels on common behavioral and configuration checks, or adding new checks.
kubectl mtb run -l "kubernetes.io/pod-security-profile=restricted"

/assign @phoenixking25 , ping me if anyone wants to work on this on priority basis

@phoenixking25 - am thinking about what level of reuse makes the most sense. We could refactor the benchmark tests to a separate reusable package but still have separate CLIs for running each set of tests.  For example:
kubectl mtb run --as  -n
kubect pss run --profile default
(the second command is for pod security standards: https://kubernetes.io/docs/concepts/security/pod-security-standards/).
Both could reuse some common tests.
If we do with this approach, we may not need labels but each tool would package its desired tests and manage reporting.


CORGI-551 always run collectstatic as startup

This updates the start_server script so that collectstatic is always run on startup. This prevents a 500 error when restarting the web application after all the files in the staticfiles directory have been deleted. The 500 error is caused by missing css and javascript files places in staticfiles for Django apps that we include such as drf_spectacular.
We now exclude *.json files as those take a long time to collect and process, which delays the startup of the web application on every restart. Those will be collected by the scheduled task.

LGTM
This means the collect_static() task in corgi.tasks.manifest can probably be removed since the files will always exist when the web pod starts up.

That one is required to migrate all the *.json manifests into the static folder. Also to keep the static files up to date as new manifests are generated.

LGTM
This means the collect_static() task in corgi.tasks.manifest can probably be removed since the files will always exist when the web pod starts up.

That one is required to migrate all the *.json manifests into the static folder. Also to keep the static files up to date as new manifests are generated.

Ah, right, but if you set WHITENOISE_AUTOREFRESH = True then those files will be served dynamically so no need to collect periodically. I think I noted that in some Jira task few weeks back but I guess it never made it to the code.

WHITENOISE_AUTOREFRESH

The documentation says for performance and security reasons it should not be used in production.


The Un-bodging: Rework to proper backend/frontend

Currently we're manually copying JSON files produced by the backend to be rendered. This is a bit rubbish.

[ ] Determine whether back-end/front-end should be in separate repos?

Split from different branches to different repos
Leave as is (separate branches in one repo)
Join in to one branch, with better folder structure

[ ] Pick server-side technology for back-end API

Jetty + Jackson (already using Jackson)
Jetty + Jersey + Jackson

[ ] Change front-end to read from proper API endpoints instead of loading from linked.json

I think we should either split up the branches into separate repositories as the current situation is unsatisfactory and I think that having both parts on the one branch will be far too cluttered.

+1 for using proper API endpoints


fix deadlock by channel waitting

This bug was due to channel waitting each other.
Let's assume a function try to listen events on lifecycle events channel, at the same time, it also invokes   a function at following process, which looks like:
for event := range LifecycleEvents() {
timeConsumingFunction()
DomainGetVcpusFlags
}
It could cause deadlock, the root of deadlock is the route() function contains both event channel and callback channel process logic. If the for loop above pulls a event from event channel, and at the time of execution of  timeConsumingFunction, more event comes. Then the route() funtion will try send those new events via event channel. But nobody could recieve those events. However, at the same time when the DomainGetVcpusFlags function got to be executed, it also hang for route() function updating the callback channel. The sad thing is, route() function would never got there since it traps in waitting.
This is how the deadlock happens, and my pr could fix it by putting both event send code into goroutine.

@trapgate @YorikSar PTAL

@WanLinghao Great catch! You approach doesn't look right though, added comment inline. It would be great to cover such case with some test as well.

@YorikSar @trapgate  Thanks for your review,  I will fix it

Actually, the more I think about this, the more it seems to me that this should be handled on the caller side. Current approach would always block for every incoming event/packet unless caller consumes them as fast as they arrive. This is a backpressure problem: some use cases require all events to be received in order, some use cases allow them to come in any order, some would allow to drop events. Library has no way of knowing which case user requires.
In your case if you need all events to be received and acted upon in order, I'd suggest setting up a queue for them and filling it up in intermediate goroutine that would drain event stream from library.

In my case,  I just call the function like I show above, and the deadlock happens. It is not a busy one, just 3 VMs. I don't think it should be handled in caller side. The vendor code should provide safe and sound api, not like this, right?  People would be confused why just every thing stopped.  I still believe this is a bug and we should fix it. WDYT

Actually, the more I think about this, the more it seems to me that this should be handled on the caller side. Current approach would always block for every incoming event/packet unless caller consumes them as fast as they arrive. This is a backpressure problem: some use cases require all events to be received in order, some use cases allow them to come in any order, some would allow to drop events. Library has no way of knowing which case user requires.
In your case if you need all events to be received and acted upon in order, I'd suggest setting up a queue for them and filling it up in intermediate goroutine that would drain event stream from library.

@trapgate @YorikSar  Just updated my PR, now it fix the event order problems by some kind of lock chain.  It might be a little ugly, but I can't figure out any better way to fix it. I think we could also consider replacing event channel with a buffer one. But just like I said, the deadlock bug is just relieve the pain not cure it. Maybe we could just drop the event when the channel is full.

Your current solution seems to emulate queue by creating a channel for each element. While it looks interesting, it seems to be a recipe for leaking those channels. I also don't think we should add this complexity to handling all RPC packets.
It looks like the only two problematic methods that can cause such race condition are Events and LifecycleEvents since they are the only ones that directly translate from internal Events channel to consumer's channel.
I think we should add either some parameter or some wrapper that would allow user to select behaviour of the queue returned by those calls: size of the buffer and whether or not events should be dropped. These decisions greatly depend on concrete caller use case.


Update MIP113 <IP_ADDRESS>

Correct wrong reference. From "<IP_ADDRESS>A" to "<IP_ADDRESS>.1A”

@0xNix0 please combine your Pull Requests into a single PR to speed up the review process. We are closing them for now but will be happy to review a combined PR when it is available.


Add goals for Release builds

add build goals for Fast/Small builds
add build goals for each supported platform
add goals for cleanup (zig-cache, zig-out, test temp directory)
get rid of build.sh

I just cleaned up the build.sh script which does all of the above, besides building for a specific platform. Small builds don't pay off, they are much slower in execution and not much smaller after compression with UPX.
build.sh is good enough for now.


Bug: Modal in Myml doesn't appear using IE

Using IE (only tested in v8, 75%) with W7 in Myml when we click "?" doesn't appear the modal correctly.

It was fixed with v1.0.0


ci: fix commitlint workflow

Change commitlint to work on ranges, and update the Github workflow to
send in the merge requests <base>..<head> as the range.

Sorry, I don't feel confident enough to review this. It touches on parts I have no clue about.

Sorry, I don't feel confident enough to review this. It touches on parts I have no clue about.


mouse over

can turn off mouse over

Why is that? Describe the specific problem you are facing.

Closing due to no response. Feel free to reopen if you have a specific discussion.


Remove last traces of ADL

Summary of the PR
A short summary of this PR and what it adds/removes/fixes.
Related issues, Discord discussions, or proposals
Links go here.
Further Comments

Ready for review - should be benign.


Selecting next song causes "System.NullReferenceException" in NAudio.Core.dll

If press "Next" button during the playback you'll get System.NullReferenceException in SampleAggregator.cs:
public int Read(float[] buffer, int offset, int count)
{
   try
   {
      sampleCount = source.Read(buffer, offset, count);

      for (int n = 0; n < sampleCount; n += channels)
         Add(buffer[n + offset]);

      return sampleCount;
   }
   catch
   {
      return 0;
   }
}

Specifically, the line:
sampleCount = source.Read(buffer, offset, count);
Maybe it happens because Play method is used right after changing FileStream for the playback. It's not crucial error, but rather annoying.

I've tried to find a solution to this bug, but it seems like I can't fix it without overengineering some stuff. It's not causing any serious problem for the app, so for now I see no point in further investingation.

This issue was fixed with NAudio 2.1.0 update.


rsync assets to build

Use https://github.com/mattijs/node-rsync to sync assets from /assets to /build/public/assets

Done


Prioritize rules with long build times

This makes it more probable to run until the end concurrently.  This is especially useful if the project is rather small and contains a rule which takes a lot of time and is independent of a lot of other rules.

Agreed, that would be helpful, certainly for some workflows (I've been experiencing just such a workflow recently). There are two approaches to that - I can either require users to annotate rules as being most expensive, or drive it off the profile information. The former gives the user maximum control and works in the first run, the latter is more automatic. Which did you have in mind?

For me the automatic one is much better.  Typically I build a lot of
times, therefore the first time isn't that important and it isn't always
clear which part will take very long when you compile the first time.
I like the idea, that shake learns from previous builds :)

Perhaps it would be even better to prioritize rules which increase granularity, something like:
if rule A would allow rules A1, A2, A3, it is preferable over rule B which allows rule B1, B2 because it increases stronger the granularity.
This would also avoid some midway congestions in which all cores are waiting for a rule to terminate.
A sensible formula for calculating the granularity would be for example:
(n+1)*(1/t)
where n is the number of rules which would be workable after this rule and t is the average time for terminating this rule...
Would a pull request be appreciated to implement something like that?

You might want to prioritise things which are "deeper", rather than "broader". For example, B1 might enable B4..B100, and so prioritising A would be the wrong thing to do. I guess the ideal metric would be a combination of how much time is blocked on this rule (e.g. the time to build this rule, plus the time of all dependents) and how much wall time is blocked on this rule (the blocked time reduced by the amount of parallelism). Stated alternatively, a blend of how long it takes to rebuild after touching this file with -j1 and -j0.
However, I think just picking the slowest rule first would probably go a long way to removing the worst case behaviours, and then we could reevaluate. Alternatively, your formula might refine that a bit, it certainly sounds plausible.
I'd happily accept a pull request, although I wouldn't want this feature to slow down the general operation, which suggests using something cheap to compute. Information about how long a rule took last time is available nearby and could be plumbed through. Everything else would probably take more effort.

My formula has the advantage in comparision to taking always the slowest that it can be applied without prior builds...
Perhaps it would be sensible to apply these priorities only in say 50% of the cases to avoid blocking on resources like IO.
I'll start to hack

Yep, that is an advantage of your formula. And agreed, perhaps blend 50% this information and 50% randomness, and then you're unlikely to suffer even if you make bad guesses. I look forward to seeing what you come up with.


Error bootstrapping 2nd NN when starting up

I noticed this in the log. The framework stopped attempted to bootstrap the 2nd namenode. It looks like if there is a task lost then running it doesn't update livestate or maybe just not fast enough. I should note I don't know why that namenode task became lost.
12:46:39.263 [Thread-50] INFO  org.apache.mesos.hdfs.Scheduler - Received status update for taskId=task.namenode.namenode.NameNodeExecutor.1426268773920 state=TASK_RUNNING message='-i' stagingTasks.size=0
12:46:39.264 [Thread-50] INFO  org.apache.mesos.hdfs.Scheduler - Current Acquisition Phase: FORMAT_NAME_NODES
12:46:39.264 [Thread-50] INFO  org.apache.mesos.hdfs.Scheduler - Sending message '-b' to taskId=task.namenode.namenode.NameNodeExecutor.1426268774910, slaveId=20150311-133327-169978048-5050-2699-S2
12:46:39.949 [Thread-51] INFO  org.apache.mesos.hdfs.Scheduler - Received 3 offers
12:46:40.950 [Thread-52] INFO  org.apache.mesos.hdfs.Scheduler - Received 1 offers
12:46:44.961 [Thread-53] INFO  org.apache.mesos.hdfs.Scheduler - Received 3 offers
12:46:45.963 [Thread-54] INFO  org.apache.mesos.hdfs.Scheduler - Received 1 offers
12:46:49.979 [Thread-55] INFO  org.apache.mesos.hdfs.Scheduler - Received 3 offers
12:46:50.980 [Thread-56] INFO  org.apache.mesos.hdfs.Scheduler - Received 1 offers
12:46:53.454 [Thread-57] INFO  org.apache.mesos.hdfs.Scheduler - Received status update for taskId=task.namenode.namenode.NameNodeExecutor.1426268774910 state=TASK_LOST message='Executor terminated' stagingTasks.size=0
12:46:53.468 [Thread-58] INFO  org.apache.mesos.hdfs.Scheduler - Received status update for taskId=task.zkfc.namenode.NameNodeExecutor.1426268774910 state=TASK_LOST message='Executor terminated' stagingTasks.size=0
12:46:54.987 [Thread-59] INFO  org.apache.mesos.hdfs.Scheduler - Received 4 offers
12:46:54.989 [Thread-59] INFO  org.apache.mesos.hdfs.Scheduler - Launching node of type namenode with tasks [namenode, zkfc]
Saving the name node mesos-slave3 task.namenode.namenode.NameNodeExecutor.1426268814989
12:46:58.329 [Thread-60] INFO  org.apache.mesos.hdfs.Scheduler - Received status update for taskId=task.namenode.namenode.NameNodeExecutor.1426268814989 state=TASK_RUNNING message='' stagingTasks.size=2
12:46:58.330 [Thread-60] INFO  org.apache.mesos.hdfs.Scheduler - Current Acquisition Phase: START_NAME_NODES
12:46:58.330 [Thread-60] INFO  org.apache.mesos.hdfs.Scheduler - Sending message 'reload config' to taskId=task.journalnode.journalnode.NodeExecutor.1426268761923, slaveId=20150311-133327-169978048-5050-2699-S3
12:46:58.330 [Thread-60] INFO  org.apache.mesos.hdfs.Scheduler - Sending message 'reload config' to taskId=task.journalnode.journalnode.NodeExecutor.1426268762929, slaveId=20150311-133327-169978048-5050-2699-S2
12:46:58.330 [Thread-60] INFO  org.apache.mesos.hdfs.Scheduler - Sending message 'reload config' to taskId=task.journalnode.journalnode.NodeExecutor.1426268767883, slaveId=20150311-133327-169978048-5050-2699-S1
12:46:58.330 [Thread-60] INFO  org.apache.mesos.hdfs.Scheduler - Sending message 'reload config' to taskId=task.namenode.namenode.NameNodeExecutor.1426268773920, slaveId=20150311-133327-169978048-5050-2699-S3
12:46:58.331 [Thread-60] INFO  org.apache.mesos.hdfs.Scheduler - Sending message 'reload config' to taskId=task.zkfc.namenode.NameNodeExecutor.1426268773920, slaveId=20150311-133327-169978048-5050-2699-S3
12:46:58.331 [Thread-60] INFO  org.apache.mesos.hdfs.Scheduler - Sending message 'reload config' to taskId=task.namenode.namenode.NameNodeExecutor.1426268814989, slaveId=20150311-133327-169978048-5050-2699-S2
12:46:58.333 [Thread-61] INFO  org.apache.mesos.hdfs.Scheduler - Received status update for taskId=task.zkfc.namenode.NameNodeExecutor.1426268814989 state=TASK_RUNNING message='' stagingTasks.size=1
12:46:58.335 [Thread-61] INFO  org.apache.mesos.hdfs.Scheduler - Current Acquisition Phase: FORMAT_NAME_NODES
12:46:58.336 [Thread-61] INFO  org.apache.mesos.hdfs.Scheduler - Sending message '-b' to taskId=task.namenode.namenode.NameNodeExecutor.1426268774910, slaveId=20150311-133327-169978048-5050-2699-S2

Hi @nicgrayson, yes figuring out why the NN task was lost is an important detail that I would like to know. Do you have access to those logs? That said, it should relaunch on another node and bootstrap the second node successfully even if the first task was lost. I will see if I can reproduce this as well.

You can see it relaunched a new NN but sent the bootstrap message to the old taskid

Ah, yes, it seems it needs to update the LiveState appropriately and at the right time. I will see if I can reproduce.


Is there a way to bind to public class methods when the object is inside std::unique_ptr?

Hi! It's been a while since I have been working with that code; could you provide some more specifics about what you want to accomplish?

Hi, I have already removed that code, but I will happily readd it.
The gist of it was:
m_city = std::make_unique< City >();
m_crosshair = std::make_unique< Crosshair >();

Dispatcher<MyEventType> dispatcher;
m_fireballSpawner = std::make_unique< FireballSpawner >( dispatcher ); //this will invoke dispatcher.post(MyEventType::SPAWN_FIREWALL, SpawnFirewallEvent)

//this line here gave me problems:
dispatcher.subscribe( MyEventType::SPAWN_FIREWALL, std::bind( &City::handle, m_city, std::placeholders::_1 ) );

//i then later tried to extract the City* pointer from std::unique_ptr<City> using this, but also couldn't get it to work
dispatcher.subscribe( MyEventType::SPAWN_FIREWALL, std::bind( &City::handle, m_city.get(), std::placeholders::_1 ) );


Solr integration test built

Create python script for solr integration test. Core18(WashingtonPost), robust04 all work well on this script.

@x389liu @r-clancy can you take a look at this and verify?

@x389liu took a look and confirmed it works, but she couldn't be added as a reviewer - could you re-invite her to the repo @lintool?

Added @x389liu


Refactor associations_spec

The spec/model/associations_spec.rb file has complex test cases and I thought some refactoring would help increase its readability and understanding.
Here you'll find improvements such as:

Rearrange contexts
Remove instance variables in favor of let
Prepare data for contexts in a more isolated manner
Enhance overall readability

@zacharywelch fixes are done.
Thanks for the review!
Let me know if you find anything else :)


Now how to use it in android?

I see the patch of add android support, is it ready to use on Android？
if yes, can you provide some documentation? thanks

Good question. I haven't actually tried at all since I don't (directly) do any Android work.
@JoeyJiao Do you think it is ready for general usage? If it is, would you be willing to write something about this in the docs?

yes, I can. Maybe sometime later.
For Android users general guide here:

Build AFL in Android
git clone https://github.com/google/AFL
cd AFL
mm
In Android.mk project with AFL
LOCAL_STATIC_LIBRARIES += afl-llvm-rt
LOCAL_CC := afl-clang-fast
LOCAL_CXX := afl-clang-fast++
AFL_PATH := out/host/linux_x86/bin
In Android.bp project with AFL, you need to modify build/soong to use afl-clang-fast(++) etc.
static_libs: [
"afl-llvm-rt",
],
I was using above way for single modules.

So it is ready for general usage?

yes, you can try.

@JoeyJiao
Hi,

yes, I can. Maybe sometime later.
For Android users general guide here:

Build AFL in Android
git clone https://github.com/google/AFL
cd AFL
mm
In Android.mk project with AFL
LOCAL_STATIC_LIBRARIES += afl-llvm-rt
LOCAL_CC := afl-clang-fast
LOCAL_CXX := afl-clang-fast++
AFL_PATH := out/host/linux_x86/bin
In Android.bp project with AFL, you need to modify build/soong to use afl-clang-fast(++) etc.
static_libs: [
"afl-llvm-rt",
],
I was using above way for single modules.

@JoeyJiao
Hi, how to use afl-clang-fast in Android.bp project, it seems that the soong build system doesn't support LOCAL_CC or LOCAL_CXX. Is there any simpler way besides hacking the soong build system？

@ele7enxxh
You are right, I modified soong system similar to your stagefright change.
I paste the main logic here. In this way, there is no need to use cflags (-AFL_MODE=1).
I think google might not accept this kind of modification, so I only keep it for local use at the moment.
Perhaps I can provide a patch sometime later on how to modify android build system.
| »       »       if (!ctx.Host() && !ctx.Config().AFLDisabledForPath(ctx.ModuleDir()) && ctx.Config().AFLEnabledForPath(ctx.ModuleDir()) && !strings.Contains(ctx.ModuleName(), "ndk")) || (ctx.Config().AFLEnabledForModule(ctx.ModuleName())) { | 442
-- | -- | --
  |   |   | »       »       »       os.Setenv("HOST_OUT", "out/host/linux-x86") | 443
  |   |   | »       »       »       if strings.Contains(ccCmd, "clang++") { | 444
  |   |   | »       »       »       »       ccCmd = "afl-clang-fast++" | 445
  |   |   | »       »       »       } else { | 446
  |   |   | »       »       »       »       ccCmd = "afl-clang-fast" | 447
  |   |   | »       »       »       } | 448
  |   |   | »       »       »       ccCmd = os.Getenv("HOST_OUT") + "/bin/" + ccCmd | 449
  |   |   | »       »       }
| func (sanitize *sanitize) deps(ctx BaseModuleContext, deps Deps) Deps { | 389
-- | -- | --
  |   |   | »       if (!ctx.Host() && !ctx.Config().AFLDisabledForPath(ctx.ModuleDir()) && ctx.Config().AFLEnabledForPath(ctx.ModuleDir()) && !strings.Contains(ctx.ModuleName(), "ndk")) || (ctx.Config().AFLEnabledForModule(ctx.ModuleName())) { | 390
  |   |   | deps.StaticLibs = append(deps.StaticLibs, aflLibs...) | 391
  |   |   | »       }

I had trouble getting this to work.
When I build with:
LOCAL_STATIC_LIBRARIES := afl-llvm-rt

the afl symbols are not present in the generated binary and afl-fuzz doesn't detect instrumentation.
I had to compile with:
LOCAL_WHOLE_STATIC_LIBRARIES += afl-llvm-rt

for the symbols to be present.

Hello, I am trying to fuzz the tool dex2oat using AFL, am however not able to instrumentalize the code. I have already build AFL and used it to fuzz the target using the dumb mode. Can someone give me an hint on how to modify the project in order to instrumentalize dex2oat? I am not sure on how the different make files have to be modifed.

@JoeyJiao
I am trying to instrumentalize the dex2oat in order to fuzz it. I followed the instructions that you mentioned previously and even made the changes to the soong system. However it doesn't detect the instrumentation. I am not sure if I understood everything correctly. So, please correct me if I am wrong.
After building AFL, I must modify Android.mk in the art folder like you mentioned (here I also corrected the small typo in "AFL_PATH := out/host/linux-x86/bin"). Now I only need to modify the Android.bp file under art/dex2oat by adding the "afl-llvm-rt," to the static_libs of the dex2oat component.

I'm using my_static_libraries += afl-llvm-rt in build/core/binary.mk for AFL enabled project.

@JoeyJiao when I add line my_static_libraries += afl-llvm-rt in  build/core/binary.mk，then build the target
system/extras/tests/pagingtest/Android.mk: error: "pagingtest (EXECUTABLES android-arm) missing afl-llvm-rt (STATIC_LIBRARIES android-arm)"
Available variants:
afl-llvm-rt (STATIC_LIBRARIES linux-x86_64)
afl-llvm-rt (STATIC_LIBRARIES android-arm64)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
system/libfmq/benchmarks/Android.mk: error: "mq_benchmark_client (NATIVE_TESTS android-arm) missing afl-llvm-rt (STATIC_LIBRARIES android-arm)"
Available variants:
afl-llvm-rt (STATIC_LIBRARIES linux-x86_64)
afl-llvm-rt (STATIC_LIBRARIES android-arm64)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
test/mlts/benchmark/jni/Android.mk: error: "libnnbenchmark_jni (SHARED_LIBRARIES android-arm) missing afl-llvm-rt.sdk (STATIC_LIBRARIES android-arm)"
Available variants:
afl-llvm-rt.sdk (STATIC_LIBRARIES android-arm64)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
test/vts/specification/Android.mk: error: "libvts_interfacespecification (SHARED_LIBRARIES android-arm) missing afl-llvm-rt (STATIC_LIBRARIES android-arm)"
Available variants:
afl-llvm-rt (STATIC_LIBRARIES linux-x86_64)
afl-llvm-rt (STATIC_LIBRARIES android-arm64)
You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.
build/make/core/main.mk:946: error: exiting from previous errors.
16:36:17 ckati failed with: exit status 1

and set the  ALLOW_MISSING_DEPENDENCIES=true，and then fuzzer it，alse show  still not detect a instrumentation.

@JoeyJiao


docs: Add CI section and links

Signed-off-by: Chris Evich<EMAIL_ADDRESS>

@TomSweeneyRedHat this is a very rough first-draft.  Please only look through your left eye, and a pair of sunglasses :smile:   Let me know if there's any general suggestions of content I should add/drop/change.

@cevich Any update on this?

@TomSweeneyRedHat @rhatdan sorry, maybe my fault.  I was waiting for some initial feedback here, I'm not sure if I should give more details or other details or maybe less?

LGTM
FWIW, I think you hit the mark on the more/less info.  If we find we need more based on feedback, we can add it in.  Nice addition and sorry for missing the initial PR ping.

/lgtm
/approve


Support Serverless Application Model (SAM) templates

CloudFormation supports Serverless Application Model (SAM) templates, but when we use a SAM template StackMaster returns the following error:
$ stack_master apply
...
...
No stack found
Create stack (y/n)?
Uploading files to S3:
...
Aws::CloudFormation::Errors::ValidationError CreateStack cannot be used with templates containing Transforms.

It'd be great if StackMaster supports SAM templates.

Blocker is #177.

Merging both #178 and #179 will support this feature.

I've released verison 0.16.0 which includes the above PRs

Great! I confirmed the version works fine with SAM. Thank you for your support!

Hi @skatsuta - Does StackMaster support the aws cloudformation package step as well for SAM templates?
I get the following error when I try to create a stack directly using stack_master apply:
Transform AWS::Serverless-2016-10-31 failed with: Invalid Serverless Application Specification document. Number of errors found: 1. Resource with id [GraphQL] is invalid. 'CodeUri' is not a valid S3 Uri of the form "s3://bucket/key" with optional versionId query parameter.

@tanyajajodia sorry for the late reply. No we don't currently support that step, it must be done before StackMaster is invoked.
I'd be happy to include such functionality in the future, at present we are just using plain old SAM, but it'd be nice to directly integrate it with StackMaster.


use coursier for dependency resolution

Problem
sbt is very slow to resolve dependencies
Solution
Use the coursier sbt plugin, which should make the dependency resolution faster.
Checklist

[x] Unit test all changes
[x] Update README.md if applicable
[x] Add [WIP] to the pull request title if it's work in progress
[x] Squash commits that aren't meaningful changes
[x] Run sbt scalariformFormat test:scalariformFormat to make sure that the source files are formatted

@getquill/maintainers

Added Quill to the list of projects using coursier https://github.com/alexarchambault/coursier/pull/384

thanks for adding it @mxl!

@fwbrasil How much faster it's now with coursier? I wonder if we should do the same thing in Finch.

@vkostyukov it's considerably faster! I don't remember exact numbers though.


Cannit deploy locally

Type of issue

[ x] Bug
[ ] New feature
[ ] Improvement

Description
When running the docker-compose up command, I get a failure when it gets to the reverse proxy with a b'Drive has not been shared' Am I missing a configuration somewhere?
Screenshot
$ docker-compose up
local_storageadapter_1 is up-to-date
local_auth_1 is up-to-date
local_telemetry_1 is up-to-date
local_devicesimulation_1 is up-to-date
local_iothubmanager_1 is up-to-date
local_config_1 is up-to-date
local_webui_1 is up-to-date
local_asamanager_1 is up-to-date
Creating local_reverseproxy_1 ... error
ERROR: for local_reverseproxy_1  Cannot create container for service reverseproxy: b'Drive has not been shared'
ERROR: for reverseproxy  Cannot create container for service reverseproxy: b'Drive has not been shared'
ERROR: Encountered errors while bringing up the project.
Steps to reproduce

[First step]
[Second step]
[and so on...]

Expected behavior
...
Current behavior
...
Known workarounds
...
Possible solution
...
Context and Environment

Operating System: ...
GitHub branch: ...
.NET Runtime: ...

Can you confirm if the drive is being shared or not? Have you tried unsharing and sharing again?

When I ran into this error, checking the drive of my local repo in Docker settings fixed this:


new API design based on upstream

https://github.com/mvdan/sh/issues/760#issuecomment-1120420888
cc @mvdan

https://github.com/mvdan/sh/pull/903


War ammo

Can i use ammo in the war example

That is something you'd have to set up yourself, but yes. You can edit the gun spells to require some item as a cost instead of using mana as ammo.


Support for IdP discovery protocol

We should support the SAML 2.0 «Identity Provider Discovery Service Protocol and Profile».
Specification: http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-idp-discovery.pdf

Basically the only way to recognise such requests is whether there's a entityID URL parameter present. This seems so a-specific that I think such discovery service protocol would flag too many requests as "SAML".
Since the SAML tracer already splits out the get parameters in the Parameters tab, you already have quite a decent overview of what happens in those requests, and I'm also not sure what additional processing SAML Tracer would do for discovery requests.

Closing this one;  I agree with Thijs. The IDP Disco request+response are shown in the tracer and to tag every request with an entityID URL-parameter is just too generic.


affected/package:

What version of Go are you using (go version)?
version go1.20.5 windows/amd64

$ go version

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env

What did you do?
failingString := "µs" // micro seconds
fmt.Fprintf(filehandle, "Micro Seconds should look like this: µs and this: %s", failingString)

What did you expect to see?
Micro Seconds should look like this: µs and this: µs
What did you see instead?
Micro Seconds should look like this: ┬╡s and this: ┬╡s

You need to configure your terminal to display UTF-8 characters.  Exactly how to do this will depend on what terminal you are using.
Closing because there is nothing we can change in Go to fix this.  For questions please use a forum; see https://go.dev/wiki/Questions.


fix: Make stack in buildpack pointer

fixes #421

@sneal Could you please look into this PR?

@sneal Could you please look into this?

Thanks!


asciidoctor misses some references at build time

asciidoctor: WARNING: commons/additional-components.adoc: line 12: include file not found: /Users/rudiger/projects/smarti/dist/src/main/resources/plugin-info.txt

asciidoctor: WARNING: commons/additional-components.adoc: line 12: include file not found: /Users/rudiger/projects/smarti/dist/src/main/resources/plugin-info.txt

asciidoctor: WARNING: could not embed image: /var/folders/c7/60xm0t3j4qgccc92mq9_wt0r0000gn/T/image-20171208-18767-9ji5v4.svg?branch=master; image file is an unrecognised format

asciidoctor: WARNING: could not embed image: /var/folders/c7/60xm0t3j4qgccc92mq9_wt0r0000gn/T/image-20171208-18767-9ji5v4.svg?branch=master; image file is an unrecognised format

is working anyway.


nice interface for administration #12

Coverage increased (+0.0%) to 94.66% when pulling 77a03257264a574db4782c95d4d3bec5c0aee2b3 on grappelli into 198fdb31f4f363e28d0947031a7683823590a912 on master.

Coverage increased (+0.0%) to 94.66% when pulling 67289c218b267c117a6800580eb724b726d45ece on grappelli into 198fdb31f4f363e28d0947031a7683823590a912 on master.


feat: add support for plane trips

howmuch.green/Paris+new+york
This PR adds a base and a first support for trips carbon emissions estimation.

How does it work?
From a query string like paris new york, sao polo san francisco, helsinki auckland it extracts the two most probable cities, using the levenshtein distance against the list of world cities with more than 10k people (from the npm package all-the-cities). Then it simply computes the distance between the two cities and apply a coefficient (currently 158g of CO2eq per km, but a lot of sources vary between 100g and 200g).
Actually it's surprisingly fast 🔥 .
Other changes
Because the list of the biggest world cities (with their location and countries) weights several MB, it wasn't wise to include it when the library is used in the browser. So the library has now two different bundles:

one for NodeJS, which depends on all-the-cities, which includes the file things.json and the logic to find things or trips (basically everything);
one for the browser, which includes only the domain part. This one is much smaller and allows to manipulate the objects received serialized from a backend.

I struggled doing it with rollup (also what is this doc they have 🤮), so I switched to Parcel. It wasn't that easy either, but I finally managed to do it.
Notes
I chose a typing that could evolve in the future: a Trip has just an origin/destination, and contains Transports, which for now has always one entry (flying) but that could be enriched tomorrow with a train/bike/car alternative, so people could see the different options in the website and compare them together.
Instead of presenting the general function howMuch() in the Readme, it presents two functions, so users can limit the search specifically to a thing or to a trip (because I think use-cases for howMuch() would be quit rare appart howmuch.green).
Also I'm not really sure about the code in the domain and fp-ts/io-ts part. I wonder if the whole thing couldn't be simplified, it feels like a lot of boilerplate to me sometimes 😬 . But that could be the point of other discussions and PRs, I'm happy I've been able to make it work from end to end 🙌 .
Of course, totally open to changes about anything.

usage-tests/cra & usage-tests/nodejs are broken. howMuch() does not exist anymore + I see the following error in CRA when I try to use the library. Not sure why.

usage-tests/nodejs seems to work, no? Don't forget to do a npm run dev in the library folder to build it, and a npm install in usage-tests/nodejs

Indeed there is an issue with CRA, I'm investigating 👀

Ah no alright, I get why CRA isn't working anymore: as explained in the description, the bundle for the browser now only includes the domain part, it doesn't include howMuch, searchTrips, searchThings (but as we can only have one types file, you think you can import howMuch whereas you can't).
The library destiny is to store more and more data, and get quit big, I really think it doesn't really make sense to use it in a browser context (expect the domain part). Should we remove the CRA example? Or update it to only use the domain objects? Not sure it's very useful…
And if we remove it, I'm not sure if the node example is very useful too, as it would be basically the README.

I disagree there :)
It's very weird to have types but not have the corresponding implementations. Can we investigate the solution where we split the data in a separate bundle and fail at runtime if data isn't there ?
Instead of removing the CRA & nodejs examples, I'd actually add those to the CI.
The things may not be very very big in the end if we properly compress data in the bundle. If someone wants to use this in an offline mobile app, they would not be able to. And I don't think it's difficult enough to do technically to be a good argument for us not to do it.
That said, I'm happy to try to spend some time on it on my side (at least to have tests in the CI for CRA & nodejs usages)

Can we investigate the solution where we split the data in a separate bundle and fail at runtime if data isn't there

That wouldn't change anything on the types, would it? 🤔
However I understand your arguments, I agree it's not ideal. I can check to have an explicit browser bundle and two types declarations. But I already spent quit some time just to make that work, it would be nice that this PR doesn't lend in one month 🥲

I don't think it's difficult enough to do technically to be a good argument for us not to do it

On my side I think it's a very good argument to at least report that. Given that we don't have a lot of time to give to this project, prioritization is then very important. We must have a "lean approach" where we prioritize things with the most impact and yes, take into account the ratio time/benefit. Also, it's not because today we don't do or support something that it'll be like that forever ;) .
So in conclusion, I'm ok to spend some time again to dig into the types generation as I don't like either the current situation (but if too long/complex, I'd advise we start like that, at least to have the feature merged and available, and we can always improve after), but I won't spend some time right now to make the library fully work in the browser, as the benefit/use-case in the short term is very very low to me, and also because howmuch.green isn't an offline app and it's completely out of question that we load 10 MB of data: we'll have to have two bundles anyway (or we just drop the library in the front and directly read the JSON returned by the API, but it'd be shame).

Ok, so I pushed a new commit that computes the types for the second bundle 🙌 .
In NodeJS, you can import { howMuch, Trip, Thing } from '@howmuchgreen/howmuchcarbon';, nothing changes.
But in the browser, you need to import from @howmuchgreen/howmuchcarbon/domain and then you have a type error if you try to import howMuch for example:

I also pushed a new commit on the website PR.
On my side I'm happy with this solution. I think we could delay to later to idea of having the whole node bundle also work in the browser? Of course if you find an easy solution soon, no problem, but on my side I don't want to spend time now on this use-case (as I really don't see the benefits in the short term), and I'd like to have this PR merged not too far in the future 🤞.

I feel that this is going to be a debate we're going to have again :)
Other libraries have similar issues :

date libraries with locales. date-fns is tree-shakable and this is how users import locales:
import { formatDistance } from 'date-fns'
// Require Esperanto locale
import { eo } from 'date-fns/locale'

const result = formatDistance(
new Date(2016, 7, 1),
new Date(2015, 0, 1),
{locale: eo} // Pass the locale as an option
)
//=> 'pli ol 1 jaro'

We could imagine doing something like this for us:
import { howMuch } from '@howmuchgreen/howmuchcarbon'
import { things } from '@howmuchgreen/things/all'
import { trips } from '@howmuchgreen/trips/biggest-cities-1000'

console.log(new HowMuch({things, trips}).howMuch("paris berlin"))
console.log(new HowMuch({things, trips}).searchThings("ipad"))

import { howMuch } from '@howmuchgreen/howmuchcarbon'
import allData from '@howmuchgreen/howmuchcarbon/all-data'

console.log(new HowMuch(allData).howMuch("lion-sur-mer paris"))


Bug:dark主题，gitalk输入框的文字也会变成白色，导致无法看清输入内容。

gitalk输入字体的颜色为rgba(255,255,255,0.7)，输入框背景色为#fbfbfb，导致无法看清输入内容。

@kitian616 When I used the Google custom search engine under the dark theme, I faced the same problem. I could see the keywords that I typed.
By the way, I used the custom search engine to search some words in my blog but I didn't succeed, do I need to wait for a few days until Google has recorded my GitHub pages? Now I have switched back the default search engine. Thanks.

这个问题貌似没有完全解决，dark主题下gitalk评论的标题仍然是白色文字，如下图所示

选中之后可以看到文字是存在的


DEV:LOG: Channel.to311 MUST be used for conversion from DoT (2.0-ish) to 1311 client

We have discussed this at least 5 times now.
Please, if you do NOT understand, let me code it.
DoT speaks 2.0-ish. To return a DoT response to a v<IP_ADDRESS> Client, you MUST use the conversion routines provided in Channel.java. Specifically, you must use "to1311".
DO YOU UNDERSTAND???

Sukhe asked that I take this over for him. I will make the changes and apply it to the code for response.

Related issues
#454 #486 #460


Additional troubleshooting if a physical apple watch does not show up in the device list.

In trying to debug an Apple Watch app on a physical apple watch device, I ran into a snag. In the past I had accidentally told my watch to not trust my work computer, and had semi-forgotten about that as I did not need the watch to trust the computer up until this point. The iPhone was set to trust the computer, it was just the watch that did not trust the computer. This prevented the apple watch device from being shown in the device list in Visual Studio 2017 for Windows or Visual Studio for Mac. There was no good error message shown for this even when testing with XCode and a simple swift apple watch app. XCode just told me that the watch was not paired, which it was. See this issue for details: https://github.com/xamarin/xamarin-macios/issues/4345
Eventually the macOS Console.app gave me better info that the watch was not set to trust this computer. To fix this I reset the location and privacy settings on my iPhone (Settings > General > Reset > Reset Location and Privacy) and unpaired and re-paired my apple watch to my iPhone, then connect the iPhone to my computer to get the "trust this computer" prompt on my iPhone and my Apple watch again, making sure to trust the computer this time.
I perhaps found a simpler way to cause the "trust this computer" dialog to show on the iPhone and the Watch again, but have not tested this. In  Settings > Developer I discovered a button to "Clear trusted computers" so hopefully that is an easier way to get the "trust this computer" dialog to show up again allowing one to change their answer. A quick test seems to indicate that this only clears the trusted computers for the iPhone though, not the paired apple watch, so I think you will still have to unpair and re-pair the watch after doing the above, just as I had to after using the "Reset Location and Privacy" button on the iPhone.
Once the watch trusted the computer, the Apple Watch showed up in the device list when the watch app was selected as the startup project AND the iPhone was plugged in via USB. One of the Xamarin iOS Engineers also said that the Watch should be connected to the charger when debugging to the watch, but I did not find that tp be necessary on my end.
It is also important to make sure that "Enable Debugging" is set on the watch app project in the Project Options/Properties -> watchOS Debug settings page for the Debug | iPhone configuration if you want to debug the watch app on the watch. This does not seem to be set by default.
In addition to adding the above to the troubleshooting section, albeit in a more concise way, I might suggest that the "Testing on a Watch device" section be modified to allow for debugging to a watch device. Right now it says to select the iOS app as the startup project and manually launch the watch app once it is installed. This does not allow debugging of the watch app, instead I suggest it says to select the watch app as the startup project and select the physical watch in the device list.e.g.:
Testing on a Watch device
Once you have configured your Device, App IDs, and Provisioning Profiles, you are ready to test.

Make sure your iPhone is plugged in, and the Watch is already paired with the iPhone.
Ensure the configuration is set to Debug or Debug | iPhone (if available) or Release (if you do not want to debug)
Right-click on the watch project and choose Set As Startup Project.
Ensure the connected Watch device is selected in the target list.
Click the Run button (or choose a Start option from the Run menu).
6, The solution will build and the iOS app will be deployed to the iPhone and the watch app will be deployed to the watch (this can be very slow). If the iOS app or watch extension provisioning is not set correctly then deployment to the iPhone will fail.
You need to keep the watch awake until the watch app starts.
If deployment completes successfully, your app icon will appear on the watch screen with a circular installing progress indicator.
If the watch app is successfully installed, the watch app should launch and you can start debugging (if Debug configuration was selected).

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

ID: d68ed473-c5c3-26db-af97-858acb914542
Version Independent ID: ed3a816c-77f3-4aad-b393-7d8186b9d7eb
Content: Testing on Apple Watch Devices - Xamarin
Content Source: docs/ios/watchos/deploy-test/device.md
Product: xamarin
GitHub Login: @bradumbaugh
Microsoft Alias: brumbaug

Thanks for the detailed explanation and ideas, @jgold6 – agree we should update this content. I've captured an item on our internal backlog to take a look at updating this content to discuss debugging on physical Apple Watch devices (and the associated troubleshooting information to make sure they appear in the device list). Thanks again.


Should highlight on static navbar have rounded corners?

It doesn't look right to me.

And you don't explain the static navbar on the new add-on demo page?

This will be fixed in next version. you are right, it does look odd. But this bug belongs to: https://github.com/mubaidr/bulma-addons

Follow here, please: https://github.com/mubaidr/bulma-addons/issues/1


Documentation website broken

I was looking to potentially use Swift-inotify for a project. However, the Github pages website is not working.
sersoft-gmbh.github.io/swift-inotify/
Is there an alternative website I can use to find the documentation?

Huh, seems like Swift DocC's internal links have changed. The docs for v0.7.2 can be found at https://sersoft-gmbh.github.io/swift-inotify/0.7.2/documentation/inotify.


Sync the new combining accents added in PR #2218

PR #2218 added three combining accents' Unicode but did not add them to the table of accent shorthands (the table is picked up by the doc generator and published to the official website). In fact, users can indeed use them:
$ harpoon(A), harpoon.lt(A), arrow.l.r(A) $

The first is used to denote vectors (though less frequent than $ arrow(A) $ ). The third is used in some (old-fashioned?) math or physics literature on tensors.

The error will be fixed when the codebase is synced past PR #3070.

Hey, sorry for the test failure! You can rebase on main now to fix it.

Thanks!


sedport now 'ok'

a good number of tests now passing
@IgorTodorovskiIBM please add this to the jenkins CI/CD process (and accept your invitation)

NOTE: other pull requests for wget et al. have to be successful before this one can be processed.


Fix for Kineticist Kinetic Blade sheath action

Kinetic Blade shouldn't consume a move action, when disabling it (unsheathing).

I didn't figure out why this doesn't work. There is even logic to make it that kinetic blades don't consume actions. Otherwise equipping the blade would be an issue. I guess unequipping is actually more like equipping fists, so it doesn't apply then.

Mh... thinking about it again, it's probably that.
UnitViewHandsEquipment.AnimateEquipmentChangeInCombat isKineticBlade


Advertising time interval

Im not sure what kind issue it is, maybe bluetooth or maybe clock. I have 2 devKitC boards and i uploaded the same arduino app on both. This is result, one device advertising interval is short and other one is over 1200 ms. I have this issue for very long time now, but i never tried to compare on 2 esp32 boards. One more important info: after reseting "bad" board advertising intervals are short on both. Tested on 3 android smartphones with different android and result is the same on all.

Can you point to the exact app that you are using? The struct esp_ble_adv_params_t has two variables called adv_int_min and adv_int_max. Maybe it's something to do with those values?

Maybe, but why it sometimes good and sometimes has 1200+ ms intervals?
min_interval        = 0x20;
max_interval        = 0x40;

Can you reliably reproduce the issue?
Please share details (code or snippet) about your setup so that it's possible to reproduce the issue

Different server applications based on Neil Kolban's library, arduino and esp-idf applications. Like i said, sometimes its enough to reset esp32 to get expected advertising interval time and sometimes its 1200+ ms. I cant say what part is responsible, bluedroid, clock, or BLE stack. Its something i can reproduce, so i decided to report, when i have more info i will post here.

Faced the same problem. After trying to change the interval, I constantly get an interval of 1280 milliseconds.

Its not the only issue topic about it, but devs are telling its all ok and my test procedure is wrong.

@ArTyGill https://github.com/espressif/esp-idf/issues/2185

The problem was solved with the help of flashing the old bootloader, I do not know what the problem is. I use Arduino (VStudio).

Hi @Weijian-Espressif, i dont want to open new issue because it is related to advertising time interval.
I dont know if this is nRF connect issue or esp32 (most likely its nRF connect), but advertising time interval is not properly mapped. What i mean is this advertising opcode:
https://github.com/espressif/esp-idf/blob/892fc4ac3f04fb300c7ac5855b51af940c3e3e65/components/bt/bluedroid/api/include/api/esp_gap_ble_api.h#L187
When i setup esp32 for example with values:

min interval 0x80
max interval 0x80
i should have get 80 ms interval. The problem is nRF connect is displaying 160ms. The good new is there is no longer 1200+ advertising with master esp-idf and new nRF connect update (4th september).

@Weijian-Espressif Hi, i think i found issue or at least some useful log that can be related to this issue. It seems i have advertising interval 1200+ when this log occurs:
E (1490) BT_HCI: hci write adv params error 0x30
I dont know yet what is causing it and i dont know what error 0x30 means but maybe you guys can help me with it.

@Weijian-Espressif It seems that even with proper adv interval min and max values, when other advertising parameter is wrong and this error occurs E (2654) BT_HCI: hci write adv params error 0x30 advertising time is 1200+ ms like on the screenshot from OP. This time i am trying to set adv_type to any value different than BLE_ADDR_TYPE_PUBLIC.
Advertising intervals:
D (2561) BT_HCI: p_data[13] = 5
D (2564) BT_HCI: p_data[14] = 12
D (2568) BT_HCI: p_data[15] = 20
D (2571) BT_HCI: p_data[16] = 0
D (2574) BT_HCI: p_data[17] = 40
D (2578) BT_HCI: p_data[18] = 0

Something else has changed in the bootloader, since the firmware of the old bootloader helps to fix this problem.

@chegewara

When its called in correct order then we have correct advertising packet:

Could you elaborate on what is the correct order ? What did you have before and after ? My order is the following : BLEDevice.init, BLEDevice.createServer, BLEServer.setCallbacks, BLEServer.createService, BLEService.start and finally BLEServer.startAdvertising. Does something looks wrong ?

Could you elaborate on what is the correct order ? What did you have before and after ? My order is the following : BLEDevice.init, BLEDevice.createServer, BLEServer.setCallbacks, BLEServer.createService, BLEService.start and finally BLEServer.startAdvertising. Does something looks wrong ?

It looks good. Try to add this one line after init:
		BLEDevice::init;
		BLEAdvertising* pAdvertising = BLEDevice::getAdvertising();

I'm not quite sure it will change anything :
BLEAdvertising* BLEServer::getAdvertising() {
	return &m_bleAdvertising;
}

And :
void BLEServer::startAdvertising() {
	ESP_LOGD(LOG_TAG, ">> startAdvertising");
	m_bleAdvertising.start();
	ESP_LOGD(LOG_TAG, "<< startAdvertising");
} // startAdvertising

So actually, get advertising doesn't do much, so that seems a bit odd that calling it early fixes anything.

I understand that, but it works to me. When i call BLEAdvertising* pAdvertising = BLEDevice::getAdvertising(); after server->start() im having intervals 1200+, when i move that line right after init im having correct intervals.

@LaurentLouf I found bug in BLE library and i am fixing it. All function in this sequence needs to be separate with semaphore, because sometimes are called too earlier before previous has been processed.

Thanks for investigating ! Do you think you will be able to send a PR soon ?

I am working on so many additions, changes and bugfixes so i cant promise. First i am pushing all to my own repo and when will be tested and confirmed that all works i will prepare PR. I can think about preparing some PR with only bug fixes, but again i cant promise anything.
https://github.com/chegewara/esp32-snippets-enchancements-test/tree/multi_connect_test

@Weijian-Espressif I am having weird bt stack behavior. When i dont follow procedure and try to call all advertising functions one after another without waiting for events (it was bug in library), then sometimes i am having problems with time interval 1200+ described in this issue, sometimes there is no issue. But i am having also side effect, i dont have to stop advertising to connect peer device and start advertising again to have multi connect server app.
When i fix that bug and i follow procedure with events, then i dont have problems with advertising interval anymore (which is good) but when i connect peer device without stopping advertising my esp32 is no longer discoverable.
So i have question, do i have to follow similar procedure like with scan. Which is start advertise->stop->connect->start advertising or is it bug? i like option when i dont have to stop advertising but i can live with requirements that i have to stop it.


Old license in dataTables.tableTools.css, GPL v2 / 3 point BSD instead of MIT

It looks license in this file boilerplate was not updated during license switch.

Doh - thanks. I don't normally include such boiler plate in the CSS files and completely forgot about it there.


Block Element Modifier - Element Modifier

I was wondering what would happen in the following instance. I couldn't seem to find an example anywhere. Also I've noticed the last two issues haven't been answered in over a month, is this still active?

.intro__span { display: block; }
.intro__span--title { font-size: 1.1em; }

Now the intro__span--title doesn't take on intro__span so do you have to do

Wouldn't you go like this?

Makes it simpler?  Furthermore your example confuses me. Why would you name the elements __span  since they are already spans? I think i'd be cool with the following:


skip using the --headers flag when no headers are specified

Hey, first of all, thanks for working on this plugin! I have tried other lint plugins, but I like this one because its simple works great for remote sessions with containers as well.
I am trying to use this plugin for setting up a development environment for ROS. I am trying to use a custom cpplint executable which supports checking lint best practices for things specific to ROS code as well. This is the executable that is used by other tools we use for ROS development as well. https://github.com/ros/roslint/blob/0.11.2/src/roslint/cpplint.py#L62
Unfortunately, this executable does not support specifying the --headers flag, so when running lint through this plugin the command fails.
I don't think this breaks any backwards compatibility and the default argument still works as expected. Let me know if the change makes sense, or if there is another simpler way to skip using the --headers flag.
Thanks!

今天我会提交一个版本修复这个问题

Today I'll submit a version to fix this problem

Please try update to v1.3.5 then set --headers empty

Please try update to v1.3.5 then set --headers empty

Tried 1.3.5, and its working as expected. Thanks for the quick turn-around!


Remove line-height from body

The line-height property with a value of 1.5 is a good default value, but maybe something opiniated that could be removed, because it will certainly be adjusted according to the design needs.
Another reason is that WordPress (and maybe other tools) allows us to generate some styles from a json file. As these base styles are declared before any other stylesheet, we can't use the generated value for line-height because it will be loaded too early and overloaded.
Would you accept a PR to remove that property?

I think the line-height of at least 1.5 is designed to meet accessibility standards, especially in the context of blocks of text where the font-size is fairly small. Sure, it's opinionated, but at the same time, it's something that designers really aught to embrace, especially at small font-sizes.
Obviously, line-height: 1.5 isn't going to work for headings, which is why some people are suggesting using line-height: calc(1em + .5rem). This setting satisfies the need for readable text at smaller font-sizes, but also produces tighter leading on headings.


Plotting

Once we have text (#20) we can think about supporting plot-like visualizations. Some things that we'd need:

Logic to determine the ticks.
Grids (infinite, showing lines and sublines at predefined intervals).
Colorbars.
Labels, titles, legend.
A layout engine.

More meta, where do we implement this all?

In pygfx itself?
In something like pygfx.plot?
We don't. We provide the lower level primitives, and a higher level plotting lib would implement it.

Somewhat related to #178.

We're on it actually. I like the idea of separating the lower level primitives from the higher level plotting API. But this requires some work on how to properly define the high level API such that it can benefits from the lower level primitives.

I'm wondering which low level primitives you were thinking of? In fastplotlib I recently took advantage of how buffer data, such as Geometry vertex color data, can be modified and then update_range() can be used to mark only those changes. For the user it's just slicing.
For example, with a line:

# slicing to change colors
cosine_graphic.colors[:15] = "magenta"
cosine_graphic.colors[70:] = "blue"
cosine_graphic.colors[60] = "w"
cosine_graphic.colors[25:55:3] = "cyan"
cosine_graphic.colors[75:90, 0] = np.linspace(0, 1, 15)

Events handlers can also be added to them:
cosine_graphic.colors.add_event_handler(print)

It's really nice that pygfx makes this possible :D