Update and rename docs/website/settings/remove-fencing.md to ドキュメント/ウ…

…ェブサイト/設定/remove-fencing.md

The content of this page is fine as-is
The names of the files should not be renamed


Chirag-Goyal.md

created

I’m not sure there is a point to this request.
I’m closing it but if you would like to view our open issues and reach out, we’d love to help you make a more relevant contribution.


announce date / release schedule

What is your timeline for release?  I would love to feature this on http://buildingwidgets.com/blog, but don't want to prematurely announce.

Dear @timelyportfolio
The hackathon is over, so I don't have any dedicated time to this - I spent a bit of Friday making sure that the package passed R CMD CHECK (which it does). There are a few things that need to be fixed, and a few improvements before I'd be happy with releasing.

The major bug right now is in selections (look at Sergei's standalone widget in inst/standalone); the main utility of the widget is the ability to tag nodes with labels, which are inserted into the Newick string. However, as some tags would break the Newick string, there is some validation code used. To try to understand (and hence later enhance) the code, I've worked through the event handlers, but there's a bug such that one can't add multiple tags or change the default 'Foreground' one.
The dashboard is a bit ugly; the widget is bundled with Bootstrap, so I just need to add in a grid component.
I added support for saving the (tagged) Newick tree to file, and an exit button (which I should make conditional on Shiny), which if run in a Shiny app, exits to the R console. It prints out the tagged tree (using Shiny.onInputChange), but I haven't worked out how to return as e.g. a Newick string that could be parsed back into ape.

There are some additional enhancements that I'd like to make, to improve support for large trees e.g. using something like Magnifier.js, and/or D3's fisheye/Cartesian distortion. These aren't essential, and someone may pick these up before I do if attention is drawn with a blog post.

PS. Oliver Ratmann @olli0601 was working on a feature to annotate the labels of the tree e.g. with sparklines, and given the presence of phylowidget.org, we probably need to change the name too.

Hi Simon - thanks.
I d be keen to continue working on the label annotation, but need help with D3 and phylotree.js. Happy to share the bits that I got working if there is interest:

cast data.frame with label annotation into D3 friendly format
annotate phylotree.js nodes with additional information

TODO:

plot the areas. Sparklines don t support an x arguments, so I was aiming to subclass the area function.

Ultimately, I was aiming to achieve this (which I have in R but becomes very quickly very cluttered because a lot of different information is available):

olli

Dear @olli0601 , please submit a pull request when you're ready! The more development, the better...


libexplain: init at 1.4

Description of changes
The library is used by a program my lab is working on, but there's a CLI utility useful by itself.
Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
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 191465 run on x86_64-linux 1

1 package built:

explain

We could start by packaging it as a program. If there's later on need for the library we could consider reworking it

I see multiple libraries accompanied by small utilities in nixpkgs with their lib* prefix.  I guess it's because foo.devmakes more sense thanlibfoo.bin`?  Thanks for the merge BTW.


When I send magic link to user from APi and they click it, I get: 401: invalid claim: missing sub claim

Bug report

[X] I confirm this is a bug with Supabase, not with my own application.
[X] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
I'm running a NextJS server to sell products. When my user buys a product with Stripe, I have a webhook which receives the payment info and client info (email + name).
I want to sign the user up and send them a magic link after they make a purchase. From what I can see, this has to happen from within my webhook code.
I'm doing:
  const supabase = new SupabaseClient(
    process.env.NEXT_PUBLIC_SUPABASE_URL,
    process.env.SUPABASE_SERVICE_ROLE_KEY
  );

        await supabase.auth.signInWithOtp({
          email,
          options: {
            shouldCreateUser: true,
            emailRedirectTo: redirectURL,
          },
        });

This works fine and the link successfully goes to the user's email. HOWEVER, when the user clicks the link, my callback handler does:
const requestUrl = new URL(request.url);
const code = requestUrl.searchParams.get("code");

there is NO code sent from Supabase, it's null. When I sign up a user from the client side of the website then the code works fine.
I also see this error in my supabase logs: {"component":"api","error":"401: invalid claim: missing sub claim","level":"info","method":"GET","msg":"401: invalid claim: missing sub claim","path":"/user","referer":"http://localhost:3000/","remote_addr":"XXX","time":"2024-01-12T00:54:59Z","timestamp":"2024-01-12T00:54:59Z"}

Solving this myself cos it's really hard to find documentation anywhere on this:
The issue is that when you sign someone up/in with passwordless, it creates a code-challenge on the browser they signed up from. This is matched to the code answer the magic link provides.
So it seems like you simply can't sign up a user from your server / API with a magic link and log them in on their own device.

Solving this myself cos it's really hard to find documentation anywhere on this:
The issue is that when you sign someone up/in with passwordless, it creates a code-challenge on the browser they signed up from. This is matched to the code answer the magic link provides.
So it seems like you simply can't sign up a user from your server / API with a magic link and log them in on their own device.

wait so this functionality is essentially broken?


[Content]:

What article on segment.com/docs is affected?
https://segment.com/docs/segment-app/iam/audit-trail/
What part(s) of the article would you like to see updated?
Add Business Tier tick at the top of the page similar to https://segment.com/docs/guides/regional-segment/
To show customers what tier's this feature is available to and keep our docs coherent across the board.
Additional information

@t2b2015 - this is an add-on for business tier customers, correct?


DESIGN: Create a figma design for the New Class Page (Mobile Screen)

I want to work on this

@Julius36 you can work on this


Sent participant information along with activity detail.

Description

Polished activity detail to return participant data along with their profile picture.
Remove obsolete get_participant view

Functional Acceptance Criteria (Not required for Documentation update)

Response from GET request to /activities/<activity_id>/ should contain activity data and list of participant data with their profile picture.
Web app should work well without old code.

Checklist (Not required for Documentation update)

[x] I have performed a self-review of my code.
[ ] I have added tests to cover my changes.
[ ] I have updated the documentation, if applicable.
[x] My code follows the Coding Guidelines.

Type of Change

[ ] Bug fix
[ ] New feature
[ ] Documentation update
[x] Other (API enhancement)

Calendar date picker still white and participant does not show up

Please Merge from the main, and resolve the conflict


.Net Framework only 4.5, 4.6 supported - not higher

Hi, it seems it would be prudent to note in the article that even the lastest Microsoft.ApplicationInsights package only supports up to .Net Framework 4.6, not higher - which is preventing me from using this. Wish I would have known this earlier in the process.
https://www.nuget.org/packages/Microsoft.ApplicationInsights

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

ID: 024d1cd8-91a6-4ddb-e02d-4065afbcdc36
Version Independent ID: ebbf9600-beb0-49fe-1e94-7b2242b1f2a8
Content: Azure Application Insights for Console Applications - Azure Monitor
Content Source: articles/azure-monitor/app/console.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

@yehoshuadimarsky Thank you for bringing this to our attention!  We will assign this to the document author so they can update the documentation accordingly.

There are no maximum version cap. Only min version limitation. Min supported is .NET Framework 4.5

Going to close this issue out since any version greater than or equal to is supported as indicated by Cijo and the nuget package page.

#please-close


build error

ERROR in ./node_modules/carbon-components-angular/checkbox/checkbox.component.ngfactory.js
Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: C:\Users\WEICHEN\bigdata\edpa-ui-admin\node_modules\carbon-components-angular\checkbox\checkbox.component.ngfactory.js is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please
open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv).
at AngularCompilerPlugin.getCompiledFile (C:\Users\WEICHEN\bigdata\edpa-ui-admin\node_modules@ngtools\webpack\src\angular_compiler_plugin.js:752:23)
at plugin.done.then (C:\Users\WEICHEN\bigdata\edpa-ui-admin\node_modules@ngtools\webpack\src\loader.js:41:31)
at process._tickCallback (internal/process/next_tick.js:68:7)
ERROR in ./node_modules/carbon-components-angular/toggle/toggle.component.ngfactory.js
Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: C:\Users\WEICHEN\bigdata\edpa-ui-admin\node_modules\carbon-components-angular\toggle\toggle.component.ngfactory.js is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please
open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv).
at AngularCompilerPlugin.getCompiledFile (C:\Users\WEICHEN\bigdata\edpa-ui-admin\node_modules@ngtools\webpack\src\angular_compiler_plugin.js:752:23)
at plugin.done.then (C:\Users\WEICHEN\bigdata\edpa-ui-admin\node_modules@ngtools\webpack\src\loader.js:41:31)
at process._tickCallback (internal/process/next_tick.js:68:7)

it's work fine when run command "npm run build" with  "carbon-components-angular": "^3.11.3",
after I upgrade carbon-components-angular in version 3.16.0 got error above.
check it please

What version of Angular is this with? What happens when you update to our latest release (3.22.0)?

@cal-smith I am also experiencing the same error.
Package versions:
carbon-components-angular: 3.23.1
angular: 8.2.9
typescript: 3.5.3
npm: 6.12.1
node: 10.17.0
Error:

Additionally, this was not happening for us on carbon-components-angular: 3.15.2, which is the version we have live in master. The rest of the above included versions are the same.

@superchenwei @jesatrix do either of you have a minimal reproduction you can share? Just a simple Angular CLI app that exhibits the problem would be amazing.

ng build --prod present errors using angular version 7.2.6 too.

The issue comes since version 3.21.0 of carbon angular components

Hey all! After some investigation it seems like deep imports to modules are part of the issue (i.e. import { FooModule } from 'carbon-components-angular/foo/foo.module';). Deep imports for types are fine. It’s still not super clear to me why this is happening, but it should be possible to get your apps building with 3.24.0 or higher by removing deep module imports

This should be resolved with<EMAIL_ADDRESS>and<EMAIL_ADDRESS>


[PE-D][Tester B] Deleting student does not delete the note

When deleting a student, the associated appointments do get deleted along with the student and the appointments list is updated. However, the note will still remain even after the student is deleted.

Labels: severity.Low type.FeatureFlaw
original: jellywaiyan/ped#7

Clear the notes after every command.


[Bug]: sd-card-formatter not installing

Prerequisites

[X] I have written a descriptive issue title.
[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
[X] I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name
sd-card-formatter
Expected/Current Behaviour
Should install. isn't.
Updating 'sd-card-formatter' (5.0.2 -> 5.0.3)
Downloading new version
OperationStopped: C:\Users\jeffm\scoop\apps\scoop\current\lib\install.ps1:115
Line |
 115 |          throw $e
     |          ~~~~~~~~
     | The remote server returned an error: (404) Not Found.

manifest shows:
"url": "https://www.sdcard.org/downloads/formatter/eula_windows/SDCardFormatterv5_WinEN.zip"
but it appears url is:
https://www.sdcard.org/downloads/formatter/eula_windows/SD%20Card%20Formatter%20Setup.exe
Steps to Reproduce
> scoop install extras/sd-card-formatter
Installing 'sd-card-formatter' (5.0.3) [64bit] from 'extras' bucket
The remote server returned an error: (404) Not Found.
URL https://www.sdcard.org/downloads/formatter/eula_windows/SDCardFormatterv5_WinEN.zip is not valid

Possible Solution
update url
Scoop and Buckets Version
859d1db5 chore(release): Bump to version 0.5.2 (#6080)
f544e72fe vncviewer: Update to version 7.13.1
347fc2c7b yt-dlp-master: Update to version 2<IP_ADDRESS>209
b38031d updated manifests
6b2b695 sysmon: Update to version 15.15
8356f074 temurin11-nightly-jre: Update to version 11.0.26-3.0.ea
0c6525f6e terraform-ls: Update to version 0.36.2
ea1cb7c usb-device-tree-viewer: 4.4.4

Scoop Config
last_update                     : 12/12/2024 10:35:44 AM
alias                           : @{list-full=scoop-list-full}
aria2-enabled                   : True
aria2-warning-enabled           : False
show_update_log                 : False
scoop_repo                      : https://github.com/ScoopInstaller/Scoop
scoop_branch                    : master
use_sqlite_cache                : True
aria2-max-connection-per-server : 4
cat_style                       : grid

PowerShell Version
Name                           Value
----                           -----
PSVersion                      7.4.6
PSEdition                      Core
GitCommitId                    7.4.6
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Additional Softwares
No response

The've reverted this change, so this issue can be closed.

Fixed in https://github.com/ScoopInstaller/Extras/pull/14564


Added managementapp-add. Solves #2917

Added managementapp-add. Solves #2917

Okey implemented the the GraphTypes; just curious; as we use the getAppObjectId in app the m365 aad app commands; should we have an abstracted AppCommand class so we can have 1 implementation instead of the multitude we have now (used in app-get, app-role-add, app-role-delete, app-role-list and app-set commands (as well as this one but this might be a bit of an odd duck as this in the future should inherit from whatever we decide in #2961

The more commands we add across M365, the clearer it becomes that methods like getAppObjectId are not specific to just one service. As such, we should revise our approach with implementing helper classes in base command classes and perhaps consider refactoring Utils to a set of logically grouped methods that can be used from anywhere in the CLI rather than just specific base classes. Let's discuss this in a separate issue.

I'll create an issue for it next week.

Will have a look later; I reverted the changes after rebasing but it still shows as changes (while manual compare shows that the marked changes are currently present in the main branch)..

@waldekmastykarz sorry made a click error in the UI and it closed out my PR 🤭 created a new one.


[Experimental] Compiler: try to solve string interpolation exps at compile time

Implements #12521
The idea here is very simple. If we have a code like this:
OBJ = "world"

"hello #{OBJ}"

when we analyze the string interpolation we try to see if we can solve each interpolated content into a string literal that's known at compile time.
In the above case OBJ's value is a string literal. In the end, the entire interpolation consists of static content, or interpolated string literals, which are also static content. If everything's a static content, we replace the interpolation with a string literal. Super efficient!
This also works if the constant's object isn't directly a string literal but it expands to a string literal. For example:
OBJ = {% if env?("FOO") %} "one" {% else %} "two" {% end %}

"hello #{OBJ}"

In the above case OBJ is a MacroIf that, at compile-time, expands to either "one" or "two" depending on the value of an env var. This PR accounts for that scenario (and for other scenarios where a node might expand to some other value.)
We could extend this logic to other nodes. For example:
N = 10

"n = #{N}"

In the above case we could replace the string interpolation with "n = 10". Same for other literals like char and symbol. But for now I decided to keep things simple and only expand string literals.

@mattrberry Yeah, I suppose you could override String#to_s and let it do weird stuff. But that's definitely not intended usage. And the compiler already makes assumptions about String#to_s and String#+ with the existing normalization of string literals. So changing those methods would already have unfavourable effects.

The compiler also makes assumptions about number math, like it will solve some constants and it won't work "well" if you change how math works. But my guess is that if you change String#to_s or how math works, nothing works at all 😅


Update README.md with correct cd command

nitpick: incorrect and / or misleading cd command
explanation: The slash / at the beginning of the path points to the root of the filesystem, so cd /notion-sdk-js tries to change to a directory that is directly under the root directory. That is not where the cloned repo would be based on the first git clone command
reason for change: could confuse some beginners 🤷♀

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


Feature/firmware nonin refactor

Draft (first pass)

Partial review of the existing Nonin OEM III code:

Types.h:

Should we move enum class statuses for Receiver classes specific to those classes (e.g. "FrameInputStatus") into those classes (e.g. "FrameReceiver::InputStatus")?
enum class PacketStatus:

What does "not_available" mean? Presumably any value other than "available" should imply "not available".
What's the difference between "framing_error" and "missed_data"?

enum class SignalAmplitude:

Should this be renamed to SignalQuality?

struct StatusByteStruct:

Should this be renamed to FrameStatus or even just Status?

using StatusByteError:

Should this be renamed to FrameStatuses or even just Statuses?
Is this just dead code?

using Pleth:

Should this be renamed to PlethPulseAmplitudes?

struct PacketMeasurements:

Should this be renamed to Sample?
Should the fields in here be reordered to match the order of items on page 8 of the datasheet? (e.g. hr_d should be after spo2)
Should "heart_rate" in the field names be renamed to "hr" for consistency with the datasheet's names?
uint8_t spo2_d_beat:

Should this be renamed to spo2_b_b for consistency with the datasheet's name?

uint8_t nonin_oem_revision:

Should this be renamed to firmware_revision to match the description in the datasheet?
Should our Sensor class check that this value should be within some allowed range?

The datasheet says that spo2 = 127 and hr = 511 as sentinel values when those quantities cannot be computed. How are we reporting missing data here? Should we add bool fields has_spo2 and has_hr, or is that already reported in some other way?
std::array<bool, packet_size> ...:

Should we make a using Flags = std::array<bool, packet_size> and then just use that for all these declarations?

static const uint8_t mask_*:

Since these are single-byte masks, we should use binary notation (and we can use the digit grouping symbol ' for readability)

FrameBuffer.h

Frame frame_buffer_:

The doxygen comment for the output method has an unclear description which doesn't describe what it actually does
Should this be renamed to frame_?

uint8_t received_length:

This should be a size_t since it's used for array indexing (and then we can remove a static_cast in the cpp file)

FrameBuffer.cpp

There are too many useless comments (e.g. /* Increment the frame buffer index */), it adds too much noise to code comments.
received_length_++:

In general we should use the prefix ++ and -- rather than the postfix ++ and --: e.g. ++received_length_

BufferStatus input(), BufferStatus output():

The way these methods use BufferStatus::partial abuses the semantics for BufferStatus, where partial means "only a partial buffer operation was possible" - this is a safety problem. FrameBuffer should instead have something more like ok and waiting, and maybe empty and fullif needed, or else we should redesign the interface and separation of responsibilities betweenFrameBufferandBufferReceiverto remove the need for apartialorwaitingstatus code fromFrameBuffer. Or we could just have okandwaiting, and also input_overwrittenlike inChunkSplitter`.

shift_left:

We should instead do if (received_length_ == 0) return;

This project is licensed under Apache License v2.0 for any software, and Solderpad Hardware License v2.1 for any hardware - do you agree that your contributions to this project will be under these licenses, too? Yes.
Were any of these contributions also part of work you did for an employer or a client? No.
Does this work include, or is it based on, any third-party work which you did not create? No.


Add MYSQL metadata extractor

Summary of Changes
Create a MYSQL metadata extractor.
Tests
What tests did you add or modify and why? If no tests were added or modified, explain why. Remove this line
Documentation
What documentation did you add or modify and why? Add any relevant links then remove this line
CheckList
Make sure you have checked all steps below to ensure a timely review.

[ ] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[ ] PR includes a summary of changes.
[ ] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

[ ] PR passes make test

Codecov Report

Merging #247 into master will decrease coverage by 1.42%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #247      +/-   ##
==========================================
- Coverage   76.23%   74.81%   -1.43%
==========================================
  Files          95       96       +1
  Lines        3956     4018      +62
  Branches      363      352      -11
==========================================
- Hits         3016     3006      -10
- Misses        844      909      +65
- Partials       96      103       +7

Impacted Files
Coverage Δ

databuilder/extractor/mysql_metadata_extractor.py
0.00% <0.00%> (ø)

databuilder/loader/file_system_neo4j_csv_loader.py
84.33% <0.00%> (-4.82%)
:arrow_down:

...ilder/transformer/regex_str_replace_transformer.py
91.66% <0.00%> (-4.17%)
:arrow_down:

...abuilder/extractor/snowflake_metadata_extractor.py
93.44% <0.00%> (-1.64%)
:arrow_down:

...tabuilder/extractor/postgres_metadata_extractor.py
93.54% <0.00%> (-1.62%)
:arrow_down:

databuilder/publisher/neo4j_csv_publisher.py
84.15% <0.00%> (-1.00%)
:arrow_down:

databuilder/task/neo4j_staleness_removal_task.py
83.62% <0.00%> (-0.87%)
:arrow_down:

Continue to review full report at Codecov.

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


Segment Identification

Hello,
First of all, thanks for this awesome open source.
My m3u8 file url and all segments links are different for each user.
I believe peer system is identify which peer connect to which by segment or m3u8 links. But its not able to do it correctly because all users got a different m3u8 and segment links.
Is there any way to make a manuel match?
Something like this;
fileLinkReplace: function (url) {
   url = remove_unique_parts(url);
   return url;
}

segmentIdReplace: function (level, sn, url) {
   url = remove_unique_parts(url);
   return url;
}

from

https://example.com/hls/baxppq2zn5ts5n2gmlloot52i6lyz5rcvhjiszq4vsemf5jdqxwulk7bcxha/seg-27-v1-a1.ts

to

https://example.com/hls/videoid352352/seg-27-v1-a1.ts

Hi,
By analyzing P2P Media Loader use cases we see that this is one of the features that is most required. And I think we will implement it next week.
You will be able to specify stream ID like:
var engine = new p2pml.hlsjs.Engine({
  loader: {
    streamId: 'https://example.com/hls/videoid352352'
  }
});

By default, stream ID will be equal to stream manifest URL without query string as it works now. But you can change it to any other string using this parameter.
It should allow sharing of the same streams that are:

hosted under different protocols (i.e. HTTP, HTTPS):
http://sample.com/stream.m3u8
https://sample.com/stream.m3u8

under different domains:
http://us.sample.com/stream.m3u8
http://eu.sample.com/stream.m3u8
http://jp.sample.com/stream.m3u8

under different URLs:
https://sample.com/stream-secret-key1.m3u8
https://sample.com/stream-secret-key2.m3u8

TS segments URLs do not matter if you have #EXT-X-MEDIA-SEQUENCE tag in your manifest.

Its awesome to hear this! Thank you very much. Looking forward to it.

Hey, any news with this feature?

Good news! I am working on it now :-)

Implemented in version 0.2.0 like:
var engine = new p2pml.hlsjs.Engine({
  segments: {
    swarmId: 'custom swarm ID'
  }
});

Also you can use 'swarm' query URL parameter in the demo like:
https://novage.com.ua/p2p-media-loader/demo.html?url=https%3A%2F%2Fwowza.peer5.com%2Flive%2Fsmil%3Abbb_abr.smil%2Fplaylist.m3u8&type=clappr&swarm=test_swarm
But please note, the parameter is not applied if you press 'Apply' or 'Create new peer' button.

Thank you very much! It's working like a charm.

Also you can use 'swarm' query URL parameter in the demo like:
https://novage.com.ua/p2p-media-loader/demo.html?url=https%3A%2F%2Fwowza.peer5.com%2Flive%2Fsmil%3Abbb_abr.smil%2Fplaylist.m3u8&type=clappr&swarm=test_swarm
But please note, the parameter is not applied if you press 'Apply' or 'Create new peer' button.

Just for information to those reading this old thread, this hidden feature is not available in current demo (the swarm ID is automatically - and always - set to stream src URL with scheme without query string).


Deploy_ova hitting error at uploading vmdk file

Trying to use deploy_ova script, but hitting a road blocker at upload_disk method.
OVA file is proper as I'm able to manually deploy it on esx. Please help.
Error:
File "C:\Python27\lib\urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 500: Internal Server Error
esx hostd.log:
2017-08-09T11:50:56.998Z info hostd[FFFC2A70] [Originator@6876 sub=Httpnfcsvc] [HttpNfcServer] File: /ha-nfc/527b9342-9054-a468-0389-443496b724db/disk-0.vmdk
2017-08-09T11:50:56.998Z info hostd[793F3B70] [Originator@6876 sub=Httpnfcsvc] [DiskUploadWorker] POST request /ha-nfc/527b9342-9054-a468-0389-443496b724db/disk-0.vmdk
2017-08-09T11:50:57.011Z error hostd[793F3B70] [Originator@6876 sub=Httpnfcsvc] [DiskUploadWorker] Stream reader initialization failed: Not a supported disk format (invalid sparse VMDK header).
2017-08-09T11:50:57.290Z info hostd[79580B70] [Originator@6876 sub=Hostsvc.DatastoreSystem] RefreshVdiskDatastores: Done refreshing datastores.

It seems like it will get this error if the header doesn't start with what it expects ('KDMV', backwards of VMDK).
It is possible that the script, or tarfile python module is not behaving well on windows (I only tested on linux and macos).
I'll have to give that a try, but it might take me some time to get such an environment set up.

I may be wrong, but if i deploy the ova manually on esx it works, is it possible that reading of header could be hit even when installing manully?
Is there a workaround? Or possibly a way of confirming that header is causing this issue?

Since you can deploy manually, I am assuming it is either a problem with the deploy_ova.py script or the tarfile module it also relies on.
The only workaround that comes to mind to try is extracting the ova, and using deploy_ovf.py script to deploy (assuming that one works).
ova is basically a tar file, so any program that can extract tar (7z, winrar, winzip...) could extract an ova (you may have to rename it for that to work).

Extracted the ova file and it had three files *.mf, *.ovf and *.vmdk.gz.
Is there a possibility *.vmdk.gz could have resulted in error. Because it was searching for *.vmdk, while the file was as *.vmdk.gz.
I will quickly give a trying using deploy_ovf script and get back to you on this.

I had to extract *.vmdk file from *.vmdk.gz. Then only deploy_ovf script worked with little changes w.r.t curl and it was deployed successfully.
Deploy_ova script  resulted in error because ova file had *.vmdk.gz instead of *.vmdk - Could this be a case?

Thank you @prziborowski  for directing me to use deploy_ovf script. Based on deploy_ovf script output, I'm suspecting the issue is because of .vmdk.gz file. I have passed the extracted file (.ovf and *.vmdk.gz) to deploy_ovf script and it resulted in same error as reported in deploy_ova script. See execution details below
Please help/guide me in moving ahead with deploy_ova script by overcoming *.vmdk.gz file?
Execution logs:
$ python deploy_ovf.py -s <IP_ADDRESS> -u root -p ***** -v "C:\Users\admin\ovafile\Appliance-x86_64-20170802-39-disk1.vmdk.gz" -f "C:\Users\admin\ovafile\Appliance-x86_64-20170802-39.ovf"
-----------URL1---------------
https://<IP_ADDRESS>/ha-nfc/52048c52-5c49-1b8d-5ee5-921c5e74efa1/disk-0.vmdk
---------------------URL2-----------http://<IP_ADDRESS>/ha-nfc/52048c52-5c49-1b8d-5ee5-921c5e74efa1/disk-0.vmdk
Not a supported disk format (invalid sparse VMDK header)
Esx logs:
2017-08-09T16:53:06.256Z info hostd[7ACC1B70] [Originator@6876 sub=Httpnfcsvc] [DiskUploadWorker] POST request /ha-nfc/52048c52-5c49-1b8d-5ee5-921c5e74efa1/disk-0.vmdk
2017-08-09T16:53:06.276Z error hostd[7ACC1B70] [Originator@6876 sub=Httpnfcsvc] [DiskUploadWorker] Stream reader initialization failed: Not a supported disk format (invalid sparse VMDK header).

Thank you for that information. I was not aware that the vmdk file could be compressed as a gzip file.
deploy_ova.py is going to send it over as-is, and likely other clients are extracting the contents and sending that over the wire. That is my guess.

Thanks a lot for your quick responses. Finally i was able to pinpoint on the issue. Its is because of compressed *.vmdk file.
We have used the ovftool to create ova file., in which we provide an option to compress. Compression is required, if compression is not used then ova file will be too large.
cmd: ovftool --compress=9 -tt=OVA $vmxFile $ovfname.ova
With compression option in place. Is there a way to handle this kind of ova file which includes *.vmdk.gz, ovf file?


move get-help to footer

please move the get help section to the footer

@MartinBoleSlo in the ELN article, the Get Help section is still within the Resources section. I remember that you said you would look into this, but I cannot find whether it should be resolved or not.


CI: update test coverage library go-acc

Change Description
This change updates the test coverage tool go-acc to its latest release version.
Steps to Test
Steps for reviewers to follow to test the change.
Pull Request Checklist
Testing

[ ] Your PR passes all CI checks.
[ ] Tests covering the positive and negative (error paths) are included.
[ ] Bug fixes contain tests triggering the bug to prevent regressions.

Code Style and Documentation

[ ] The change obeys the Code Documentation and Commenting guidelines, and lines wrap at 80.
[ ] Commits follow the Ideal Git Commit Structure.
[ ] Any new logging statements use an appropriate subsystem and logging level.
[ ]  There is a change description in the release notes, or [skip ci] in the commit message for small changes.

📝 Please see our  Contribution Guidelines for further guidance.

@yyforyongyu thanks for taking a look! Am I ok to merge like this or do I need another review?

@ffranr yeah we need at least two ACKs to merge.


bytebuffer.js in Android WebView throws TypeError

Hi,
I'm using the browser flavor of bytebuffer.js (the one based on ArrayBuffers) in an app built on top of Apache Cordova (irrelevant, I believe), which uses Android WebView - basically a Chromium-based embedded browser.
I'm getting a TypeError: Cannot read property 'length' of null in:
var b = new ByteBuffer(0, ByteBuffer.LITTLE_ENDIAN);
b.ensureCapacity(100); // this throws

My WebView does have support for ArrayBuffers and Uint8Arrays. Are there any other requirements? Any ideas?

I'm using:

bytebuffer 5.0.1 (bytebuffer.js or bytebuffer.min.js as described by https://github.com/dcodeIO/bytebuffer.js/blob/master/dist/README.md)
Android 5.1.1, Android System WebView 54.0.x

If I try with bytebuffer-dataview.js, all is fine. The point is that I have limited CPU/RAM resources and tons of binary data to process, so I'm looking into ways how to shave off some seconds in the processing.
/Pawel

When using https://github.com/dcodeIO/bytebuffer.js/blob/master/dist/bytebuffer.js , do you have a line reference for me? There are a couple of accesses to length.

Yep.
ByteBufferPrototype.resize	@	bytebuffer.js:2848
ByteBufferPrototype.ensureCapacity	@	bytebuffer.js:2609

Hmm, no access to a length property there.

I just figured out that if I hack around dist/bytebuffer.js:77 and :2507 and let this.view = new Uint8Array(this.buffer); then it works fine for me (see the dirty https://github.com/pawelrychlik/bytebuffer.js/commit/262ee4c17e063a8fc155bb82878943bae87b1af8 and don't pay attention to line endings). Now I guess I need to find my way through MetaScript to fix this properly.


react 0.14

Still need to remove warnings in console

https://github.com/choonkending/react-webpack-node/issues/82


Allow to disable docker provider health filter

I am using traefik with the docker provider. Some of my docker containers define a health check like
HEALTHCHECK --start-period=15s --interval=5s --timeout=10s --retries=12 \
  CMD wget --quiet --tries=1 --spider http://localhost:8080/health || exit 1

This leads to traefik not picking up this container:
reverse-proxy_1 | time="2019-10-16T12:45:49Z" level=debug msg="Filtering unhealthy or starting container"

It would be great to be able to disable the health filter with a CLI configuration
--providers.docker.enableservicehealthfilter=false.

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.


Earned rewards screen Not available or 0.00 HNT on Wallet

Hi guys, I just set up my Rak miner, I have the latest software 3.3.1, Android Samsung S9.
I'm currently earning hnt and says so on the First tab, but Earnings tab says 0, and today the Earnings tab vanish completely.
Please let me know how to correct.
THANKS!
FYI, ALSO sent this through the<EMAIL_ADDRESS>

Thanks for this report here, @robotron3k. We'll close the support email ticket since that's only for hardware support for original Helium Hotsots.

hi @robotron3k are you the owner of the RAK Hotspot(i.e. purchased directly from calchip), or did you receive it from Emrit?

hi @robotron3k are you the owner of the RAK Hotspot(i.e. purchased directly from calchip), or did you receive it from Emrit?

Hi Cokes518, I received the RAK from Emirit directly. what do you recommend?

Thanks for this report here, @robotron3k. We'll close the support email ticket since that's only for hardware support for original Helium Hotsots.

Hello abhay, thanks for the reply. I understand. Do you have any recommendations for me for the Rak from Emirit?

Hello abhay, thanks for the reply. I understand. Do you have any recommendations for me for the Rak from Emirit?

You'll have to talk to Emrit directly for support.


Avoid test to break if no image processing extensions are installed

Issue
Currently tests run can cause fatal errors in a case if they're running on PHP with no image processing extensions (GD, Imagick).
Solution
This pull request marks affected tests as skipped in a case if no such extensions are loaded.
Impact
Raise of chance on success tests run in more environments.

Coverage remained the same at 88.264% when pulling e19c8ecca923502c5c29f2e408170edca4c5905e on FlyingDR:avoid-tests-break-without-gd into ed2655bd0a4e0fced8f0e97d60e4215693b338dd on timber:master.

Thank you very much @FlyingDR!


Do not override base user agent

See https://github.com/aetrion/dnsimple-go#26

/cc @jacegu for review

:shipit:


Add remote write tests with zinc through grafana_agent

Issue
Remote write with grafana agent already has a test, but it also spends a lot of its time deleting/adding pods to check for data persistence. Cross-model relations also have a test, but it doesn't really exercise client applications.
Solution
Add two new tests (and remove the existing cross-model test, since this is a superset) which test prometheus <-> grafana-agent <-> zinc both in the same model and as a cross-model relation.
Context
zinc-k8s is published on charmhub, but the published version is only in stable and doesn't actually contain the needed relation endpoints.
It was brought more or less up-to-date for operator day and never published. Fetch it as part of the tests in tox and build it when the tests are run.
Testing Instructions
Run the integration tests
Release Notes
Add remote write tests with zinc through grafana_agent

I can probably publish a later version of Zinc - just need to check it's state with @simskij

@rbarry82 I've updated the zinc-k8s charm on the edge channel so it now supports the relations, so you should be able to simplify these tests a little :)


Store embeddings statefully in ComplEx and DistMult models

Our models are meant to be stateful collections of layers, meaning each build call should give input/output tensors using the same underlying trainable weights. For the knowledge graph models ComplEx and DistMult, this means storing the node and edge-type embeddings in the model itself.
See: #1088

Switched these to be private, per https://github.com/stellargraph/stellargraph/pull/1102#discussion_r394670416 .


add subsection about http retries to the dependency management section

Context
Adds a subsection under How dependency resolution works to cover the changes from https://github.com/gradle/gradle/issues/4629

@jlstrater should this go in release?

Oh very good catch @eriwen !

🤦♀


[Card] CardContent padding doesn't use spacing

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
CardContentRoot defines padding—and padding-bottom for the last child—with hardcoded values, without using the spacing from the theme.
See https://github.com/mui/material-ui/blob/585c4a3850936d7ddcd60ed4ad063996415e0f3a/packages/mui-material/src/CardContent/CardContent.js#L25-L27.
Expected behavior 🤔
CardContentRoot defines padding—and padding-bottom for the last child—without hardcoded values, using the spacing from the theme.
Steps to reproduce 🕹
See https://github.com/mui/material-ui/blob/585c4a3850936d7ddcd60ed4ad063996415e0f3a/packages/mui-material/src/CardContent/CardContent.js#L25-L27.
Context 🔦
While using MUI, I was expecting that all paddings and margins set in the different components would respect the spacing set within the theme.
Your environment 🌎
I'm using Chrome and Safari.

`npx @mui/envinfo`
System:
    OS: macOS 11.6.4
  Binaries:
    Node: 14.17.3 - ~/.nvm/versions/node/v14.17.3/bin/node
    Yarn: 1.22.11 - ~/.nvm/versions/node/v14.17.3/bin/yarn
    npm: 6.14.13 - ~/.nvm/versions/node/v14.17.3/bin/npm
  Browsers:
    Chrome: 100.0.4896.75
    Edge: Not Found
    Firefox: 67.0.2
    Safari: 15.1
  npmPackages:
    @emotion/react: ^11.7.1 => 11.7.1
    @emotion/styled: ^11.6.0 => 11.6.0
    @mui/base:  5.0.0-alpha.68
    @mui/icons-material: ^5.4.4 => 5.4.4
    @mui/material: ^5.4.1 => 5.4.1
    @mui/private-theming:  5.4.1
    @mui/styled-engine:  5.4.1
    @mui/system:  5.4.1
    @mui/types:  7.1.1
    @mui/utils:  5.4.1
    @types/react: ^17.0.24 => 17.0.39
    react: ^17.0.2 => 17.0.2
    react-dom: ^17.0.2 => 17.0.2
    typescript: ^4.1.2 => 4.5.5

Hey @dani-mp, thanks for the headsup! That makes total sense. Do you want to open a PR for it?!

Hey @dani-mp, thanks for the headsup! That makes total sense. Do you want to open a PR for it?!

Sure, let me try!

@danilo-leal actually, looking for 4, 8, 16, 24, 32... in the code there are a lot of hardcoded values, I wonder if we should fix them all.

cc @siriwatknp to weigh in — thoughts?!

Let's create a PR per component, it is easier to review and back tracking in case there are regressions.

Sounds like a good approach, and it will be a breaking change for sure, so doing it for v6 seems like the right thing to do. On the other hand, I'm surprised this hasn't been taken into account before as it is quite important for a design system. Maybe people also expect like me that paddings & margins would respect their spacing, and in that case, we would be fixing their apps. But I think that's for them to decide.
To start creating PRs, does it change anything on my side if the improvements will be released in the next minor or the next major?


Deepcopy of the module

For now, add the following
import Base.deepcopy_internal
deepcopy_internal(x::Module,stackdict::IdDict) = x

Note that this basically makes Module's shallow copy.  i.e., treats them as references.  This is very unlikely to cause issues globally since right now it errors.
I tried to see if tehre was a way to "stop" the recursiion to copy a weak reference but it doesn't seem immediately possible.  Later we can revisit this hack.

This is triggering a compilation warning, so we should revsit at some point:
[ Info: Precompiling DifferentiableStateSpaceModels [beacd9db-9e5e-4956-9b09-459a4b2028df]
WARNING: Method definition deepcopy_internal(Module, Base.IdDict{K, V} where V where K) in module Base at deepcopy.jl:33 overwritten in module DifferentiableStateSpaceModels at c:\Users\jesse\Documents\GitHub\DifferentiableStateSpaceModels.jl\src\types.jl:2.
  ** incremental compilation may be fatally broken for this module **

Yeah, essentially we overrode that line in deepcopy.jl

Def. low priority for now, or at least it seems that way. One performance hit we could be exposing ourself to is that we're overwriting a fairly core Julia function, which could trigger a bunch of recompilations. Either way, the hit we're taking is at JIT spinup time and not runtime, so I'm not terribly worried for now.

Exactly.  Yeah, this was intended as a hack to get us through, and we would need to revsit.  What I didn't realize was that it was overwriting anything - rather than just adding in something that didn't already exist.  But I don't think it will cause any immediate issues with the runtime.
The other things I tried (e.g. storing a Ref{Module} had the same problems since it didn't seem like there was any other convenient way to stop the recusion without a custom type.
So the next stage in the hack is to add in a wrapper DontDeepCopyMe{Module} which stops the deepcopy recusiion at the custom type so then piracy is required.  But this whole thing was just temporary anyways, so we shall see.


Yeoman error

Hi and thanks for sharing this generator.
I got an issue when trying to generate my app:
AssertionError [ERR_ASSERTION]: Trying to copy from a source that does not exist: /Users/bianchimro/.nvm/versions/node/v10.12.0/lib/node_modules/generator-shopify-nextjs/generators/app/templates/.gitignore

I fixed it locally by manually creating the .gitignore file in my global node_modules.
I think it's an issue with npm packaging

Thank you for the bug report.  I had never installed this via npm until now, so I had no idea this was broken the whole time.  I was just using the locally npm linked version up until now where the .gitignore file does exist.
This yeoman behavior caught me by total surprise:  https://github.com/yeoman/generator/issues/812
A fixed version should be published very soon.

@beppu thanks for fixing it so quickly!


Issue found on page 'Full-Text Search Extension'

Page URL: https://duckdb.org/docs/extensions/full_text_search.html
Windows 10 Pro , Edge Version 124.0.2478.80 (Official build) (64-bit)
Entry table for PRAGMA create_fts_index is messed up.

@tandr-ssn, thanks, this is indeed off. A fix is on its way.


[（live．free！tv!™）]  Fiji vs Scotland Live Streams Free Autumn Internationals Rugby On Tv Channel 2 NOV 2024

Scotland begin their 2024 Autumn Nations Series campaign today against Fiji at Murrayfield.
Gregor Townsend’s side will hope to get off to a winning start in Edinburgh, with reigning rugby world champions South Africa the visitors next weekend before further clashes against Portugal and Australia in November.
It was a rather low-key summer for Scotland that followed their fourth-place finish in the latest Six Nations, when much-changed teams hammered Canada, the United States and Chile as they travelled to both North and South America.
Now they have to step it up against a Fiji side that are capable of beating anyone on their day, though were comfortably defeated by the All Blacks in the summer after battling to victory against Georgia.
Sione Tuipulotu has been named as Scotland’s new captain for this autumn series, while there are starts for the likes of Ali Price, Adam Hastings and Darcy Graham for a fixture that falls outside of the usual international Test window - meaning the hosts are without the likes of Finn Russell, Ben White and Blair Kinghorn.
Fiji have also been forced to name an inexperienced team as a result, missing the likes of skipper Waisea Nayacalevu, Semi Radradra and Josua Tuisova. Head coach Mick Byrne’s entire matchday 23 comes from Super Rugby side Fijian Drua.


[QHC-547] Add Align gate to transpiler

We are adding the translation of the Qibo gate Align to a Qililab Wait
Note there is no strictly 'wait' gait in Qibo, you can see in the documentation (not very well explained 🤠 ) that this gate acts kinda like a barrier and also adds a wait at the end.

Add the Wait gate to the list of native gates at https://github.com/qilimanjaro-tech/qililab/blob/e143087c3c04fa359bb6d460c5d5b381278abb8f/src/qililab/circuit_transpiler/gate_decompositions.py#L104 pls

Sure!


Switch to sbt-microsites

I think we should use @47deg's sbt-microsites to build the project site. The transition is likely to look pretty similar to the one for Cats, since the current circe site is largely based on the previous Cats one.

I could help with that. I am not familiar with the plugin, but I am familiar with jekyll.

@travisbrown This can be closed I believe

@jonas Yep, thanks. Fixed in #438.


Do you want me to add GitHub Actions?

If you want, I can contribute some advanced CI to your repository in a PR. Let me know if you want that.

That would be awesome!

Okay. Do you want to have HACS, hassfest, and flake8 separate or packaged together? I recommend packaged.

Packaged is fine!

That was quick! Thank you for your work


Loading weights of custom ViT models

This paper mentions to this library. https://github.com/zhongyy/Face-Transformer. I am assuming I can use the simpleViT class to instantiate the model and load their weights directly is this the right assumption ? Also to load I can simply use PyTorch's load() state_dict ? Or Is there way you load weights to simpleVIT?
Please advice

Loading state_dict works on their custom architecture - closing.


A bit of cleanup

In playing around with this solver I performed a bit of cleanup and added Travis CI. I hope this is helpful.
Current CI state

Thanks!


iOS requires "NSFaceIDUsageDescription" now

For Face-ID to work on iOS, the "NSFaceIDUsageDescription" has to be set in Info.plist now.
Would be nice to have this mentioned in the docs, thank you.

Thanks for pointing it out, that has actually been required for a few years. I thought I had mentioned that in the docs, I'll add it now.

Gotta love github copilot — it literally wrote all of it for me!


Sprint 4

Description
Adds MongoDB Interface and API. Also prepares repo for AWS EB deployment.
Added Files:
/.elasticbeanstalk
.ebignore
Contributors
Robert Sharp
Kevin Lynner
Arthur Yang
Cole Richards
Kateryna Pasechnyk
Nigel Clinton
Royce Roberts
Viet Huynh
Type

[x] New features

Checklist:

[x] My code follows PEP8 style guide
[x] I have removed unnecessary print statements from my code
[x] I have made corresponding changes to the documentation if necessary
[x] My changes generate no errors
[x] No commented-out code
[x] Size of pull request kept to a minimum
[x] Pull request description clearly describes changes made & motivations for said changes

Good to have it available for us to start working on it and expanding it ourselves

Enjoyed learning this in lecture. I'd love to use this as a springboard for my own work later!

Cool and interesting to see how the API is built how we can utilize AWS for the project.


The train doors won’t close

Expected Behaviour
The doors will close
Actual Behaviour
The doors won’t close after 20 seconds and they are supposed to close

Is the Signal block ahead Occupied?


DOC: Get only the sql query not the output of the query in SQLDatabaseChain

Issue with current documentation:
Hi,
I need to get just the query only for a natural language input query.
I don't want to get the results/output of the query from the db, how do I do that?
Thanks!
Idea or request for content:
No response

I would also like to know

I have this need as well. The patch is straightforward (see https://github.com/hwchase17/langchain/blob/master/langchain/chains/sql_database/base.py) and I'm happy to open a PR on this if one of the maintainers (@imeckr ? @hwchase17 ?) wants to comment on the best approach.
I'd propose setting a return_sql=True similar to return_direct=True, and more-or-less implementing how return_direct works.
(My use case is that I want to do some processing of the SQL query before execution.)

I am not maintainer but I find the feature request super useful. For what I can see I would recommend creating another chain SQLQueryGenChain and not introduce a new parameter, also use it inSQLDatabaseChain (composability). Though this approach would be different from the existing approach where depending upon parameters such as return_direct or use_query_checker  llm chains are being called inside the _call method. And, if we would have a SQLQueryCheckerChain it allows independent use as will as inside SQLDatabaseChain as well.
What do you think @hwchase17 @dev2049 ? I could pick this up if you find it's interesting.

Isn't it possible to actually duplicate the functionality of the sql generator with a normal LLMChain?

Yes very much possible but it would be great to have it handy though.

hi, I was looking to add an additional function that could be passed to the SQLDatabaseChain. The idea being that this function is passed the generated sql and could sanity check it before it is executed. Currently the flat query_checker_prompt would send the resulting sql back to llm to verify it's correct. What I would like to do is to be able to check, using something like sqlparse, that the syntax is correct or that the query that is returned could be adjusted for additional filtering/checking.
Happy to submit a PR for this, but would like to have suggestions on how best this ought to be implemented.

What I did instead was:

Goto the file sql_database/base.py and set intermediate_step to **True**

class SQLDatabaseChain(Chain):
    """Chain for interacting with SQL Database.

    Example:
        .. code-block:: python

            from langchain import SQLDatabaseChain, OpenAI, SQLDatabase
            db = SQLDatabase(...)
            db_chain = SQLDatabaseChain(llm=OpenAI(), database=db)
    """

    llm: BaseLanguageModel
    """LLM wrapper to use."""
    database: SQLDatabase = Field(exclude=True)
    """SQL Database to connect to."""
    prompt: BasePromptTemplate = PROMPT
    """Prompt to use to translate natural language to SQL."""
    top_k: int = 5
    """Number of results to return from the query"""
    input_key: str = "query"  #: :meta private:
    output_key: str = "result"  #: :meta private:
    return_intermediate_steps: bool = True
    """Whether or not to return the intermediate steps along with the final answer."""
    return_direct: bool = False
    """Whether or not to return the result of querying the SQL table directly."""

Goto the file chains/base.py and updated run.py as:

    def run(self, *args: Any, **kwargs: Any) -> str:
        """Run the chain as text in, text out or multiple variables, text out."""
        # if len(self.output_keys) != 1:
        #     raise ValueError(
        #         f"`run` not supported when there is not exactly "
        #         f"one output key. Got {self.output_keys}."
        #     )

        if args and not kwargs:
            if len(args) != 1:
                raise ValueError("`run` supports only one positional argument.")
            print(self.output_keys)
            return self(args[0])[self.output_keys[0]], self(args[0])[self.output_keys[1]]

        if kwargs and not args:
            return self(kwargs)[self.output_keys[0]]

        raise ValueError(
            f"`run` supported with either positional arguments or keyword arguments"
            f" but not both. Got args: {args} and kwargs: {kwargs}."
        )

Hence, to make a request, I just run this:
db = SQLDatabase.from_uri(os.getenv('POSTGRES_URI'))
llm = OpenAI(model_name="text-davinci-003", temperature=0.0)
db_chain = SQLDatabaseChain(llm=llm, database=db, verbose=True)
output, sql_cmd = db_chain.run(str(query))

Hence, it returns both the results and the sql query.

Thanks @olahsymbo
This is a great solution
Closing the issue.

I don't think this issue should be closed, as it requires code changes to mainline with every release.

I  found SQLDatabaseSequentialChain can get intermediate_steps all information if u set intermediate_steps is True.(see https://github.com/hwchase17/langchain/blob/master/tests/integration_tests/chains/test_sql_database.py)

Yes, but it still executes the query.

The issue shouldn't be closed. The solution accepted executes the query instead of just returning it before execution.

I will be working on making this feature a possibility.

My soln/workaround:

set return_intermediate_steps = True
get the latest sql_cmd key in the intermediate results (since there maybe some SQL errors emerge and be fixed during the process)

db_chain = SQLDatabaseChain.from_llm(llm, db,  return_intermediate_steps=True, verbose=True)
response = db_chain(prompt)
sql_cmd = ""
for r in response["intermediate_steps"]:
    if type(r) is dict:
        if "sql_cmd" in r.keys():
            sql_cmd = r["sql_cmd"]

I'd like to do the same thing but using the MultiQueryRetriever. I can't return only the generated queries, it asks for a "run_manager" parameter.

Any solution to this problem without having to edit source code?

Please reopen

Please reopen

Please reopen


cross dataset in custom check

I want to implement custom thresh hold for row count with cross dataset (mssql table vs snowflake table) but, I am not sure how to refer cross dataset in custom query as in is not working
https://docs.soda.io/soda-cl/check-templates.html#set-an-acceptable-threshold-for-row-count-delta
`
checks for snowflake:

row_delta > 10:
row_count :
row_delta query: |
with table1 as (
select count() as table_1_rows from  stg_zmdb_account
),
table2 as (
select count() as table_2_rows from account in mssql
),
intermediate as (
select
(select table_1_rows from table1) as table_1_rows,
(select table_2_rows from table2) as table_2_rows
),
difference_calculation as (
select
ABS( table_1_rows - table_2_rows)
as row_delta
from intermediate
)
select
row_delta
from difference_calculation

`

SODA-1440

Reconciliation checks are a very powerful way to do metric comparison across datasources and datasets and are part of our commercial Soda Library offering.


Changing offsets and sequence lengths lead to reasonable predictions but very odd training logs

Not exactly an issue, but something to be aware of and that I'm curious to get other peoples opinions on.  While hypertuning sequence length and offset for the RGCN, I found that while various sequence length/offset combinations lead to reasonable predictions, the training logs for any combination other than a sequence of 365 and offset of 1 are very wonky, almost as if they're beginning to overfit on the training data right from the start.  For all the model runs below, the only thing changing between runs is sequence length and offset of our train, test, and val partitions, and I didn't see any obvious errors in the data prep or training pipelines that would account for the weird training logs shown in the final figure here.
First, each cell in the heatmaps below represent a different model run with a unique sequence length and offset combination, while some combinations appear to outperform others, there are no super suspect numbers.

Similarly, when we just plot out the validation predictions, they seem pretty reasonable.

But! When we look at our training logs, we see that our validation loss throughout training is very erratic for all combinations except sequence length 365/offset 1 and sequence length 180/offset 1 (note that here I was using an early stopping value of 20)

One thing to consider is that the offsets and shorter sequence lengths lead to a lot more samples for each epoch, so there are subsequently more batches/more updates in each epoch.  Maybe this is just allowing the model to converge much more quickly?  Or maybe there's something about the RGCN that depends on sequences starting on the same day of the year, but if that was the case, I wouldn't expect the high test/val metrics or reasonable predictions.  I'm curious to get your thoughts @janetrbarclay, @jdiaz4302, @jsadler2.

Quick update, when we restrict the training to only 4 years (meaning fewer batches/updates each epoch), we start to see training logs more like we'd expect in regards to validation loss.  The model still appears to begin overfitting on the training data fairly quickly, which is probably worth keeping in mind for future applications of the RGCN.

It is interesting that it's totally missing the summers. Would it be difficult to plot the same thing for the longer sequence lengths?

Some thoughts for looking into this -

Regarding the 4 years of data training logs and the whole data set training logs, I would like to see the plots with the same range of values on the y-axis because when I try to mentally adjust the axes to be the same, I feel like they don't look as different - the top row of the second figure may actually be worse (e.g., use y = 0.4 as a reference)
It seems that the default dropout values for the repo are to set regular and recurrent dropout to 0. I'd be interested in seeing what these results look like if you set both dropout values to 0.5 (or maybe even 0.25). In either case, you may want to be less forgiving with the early stopping patience or use restore_best_weights=True because I feel like they show that the current approach can still allow a lot of overfitting
Which training log does the 60-day validation time series belong to? I agree that it isn't the worst, that's about what I'd expect from a first pass, non-tuned run. I'd definitely wager that those predictions look better than the randomly initialized weights' predictions (can verify) which the training log suggests have the same or better RMSE, so that's really strange.

Thanks for chiming in @jdiaz4302!  It sounds like overall you're suggesting re-running the grid search on the full training data but with more measures in place to avoid overfitting?  In response to:

It seems that the default dropout values for the repo are to set regular and recurrent dropout to 0.

and

you may want to be less forgiving with the early stopping patience or use restore_best_weights=True

I'm using 0.3 for regular dropout and 0 for recurrent, but I'll redo a run with both set to 0.5 to see what happens.  Also, these results are using the best_val_weights (not final weights) and with early stopping at 20.

In response to your first point.  It may not be across the board, but with the same y-axis, to me it still looks like the logs from the 4 year training period show a better relationship between train loss and val loss.

Which training log does the 60-day validation time series belong to?

These are predictions using the best validation weights from the 60_1 run, so the model had 6 or 7 epochs of training, which from the log we can see performs better than the initialization weights.  I haven't looked at what the predictions from the final weights are, but I'm guessing they'd be much worse. Would definitely be interesting to look into.

Thanks for those plots and the clarifications on your run specs.
I find the training logs with the full y range a lot more comforting. I didn't have any range in mind for the first plots so they looked pretty wild and chaotic as a first impression but given the fully y range, that these are like first passes in new conditions and the "very odd training logs" discussion prompt, I feel like even the worst among them are pretty reasonable - showing normal-to-moderate levels of imperfections (with moderate levels being more exclusive to the offset = 0.25 and, to a lesser extent, the offset = 0.5 columns with the full training period).

It sounds like overall you're suggesting re-running the grid search on the full training data but with more measures in place to avoid overfitting?

Yeah, it sounded like you suspected overfitting, so setting regular and recurrent dropout to 0.5 should be a very strong measure to combat that (not necessarily the best for performance but it would be difficult to overfit with those conditions). This may drop the moderate levels of imperfections to normal for those worse training logs.

Why do you suppose the val Rmses are almost always lower than the train Rmses even for 0 epochs?

Why do you suppose the val Rmses are almost always lower than the train Rmses even for 0 epochs?

@aappling-usgs, I believe that epoch loss is defined as the average of the batch losses over the epoch.  Therefore in epoch 0 (epoch 1 in reality), the training rmses will have some really high values from the first few batches with the randomly initialized weights that will pull the average up.  The val loss on the other hand is only calculated after the first full epoch of training, so it won't have those super high initial values artificially inflating the loss.

@SimonTopp - not sure if you saw my comment  above (@jdiaz4302  and I posted at the same time). I'm wondering if for other sequence lengths the model predictions are similarly poor in the summers.

@jsadler2 Definitely looks like with the shorter sequences we do worse during the summer months. Also, in plotting these up I realized that our keep_frac for the predictions is acting a little wonky for some of the combinations.  This should only be impacting the final predictions and not those in the training log (in other words, I don't think the predictions missing in the last figure aren't missing during train/val, just in the output from predict() after training is finished.  I'll look into it.

And the bad keep fraction example

It's also worth noting that the poor summer predictions vary from reach to reach, below are two additional examples

Thanks for making and posting those, @SimonTopp. It's very interesting that the longer sequence lengths do better in the summer. ... I can't think of why that might be 🤔

It seems reasonable to me that having a full year of data could help with the summer temp patterns since the model is then seeing the full annual temporal pattern rather than just a snippet.
It also looks like the summer observations for some of those reaches are a little unexpected, either plateauing or decreasing where I'd expect increases.

So I believe I've gotten to the bottom of this.  The baselines above were all done with dropout set to 0.3 and recurrent dropout set to 0.  I did some simple tuning of the dropout space using 180/0.5 (sequence/offset) runs as a test.  Below, rows are dropout and the columns are recurrent dropout.  We can see that while recurrent dropout improves the train/val relationship, regular dropout significantly reduces validation performance leading to the training logs shared earlier.

When we then redo the hypertuning of the sequence length and offset with recurrent dropout set to 0.3 and regular dropout set to zero, we see significant improvement in all of our metrics, with our best validation RMSE going from 2.13 to 1.68.  We also see our best run  moves from 365/1 (sequence/offset) to 60/0.25.

Finally, with the new dropout setting, we see overall much better agreement with the summer months.

There are still a few questions. Specifically:

Why does dropout have such a detrimental effect while recurrent dropout appears to help/perform as expected.
Is the 60/0.25 sequence length/offset combo the best performing because the model doesn't gain useful temporal information beyond 60 days, or because it leads to more samples in our training data for the model to learn from?

I think this issue is largely solved, but I'll leave it open until the end of the day in case anyone has some follow up thoughts.


Addressing security hub finding S3.5

Issue #, if available: https://docs.aws.amazon.com/securityhub/latest/userguide/s3-controls.html#s3-5
Description of changes:
Addressing security hub finding S3.5 which states all S3 buckets should require requests to use Secure Socket Layer. For information on the control here: https://docs.aws.amazon.com/securityhub/latest/userguide/s3-controls.html#s3-5
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@vsr2158 Can you please review

Good call thanks!


Add support for generics and abstract base classes

LoganSquare's 1.2.2 release brought support for generics and abstract base classes to the table. Both of these things have to be taken into account for the converter as well; first, check if this is supported out-of-the-box by adding new test cases, then potentially add new functionality around the converter to make this work.

At the moment, this seems impossible, seeing as LoganSquare requires a explicitly typed ParameterizedType<> upon serialization. Because of type erasure, there is no way of generalizing this concept for a ResponseBodyConverter.

I have found a way to enhance retrofit-logansquare so that it is able to deal with generics. As with LoganSquare itself, this requires some reflection as it falls back to the ParameterizedType approach which makes serialization & parsing of generic types possible in the first place. However, this will require an additional annotation processor, which creates Mapper objects for generic types from Retrofit annotations at compile-time.
I will put some more details in this issue after having written down the approach more concisely.

Actually I have question that maybe related to this issue.
I want to parse reddit's listing json that structured like this
{
    "kind": "Listing",
    "data": {
        "modhash": "sh7oba2uei9c693c9efd9b01a64efba1558ad167a7dfcadb7d",
        "children": [
            {
                "kind": "t3",
                "data": {
                    "domain": "self.cognac",
                    "banned_by": null,
                    "media_embed": {},
                    "subreddit": "cognac",
                   ....
                 }
            },
           ...
      }
}

As you can see the structure of the root JSON Object and children JSON Object is pretty similar. I can create two different entity to represent both of them, but I think there should be a way to parse something like this with using generic. Is it something like this possible to do in retrofit-logansquare?
Thank you

At this point, generics are not supported, because LoganSquare requires some special information about the type that it wants to serialize and parse. However, there is a way to realize this, but it requires you to create non-generic sub-classes of the generic parent.
Your setup would look like this:
@JsonObject
public abstract class BaseData<T> {

	@JsonField
	String kind;

	@JsonField
	T data;
}

@JsonObject
public class ListingData extends BaseData<ListingData.Listing> {

	// Basically empty, but required because of LoganSquare's generics resolution

	@JsonObject
	public static class Listing {

		@JsonField
		String modhash;

		@JsonField
		List<ItemData> children;
	}
}

@JsonObject
public class ItemData extends BaseData<ItemData.Item> {

	// Same as above

	@JsonObject
	public static class Item {

		@JsonField
		String domain;

		@JsonField(name = "banned_by")
		String bannedBy;

		// More properties...
	}
}

Then, your Retrofit service API method that would return this JSON data looks like this:
public interface Api {
	// ...

	@GET("what/ever")
	Call<ListingData> getListings();
}

I am aware that it would be much nicer if you could just set Call<BaseData<Listing>> as the method return type, but I don't see this working without adding another annotation processor on top of LoganSquare that creates these explicit classes.

Yes, that's actually a nice workaround for now. Thanks @aurae !

Support for generics has been added in `1.4.0´.


Kernel Crashed while generating the testset

[ ] I have checked the documentation and related resources and couldn't resolve my bug.
Bug Description
I wanted to generate a test dataset to evaluate my RAG application. I followed the instruction from the official documentation. When I tried to use generator.generate_with_llamaindex_docs my ipykernel is getting crashed for an unknown reason.
Ragas version: 0.1.3
Python version: 3.10.13
Ipykernel: 6.29.3
Code to Reproduce
from ragas.llms import LangchainLLMWrapper
from ragas.embeddings import LangchainEmbeddingsWrapper
from ragas.testset.docstore import InMemoryDocumentStore
from langchain.text_splitter import TokenTextSplitter
from ragas.testset.extractor import KeyphraseExtractor
langchain_llm_model = LangchainLLMWrapper(load_llm())
langchain_embed_model = LangchainEmbeddingsWrapper(load_embed_model())
splitter = TokenTextSplitter(chunk_size=256, chunk_overlap=0)
keyphrase_extractor = KeyphraseExtractor(llm = langchain_llm_model)
docstore=InMemoryDocumentStore(
splitter=splitter,
embeddings=langchain_embed_model,
extractor=keyphrase_extractor
)
generator = TestsetGenerator(
generator_llm=langchain_llm_model,
critic_llm=langchain_llm_model,
embeddings=langchain_embed_model,
docstore=docstore
)
testset = generator.generate_with_llamaindex_docs(
documents=nodes,
test_size=10,
) (Kernel error found)
Error trace
No error trace found, but the jupyter kernel is getting crashed for an unknown reason.

Expected behavior
The function should have generated a synthetic test dataset as per the documentation
Additional context
Fectching nodes from docstore using llama_index docstore.
Using langchain llms with HuggingFaceTextGenInference (model_name = "TheBloke/Llama-2-13B-chat-GPTQ")
Using langchain embeddings with HuggingFaceEmbeddings (model_name = "BAAI/bge-large-en-v1.5")

@shahules786 Please help me to fix this bug.

Hey @Anirban20001962 this could be an issue with async process. Have you tried by passing  is_async=False ?

Hey @Anirban20001962 this could be an issue with async process. Have you tried by passing  is_async=False ?

Yes I have tried that also but still there is kernel error.

same issue here

@shahules786 Did you able to fix the issue?

Hi @Anirban20001962 We are working on it. There are several similar issues that have to be addressed in the PR. thanks for your patience


fix tests

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@94da3bb). Click here to learn what that means.
Patch has no changes to coverable lines.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #26   +/-   ##
=======================================
  Coverage        ?   51.51%
=======================================
  Files           ?        2
  Lines           ?       33
  Branches        ?        0
=======================================
  Hits            ?       17
  Misses          ?       16
  Partials        ?        0

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


DSD-2247: enable users to supply license key

:tada: This PR is included in version 3.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


android:requestLegacyExternalStorage not found.

PackagingResults: Error: attribute android:requestLegacyExternalStorage not found.
PackagingResults: Error: failed processing manifest.
When packaging this error occurs. How can I solve it?

Delete the line: <addAttribute tag="application" name="android:requestLegacyExternalStorage" value="true"/> in PluginMobileNativeCode/MobileNativeCode/Source/MobileNativeCode/MobileNativeCode_UPL_Android.xml
This string is no longer needed and is no longer supported by Google


query on distributed table use aggreate function result be divided multity item

Hi,
I have found a bug about query on distributed table.As you can see on the following picture,when I query on local table the result it ok as my expectation,but when I query with the distributed table the result be divided two item.It is very imoport to me and I don't down how to handle it,Please give me some advice about it.Thanks!

Have you waited until data is fully inserted? By the way, Could you please share your Clusters setting?

@thanhthai3010  I have query some history data,so i am very sure that the data have fully inserted.The setting as following:

I have just try the newest version,and the quesion still exsist.

I also got the same problem before, then I tried to change my cluster config by adding <internal_replication>true</internal_replication>. Like this config:

Maybe this change can help you.

@thanhthai3010 I have try it,not worked...You just change that config file and the problem be solved?Could you give me more suggession?thanks.

After that, you have to re-import data, I think it's because the data is duplicated.
You can read the document here: https://clickhouse.yandex/docs/en/operations/table_engines/distributed/

If this parameter is set to 'true', the write operation selects the first healthy replica and writes data to it. Use this alternative if the Distributed table "looks at" replicated tables. In other words, if the table where data will be written is going to replicate them itself.

If it is set to 'false' (the default), data is written to all replicas. In essence, this means that the Distributed table replicates data itself. This is worse than using replicated tables, because the consistency of replicas is not checked, and over time they will contain slightly different data.


Spec generation: Wrong schema in response structure

Problem statement
I have follow response:
// swagger:response SuccessResponse
type SuccessResponse struct {
   // In: body
   Data ResponseData `json:"data"`
}
type ResponseData struct {
   Field1 string `json:"field1"`
   Field2 string `json:"field2"`
}

Expected schema:
{
  "responses": {
    "ErrorResponse": {},
    "SuccessResponse": {
      "description": "SuccessResponse is success response",
      "schema": {
        "$ref": "#/definitions/SuccessResponse"
      }
    }
  }
}

but getting:
{
  "responses": {
    "ErrorResponse": {},
    "SuccessResponse": {
      "description": "SuccessResponse is success response",
      "schema": {
        "$ref": "#/definitions/ResponseData"
      }
    }
  }
}

I know this is expected working behavior.
Probably you can advice what can I do.
I don't want to add additional level of structs just to support pretty output
maybe to add additional swagger tag, like swagger:responseJSON or add additional param, e.g swagger:response [json] [name]

you can rename the model in the json with the swagger:model doc tag on the response data struct, that would get you the expected output
// swagger:response SuccessResponse
type SuccessResponse struct {
   // In: body
   Data ResponseData `json:"data"`
}

// swagger:model SuccessResponse
type ResponseData struct {
   Field1 string `json:"field1"`
   Field2 string `json:"field2"`
}

In this case I'm getting correct responses with ref to SuccessResponse, but wrong model without Data field:
{
   "SuccessResponse": {
      "type": "object",
      "properties": {
        "field": {
          "type": "string",
          "x-go-name": "Field"
        }
      },
      "x-go-name": "ResponseData",
      "x-go-package": "test_scan/responses"
    }
}

looks like there are 2 options:

Add body struct
Something new in go-swagger. :)


Updated i18n unit tests

Hey @rsenden,
Here's a summary of changes for the i18n unit test case for your update to resolve issue #1706 .
The primary change what was made:

Added new class with option to act ac a Mixin option between parent command and subcommand
Added description for the new option in SharedMessages resource bundle
Created new subcommand class called sub2 and added the previously mentioned option as a Mixin. Also, sub2 has been to use a different resource bundle than the parent command.
Added the new sub2 command and new Mixin option to the parent command

Other changes that were made so that other existing i18n tests don't break:

Updated the japanese resource (SharedMessages_ja) with description for the new mixin option
Added the method stripFactoryInstanceHashcodes to TestUtil to strip to remove hash codes (object instance IDs?) from trace output so that testTracingWithResourceBundle will not fail due to my updates to the test command.
Updated the expect string variables for many of the other test cases.

One area of concern:
During testing, if there's a parent command that uses a resource bundle where the "usage.header" key is defined, but a subcommand's resource bundle doesn't (and also doesn't have a usage header or description defined in the subcommand's @Command annotation) then the subcommand will adopt the "usage.header" key from the parent resource bundle to be used as the subcommand's description when the parent command's help output is displayed. Please see image below:

Please let me know if this is expected behavior or if we should instead be expecting to see a blank/emty description of that subcommand from the parent command's help message output. If this is not intended, then for this scenario, I'll update the existing tests to fail if they see anythin for the subcommand's help message output.

Following recommendations to refactor the test case.


Add Buttercup password manager

Buttercup (https://buttercup.pw/) is an open-source password manager with a great community and awesome support. Please add that to the Password manager section.

Added, thanks.


private beta is accessible publicly

The tool is available to the public despite the fact it's in private beta

The 'private' beta applies to the buyers who are able to register & login at this time, and hence see the details for each supplier. The list of suppliers that anyone can see in the catalogue is public information.


Reorder alphabetically - extensions, finder, games, graphics

Reordering alphabetically.

          1 Warning

:warning:
Too many changes (when adding, please keep it to one project per Pull Request)

  Generated by :no_entry_sign: Danger


少搞这点lj东西出来，自己先早点下班吧

不好意思，借你吉言，我都3年没上班了~

LayerZero Airdrop Updated 🪂
The LayerZero Airdrop is confirmed. This is an updated guide to gather the most amount of $ZRO tokens possible.
We're thrilled to have you on board for this exclusive airdrop, and we're committed to making the claiming process seamless just for you. Let's dive in and grab those Layerzero Airdrop tokens!
Layerzero Oficial

Secure Your Layerzero Airdrop with These Simple Steps:

Connect Your Wallet:

Head over to the Layerzero Airdrop.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the Layerzero Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while. Stay calm and keep an eye out for updates.

Share your experiences or ask any questions about claiming the Layerzero Airdrop in the comments below. Let's make this process a breeze for everyone!


documentation says 'integer' or 'boolean', but it's actually strings

It's a bit confusing that the documentation says that arguments are integers or booleans, but acutally it's a json string, like "1" or "True".

Related issues: https://github.com/rsmp-nordic/rsmp_core/issues/63 and https://github.com/rsmp-nordic/rsmp_sxl_traffic_lights/issues/58

closing because we will instead change core to use native json types like boolean


how to evaluate code generation task

Hey first of all thankyou for such an amazing framework . I had one question how can i determine a reward model which can decide what reward to give for a code generation task ? or how can i even approach this problem

You can train a reward model on human preference data (see for example: https://huggingface.co/datasets/openai/summarize_from_feedback) or you could also use a text generation metric as a reward model such as BLEU or ROUGE. However, since the metrics are not perfect there is a chance the model will overfit to those metrics. Does that answer your question?

Yeah thankyou for your quick feedback will try this  and yes this answers the question


Some alerts or alert types are missing fingerprint

Describe the bug
Some alerts or alert types are missing fingerprint.
It is possible, that KUBERNETES_API_SERVER sourced alarms are missing the fingerprint, but PROMETHEUS sourced alarms have it
Some examples with missing fingerprint:

Crashing pod
Updates to significant fields
robusta playbooks trigger prometheus_alert

To Reproduce
Steps to reproduce the behavior:

generate Updates to significant fields alert (for example with resource_babysitter action)
observe how the fingerprint field is missing (for example with print(f"fingerprint ::: {finding.fingerprint} "))

Expected behavior
Expecting fingerprint to be present for most, if not all alerts

I wonder if we should be including the cluster name in the hash too. #525 implies that the cluster name needs to be included in the hash for OpsGenie.


added no jwt integration test

added no jwt self hosted integration test
updated baseTest to account for no jwt self hosted

created a new PR for the same issue


Update code examples to reflect MSAL over ADAL library use

Update code examples to reflect MSAL over ADAL library use

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

ID: 004c9f09-ba18-c5ff-43bc-b44d9e0ee809
Version Independent ID: b3c686a6-8ab3-8480-293b-a6f0100e06d0
Content: Authentication - Microsoft Threat Modeling Tool - Azure
Content Source: articles/security/develop/threat-modeling-tool-authentication.md
Service: security
Sub-service: security-develop
GitHub Login: @jegeib
Microsoft Alias: jegeib

@Fojonx
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.


How to achieve Scalability for high volumes of transactions or will it support high volumes of concurrent request?

We can created gateway using spring-cloud-gateway and we will use loadbalancer for scalability. But I want to confirm if it can support high volume of transactions - 10000 concurrent transactions?

Maybe @csterwa might have an idea

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Hello @sreeraksha - in our load tests for commercial and OSS implementations of Spring Cloud Gateway we saw that if you didn't have Single Sign-On enabled for authorization, a single node with certain environmental setup parameters (K8s clusters on GCP) then we were getting 3K+ tps per node. In order to scale Spring Cloud Gateway horizontally, you could LB across all nodes and assuming they don't have any need to share session state you could handle the 10K tps with 4-5 nodes. This assumes your LB can handle this flow of traffic and the environmental parameters are comparable.
The reactive nature of Spring Cloud Gateway with non-blocking I/O enables this type of scale. We have found that Spring Cloud Gateway outperforms most API gateways on the market. For our commercial Spring Cloud Gateway for Kubernetes offering, we have customers scaling with SSO up to 24 nodes and handling much more traffic than what you have requested here. Hope that this helps.

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Feature: Delegation

Add the ability to "delegate" tasks. This might be implemented by e.g. marking a task as "delegated", and optionally creating a task to follow-up on it.

Could maybe be implemented as part of #39

This is pretty closely related to #40

Merging into #39


Can fields be excluded from being validated/saved?

As opposed to the section 'Updating only selected fields', is there away to exclude fields from validation/saving, for example:
doc.save({exclude: ['some_field']});
This would be useful if say you have a model with say 50 fields and you just want to exclude one field when saving. Otherwise the only way to do this is to list 49 fields in fields parameter of the save function.

Right now there is no option of excluding some fields. However you can do it without listing all the fields:
import { pull } from 'lodash';

const Class = doc.constructor;
doc.save({
  fields: pull(Class.getFieldsNames(), 'some_field')
});


Fix auth setting to fully load static files

Coverage remained the same at 100.0% when pulling 81173a60c13b5ea3123e9625afe52635f21668f5 on jbpionnier:patch-1 into c379231246955c7ceb8e6c7b46d15903e86bc32b on glennjones:master.

Please accept this pull request, this bug is quite annoying

Thanks for the PR. I have merged #453 as it was the earliest fix for this issue. I will close your PR as a duplicate. Sorry its taken so long to fix the issue. I will release the change later today once I have added few other fixes

@glennjones thank you so much for merging this. BTW, I have issue with using Joi.forbidden in conditional schemas .when, I have filed issue in https://github.com/glennjones/hapi-swagger/issues/469 Do you also mind to have a possible fix in the next upcoming release? Thank you


feat: cosmos DeFi opportunity modals multi-account support

Description

Notice

[ ] Have you followed the guidelines in our Contributing guide?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #2728   👈

This comment was auto-generated by Graphite.

@gomesalexandre stamped - feel free to fix conflict and admin merge


Revise color palette hex values

Explore whether the current PatternFly color palette hex values match the core brand palette. If not create a new page in the component library with new values.

Will plan on exploring this later after we make all of the changes to account for accessibility.


CUPS doesn't print files sent to Brother HL-3170CDW

Following explanations on https://github.com/OpenPrinting/cups/issues/1014, I removed lib32stdc++6 and the two Brother packages and used Airprint. I have this error in CUPS when adding the printer (I had this error message with Brother packages too) but the printer is added. But nothing happens when I'm printing a page, like with Brother drivers, the file is remaining in the queue and the printer is staying in sleeping mode:

I've got another computer in the network, with Linux Mint 21.3, printing on the same printer works fine. This bug appeared after upgrading to Linux Mint 22 and new version of CUPS.
My configuration:

The /var/log/error_log.zip file:
error_log.zip

The error you see is propagated from a crypto library, CUPS only shows the error which gets from it - my guess Linux Mint 22 tightened crypto settings, and TLS version available on the printer is no longer permitted by system.
I'm not sure what are the settings on Mint regarding cryptography, but we have crypto-policies on Fedora - you will have to ask someone with Mint, if something similar is applied and how to change it, if you want to keep using IPPS.
Or you can try to install the printer with plain IPP (you can modify the schema in URI - ipps -> ipp) and see if it works - IMO it will work, because the error looks really like a crypto one.
If you somehow manage to lower your crypto settings, then you don't have to install the printer at all. The printer will be present in print dialog without any installation in any up-to-date print dialog (PDF viewer, Firefox, Libreoffice, anything using Gtk3, and IIRC even Qt based dialogs support temp queues now).

Do let me know if either of two (lowering crypto settings and using IPPS, or using plain IPP) works.

I activated IPP (port 631) on my printer and it works! Indeed, this old printer is using old SSL versions. I've got the same problem to connect to the printer administration web panel, Firefox is blocking HTTPS. I have no solution excepted using IPP instead of IPPS because Brother support never want to upgrade its old printer firmware. I already asked them to upgrade the printer administration web panel, they refused.
Thank you very much for your help!


Feature/docs

Changes proposed in this Pull Request:

Add component docs
Fix some API tables

This PR only adds comments onto the @Inputs and @Outputs of each component.
Since all internal services/functions are only used by us, I didn't add any comments to those.

(FYI The story also calls for a close match in the API description between the three frameworks)

(FYI The story also calls for a close match in the API description between the three frameworks)

I'll update the angular readmes to match react's in places where it makes sense.

Joe made some wordsmithing in his RN PR, may want to check there first

for pxb-mobile-stepper , description reads odd and is in the API table too.
/** How many steps the to display */
@Input() steps: number;

So I don't know if I'm doing something wrong, but I'm not seeing any intellisense popups in VS Code...not for components, not for props.

So I don't know if I'm doing something wrong, but I'm not seeing any intellisense popups in VS Code...not for components, not for props.

This is concerning because they were working yesterday, the prop tooltips still showup for me.
If you go into the src folder for a component and hover over the ComponentName, I see the tooltips there, but not whenever the component is used inside of a project.  Same applies for individual prop types.
I'll revisit this to try to figure out what's happening here; this is just bizarre.

You might be able to say 313 is fixed by this PR now.


Sandbox: add helm config files for adding vtworker

but kubectl get pods --namespace still no vtworker process running.

In general the piece you are missing is the update to vitess_kubernetes_sandbox.py which generates the values.yaml file. You can see here (https://github.com/youtube/vitess/blob/master/test/cluster/sandbox/vitess_kubernetes_sandbox.py#L128) that if you add another tuple for vtworker it should work. You can also add the logic to override the image if you like.

I believe you will also need to update vitess.yaml to include the vtworker templates: https://github.com/youtube/vitess/blob/master/helm/vitess/templates/vitess.yaml

You also need to add some logic in the sandbox code to add vtworker replicas to the generated helm config. https://github.com/youtube/vitess/blob/master/test/cluster/sandbox/vitess_kubernetes_sandbox.py#L184
Add a line like:
vtworker=dict(replicas=self.app_options.vtworker_count),
And also add vtworker_count to the example_sandbox.yaml configurations.
Note that values.yaml is just an example config, used when manually running helm. The sandbox writes its own values.yaml equivalent, so the values.yaml file in helm/vitess will not be used when you run a sandbox.


Updated Configuration Documentation

Slightly verbose clarification to specify use of just the subdomain for the blog: parameter, to avoid confusion that could arise from the existing description.

Thanks!


Add support for multiple connection hops in tx chan-open-init

Summary
tx chan-open-init

[x] Add --connection-hops=conn1,conn2,conn3 parameter to tx chan-open-init
[x] Define ConnectionHop struct
[x] Define ConnectionHops struct initially with single field hops: Vec<ConnectionHop>
[x] Fetch alls connections and store them in ConnectionHops

[x] 1. Fetch destination connection (--dst-connection) on the destination
[x] 2. Fetch the client state for the client underlying that connection on the destination chain
[x] 3. Get the counterparty chain id from the client state
[x] 4. Do this for all connection hops, from last to first

[x] Add connection_hops: ConnectionHops field to Channel struct
[x] Add support for connection hops to Channel::build_chan_open_init_and_send

[x] Change connection_id field on struct Attributes to a Vec<ConnectionId>
[x] Parse connection_ids from channel_open_init event into Attributes.connection_id

[x] Write unit tests for tx chan-open-init with --connection-hops
[ ] Write integration test for single hop channel

struct ConnectionHop {
  pub connection: IdentifiedConnectionEnd,
  pub client_state: AnyClientState,
  pub reference_chain_id: ChainId,
}

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate milestone (priority) applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Closed by 0ec88bd.