poll: fix thread_cancel() caused poll used after free

Summary
poll: fix thread_cancel() caused poll used after free
    pthread 0          pthread1
    fd 0
    poll_setup
    wait
                       cancel(thread 0)
                       fd 0 close
                       fd 0 notify (sem used after free)
    poll_teardown

Resolve:
Use pthread_cleanup / tls_cleanup to fix this
Impact
POLL
Testing
SIM
This should be build with https://github.com/apache/nuttx-apps/pull/2548

@GUIDINGLI why is ti "breaking change" ? Does the Apps will stop to work after that modification?

@GUIDINGLI why is ti "breaking change" ? Does the Apps will stop to work after that modification?

@acassis
"breaking change" means:
I have modify the MACRO, replace a name, and other developer need pay attention on this.


debugPrint(status.releaseNotes); Printing null

  void initState() {
    super.initState();
    _createFolderInAppDocDir("PaperBook");
    final newVersion = NewVersionPlus(
      androidId: 'org.telegram.messenger',
    );

    Timer(const Duration(microseconds: 800), () {
      checkNewVersion(newVersion);
    });

  }

  void checkNewVersion(NewVersionPlus newVersion) async {
      final status = await newVersion.getVersionStatus();
      if (status !=null) {
        if (status.canUpdate) {
          debugPrint(status.releaseNotes);
          debugPrint(status.appStoreLink);
          debugPrint(status.localVersion);
          debugPrint(status.storeVersion);
          debugPrint(status.canUpdate.toString());
          showDialog(
            context: context,
            builder: (BuildContext context) {
              return UpdateDialog(
                description: status.releaseNotes ?? "No Information available.",
                appLink: status.appStoreLink,
                allowDismissal: true,
                version: status.storeVersion,);
            }
            );
        }
      }
  }

currently does not return the release of the application, we are working on a new version that supports this behavior.

new version: https://pub.dev/packages/new_version_plus

Printing something like this

Snapchat is a fast and fun way to share the moment with your friends and family 👻\u003cbr\u003e\u003cbr\u003eSNAP\u003cbr\u003e• Snapchat opens right to the Camera — just tap to take a photo, or press and hold for video.\u003cbr\u003e• Express yourself with Lenses, Filters, Bitmoji and more!\u003cbr\u003e• Try out new Lenses daily created by the Snapchat community!\u003cbr\u003e\u003cbr\u003eCHAT\u003cbr\u003e• Stay in touch with friends through live messaging, or share your day with Group Stories.\u003cbr\u003e• Video Chat with up to 16 friends at once — you can even use Lenses and Filters when chatting!\u003cbr\u003e• Express yourself with Friendmojis — exclusive Bitmoji made just for you and a friend.\u003cbr\u003e\u003cbr\u003eSTORIES\u003cbr\u003e• Watch friends\u0026#39; Stories to see their day unfold.\u003cbr\u003e• See Stories from the Snapchat community that are based on your interests.\u003cbr\u003e• Discover breaking news and exclusive Original Shows.\u003cbr\u003e\u003

It is correct, because the country code is in English, now a variable has been added to support the country code that you want, the version is 0.0.6
new version: https://pub.dev/packages/new_version_plus,

final str = releaseNotes?.replaceAll("\<(.)?\>(.)\</\1\>", "");

final expRemoveSc =
RegExp(r"\u003c[A-Za-z]{1,10}\u003e", multiLine: true, caseSensitive: true);
releaseNotes?.replaceAll(expRemoveSc, '')
this was added in version 0.0.7


chore: Migrate grafeas synth.py to bazel

The changes in grpc stubs are caused by the gRPC upgrade from 1.10 (more than a year old) to 1.27 (same version which is used as runtime dependency).
The shell scripts changes are not related to bazel change.

@chingor13 PTAL


Rest argument can be split from ampersand (&)

Hey there!
Sometimes, the length of a given set of params can be long enough that the rest argument (& body, generally) is split across lines. Would it be possible to treat the & and the following argument as a single entity, and either split before or after them but never between?
Thanks so much!
(defn example
  [vvvvvvvveeeeeeeerrrrrrryyyyy looooooooooooooooooonnnnggggg paraaaaaaaaaams &
   body]
  (+ 1 2 3))

hah No problems, I don't mind waiting. Thank you so much for your tireless work!

This is now implemented in 1.2.5.   Use :vector {:no-wrap-after #{"&"}} to get the behavior you want!

Excellent, thank you!


Deletd the gruv box theme (crashing)

I deleted the gruvbox theme section cause it was crashing (or it was having a bug)

I think it's because it broke the syntax in init.lua . Here's a potential problem i noticed:

unclear ASCII header on different terminals

I use kitty and it works pretty well on it. So it's suggested to use either the default theme or use a different terminal.
Here's a workaround you can do for setting the default theme by default on your init.lua. Add this to the top of your file and remove the gruvbox plugin portion separately. Then go :PackerSync
vim.cmd("colorscheme default)


fix(node): fix issue with undefined startRoute in iframePreviewUrl

This doesn't actually fix the issue as the + operator has higher precedence than ??. I'm preparing another PR that fixes it.

https://github.com/codesandbox/sandpack/pull/1036


First Contribution by Owoeye Isaac

Name : Owoeye Isaac
Project Assigned: bqplot
Link to governance model: https://github.com/bqplot/governance/blob/master/governance.md
THE GOVERNANCE MODEL OF BQPLOT
Contents:

What is Bqplot?
Explaining The Governance Model of Bqplot.
Project Roles
Decison Making
Difficulty In Research
Conclusion

What is bqplot?
Bqplot is an interactive plotting and charting library intended to be used with Jupyter notebooks and ipywidgets.
It is a great visualization tool which includes advanced featues such as candlestick chart, choropleth map, correlation map, etc. which makes it relatively easy to use for beginners.
Governance Model
The governance model of bqplot describes the structure and processes for the bqplot project, which is a data visualization library for Python. The governance of the project is intended to provide a crystal clear and transparent decision making processes for the community of contributors and users, and to ensure the ongoing development and maintenance of the project.
The governance outlines the roles and responsibilities of various members of the community, including the project lead, core contributors, and external contributors. It also describes the decision-making processes for the project, including how proposals are made and evaluated, how new contributors are brought on board, and how conflicts are resolved.
Overall, the governance of the bqplot project is intended to foster a collaborative and inclusive community of contributors, while ensuring that the project remains stable, reliable, and relevant to the needs of its users.
Project Roles

Streering Council
Project Contribtors
Institutional Partners

Decision Making
The Streering Council been at the top in the role hierachical, shoulders the responsibity of decision making in the bqplot governance model, which includes the overall scope vision and direction of the project, strategic collaborations with other organizations or individuals, fund sourcing and spending, etcetera.
Difficulty In Researching
The contents on the bqplot governance page provides me with an all inclusive information I needed to know about bqplot and its governance model which makes it relatively easy to understand the bqplot governance model, but reading on goggle about bqplot futher provides me with an indept view to what bqplot and its governance model is really about.
Conclusion
In conclusion bqplot governance model provides an efficient structure and process for the BQplot project, while maintaining and all rounding connectivity between the contributing teams and the BQplot project.
cc @arliss-NF

Closing this issue - feedback is given on the second contribution by this applicant.


copy.cpp fixes

just a different version (which I prefer).
But actually... this stuff should not be user code like this, but belongs in the library. Too much opportunity for mistakes otherwise.

If one actually uses this library which I can assure you is very rare.

As you can see this copy thing can be implemented in a number of different ways.

copy() is now working as expected.


Missing CPU features

After updating to version 0.10.0, the approval task container refuses the start and shows the following error:
The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BMI1, BMI2, FMA].
Please rebuild the executable with an appropriate setting of the -march option.

According to Quarkus' docs there's a build parameter that can be added to increase the chance of compatibility with older CPUs.
Are the new CPU features required for Approval Task 0.10.0? If that's not the case, can the image be built with the compatibility flag?

thanks for reporting. Just build it to be able to test it out - can you give a try mswiderski/automatiko-approval-task:0.10.1 image and let me know if that solves the problem? If so I will push new official release

Yes, I can confirm that mswiderski/automatiko-approval-task:0.10.1 starts and runs properly. Thanks! :)

fixed with https://github.com/automatiko-io/automatiko-approval-task/commit/3c0c6cb7b3b99e80f99d7cad28738dbdcec072da
now official image for automatiko/automatiko-approval-task:0.10.1 is pushed to docker hub and ready to be used.


Any recommendations about live demos or sandbox examples

I'm mostly looking for tools/libraries that help projects build documentation that showcases their javascript. Sites like http://github.hubspot.com/executr/ or http://requirebin.com/ come to mind as starters.

Hmm. That's a good question. Let's see what we can find...

Depends on what kind of JS you're referring to, but I think the react docs index does a pretty nice job: https://facebook.github.io/react/index.html- the rest of their docs are more follow-along. Chartist does an amazing job showcasing with live sandbox editing: https://gionkunz.github.io/chartist-js/
I think Mark also already mentioned ember. They do a good job of this as well.

@kentmw Does this help at all?

These are great examples of sites that realize that running the actual code alongside their documentation is important. Couple things:

I really would love to see a library/npm package that made these things possible for other projects - having to rebuild documentation infrastructure is annoying, time consuming and error prone.
Bonus points would be a place where readers of the documentation could change the demo code and see how the code reacts. Change variables/constants here and there and see things change. Play with the API a bit to see if it feels right. @artemist I took a look at charlist to find the live sandbox editing you spoke of, but I couldn't find it. I saw some demo charts but no sandbox - is there a link to what you saw? EDIT: found it: https://gionkunz.github.io/chartist-js/examples.html YES! what did they use to let you do that??

I just saw: https://tonicdev.com/ as a sandbox environment that can hook into npm modules. I'm wondering if there's a way to hook premade tonic environments into documentation.


sort use statements

Most of code have sorted use statements, some of them not sorted. I sort it for consistency and easier to check alphabetically.
Checklist:

[x] Securely signed commits

I remember that I proposed this before and not accepted, closing it.


Installation issue

Hi, what's the right way to install this?
Just got this error:
julia> Pkg.add(url="https://github.com/simon-lc/Mehrotra.jl.git")
    Updating git-repo `https://github.com/simon-lc/Mehrotra.jl.git`
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package CALIPSO [4c24e94e]:
 CALIPSO [4c24e94e] log:
 ├─possible versions are: 0.1.0-0.1.1 or uninstalled
 ├─restricted to versions * by an explicit requirement, leaving only versions 0.1.0-0.1.1
 └─restricted by compatibility requirements with Symbolics [0c5d862f] to versions: uninstalled — no versions left
   └─Symbolics [0c5d862f] log:
     ├─possible versions are: 0.1.0-4.13.0 or uninstalled
     └─restricted to versions 4.9.0 by Mehrotra [ff64e54f], leaving only versions 4.9.0
       └─Mehrotra [ff64e54f] log:
         ├─possible versions are: 0.3.0 or uninstalled
         └─Mehrotra [ff64e54f] is fixed to version 0.3.0
Stacktrace:
  [1] propagate_constraints!(graph::Pkg.Resolve.Graph, sources::Set{Int64}; log_events::Bool)
    @ Pkg.Resolve ~/julia-1.8.2/share/julia/stdlib/v1.8/Pkg/src/Resolve/graphtype.jl:1072
  [2] propagate_constraints! (repeats 2 times)
    @ ~/julia-1.8.2/share/julia/stdlib/v1.8/Pkg/src/Resolve/graphtype.jl:1008 [inlined]
  [3] simplify_graph!(graph::Pkg.Resolve.Graph, sources::Set{Int64}; clean_graph::Bool)
    @ Pkg.Resolve ~/julia-1.8.2/share/julia/stdlib/v1.8/Pkg/src/Resolve/graphtype.jl:1533

Fixed by uninstalling a CALIPSO I had installed previously, and running:
add https://github.com/simon-lc/Mehrotra.jl.git
in the Julia Pkg

Great to hear! Thanks for closing the issue


Typo in arguments/optional

I'll close this particular PR in favor of an older one that has the same fix.


--load_8bit=True

Hello, I was wondering if it's possible to use 16bit, 32bit, etc. I have a single 3090ti

Sure, you can use 16-bit for some models, but you don't want to use 32-bit, that would be abnormal and waste memory.
I use up to 7B locally on GPU with my 3090Ti.  But 13B models can be fit with 8-bit, and you should probably try AutoGPTQ (TheBloke GPTQ) models for best balance of performance and accuracy.

Awesome, thanks bro. I asked the model what token size we're using and it said 512 (on the 2048 7b model you are referring to). It said it can be changed from the config file to 2048. Same with enabling local filesystem access. Is there a config file for each model or one main config file I'm not locating?

Actually, I think I'm using a different 7b version. Can you tell me the exact name of the one you are referring to?

h2oai/h2ogpt-gm-oasst1-en-2048-falcon-7b-v3

Cheers big ears


allow customize metrics and health port when run local

/test openstack-operator-build-deploy-kuttl

/test openstack-operator-build-deploy-kuttl


rails-api new generator add require "action_view/railtie" in application.rb

Using rails 4.1.5, the new generator generates an application.rb file with row
require "action_view/railtie"

is this correct?

This is not an issue and it's stale so I'm closing it for now, in case you need help please comment back.


Replace oudated jquerySortable plugin by SortableJS lib

Questions
Answers

Description?
Please check the fixed ticket below, and jquerySortable plugin's author suggestion at deprecation-notice

Type?
refacto

BC breaks?
no

Deprecations?
no

Fixed ticket?
Fixes PrestaShop/Prestashop#30210 (partially)

How to test?
1. Apply this PR changes   2. In terminal run:    cd /modules/ps_facetedsearch    npm run build3. Clear Web browser cache and PrestaShop BO cache  4. Clear cache in the module BO Configure page  5. In the module BO Configure's Filters templates Add/Edit screen:  a) For PS 8.0 or older: check HTML page source to see jquery/plugins/jquery.sortable.js loaded, then check sortable feature  to make sure the filters can be dragged, dropped and Saved there, then showed in FO accordingly, as usual. b) For PS 8.1 or newer: apply PR 30225; check HTML page source to see vendor/Sortable.min.js loaded instead; then check sortable feature  to make sure the filters can be dragged, dropped and Saved there, then showed in FO accordingly, as prior.

This change is

Hi @leemyongpakvn, can you rebase your branch from dev plz. I did it on my fork and it solve the CI issue. Thanks

@lartist There is no luck after 4 times closed / reopened. Fortunately, there is a magic : Sync Fork that solved the issue.

@leemyongpakvn I did rebase your branch to kick the merge commit you added by syncing your fork and merging dev into your branch

rebase

Hello @leemyongpakvn
Thanks for your PR.
I have a question. This PR should be tested on develop ? As on steps 5. b) on the How to test section, we should apply this PR which is merged already on develop!
Waiting for your feedback!

Hello @HanaRebaiQA To avoid a BC break, this PR introduced using a new JS library while keeping support the old one. 3 months passed since this PR firstly approved, then PR 30225 was merged to PS 8.1. I have just tweaked Step 5 to fit with current status:

for 5a) you can use PS 8.0 or PS 1.7.8
for 5b) you can use PS 8.1 or develop

@MhiriFaten 8.1.0 is not released yet, it is still in beta phase. Please try again 8.1.x or develop branchs.

@leemyongpakvn Yes I tested it with develop branch

@MhiriFaten There is no need to change PR description. ps_facetedsearch/views/dist/back.js is loaded in both 5a) and 5b)
The differrence is we need to see
vendor/Sortable.min.js above it in PS 8.1.x or newer
and
jquery/plugins/jquery.sortable.js above it in PS 8.0.x or older

Thank you @leemyongpakvn

@MhiriFaten Please confirm you see vendor/Sortable.min.js above ps_facetedsearch/views/dist/back.js in PS 8.1.x or newer. If not we need check again. :pray:

Hi @leemyongpakvn ,
As I already answered you in my first comment that vendor/Sortable.min.js does not exist, but it seems that I had a misunderstanding in your comment when you said "please find ps_facetedsearch /views/dist/back.js instead", so I figured it is enough to have the ps_facetedsearch/views/dist/back.js.
Sorry for that, but vendor/Sortable.min.js does not exist as I already told you from the beginning.

@nicosomb Please revert this PR merge because QA approved is the result of a misunderstanding between I and @MhiriFaten. We need to check again :(

@MhiriFaten What did you see right above ps_facetedsearch /views/dist/back.js in 5b) ?
Do you see Sortable.min.js file in your PrestaShop develop /js/vendor folder ? like the screenshot below

@leemyongpakvn Yes !

Great, so you have Sortable.min.js there.
Did you do Step 3 - Clear browser cache and BO > Advanced Parameters > Performance > Clear cache before proceed Step 5b ?

@leemyongpakvn if the module behaves ok, we don't need to revert anything, I see that you have an if in the code that checks whether the Sortable.min.js exists, isn't that enough?

@leemyongpakvn yes I did all steps and I didn't found vendor/Sortable.min.js
Untitled_ Apr 12 2023 9_49 AM.webm


4.17.5 Hotfix

Linux hotfix release for 4.17.5
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] If applicable, the PR references the bug/issue that it fixes in the description.
[x] New Unit tests were added for the changes made and CI is passing.

As of now release/4.x-hotfix and 4.17.4 are identical, as expected
https://github.com/Azure/azure-functions-docker/compare/release/4.x-hotfix...4.17.4


Black-translucent statusBar and fixed navbar

When the app has a fixed navbar and statusBar is set to black-translucent an extra 20px is added to the navbar's height.
With statusBar="black-translucent"

without

Thanks- just curious, what do you mean by fixed navBar?

The point is that the extra space is hidden behind the translucent toolbar. This is what I see: http://cl.ly/Cshs
What are you testing on?
Thanks,
Dave

I'm using iScroll to keep the div with the toolbar class on the top of the screen. I'm not sure if Thomas would get the same extra space with his fork since he's migrating to the -webkit-box CSS. Anyone that uses the jqt.bars extension shouldn't be using black-translucent anyway since nothing will every be sliding up that way.
I'm using the iOS simulator, an iPhone, an iPhone 3g and an iPhone 4 for testing. The new jQT core is in the development/jQT_20111217 branch of my fork in case you want to check it our.

i fix it with
statusBar: 'default',
in var jQT = new $.jQTouch
I'm doing a version with iScroll too


Making namespace based separation configurable

SF/Interoperator currently creates CRs either all in default namespaces, or creates namespaces for each service instance and puts the CRs there. With this change, we also enable a configurable namespace instead of default namespace.

If the broker has apiserver. enable_namespaced_separation flag as true, it creates separate namespace, else if it has apiserver.services_namespace set, it takes that as the namespace name. otherwise, it goes to the default namespace(BOSH based usecase).

Helm chart now supports both these values, enable_namespaced_separation which is by default true and services_namespace which is not used by default.

Pull Request Test Coverage Report for Build 3687

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.009%) to 89.103%

Files with Coverage Reduction
New Missed Lines
%

data-access-layer/eventmesh/src/ApiServerClient.js
1
92.45%

Totals

Change from base Build 3683:
0.009%

Covered Lines:
9165

Relevant Lines:
9929

💛  - Coveralls


apt-get update fails

apt-get update fails, as there seems to be an issue with the source file.
This seems to solve the issue: https://superuser.com/questions/1423486/issue-with-fetching-http-deb-debian-org-debian-dists-jessie-updates-inrelease
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease  Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

I'm seeing this too. It looks like it's been fixed in the base image but this hasn't triggered a rebuild of this image:
https://github.com/docker-library/official-images/pull/5609

That is weird, not sure why my image build hasn't been triggered. I'll try manually triggering one, then please let me know if it works.

New version exists: https://cloud.docker.com/repository/registry-1.docker.io/geerlingguy/docker-debian8-ansible/builds/b090a409-7868-4e24-9af1-8b916905b56b
Please let me know if this works for you now!

`fatal: [instance]: FAILED! => {"changed": false
"cmd": "apt-get update"
"msg": "W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease  Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored
or old ones used instead."
"rc": 100
"stderr": "W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease  Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored
or old ones used instead.
"
"stderr_lines": [
"W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/InRelease  Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)"
""
"E: Some index files failed to download. They have been ignored or old ones used instead."]
"stdout": "Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]
Ign http://deb.debian.org jessie InRelease
Get:2 http://deb.debian.org jessie-updates InRelease [7340 B]
Get:3 http://deb.debian.org jessie Release.gpg [2420 B]
Get:4 http://deb.debian.org jessie Release [148 kB]
Get:5 http://security.debian.org jessie/updates/main amd64 Packages [824 kB]
Get:6 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
Fetched 10.1 MB in 6s (1637 kB/s)
"
"stdout_lines": [
"Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]"
"Ign http://deb.debian.org jessie InRelease"
"Get:2 http://deb.debian.org jessie-updates InRelease [7340 B]"
"Get:3 http://deb.debian.org jessie Release.gpg [2420 B]"
"Get:4 http://deb.debian.org jessie Release [148 kB]"
"Get:5 http://security.debian.org jessie/updates/main amd64 Packages [824 kB]"
"Get:6 http://deb.debian.org jessie/main amd64 Packages [9098 kB]"
"Fetched 10.1 MB in 6s (1637 kB/s)"]}`
Odd, I still get this issue running "molecule test" on https://github.com/sopel-irc/ansible-sopel


Flag event should have a team attr

https://github.com/urt30plus/urt30t/blob/ab92155fbf8e101fab8461f1d8822b8847f12a5b/urt30t/events.py#L195

moved to issue #24


Extremely slow performance with utils.generate()

I'm experiencing extremely slow generation times using the InferenceRecipe from torchtune-0.2.1 with the LLaMA3.1 model without
fine-tuning. My workflow involves calling recipe.setup() and then using recipe.generate() for every prompt.
For comparison, using the Hugging Face pipeline with the same model (LLaMA3.1), generating 100 samples takes around 14 minutes. However, with torchtune, generating the same 100 samples with identical prompts takes over 17 hours.
Could you help me understand what might be causing this significant slowdown, and is there any way to speed up the generation process with torchtune?

Could you share any corresponding HF code? Are you using KV-cacheing with HF?
Models like LLama3.1 have very long context lengths, so it's advised not to use KV-cacheing during decoding with them, as we default to setting the cache up with the maximum sequence length of the model. If this is the case and you're not using KV-cacheing, it could explain the speed difference.
We have an overhaul of our generation + cacheing utilities in the works, which, among other things, allows you to use KV-cacheing with long-context-length models like Llama3.1 by overriding the cache sequence length. Hopefully this should help when it lands in the next week or two.

Thank you for your prompt response!
Here’s the code I’m using with HF:
import transformers
model_id = "meta-llama/Meta-Llama-3.1-8B-Instruct"
pipeline = transformers.pipeline(
    "text-generation",
    model=model_id,
    model_kwargs={"torch_dtype": torch.bfloat16},
    device=device,
)

prompt = pipeline.tokenizer.apply_chat_template(
    prompt, tokenize=False, add_generation_prompt=True
)

terminators = [
    pipeline.tokenizer.eos_token_id,
    pipeline.tokenizer.convert_tokens_to_ids("<|eot_id|>"),
]

outputs = pipeline(
    prompt,
    max_new_tokens=1024,
    eos_token_id=terminators,
    do_sample=True,
    temperature=0.6,
    top_p=0.9,
    pad_token_id=pipeline.tokenizer.eos_token_id,
)

llm_output = outputs[0]["generated_text"][len(prompt):]

I’m not entirely sure if this setup uses KV-caching under the hood in HF. Is there anything I can check to verify that?
In the meantime, is there any tweak I can apply with Torchtune to speed things up before your update is available? Also, can I try the cache implementation in the nightly version beforehand?
Thank you again!

I just noticed you're looking at 17 hours in torchtune, sorry, I misread that the first time, that's way too long. Something else may be afoot. Could you share how you're generating in torchtune?

Solved! Setting enable_kv_cache=True in model.setup() made it much faster! Thank you so much for your help!!

Yeah it makes a huge difference! If you're looking for even more speedups try out compile by moving this line https://github.com/lucas-ventura/torchtune-test/blob/0300272495497255bd20fbe067381ddcf40de37d/inference.py#L171
out of the if-statement for quantized-models only (you could set it under your own flag in the generate call in your example. You should see a pretty nice speed bump from there too.


chore: include threadID into the log format + use short version of No…

Purpose

Add threadID into the log format as due to new tarcap design, it can happen for example that multiple packets of the same type are processed at the same time and logs would mix up, which would make debugging very difficult. ThreadID should enable filtering if needed

use short node id instead of full version

New format:
"%ThreadID% %ShortNodeId% %Channel% [%TimeStamp%] %SeverityStr%: %Message%"
0x00007f4652ffd700 de2b1203… TARCAP_TP [2021-09-28 16:10:46.099704] DEBUG: Worker (0) started

@rattrap Do we need to adjust also Kibana as log format changed ?

prnet cleaned-up successfully


Right Context going out of the viewport

Hi @isaacplmann ,
Can you handle this case of positioning of right context menu If it crosses out the browser's view-port i.e. when it goes out of window , allign it to left side or so.
Thanks,
Riya

This should be fixed in 0.7.0

Closing. Reopen if it isn't fixed.

Hi @isaacplmann , It's not working if the menu opens at the bottom of the page. Can you reposition it above the div if it breaches out of view port from bottom.

Hey @isaacplmann , I have tested it for above browsers as well and it's not working. By the way , The case is right click menu should be at the bottom of the page .At the very bottom , If you try to open it , goes below the screen and it's not visible .
Please look into the same

I'm using 0.7.1 , tried with 0.7.0 as well

I still can't reproduce this.  Any ideas about why your environment might be different from mine?

Is it the body that is scrolling or some element with overflow:auto?

Hello @isaacplmann,
Here's the exact case.
I have an unordered list which has gone beyond the browser's viewport at the bottom. When I try to open the menu of the last visible list item which is close to viewport (on right click), 90% of the menu is below the viewport. I could scroll the page but then it will close the right context.

Could you please reposition (may be top placement) the menu if it is related to those which are closer to the viewport ?
The menu should be visible at the bottom of the list item only when there is enough space for menu accommodation below the respective list item. Otherwise, it should be placed at top of the list item .Something as this

Thank you for the pictures, but in all my tests, the correct behavior is happening.
I noticed @lagofvc reacted to a few of the comments on this issue.  Are you experiencing the same issue?

How are the ancestors of the <context-menu> element styled?  Maybe that has something to do with it.  Could you send me a github repo that reproduces this issue?  I'm kind of at a loss.

FYI, it got fixed for us when we updated to<EMAIL_ADDRESS>  Our context-menu now drops-up when at the bottom.

Closing.  Please open an issue at ngx-contextmenu if this still doesn't work.


Match only if YAML is used as a word

Currently shows error RedHat.CaseSensitiveTerms	Use 'YAML' rather than 'yaml'. for the line
.Example plugin.yaml
This check ensures that the check will only match (space)yaml(space) and not (dot)yaml

Hi @gaurav-nelson, I only looked briefly on your suggested change but wouldn't this mean that Vale will stop showing errors for yaml when it appears at the beginning of a line or when it is followed by a punctuation mark? I would imagine the following are common occurrences:
Yaml is not a markup language.
Compared to yaml, JSON has way more curly braces.

Thank you @jhradilek I agree with your comment. Regexes are fun 😃
How about \s([Yy]aml)|^([Yy]aml) PS: https://regex101.com/r/eTohSK/1
Let me know and I can update the PR.

Can you add some tests?

Thank you @themr0c I've updated the PR to include tests.


Question about loss function (train.py code 168 line)

Firstly, thank you for releasing your codes. It's very helpful for my research :)
I wonder if the objective function in train.py(168 line) is just about Rotation and Translation class. Because, in your paper, highest score on ImageNet was the result of trained by RotNet + Translation + Self-attention + Resize.
I hope you could answer for my question soon !

Self-attention is in the architecture and not the loss. We did not include the resize code since it only slightly improved performance.
resize_and_crop = trn.Compose([trn.Resize(256), trn.RandomCrop(224)])
resize_and_crop_and_zoom = trn.Compose([trn.Resize(256), trn.RandomCrop(224), trn.Resize(300), trn.CenterCrop(224)])

# ...

    def __getitem__(self, index):
        x, _ = self.dataset[index//num_perts]
        pert = pert_configs[index % num_perts]

        if pert[0] == 0:
            x = np.asarray(resize_and_crop(x))
        else:
            x = np.asarray(resize_and_crop_and_zoom(x))

        if np.random.uniform() < 0.5:
            x = x[:,::-1]

        label = [expanded_params[i].index(pert[i]) for i in range(len(expanded_params) - 1)]
        label = np.vstack((label + [0], label + [1], label + [2], label + [3]))
        x = trnF.to_tensor(x.copy()).unsqueeze(0).numpy()
        x = np.concatenate((x, np.rot90(x, 1, axes=(2, 3)), np.rot90(x, 2, axes=(2, 3)), np.rot90(x, 3, axes=(2, 3))), 0)
        return torch.FloatTensor(x), label


briefcase is still not compatible with pip v10

#117 doesn't fix pip v10 compatibility :(
  File "/opt/briefcase/briefcase/app.py", line 457, in run
    self.install_support_package()
  File "/opt/briefcase/briefcase/app.py", line 402, in install_support_package
    pip.download.unpack_url(
AttributeError: module 'pip' has no attribute 'download'

Full output: https://travis-ci.org/jedie/pybee-docker/builds/366740949

Gah... I made a mess of this one. I made the changes on my fork and did a release without merging into the main repository. Should be corrected now.

... or not.  Working on it now.

Ok; this has now been released as v0.2.3. It's a bit of an interim fix; longer term, we shouldn't be relying on the internal API of pip.
Thanks for the report (both of them 😅)

Now it works, see: https://travis-ci.org/jedie/pybee-docker ... But i have still the Android SDK licence problem...


Update dependency on apollo-cache-inmemory above 1.3.6

I'm running into a bug that I believe has been fixed in<EMAIL_ADDRESS>and<EMAIL_ADDRESS>per his comment/thread:
https://github.com/apollographql/apollo-client/issues/3992#issuecomment-432021595
In the current version of vue-apollo, it looks like apollo-client is tied to "^2.4.1" (ok) and apollo-cache-inmemory is tied to "^1.2.9" (not ok).
It would be lovely to see this dependency tested and updated in the vue-apollo package.

1.3.6 matches ^1.2.9 in semantic versioning.

Oh you are 100% correct. However, I am still running into the listed problem. Might not be a version issue after all though. I'll see if I can get a good isolated test case going. Thanks!


Parser and divide

In python 2, the division of two integers leads to a new integer. In python three, this is relaxed (will yield float). This behaviour can be used in python2 also. However, the optspec parser does not do this:
from __future__ import division
assert 0.75 == 3/4

%%opts Raster [aspect=3/4]
hv.Raster(np.random.randint((10,20))

Gives ZeroDivisionError

Agreed, the parser module should simply import from __future__ import division.

This has been fixed in the PR reference above. I'll close this issue once it is merged.

The PR has been merged.


Redact CPK headers in log output.

Currently, azcopy will emit the following headers to log files, when using Customer Provided Keys:
x-ms-encryption-key
x-ms-encryption-key-sha256
I believe this is unexpected for some users. This patch redacts those headers from log files, such that encryption keys do not accidentally leak.

Another PR in the azure-storage-blob-go dependency:
https://github.com/Azure/azure-storage-blob-go/pull/331


Exception in BeforeTests or AfterTests stop a test suite from finishing.

If an error occurs in beforeTests() or afterTests() it throws an exception and stops the test suite from running. This should report the exception and move on to other tests.

I'll add an issue for updating the eclipse plugin to report if an occurs in beforeTests() or afterTests(), and go ahead and merge this in.  Thanks!

:D


Docs: mapping of color space names - CSS space ids/function names, Color.js serialized, and Color.js space ids

The attached pdf and Excel files are a matrix of the three different versions of string color space ids/names/tokens.  The docs should include a version of this matrix and an explanation of the rules for creating derived versions of the names, like the serialized --a98-rgb-linear versus rec2100pq.
color space names.pdf
color space names.xlsx

Nice, although it is missing color space names from the (very new) CSS Color HDR

I updated the pdf and xlsx files to include the new CSS HDR color spaces, in gray.  Note that Color.js has REC2020 linear, but not REC2100 linear.  It's the only one of the new spaces not currently supported by Color.js.  Note that the Color.js ids/serialized names for REC2100-HLG and -PQ are now mismatched too.

Note that Color.js has REC2020 linear, but not REC2100 linear. It's the only one of the new spaces not currently supported by Color.js.

Because we define these spaces over the extended range, and because these two use a linear-light transfer function, and because they use the same primary chromaticities and white point, they are two names for the same thing. See

https://github.com/color-js/color.js/issues/443

Any idea when those new color spaces be available in browsers?

Around the same time that Canvas HDR is supported in browsers.

Note that the Color.js ids/serialized names for REC2100-HLG and -PQ are now mismatched with CSS too

Yes we should fix those serialized forms in color.js


Query helper method for filter values containing operators

Basic implementation proposal for yiisoft/yii2#2022
implementation in Gii CRUD generator in PR yiisoft/yii2-gii#43
implementation in MongoDB extensions in PR yiisoft/yii2-mongodb#24
Shortcomings/todo's:

filtering on non-scalars (where IN statements) not supported
Numeric properties with a corresponding validation rule will yield
errors when they contain an alphanumeric operator. These properties'
rules should be defined as 'string' or 'safe'.

@cebe Porting to the NoSQL implementations is a good idea. I've made an attempt in yiisoft/yii2-mongodb#24.
Can you review it? It seems to work, but I've had to add support for arbitrary operators in the conditionBuilders. My experience with MongoDB is limited, so i'm not sure if this might break anything or cause security risks.

Please see my some enhancement https://github.com/githubjeka/yii2/commit/cf8b0ae07e2757b5c41ecc65938c8125ba981dea?diff=split
Probably you need a method orFilterCompare() also.

I think orFilterCompare() is not very usefull for the use case in GridView filtering for which this PR is intended, because results would be counterintuitive. Perhaps there is another use case for which it's more usefull?

@cebe Any updates on getting this merged in?  I can use an override for now (and use the code in the PR), but would love to see it in the framework! :+1:

Sorry, I do not remember to have seen this one actually :) Set for 2.0.8 milestone, will try to review it for next release.

@cebe :+1: Seems like you must have seen it at one point, as it was self-assigned, but that was almost a year ago and you guys have been busy! :smile:

can you add this to the guide? it will be easier to review this way.

@lennartvdd can you add this to the guide? it will be easier to review that way

merged, thank you! Keeping yiisoft/yii2#2022 open for documentation.

Does using numeric comparison operators work with decimal data types (mysql decimals)?  Would love to be able to filter for instance on employees with hourly rates greater than some number (e.g. >= 50.00).   Thanks, S.

Should. Did you try it?

I should probably clarify that I am using the Gii generated GridView.  Yes, tried it.  Gives error: "Hourly Rate Base must be a number."  I'm entering '>100.00' in the input for the field in the GridView search.

@sr1234 you should check #14014 since thats  rules issue

@Faryshta Thank you :)


Enable autopublish ti NPM in the CI

In this one we should also take care to unpublish version 0.1.0 so that the first published version is 0.1.0 :)


fix: Setting saturation params on logistic model when producing forec…

Description
Issue when setting saturation params and forecasting into the future. Root cause cap/floor columns not defined in future data frame.

Related Issue
Type of Change

[ ] 📚 Examples / docs / tutorials / dependencies update
[x] 🔧 Bug fix (non-breaking change which fixes an issue)
[ ] 🥂 Improvement (non-breaking change which improves an existing feature)
[ ] 🚀 New feature (non-breaking change which adds functionality)
[ ] 💥 Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🔐 Security fix

Checklist

[ x] I've read the CODE_OF_CONDUCT.md document.
[ x] I've read the CONTRIBUTING.md guide.
[ x] I've updated the code style using make format-code.
[ x] I've written tests for all new methods and classes that I created.
[ x] I've written the docstring in Google format for all the methods and classes that I used.

My pleasure @MaximeLutel - Awesome product you've developed here! I've committed the changes as requested.

That's great thanks!


feat: 🎸 Make Distribution.currency of type Asset

Description

Breaking Changes

JIRA Link

Checklist

[ ] Updated the Readme.md (if required) ?

/fast-forward


Do as little work as possible during offline calculations

Busy waits affect offline stack calculations.  Without this sleep, I get 20% fewer offline stacks.

This is something we will have to look at more closely. We understand the issue, but the move away from Sleep was done with thought and purpose.


using-codecov

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@4932372). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #19   +/-   ##
=======================================
  Coverage        ?   98.35%
=======================================
  Files           ?       17
  Lines           ?      304
  Branches        ?       69
=======================================
  Hits            ?      299
  Misses          ?        5
  Partials        ?        0

Continue to review full report at Codecov.

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


can't get an export

This is precisely the tool I need, but I can't get it to work (Mac OSX 10.15.6).
I get the .xpi installed and have restarted Zotero several times.  I right click on a PDF with a couple of highlights (saved, no longer open), and I get the menu.  I select "Export item(s) to Roam" and nothing happens.

You need to right-click and export the item, not the PDF (the item is the parent of the PDF in your zotero window):

Duh ... thanks!


File explorer rendering issues

First of all, love vscode ❤
amazing job

VSCode Version: Version 1.22.1 (1.22.1)
OS Version: 950b8b0d37a9b7061b6f0d291837ccc4015f5ecd

Steps to Reproduce:
Not able to reproduce this, since it takes time to trigger this issue.
It gets really annoying when you work on project and from some reason files start disappearing or you see folders which should not be there or you are looking for file which exists in system but not visible in explorer.

Note:

scrollbar position
files in relation to scrollbar
top level folder electrious which should not be there
folder database on bottom continues on top until electrious folder, but definitively few files missing

I originally opened project with code . and . is referring to folder called electrious. Normally when you open folder like that you will not see the folder itself rather content in it. In my case electrious folder should not be there. And when I open project or click refresh button it disappears.
If you take a look on screenshot, you can see that scrollbar is on very top, and files above electrious folder are actually files which can be found in project, but rendered incorrectly.
Its happening after few hours of work. Therefore hard for me to test this with --disable-extensions since I need golang extensions very badly.
Im using these maybe we can blame one of them?
HookyQR.beautify
PeterJausovec.vscode-docker
eg2.tslint
henriiik.docker-linter
jock.svg
lukehoban.Go
mikestead.dotenv
mitaki28.vscode-clang
ms-python.python
ms-vscode.cpptools
peterj.proto
streetsidesoftware.code-spell-checker
tomoki1207.pdf
vncz.vscode-apielements

Does this issue occur when all extensions are disabled?:
Tried that not happened so far, but as I said takes time to trigger this problem.

Duplicate of some already open issue like https://github.com/Microsoft/vscode/issues/48966#event-1602301996
fyi @joaomoreno this seems to be becomming more common


Update generator for Vulkan 1.3.211

The example provided is working apparently.

It's updated now


Can't resolve 'react-native-web/dist/exports/StyleSheet/compiler/createReactDOMStyle'

Warning in "./node_modules/react-native-reanimated/src/reanimated2/js-reanimated/index.ts": Module not found: Error: Can't resolve 'react-native-web/dist/exports/StyleSheet/compiler/createReactDOMStyle'
Warning in "./node_modules/react-native-reanimated/src/reanimated2/js-reanimated/index.ts": Module not found: Error: Can't resolve 'react-native-web/dist/exports/StyleSheet/preprocess'
When I use react-native-reanimate, I get a warning

same issus to me, any solution?

Hey @suwu150 & @Stephen-Song
from the warnings I can see that you're using react-native-web. Re.Pack does not support web environment, you should use Webpack without Re.Pack for that -  more on that here.
in case that's not the case - please share a reproduction repository so that we can diagnose this issue, thanks!

@jbroma 人家想使用react-native在web上运行和你这个完全没有任何关系！

@jbroma does that mean that if my react-native app uses react-native-web as a dependency?

oh sorry I see now that I made a mistake – I meant react-native-webview and not react-native-web  🤦♂

@oferRounds You absolutely can use react-native-webview package with Repack :)

Sounds good! I still have this issue though, but hopefully I’ll be able to over come it soon
https://github.com/callstack/repack/issues/467


"--ffmpeg-location" directory PATH breaks in config file, unless it's surrounded by quotations.

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2022.07.18 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
When using a custom config file and contains the "--ffmpeg-location" argument, it requires that a user must place quotations on the PATH directory or an error occurs. The error displays the typed path but without its "/" in their respective places.
In contrast, when writing on the command line quotations aren't required but optional.
Even when the config file has the encoding set to "UTF-8-BOM", the error occurs on the console.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '--config-location', 'C:\\Users\\Computer\\Videos\\Youtube\\3.txt', 'https://www.youtube.com/watch?v=kkwiQmGWK4c']
[debug] | Config "C:\Users\Computer\Videos\Youtube\3.txt": ['--ffmpeg-location', 'C:UsersComputerVideosYoutubeffmpeg-5.0.1-full_buildbin']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.07.18 [135f05e] (win32_exe)
[debug] Python 3.8.10 (CPython 64bit) - Windows-10-10.0.19044-SP0
WARNING: ffmpeg-location C:UsersComputerVideosYoutubeffmpeg-5.0.1-full_buildbin does not exist! Continuing without ffmpeg
[debug] exe versions: none
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
WARNING: ffmpeg-location C:UsersComputerVideosYoutubeffmpeg-5.0.1-full_buildbin does not exist! Continuing without ffmpeg
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.07.18, Current version: 2022.07.18
yt-dlp is up to date (2022.07.18)
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=kkwiQmGWK4c
[youtube] kkwiQmGWK4c: Downloading webpage
[youtube] kkwiQmGWK4c: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, codec:vp9.2, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
WARNING: ffmpeg-location C:UsersComputerVideosYoutubeffmpeg-5.0.1-full_buildbin does not exist! Continuing without ffmpeg
[debug] Default format spec: best/bestvideo+bestaudio
[info] kkwiQmGWK4c: Downloading 1 format(s): 22
[debug] Invoking http downloader on "https://rr1---sn-aigl6nzs.googlevideo.com/videoplayback?expire=1659678971&ei=m1zsYoqMGNPdmwfCnpfADQ&ip=<IP_ADDRESS>&id=o-AM4tbnld8nQGPny1uk5YpAN5VnWjakHWHmY2B5T_wJtz&itag=22&source=youtube&requiressl=yes&mh=qo&mm=31%2C29&mn=sn-aigl6nzs%2Csn-aigzrne7&ms=au%2Crdu&mv=m&mvi=1&pl=24&initcwndbps=405000&vprv=1&mime=video%2Fmp4&cnr=14&ratebypass=yes&dur=38.939&lmt=1577675264659456&mt=1659656941&fvip=1&fexp=24001373%2C24007246&beids=23886212&c=ANDROID&rbqsm=fr&txp=5535432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAMxwvPOMPdbwXlTRdSh677fcYKwulViR_WRsJHmifsVBAiEA9Ntn1r_YA1mO87QisqxkzF1r1tjeBQQon8q3KONlArM%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAIhtAFMzbD-kIQjcRLwDUev7BkV9Le8ijsnoKBkojG6sAiEA6Ud9F_yol1ijpv1_ZBZIgngJQIySt4sjYFVg7UH2v7g%3D"
[debug] File locking is not supported. Proceeding without locking
[download] Destination: Talking cat says Oh Long Johnson [kkwiQmGWK4c].mp4
[download] 100% of 3.10MiB in 00:02

Escape the backslashes.
Presumably be C:\\Users\\Computer\\Videos\\Youtube\\ffmpeg-5.0.1-full_build\\bin

Yes, that is how command lines work 😐


Logging TranslationAndMat3x3 / TranslationRotationScale3D fails

Describe the bug
Logging a TranslationAndMat3x3 fails with the following warning
<stdin>:1: RerunWarning: log: TypeError('TranslationAndMat3x3' object is not iterable)

Workaround is to just log a Transform3D which I guess is preferable any way.
To Reproduce
import rerun as rr
rr.init("translation", spawn=True)
rr.log("parent/child", rr.TranslationAndMat3x3(translation=[1,0,0]))

Rerun version
rerun_py 0.9.0 [rustc 1.72.1 (d5c2e9c34 2023-09-13), LLVM 16.0.5] x86_64-unknown-linux-gnu 4f56b02, built 2023-10-05T15:37:48Z

Same for rr.TranslationRotationScale3D

Upon reading this, I'm guessing this is not actually a bug, i.e., I can't log datatypes directly.
If that's is right, maybe the error message could be improved?

Agreed -- we can definitely make that warning better.


Out of data information

Several references that are out of date. Please update.
[Enter feedback here]

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

ID: ce36aa85-fd24-74a6-1e01-20c892f92a9f
Version Independent ID: 08b9fb79-7117-98fc-5d2c-7a42a6c49a04
Content: Install R packages with sqlmlutils - SQL Server Machine Learning Services
Content Source: docs/machine-learning/package-management/install-additional-r-packages-on-sql-server.md
Service: sql
Sub-service: machine-learning
GitHub Login: @WilliamDAssafMSFT
Microsoft Alias: wiassaf

@kdmishraISU Thanks for taking the time to provide this feedback. We've started an internal review and doc updates are expected. We'll be providing more clarity and wider message given the Microsoft R Application Network retirement.
Meanwhile, if you have any specific suggestions or replacements to improve these docs, we welcome them of course. I suggest you create a Pull Request and get the ball rolling on a specific change. By opening a pull request, you're collaborating with the author to add changes directly to the documentation. After your PR is merged, GitHub lists you as an article contributor.
Either way, thanks for your feedback!


Redundant style in v4

In reference to comment,
const StaticStyledLink = styled.a`
… // 10 static style properties
`

const DynamicStyledLink = styled(StaticStyledLink)`
  color: ${props => props.color};
`

If I have a static component StaticStyledLink  and 100 DynamicStyledLink  which just changing the color for each component then the style created for each component will be redundant.
Calculating the style properties, the properties created as
v4  --> 10 static  * 100 inherited component  + 100  dynamic properties = 1100 properties
v3  --> 10 static + 100  dynamic properties = 110 properties
This is gradually increasing the size of CSS. This was optimized and was working fine in v3 And this is only happening in v4 (merged styles of its ancestors)
Environments like AMP which has style size limit will be affected by these changes.

It gets gzipped away, not something we're going to change.

@probablyup. Can you please elaborate how can i avoid this to reduce the size of style. As I am seeing huge difference between 1100 properties and 110 properties.


default-gcc-version: init

Description of changes
This commit lifts the default gcc version to a top-level attribute so it can be overridden.
Detailed motivation can be found here: https://github.com/NixOS/nixpkgs/issues/244871#issuecomment-1647684025
Closes #244871
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Included in https://github.com/NixOS/nixpkgs/pull/249301 which is a fully-automatic fix for the bug.


itemHeight intrinsic

Is there anyway I can let my DropDownMenuItem to be intrinsic? Like the default DropDownButton, the itemHeight auto scale when its content bigger. But in DropDownButton2, itemHeight seems to be fixed. I want it scale instead of calculate each item height in itemHeight list.

Check #173

Like the default DropDownButton, the itemHeight auto scale when its content bigger.

IIRC, That's not true.

As i read in the docs
[itemHeight]
If null, then the menu item heights will vary according to each menu item's intrinsic height.
As you referenced, so the only way I can achieve this is by setting predefined menu height?

You're right. Explicitly set itemHeight to null will make its height dynamic.
The downside is that it'll break the scroll offset. I'll see what we can do.

Okay tks. At now my solution is:
final span = TextSpan(text: yourText, style: yourStyle);
final tp = TextPainter(text: span, textDirection: TextDirection.ltr);
tp.layout(maxWidth: constraints.maxWidth);
final numLines = tp.computeLineMetrics().length;
After I calculate numLines my text requires by the code above, if it > 1 then i will add biggerMenuHeight on my itemHeight list.


Sync with Cassandra 3.11.13 and update a few dependencies

This PR consists of my 4 commits (GitHub shows all commits from merging upstream branch...):
The first commit Sync with Cassandra 3.11.13 merges the cassandra-3.11 branch
from upstream Cassandra repository at the last commit of Cassandra 3.11.13. It also deals
with the only "real conflict" due to the merge: new method maybeWarnOnOptions() had
to be implemented in one of our own classes (EverywhereStrategy).
The second commit: Remove lib/ directory and its JAR files deals with the fact that
after 2fdf1d27620fe2bce2a3c5989beab40b05fda1e6 appeared in our repository,
dependency management is no longer handled by putting JAR blobs to lib/. Instead,
it's fetched dynamically from Maven and put in that folder at the build time. The commit
from upstream repository did remove this directory, but this commit was only partially merged
before to our fork.
Having this folder present in the repo means that some older
dependencies will linger around - new dependency handling will just
add new JAR files (newer version of dependenecy) and leave the old one
unchanged. This could cause warnings of security scanners.
The third commit Update version of Netty dependency. This commit was only present
on Cassandra 4.x branch (not 3.11.13).
The fourth commit Update Scylla Java Driver version and deals with two breaking API
changes of the driver.

 Updating it to the newer version here would require many changes around the codebase (many changes to Cassandra 4.x - can't backport them to 3.x due to many differences in code between the branches). I could try to spend time to backport it, but I don't see how I could test it properly to make sure I did not break anything.
Thrift: I talked about it with @slivne. He told me not to address it now. Addressing it now would either result in removing Thrift support from this repo (this is what Cassandra 4.x did) or extensively reworking the Thrift code (the newer version of the library changed API extensively).

This PR consists of my 5 commits (GitHub shows all commits from merging upstream branch...):
The first commit Sync with Cassandra 3.11.13 merges the cassandra-3.11 branch from upstream Cassandra repository at the last commit of Cassandra 3.11.13.
The second commit deals with the only "real conflict" due to the merge: Add maybeWarnOnOptions() to EverywhereStrategy - new method had to be implemented in one of our own classes (EverywhereStrategy).

Strictly speaking this commit has to be folded into the merge commit, since the merge commit won't build without it.

The third commit: Remove lib/ directory and its JAR files deals with the fact that after 2fdf1d2 appeared in our repository, dependency management is no longer handled by putting JAR blobs to lib/. Instead, it's fetched dynamically from Maven and put in that folder at the build time. The commit from upstream repository did remove this directory, but this commit was only partially merged before to our fork.
Having this folder present in the repo means that some older dependencies will linger around - new dependency handling will just add new JAR files (newer version of dependenecy) and leave the old one unchanged. This could cause warnings of security scanners.
The fourth commit Update version of Netty dependency. This commit was only present on Cassandra 4.x branch (not 3.11.13).
The fifth commit Update Scylla Java Driver version and deals with two breaking API changes of the driver.

Looks good.

This PR consists of my 5 commits (GitHub shows all commits from merging upstream branch...):
The first commit Sync with Cassandra 3.11.13 merges the cassandra-3.11 branch from upstream Cassandra repository at the last commit of Cassandra 3.11.13.
The second commit deals with the only "real conflict" due to the merge: Add maybeWarnOnOptions() to EverywhereStrategy - new method had to be implemented in one of our own classes (EverywhereStrategy).

Strictly speaking this commit has to be folded into the merge commit, since the merge commit won't build without it.

In the amended branch I squashed those two commits.

Hooray for finally getting rid of binary blobs. Question: how much of the merge was automatic vs. manual resolution? From past experience, there are enough diffs in our tree that at least build files need a lot of manual fixes.

Because the last sync was with Cassandra 3.11.12 and this sync is with Cassandra 3.11.13 there were a minimal number of fixees needed.

Unmerged, scylladb/scylla#10764