Authentification

Hi,
Can you give us an authentification example with wordpress-hybrid-client.
Merci infiniment.

@shprink is already working on that or will work

Someone is working on adding this feature to WPHC.
We will use https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/ and https://github.com/shprink/wp-api-angularjs that now supports all HTTP methods.
Will update here. Subscribe

Any news ?

@medrockstar Not yet

@bostondv how is this going in your app? Do you have a timeline on Open Sourcing this part?
thanks

Hey! Our app is done but I haven't had the time yet to convert the auth and
possibly some other smaller parts into a state they can be contributed.
Hopefully will be able to work on it in the next week or two.
On Sat, Apr 9, 2016, 3:51 AM Julien Renaux<EMAIL_ADDRESS>wrote:

@bostondv https://github.com/bostondv how is this going in your app? Do
you have a timeline on Open Sourcing this part?
thanks
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/shprink/wordpress-hybrid-client/issues/194#issuecomment-207737446

I can help if you need.
On Apr 9, 2016 7:33 PM, "Boston Dell-Vandenberg"<EMAIL_ADDRESS>wrote:

Hey! Our app is done but I haven't had the time yet to convert the auth and
possibly some other smaller parts into a state they can be contributed.
Hopefully will be able to work on it in the next week or two.
On Sat, Apr 9, 2016, 3:51 AM Julien Renaux<EMAIL_ADDRESS>wrote:

@bostondv https://github.com/bostondv how is this going in your app?
Do
you have a timeline on Open Sourcing this part?
thanks
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
<
https://github.com/shprink/wordpress-hybrid-client/issues/194#issuecomment-207737446

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/shprink/wordpress-hybrid-client/issues/194#issuecomment-207820290

That'd be great, thanks. I'll post a link once I get my branch up on github.
On Sat, Apr 9, 2016, 6:39 PM Julien Renaux<EMAIL_ADDRESS>wrote:

I can help if you need.
On Apr 9, 2016 7:33 PM, "Boston Dell-Vandenberg"<EMAIL_ADDRESS>
wrote:

Hey! Our app is done but I haven't had the time yet to convert the auth
and
possibly some other smaller parts into a state they can be contributed.
Hopefully will be able to work on it in the next week or two.
On Sat, Apr 9, 2016, 3:51 AM Julien Renaux<EMAIL_ADDRESS>wrote:

@bostondv https://github.com/bostondv how is this going in your app?
Do
you have a timeline on Open Sourcing this part?
thanks
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
<

https://github.com/shprink/wordpress-hybrid-client/issues/194#issuecomment-207737446

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
<
https://github.com/shprink/wordpress-hybrid-client/issues/194#issuecomment-207820290

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/shprink/wordpress-hybrid-client/issues/194#issuecomment-207866927

Closing in favor of #141


Add tests for the sortUsers method

Behold... tests!
I'm usually not too fond of having placeholder code until something happens, but considering @xPaw is making good progress by himself on #167, I thought I would give a minor hand by providing the lines to change to have these tests running in his PR.
And as a matter of fact... these tests are currently failing on #167 :D
I hope you like 'em, let me tell you this is the beginning of a whole lot of PRs about testing I'm planning to submit :-)
(Yes, I'm adding Chai in the devDependencies, but it's really worth it!)

Add a couple of users with different cases in the name, and a couple of special symbols to test case insensitive sorting too.

@xPaw, good suggestions! Added in a6b452d. I hope it can go now :-)

Also, should test file name match tested file name (like currently)? Or something.js and somethingSuite.js? Or... ?
I don't have a strong opinion on this, as long as it ships :-)


Update dependencies

Bumps dependencies
Silence pylint's using-constant-test warning which is annoying

Coverage remained the same at 27.218% when pulling a215ad5a60a5d4996d916b8a6c3a89bdf4b81669 on etnguyen03:update-deps into 07b6f40e18adefc92ac104a5b8f8a320fc9935cf on tjcsl:master.


wrphttp: fix test to fix dependency

solves #9

Codecov Report

Merging #13 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #13   +/-   ##
=======================================
  Coverage   89.42%   89.42%
=======================================
  Files           5        5
  Lines         208      208
=======================================
  Hits          186      186
  Misses         21       21
  Partials        1        1

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 a1be47d...0f7b73d. Read the comment docs.


Template updates

This will probably end up closing out multiple issues.
Such as:

[x] #4 Bootstrap 3
[x] #25 Fix the Map Page
#7 Move Inline Javascript
#17 Remove Hardcode URLs (The ones left in the JS)
[x] #2 Remove all MEDIA_URLs from the templates

After sandboxing some stats changes, it looks like the amount of work that refactoring that section is going to require a separate PR. the stats.html template will still contain some inline javascript.

@ldko,
Do you mind reviewing this? There are still some template related things that I would like to change, but those changes will require significant changes to the views, which I would like to do in a separate branch.

Ok @ldko. The content errors should be cleared up now, at least from my perspective. Now this is ready to review. No rush though.

@ldko, I fixed up introduction.html based on your line note in dee6331

:+1:

:thumbsup:


Allow any execute bits to count as executable

If the tools/bazel wrapper is executable by the user, but not everyone the current behavior is that bazelisk assumes it's not executable and silently pretends that the wrapper script doesn't exist, which was very confusing to me.
After this change, someone could run into the case where bazelisk thinks the user can execute the wrapper, but doesn't actually have permission. If that does happen, the error could not run Bazel: could not start Bazel: fork/exec /repo/tools/bazel: permission denied makes it pretty clear what's wrong.
This now matches how the Go standard library checks if a file is executable. https://cs.opensource.google/go/go/+/refs/tags/go1.19:src/os/exec/lp_unix.go;l=26

Thank you!


Prerelease/2.4.0 stabilization -> mrtk_dev

Overview
Prerelease/2.4.0 stabilization -> mrtk_dev

/azp run

/azp run


Include malloc.h instead of stdlib.h for mallinfo()

Adapt to the change in the main repo.
mallinfo is meant to be API compatible with Linux,
where it's provided by malloc.h.
(I think the API actually originated with System V. I don't
remember how it was there though. Anyway, I guess the
compatibility with Linux is more important than System V
these days.)
Summary
Impact
Testing

the associated PR in the main repo is https://github.com/apache/incubator-nuttx/pull/1236


[css] Add the 'css-scope' to all the component CSS styles

Currently we have the lovely css-scope property which we can override as documented here.
If this is set with a 2 level, or deeper, specificity such as $css-scope:'.w-app .app' then we get a good chunk of the CSS (currently everything in the scss files) prefixed with this scope. Which is fantastic.
However, there are some instances where because of this it makes certain styles MORE specific than the styles for the components. One example is for the w-table component, with the pagination specifically, the buttons get the size--lg class added to them.
The resulting class with scope for size--lg ends up being .w-app .app .size--lg which is MORE specific than the specificity from the w-table component for those buttons and their font size which is .w-table__pagination .w-pagination__page.
This commit adds the css-scope prefix/wrapper to all the component styles which fixes this issue and keeps the stylings far more consistent across the board.
If you use the hide whitespace option when viewing the Files changed tab you can see that there really aren't that many changes overall. A lot of indentation.

To be fair my use case with Wave may be a little unconventional, where I'm slowly migrating a legacy PHP codebase into using Vue components. Because the w-app gets added to the <body> tag I've had to change the css-scope so that none of the styles/classes affect the original pages. This prevents any leaking which is amazing! But then I have this issue of specificity on some of the components.

Mmm @DerrikMilligan. 🤔
This on one hand looks obviously consistent and logical and what I should have done from the beginning and it seems I just forgot.
On another hand this is a very big impact that I'm not sure I'm catching the whole reach, this can cause a lot of problems to all the users.
Also just to be in sync, what I initially planned is the following:

each component is extremely easy to override with just .w-tabs {} for instance for the simplest case (and this could still work if the SCSS scope was empty)
global helpers classes must have priority over components. E.g. mt0 should override any top margin set in the component definition. As well as a size--lg overrides a w-alert(sm) - not sure if it would now, but at least in the concept definition :)
we don't want to have definitions with !important (like some other frameworks do) E.g. mt0 could have an important so it would always override a more specific rule. But that would be the beginning of the troubles.

I'm not refusing this PR, because it's smart, but I open the discussion to be sure we're considering all the aspects :)
By the way, thanks again for all your work, this is amazing to see someone who is so committed to make this library better and understands so well the codebase and offers quality code in the same style. 🚀
I was thinking it would make sense that we get in touch, and discuss the future plans and components and more! I'd love that you reach me to me email in the package.json :)

Hey @antoniandre!
I recognize that this is a large change. And unfortunately I only have the 1 project I'm using Wave in to check to see if there are breaking changes because of it. In theory this follows the pattern that you've started with the CSS scope, which was one of the most appealing things about this framework when I was shopping around for one, and I believe that having looked through the documentation site locally with this change that everything seemed in order.
I also love that you don't use !important anywhere. I hate seeing that and having to fight styles that think they know best. Wave has been easy enough to make CSS tweaks too where needed to match designs.
I agree that the utility classes should override the base styles. But I also think that we should be able to probably handle the css-scope being different since it's something discussed and offered, and that is applied in the majority of places.
But ineed it's a large change and not one to be made lightly. I also recognize that my project is somewhat unconventional. So maybe my use cases shouldn't drive this project as a whole. But it is somewhat an inconsistency currently.

Hey @DerrikMilligan!
Thanks for taking a stab at this :)
After we've merged in, I've tried a lot of different approaches to make this move possible without being a breaking change.
The only valid way I found, was something like this:
A mixin that takes a selector that can be empty, and styles to scope if needed.
@mixin nest-if-any($css-selector: '', $styles: '') {
  @if $css-selector != '' {
    #{$css-selector} {
      @each $selector, $properties in $styles {
        #{$selector} {
          @each $property, $value in $properties {
            #{$property}: $value;
          }
        }
      }
    }
  } @else {
    @each $selector, $properties in $styles {
      #{selector} {
        @each $property, $value in $properties {
          #{$property}: $value;
        }
      }
    }
  }
}

But the inconvenience is that the only way to use it is with SCSS maps like follows:
@include nest-if-any('', (
  '*': (
    color: red,
    font-size: 16px
  ),
  'p': (
    color: blue,
    font-size: 14px
  )
));

This makes the css very hard to read and maintain IMO.
So we're left with 3 choices:

We do the change with default scope-selector '*' (the lowest priority) and we don't say anything and release it a minor version. -> This is really not cool for the users because that will insidiously break outside overrides silently.
We release the change with default scope-selector '*' in a MAJOR version. -> users will be warned, and forced to get information how to upgrade and why it's a breaking change. That could also be disappointing and annoying to have a breaking change every now and then for so little added value.
We don't change anything. After all adding a scope makes sense to things that could potentially collide with other styles, but a class prefixed by .w- is unlikely to be styled by external sources. And if ever it would then it would be better if the .w- selector at stake would be the least priority as possible.

I'm thinking to revert this PR and instead find a way to have less specificity when using the size props (xs, sm, ...) if that's the original issue.

Because the w-app gets added to the  tag I've had to change the css-scope so that none of the styles/classes affect the original pages. This prevents any leaking which is amazing! But then I have this issue of specificity on some of the components.

-> Have you had a chance to try to mount both your Vue app and Wave UI on #app?

Yeah I too was trying to look at some solutions but couldn't find anything that looked better. I agree that the mixin would work but is cumbersome.
I also agree that option 1 and 2 feel bad changing to using *
Option 3 would still just leave the .w-app as the default selector right?
I haven't dug into how I'm mounting on the page yet. But I will hopefully get back to you soon.

Yes option 3 is leaving the default .w-app in the $css-scope, but not adding this scope to the components that start with .w-. I meant to have a single class selector when possible for easier overrides. Like .w-input {}.
Just leaving a note here for the future that I'm definitely happy to add a $css-scope with a default empty value in front of each component as long as it can be added as one single wrapper, not impacting the readability/maintainability/ease of writing. For now we haven't found a way to do that and we will leave the components as is. No impact for users, and still easiest to override. :)


az aks get-credentials bug

This is autogenerated. Please review and update as needed.
Describe the bug
All az aks commands result in this bug.
Command Name
az aks get-credentials --resource-group rg --name cluster
az aks --help
Errors:
The command failed with an unexpected error. Here is the traceback:
cannot import name 'Iterable' from 'collections'<EMAIL_ADDRESS>Traceback (most recent call last):
  File "/usr/local/Cellar/azure-cli/2.30.0_1/libexec/lib/python3.10/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/usr/local/Cellar/azure-cli/2.30.0_1/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 556, in execute
    self.commands_loader.load_arguments(command)
  File "/usr/local/Cellar/azure-cli/2.30.0_1/libexec/lib/python3.10/site-packages/azure/cli/core/__init__.py", line 517, in load_arguments
    self.command_table[command].load_arguments()  # this loads the arguments via reflection
  File "/usr/local/Cellar/azure-cli/2.30.0_1/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 313, in load_arguments
    super(AzCliCommand, self).load_arguments()
  File "/usr/local/Cellar/azure-cli/2.30.0_1/libexec/lib/python3.10/site-packages/knack/commands.py", line 104, in load_arguments
    cmd_args = self.arguments_loader()
  File "/usr/local/Cellar/azure-cli/2.30.0_1/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 125, in arguments_loader
    op = self.get_op_handler(self.op_path)
  File "/usr/local/Cellar/azure-cli/2.30.0_1/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 59, in get_op_handler
    handler = import_module(mod_to_import)
  File<EMAIL_ADDRESS>line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/Users/shutchins/.azure/cliextensions/aks-preview/azext_aks_preview/custom.py", line 44, in <module>
    from tabulate import tabulate  # pylint: disable=import-error
  File "/usr/local/Cellar/azure-cli/2.30.0_1/libexec/lib/python3.10/site-packages/tabulate.py", line 16, in <module>
    from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections'<EMAIL_ADDRESS>

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az aks get-credentials --resource-group {} --name {}

Expected Behavior
Environment Summary
macOS-11.6.1-x86_64-i386-64bit, Darwin 20.6.0
Python 3.10.0
Installer: HOMEBREW

azure-cli 2.30.0

Extensions:
aks-preview 0.5.42
virtual-wan 0.2.11
interactive 0.4.5

Additional Context

route to service team

This issue appears to be with just the current brew version.
I don't know how to install an old version via brew, but I was able to install an old version via pip and that worked.
 brew uninstall azure-cli
 pip3 install azure-cli==2.28.0

Version 2.30.0 also worked:
 pip uninstall -y azure-cli
 pip3 install azure-cli

Sorry for the inconvenience. From the error message, the error is caused by the incompatibility between python3.10 and the current version of the installed site-package tabulate.  You can check the installed version of tabulate by command pip show tabulate.
To mitigate this problem, please choose one of the options below
Option 1:
Update tabulate by pip install tabulate==0.8.9 -U.
Option 2:
Use python3.8 instead.

Duplicate of #20348


Feat relative path 1

fix #175

Coverage remained the same at 100.0% when pulling d9d9cbb76c9b9acd8734462208d057b355239c3b on feat-relative-path-1 into f12c638cf3b11e1d2ddd70943759a671133e6711 on master.

Coverage remained the same at 100.0% when pulling 513d2ab30f9e3bb9ac6d2845aa3aa85fca847d65 on feat-relative-path-1 into f12c638cf3b11e1d2ddd70943759a671133e6711 on master.

Coverage remained the same at 100.0% when pulling 24c29e74ca2c19bd138746bfd82507632811fcf6 on feat-relative-path-1 into f12c638cf3b11e1d2ddd70943759a671133e6711 on master.


Dinamica PLUS 370.95.T working

Hi,
Thanks for this project!
Just to say that Dinamica PLUS 370.95.T works with this addon.
Kind regards!

Thanks, a lot. I am appreciate your feedback.


Day52: Two Sum - Recursion

Two Sum
https://leetcode.com/problems/two-sum/
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.
You may assume that each input would have exactly one solution, and you may not use the same element twice.
You can return the answer in any order.

Example 1:
Input: nums = [2,7,11,15], target = 9
Output: [0,1]
Explanation: Because nums[0] + nums[1] == 9, we return [0, 1].
Example 2:
Input: nums = [3,2,4], target = 6
Output: [1,2]
Example 3:
Input: nums = [3,3], target = 6
Output: [0,1]


Expect the correct type to avoid looping unexpectedly

This small change updates the code to look for the correct expected type for a response object. Recently the wait for looping was not hitting the expected exit condition. This also adds a timestamp when we hit a wait incident.

Ping @gracieflores @somexpert , this is ready for review.

Looks good to me. 👍🏼

Looks good to me too! :thumbsup:


Feature/cypress test case enhancement treemap

Written Cypress Test Cases for Enhancement on TreeMap
-Add/Delete Multiple Parent Field
-Color Theme option for Multicolor on Multiple Parent

new separate files are created under visualizationschart folder


Track the full probability chain along each beam instead of only the final string and accumulated probability mass

This is the biggest corner that I cut in this implementation and its blocking some nice stuff:

intelligent pruning of suggestion beams when there are too many. auto-raising the Multiplier and use the new thresholds to cut off beams until we have the number we want.
currently we do a post-processing greedy string prefix finding step prior to visualization to recover the forked streams, this would no longer be necessary if we could access the underlying streams directly.  this would enable use of colors to indicate high/low probability tokens in the visualization, but at the expense of bleeding through a lot more tokenization details then the current visualization does so maybe its wise to keep both methods around.

This is now much easier with the new iterative BFS search, but still not done 😄


fix(database): remove non-null requirement for some fields

Description
PR #628 changed some fields to disallow null values, causing issues with some older SQLite database having null values.
This PR reverts this change.
Screenshot (if UI-related)
To-Dos

[x] Successful build pnpm build
[ ] Translation keys pnpm i18n:extract
[x] Database migration (if required)

Issues Fixed or Closed

Re #628

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

v2.2.0
GitHub release

Your semantic-release bot :package::rocket:


transmission: patch to load legacy openssl provider

Description of changes
This prevents a segfault in EVP_CIPHER_CTX_set_key_length() when adding a new torrent.
See background information here:
https://github.com/transmission/transmission/issues/4716
Testing plan: My system package would segfault in the EVP_CIPHER_CTX_set_key_length() function. I applied this patch, rebuilt the package and now it's no longer crashing.
Things done

Built on platform(s)

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

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

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

[ ] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

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

[ ] Fits CONTRIBUTING.md.

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

6 packages built:

fragments
libtransmission
torrential
transmission
transmission-gtk
transmission-qt

Looks good.
I ran nix shell '.#transmission' '.#transmission-qt' --command transmission-qt both on master and on this PR's branch. I confirm adding a torrent file with master's version segfaults while doesn't anymore with this PR. I tried a few times back and forth between the two branches to make sure the apparent fix wasn't because of some kind of state saved by transmission.

I don't expect this is needed, as we pass openssl_legacy to transmission.  And both should be superseded by already open upgrade https://github.com/NixOS/nixpkgs/pull/215316

Probably the cause for https://hydra.nixos.org/build/209741494 broken since last staging merge?

I'm >90% sure this shouldn't be needed since #209341

Hmm, but I do get a crash on the latest nixpkgs unstable.

on the latest nixpkgs unstable

Hm. Can you verify if #209341 was included in that?
Because transmission has been working fine for me. Then again, I'm (basically) on the nixos-22.11-small branch.
In any case, there's a discussion to be had if this PR the preferred solution over what we currently have, but leaving what I added in #209341 and adding this PR does seem redundant.

Could it be that transmission-qt specifically still ends up picking up a non-legacy openssl via the Qt dependency?

@delroth that does sound quite likely, yes. Packages propagating openssl or curl (which propagates openssl) often lead to all kinds of interesting problems.

Sounds like a good reason to maybe revert https://github.com/NixOS/nixpkgs/pull/209341 then until we switch to transmission 4.0? WDYT?

Sounds reasonable enough. You can push the revert to this branch.

Done!

don't just revert that, also add your patch.
the debian patch is flawed and leads to a sizeable memory leak see #207047

@ajs124 Ah, gotcha. I split it into one revert + one commit that changes the patch URL to the gentoo downstream patch instead of the debian one. Please take another look?

Diff LGTM, haven't tested anything though.
As @vcunat mentioned, there's also #215316. However, maybe we should still go ahead with this PR, if we're going to keep transmission 3 around, as suggested in https://github.com/NixOS/nixpkgs/pull/215316#issuecomment-1435690066.
But I'll leave those decisions to the maintainers of this package.


Port number

Thank you for making this HA integration.
Small question: what port number to choose? / where to find?

The port number has a default of 1025
https://github.com/jbouwh/ha-elro-connects/blob/main/custom_components/elro_connects/const.py#L6


Simplifying the Schema creation process with Schemix

Currently, the major issue with the usability of schemix is the fact that splitting the files still requires multiple changes for a single schema. You must create the model by instantiating it with its name, create the file with the model details inside, and then import that file into the index.
In another library I created to act as a filesystem router, ridafkih/18h, the library automatically indexes the filesystem to map routing to endpoints.
Implementing similar functionality here would seriously simplify the schema creation process.

Complete in v1.1.0


Problem while using cpu relocation in multi_gpu_model

I am new to Keras and now trying to train a model by data parallelism, and luckily I have found the multi_gpu_model function which is already built in Keras module.
However, after using multi_gpu_model with 4 gpus, it gets much slower than even single gpu.
And I tried every means until setting the argument "cpu_relocation" as True, then the program finally speeds up by around 2 times on 4 gpus.
Here is my code for data parallelism on multi gpus:
if gpus <= 1:)
	print("[INFO] training with 1 GPU..."))
else:)
	print("[INFO] training with {} GPUs...".format(gpus)))
	# make the model parallel)
	parallel_model = multi_gpu_model(model, gpus=gpus, cpu_relocation=True)

I am wonder why it failed when setting multi_gpu_model arguments by default. Is it because my model too big? (10756 MiB / 11172 MiB)
I have searched for lots githiub site about using multi_gpu_model but did not find anyone set "cpu_relocation=True"
Already read through the comments in the official Keras sites but still do not understand.

cpu_relocation: A boolean value to identify whether to create the model's weights under the scope of the CPU. If the model is not defined under any preceding device scope, you can still rescue it by activating this option.

Could anyone please give me some explanation about this problem? Any advice for using multiple gpu on Keras is welcome!
Thank you in advance!

As the document description: create the model's weights under the scope of the CPU.
Most of the model build in tensorflow by explicit declare the device scope. The multi_gpu_model allow the model deployed on the GPU device, which means the data(model weight, gradient of each layer, batch image) will be move in/out from the cpu to the gpu, and the IO may bound the performance of speed.
"cpu_relocation" allow the model weight bind on the cpu device, which may speed up the update of the weight. (I guess that's why the program finally speeds up by around 2 times on 4 gpus)


⚠ Bofrost.fr has degraded performance

In 2b1405f, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 936 ms

Resolved: Bofrost.fr performance has improved in b7d3168 after 6 minutes.


Make CreationPreview use real values of the itinerary being created

should have been very short however, I spent a lot of time having issues with git

resolved in PR #237


app container failed to start

deis version
1.10.1

docker version
Client version: 1.7.1
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): df2f73d-dirty
OS/Arch (client): linux/amd64
Server version: 1.7.1
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): df2f73d-dirty
OS/Arch (server): linux/amd64

/etc/os-release
NAME=CoreOS
ID=coreos
VERSION=766.4.0
VERSION_ID=766.4.0
BUILD_ID=
PRETTY_NAME="CoreOS 766.4.0"
ANSI_COLOR="1;32"
HOME_URL="https://coreos.com/"
BUG_REPORT_URL="https://github.com/coreos/bugs/issues"

commands like ps:restart and scale running forever. on one host i found the following problem
docker run -ti --rm alpine:3.1 /bin/sh

Cannot start container <id>: no available ip addresses on network

after rebooting the host everything was fine

@philippwiendl this issue is a Docker issue, which is likely https://github.com/docker/docker/issues/14788 as some users have reported the same thing.

@bacongobbler I know this is a Docker issue but deis client doesn't cover this kind of issue.
if I run deis scale or deis ps:restart it keeps running forever

This is not something we'll be able to get to for the LTS release (#4776) and the architecture in deis v2 has dramatically changed such that this is no longer relevant so I'm closing this.


Install UploadWizard on SEGS Wiki

Summary
To facilitate easy file uploads, we should install UploadWizard https://www.mediawiki.org/wiki/Extension:UploadWizard on the SEGS Wiki
Will require

Make sure that the images directory is writable by your web server.
Install the ImageMagick libraries and binaries.
LocalSettings.php configuration

Extension installed and configured.


Move caching tests from test_dispatcher to test_caching

This moves the cache tests from test_dispatcher.py and test_cfunc.py into test_caching.py - this organises things a little better as test_dispatcher.py was huge, test_caching.py contained very few cache tests, and the cfunc cache tests were a small part of test_cfunc.py. Other tests that test caching are already in their own dedicated files, so these are left as-is except for updating imports.
@stuartarchibald and I did discuss refactoring to collapse the BaseCacheTest / BaseCacheUseCasesTest split, but now I see that both of these are used in different places I decided against trying to do that - instead, it seems to make the code more clearly-structured to just rename BaseCacheUseCasesTest to DispatcherCacheUseCasesTest.

gpuci run tests
(because you just never know!... :-) )

@stuartarchibald Many thanks for the review, your comments should be addressed now.

Thank you for the patch!


3.0.2 testinfra not working on freshly initialized role

Issue Type

Bug report

Molecule and Ansible details
docker run -v $(pwd):$(pwd) -w $(pwd) quay.io/ansible/molecule:3.0.2 molecule init role --verifier-name testinfra foobar
docker run -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):$(pwd) -w $(pwd) quay.io/ansible/molecule:3.0.2 molecule test

Molecule installation method (one of):

docker

Ansible installation method (one of):

docker

Detail any linters or test runners used:
Desired Behavior
The default tests should run without any problems
Actual Behaviour
an error is thrown
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --connection=ansible --ansible-inventory=/root/.cache/molecule/foobar/default/inventory/ansible_inventory.yml
  inifile: None
  rootdir: /home/xxx/Downloads/Projects/test/foobar/molecule/default

Are you actually planning to remove testinfra? Because that is atm, the main way we test stuff.

The pinned issue #2560 (Migrating to molecule v3) states:
if you use testinfra, add it as a pip dependency, it is no longer installed by default

From what I read in the doc/tickets (and believe I understood), there is absolutely no intent to remove testinfra. In an effort to lower the number of mandatory dependencies, It is just not the default verifier any more. I do use testinfa and migrated. An example result here: https://travis-ci.org/ansible-ThoTeam/nexus3-oss/jobs/655689626#L2239

Oh. IMHO that's a bad decision. I guess, for most of the molecule users testinfra is still the default.
And it is a really bad user experience, when I can initialize something with your docker image, but the run itself without custom changes just fails.

Workaround
docker run -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):$(pwd) -w $(pwd) --user root quay.io/ansible/molecule:3.0.2 /bin/sh -c "pip3 install testinfra; molecule test -s default"

Closing because it was fixed on master, next release will include testinfra inside the container.

I was getting this error today when testing molecule & testinfra for the first time.
running:
pip install pytest-testinfra
(note if you installed 'testinfra' run 'pip uninstall testinfra' first as its been deprecated)
fixed it for me!


Add check to close positions method

Changes

add check with raise to clear_positions method
expand test suite
fixes #112

Hey, @forstmeier - here's a pull request to review!

No longer needed since #114 addressed the pattern day trader concerns.


No user error when user_group is not available

Reading from dynamic role which is set to assign user to not existing user_group does not return any information back to the user - it is silently ignored.
I do not know what is better in this situation for now, but returning a token that is literally not doing what is expected is not correct

@gtema do you mean that you tried to assign user to a non-existent group and no err returned. Is it right?

yes, regular creds were returned without user being added into the group

User_group verification is now added, closing the ticket.


feat (LocalRing/MaximalIdeal/Basic): add LocalRing.not_mem_maximalIdeal and nilradmax_localization_IsSelf

For theorem LocalRing.not_mem_maximalIdeal: An element x of a commutative local semiring is not contained in the maximal ideal if and only if it is a unit.
For noncomputable def nilradmax_localization_IsSelf: Let S be the localization of a commutative semiring R at a submonoid M that does not contain 0. If the nilradical of R is maximal then there is a ring isomorphism between R and S.
As discussed on Zulip here: https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/PR.20Permission/near/472582165

Do you think the conclusion that R is LocalRing if nilradical of R is maximal will be used afterwards? If you think it will be useful in future, you can extract it and write it as a separate instance.

I don't plan on using it for what I'm currently doing. However, I imagine it could be helpful to others. I will submit another pull request with this instance.

Do you think the conclusion that R is LocalRing if nilradical of R is maximal will be used afterwards? If you think it will be useful in future, you can extract it and write it as a separate instance.

I don't plan on using it for what I'm currently doing. However, I imagine it could be helpful to others. I will submit another pull request with this instance.

I think you can just add the instance in this PR and then use it to prove your main theorem. If you prefer to open a new PR, you need to make this PR depend on your new PR.

I'm getting a strange linter error in an unrelated file. Can someone please help me figure this out?

I also have no idea how to solve this problem. You could post this problem on Zulip for help.

It seems there is still a comment about a name, but otherwise LGTM, thanks!
bors d+

(I changed the title to something more memorable)

Removing delegated as @erdOne has added awaiting-author.
@maddycrim, would you be able to address the comments above, and then remove the awaiting-author label? Thanks!

bors r+

bors r+


Maybe a cli or tracker bug

I don't think it's a bug per se, but rather a problem with the speedtest itself. Some results have a packet loss value with the quantity, for example 1.0204081632653061. According to the documentation of the metrics used, the packet loss value refers to the percentage of packets lost in relation to those sent. If that's really the case, it doesn't make sense that it's 102.04% of the packets sent. Can anyone confirm this value for me?

Something similar was fixed in the last release for telegram https://github.com/alexjustesen/speedtest-tracker/issues/1488
Do you see this in a notification or in the results table?
I think it should be 1.02%  packet loss in your example.

Also which notification channel was this in?

That view needs some rounding on the value for sure. I might have time tomorrow morning depending how far into the beer fridge I get tonight.


Replace .env file with configuration YAML file

The .env file is too simple for lots of configuration variables. A structured file would be better.

Addressed in commit 02ba64658512e77bc93613d85050c6e06dd633b5.


Add a graph to demonstrate developers' salaries

Add a graph to demonstrate the relationship between the non-10100 developers' skillset & the salaries co-relation

Close #3 as it's not required anymore


Oppgrader resterende avhengigheter

Coverage remained the same at 43.262% when pulling 43243cd5d86c9482bed2d80e4c488fd4b2200f72 on bjornreppen:deck into e7d42b8f83275fccc9d841fb994695854677b2c1 on Artsdatabanken:master.


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative-extensions/eventing-writers
/assign knative-extensions/eventing-writers
Produced by: knative-extensions/knobots/actions/update-deps

/approve
/lgtm


HTTP2 showing enabled by default. However, it should be disabled as per document.

[Enter feedback here]
When we create an application gateway by default HTTP2 toggle is showing enabled. However, in our document it shows as disabled and as well as written explanation that HTTP2 will be disabled by default.
](https://learn.microsoft.com/en-us/azure/application-gateway/quick-create-portal#create-an-application-gateway)
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
https://learn.microsoft.com/en-us/azure/application-gateway/configuration-listeners#additional-protocol-support

ID: 1b1e0765-a7aa-6e76-3aca-751dc8a531dc
Version Independent ID: e95861b3-cfd3-2b75-95e8-1c0176ba79f2
Content: Quickstart: Direct web traffic using the portal - Azure Application Gateway
Content Source: articles/application-gateway/quick-create-portal.md
Service: application-gateway
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

@Seema-Choudhary thanks for your feedback.
@greg-lindsay, for your review

The article is out of date with the changes made in the portal.  This is internal work item 91176 #please-close


API filter by workflow level arguments

Some workflows (mostly interested in archived ones) have same spec but just different arguments passed into the workflow. Would be good to have filter option in the ui. ie can search for workflows where plant argument = 'fern'
i know there is label search but often labels are not set for every possible argument, and i know the workflow json is available in argo_archived_workflows which has the arguments

This sounds like a really niche feature, as filtering by parameters isn't something most systems have.
I'm inclined to say this is a better use-case for plugins (#6945) than being a core feature as such.

i know the workflow json is available in argo_archived_workflows which has the arguments

And the JSON filter is pretty inefficient too, per #13295 et al


Log in to Mint not working

mintapi Version: 1.54 (via pip3)
Initial Python call was getting stuck, so I tried running with headless off to see what was going on.
After 'successful' log in, Mint shows this for an instant, then goes back to initial login page:

Tried with both mfa_method='soft-token' and 'sms'.
Logging in manually in my regular Chrome works fine.

I "fixed" this by deleting my session_path folder, and letting it create a new one.
But this has happened a few times now ... is there a permanent solution?
If I use soft-token, can I just get rid of session_path?

Yeah, I've heard of this happening. I think it has to do with mint
detecting robot activity. You can certainly try getting rid of session_path
and see if you can login consistently. Let us know how it goes.
On Fri, Nov 12, 2021 at 1:13 PM dzg 'notifications at github.com'
<jaron-github+reply+ADGNKUGVTJYVZ6YTODW7QBF7TKO5DEVBNHHD5OJBUA=
@.***> wrote:

I "fixed" this by deleting my session_path folder, and letting it create
a new one.
But this has happened a few times now ... is there a permanent solution?
If I use soft-token, can I just get rid of session_path?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mintapi/mintapi/issues/343#issuecomment-967353860,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADGNKUFTSCWFVMQ53TY3WHDULVRNDANCNFSM5H5PL2GQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@dzg I ran into that pretty frequently.  I've started using --session-path=None in each request to work around that issue.

I also just released 1.57 to pypi with some login flow improvements, so it would be worth giving that and the other suggestions a try and reporting back!

I'm having the same issue on 1.57

Still having this issue on 1.57 with session_path=None

Still having this issue on 1.57 with session_path=None

1.61 is the latest on pypi, so I'd recommend upgrading and try again!


Create a dictionary for classes

Create a few classes to make a character more unique

first part on commit 6177400fcd455378d8041e102adc27e8b2a2d93c

second/last part on commit 5009f66ea953b77afff933f3ff34b201eac8ad0b
merged with main


Have confirm jBox not closing when confirm function return false

This is not a bug, rather a feature request.
Using a little form in a confirm Jbox, I'd like the confirm function not to close the jBox if some check in the function returns false. Any good ?

Added option closeOnConfirm to confirm dialogs to master. Will be added in v0.4.2


python310Packages.dvc-data: 0.38.1 -> 0.40.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.dvc-data is: DVC's data management subsystem
meta.homepage for python310Packages.dvc-data is: https://github.com/iterative/dvc-data
meta.changelog for python310Packages.dvc-data is: https://github.com/iterative/dvc-data/releases/tag/0.40.1
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.40.1 with grep in /nix/store/39hyvpsiqz64zvhr79714l172lx1ffiv-python3.10-dvc-data-0.40.1
found 0.40.1 in filename of file in /nix/store/39hyvpsiqz64zvhr79714l172lx1ffiv-python3.10-dvc-data-0.40.1

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

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath
dvc
dvc-with-remotes
python310Packages.dvc-data
python311Packages.dvc-data

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/39hyvpsiqz64zvhr79714l172lx1ffiv-python3.10-dvc-data-0.40.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/39hyvpsiqz64zvhr79714l172lx1ffiv-python3.10-dvc-data-0.40.1
ls -la /nix/store/39hyvpsiqz64zvhr79714l172lx1ffiv-python3.10-dvc-data-0.40.1/bin

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

2 packages failed to build:

dvc
dvc-with-remotes

2 packages built:

python310Packages.dvc-data
python311Packages.dvc-data

Maintainer pings
cc @fabaff for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.dvc-data is: DVC's data management subsystem
meta.homepage for python310Packages.dvc-data is: https://github.com/iterative/dvc-data
meta.changelog for python310Packages.dvc-data is: https://github.com/iterative/dvc-data/releases/tag/0.40.3
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.40.3 with grep in /nix/store/jzy7ldkb2kvk7ljaf5b0dq4yc6d1289c-python3.10-dvc-data-0.40.3
found 0.40.3 in filename of file in /nix/store/jzy7ldkb2kvk7ljaf5b0dq4yc6d1289c-python3.10-dvc-data-0.40.3

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

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath
dvc
dvc-with-remotes
python310Packages.dvc-data
python311Packages.dvc-data

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/jzy7ldkb2kvk7ljaf5b0dq4yc6d1289c-python3.10-dvc-data-0.40.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/jzy7ldkb2kvk7ljaf5b0dq4yc6d1289c-python3.10-dvc-data-0.40.3
ls -la /nix/store/jzy7ldkb2kvk7ljaf5b0dq4yc6d1289c-python3.10-dvc-data-0.40.3/bin

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

2 packages failed to build:

dvc
dvc-with-remotes

2 packages built:

python310Packages.dvc-data
python311Packages.dvc-data

Maintainer pings
cc @fabaff for testing.

Superseded by #218073.


Netlify CMS previews not working for Eleventy sites.

I have an eleventy site that uses Netlify CMS. Just recently the custom previews that previously worked in the CMS have stopped working after site build without me changing any of the code that might affect it. (They work locally though)
Just the other day the Previews were working like normal -- see screenshots below:

And then out of nowhere they stopped -- see screenshots below:

Applicable Versions:

Netlify CMS version: [e.g. 2.0.4]
Git provider: GitHub
OS: Windows 10
Browser version: Tested in chrome 22, safari, android
Node.JS version:

CMS configuration
backend:
  name: git-gateway
  branch: master # Branch to update (optional; defaults to master)
  open_authoring: false

media_folder: "static/img" # Media files will be stored in the repo under images/uploads
logo_url: /static\img\moonface-logo.png

collections:
  - name: "blog" # Used in routes, e.g., /admin/collections/blog
    label: "Posts" # Used in the UI
    folder: "posts" # The path to the folder where the documents are stored
    create: true # Allow users to create new documents in this collection
    slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
    fields: # The fields for each document, usually in front matter
      - { label: "Title", name: "title", widget: "string" }
      - { label: "Publish Date", name: "date", widget: "datetime" }
      - { label: "Author", name: "author", widget: "string", default: "Anonymous" }
      - { label: "Summary", name: "summary", widget: "text" }
      - { label: "Tags", name: "tags", widget: "list", default: ["post"] }
      - { label: "Body", name: "body", widget: "markdown" }

  - name: "pages"
    label: "Pages"
    folder: "pages"
    create: true # Change to true to allow editors to create new pages
    slug: "{{slug}}"
    fields:
      - { label: "Title", name: "title", widget: "string" }
      - { label: "Publish Date", name: "date", widget: "datetime" }
      - { label: "Link", name: "permalink", widget: "string", default: "(page-title)/index.html" }
      - label: "Navigation" # https://www.11ty.dev/docs/plugins/navigation/
        name: "eleventyNavigation"
        widget: "object"
        fields:
          - { label: "Hide on navbar", name: "parent", widget: "boolean", default: false }
          - { label: "Title on navbar", name: "key", widget: "string", required: false }
          - { label: "Order on navbar", name: "order", widget: "number", default: 0 }
      - { label: "Body", name: "body", widget: "markdown", required: false }

Hi @kylesloper, I recommend sharing a repo reproducing the issue. This is most likely related to build configuration, specifically how you are injecting site styles into the CMS. Without looking at some code it would be very hard to identify the root cause.

Here is the repo to the site.

Hi @kylesloper, I recommend sharing a repo reproducing the issue. This is most likely related to build configuration, specifically how you are injecting site styles into the CMS. Without looking at some code it would be very hard to identify the root cause.

Do we have an update on this at all?

👍 I'm quite new to Netlify CMS and wondered why I currently do not see a preview of my markdown post at all — the preview is both unstyled, but also the 11ty njk templates are not processed. It seems to be showing the 'raw' markdown instead…
I might be completly misunderstanding what Netlify CMS provides out of the box however, since I did read about some Custom Preview Templates or something 😸

👍 I'm quite new to Netlify CMS and wondered why I currently do not see a preview of my markdown post at all — the preview is both unstyled, but also the 11ty njk templates are not processed. It seems to be showing the 'raw' markdown instead…
I might be completly misunderstanding what Netlify CMS provides out of the box however, since I did read about some Custom Preview Templates or something 😸

Do your previews work locally and then not after site build. If they don't even work locally this isn't the right issue for you.

Not even locally…
Are you aware of any good discussions re: 'em working at all?

Hi @kylesloper, I forked your repo and deployed to Netlify.
The styles are displayed correctly on my live site:

Could this be a caching/browser issue?
Do you mind trying building with clearing cache on Netlify then with a different browser/private mode with no extensions.

Hi sorry for the late response. I ended up re-building the site entirely and creating a new site with Netlify. Unfortunately this meant I could not identify what the source of the issue was but its working now.

Hi sorry for the late response. I ended up re-building the site entirely and creating a new site with Netlify. Unfortunately this meant I could not identify what the source of the issue was but its working now.

Thank your @kylesloper for the follow up. Closing this issue

Thank your @kylesloper for the follow up. Closing this issue


Catch unsupported nvml functions

Tested on a Geforce GTX 1070.

I should have added: on the GTX 1070, the boost and clock functions all raise NotSupported. The power and persistence functions work.

Thanks! I had tested on GTX Titan X (Maxwell), and just assumed the functionality would exist on basically all commodity GPUs, but clearly that's not the case!


feat(bundler): add inline command

Closes #376
Add support for inlined scss as the default in package entrypoints that require other sass modules.
Changelog
New

packages/bundler now has an inline command for sass dependencies

Changed

packages/grid now uses grid.scss as the inlined entrypoint
packages/type now uses type.scss as the inlined entrypoint

Removed

@mattrosno they are currently the only ones who require other modules is the short answer, can definitely add in the same signature for all projects if that'd be helpful 👍

I don't understand why this isn't working, bundler/src/tools/sassdoc.js:347 as a test.
async function createMarkdown(sourceDir, config) {
  config = config || {};

  config.exclude = config.exclude || [];
  config.exclude.push('*/_inlined/*');
  config.exclude.push('*/vendor/*');

  console.log(config);

  return sassdoc.parse(sourceDir, config).then(

Running yarn build on base directory is adding duplicate items in SassDoc md files.
We may need to modify SassDoc bundler params to pass in glob instead of string so we can add excludes to the src glob?

@mattrosno let me run the clean command before generating sassdoc as a temporary fix. Agreed on the other packages, let me do that in a separate PR before our 10.2 release


[tests] Refactor MongoDB.Driver tests to use testcontainers

Microsoft Reviewers: Open in CodeFlow

I'm not sure if removing test_db is the correct thing. Or if need to prime the db after creation, and before the tests are run.
308535c (#2718)


Unify statistics collection

Unify statistic collection:

For MI_STAT == 0 no allocation stats are collected
For MI_STAT == 1 only aggregated values (across normal, large and huge heaps) are collected
For MI_STAT == 1 separate per-bin collection for normal heap is done as well

Looks good -- thanks!

Looks good -- thanks!


Fine tuning without GPU?

Hi, just want to confirm if It's possible to fine tune Llama-3.2 3B without GPU.
From the source code (https://github.com/unslothai/unsloth/blob/main/unsloth/init.py#L47) and (https://github.com/unslothai/unsloth/blob/main/unsloth/init.py#L83) it seems torch with CUDA is an essential requirement.
Just want to confirm.
Thanks for amazing library!

Seems not.
https://github.com/unslothai/unsloth/issues/1106

On our roadmap - but not yet sorry!


[Performance] Speed up Qwen 2 VL

This pattern of mixing in numpy and MLX inside the model forward will really slow things down. It forces a synchronization at each layer and breaks asynchronous evaluation:
https://github.com/Blaizzy/mlx-vlm/blob/main/mlx_vlm/models/qwen2_vl/language.py#L184-L185
Try to keep everything in MLX without converting to numpy in the apply_multimodal_rotary_pos_emb with only a small modification
        if cache is not None:
            kv_seq_len += cache.offset + 1
            position_ids = mx.arange(cache.offset, cache.offset + L)
        else:
            position_ids = mx.arange(0, L)

        position_ids = mx.expand_dims(position_ids, axis=0)
        position_ids = mx.tile(position_ids, (3, 1, 1))

And in apply_multimodal_rotary_pos_emb, change:
    mrope_section = np.cumsum(mrope_section * 2)[:-1].tolist()

    # position_ids = position_ids.tolist() <-- no need for that!
    cos = cos[position_ids]
    sin = sin[position_ids]

    cos = mx.concatenate(
        [m[i % 3] for i, m in enumerate(mx.split(cos, mrope_section, axis=-1))], axis=-1
    )[
        :, None, :, :
    ]  # unsqueeze dim 1
    sin = mx.concatenate(
        [m[i % 3] for i, m in enumerate(mx.split(sin, mrope_section, axis=-1))], axis=-1
    )[:, None, :, :]

    # Apply rotary embedding
    q_embed = (q * cos) + (rotate_half(q) * sin)
    k_embed = (k * cos) + (rotate_half(k) * sin)

    return q_embed, k_embed # <-- no need to cast to `mx.array` as they are already `mx.array`

Just FYI this change speeds up generation by 40% on an M2 Ultra:
mlx_vlm.generate --model mlx-community/Qwen2-VL-7B-Instruct-4bit --image ~/mlx-examples/stable_diffusion/still-life.png --prompt "Describe this please" --max-tokens 512

Pre: Generation: 55.160 tokens-per-sec
Post: Generation: 90.429 tokens-per-sec

Thanks, will make the changes!
Btw I have been meaning to ask.
I can't reproduce this with mx.where.
 def _merge_input_ids_with_image_features(
        self, image_features, inputs_embeds, input_ids
    ):
        image_token_index = self.config.image_token_index

        # Positions of <image> tokens in input_ids, assuming batch size is 1
        image_positions = input_ids == image_token_index
        image_indices = np.where(image_positions)[1].tolist()
        inputs_embeds[:, image_indices, :] = image_features.astype(mx.float32)

        # TODO: Add video features

        return inputs_embeds

I face two errors.

Boolean indelicate are not yet supported
Difference between mx.where and np.where usage throws errors because MLX expects another array besides the condition.

We don't have a unary where or boolean indexing (for the same reason). More on why and possible work arounds here.
In your case it should be quite doable in MLX using either __setitem__ with the right indices or put_along_axis. Could you share the shapes of inputs_embeds, image_features and image_positions and I will show you some example code for how to do it?

Thanks, I will checkout!
Here you go:
Input Embeddings Shape (1, 1220, 3584)
Image Features Shape (1, 1196, 3584)
Image Positions Shape (1, 1220)

So I wrote a little to quickly that you can do it all in MLX. Actually you can do most of it in MLX but it should be ok from an efficiency standpoint if you are just a little careful. What I would do is make sure the input_ids are a Python list or Numpy array (an MLX array is also ok but it shouldn't be the output of a computation)
# Do this part in numpy. If `input_ids` is a python list or numpy array then you are good.
# if it's an MLX array then cast it to numpy before the `==` to avoid putting an op in the graph
input_positions = np.where(input_ids == image_token_index)
input_positions = tuple(map(mx.array, input_positions))

inputs_embeds = mx.zeros(shape=(1, 16, 4))
image_features = mx.random.uniform(shape=(1, 12, 4))

inputs_embeds[input_positions] = image_features

Thanks!
If that's the case previous code is pretty close to this. Will run some benchmarks tho.
I wanted to move to mx.where instead of mixing numpy code as you suggested.

The key is to avoid mixing numpy and MLX inside the graph. You can do preprocessing or postprocessing with numpy and that's usually fine.
You just want to avoid having MLX OP -> numpy OP -> MLX OP because those cases will force a a synchronous graph evaluation which stalls the GPU and can really hit latency.

Thanks!
I just made the changes you suggested and wow!


Issue: Correct Plan Name in initiatePayment

Issue: Correct Plan Name in initiatePayment
Description
The plan name in the initiatePayment function was missing the "Plus" in "Pro Plus Plan". This caused an error in the payment initiation process.
Steps to Reproduce

Call initiatePayment with the "Pro Plan" instead of "Pro Plus Plan".
Observe that the payment initiation fails due to the incorrect plan name.

Expected Result
The payment initiation should succeed with the correct plan name.

Closing Remarks for Issue #24
Issue: Typo in Product Amount Property
Resolution:
The typo in the amount property of the product object was corrected from ammount to amount. This ensures proper functionality when accessing the product's amount.
Related Pull Request: #28


Guidance: JSII fixtures and documentation generation

Construct Hub auto compiles the examples in READMEs to other languages. Due to JSII limitations for non-compiled examples there can be errors (like this one https://github.com/cdklabs/cdk-nag/issues/583).
Is it possible to use JSII fixtures to influence the resultant translations on Construct Hub? If so, is there a way to test the translation before attempting to publish a new version?

Hi @dontirun, taking a stab at this one. I am familiar with how this works on the CDK, less so with Construct Hub, but hopefully its similar.
The tool that does the translations is called jsii-rosetta. In particular, the extract command is what translates the examples and determines if they compile or not. The readme linked should have decent documentation on how to get it working for your use case to test.
Here's my workflow when I'm working on the CDK repo: after I make changes to the CDK readme examples, I build to get a .jsii file and then call yarn --silent jsii-rosetta extract --compile, which extracts the examples it finds in the .jsii file into a .jsii.tabl.json "tablet" file. The tablet holds information on whether an example successfully compiled or not, and any errors should be displayed in stdout as well.
Now about rosetta fixtures, here is better documentation for that than what you linked. You can use them as scaffolding to avoid repeating yourself in the visible example. I'd recommend taking a look at some of the modules in the CDK repo. For any module (example, you'll find a rosetta folder that holds a default.ts-fixture, which is the scaffolding for most examples in that repo. If you build the module with ../../../scripts/buildup, you can then see what I'm talking about when you run yarn rosetta:extract, which will create the .jsii.tabl.json file in the module's folder.
Hope this helps! Let me know if you have more questions.

Fixtures may not be what I'm looking for. I'm expecting a majority of the users to read the example from the repository README versus documentation that is generated for the documentation site. The default README isn't going to display the examples with the fixtures added.
Thanks for the documentation link and insight @kaizen3031593, this is really helpful! I'll take some time to dive into it and see what I can figure out.


[stable/ambassador] Bump apro version and add dev portal

minor change: reorganization of pro template files
Signed-off-by: Noah Krause<EMAIL_ADDRESS>
Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
Bumps APro version
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/lgtm


Create u-bordeaux-montaigne.txt

@SebouChu If you wish to add u-bordeaux-montaigne.fr domain, the file path has to be lib/domains/fr/u-bordeaux-montaigne.txt. Please rename the file in your request if my guess is right. Please notice tha your request extends a request #2698, this if the student domain is actually etu.u-bordeaux-montaigne.fr, it is correct to add a file lib/domains/fr/u-bordeaux-montaigne/etu.txt. Please decide on what is appropriate, and let us know by commenting this request or #2698. Thank you!

@philipto I close this pull request, the #2698 is from a friend of mine ! He was faster than me ! :D

@SebouChu And he also closed his request. Could you please decide internally who will go ahead, and submit the request in a correct format? Thank you!


[ Can't send pics via WS call ]

Hi there,
Love this lib !
But facing a wierd problem :
my code :
`part 'api_client.g.dart';
@RestApi(baseUrl: Config.baseUrl)
abstract class ApiClient {
factory ApiClient(Dio dio, {String baseUrl}) = _ApiClient;
@MultiPart()
@POST(Config.controle)
Future<String> postControle(
  @Part() Controle controle,
  // @Part() List<XFile>? files,
  @Part() File attach,
);
}`

All works well when i dont send images
but when sending images (like described on pub.dev lib's description it throwws me this exception :
Exception: toJson() method have to add to File
[SEVERE] Failed after 79ms
Shouldn't happen right ?
What am i missing please ?
Thanks in advance

Solution :
i did import the wrong File...
did import dart.html one instead of dart.io one...
everything's allright now ^^


Updated Carthage instructrions

Added instructions for importing the built Carthage frameworks into an Xcode project.

Thanks!

No problem!


raise exception when if_not_exists is not capable.

raise exception when calling if_not_exists for table with counter
columns. refer to https://github.com/cqlengine/cqlengine/issues/302 for
details.

I normally don't do this, but would you mind rebasing off master?  I've fixed the broken tests and want to make sure everything passes before I merge.  Thanks!


'closureCreateSourceMap' option does not work along with 'nosuffix' option

 Issue by MrCaperwood
Friday Nov 21, 2014 at 13:19 GMT
Originally opened as https://github.com/samaxes/minify-maven-plugin/issues/81

Problem: I use merging, minifying and javascript source maps functionality. When source map file is generated the attribute 'sources' references on temporary file created after merging all sources. As long as I use nosuffix=true temporary file is removed due to #32 fix in 1.7.1
Possible solution: Ideally solution would be to introduce another option 'removeMergedTmpFile' with default value "true" to separate this functionality from 'nosuffix' option. From my point of view, removing temporary file is not that related to 'nosuffix' functionality and it deserves separate option.
My config:
  <plugin>
    <groupId>com.samaxes.maven</groupId>
    <artifactId>minify-maven-plugin</artifactId>
    <version>1.7.4</version>
    <executions>
      <execution>
        <id>default-minify</id>
        <phase>process-resources</phase>
        <goals>
          <goal>minify</goal>
        </goals>
        <configuration>
          <closureCreateSourceMap>true</closureCreateSourceMap>
          <jsEngine>CLOSURE</jsEngine>
          <charset>utf-8</charset>
          <webappSourceDir>${project.build.directory}/v1/template/</webappSourceDir>
          <webappTargetDir>${project.build.directory}/v1/template/</webappTargetDir>
          <cssSourceDir>css/</cssSourceDir>
          <cssSourceIncludes>
            <cssSourceInclude>style.css</cssSourceInclude>
          </cssSourceIncludes>
          <cssFinalFile>all-style-${timestamp}.css</cssFinalFile>
          <jsSourceDir>js/</jsSourceDir>
          <jsSourceFiles>
            <jsSourceFile>jquery-1.7.2.min.js</jsSourceFile>
            <jsSourceFile>jquery.jqpagination.min.js</jsSourceFile>
            <jsSourceFile>jquery.validate.js</jsSourceFile>
            <jsSourceFile>layout.js</jsSourceFile>
            <jsSourceFile>config.js</jsSourceFile>
            <jsSourceFile>store.js</jsSourceFile>
          </jsSourceFiles>
          <jsFinalFile>script-${timestamp}.js</jsFinalFile>
          <nosuffix>true</nosuffix>
        </configuration>
      </execution>
    </executions>
  </plugin>

 Comment by marfous
Thursday Apr 02, 2015 at 13:21 GMT

Does this issue mean that it would be able to minify single source JS files with no suffix and attach source map to it? That would be really helpful.

 Comment by tekhedd
Wednesday Apr 12, 2017 at 17:37 GMT

[edit] Actually, it looks like this issue has been fixed in 1.7.6. My actual problem is that the source map link at the bottom of the minified file exists after a clean build but disappears on a rebuild (if the generated file already exists), which appears to be different, and does not depend on the state of "nosuffix". I should probably open a new issue for this.
[original comment below, largely irrelevant]
I imagine every developer runs into this problem once. :) The merged.min.js file's source map points to merged.js file instead of the original sources (which makes sense because the unmerged files do not exist in the exploded WAR for in-place debugging). IMO the obvious solution (if you don't want to include the un-minified code in the WAR) is to set nosuffix=false and add merged.js to  in the maven-war-plugin (or similar action).
Perhaps the best and easiest fix would be to explain this in the documentation. :) It's not clear that "nosuffix" removes the merged sources and breaks source maps, but if it were it would have saved me and probably most developers an hour or two.  Considering how awesome and ubiquitous this plugin is, that's a lot of hours! :)

 Comment by tfilo
Friday Sep 14, 2018 at 05:29 GMT

Hello I try to use minify-maven-plugin in my project. I have configuration like this:
            <plugin>
                <groupId>com.samaxes.maven</groupId>
                <artifactId>minify-maven-plugin</artifactId>
                <version>1.7.6</version>
                <executions>
                    <execution>
                        <id>default-minify</id>
                        <phase>prepare-package</phase>
                        <configuration>
                            <skipMerge>true</skipMerge>
                            <nosuffix>true</nosuffix>
                            <closureCompilationLevel>SIMPLE_OPTIMIZATIONS</closureCompilationLevel>
                            <closureCreateSourceMap>true</closureCreateSourceMap>
                            <webappSourceDir>${basedir}/src/main/webapp</webappSourceDir>
                            <webappTargetDir>${project.build.directory}/min</webappTargetDir>
                            <cssSourceDir>css</cssSourceDir>
                            <cssSourceIncludes>
                                <cssSourceInclude>**/*.css</cssSourceInclude>
                            </cssSourceIncludes>
                            <jsSourceDir>rpo</jsSourceDir>
                            <jsSourceIncludes>
                                <jsSourceInclude>**/*.js</jsSourceInclude>
                            </jsSourceIncludes>
                            <jsEngine>CLOSURE</jsEngine>
                        </configuration>
                        <goals>
                            <goal>minify</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

In my final war file there are minified js and css files and every js file has source map but browser is unable to use it because there is no original file packed. Original files was replaced with minified version. Is it possible to configure plugin to pack original files with some suffix ? Due to old project complexity I am unable to change all references for js files to min.js so I need to use no suffix option.

This plugin now supports inlining source maps and including the content the source files in the source map.


C Library Integration

Although most of us like Rust, from time to time, C library might be needed here. We do want to provide a seamless integration with C library.
This issue covers 2 parts:

[x] C Library Integration
[ ] Post on integrating C library

https://github.com/nervosnetwork/capsule/pull/15


[WFCORE-5146] WFLYPRT0057 message handling improvement

Issue: https://issues.redhat.com/browse/WFCORE-5146

Core - Full Integration Build 10073 outcome was FAILURE using a merge of fcbcfae1492e4cd54674e4e185df8952d5fdf113
Summary: Tests failed: 1 (1 new), passed: 7071, ignored: 107 Build time: 04:22:54
Failed tests
org.jboss.as.test.clustering.cluster.singleton.SingletonDeploymentJBossAllTestCase.test: java.lang.AssertionError: expected:<200> but was:<404>
	at org.jboss.as.test.clustering.cluster.singleton.SingletonDeploymentTestCase.test(SingletonDeploymentTestCase.java:130)
------- Stdout: -------
Warning! The CLI is running in a non-modular environment and cannot load commands from management extensions.
 [0m02:16:34,019 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
 [0m [0m02:16:34,028 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-7) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
 [0m [0m02:16:34,031 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0008: Undertow HTTPS listener https suspending
 [0m [0m02:16:34,031 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 10) MODCLUSTER000002: Initiating mod_cluster shutdown
 [0m [0m02:16:34,032 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0008: Undertow AJP listener ajp suspending
 [0m [0m02:16:34,034 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to [::1]:8443
 [0m [0m02:16:34,035 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0019: Stopped Driver service with driver-name = h2
 [0m [0m02:16:34,038 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0019: Host default-host stopping
 [0m [0m02:16:34,039 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0007: Undertow AJP listener ajp stopped, was bound to [::1]:8009
 [0m [0m02:16:34,039 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0008: Undertow HTTP listener default suspending
 [0m [0m02:16:34,039 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0007: Undertow HTTP listener default stopped, was bound to [::1]:8080
 [0m [0m02:16:34,042 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0004: Undertow 2.2.2.Final stopping
 [0m [33m02:16:34,041 WARN  [org.jboss.modcluster] (ServerService Thread Pool -- 10) MODCLUSTER000033: Failed to interrupt socket reception.: java.io.IOException: Invalid argument (sendto failed)
	at java.net.PlainDatagramSocketImpl.send(Native Method)
	at java.net.DatagramSocket.send(DatagramSocket.java:693)
	at org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.interruptDatagramReader(AdvertiseListenerImpl.java:197)
	at org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.stop(AdvertiseListenerImpl.java:212)
	at org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.destroy(AdvertiseListenerImpl.java:224)
	at org.jboss.modcluster.ModClusterService.shutdown(ModClusterService.java:198)
	at org.wildfly.extension.mod_cluster.ContainerEventHandlerServiceConfigurator.accept(ContainerEventHandlerServiceConfigurator.java:83)
	at org.wildfly.extension.mod_cluster.ContainerEventHandlerServiceConfigurator.accept(ContainerEventHandlerServiceConfigurator.java:50)
	at org.wildfly.clustering.service.FunctionalService.stop(FunctionalService.java:73)
	at org.wildfly.clustering.service.AsyncServiceConfigurator$AsyncService.lambda$stop$1(AsyncServiceConfigurator.java:142)
	at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
	at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
	at java.lang.Thread.run(Thread.java:748)
	at org.jboss.threads.JBossThread.run(JBossThread.java:513)

 [0m [0m02:16:34,098 INFO  [org.jboss.as] (MSC service thread 1-4) WFLYSRV0050: WildFly Full 22.0.0.Beta1-SNAPSHOT (WildFly Core 14.0.0.Beta1-SNAPSHOT) stopped in 113ms
 [0m [0m02:16:34,099 INFO  [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Full 22.0.0.Beta1-SNAPSHOT (WildFly Core 14.0.0.Beta1-SNAPSHOT) starting
 [0m [0m02:16:34,270 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
 [0m [0m02:16:34,339 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 40) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
 [0m [0m02:16:34,346 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
 [0m [0m02:16:34,395 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 47) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
 [0m [0m02:16:34,459 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 55) WFLYCLINF0001: Activating Infinispan subsystem.
 [0m [0m02:16:34,482 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 56) WFLYIO001: Worker 'default' has auto-configured to 8 IO threads with 64 max task threads based on your 4 available processors
 [0m [0m02:16:34,483 INFO  [org.jboss.as.ejb3] (MSC service thread 1-1) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 16 (per class), which is derived from the number of CPUs on this host.
 [0m [0m02:16:34,484 INFO  [org.jboss.as.ejb3] (MSC service thread 1-1) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 64 (per class), which is derived from thread worker pool sizing.
 [0m [0m02:16:34,496 INFO  [org.jboss.as.jaxrs] (ServerService Thread Pool -- 57) WFLYRS0016: RESTEasy version 3.13.2.Final
 [0m [0m02:16:34,528 INFO  [org.jboss.as.connector] (MSC service thread 1-1) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.23.Final)
 [0m [0m02:16:34,537 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) WFLYJCA0018: Started Driver service with driver-name = h2
 [0m [0m02:16:34,547 INFO  [org.jboss.as.clustering.jgroups] (ServerService Thread Pool -- 60) WFLYCLJG0001: Activating JGroups subsystem. JGroups version 4.2.5
 [0m [0m02:16:34,603 INFO  [org.wildfly.extension.microprofile.config.smallrye._private] (ServerService Thread Pool -- 65) WFLYCONF0001: Activating WildFly MicroProfile Config Subsystem
 [0m [0m02:16:34,608 INFO  [org.wildfly.extension.microprofile.health.smallrye] (ServerService Thread Pool -- 66) WFLYHEALTH0001: Activating Eclipse MicroProfile Health Subsystem
 [0m [0m02:16:34,611 INFO  [org.wildfly.extension.microprofile.jwt.smallrye._private] (ServerService Thread Pool -- 67) WFLYJWT0001: Activating WildFly MicroProfile JWT Subsystem

I don't see how this is an improvement. Cancelling these tasks should be an unusual event and it is helpful to have information about it in the log. It's true that it's possible no cancellation message will get logged if the cancel happens after run() checks if it was cancelled but before it caches the executing thread. But that seems like a very low probability thing and not logging at all doesn't seem better.  Is this causing some kind of problem?

As I understand from discussion in JBEAP issue, this ticket was filed with the customer's strong demand. He wanted to get rid of this message, but to change it like that was also a possibility.
Please have a quick look here https://issues.redhat.com/browse/JBEAP-18854.

Closing this PR as upstream issue JBEAP-18854 has been closed.

Closing this PR as upstream issue JBEAP-18854 has been closed.


axistream usage help

I am trying to use an axistream BFM in my own testbench. The testbench uses axilite BFM successfully.
I have to drive a number of axistream interface (N = number of possible channels). So I declare:
type t_axistream_array is array (0 to 63) of t_axistream_if (tdata(31 downto 0),
tkeep(3 downto 0),
tuser(0 downto 0),
tstrb(3 downto 0),
tid(7 downto 0),
tdest(3 downto 0));
signal axistream_if : t_axistream_array;
Then I initualize signals:
for i in 0 to 63 loop
axistream_if(i) <= init_axistream_if_signals(true,axistream_if(i).tdata'length,
axistream_if(i).tuser'length,
axistream_if(i).tid'length,
axistream_if(i).tdest'length);
    end loop;

Then I try to drive a master axistream interface in this way:
axistream_transmit_bytes( v_data_array ,  "Send", s_in_data_axis_aclk, axistream_if(0));
where v_data_array is
variable v_data_array : t_byte_array(0 to 3) := (x"00", x"01", x"02", x"03");
Then I get the following message when I run the simulation:

UVVM: ***  TB_ERROR #1  ***
UVVM:         512.5 ns   AXISTREAM_BFM
UVVM:                    axistream_transmit(4B) => Failed. Boolean was false. 'Sanity check: Check that bfm_config.clock_period is set'

Do I need to set clock period? Why?

Hi,
Yes, you need to define a config that has to be included as a parameter in the BFM procedure. Please see the documentation.
We are looking into alternatives that don't need a clock period to be set for a future release.
Best regards,
Arild

Thanks Arild. What if the clock period is not set equal to the interface clock in use?


Remove administration dropdown from toolbar?

Is it possible to customize the default frontend toolbar? I would like to remove the administration dropdown since my client gets confused by the options there and the flyout admin.
Thank you,
/Martin

Hello @mistalaba, please make sure to submit questions/support within the appropriate channels on either the User Mailing List, IRC (freenode#django-cms) or Stackoverflow.
You can find additional information on our support page.


Event mode - time until a full day event is shown incorrectly

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
If I'm correct, the amount of time until a full day event is shown incorrectly in the 'event mode' and with 'relative time' enabled.
Now it's saturday evening. The next event is on monday, but the calendar shows it's tomorrow. It should be "in two days". I think it just counts that the event will start at midnight, so it's only 28 hours away. I haven't looked at the code, so I'm not sure.

Expected behaviour
I think it would be great if full day events were trated as full day events (or it could be an option to do it) - the amount of time should be calculated in days - tomorrow, today - not by hours.
Possible Solutions
I was the author of the "original" atomic calendar and if I remember correctly for full day events I set the variable "isFullOneDayEvent" or isFullMoreDaysEvent and calculated the number of days based on that.
Context / Reason
Unfortunately I stopped creating this a few years ago, I know this may involve quite a bit of change, this is just a suggestion.  Anyway, great job and I'm glad the calendar has a successor.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hey,
I wasnt able to re-produce this in my lab but will try at different times as I guess that will impact the results here!
That said, this calculation is completed by DayJS using the relative time module, im not too sure if there is much I could do about it, however will do some digging to see if there is any additional configuration for the relative time module.

Ok i now see this issue.

so this appears to be the way dayjs deals with relative time:
https://day.js.org/docs/en/display/from-now#list-of-breakdown-range

Would it be possible to set your own "roundings/thresholds" - Maybe only in the code editor
https://day.js.org/docs/en/customization/relative-time#relative-time-thresholds-and-rounding
I really dont like seeing "in a month" (on a birthday calendar) I would rather just see eg "in 36 days"
With the possibility to adding your own threshold I would be able to do so.
And also, it would be possible to "fix" the 22 hour threshold

Hey, same issue for me, pretty inconvenient, any update/workaround ?


Upgrade the versions of Jax and Jaxlib

Upgrade jax>=0.1.71 and jaxlib>=0.1.49. Fixes #47

@googlebot I signed it!

Thanks for the contribution!


Tons of requests are triggered to fetch contributors

Describe the bug
The website triggers a ton of requests as can be seen in a browser devtools screen:

here's some example content

To Reproduce

Go to any page on the website
Open e.g. chrome's devtools
Check out the network tab

Desktop (please complete the following information):

OS: Microsoft Windows [Version 10.0.22000.978]
Browser Chrome Version 105.0.5195.102

I am having the same issue for a while now (high CPU usage due to this)
I was able to trigger it consistently, in my case these requests all returned 403 ("API rate limit exceeded" ...), and it was looping through this, it looks problematic:
https://github.com/adoptium/website-v2/blob/4c5c42e15c7b73d1ead12b9aa73a5c331e6ee3d5/src/hooks/useAdoptiumContributorsApi.tsx#L75-L80
Sometimes is just stops on error on:
https://github.com/adoptium/website-v2/blob/4c5c42e15c7b73d1ead12b9aa73a5c331e6ee3d5/src/hooks/useAdoptiumContributorsApi.tsx#L125
Same API call error.
Which makes sense, as if this succeeds getContributor(), would be called afterwards.

Thanks for raising this bug, we're already aware of the problem and working on a fix at https://github.com/adoptium/website-v2/pull/520. I'll close this for now but feel free to re-open if you have more questions!


Window reload required after enabling scm.experimental.showSyncView

Type: Bug
When I first enabled scm.experimental.showSyncView nothing new appeared in SCM view until I ran Developer: Reload Window. This conjured up the SOURCE CONTROL SYNC section there, and now it disappears and reappears immediately as I toggle that experimental setting.
VS Code version: Code - Insiders 1.83.0-insider (11bfd76a61a299156a9f3138ecfad70937af3527, 2023-09-21T05:34:38.227Z)
OS version: Windows_NT x64 10.0.22621
Modes:

Closing this issue as the setting has been removed along with the Sync View.


[v2.9] Enable metrics in nginx template,  bump nginx to 1.11.3

backport: https://github.com/rancher/rancher/issues/47681

Validated on rancher v2.9-023781e52103c45a9bbdf3cb47d60b9336321daa-head :

Provisioned v1.30.6-rancher1-1, v1.29.10-rancher1-1, 1.28.15-rancher1-1
nginx-1.11.3-rancher1 image has container argument --enable-metrics=true set.


attempt to index local 'name'

Hi, every single time I save a map in the the most recent version of Tiled, this error appears when trying to enter the room.

This doesn't happen on the maps in example-stage, but it does after I open them and save.
I have tried different versions of Kristal, but all give the same error.
I don't know how to fix it, and I can't figure out what the issue is in the first place.
It would be great to know what I am doing wrong.
Thanks.

Oh, nevermind I firgured out the issue.
To anyone who has this same issue here's how to fix it.
You have to download an older version of Tiled as of now.
The option that works for me is 1.8.4.
You can download these older versions from the Tiled Github page.

oh hey sorry! this was fixed in a development build a while ago but we haven't made a hotfix release yet... we'll be doing that soon!!

oh, thanks for for the info and getting back to me on that
thats good to hear about the hotfix!


Writing to characteristic failed. Check if Service Changed service is enabled, error: 305 ,message: Writing to characteristic failed

Information
This GitHub Issue page is for reporting issues or asking questions regarding the iOS DFU library. For general DFU questions, SDK questions, etc, please check our DevZone.
Make sure you are using the latest version of the library:
Also, before asking a question, make sure similar issue isn't already opened in open or closed issues.
DFU Bootloader version (please complete the following information):

SDK version: [e.g. SDK 16]
Bonding used: [yes/no]
Library version: [e.g. 4.6.1]

Device information (please complete the following information):

Device: [e.g. iPhone 11]
OS: [e.g. iOS 13.1]

Your question
What do you have problem with?
Logs
Add any other context or logs describing the problem here.

Please provide the above information in the issue, non in the issue name.

This may be related to #395. As no additional info was provided, I'm closing the issue.


Bootstrap tooltip on select

Hi
One of my selects has a confirgured bootstrap tooltip.
Without "bootstrap-select" this tooltip shows up as expected. But with "bootstrap-select" the orginal select is hidden and the data attributes are not copied to the styled select. So no tooltip :(
Have I missed any option or do I have to do a dirty hack?
Thanks,
Frank

If you're using the bootstrap-select data-api to initialize the selectpicker, you'll need to assign the tooltip to the selectpicker's container. Something like:
    $('body').tooltip({
        selector: '.selectpicker',
        container: 'body',
        placement: 'bottom'
    });

If you're manually calling $('.selectpicker').selectpicker(), simply initialize call tooltip() afterward.

HI
Thanks for your help. But I am not sure what you mean ;)
This is my code within document.ready:
$('select.select-picker').selectpicker({
	actionsBox: true,
	dropupAuto: false
});

$('[data-toggle="tooltip"]').tooltip({
	container: 'body'
});

What should I adjust here?
Thanks,
Frank

'[data-toggle="tooltip"]' selects the select element, not the button element, so the tooltip is being applied to the hidden select. You'll want to do something like:
$('[data-toggle="tooltip"], [data-toggle="tooltip"] + .bootstrap-select > button').tooltip({
    container: 'body
'});

Hi
Im using bootstrap and bootstrap select with dynamic data (from web service, like country list) also I use liveseach everything is ok but I need to add tooltip with same text when move mouse over each item but I can't I only made it for static option "value" or option title "text" how is it possible to implement this feature.
regards
thanks


Cleanup for slim header in page listing

Fixes #8864.

[x] Do the tests still pass?[^1]
[x] Does the code comply with the style guide?

[x] Run make lint from the Wagtail root.

[x] For Python changes: Have you added tests to cover the new/fixed behaviour?

Please describe additional details for testing this change.
[^1]: Development Testing
[^2]: Browser and device support
[^3]: Accessibility Target

@PaarthAgarwal can you read through this and check it all makes sense from your perspective

@laymonage thanks for resolving this. I'll try to review tonight


Chore Support base64 embedding format

Issue: #473
This PR adds the support for base64 embedding format. As discussed in the issue, this format is not officially documented, however it is used in the official python library.
The following go example can be used to test the change:
package main

import (
	"context"
	"encoding/json"
	"fmt"
	"os"

	"github.com/sashabaranov/go-openai"
)

func main() {

	client := openai.NewClient(os.Getenv("OPENAI_API_KEY"))

	res, err := client.CreateEmbeddings(
		context.Background(),
		openai.EmbeddingRequest{
			Input:          "Your text string goes here",
			Model:          openai.AdaEmbeddingV2,
			EncodingFormat: openai.EmbeddingEncodingFormatBase64,
		},
	)
	if err != nil {
		panic(err)
	}

	data, err := json.MarshalIndent(res, "", "  ")
	if err != nil {
		panic(err)
	}

	fmt.Println(string(data))
}

The following example is provided to compare the result using the python implementation:
import openai
import os

openai.api_key = os.getenv("OPENAI_API_KEY")

text = "Your text string goes here"

response = openai.Embedding.create(
    model="text-embedding-ada-002",
    input=text,
    kwargs={"encoding_format": "base64"},
    )
print(response)

@henomis seems like the test coverage is failing now

It's the coverage for this piece of code
err = c.sendRequest(req, base64Response)
if err != nil {
	return
}

in my first implementation c.sendRequest() was the last instruction of the function (like on the other tests files where sendRequest has been used) and the coverage was ok.

Ok, inserted a test case to make sendRequest fail

@henomis thank you so much!


@opentelemetry/context-zone Maximum call stack size exceeded occurs when the Redux Tool Chrome Extension is enabled for Next v13.5.4

What happened?

OpenTelemetry Setup Code
import { WebTracerProvider } from '@opentelemetry/sdk-trace-web'
import { Resource } from '@opentelemetry/resources'
import { SemanticResourceAttributes } from '@opentelemetry/semantic-conventions'
import { ZoneContextManager } from '@opentelemetry/context-zone'
import { registerInstrumentations } from '@opentelemetry/instrumentation

const provider = new WebTracerProvider()
provider.register({
  contextManager: new ZoneContextManager(),
})

package.json
"dependencies": {
    "@opentelemetry/api": "^1.4.0",
    "@opentelemetry/context-zone": "^1.9.1",
    "@opentelemetry/core": "^1.13.0",
    "@opentelemetry/exporter-trace-otlp-http": "^0.35.1",
    "@opentelemetry/instrumentation": "^0.39.1",
    "@opentelemetry/instrumentation-fetch": "^0.39.1",
    "@opentelemetry/instrumentation-xml-http-request": "^0.39.1",
    "@opentelemetry/otlp-transformer": "^0.39.1",
    "@opentelemetry/resources": "^1.13.0",
    "@opentelemetry/sdk-trace-web": "^1.13.0",
    "@opentelemetry/semantic-conventions": "^1.13.0"
  }

Relevant log output
No response

The provided screenshot is too low resolution to read and appears to be minified code. Can you please copy and paste a text version of the stacktrace?
Can you also try using the stack context manager and see if the bug still persists? This context manager is not recommended for production but should help us to eliminate variables for debugging.

normalizeRouterState is not opentelemetry code. This might be caused by the extension. Can you please provide a reproduction so we can look into this further?

What is making you think this is caused by the context manager? I don't see reference to it in the stacktrace or error message?

This is a Next.js demo project that includes a secondary development of sdk.js based on OpenTelemetry and imports the "context" package. In Next.js, if you load this project using the "Script beforeInteractive" or "Script afterInteractive" modes during production builds and with Redux DevTools enabled, it may result in a stack overflow error. However, if you load the project using the "lazyOnload" mode, this issue should not occur.
Demo

with Redux DevTools enabled, it will result in an error stating "Maximum call stack size exceeded.". However, if you load the project using the "lazyOnload" mode, this issue should not occur.

This REALLY does sound like the DevTools is adding something to the base prototype (of some class) that has a recursive loop (back to a parent object) so that when the recursive code attempt to traverse the object tree it goes forever.
And based on the normalizeRouterState in the recursive call stack this seems to be what that function is doing.
So it seems like the DevTools is seeing something that the Context Manager is adding that triggeres this scenario -- exactly what! Well thats the million dollar question. Can you (@WeirShir) do some debugging and identify what that normalizeRouterState is repeating on as this will help identify "who" is the culprit. I suspect a fix will be required in the normalizeRouterState and/or the DevTools and not (specifically) in the Context Manager.

This sounds like an issue I need to raise with Redux Tool officials.

FWIW normalizeRouterState is part of Next's use of the Redux DevTools:

https://github.com/vercel/next.js/blob/ffdfd33251165d8b2f092568c8e4e5f08c71a636/packages/next/src/client/components/use-reducer-with-devtools.ts#L12

As far as I know, the Redux DevTools don't do anything to "mess with prototypes".

Really interesting... in this stackblitz, https://stackblitz.com/edit/github-wywdtb?file=src%2Fapp%2Flayout.tsx
You can npm i, and then npm run build && npx serve out - and you'll see in the console the issues.
What seems to happen is that the object prototype is polluted, or somehow there's a self-referential object that just stacks up calls to the normalizeRouterState function.
I am more on the first option:

Why would the zone object end up in the Next.js redux dev tools code 🤔 it has to be pollution right?

Once you get to this point of the debugging, past the __PAGE__ stuff from RSC, there's no way back, it'll just stack up calls to normalizeRouterState 🤔

This sounds like an issue I need to raise with Redux Tool officials
@WeirShi did you ever raise this with redux tools?

@dyladan per above this appears to be an issue with Next's code, not the Redux DevTools

Sorry. I guess the more pertinent question is "can this be closed?" It doesn't seem to be caused by anything we're doing

There hasn't been much interaction on this and it does so far seem to be something in either Next or Redux DevTools. Will close this out for now, but if something new comes up leaning toward otel-js needing a fix, feel free to comment or open a new issue.