Implementing Shodan reconnaissance in OWASP-Nettacker

There is no way that current version of nettacker can search on shodan and do information gathering. I will add this feature such that shodan search will also get implemented in nettacker.

Hi @aman566 - Shodan is not free and opensource. Feel free to add the shodan module via pull request - please allow Nettacker users to use their own Shodan API key

Please assign this task to me. Currently I am understanding the codebase of Nettacker. After that I will implement a shodan module in which user will be giving his api key and according to it the results will vary.

can you please assign this task to me? I am on it and will soon update you with the code.

Assigned you, Aman. Send a PR once you're done

Hey @SriHarshaGajavalli, @securestep9,
Please assign an issue to someone only after they have opened a PR on the issue. There are other people like me willing to work on this issue. But since this is assigned to someone else, I can't work on this now, or can I? Please help.
I'm waiting upon you guys to start contributing. :)
Regards

I was working on SSL implementation. Now it's completed. I will start working on this problem. Due to corona issues in our college, I was not able to work. Once the director is confortable in giving us holidays I will surely update the repo.


Add support for formula results

Hello, I'm back with support for default values in formula results

Thank you. I'm discovering features in Excel that I didn't even know existed.

Released in v0.2.5.


Document 'debug' field on pipeline transform

If we're going to ask users to set it to debug, it would be nice to have it in the docs so that they can proactively debug themselves.
Probably belongs on the pipeline spec doc page

Is this still needed @sjezewski?


DeDuper: BR Exact-match deduplication of HL7v2 messages

Arbo: “Do not pass messages with Exact Duplicates (Technical De-dup)”
Arbo does both "technical" and "business" de-duplication.
Technical deduplication is an exact match to a previously received message. Arbo would like DEX to handle this.
Business deduplication is a "semantic" match to a previously received message. Arbo will continue to handle.
Arbo does NOT want to receive the duplicated messages.
Arbo DOES want to know that dupes were recieved.
Ongoing discussion about how far to go back in time to look for duplicates, if possible to define, should take place with other customers besides Lyme/Arbo.  NCEZID has stated that we would need to check at least over the past 4 years.  Megan Light and Teresa Jue confirm that at least 3 years should be adequate.
Technical impact is that each message will have to be compared with the past four years worth of messages for exact match duplicates.  If one is found, then the current message is put into something like a duplicate queue/folder and not passed onto the customer.  If no duplicate is found, then the message continues on and based on other criteria in the pipeline would/could be provisioned to the customer.
Acceptance Criteria
Define an architecture solution for deduplication and define where in the pipeline this should take place.

Per QPR discussion - moved to ICEBOX.   @lmcnabb @jmann2817  per suggestion, we need to schedule a deep-dive meeting with Rishi & team to discuss scope of DeDuping Mid-to Late February 23.

Scheduled for Monday, December 18th between Marcelo, Ryan, Rishi, and myself.


Add prerequisites to courses API

What are the relevant tickets?
https://github.com/mitodl/hq/issues/4947
Description (What does it do?)
Adds a required_prerequisites field to the courses api
How can this be tested?
Make a GET call to the courses API for a course with nothing defined in the prerequisite field of the course page in the CMS.  Verify that the required_prerequisites in the API response is false.
Make a GET call to the courses API for a course with text defined in the prerequisite field of the course page in the CMS.  Verify that the required_prerequisites in the API response is true.

@cp-at-mit why are we adding this v1 and not v2?

@cp-at-mit why are we adding this to v1 and not v2?

I can move it to V2 if you think I should

As far as I know mit-open is using v2 of the course api.


Feature request : role based authorization

Role based authorization seems like a cool feature and natural extension of this already excellent plugin.

Authentication is ensuring who you are
Authorization is what you can do

Currently, authorization is an obsolete version of authentication.
Maybe you could implement authorization as an optional pipeline step  that would check if user is in any of requested roles for the route.
I have followed your architecture and implemented it as step after authentication, together with value converter and all, and it works as a charm. It just pollutes my code a bit, so putting it here in plugin feels natural.
Best regards

Something like this? https://github.com/SpoonX/aurelia-acl

Indeed. Seems like an cool and elegant solution. I can see that you are working on docs section, but i'll try to figure internals out from source. Great work.

@zeko77 Yeah it's quite old but it just worked so it never got changed.

Actually, I meant to write a message on this previously in here, but it completely slipped my mind :-)
In the app I'm currently working on, we send the roles back in a JWT (Roles user data section), all I then do is add my "RoleStep" to the router config immediately after the auth step from the auth main lib.
import { AuthenticateStep } from "aurelia-authentication";
import { RoleStep } from "./libs/RoleStep";
then later on:
config.addPipelineStep("authorize", AuthenticateStep);
config.addPipelineStep("authorize", RoleStep);
The role step roles are contained in the router data as follows:
{ route: "home", name: "home", moduleId: PLATFORM.moduleName("./pages/home/home"), nav: true, auth: true, title: "Home", settings: { icon: "fa-home", roles: ['user','admin','foobar'...] } },
And the actual Role step looks like the following:
import { inject } from 'aurelia-dependency-injection';
import { Redirect } from 'aurelia-router';
import StorageService from "./StorageService";
import UserTokenService from './UserTokenService';
`@inject(StorageService, UserTokenService)` `export class RoleStep {`
  private storage: StorageService = null;
  private userToken: UserTokenService = null;
`  constructor(storage: StorageService, userToken: UserTokenService) {` `    this.storage = storage;` `    this.userToken = userToken;` `  }`
  run(routingContext, next) {
`    let config = routingContext.config;`
    if (config.settings == undefined) {
      return next();
    }

    if (config.settings.roles == undefined)
    {
      return next();
    }
`    if (config.settings.roles.length === 0) {` `      return next();` `    }`
    let authObject = this.storage.getObject("aurelia_authentication");
    if(authObject == null)
    {
      // there is no aurelia authentication object, so that must mean where not actually logged in
      // all we can do is just drop out to the next... I think anyway - TODO: check if we can do this better
      return next();
    }
`    let userRoles = this.userToken.getRolesUsingToken(authObject.token);` `    let pageRoles = config.settings.roles;`
    let userRolesContainsPageRoles = userRoles.some(role => pageRoles.includes(role));
`    if(!userRolesContainsPageRoles)` `    {` `      return next.cancel(new Redirect("403"));` `    }`
    return next();
  }
``
}
Now, yes, there are some things that could be done better. For instance this was written before I finished reading the AU-Auth docs, and so didn't know it had methods to get the JWT and/or it's payload among other things.
However, this works perfectly for us with dotnetcore.  We use the Msft JWT bearer to create the token, and tell it to add whatever roles we have in the DB for the user logging in.  When the token is sent back in normal flow, the MSFT JWT stuff automatically verify's the token, and we can use the normal "role" attribute on a controller action as expected.
With the addition of the role step above, we can also use those exact same roles that the server is using against our actual routed pages too.
Anyway, it's nothing special, feel free to add it if you want to.
I don't have time to do it as a full pull request, or join the project team to implement it, but if you do use it a little thanks in the credits wouldn't go amiss :-)


how to set scroll height unit(default is 100px)

Is that possible to set scroll height unit (currently default is 100px)? I think 50px would be much more smooth.

Nope, the scrolling length is based on the delta value from your input devices (mouse, touchpad, etc.).

thanks, got itthanks, got it


[dogstatsd] Use Saluki as a Dependency

What does this PR do?
Use saluki instead of saluki-backport as a dependency in dogstatsd.
Motivation
I slightly modified version of saluki was created in saluki-backport to be compatible with Rust 1.76.0. Now that we're upgrading to Rust 1.78.0 we can use the original saluki project again.
https://datadoghq.atlassian.net/browse/SVLS-5527
Additional Notes
How to test the change?

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.95%. Comparing base (9ab5511) to head (237563e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #804      +/-   ##
==========================================
+ Coverage   70.89%   70.95%   +0.05%
==========================================
  Files         313      313
  Lines       45752    45752
==========================================
+ Hits        32438    32464      +26
+ Misses      13314    13288      -26

Components
Coverage Δ

crashtracker
38.27% <ø> (ø)

crashtracker-ffi
5.71% <ø> (ø)

datadog-alloc
98.73% <ø> (ø)

data-pipeline
92.06% <ø> (ø)

data-pipeline-ffi
90.54% <ø> (ø)

ddcommon
82.31% <ø> (ø)

ddcommon-ffi
65.52% <ø> (ø)

ddtelemetry
59.51% <ø> (ø)

ddtelemetry-ffi
22.46% <ø> (ø)

dogstatsd
89.46% <ø> (ø)

dogstatsd-client
79.77% <ø> (ø)

ipc
82.86% <ø> (+0.10%)
:arrow_up:

profiling
84.31% <ø> (ø)

profiling-ffi
77.55% <ø> (ø)

serverless
0.00% <ø> (ø)

sidecar
40.56% <ø> (ø)

sidecar-ffi
1.18% <ø> (ø)

spawn-worker
54.37% <ø> (ø)

tinybytes
93.60% <ø> (ø)

trace-mini-agent
72.38% <ø> (ø)

trace-normalization
98.23% <ø> (ø)

trace-obfuscation
95.77% <ø> (ø)

trace-protobuf
77.67% <ø> (ø)

trace-utils
93.52% <ø> (ø)


Allow catalog apps to be able to configure min or max app versionn

What kind of request is this (question/bug/enhancement/feature request):
Enhancement
Steps to reproduce (least amount of steps as possible):
A major version upgrade of apps may require the user to re-install the app, and upgrading from the old version may not be supported, so Rancher should allow the catalog apps to config the minimum and maximum upgradeable version.
The configuration can be added to the questions.yml with following labels.
labels:
  io.rancher.app_min_version: 1.0.2
  io.rancher.app_max_version: 1.9.2

Result:
UI will filter out the upgradeable version upon the app_min_version and app_max_version.

Close in favor of https://github.com/rancher/rancher/issues/20523


Hi,There has a memory leak problem in "static Manager.(defaultHTTPHeaders).(variable initialization expression).(closure #1).(closure #2)"

Bytes Used	# Leaks		Symbol Name
352 Bytes   27.8%	1	 	static Manager.(defaultHTTPHeaders).(variable initialization expression).(closure #1).(closure #2)
352 Bytes   27.8%	1	 	 static Manager.(defaultHTTPHeaders).(variable initialization expression).(closure #1)
352 Bytes   27.8%	1	 	  globalinit_33_7DD0B2C79D9EB0D097BCB0C6343B5D40_func5
352 Bytes   27.8%	1	 	   globalinit_33_7DD0B2C79D9EB0D097BCB0C6343B5D40_func4
352 Bytes   27.8%	1	 	    request(URLRequestConvertible) -> Request
352 Bytes   27.8%	1	 	     SiteService.sitesByPage(Int, perPage : Int, callback : (Bool, Int, [Site]?, NSError?) -> ()) -> ()
352 Bytes   27.8%	1	 	      SiteTabController.loadData() -> ()
352 Bytes   27.8%	1	 	       SiteTabController.checkNetWork() -> ()
352 Bytes   27.8%	1	 	        SiteTabController.viewDidLoad() -> ()
352 Bytes   27.8%	1	 	         @objc SiteTabController.viewDidLoad() -> ()
352 Bytes   27.8%	1	 	          AppDelegate.setupTabBarController(UITabBarController) -> ()
352 Bytes   27.8%	1	 	           AppDelegate.moveToMainController() -> ()
352 Bytes   27.8%	1	 	            AppDelegate.initRootController() -> ()
352 Bytes   27.8%	1	 	             AppDelegate.application(UIApplication, didFinishLaunchingWithOptions : [NSObject : AnyObject]?) -> Bool
352 Bytes   27.8%	1	 	              @objc AppDelegate.application(UIApplication, didFinishLaunchingWithOptions : [NSObject : AnyObject]?) -> Bool
352 Bytes   27.8%	1	 	               main

Hello,I'm sorry for the issue , because my project use Carthage to manage the library,which real cause Alamofire, Cartography，Charts memory leak in my project.So it not Alamofire cause the problem. I'm sorry for what I say before,I will more cautious in next time. Thanks!


Introduce CONTRIBUTING.md based on other repositories

Also added the commit message as requested here https://github.com/jaegertracing/jaeger/issues/771

@jpkrohling done! Please take a look :)

@jpkrohling @objectiser forgot to sign the last commits... my bad
Fixed that

Thank you for your contribution!


Release v2.14.0

Hello everyone :)
Many changes have been merged to master since version 2.13.4. They need to get to users in the form of a release.
I created a new milestone if that helps:
https://github.com/gemhome/rmagick/milestones/v2.14.0
We can put stuff that needs to be done in that milestone and when it's done then make the release.
What do we need to do?

[ ] Make it run on 1.8
[ ] Update the changelog
[ ] ???

I'll take a look at it over the weekend.  @vassilevsky Do you want gem push?

Sure, I can do that. My RubyGems username is the same.

Actually i need your rg email

<EMAIL_ADDRESS>

done

I have released version 2.14.0
https://rubygems.org/gems/rmagick


Isolate sites

Hi
Thanks for working on this.
I like the fact that this is a lightweight option however there is a security issue currently which is sites are running with one user (www-data).
I suggest that each site = Linux user and its own PHP pool configuration so sites are isolated from each other.
Others describe the same thing on another similar project here:
https://github.com/WordOps/WordOps/issues/425
https://github.com/WordOps/WordOps/issues/41

Hi!
Nice suggestion, I will add this to the roadmap.


Can not send BSV when BTC and BCH app update to 1.4.6

Dears,
When Ledger update BTC and BCH apps at 1.4.6.
I can not send BSV on Electrum SV.
It always show "The sign path is unsual" on BCH apps. And I cannot sign althought I signed on Ledger but it still shows "The sign path is unsual"

So, I am so worry about that. Please help me back up old version.
Thank you and best regards,
Pao

You can see Ledger issued this topic and I sent as usual in previous time.
https://support.ledger.com/hc/en-us/articles/360012270054-Bitcoin-SV-BSV-
But, from the time that Ledger update BTC and BCH app to 1.4.6. I can not do it.
Please help me.
Thank you and best regards,
Pao

Guess this has to be fixed in https://github.com/spesmilo/electrum
@SomberNight

Added an issue for this: https://github.com/spesmilo/electrum/issues/6511

re "The sign path is unusual" with Electrum, please see https://github.com/spesmilo/electrum/pull/6512#issuecomment-677643302
As in that comment, ideally we would need small changes in the firmware.

I am also experiencing this with the Dash Electrum wallet (https://github.com/akhavr/electrum-dash).
After reviewing the issue I have been prepared to take the calculated risk of "approving" the "unusual derivation path". However, the next step is that Ledger presents me with a Dash address to approve. I am not at all clear why it is doing this and what the consequences of approvign this would be - can anyone explain?


Some for loop optimizations

Many for converts unnecessarily from Iterable to List and, in some cases, make map operation instead of make it directly in the same for.

There is an error on this file : bezier_chart_widget.dart line 649  , this method intOrDouble doesn't exist.
Try to remove this import also :
import 'package:flutter/rendering.dart' as prefix0;

I don't remember to write prefix0. Maybe it was the IDE.
On the other hand, function name intOrDouble does not show what ir really does, then I renamed the function formatAsIntOrDouble.

@kranfix thanks for the contribution


Create Articles “how-to-check-for-termites-in-your-home”

Automatically generated by Netlify CMS

👷 Deploy Preview for chic-shortbread-66a66b processing.

Name
Link

🔨 Latest commit
dac6807d86cdac2b1481b17448a99862ba937848

🔍 Latest deploy log
https://app.netlify.com/sites/chic-shortbread-66a66b/deploys/672c607d5bd9810008fb6062


Animal_Match

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
Fixes #1115

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[ ] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @Mannu292001 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Hey @Mannu292001 You have to add your game entry in main README.md file Games section !!
not this template !!

Hey @Mannu292001 make sure you follow all guidelines and create a PR again you are not making any changes !!!

Thank you  @Mannu292001 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Added envtest integration tests for ClusterSet

This PR adds some a couple of integration tests using the envtest framework.

https://book.kubebuilder.io/reference/envtest

The controller-runtime/pkg/envtest Go library helps write integration tests for your controllers by setting up and starting an instance of etcd and the Kubernetes API server, without kubelet, controller-manager or other components.

The tests added are just two, but the scaffolding will let us iterate quicker.
A first run: https://github.com/enrichman/k3k/actions/runs/11777766300/job/32802796027

Ref #121


python3Packages.s3transfer: ignore test_compat on darwin

This tests fails on darwin due to a switch on python 3.8 on MacOS from
fork to spawn. See https://github.com/NixOS/nixpkgs/pull/154280 for more information.
cc @fabaff

Motivation for this change
Things done

Built on platform(s)

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

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

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

[x] 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.

We usually try to open upstream issues in cases like this.

Yep, thanks. I created https://github.com/boto/s3transfer/issues/229 upstream.


Add a note in docs not to use os.difftime

os.difftime is basically t1-t2
and the usage of it is already discoraged because of "provided for compatibility."
However I don't believe this is quite clear enough, and some people may accidentally use difftime because they dont know that it shouldn't be used.

Feel free to adjust the wording and submit a PR; this is in docs/_pages/library.md.


Open Session file results in VAPOR quit.

Platform: MacOS (Didn't test others.)
Steps:

Open VAPOR
Import a CF compliant file.
Create a Volume renderer.
Save a session file.
Close VAPOR.
Open VAPOR.
Try to open the session file that's just saved.
VAPOR quits.

@leighorf also reports the same behavior on Linux, with this information:
fuggle: /home/orf/vapor3b/VAPOR3-3.1.0.RC0-Linux/bin ./vapor
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'std::logic_error'
what():  basic_string::_S_construct null not valid
Aborted (core dumped)
When run with gdb a little more info comes forth:
(gdb) where
#0  0x00007ffff1fb6207 in raise () from /lib64/libc.so.6
#1  0x00007ffff1fb78f8 in abort () from /lib64/libc.so.6
#2  0x00007ffff28c57d5 in __gnu_cxx::__verbose_terminate_handler() () from /lib64/libstdc++.so.6
#3  0x00007ffff28c3746 in ?? () from /lib64/libstdc++.so.6
#4  0x00007ffff28c3773 in std::terminate() () from /lib64/libstdc++.so.6
#5  0x00007ffff28c39e9 in __cxa_rethrow () from /lib64/libstdc++.so.6
#6  0x00007ffff61cd0d6 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /home/orf/vapor3b/VAPOR3-3.1.0.RC0-Linux/lib/libQtCore.so.4
#7  0x00007ffff61d1e89 in QCoreApplication::exec() () from /home/orf/vapor3b/VAPOR3-3.1.0.RC0-Linux/lib/libQtCore.so.4
#8  0x00000000004663f8 in main ()


Freeze Rotation not respected when grasping Kinematic InteractionBehaviours

As the title says. Freeze Position works because it switches the grasped movement handler to the pivot-solve mode.
There's a workaround: Using the nonkinematic grasped movement type on the interaction object, because applied velocities respect the rigidbody constraint settings.
Fixing this bug probably means putting a check just after the solved grasped rotation is returned, that will check for the rotation constraint and project the solved rotation down into the closest rotation that satisfies the constraint. (It's not immediately obvious to me how to do this, though.)

Closing here. Tracked as Unity-756


"sed: unmatched '/'" stops the installation.

wget https://raw.githubusercontent.com/openlumi/homeassistant_on
_openwrt/23.05/ha_install.sh -O - | sh
Downloading 'https://raw.githubusercontent.com/openlumi/homeassistant_on_openwrt/23.05/ha_install.sh'
Connecting to <IP_ADDRESS>:443
Writing to stdout

               100% |*******************************| 24469   0:00:00 ETA

Download completed (24469 bytes)
Installing Home Assistant 2024.2.1 ...
Install base requirements from feed...
Downloading https://downloads.openwrt.org/releases/23.05.0/targets/ramips/mt7621/packages/Packages.gz
Updated list of available packages in /usr/lib/opkg/lists/openwrt_core
Downloading https://downloads.openwrt.org/releases/23.05.0/targets/ramips/mt7621/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /usr/lib/opkg/lists/openwrt_base
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/mipsel_24kc/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /usr/lib/opkg/lists/openwrt_luci
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/mipsel_24kc/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /usr/lib/opkg/lists/openwrt_packages
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/mipsel_24kc/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /usr/lib/opkg/lists/openwrt_routing
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/mipsel_24kc/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /usr/lib/opkg/lists/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/mipsel_24kc/telephony/Packages.sig
Signature check passed.
Detected Python 3.11
Package python3-base (3.11.7-1) installed in root is up to date.
Package python3-pynacl (1.5.0-3) installed in root is up to date.
Package python3-ciso8601 (2.3.0-1) installed in root is up to date.
Package patch (2.7.6-7) installed in root is up to date.
Package unzip (6.0-8) installed in root is up to date.
Package libjpeg-turbo (2.1.4-2) installed in root is up to date.
Package python3-aiohttp (3.8.5-1) installed in root is up to date.
Package python3-aiohttp-cors (0.7.0-2) installed in root is up to date.
Package python3-async-timeout (4.0.2-1) installed in root is up to date.
Package python3-asyncio (3.11.7-1) installed in root is up to date.
Package python3-attrs (23.1.0-1) installed in root is up to date.
Package python3-bcrypt (4.0.1-1) installed in root is up to date.
Package python3-boto3 (1.28.7-1) installed in root is up to date.
Package python3-botocore (1.31.7-1) installed in root is up to date.
Package python3-certifi (2023.7.22-1) installed in root is up to date.
Package python3-cffi (1.16.0-1) installed in root is up to date.
Package python3-cgi (3.11.7-1) installed in root is up to date.
Package python3-cgitb (3.11.7-1) installed in root is up to date.
Package python3-chardet (5.1.0-1) installed in root is up to date.
Package python3-codecs (3.11.7-1) installed in root is up to date.
Package python3-cryptodome (3.18.0-1) installed in root is up to date.
Package python3-cryptodomex (3.18.0-1) installed in root is up to date.
Package python3-cryptography (41.0.7-1) installed in root is up to date.
Package python3-ctypes (3.11.7-1) installed in root is up to date.
Package python3-dateutil (2.8.2-2) installed in root is up to date.
Package python3-dbm (3.11.7-1) installed in root is up to date.
Package python3-decimal (3.11.7-1) installed in root is up to date.
Package python3-defusedxml (0.7.1-1) installed in root is up to date.
Package python3-distutils (3.11.7-1) installed in root is up to date.
Package python3-docutils (0.20.1-1) installed in root is up to date.
Package python3-email (3.11.7-1) installed in root is up to date.
Package python3-greenlet (2.0.2-1) installed in root is up to date.
Package python3-idna (3.4-1) installed in root is up to date.
Package python3-jinja2 (3.1.2-1) installed in root is up to date.
Package python3-jmespath (1.0.1-1) installed in root is up to date.
Package python3-light (3.11.7-1) installed in root is up to date.
Package python3-logging (3.11.7-1) installed in root is up to date.
Package python3-lzma (3.11.7-1) installed in root is up to date.
Package python3-markupsafe (2.1.3-1) installed in root is up to date.
Package python3-multidict (6.0.4-1) installed in root is up to date.
Package python3-multiprocessing (3.11.7-1) installed in root is up to date.
Package python3-ncurses (3.11.7-1) installed in root is up to date.
Package python3-netdisco (3.0.0-1) installed in root is up to date.
Package python3-netifaces (0.11.0-1) installed in root is up to date.
Package python3-openssl (3.11.7-1) installed in root is up to date.
Package python3-pillow (9.5.0-2) installed in root is up to date.
Package python3-pip (23.2.1-1) installed in root is up to date.
Package python3-pkg-resources (68.2.2-1) installed in root is up to date.
Package python3-ply (3.11-2) installed in root is up to date.
Package python3-psutil (5.9.5-1) installed in root is up to date.
Package python3-pycparser (2.21-2) installed in root is up to date.
Package python3-pydoc (3.11.7-1) installed in root is up to date.
Package python3-pyopenssl (23.2.0-1) installed in root is up to date.
Package python3-pytz (2023.3-1) installed in root is up to date.
Package python3-requests (2.30.0-1) installed in root is up to date.
Package python3-s3transfer (0.6.1-1) installed in root is up to date.
Package python3-setuptools (68.2.2-1) installed in root is up to date.
Package python3-six (1.16.0-1) installed in root is up to date.
Package python3-slugify (8.0.1-1) installed in root is up to date.
Package python3-sqlalchemy (2.0.20-1) installed in root is up to date.
Package python3-sqlite3 (3.11.7-1) installed in root is up to date.
Package python3-unittest (3.11.7-1) installed in root is up to date.
Package python3-urllib (3.11.7-1) installed in root is up to date.
Package python3-urllib3 (2.0.4-1) installed in root is up to date.
Package python3-xml (3.11.7-1) installed in root is up to date.
Package python3-yaml (6.0.1-1) installed in root is up to date.
Package python3-yarl (1.9.2-1) installed in root is up to date.
Unknown package 'python3-gdbm'.
Package python3-pycares (4.3.0-2) installed in root is up to date.
Unknown package 'python3-numpy'.
find: /usr/lib/python3.11/site-packages/numpy: No such file or directory
Install base requirements from PyPI...
Requirement already satisfied: wheel in /usr/lib/python3.11/site-packages (0.42.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: aioesphomeapi==21.0.2 in /usr/lib/python3.11/site-packages (from -r /tmp/requirements_nodeps.txt (line 1)) (21.0.2)
Requirement already satisfied: esphome-dashboard-api==1.2.3 in /usr/lib/python3.11/site-packages (from -r /tmp/requirements_nodeps.txt (line 2)) (1.2.3)
Requirement already satisfied: zeroconf==0.131.0 in /usr/lib/python3.11/site-packages (from -r /tmp/requirements_nodeps.txt (line 3)) (0.131.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
sed: unmatched '/'

Thanks for the bug report. The script is fixed, please, run again

I think You forgot to push changes, https://github.com/openlumi/homeassistant_on_openwrt/blob/23.05/ha_install.sh#L176 is still missing  / before last apostrophe in -e 's/chacha20poly1305-reuseable \(.*\)/chacha20poly1305-reuseable >=0.10.0'.

Ahhhh, push failed, Yes, you're right. Now it it fixed for real


Add: Relational Database Functions that keeps track of user specific data

Future commands may include functionality like a currency system for users, or a point tracking system for users. Create a schema for keeping track of user specific details using a relational database like Postgres. You have freedom to decide the schema.
This issue is part one of a chain of issues (As this setup is a long process). Future issues will entail creating functions that abstract the process of reading and writing into the database.
The end goal of this issue is to facilitate the creating of commands that require keeping track of user specific details.

Hey!
I'd love to take this issue! Kindly assign it to me!

Sure! Assigned!


Whitebox cannot create "settings.json"

Hi,
we are using whitebox-tools through the R-client from within a shiny-application.
Installation on our shiny-server was performed as documented here by

running install.packages("whitebox") as root (package directory is "/usr/local/lib/R/site-library")
running whitebox::install_whitebox() likewise as root which installs the WBT executable into the folder of the R-package

So far it was possible to use the app as a non-root user.
Today when calling wbt_slope (or any other function) the app crashed with the following error message in the log:
thread 'main' panicked at 'Error creating output settings.json file.: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', whitebox-common/src/configs/mod.rs:57:46 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Error running WhiteboxTools (slope)    whitebox.exe_path: '/usr/local/lib/R/site-library/whitebox/WBT/whitebox_tools'; File exists? TRUE     Arguments: --run=slope  --dem='' --output='/home/shiny/slope.tif' --units=degrees --compress_rasters=FALSE -v --max_procs=-1
To make sure that this is not related to the application itself I executed the code below on the same server in an R session as root user and in another session as non-root user (typically shiny users do not have root privileges) outside the application.
library(whitebox)
dem <- system.file("ex", "elev.tif", package="terra")
wbt_slope(dem, "/home/shiny/slope.tif")

In root mode the code calculates slope as expected and produces the output file.
In user mode I get the same error as when running the application.
I do not know if this is related to a recent update (the app was tested and running stable so far) and I am also not sure if it is related to the R-client or the exe.
Thankful for any hints on this.
Best,
Hendrik

Ok, I just came across the NEWS of the R-client.
For version 2.1.1 it states:
Updated how --compress_rasters parameter is passed via command line. Now the flag is added to all commands regardless of whether the value is TRUE or FALSE. This allows update of settings.json accordingly when --compress_rasters=FALSE. RE: https://github.com/jblindsay/whitebox-tools/issues/233#issuecomment-1065955783
This causes the issue. I downgraded the R-package to version 2.1.0 which resolves the issue. Should the issue stay here or be moved to the R client?

Please open an issue on the whiteboxR repo.

Thanks for your question @hewag1975 but I would agree with @giswqs .. this is better for the whiteboxR repo. The link can be found here https://github.com/giswqs/whiteboxR
I will keep this issue open for the time being.

Ok, moved the issue to here


Recalculate collapsible content height issue

Issue
Dynamic content inside the collapsible component have a wrong behavior updating the height, it takes an offset and sometimes just cut to the middle the content, happens always on android and sometimes on IOS.
Expected behavior is to maintain the position of the collapsible and not take offsets, dont cut the content or change the height more than expected.
I tried putting the header and collapsible inside a View but still doesnt work. Help me out here please.
libraries versions
"native-base": "^2.15.2",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-native": "0.64.3",
"react-native-collapsible": "^1.6.0",

code
CollapsibleItem.jsx
<>
        <TitleComp
            handleCollapsible={() => setCollapsed(!collapsed)}
            {...otherProps, containerStyle}
        />
        <Collapsible collapsed={collapsed} align="center" style={{width: "100%", overflow: "visible"}}>
            <Card style={{width: "100%", ...styles}}>
                <CardItem style={[{..styles}, contentStyle]}>
                    {children}
                </CardItem>
            </Card>
        </Collapsible>
</>

ExampleDynamicContent.jsx
<CollapsibleItem
    containerStyle={{marginTop: 16}}
    contentStyle={{flexDirection: "column"}}
    >
        <Touchable onPress={selectItem}/>
         <View style={{width: '100%', marginBottom: 10, flexDirection: 'row', flexWrap: 'wrap'}}>
              {owners.map(chef =>
                  <GoldenItem key={chef.id} text={chef.fullName} onDelete={() => deleteItem(chef)} />)}
         </View>
</CollapsibleItem>

Behavior on Android
https://user-images.githubusercontent.com/26872450/142012335-7dbf5edf-c7f6-4df6-b038-a090cf4094a6.mp4
Expected behavior
https://user-images.githubusercontent.com/26872450/142011304-49ad0c0a-265e-470c-aa2c-3b5f25f4fcfa.mp4

Experienced the same issue.

Any Solution , i spend many hours on it

💯  i solved that by Calculate the Height the Child view of Collapsible, and create a new state that will hold that height to use it in attribute height of Collapsible Component.
   const [calculatedHieght, setCalculatedHieght] = useState();
declare an event that will Calculate the hieght :
    const onLayout=(event)=> {         const {x, y, height, width} = event.nativeEvent.layout;         console.log("~~~~~~ height = ", height);         setCalculatedHieght(height + 20)     }
use our state that hold the calculated hieght  :
 <Collapsible collapsed={!variantes[0].collapsed} style={{width: '100%', height: calculatedHieght}} >
and also set onLayout event in the child view of Collapsible component :
  <View style={{width: '100%', padding: 7,}} onLayout={onLayout}>

But if you have Many Collapsible View at same page , you will see a slow motion while the view Collapsing

i solved this by forcing react to re-render the whole  element by putting dependencies on key attributes. eg:
<Collapsible collapsed={isCollapsed} key={searchString}>
if it doesn't work then try to put key attribute on the parent element

@oussamanm can you please describe it in detail, as i tried your method but i guess i am doing it wrong.please share your example with code.

i solved this by forcing react to re-render the whole element by putting dependencies on key attributes. eg:
<Collapsible collapsed={isCollapsed} key={searchString}>
if it doesn't work then try to put key attribute on the parent element

It works with key but without animation on ios

This took me a while to fully figure out. I tried many different things, and finally found what I believe to be the best solution for this. Hopefully this helps people in the future.
The idea here is to wrap the children in a single view. onLayout of that view, set a currentHeight state. We ignore when the height is 0 - all that means is the cell was collapsed, the children height didn't actually change. If we don't ignore 0, the collapsing animation will not work when expanding.

const [currentHeight, setCurrentHeight] = useState<number>(0)

const onLayout = event => {
    const newHeight = event.nativeEvent.layout.height

    // Don't do anything for height = 0 (collapsed state)
    if (newHeight === 0) return

    // Only toggle key if the height has changed
    if (newHeight !== currentHeight) {
        setCurrentHeight(newHeight)
    }
}

// Use currentHeight state as the key
<Collapsible collapsed={collapsed} key={currentHeight} renderChildrenCollapsed={true}>
    <View onLayout={onLayout}>
        {children}
    </View>
</Collapsible>

This took me a while to fully figure out. I tried many different things, and finally found what I believe to be the best solution for this. Hopefully this helps people in the future.
The idea here is to wrap the children in a single view. onLayout of that view, set a currentHeight state. We ignore when the height is 0 - all that means is the cell was collapsed, the children height didn't actually change. If we don't ignore 0, the collapsing animation will not work when expanding.
The currentHeight should then be used as the `' key. This will trigger re-renders properly.
const [currentHeight, setCurrentHeight] = useState<number>(0)

const onLayout = event => {
    const newHeight = event.nativeEvent.layout.height

    // Don't do anything for height = 0 (collapsed state)
    if (newHeight === 0) return

    // Only toggle key if the height has changed
    if (newHeight !== currentHeight) {
        setCurrentHeight(newHeight)
    }
}

// Use currentHeight state as the key
<Collapsible collapsed={collapsed} key={currentHeight} renderChildrenCollapsed={true}>
    <View onLayout={onLayout}>
        {children}
    </View>
</Collapsible>

Thanks, I was having issues when using images with aspectRatio of 1/1 in the accoridan

https://github.com/oblador/react-native-collapsible/assets/78947884/f55cbfec-974a-4003-9bf2-2f996d361032
error for only Android


python310Packages.snapcast: 2.2.0 -> 2.3.0

Description of changes
https://github.com/happyleavesaoc/python-snapcast/releases/tag/2.3.0

Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

2 packages built:

python310Packages.snapcast
python39Packages.snapcast


Implement ProxyNetworkLayer

Lobbies were implemented by @someonesomewheredev
TL;DR of changes

Added ProxyNetworkLayer
Added FusionHelper to communicate with the proxy layer
Replaced RigManager patch for avatars with ArtRig patch (Lemon didn't like RM for some reason)
Added the layer to the network determiner
Probably more? This has had a very long development time

ohio fusion..


☂ Fluent Operator

How to categorize this issue?

/area logging
/kind enhancement
The Fluent-bit setup is currently scattered across various repositories. There is basic logic in g/g but there are also different filters and parsers on the different extensions, which Gardener is responsible for assembling into a single ConfigMap and giving it to Fluent-Bit. Therefore, we decided to rely on the Fluent Operator to manage the entire lifecycle of the Fluent-bit and to be responsible for all activities related to it.
This change will make Fluent-Bit more easily extensible and also remove a lot of code from g/g related to its management.
Tasks:

[x] https://github.com/gardener/gardener/pull/7093
[ ] Add ClusterFilters and ClusterParsers resources in all extensions which are deploying ConfigMap with label extensions.gardener.cloud/configuration: logging

[ ] https://github.com/gardener/gardener-extension-provider-aws
[ ] https://github.com/gardener/gardener-extension-provider-azure
[ ] https://github.com/gardener/gardener-extension-provider-gcp
[ ] https://github.com/gardener/gardener-extension-provider-alicloud
[ ] https://github.com/gardener/gardener-extension-provider-openstack
[ ] https://github.com/gardener/gardener-extension-provider-vsphere
[ ] https://github.com/gardener/gardener-extension-provider-equinix-metal
[ ] https://github.com/gardener/gardener-extension-shoot-dns-service
[ ] https://github.com/gardener/gardener-extension-shoot-cert-service
[ ] https://github.com/gardener/gardener-extension-networking-calico

[ ] Add the Fluent operator in Gardener in place of fluent-bit
[ ] Clean up the logging ConfigMaps in the extensions mentioned above.

/assign

@Kristian-ZH Could you please also consider gardener-extension-networking-cilium?

gardener-extension-networking-cilium currently does not have Parsers and Filters.
With these updates, I just migrate the extensions which already have logging configmap

/close as completed


Documentation fixes and improvements todo list

Listing of all errors found in the documentation

[x] Arguments for a class not appearing if the Args were put under the init statement. mainly the AsyncYoutubeAPI class has this issue.
[x] ayt_api.exceptions.APITimeout has a strange formatting error. investigate and fix.
[x] Under AsyncYoutubeAPI. specify timeout attribute in documentation correctly (aiohttp.ClientTimeout instead of ClientTimeout) and make sure any references to other libraries have their full prefix (foo.BAR instead of BAR).
[x] standardise the use of yt3.ggpht.com instead of mix between that and yt3.googleusercontent.com or make sure to specify both (eg. "the yt3.ggpht.com or yt3.googleusercontent.com server")
[x] make 3rd party libraries link to their own docs properly
[x] figure out why sphinx doesn't like the param value and fix it
[x] :type: not linking to python docs maybe try using :class: instead
[x] Missing colon in expand function of playlistitem

Things to add

[x] add NoAuth to raises under AsyncYoutubeAPI
[x] make [source] button appear next to functions and classes to view the source code right in the documentation
[x] example IDs to all call functions
[x] Generally format the sections more nicely (put all of the sections under one or find a way to format it nicer)
[x] figure out how to format warnings for attribute docs in sphinx
[x] add new in version admonitions
[x] Group documentation changes at the end of sections in CHANGELOG.md
[x] Document parts of OAuth already done
[x] Add examples on using OAuth methods to examples directory
[x] Add documentation on how to obtain API keys and OAuth2

Hey! 👋🏾
My name is Sunkanmi, and I'm a Technical Writer looking to contribute to API documentation on Github. Is it possible for me to submit a PR for Swagger documentation for this API and help refine your Github readme as well?
Let me know if I can get started on this. 😊
Hope to speak with you soon!

Hi @sunkanmii,
You may open a pr with suggestions for the documentation at https://ayt-api.rtfd.io and suggestions for the readme.
Note: My documentation on readthedocs uses Sphinx with MyST-Parser.


unableToBuildType(type: NSURL)

The objCClassWrapper case is not supported in createInstance(...). Specifically, URL and NSURL were both tried.
Interestingly, it does work if the property is Optional.
(lldb) po kind
Runtime.Kind.objCClassWrapper

Taking a look now. As a temporary work around you should be able to make URL conform to DefaultConstructor, and you can tell it how to construct a default value for the object.

Hey @wickwirew
So far I've learned that URL is a little exceptional in that it doesn't like to be empty.
But I did experiment with the Factory in my own fork (https://github.com/wildthink/Runtime) that is working but I have not yet done a lot of testing on it. I'm not sure this is a good solution; the Swift Runtime system is still new to me.


Vulnerability roundup 92: mujs-1.0.7: 1 advisory [7.8]

search, files

[ ] CVE-2020-24343 CVSSv3=7.8 (nixos-unstable)

Scanned versions: nixos-unstable: c59ea8b8a0e.
Cc @pSub

See also: #90894


php validation not working when folder is open in explorer

VSCode Version: 1.21.1
OS Version: Windows 10 Pro Build 16299.309

Does this issue occur when all extensions are disabled?: Yes
When I open a php file with errors in php syntax, it is validated correctly (example 1). However, when I have any folder opened in vscode explorer, the same php file is not being validated at all (example 2), so are not any files, even if they don't belong to the opened folder.
example 1:

example 2:

The php version 7.2.3 is located in my OS at C:\php
VSCode settings contain the following configuration related to php validation:
{
    "php.validate.executablePath": "c:/php/php.exe",
    "php.validate.run": "onType",
}

This issue appears to be happening on the latest Windows 10, because I encountered it as soon as I downloaded and installed a fresh copy of Windows 10 on my desktop.
I've just tested VSCode (v1.21.1) php validation on my laptop with 4-month-old windows 10 Pro and it all worked fine. However, once I've downloaded and installed the latest version of Windows 10 Pro on this laptop today, and istanlled VSCode (v1.21.1) on the fresh installation, the same issue appeared - the php validation won't work when a folder is opened in vscode explorer.
OS Name: Windows 10 Pro
Version: 1709
OS Build: 16299.309

This works for me, on Windows 10 Pro, basically the same build as you.
Could you open the developer tools (Help > Toggle Developer Tools) and check for errors?
Could you try downloading the Insiders' build and tell me whether it happens there? https://code.visualstudio.com/insiders

VSCode insider edition php validation doesn't work either.
The issue seems to be occurring on the new installation of windows that is currently available for download via MediaCreationTool.exe at microsoft.com. When I try it on my laptop where Windows was installed four month ago, VSCode php validation works fine there, even though that Windows has the same build through updates.
Could you please try to download the new installation of Windows 10 (64-bit), install it on virtualbox, and test VSCode php validation with a folder opened.
I unpack the following php: VC15 x64 Non Thread Safe (2018-Mar-01 06:44:57) (https://windows.php.net/download/) to C:\php.
At VSCode install I check all "open with", "file association" options.

I'll try it when I have time but I doubt that it's related to how windows was installed. The PHP validation is very simple and doesn't really do anything differently based on whether a folder is open or not. Do any of the PHP extensions like PHP Intellisense work for you instead?
Could you open the developer tools (Help > Toggle Developer Tools) and check for errors?

Yes, PHP Intellisense works. I'm not saying it is related to how windows was installed, I'm saying that it appears to be related to the copy of windows that is currently downloaded from microsoft.com
I had VSCode php validation working fine, then last week I installed a fresh copy of Windows, which I downloaded from microsoft.com, and after I installed vscode on the fresh windows, php validation wouldn't work when a folder was opened. Then I tried vscode on my laptop where I had installed windows about 4 moths ago, and vscode php valdiation works absolutely fine there. Then I downloaded windows again and installed two more copies Windows 10 Home and Windows 10 Pro on two virtual boxes, and on neither copies VSCode php validation works when a folder is opened. So I concluded that the problem occurs in the latest windows file that is downloaded from microsoft.com

I've tested numerous times - php validation does not work when folder is opened in vscode explorer. The issue occurs on the windows 10 (64-bit) that is currently up for download at microsoft.com

If the PHP Intellisense extension works, can you use that as a workaround? It also provides validation, and does a better job of it than the very simple builtin PHP validation.

I'm not sure what you mean by using Intellisense as workaround.

When the PHP Intellisense extension is installed, it also does validation (better than the builtin validation which is not working here)

Yes, PHP Intellisense extension php validation works. Thanks for the advice. I'd still like the issue to be verified and fixed in the future though.

Will the issue be fixed? I'm still encountering it, even on vscode 1.22. Have you been able to recreate it (see steps below)? Installing non-native PHP Intellisense is a workaround, not a fix.

Install brand new Windows 10 downloaded from microsoft.com.
Download php for windows and unpack to c:\php.
Install vscode.
Open folder in vscode explorer.
Create/open php file with a php syntax error in it.
See if the problem occurs: the syntaxt error will not be reported by VSCode if a folder is opened.

Sorry for the delay, I had time to try it. I see similar behavior, did you install the VC++ redistributable? I install the same version of PHP as you (VC15 x64 Non Thread Safe) and it requires the VC15 redist and isn't totally functional until then. Sure enough, if I run PHP from the command line with the bad .php file, it doesn't output anything.
I think it works when a folder isn't open, because then it's spawned effectively with vscode's folder as CWD and it picks up the one next to Electron. But we can't depend on that.

@aeschli I think it's resolved?

oh, sorry, it seemed to me that it bot overeagerness.


Better detection of API tokens

I have code similar to the following that I would have expected such a tool to find:
    .header("Authorization", s"Bearer XXXXXXXXXXXXXXXXXXXXXX")

It's written in Scala but the syntax in that line is pretty universal. It's not the API of a popular library but it's still obvious to a human what it is.
Maybe my assumptions about how such a tool would work are silly. Perhaps at least a mode that detects opaque strings like gJd8T3FgJd8T3FgJd8T3FgJd8T3F (especially inside quotes) would be a good idea? In any case if it's following the word Authorization that could eliminate false positives.
I also have some hard-coded opaque IDs from some graphql API in this project, which don't have that sort of clue next to them. They aren't secrets, but a codebase policy not to put such strings in git would be justifiable. Is detecting such strings possible (without a custom rules file), or is it reasonable to add that ability?

@nafg gJd8T3FgJd8T3FgJd8T3FgJd8T3F isn't enough for gitleaks to consider that a secret, even if it inside quotes. There needs to be additional context for that string to be considered a secret.  gJd8T3FgJd8T3FgJd8T3FgJd8T3F could be a hash for an uuid, or some other identifier that isn't considered a secret. Maintaining a good TP to FP ratio is crucial for usability. I don't want to introduce a falsey rule and blow up everyone's reports
.header("Authorization", s"Bearer XXXXXXXXXXXXXXXXXXXXXX")

That said, we could easily craft a gitleaks rule to catch bearer tokens.

Another similar case
"authorization": "Basic 1234" is not detected, but
"authorization": "1234" is


Near-future Roadmap

[x]  Add web hooks for publishing, and unpublishing
[x]  Sitemaps from list of /uris (assuming less than 50,000 urls)

[x] sitemap.txt
[x] sitemap.xml

[ ]  Use node's built-in EventEmitter instead of Eventify
[ ]  Use standard morgan and response-time response logging instead of logging ourselves in our own format.  (https://scotch.io/bar-talk/expressjs-4-0-new-features-and-upgrading-from-3-0)
[ ]  Dynamic addition and removal of sites at run-time from /sites endpoint.
[ ]  Addition and removal of users at run-time from /users endpoint.
[x]  Sites should point to themes instead of sites for styles, assets, typography, etc.
[ ]  Sites should have roles, and Users can be assigned into those roles.

Are those breaking changes though? Or were you using v2 colloquially?

I should have just called it roadmap.  : )

i fix for u :smile:

You are awesome sir!

Closing as out of date.


Offline support

Salam
Thanks for superb great repo!
Would you please add a section to readme, and guide users on how to use the engine in offline mode, download models,...

Hello @a-v-ebrahimi
Thanks for the suggestion, I'll add a section to the docs for this soon.

Hi again @a-v-ebrahimi ,
I just added a short section regarding offline mode in the README at https://github.com/hezarai/hezar?tab=readme-ov-file#offline-mode .


Question: is it possible for existing field to be discriminant?

Hi!
I'm wondering whether it is possible to have existing model field to be a discriminant?
Something like this:
[JsonConverter(typeof(JsonInheritanceConverter("type")))]
[KnownType(typeof(ClassA))]
[KnownType(typeof(ClassB))]
public abstract class BaseClass
{
	public string Type {get;set;}
}

Currently it fails with The JSON property 'type' is defined multiple times on type 'BaseClass'.
Is it possible to avoid that verification?
Thing is that we use this field not only as discriminant, but for other needs as well (with modified discriminant values, though).
Thanks a lot!

You're using the same field to store other values? Can you show an example?

So the idea is to just expose the discriminator?

Yep, I'd just like to have discriminator value in model.
I think that could be achieved by removing check that value if already present in JsonSchemaGenerator.GenerateInheritanceDiscriminator, however I'm not sure how desired is that, or if there's any other way.

Seems like it works fine (checked locally). It is being written as any other property.
Any specific things you're thinking about?


draft Shrink (prune?)

Implementing some optimisation tactics on UPLC.

Closing for the sake of tidying things up. We may want to consider well-typed/plutonomy as well for UPLC optimization.


ImportError: No module named uuidfield

I'm on version 1.7 django and version 1.2.1 of django-push-notifications
I'm getting this error

from push_notifications.models import APNSDevice
Traceback (most recent call last):
File "", line 1, in
File "/app/.heroku/python/lib/python2.7/site-packages/push_notifications/models.py", line 4, in
from .fields import HexIntegerField, UUIDField
File "/app/.heroku/python/lib/python2.7/site-packages/push_notifications/fields.py", line 20, in
from uuidfield import UUIDField
ImportError: No module named uuidfield

I ran python manage.py makemigrations first then I ran python manage.py migrate and I still get this error.

You can try version 1.2.0 instead. Apparently 1.2.1 didn't work too well. If it becomes a common issue I'll try again to release an 1.2.2 seeing as 1.3 drops Django 1.7 support.

thanks for the help! still the same problem unfortunately probably going to have to go with a different solution even though i've use this library before, on a very tight deadline

Did you make sure to install django-uuidfield as per the requirements?

BTW if you're able to develop on Django 1.8, 1.3 release will solve your problem entirely.

yeh forgot to install it... stupid mistake... thanks! and yeh we will be updating to 1.8 but we are launching in two weeks so after that thats the plan

Good luck.


Added DispatcherBuilder::contains

Adds a contains method to DispatcherBuilder that allows the caller to determine if a system with the given name has already been added.
This supports https://github.com/amethyst/specs/issues/736.

@torkleyy this one should be a really easy review :)

Any luck with this? Is there anything else I should do to get this merged?

The error wasn't introduced by this PR so I'll just merge this manually.

Actually, let me try and fix the issue and then merge it :)

No worries @torkleyy, thank you!


Add Visily to Prototyping section

@selfishprimate Sorry for late response and thank you so much for updating this PR. <3


KendoDropdownList not able to select the item after clicking on it

Hello Yevgeniy,
I used KendoDropdownList Component and attempted to select a value using Set().
It looks like it's clicking on the dropdown. However it fails to select the item.
https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdownlist/
Is this a known issue?
Thanks,

Hi,
I was able to successfully test KendoDropDownList against the drop-down located on https://www.telerik.com/kendo-angular-ui/components/dropdowns/dropdownlist/
Could you please provide details of your error?

Hello Yevgeniy,
When I manually click on the KendoDropDownList, I see that the following element shows up

When I attempt to select a value using Set(), I see the following error

Stack Trace:

Hey,
It's a bit strange that Atata cannot find .k-popup element. I double checked Kendo Angular DropDownList and it has it:
<kendo-popup class="k-animation-container k-animation-container-shown" dir="ltr" style="left: 30px; top: 91px; min-width: 174px; width: 174px; height: auto;">

    <kendo-list>

    </kendo-list>

</kendo-popup>

It may be that you have drop-down customized or of a specific version. Could you please expand your <kendo-popup> element, which is shown in your screenshot, and share its child HTML element. Curious if it has
 or something else. Anyway, we will find some solution.

I'm also not able to set a dropdown value using Atata kendo Dropdown list.
I'm using Kendo UI MVC version 2018.1.117.
OpenQA.Selenium.NoSuchElementException : Unable to locate visible element:
- By.XPath: .//[normalize-space(@id) = 'GroupSelectList']/descendant-or-self::[contains(concat(' ', normalize-space(@class), ' '), ' k-dropdown ')]
- Search time: 5.005s
- Search options: {Visibility=Visible, Timeout=5s, RetryInterval=0.5s, IsSafely=False}

Hello Yevgeniy,
Here's the expanded  you had asked for.
Appreciate your help!

I made a change in recently release Atata.KendoUI 1.2.0 for KendoDropdownList. You can verify if your issue still persists.


Added the ability to place a DSL directly into a build tree

I really like this flutter package, but I was annoyed by the fact that you had to create each DirectSelectList (DSL) before adding it to the build tree. This made code very messy and hard to read.
Therefore, I made use of InheritedWidgets. With this pull request, a DSL may be inserted directly into the build tree from a Stateless Widget like so:
class SomeWidget extends StatelessWidget {
  Widget build(BuildContext context) {
    final dsListeners = DirectSelectContainer.of(context);
    return Container(
      ...
      child: DirectSelectList<...>(
        ...
        onTapEventListener: dsListeners.toggleListOverlayVisibility,
        onDragEventListener: dsListeners.performListDrag,
      ),
    );
}

Note:
Using the following:
DirectSelectContainer(
  controls: ...
);

Should be deprecated. (I haven't marked it as so)

Hi, @Afulton11. Thanks for your work and help :) We really appreciate what you have done, thanks
We are going to merge your changes and update Readme


implement tf-runner pod and main program

This PR implements TF-runner pod invocation, and the main runner program.
Fix #70 #71 and #73

yay!


allow kwargs for overrides

Able to use **kwargs for overrides.
>>> import pdblp

>>> con = pdblp.BCon(port=8194, timeout=5000)
>>> con.start()
>>> con.bulkref(tickers='JPM US Equity', flds='DVD_Hist_All', DVD_Start_Dt='20181001')
          ticker         field                name         value  position
0  JPM US Equity  DVD_Hist_All       Declared Date    2018-09-18         0
1  JPM US Equity  DVD_Hist_All             Ex-Date    2018-10-04         0
2  JPM US Equity  DVD_Hist_All         Record Date    2018-10-05         0
3  JPM US Equity  DVD_Hist_All        Payable Date    2018-10-31         0
4  JPM US Equity  DVD_Hist_All     Dividend Amount          0.80         0
5  JPM US Equity  DVD_Hist_All  Dividend Frequency       Quarter         0
6  JPM US Equity  DVD_Hist_All       Dividend Type  Regular Cash         0

Thanks for the contribution. As a matter of practice it's a good idea to first open an issue to discuss the problem the pull request is solving.
I don't see a lot of benefit in allowing people to pass overrides through kwargs. This somewhat complicates the API in my opinion and leads to confusion (in my mind at least) between how ovrds and elms are treated. Is there a particularly compelling reason for why this should be done?

kwargs is more pythonic.
For elms, it's only available in bdh with pre-determined set of choices, think a better way of passing elms is integrated it to kwargs as well - any keys in kwargs belonging elms will be passed to elms, i.e.,
elements = ['days', 'fill', 'period', 'periodicityadjustment']
elms = [(k, v) for k, v in kwargs.items() if k.lower() in elements]
ovrds = [(k, v) for k, v in kwargs.items() if k.lower() not in elements]

Not sure the complete list of elms - code is just for demonstration purpose.

In my opinion I don't think the convenience for this out weights the added complexity. If you want this functionality I would suggest just doing this with a decorator in user space
def myfunc(tickers, fields, ovrds=None):
    print(tickers)
    print(fields)
    print(ovrds)

def decorate(func):
    def wrapped(tickers, fields, ovrds=None, **kwargs):
        ovrds = [] if not ovrds else ovrds
        ovrds += [(k, v) for k, v in kwargs.items()]
        return myfunc(tickers, fields, ovrds)
    return wrapped

In [13]: myfunc("IBM Equity", "PX_LAST", [("some_overide", 10)])
IBM Equity
PX_LAST
[('some_overide', 10)]

In [14]: myfunc2 = decorate(myfunc)
In [15]: myfunc2("IBM Equity", "PX_LAST", [("some_overide", 10)], another_override=-5)
IBM Equity
PX_LAST
[('some_overide', 10), ('another_override', -5)]

passing list of tuples around is far from pythonic 🤐


APIError 9003 on server.py

the login / token works fine, but have an error from the API when I try the "ls" command. Same action works with the existing example.py but I could'nt see the difference.
state is almost ok, only missing the "session" but it doesn't refresh as expected...
here is the traceback:
<IP_ADDRESS> - - [10/Apr/2020 22:48:06] "GET /ls HTTP/1.1" 301 -
[2020-04-10 22:48:07,223] ERROR in app: Exception on /ls/ [GET]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python3/dist-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python3/dist-packages/flask/_compat.py", line 35, in reraise
raise value
File "/usr/lib/python3/dist-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python3/dist-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "server.py", line 122, in get_ls
for device in client.devices:
File "/home/pi/Documents/wideq/wideq/client.py", line 126, in devices
self._devices = self.session.get_devices()
File "/home/pi/Documents/wideq/wideq/client.py", line 117, in session
self._session, self._devices = self.auth.start_session()
File "/home/pi/Documents/wideq/wideq/core.py", line 336, in start_session
self.gateway.country, self.gateway.language)
File "/home/pi/Documents/wideq/wideq/core.py", line 233, in login
return lgedm_post(url, data)
File "/home/pi/Documents/wideq/wideq/core.py", line 188, in lgedm_post
raise APIError(code, message)
wideq.core.APIError: (9003, '세션생성실패')
<IP_ADDRESS> - - [10/Apr/2020 22:48:07] "GET /ls/ HTTP/1.1" 500 -

using google translate: 세션생성실패 = "session creation failure" :'(

close while added a new APIError code 9003 for catching this error as a 'not logged' error


[C++]: Fix incorrect use of noexcept specifier

Describe the bug
WC makes the end-user app crashing because of the incorrect use of C++ noexcept specifier which ignores throw exceptions.
To Reproduce
For example, pass an incorrect EOS signature:
https://github.com/trustwallet/wallet-core/blob/b2749b2847787607702ae1da7e09ebb3a54ab02d/src/EOS/Signer.cpp#L149
Expected behavior
WC should either throw an exception or return an error in SigningOutput { error, error_message } Protobuf message.

can I try this? is this issue specifically targeting EOS?

Will this affect any core


refactor(prettier): Refactor IR related macros

Remove format! macro
Rename string related macros, &'static: text! and 'a: dynamic_text!
Apply wrap! macro instead of manually using enter|leave_node
Introduce /ir directory and move Doc, impl Display, DocBuilder, etc.

I'm not yet determined how to, how deep to use macro, but this is first stepping stone... 🥌

free to make any changes to the oxc_prettier crate.

@Boshen Can I understand this to mean that I can merge PRs without review?

how deep to use macro

Although I ban macros in the rest of the codebase, I allow in this crate to make code easier to read.
So the general guideline is:

make the formatter functions easier to read by making everything shorter and more concise.
save some key strokes

free to make any changes to the oxc_prettier crate.
#5068 (comment)

@Boshen Can I understand this to mean that I can merge PRs without review?

Or use graphite to stack the PRs, whatever makes you productive. I can review after merge.

Merge activity

Nov 26, 4:27 AM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


Allow multiple choice in ui.combobox()

Related to https://github.com/h2oai/wave/discussions/1018
Add a values to ui.combobox(), for parity with ui.dropdown().

#1018 asks for multi select option, which is not supported within combobox Fluent component. Citing docs:

Use a combo box when there are multiple choices that can be collapsed under one title

A combobox is simply a free form dropdown with autocomplete.
Maybe #1003 could be a better alternative?

Fluent supports multiSelect on a ComboBox. See Controlled multi-select ComboBox. Should be a simple change. #1003 is more complicated.

In best case the ComboBox would allow me to multi select pre-defined options, as well as allow me to manually add new options as a user.

Fluent supports multiSelect on a ComboBox

Will need to bump up Fluent to v8 then, but good point.


[WIP] Add archive verification to Prow pre-submits.

What type of PR is this?
/kind feature

What this PR does / why we need it:
This change guards the archives for each PR by adding the existing verify-archives target to Prow presubmits. However, the current image that runs current verification scripts pull-cip-verify does not have docker installed.
docker run gcr.io/k8s-staging-releng/releng-ci:latest-go1.15 whereis docker
docker:

Therefore, in order to run the verification, a new image must be used.
#326
Which issue(s) this PR fixes:
None

Special notes for your reviewer:
NONE
Does this PR introduce a user-facing change?

Add archive verification to Prow pre-submits.

This testing effort will be tracked by the issue: #339
There, each area of interest will be addressed separately.


Keep track or rounds and client_ids

This PR updates the data selection for testing and validation to avoid reusing samples across clients. Additionally, it also prevents sample reuse across training rounds.
There's a bug where client_id get overwritten by the last known client id in MNIST model trainer. I will fix it in the next PR.

First of all, thank you for your contributions. I didn't expect anyone working on this repo.

Hi @eyp, so sorry I didn't realize I pushed a PR to your repo. I thought I pushed it to my fork hence the silly log messages.
There are some rough edges in my code though. Until I fix them, please feel free to revert the PR if you prefer. I'll let you know when the fix is ready 🙏

I'm sorry, don't get me wrong, I'm pretty happy you contributed. As I said you already fixed those logs, that in any case are minor things.
The project has quite room for adding lot of features, but I've never had the motivation to work on it alone.
As I said, I'm not so picky to revert any of your changes.
Thanks again.

Thank you! Happy to contribute. I will push a more robust of client id and round tracking in the next week or so :)


Security updates

Also move jsonld code to Dockstore where it fits better

Pull Request Test Coverage Report for Build 222

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.05%) to 2.579%

Totals

Change from base Build 219:
-0.05%

Covered Lines:
198

Relevant Lines:
7678

💛  - Coveralls


Cannot find board descriptions in arduino-1.8.5 environment

ino cannot find boards.txt because it is stored in /path-to-arduino/hardware/arduino/avr, not /path-to-arduino/hardware/arduino

I have experimented with variations of the /d (directory) flag, as well as trying to copy several directory trees from one place to another,  The most recent produced the following error:
Traceback (most recent call last):
File "/home/pi/.local/bin/ino", line 6, in
main()
File "/home/pi/.local/lib/python2.7/site-packages/ino/runner.py", line 64, in main
e.process_args(args)
File "/home/pi/.local/lib/python2.7/site-packages/ino/environment.py", line 263, in process_args
all_models = self.board_models()
File "/home/pi/.local/lib/python2.7/site-packages/ino/environment.py", line 204, in board_models
subdict[key] = {}
TypeError: 'str' object does not support item assignment
I plan on taking a look to see if there's anything I can hack, but, if anybody else has the solution, please. This is not what I want to be doing. I hope the message above tweaks someone's memory to provide a timely fix. Thank you.

Without the flag mentioned above, the error message is as follows:
Searching for Board description file (boards.txt) ... FAILED
Board description file (boards.txt) not found. Searched in following places:

/usr/local/share/arduino/hardware/arduino
/usr/share/arduino/hardware/arduino

This is why I suspect the runner.py module.


I edited a mod but now don't work

Describe your bug here.
I edited some files of the Sky mod but now doesn't work and the background keep flashing

 I don't know if it's Lua or source but I saw some Lua files so I guess it's lua
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
I edited the Dialogues and some pics

Also the Character editor or the chart editor doesn't work and the game is frozen (Except for the background), I can't open the Pause menu  I only can close the game.

You can't edit files of an existing mod without damaging the property. Instead, you would have to port the files one by one and port your own characters. If chart editor crashes, the Test.json file is missing and need to run that file in order to access the song properly. Could also be you either edited some or remove the characters json files and will not load properly. Can also be because the code doesn't match the png or xml data, which would explain why the character freezes and doesn't move at all. Let me know if any of this fixes any of the problems.

You can't edit files of an existing mod without damaging the property. Instead, you would have to port the files one by one and port your own characters. If chart editor crashes, the Test.json file is missing and need to run that file in order to access the song properly. Could also be you either edited some or remove the characters json files and will not load properly. Can also be because the code doesn't match the png or xml data, which would explain why the character freezes and doesn't move at all. Let me know if any of this fixes any of the problems.
Basically, be careful of the files you edit or remove in the game or mod you are editing.

I also edited the Boyfriend Pics and run normal

Editing that file is risky and could be the reason why the game is bugging out. You will have to create the character yourself and make a separate json file for the character.

I will send you a video file of a normal level and Character editor by Drive.

Okay. Let me know what you have it.

Here's the Character editor one
https://drive.google.com/file/d/1i67yE-9RtLQdgwlZwQHWBD2BczbfUGHG/view?usp=drivesdk

I didn't did Pre-attack,Attack, Dodge or hurt cuz they don't appear in the game and I didn't want to lose time

The character editor looks okay to me? is there something I'm missing?

Heres the normal level
https://drive.google.com/file/d/1i6ikARbfz4Z5Il1Rpp_mkkVCa8skj1z5/view?usp=drivesdk

Really don't see anything out of the ordinary. I am not sure if I have the right information yet. Anything else I can look into?

When I play the Mod song in FreePlay It plays

But no dialogue

From what I could tell, everything seems to run fine. You have said something about dialogue. I don't think there is supposed to be dialogue in the song you are playing.

Explain the Second Pic, Where is a Json File dialogue

Here's a picture of BF Icon in "Dead status"

Here's a pic of BF Icon "Dead status"

Dialogue will not play in Freeplay unless you have a special code. Don't know what though. The dead status image looks fine from here.

I think I found the problem here on Dialogue editor...

Here

The problem is on the wife-forever song

Ok I fixed now let's check

Sorry if I didn't answer for a while, but lets see if it is fixed now.

Bruh I'm dumb I fixed it but I didn't save it

See it by yourself ;)
https://drive.google.com/file/d/1iCeBHDnJXnxlzhiqZcQOOaUzJjkmSvMl/view?usp=drivesdk

Nice to hear the solution was found.


Backport #1091 to release-0.5 branch

Description of your changes
This PR backports the commits from #1091 into the release-0.5 branch.  Note that commit https://github.com/crossplaneio/crossplane/pull/1091/commits/0c922ed1d4c9f9e03c17416c9042bd548af23b59 is not included because it only touched the design doc that doesn't exist in the release-0.5 branch.
Checklist

I have:

[x] Run make reviewable to ensure this PR is ready for review.
[x] Ensured this PR contains a neat, self documenting set of commits.
[x] Updated any relevant documentation and examples.
[x] Reported all new error conditions into the log or as an event, as
appropriate.

For more about what we believe makes a pull request complete, see our
definition of done.

Thanks @hasheddan.  I'll run the patch release during work day hours on Thurs.


add user id parameter to createPlaylist method

Add the user_id parameter to the createPlaylist method like mentioned in the API docs https://developer.spotify.com/documentation/web-api/reference/create-playlist

Thanks again for contributing! 🎉
There seems to be some unrelated failing tests, I'll get this merged anyway and tag a new release.


Update PublicClientApplication.xml

small typos

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

xml/Microsoft.Identity.Client/PublicClientApplication.xml
:white_check_mark:Succeeded

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

Sorry for the late merge on this, @HiltonGiesenow.  This slipped off my radar.  Reviewing now.


Mark two test binaries as testonly

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

[microbenchmarks] No significant performance differences

tools/run_tests/sanity/check_clang_tidy.sh  is failing on this but that failure doesn't seem to be related to this PR

test failures: https://github.com/grpc/grpc/issues/13427 (https://sponge.corp.google.com/invocation?id=3f4a0afa-69dc-4de2-adb4-b70f2e38039c&searchFor=)


Fix global var

Global var being identified as mem leak in upstream projects.

:+1:

Deployed in v2.1.29.


Contributed the Quicksort Code, ran, and tested it.

Forgive all the xml and workspace files, they should be harmless, they were for my IDE. But the changes made to the main3.py file should be go to go.

Hello
I am checking the PR.
Can you submit the PR based on the latest merge so there is no conflicting file.


merge from arlac77/template-arlac77-github,arlac77/template-esm-only

package.json

chore(deps): add ^7.2.0 remove ^7.1.2 (devDependencies.c8)

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Build system

Right now the build system is a bit of a mess.
Should be able to use: browserify to do stuff with npm and avoid bower.
should be able to migrate off grunt to say hakyll/shake to stay with haskell for build system.
Basically what I want to be able to do at this point is:

Require cabal for installing+building up all of the haskell dependency
Use npm to handle all of the js/node/etc deps (like libsass, etc...)

One of the main gotchas is probably going to be static deps like "libsass/sassc", so would be good if we can find a haskell wrapper (http://hackage.haskell.org/package/hsass)

Simplified the process, so far its now down to grunt for build step + npm for some of the package deps, and elm and haskell....
I suspect shake maybe a good next step to try to untify the build step, main issue will be libsass/sassc dep which we get via npm and grunt that uses it, maybe code up some sort of interop via the npm's sass lib.

I was able to exterminate the node/npm dependency.
Its now down to:

Haskell
Elm

And then I used alldice to listen to changes to the assets and trigger rebuild via FSNotify which seems to do the trick, its kinda over-specalized and it would be nice if we could get something more generic here instead of this pile of code for supporting that usecase.
But it works, and It also manages the elmReactor as well for elm interactive development so this suffices for now.  Will revisit this when we get closer to production-ready.  Might be able to get some inspiration from yesod on how to handle haskell rebuild/etc.


br: restore failed on TiDB Cloud

Bug Report

What version of TiKV are you using?
TiKV
Release Version:   8.5.0-alpha
Edition:           Community
Git Commit Hash:   0023967dcb8d0692132f0a0f17eff72e78a512a6
Git Commit Branch: heads/refs/tags/v8.5.0-prev-rt-tokio
UTC Build Time:    2024-11-21 03:24:53
Rust Version:      rustc 1.77.0-nightly (89e2160c4 2023-12-27)
Enable Features:   memory-engine pprof-fp jemalloc mem-profiling portable test-engine-kv-rocksdb test-engine-raft-raft-engine trace-async-tasks openssl-vendored
Profile:           dist_release

What operating system and CPU are you using?

TiDB Cloud
Steps to reproduce

create a v8.1.1 cluster with image of v8.5.0-prev-rt-tokio
start a manual backup job
restore cluster
cluster's status remains recovering
after set tikv's config [import] num-threads = 1000, cluster restore succeed

What did you expect?
Restore cluster success and cluster's status become available on TiDB Cloud.
What did happened?
The cluster's status remains recovering and hang for hours.

This issue has been verified fixed.


istio-iptables: Replace socket match with conntrack match

Some kernels, like COS on GKE, are configured without the 'xt_socket'
kernel module that implements the 'socket' match in iptables
rules. Replace the 'socket' match with a 'conntrack' state match that
diverts all established and related packets to the local stack.
Signed-off-by: Jarno Rajahalme<EMAIL_ADDRESS>

Hi @jrajahalme. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/ok-to-test

/cherrypick-release-1.5

/cherrypick release-1.5

@rlenglet: new pull request created: #281

In response to this:

/cherrypick release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


add font styling back to subheading

In this PR I deleted some code that I shouldn't have 👼
in this PR, we're adding it back again.

Closing because of wrong branch name..


Update files.js DOM text reinterpreted as HTML

By using innerText, it will avoid the risk of HTML injection, as these properties automatically escape any HTML special characters in the provided text. This helps prevent cross-site scripting (XSS) vulnerabilities by treating the input as plain text rather than interpreted HTML.

Hi @Snugug Could You Please Review This PR
Thanks


Test of the gate

What is this doing @sdake ? We don't really want to merge this do we?

no, this is a DNM.  Closing.  I was just testing the gate was functioning properly.


[UWP] NotificationManage.Cancel(int id) does not delete the notification

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[ ] iOS
[ ] Android
[ ] UWP
[ ] watchOS
[ ] tvOS
[ ] Tizen
[ ] .NET Standard

Feature Library

[ ] Core
[ ] BluetoothLE
[ ] Beacons
[ ] Locations
[ ] HTTP Transfers
[x] Notifications
[ ] Sensors

Version of Library
<IP_ADDRESS>3
Version of OS(s) listed above with issue
Win10 1809
Steps to Reproduce

create notification await _notifications.Send(new Notification{ Id = id, ... });
notification is shown

cancel notification await _notifications.Cancel(id)
.... nothing happens. it was not very effective!

Expected Behavior
notification should go away
Actual Behavior
notification stays and inbox is gradually flooding

I will try to put up a PR when I find the time. From looking through the implementation, it seems to be just not implemented.

UWP is still a bit of a second class citizen, but I am working to resolve this.  I can fix this one up pretty quick but it will have to be part of 1.2

Great to hear that! I can wait for 1.2.


✨[Feature Request]: Add google translate on every page of the website

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Add google translate on every page of the website
Use Case
it is important to have an inclusive website
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

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

Please assign this issue to me @varshith257

@samarsajad Maybe not a priority


dropdown list no results found

Laravel Version: 5.3
Voyager Version: 0.11.14
PHP Version: 5.6.4

Description:
No results found on dropdown list. here my code
help please
Steps To Reproduce:
public function t000tipbgiId()     {         return $this->belongsTo(T000tipbgi::class);     }
public function t000bgimg_pages()     {     	return $this->hasMany(T000bgimgPage::class);     }
{     "relationship": {         "key": "id",         "label": "nom_tip"     } }

Please upgrade to 1.0. The relationship builder works so much better.

changed { "Elegir": { "key": "id", "label": "nom_tip" } } to
{
"relationship": {
"key": "id",
"label": "nom_tip"
}
}
and works fine now 👍


Enhance string matching

The current method is a handmade algorithm which is not very efficient. A Levenshtein Distance based algo will be good to have.

Fun concept for a project. Just pulled and working on this now.


Added set_names to dask Index.

This PR is related to issue  #6315.
It aims to add set_names method to Dask Index.

[x] Tests added / passed
[x] Passes black dask / flake8 dask

Hmm I didn't appreciate that you were working via a Series / DataFrame rather than index directly.
In that case, I'd recommend implementing / using DataFrame.rename_axis. Would that suffice for your use case?

I have no specific use case, just tried to replicate what was described in the issue.
From @cgi1 comment, I suppose DataFrame.rename_axis should be enough.

The reason for me, why I actually need to rename the Indexes is, that otherwise the reset_index() fails, because there are two Indexes with the same name (to be merged back from the Index site to the non-Index site - And there can be only one column on the non-Index side per name).

Thanks. I think that rename_axis will fit better than adding a method to Index, but perhaps @cgi1 can chime in.

@matheper are you interested in working on this still? I think that rename_axis is the better option.


There is no API function to drop current connections after calling reconfigure alias API function

I think that absence of this feature is security bug of the OPNsense  firewall.
If I using API function to change firewall alias that rules access to my inside network I have to be sure that all current connections dropped after calling reconfigure function.
I proposed the solution here (https://github.com/opnsense/core/pull/4316)
After discussion my PR was closed with reason (https://github.com/opnsense/core/pull/4316#issuecomment-685851713)
Please vote for this feature by adding your comment here.
Hope that everybody can find my PR to correct the security bug if using API to reconfigure aliases.
I am using it in telegram bot to update host alias of remote access to my network in very fast way.

My two cents: you are asking for a feature. Claiming "security bug" is a bit of a stretch. Do you know of CVEs assigned to similar issues in other software? Can you give more insights on your thread model?

My two cents: you are asking for a feature. Claiming "security bug" is a bit of a stretch. Do you know of CVEs assigned to similar issues in other software? Can you give more insights on your thread model?

We have API to reconfigure firewall rules. But all existing connections will be continue to work. So if you have someone who are already in your system and you want quickly remove his connection - you can't.
Maybe claiming "security bug" is just to attract attention to the problem.
Now I can see KILL buttons on the states page. This may help.
But If someone find your admin password using the API calls can be the only way to help.


Incorporate updated suffix info

Include suffix info updated from https://github.com/SETI/pds-hst-pipeline/pull/26
Note:
In the SUFFIX_INFO dictionary, if the keyed suffix is the waivered version, the value will be a tuple (consistent to other keyed entries in the dictionary) like this: (False, ). This looks weird to me, should we just remove all the waivered version suffixes since they are not used at all in the pipeline?

The reason for including the waivered suffixes in the tuple is because we want to be alerted if they are present in the archive.  We understand that they will break the pipeline if they appear.  That's what we want, and if it happens, we'll make adjustments.


add: activate .venv

HT @pugio
Before running a command:

check if in an active venv, if yes run command as-is
check if there's a .venv nearby, activate it appropriately

Order of shells to support:

bash
fsh
powershell
cmd

Confirmed that adding a source .venv/bin/activate line before works.


Large magnitude values in explainmagnitude

I noticed such a case also 2 days ago:

"6" : "NN Host Version: 423, NeuralHash: d41d8cd98f00b204e9800998ecf8427e, SignatureCPID: fdb8dfc010b5e72295e4abf530876ed9, Time: 24/08/2017 02:08:20",
"7" : "Total RAC: 36646.67",
"8" : "Total Mag:<PHONE_NUMBER>6.19"

Such a high magnitude can never be possible:

why is it not thrown away or disregarded so values from a correct hash are shown instead ?

e.g. Gridcoin has a mag limit somewhere already applied: 20k mag for a single CPID

there should be a simple check, so such things don't interfere with the SB quorum period (e.g. a malicious person could try that?), or at least don't land in my Gridcoin client

The above SignatureCPID is from a user with name:

Mac

from fediverse:

"last superblock: #1001595, 23h 53 mins ago (2017-08-23 06:39:12)"

version: <IP_ADDRESS>, on linux

lines 2-5 from above pic, in formatted view:

the above SignatureCPID is from a user with name:

Mac

from fedi:

"last superblock: #1001590, 23h 53 mins ago (2017-08-23 06:39:12)"

I'm in a similar situation.Report follows
v<IP_ADDRESS> on linux
gridcoinresearchd execute explainmagnitude2 true
[
{
"Command" : "explainmagnitude2"
},
{
"1" : "CPID,Project,RAC,Project_Total_RAC,Project_Avg_RAC,Project Mag,Cumulative RAC,Cumulative Mag,Errors",
"18" : "NN Host Version: 424, NeuralHash: d41d8cd98f00b204e9800998ecf8427e, SignatureCPID: INVESTOR, Time: 12/16/2017 9:15:25 PM",
"19" : "Total RAC: 7290",
"20" : "Total Mag:<PHONE_NUMBER>.32"
}
]

the d41d hash means empty neural contract. so i'm not surprised that high total mag thou it should try to display any data if the neural hash is as such. might even possible the neural nodes could be sending a reply while in middle of a sync? more stuff to look at

Flash news: Do not trust the output of explainmagnitude.
The data it displays are obtained via unrevised protocol from arbitrary node around the network. The data is thankfully not used anywhere else. It was probably a debugging command left behind.


docstrings for user_lookup_ids and user_lookup_usernames

@yangkcatiu - Mind taking a gander at these before merging to master? I probably won't look at this stuff for the next couple of days and just wanted to highlight these minor changes before I checked out for a little bit.

All look good


Material form components dont fire change event on parent form/fieldset and ignore disabled fieldset

Reproduction
Use StackBlitz to reproduce issue:
https://stackblitz.com/edit/angular-ivy-tfqs8y
Steps to reproduce:

Change any  material fields.
Click auf DISABLE button to disable fieldsets.

Expected Behavior

Change event must be fiered and set new changed date.
On disable fieldset all nested controls must be disabled

Actual Behavior

Changed date has not changed.
Material nested controls are not disabled

Environment

Angular: 11.2.12
CDK/Material: 11.2.11
Browser(s): Chrome, Firefox, Edge
Operating System: Windows

This should be tracked by an issue in the angular framework repo: https://github.com/angular/angular/issues/35309

This should be tracked by an issue in the angular framework repo: angular/angular#35309

It is related with 1.Point to? Change event has not fired on parent form/fieldset (ngForm/ngModelGroup)


Update ODC

Tx-by-hash API endpoint changed the way Txs are encoded.

Related ODC issue https://github.com/mlabs-haskell/ogmios-datum-cache/issues/118
I could try to do it, but I haven't taken it before since I don't know how to decode a CBOR base64, that would slow me down a little.

@Luis-omega
We have Base64 module

I will try it then.