No images saved

Where are the images supposed to be stored?
I searched in several folders inside the host and inside the container...
Could there be no images and/or data folder created, because when running docker run the webcam did not turn on?
My host operating system is Windows.
Thanks 😃

Thanks for watching my repo!
If you run a command like below, images will be stored in the data folder because of adding -v mounts the local directory.
https://github.com/tosh223/burst-capt/blob/d638ba8d83284f551726d5876275ac3ad081867c/docker_run.sh#L11


Super awesome PR to test if I can get into the Activated user's list …

…of Codecov.

This was me.


Update for TF2 version 8835751 (2024-04-22)

Untested; you'll probably want to verify the changes yourself.
Same disclaimers as DosMike/TF2-PvP-OptIn#20.  RegenThink doesn't appear to be optimized on Linux, so it should be unchanged.

Looks good, thanks again


Update website_data.json

Adding to website_data.(Social Distancing is the key)

this json is pulled from the sheet. Making changes here will get reverted in the next Action trigger.


Doesn't work with bookworm RPI3

I tested ruuvi-go-gateway with Debian 11 (bullseye), everything worked and then updated to Debian 12 (bookworm). hcitool/hcidump worked nicely but ruuvi-go-gateway didn't see any tags
dmesg contains
[ 1900.676659] Bluetooth: hci0: Opcode 0x c03 failed: -4
[ 1900.681386] Bluetooth: hci0: unexpected event for opcode 0x0c03

I managed to fix this by changing from go-ble/ble to rigado/ble and adding LEScanInterval + LEScanWindow:
  device, err := dev.NewDevice("default",
    ble.OptDeviceID(config.HciIndex),
    ble.OptScanParams(cmd.LESetScanParameters{
      LEScanType: 0, // passive scan
      LEScanInterval: 0x10,
      LEScanWindow: 0x10,
    }))

I guess go-ble doesn't validate those params and zero isn't working anymore.

Fixed in #11


charm updates

Quite a few issues came up with the registry when it went into the real world.

refactor auth (both token and htpasswd) to be consistent and more maintanable
send required relation data for both proxy and registry clients
better status messages to indicate when the registry is up/down/sideways
readme updates to talk about the above

These have been pushed to --beta in ~containers/docker-registry-7

After a good round of testing, ~containers/docker-registry-8 has been released to stable.


Extend the Curated Relations Table

We must include

both direct hypernyms plus indirect ones
provide a mean to select which to retrieve (or if we need to retrieve both)

We will only consider direct hypernyms (using transitivity may lower precision too much)


Ricardian Contracts for Yield+

Ricardian Contracts

[x] eosio.yield (Rewards)

eosio.yield.hpp
eosio.yield.contracts.md

[x] oracle.yield (TVL Oracle)

oracle.yield.hpp
oracle.yield.contracts.md

[x] admin.yield (Admin)

admin.yield.hpp
admin.yield.contracts.md

Documentation (Web)

❗ not always updated, .hpp files will be the most updated

https://yield-docs-seven.vercel.app/docs/category/contracts
Examples
eosio.token
https://github.com/eosnetworkfoundation/mandel-contracts/blob/main/contracts/eosio.token/ricardian/eosio.token.contracts.md.in

transfer

---
spec_version: "0.2.0"
title: Transfer Tokens
summary: 'Send {{nowrap quantity}} from {{nowrap from}} to {{nowrap to}}'
icon: @ICON_BASE_URL@/@TRANSFER_ICON_URI@
---

{{from}} agrees to send {{quantity}} to {{to}}.

{{#if memo}}There is a memo attached to the transfer stating:
{{memo}}
{{/if}}

If {{from}} is not already the RAM payer of their {{asset_to_symbol_code quantity}} token balance, {{from}} will be designated as such. As a result, RAM will be deducted from {{from}}’s resources to refund the original RAM payer.

If {{to}} does not have a balance for {{asset_to_symbol_code quantity}}, {{from}} will be designated as the RAM payer of the {{asset_to_symbol_code quantity}} token balance for {{to}}. As a result, RAM will be deducted from {{from}}’s resources to create the necessary records.

Mobile

Reading C++ header files
/**
 * ## ACTION `setrate`
 *
 * > Set rewards rate
 *
 * - **authority**: `get_self()`
 *
 * ### params
 *
 * - `{uint16_t} annual_rate` - annual rate (pips 1/100 of 1%)
 * - `{asset} min_tvl_report` - minimum TVL report
 * - `{asset} max_tvl_report` - maximum TVL report
 *
 * ### Example
 *
 * ```bash
 * $ cleos push action eosio.yield setrate '[500, "200000.0000 EOS", "6000000.0000 EOS"]' -p eosio.yield
 * ```
 */
[[eosio::action]]
void setrate( const int16_t annual_rate, const asset min_tvl_report, const asset max_tvl_report );

https://github.com/EOS-Nation/eosio.yield-contracts/blob/main/contracts/eosio.yield/eosio.yield.hpp#L166-L186

added ✅


Numbers as strings

Hi,
Is there a way to get the json data in its original string format? The problem is that the following code:
	auto j = json::parse("[ 0.1 ]");

	auto& v = j.at(0);

	stringstream ss;
	ss << fixed << setprecision(50) << v.get<double>();
	string str = ss.str();

produces:
"0.10000000000000000555111512312578270211815834045410"
Being able to get the original string data would fix the floating point problems and also allow handling of integer numbers larger than 64 bit.

No, this is currently not possible. In the future, the type of the floating-point numbers should be configurable, so such an extension could be possible.


More design updates

Signed-off-by: nannanli<EMAIL_ADDRESS>

Thank you, all the designs look super cool!
Just wanted to ask you, how about changing this section to:
Something like this:

Hey, all the updates look super cool!
Just needed to ask you, what do you think of changing this section:

To something like this and making this similar to other sections below:

@covalentbond That looks awesome! More concise and efficient. Please go ahead to change it. Many thanks!!


Empty parser error when defining a custom class extending Time

Godot version
v4.1.1.stable.flathub [bd6af8e0e]
System information
Godot v4.1.1.stable (bd6af8e0e) - Freedesktop SDK 23.08 (Flatpak runtime) - Vulkan (Forward+) - dedicated AMD Radeon RX 6600 (RADV NAVI23) () - AMD Ryzen 5 5600 6-Core Processor (12 Threads)
Issue description
Creating a custom class extending Time, and assigning it or instantiating it with new() at runtime crashes Godot with an empty parser error, and the source error:
E 0:00:00:0165   _populate_class_members: Condition "p_script->native.is_null()" is true. Returning: ERR_BUG
  <C++ Source>   modules/gdscript/gdscript_compiler.cpp:2562 @ _populate_class_members()

I tried to extend other classes, such as Object, Resource, Timer, Node, but none of which cause this issue. Since no other classes inherit Time, I cannot try with those.
Images

Steps to reproduce
Script a (only saved in file system):
extends Time
class_name c

Script b (attached to scene or autoload):
extends Node2D
var v = c

Minimal reproduction project
godot.zip

Tested it in v4.2.dev.custom_build [fe5b1c8d4], and this does not happen.

Tested in v4.2.dev.custom_build [fe5b1c8d4], and the issue is still occurring.


fix shared: warning: unqualified call to std::move

Sorry, our scripts screw up the PR. It was merged at 895dad95dc648abb02488229b48fdde70b5eec16 somehow without any notes that you are the author.
We'll double check our scripts to avoid that happening again.


Datetime default fix (fixes 126 & 175)

fix for issues 126 & 175, making default value compliant with MySQL datetime range and supporting SQL Modes NO_ZERO_DATE=1, NO_ZERO_IN_DATE=1, and ALLOW_INVALID_DATES=0

Verified that @bilsalak has signed the CLA. Thanks for the pull request!

 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.

 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.


X11 crash with Linux 4.4

Describe the bug
When enabling the 4.4 kernel, X11 does not start.
Jan 17 00:41:57 gaming systemd[1]: display-manager.service: Scheduled restart job, restart counter is at 2.
Jan 17 00:41:57 gaming systemd[1]: Stopped X11 Server.
Jan 17 00:41:57 gaming systemd[1]: Starting X11 Server...
Jan 17 00:41:58 gaming systemd[1]: Started X11 Server.
Jan 17 00:41:58 gaming kernel: thermal LNXTHERM:00: registered as thermal_zone1
Jan 17 00:41:58 gaming kernel: ACPI: Thermal Zone [TZ10] (17 C)
Jan 17 00:41:58 gaming kernel: thermal LNXTHERM:01: registered as thermal_zone2
Jan 17 00:41:58 gaming kernel: ACPI: Thermal Zone [TZ00] (28 C)
Jan 17 00:41:58 gaming systemd[1]: display-manager.service: Main process exited, code=exited, status=1/FAILURE
Jan 17 00:41:58 gaming systemd[1]: display-manager.service: Failed with result 'exit-code'.
Jan 17 00:41:58 gaming yy8j672vh20dgxbd8mmzzrc8p8zdzik7-merge-syncthing-config[1439]: curl: (7) Failed to connect to <IP_ADDRESS> port 8384: Connection refused
Jan 17 00:41:58 gaming systemd[1]: display-manager.service: Scheduled restart job, restart counter is at 3.
Jan 17 00:41:58 gaming systemd[1]: Stopped X11 Server.
Jan 17 00:41:58 gaming systemd[1]: display-manager.service: Start request repeated too quickly.
Jan 17 00:41:58 gaming systemd[1]: display-manager.service: Failed with result 'exit-code'.
Jan 17 00:41:58 gaming systemd[1]: Failed to start X11 Server.
Jan 17 00:41:58 gaming systemd[1]: display-manager.service: Triggering OnFailure= dependencies.
Jan 17 00:41:58 gaming systemd[1]: Starting Terminate Plymouth Boot Screen...
Jan 17 00:41:58 gaming systemd[1]: plymouth-quit.service: Succeeded.
Jan 17 00:41:58 gaming systemd[1]: Finished Terminate Plymouth Boot Screen.

To Reproduce
Steps to reproduce the behavior:
boot.kernelPackages = pkgs.linuxPackages_4_4;
Expected behavior
X11 starts as with any other kernel version. Maybe we should remove it when it's broken.
Additional context
Pantheon Desktop
Full config.: https://codeberg.org/davidak/nixos-config/src/commit/26ba1313d71ee74b71058e5d9a472078583b8ccb/machines/gaming/configuration.nix (with some changes)
Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
I can't since it don't boot. But the NixOS version was 20.09.2624.1eff582e7ea.
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

4.4 will be EOL ~2 years from now. But I don't think there is any harm in keeping it, since linuxPackages defaults to version 5.4? Would be good to know what exactly breaks though.

4.4 will be EOL ~2 years from now. But I don't think there is any harm in keeping it, since linuxPackages defaults to version 5.4? Would be good to know what exactly breaks though.

Can you paste the X server logs? (I don't know offhand where these are stored, but a startx as root should in any case display useful information on the console.)

Can you paste the X server logs? (I don't know offhand where these are stored, but a startx as root should in any case display useful information on the console.)


affected/package: hub+kubernetes has random cgo_gotypes build path

What version of Go are you using (go version)?

$ go version
go version go1.21.3 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/abuild/.cache/go-build'
GOENV='/home/abuild/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/abuild/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/abuild/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/lib64/go/1.21'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='local'
GOTOOLDIR='/usr/lib64/go/1.21/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.21.3'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/dev/null'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2297302055=/tmp/go-build -gno-record-gcc-switches'

What did you do?

I did a double-build of hub and kubernetes1.27 in openSUSE.
# on Debian or openSUSE
osc co openSUSE:Factory/hub ; cd $_
for N in 1 2 ; do
    osc build --clean --nopreinstallimage --keep-pkg=RPMS.$N --noservice standard
    unrpm RPMS.$N/hub-2*.x86_64.rpm
    strings usr/bin/hub > $N.strings
done
diff -u {1,2}.strings

What did you expect to see?
two identical results
What did you see instead?
strings of the produced hub binary varied thusly:
 /usr/lib64/go/1.21/src/net/tcpsockopt_unix.go
 /usr/lib64/go/1.21/src/net/udpsock_posix.go
 /usr/lib64/go/1.21/src/net/unixsock_posix.go
-/tmp/go-build1489893222/b079/_cgo_gotypes.go
+/tmp/go-build4283137480/b079/_cgo_gotypes.go
 /usr/lib64/go/1.21/src/net/cgo_unix_cgo.go
 /usr/lib64/go/1.21/src/crypto/des/block.go

This was initially reported in https://github.com/kubernetes/kubernetes/issues/110928

osc build is not part of the Go project. Can you reproduce this problem using go build?

I made a more simplified reproducer with hub-2.14.2:
export GO111MODULE=on
for i in 1 2 ; do
  rm -rf ~/.cache/go-build
  go build -mod=vendor -gcflags 'all=-trimpath' -o bin/hub
  md5sum bin/hub
done

Both the -trimpath and removal of ~/.cache/go-build are required to trigger the issue.

Why are you using -gcflags=all=-trimpath instead of the -trimpath build flag?

It comes from https://github.com/mislav/hub/blob/5c547ed804368763064e51f3990851e267e88edd/Makefile#L11
from https://github.com/mislav/hub/commit/39e1523442fcbca12843280d11fe7e9b5b965247 referencing #16860
Also https://github.com/kubernetes/kubernetes/blob/5ce0bd95cc6e6cf0333f6e58623344d9562ba7e2/hack/lib/golang.sh#L877

also https://github.com/kubernetes/kubernetes/commit/bf27cad2561f1dd3370ddc1c96a904526a2ec8b0 has some insight.

I did a quick re-test and both
for i in 1 2 ; do rm -rf ~/.cache/go-build ; go build -mod=vendor -gcflags '-trimpath' -o bin/hub && md5sum bin/hub ; done

and
for i in 1 2 ; do rm -rf ~/.cache/go-build ; go build -mod=vendor '-trimpath' -o bin/hub && md5sum bin/hub ; done

would produce bit-identical results.
What does the all= do to not cover the random /tmp/go-build4283137480/b079/_cgo_gotypes.go path?

@bmwiedemann, the -gcflags flag specifies flags to be passed to the compiler (cmd/compile, formerly known as gc).
Those flags necessarily do not affect the output of the C compiler or linker or the cgo command. One of those is likely where that path is coming from.
In general the -gcflags flags are “you break it, you bought it”. To build reproducible binaries using go build, you need to pass the -trimpath flag to the go command instead.

Those flags necessarily do not affect the output of the C compiler or linker or the cgo command. One of those is likely where that path is coming from.

For me, this does not yet explain, why this helps for reproducibility:
- -gcflags 'all=-trimpath'
+ -gcflags -trimpath '

We are still only passing it to the go-compiler, so this issue should not be from the C compiler or linker?
If we assume, only go -trimpath is the right way,
for hub the patch is simple, but for kubernetes rather not so much. Maybe you could work with them on  kubernetes/kubernetes#110928?

Another observation: just by dropping the all=-trimpath it becomes reproducible (when re-building in the same path).
This seems to contradict your explanation.

closing as not an issue in the go toolchain

@bmwiedemann, the -trimpath flag supported by cmd/compile requires a prefix argument (see https://pkg.go.dev/cmd/compile). So probably setting -gcflags 'all=-trimpath' is actually undoing whatever -trimpath effects cmd/go itself is actually setting on the command line for the go build invocation.
At any rate, the conclusion here is the same either way: if you want reproducible binaries, you need to pass the -trimpath flag to cmd/go itself, not to the compiler via -gcflags.

I started digging here, and it seems like -trimpath should be much simpler BUT... the semantic is different.
-gcflags 'all=-trimpath=$(pwd)' converts "/home/thockin/src/kube/pkg/foo/bar.go" into "pkg/foo/bar.go", but -trimpath produces "k8s.io/kubernetes/pkg/foo/bar.go".  One of these is file path, one is a module.  So now there are tools which fail to find the file.
Is there a simple way to convert a module path to a file path ?  It looks like -trimpath doesn't take an arg.

@thockin, binaries built with -trimpath from modules fundamentally cannot embed file paths for modules. The file paths would have to be relative, but there is no one consistent thing they could all be relative to. (It can't be “the module's root directory”, because not all inputs to the build are found in the same module — some of them are from $(go env GOROOT)/src, and in the general case some are from various subdirectories of $(go env GOMODCACHE).)
Instead, -trimpath records the paths as the package import path followed by the filename within the package directory.
You can get the file path for a give package import path using go list -json=ImportPath,Dir, although bear in mind that the ImportPath field is unfortunately overloaded to include more than just the import path. (I can't find a proposal to fix that at the moment, so I'm filing a new one now.)

It's unfortunate - we vendor everything, so we COULD resolve to file paths.  It works the way we want (mostly) with -gcflags.
So right now I am hunting down the places where we get filenames which (after this change) are not actual paths, and seeing if/how to fix those.


Dust templates are inconsistently cached when running locally

./localdev.js run zen watches for changes in dust files, and restarts the cp-zen-platform processes to make the new changes be picked up. Despite this, you sometimes get the new template, sometimes get the old one.
I think this may have something to do with the fact that multiple processes (one for each thread/core) for each service, and perhaps only one gets restarted.
The ideal scenario is to disabled dustjs's caching and get rid of the file watcher.

You mean deactivate caching for dev?


LCFS - Compliance reporting index

Description: Main index page for the Compliance reporting navigation tab.

As a BCeID user this page provides a table of existing reports and the ability to create new reports for my organization.
As an IDIR user this page provides a table of reports for all organizations. There is an additional column for 'Organization'.
For all users the table use the AG Grid component to provide filtering and sorting. Filters and sorting are saved on a session basis when leaving and returning to this page.

The page has the standard header, footer, breadcrumb and H1 title "Compliance reporting"
BCeID page:
There is a button "New compliance report" to create a new report for the compliance periods starting 2024 through to one year in the future of the current compliance year. Only one report can be created for each compliance year. If a report already exists for all available years the button can be disabled with hover text "All compliance reports already created".
There is a 4 column table to display each report. Each row is clickable to open the report.
The four columns are:
1. Compliance period the compliance year of the report
2. Type tracks the current progression of the report. Only one of these report types can be displayed for each compliance year. (MVP1 will start at 'Compliance report' but the final product will have reports going through this possible progression):

Quarter 1 report
Quarter 2 report
Quarter 3 report
Compliance report
Supplemental report

3. Status each report will be in one of these statuses:

Draft
Submitted
Assessed
Reassessed

4. Last status update the date/time the last action occurred (last draft saved, date submitted to government, date assessed or reassessed by government.
IDIR Page:
There is a 5 column table to display each report. Each row is clickable to open the report.
The five columns are:
1. Compliance period (same as BCeID page)
2. Organization (IDIR version only) displays legal name of the organization of the report
3. Type (same as BCeID page)
4. Status (IDIR does not see reports in Draft status, IDIR has an additional status for Recommended, Recommended status appear as Submitted for BCeID users)
Each report will be in one of these statuses:

Submitted
Recommended by analyst
Recommended by manager
Assessed
Reassessed

5. Last status update  (same as BCeID page)
Wireframe:

BCeID https://preview.uxpin.com/da68049c0af15edd7ce4e47e4bee431fed40c30d#/pages/173338849?mode=m
IDIR https://preview.uxpin.com/da68049c0af15edd7ce4e47e4bee431fed40c30d#/pages/174087278?mode=m

Acceptance Criteria:

BCeID User:

Given I am a BCeID user, when I access the Compliance reporting page, then I see a table with four columns: Compliance period, Type, Status, and Last status update.
Given I am a BCeID user, when I access the Compliance reporting page, then I see a button labeled "New compliance report" which allows me to create a new report for compliance periods starting 2024 through to one year in the future of the current compliance year, provided that no report exists for the selected period.
Given I am a BCeID user, when I click on a row in the table, then the corresponding report opens.

IDIR User:

Given I am an IDIR user, when I access the Compliance reporting page, then I see a table with five columns: Compliance period, Organization, Type, Status, and Last status update.
Given I am an IDIR user, when I access the Compliance reporting page, then I see reports for all organizations.
Given I am an IDIR user, when I click on a row in the table, then the corresponding report opens.

General:

Given I am any user, when I apply filters and sorting on the table, then these preferences are saved for the session.
Given I am any user, when I leave and return to the page, then my previously set filters and sorting are maintained.
Given I am any user, when I view the page, then it has the standard header, footer, breadcrumb, and H1 title "Compliance reporting."
Given I am any user, when I view the page, then it has the Last Updated date/time stamps as PST/PDT

Development Checklist:

Setup:

A. Implement the main index page under the Compliance reporting navigation tab.
B. Integrate the AG Grid component for the table to provide filtering and sorting functionality.
C. Ensure session-based storage for filters and sorting preferences.

BCeID Page:

D. Add a button "New compliance report" that allows creating new reports for compliance periods starting 2024 through to one year in the future of the current compliance year, with logic to disable the button if all reports are already created.
E. Develop a 4-column table displaying Compliance period, Type, Status, and Last status update, ensuring each row is clickable to open the report.
E2. Ensure that BCeID users  see reports in Recommended status as still being in Submitted status.

IDIR Page:

F. Develop a 5-column table displaying Compliance period, Organization, Type, Status, and Last status update, ensuring each row is clickable to open the report.
G. Ensure that IDIR users do not see reports in Draft status and have an additional status for Recommended.

Styling and Wireframe:

H. Implement standard header, footer, breadcrumb, and H1 title "Compliance reporting."
I. Follow the provided wireframes for BCeID and IDIR pages for layout and design consistency.

Testing:

J. Conduct testing to verify that the table displays correctly for both BCeID and IDIR users.
K. Validate that filters and sorting preferences are saved and maintained across sessions.
L. Test the functionality of the "New compliance report" button, ensuring it behaves as expected based on the criteria outlined.

Notes:

Ensure comprehensive testing for both user roles to validate that all acceptance criteria are met.
Review and refine the user interface based on feedback from stakeholders.

There is functionality around the New report button and status display that likely can't be tested or even built until we start saving reports.


feat: Add should upload event support

Summary
Added 'shoulduploadEvent' to MPEvents and CommerceEvents to support Upload Bypass feature.

if you two could pull and confirm it works on Android and Web I'd appreciate. I was able to run it but it seems to be running a cached version without my example app changes. Figured out how to clear the cache on iOS but not those two.


Weirdness with rendering Erector::Widgets from Views in Rails 3.1

I'm using Rails 3.1 and am getting stuck on using Rails helpers (link_to, routes, etc).  I get this error:
class Something < Erector::Widget
  def content
    link_to 'joe'
  end
end

# Used in Haml views like:
= Something.new.to_html

undefined method `link_to' for nil:NilClass
/bundler/ruby/1.9.1/bundler/gems/erector-cb01e061f9ed/lib/erector/rails3.rb:51:in `link_to'

One problem with doing
= Something.new.to_html(:parent => self)

in views:
The behavior of passing blocks to link_to and form_tag changes.
class Something < Erector::Widget
  def content
    form_tag do
      p 'hi'
    end
  end
end

This will generate "
hi
<form> ... </form>"

This picture illustrates what I'm seeing.  The erector documentation doesn't seem to say how you are supposed to render an Erector::Widget from a Rails view, as far as I can tell (only from a controller).
https://img.skitch.com/20120103-g1ssjetqsxwp1m26pwj1id1pd7.png

I've created a Rails app that demonstrates the problem.  https://github.com/Tanga/rails-helper-benchmark  It tests both Rails 3 and 3.1 (master branch is 3.1, rails3 is 3.0).

BTW, the problem happens with Rails 3.0 as well, not just 3.1.


Failed to establish a new connection: [Errno -3]

On live bot crashes with the following error does this mean that API has a max limit of request?
2018-07-12 02:35:05,966 - ERROR - bitmex_bot - HTTPSConnectionPool(host='www.bitmex.com', port=443): Max retries exceeded with url: /api/v1/trade/bucketed?binSize=1h&partial=false&symbol=XBT&count=400&reverse=true (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7464da90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)) 2018-07-12 02:51:46,073 - INFO - bitmex_bot - Shutting down. All open orders will be cancelled. 2018-07-12 02:51:46,074 - INFO - bitmex_bot - Resetting current position. Canceling all existing orders. 2018-07-12 02:51:46,075 - INFO - bitmex - sending req to https://www.bitmex.com/api/v1/order: {"filter": "{\"ordStatus.isTerminated\": false, \"symbol\": \"XBTUSD\"}", "count": 500} 2018-07-12 02:51:47,767 - INFO - bitmex_bot - Canceling: Sell 50 @ 6307.0 2018-07-12 02:51:47,768 - INFO - bitmex_bot - Canceling: Sell 50 @ 6415.0 2018-07-12 02:51:47,769 - INFO - bitmex - sending req to https://www.bitmex.com/api/v1/order: {"orderID": ["1686e779-d10e-aa28-24ec-7e9251a79e0c", "1147feea-a9de-205b-54de-afe467af2e6f"]}

okay got it we can use the bulk order in this let me do this @cofibit


Something went wrong when I want to ask question

Extension
https://www.raycast.com/abielzulio/chatgpt
Description

Error:
Error: Request failed with status code 401

hs.exports:createError.js:16:14
bs.exports:ask.js:2:7730
IncomingMessage.<anonymous>:ask.js:7:11807
IncomingMessage.emit:node:events:525:35

Steps To Reproduce
No response
Current Behaviour

Expected Behaviour
No response

Solved by entering different api key


Speed test for AES-XTS got one 80% regression on aarch64

With latest code from OpenSSL master branch, the aes-xts speed benchmark value got one regression about 80%(479630.68k B/s ->85688.32k B/s) on aarch64 campred with the older version before 4b51903d8681c7fd429c566548529d5753e24f47.
Reproduce commands:
./config -Werror --prefix= dst_dictory
make clean;
make
make install_sw
openssl speed -evp aes-128-xts

Confirmed it has been fixed by the PR https://github.com/openssl/openssl/pull/13133#event-3898232531


Adding a short name for spark-csv pacakge

Users can now use spark-csv with following simpler query:
CREATE TEMPORARY TABLE myTable
USING csv OPTIONS (path "/tmp/data", header "true")

No need to specify "com.databricks.spark.csv" as data source name
closes Issue #159

ping @rxin

Looks like this will break compatibility with pre-1.5.0 versions of Spark:
[info] Exception encountered when attempting to run a suite with class name: com.databricks.spark.csv.CsvSuite *** ABORTED ***
[info]   java.lang.NoClassDefFoundError: org/apache/spark/sql/sources/DataSourceRegister
[info]   at java.lang.ClassLoader.defineClass1(Native Method)
[info]   at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
[info]   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
[info]   at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
[info]   at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
[info]   at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
[info]   at java.security.AccessController.doPrivileged(Native Method)
[info]   at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
[info]   at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
[info]   at java.lang.ClassLoader.loadClass(ClassLoader.java:316)

Ah, not too unexpected. Suggestions?

Does this only break source compatibility, or does it also break binary
compatibility?
On Sunday, October 4, 2015, Hossein Falaki<EMAIL_ADDRESS>wrote:

Ah, not too unexpected. Suggestions?
—
Reply to this email directly or view it on GitHub
https://github.com/databricks/spark-csv/pull/160#issuecomment-145387420.

@rxin, it depends on what you mean exactly, but I think this is a binary compatibility issue: the DataSourceRegister trait / interface is not present in pre-1.5.0 versions of Spark, so this package's DefaultSource is going to fail during classloading on pre-1.5 versions of Spark. It's also a source-compatibility issue in the sense that this library itself will no longer be compilable from source when using earlier versions of Spark as the compile-time dependencies, but that's only an issue which affects spark-csv developers, not users.
I don't think that there are any easy reflection tricks to work around this. If we're open to crazy hacks, we might be able to just copy the DataSourceRegister classes into this project and use some classloader tricks to fall back on loading those when we're running on pre-1.5.0 Spark, but this seems brittle and overly-complicated.
The easiest approach is probably to release a new spark-csv version which only supports 1.5.0+. If we do this, there is a question of whether we want to backport bugfix patches to pre 1.5-compatible versions, etc. Let's discuss more later.

Could I leave a comment? I recently worked around elasticsearch-hadoop (https://github.com/elastic/elasticsearch-hadoop) and I saw they had the similar issue and they resolved by decoupling two DefaultSource (because the DefaultSource for Spark 1.5 is lazily loaded). I think this can be done in a similar way like they did.
They made a DefaultSource15 like this.
https://github.com/elastic/elasticsearch-hadoop/blob/master/spark/sql-13/src/main/scala/org/elasticsearch/spark/sql/DefaultSource15.scala
and support different filters (for upper-versions) like this.
https://github.com/elastic/elasticsearch-hadoop/blob/master/spark/sql-13/src/main/scala/org/elasticsearch/spark/sql/DefaultSource.scala

@HyukjinKwon, thanks a bunch for that link; that's a really clever trick. I'll try that approach in spark-redshift, since it seem easier than what I had proposed over there: https://github.com/databricks/spark-redshift/pull/105

@HyukjinKwon Thanks for the suggestion. Will try it.

@JoshRosen please take a look at this. It seems we got it passing thanks to @HyukjinKwon suggestion.

Current coverage is 85.51%

Merging #160 into master will increase coverage by +0.03% as of d83b774

@@            master    #160   diff @@
======================================
  Files           10      11     +1
  Stmts          489     490     +1
  Branches       147     147
  Methods          0       0
======================================
+ Hit            418     419     +1
  Partial          0       0
  Missed          71      71

Review entire Coverage Diff as of d83b774

Powered by Codecov. Updated on successful CI builds.

Cool!


Toogling between Fav and All posts

Is your feature request related to a problem? Please describe.
The favourite and all post button is not looking good and is at very center at start.
Currently if new user comes, he/she may doesn't know that whether on clicking fav button the all posts button comes or not, etc
Describe the solution you'd like
Make it in a sequential and good looking manner, I suppose to have a toggle button at RIGHT CORNER. It will toggle between my fav and all posts.
Additional context
Please assign me this issue under GSSoC21'

Go ahead @AmeyaJain-25


Implement transparent request decompression

Request decompression is not officially part of the standard but many
mobile implementations choose to do it because payloads tend to be quite
large on clients and servers these days are easily made to support it.
This diff simply makes it so that Stetho will show the decompressed
payload, but still report the compressed payloads size to the UI.
Note that this only affects stetho-urlconnection and stetho-okhttp.
Other modules must manually implement this as it is not possible given
the existing API contract to do it transparently.
Closes #111

The only thing that is kind of dubious about this is the fact that NetworkEventReporter#body() has now changed. It is no longer the faithful body, I wonder if it is worth adding a decompressedBody() function so that there will be no change to callers who may be depending on the fact that body is the compressed version

Discussed out of band re #body changing.  It remains the same from Stetho's point of view and only changes if the caller chooses for it to change, as is the case with only stetho-urlconnection and stetho-okhttp


MudTable: Make RowsPerPage Two-Way bindable

Is your feature request related to a problem? Please describe.
Users would like to save how many rows per page. When rows per page is changed, I would like to get the value and persist it.
Describe the solution you'd like
In MudTableBase.cs
        [Parameter]
        public int RowsPerPage
        {
            get => _rowsPerPage ?? 10;
            set
            {
                if (_rowsPerPage == null)
                    SetRowsPerPage(value);
            }
        }

        [Parameter]
        public EventCallback<int> RowsPerPageChanged {get;set;}  //add

        public void SetRowsPerPage(int size)
        {
            if (_rowsPerPage == size)
                return;
            _rowsPerPage = size;
            CurrentPage = 0;
            StateHasChanged();
           RowsPerPageChanged.InvokeAsync(_rowsPerPage); //add
            if (_isFirstRendered)
                InvokeServerLoadFunc();
        }

Describe alternatives you've considered
Create a separate UI, disconnected from the table, to allow user to control default table row count values. Seems counter-intuitive.

PR is merged. Thanks for your efforts 🙂


Documentation

Documentation for IO commands and functions.
This will come under https://theiolang.github.io/docs and files will be located in the docs/* folder.
@JBYT27 can do this when IO and site is complete - I don't know the language

Okay! Thanks! Let me know where to include this, and I'll put it in :)

Ok. Not at all ready for it yet!
Just adding the stuff for the project board.

Okay! 👍

I've been thinking about the documentation, and it'd probably be better in a separate repo because then we can use a documentation framework like Sphinx(hopefully not Sphinx though).
How do you want the documentation to look: - A few examples

Example
Type
Runnable on GH Pages
File type
Easy to use(1-10)

Python docs
Sphinx
Yes
.rst
1

Taterzens docs
Material for MkDocs
Yes
.md
7

Replit docs
Custom
No - Replit
.md
6

MkDocs docs
MkDocs
Yes
.md
7

1 is hardest, 10 is easiest

I would suggest going with Material for MkDocs but you should choose.

Yeah, I think MkDocs is the best as well. Thanks for letting me know!

I'll create a basic boilerplate in a repl then you can add whatever should go there when it's ready.


Review error handling

Review code for error handling prior to 0.1 release. Refactor any uses of unwrap/expect that could reasonably fail in the wild. Related to #22, but this is more general.

Some systems that need some work:

Shader loading
Input handling WRT clipboard

Some systems that need some work:

Shader loading
Input handling WRT clipboard

Resolved in d4e20a4 and 7c794ad.


#error: ValidationError: 1 validation error for SQLDatabaseToolkit

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
model = genai.GenerativeModel(model_name='gemini-pro')
#llm = OpenAI(temperature=0)
mydb = SQLDatabase.from_uri('sqlite:///test.db')
llm = {'model': model}
toolkit=SQLDatabaseToolkit(db=mydb)
agent_executer = create_sql_agent(
llm=llm,
toolkit=toolkit,
handle_parsing_error=True,
verbose=True
)
Error Message and Stack Trace (if applicable)
No response
Description
Getting same issue ,
in my case issue is not getting resolved , is it because i am using gemini or different model from OpenAI, even i have followed all the recomendations from the chat , but still it is same, how to resolve the same issue using gemini pro model?
genai.configure(api_key='my Api key')
System Info
import streamlit as st
import pandas as pd
import google.generativeai as genai
from langchain_community.agent_toolkits import SQLDatabaseToolkit
from langchain.agents.agent_types import AgentType
from langchain.sql_database import SQLDatabase
i have used above imoorts

I am having the same issue using toolkit = SQLDatabaseToolkit(db=db, llm=GenerativeModel(             "gemini-1.0-pro",             generation_config={"temperature": 0},         ))

I am facing the same issue, Is it supported or you guys are working on the updates?


Exception throw when calling get on ManagementSystem

mgmt = titanGraph.getManagementSystem()
mgmt.get("storage.backend")

Throw
play.api.UnexpectedException: Unexpected exception[IllegalArgumentException: Can only accept global options: root.storage.hostname]
	at play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply(ApplicationProvider.scala:166) ~[play_2.11-2.3.7.jar:2.3.7]
	at play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1$$anonfun$1.apply(ApplicationProvider.scala:130) ~[play_2.11-2.3.7.jar:2.3.7]
	at scala.Option.map(Option.scala:145) ~[scala-library-2.11.4.jar:na]
	at play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1.apply(ApplicationProvider.scala:130) ~[play_2.11-2.3.7.jar:2.3.7]
	at play.core.ReloadableApplication$$anonfun$get$1$$anonfun$apply$1.apply(ApplicationProvider.scala:128) ~[play_2.11-2.3.7.jar:2.3.7]
Caused by: java.lang.IllegalArgumentException: Can only accept global options: root.storage.hostname
	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:148) ~[guava-16.0.1.jar:na]
	at com.thinkaurelius.titan.diskstorage.configuration.BasicConfiguration.verifyOption(BasicConfiguration.java:41) ~[titan-core-0.5.2.jar:na]
	at com.thinkaurelius.titan.diskstorage.configuration.BasicConfiguration.has(BasicConfiguration.java:48) ~[titan-core-0.5.2.jar:na]
	at com.thinkaurelius.titan.diskstorage.configuration.UserModifiableConfiguration.get(UserModifiableConfiguration.java:59) ~[titan-core-0.5.2.jar:na]
	at com.thinkaurelius.titan.graphdb.database.management.ManagementSystem.get(ManagementSystem.java:1111) ~[titan-core-0.5.2.jar:na]

I was expecting the value I have set in the configuration, is it normal?

I'm getting the same thing, haven't figured it out yet...

@crakjie @vijayrudraraju the ManagementSystem interface currently only talks to the storage backend.  It does not consider the local configuration file.  Config options marked LOCAL in the manual's config option reference live only in the local configuration file and will effectively be invisible to ManagementSystem.  storage.backend is LOCAL.  That's why this IAE is thrown.
It would be reasonably straightforward to tweak ManagementSystem to allow reading LOCAL config options, but writing would be trickier.  Titan currently treats the config file as read-only.  There might be a case for doing both read & write functionality for LOCAL options, but I'm concerned that implementing read but not write would just lead to more surprises in the config interface (and option mutability levels cause quite a bit of that already).  That +read but -write asymmetry is kind of justifiable for FIXED options just because of the name of that mutability level, but with LOCAL, it would definitely be surprising to have an exception thrown when attempting to set a new value.  Even if we implemented r/w for FIXED options, they'd still be kind of odd, since they're the only options that are scoped to a particular copy of a config file on a filesystem instead of the shared storage backend.
In summary:

I don't think this is a bug
We could consider adding R/W for LOCAL options, but that's probably better handled in a different issue (or even better, a PR)


When using ASP.NET Core integration, ObjectDisposedException is thrown when the request is cancelled

Summary
When using ASP.NET Core integration, if a request thrown to an HttpTrigger developed is cancelled by the client side, an ObjectDisposedException occurs. The stack trace is as follows. This does not occur when ASP.NET Core integration is not used.
Stack trace
System.Private.CoreLib: Exception while executing function: Functions.Http_Sample. System.Private.CoreLib: Result: Failure
Exception: System.ObjectDisposedException: Request has finished and HttpContext disposed.
 Object name: 'HttpContext'.
    at Microsoft.AspNetCore.Http.DefaultHttpContext.ThrowContextDisposed()
    at Microsoft.AspNetCore.Http.DefaultHttpContext.get_Features()
    at Microsoft.AspNetCore.Routing.RoutingHttpContextExtensions.GetRouteData(HttpContext httpContext)
    at Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore.FunctionsHttpProxyingMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a\_work\1\s\extensions\Worker.Extensions.Http.AspNetCore\src\FunctionsMiddleware\FunctionsHttpProxyingMiddleware.cs:line 52
    at Microsoft.Azure.Functions.Worker.FunctionsApplication.InvokeFunctionAsync(FunctionContext context) in D:\a\_work\1\s\src\DotNetWorker.Core\FunctionsApplication.cs:line 77
    at Microsoft.Azure.Functions.Worker.Handlers.InvocationHandler.InvokeAsync(InvocationRequest request) in D:\a\_work\1\s\src\DotNetWorker.Grpc\Handlers\InvocationHandler.cs:line 88
Stack:    at Microsoft.AspNetCore.Http.DefaultHttpContext.ThrowContextDisposed()
    at Microsoft.AspNetCore.Http.DefaultHttpContext.get_Features()
    at Microsoft.AspNetCore.Routing.RoutingHttpContextExtensions.GetRouteData(HttpContext httpContext)
    at Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore.FunctionsHttpProxyingMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a\_work\1\s\extensions\Worker.Extensions.Http.AspNetCore\src\FunctionsMiddleware\FunctionsHttpProxyingMiddleware.cs:line 52
    at Microsoft.Azure.Functions.Worker.FunctionsApplication.InvokeFunctionAsync(FunctionContext context) in D:\a\_work\1\s\src\DotNetWorker.Core\FunctionsApplication.cs:line 77
    at Microsoft.Azure.Functions.Worker.Handlers.InvocationHandler.InvokeAsync(InvocationRequest request) in D:\a\_work\1\s\src\DotNetWorker.Grpc\Handlers\InvocationHandler.cs:line 88.

Applicable section

https://github.com/Azure/azure-functions-dotnet-worker/blob/40d73ee8107eb48c63bcaef868522fcbcaf0d549/extensions/Worker.Extensions.Http.AspNetCore/src/FunctionsMiddleware/FunctionsHttpProxyingMiddleware.cs#L52C100-L52C100

Excpected behavior

Terminate the request appropriately without causing an ObjectDisposedException.

Reproduction code

HttpContextDisposedSample.zip

using Microsoft.Extensions.Hosting;

var host
    = new HostBuilder()
    .ConfigureFunctionsWebApplication()
    .Build();
host.Run();

using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.Functions.Worker;
using Microsoft.Extensions.Logging;

namespace UsingAspNetCoreIntegration;

public class Http_Sample
{
    private readonly ILogger _logger;

    public Http_Sample(ILoggerFactory loggerFactory)
    {
        _logger = loggerFactory.CreateLogger<Http_Sample>();
    }

    [Function(nameof(Http_Sample))]
    public async Task<IActionResult> EntryPoint(
        [HttpTrigger(AuthorizationLevel.Function, "get", Route = "sample")] HttpRequest request,
        FunctionContext context)
    {
        // note:
        //  - ObjectDisposedException is thrown when the request is cancelled.

        try
        {
            var delay = TimeSpan.FromSeconds(10);
            await Task.Delay(delay, context.CancellationToken);
            return new OkResult();
        }
        catch (Exception ex)
        {
            this._logger.LogWarning(ex, "Error occurred");
            return new StatusCodeResult(500);
        }
    }
}

Looking at our code, I believe the culprit is this: https://github.com/Azure/azure-functions-dotnet-worker/blob/main/extensions/Worker.Extensions.Http.AspNetCore/src/Coordinator/ContextReference.cs#L38
We are registering cancellation callbacks. I don't think we should be doing that. Our AspNetCore HTTP pipeline should not at any point manually handle the cancellation token. It should be entirely up to the customer to decide when, if, and how they observe that cancellation token. Anything we need to cleanup as part of cancellation should be done as the stack unwinds.
@satvu @brettsam

I am observing this behavior independently of any cancellation I can see while debugging simply by calling
return new OkObjectResult(message);
Where message is a POCO. This only happens in the deployed version of the function, never with the local, and the behavior is 100% with the particular function. Everything works right up until the call to return.

Any ETA when is this going to be fixed?

@douglasware Can you share a minimal repro (preferably GitHub repo link)? For the deployed version, could you also share your app name privately using these instructions. Additionally, what core-tools version are you using locally to test? If the cause is separate from the original post, we will open a new issue with more details to track. Thanks!
@aivdov Could you share a bit more about your scenario? A minimal repro and a description of the behavior would help with investigation. Thanks!

Additionally - @xin9le, @douglasware, @aivdov are errors occurring for every invocation or intermittently?

@satvu
Based on my experience using ASP.NET Core Integration in a production environment, it is only "occasionally detected". While it is not catastrophic, I do recognize that it is an exception that should not normally occur (= should not be detected).

Update: the investigation for this issue has revealed a larger problem that would require a design review and subsequent refactoring. We will skip the temporary mitigation as it only prevents some scenarios of this error message and introduces new behaviors that differ from the desired end result of a long-term fix.
To follow progress on long-term fix items, you can follow #2180 and #2189.

Thank you for your investigation. I understand that handling cancellations can be a challenging issue, but I also look forward to seeing improvements.

+1

+1

I'm still getting this error on azure
Result: Failure Exception: System.ObjectDisposedException: Request has finished and HttpContext disposed. Object name: 'HttpContext'. at Microsoft.AspNetCore.Http.DefaultHttpContext.ThrowContextDisposed() at Microsoft.AspNetCore.Http.DefaultHttpContext.get_Features() at Microsoft.AspNetCore.Routing.RoutingHttpContextExtensions.GetRouteData(HttpContext httpContext) at Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore.FunctionsHttpProxyingMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a\_work\1\s\extensions\Worker.Extensions.Http.AspNetCore\src\FunctionsMiddleware\FunctionsHttpProxyingMiddleware.cs:line 54 at Microsoft.Azure.Functions.Worker.FunctionsApplication.InvokeFunctionAsync(FunctionContext context) in D:\a\_work\1\s\src\DotNetWorker.Core\FunctionsApplication.cs:line 77 at Microsoft.Azure.Functions.Worker.Handlers.InvocationHandler.InvokeAsync(InvocationRequest request) in D:\a\_work\1\s\src\DotNetWorker.Grpc\Handlers\InvocationHandler.cs:line 88 Stack: at Microsoft.AspNetCore.Http.DefaultHttpContext.ThrowContextDisposed() at Microsoft.AspNetCore.Http.DefaultHttpContext.get_Features() at Microsoft.AspNetCore.Routing.RoutingHttpContextExtensions.GetRouteData(HttpContext httpContext) at Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore.FunctionsHttpProxyingMiddleware.Invoke(FunctionContext context, FunctionExecutionDelegate next) in D:\a\_work\1\s\extensions\Worker.Extensions.Http.AspNetCore\src\FunctionsMiddleware\FunctionsHttpProxyingMiddleware.cs:line 54 at Microsoft.Azure.Functions.Worker.FunctionsApplication.InvokeFunctionAsync(FunctionContext context) in D:\a\_work\1\s\src\DotNetWorker.Core\FunctionsApplication.cs:line 77 at Microsoft.Azure.Functions.Worker.Handlers.InvocationHandler.InvokeAsync(InvocationRequest request) in D:\a\_work\1\s\src\DotNetWorker.Grpc\Handlers\InvocationHandler.cs:line 88

We've made a lot of changes in this area in the past few months, including fixes in both the host and the extension package related to cancellation flow and error handling. I am unable to repro this error again with the original repro code provided (despite being able to previously) with the latest host version and extension package.
Will let the bot close this unless there are any additional reports/complaints with the latest bits.

@satvu
I extend my sincere gratitude for your prolonged assistance in this matter. In the production environment under my management, it appears that the detection of ObjectDisposedException has significantly decreased at present. I intend to update the NuGet Package to the latest version once again and observe the situation for a period of time.

@satvu
We updated Microsoft.Azure.Functions.Worker to v1.23.0 on 2024/08/16 and continued our service operations. However, it appears that the issue recurred once on 2024/08/22. We hope this information can serve as useful feedback.

My company is also running into this same issue, it started occurring after moving our azure function over to dotnet isolated on 9/13

@im-samz  - Wanted to tag you on this one. About to open a case here for a function in WestUS.


Neofetch replacing Screenfetch

Neofetch is quite customizable, and much faster than ScreenFetch. Have tried both and Neofetch is ahead by a decent margin.
See: Neofetch vs Screenfetch
Thoughts?
Thanks!

Yeah you are right, it is better. I will use it now for this kind of thing. 🙂


Refactor extension logic into purpose-specific components (part 2)

This is a follow up to https://github.com/sorbet/sorbet/pull/7046 focused on the "status provider" component:

Fix: filterUpdatesFromOldClients refactoring was flawed causing status change events to be ignored (e.g. status bar would not reflect current  Typing state). The new logic removes the method altogether and simplifies the flow significantly, making it far easier to debug.
Move serverStartus and lastError  props from SorbetStatusBarEntry to SorbetStatusProvider, as the former is intended to be a view-only component, and the latter should be the source of status information.
Reduce refresh rate for the status bar spinner from 100ms to 250ms (this is not an interactive component, so high refresh rate is not needed and it is wasteful).

Motivation

Fixes and code maintainability.
 If you close this PR and re-create it using a branch pushed directly to the sorbet/sorbet repo, your CI will start automatically.

@damolina-stripe heads up that you're still committing against your fork, which means that CI has not been kicked off. If you close this PR and re-create it using a branch pushed directly to the sorbet/sorbet repo, your CI will start automatically.

ACK - Moved to https://github.com/sorbet/sorbet/pull/7053


fix mat copy in ShapeContextDistanceExtractor

fixes #5643

@alalek seems like a problem on the build server?

Yes, build is restarted


Code-oss Crashes

Does this issue occur when all extensions are disabled?: Yes/No
yes

VS Code Version:  1.82.2
OS Version: Linux 6.6.15-amd64

Steps to Reproduce:

git clone git@github.com:yogeshojha/rengine.git
open the directory in vscode

Command Line Output:
code-oss --disable-extensions
[main 2024-06-02T21:38:38.705Z] update#setState disabled
[main 2024-06-02T21:38:38.717Z] update#ctor - updates are disabled as there is no update URL
[2245200:0602/163841.537351:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163841.542991:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163841.543200:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163841.543435:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163841.550736:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163842.190901:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163842.190953:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163842.190985:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163842.191005:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163842.192016:ERROR:check.cc(222)] Check failed: false.
[2245200:0602/163842.211927:ERROR:check.cc(222)] Check failed: false.
[main 2024-06-02T21:38:49.570Z] Extension host with pid 2245633 exited with code: 0, signal: unknown.
[main 2024-06-02T21:38:49.601Z] [UtilityProcess id: 2, type: fileWatcher, pid: 2245611]: crashed with code 15 and reason 'killed'
zsh: segmentation fault  code-oss --disable-extensions

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.89.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!


Support multi-line lambda functions which are valid before complete

Added tests that show original bug
A few other tests (like with other arguments) that might cause various solutions to get into trouble
Remove depreciated settings from config for vscode.

Codecov Report

Merging #103 (b8f0327) into master (b6416ea) will increase coverage by 0.30%.
The diff coverage is 95.87%.

@@            Coverage Diff             @@
##           master     #103      +/-   ##
==========================================
+ Coverage   96.94%   97.25%   +0.30%
==========================================
  Files          15       13       -2
  Lines        1212     1273      +61
==========================================
+ Hits         1175     1238      +63
+ Misses         37       35       -2

Flag
Coverage Δ

unittests
97.25% <95.87%> (+0.30%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

func_adl/object_stream.py
98.88% <ø> (ø)

func_adl/util_ast.py
94.96% <95.87%> (+2.98%)
:arrow_up:

func_adl/__init__.py

func_adl/ast/__init__.py

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


Documentation Update to v1.1.3

forceRefresh attribute information is missing from documentation. I believe forceRefresh attribute was added in msal 1.1.3

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

ID: 69b44d91-f31e-b934-dbb0-fc7e69954b44
Version Independent ID: 76a2ef76-270a-e6f9-d13a-88b04be315d7
Content: Initialize client applications (Microsoft Authentication Library for JavaScript) - Microsoft identity platform
Content Source: articles/active-directory/develop/msal-js-initializing-client-applications.md
Service: active-directory
Sub-service: develop
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

@dipesh-wadhwa Thanks for your feedback! We will investigate and update as appropriate.

Hello @dipesh-wadhwa i see you're referring to the option described here : https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL-JS-1.1.X#token-cache-use-forcerefresh-to-skip-cache
However this is for the request object. This is further described here : https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL.js-1.0.0-api-release#signing-in-and-getting-tokens-with-msaljs
In addition to that, there are additional parameters for the response object on the page linked above as well.
I'm currently engaging with some more members to determine if this makes sense to add to this page.
Thanks

@FrankHu-MSFT Yes I am aware that documentation on github page is up-to-date. But I feel it should be updated on docs.microsoft.com as well for consistency.

@dipesh-wadhwa, I agree with you that docs.microsoft.com should be updated with this information.
I have created a work item for myself to do this.
I won't be able to get to it until perhaps January due to other work in my queue and upcoming extended office leave.

#please-close


SentenceSplitter doesn't take care of excludedEmbedMetadataKeys

The current SentenceSplitter has some issues with excludedEmbedMetadataKeys. The TextNodes created after the split containing the whole content including all metadata entries as text.
I'm not fully sure how this is supposed to work, but my naive assumption would be that MetadataAwarTextSplitter should use node.getContent(MetadataMode.NONE) instead of node.getContent(MetadataMode.ALL)

Could you please add a test for the case? Thanks


High memory usage - labels layers with high max values

🐛 Bug
When viewing a labels layer with very high values (e.g. >10e7), there's a spike in memory usage (in 0.4.8rc6). This often crashes napari.
Presumably linked to #2723, this only happens when (I assume) the lookup isn't computed when the layer is loaded. If array[0] contains these high values, it works fine, but if not, the memory spike occurs when trying to view them (see example).

To Reproduce
Steps to reproduce the behavior:
This works fine
label_array = (5 * 10e7 * np.ones((2, 2, 2))).astype(np.uint32)
viewer = napari.view_labels(label_array)
napari.run()

This causes a 10GB spike in memory usage
label_array = (5 * 10e7 * np.ones((2, 2, 2))).astype(np.uint32)
label_array[0, :, :] = 0
viewer = napari.view_labels(label_array)
napari.run()

Environment
napari: 0.4.8rc6
Platform: Linux-4.18.2-041802-generic-x86_64-with-glibc2.10
System: Ubuntu 18.04.5 LTS
Python: 3.8.5 (default, Sep 4 2020, 07:30:14) [GCC 7.3.0]
Qt: 5.15.2
PySide2: 5.15.2
NumPy: 1.19.5
SciPy: 1.6.0
Dask: 2021.01.0
VisPy: 0.6.6

OpenGL:
- GL version: 4.6.0 NVIDIA 460.56
- MAX_TEXTURE_SIZE: 32768

Screens:
- screen 1: resolution 1920x1080, scale 1.0

Plugins:
- brainglobe-io: 0.0.2
- brainreg-segment: 0.2.7
- brainreg-standard: 0.0.2
- brainreg: 0.2.5.dev0+gd4960af.d20210310
- brainreg_standard: 0.2.5.dev0+gd4960af.d20210310
- cellfinder: 0.2.1
- console: 0.0.3
- ndtiffs: 0.1.1
- scikit-image: 0.4.8rc6
- svg: 0.1.4
- ```

sigh thanks @adamltyson! @DragaDoncila and I tried to account for this case, but it must have slipped through somehow.
The code logic is here
https://github.com/napari/napari/blob/5116021e1a1ea96176560f2880f1369134d4ba5b/napari/layers/labels/labels.py#L763-L776
basically, if we encounter a new value that is bigger than the lookup array, we set the lookup function again, and in theory it should go back to the old mode when it finds that value. I don't know why it's not doing so, but will investigate. :facepalm:
btw @DragaDoncila, just above that code, we have:
https://github.com/napari/napari/blob/5116021e1a1ea96176560f2880f1369134d4ba5b/napari/layers/labels/labels.py#L753-L761
ie when the view mode is "SELECTED" we don't do the switch. You don't happen to be setting the view mode, @adamltyson, do you?

sorry, the setting on the UI is "show selected", on the API it's labels_layer.show_selected_label:
https://github.com/napari/napari/blob/5116021e1a1ea96176560f2880f1369134d4ba5b/napari/layers/labels/labels.py#L849-L858
It also looks like using direct color mode will also explode the memory. :facepalm:

Hi @jni, nope I'm not touching labels_layer.show_selected_label. The example above reproduces the issue, but our normal use case is here.

In my case to reproduce bug I need to change the layer using a slider.

Sorry, yes I forgot that bit. The memory spike happens when trying to view the part of the layer with the high values.


Webapp context reload causes ClassCastException with sticky sessions

From<EMAIL_ADDRESS>on February 04, 2011 13:37:53
What steps will reproduce the problem?

Some package in jar in WEB-INF/lib
Init app, put object in session
Redeploy
Try to access object in session
ClassCastException

What is the expected output? What do you see instead?

Working without ClassCastException

What version of the product are you using? On what operating system?

tc7-1.4.0-RC1
Tomcat 7.0.6
JDK 1.6.0_18 x86
Windows 7 x64

Please provide any additional information below.

Object o = session.getAttribute("cache");
ru.cache.Cache cache = (ru.cache.Cache) o;

java.lang.ClassCastException: ru.cache.CacheImpl cannot be cast to ru.cache.Cache
at ru.web.application.WebContext.getCache(WebContext.java:349)
at ..
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

Both ru.cache.Cache is interface, ru.cache.CacheImpl is class,
both in same jar, this jar is inside WEB-INF/lib.

Doublechecked not having this class in application server classpath.

When running under debugging, surprisingly
o.getClass().getClassLoader() != ru.cache.Cache.class.getClassLoader()

Original issue: http://code.google.com/p/memcached-session-manager/issues/detail?id=80

From martin.grotzke on February 04, 2011 04:51:19
How do you create and add the "cache"? Is it possible, that it's a cglib proxy, or is it just session.setAttribute("cache", new CacheImpl())? Which serialization strategy are you using (java, kryo, javolution)?
Status: Accepted

From<EMAIL_ADDRESS>on February 04, 2011 05:10:17
i just do session.setAttribute("cache", new CacheImpl()). Default java serialization is used, my manager configuration is following:

From martin.grotzke on February 05, 2011 16:33:58
I just create a sample webapp with a servlet that can put stuff into such a Cache/CacheImpl (implementing Serializable also) and list the content of the cache, but I cannot reproduce your issue:
https://github.com/magro/msm-sample-webapp/tree/simpleservlet

The following should work:

Install deps and build the war:
$ ./install-mvn-deps.sh
$ mvn package

Start memcached:
$ memcached -p 11211 -u memcached -m 64 -M -vv &
$ memcached -p 11212 -u memcached -m 64 -M -vv &

Start tomcats:
$ ./runtime/tomcat1/bin/catalina.sh run &
$ ./runtime/tomcat2/bin/catalina.sh run &

Populate/list the content of the cache which is stored in the session:

In your browser request http://localhost:8081/put?foo=bar (or use curl or whatever)
To see that the cache in the session is populated: http://localhost:8081/list
-> The response body should contain "foo=bar"

Load this session/cache in another tomcat to see that the session/cache can be deserialized:
Request http://localhost:8082/list
-> The response body should contain "foo=bar"

Also, when running the tomcat I can redeploy the webapp via
$ mvn package
and after the context was restarted I still can list the session/cache content.

What's different in your case? Can you modify this sample app so that I can reproduce your issue?

From martin.grotzke on February 07, 2011 02:52:31
Btw, I just pushed a new version of the sample with also tomcat 6.0.32 and a new msm 1.4.0-RC2 (which only contains fixes for #79 and #81, which should not affect you).

From<EMAIL_ADDRESS>on February 07, 2011 03:47:04
Sorry I cant run it, I dont have POM and my target environment is not Linux. However I`ve made simpler test, just unpack over fresh apache-tomcat-7.0.6.
I am experiencing odd behaviour - on subsequential request, value is not stored into session. Also in log, I see double initialization of MSM.
Attachment: testmsm-artefacts.zip


Add excludeFields config item

This works in conjunction with pull request again ok_data repo to fix https://github.com/NuCivic/ok_data/issues/311

@topicus this should go to https://github.com/okfn/recline first correct?

This works as expected on Oklahoma. @starsinmypockets you were going to generate a PR with this on okfn/recline, right?


Remore Acquire and Release from allowed Mem Sem bits for WebGPU

Fixes #2524

Failing pre-submit is a linker crash when building an unrelated test binary. I don't think it is related to my PR.


For tenant, use use_settings instead of root?

The logic to decide if we should read a tenant's attributes from configurations turns out to be tricky.
There are too many nuances.
Just adding a flag that says 'read from settings' is better documenting and simpler.
/cc @h-kataria this affects you
/cc @gtanzillo this is what we spoke about

A few notes:

defaults_value_for fights with setting the name to nil (which is necessary to read from settings).
saving a ui form often populates settings values into tenants table and disables the feature.
explaining how it works and where it breaks down just takes too long. worried about supporting this.
this will only be used by 10 customers max. But clearly documenting it removes confusion.

kicking off again - bogus build failure
/cc @Fryguy

@kbrock Reading your comment above "defaults_value_for fights with setting the name to nil (which is necessary to read from settings)." Does that refer to defaulting the value of use_settings? If there is no default then does leaving "use_settings" nil imply false?

defaults_value_for fights with setting the name to nil (which is necessary to read from settings).

It shouldn't if you explicitly pass nil, then it will not use run default value block.  Also, once a record is created with nil, it will leave that value and not override it.

explaining how it works and where it breaks down just takes too long.

@Fryguy Maybe that is the expected behavior, but it sets it for me anyway. But does this fact really matter?
Tenant.new(:name => nil).name
# => "My Company"

Whether it works or not, can we merge anyway?

:+1: I'm good with this.

I can't believe these migrations numbers also conflicted with @mkanoor . Meaning, that we had 3 differet migrations with the same numbers. seems fishy


Add user agent header to all clients

Looks like:
User-Agent: Azure-SDK-For-Java/1.0.0-SNAPSHOT/ComputeManagementClient

This is done.


size mismatch for encoder.contextBlock.conv_A1.weight

when i run the code:
python evaluate_4dpanoptic.py --ckpt_ps  pre_trained/panoptic_pq_564.pth --ckpt_ag pre_trained/aggregation_aq_724.ckpt
I face this problem：
File "save_panoptic_features.py", line 46, in
main()
File "/home/wxiao/anaconda3/envs/strack/lib/python3.7/site-packages/click/core.py", line 1128, in call
return self.main(*args, **kwargs)
File "/home/wxiao/anaconda3/envs/strack/lib/python3.7/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/home/wxiao/anaconda3/envs/strack/lib/python3.7/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/wxiao/anaconda3/envs/strack/lib/python3.7/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "save_panoptic_features.py", line 33, in main
model.load_state_dict(checkpoint['state_dict'])
File "/home/wxiao/anaconda3/envs/strack/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1224, in load_state_dict
self.class.name, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for PanopticCylinder:
size mismatch for encoder.contextBlock.conv_A1.weight: copying a param with shape torch.Size([3, 1, 3, 16, 32]) from checkpoint, the shape in current model is torch.Size([32, 3, 1, 3, 16]).
size mismatch for encoder.contextBlock.conv_A2.weight: copying a param with shape torch.Size([1, 3, 3, 32, 32]) from checkpoint, the shape in current model is torch.Size([32, 1, 3, 3, 32]).
size mismatch for encoder.contextBlock.conv_B1.weight: copying a param with shape torch.Size([1, 3, 3, 16, 32]) from checkpoint, the shape in current model is torch.Size([32, 1, 3, 3, 16]).
size mismatch for encoder.contextBlock.conv_B2.weight: copying a param with shape torch.Size([3, 1, 3, 32, 32]) from checkpoint, the shape in current model is torch.Size([32, 3, 1, 3, 32]).
size mismatch for encoder.downBlock0.conv_A1.weight: copying a param with shape torch.Size([3, 1, 3, 32, 64]) from checkpoint, the shape in current model is torch.Size([64, 3, 1, 3, 32]).
size mismatch for encoder.downBlock0.conv_A2.weight: copying a param with shape torch.Size([1, 3, 3, 64, 64]) from checkpoint, the shape in current model is torch.Size([64, 1, 3, 3, 64]).
size mismatch for encoder.downBlock0.conv_B1.weight: copying a param with shape torch.Size([1, 3, 3, 32, 64]) from checkpoint, the shape in current model is torch.Size([64, 1, 3, 3, 32]).
size mismatch for encoder.downBlock0.conv_B2.weight: copying a param with shape torch.Size([3, 1, 3, 64, 64]) from checkpoint, the shape in current model is torch.Size([64, 3, 1, 3, 64]).
size mismatch for encoder.downBlock0.pool.weight: copying a param with shape torch.Size([3, 3, 3, 64, 64]) from checkpoint, the shape in current model is torch.Size([64, 3, 3, 3, 64]).
Hope someone can help me !!!

Hi!
I think it's a problem with the version of spconv. This is apparently a breaking change introduced in version 2.x as described in their github.
In the readme I provided the link to the repo containing version 1.2.1, with which the code should work!


pymol: 2.5.0 -> 3.0.0

Description of changes

update 2.5.0 -> 3.0.0
Diff: https://github.com/schrodinger/pymol-open-source/compare/v2.5.0...v3.0.0
refactor
enable tests

I would like to get rid of PYTHON_PATH and wrapQt, but it's a bit difficult.
I don't want to bring the bug into 24.05, so I'll leave it as is for now.

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[x] sandbox = true

[x] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

Thank you. I cherry picked that commit into this PR.


Class member snippet completions still provided when includeCompletionsWithSnippetText and includeCompletionsWithClassMemberSnippets differ

        "includeCompletionsWithSnippetText": false,
        "includeCompletionsWithClassMemberSnippets": true,

interface Foo {
    prop: string;
    method(): void;
}

class C implements Foo {
    /**/
}

Request completions, commit on method
Expected:
Regular completion, no method body
interface Foo {
    prop: string;
    method(): void;
}

class C implements Foo {
    method/**/
}

OR completion that is otherwise identical to both settings being true.
interface Foo {
    prop: string;
    method(): void;
}

class C implements Foo {
    method(): void {
        /**/
    }
}

Actual
interface Foo {
    prop: string;
    method(): void;
}

class C implements Foo {
    method(): void {
    }/**/
}

@DanielRosenwasser I want to understand this better, since this kind of behavior is also present in other completions I think: how should includeCompletionsWithSnippetText interact with completions that can or cannot contain snippets? For instance, the class member completion can be a snippet, but it doesn't necessarily have to be, which is why it still shows up in the example above when includeCompletionsWithSnippetText is false, but the difference is that it's no longer a snippet (i.e. there's no tab stop in the body of the completed method). I guess this bug is saying that this completion should never be offered in its non-snippet form? Is this the case because not having the tab stop in the method's body degrades the user experience? Is it because of some other reason?

Ugh - okay, so there's

plain completions
completions with insert text
completions with tab stops

and for some reason, includeCompletionsWithSnippetText is the one that enables tab stops. Did I get that right?

I think so, yes. Not sure if this this is relevant, but note that while includeCompletionsWithSnippetText is a setting that is user-configurable in vscode, while includeCompletionsWithInsertText is not. Andrew B once told me that's because includeCompletionsWithInsertText is supposed to indicate whether an editor supports insert text in completions or not.

I believe it's controlled by setting "typescript.suggest.classMemberSnippets.enabled": true,

@andrewbranch and @mjbvz say that this should never have been user-visible in the first place. The flag shouldn't have been passed in as-is to TypeScript. If anything, the editor should use a flag like
  "typescript.suggest.includeCompletionsWithSnippetText": true,

to blanket enable/disable other snippet features.


easy way to update?

im using it on linux and i build the program is there a way to update it other then rebuild the package wiuth the updates?
my current version is 0.6.1

Not that I'm aware of. There's tools to automatically update Docker images if you run via a container instead.


Better Tabzilla alignment with the top border of the page

Just a visual refinement. IMO this way tabzilla looks better and more aligned with the good ol' top page border.
i.e.:

What do you think?

Resolved in current theme:

@potch close this one?


Consider the outermost proxy in X-Forwarded-Host

When behind more than one reverse proxy, each can add a new entry in X-Forwarded-Host, resulting in:

X-Forwarded-Host: host1, host2

Consider the outermost proxy/host ('host1') like done for 'originalRemoteAddr'.

Using a webservice exposed behind two reverse proxies causes java.lang.IllegalArgumentException:
Request:

GET /mywebservice?wsdl HTTP/1.1
Host: dev.com
User-Agent: insomnia/5.16.6
X-Forwarded-Proto: https
X-Forwarded-Host: dev.com, test.com
Accept: /

Result:
2018-07-03T23:45:53.431Z | ERROR | -8080-exec-10 | o.a.c.c.C.[.[.[.[CXFServlet]        | log                      : [{}] Servlet.service() for servlet [CXFServlet] in context with path [] threw exception
 java.lang.IllegalArgumentException: Illegal character in authority at index 8: https://dev.com, test.com/mywebservice
    at java.net.URI.create(URI.java:852) ~[?:1.8.0_152]
    at org.apache.cxf.transport.servlet.BaseUrlHelper.getBaseURL(BaseUrlHelper.java:47) ~[cxf-rt-transports-http-3.2.1.jar:3.2.1]
    ...
Caused by: java.net.URISyntaxException: Illegal character in authority at index 8: https://dev.com, test.com/mywebservice
    at java.net.URI$Parser.fail(URI.java:2848) ~[?:1.8.0_152]
    ...

Indeed, although per Mozilla documentation (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host) it should contain one value, Apache mod_proxy says the comma separated list could be returned (http://httpd.apache.org/docs/2.2/mod/mod_proxy.html). @mo7ty would you mind please to add test cases for this fix? Thank you.

Hi @reta,

@mo7ty would you mind please to add test case(s) for this fix?

Since this is related with the use of the option "use-x-forwarded-headers", my first intencion was to improve (reproduce the issue and validate the fix) any existing test introduced under the scope of the following changes:

CXF-5937 - CXF Servlets should optionally react to X-Forwarded headers

[CXF-5937] Updating AbstractHttpServlet to optionally support X-Forwarded headers

CXF-7485 - Reverse proxy url is not reflected in Swagger UI response

[CXF-7485] Better support for X-Forwarded-* headers

... and seems that there is none that specifically tests the behavior of a server for requests with X-Forwarded-* headers.
I'm able to reproduce&validate this in a web app (private SOAP Web Service: Spring Boot + Apache Camel CXF), sit behind two Apache/httpd reverse proxies with ProxyPreserveHost On, and:
@ImportResource({ "classpath:META-INF/cxf/cxf.xml" })
@SpringBootApplication
public class Application extends SpringBootServletInitializer {
...
    @Bean
    public ServletRegistrationBean cxfServlet() {
        CXFServlet serverServlet = new CXFServlet();
        ServletRegistrationBean cxfRegBean = new ServletRegistrationBean(serverServlet,
                                                                         "/mywebservice/*");

        Map<String,String> params = new HashMap<>();
        params.put("use-x-forwarded-headers", "true");

        cxfRegBean.setInitParameters(params);

        return cxfRegBean;
    }
...

The crash I've reported previously happens when the app attempts to create the WSDL for the exposed web service - building the endpoint URL.
Sorry, but unfortunately, I don't know if I'll be able to quickly create a specific test for this scenario (due to professional and familiar reasons - same reason for my delay in answering).

[ ] Would anyone be interested in creating tests for this feature?

Thanks @mo7ty , will do that as part of Swagger tests suite


Can't use this module with Terraform AWS provider version 5

Hi there,
The version constraint prevent using this module with recently released version 5:
https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/blob/fa04ae1d361d81d1ea043b89e51ff1ff0bf8ceca/versions.tf#L7
Is there a known incompatibility with version 5?
This was changed in #335 (https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/commit/e054f77c700128c206b0912c51712313981d6fae#diff-dfd5848fa77a04d0343891fe859286cc210473d10f0e62c7f99f0d5ecf1a9927L7) which seems unrelated.

can you provide the details requested in the issue template

my bad, did not read the repo guidelines first.


Encoding error i think.

I have been getting this error after i download a video i think it has something to do with encoding? I tried swapping temp file location did not work and tried swapping to 30fps nope here is end of log (I changed some file location names)
Also windows 10 64bit, Twitch Leecher version 1.3.6 and channel trying to download Admiral_bahroo https://www.twitch.tv/videos/116806651
Creating directory 'C:\Users\ Computer\Desktop\stuff\Twitch Vods\Twitch Leecher\Temp Files\TL_25a15fd3-e3e7-475d-b78f-ed8cb8e91500'... done!
Retrieving m3u8 playlist urls for all VOD qualities... done!
https://vod154-ttvnw.akamaized.net/4a226f4f89_admiral_bahroo_24320196240_588682767/chunked/index-dvr.m3u8
https://vod154-ttvnw.akamaized.net/4a226f4f89_admiral_bahroo_24320196240_588682767/high/index-dvr.m3u8
https://vod154-ttvnw.akamaized.net/4a226f4f89_admiral_bahroo_24320196240_588682767/medium/index-dvr.m3u8
https://vod154-ttvnw.akamaized.net/4a226f4f89_admiral_bahroo_24320196240_588682767/low/index-dvr.m3u8
https://vod154-ttvnw.akamaized.net/4a226f4f89_admiral_bahroo_24320196240_588682767/mobile/index-dvr.m3u8
https://vod154-ttvnw.akamaized.net/4a226f4f89_admiral_bahroo_24320196240_588682767/audio_only/index-dvr.m3u8
Playlist url for selected quality 1280x720@30fps is https://vod154-ttvnw.akamaized.net/4a226f4f89_admiral_bahroo_24320196240_588682767/high/index-dvr.m3u8
Retrieving playlist... done!
Parsing playlist... done!
Number of video chunks: 419
Starting parallel video chunk download
Number of video chunks to download: 419
Maximum connection count: 10
Parallel video chunk download is running...
Download of all video chunks complete!
Creating local file list for FFMPEG... done!
Writing file list to 'C:\Users\ Computer\Desktop\stuff\Twitch Vods\Twitch Leecher\Temp Files\TL_25a15fd3-e3e7-475d-b78f-ed8cb8e91500\parts.txt'... done!
Executing 'C:\Program Files\Twitch Leecher\ffmpeg_x64.exe' on local playlist...
Command line arguments: -y -f concat -safe 0 -i "C:\Users\Leanne's Computer\Desktop\ stuff\Twitch Vods\Twitch Leecher\Temp Files\TL_25a15fd3-e3e7-475d-b78f-ed8cb8e91500\parts.txt" -analyzeduration<PHONE_NUMBER> -probesize<PHONE_NUMBER> -c:v copy -c:a copy -bsf:a aac_adtstoasc "C:\Users\ Computer\Desktop\ stuff\Twitch Vods\20170124_Admiral_Bahroo_Small 1life Chill stream _ Twitter @AdmiralBahroo.mp4"
Starting temporary download folder cleanup!
Deleting directory 'C:\Users\ Computer\Desktop\ stuff\Twitch Vods\Twitch Leecher\Temp Files\TL_25a15fd3-e3e7-475d-b78f-ed8cb8e91500'... done!
Download task ended with an error!
System.AggregateException: One or more errors occurred. ---> System.ApplicationException: An error occured while encoding the video!
at TwitchLeecher.Services.Services.TwitchService.EncodeVideo(Action1 log, Action1 setStatus, Action1 setProgress, Action1 setIsEncoding, String ffmpegFile, String partList, String outputFile, CropInfo cropInfo)
at TwitchLeecher.Services.Services.TwitchService.<>c__DisplayClass55_0.b__2()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.ApplicationException: An error occured while encoding the video!
at TwitchLeecher.Services.Services.TwitchService.EncodeVideo(Action1 log, Action1 setStatus, Action1 setProgress, Action1 setIsEncoding, String ffmpegFile, String partList, String outputFile, CropInfo cropInfo)
at TwitchLeecher.Services.Services.TwitchService.<>c__DisplayClass55_0.b__2()
at System.Threading.Tasks.Task.Execute()<---
(I used this short stream as a test download)

Please always post the entire log. i cannot see if you cropped the VOD (and at what times) or not.

OW sorry also I did not crop it at all

I'm not at my computer right now but I can do it later today

Here is full log i did not change file locations names because that is way to much to go through
Download task has been started!
TWITCH LEECHER INFO
Version: 1.3.6
VOD INFO
VOD ID: 116806651
Selected Quality: 1280x720@60fps
Download Url: https://www.twitch.tv/videos/116806651
Crop Start: Yes (00:00:01)
Crop End: Yes (00:13:34)
OUTPUT INFO
Output File: C:\Users\Leanne's Computer\Desktop\Buster's stuff\Twitch Vods\20170124_Admiral_Bahroo_Small 1life Chill stream _ Twitter @AdmiralBahroo.mp4
FFMPEG Path: C:\Program Files\Twitch Leecher\ffmpeg_x64.exe
Temporary Download Folder: C:\Users\Leanne's Computer\Desktop\Buster's stuff\Twitch Vods\Twitch Leecher\Temp Files\TL_2ddcc47b-c179-4cee-8598-910e09a44c36
ACCESS INFO
Token: %7B%22user_id%22%3A71561333%2C%22vod_id%22%3A116806651%2C%22expires%22%3A1486162050%2C%22chansub%22%3A%7B%22restricted_bitrates%22%3A%5B%5D%7D%2C%22privileged%22%3Afalse%2C%22https_required%22%3Afalse%7D
Signature: 88de7b367dc357fcc3bdf1d501d62f4170152bb1
Sub-Only: No
Privileged: No
Creating directory 'C:\Users\Leanne's Computer\Desktop\Buster's stuff\Twitch Vods\Twitch Leecher\Temp Files\TL_2ddcc47b-c179-4cee-8598-910e09a44c36'... done!
Retrieving m3u8 playlist urls for all VOD qualities... done!
https://vod154-ttvnw.akamaized.net/4a226f4f89_admiral_bahroo_24320196240_588682767/chunked/index-dvr.m3u8
https://vod154-ttvnw.akamaized.net/4a226f4f89_admiral_bahroo_24320196240_588682767/high/index-dvr.m3u8
https://vod154-ttvnw.akamaized.net/4a226f4f89_admiral_bahroo_24320196240_588682767/medium/index-dvr.m3u8
https://vod154-ttvnw.akamaized.net/4a226f4f89_admiral_bahroo_24320196240_588682767/low/index-dvr.m3u8
https://vod154-ttvnw.akamaized.net/4a226f4f89_admiral_bahroo_24320196240_588682767/mobile/index-dvr.m3u8
https://vod154-ttvnw.akamaized.net/4a226f4f89_admiral_bahroo_24320196240_588682767/audio_only/index-dvr.m3u8
Playlist url for selected quality 1280x720@60fps is https://vod154-ttvnw.akamaized.net/4a226f4f89_admiral_bahroo_24320196240_588682767/chunked/index-dvr.m3u8
Retrieving playlist... done!
Parsing playlist... done!
Number of video chunks: 419
Starting parallel video chunk download
Number of video chunks to download: 419
Maximum connection count: 10
Parallel video chunk download is running...
Download of all video chunks complete!
Creating local file list for FFMPEG... done!
Writing file list to 'C:\Users\Leanne's Computer\Desktop\Buster's stuff\Twitch Vods\Twitch Leecher\Temp Files\TL_2ddcc47b-c179-4cee-8598-910e09a44c36\parts.txt'... done!
Executing 'C:\Program Files\Twitch Leecher\ffmpeg_x64.exe' on local playlist...
Command line arguments: -y -f concat -safe 0 -i "C:\Users\Leanne's Computer\Desktop\Buster's stuff\Twitch Vods\Twitch Leecher\Temp Files\TL_2ddcc47b-c179-4cee-8598-910e09a44c36\parts.txt" -analyzeduration<PHONE_NUMBER> -probesize<PHONE_NUMBER> -c:v copy -c:a copy -bsf:a aac_adtstoasc -ss 1 -t 813 "C:\Users\Leanne's Computer\Desktop\Buster's stuff\Twitch Vods\20170124_Admiral_Bahroo_Small 1life Chill stream _ Twitter @AdmiralBahroo.mp4"
Starting temporary download folder cleanup!
Deleting directory 'C:\Users\Leanne's Computer\Desktop\Buster's stuff\Twitch Vods\Twitch Leecher\Temp Files\TL_2ddcc47b-c179-4cee-8598-910e09a44c36'... done!
Download task ended with an error!
System.AggregateException: One or more errors occurred. ---> System.ApplicationException: An error occured while encoding the video!
at TwitchLeecher.Services.Services.TwitchService.EncodeVideo(Action1 log, Action1 setStatus, Action1 setProgress, Action1 setIsEncoding, String ffmpegFile, String partList, String outputFile, CropInfo cropInfo)
at TwitchLeecher.Services.Services.TwitchService.<>c__DisplayClass55_0.b__2()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.ApplicationException: An error occured while encoding the video!
at TwitchLeecher.Services.Services.TwitchService.EncodeVideo(Action1 log, Action1 setStatus, Action1 setProgress, Action1 setIsEncoding, String ffmpegFile, String partList, String outputFile, CropInfo cropInfo)
at TwitchLeecher.Services.Services.TwitchService.<>c__DisplayClass55_0.b__2()
at System.Threading.Tasks.Task.Execute()<---

Crop Start: Yes (00:00:01)
Crop End: Yes (00:13:34)
That does not look like you were not cropping :)

I tested it and if you do not crop (do not actiave those cropping checkboxes) the VOD downloads without errors. As for the issue when you actually are cropping please see #96


Feature/diff to tasks

diff to tasks

Thanks, if this branch were ready for merging and/or preliminary review then it would have a pull request.


[NTR] suprabasal keratinocyte

Preferred term label
suprabasal keratinocyte
Synonyms (add reference(s), please)
Definition (free text, with reference(s), please. PubMed ID format is PMID:XXXXXX)
Suprabasal keratinocytes are cells that lie directly above basal keratinocytes
Parent cell type term (check the hierarchy here https://www.ebi.ac.uk/ols/ontologies/cl)
http://purl.obolibrary.org/obo/CL_0000312
What is the anatomical structure that the cell is a part of? (check Uberon: https://www.ebi.ac.uk/ols/ontologies/uberon)
http://purl.obolibrary.org/obo/UBERON_0001003

Thank you for the new term request, @s-carney.
Given the definition that you provided, are you referring to keratinocytes that are in direct contact above the basal stratum or any keratinocyte found in the epithelial suprabasal layer?
If you are referring to only the keratinocytes in contact with basal keratinocytes, could you provide a reference to support this text definition?

Hello,
I am referring to the latter: any keratinocyte found in the epithelial suprabasal layer.
Here is my reference:
https://www.proteinatlas.org/humanproteome/single+cell+type/Squamous+epithelial+cells#suprabasalkeratinocytes

@s-carney, thank you for the new terms.
The following have been added to CL and should appear in the next release:
CL:4033013 suprabasal keratinocyte
Additional details can be found in the associated PR.


Dragging while zoom animation is active breaks dragging

When the map is locked while the tiles are loading, the user experience becomes not as smooth as it could be. Some map tile providers load map tiles slower than others. I have seen map tile requests that take more than a second to load. That is one second where the map cannot be dragged and moved around. The map becomes clunky to use with speed and efficiency.

Note to self: create a test case where the map has only an image overlay and some markers (no tile layers). The map should be draggable from outside the image overlay.

Cannot reproduce, even when adding a delay to tile loading.
@helloworld65 Have you tried using 1.0-beta1?

@IvanSanchez The behaviour I am describing seems to happen when the you attempt to the drag the map using mouse down immediately after map zoom. Tested this on Chrome and Firefox with both 7.3 and 1.0-beta1. Not sure if this will help but I made a gif video: http://imgur.com/clLxXt3

@helloworld65 Yes, that helped! I suspect a weird interaction between the zoom proxy and the drag handler, but will need to hack the code and try a few things.

Has anybody else been able to verify this? I have pulled down the latest Leaflet-dev build from master, verified that its listing leaflet-1.0-beta2, and that the code changes listed for this are in the pull, and the touch screen laptop that I'm testing Windows 10 edge browser is no longer throwing the "unknown touch event" that I was getting before preventing the map from loading, the map does load now (it was breaking before), however, I am not able to use touch to drag the map.  So, from a touch stand-point, it appears to be a static map.

@jplante The code for Draggable in the stable branch is different, and it's not easy to backport this - the reason might be entirely different.
On my part, I don't feel this is critical to guarantee spending time on backporting a fix for stable.


Cannot scroll content anymore

Content now just tries to scroll to the top of the screen producing a juddering motion.

That specific gif example is on macOS Sierra Chrome 53.0.2785.116
macOS Firefox 49.0 has the same effects as chrome.
Also does it on macOS Sierra Safari 10 but the content gets gradually dragged up into the top overflow.

https://jsfiddle.net/ad3quksn/43/
Also when this is fixed, i'd recommend adding 10px of padding to the .swal2-container as per my fiddle to make it look nicer at mobile breakpoint. I'd like to fix this myself but have zero free time recently.

Thank you @samturrell for reporting this issue. Currently, I have no idea how to fix it :/ Any help will be much appreciated here?

Got it, will be fixed asap.

Fixed in v5.0.5.
Thank you @samturrell :beers:


Docker Engine 1.40 Updates

Is there any plan for updating this library for engine API version 1.40?
I have a branch in my fork which updated the go dependency versions to docker engine 19.03 (the imports are broken on master with the versions in the godep.json by the way).
I then updated all the C# models for this new version.
I also added the new docker service logs endpoint and I am using it successfully.
https://github.com/SPG-Controls/Docker.DotNet/commit/9205c789535ca5df5a25e1a7616c3cd7035e979c
Let me know if you would like me to continue updating this library to the latest version of docker as there are a few things I have come across which need to be fixed:

Tests failing in pipeline
Base64 string to IList throwing error (PR Submitted)
A number of missing endpoints
etc.

Here is the pull request https://github.com/dotnet/Docker.DotNet/pull/472
I made an update today to get rid of godep and use the newer go modules which are much nicer. This downloads dependencies defined in the go.mod file when you run go build so it just works.
Has anyone looked into generating code based on the OpenAPI docs docker now has? This would pretty much replace the whole library, however I remember to docs not being 100% complete but I could be wrong.

Thanks @The-TT-Hacker
The idea with the vNext is precisely that. OpenAPI is what I'm going to use.
We shouldn't rely in go types but instead only on the public API.
Will have a look on the PR, thanks!


add NON_INSTANCED_MODEL define

Pull SolidPolygonLayer change from https://github.com/uber/deck.gl/pull/3306 into 7.1-release.
For kepler.gl's data filter implementation.
Change List

Add NON_INSTANCED_MODEL define to SolidPolygonLayer shader

Coverage increased (+0.004%) to 63.42% when pulling 834a0ca2c74cad813bf1fcd89d6520c055b4b66b on x/data-filter-patch into 84077c781a530ea65ed5a6c97d5e9adcef5a5a4d on 7.1-release.


scroll-to-top of editor page

I imported the scroll-to-top component to the editor page and made some changes
Can you review it, please? @smaranjitghose @anushbhatia

Nice work. Make sure we don't get this on smaller screens like a Mobile where it won't be of much use. Rest looks good to me

I already removed this on small devices.
Can you look it please @smaranjitghose?

Nice work. Make sure we don't get this on smaller screens like a Mobile where it won't be of much use. Rest looks good to me

I already removed this on small devices.
Can you look it please @smaranjitghose?


Caching icons

❓ Questions and Help
Hi @tlambert03 , the iconfy support is very nice!
I want to ask if the cached svgs are supposed to be used.
After I ran the following code with internet connection, and ran it later without internet connection, it fails to get the icon even though an svg cache named "mdi_pen-add_color_#..." is created.
from magicgui.widgets import PushButton
btn = PushButton(icon="mdi:pen-add")
btn.show(True)

Thanks!

[x] I have searched the documentation

found the issue!  fix needs to happen here in pyconify

the magicgui usage should be fixed with pyconify v0.1.6.  it's building now, please try again in ~10 mins

It's fixed nicely, thanks!


Error in use Queue::connection('sqs-fifo')

I want to trigger a pushRaw, for that I'm using the following:
Queue::connection('sqs-fifo')->pushRaw($myData);
however, the following error is reported:
In LaravelSqsFifoQueueServiceProvider.php line 71: Call to undefined method Illuminate \ Support \ Facades \ Queue :: extend ()
I'm use Laravel 5.6

Resolved guys! i was using app ('Queue') when switching to Queue's direct call it worked!


Added more structures and built in variables and keywords that were missing

I've added a bunch of missing structures and variables and keywords. There are still some that are missing but it is starting to become a mess so I only added ones that I commonly use.

Published to atom.io w/ v0.4.0


Add chain

ask wallet to change current active chain or add a new chain

What wallets have you tested this with? From past experience I know the RPC method added has limited support by wallets

I only tried it with metamask, no idea if it works on other wallets.
I did a small research just now and discovered that this method cannot be used for ethereum mainnet due to security considerations. (didn't try tho)
Also, switching networks was possible using this method although there's  wallet_switchEthereumChain that can be used instead.
What are your thoughts, what should I add/test ?

Added method to switch chain, but lacks something.
An error.code 4092 should be emitted when the wallet doesn't have the requested chain and only in that case we can call wallet_addEthereumChain. How do I check the error code ?


The 'Filter by prefix' box is not focused if press Ctrl+F in the view all containers explorer

Storage Explorer Version: 1.33.0-dev (96)
Build Number: 20240109.2
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Sonoma 14.2(Apple M1 Pro)
Architecture: x64/x64/arm64
How Found: From running test cases
Regression From: Previous release (1.32.1)
Steps to Reproduce

Expand one storage account -> Blob Containers.
Right click Blob Containers node -> Click 'View All'.
Press Ctrl+F.
Check whether the 'Filter by prefix' box is focused.

Expected Experience
The 'Filter by prefix' box is focused.
Actual Experience
The 'Filter by prefix' box is not focused.

Verified this issue on the main build 20240110.3. Fixed. So, we are going to close it.


Design NFT wallet page

Overview
We would like to show the NFTs that we're supporting.
Acceptance criteria

Design the page based on new designs
Design is approved by stakeholders

@karynemayer please check #10 for further details and features.


DNS resolving issue

In reference to "Pods stop resolving DNS queries successfully after some time alive", it is stated that "it is being fast-tracked through Windows servicing.".  What does this mean?  I'm running into this issue.

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

ID: 8d162332-10db-b9f2-92cc-19475ca448ed
Version Independent ID: 82e7e978-51d0-e563-87bf-e0c82c2bb04a
Content: Troubleshooting Kubernetes
Content Source: virtualization/windowscontainers/kubernetes/common-problems.md
Product: containers
GitHub Login: @gkudra-msft
Microsoft Alias: gekudray

In my case I was using windows server 2019 and I had to adjust the Dockerfile to use the 1809 tag. Otherwise creating pods would throw The container operating system does not match the host operating system. kubernetes windows errors.

Which Windows version is being used? This shouldn't be an issue after WS1803.


Internally represent UInt64 with a long

Also improve boundary checking of addExact(long), subtractExact(long) and valueOf(BigInteger)

Rerunning CI. One gradle worker failed.


rename functions: replace Database by DB

[x] feature
[ ] bug:

considering:

function names can become quite long
everybody knows DB stands for database

we should replace function names containing '...database...' by '...DB...'
Get-DbaDBMasterKey
Get-DbaDBUser
Get-DbaDBPartitionFunction
...

Get-DbaDbMasterKey is way better ;)

if this is a rule, can a notepad ++ god like @potatoqualitee go ahead and rename all ? it's not the first massive rename we face. Basically anything in this list ("containing database but not 'ending' in 'database')
Find-DbaCommand * | where commandname -like '*database*' | where commandname -notlike '*database'