Update comment form action URL

See: https://github.com/timber/timber/pull/1596

Awesome, let's do it!


Opendata: Automate Push - Second Batch

May Open Data (Automate and Distribute)

[x] POPS (Sasha)
[x] ZTL (Damon)
[ ] Zoning - NYC Georeferenced Zoning Maps
[ ] Zoning - NYC GIS Zoning Features
[x] Finish LION Automations (5 total)

Push XLSX attachments
File-Only Datasets, e.g. PAD

Other (Just Automate, don't distribute)

[ ] Housing DB (Finn - 8 total)

👆 This would get us to approx 80% done, meeting our quarterly goal.

I'll take housing!

@sf-dcp Do you want to take POPs? Looking at it, and it's fairly straightforward.

I'll do ZTL

I'll take housing!
@alexrichey housing actually seems up-to-date in bytes, I might wait until we get 24Q2 built to actually package and get things pushed. But metadata files at least have been made

@fvankrieken Gotcha. Are the metadata files checked in somewhere?

ZTL 202405 action run here and Open Data page is updated
updated the excel sheet to show ZTL is up-to-date on Open Data

I also published POPs to Open Data and updated the excel spreadsheet. @alexrichey, could you please double check if the sheet edits look good?

@sf-dcp yep! looks good. There's one more POPs dataset that we need to push manually, which we can do on Monday

Closing out. There's one hiccup: NYC GIS Zoning Features: shapefile needs to be updated by some script that OTI has, which goes layer-by-layer. @croswell81 is going to request that they update that in the meantime. (til we automate the 6 datasets in the product)


Simplify bundle luma exports

Change List

Remove classes that are not needed by custom layers
Remove utility functions dropped in luma.gl v8
Remove shader modules that are re-exported by deck

Coverage decreased (-2.6%) to 80.868% when pulling 5d91b78e6380f37fd0d233f74491c85aa8bbb03f on x/bundle-deps into 5a92569c3c676489630edb832dca96c74597d3b6 on master.

@Pessimistress just gonna merge this so I can do the fixes for the new alpha without conflicts.


Change Java and SBT setup method for Actions

Codecov Report

Merging #63 (1f7f2ed) into main (cdce73e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #63   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         5
  Lines          316       316
  Branches         6         6
=========================================
  Hits           316       316

Help us with your feedback. Take ten seconds to tell us how you rate us.


Only save Process keys that are atoms starting with $

Fixes #350

Looks great! Can we add a line like https://github.com/mtrudel/bandit/blob/main/test/bandit/http1/request_test.exs#L252 that adds a tuple term to the dictionary

Updated, but I have to head out for a bit. If you need to take over or redo, please feel free

1.5.2 coming momentarily


WIP: First pass at a tutorial

Description
This patch gets as far as running a single-endpoint server and a test, in Docker, using docker-compose and an introduction to the predefined make tasks.
Context
Rather than have example code in the repository which is less representative than we want, and which requires following a pattern we might not want people to use, we can move those examples into a tutorial that walks people through the functionality and gives us a chance to explain the motivation behind some of the choices while clarifying which parts are framework and how the user is intended to interact with it.
Type of changes

[ ] Refactoring (non-breaking change)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Bug fix (non-breaking change which fixes an issue)

Checklist

[x] I am familiar with the contributing guidelines
[x] I have followed the code style of the project
[x] I have added tests to cover my changes
[x] I have updated the documentation accordingly
[ ] This PR is a result of pair or mob programming

Sensitive Information Declaration
To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

[x] I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

Closing this on the basis that it's since been rewritten.


Piping the response to a end file: get response status

How can I get response status if response is piped to file stream?
See code:
var client = supertest(...);
...
// Create writable stream
var writeStream = temp.createWriteStream();
temp.track();

// Superagent request
var req = client.get('/...');

req.on('end', function() {
    // Here we can read file content
    // It can contain actual file content
    // Or JSON string representing error
    // For example {'code': 'F-0001' , 'message': 'File not found'}
    // We should parse this if response code != 200
    // How can we get it here?
    ...
});

// Piping the response to a file
req.pipe(writeStream);

Should work as demonstrated in this test case (on node): https://github.com/visionmedia/superagent/blob/master/test/node/pipe.js#L25

Hi, I've something similar in my code and the 'response' event is not working.

I've tried this and the 'response' callback do not work with get requests.
I'm not sure if this is the 'proper way' to do this, but if you really need it, you can access the response status code in the 'end' callback doing
this.res.statusCode;

This breaks encapsulation, so be aware that it might change in future superagent versions.


links

Hi
Maybe you can put a link to the themes website here ?
https://docs.jabref.org/advanced/custom-themes
And maybe the forum can have a custom theme/exporter section for questions and for sharing the theme website?
Because I think otherwise people won't even find the theme website because it's not linked to (except in my forum post which will sink to the bottom because I don't like to talk in public so much)

Hi, I added a link to the docs page now!
https://docs.jabref.org/advanced/custom-themes

I don't have the rights to create a new section in the forum, but will discuss with the other devs

OK!
I think this will definitely let people discover the themes.

Can be closed!


cannot create a /server route

Reproduction

create a route like _nav.server.jsx in the routes folder where _nav has an <Outlet /> in it.
write some content on _nav.server.jsx.
visit /server route in the browser

System Info
System:
    OS: macOS 12.6.8
    CPU: (8) x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
    Memory: 214.13 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.18.2 - ~/.nvm/versions/node/v18.18.2/bin/node
    Yarn: 1.22.21 - /usr/local/bin/yarn
    npm: 9.8.1 - ~/.nvm/versions/node/v18.18.2/bin/npm
  Browsers:
    Chrome: 121.0.6167.184
    Safari: 16.6
  npmPackages:
    @remix-run/css-bundle: ^2.6.0 => 2.6.0
    @remix-run/dev: ^2.6.0 => 2.6.0
    @remix-run/express: ^2.6.0 => 2.6.0
    @remix-run/node: ^2.6.0 => 2.6.0
    @remix-run/react: ^2.6.0 => 2.6.0

Used Package Manager
npm
Expected Behavior
i created a route like _nav.server.jsx where _nav has an <Outlet /> in it. when i visited /server route in the browser it should properly render the content written in _nav.server.jsx
Actual Behavior
instead it shows a blank screen and logging a warning to the console that says: Matched leaf route at location "/server" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.. i renamed _nav.server.jsx to _nav.users.jsx and visited /users in the browser and the content displayed properly.
from remix.run doc https://remix.run/docs/en/main/discussion/server-vs-client#forcing-code-out-of-the-browser-or-server-builds i think remix is treating any file that ends with .server.js or .server.jsx as a server only code
how can i have a route with /server

Does escaping the URL to avoid Remix's *server.jsx convention help such as _nav.[server].jsx?


add support for named enum fields

@nimily just added a test for this and it doesnt work. we tried our best to find the culprit but it goes pretty deep, could you give us a hand?

@nimily just added a test for this and it doesn't work. we tried our best to find the culprit but it goes pretty deep, could you give us a hand?

Fixed. Also, there was a bug in podite that I had to fix. As I currently don't have access to JumpCrypto's repo, please remove+install it from my personal repo.

Tyvm <3 <3 <3


Investigate whether explicit signedness of integers is actually needed

The msgpack API that this prototype is currently using smartly converts integers to the smallest possible representation. The msgpack-rpc specification however states that elements of the messages that are send should have a specific type. However, neovim seems to handle the minimized types quite well.
Can the submodule be removed and the changes for the specific integer size be reversed without introducing bugs?

It is not, otherwise the test cases would not work.


Danger index does not check visibility

Hi @jeefo When I looked at the zm_dust2_city map, I saw that the hazard index on nodes close to the wall was not getting a visibility check. instead of taking it to the visible node, it updates to the invisible side, even if the problem was solved before (https://github.com/yapb/yapb/pull/439/commits/57bb0ac822fe1c5f6a5d511fd8069facf9adfe4d), this problem continues. I hope the problem will be solved soon. thanks in advance

hello, real walls? or wall corners or func_wall, brekables and doors?


string comparison is case insensitive

Fixes #5023

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

Since the operators are not only for comparing strings, I would word it as "String comparisons are case-insensitive"

@MrTrillian Going to accept the wording as is here, as the context is discussing strings.


[BugFix] Clear bucketColumns if not all OlapScanNode use it  (#22483)

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

This is cherry-picked from #22483.
Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[x] 2.5
[x] 2.4
[x] 2.3

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5

@Mergifyio backport branch-2.4

@Mergifyio backport branch-2.3


feat(compiler/database/scm)!: add event action build field and use for rulesets

Part of the effort of https://github.com/go-vela/community/issues/159
PR accomplishes the following:

Set event action field in scm/github/webhook.go if the event is pull_request or comment. Otherwise, this field remains nil.
Use the event action field, if not nil, to create a scoped <event>:<action> combination to utilize for determining whether or not a step should execute. There will be a separate PR to address this at runtime in the worker code.
Adds the event_action field to the ddl

conflicts :(


[Feature Request]: Protect namePrefix value to further mitigate pipeline failures due to existing globally unique names

Description
Context
Managing the namePrefix token through the settings.json mitigated the risk of losing ownership on the globally unique resource names such as keyvaults.
It turns out that it is not enough since those names keep on being used by others, most likely carml users who forget to change the namePrefix value before running the pipelines. That is causing related pipelines to fail in the CARML testing environment due to resource names being already taken.
We currently need to change those names and further regenerate readmes containing 1:1 module samples to solve corresponding pipelines failures.
This is expected to get worse with the increase of the CARML usage and with the introduction of the new dependencies approach, since also dependencies will be removed and the number of failing pipelines is likely to increase.
Suggestion

Create a new GH secret/ADO variable to host the namePrefix
Keep the possibility to manage the token via the settings.json
Implement a logic to give priority to the settings.json token if set, default to the secret otherwise
In CARML comment out the namePrefix token in the settings.json and remove our value for the CI environment to leverage the env variable.
Update the test module locally scripts accordingly
Update documentation

cc: @ahmadabdalla, @MrMCake

I approve this message.

Happy to support with this feature 😃

@eriqua @MrMCake Thinking about this

If we default to the file unless a GitHub Secret namePrefix exists, we do not have to comment out the settings and rely on the secret instead.

Options
Option 1
Add the namePrefix token as a GitHub secret to be available as an environment variable. Add it on each workflow, and modify the actions to create an exception for the namePrefix token to be processed differently when the local tokens are being searched like the below:
if(($token.name -eq 'namePrefix') -and '${{ env.NAMEPREFIX }}'){
   $token.value = '${{ env.NAMEPREFIX }}'
}

quickest option but is not scalable as we have to do a similar thing for other use cases (if they ever come up, so maybe if they do we develop option2?)

Option 2
Add the namePrefix token as a GitHub secret to be available as an environment variable. Migrate tokens and config to the global variables YAML, if it gets provided in the YAML, then it supersedes the one coming in from the GitHub Secret. This uses the existing setEnvironmentVariables

A lot more work involved, and needs proper testing as well

CC: @MariusStorhaug

@MariusStorhaug @eriqua @MrMCake need your inputs please on the proposal/options above.

I vote option 2, with the added value of achieving what originally intended in the issue (#953) regarding simplifying settings and variables.

@MrMCake @eriqua @MariusStorhaug
Just some updates. The following PoC works from a 'pipeline' perspective:

Removed the validateModuleDeployment dependency on the settings.json and embedded its content into the globalvariables.yml.
Supported the namePrefix token to be prioritized from a GitHub secret IF provided, otherwise will default to the local one.

Some complications:

Our global tests Pester depends on the settings.json to perform the tokens parameter file tests (i.e. if someone didn't replace a token in their parameter file these tests detect it). Replacing this mechanism needs more work as we need to rely on the convert YAML to object script to perform a similar function, or need to think of a better way to achieve this.
Our test module locally wrapper also depends on the settings.json. Similar to the above.

I'm keen to demo the PoC soon and get some feedback.

I left my update on the matter in the other issue that Ahmad has (#1363):
https://github.com/Azure/ResourceModules/issues/1363#issuecomment-1166508084


[Feature request] Add a link to unversal podcast (pod.link)

Would be great to have the link to the episode resolved on pod.link if the podcast is present there
https://pod.link/
(universal link to different streaming services), I have a shortcut that is doing this for link from my podcast app
I might elaborate more and provide more details and examples if this might be useful idea
(Motivation: often  I want to share a link to a podcast  episode to my friends without googling)

Hey @danieltomasz,
Thanks for the suggestion!
I'd be able to do this for the podcast itself, but don't think I can for episodes.
It looks like pod.link uses iTunes IDs to link to podcasts, but I have no idea what they use to search for episodes.
So e.g. linking like this https://pod.link/1430315931 would be feasible, but not to any episode directly.
I can imagine, since they are part of a larger podcast insights company, that they have some internal APIs / can bear the cost of external ones. Not sure though.
Some analysis from me:
Here's the pod.link URL for The Daily Stoic's episode, What Will This Cause? | Ask Daily Stoic: https://pod.link/1430315931/episode/f2e120acf5c598551bfc1228a84ef44f
Now,<PHONE_NUMBER> is the iTunes collection ID for The Daily Stoic podcast.
f2e120acf5c598551bfc1228a84ef44f seems to be some kind of episode ID.
The plugin already searches for podcasts, so getting their IDs is trivial.
iTunes also allows searching for episodes. Here's the link for searching for the aforementioned episode: https://itunes.apple.com/lookup?id=1430315931&media=podcast&entity=podcastEpisode&term=What Will This Cause? | Ask Daily Stoic.
id is the collection ID for The Daily Stoic again. We're searching for media = podcast and entities of type podcastEpisode (undocumented in iTunes API), and for the term. This, at the time of writing, returns 51 results. Selecting the proper episode from those gives us this result:
{
      "artworkUrl60": "https://is2-ssl.mzstatic.com/image/thumb/Podcasts126/v4/b5/cb/58/b5cb5840-8ae3-17bc-f842-82caabdd71a0/mza_18392220335995768370.jpeg/60x60bb.jpg",
      "contentAdvisoryRating": "Clean",
      "trackViewUrl": "https://podcasts.apple.com/us/podcast/what-will-this-cause-ask-daily-stoic/id1430315931?i=1000598781354&uo=4",
      "collectionViewUrl": "https://itunes.apple.com/us/podcast/the-daily-stoic/id1430315931?mt=2&uo=4",
      "genres": [
        {
          "name": "Education",
          "id": "1304"
        }
      ],
      "episodeGuid": "gid://art19-episode-locator/V0/MF6ciLgUiO2jyrjxa76aXnOI4ey_d81a7YINg7tQnJQ",
      "description": "When horrible things happen to us, our instinct is always to ask why me? Why this? Why now? It’s understandable, but it’s also irrelevant and unhelpful, because those questions have no answer. At least no answer that you can do anything about or take any comfort from. Besides, life has a better question. One it is constantly asking us, one that Michael Lewis to his credit has fully embraced: what will this cause? Will it put us out of commission or give us a new mission? Will it cause good things or bad things?\n\nAnd in today's Ask Daily Stoic, Ryan answers questions as part of a Stoicism virtual discussion. Topics include the best ways to teach Stoic wisdom to kids and why a formal education doesn't necessarily equate to practical intelligence. \n\n✉  Sign up for the Daily Stoic email: https://dailystoic.com/dailyemail\n\n🏛 Check out the Daily Stoic Store for Stoic inspired products, signed books, and more.\n\n📱 Follow us: Instagram, Twitter, YouTube, TikTok, Facebook\n\nSee Privacy Policy at https://art19.com/privacy and California Privacy Notice at https://art19.com/privacy#do-not-sell-my-info.",
      "releaseDate": "2023-02-09T06:00:00Z",
      "trackTimeMillis": 528000,
      "artistIds": [],
      "shortDescription": "",
      "trackId":<PHONE_NUMBER>354,
      "trackName": "What Will This Cause? | Ask Daily Stoic",
      "feedUrl": "https://rss.art19.com/the-daily-stoic",
      "previewUrl": "https://dts.podtrac.com/redirect.mp3/chtbl.com/track/9EE2G/pdst.fm/e/rss.art19.com/episodes/f5f81af4-7d86-43f1-b6ef-ec4b342a00b7.mp3?rss_browser=BAhJIglpVE1TBjoGRVQ%3D--4577cbcc3cc5282be318e551563630a2c5c2f06f",
      "closedCaptioning": "none",
      "collectionId":<PHONE_NUMBER>,
      "collectionName": "The Daily Stoic",
      "country": "USA",
      "episodeUrl": "https://dts.podtrac.com/redirect.mp3/chtbl.com/track/9EE2G/pdst.fm/e/rss.art19.com/episodes/f5f81af4-7d86-43f1-b6ef-ec4b342a00b7.mp3?rss_browser=BAhJIglpVE1TBjoGRVQ%3D--4577cbcc3cc5282be318e551563630a2c5c2f06f",
      "artworkUrl600": "https://is2-ssl.mzstatic.com/image/thumb/Podcasts126/v4/b5/cb/58/b5cb5840-8ae3-17bc-f842-82caabdd71a0/mza_18392220335995768370.jpeg/600x600bb.jpg",
      "artworkUrl160": "https://is2-ssl.mzstatic.com/image/thumb/Podcasts126/v4/b5/cb/58/b5cb5840-8ae3-17bc-f842-82caabdd71a0/mza_18392220335995768370.jpeg/160x160bb.jpg",
      "episodeFileExtension": "mp3",
      "episodeContentType": "audio",
      "kind": "podcast-episode",
      "wrapperType": "podcastEpisode"
    },

Now, unfortunately, the pod.link episode ID does not seem to appear anywhere here. That doesn't seem to correspond with the trackId either, which one would have expected.
It doesn't appear in the RSS feed either.
Further analysis of the pod.link site leads me to believe it is server-side-rendered with caching, as it already has all the data it needs. Shown in <script> where it loads it into window.__STATE__ as an object. And that's only the most recent episodes.
UPDATE: figured it out. https://pod.link/1430315931.json returns the items we need.
Coming in latest release :)

The solution is kinda hacky, though. So it may break. But for now, we can enjoy it!


Adding to breaking changes

Hi,
I mentioned on Yammer before that there were some more Breaking Changes in the BaseApp and System App. Since they are still not on the list I'm writing this PR. On my original Yammer question are still changes that puzzle me. I'm adding the ones I have a reasonable solution to here.
https://www.yammer.com/dynamicsnavdev/threads/360466591072256
Cheers Leon

 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.:x: lksg sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


protofsm: update GR Manager usage and start using structured logging

This PR touches the protofsm package for 2 reasons:

update to use the latest GoroutineManager API introduced in: https://github.com/lightningnetwork/lnd/pull/9341
Update the StateMachine to thread a context through and to take a context via its API methods where it makes sense. With this update, logging can also be switched to the new structured logging pattern which allows us to avoid having to specify the FSM(%V) string for each log line

Depends on: https://github.com/btcsuite/btclog/pull/20

@bhandras: review reminder
@ellemouton, remember to re-request review from reviewers when ready


ARM64 and x64 app package

Looking to do a ARM64 and x64 app package for the Microsoft store. Does anyone kn ow how the Configuration Manager, and the Configuration and Platform on the project property page at the top, and the "Platform target" in the body should be set? App is already in the store, MyPlanet <4D>, ( https://www.microsoft.com/store/productid/9MWPL5QG2NHX?ocid=pdpshare  ), but it's wrong and doesn't show up for the HoloLens 2. Don't want to promote until truly ready. My add-ons aren't showing either but it's one battle at a time.
Thanks,
Kirk

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

ID: bb5a706d-01d5-40c8-69af-e223a73a5948
Version Independent ID: 8d5a1950-1b98-7e22-0f40-02a8ab0e7233
Content: How to: Configure projects to target platforms - Visual Studio (Windows)
Content Source: docs/ide/how-to-configure-projects-to-target-platforms.md
Product: visual-studio-windows
Technology: vs-ide-compile
GitHub Login: @ghogen
Microsoft Alias: ghogen

@kcovert -- Kirk, thank you for your detailed feedback.  Please consider these resources:

Ask a question or find an answer on the Microsoft Q&A page for Visual Studio.
Check the Visual Studio MSDN Forum.
Stack Overflow
Reddit

@ghogen -- Gordon, please look into this potential documentation issue.

Will check them out for sure thanks. There's other UWP apps in the store that run on the HoloLens 2 so there must be some config.
Sent from my Verizon, Samsung Galaxy smartphone
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: William Anton Rohm @.>
Sent: Friday, August 4, 2023 6:18:31 PM
To: MicrosoftDocs/visualstudio-docs @.>
Cc: kcovert @.>; Mention @.>
Subject: Re: [MicrosoftDocs/visualstudio-docs] ARM64 and x64 app package (Issue #9493)
@kcoverthttps://github.com/kcovert -- Kirk, thank you for your detailed feedback. Please consider these resources:

Ask a question or find an answer on the Microsoft Q&Ahttps://learn.microsoft.com/en-us/answers/tags/176/vs page for Visual Studio.
Check the Visual Studio MSDN Forumhttps://social.msdn.microsoft.com/Forums/vstudio.
Stack Overflowhttps://stackoverflow.com/search?q="visual+studio"
Reddithttps://www.reddit.com/r/VisualStudio

@ghogenhttps://github.com/ghogen -- Gordon, please look into this potential documentation issue.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/visualstudio-docs/issues/9493#issuecomment-1666231992, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAMDUQJTAIWYA7KZ4DPFZVDXTVYLPANCNFSM6AAAAAA3DCTHWU.
You are receiving this because you were mentioned.Message ID: @.***>

Just an FYI: App bundle good now with x64 and arm64, however been near four months working with MS on how to get this to appear in the store for a HL2. It might not ever, is in the store now for Windows though.


403 Errors

Ive been getting quite a few 403 errors lately for unkown reasons.
Ive run locally and VPNs across the world and same result.
Error fetching user posts: 403 Client Error: Forbidden for url: https://coomer.su/api/v1/onlyfans/user/nereasilva?o=0
Any thoughts?
log_20241202_001128.txt

Noticed it seems to happen later in the day to night.
Mornings seem to be fine.

I was just bringing it up so there's a record of it in case someone else starts having the problem or it starts becoming more prevalent. More than likely it's them messing with the website, or like you said, a captcha.
Have a great day!

Its 24/7 failing now.  If I open the https://coomer.su/api/v1/onlyfans/user/nereasilva?o=0 url manually it opens fine, so Im down to thinking the API is denying the app for some reason.....  Any Ideas?


Avoid int8 overflow in core test

Rel. https://github.com/cupy/cupy/pull/7338

/test mini

@emcastillo Failed to backport automatically.

Not cleanly cherry-picked

These tests are not in v11 so no backport needed


Compound word with nakaguro in it

Thanks for the library.
I was testing compound words with nakaguro character in them and noticed that a compound word 'コカ・コーラ' is tokenized to a single term <コカ・コーラ> in Search mode whereas another such word 'アイス・キューブ' tokenizes to its components <アイス>, <キューブ>. Is the former produces a single token because it's a trademark or could this be a bug? Ultimately, I'd like to find documents that contain <コカ・コーラ> using a search term <コーラ>.
Thanks in advance for your help!

Which dictionary are you using?
If it is the default one (IPADic), this is not a bug because there is a following dictionary entry:
コカ・コーラ,1288,1288,3891,名詞,固有名詞,一般,*,*,*,コカ・コーラ,コカコーラ,コカコーラ

Search mode works mainly on compound words that is not in the dictionary. In fact, アイスキューブ is not in IPADic.
Again, you customize the tokenizer by adding words to dictionary if you want to do some quick fix.

There's also a builder option for splitting unknown words on nakaguro that can be used as follows:
Tokenizer tokenizer = new Tokenizer.Builder()
    .isSplitOnNakaguro(true)
    .mode(TokenizerBase.Mode.SEARCH)
    .build();

It only works on unknown words, but in combination with search mode, perhaps it makes more sense that we split on nakaguro in all cases.


Blob implementation

What does this PR change? What problem does it solve?
Changes the internal Blob struct such that BlobHandle is now a sub-struct. Also unifies some namings and
consequently uses BlobHandle as parameter to all index-related methods.
Was the change discussed in an issue or in the forum before?
closes #2735
Checklist

[x] I have read the Contribution Guidelines
[x] I have enabled maintainer edits for this PR
I have not added tests for all changes in this PR
I have not added documentation for the changes (in the manual)
There's no new file in changelog/unreleased/ that describes the changes for our users (template here) - no changes visible to users.
[x] I have run gofmt on the code in all commits
[x] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

I've resolved the merge conflict in cmd_prune.go.

Ah, this was because of #3101, right? Thanks for fixing it!

Yep, that was it :)


Include within extended block

Say I have the following:
extends /jade/fileA

block fileABlock
    table
        tbody
            tr
                td
                    include /jade/myform

Jade is actually interpreting the include as an html tag, so the rendered output is <include>/jade/myform</include> instead of the actual contents of myform template.

This should work fine.  Which version or jade are you using?

1.11

Can you publish a Git repo with the three files needed to reproduce this.  It doesn't reproduce for me.

Having trouble recreating as well, but I'm certain there's a way to trigger it.
I'll go ahead and close it for now and re-open if I remember how it was done.


[Feature Request]: To add courses.

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
To add courses such as Node,MongoDB,SQL,Express,Redux,TypeScript,Firebase,AWS
Use Case
This would increase the courses in the given list and user can explore this courses.
Please assign me this
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@Ajay-Dhangar Please assign me this!


Create some category levels on Admin

You can't create a category tree over 2 levels deep.
Limited to 2 at listComponent:
https://github.com/elcodi/bamboo/blob/master/src/Elcodi/Admin/ProductBundle/Resources/views/Category/listComponent.html.twig#L80
Limited to root categories at editComponent
https://github.com/elcodi/bamboo/blob/master/src/Elcodi/Admin/ProductBundle/Resources/views/Category/editComponent.html.twig#L94

Almost everything it's prepared to be "multi-level" and not only "2 levels deep" but we decided to move forward and add this feature in the future.
I'm not sure if we should add this to the v1.0, what do you think @elcodi/deciders & @tonipinel

I'm afraid this won't happen soon, as we don't need more than two levels for our v1.0. I don't think this would be too dificult to do (a recursive macro for twig or change in admin design), but our focus is now in other areas, so feel free to do a PR. :wink:

@seventhseeker I know you're kinda busy, but have you had time for this? :wink:


Nested flow auto-resize

In v1.0.2-beta, the auto-resize of the nested flow functionality was either removed or broken by the new zoom functionality.
Working v1.0.0-beta: https://stackblitz.com/edit/ng-flowchart-nested?file=src/app/nested-flow/nested-flow.component.ts
Not Working v1.0.2-beta: https://stackblitz.com/edit/ng-flowchart-nested-xsysul?file=src/app/nested-flow/nested-flow.component.ts
Was this removed due to the new implementation of zoom? I was trying to restore the auto resize nested flow functionality but was having some trouble getting it to work due to all the manual calculation that goes on in the rendering.

@michaelmarcuccio This was removed when zoom was added. Zoom felt more intuitive. I can add this functionality back if zoom is disabled though.

Zoom is really unfriendly in these nested flow scenarios from what I can see. Having the nested flow fit to its content or slightly larger gives it a more nested/wrapped feeling in my opinion. If I do enable zoom it would only be on the main flow and the nested flow would be disabled, and when you zoom the main flow, the nested flow adjusts based off content. It would be great to have both options I guess.
This brings up another point which might be the reason the zoom doesn't feel right. If you have WHEEL enabled on main flow and nested flow and you try to WHEEL zoom the nested flow, both the main and nested flow change zoom.

Got it. In the meantime I added the auto resize back but only when zoom is disabled. Version 1.0.0-beta.7

The nested flow doesn't recalculate size when removing steps from the nested flow. I can look into this later if you don't already know the solution. I was hoping for the nested flow to follow the size of its contents shrinking or growing.
I think this caused another bug where the 'ngflowchart-canvas-content' min-width & min-height do not get recalculated when removing steps. This keeps the canvas huge even if you remove all the steps and is quite a problem.


Enhanced Support for Network Interface Configuration in Karpenter AWS Node Templates

Description
What problem are you trying to solve?
I am unable to configure network interfaces using Karpenter AWS Node Templates, specifically when provisioning instances with more than 2 network cards. This limitation poses a significant challenge for running ML workloads that require advanced network configurations. Instances like p4d.24xlarge, p4de.24xlarge, trn1.32xlarge, and trn1n.32xlarge, which are commonly used for ML workloads, have more than 2 network cards available.
For ML workloads, it is crucial to have fine-grained control over network interfaces to optimize performance and achieve desired networking setups. Instances with multiple network cards provide opportunities for improved throughput, reduced latency, and advanced networking scenarios.
Currently, Karpenter AWS Node Templates do not natively support network interface configuration beyond the default two interfaces. This limitation prevents users from fully leveraging the capabilities of instances with more than 2 network cards and restricts the ability to achieve optimal networking configurations for ML workloads.
While it is possible to configure network interfaces using launch templates or userdata, these approaches introduce additional complexity and manual steps. Having native support for network interface configuration within Karpenter AWS Node Templates would greatly simplify the deployment process and ensure a streamlined experience for users.

Instance type
Number of network cards

p4d.24xlarge
4

p4de.24xlarge
4

r6idn.32xlarge
2

r6idn.metal
2

r6in.32xlarge
2

r6in.metal
2

trn1.32xlarge
8

trn1n.32xlarge
16

How important is this feature to you?
This feature is critically important to me as it directly impacts the functionality and performance of my ML workloads. Being able to configure network interfaces seamlessly using Karpenter AWS Node Templates would enhance the flexibility and efficiency of my infrastructure setup. It would allow me to fully leverage the capabilities of instances with multiple network cards, optimize network throughput, reduce latency, and achieve the desired networking configurations for my ML workloads.
Enabling network interface configuration in Karpenter AWS Node Templates would significantly enhance the experience of running ML workloads and provide a more integrated and efficient solution for managing the network interfaces required by instances with more than 2 network cards.
**Current workaround **
The following snippet is a workaround used in Data on EKS blueprints for building trn1.32xlarge instances
---
apiVersion: karpenter.k8s.aws/v1alpha1
kind: AWSNodeTemplate
metadata:
  name: trainium
  namespace: karpenter
spec:
  blockDeviceMappings:
    - deviceName: /dev/xvda
      ebs:
        volumeSize: 100Gi
        volumeType: gp3
        encrypted: true
        deleteOnTermination: true
  metadataOptions:
    httpEndpoint: enabled
    httpProtocolIPv6: disabled
    httpPutResponseHopLimit: 2
    httpTokens: required
  subnetSelector:
    Name: "${eks_cluster_id}-private*"        # Name of the Subnets to spin up the nodes
  securityGroupSelector:                      # required, when not using launchTemplate
    Name: "${eks_cluster_id}-node*"           # name of the SecurityGroup to be used with Nodes
  #  instanceProfile: ""      # optional, if already set in controller args
  #RAID0 config example
  userData: |
    MIME-Version: 1.0
    Content-Type: multipart/mixed; boundary="BOUNDARY"

    --BOUNDARY
    Content-Type: text/x-shellscript; charset="us-ascii"

    #!/bin/bash
    echo "Running a custom user data script"
    # Configure NVMe volumes in RAID0 configuration
    # https://github.com/awslabs/amazon-eks-ami/blob/056e31f8c7477e893424abce468cb32bbcd1f079/files/bootstrap.sh#L35C121-L35C126
    # Mount will be: /mnt/k8s-disks
    export LOCAL_DISKS='raid0'

    # Create 8 network interfaces similar to Terraform configuration
    INSTANCE_ID=$(curl -s http://<IP_ADDRESS>/latest/meta-data/instance-id)

    # Create network interface with device_index = 0
    INTERFACE_ID=$(aws ec2 create-network-interface \
      --description "NetworkInterfaces Configuration For EFA and EKS" \
      --delete-on-termination \
      --query 'NetworkInterface.NetworkInterfaceId' \
      --output text
    )
    aws ec2 attach-network-interface \
      --network-interface-id $INTERFACE_ID \
      --instance-id $INSTANCE_ID \
      --device-index 0 \
      --network-card-index 0

    # Create network interfaces with device_index = 1 and network_card_index from 1 to 7
    for ((network_card_index=1; network_card_index<8; network_card_index++))
    do
      INTERFACE_ID=$(aws ec2 create-network-interface \
        --description "NetworkInterfaces Configuration For EFA and EKS" \
        --delete-on-termination \
        --query 'NetworkInterface.NetworkInterfaceId' \
        --output text
      )
      aws ec2 attach-network-interface \
        --network-interface-id $INTERFACE_ID \
        --instance-id $INSTANCE_ID \
        --device-index 1 \
        --network-card-index $network_card_index
    done

    # EFA Setup for Trainium and Inferentia
    export FI_EFA_USE_DEVICE_RDMA=1
    export FI_PROVIDER=efa
    export FI_EFA_FORK_SAFE=1

    curl -O https://efa-installer.amazonaws.com/aws-efa-installer-latest.tar.gz
    tar -xf aws-efa-installer-latest.tar.gz && cd aws-efa-installer
    ./efa_installer.sh -y -g
    /opt/amazon/efa/bin/fi_info -p efa

    --BOUNDARY--

  tags:
    InstanceType: "trainium"

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

This looks similar to #3819. Have you had a chance to look over that design doc?

Closing as a duplicate of #2026


Bower removal

Can you explain the reason behind the removal from bower?
I'm actually depending on the bower component, so for me the only way would be to maintain my own fork with a bower.json.

I am always looking for ways to simplify the onboarding of Tone.js, and giving fewer ways to install it seemed helpful. Especially for someone new to programming or javascript, they don't need to go reading about the difference between bower and npm to decide which they should use. It also seems that many other libraries have chosen npm over bower.
Is it possible for you to switch over to npm?
I am fine with adding bower.json back if npm is not an alternative for you and other users.

Thanks for clarifying. I get your point, although I think that bower is still a very common install option.
My own build process is using bower components exclusively and I'd prefer to keep it that simple if possible.

@tambien thanks!!


Testing pages with react-testing-library

I ran into trouble testing pages in my next.js app with react-testing-library once I introduced SuperJSON. Pages would render, but no props would make their way to them.
Page:
const Index = ({ widgets }) => {
    return <MyPageContent widgets={widgets} />;
});

export default Index;

export const getServerSideProps = async (context) => {
    // ...
    return props;
};

Test:
describe("Index page", () => {
    it("displays widgets", () => {
        const props = { widgets: [] };
        render(<Index widgets={props.widgets} />);
        expect(screen.queryByText(/my-widget/)).toBeInTheDocument();
    });
});

A quick look at the babel-plugin-superjson-next source code shows what's happening: the page is being wrapped in WithSuperJSON, which expects to receive serialized props. But my test was bypassing getServerSideProps, which would have provided the serialized props.
You could argue that it would be more comprehensive to test the whole page, including getServerSideProps. But for now, I solved the problem by wrapping the page in a serialization layer:
import SuperJSON from 'superjson';

// SuperJSON wraps all getServerSideProps in a serialize operation, and all pages in a deserialize operation.
// This works great when running the site, but messes with our page specs. This function can be used to
// effectively "unwrap" the page by serializing our props before passing them on to the SuperJSON wrapper.
//
// Usage:
// import WrappedPage from "pages/mypage";
// const Page = unwrapPage(WrappedPage);
export default function unwrapPage(Page) {
    return (props) => {
        const serializedProps = SuperJSON.serialize(props);
        return Page(serializedProps);
    };
}

And the test becomes:
import WrappedIndex from "pages/index";
const Index = unwrapPage(WrappedIndex);

// ...

That's an interesting solution, thanks for sharing! We could also introduce the following change to WithSuperJSONPage, would that be helpful to you?
if (!serializedProps._superjson) {
    const PageWithoutProps = Page as React.ComponentType<{}>;
-   return <PageWithoutProps />;
+   return <PageWithoutProps {...props} />;
  }

That's an interesting solution, thanks for sharing! We could also introduce the following change to WithSuperJSONPage, would that be helpful to you?
if (!serializedProps._superjson) {
    const PageWithoutProps = Page as React.ComponentType<{}>;
-   return <PageWithoutProps />;
+   return <PageWithoutProps {...props} />;
  }

That's an interesting solution, thanks for sharing! We could also introduce the following change to WithSuperJSONPage, would that be helpful to you?
if (!serializedProps._superjson) {
    const PageWithoutProps = Page as React.ComponentType<{}>;
-   return <PageWithoutProps />;
+   return <PageWithoutProps {...props} />;
  }

Seems like this change should be made regardless of the test issue, right?

That's an interesting solution, thanks for sharing! We could also introduce the following change to WithSuperJSONPage, would that be helpful to you?
if (!serializedProps._superjson) {
    const PageWithoutProps = Page as React.ComponentType<{}>;
-   return <PageWithoutProps />;
+   return <PageWithoutProps {...props} />;
  }

Seems like this change should be made regardless of the test issue, right?

It should! I'll put up a PR shortly.

It should! I'll put up a PR shortly.

That's an interesting solution, thanks for sharing! We could also introduce the following change to WithSuperJSONPage, would that be helpful to you?
if (!serializedProps._superjson) {
    const PageWithoutProps = Page as React.ComponentType<{}>;
-   return <PageWithoutProps />;
+   return <PageWithoutProps {...props} />;
  }

Absolutely, that would make things much simpler. Thank you!

That's an interesting solution, thanks for sharing! We could also introduce the following change to WithSuperJSONPage, would that be helpful to you?
if (!serializedProps._superjson) {
    const PageWithoutProps = Page as React.ComponentType<{}>;
-   return <PageWithoutProps />;
+   return <PageWithoutProps {...props} />;
  }

Absolutely, that would make things much simpler. Thank you!

Published in v0.2.0 ☺

Published in v0.2.0 ☺


Swift 3 Support

It doesn't appear like this has been migrated yet.

Aha.

Maybe the CocoaPod isn't pointed to the latest master?

https://github.com/i-schuetz/SwiftCharts#installation

gotcha

0.5.1 is not available in Pods!

0.5.1 is now available in Pods!


Issue #730 - Fixes snat functional test for 12.1

Updated Files

test/functional/tm/ltm/test_snat.py

Updates

Updated bigip fixture to mgmt_root fixture in all test cases
Changed test assertion from exact match to make sure string was present as the response text has changed slightly in 12.1

@caphrim007 snat test is passing now, this is good for review.


Corrected wording error

Docs said 'example shows how to use Map.filter' however it should be Map.find

Docs Build status updates of commit e67904b:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Run script failed with no detailed information. Please retry building your content again. If the issue still happens, open a ticket in https://SiteHelp and include the error report for our team to troubleshoot

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


Problem with FocusTracker and hidden columns

I think there is a problem with the AnimationCallback 'updateLoop' in the FocusTracker and the focus listener in GridFastNavigationConnector.
            int row = GridViolators.getFocusedRow(grid);
            int col = GridViolators.getFocusedCol(grid);

For example:

10 columns, 1-5 are hidden
GridViolators.getFocusedCol(grid) == 3 -> the 4th visible column, but 9th column in grid
EditorStateManager#getEditorWidgetForColumn(3) -> grid.getColumn(3)

    private Widget getEditorWidgetForColumn(int index) {
        Column<?, Object> column = grid.getColumn(index);
        Map<Column<?, ?>, Widget> editorColumnToWidgetMap = GridViolators
                .getEditorColumnToWidgetMap(editor);
        Widget widget = editorColumnToWidgetMap.get(column);
        return widget;
    }

Grid#columns contains all columns (visible and hidden), so you get the widget for column 3 instead of 9
perhaps it depends on the "hidable" flag in column?!

Vaadin 8.4.2
For a better understanding: try to set the focus to the last column
        Grid<String> grid = new Grid<>();
        grid.getEditor().setBuffered(false);
        grid.getEditor().setEnabled(true);
        FastNavigation<String> extension = new FastNavigation<>(grid);
        extension.setOpenEditorOnTyping(true);
        extension.setOpenEditorWithSingleClick(true);
        for (int i = 0; i < 10; i++) {
            grid.addColumn(s -> s)
                    .setId(String.valueOf(i))
                    .setHidable(true)
                    .setEditorComponent(new TextField(), (s, v) -> {
                    });
        }
        for (int i = 1; i < 5; i++) {
            grid.getColumn(String.valueOf(i)).setHidden(true);
        }

        grid.setItems("test1", "test2");

Yes, the support for hidden columns seems to be mostly missing. I started implementing it and found couple of other scenarios too. Working on it though.


The info bar is cut-off

1920x1080 125% Scale (for laptop)

Thanks, we will take a look at it. Chances are though it will be fixed during the ui rework


Formatting error in CRD CEL validation rules

This is a Bug Report

Problem:
https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#validation-rules has a Markdown error. [kube-apiserver](https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/) renders like that, but should be a hyperlink:
Validation rules are in beta since 1.25 and the
`CustomResourceValidationExpressions`
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) is enabled by default to validate custom resource
based on _validation rules_. You can disable this feature by explicitly setting the
`CustomResourceValidationExpressions` feature gate to `false`,
for the [`kube-apiserver`](https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/) component.
This feature is only available if the schema is a
[structural schema](#specifying-a-structural-schema).

Proposed Solution:
Update the Markdown source
Page to Update:
https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/

Additional Information:
/language en
/help
/triage accepted

/assign

/assign


After introducing timing optimization, some half-column clock regions get legalization violation (will be solved soon)

Solved. The runtime half-column check of clock utilization is a rough evaluation by dividing the clock region evenly but the clock half-column distribution is uneven.


[Feature] Min/Max/Preferred Versions

Goal
Facilitate experimental and development overrides.
Motivation

Sometimes, asking for rez>=2.28 and getting 2.30.0 if available is expected.
Other times, asking for maya and getting 2018 despite 2019 being available is expected.

Implementation
Normally, when you specify a minimum, it or a later available version is picked.
pipeline/package.py
requires = ["rez>=2.28"]

If 2.29 is found, it gets picked. If 2.30 is found, it gets picked.
$ rez env pipeline           # rez-2.30
$ rez env pipeline rez-2.28  # rez-2.28.3
$ rez env pipeline rez-2.21  # Not allowed

But what about the other way?
pipeline/package.py
requires = ["maya>=2017"]

In this case, I'd like for 2017 to get picked, unless a newer version is explicitly asked for.
$ rez env pipeline            # maya-2017
$ rez env pipeline maya-2019  # maya-2019
$ rez env pipeline maya-2016  # Not allowed

In some cases, the former is expected, and in others the latter is.
Syntax
Some food for thought, this could be specified at the package-level.
rez/package.py
version = "2.30.0"
order = "latest"

maya/package.py
version = "2016.0.0"
order = "earliest"

Although for that to work we'd need to determine which of the released versions get to decide the order when two or more differ; e.g. the first found, the last released or via e.g. rezconfig.py which would strip away some of the nice compartmentalisation.
Furthermore, in addition to min/max, what about specifying a "preferred" version, such as..
$ rez env maya       # 2017
$ rez env maya-2016  # 2016
$ rez env maya-2018  # 2018
$ rez env maya-2015  # Not allowed
$ rez env maya-2019  # Not allowed

Whereby 2017 is "preferred", minimum is 2016, and maximum is 2018.
E.g.
pipeline/package.py
requires = ["maya>=2016,<=2018"]
preferred = ["maya-2016"]

In this case, the order is specified in a library requiring another library which might make actually be possible without using rezconfig.py. A package would know whether any of its requirements are defined as min/max or preferred.
Alternative Syntax
More food for thought, what if the request format could capture whether one wanted a latest or earliest version using plus and minus signs?
Latest
$ rez env maya-2018+  # 2019

The default, get me 2018 or later please.
Earliest
$ rez env maya-2018-  # 2018

The alternative, get me 2018 or earlier please.
With Minimum
$ rez env maya>2015,2018-  # 2018

A minimum is included, which when used as a requires could be used like this:
$ rez env pipeline  # maya-2018
$ rez env pipeline maya-2016  # maya-2019
$ rez env pipeline maya-2016  # maya-2016

And Maximum
$ rez env maya>2015,<2019,2018-

Let me know your thoughts.

I don't think it makes sense to include this type of feature in the "requested" package.  It seems fairly unintuitive that another package could affect the way my version dependencies resolve.
One issue I see with the idea of using a preferred version or using a different set of version resolve rules per package dependency is what happens when these types of dependencies are encountered in the same context.
For example, I have two packages foo and bar
Using your last exampe with the min, max, preferred syntax
foo
requires =["maya>2015,<2019,2018-"]

bar
requires = ["maya>2015,<2019,2017+"]

How should rez resolve this?  There are both 2017 and 2018 "preferred" versions, which are both set to "prefer" in different directions.  I don't think there is a good deterministic way to resolve this unless you start basing it off arbitrary things like package order.

That's true, that would be problematic.
Does the use-case make sense though? What other syntax could work do you think?

I think I agree with @bpabel. While reading I had one thing in mind and it was: How many conflicts would that create in the long run?
Although, I like the idea of having a preferred version. Though not defined in the package.py but more in the rezconfig.py. BTW, if I'm not mistaken, it already exists (https://github.com/nerdvegas/rez/blob/master/src/rez/package_order.py#L200). Though I never had time to really try it.
There is one particular place where the preferred version could be used and it's the transition to python 3. When you have a lot of packages (and a lot of them are old and didn't anticipated that python3 would really happen in VFX and so they just require python, and let's say you don't yet have a python-3 package yet. Then you add a version 3 and then boom, everything breaks because the packages that were not constraining a version on python would now break. (yep, I'm in this situation and I'm probably not the only one).

Stumbled upon this (from 2013), but haven't dug deeper yet.
https://github.com/nerdvegas/rez/blob/d8c00f6b26eb3289a5ca355398c640e59129fccd/python/rez/rez_config.py#L133-L141
Note: resolve_mode

After thinking about this a bit more, it might be simpler to implement if the "preferred" version syntax didn't dictate alternate resolution orders.  In that regards, it's somewhat similar to the "weak" dependencies that are already supported.
required = ["maya>=2015,~2018"]   # or whatever the new syntax is

The semantics are pretty similar to the original proposal.  If the preferred version doesn't conflict with the normal version dependencies, apply the preferred version in the dependencies as well.  That means you could also do things like this:
maya>2016 maya~<2019

As long as another dependency doesn't force the preferred dependency to conflict, it will be applied.
It gets much more complex if we want to support multiple preferred version specifiers in the same resolve.  For example
maya~>=2017
maya~<2019
maya~2016

It's not obvious to me what the correct way to resolve this is.  There's no real way to know if they conflict with the normal dependencies without adding them to the dependencies and doing a resolve.  So, one option would be to resolve each one independently (along with the normal dependencies) and choose whichever preferred version specifier results in the highest ordered version.
Alternatively, just apply them all in order and raise an exception that they conflict with each other.
Alternatively, just disallow multiple preferred versions for the same package altogether and raise an exception as soon as multiple preferred versions are found.

Good thoughts.
When it comes to intermixing preferred versions with an overall solve, here's how I'm picturing things at the moment.

Preferred versions have no effect throughout the original solve, the solve happening at the moment
Once the solve is complete, if and only if two or more versions of a package are possible, e.g. maya>2015,<2019, look at what's preferred, e.g. maya-|2018.
If two or more preferred versions exists, favour one preferred the most number of times
If two or more versions are equally preferred, pick the latest or those like usual

I remember seeing talks of specifying a preferred version in the Google Groups some time ago, will see if I can dig that up again, maybe someone somewhere has experience with exactly this and could share some campfire stories.

Alternatively, just disallow multiple preferred versions for the same package altogether and raise an exception as soon as multiple preferred versions are found.

I wouldn't mind this, to be honest. My particular use-case is specifying preferred versions in a top-level package of sorts, in this case a production project package. In this particular case, there wouldn't be a need for multiple preferred ones.


boards: xtensa: intel_adsp_cavs15: force COMP_SRC_TINY

cAVS 1.5 has little RAM, force COMP_SRC_TINY to fix SOF build failures under Zephyr with XCC.

@nashif would be good to merge this soon-ish to fix APL SOF builds in combination with https://github.com/thesofproject/sof/pull/4852


Introduce Automated Github Releases

If feasible, it would be great to have Travis and Appveyor to provide Linux/Mac and Windows release install binaries

i changed my mind. lets do this for 2.1.0 and delay that for the sake of easiness. i'm having issues building windows and would like #4 to take care of that for me

I don't really have the time, patience, or motivation for this issue anymore unfortunately. My previous motivation was due to the lack of a Windows machine for me to personally snap builds and produce install binaries. I now have access to Windows, Linux, and Mac and should be able to do releases without this issue. Therefore, moving this back to 2.1.1+


Post.DataAsjson is great but It is better to have Post.DataAsPlainText as well

Hi Mr Hadi
I’m working with suzianna screenPlay to implement my test specs using specflow. It’s easy to use readable and actor centric acceptance tests.
It will be fine if you add some missing http client

Hi Alireza, Thank you for your feedback.
Posting, Puting and Deleting data as PlainText & XML will be added in the next release.


Support for Tagged Measurements

(vs Source based Measurements) Is this planned?

https://github.com/ysamlan/go-metrics-appoptics implements this.


Connection closed while receiving data,

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
i m getting my data in json form from the backend it is laravel , and i m getting all the need   name , id , and thumbnail (which is a url for a picture in backend) etc...
when i try to access the thumbnail using NetworkImage widget  i am getting error , but when i try it in navigator inside the emulator i access the image with no problem but with flutter app no ,
i tried to edit the manifest file by adding this
android:usesCleartextTraffic="true"
android:networkSecurityConfig="@xml/network_security_config">
but still not getting the image
Expected results
i expected to get the image in thecontainer where the NetworkImage is its child inside the decorationBox
Actual results
i am getting the error
══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE ╞════════════════════════════════════════════════════
I/flutter (11014): The following HttpException was thrown resolving an image codec:
I/flutter (11014): Connection closed while receiving data, uri =
I/flutter (11014): http://<IP_ADDRESS>:8000/uploads/images/91b140ce34402d0022f8268ff57840e1.png
I/flutter (11014):
I/flutter (11014): When the exception was thrown, this was the stack:
I/flutter (11014): #0      _HttpIncoming.listen.<anonymous closure> (dart:_http/http_impl.dart:442:7)
I/flutter (11014): #11     _HttpParser._reportBodyError (dart:_http/http_parser.dart:1201:22)
I/flutter (11014): #12     _HttpParser._onDone (dart:_http/http_parser.dart:899:9)
I/flutter (11014): #20     _Socket._onData (dart:io-patch/socket_patch.dart:2454:21)
I/flutter (11014): #27     new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1943:35)
I/flutter (11014): #28     _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1372:18)
I/flutter (11014): (elided 25 frames from dart:async)
I/flutter (11014):
I/flutter (11014): Image provider:
I/flutter (11014):   NetworkImage("http://<IP_ADDRESS>:8000/uploads/images/91b140ce34402d0022f8268ff57840e1.png",
I/flutter (11014):   scale: 1.0)
I/flutter (11014): Image key:
I/flutter (11014):   NetworkImage("http://<IP_ADDRESS>:8000/uploads/images/91b140ce34402d0022f8268ff57840e1.png",
I/flutter (11014):   scale: 1.0)

Code sample
Widget gridCourses(CourseItem? course, BuildContext context) {
  print(
      'the correspending image is  ${AppConstants.SERVER_UPLOADS}${course!.thumbnail!}');
  return GestureDetector(
    onTap: () {
      Navigator.of(context).pushNamed(
        AppRoutes.COURSE_DETAIL_PAGE,
        arguments: {'id': course.id},
      );
    },
    child: Container(
      height: 50.h,
      width: 50.w,
      padding: EdgeInsets.all(8.w),
      decoration: BoxDecoration(
        borderRadius: BorderRadius.circular(15.w),
        image: DecorationImage(
            fit: BoxFit.fill,
            image: NetworkImage(
              '${AppConstants.SERVER_UPLOADS}${course!.thumbnail!}',
            ) // NetworkImage(AppConstants.SERVER_UPLOADS + course!.thumbnail!),
            ),
      ),
      child: Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          mainAxisAlignment: MainAxisAlignment.end,
          children: [
            Container(
              child: Text(
                course.name ?? "",
                maxLines: 1,
                overflow: TextOverflow.fade,
                textAlign: TextAlign.left,
                softWrap: false,
                style: TextStyle(
                    color: AppColors.primaryElementText,
                    fontWeight: FontWeight.bold,
                    fontSize: 12.sp),
              ),
            ),
            SizedBox(
              height: 5.h,
            ),
            Text(
              course.description ?? "",
              maxLines: 1,
              overflow: TextOverflow.fade,
              textAlign: TextAlign.left,
              softWrap: false,
              style: TextStyle(
                  color: AppColors.primaryFourElementText,
                  fontWeight: FontWeight.bold,
                  fontSize: 10.sp),
            ),
          ]),
    ),
  );
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
I/flutter (11014): the correspending image is  http://<IP_ADDRESS>:8000/uploads/images/91b140ce34402d0022f8268ff57840e1.png
I/flutter (11014): the correspending image is  http://<IP_ADDRESS>:8000/uploads/images/c19a75f75373803f4e8dfd7d9c80bccb.png
I/flutter (11014): the correspending image is  http://<IP_ADDRESS>:8000/uploads/images/38bc92bede94779df2f6cf855ba71b7d.png
I/flutter (11014): ══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE ╞════════════════════════════════════════════════════
I/flutter (11014): The following HttpException was thrown resolving an image codec:
I/flutter (11014): Connection closed while receiving data, uri =
I/flutter (11014): http://<IP_ADDRESS>:8000/uploads/images/91b140ce34402d0022f8268ff57840e1.png
I/flutter (11014):
I/flutter (11014): When the exception was thrown, this was the stack:
I/flutter (11014): #0      _HttpIncoming.listen.<anonymous closure> (dart:_http/http_impl.dart:442:7)
I/flutter (11014): #11     _HttpParser._reportBodyError (dart:_http/http_parser.dart:1201:22)
I/flutter (11014): #12     _HttpParser._onDone (dart:_http/http_parser.dart:899:9)
I/flutter (11014): #20     _Socket._onData (dart:io-patch/socket_patch.dart:2454:21)
I/flutter (11014): #27     new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1943:35)
I/flutter (11014): #28     _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1372:18)
I/flutter (11014): (elided 25 frames from dart:async)
I/flutter (11014):
I/flutter (11014): Image provider:
I/flutter (11014):   NetworkImage("http://<IP_ADDRESS>:8000/uploads/images/91b140ce34402d0022f8268ff57840e1.png",
I/flutter (11014):   scale: 1.0)
I/flutter (11014): Image key:
I/flutter (11014):   NetworkImage("http://<IP_ADDRESS>:8000/uploads/images/91b140ce34402d0022f8268ff57840e1.png",
I/flutter (11014):   scale: 1.0)

Flutter Doctor output
my flutter doctor
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, 3.18.0-3.0.pre.20, on Microsoft Windows [version 10.0.22621.2715], locale fr-FR)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.6.3)
[√] Android Studio (version 2022.1)
[√] Android Studio (version 2022.3)
[√] VS Code (version 1.84.2)
[√] Connected device (5 available)
[√] Network resources

@kazerdira
Looking at the error, it doesn't seem to be sdk related but could be server side. Can you try by modifying the server-side code ?
Also, these type of issues are better suited for support channels like StackOverflow, so please ask the same there.
Closing for now. If you disagree, write in comments and I'll reopen it.

sorry , but the serverside is ok , i mean all the json came from back side is ok , and the url of the picture is opening with no problem in the navigator , i think it is with flutter ,

Thanks for the feedback. Can you provide us a complete runnable reproducible code sample without any third party implementation that still shows the error ?


Migrate to NextJS

Customising things and managing dependencies in Gatsby was getting a bit painful, so migrating to NextJS. After all, what is a personal website for if you're not rewriting it in a new front-end framework every 9 months or so.
Remix next probably, that seems hyped.

This certainly tells a story...


Persistent log

Pull request checklist

``No

## Pull request type

<!-- Please do not submit updates to dependencies unless it fixes an issue. -->

<!-- Please try to limit your pull request to one type, submit multiple pull requests if needed. -->

Please check the type of change your PR introduces:
- [ ] Bugfix
- [ ] Feature Enhancement
- [ ] Test Automation
- [ ] Code Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] Community Operator listing
- [ x] Other (please describe):  changing persistent path to log info to file

## What is the current behavior?
<!-- Please describe the current behavior that you are modifying -->
-

## What is the new behavior?
<!-- Please describe the behavior or changes that are being added by this PR. -->
-

## How risky is this change?
- [ x] Small, isolated change
- [ ] Medium, requires regression testing
- [ ] Large, requires functional and regression testing

Env variable "VAR_DRIVER_PERSISTENT_LOG: ENABLED/DISABLED" should be set to test whether the logs are written to file.
Logs are written to new path "/var/adm/ras/scalecsilogs"


C++ Unable to link against the version 1.11.0

What version of gRPC and what language are you using?
1.11.0 C++
What operating system (Linux, Windows, …) and version?
Windows 10
What runtime / compiler are you using (e.g. python version or version of gcc)
Visual studio 2015 x64
What did you do?
I compiled grpc from sources with Visual Studio 2015 (x64) and I tried to link against the libs exactly like with the previous version (1.10.0).
What did you expect to see?
My application which links against the grpc 1.11.0 compiles.
What did you see instead?
Error LNK2019 unresolved external symbol "public: __cdecl grpc::ServerBuilder::~ServerBuilder(void)" (??1ServerBuilder@grpc@@qeaa@XZ) referenced in function "public: __cdecl sparte::GrpcServer::GrpcServer(class std::shared_ptr const &,class std::shared_ptr const &,class std::shared_ptr const &)" (??0GrpcServer@@@qeaa@AEBV?$shared_ptr@VConfigManager@@@@std@@aebv?$shared_ptr@VVbsUnitaryFeaturesScheduler@@@@3@AEBV?$shared_ptr@VVbsPermanentFeaturesManager@rte@@@3@@z)
Error LNK2019 unresolved external symbol "public: class std::unique_ptr<class grpc::Server,struct std::default_delete > __cdecl grpc::ServerBuilder::BuildAndStart(void)" (?BuildAndStart@ServerBuilder@grpc@@qeaa?AV?$unique_ptr@VServer@grpc@@U?$default_delete@VServer@grpc@@@std@@@std@@xz) referenced in function "public: __cdecl ::GrpcServer::GrpcServer(class std::shared_ptr const &,class std::shared_ptr const &,class std::shared_ptr const &)" (??0GrpcServer@@@qeaa@AEBV?$shared_ptr@VConfigManager@@@@std@@aebv?$shared_ptr@VVbsUnitaryFeaturesScheduler@@@@3@AEBV?$shared_ptr@VVbsPermanentFeaturesManager@rte@@@3@@z)
Anything else we should know about your project / environment?
For 1.10.0, I linked with the libs below and it worked without problem.
gpr.lib
grpc_unsecure.lib
grpc++_unsecure.lib
grpc++_cronet.lib
grpc++_error_details.lib
grpc++_reflection.lib
libprotobuf.lib
libprotobuf-lite.lib
libprotoc.lib
zlibstatic.lib
It doesn't work with these libs for 1.11.0 and I tried all the others.

@vjpai did we change the signature on BuildAndStart by any chance ?
@TCDigi Are you sure the whole of your project has been cleaned ? I want to make sure you're not using older files by mistake. Sometimes Visual Studio can do that to you.

@nicolasnoble Yes I tried during a long time to link. To be sure, I tried again from zero : compiling grpc again from sources, link again on the right libs. I tried lots of combinations of libs (when I link against some libs I have more than the 2 errors above by the way).

Ugh, I know what's going on. The ServerBuilder interface managed to slide into the secure version only of the lib.

Oh ok, so is this normal or will a correction be made?

This isn't normal, no. We need to fix this.

@mehrdada this is in fact a fairly bad one.

@nicolasnoble @vjpai  Does this block 1.13? Previous two releases went out with this blocker so I am included to remove that label.

This compilation problem is fix in 1.13.0 ?

ico is trying to reproduce it but @TCDigi : I need some more info here. v 1.11.0 was the first version where BuildAndStart was a virtual function. This is an API extension but not an API breaker. It is, however, an ABI breaker (where we don't promise compatibility anyway). You mentioned that you rebuilt gRPC from sources, but for a truly clean build, you would need to have built your application from sources as well. Otherwise your old ".obj" files will reference the old non-virtual version of BuildAndStart, which would have a different name-mangling signature from the new virtual version. FWIW, the ServerBuilder structure itself would also be fundamentally different since it would now have a vtbl that it didn't have before, so even trying to allocate a ServerBuilder wouldn't work between old obj files and a new lib.

Note that @nicolasnoble's earlier comments about ServerBuilder sliding into the secure only version were not correct, so this is not (at the current time) something that we can consider a release blocker.

Actually, I rebuilt my application from sources too. I compiled grpc from sources and I compiled my application to link against the new grpc libs. I tried lots of things, like clean my application to be sure to not link against the old grpc libs. I really tried from scratch.


Feature Request: Show sample workflow for admin

It would be nice, as an admin, to be able to see the visual workflow for a user when they are walking through the process.

It is always available at /setup !


Migrating server from one platform to another (MacOS to Linux)

Not really an issue but I just want to ask how can we migrate the data (the volume containing the data in the container's /palworld directory) from (let's say) MacOS into Linux?
Which things do I need to only copy? or is it fine to just copy everything and then boot it up in the new platform and the image will be able to handle it automatically?
I'm currently running a Palworld server on a MacOS and now wants to migrate it to my Linux machine without losing any data.
Also, thank you for everyone who's involved in this project, it runs really well and had zero problems with it since I've started running my 3 dedicated servers with this. 🙏
Thanks,

check the following link：
https://www.reddit.com/r/Palworld/comments/19cn44w/guide_how_to_correctly_transfer_saved_data_across/?utm_source=share&utm_medium=ios_app

check the following link：
https://www.reddit.com/r/Palworld/comments/19cn44w/guide_how_to_correctly_transfer_saved_data_across/?utm_source=share&utm_medium=ios_app

Has this "hacky" approach been confirmed working?
This also means that I have to let the container initialize prior to overwriting the new data with my saved/old data.
There are also some people in the comments complaining that it does not 100% fully work and loses some data like each player's waypoints.

I've tested transitioning from Windows to Linux and is feasible, but I'm unsure about macOS.

I've tested migrating from Windows to Linux and is feasible, but I'm unsure about macOS.

Ohhh. I guess I'll have to try it first.


Customizing Slider features

Hi,.
How to customize the slider features in raceplotly such as slider > color, size, play/pause button colors/size etc. Tried plotly documentation but could not connect with the raceplotly graph. :(
Thanks & Regards,
Ajit

I am not really sure, would it help if raceplotly made the plotly object accesible??


Error when attempting download

`
(1/1) FatalThrowableErrorType error: Argument 1 passed to App\Plane2Ninja\Transformers\QuoteItemTransformer::transform() must be an instance of App\Models\QuoteItem, instance of App\Models\InvoiceItem given, called in /home/web/htdocs/plane2ninja.****.com/public/app/Plane2Ninja/Ninja/NinjaFactory.php on line 140
in QuoteItemTransformer.php (line 16)
`

45de36ac83d37f0ba54a5c206a019420649f79c3 resolves.

still happens

@Cronus89 Sorry about this - 2010623ab37d5282de3a6909b291df91268c985c - should resolve.

exports now, it shows the json in browser. im sure its a mimetype thing, not sure what tho.

@Cronus89 great! just cut and paste and save into a file and it is ready for import.


cmd/vet: restore documentation about vet flags

The rearrangement of the vet tool, while a great step forward, seems to have lost the documentation of vet flags.
> go vet -help
usage: go vet [-n] [-x] [build flags] [vet flags] [packages]
Run 'go help vet' for details.

> go help vet
usage: go vet [-n] [-x] [build flags] [vet flags] [packages]

Vet runs the Go vet command on the packages named by the import paths.

For more about vet and its flags, see 'go doc cmd/vet'.
For more about specifying packages, see 'go help packages'.

The -n flag prints commands that would be executed.
The -x flag prints commands as they are executed.

The build flags supported by go vet are those that control package resolution
and execution, such as -n, -x, -v, -tags, and -toolexec.
For more about these flags, see 'go help build'.

See also: go fmt, go fix.

> go doc cmd/vet
The vet command is a driver for static checkers conforming to the
golang.org/x/tools/go/analysis API. Run it using 'go vet'.

For a tool capable of running standalone, use a multichecker-based tool such
as golang.org/x/tools/go/analysis/cmd/vet.

> go tool vet -help
vet is a tool for static analysis of Go programs.

Usage of vet:
	vet unit.cfg	# execute analysis specified by config file
	vet help		# general help
	vet help name	# help on specific analyzer and its flags

go tool vet help does list available flags.  But that didn't work in 1.11.  And I only got there by knowing about go tool vet, which is not mentioned by any of the first places to look.
CC @alandonovan

For ease of review, this is the behavior proposed by Patchset 11 of https://go-review.googlesource.com/c/go/+/147018
$ go vet -help
usage: go vet [-n] [-x] [-vettool prog] [build flags] [vet flags] [packages]
Run 'go help vet' for details.
Run 'go tool vet -help' for the vet tool's flags.

$ go help vet
usage: go vet [-n] [-x] [-vettool prog] [build flags] [vet flags] [packages]

Vet runs the Go vet command on the packages named by the import paths.

For more about vet and its flags, see 'go doc cmd/vet'.
For more about specifying packages, see 'go help packages'.
For a list of checkers and their flags, see 'go tool vet help'.
For details of a specific checker such as 'printf', see 'go tool vet help printf'.

The -n flag prints commands that would be executed.
The -x flag prints commands as they are executed.

The -vettool=prog flag selects a different analysis tool with alternative
or additional checks.
For example, the 'shadow' analyzer can be built and run using these commands:

  go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow
  go vet -vettool=$(which shadow)

The build flags supported by go vet are those that control package resolution
and execution, such as -n, -x, -v, -tags, and -toolexec.
For more about these flags, see 'go help build'.

See also: go fmt, go fix.

$ go doc cmd/vet
Vet examines Go source code and reports suspicious constructs, such as
Printf calls whose arguments do not align with the format string. Vet uses
heuristics that do not guarantee all reports are genuine problems, but it
can find errors not caught by the compilers.

Vet is normally invoked through the go command. This command vets the
package in the current directory:

    go vet

whereas this one vets the packages whose path is provided:

    go vet my/project/...

Use "go help packages" to see other ways of specifying which packages to
vet.

Vet's exit code is non-zero for erroneous invocation of the tool or if a
problem was reported, and 0 otherwise. Note that the tool does not check
every possible problem and depends on unreliable heuristics, so it should be
used as guidance only, not as a firm indicator of program correctness.

To list the available checks, run "go tool vet help":

    asmdecl      report mismatches between assembly files and Go declarations
    assign       check for useless assignments
    atomic       check for common mistakes using the sync/atomic package
    bools        check for common mistakes involving boolean operators
    buildtag     check that +build tags are well-formed and correctly located
    cgocall      detect some violations of the cgo pointer passing rules
    composites   check for unkeyed composite literals
    copylocks    check for locks erroneously passed by value
    httpresponse check for mistakes using HTTP responses
    loopclosure  check references to loop variables from within nested functions
    lostcancel   check cancel func returned by context.WithCancel is called
    nilfunc      check for useless comparisons between functions and nil
    printf       check consistency of Printf format strings and arguments
    shift        check for shifts that equal or exceed the width of the integer
    stdmethods   check signature of methods of well-known interfaces
    structtag    check that struct field tags conform to reflect.StructTag.Get
    tests        check for common mistaken usages of tests and examples
    unmarshal    report passing non-pointer or non-interface values to unmarshal
    unreachable  check for unreachable code
    unsafeptr    check for invalid conversions of uintptr to unsafe.Pointer
    unusedresult check for unused results of calls to some functions

For details and flags of a particular check, such as printf, run "go tool
vet help printf".

By default, all checks are performed. If any flags are explicitly set to
true, only those tests are run. Conversely, if any flag is explicitly set to
false, only those tests are disabled. Thus -printf=true runs the printf
check, and -printf=false runs all checks except the printf check.

For information on writing a new check, see golang.org/x/tools/go/analysis.

Core flags:

    -c=N
      	display offending line plus N lines of surrounding context
    -json
      	emit analysis diagnostics (and errors) in JSON format

$ go tool vet -help
vet is a tool for static analysis of Go programs.

Usage of vet:
	vet unit.cfg	# execute analysis specified by config file
	vet help		# general help
	vet help name	# help on specific analyzer and its flags

$ go tool vet help
vet is a tool for static analysis of Go programs.

vet examines Go source code and reports suspicious constructs,
such as Printf calls whose arguments do not align with the format
string. It uses heuristics that do not guarantee all reports are
genuine problems, but it can find errors not caught by the compilers.

Registered analyzers:

    asmdecl      report mismatches between assembly files and Go declarations
    assign       check for useless assignments
    atomic       check for common mistakes using the sync/atomic package
    bools        check for common mistakes involving boolean operators
    buildtag     check that +build tags are well-formed and correctly located
    cgocall      detect some violations of the cgo pointer passing rules
    composites   checked for unkeyed composite literals
    copylocks    check for locks erroneously passed by value
    httpresponse check for mistakes using HTTP responses
    loopclosure  check references to loop variables from within nested functions
    lostcancel   check cancel func returned by context.WithCancel is called
    nilfunc      check for useless comparisons between functions and nil
    printf       check consistency of Printf format strings and arguments
    shift        check for shifts that equal or exceed the width of the integer
    stdmethods   check signature of methods of well-known interfaces
    structtag    check that struct field tags conform to reflect.StructTag.Get
    tests        check for common mistaken usages of tests and examples
    unmarshal    report passing non-pointer or non-interface values to unmarshal
    unreachable  check for unreachable code
    unsafeptr    check for invalid conversions of uintptr to unsafe.Pointer
    unusedresult check for unused results of calls to some functions

By default all analyzers are run.
To select specific analyzers, use the -NAME flag for each one,
 or -NAME=false to run all analyzers not explicitly disabled.

Core flags:

  -V	print version and exit
  -all
    	no effect (deprecated)
  -asmdecl
    	enable asmdecl analysis
  -assign
    	enable assign analysis
  -atomic
    	enable atomic analysis
  -bool
    	deprecated alias for -bools
  -bools
    	enable bools analysis
  -buildtag
    	enable buildtag analysis
  -buildtags
    	deprecated alias for -buildtag
  -c int
    	display offending line with this many lines of context (default -1)
  -cgocall
    	enable cgocall analysis
  -composites
    	enable composites analysis
  -compositewhitelist
    	deprecated alias for -composites.whitelist (default true)
  -copylocks
    	enable copylocks analysis
  -flags
    	print analyzer flags in JSON
  -httpresponse
    	enable httpresponse analysis
  -json
    	emit JSON output
  -loopclosure
    	enable loopclosure analysis
  -lostcancel
    	enable lostcancel analysis
  -methods
    	deprecated alias for -stdmethods
  -nilfunc
    	enable nilfunc analysis
  -printf
    	enable printf analysis
  -printfuncs value
    	deprecated alias for -printf.funcs (default (*log.Logger).Fatal,(*log.Logger).Fatalf,(*log.Logger).Fatalln,(*log.Logger).Panic,(*log.Logger).Panicf,(*log.Logger).Panicln,(*log.Logger).Print,(*log.Logger).Printf,(*log.Logger).Println,(*testing.common).Error,(*testing.common).Errorf,(*testing.common).Fatal,(*testing.common).Fatalf,(*testing.common).Log,(*testing.common).Logf,(*testing.common).Skip,(*testing.common).Skipf,(testing.TB).Error,(testing.TB).Errorf,(testing.TB).Fatal,(testing.TB).Fatalf,(testing.TB).Log,(testing.TB).Logf,(testing.TB).Skip,(testing.TB).Skipf,fmt.Errorf,fmt.Fprint,fmt.Fprintf,fmt.Fprintln,fmt.Print,fmt.Printf,fmt.Println,fmt.Sprint,fmt.Sprintf,fmt.Sprintln,log.Fatal,log.Fatalf,log.Fatalln,log.Panic,log.Panicf,log.Panicln,log.Print,log.Printf,log.Println,runtime/trace.Logf)
  -rangeloops
    	deprecated alias for -loopclosure
  -shift
    	enable shift analysis
  -source
    	no effect (deprecated)
  -stdmethods
    	enable stdmethods analysis
  -structtag
    	enable structtag analysis
  -tags string
    	no effect (deprecated)
  -tests
    	enable tests analysis
  -unmarshal
    	enable unmarshal analysis
  -unreachable
    	enable unreachable analysis
  -unsafeptr
    	enable unsafeptr analysis
  -unusedfuncs value
    	deprecated alias for -unusedresult.funcs (default errors.New,fmt.Errorf,fmt.Sprint,fmt.Sprintf,sort.Reverse)
  -unusedresult
    	enable unusedresult analysis
  -unusedstringmethods value
    	deprecated alias for -unusedresult.stringmethods (default Error,String)
  -v	no effect (deprecated)

To see details and flags of a specific analyzer, run 'vet help name'.

Hello,
Not sure if this is for re-enabling previous wording or if it's open to change. I think this option could be reworded.
  assign       check for useless assignments
The options below it are much more expressive. Something like this:
assign check for common mistakes using assignments

This is better now.


Questions about some specific numbers in Galvatron.

I notice that there exists some specific numbers in Galvatron when searching for the optimal strategy. For example, in tools/Galvatron/bert/search_layerwise_hp_8gpus.py#L77~88, the parameter_size of BERT-Large is designated as 48.05, tp_activation_per_bsz_dict is designated as a constant dict, and other_model_states and other_activation_per_bsz are designated with two constants. I'd like to raise another example, in tools/Galvatron/bert/search_layerwise_hp_dist_16gpus.py#L93~94, there are two constant dicts called other_memory_pp_off and other_memory_pp_on. I'm wondering that how these numbers are obtained? Are there any scripts or formulations for accessing these constants? Moreover, BERT-Large has about 340M parameters in common sense, so I'm also confused about how 48.05 is obtained in Galvatron.
It would be of great help if you address the above questions. Many thanks!

In this old version, parameter_size 48.05 is obtained by manual profiling, which indicates the memory cost of the parameter size in one Bert-Large layer is 48.05 MB.
We will be releasing a new version of Galvatron in the coming weeks, which contains automatic profiling scripts that profiles the memory consumption and computation cost of any given model automatically.

In this old version, parameter_size 48.05 is obtained by manual profiling, which indicates the memory cost of the parameter size in one Bert-Large layer is 48.05 MB. We will be releasing a new version of Galvatron in the coming weeks, which contains automatic profiling scripts that profiles the memory consumption and computation cost of any given model automatically.

Thank you for your reply! I'm looking forward to the release of the new Galvatron version.

Hi, I have questions about some specific numbers in the cost model now. For example, in tools/Galvatron/utils/cost_model_dist.py#L174~L175, self.bct is multiplied by 2/3 and 1/3, respectively. It seems to indicate that the backward computation time is overlapped by 2/3 and not overlapped by 1/3 from my perspective. However, I am uncertain about how Galvatron arrived at these specific numbers. What factors contribute to these numbers?
Additionally, in tools/Galvatron/utils/cost_model_dist.py#L178, I observed that if the layer is an encoder, self.bct is multiplied by 1/2. This differs from the strategy [1,2,4]. Why is this the case?
Finally, why is it necessary for certain combinations of parallel strategies to consider the difference between encoder and decoder, while others do not? What distinguishes them?
I cannot find answers to them in Galvatron's paper and apologize for troubling you once again. Thank you very much!

These numbers are empirical coefficients obtained by observing the nsight timeline, which were introduced in order to obtain a more accurate cost model.


Unable to use scalar Time for Inputs

It looks like when you try to use scalar time as an input, you get an error message "cant unmarshal  (string) as time.Time

Make sure that string is RFC3339 compliant like "2006-01-02T15:04:05Z07:00" (see source)

still the same issue when i use compliant strings

time.Time is not an available input type, you should not use it. Use graphql.Time instead

@vetcher is correct. You have to define scalar Time in your schema and use the type defined in this library https://github.com/graph-gophers/graphql-go/blob/master/time.go#L11


Add feature of completing freehand during drawing

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Trying to implement a function of complete freehand in v3.
I added the public completeDrawing method for the reason of completing handles during drawing.
(e.g. When you need to end the active drawing and complete the polygon if I press enter key.)
And I tested in netlify-example/freehand/index.html

What is the current behavior? (You can also link to an open issue here)

There is no completing freehand.

What is the new behavior (if this is a feature change)?

Freehand will be completed if You call completeDrawing method in application-level.

Hey thanks for this, it's cool and pretty nice to quickly close polygons.
I'm happy to merge this as is, but perhaps it makes sense to just bind this to double click, since its currently unused in the drawing event loop. Seems more natural and intuitive than a key-press. We can do the same thing for touch with double tap also.
What do you think? If you don't have time I can merge this and then I can bind it to double click a bit later.

@sisobus, can you remove the Yarn lock file?

Hi, It really makes sense. I tested two methods (double click, a key-press) and the method of double click is more comfortable than a key-press.
So, I did. Thanks!

@dannyrb Of course!

Hey @sisobus , looks awesome, I love it!

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Performance optimization: improve write latency

According to Arcs-specific system traces, AndroidSqliteDatabaseRegistry:register spent 14+ ms on I/O just for a single column (last_accessed) update to the arcs_databases.
The long I/O blocking time happens on every single data write.
Using WAL mode in lieu of the default Truncate/Delete mode as what is adopted by other Android sqlite wrappers i.e. RoomDatabase by default.
See: https://developer.android.com/reference/androidx/room/RoomDatabase.JournalMode#AUTOMATIC
The patch can save us ~14ms for each write specifically handle.store()

We used to make a database journal mode as WAL when:
a) it's accessed frequently (select/update/insert/delete)
b) it's typically used as metadata tracking information/stats
c) multiple concurrent readers and writers per se
d) it doesn't store big chunks of data records
The arcs_database is a pretty good candidate to use WAL.


Remove unneeded middlewareAPI.dispatch declaration

(...args) => dispatch(...args) equals dispatch

sorry, I made a mistake!


Sparse cff2

Fixes https://github.com/fonttools/fonttools/issues/3233

Ignore the first commit. I pushed it to main now.

Okay now only test_varlib_build_sparse_CFF2 test failes, which might need new expectations.

Tests pass now.


[BUG] Devcontainer fails to start

Devcontainer fails to start due the following issues:

[ ] In Windows, the volumes specified in docker-compose.yml fail since they are Unix-like environment specific

[ ] The base image is based on bullseye whose packages repository does not appear to have contain Azure CLI release version
#7 8.251 Ign:6 https://packages.microsoft.com/repos/azure-cli bullseye InRelease
#7 8.313 Err:7 https://packages.microsoft.com/repos/azure-cli bullseye Release
#7 8.313   404  Not Found [IP: <IP_ADDRESS> 443]
#7 8.594 Reading package lists...
#7 9.439 E: The repository 'https://packages.microsoft.com/repos/azure-cli bulls
eye Release' does not have a Release file.

I think I fixed this bug with this PR https://github.com/microsoft/AzureTRE/pull/732

I just created a CodeSpace devcontainer and it works :)

Confirmed. It works.


Misc. timing test fixes

More evacuees from #17155 that can stand on their own.  These aren't related to the timeout work per se, except insofar as the bugs are sensitivities to timing.  See commit notes for details.
Note that two of the patches were written above the new conversion API, so they require #19591 to be merged before they will build in CI.

Removed the mis-merged fix that had already been rediscovered and merged via @vanti

@andyross should this be revived?

The queue one should be cleaned up and merged for sure; it's a rare but real hard spin condition.  The other two are less obviously.  I think they're probably coded wrong, but the final version of the timeout patch matched the per-cycle behavior of the original code a little better than the first version did, so they aren't needed.


Back-End: Create Access Request

Services, Controllers, Model, Request, Repository

Created the backend for access requests.


More examples + image formatting + additional info

-Initially, there was a large image that displayed various examples of the topic. The issue was that these examples weren't structured properly, as they are all jumbled up in one picture. Hence, the alternative was to create different images from Online Latex Equation Editor, in order to separate these examples, as well as explaining the steps of these examples to clarify the user's understanding of adding fractions with unlike denominators
-Added an extra case where adding mixed fractions with unlike denominators is a possibility
-Added the More Information section with 2 additional links

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

Closes #XXXXX

Very good

Thank you for opening this pull request.
This is a standard message notifying you that we’ve reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding.


Feature: Remove expander button calculate folder size setting in settings

What feature or improvement do you think would benefit Files?
Currently, the "Calculate folder size" setting in the app settings has an expander to show or hide the info bar that displays a warning.

This is simply unnecessary in my opinion, as the info bar control is tiny and the user has no interest in closing or opening it.
Requirements

Hide expander button calculate folder size setting in settings

Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.4317
Comments
No response

I don't think it does really matter to Files.
We can't show the InfoBar inside the Settings card. AFAIK the WCT one also can't. I really wonder it worth taking a look.

I'm not opposed to hiding the button, but the expander control is the best way to group the banner with the setting.

Yes I agree.

Let's go ahead with this

@Lamparter to clarify, the expected behavior is to keep the expander but to hide the expand button.

It appears that the entire expander header functions as a single button, and there isn't currently a way to remove the button using a custom style. For now, we'll keep the control as it is. However, we can revisit this issue if we transition to the Toolkit Setting control.


ci: codespell XLST

Following #1801, this PR adds a custom codespell dictionary.

I had some trouble running the command test\ci\run-codespell.cmd locally on win64, even on the master branch. Installing Python 3.12.0 made the problem go away, and now my output on the PR branch looks like the GitHub Actions output. It's possible that the problem wasn't inherently with the earlier Python version (3.11.3) but rather something about how it was configured on my system.
For the record, here's the error...
>test\ci\run-codespell.cmd

>echo Install codespell
Install codespell

>pip3 install     --disable-pip-version-check     --requirement requirements-dev.txt
Requirement already satisfied: codespell==2.2.6 in c:\python311\lib\site-packages (from -r requirements-dev.txt (line 1)) (2.2.6)

>echo Run codespell
Run codespell

>codespell
'codespell' is not recognized as an internal or external command,
operable program or batch file.

I call test\ci\run-codespell.cmd from git commit-msg and pre-commit hooks. It's been working fine.
My hooks always run path %PATH%;%SystemDrive%\Python3xx\Scripts before running test\ci\run-codespell.cmd, which might explain why I haven't encountered any errors.


add markdown formatter

Adds a markdown formatter to render a markdown table. Introduces tabulate as additional dependency.
Intorduces emojis to highlight severity as markdown tables lack color support.
on-behalf-of: @PHOENIXCONTACT<EMAIL_ADDRESS>

 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.

Relates to https://github.com/robusta-dev/krr/issues/154

Hi, thanks for the contribution. Are you able to sign the CLA? We require that for PRs.