Tolerate a Certificate using a non-supported group on server side (1.1.0)

If a server has been configured to use an ECDSA certificate, we should
allow it regardless of whether the server's own supported groups list
includes the certificate's group.
Fixes #2033
This is the 1.1.0 version of #5601

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

@vdukhovni any further comments on this?

Bottom line, I see nothing wrong with the code, but don't fully understand it for lack of familiarity with the context, and lack of cycles to study how the modified functions fit into the larger picture.  No objections to merging, but can't definitively say it is all correct.

Pushed. Thanks


racket: Update source hashes

Upstream has replaced the tarballs in place to fix racket/racket#3499.
I have verified that the new binaries can install packages properly, unlike
the old ones.

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"

nixpkgs-review uses too much RAM, built racket and racket-minimal manually.

[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

It would make things easier if people would just release a new minor version...

You're not wrong, but what can I do? :/

I'm probably doing something wrong but when I try to install the "2d" package I get:
open-output-file: cannot open output file
  path: /nix/store/54svliggq9szwlmcw07yxz88rmrrcd2k-racket-7.9/share/racket/pkgs/.LOCKpkgs.rktd
  system error: Permission denied; errno=13
  context...:
   /nix/store/54svliggq9szwlmcw07yxz88rmrrcd2k-racket-7.9/share/racket/collects/racket/private/kw-file.rkt:116:2: call-with-output-file*
   /nix/store/54svliggq9szwlmcw07yxz88rmrrcd2k-racket-7.9/share/racket/collects/racket/file.rkt:426:0: call-with-file-lock
   /nix/store/54svliggq9szwlmcw07yxz88rmrrcd2k-racket-7.9/share/racket/collects/pkg/main.rkt:320:16
   /nix/store/54svliggq9szwlmcw07yxz88rmrrcd2k-racket-7.9/share/racket/collects/racket/contract/private/arrow-higher-order.rkt:375:33
   /nix/store/54svliggq9szwlmcw07yxz88rmrrcd2k-racket-7.9/share/racket/pkgs/gui-lib/mrlib/terminal.rkt:213:7
   /nix/store/54svliggq9szwlmcw07yxz88rmrrcd2k-racket-7.9/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:435:6
   /nix/store/54svliggq9szwlmcw07yxz88rmrrcd2k-racket-7.9/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:486:32
   /nix/store/54svliggq9szwlmcw07yxz88rmrrcd2k-racket-7.9/share/racket/collects/racket/private/more-scheme.rkt:148:2: call-with-break-parameterization
   /nix/store/54svliggq9szwlmcw07yxz88rmrrcd2k-racket-7.9/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:370:11: eventspace-handler-thread-proc

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

3 packages built:

fluxus
racket
racket-minimal

offtopic question: Is there a way to provide libportaudio.so and ffmpeg to the video racket package without recompiling racket or something like that?


Allow DB to distinguish between empty lists and null for ordered list.

(Note that this fixes b/158980508)


Provide heredoc helper

It would be great if commander would provide a helper to unintend a String created with a heredoc. Some seem to solve this "elegantly" via a core_ext to String:
class String
  def unindent
    gsub(/^#{scan(/^\s*/).min_by{|l|l.length}}/, "")
  end
end

command :test do
  message = <<-EOM.unindent
  This is a test message! The left indent
  gets stripped automatically!
  EOM
end

This is already provided in ActiveSupport, I'd probably suggest just using that: http://edgeguides.rubyonrails.org/active_support_core_extensions.html#strip-heredoc


Release-branch deploys should be production quality

Problem: currently, release-branch deploys are not "production quality". For example visit https://v1-24.docs.kubernetes.io/docs/home/ and view the page source. You'll see that the page source:

Isn't minified
Assets aren't finger printed -- e.g.:<link href="/scss/main.css" rel="stylesheet">
<script src="/js/script.js"></script>

But release-branch deploys are officially supported documentation, and should be minified and assets finger printed (to avoid caching issues when assets are updated). The only thing that we don't want, as far as I understand, is for these deploys to be indexed. Is that correct @sftim?
Proposed Solution: recognized the officially supported release-branch deploys as "production" deploys, but with indexing turned off.
/cc @nate-double-u

/area web-development
/priority backlog
Minifying assets for older docs sounds useful. However, there are other issues I'd prefer us to prioritize - for example, https://github.com/kubernetes/website/issues/23518

You're right @sftim, when seen in that context. Let me offer a more complete formulation (since I forgot to include the full context in this issue, taking it as implicit).

@sftim @nate-double-u - Ok, here's a more complete (hopefully better) picture of the situation as I see it.
When the website is built in production mode, we get the following by default from Hugo/Docsy:

Site indexing is permitted
Analytics is enabled
Artifacts are minified
Assets are finger printed

We want:

All of the above features for the main deploy, and
All except (1) for release-branch deploys

PR #36334 proposes to:

Build release-branch deploys in production mode and
Selectively disable (1) based on the value of the config paramdeprecated set to false for release-branches

This seems like an approach that is more compatible with Hugo/Docsy, and would require less code customization, as compared to continuing to build release-branches in non-production mode and then selectively turning on three features (2 to 4).
Hopefully this makes the benefits of #36334 clearer.
Thoughts?

@reylejano - during the 01/10 SIG docs meeting we discussed this issue among others. It's the previous comment in particular that I'd like your feedback on. Thanks! /cc @a-mccarthy @nate-double-u

I still think that this is relevant. Waiting on feedback from https://github.com/kubernetes/website/issues/36333#issuecomment-1294012582.

Minifying assets for older docs sounds useful. However, there are other issues I'd prefer us to prioritize - for example, https://github.com/kubernetes/website/issues/23518

This is still my opinion. However, we're also looking to revisit the approach for serving older docs. If we do that, I expect that this request gets delivered implicitly.


x/build: automate testing "toolstash -cmp" with trybots

For cleanup CLs like https://go-review.googlesource.com/#/c/8762, it would be nice if the trybots could take care of building a toolchain at HEAD, toolstash saving it, rebuilding at HEAD+CL, and then running an appropriate "toolstash -cmp" build.
Using toolstash/buildall, this only needs to be run once on a fast/cheap trybot type (e.g., linux/amd64) to avoid wasting more expensive trybot resources (e.g., OS X and/or ARM).
Obviously this would only be on an opt-in basis.  Perhaps just a new dedicated trybot type that doesn't run by default, is configured with a different testing script than running all.bash, and is selected via whatever +trybot mechanism is implemented.
Maybe too niche a use case, but some rationale:

Now that the toolchain is in Go, it seems like cleanup CLs to make the code more idiomatic are going to be increasingly common.
It's easy to misuse toolstash; e.g., accidentally build the stashed toolchain at HEAD+CL rather than HEAD, negating the testing benefits.
As a reviewer, you need to trust that developers who say "Passes toolstash -cmp" actually tested it correctly.

I'd love this.

Tangentially, I just realized that using "toolstash -cmp" with "go build std" doesn't provide any linker coverage.  It should be something like "go build std cmd".

Probably the easiest way to implement this is to take advantage of the existing post-make.bash snapshots we already upload to GCS for all builds.
So after trybots pass (probably for each build config? or at least Windows + Linux?), pull down tarballs of the git parent's previous make.bash snapshot and the current one, and toolstash cmp that, or equivalent.
/cc @toothrot


ML based balance

Description
Develop an ML based balance operator as a saber outer block, I think that's what it should be, could you confirm @travissluka and/or @shlyaeva ?
Hard to tell yet in how many steps I will do this work, but the initial goal is to call pre-trained AI balance emulators (developed in the daml repo) from within soca. I'll add a training option later on.
Help!
Build libtorch as part of the containers and on HPC. Help with this would be nice, the gnu version is easy to build, but I couldn't figure out how to build with intel.

Yes, I think this should be a saber outer block. If you have any questions on interfaces for saber blocks or related, let me know!

unfortunately, searching https://packages.spack.io/ it seems that py-torch is available, but not the C++ api

unfortunately, searching https://packages.spack.io/ it seems that py-torch is available, but not the C++ api

I guess we'll stick with gnu for now then. Thanks for checking @travissluka .


feat: add moonpay fiat onramp

Try out this version of the Hiro Wallet - download extension builds.

closes #2068
Before merging this into dev, we must release this https://github.com/hirosystems/stacks-wallet-web/pull/2313
We can't pass the walletAddress for moonpay becase they require a signature of the URL that has to be done server-side and we don't have a server...

I just realized this is in Draft mode, sorry I reviewed.

@fbwoolf No this is great, thanks for the review. I placed it in draft so we don't merge it.

I do not see STX listed in the asset list on moonpay

As @fbwoolf has been improving the responsiveness of the app in a separate PR, the first step would be to review this https://github.com/hirosystems/stacks-wallet-web/pull/2277 and check if the visual bugs are fixed there.

I can confirm that https://github.com/hirosystems/stacks-wallet-web/pull/2277 fixes the visual bugs I've found above. I've tested by adding more content and the margins and scrolls work as they should. cc/ @fbwoolf
https://user-images.githubusercontent.com/239215/159284823-e351550f-d9d6-44d3-8d88-095c8e713e5a.mp4

Couple of Test Findings:
1- The asset STX is not to be found in Moonpay as indicated by @timstackblock above
2- When the user selects a USDC coin (or any ETH based token) and  if the user has Metamask installed, the user is directed to Metamask
3- When the user removes Metamask from the ext and selects the USDC coin, the user receives 'Enter wallet address "page view
4. Am aware that we don't have a backward arrow to go back to Hiro wallet when the user selects the fiats on-ramp such as Transak, Moonpay, and Okcoin but believe we have a ticket for it which will ease user interface cc @markmhx
5. Only on Okcoin integration, we have a Hiro page link header while we don't have it for Transak nor Moonpay, for consistency wise-would think it good to have Hiro page link on Moonpay and Transak as well.
cc @markmhx @beguene @timstackblock @andresgalante
Attaching screen recordings and screenshots of the findings above.
https://user-images.githubusercontent.com/38872890/159292430-6090c5eb-5681-4cdb-909d-1efe0e2850b4.mov

There's no need to QA this PR until Moonpay has released support for Stacks.

@landitus to create the video and send it to moonpay

I rebased this on the new home page work and changed the base branch. That PR should be merged prior to this.

There's one last change we discussed with @markmhx. We'd like to switch the order of the providers on the Fund account page. The new order should be:

Moonpay
Okcoin
Transak

There's one last change we discussed with @markmhx. We'd like to switch the order of the providers on the Fund account page. The new order should be:

Moonpay
Okcoin
Transak

Ok, np, I'll update the order. 👍

@landitus I switched the order on these but was looking at the title and seems really big on this page in comparison to other logged in pages (ex. View Secret Key). Then I realized there is an issue to update the design on this page which has it has 2 columns (like the logged out onboarding), is this something we want to update now or are we rethinking this page? https://github.com/hirosystems/stacks-wallet-web/issues/2107

MoonPay is saying we can and should pass the wallet address as a GET parameter (walletAddress) even though we can't server-side sign it since they'll whitelist it for release (and as such, we don't need to sign it after all).
@fbwoolf can you add this to the integration even if it breaks the flow temporarily (before they end up whitelisting)?

is this something we want to update now or are we rethinking this page?

I noticed the new designs and I believe we should review them first. I'm thinking of adding this as a new issue for a future enhancement.

Let's also replace our linking to MoonPay's staging / sandbox site with their production one for development builds (since we can't test effectively on their staging site anyway for lack of STX listing there).

A nitpik to fix that I just noticed: It's "MoonPay" (capitalized "P") not "Moonpay"

Link works for me now during testing!

I had to update our admin settings to enable "STX" and disable all other tokens 🤦


Neo4j 5 support?

Feature request template
Title: Neo4j 5 support?
Description:
Working fully, partially or better to avoid for now?
For new setup or existing one?
Recommendations?
Any quick way to test core cartography functions are fine?

https://neo4j.com/release-notes/database/neo4j-5/
https://neo4j.com/docs/upgrade-migration-guide/current/version-5/changelogs/configuration-settings/
https://neo4j.com/docs/operations-manual/5/reference/configuration-settings/
https://neo4j.com/docs/upgrade-migration-guide/current/version-5/migration/breaking-changes/

Top changes: requires JDK17+, backup and restore needed if migrating. index type update before migrating.

Hey, thanks for filing an issue for this. The Neo4j 4.4 Python driver does not officially support Neo4j 5.x (https://neo4j.com/docs/api/python-driver/current/ says right now that supported versions are "4.4, 4.3, 3.5"), but you can probably point cartography against a Neo4j 5 database and see what happens - I'd be interested in hearing what you find.
Based on the list of the driver's 4.4 to 5.x breaking changes (https://neo4j.com/docs/upgrade-migration-guide/current/version-5/migration/drivers/breaking-changes/) I don't think we have much to worry about here...
...however it seems that there are breaking cypher language changes: https://neo4j.com/docs/cypher-manual/5/deprecations-additions-removals-compatibility/
Sigh :).

According to https://neo4j.com/developer/kb/neo4j-supported-versions/#_neo4j_database_enterprise_edition_4, Neo4j 4.4 will be supported at least until December 1, 2024.
@voutilad, @jexp - do you know if Neo4j 4.x will have minor version bumps, like will there be a 4.5, 4.6, or is 4.4 the final planned minor version for 4.x?

According to https://neo4j.com/developer/kb/neo4j-supported-versions/#_neo4j_database_enterprise_edition_4, Neo4j 4.4 will be supported at least until December 1, 2024.
@voutilad, @jexp - do you know if Neo4j 4.x will have minor version bumps, like will there be a 4.5, 4.6, or is 4.4 the final planned minor version for 4.x?

4.4 is the last of the 4.x series and the LTS version currently supported until 2025. There will not be a 4.5. See https://neo4j.com/developer/kb/neo4j-supported-versions/ for some details on the new versioning approach and LTS policy.


Add an example how to use EthFilter with just the database

Describe the feature
the endpoint impls can be useful on its own, for example user opens database and wants to fetch logs directly.
however this requires a bit more setup due to some API constraints, so we should add a new example for this that
the setup would be similar to this
https://github.com/paradigmxyz/reth/blob/bf44c9724f68d4aabc9ff1e27d278f36328b8d8f/examples/rpc-db/src/main.rs#L44-L44
but use the EthFilter::new directly with all the necessary components and setup, like spawn the cache. the ideal example should consist of

open db
create provider
create necessary setup (EthStateCache)
get filter EthFilter::new

https://github.com/paradigmxyz/reth/blob/bf44c9724f68d4aabc9ff1e27d278f36328b8d8f/crates/rpc/rpc/src/eth/filter.rs#L73-L80
Additional context
No response

Hi @mattsse, can i pick this? Thanks.

assigned, lmk if you need pointers by opening a draft pr

Thanks @mattsse, that would be very helpful to me

Hey @htiennv I'd like to work on this if there havent been any updates, @mattsse


Confirmed working on Asus ZenBook UX430UNR

Thank you very much for developing such a tool. It really helped me when I was about to give up on Linux because of the throttling issues. So as the title states, it's working on Asus ZenBook UX430UNR.
May I suggest adding different presets for each laptop. I know that I can edit the config file to fit my needs, but it took me a while to find this out. I believe that the inclusion of presets will come in handy for plenty of users.
Thanks again!

What do you mean with presets? For instance, undervolt is something that is bound to your specific cpu/system and thus you have to find the setting that works for you. Two identical laptops with the same CPU model can indeed handle undervolt differently due to variations in the CPU binning and/or cooling.

I was referring to the temperature configs. The default temperatures, I believe are quite high for my laptop, so I had to adjust them, but in my opinion it would be nice if there was a config file with recommended temps for my laptop, and upon installing to select that file as config for the service.
Regarding undervolting, I didn't take that in consideration when I suggested this, but (I might be wrong) I haven't seen any reports of CPUs that cant handle a minimum of -75/-100 mV undervoltage. That config might be left as it is or be tweaked at a value that it's safe to assume it won't crash the laptop for most users. I'm no expert at undervolting so I don't know how this issue could be handled.

@precupstefan can you share your config file because i have the same laptop. Thanks

`[GENERAL]
Enable or disable the script execution
Enabled: True
SYSFS path for checking if the system is running on AC power
Sysfs_Power_Path: /sys/class/power_supply/AC*/online
Settings to apply while connected to Battery power
[BATTERY]
Update the registers every this many seconds
Update_Rate_s: 30
Max package power for time window #1
PL1_Tdp_W: 29
Time window #1 duration
PL1_Duration_s: 28
Max package power for time window #2
PL2_Tdp_W: 44
Time window #2 duration
PL2_Duration_S: 0.002
Max allowed temperature before throttling
Trip_Temp_C: 70
Set cTDP to normal=0, down=1 or up=2 (EXPERIMENTAL)
cTDP: 0
Settings to apply while connected to AC power
[AC]
Update the registers every this many seconds
Update_Rate_s: 5
Max package power for time window #1
PL1_Tdp_W: 44
Time window #1 duration
PL1_Duration_s: 28
Max package power for time window #2
PL2_Tdp_W: 44
Time window #2 duration
PL2_Duration_S: 0.002
Max allowed temperature before throttling
Trip_Temp_C: 77
Set HWP energy performance hints to 'performance' on high load (EXPERIMENTAL)
HWP_Mode: False
Set cTDP to normal=0, down=1 or up=2 (EXPERIMENTAL)
cTDP: 0
[UNDERVOLT.BATTERY]
CPU core voltage offset (mV)
CORE: 0
Integrated GPU voltage offset (mV)
GPU: 0
CPU cache voltage offset (mV)
CACHE: 0
System Agent voltage offset (mV)
UNCORE: 0
Analog I/O voltage offset (mV)
ANALOGIO: 0
[UNDERVOLT.AC]
CPU core voltage offset (mV)
CORE: 0
Integrated GPU voltage offset (mV)
GPU: 0
CPU cache voltage offset (mV)
CACHE: 0
System Agent voltage offset (mV)
UNCORE: 0
Analog I/O voltage offset (mV)
ANALOGIO: 0
[ICCMAX.AC]
# CPU core max current (A)
CORE:
# Integrated GPU max current (A)
GPU:
# CPU cache max current (A)
CACHE:
[ICCMAX.BATTERY]
# CPU core max current (A)
CORE:
# Integrated GPU max current (A)
GPU:
# CPU cache max current (A)
CACHE:
`

Note: On the ASUS Zenbook UX430UNR you don't need to use throttled, you can just use the official intel_rapl driver.
throttled works perfectly, but I don't want to run unneeded software.

@klausenbusk , I tested your sugestion. The values still reset after 5 seconds. Any ideea how make them stop resetting after 5 seconds?

@klausenbusk , I tested your sugestion. The values still reset after 5 seconds. Any ideea how make them stop resetting after 5 seconds?

Weird, what values are you changing exactly? I'm only changing /sys/devices/virtual/powercap/intel-rapl-mmio/intel-rapl-mmio:0/constraint_0_power_limit_uw.
Could you also post the output of grep '' /sys/class/dmi/id/bios_*?

output of bios
/sys/class/dmi/id/bios_date:04/17/2019 /sys/class/dmi/id/bios_vendor:American Megatrends Inc. /sys/class/dmi/id/bios_version:UX430UNR.308
I'm using all the commands listed in README
`# MSR
PL1
echo 44000000 | sudo tee /sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/constraint_0_power_limit_uw # 44 watt
echo 28000000 | sudo tee /sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/constraint_0_time_window_us # 28 sec
PL2
echo 44000000 | /sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/constraint_1_power_limit_uw # 44 watt
echo 2440 | /sys/devices/virtual/powercap/intel-rapl/intel-rapl:0/constraint_1_time_window_us # 0.00244 sec
MCHBAR
PL1
echo 44000000 | sudo tee /sys/devices/virtual/powercap/intel-rapl-mmio/intel-rapl-mmio:0/constraint_0_power_limit_uw # 44 watt
^ Only required change on a ASUS Zenbook UX430UNR
echo 28000000 | sudo tee /sys/devices/virtual/powercap/intel-rapl-mmio/intel-rapl-mmio:0/constraint_0_time_window_us # 28 sec
PL2
echo 44000000 | sudo tee /sys/devices/virtual/powercap/intel-rapl-mmio/intel-rapl-mmio:0/constraint_1_power_limit_uw # 44 watt
echo 2440 | sudo tee /sys/devices/virtual/powercap/intel-rapl-mmio/intel-rapl-mmio:0/constraint_1_time_window_us # 0.00244 sec`

output of bios

So we have the same bios version.

I'm using all the commands listed in README

Could you try running only: echo 44000000 | sudo tee /sys/devices/virtual/powercap/intel-rapl-mmio/intel-rapl-mmio:0/constraint_0_power_limit_uw # 44 watt and see if it stick?

The command didn't change anything


Possible helper method for locale

I recently made a skill for all 3 regions of alexa and needed to distinguish these locale for voice output language and so on and although it was only one line to do this I thought about maybe adding a helper method to this framework.
I don't know if this framework aims to be as lightweight as possible or if this feature is unnecessary or not but I could try to implement a method in fork if you want.
(only needed to test request parameter locale: request.locale == "de-DE")

Let's take a look at what you have in mind


wasm-pack: 0.11.1 -> 0.12.0

Diff: https://github.com/rustwasm/wasm-pack/compare/v0.11.1...v0.12.0
Description of changes

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

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

[x] Fits CONTRIBUTING.md.

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

3 packages built:

lldap
perseus-cli
wasm-pack


requiring from global npm installation fails

Hi, my ramda friends
I was using our beloved library to write a script using node.
I decided to install it globally, since I use it quite a lot.
When I tried using R.reduce it said: reduce is not a function
Also, R.assocPath was giving me some weird errors.
After I installed it locally, all the errors were gone.
Anyone would know why that might happen?

Hmm, I've never tried to install it globally.  I wouldn't think that could be a problem.
So you did
npm install -g ramda

Then in your script
const R = require('ramda')
// ...
// Use R

Is that correct?
Hmm, I can confirm that it doesn't work for me either, although I don't have a clue as to why.  Anyone have an idea?

From [the NPM docs][np\d]:

There are two ways to install npm packages: locally or globally. You choose which kind of installation to use based on how you want to use the package.
If you want to use it as a command line tool, something like the grunt CLI, then you want to install it globally. On the other hand, if you want to depend on the package from your own module using something like Node's require, then you want to install locally.

I installed it using yarn global add ramda, which should just be equal to what you did.

Global npm or yarn install are for binaries; so you can run gulp and grunt and rimraf from command line rather than going through an npm script.
Neither Node's module resolution, nor any other module loader framework out there looks at the global node folder when you reference a module in your code(require, import, etc.). Also, if you really think about it, this wouldn't make much sense.
From the docs:

If you want to use it as a command line tool, something like the grunt CLI, then you want to install it globally. On the other hand, if you want to depend on the package from your own module using something like Node's require, then you want to install locally.

And here's a bit more about it.
This issue should be closed.


Errors when sourcing partially built workspace

When building a partial workspace using the --packages-up-to flag, sourcing the workspace will return errors related to the unbuilt packages:
$ colcon build --packages-up-to roscpp
$ source install/setup.bash
not found: "/home/pbovbel/bundle_ws/install/rosbash/share/rosbash/package.bash"
not found: "/home/pbovbel/bundle_ws/install/rosboost_cfg/share/rosboost_cfg/package.bash"
not found: "/home/pbovbel/bundle_ws/install/rosclean/share/rosclean/package.bash"
not found: "/home/pbovbel/bundle_ws/install/rosgraph/share/rosgraph/package.bash"
not found: "/home/pbovbel/bundle_ws/install/class_loader/share/class_loader/package.bash"
not found: "/home/pbovbel/bundle_ws/install/rosmaster/share/rosmaster/package.bash"
not found: "/home/pbovbel/bundle_ws/install/rosparam/share/rosparam/package.bash"
not found: "/home/pbovbel/bundle_ws/install/roscreate/share/roscreate/package.bash"
not found: "/home/pbovbel/bundle_ws/install/roscpp_core/share/roscpp_core/package.bash"
...

This should be addressed by #70.

Thanks!


allow_import_local not parsed

Gitea version (or commit ref): Gitea version 1.2.0+rc1-6-g002fa73 built with: bindata, sqlite
same behavior in Gitea version 1.2.0+rc2 built with: bindata, sqlite
Git version: git version 2.1.4
Operating system: Debian GNU/Linux 8.9 (jessie)
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[x] No
[ ] Not relevant

Log gist:

Description
Hi there,
i was not able to set allow_import_local via web interface i set it via mysql.
second, i am admin, so allow_import_local should be overriden...
if posting an api request like
curl -H "Content-Type: application/json" -X POST -d '{"clone_addr":"file:///home/git/import/rbendig/whatever.git","repo_name":"whatever","UID":2}'  http://<credentials>@<IP_ADDRESS>:3000/api/v1/repos/migrate
i receive the following error:

{"message":"You are not allowed to import local repositories.","url":"https://godoc.org/github.com/go-gitea/go-sdk/gitea"}r

doing a
select id,name,allow_import_local,is_admin from gitea.user WHERE name='rbendig';
results in
MariaDB [(none)]> select id,name,allow_import_local,is_admin from gitea.user WHERE name='rbendig';
+----+---------+--------------------+----------+
| id | name    | allow_import_local | is_admin |
+----+---------+--------------------+----------+
|  2 | rbendig |                  1 |        1 |
+----+---------+--------------------+----------+
1 row in set (0.00 sec)

You should change the config option at first.

I think it is documentation/help issue. If local imports is disabled on server we shoud show info under disabled checkbox, something like:
(i) Local imports are disabled by server configuration

What config option? /admin/config doesn't display a setting, and in the generated app.ini isn'T even a hint about an option

@hexathos https://github.com/go-gitea/gitea/blob/1739e84ac02c0384c04576a00abab9348293f9c7/conf/app.ini#L208

@lafriks is this an undocumented Option? https://docs.gitea.io/en-us/config-cheat-sheet/


TypeError: SellingPartner.downloadReport is not a function.

Got all of our credentials / iam users / policies and roles working.
(and I can use the sample code to "request a report" which works as I can see the report being generated on our amazon account)
when i run the sample downloadReport code from the readme file,
I get
TypeError: SellingPartner.downloadReport is not a function.
What I am doing wrong,
Apologies in advance (really new to Javascript)
Nick
let res = await SellingPartner.downloadReport({
body:{
reportType:'GET_FLAT_FILE_OPEN_LISTINGS_DATA',
marketplaceIds:['A1F83G8C2ARO7P']
},
version:'2021-06-30',
interval:8000,
download:{
json:true,
file:'<ABSOLUTE_FILE_PATH>/report.json'
}
});

Ah!
SellingPartner was already used elsewhere in the script hence the typeerror

const spClient = new SellingPartner({
region: region,
refresh_token: refreshToken,
credentials: {
SELLING_PARTNER_APP_CLIENT_ID: appClientID,
SELLING_PARTNER_APP_CLIENT_SECRET: appClientSecret,
},
})
  const response = await spClient.downloadReport({
    body: {
      reportType: 'GET_MERCHANT_LISTINGS_ALL_DATA', //"GET_FLAT_FILE_OPEN_LISTINGS_DATA",
      marketplaceIds: [marketplaceId], //['A1PA6795UKMFR9'], // for spain
    },
    version: '2021-06-30',
    interval: 5000,
    download: {
      json: true,
      file:
        './Api-Reports/Listing/Listing-' +
        '_' +
        new Date().toISOString().replace(/:/g, '_').replace(/\..+/, '').replace(/T/, '_') +
        '.json',
    },
  })

  I am also getting same error. What the issue?

what error message you getting?

downloadReport is not a function.

just downloadReport is not a function or is there a prefix to downloadReport on the error message
such as
somethingelse.downloadReport is not  a function


Default schedule for untagged resources

From everything I've read about this solution, it relies on tagging in place to take action. I'd love to use this to control schedules via tags, but also apply a "default" schedule to untagged resources. So for example if a dev spins up an EC2 instances in one of our accounts, I'd like to be able to have a default schedule to apply (something like no startup, power off at 5pm).
I know I can enforce the Schedule tag but I feel like before I can do that I'd need a way to:

Make the existing schedules available to see
Provide a mechanism for folks to request creation of specific schedules that don't already exist

I know I can also write my own solution to handle this specific case, and then use this solution for specific schedules.
Anyone know if it's possible to use this solution on untagged resources?

Hi @mrchops1024
It does not seem like it is possible to do so as per your requirement. It fetches the instances and filters the instances based on the Schedule tag key which is the default tag key.
One of the alternative things that you can do in your case is that you can create a small python script which enforces the tag key and value as Schedule=default, tag on the instances and automatically puts upon those resources which do not have the Schedule tag.
And you can create a default schedule in the instance scheduler config table as per your need.
By using the lambda, you will not require an extensive tool and all the schedules will get maintain from a single instance scheduler.
Thank you

Hi @mrchops1024
The solution does rely on resource tags in order to target actions being taken. As @lovepurohit mentioned, you could write a lambda funciton to add a default tag to all untagged resources or notify you via an SNS topic that an untagged resource has been found, allowing you to follow up with the developer. A CloudWatch rule can automatically invoke that function for you on a set interval.
I've added an item to our feature backlog for us to look into ways to make schedules available for view & request new ones.

Thanks for the suggestions. I had actually started working on implementing something shortly after I submitted this. We use Organiations to manage multiple accounts so I'm working on getting a solution similar to what @lovepurohit suggested working with my account bootstrap template.


Add more invoice templates to builder

Closes #59

@samlown used an accordion instead of a select

@beliolfa nice! I like the accordion! My only suggestion would be to keep it closed when opening the modal, we don't want to suggest any tax regime is more important than another.

@samlown fixed and merged!


installation failed

nothing out of the ordinary, simply on D Drive (HDD) installing via Wabbajack
Wabbajack.current.log

Yggdrasil VR version: [whatever wabbajack installs]
Storage type Yggdrasil VR is installed on: [ D:\ drive 2TB HDD ]
OS version: [Windows Xlite] (windows 11 pro modified to remove bloatware)
RAM: [16gb - 8x2gb 1600mhz]
CPU: [AMD FX 9130 Eight core] (yes eight core is part of the name)
GPU: [not aplicable]
Antivirus [none] (thanks to Xlite)

Additional context
Add any other context about the problem here.

Hello, please report issues with the installation part on the discord not here. As far as your issue however i'd make sure you have enough free space in that C drive while it's installing the modlist.

as said above, it is installed on D drive, with enough extra space,
additionally, the same error happens multiple times, as I try to install the modlist it always gives the same error on the same step

but your wabbajack is on the C drive, so it's where it'll temporarily be extracting and patching files before it moves them to your folder.


Can't replace banner image of project

I'm trying to replace the banner of https://inaturalist.org/projects/22865, but it always reverts to the previously uploaded banner.

Closed by 9f74a0a21599dd7accbba648b2b5fe65064e6ad3


Install fails on OS X: "No such file or directory"

$ ./emacs-anywhere/install
cp: /Users/gisborne/emacs_anywhere.el: No such file or directory
cp: /Users/gisborne/bin/emacstask: No such file or directory
cp: /Users/gisborne/bin/osx: No such file or directory
cp: /Users/gisborne/Emacs Anywhere.workflow: No such file or directory
Emacs Anywhere has been installed

Thanks @gisborne ! I'll take a look at this.
Trying running install from within the repository and see if that fixes it
./install

If it does, we'll need to open an issue to update the install script not to care where it is called from.

it fails for me as well on osx but for different reasons...
zsh: ./install: bad interpreter: /bin/bash^M: no such file or directory
and same when running it inside bash

On Mar 4, 2018, at 14:35 , Zach Curry<EMAIL_ADDRESS>wrote:

Thanks @gisborne https://github.com/gisborne ! I'll take a look at this.
Trying running install from within the repository and see if that fixes it
./install
If it does, we'll need to open an issue to update the install script not to care where it is called from.

$ cd emacs-anywhere/
gisborne at Hermes in ~/emacs-anywhere on master*
$ ./install
Emacs Anywhere has been installed # this isn’t correct
gisborne at Hermes in ~/emacs-anywhere on master*
$ ./uninstall
./uninstall: line 5: syntax error in conditional expression
./uninstall: line 6: syntax error near then' ./uninstall: line 6: then’
deploy fix in https://github.com/zachcurry/emacs-anywhere/pull/26 https://github.com/zachcurry/emacs-anywhere/pull/26
$ ./uninstall
Emacs Anywhere has been uninstalled
gisborne at Hermes in ~/emacs-anywhere on master*
$ ./install
Emacs Anywhere has been installed

my line endings are dos for some reason instead of what they should be as unix line endings.

to clarify, mine does fail when run from the root of the repo using ./install


Unhandled load error

QuestPatcher.Core.AdbException: error: device not found
at QuestPatcher.Core.AndroidDebugBridge.RunCommand(String command, Int32[] allowedExitCodes) in D:\a\QuestPatcher\QuestPatcher\QuestPatcher.Core\AndroidDebugBridge.cs:line 148
at QuestPatcher.Core.AndroidDebugBridge.RunShellCommand(String command, Int32[] allowedExitCodes) in D:\a\QuestPatcher\QuestPatcher\QuestPatcher.Core\AndroidDebugBridge.cs:line 179
at QuestPatcher.Core.AndroidDebugBridge.IsPackageInstalled(String packageId) in D:\a\QuestPatcher\QuestPatcher\QuestPatcher.Core\AndroidDebugBridge.cs:line 208
at QuestPatcher.Core.QuestPatcherService.RunStartup() in D:\a\QuestPatcher\QuestPatcher\QuestPatcher.Core\QuestPatcherService.cs:line 113
at QuestPatcher.Services.QuestPatcherUiService.LoadAndHandleErrors() in D:\a\QuestPatcher\QuestPatcher\QuestPatcher\Services\QuestPatcherUiService.cs:line 91

This is an ADB issue, not a questpatcher bug. I suggest restarting both your device and QuestPatcher, and trying a different USB cable.


Created a seperate function to add sensor information to the sensors …

…list for the Airzone cloud integration

Proposed change

Reduced the cognitive complexity of the Airzone cloud integration.
Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New integration (thank you!)
[ ] New feature (which adds functionality to an existing integration)
[ ] Deprecation (breaking change to happen in the future)
[ ] Breaking change (fix/feature causing existing functionality to break)
[x] Code quality improvements to existing code or addition of tests

Additional information

This PR fixes or closes issue: fixes #
This PR is related to issue:
Link to documentation pull request:

Checklist

[x] The code change is tested and works locally.
[x] Local tests pass. Your PR cannot be merged unless tests pass
[ ] There is no commented out code in this PR.
[ ] I have followed the development checklist
[ ] I have followed the perfect PR recommendations
[x] The code has been formatted using Black (black --fast homeassistant tests)
[ ] Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated for www.home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] The manifest file has all fields filled out correctly.
Updated and included derived files by running: python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt.
Updated by running python3 -m script.gen_requirements_all.
[ ] For the updated dependencies - a link to the changelog, or at minimum a diff between library versions is added to the PR description.
[ ] Untested files have been added to .coveragerc.

To help with the load of incoming pull requests:

[ ] I have reviewed two other open pull requests in this repository.

Kishor Peneff Group 10
2: A high cognitive complexity makes it difficult to understand the code and in case the function or integration is to be changed in the future, it may be more time consuming to understand how the function currently works compared to a less cognitive complex function.
3: A seperate function was created which implemented the structure of the for loops as it was similar for all three of them. In this way, the structure of having multiple for loops inside the function as well as if statements is eliminated and as a result the function is easier to understand.

looks good


Error opening when upgrading to VSCode 64-bits.

VSCode Version: 1.14.2 x64
OS Version: Windows 10 14393.953

Steps to Reproduce:

Update to VSCode 64 bits.
Open VSCode instance.
Open integrated terminal.

Error code:
No se pudo iniciar el comando de proceso terminal "C:\WINDOWS\sysnative\WindowsPowerShell\v1.0\powershell.exe" (código de salida:<PHONE_NUMBER>)

Reproduces without extensions: Yes

Afaik, this has been fixed in latest insider. Patch to come on Friday to public. ;)

Thanks @jens1o . Ran into this problem earlier today.

Well this is for stable, the fix will come in 1.15.0 which will be a little while off yet. To fix this you need to change your terminal.integrated.shell.windows setting to point to "System32", not "Sysnative".


add youtube video  play

how to  play  youtube video    in video_player

This looks like the could be suitable: https://pub.dev/packages/ext_video_player

This looks like the could be suitable: https://pub.dev/packages/ext_video_player

my  project  is null safety . but this  packages  don't  support   null safety

@samithe7
There seems to be a community plugin with null safety, https://pub.dev/packages/youtube_player_flutter
See if this suits your requirement.

in future  can we play  youtube video  with video_player

The video_player plugin is for playing video files (local or network). Services that require specialized APIs to access content are out of scope.


Relaunch with edits

See #37, #38, and lyft/flyte#84
This PR merges the feature branch for launching a new Execution based on the values from a previous Execution ("relaunch with edits").
All of the code contained in this change has been previously reviewed in PRs against the feature branch.

+1
(Note: everything has been previously reviewed when landing in the feature branch)


adds "exportAsDefault"

Please check if the PR fulfills these requirements

[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

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

[x] Feature

What is the current behavior?
currently we have 2 export formats: cjs (module.exports =, which is default), and "es6to5" (exports.default =, when exportAsEs6Default param is set)
What is the new behavior?
this PR changes behavior of  exportAsEs6Default param to actually export ES6 default export: exports default "hello world";, and brings in another param (exportAsDefault) to export in es6to5 format: exports.default = "hello world";
Does this PR introduce a breaking change?

[x] No

Current coverage is 96.80% (diff: 100%)

Merging #99 into master will increase coverage by 0.14%

@@             master        #99   diff @@
==========================================
  Files             2          2
  Lines            90         94     +4
  Methods          11         11
  Messages          0          0
  Branches         16         17     +1
==========================================
+ Hits             87         91     +4
  Misses            3          3
  Partials          0          0

Powered by Codecov. Last update f12aab1...fa9132e

@hemanth, pls take a look

Thanks!


fix: bug, set the default repo visibility to public

fixes a bug when adding a new repo using minimal options
bug to fix:
$ git checkout master
$ git pull
$ make up
$ vela update config --api.addr http://localhost:8080
$ vela add repo --org DavidVader --repo heyvela
FATA[0000] unable to create new repo DavidVader/heyvela: empty repo visibility provided

(in fact, args to add repo are somewhat ignored. separate bug)

Are you sure? I just tried with 0.6.0 of the CLI after adding a new repository to Github and it worked fine just using vela add repo --org myorg --repo myrepo

Were you using the unreleased server changes on master? This only started occurring after merging with the recent webhookvalidation changes

@wass3r so i was running something like:
$ git checkout master
$ git pull
$ make up
$ vela update config --api.addr http://localhost:8080
$ vela add repo --org DavidVader --repo heyvela

Just wanted to make sure 👍 I did consider the latest commit to check against. Thanks for the confirmation.

I agree, this must be a bigger issue. GetVisibility() should be "public" by default if not provided in the CLI command (see https://github.com/go-vela/cli/blob/master/action/repo_add.go#L65). I know I've recently been in this part of the code, so it's probably something I changed, though I didn't really touch the part that binds the incoming data to the struct 🤔

changes applied 👍


PNG for chess

Implement PNG for chess https://www.chess.com/terms/chess-pgn
This will facilitate looking through generated games using https://www.chess.com/analysis?tab=analysis

Implemented with https://github.com/oggy22/BoardGames/commit/a5279b4598b0037412a6ecf53be0dbfe42635bb0


/Schemas reports unconfigured attributes

Our scim_attributes_map doesn't include attributes like ims but the output of /Schemas seems to include the full laundry list of attributes that could be configured. This makes auto-discovery not work properly.

Fixed via v2.9.0 (Rails 7) and v1.10.0 (Rails 6).


[Card] Fix CardActions spacing for different button components

Noticed that the spacing was off when different components are used for Card actions. See the spacing between second and third action here.
Also fixes https://github.com/mui/material-ui/issues/29819

Just noticed AccordionActions and DialogActions use a similar implementation for their spacing

We can merge this in v7.

@siriwatknp I've merged master and replaced the tests with integration tests. The tests were testing implementation details and that's rather useless in this case (i.e. the computed styles don't necessarily guarantee the gap is correct visually, other properties may affect it).

@siriwatknp I've merged master and replaced the tests with integration tests. The tests were testing implementation details and that's rather useless in this case (i.e. the computed styles don't necessarily guarantee the gap is correct visually, other properties may affect it).

I think it's fine to not have tests for this. Feel free to remove them.

Feel free to remove them.

Removing them breaks pnpm docs:api. As per https://app.circleci.com/pipelines/github/mui/material-ui/124003/workflows/9f87d6a4-0a2d-491d-b4aa-47b29b71f9f6/jobs/668420. Didn't look too deeply into it.


dependency error

It seems that  @ant-design/charts  is not compatible with antd 5 unless I am missing something. Any advice to make your template run would be very appreciated. Thanks!

Kindly share your error log/message @gjury

Try the following command npm install --force instead of npm install and tell me how it goes @gjury

Thanks Kelvin for putting this together, seems to be an awesome dashboard, I'll be taking a deeper look into it.
I confirm that both commands will do the install
npm install --force
npm install --legacy-peer-deps


getIdAttribute accessor creating issue of loading traits for a model

I have a model name 'Language'. This has an id, _id, abbr attributes.
This model has some traits say ATrait, BTrait. After loading everything model does not load traits ATrait, BTrait. I have an accessor named
public function getIdAttribute($value)
{
	return $this->attributes['abbr'];
}

When I removed this accessor, everything works fine. But I want to know why it is happening. I have the same application with a MySQL database. In that application, this accessor is working fine so I thought it's Mongo issue somewhere.
Could you please help me figure it out because I need this accessor in my Model.

@tariqali021, let's go to slack. See link

Worked for me by updating the accessor
public function getIdAttribute($value **= null** )
{
	return $this->attributes['abbr'];
}

@tariqali021, please close issue


File paths and altsrc

When having a flag representing file path and using alternative sources if becomes hard to figure out what the file path is relative to.

if you're running from the same folder the config file is - cmd current dir is the same as the config file dir, so it doesn't matter
if you're running from different folder and taking the option from the file - path should be treated as relative to the config file
if you're running from different folder and taking the option from the cmd - path should be treated as relative to the folder you're running the cmd from

I'm using v2 btw.

:+1: I agree with these three assertions, can you qualify which are not currently met?

It depends on the implementation. In my case the last one is failing. If there is a way to find out where is the source of a flag - I would easily fix it.

I solved it with custom PathFlag. Do you fancy PR? The only caveat is - how I know the directory where the config file is in the PathFlag ApplyInputSourceValue?

You should be able to get the current working directory via os.Getwd. PRs definitely welcome :smile:

What I mean is that in ApplyInputSourceValue don't have the flag name for the configuration file.

And that's what I mean :) https://github.com/urfave/cli/pull/670/files#diff-b409136834e66f5a239c3d6ca4df876dR255 .

Hiya! There's a known issue with the current implementation of the CLI, where altsrc is generally clunky and poorly documented. My current idea is that I'm going to move all of the altsrc functionality into the main package in some way, and that's how all of the "altsrc is weird and different???" issues people are having will get resolved. I'm tracking that work here => https://github.com/urfave/cli/issues/833


Add support for provisioning profile templates

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
Some developer accounts (not all) have assigned templates for provisioning profiles. Because not all accounts have templates assigned, there is just a niche of Fastlane users that will need this feature, but they will need it badly. Without it, they cannot generate, repair or update template-based provisioning profiles.
What is a provisioning profile template?
I couldn't find any official documentation about templates, but from my understanding, a template defines a set of extended entitlements (entitlements that couldn't be set from Xcode or by managing an App ID in Developer Portal) the app will support.
How does this look in Developer Portal?
For the accounts that have assigned provisioning profile templates, when creating or editing a provisioning profile, there will be an additional field called Entitlements.

Issues and other PRs
Issues: https://github.com/fastlane/fastlane/issues/9558 (thanks to https://github.com/Fluzzarn for the idea behind this solution), https://github.com/fastlane/fastlane/issues/9227, https://github.com/fastlane/fastlane/issues/4548, https://github.com/fastlane/fastlane/issues/3471
Other PR: https://github.com/fastlane/fastlane/pull/9649
I noticed there is another PR that addressed the same problem when I almost finished the work on this. I decided to open this PR because it adds support for repairing and updating (additionally to generating) template based provisioning profiles.

Testing
This was tested by creating and repairing provisioning profiles for iOS and tvOS apps using Sigh.
Not tested for macOS (not even sure if it's applicable).
If someone could test this in other contexts (using Match, for example), it will be greatly appreciated!
Description
This PR touches Spaceship, Sigh and Match.
Spaceship: Added template to the list of parameters sent to Dev Portal API when creating and updating a provisioning profile.
If the data about a template-based profile doesn't contain the data about the template (usually it's a dictionary with only nils), we have to make an additional API request and fetch all the data about the profile. If the profile contains needed data, that data is used to initialize provisioning profile template model. This logic was also documented in the code.
Sigh, Match: Added the optional template_name option. Other than that, Sigh and Match just redirect the calls to Spaceship, which does all the work
Tests: Tests were updated to handle the new feature.

@KrauseFx Is there anything I could help with in order to progress with this PR?
@Fluzzarn, @chongj615, @wilrnh If you have an Apple Developer account supporting templates (extended entitlements), it would be very helpful if could give a try to this PR and let us know whether this works for your setup or not.
Thank you!

Thank you, confirm fastlane sigh is now working with the template options!


Fixed missing export

The timer instance is missing, which caused errors when I tried to fix the dwm1001 crate

The Rng export was also missing

Please hold this PR, I need to fix the branch mess (2 PRs are mixing)

Sorry, forgot to tell that only the missing Rng is now properly exported, I think it is ready for merge

LGTM.


os/exec: escape percent literal for Windows PATH

Fix #38994

Ignore the PR. I used a custom log package by mistake.


Improve Readme

There is no information in the readme at all.
Is this the repo for the official MVVM plugin that ships with unreal or is this a completely different implementation?

Hello and thanks for the feedback! I'll put readme on top of my to-do list.
This is a different implementation. I started it long before Epic games announced their plugin.

Updated readme with basic information about plugin


Adds RabbitConfiguration and parser.

[#134606283]
https://www.pivotaltracker.com/story/show/134606283

@eldavido PTAL

I think this is what you were looking for

@eldavido PTAL


Add preload tags to injectFilter

Issue: https://github.com/vikejs/vike/issues/1299
I've added preload tags such as video, audio and more (all from here
If there are something wrong or missing, i'd be happy if you let me know...!!

Wonderful. Also good choice of prioritization.
I actually didn't really elaborate what the issue https://github.com/vikejs/vike/issues/1299 is about, apologies for that. That's the issue: https://github.com/vikejs/vike/issues/1299#issuecomment-1837587717. Is that something you'd be up to have a look at?
We can merge the PR as-is or we can contine working using this PR, as you wish.
Also, a small thing: the commit message should start with feat:  otherwise it won't make it into CHANGELOG.md. (You can put the emoji after feat:  or at the end 🙂)

I think we should postpone fixing #1299 until we get a reproduction.
Let's merge 🎉
Thanks for the PR 💚
Looking forward to more PRs - if you want 🙂

allright! thanx!


[Documentation] "Invalid Equation" on Documentation Page

Hi, on Modified Nodal Analysis page there is a "Invalid Equation" below the line "Kirchoff's Current Law states that the sum of all currents in every node has to equal zero. In this circuit, we have 3 nodes, and so we get a system of 3 equations:..."

A similar issue happens on a later paragraph:

Thanks!

There indeed seem to be some issues with some equations in the documentation. I will be rewriting most of the documentation for v3, so I'll include this with that release.

This has been fixed!


Fixed a few apveoyr config bugs

@savvinsergey,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


UITabBarControllerDelegate Doesn't work

You can't delegate RAMAnimatedTabBarController.

+1, I used to call tabBarController(tabBarController: UITabBarController, didSelectViewController viewController: UIViewController) and it worked fine before, but since I adopted RAMAnimatedTabBarController this method isn't called anymore; I tried changing the type in the function name, but didn't work... any suggestions?


Add support for encrypted PEM keys

Add support for creating keys from encrypted PEM files

Checklist

[ ] I've run tests to see all new and existing tests pass
[ ] I've followed the code style of the rest of the project
[ ] I've read the Contribution Guidelines
[ ] I've updated the documentation if necessary

If you've made changes to gyb files

[ ] I've run .script/generate_boilerplate_files_with_gyb and included updated generated files in a commit of this pull request

Motivation:
See #264
Modifications:
For now the PR provides encrypted PEM initialisers for RSA using the following encryption algorithms:

[x] PBES2 with AES{128, 192, 256}_CBC and hmacWithSHA256
[x] PBES2 with 3DES_CBC (via BoringSSL) and hmacWithSHA256
[ ] PBES2 with AES_GCM
[ ] PBE_MD5_DES_CBC
[ ] PBE_MD5_RC2_CBC
[ ] PBE_SHA1_DES_CBC
[ ] PBE_SHA1_RC2_CBC
[ ] Scrypt
[ ] PBKDF2 with SHA1
[ ] PBKDF2 with SHA512

This list is not final and algorithms can be both added and removed.
The aim is to add support for the rest of the keys and as many encryption algorithms as possible (where appropriate), and as the PR evolves I'll update this comment with the current state.
The current strategy is to use SwiftASN1 to parse the provided PEM file and decrypt it depending on which encryption algorithm is found.
The PR still has a long way to got and while this approach works, for now it's mainly still a proof of concept and I'm open to discussing different/better strategies
Result:
Keys can be created from encrypted PEM files

FYI I've also tried making specific ASN.1 structures for the various enc/kdf algorithms however I'm not sure if it's worth adding https://github.com/ptoffy/swift-crypto/compare/encrypted-pem...ptoffy:swift-crypto:encrypted-pem-types


Added index and wait parameter to event.list

The index system with events is different than the regular consul index system, check https://consul.io/docs/agent/http/event.html#event_list for more infos.
However, I don't see a reason to not support indexes here.

Thanks for this! Merged and pushed as v0.4.6


(v1.0.2-release) Update openj9 branch for 0.46.1 release

FYI @smlambert we will have a point release using openj9 v0.46.1-release branch.


Release 5.7.5

LGTM but probably worth mentioning in the commit message that it also includes version bump as it was not before

Thx, done!


Show RancherOS as OS that kubelet reports

Adding RancherOS node should show RancherOS when executing kubectl get nodes -o wide, in the API/UI.

rancher/rancher:master at july 23rd
I was able to see operating system in both kubectl and UI:
> kubectl get nodes -o wide
NAME              STATUS    ROLES                      AGE       VERSION   EXTERNAL-IP   OS-IMAGE           KERNEL-VERSION     CONTAINER-RUNTIME
hgalal-rke-ros1   Ready     controlplane,etcd,worker   42m       v1.11.1   <none>        RancherOS v1.4.0   4.14.32-rancher2   docker://17.3.2
>


Containers deployed on netplugin provisioned networks not restarting when restart policy is specified

When the restart policy is specified as "unless-stopped/always", docker tries to bring up the container when it fails/docker restarts; but containers that are connected to netplugin provisioned networks are failing to coming up as a result of NetworkDriver.CreateEndpoint error.
Steps to recreate issue:
docker run --net=webnw/tenant2 --name=bb1 --hostname=bb1 --restart=always -itd busybox
vagrant@netplugin-node1:~$ docker inspect bb1 | grep -A 4 RestartPolicy
"RestartPolicy": {
        "Name": "always",
        "MaximumRetryCount": 0
    },
    "SecurityOpt": null,

vagrant@netplugin-node1:~$ sudo service docker stop
vagrant@netplugin-node1:~$ sudo service docker start
vagrant@netplugin-node1:~$ docker ps -a | grep bb1
cf18f4b97f9b busybox "sh" 5 minutes ago Exited (137) 3 minutes ago bb1
vagrant@netplugin-node1:~$ docker inspect bb1 | grep -A 15 State
"State": {
    "Status": "exited",
    "Running": false,
    "Paused": false,
    "Restarting": false,
    "OOMKilled": false,
    "Dead": false,
    "Pid": 0,
    "ExitCode": 137,
    "Error": "failed to create endpoint bb1 on network webnw/tenant2: Plugin Error: NetworkDriver.CreateEndpoint, {\"Err\":\"Could not get network name Not found\"}\n",
    "StartedAt": "2016-02-03T19:47:45.728828999Z",
    "FinishedAt": "2016-02-03T19:49:12.818380373Z"
},

works now


[FLINK-17565][k8s] Backport to 1.11

What is the purpose of the change
As the discussion in FLINK-17565, this PR backport FLINK-17565 to release-1.11.
Brief change log
Refer to https://github.com/apache/flink/pull/12215
Verifying this change
Refer to https://github.com/apache/flink/pull/12215
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

cc @zhijiangW @TisonKun

cc @zhijiangW Could you help with the merging? This is a critical bug and i really hope it could be backported to release-1.11 before next release candidate.


kubelite restarting over and over, consuming lots of resources

Kubelite seems to be restarting over and over, and consuming lots of resources (consistently over 100% CPU). I've attached the inspection report.
inspection-report-20210301_101231.tar.gz

Hi @mthaddon. I see in the logs that kube-proxy is complaining with:
Mar 01 10:12:00 tenaya microk8s.daemon-kubelite[147209]: F0301 10:12:00.434570  147209 server.go:495] unable to create proxier: CIDR <IP_ADDRESS>/16 has incorrect IP version: expect isIPv6=true

I suspect the kube-proxy is picking up the IPv6 address of the default interface.
Does this happen with the kubeproxy of the v1.20 track? --channel=1.20/stable

I don't seem to have this problem with v1.20 from the stable channel.
I ran sudo snap remove --purge microk8s and then sudo snap remove --purge microk8s fwiw.

Could you share an inspection tarball from MicroK8s of the 1.20 track? I am interested to see what the kube-proxy logs say.

inspection-report-20210301_151357.tar.gz

I believe I may have run into something similar. I rebooted my node (microk8s wasn't pinned to a specific version before and snap upgraded to 1.21) and everything fell apart; kubelite was pinning the CPU.
Downgraded back to 1.20 and everything seems fine now. I've attached a report in case it helps.
inspection-report-20210419_223325.tar.gz


Using one canvas in another

Is it possible to draw one canvas on top of another? - maybe applying transformations to it in the process
I'm tinkering around with parsing an SVG, which leaves me with a canvas (that renders correctly to PNG), and then I would like to place this onto another canvas's context where the main drawing is done.

I get it - sorry for the noise :)
	cLogo, _ := canvas.ParseSVG(...)
	c := canvas.New(float64(200), float64(200))
	ctx := canvas.NewContext(c)
	cLogo.RenderTo(ctx)

Exactly! Good to hear this library is useful to you ;-)


bq274xx sensor - Fails to compile when CONFIG_PM_DEVICE enabled

Describe the bug
When using the bq274xx sensor (kconfigs: CONFIG_SENSOR=y; CONFIG_BQ274XX=y), in conjunction with kconfig CONFIG_PM_DEVICE, the bq274xx sensor module fails to compile as on line 652 of zephyr/drivers/sensor/bq274xx/bq274xx.c, it tries to access the struct member "pm_state" of bq274xx which is of type "struct bq274xx_data" (as per line 414). However in zephyr/drivers/sensor/bq274xx/bq274xx.h it can be seen this structure has no pm_state member.
To Reproduce
Enable the following kconfigs:
CONFIG_SENSOR=y
CONFIG_BQ274XX=y
CONFIG_PM=y
CONFIG_PM_DEVICE=y
Expected behavior
The code in question is designed to make sure the sensor is powered
Impact
Fails to compile
Logs and console output
F:/zephyrproject/zephyr/drivers/sensor/bq274xx/bq274xx.c: In function 'bq274xx_gauge_configure':
F:/zephyrproject/zephyr/drivers/sensor/bq274xx/bq274xx.c:652:9: error: 'struct bq274xx_data' has no member named 'pm_state'
652 |  bq274xx->pm_state = PM_DEVICE_STATE_ACTIVE;
|         ^~
In file included from F:/zephyrproject/zephyr/include/sys/util_macro.h:34,
from F:/zephyrproject/zephyr/include/sys/util.h:17,
from F:/zephyrproject/zephyr/include/kernel/sched_priq.h:9,
from F:/zephyrproject/zephyr/include/kernel_includes.h:23,
from F:/zephyrproject/zephyr/include/kernel.h:17,
from F:/zephyrproject/zephyr/include/init.h:11,
from F:/zephyrproject/zephyr/include/device.h:29,
from F:/zephyrproject/zephyr/include/drivers/i2c.h:23,
from F:/zephyrproject/zephyr/drivers/sensor/bq274xx/bq274xx.c:9:
Environment (please complete the following information):

Windows
Zephyr 2.7.99 (latest git pull as of Tue, 26 Oct 2021 02:20:04 GMT)

** Work around **
For the time being, I'm commenting out lines 651 to 653 of zephyr/drivers/sensor/bq274xx/bq274xx.c

I am building a project with Zephyr 3.1.99 and getting the exact same issue.  When I add the bq27421 to my I2C node and enable CONFIG_PM_DEVICE in my prj.conf I get the same build error.  I'm very confused by this discussion thread.  Is the issue fixed? If so, what is the fix? I'm really in a bind because I need both drivers for my project.  Can anyone please help?

@gmarull , should be fixed in pull request https://github.com/zephyrproject-rtos/zephyr/pull/39706 (see files tab). I think you need Zephyr 3.1 however or later (I don't think they back patched 2.7 with this bug fix). I'm no longer on the same project so I can't test

Thanks so much for the personal attention.  I originally posted my question without realizing the error I was seeing.  My issue is similar in that adding the CONFIG_PM_DEVICE and adding the BQ274XX to my I2C node causes a build error.  When I looked closer at my build log output, I realized that it was failing to configure the device.  It was crashing in this #if defined sequence:
/*
#if defined(CONFIG_PM_DEVICE) || defined(CONFIG_BQ274XX_TRIGGER)
#define BQ274XX_INT_CFG(index)
.int_gpios = GPIO_DT_SPEC_INST_GET(index, int_gpios),
#else
#define BQ274XX_INT_CFG(index)
#endif
*/
// disable gpio interrupts. not using.
#define BQ274XX_INT_CFG(index)
I commented that out as you mentioned you had done… the drawback is that I have not configured the gpio interrupts so I can’t use the sensor trigger. I’m also getting this error which I believe is telling me as much:
 bq274xx: GPIO device pointer is not ready to be used
We weren’t using the sensor trigger anyway in our current configuration so I guess that’s a don’t care.  Nevertheless, I’m not comfortable the “hack” I’ve done, such that it is.  Everything else seems to work but I have not performed a full regression test yet.  We are prototyping a complete redesign of our client’s device replacing their outdated PIC with a Nordic nrf52811, adding several new peripherals, including the BQ274XX, so there might be some hidden surprises.
By the way, I am using the latest, Zephyr 3.2.99.
I realize you’re no longer involved with that piece of code but any advice you might have for a better solution would be greatly appreciated.
Thank you very much,
Drew Wood
Software Engineer
Exact Assembly, LLC
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows
From: @.>
Sent: Saturday, January 14, 2023 7:10 PM
To: @.>
Cc: @.>; @.>
Subject: Re: [zephyrproject-rtos/zephyr] bq274xx sensor - Fails to compile when CONFIG_PM_DEVICE enabled (Issue #39712)
@gmarullhttps://github.com/gmarull , should be fixed in pull request #39706https://github.com/zephyrproject-rtos/zephyr/pull/39706 (see files tab). I think you need Zephyr 3.1 however or later (I don't think they back patched 2.7 with this bug fix). I'm no longer on the same project so I can't test
—
Reply to this email directly, view it on GitHubhttps://github.com/zephyrproject-rtos/zephyr/issues/39712#issuecomment-1383025959, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOCM3KQ44LWUEUWJU7NRLE3WSNMBNANCNFSM5GWU4CTQ.
You are receiving this because you commented.Message ID: @.***>

ok. after reading a little further, i figured it out.  the original example overlay for the BQ274XX did not have an interrupt line configured in the sensor node.  after adding that, my project compiles with both the PM and sensor drivers.


Can I deploy using a Git Tag?

Using Capifony I can set a git tag name and this one is the tag that I will deploy.
Can I do the same using MagePHP?
Thanks,

Hi @DavidGarciaCat,
I'm sorry but that feature is not available in MagePHP.

Hi @hectornguyen
Can we consider to add this feature as an improvement?
Thanks,

I'm not sure if is there any exception or error (because I don't have time to read the git-scm document), but you can try change branch to your tag name, it will deploy your tag in theory.


Why is the inference speed using fp16 or bf16 similar to fp32?

Is there any specific configuration method?
model = AutoModelForCausalLM.from_pretrained(checkpoint,trust_remote_code=True,torch_dtype=torch.float16)

can you give more details on how you're doing generation?  fp16 and bf16 are it's faster in my experiments


Block elements don't partake in css regions content flow

I did an experiment with the current master, and noticed that though the css regions polyfill works great for paragraphs and such, elements like <h1> and <div> seem to be ommitted. That's really to bad, because those are often part of the content :)
Is this a configuration problem perhaps?

I think I have the same problem. I have complex content (which includes a lot of divs) that I want to flow across several container divs - but only the first container is ever populated. The content doesn't flow into the subsequent containers.

I'm sorry to hear about this. I'm really lagging on my css-regions-polyfill backlog, but I'll do my best to fix this ASAP. Could you please provide a public repro, to speed bump my dev process once I get some free time to spend on it?
Thank you for reaching me,
François

Please note I just made the upgrade to the new version of the polyfill.
It would help me if you could check if the problem is solved for your specific case.
Best regards,
François

(I'm closing this for now, and will reopen based on evidences showing it still doesn't work for you)

Cheers for looking at this so quickly - the latest code works fine for my particular case. Hopefully it fixes it for FelixAkk too!

Hmm, on further examination it might not be flowing properly with wkhtmltopdf 0.12. I'm using it to generate brochures in both HTML (for previews) and PDF format (for the downloadable brochure).
I'll hopefully find time today to do some further investigation and will get back to you. If the problem isn't down to wkhtmltopdf, or a PEBKAC one, I'll produce a minimal test case.

It looks to be the call to requestAnimationFrame in cssRegions.Flow.prototype.relayout - the function passed is never executed, and thus _relayout is never called. This seems to be an issue with wkhtmltopdf, probably because it's headless.

Feel free to try to execute "window.requestAnimationFrame = function(f) { return setTimeout(f, 16); }" before my polyfill runs. If it turns out it solves the problem, then you're a lucky person :-)

Otherwise, you may simply disable the rAF throttling because you don't care about not damaging the fps in a headless browser. It's probably fine to change the task scheduler to run all tasks directly and not break down when it exceeds some threshold.

Works like a charm! Many thanks for fixing this so quickly! :)

Just to give an idea what I used it for: https://cloud.aerix.nl/index.php/apps/files_sharing/ajax/publicpreview.php?x=3840&y=2188&a=true&file=Screen%2520Shot%25202015-05-13%2520at%252017.38.41.png&t=8p1EaF1RgthveaU&scalingup=0

You're welcome. I'm glad to see this project used by creative people around the world :-)


Update SQL commands to latest SDK

This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[x] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

Command Guidelines

[x] Each command and parameter has a meaningful description.
[x] Each new command has a test.

(see Authoring Command Modules)

This should have no customer-visible change.

Codecov Report

Merging #4403 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #4403      +/-   ##
==========================================
+ Coverage   69.03%   69.06%   +0.02%
==========================================
  Files         484      484
  Lines       31082    31107      +25
  Branches     4852     4852
==========================================
+ Hits        21458    21483      +25
  Misses       8046     8046
  Partials     1578     1578

Impacted Files
Coverage Δ

...ure-cli-sql/azure/cli/command_modules/sql/_util.py
90.9% <100%> (+3.95%)
:arrow_up:

...re-cli-sql/azure/cli/command_modules/sql/custom.py
88.66% <100%> (-0.05%)
:arrow_down:

...-cli-sql/azure/cli/command_modules/sql/commands.py
98.92% <100%> (+0.22%)
:arrow_up:

Continue to review full report at Codecov.

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