python310Packages.pycfmodel: 0.18.1 -> 0.18.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.pycfmodel is: "Model for Cloud Formation scripts"
meta.homepage for python310Packages.pycfmodel is: "https://github.com/Skyscanner/pycfmodel"
meta.changelog for python310Packages.pycfmodel is: ""
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

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.18.2 with grep in /nix/store/xi5ld988xihi38zy6d1njvb2mizi8d3z-python3.10-pycfmodel-0.18.2

found 0.18.2 in filename of file in /nix/store/xi5ld988xihi38zy6d1njvb2mizi8d3z-python3.10-pycfmodel-0.18.2

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

6 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
3 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
cfripper
python310Packages.pycfmodel
python39Packages.pycfmodel

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/xi5ld988xihi38zy6d1njvb2mizi8d3z-python3.10-pycfmodel-0.18.2 \
  --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.pycfmodel https://github.com/r-ryantm/nixpkgs/archive/b2dca16aeba45f774f87ac20ae1f816ab6633b1a.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/xi5ld988xihi38zy6d1njvb2mizi8d3z-python3.10-pycfmodel-0.18.2
ls -la /nix/store/xi5ld988xihi38zy6d1njvb2mizi8d3z-python3.10-pycfmodel-0.18.2/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

3 packages built:

cfripper
python310Packages.pycfmodel
python39Packages.pycfmodel

Maintainer pings
cc @fabaff for testing.

@ofborg eval


fix: properly handle template literal types

Fixes: #135
This changes the format of the "kind": "literal" serialization of tsType, as the structure was not able to properly represent template literal types, so downstream consumers of the DocNode structure or serialization.
The DocPrinter though prints out the changes "properly".

It is a breaking change, because the original implementation was sadly incorrect on several levels.


Feature request: Support topics in telegram

Hi!
Thanks for app, works perfectly.
I wonder, is it possible to support topics in telegram?
Telegram has introduced them more than a year ago.
For me it seems to be a good fit for this.

Hi, the coding is under test right now, and it will be merged into GitHub soon. We are waiting for our CI server to be back online. Thank you.

Hey folks,
Any updates on this?

Sorry, due to our internal Gitlab server failure, the new code has not been pushed up. I will fix this issue in the near future. The Topic function has almost been tested.

On Sep 17, 2024, at 19:36, Nikolai Ovchinnikov @.***> wrote:
Hey folks,
Any updates on this?
—
Reply to this email directly, view it on GitHub https://github.com/telegram-sms/telegram-sms/issues/33#issuecomment-2355443422, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIJYZEC73KPWGZYT3BMZMTZXAH2FAVCNFSM6AAAAABIYQZELSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJVGQ2DGNBSGI.
You are receiving this because you are subscribed to this thread.

The new version already supports the Topic function.


Please include a separate LICENSE file

It would help with distribution integration.
Thanks.

🙏

For reference, this is project is under the MIT license

@kr this can be closed

@kr this can be closed

Fixed by #7.

Fixed by #7.


Add default command map in case the map has none

Maybe a modified version of this https://etjump.com/images/etjump-logo.svg

Maybe maintain a list of maps that should use this as override too. Especially maps that have borked compass shaders but not missing.


Update swerve module code to work with TalonFX

Was looking at the addition of a Container.java in this change: https://github.com/gwhs/SwerveDrive/commit/bc8b4f2b71ff3845d8c4a3e451c615ecf562cdb4
    SwerveModule m1 = new SwerveModule(new TalonFX(), TalonFX());
    SwerveModule m2 = new SwerveModule(new TalonFX(), TalonFX());
    SwerveModule m3 = new SwerveModule(new TalonFX(), TalonFX());`

This is not necessary, the sample code already does this in Drivetrain.java
  private final SwerveModule m_frontLeft = new SwerveModule(1, 2);
  private final SwerveModule m_frontRight = new SwerveModule(3, 4);
  private final SwerveModule m_backLeft = new SwerveModule(5, 6);
  private final SwerveModule m_backRight = new SwerveModule(7, 8);

What we do need is to support our own motors, which seem like TalonFx from the diffs in the other branch.
Please look at the comments in the "Files changed" tab in this Pull request.

Let me know if I wrote any incorrect code or if you have any questions. If it looks good, please approve.

Please add the other coding folks as reviewers. A bit hard to determine from the usernames :)


networkdb: do nothing in bulkSync if nodes is empty

This patch allows getting rid of annoying debug message

LGTM


dpdk: 21.04 -> 21.11 + various small updates

Motivation for this change
Bump DPDK to its latest release (which happens to be LTS too). Add support for Mellanox NICs, fix ARMv8 build, and clean up the dependency tree a bit by removing some unnecessary docs cache files.
Tested on my ARMv8 platform using a ConnectX-4 Lx NIC.
Things done

Built on platform(s)

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

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] 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/)
22.05 Release Notes (or backporting 21.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Looks like pktgen and spdk need to be updated due to API changes... I'll queue that into this PR as well.

nixpkgs-review is now green. I'm not a huge fan of 7e472d6 but I have very little love for odp-dpdk's weird build system tricks to link against DPDK. I tried to use the appropriate configure flag to make it link dynamically, and it ended up generating a broken Makefile...
Now ready for review.


[ENHANCEMENT]: enhancing the footer UI and responsiveness

The footer UI and responsiveness can greatly be enhanced to make the user experience better
Screenshot

Additional points
@ashutosh-rath02  I am seeking to contribute to your project and would like to be assigned this issue under the Gssoc'24.

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊
You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

Can I work on this ?

Hello @AMS003010! Your issue #266 has been closed. Thank you for your contribution!

Designs will be changed


[Network] New API Version + latest Autorest with no config

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/855

Included in https://github.com/Azure/azure-sdk-for-python/pull/981


Question about build size

The size of the build is too large for our mobile clients.
I have a 1.3Mb for the main.js + 1.1 for vendors
I thought I could delete chunk.js files (which are about 1Mb each) but the app needs them so in total I get a 4 or 5Mb application when I npm run build:prod
Is there any solution to reduce that size? (beside gzip)

I realize assets are already 10mb. How to uninstall the blur theme completely from the app?

just delete the files for blur theme,
also, most probably there are a lot of files / features that you dont need, just remove them

Hi @sefo. You can reduce the size of application with AOT compilation. You should update ng2-admin to the latest version and use command npm run build:aot.


Provide account deposit

There is no functionality for NeoFS account deposit. It's completely unclear what user should do before payment operation (e.g. create container).

That is something done on the mainnet, I'd say it's a bit out of scope of the SDK (which is based on gRPC now). It should be explained somewhere, but creating a transaction on mainnet is something that can be done in many ways.

it's a bit out of scope of the SDK

Talking about the code - agree, but IMO SDK should at least hint to the user what needs to be done for the deposit (when it is needed) and leave hints that can help him with this (e.g. Neo Go). Otherwise user can receive insufficient funds error and scratch his head :thinking:


Adding Component After Page Load Doesn't Work

I've got a React component that I'm inserting into the DOM when a link is clicked with data-remote: true as seen below. Because the component occurs after the page loads, ReactOnRails cannot seem to pick it up. I've tried to a manual render but that appears to just do a single render and not "connect" the React component. I would love to know if I'm just missing something or if there's a better way to do this or if this is a bug with ReactOnRails.
Inserting into the DOM:
$('#team').on('ajax:complete', function (event, xhr, status, error) {
  swal({ html: xhr.responseText });

  // Works for initial render but cannot update or anything afterwards
  var props = JSON.parse($('.swal2-content .js-react-on-rails-component').attr('data-props'));
  ReactOnRails.render('ExportFields', props, 'ExportFields-react-component-0');
});

React Component:
export default class ExportFields extends Component {
  static propTypes = {
    presets: PropTypes.arrayOf(PropTypes.string)
  }

  // Never called ->
  presetChanged(event) {
    console.log(event.target.value);
  }

  // ...

  render() {
    return (

        Preset
        <select name="preset" onChange={this.presentChanged}>{this.renderPresetOptions()}</select>

      // ...
    );
  }
}

@rcdilorenzo You're apparently mixing the jQuery style with React. I'd suggest that you consider using more conventional react techniques. You can use the componentDidMount to send the asynchronous call.  See this for a very simple example:
https://github.com/shakacode/react-webpack-rails-tutorial/blob/master/client/app/bundles/comments/components/SimpleCommentScreen/SimpleCommentScreen.jsx#L29
OTOH, I'd look at the other samples with Redux.

Yes, I sort of knew that this would be a fix. I was just curious if there was some interim solution before we get to that stage. Thanks for your assistance.


TechReborn machines drain all the power with universal cables

Issue description:
TechReborn's machines drain all the power, even if they are fully charged. For exemple, a compressor who runs at 128rf/t will constantly drain 128RF/t even when they are fully charged. This happens when I connect them to universal cables.
Steps to reproduce:

Plug a power source to an energy cube with universal cables
Wait till your cube is fully charged
Plug a TechReborn's machine to energy cube with universal cables
Look at your energy cube. It will be drained of all it's power pretty fast.

Version:
Forge: <IP_ADDRESS>6
Mekanism: 9.2.2
Other relevant version: Modpack : AllTheMods 1.10.2 v3.00 / TechReborn <IP_ADDRESS>
EDIT :
This glitch does not happen with Ender IO's conduits

Could you try with the latest version of Mekanism for 1.10?

Closing due to inactivity. Furthermore, as Mekanism cables work fine with other mods' machines, I'm going to assume there's something wrong on TR's side.


VSCode auto-imports for widget snippets include src files

Details
When using the StatefulWidget/StatelessWidget/Widget with Animation Controller snippets provided by the VS Code Flutter plugin, imports from package:flutter/src/widgets are used instead of package:flutter/material.dart or package:flutter/widgets.dart.
To Reproduce

Install VS Code and the Flutter plugin.
Create a new Dart file in VS Code.
Type 's' to show the Flutter Widget snippets provided by the plugin.
Select any one of the Flutter Widget snippets.

Expected Behavior
Non-src files (material.dart or widgets.dart) are added as imports.
Actual Behavior
Files from the src directory (package:flutter/src/widgets/container.dart, package:flutter/src/widgets/framework.dart) are added as imports.

Hi @bryanoltman
Following the indication of VS Code Flutter Extension, the correct way to address the problem is to open an issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Thanks for pointing me in the right direction! Filed https://github.com/Dart-Code/Dart-Code/issues/4075.


Add route for downloading all rules as zip file

Refactor deployment-related functions from ApiController into RulesTxtDeploymentService
Add test for RulesTxtDeploymentService including a real application with in-memory database
Fix some small bugs

Many thanks. Big improvement to SMUI  👍


Add support for GlowFilter and DropShadowFilter

Blocked by https://github.com/openfl/openfl/issues/1404

This PR has useful code to help implement these filters, here: https://github.com/openfl/openfl/pull/1374


chore(lib): rename shell to shell-exec-plugin

Types of changes

[ ] Enhancement (project structure, spelling, grammar, formatting)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

A description of the changes proposed in the Pull Request
I would like to give the Shell plugin a clearer name and suggest ShellExecPlugin.
Why? Shell doesn't say clearly enough what the plugin is doing. By just checking the name, I initially thought it would allow me to run arbitrary shell commands from the manifest.

Hi @alexzurbonsen it's a little confusing having your PR for exec-shell and also one to rename our existing plugin shell-exec. I think we just stick with our current name for now.

Hi @alexzurbonsen it's a little confusing having your PR for exec-shell and also one to rename our existing plugin shell-exec. I think we just stick with our current name for now.

Not sure I followed this. The idea was to have to names that are distinguishable and make clearer what the plugin is capable of doing: ShellExecPlugin and ShellExecCommand.


Ingest LAMP Alerts

https://performancedata.mbta.com/lamp/tableau/alerts/LAMP_RT_ALERTS.parquet
This file should be processed in a daily job (its 84mbs) to split the alerts into daily files/dynamo tables
Once processed, the dashboard can pull alerts from here, and fall back to v3 alerts for same day
We still have v2 alerts we ingested to fall back on until May 2024 if we need to, but ideally this removes the need for them

Is the goal to have both daily files and dynamo, or just dynamo tables? For dynamo, is it just be one table with items that are each row in the parquet table? Do we want to keep all of the columns?
For reference, these are the columns:
cause
cause_detail
effect
effect_detail
severity_level
severity
alert_lifecycle
duration_certainty
header_text.translation.text
description_text.translation.text
service_effect_text.translation.text
timeframe_text.translation.text
recurrence_text.translation.text
created_datetime
created_timestamp
last_modified_datetime
last_modified_timestamp
last_push_notification_datetime
last_push_notification_timestamp
closed_datetime
closed_timestamp
active_period.start_datetime
active_period.start_timestamp
active_period.end_datetime
active_period.end_timestamp
informed_entity.route_id
informed_entity.route_type
informed_entity.direction_id
informed_entity.stop_id
informed_entity.facility_id
informed_entity.activities

I think dynamo batch write is capped at 16 MB, so we may need to only batch write the past two days for the daily job and then separately write the older alerts


elastalert-create-index problem | 2022

Getting this error when I'm trying to use this command: elastalert-create-index
isg-team@isg-machine:~/elastalert$ elastalert-create-index
Traceback (most recent call last):
File "/usr/local/bin/elastalert-create-index", line 6, in
from pkg_resources import load_entry_point
File "/home/isg-team/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 3260, in
def _initialize_master_working_set():
File "/home/isg-team/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 3234, in _call_aside
f(*args, **kwargs)
File "/home/isg-team/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 3272, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/home/isg-team/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 581, in _build_master
ws.require(requires)
File "/home/isg-team/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 909, in require
needed = self.resolve(parse_requirements(requirements))
File "/home/isg-team/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 795, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'elastalert==0.2.4' distribution was not found and is required by the application

Using:
Python 3.8.0
Ubuntu 18.04.6 LTS

https://github.com/Yelp/elastalert/issues/3178

Not compatible with python3.8

yelp/elastalert is unmaintained

Use yelp / elastalert only if you can self-solve

Please close

okay, so if it's not compatible with python3.8 and I'm using Ubuntu 18.04.6 LTS,
Which Python and Elastalert Version would work properly??

I think it works with python 3.8, but the README says python 3.6. Please read the README and documentation yourself.

Please close

okay thanks

If you want something that also supports python 3.6 or later, consider using elastalert2.
https://github.com/jertel/elastalert2


Disabled field background color

Hi,
How can I change the disabled fields color?

Without looking into the details of the plugin, it should be possible to do it by CSS directly or grab the attribute changes by jQuery and do it then. Good luck!
CSS Inspiration:
.flexdatalist[disabled] { background-color: yellow; }


feat: add ui server implementation

Note: this is in progress, and is likely to be a large PR.

adds TS config (derived from #29)
implements server build
adds placeholder dockerfile to use the build
implements server + client module (in ts)
updates client code to be ts based
updates linting config for ts
updates doc around build/commands to run

Closes: #36
Signed-off-by: Matthew Chirgwin<EMAIL_ADDRESS>

@dlabaj @nictownsend / @JQrdan now ready for review - I am looking into how we could test the main.ts file at the root of the server - I have something which works, but fails to collect coverage. The tests could be included if desired, but have no coverage captured. Thoughts?

Do you see these too? Are they expected?

Everything was passing for me when I went from draft -> full PR. Let me double check I haven't broken anything.

When I run the dev server with npm run start I see servers start on ports 8080 (webpack-dev-server), 9080 (mockadminserver) and 3000 (Strimzi-ui server). Going to http://localhost:3000/ fails with a 404 - is https://github.com/matthew-chirgwin/strimzi-ui/blob/36-ui-server/utils/dev_config/server.dev.config.js#L20 supposed to be set to true or would we not expect to exercise the UI via the server in dev mode? Should we only use the webpack-dev-server for client side dev/testing?

When running npm run start, webpack dev server hosts the client, so a request to http://localhost:3000/ will 404 - as there is no (built) client to host. When run via e2e tests, the client is built and served by express as per a prod topology, so that will return index.html

Additionally, when I try the http://localhost:3000/api endpoint, I get a 404 response, even though the api module and the mockapi modules are enabled in the Strimzi-ui and mockadminserver respectively. It looks like the express handler may be stripping the api part off the url, when it gets proxied to the mockadminserver..

Good spot! /api should not be removed - will fix and add a test!

Tests are now passing after re-clearing out my node_modules and running npm run clean. Comment above updated. :)

I have added a new configuration option for the context root, which will resolve the issue @ajborley mentioned re the proxying of requests loosing their context root. As we know what the context root will be for development I have set it up in the configuration so it will work as expected. Once Strimzi-admin is hosting an api, a further update will be needed to change the default context root value to the actual value.

@nictownsend / @dlabaj / @ajborley I have just updated the PR given the CI work delievered yesterday. Some notable changes:

the 'main' tests for the server have been removed. They are not reliable, and fail in isolation (with no other tests running) in CI. I do not want to hold the PR up, and will look at alternatives in/as a part of #13
multiple quality of life changes around actions

make sure Jest exits
use LTS npm (fixing an issue where it would error/kill the PR workflow)
add a placeholder e2e cclient test so that check completes
tidy up the response from the commenter action

Print NA rather than Infinity in / 0 calculations
Support multiple bundles
Note: the comment is not appearing in this PR - (node:1) UnhandledPromiseRejectionWarning: HttpError: Resource not accessible by integration - suggests a permission issue with the action - would suggest a follow on issue.

regenerate/update of the package-lock due to rebase changes

This is a sizable change - can I please request final reviews from you all?


test: add tests for HTTP API module

Adds unit tests for the HTTP API module (including SOAP wrapper).
UTs cover HTTP/SOAP headers, session refresh, parsing error in responses.
@W-14580746@

@mshanemc I backported the HTML err handling from the 2.0 branch and added a UT for that, also added one more to cover the  noContentResponse option.


Add scripts for crawling data from the official API of Steam (issue #5)

There are 3 scripts and 1 additional file.

steam-api-cralwer.py crawls the metadata and the price data of apps. The list of the apps are retrieved from an official API. The list consists of all the apps can be found on Steam.
generate_ignore_list.py generates an ingores_app.txt list consists of apps that in the app list mentioned above, but cannot be accessed from API. steam-api-cralwer.py will ignore the apps listed in ingores_app.txt. I have already generated one in the commits.

For more information about how to use these scripts, please apply -h flag on them.
Closes #5

Thanks, @SLMT. I think it's good to 🚢  after fixing that minor typo.

Thanks @cyhsutw for fixing the typo


Issue setting PromotedActionCategories property on multiple extensions

Hi,
I'm having an issue with the PromotedActionCategories property on multiple extensions.
I need to have different promoted action categories in the same page, in multiple extensions (I believe this behavior will also happens with different partner extensions promoting action categories).
Example scenario:
Please consider the demo project in this link: https://github.com/ricardopaiva/ALActionsDemo
I'm extending the Customer List page.
The standard PromotedActionsCategories is:
PromotedActionCategories = 'New,Process,Report,Approve,New Document,Request Approval,Customer,Navigate';
In ALDemo1 I added the ALDemo1 category in position 9:
PromotedActionCategories = 'New,Process,Report,Approve,New Document,Request Approval,Customer,Navigate,ALDemo1';
In ALDemo2 I added the ALDemo2 category in position 9:
PromotedActionCategories = 'New,Process,Report,Approve,New Document,Request Approval,Customer,Navigate,ALDemo2';
In ALDemo3 I added the ALDemo3 category in position 10 (and named the Category9 as ALDemo):
PromotedActionCategories = 'New,Process,Report,Approve,New Document,Request Approval,Customer,Navigate,ALDemo,ALDemo3';
The result is:

Category9 was named ALDemo2. Ok, there's a conflict between ALDemo1 and ALDemo2 extensions so it could be named any of the two. Inside that category we have both ALDemo1 and ALDemo2 actions.

Category10 wasn't named at all. It should have been named ALDemo3. But it has the ALDemo3 action inside.

I've done this tests on BC v15.4 (US localization).

Microsoft_Base Application_15.4.41023.43755
Microsoft_System Application_15.4.41023.43755
Microsoft_System_15.0.40939.43706

Please let me hear your thoughts on this. Is this a bug? What should be the expected behavior?
Thanks

Hi,
After getting this issue moved from the ALAppExtensions to the AL repo, I’ve searched and found these similar issues.
https://github.com/microsoft/AL/issues/1398
https://github.com/microsoft/AL/issues/4580
Any suggestion on how to handle it?
Thanks

Closing this issue as there have been investments in defining a new syntax that captures more explicitly the structure of the action bar, see https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-promoted-actions. If you are still experiencing issues using the new syntax, please create a new issue with updated repro steps.


Reduce friction to immediate value

Hey all, I gave this repo a spin to see how to navigate around, where it's easy and where it may be tricky even with a decent knowledge of related technology. Here are some thoughts:

Is there a need to having the two READMEs? I would prefer md only unless the notebook will be executable and set me up for the reports.
Can the prereqs be clearer on what's required v. recommended? I'll offer a PR about it.
What's up with the section on Augur database configuration? As a new user, I neither have an Augur db running yet, nor understand where I am in the flow. Consider adding this section to somewhere where you can assume the reader has their own Augur instance up and running.
Could you add a md area giving a brief annotation to the boilerplate? There are a ton of imports and db things going on that it is okay are out of scope, but it's unclear when navigating directly to a notebook.

That's a first look - this issue can be closed whenever the maintainers feel they understand the feedback. Thanks!

I skipped the big question, which is what should I be doing first?
As a GH user, I tend to read through an entire readme unless it explicitly has a Getting Started header. The current structure gives me a lot of information that I'm not sure is applicable to me, and I don't yet see the value of learning more. Could it be a "run this, look at that, continue here to customize for your project" flow?


split encryptor and decryptor interfaces

Normally, users don't want to expose encryptor to validation endpoint. So the two interfaces need to provide the capability of sperate plugin installation.

I'll close it because the client can choose to implement relative interface and leave it blank with unwanted interfaces.


Question about evolution

Hi, thanks for releasing such an interesting work!
I have a question about the evolution procedure. According to the objective, if the reward r(e,u,r) is binary, is it just equal to selecting successful trajectories and using them as training data?
I don't know if I understand it correctly. Looking for the reply. :)

Hi,
Thank you for your interest! For environments with sparse rewards (like webshop and textcraft, etc.), where the reward is binary, the evolution involves selecting successful trajectories (those with a reward of 1) and using them as training data. Your understanding is correct.


sqlite - query_as! insertion with RETURNING clause not respecting NOT NULL columns

Bug Description
In sqlite, INSERT statements with RETURNING clause results in a compile error for the query_as! macro when the column is NOT NULL and the corresponding type field is not an Option<T>
The compiler error looks like
error[E0308]: mismatched types
  --> src/main.rs:16:16
   |
16 |       let game = sqlx::query_as!(
   |  ________________^
17 | |         Game,
18 | |         r#"INSERT INTO games (name) values (?) RETURNING id, name"#,
19 | |         name
20 | |     )
   | |_____^ expected `String`, found `Option<String>`
   |
   = note: expected struct `String`
                found enum `Option<String>`
   = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)

Minimal Reproduction
table definition
CREATE TABLE games
(
    id      INTEGER PRIMARY KEY AUTOINCREMENT,
    name    TEXT NOT NULL
);

main.rs
use sqlx::{Error, FromRow, Connection, SqliteConnection};

#[derive(Debug, FromRow)]
pub struct Game {
    id: i64,
    name: String,
}

#[tokio::main]
async fn main() -> Result<(), Error> {
    let mut conn = SqliteConnection::connect("sqlite:games.db").await?;

    // does not compile
    let name = "name".to_string();
    let game = sqlx::query_as!(
        Game,
        r#"INSERT INTO games (name) values (?) RETURNING id, name"#,
        name
    )
    .fetch_one(&mut conn)
    .await?;

    println!("{game:?}");
    Ok(())
}

Info

SQLx version: 0.6.3
SQLx features enabled:  ["sqlite", "runtime-tokio-rustls"]
Database server and version: sqlite <3.37.2>
Operating system: Ubuntu 22.04.2 LTS (Windows 10 WSL)
rustc --version: rustc 1.70.0 (90c541806 2023-05-31)

I originally noticed this with a DATETIME NOT NULL column and a chrono::NaiveDateTime field.
Worth noting that if the column is INTEGER NOT NULL and the field is i64 this compiler error does not occur.

Hello,
I fell into this issue after some research and just wanted to add that I fell into the exact same problem.


Include fetched offset metadata retrieved with admin.fetchOffsets

Kafka supports a nullable string of metadata to be stored with a committed offset. KafkaJS actually supports this with it's protocol definitions, but admin.fetchOffsets filters it out just before returning the retrieved offsets to us.

As you might see from the tests: it only asserts metadata of null is forwarded. While consumerGroup will pass on any metadata and write it, that method isn't exposed anywhere at the moment. admin.setOffsets actually spawns a Consumer and relies on the auto commit mechanism to commit a resolved offset after seeking to it. See #378.

Can you make sure to update the return type for fetchOffsets as well? https://github.com/tulios/kafkajs/blob/master/index.d.ts#L272


Unable to update mobile_application

Describe the bug
Using the exported terraform from the provider for a mobile_application results in the error:
Error: status code 400 (expected: [204]): {"code":400,"message":"Constraints violated!","constraintViolations":[{"path":"optInModeEnabled","message":"Payload does not include all required properties!","parameterLocation":"PAYLOAD_BODY","location":null}]}
To Reproduce
Steps to reproduce the behavior:

export configuration for a mobile_application
Import this into your terraform
See error

Error: status code 400 (expected: [204]): {"code":400,"message":"Constraints violated!","constraintViolations":[{"path":"optInModeEnabled","message":"Payload does not include all required properties!","parameterLocation":"PAYLOAD_BODY","location":null}]}
Expected behavior
mobile_application config is created without issue
Screenshots
opt_in_mode and session replay are both set to false.

Additional context
Using v1.54.1

# ID MOBILE_APPLICATION-27378878D0D84DAE resource "dynatrace_mobile_application" "MY_-_Android_APP" {   name                    = "UMY - Android APP"   application_id          = "27378878-d0d8-4dae-a7a7-59152f7ea09b"   application_type        = "MOBILE_APPLICATION"   beacon_endpoint_type    = "CLUSTER_ACTIVE_GATE"   key_user_actions        = [ "Touch on Cancel", "Touch on Find", "Loading ModalActivity", "Touch on Sign in", "Loading HtmlActivity" ]   opt_in_mode             = false   session_replay          = false   session_replay_on_crash = false   user_session_percentage = 100   apdex {     frustrated          = 12000     frustrated_on_error = true     tolerable           = 3000   }   properties {     api_value {       name                            = "bundle_version"       type                            = "STRING"       aggregation                     = "LAST"       # cleanup_rule                  = ""       display_name                    = "bundle_version"       key                             = "bundle_version"       store_as_session_property       = true       # store_as_user_action_property = false     }     api_value {       name                            = "device_id"       type                            = "STRING"       aggregation                     = "LAST"       # cleanup_rule                  = ""       display_name                    = "device_id"       key                             = "device_id"       store_as_session_property       = true       # store_as_user_action_property = false     }     api_value {       name                          = "bucket"       type                          = "STRING"       aggregation                   = "LAST"       # cleanup_rule                = ""       display_name                  = "bucket"       key                           = "bucket"       store_as_session_property     = true       store_as_user_action_property = true     }   } }

Hi @smc87,
Thank you for raising this issue, the fix will be included in the release planned for this week.


Opt in to new type inference method

@Scott-Guest has implemented a new type inference algorithm that does not rely on Z3; using it should reduce CI flakiness during parsing by not requiring a lot of files to be opened and processes to be spawned.
At the moment, the new mode is opt-in and can be enabled by passing:
--type-inference-mode simplesub

as a flag to kompile.

@Scott-Guest @Baltoli Just trying to understand, so the new type inference algo is in K >= v6.1.42 and we should go ahead and make the change now? Or it is still in development? I ask because this is part of K Development project also I see.

It's merged to K now, yes. The new algorithm is ready for use in downstream semantics but requires a fallback to Z3 in a few limited cases - you should make the change now so that we can see that it's working properly in the wild

Okay sound good, we will get on it.


RRateLimiter does not provide way to overwrite config

Expected behavior
RRateLimiter does not have a setRate/setRateAsync method.
It only has trySetRate/trySetRateAsync methods, so once a rate-limiter's config is persisted to Redis, it cannot be overwritten.
Actual behavior
Invoking RRateLimiter.trySetRate twice with different rate-limiter configuration values does not overwrite, since it uses HSETNX instead of HSET operation.
Steps to reproduce or test case
RRateLimiter rateLimiter = redisson.getRateLimiter("myRateLimiter");
boolean success;
success = rateLimiter.trySetRate(RateType.OVERALL, 1, 1, RateIntervalUnit.SECONDS);
System.out.println(success); // "true"
success = rateLimiter.trySetRate(RateType.OVERALL, 2, 2, RateIntervalUnit.SECONDS);
System.out.println(success); // "false"

There is no way to overwrite the existing "myRateLimiter" with a different rate, besides modifying the rate limiter name
Redis version
4.0.11
Redisson version
3.11.2
Redisson configuration
N/A

You can always delete the object

Thanks @mrniko -- I have not found that cleanup is guaranteed when my servers reboot

you can either delete or set expiration on object.

Deleting creates a race condition if there are multiple threads/servers referencing the same object, where overwriting has no race condition
Expiration doesn't provide as much granular control, but I'll look into it

Was this just closed because it became stale? This is an issue that makes using this in production a problem.

@kmartin
You can delete it and then set config again.

@mrniko that is what I ended up doing, using an RMap object w/ the same name as my RRateLimiter.
I (and @kmartin I think) were expecting a less janky way to do this, using methods exposed via the RRateLimiter interface

+1, this would be nice

I am glad to see this is open again. Deleting and re-creating can work but causes other hosts to error out between the delete and the re-create in a zero-downtime environment.

Merged


Add Unroute framework to README.md

Description
I'm building a simple framework that makes it easy to develop agents with MCPs. This simply adds it to the README list of resources.
Server Details

Server:
Changes to:

Motivation and Context

How Has This Been Tested?

Breaking Changes

Types of changes

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

Checklist

[ ] I have read the MCP Protocol Documentation
[ ] My changes follows MCP security best practices
[ ] I have updated the server's README accordingly
[ ] I have tested this with an LLM client
[ ] My code follows the repository's style guidelines
[ ] New and existing tests pass locally
[ ] I have added appropriate error handling
[ ] I have documented all environment variables and configuration options

Additional context

@jspahrsummers Thanks for the feedback! Will resubmit once the project has more maturity/clarity.


typealias problem

Hi,
Because of used names in framework there is problem when we have to deal with ambiguous names. In my case where I want to use SwiftHTTP and Blackfish where in both is class Response.
But we can't use Blackfish.Response because there is declared class in Blackfish framework called 'Blackfish' so swift is complain that: 'Response' is not a member type of 'Blackfish'

Hi @nonameplum,
Could you give me an example so that I can replicate this issue?
I'll try and get a workaround / fix shortly.

I created fork of your repo and renamed Blackfish class to BlackfishApp then I can write code like here:
https://github.com/nonameplum/blackfish-github-badges/blob/master/Sources/IndexController.swift

Closed with #50


Fail faster / Fail safer

Apply fast validators before slower signature validation
Guard the signature verification process against bad base64 encoding

Ready for review

cool!


SOLR-15921 Look for jars in SOLR_TIP/lib/

https://issues.apache.org/jira/browse/SOLR-15921
Makes it possible to add custom jars to a docker image as this

Looking forward to not having this in my Dockerfile!
COPY ./lib/streaming-expressions-1.0.0-solr8.5.0-SNAPSHOT.jar /opt/solr/server/solr-webapp/webapp/WEB-INF/lib/

Is there going to be an issue with the whole allowPaths thing? Or is anything under the solr-install-directory allowed?

I thought about it briefly. Since this path is coming from sys prop set by the start script it is not a user-entered value. And thus we would not need to validate it. I mean, this is THE source of thruth for what actually IS the solrInstallDir.

I like how easily this solves a problem but it creates yet another dir that seems very duplicitous with SOLR_HOME lib.  The "problem" with the latter is only related to how we run Docker which oddly puts SOLR_HOME out in /var/solr which has always felt like a hack.

The "problem" with the latter is only related to how we run Docker which oddly puts SOLR_HOME out in /var/solr which has always felt like a hack.

It has been a best practice for a long time to assign SOLR_HOME to your big data partition, and on /var/xxx, separate from the binary install which can be read-only. The install_solr_service.sh does the exact same thing. Oddly enough, the example configs do not respect $SOLR_HOME, so if you try docker run --rm -p 8983:8983 solr -e techproducts then it fails since it tries to write to /opt/solr/example/techproducts/solr which is and should be read-only..  It should have used /var/solr/data/.
So the issue of SOLR_HOME/lib not being co-located with the binary install is very old and was an issue long before Docker.

I think this is ready.
Do you see a conflict between this and your future $SOLR_VAR / $SOLR_HOME refactoring, @dsmiley ? If you want me to hold this for a week or to until you get further along with that effort, we could perhaps view them together and consolidate in some way.

Note that there is another key place for documentation: libs.adoc.  This is where it will be most apparent that this is yet another place that is equivalent to solr_home/lib.
Thanks for considering the future refactoring... yeah please lets wait.  That said, I really don't want to hold this PR forever if that doesn't come to fruition.

Note that there is another key place for documentation: libs.adoc.

This PR already adds information to libs.adoc :)

That said, I really don't want to hold this PR forever

I'll target this for 9.1, and by then we'll know whether the efforts are overlapping or whether there is room for both.
Another thing I wanted to address is what kind of classloader the jars in /lib folder is added to. I have experienced before that certain types of plugins will not work in $SOLR_HOME/lib, you have to place them in WEB-INF/lib. That is super confusing. I think it is Jetty trying to isolate webapps from each other, but Solr is only one app so we should need no such extra isolation. I don't remember what kind of plugins this was, perhaps it was those with SPI loading or using reflection? Any way I think we should try to let the newlib/ location be equivalent to WEB-INF/lib so it can accept any kind of plugins.

I brought this up to date with main. Will target 9.1 unless there are objections.


Sorting the navigator results

Hi Cloudera,
I know this question is not relevant to navigator-sdk, but I didn't find a place to ask my question anywhere else. Here is my issue -
Lets say in my cluster , Navigator is collecting all the metadata, and later I am enriching my hive tables with custom business metadata, so that I can search results easily. This works fine for me.
But now since there are so many tables, I want search results to be ordered, so I want to add weight to each table , so when I search with string, tables with highest weights are shown before low weight tables. Can this be done, if so please advice.

@manucbilagi since this is a question on using Navigator and not the SDK, would you mind moving the discussion over to Navigator's Cloudera Community (http://community.cloudera.com/t5/Data-Discovery-Optimization/bd-p/Navigator)?
Thanks!


loosened version requirements for dependencies

Both six and requests were set to specific versions.  I tried new versions of both and verified they didn't break anything so I loosened the version requirements.

Thank you


Create SnakeGame.cpp

make sure you follow the guidelines! make sure to star the repo and follow

make sure you follow the guidelines! make sure to star the repo and follow

done!


Tiny crafted files take 5+ seconds to decode

Testcases to reproduce: jxl-long-decode-times2.tar.gz
Found with cargo fuzz
Tested on commit 2827706bf8a97dbe2e85dc35fe2c56481904dc07

But no panics after 300 million executions, so that's nice

This is caused by jxl-oxide trying to decode errorneous reference frames repeatedly, and slow decoding of permutation data. While investigating the samples, OOB panic in noise synthesis is found and fixed. All of the problems in the sample are fixed; now they terminate almost instantly.


Add plugin clients typing to the opensearch client

Description
I add the clients of the various plugins to the typing of the main client (OpenSearch).

Hello @florianvazelle, please respond to the following https://github.com/opensearch-project/opensearch-py/pull/399#issuecomment-1642789791. Thanks

@florianvazelle, Could you please finish this PR when you have a moment? Thank you!

Hi @saimedhi, sorry I'm taking some time to study solutions to have a correct stubs package.
The only real way I've found is to use stubtest, but that only ensures that the definitions in the stubs package are present and logical with what is defined in the package at runtime, but if a definition is missing in the stubs package it won't be raised.
I'm going to add this to the linting commands anyway.
To prevent oversights from happening again, I suggest opening a new issue to study solutions, and we'll can then merge this PR.

@florianvazelle I finished #536 so types are back in the game. Do you want to finish this?
I am not sure we need to declare types like this here. For other types we just do self.cat = CatClient(self) and I think the Python type system is smart enough to figure out that cat is always CatClient, but I could be wrong. So either add types as proposed here or remove the declaration?

@dblock I think you fix my issue with #536, I'm closing this PR
thank you :wink:

Did I? This code says Any, should it be typed or should the declaration be removed?
https://github.com/opensearch-project/opensearch-py/blob/d8dc5474b7e7e2b443d9858c21d8f7be93306704/opensearchpy/client/plugins.py#L21

Did I? This code says Any, should it be typed or should the declaration be removed?
https://github.com/opensearch-project/opensearch-py/blob/d8dc5474b7e7e2b443d9858c21d8f7be93306704/opensearchpy/client/plugins.py#L21


add the rebase threshold

Adds a rebase threshold along side allocate threshold.
TODO: adjust the threshold
⚠ IMPORTANT ⚠ not ready to merge yet

@DanielVF yup agreed, moving all the gas limits to a config file


Introduce Ecto.Adapters.SQL.Stage

Adds support for a GenStage process to encapsulate a SQL transaction for use with Flow.
This is WIP.

[ ] Add examples
[ ] Improve test coverage
[ ] Add wrapper for Postgrex.Stage.copy/4
[ ] Merge related PRs

Related PRs:
https://github.com/elixir-ecto/db_connection/pull/82
https://github.com/elixir-ecto/postgrex/pull/312

Changed this up quite a bit, so we can now have what I assume will be far the two most common cases in easy reach, the first acting like all/1, and the second like insert_all/2:
MyRepo.start_producer(Post)
MyRepo.start_consumer(Post)

Also lower level versions in Ecto.Adapters.SQL. However neither Postgrex.CopyConsumer nor checkout_begin etc


Advanced Search Panel pt 5: hook up apply button

Summary
When a user hits the apply button on the advanced search side panel, it creates applies the search filters.
Acceptance Criteria

When a user changes search criteria and hits the apply button, the search criteria is applied
The search panel closes when a user clicks the apply button.

Note: I scooped up #1404, #1405, and #1406 along with this.


Update safety-tips-in-office-365.md

Added clarity to how safety tups are added

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/1634

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

@MSFTTracyP - PR has been copy edited and is ready for final review. This is based on issue #1634.
Thank you.
cc: @kenwith


Fixed unnecessary Web Chat re-renders caused by interaction with activities

Fixes #1701
===
Web Chat was being completely re-rendered, which was causing Adaptive Card state to be wiped. The following interactions with Web Chat would cause this:

Sending messages in the chat
Clicking on activities and selecting / highlighting them

The fix prevents these re-renders by fixing the way app state was being plumbed through the components.
The entire document object is no longer plumbed down through the emulator.tsx component and its children. Instead, documentId is plumbed through these components, and then each component uses this id to fetch whatever relevant information from the store that it needs.

Also added electron-devtools-installer which resolves #1650 , and adds React Dev Tools as well as Redux Dev Tools.
===
Still need to add / fix tests.

Coverage decreased (-0.4%) to 66.542% when pulling 2a3cc9ae5acd7011eb2913ae05584c605499c00e on toanzian/adaptive-fix into d5a714af87ad58050cf23484f8984924b835b23b on master.

Don't merge this yet, I think there might be a bug with the activity middleware.


please help me, how can fix this in jupyter import cv2 ..................its work well in python but in jupyter not

Expected behaviour
run cv2
Write here how did you expect the library to function.
cv2
Actual behaviour
Write here what went wrong.
Steps to reproduce

example code
operating system
architecture (e.g. x86)
opencv-python version

Issue submission checklist
(((((error : ~\anaconda3\lib\site-packages\cv2_init_.py in 179 180 --> 181 bootstrap()  ~\anaconda3\lib\site-packages\cv2_init_.py in bootstrap() 173 174 for submodule in __collect_extra_submodules(DEBUG): --> 175 if _load_extra_py_code_for_module("cv2", submodule, DEBUG): 176 if DEBUG: print("Extra Python code for", submodule, "is loaded") 177  ~\anaconda3\lib\site-packages\cv2_init.py in _load_extra_py_code_for_module(base, name, enable_debug_print) 26 native_module = sys.modules.pop(module_name, None) 27 try: ---> 28 py_module = importlib.import_module(module_name) 29 except ImportError as err: 30 if enable_debug_print:  ~\anaconda3\lib\importlib_init.py in import_module(name, package) 125 break 126 level += 1 --> 127 return _bootstrap.gcd_import(name[level:], package, level) 128 129  ~\anaconda3\lib\site-packages\cv2\typing_init.py in 67 68 if numpy.lib.NumpyVersion(numpy.version) > "1.20.0" and sys.version_info >= (3, 9): ---> 69 NumPyArrayGeneric = numpy.ndarray[typing.Any, numpy.dtype[numpy.generic]] 70 else: 71 NumPyArrayGeneric = numpy.ndarray  TypeError: 'numpy._DTypeMeta' object is not subscriptable

[ ] This is not a generic OpenCV usage question (looking for help for coding, other usage questions, homework etc.)

[ ] I have read the README of this repository and understand that this repository provides only an automated build toolchain for OpenCV Python packages (there is no actual OpenCV code here)

[ ] The issue is related to the build scripts in this repository, to the pre-built binaries or is a feature request (such as "please enable this additional dependency")

[ ] I'm using the latest version of opencv-python

Look at pinned issue: https://github.com/opencv/opencv-python/issues/885

@alirezahamd254, have you tried updating your NumPy version? More information about the libraries in your environment would be useful.


Merge Upstream's #120

As per comment in #4, this is mattn#120 applied upon the new matterbridge branch

Thank you!


Overflowed by 1.00 Pixel

Getting this particular issue, on the selected date only.

Any Update?!?!?!

Sorry, I'm very busy with work and right now I don't have much time to review bugs.

Solved in version 1.1.1


Asyncrhonous status showing % Complete incorrectly

The displayed progress for Asynchronous actions is not displaying the % complete correctly.
[ 'Solution Importing...' ]
[ 'Waiting for asynchronous operation d168bc76-052f-ed11-9db1-0022480b1b2c to complete with timeout of 05:00:00' ]
[ 'Processing asynchronous operation... execution time: 00:00:00 and 0.00% complete' ]
[ 'Processing asynchronous operation... execution time: 00:00:04 and 0.02% complete' ]
[ 'Processing asynchronous operation... execution time: 00:00:08 and 0.05% complete' ]
[ 'Processing asynchronous operation... execution time: 00:00:12 and 0.07% complete' ]
[ 'Processing asynchronous operation... execution time: 00:00:16 and 0.09% complete' ]
[ 'Processing asynchronous operation... execution time: 00:00:20 and 0.11% complete' ]
[ 'Processing asynchronous operation... execution time: 00:00:24 and 0.14% complete' ]
[ 'Processing asynchronous operation... execution time: 00:00:28 and 0.16% complete' ]
[ 'Processing asynchronous operation... execution time: 00:00:32 and 0.18% complete' ]
[ 'Processing asynchronous operation... execution time: 00:00:37 and 0.21% complete' ]
[ 'Processing asynchronous operation... execution time: 00:00:41 and 0.23% complete' ]
[ 'Processing asynchronous operation... execution time: 00:00:45 and 0.25% complete' ]
[ 'Processing asynchronous operation... execution time: 00:00:49 and 0.27% complete' ]
[ 'Processing asynchronous operation... execution time: 00:00:53 and 0.30% complete' ]
[ 'Processing asynchronous operation... execution time: 00:00:57 and 0.32% complete' ]
[ 'Processing asynchronous operation... execution time: 00:01:01 and 0.34% complete' ]
[ 'Asynchronous operation d168bc76-052f-ed11-9db1-0022480b1b2c successfully finished within 00:01:05.6509573' ]
The % Complete should be multiplied by 100  before displaying.

The % complete for e.g. asynchronous import-solution is somewhat questionable indeed: right now, it is purely a time passed over max wait time.
This progress is client-side calculated, since e.g. the Dataverse ImportSolution API does not provide any progress either.
There's a somewhat related issue #190 which correctly laments the overly chattiness of our async tasks at large.
For the core part of this issue, incorrect progress %, this is unfortunately by desing


Hacktober Issue

contribute as much as you can

Working on this.

I think the source codes must be more structured like the following:

Programming Language

Algorithms

Specific algorithm datastructures

GeneralAlgorithms

Trees
Stacks
Queues

Here is my PR https://github.com/miniam/Algorithms-and-dataStructures/pull/9

how exactly do you want us to contribute? do you want us to modify the code and make it simpler etc?


Fix readiness check for EVMConenct where CONTRACT_ADDRESS is set

In this scenario instanceUrl is unused, but we still use it in the readiness check. Hence:
[Nest] 19  - 11/13/2022, 5:26:10 AM     LOG [RequestLogging] GET /api/v1/health/readiness
[Nest] 19  - 11/13/2022, 5:26:10 AM   ERROR [HealthCheckService] Health Check has failed! {"ethconnect-contract":{"status":"down","message":"Request failed with status code 404","statusCode":404,"statusText":"Not Found"}}
[Nest] 19  - 11/13/2022, 5:26:10 AM    WARN [RequestLogging] GET /api/v1/health/readiness - 503 Service Unavailable Exception

Proposed fix is just to check availability of the downstream connector, which is either EthConnect or EVMConnect - both support the /status endpoint.

Fixed in #103


[examples] pyqt5 issue on mac sierra

python bootstrap.py examples/compositeline.py

Set Y-axis in log:
Mac 10.12, python 3.7 (pyqt 5.13.2)

Windows 10, python 3.8 (pyqt 5.15.0)

THat's athe OpenGL backend. It looks like the 0->NaN in Mac is buggy, and as result a line is anyway displayed.

I can't debug it now, I don't have access to a mac.

I can't reproduce with Mac 10.12, python 3.7 and pyqt 5.13.2 with current tip of master.

Too obscure. I close.


fix: custom instanceof Handler result should be cast to boolean

Description:

helper.instanceof does not cast [Symbol.hasInstance] call to boolean

Related issue (if exists):

Closes #2836

Also: If need to add a test case, please tell me how to do it, I may not know the situation.

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

Please run UPDATE=1 cargo test in the swc crate directory

Please run UPDATE=1 cargo test in the swc crate directory

I didn't get any fails:
test result: ok. 4185 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 16.71s

  Doc-tests swc

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

@kdy1 🙏 I would like to ask if I can run update-all to update the test after the fix is done? I don't see similar instructions in the contribution guide.

Yes, I think the update-all script will update most of the fixtures.
It's not documented as it's added too recently.


connect does oblivious to connection failure.

If I try to connect to a device that is turned off, and wait with connect().await(),   I will eventually get a StateChange from onConnectionStateChange with a status = 133 (GATT_ERROR) and newState = DISCONNECTED, but the await will never complete.
I currently wrap it in a withTimeout, but it would be nice if the connection error threw on the await, so I don't have to wait for the full timeout.

Did using withTimeout solve your issue?


Missing instructions on how to map to /home from Azure WebApp for Linux

I'm following the link of Custom Containers but couldn't find any steps for accessing persistence storage. I can see similar steps for multi-container app but nothing for single container. I found this link but its just guides you to enable mount but nothing specified on how to use it.
So, what I am looking for instructions on how to use /home from my container so that I can use it as file system for my drupal app running in container i.e. how do I specify this -> /home:/sites/default/files ?

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

ID: 36d6ead7-4a59-ee55-327a-6cc1a909b6b8
Version Independent ID: d529825d-8e4e-1174-14ff-b404791ef304
Content: Tutorial: Build and run a custom image in Azure App Service - Azure App Service
Content Source: articles/app-service/tutorial-custom-container.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: msangapu

Thanks for the feedback! We are currently investigating and will update you shortly.

@sameer-kumar Thanks! Your feedback has been shared with the content owner for further review.

Hi @sameer-kumar, sorry for the delay. I hope you've figured out by now you can use persistent storage and then use environment variables to get the path. Let me know if this answers your question.

Haven't heard from you. My last response contains the answer. #please-close


xournal: drop

Only two fixing build commits upstream since 2021. I'm not sure if this can be fully replaced by xournal++, but I think so.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
25.05 Release Notes (or backporting 24.11 and 25.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.

Add a :+1: reaction to pull requests you find important.

(Pinging other people because they are using xournal in their dotfiles)

Ping @bfortz, I remember you using Xournal too.

Let's wait for one week.

Ping @bfortz, I remember you using Xournal too.

I'm using xournal++, so this one can be dropped for me.


Support of readonly attributes

Currently, some fields of my API are marked as ReadOnly. This is not reflected in the created documentation :
Here is my Schema :
"apiKey": {
                "type": "object",
                "description": "",
                "deprecated": false,
                "properties": {
                    "name": {
                        "description": "The name of your API Key",
                        "example": "production",
                        "type": "string"
                    },
                    "apiKey": {
                        "readOnly": true,
                        "description": "The API Key",
                        "example": "UkD8U2TNWvz56g8z0XdhqQ8ATptBTLdoJI0WFL",
                        "type": "string"
                    },
                    "lastUsage": {
                        "readOnly": true,
                        "description": "The Date you used this API Key for the last time",
                        "example": "2023-07-22T02:00:46+00:00",
                        "type": "string",
                        "format": "date-time",
                        "nullable": true
                    },
                    "id": {
                        "readOnly": true,
                        "description": "The unique identifier of your entity",
                        "example": "1ee27e2e-b90b-61f0-80b9-c5b18a3c9c50",
                        "type": "string",
                        "format": "uuid",
                        "nullable": true
                    },
                    "createdDate": {
                        "readOnly": true,
                        "description": "The Date the entity has been created",
                        "example": "2023-07-22T02:00:46+00:00",
                        "type": "string",
                        "format": "date-time"
                    }
                }
            },

Here is the documentation :

And the editor on the left :

I am new to this project, I am willing to spend some time trying to fix this issue, if someone can help me to start on how to contribute and where I could find the problematic code

I'm also pretty new to this project, but the contributing docs are in https://github.com/cloud-annotations/docusaurus-openapi/blob/main/CONTRIBUTING.md and the code that renders the table of parameters is https://github.com/cloud-annotations/docusaurus-openapi/blob/main/packages/docusaurus-plugin-openapi/src/markdown/createParamsTable.ts


Reuse included code's source maps when they exist

When using simplifyify on a project that was already pre compiled with typescript, the source maps that were generated then are not reused.
Instead, a new sourcemap referencing the generated js is created.
Could simplifyify detect the source maps when they exist instead of attempting to recreate a new one ?

I'm not sure if that's possible, but it's worth looking into.  Simplifyify is just a wrapper around Browserify, so it'll depend on whether there's a way to make browserify use existing sourcemaps.


mocking of test assume role and Account Id not working

Account ID not working

when using from moto.core import ACCOUNT_ID  python complaining
ImportError: cannot import name 'ACCOUNT_ID' from 'moto.core'
also tried to use environment variable MOTO_ACCOUNT_ID still not working?

Test Assume Role complaining

 assume_role_response = sts_resource.assume_role(
AttributeError: 'function' object has no attribute 'assume_role'

I have taken the code snippet for testing assume role from [https://github.com/spulec/moto/blob/master/tests/test_sts/test_sts.py]@test_assume_role since account id is not working I replaced with<PHONE_NUMBER>12
@pytest.fixture
def aws_credentials():
    """Mocked AWS Credentials for moto."""
    os.environ['AWS_ACCESS_KEY_ID'] = 'testing'
    os.environ['AWS_SECRET_ACCESS_KEY'] = 'testing'
    os.environ['AWS_SECURITY_TOKEN'] = 'testing'
    os.environ['AWS_SESSION_TOKEN'] = 'testing'
    os.environ['RELEASE_ENVIRONMENTNAME'] = 'local'

@pytest.fixture()
def sts_resource(aws_credentials):
    mock = mock_sts()
    mock.start()
    yield boto3.resource('sts', region_name='eu-west-1')
    mock.stop()

def test_assume_role(sts_resource):
    # client = boto3.client("sts", region_name="us-east-1")

    session_name = "session-name"
    policy = json.dumps(
        {
            "Statement": [
                {
                    "Sid": "Stmt13690092345534",
                    "Action": ["S3:ListBucket"],
                    "Effect": "Allow",
                    "Resource": ["arn:aws:s3:::foobar-tester"],
                }
            ]
        }
    )
    role_name = "test-role"
    s3_role = "arn:aws:iam::{account_id}:role/{role_name}".format(
        account_id=123456789012, role_name=role_name
    )
    assume_role_response = sts_resource.assume_role(
        RoleArn=s3_role,
        RoleSessionName=session_name,
        Policy=policy,
        DurationSeconds=900,
    )

    credentials = assume_role_response["Credentials"]
    print(credentials)

if __name__ == '__main__':
   test_assume_role(sts_resource)

Hi @manas86. Regarding 2), only the STS client supports the assume_role method - not the resource.
Should work just fine with yield boto3.client('sts', region_name='eu-west-1')
Regarding 1), I'd have to do some digging why that doesn't work. I'll get back to you on that.

@bblommers thanks for the query no1. However query number 2 is still showing the same behavior even after changing it to client instead of resource.  similar issue is with iam  as well. unless im doing something stupid.
  assume_role_response = sts.assume_role(
AttributeError: 'function' object has no attribute 'assume_role'

now test.py looks like below,
@pytest.fixture
def aws_credentials():
    """Mocked AWS Credentials for moto."""
    os.environ['AWS_ACCESS_KEY_ID'] = 'testing'
    os.environ['AWS_SECRET_ACCESS_KEY'] = 'testing'
    os.environ['AWS_SECURITY_TOKEN'] = 'testing'
    os.environ['AWS_SESSION_TOKEN'] = 'testing'
    os.environ['RELEASE_ENVIRONMENTNAME'] = 'local'

@pytest.fixture(scope='function')
def sts(aws_credentials):
    with mock_sts():
        yield boto3.client('sts', region_name='eu-west-1')

def test_assume_role(sts):
    session_name = "session-name"
    policy = json.dumps(
        {
            "Statement": [
                {
                    "Sid": "Stmt13690092345534",
                    "Action": ["S3:ListBucket"],
                    "Effect": "Allow",
                    "Resource": ["arn:aws:s3:::foobar-tester"],
                }
            ]
        }
    )
    role_name = "test-role"
    s3_role = "arn:aws:iam::{account_id}:role/{role_name}".format(
        account_id=123456789012, role_name=role_name
    )
    assume_role_response = sts.assume_role(
        RoleArn=s3_role,
        RoleSessionName=session_name,
        Policy=policy,
        DurationSeconds=900,
    )

    credentials = assume_role_response["Credentials"]
    print(credentials["SessionToken"])
    print(assume_role_response["AssumedRoleUser"]["Arn"])

if __name__ == '__main__':
    test_assume_role(sts)

any help will be appreciated.

Interestingly, as above works fine for me.
You're passing in the sts-function in main though, which might confuse Pytest to think it doesn't need to use the fixture. That would explain the error message - it tries to execute assume_role on the sts-function itself.
Does this work better?
if __name__ == '__main__':
    test_assume_role()

@bblommers sorry I should have mentioned that earlier , I tried earlier without the argument, and for me , it says
TypeError: test_assume_role() missing 1 required positional argument: 'sts' . I'm surprised that it works for you.
so, that's why it's strange. I'm working with Intellij IDE with python 3.8

OK, I now got the same error. Not sure how why it worked earlier.
The problem for me is that Pytest isn't initializing properly when the script is executed as a 'pure' Python script. When removing the main-statement and running it as a test (either in PyCharm or on the command line, pytest test.py), this works:
import boto3
import json
import pytest
import os

from moto import mock_sts

@pytest.fixture
def aws_credentials():
    """Mocked AWS Credentials for moto."""
    os.environ['AWS_ACCESS_KEY_ID'] = 'testing'
    os.environ['AWS_SECRET_ACCESS_KEY'] = 'testing'
    os.environ['AWS_SECURITY_TOKEN'] = 'testing'
    os.environ['AWS_SESSION_TOKEN'] = 'testing'
    os.environ['RELEASE_ENVIRONMENTNAME'] = 'local'

@pytest.fixture(scope='function')
def sts(aws_credentials):
    with mock_sts():
        yield boto3.client('sts', region_name='eu-west-1')

def test_assume_role(sts):
    session_name = "session-name"
    policy = json.dumps(
        {
            "Statement": [
                {
                    "Sid": "Stmt13690092345534",
                    "Action": ["S3:ListBucket"],
                    "Effect": "Allow",
                    "Resource": ["arn:aws:s3:::foobar-tester"],
                }
            ]
        }
    )
    role_name = "test-role"
    s3_role = "arn:aws:iam::{account_id}:role/{role_name}".format(
        account_id=123456789012, role_name=role_name
    )
    assume_role_response = sts.assume_role(
        RoleArn=s3_role,
        RoleSessionName=session_name,
        Policy=policy,
        DurationSeconds=900,
    )
    print(assume_role_response["AssumedRoleUser"]["Arn"])

I also have problem with using MOTO_ACCOUNT_ID as os environ. No matter what value i set there, it always get the default "123456789012" . Iam using Pycharm and here is a snippet of how i do it
import os
os.environ['MOTO_ACCOUNT_ID'] = "444444444"
from moto import mock_dynamodb2, mock_sqs

then i create sqs and when i mock my actual code which looks for sqs url in account 444444444, it says it doesn't exist as created in "123456789012".
Any idea?

NVM, i cloned the repo and placed it in site-packages and worked fine.


 Even when i reinstall dbeaver it will not be recovered. It is not shown in the driverlist anymore. How can i recover the ODBC driver?
Thanks in advance

OMG ... I wear glasses but did not recognize that function :D
Now it works
thank you


Ollama Fails to Start On Ubuntu Server OS (Headless) when using a GPU

What is the issue?
Ollama fails to load using docker-compose on a headless Ubuntu server. I have installed, purged, reinstalled, purged, and re-reinstalled drivers, docker, docker-compose, etc. and nothing allows Ollama to boot. Here is my compose.yml:
services:
  ollama:
    container_name: ollama
    ports:
      - "11434:11434"
    volumes:
      - /home/admin/services/ollama:/root/.ollama
    restart: unless-stopped
    image: ollama/ollama
    deploy:
      resources:
        reservations:
          devices:
            - driver: ${OLLAMA_GPU_DRIVER-nvidia}
              count: all
              capabilities:
                - gpu

When using docker compose up -d I get this output:
Failed to deploy a stack: Network ollamatest_default Creating Network ollamatest_default Created Container ollama Creating Container ollama Created Container ollama Starting Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy' nvidia-container-cli: initialization error: load library failed: libnvidia-ml.so.1: cannot open shared object file: no such file or directory: unknown

I have used Ollama on the desktop version of Ubuntu with zero issues, but it seems that Ollama does not work on a headless version of Ubuntu, which is rather silly.
OS
Linux
GPU
Nvidia
CPU
AMD
Ollama version
latest

I switched back to desktop Ubuntu as I was having too many issues running it in headless for my purposes. However, I wanted to give an update. When I posted this bug, I had already installed NVIDIA drivers. Running 'nvidia-smi' showed my GPU and related stats. Ollama still failed to find an initialize the GPU and refused to start.
Since I've moved back to desktop I'll just chop this up as Ollama not working on headless Ubuntu


A brief explanation of dataset preparation

Hello Shuyansy!

Can you please give some information about the collection of datasets?I have some queries for you. I'm interested to learn more about this project.

Which camera is used to capture the images? Can you please provide an online link for the camera?
Which type of robot is used to capture those images?
What were the challenges you faced when you captured those images?
Can you briefly explain the data preprocessing steps?

Dear :
I m sorry to return a late reply. About Q1 and Q2,  I am afraid i can not help since its realized by other robot companies.
About Q3, i believe the only thing you need to ensure is about the quality of captured images, since blurred and broken images will influence the recognition results.
About Q4, the data preprocessing steps are simple, which can be seen in util/augmentation.py, we only use size-transformation related operation, but some other augmentation methods such as  RandomBrightness, RandomContrast, RandomMirror can also be applied.
Best wishes
yan

Thank you very much for your useful information.


wrong position for indicatorLayer and selectedLayer when using dynamic position

Report a bug
What did you do?

When I set SegmentioPosition = .dynamic, the position of indicatorLayer and selectedLayer are wrong.  Calculate spaceBefore In the initialize method method for Segmentio.Points  using the same cellWidth not dynamic width.

closed via #


Missing next tutorial link in tutorials

The tutorial under samples (e.g. https://github.com/eclipse-dataspaceconnector/DataSpaceConnector/blob/main/samples/03-configuration/README.md) do not link to the next tutorial. So I have to go back to https://eclipse-dataspaceconnector.github.io/DataSpaceConnector/#/overview/hands-on or navigate the repo to find the next one. It would be nice to simply link next tutorial from each readme.
I can follow it up with a PR if you agree it would be nice.
Note: I am aware that this is a bit of nitpick issue

hey @egekorkan sounds good to me!

We restructured the documentation. Should be easier to navigate through the samples now: https://eclipse-dataspaceconnector.github.io/docs/#/submodule/Connector/samples/ @egekorkan

Sorry for not doing a PR already, I am just back from vacation.
@juliapampus inclusion into a proper docs template is indeed nicer. However, there are still no "next" links and the sidebar menu does not actually follow the tutorials? It stays at Connector which is actually not the current page.

I am guessing that this is a bug and I can open a separate issue for it. I am using Firefox btw.


Re-test vector tile sources and custom geojson data

After @tordans submitted some bugs in mainline we took a look at v2. I had implemented custom data layer for static data files (such as .geojson) but not for vector tiles.
Vector tiles will need a complete test pass.
Data files are also throwing a code exception (this.template is undefined) so we'll need to re-test that functionality too.

Since loading a custom vector tile source is for sure broken, we need to ensure that the 'enter URL' -> load and display data flow from the data menu works.


⚠ ClamAV has degraded performance

In 3875bda, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 69 ms

Resolved: ClamAV performance has improved in 93d88fb.


newest safari does not open new tab in commit

Seems like the newest Safari on El Capitan does not open the new tab to the donate page when you click on commit button.
My theory: We redirect the page and open a new tab, Safari could be redirecting the page and canceling all other effects.
We need two things:

Someone on OSX El Capitan with Safari 9 to verify that the donate page does not open a new tab.
Someone to take the time and debug the situation.

Help appreciated as I have not yet moved to newest OSX to debug myself.

I am unable to repro this using El Capitan and Safari 9. Clicking on the commit link both redirected the current page and opened a new tab to the donation page for the organization.

Thanks @ltegman

@CodeNonprofit is also reporting this issue. We may want to do something like this: http://stackoverflow.com/questions/9514698/bypass-popup-blocker-on-window-open-when-jquery-event-preventdefault-is-set
Or make the committing two steps (disable the commit button until they've clicked the "open donate page" button.

I'm waiting to see a second confirmation that this is effecting someone before we do anything to change functionality.

We resolved this earlier with our UI change, so I'm closing this issue.


Clean build

Clean build

Coverage remained the same at 99.566% when pulling 857e48980f15257b32cc32575612de3f2a1c5247 on clean_build into 9647fa769ba27319cb48e077ad24784b3b419512 on master.


API Skeleton 2021-01-31 - swagger

This is  just a skeleton builds on top of https://github.com/Azure/ARO-RP/pull/1191
Main commit: https://github.com/Azure/ARO-RP/commit/a15717e8c2d3f11741ba5ed3e0c6ff3c6b9019d3

https://github.com/Azure/azure-rest-api-specs/pull/12144 upstream review

We had an issue with systemData.
https://github.com/Azure/azure-rest-api-specs/pull/12144/checks?check_run_id=1564328520
https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources
I interpreted this as a mandatory field on the main object we return. Hence adding it to the OpenShiftCluster object only.
In addition, added struct wrapper to manage API features in all the generators.

We had an issue with systemData.
https://github.com/Azure/azure-rest-api-specs/pull/12144/checks?check_run_id=1564328520
https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-contracts.md#system-metadata-for-all-azure-resources
I interpreted this as a mandatory field on the main object we return. Hence adding it to the OpenShiftCluster object only.
In addition, added struct wrapper to manage API features in all the generators.

@jim-minter, the last commit will require your attention.

@jim-minter, the last commit will require your attention.

bump - there's a longstanding unactioned review here

/azp run e2e

/azp run e2e

/azp run e2e

I like how you introduced support for generating multiple api versions and their examples, but I'm not sure that changes related to systemData and admin kube config are correct. For instance this PR introduces a new endpoint to list the admin kube config. Are we ready to make this decision?
I'm up for merging the generator part, but not sure that I'm comfortable with placeholders for new features and related swagger generation changes. If you want - we can split this into multiple pull requests so we can merge the generator part faster.

I think I gonna split the PRs as you suggest. Initially placeholder where there to kick start arm review process on API so could do implementation in parallel. We still need to do this, but maybe separate PR.

will re-open in smallers prs


TR Ultimate Test Harness GHA workflow

This PR adds a GitHub Actions workflow for the Traffic Router Ultimate Test Harness, which runs when Traffic Router-related files are modified.

Which Traffic Control components are affected by this PR?

Dev CDN in a Box
Automation - GitHub Actions

What is the best way to verify this PR?

Check the GHA result
PR submission checklist

[x] This PR has tests
[ ] This PR has documentation
[ ] This PR has a CHANGELOG.md entry
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Drafting because it doesn't start up and takes awhile to build

Rebased to remove cb4b4247c8as, as it is already covered by #6591

#6588 is rebased onto #6699 for now

Rebased onto master again now that #6699 is merged

Rebased onto #6729, since it includes a TR fix

The GHA passes now, #6588 is ready for rereview

Rebased onto master now that #6729 is merged

Rebased to fix a conflict with #6727 now that #6588 modifies seed.psql

Moving the volume like that is going to necessitate updating file-protocol paths in the snapshot/Parameters

Updated file-protocol paths in the snapshot/parameters in ab210732fc


addAllSuccessorsRecursively throws StackOverflowException in presence of a long dependsOn chain on a finalizer task

Expected Behavior
No StackOverflowException should be thrown. Although the JVM could run out of memory and/or performance may suffer if the depends on chain is abnormally long.
Current Behavior
A StackOverflowException can be thrown from addAllSuccessorsRecursively.
Context
The case never present itself, but it's something that could be improved (memory wise).
Steps to Reproduce (for bugs)
Around a 9000 depends on chain will cause an StackOverflowException.

CR for addAllSuccessorRecursively: https://code-review.gradle.org/cru/REVIEW-6354

@lacasseio Who is responsible for pushing this forward? Who is reviewing?

I was just about to ping back on this, @bmuschko was the one who did the first review.

This card can only be finished if the other corresponding card is going to be implemented as well. I suggest we roll back the changes to production code to avoid introducing a regression but keeping the tests. Alternatively, we can implement both cards. Your call, @lacasseio.

Last code review fix was done here: https://github.com/gradle/gradle/commit/4d15c4edb296b0226ac4a17143172152d17c5888

I decided to push forward as the change for gradle/gradle#841 was quite trivial and additional change was done to the code for this issue (made reverting less trivial). The code for the other issue is also in code review.


Each player can only listen to their own song in a certain time, like 30 seconds, to ensure the game moves forward.

Completed with commit[ea9e971052e62daec1f2df798e4dbe8e9a94c20f]


[Question/Issue] No size units in output file from styledictionary

The font-size var is not working. The CSS (and JSON) output file does not have have a unit (px), though pixel was defined in the exported JSON file. Without the unit in the CSS, the font-size attribute is not working. I'm using HTML/CSS on VSCode. Once I added "px" on line 114, the font-size var worked.

Hey, to transform sizes correctly you need to use custom transforms.
I added an example to the transformer repo: https://github.com/lukasoppermann/design-token-transformer/blob/main/transformTokens.js#L5-L53


I am using azure ad with spring boot application.but getting invalid user error.

I am using azure ad with spring boot application.but getting invalid user error.
It is not come frequently.It occur sometime but it effect all user at same time.
below are the log.
2024-08-14T10:47:53.306Z DEBUG 1 --- [gateway-service] [nio-9092-exec-5] o.s.security.web.FilterChainProxy        : Securing GET /login/oauth2/code/azure?code=1234555&state=gfZOEUBH3Q1Pxom1xw-q-gccVlh4jfzwinZI9khVjWY%3d&session_state=f1a86e10-9aca-419a-a72f-299f1ea80633
2024-08-14T10:47:53.306Z DEBUG 1 --- [gateway-service] [nio-9092-exec-5] o.s.s.web.DefaultRedirectStrategy        : Redirecting to /login?error
2024-08-14T10:47:53.419Z DEBUG 1 --- [gateway-service] [nio-9092-exec-6] o.s.security.web.FilterChainProxy        : Securing GET /login?error
2024-08-14T10:48:00.483Z DEBUG 1 --- [gateway-service] [nio-9092-exec-4] o.s.security.web.FilterChainProxy        : Securing GET /
2024-08-14T10:48:00.484Z DEBUG 1 --- [gateway-service] [nio-9092-exec-4] o.s.s.w.a.AnonymousAuthenticationFilter  : Set SecurityContextHolder to anonymous SecurityContext
2024-08-14T10:48:00.484Z DEBUG 1 --- [gateway-service] [nio-9092-exec-4] o.s.s.w.session.SessionManagementFilter  : Request requested invalid session id


Creating New Section

I went to try to create a new section under 'What We Do' and it created a page up a level. You'll see there are four 'unnamed pages' there now because I kept clicking when I didn't see a section come up (under 'What We Do')

Removed extra pages.

Thanks.
Peter Fiala
Technology & Events Coordinator
Wisconsin Coalition Against Sexual Assault (WCASA)
[link to wcasa's Facebook page]http://www.facebook.com/wcasa [link to wcasa's Twitter feed] http://twitter.com/wcasa_vpcc  [https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcS8fWOIOHiKkDuBEon9eoc4_Rkp-EW-KLKXvst0VMmewXeOO9ZF] http://www.youtube.com/user/wcasavpcc
From: Micah Henning<EMAIL_ADDRESS>Sent: Monday, October 17, 2016 8:52 PM
To: enove/Thriver<EMAIL_ADDRESS>Cc: Peter Fiala<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [enove/Thriver] Creating New Section (#130)
Removed extra pages.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/enove/Thriver/issues/130#issuecomment-254384738, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVMppaI0Zv9YplVJYvRJyZSvcll_s0pdks5q1CZLgaJpZM4KVI6q.


Conversion of listnavs to Patternfly/Bootstrap 2

cleanup of timelines accordion/trees
conversion of compare accordions to bootstrap
adjust behavior of accordion arrows

@skateman for some reason, all accordion arrows are pointed down the first time the page is visited, even when the accordions haven't been opened. After they have been opened and closed they point correctly to the right.

@skateman If you're able to do a small PR for the first 3 items, that would be great.


feat: match new extra-src filename form

Related to STONEBLD-1831
Counter within file name extra-src-*.tar will be replaced with extra-src archive checksum. Regex is updated and it is compatible with the existing numeric counter.
Issue ticket number and link
STONEBLD-1831
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist:

[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added meaningful description with JIRA/GitHub issue key(if applicable), for example HASSuiteDescribe("STONE-123456789 devfile source")
[ ] I have updated labels (if needed)

/lgtm
/approve


Change Windows MSI upgrade strategy for faster upgrades

View a preview at https://prompt.ws/r/Azure/azure-cli/6267
This is an experimental preview for @microsoft users.

Will attempt to come up with something with a more substantial impact.


no syntax highlighting for textDocument/hover by lspsaga.nvim

This is a comparison with typescript.nvim

Yup this is a bug, but it can be fixed easly, I do this later today.

@sternelee It should be fixed on branch from this pr, can you confirm this?

@pmizio good, it work, ths

@sternelee it's now on master thanks for report!


[Task] - Change design system components gray colors and border radius

Change design system component gray colors to the new scale and change border radius to 4px.
https://www.figma.com/file/4aZWeRRAyIBX660EbIQhXn/DS-Upgrade-Exploration?node-id=1055%3A41500&t=tVdutHj64vOvvdfk-0

Closing coz this is fixed in https://github.com/appsmithorg/appsmith/pull/22030


GitbuilderProject: respect branch in config

On master:
>>> gp = packaging.GitbuilderProject('ceph', dict(branch='jewel', os_type='centos'))
>>> gp.version
2016-06-29 16:58:16,871.871 DEBUG:teuthology.packaging:defaulting to master branch
2016-06-29 16:58:16,871.871 INFO:teuthology.packaging:Looking for package sha1: http://gitbuilder.ceph.com/ceph-rpm-centos7-x86_64-basic/None/sha1
2016-06-29 16:58:17,005.005 ERROR:teuthology.packaging:Package sha1 was not there (got HTTP code 404)...
2016-06-29 16:58:17,005.005 DEBUG:teuthology.packaging:defaulting to master branch
2016-06-29 16:58:17,005.005 INFO:teuthology.packaging:Looking for package version: http://gitbuilder.ceph.com/ceph-rpm-centos7-x86_64-basic/None/version
2016-06-29 16:58:17,212.212 INFO:teuthology.packaging:Package is not found at: http://gitbuilder.ceph.com/ceph-rpm-centos7-x86_64-basic/None/version (got HTTP code 404)...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "teuthology/packaging.py", line 520, in version
    self._version = self._get_package_version()
  File "teuthology/packaging.py", line 688, in _get_package_version
    raise VersionNotFoundError(url)
teuthology.exceptions.VersionNotFoundError: Failed to fetch package version from http://gitbuilder.ceph.com/ceph-rpm-centos7-x86_64-basic/None/version

With this fix:
>>> gp = packaging.GitbuilderProject('ceph', dict(branch='jewel', os_type='centos'))
>>> gp.version
2016-06-29 16:58:45,144.144 INFO:teuthology.packaging:Looking for package sha1: http://gitbuilder.ceph.com/ceph-rpm-centos7-x86_64-basic/ref/jewel/sha1
2016-06-29 16:58:45,312.312 INFO:teuthology.packaging:Found sha1:<PHONE_NUMBER>0c8df663056404a7c63959bb8ef693
2016-06-29 16:58:45,312.312 INFO:teuthology.packaging:Looking for package version: http://gitbuilder.ceph.com/ceph-rpm-centos7-x86_64-basic/ref/jewel/version
2016-06-29 16:58:45,485.485 INFO:teuthology.packaging:Package found...
2016-06-29 16:58:45,485.485 INFO:teuthology.packaging:Found version: 10.2.2
u'10.2.2'

A real-world test, on master:
$ teuthology-suite -v -s smoke -c jewel --machine-type vps --dry-run -l 1 -d ubuntu -k testing
2016-06-29 16:59:26,942.942 DEBUG:teuthology.suite.util:Defaults for machine_type vps distro ubuntu: arch=x86_64, release=trusty, pkg_type=deb
2016-06-29 16:59:26,942.942 DEBUG:teuthology.packaging:defaulting to master branch
2016-06-29 16:59:26,942.942 INFO:teuthology.packaging:Looking for package sha1: http://gitbuilder.ceph.com/kernel-deb-trusty-x86_64-basic/None/sha1
2016-06-29 16:59:27,132.132 ERROR:teuthology.packaging:Package sha1 was not there (got HTTP code 404)...
Traceback (most recent call last):
  File "/Users/zack/inkdev/teuthology/virtualenv/bin/teuthology-suite", line 9, in <module>
    load_entry_point('teuthology', 'console_scripts', 'teuthology-suite')()
  File "/Users/zack/inkdev/teuthology/scripts/suite.py", line 105, in main
    return teuthology.suite.main(args)
  File "/Users/zack/inkdev/teuthology/teuthology/suite/__init__.py", line 65, in main
    run = Run(fn)
  File "/Users/zack/inkdev/teuthology/teuthology/suite/run.py", line 37, in __init__
    self.base_config = self.create_initial_config()
  File "/Users/zack/inkdev/teuthology/teuthology/suite/run.py", line 79, in create_initial_config
    self.kernel_dict = self.choose_kernel()
  File "/Users/zack/inkdev/teuthology/teuthology/suite/run.py", line 117, in choose_kernel
    branch=self.args.kernel_branch), name=self.name
  File "/Users/zack/inkdev/teuthology/teuthology/suite/util.py", line 70, in schedule_fail
    raise ScheduleFailError(message, name)
teuthology.exceptions.ScheduleFailError: Scheduling zack-2016-06-29_16:59:26-smoke-jewel-testing-basic-vps failed: Kernel branch 'testing' not found

With this fix:
$ teuthology-suite -v -s smoke -c jewel --machine-type vps --dry-run -l 1 -d ubuntu -k testing
2016-06-29 16:59:33,784.784 DEBUG:teuthology.suite.util:Defaults for machine_type vps distro ubuntu: arch=x86_64, release=trusty, pkg_type=deb
2016-06-29 16:59:33,784.784 INFO:teuthology.packaging:Looking for package sha1: http://gitbuilder.ceph.com/kernel-deb-trusty-x86_64-basic/ref/testing/sha1
2016-06-29 16:59:33,975.975 INFO:teuthology.packaging:Found sha1: 7ebc144db003228af53a25edca446c2741cbc083
2016-06-29 16:59:33,976.976 INFO:teuthology.suite.run:kernel sha1: 7ebc144db003228af53a25edca446c2741cbc083
2016-06-29 16:59:36,078.078 DEBUG:teuthology.suite.util:git ls-remote https://github.com/ceph/ceph jewel -><PHONE_NUMBER>0c8df663056404a7c63959bb8ef693
2016-06-29 16:59:36,078.078 INFO:teuthology.suite.run:ceph sha1:<PHONE_NUMBER>0c8df663056404a7c63959bb8ef693
2016-06-29 16:59:36,079.079 DEBUG:teuthology.suite.util:Defaults for machine_type vps distro ubuntu: arch=x86_64, release=trusty, pkg_type=deb
2016-06-29 16:59:36,079.079 INFO:teuthology.packaging:Looking for package version: http://gitbuilder.ceph.com/ceph-deb-trusty-x86_64-basic/sha1/85428983070c8df663056404a7c63959bb8ef693/version
2016-06-29 16:59:36,246.246 INFO:teuthology.packaging:Package found...
2016-06-29 16:59:36,246.246 INFO:teuthology.packaging:Found version: 10.2.2-63-g8542898-1trusty
2016-06-29 16:59:36,246.246 INFO:teuthology.suite.run:ceph version: 10.2.2-63-g8542898-1trusty
2016-06-29 16:59:36,246.246 INFO:teuthology.suite.run:teuthology branch: master
2016-06-29 16:59:36,945.945 DEBUG:teuthology.suite.util:git ls-remote https://github.com/ceph/ceph-qa-suite jewel -> 603cfaf0e84dca3dda47abc771218eefada55a4d
2016-06-29 16:59:37,706.706 DEBUG:teuthology.suite.util:git ls-remote https://github.com/ceph/ceph-qa-suite jewel -> 603cfaf0e84dca3dda47abc771218eefada55a4d
2016-06-29 16:59:37,707.707 INFO:teuthology.suite.run:ceph-qa-suite branch: jewel 603cfaf0e84dca3dda47abc771218eefada55a4d
2016-06-29 16:59:37,709.709 DEBUG:teuthology.repo_utils:Setting repo remote to  https://github.com/ceph/ceph-qa-suite.git
2016-06-29 16:59:37,722.722 INFO:teuthology.repo_utils:Fetching from upstream into /Users/zack/src/ceph-qa-suite_jewel
2016-06-29 16:59:38,802.802 INFO:teuthology.repo_utils:Resetting repo at /Users/zack/src/ceph-qa-suite_jewel to branch jewel
2016-06-29 16:59:38,950.950 DEBUG:teuthology.suite:Base job config:
branch: jewel
kernel:
  flavor: basic
  kdb: true
  sha1: 7ebc144db003228af53a25edca446c2741cbc083
machine_type: vps
name: zack-2016-06-29_16:59:33-smoke-jewel-testing-basic-vps
nuke-on-error: true
os_type: ubuntu
overrides:
  admin_socket:
    branch: jewel
  ceph:
    conf:
      mon:
        debug mon: 20
        debug ms: 1
        debug paxos: 20
      osd:
        debug filestore: 20
        debug journal: 20
        debug ms: 1
        debug osd: 25
    log-whitelist:
    - slow request
    sha1:<PHONE_NUMBER>0c8df663056404a7c63959bb8ef693
  ceph-deploy:
    conf:
      client:
        log file: /var/log/ceph/ceph-$name.$pid.log
      mon:
        debug mon: 1
        debug ms: 20
        debug paxos: 20
        osd default pool size: 2
  install:
    ceph:
      sha1:<PHONE_NUMBER>0c8df663056404a7c63959bb8ef693
  workunit:
    sha1:<PHONE_NUMBER>0c8df663056404a7c63959bb8ef693
priority: 1000
sha1:<PHONE_NUMBER>0c8df663056404a7c63959bb8ef693
suite: smoke
suite_branch: jewel
tasks: []
teuthology_branch: master
2016-06-29 16:59:39,631.631 DEBUG:teuthology.suite.run:Suite smoke in /Users/zack/src/ceph-qa-suite_jewel/suites/smoke
2016-06-29 16:59:39,636.636 INFO:teuthology.suite.run:Suite smoke in /Users/zack/src/ceph-qa-suite_jewel/suites/smoke generated 26 jobs (not yet filtered)
2016-06-29 16:59:39,645.645 DEBUG:teuthology.suite.util:Defaults for machine_type plana distro ubuntu: arch=x86_64, release=trusty, pkg_type=deb
2016-06-29 16:59:39,645.645 INFO:teuthology.packaging:Looking for package version: http://gitbuilder.ceph.com/ceph-deb-trusty-x86_64-basic/sha1/85428983070c8df663056404a7c63959bb8ef693/version
2016-06-29 16:59:39,810.810 INFO:teuthology.packaging:Package found...
2016-06-29 16:59:39,810.810 INFO:teuthology.packaging:Found version: 10.2.2-63-g8542898-1trusty
2016-06-29 16:59:39,810.810 INFO:teuthology.suite.run:Stopped after 1 jobs due to --limit=1
2016-06-29 16:59:39,810.810 INFO:teuthology.suite.run:Scheduling smoke/1node/{clusters/{fixed-1.yaml openstack.yaml} tasks/ceph-deploy.yaml}
2016-06-29 16:59:39,810.810 INFO:teuthology.suite.util:/Users/zack/inkdev/teuthology/virtualenv/bin/teuthology-schedule --name zack-2016-06-29_16:59:33-smoke-jewel-testing-basic-vps --num 1 --worker vps --dry-run --priority 1000 -v --description 'smoke/1node/{clusters/{fixed-1.yaml openstack.yaml} tasks/ceph-deploy.yaml}' -- /var/folders/lh/723f8c417xz2n8dfzjqnmk3c0000gn/T/schedule_suite_HIRAfl /Users/zack/src/ceph-qa-suite_jewel/suites/smoke/1node/clusters/fixed-1.yaml /Users/zack/src/ceph-qa-suite_jewel/suites/smoke/1node/clusters/openstack.yaml /Users/zack/src/ceph-qa-suite_jewel/suites/smoke/1node/tasks/ceph-deploy.yaml
2016-06-29 16:59:39,810.810 INFO:teuthology.suite.run:Suite smoke in /Users/zack/src/ceph-qa-suite_jewel/suites/smoke scheduled 1 jobs.
2016-06-29 16:59:39,811.811 INFO:teuthology.suite.run:25/26 jobs were filtered out.

I have more modifications to this area, but they can be addressed through a followup PR.  This fixes the bug @jcsp was experiencing, I believe.  (newest doesn't quite work without https://github.com/ceph/teuthology/pull/894 however.  @jcsp, you're welcome to try this with both these PRs, but I want Zack's review before merging 894.