[Map] MH-UKTown

Not a MH map - no monsters - it has an AssaultInfo actor so possibly an AS version of the UK Town map that someone intended to convert to MH? Not sure how one would categorize this?

URL: https://unrealarchive.org/maps/unreal-tournament/monster-hunt/U/mh-uktown_01bd1f8e.html
Hash: 01bd1f8ee19fa7c6a7e096e164f415438a66f948
Current name: MH-UKTown

Does it contain the rest of the Assault classes? FortStandard and so on...
For the moment I'm placing it on Tests and Demos until a decision is made.


Refactor package structure

Hello @pratikbaid3
I refactored the package structure to follow the Dart best practices. I also update http package to latest version.

waiting++

Hi @bugrevealingbme. Sorry for the delay. Can you direct your PR to UAT and sync your changes?

Considering UAT is the development branch and master is only for releases


Add alar2 to repair-script-library

This is new version of ALAR (alar2) it is intended to replace the current bash script based ALAR.
Any new development and bug-fixing will be performed on alar2 only.
There will be another PR again "Azure/azure-cli-extensions" for additional functionality as custom.py and repair_utils.py had to be extended/altered

I see some a lot of non-code files, can we remove the release files?

Let's revive ALAR 1 for existing users.

Let's change the map.json file description so that we can tell users that ALAR 2 might take some time.

Hi Sungwoo, anything else I should improve or verify?

Let's add a Readme for ALAR2 in the similar fashion as ALAR1 readme: https://github.com/Azure/repair-script-library/blob/alar2-test/src/linux/common/helpers/alar/README.md

This pull request is not writable for me anymore.
We need at first to merge it into main. Then I can add the missing files

This PR can be closed. It got fixed by another PR


/github.com/jinzhu/gorm.a: no such file or directory

Hi I just added the lib to my project and when I run go run main.go I get this error:
# command-line-arguments
/usr/local/opt/go/libexec/pkg/tool/darwin_amd64/link: cannot open file /usr/local/opt/go/libexec/pkg/darwin_amd64/github.com/jinzhu/gorm.a: open /usr/local/opt/go/libexec/pkg/darwin_amd64/github.com/jinzhu/gorm.a: no such file or directory

What version of Go are you using (go version)?
go version go1.8.3 darwin/amd64

Which database and its version are you using?
Postgres 9.6
What did you do?
https://www.github.com/francocorreasosa/go_experiment

Updating to go1.9.2 solved it. Thanks anyways!


Text and file tree changes don't get saved

Document is not properly marked as dirty.

File tree changes are being saved now.


[Section] Community

Spec:

Doesn't have a spec at the moment

Labelled with:
#community

Deprecated as part of https://github.com/gnosischain/documentation/issues/14


Model Products Database

Products
Must have title, description, price, and inventory quantity
Must belong to at least one category
If there is no photo, there must be a placeholder photo used
Users
Users must have a valid email address
Users email must be unique
Order
Orders must belong to a user OR guest session (authenticated vs unauthenticated)
Orders must contain line items that capture the price, current product ID and quantity
If a user completes an order, that order should keep the price of the item at the time when they checked out even if the price of the product later changes
Reviews
All reviews must belong to a product
All reviews must belong to a user
All reviews must be at least X characters

Products
Must have title, description, price, and inventory quantity
Must belong to at least one category
If there is no photo, there must be a placeholder photo used

#Products
...view the full list of products (the product catalog), so that I can see everything that's available
...refine product listings by category, so that I can narrow down my choices to see only the types of items I'm interested in
...search product listings, so that I can find specific products I want by name
...view the details for an inidivdual product (including product descriptions, photos and reviews), so that I can determine whether that particular item fits my needs


handle missing Q-IDs and redirects

checking Q6, which seems to be the first skipped Q-ID, we currently get this error:
QID;statements;violations;warnings;suggestions;violated_statements
Traceback (most recent call last):
  File "checkConstraints.py", line 87, in <module>
    statementCount = countStatements(q_id)
  File "checkConstraints.py", line 29, in countStatements
    return pages[firstPageId]['pageprops']['wb-claims']
KeyError: 'pageprops'

In order to be able to run random sample sets, we need a way to ignore errors for skipped Q-IDs
Similarly, Q404 results in an error when trying to count the number of statements.

Solved by #18 :)


Update manage message and notification in extension

The notification that implementing in the extension is not good. I lack of many thing because not not delivery with antd did.
Need recheck and optimize it in the right way

[x] Add close button

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./upgrade-ui-pr-1613-build-1.1.1-2023-07-06T12-49-23UTC.zip
Validation passed.


No Connection

Used version: Pi-hole v5.8.1 FTL v5.13 Web Interface v5.10.1
Problem:

Since the update to the latest version, the switch is always grayed out. However, in the settings it says "connected".

Duplicate of #54


Service: File Upload (Go)

Requirements:  (Go Only)

service in go
Able to upload PDF, DOC, DOCX (set limit)
Able to upload JPG, PNG, JPEG (set limit)
Storage using filesystem NOT database
Storage using container volume
May create DB table to store filepath, ownerId, etc
tolong provide image yang minified dalam Dockerfile

Optional:
integration with content delivery networks (CDNs) like Cloudflare

created https://github.com/Dev4w4n/cdn.e-masjid.my

done
https://github.com/Dev4w4n/cdn.e-masjid.my


Publish 2.4.3 to NPM

Issue type:

[ ] Feature request
[x] Bug report
[ ] Documentation

Environment:

AdminLTE Version:  2.4.2
Operating System:  Windows 10
Browser (Version):  Chrome (Latest)

Description:
Hi @almasaeed2010 ,
Thanks for this template. Could you please publish the updated (2.4.3) version to NPM?
Thank you!

any news about this ?

looks like this was finally done, got saw npm updating my instance of it


feat: new event 'legend_rankings.crypto_ranking_finished'

Changes

What has changed?

docs

example
[
  {
    "walletAddress": "0x0000000000000000000000000000000000001010",
    "winners": [
      {
        "userId": "507f191e810c19729de860ea",
        "reward": 0.0005
      },
      {
        "userId": "507f1f77bcf86cd799439011",
        "reward": 10
      }
    ]
  }
]


Merge Master into Live

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

biztalk/index.md
:white_check_mark:Succeeded
View

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


Link not working next day!

I'm trying to watch a link I deleted cache and google.mp3 which I don't know why is there like a cookie.
But still not working. When I run this on localhost same link it works fine.
Link which doesn't work: https://cinemate.tv/Watch/F8b9J4vn2IvQKpFrJxe8pBc7yDnNe9cT
Drive link: https://drive.google.com/file/d/0B__9D-CNHa-leExmNVM0Wks0Y1U/view

You've reached google drive download limit.

I don't think so. It works fine on localhost

have u tried using docs. instead of drive. that way uses it from a different server dedicated for groups and blogs.

No but I can't directly upload videos in there

Can anyone tell me what http code is returned when limit is reached? or is there anything on the page that it says like a specific message I can parse for detecting failure to load? I need to make a fallback script.

if you're using jwplayer, use event error to gerenate new link

Remember that google drive will allow to run playback for 1000 user watching. If more, you will get error failure.

@Zebraslive
{  "error": {   "errors": [    {     "domain": "global",     "reason": "downloadQuotaExceeded",     "message": "The download quota for this file has been exceeded."    }   ],   "code": 403,   "message": "The download quota for this file has been exceeded."  } }
@aalfiann just for sure, 1000 ip can request many time or just 1000 request per video, i'm making an anime site :)

@dungvaph03374 Google Drive only limit request 1000 user watching at same time per video. Not from IP address.

@ArdiArtani Hi, i use your script but some link have not sound when i play by Safari browser or mobile, although it's .mp4 file. Can you help me? Thank you!

@mangemve1511 Can you share the link let me take a look

@ArdiArtani This link: https://drive.google.com/file/d/0B0xiPwPds6wHMmZ6U2ZxZmNKQzg/view

link is working

@ArdiArtani Do you play in Safari browser or mobile?

@mangemve1511 Google Chrome, Safari, Opera and Safari (iPhone 7). Clean your browser cache and the cached files in the cache folder.

better use googleapis drive v3, easy & simple, no worry about link die


[WIP] Depend on mirage server

TLDR: We want to extract the core of mirage to a separate package (https://github.com/miragejs/server)
This PR starts to depend on that package for the core parts of it.
Next steps

Manage to generate documentation from @miragejs/server and show it on documentation website

We can’t import from ember-cli-Mirage... the test needs to verify then WHEN an ember developer configures ‘ember-inflector’, THEN Mirage’s server respects those new rules. The test code shouldn’t change here.

Oooh, so you mean we'll have to check if user changed ember-inflector and mimic that on server side?

Yep exactly
Sent from my iPhone

On May 25, 2019, at 12:27 PM, Alexandre Santos<EMAIL_ADDRESS>wrote:
Oooh, so you mean we'll have to check if user changed ember-inflector and mimic that on server side?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Don't we need this logic somewhere in here?

That logic was already there, we haven't migrated that file to server

Managed to get it down to 3 failing tests. At the moment the problem is that when Server is instatiated directly on tests, we have no way of discovering the models (as we do on startMirage).
Still have to figure out a way of doing this


Custom HTML attributes

Hey, is there a way to insert custom html attributes like this:

Is this helpful? I am not sure, because it just contains a value, while you want a key: value. How about uk-spinner-ratio = "3"?
And if you are not noticed yet, it requires a trailing comma:

I think my example was a bit misleading. Some UI Frameworks labeling the HTML like this:

, so there is no value for the key.

 is equivalent to

 which you should be able to use.

@davidkna Are those equivalent in the HTML spec?

Alright, that solves the problem. Thanks!

@kellytk yes they are, at least according to the w3c one: http://w3c.github.io/html/infrastructure.html#sec-boolean-attributes

Thanks @davidkna

With the latest changes it does not work any more: https://github.com/saschagrunert/webapp.rs/pull/345
Is there a way how to use custom macros with the latest master version of the HTML macro?
                html! {

                }

error: unexpected token
   --> frontend/src/component/root.rs:139:54
    |
139 |

    |                                                      ^^

This should be working on yew 0.7. Here's the corresponding fix: https://github.com/DenisKolodin/yew/pull/512
@saschagrunert can you confirm please?

Yes, it’s fixed. Thank you!


Any interest in a watch option?

No, I don't think so. That should be the job of task runners etc. Sass-lint should be providing only minimal API surface for other tools and task runners to hook into.

Alright, that makes sense. I've been seeing a lot of people trying to do away with job runners altogether, us included. But no reason you couldn't still make a standalone script to handle a watch task. Thanks though!

Fair enough. I don't think adding a watch task here accomplishes that, it would just add another level of complexity and specificity to how Sass-lint operates which to the majority of our users is probably unwanted and unnecessary.
I would say what happened with eslint watch here is probably the preferred method. If you want to build something similar we'd be happy to link to it in the Readme https://www.npmjs.com/package/eslint-watch

I know the issue is very old and you are supposed to use stylelint now, but just in case somebody stumbles upon this again like myself:
eslint-watch uses a package called chokidar to listen for file changes. There is also a package called chokidar-cli which will allow you to write your own sasslint-watch in just one line as an npm script:
chokidar "./src/**/*.s{a,c}ss" -c "sass-lint --no-exit --verbose ./src/**/*.s{a,c}ss" --initial --silent

And if you also use ESLint and now use chokidar-cli for SASS Linting you might as well also use it for ESLint and drop eslint-watch. This is my complete dev setup in the package.json scripts section:
    "dev": "npm-run-all --parallel dev:*",
    "dev:eslint": "chokidar \"./src/**/*.{j,t}s{,x}\" -c \"eslint ./src/**/*.{j,t}s{,x}\" --initial --silent",
    "dev:sasslint": "chokidar \"./src/**/*.s{a,c}ss\" -c \"sass-lint --no-exit --verbose ./src/**/*.s{a,c}ss\" --initial --silent",
    "dev:webpack": "webpack-dev-server",


Fix typos

Pull Request Label:

[ ] Bugfix
[ ] New feature
[ ] Enhancement
[x] Typo

old
new

easyly
easily

inital
initial

peice
piece

crypoto
crypto

cryptcurrencies
cryptocurrencies

balaces
balances

Pull Request Checklist:

[x] Have you followed the guidelines for contributing?
[x] Have you checked that there aren't other open pull requests for the same fix or component?

Any other typos? Otherwise this looks good to me thanks for fixing it :smile:

@alexanderepstein ,
Sorry, ya I just came across that other one. I think that's all I can see right now.

Sounds good to me


Removes parallelStream use with non-thread safe terminators

Relates to #855, reviewed and removed unsafe parallelStream usage where the terminator was not thread safe.

@slawekjaranowski


Add window.performace support to Butil

Add window.performace support to Butil

not valid anymore (not useful enough at this phase)


Issue building with cargo

Describe the bug
I first tried adding the pingora crate to a fresh project but was getting some errors around openssl-sys and libz-ng-sys.  I've since pulled the pingora project down and am currently getting similar errors after installing the rust 1.72.1 version.
Pingora info
Please include the following information about your environment:
Pingora version: 0.1.0 (9308bec)
Rust version: 1.72.1
Operating system version: Manjaro (Kernel 6.6.19-1)
Steps to reproduce
I'm just doing a 'cargo build' that fails on the above.
Expected results
I expected the build to complete failure free
Observed results
Build fails from:
error: failed to run custom build command for libz-ng-sys v1.1.15
error: failed to run custom build command for openssl-sys v0.9.101
Additional context
Here is my build log
/usr/bin/cargo build --color=always --message-format=json-diagnostic-rendered-ansi --example client --manifest-path /home/nprescott/Documents/Projects/Github/pingora/pingora/Cargo.toml
   Compiling tokio-macros v2.2.0
   Compiling futures-macro v0.3.30
   Compiling serde_derive v1.0.197
   Compiling thiserror-impl v1.0.57
   Compiling openssl-sys v0.9.101
   Compiling regex v1.10.3
   Compiling rustls v0.21.10
   Compiling backtrace v0.3.69
   Compiling openssl-macros v0.1.1
   Compiling libz-ng-sys v1.1.15
   Compiling crossbeam-utils v0.8.19
   Compiling zstd-sys v1.6.2+zstd.1.5.1
   Compiling async-stream-impl v0.3.5
   Compiling http v1.1.0
   Compiling uname v0.1.1
   Compiling encoding_rs v0.8.33
error: failed to run custom build command for `libz-ng-sys v1.1.15`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
  process didn't exit successfully: `/home/nprescott/Documents/Projects/Github/pingora/target/debug/build/libz-ng-sys-62cdc86db630cfde/build-script-build_zng` (exit status: 101)
  --- stdout
  CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
  CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_TOOLCHAIN_FILE = None
  CMAKE_TOOLCHAIN_FILE = None
  CMAKE_GENERATOR_x86_64-unknown-linux-gnu = None
  CMAKE_GENERATOR_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_GENERATOR = None
  CMAKE_GENERATOR = None
  CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None
  CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_PREFIX_PATH = None
  CMAKE_PREFIX_PATH = None
  CMAKE_x86_64-unknown-linux-gnu = None
  CMAKE_x86_64_unknown_linux_gnu = None
  HOST_CMAKE = None
  CMAKE = None
  running: cd "/home/nprescott/Documents/Projects/Github/pingora/target/debug/build/libz-ng-sys-10a3334b4541be7d/out/build" && CMAKE_PREFIX_PATH="" "cmake" "/home/nprescott/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libz-ng-sys-1.1.15/src/zlib-ng" "-DBUILD_SHARED_LIBS=OFF" "-DZLIB_COMPAT=OFF" "-DZLIB_ENABLE_TESTS=OFF" "-DWITH_GZFILEOP=ON" "-DCMAKE_INSTALL_PREFIX=/home/nprescott/Documents/Projects/Github/pingora/target/debug/build/libz-ng-sys-10a3334b4541be7d/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Debug"
  -- Using CMake version 3.28.3
  -- ZLIB_HEADER_VERSION: 1.3.0
  -- ZLIBNG_HEADER_VERSION: 2.1.6
  -- Configuring incomplete, errors occurred!
  --- stderr
  CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
  thread 'main' panicked at '
  command did not execute successfully, got: exit status: 1
  build script failed, must exit now', /home/nprescott/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cmake-0.1.50/src/lib.rs:1098:5
  stack backtrace:
     0: rust_begin_unwind
               at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:593:5
     1: core::panicking::panic_fmt
               at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/panicking.rs:67:14
     2: cmake::fail
     3: cmake::run
     4: cmake::Config::build
     5: build_script_build_zng::build_zlib_ng
     6: build_script_build_zng::main
     7: core::ops::function::FnOnce::call_once
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `openssl-sys v0.9.101`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
  process didn't exit successfully: `/home/nprescott/Documents/Projects/Github/pingora/target/debug/build/openssl-sys-6ac894d0fb9db183/build-script-main` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_NO_VENDOR
  X86_64_UNKNOWN_LINUX_GNU_OPENSSL_NO_VENDOR unset
  cargo:rerun-if-env-changed=OPENSSL_NO_VENDOR
  OPENSSL_NO_VENDOR unset
  cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu
  CC_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu
  CC_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CC
  HOST_CC = None
  cargo:rerun-if-env-changed=CC
  CC = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("true")
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu
  CFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu
  CFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None
  cargo:rerun-if-env-changed=AR_x86_64-unknown-linux-gnu
  AR_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=AR_x86_64_unknown_linux_gnu
  AR_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_AR
  HOST_AR = None
  cargo:rerun-if-env-changed=AR
  AR = None
  cargo:rerun-if-env-changed=ARFLAGS_x86_64-unknown-linux-gnu
  ARFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=ARFLAGS_x86_64_unknown_linux_gnu
  ARFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_ARFLAGS
  HOST_ARFLAGS = None
  cargo:rerun-if-env-changed=ARFLAGS
  ARFLAGS = None
  cargo:rerun-if-env-changed=RANLIB_x86_64-unknown-linux-gnu
  RANLIB_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=RANLIB_x86_64_unknown_linux_gnu
  RANLIB_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_RANLIB
  HOST_RANLIB = None
  cargo:rerun-if-env-changed=RANLIB
  RANLIB = None
  cargo:rerun-if-env-changed=RANLIBFLAGS_x86_64-unknown-linux-gnu
  RANLIBFLAGS_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=RANLIBFLAGS_x86_64_unknown_linux_gnu
  RANLIBFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=HOST_RANLIBFLAGS
  HOST_RANLIBFLAGS = None
  cargo:rerun-if-env-changed=RANLIBFLAGS
  RANLIBFLAGS = None
  running cd "/home/nprescott/Documents/Projects/Github/pingora/target/debug/build/openssl-sys-2b19167455886ffa/out/openssl-build/build/src" && AR="ar" CC="cc" RANLIB="ranlib" "perl" "./Configure" "--prefix=/home/nprescott/Documents/Projects/Github/pingora/target/debug/build/openssl-sys-2b19167455886ffa/out/openssl-build/install" "--openssldir=/usr/local/ssl" "no-dso" "no-shared" "no-ssl3" "no-tests" "no-comp" "no-zlib" "no-zlib-dynamic" "--libdir=lib" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "linux-x86_64" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64"
  Configuring OpenSSL version 3.2.1 for target linux-x86_64
  Using os-specific seed configuration
  Created configdata.pm
  Running configdata.pm
  Created Makefile.in
  Created Makefile
  Created include/openssl/configuration.h
  **********************************************************************
  ***                                                                ***
  ***   OpenSSL has been successfully configured                     ***
  ***                                                                ***
  ***   If you encounter a problem while building, please open an    ***
  ***   issue on GitHub <https://github.com/openssl/openssl/issues>  ***
  ***   and include the output from the following command:           ***
  ***                                                                ***
  ***       perl configdata.pm --dump                                ***
  ***                                                                ***
  ***   (If you are new to OpenSSL, you might want to consult the    ***
  ***   'Troubleshooting' section in the INSTALL.md file first)      ***
  ***                                                                ***
  **********************************************************************
  running cd "/home/nprescott/Documents/Projects/Github/pingora/target/debug/build/openssl-sys-2b19167455886ffa/out/openssl-build/build/src" && "make" "depend"
  --- stderr
  thread 'main' panicked at '
  Error building OpenSSL dependencies:
      Command: cd "/home/nprescott/Documents/Projects/Github/pingora/target/debug/build/openssl-sys-2b19167455886ffa/out/openssl-build/build/src" && "make" "depend"
      Failed to execute: No such file or directory (os error 2)
      ', /home/nprescott/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-src-300.2.3+3.2.1/src/lib.rs:611:9
  stack backtrace:
     0: rust_begin_unwind
               at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/std/src/panicking.rs:593:5
     1: core::panicking::panic_fmt
               at /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/panicking.rs:67:14
     2: openssl_src::Build::run_command
     3: openssl_src::Build::build
     4: build_script_main::find_vendored::get_openssl
     5: build_script_main::find_openssl
     6: build_script_main::main
     7: core::ops::function::FnOnce::call_once
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Process finished with exit code 101

Oh wow I already had cmake but was missing base-devel
After installing base-devel it built with no issues, thank you


Stable package does not use stable tdlib

No, it works correctly, the issue was with package.el preffering package installed via it over package installed via nix.  Deleting it using package-delete fixed this.


Incorrectly calculating byte size of dds mip in certain cases

It seems the dds file loader assumes that pitch is always stored in place of the header field pitchOrLinearSize. This fails when linear size is stored since the computation essentially becomes width * height * height which can result in a number larger than int.Max that arrays support.
https://github.com/Nominom/BCnEncoder.NET/blob/master/BCnEnc.Net/Shared/DdsFile.cs#L80

How can this be resolved? Is there some flag that tells the consumer if the content is pitch or linear size?

How can this be resolved? Is there some flag that tells the consumer if the content is pitch or linear size?

It seems that dwFlags contains a flag denoting linear size or pitch. I investigate that further.

It seems that dwFlags contains a flag denoting linear size or pitch. I investigate that further.

An alternative could be to not rely on that field, and instead replace the code with something like this (rely on format to get byte size):
if (!dxt10Format)
{
    if (header.ddsPixelFormat.IsDxt1To5CompressedFormat)
    {
        if (header.ddsPixelFormat.DxgiFormat == DxgiFormat.DxgiFormatBc1Unorm)
        {
            sizeInBytes *= 8;
        }
        else
        {
            sizeInBytes *= 16;
        }
    }
    else
    {
        sizeInBytes = (uint)(sizeInBytes * header.ddsPixelFormat.DxgiFormat.GetByteSize());
    }
}
else
{
    sizeInBytes = (uint)(sizeInBytes * dxt10Header.dxgiFormat.GetByteSize());
}

An alternative could be to not rely on that field, and instead replace the code with something like this (rely on format to get byte size):
if (!dxt10Format)
{
    if (header.ddsPixelFormat.IsDxt1To5CompressedFormat)
    {
        if (header.ddsPixelFormat.DxgiFormat == DxgiFormat.DxgiFormatBc1Unorm)
        {
            sizeInBytes *= 8;
        }
        else
        {
            sizeInBytes *= 16;
        }
    }
    else
    {
        sizeInBytes = (uint)(sizeInBytes * header.ddsPixelFormat.DxgiFormat.GetByteSize());
    }
}
else
{
    sizeInBytes = (uint)(sizeInBytes * dxt10Header.dxgiFormat.GetByteSize());
}

This is good to know. I'll add a test case for this.

This is good to know. I'll add a test case for this.

I see. To get this code a bit more performant I replace the division by 4 to pad width and height by & ~3.
Resulting in (n + 3) & ~3 to pad on 4.

I see. To get this code a bit more performant I replace the division by 4 to pad width and height by & ~3.
Resulting in (n + 3) & ~3 to pad on 4.

It probably doesn't matter too much in this code, but it may be beneficial here:
https://github.com/Nominom/BCnEncoder.NET/blob/master/BCnEnc.Net/Decoder/BcBlockDecoder.cs#L21
Just leave a comment to help anyone reading the code understand what's happening.

It probably doesn't matter too much in this code, but it may be beneficial here:
https://github.com/Nominom/BCnEncoder.NET/blob/master/BCnEnc.Net/Decoder/BcBlockDecoder.cs#L21
Just leave a comment to help anyone reading the code understand what's happening.

True. That would probably help there as well.

True. That would probably help there as well.

As I could test, your alternative code is ok as is and was now added to my pending PR.

As I could test, your alternative code is ok as is and was now added to my pending PR.

@ptasev As this was solved with the last PR and your review of it, can this issue be closed?

@ptasev As this was solved with the last PR and your review of it, can this issue be closed?

Seems good to me.

Seems good to me.


"staged at" message changed to "was successfully installed!"

Changes to the core

[x] Followed hacking.md.

A user was just confused by this on Gitter. I agree it’s a bit of a weird message, especially in cases like atom where it says it was staged and then points out (0B). support files seems to me generic enough to cover any cases, at the same time making clear you should likely not have to worry about it. It’s also arguable if the message should exist at all.
Submitting this as a suggestion to gather opinions/better solutions. Will only change the gif after the final decision (if we decide to change this).

I'm fine with removing the message altogether, actually.

Maybe it would make sense to only output the message if there actually are files in the staging directory.

Maybe it would make sense to only output the message if there actually are files in the staging directory.

Sure, but most apps only have a README of something really unimportant staged in that directory, so claiming they are simply support files still seems helpful. I’ll also say I’m thinking more and more the message should just be removed outright.

so claiming they are simply support files still seems helpful.

Yes, I should have clarified that I'm not opposed to changing the message text.

@reitermarkus What about keeping vs removing?What are your thoughts on that?

I would still like to be informed of any “support files” being left in the staging directory, even if it's just to make the installation seem “complete”.

Also keep in mind that binary Casks are symlinked, so the actual source remains in the staging directory.

I’m not contesting the usefulness of the staging directory, what I’m wondering is if informing the user every single time is of any value. Even if there are any binaries, why would users care? All they care is if everything is installed correctly. If it is, the staging directory is irrelevant and they’ll never have to touch it anyway.
The only users I envision the staging directory being relevant to are the tinkerers that can figure it out anyway (by coming here and reading the documentation). In HBC’s normal usage, does the message matter? I’d argue it likely doesn’t. Seems like we’re keeping it because it was always there.

So, just for a quick vote so we can decide what to do with this PR, mind adding a reaction to this post?
👍 = Delete the message completely.
👎 = Do nothing, keep everything as is currently.
😆 = Keep the message, but as supporting files (i.e. merge this PR).

Maybe rather than deleting the message or using supporting files, we could replace it with something like 🍺 Cask {{token}} successfully installed!

@jawshooah I’m not opposed in the slightest. Lets include that in the 👍  as well, then.

Yeah, +1 for that last suggestion by @jawshooah

So this is just waiting on an addition from @vitorgalvao ?

Made the change and the build is passing. If in agreement, it can be merged.

Is the code that calculates (0B) dead then, or is this also used in info?

Is the code that calculates (0B) dead then, or is this also used in info?

It’s still used in info (seems like a good place to continue to output all the information).

LGTM


Remove range of conformsTo

Current range is gist:Intention. Something can conform to a Specification, TaskTemplate, etc.

DECISION:

Remove range
Add gist:rangeIncludes gist:Intention


Bump anomaly-detection version to 1.2

Signed-off-by: Jackie Han<EMAIL_ADDRESS>Description

Bump version to 1.2.
Grab dependencies SNAPSHOTs from maven instead of building them locally.
Remove Checkstyle plugin as OpenSearch Core package removed its usage.
Force Jackson version to be 2.11.4 to avoid a version conflict issue.
Force Mockito-core version to 2.11.4 to avoid a version conflict issue.
Update some integration tests to resolve failed integration tests issue.

Issues Resolved
https://github.com/opensearch-project/anomaly-detection/issues/229
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #286 (9cd2802) into main (44baa81) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #286      +/-   ##
============================================
- Coverage     76.40%   76.36%   -0.05%
+ Complexity     3900     3897       -3
============================================
  Files           294      294
  Lines         16743    16743
  Branches       1736     1736
============================================
- Hits          12793    12785       -8
- Misses         3164     3175      +11
+ Partials        786      783       -3

Flag
Coverage Δ

plugin
76.36% <ø> (-0.05%)
:arrow_down:

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

Impacted Files
Coverage Δ

...g/opensearch/ad/model/DetectorValidationIssue.java
47.36% <0.00%> (-7.02%)
:arrow_down:

...java/org/opensearch/ad/task/ADBatchTaskRunner.java
81.65% <0.00%> (-3.98%)
:arrow_down:

...ansport/handler/AnomalyResultBulkIndexHandler.java
67.74% <0.00%> (-3.23%)
:arrow_down:

...ava/org/opensearch/ad/task/ADHCBatchTaskCache.java
90.12% <0.00%> (-1.24%)
:arrow_down:

...ain/java/org/opensearch/ad/task/ADTaskManager.java
75.81% <0.00%> (-0.39%)
:arrow_down:

...ava/org/opensearch/ad/task/ADTaskCacheManager.java
89.31% <0.00%> (+0.95%)
:arrow_up:

...in/java/org/opensearch/ad/model/ADTaskProfile.java
50.63% <0.00%> (+2.10%)
:arrow_up:

.../org/opensearch/ad/transport/RCFResultRequest.java
95.00% <0.00%> (+2.50%)
:arrow_up:

...va/org/opensearch/ad/transport/ProfileRequest.java
100.00% <0.00%> (+4.00%)
:arrow_up:

...earch/ad/transport/GetAnomalyDetectorResponse.java
91.91% <0.00%> (+5.05%)
:arrow_up:

... and 3 more


Solr startup Probe failure - Node IP used

Issue: IP used in startup Probe happens to be EKS Node IP and not the K8S cluster internal IPs
Setup:
Environment: AWS EKS
EKS : 1.27
Solr Operator : v0.7.1
ZK: inbuilt
Solr Cloud: v9.3
All modules running in same namespace Solr
Events:
  Type     Reason     Age   From               Message
  ----     ------     ----  ----               -------
  Normal   Scheduled  19m   default-scheduler  Successfully assigned solr/solr-solrcloud-0 to ip-xx-yy-xx-yy.us-west-2.internal
  Normal   Pulled     19m   kubelet            Container image "library/busybox:1.28.0-glibc" already present on machine
  Normal   Created    19m   kubelet            Created container cp-solr-xml
  Normal   Started    19m   kubelet            Started container cp-solr-xml
  Normal   Pulling    19m   kubelet            Pulling image "my-custom-sol-registry:0.2"
  Normal   Pulled     19m   kubelet            Successfully pulled image "my-custom-sol-registry:0.2" in 17.833156703s (17.833176263s including waiting)
  Normal   Created    19m   kubelet            Created container solrcloud-node
  Normal   Started    19m   kubelet            Started container solrcloud-node
  Warning  Unhealthy  19m   kubelet            Startup probe failed: Get "http://xx.yy.xx.yy:8983/solr/admin/info/system": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

Q - should the Startup Probe is hitting the actual NODE (underlying eks node) IP?

the xx.yy.xx.yy in the logs above  is of EKS NODE IP (i.e. outside the cluster and not the standard K8S cluster internal IPs )

not seeing this error in pod/solr-solrcloud-1  and pod/solr-solrcloud-2
startup probe failed seen only in pod/solr-solrcloud-0   ( in describe pod)

will check  and get back


Applicant Timeline - Modal accessibility

Use H1 elements for the modal title.
When the modal opens, focus should be on the H1.
Fix keyboard trap (cannot cycle through modal contents with tab).
Ensure all form elements are focusable.
Check the date picker, possibly causing some of these issues.

Focus on the new Application and new profile pages.

Lets start by replacing the Experience dialogs with the ones built with the H2 dialog component, and then test again.


Compute SNR posteriors

Implement SNR posteriors for standard likelihood
log_likelihood() now returns 3 floats (logL, rho_opt, rho_coh) and similarly log_likelihood_multi() will now return arrays of these quantities.

TODO:

implement the SNRs for the marginalized likelihoods
add tests

I have updated this PR with several changes:

Made the code in core.likelihood more generic by not referring explicitly to GW quantities. The generic log_likelihood method now has an argument flag include_supplemental. If False (default), the method acts as before, returning a scalar log likelihood. If True, it returns a tuple containing the log likelihood, and the supplemental information as a dict.
For GWs, the supplemental information includes the per-detector optimal and matched-filter SNRs.
I modified the inner_product function to assume that the frequency axis is last rather than first. This allowed to streamline the code for the calibration-marginalized log likelihood, so I could unify it with the ordinary log likelihood.
There are now unit tests comparing the log likelihoods from Bilby and Dingo, for IMRPhenomXPHM, SEOBNRv4PHM, and SEOBNRv5PHM models.

These create an injection at fixed parameters, and then calculate the log likelihoods at random parameter values. The threshold for comparison is 0.1, and this usually passes, but occasionally fails with slightly higher deviations. I'm not sure the cause of these small deviations.


Disable keepalive to keep server from serving stale results.

Fixes issue #402
Bonus fix: Fix "multiple header writes" warning when no code is received.

Updated with slightly better way of achieving the same.

I've merged that now - thank you - and well spotted - a difficult to diagnose problem.


Progress bar for mesh exporting step

Is your feature request related to a problem? Please describe.
I'm left hanging when my mesh file is large and therefore it would be nice to have a progress bar for that step.
Describe the solution you'd like
ETA would be nice, but some output of how large the mesh is or maybe how many triangles or vertices it has exported would also work.
Describe alternatives you've considered
No alternatives.
Additional context
ns-export poisson --load-config foo/config.yaml --output-dir bar/meshes --target-num-faces 100xxx

We are using a third party library which unfortunately doesn't provide information.


vscode unresponsible with debug.inlineValues: on in large files

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

VS Code Version: 1.80.0
OS Version: Windows/macOS

Steps to Reproduce:

Set debug.inlineValues to on
Install typescript, create test.mjs with:

import pkg from 'typescript'

const { getSupportedCodeFixes } = pkg

getSupportedCodeFixes()

Place breakpoint at getSupportedCodeFixes()
2. In Debug: JavaScript terminal start debugging e.g. node 1.mjs
3. After breakpoint hit, press STEP INTO
actual: vscode freeze (and message popups after some delay)
expected: delay/skip showing values?
If there are technical limitation in implementing this feature e.g. too hard to implement behavior from above, can you please provide a setting to disable this feature on specific files set (or when it exceeds some limit)?
Of course I'd like to skip large files, but in some cases it can be opened randomly because of error, debugger or something else...

This is still a bit slow in TypeScript because we tokenize the lines we want, which takes a minute, but it's not nearly as bad as before. At some point we'll have a proper, faster InlineValueProvider for TS.


[Fix #12400] Add new cop Layout/EmptyLineAfterRequires

Fix https://github.com/rubocop/rubocop/issues/12400.

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

As commented at https://github.com/rubocop/rubocop/pull/12605#discussion_r1449040049, I found that there are too many cases where this cop will not work, so I am going to withdraw this proposal, along with the original issue. (Close https://github.com/rubocop/rubocop/issues/12400)
Sorry I went to the trouble of getting you to review it. If I come up with a better idea, I'll suggest it again.


BufferType::SliceData should not take a Vec<u8> as parameter

Taking a Vec here means the client is likely to make an unneeded copy of the input data. Turning this parameter into a &[u8] means adding a lifetime parameter to the whole of BufferType...
Maybe the solution is to use the types of the members directly for Buffer::new, and remove BufferType altogether? This would need a new trait to obtain the (ptr, size) tuple but is probably cleaner.

Actually that sounds similar to issue #11 .


Support more forms

Currently velo supports only one form: rectangle. Let's add more forms:

etc

Contemplation how it can be achieved is here: https://staffengineer.github.io/velo?document=https://gist.githubusercontent.com/StaffEngineer/4d030dbd56e95f1d8c2c2cdb487b8878/raw/0610a01a15c7cd9da32d7080e77b2023d88ce314/velo.json

Another idea how to implement it is just set image property for ButtonBundle: https://github.com/bevyengine/bevy/blob/main/crates/bevy_ui/src/node_bundles.rs#L229

Support for circle form: https://github.com/StaffEngineer/velo/pull/97

This can be re-opened if someone wants to work on it.
This is partially done.


Update LAB_AK_03_Lab1_Ex2_retention_labels.md

explanation on why retention labels don't show in email during class. My observance using LODS. I found that mailboxes created by lab hosting providers have less than 10 MB of data in them. Sent a large file to Megan via email attachment, and the VAT policy was available even though it was setup less than 36 hours ago.
Module: 00
Lab/Demo: 00
Fixes # .
Changes proposed in this pull request:

These updates are reasonable and help clarify.


Timeoutable last_request_at from database?

Is there a native way to use a database column for last_request_at instead of it being stored in session object?

Please use the mailing list or StackOverflow for questions/help, where a wider community will be able to help you. We reserve the issues tracker for issues only.


Fixes: #6449

This change is

test-me-please

Only hit Kafka failure. Will re-run to see if issue #6449 reappears.

test-me-please

The issue was shown to exist prior to the reverted changes.


Add support for building many/all versions of an alpine package

what

We need a way to fetch all versions of a package from github and build package

why

Better continuity of releases

@osterman This is not a bad idea. We could run a back-fill task, maybe with a date/version count limit so we don't go back too far. We will not get 100% coverage with automation because some apps (e.g. gh) change repos and some apps (e.g. kubecron) change release URL formats, but we should be able to get 90% coverage.
We have the tools to fetch all the release tags and filter them by date, and to build a package for any given release. All we would need to add is a tools to list the package versions we have already released so we do not waste time or cause update issues by rebuilding working packages.

Ya, maybe we could have a VERSIONS file? with all versions to support? Then we can backfill that file and only build versions we cannot fetch from the repo (e.g. issue HEAD requests)

I think we keep the current VERSION file as the latest we have (or want to build) and continue auto-updating it as we have. Then, separately, we run a backfill task that uses the actual package list from our package repo (which lists all the versions of all the packages we have) and compare it to the list of releases for the package source and build the missing packages. Maybe we run it whenever auto-update detects a new release to make sure we haven't missed any intermediate ones. We can filter the list for pinned packages so that we backfill those properly, too.

I am marking this as closed by #3503, because although we cannot automatically build all versions of a package, we can now manually build (via GitHub actions) any version that we missed with automatic building, and we have the mechanism to build via scripts on local hosts any set of versions.


What about using an object?

Given this: https://github.com/vasanthk/react-bits/blob/master/patterns/18.conditionals-in-jsx.md
What about something like this:
const sampleComponent = () => {
  const basicCondition = flag && flag2 && !flag3;
  const obj = {
    'flag4': 'Blah',
    'flag5: 'Meh'
  };
  if (basicCondition) {
    return
{obj[flagName] || Herp}

  }
  return
Derp

};

@AngeloGulina nice :D
Going further:
const sampleComponent = () => {
  const basicCondition = flag && flag2 && !flag3;
  const obj = {
    'flag4': 'Blah',
    'flag5: 'Meh'
  };

  return
{basicCondition ? obj[flagName] || Herp : Derp}

};

However I prefer using cond from lodash in such a case ;)

@cytrowski, honestly I didn't think about cond.
Good idea, thanks!


Mention C++ standard(s) supported in title?

To get a better result for CATCH in searches for C++ (98) test frameworks it likely helps to include the C++ standard(s) it supports.
For example:
A modern, C++-native, header-only, framework for unit-tests, TDD and BDD using C++98 or later

AFAICS only repository owner can do this, so I assigned this to @philsquared

Thanks for the suggestion, @martinmoene
Done!


Build error with Maven 3.5.2

Building with the latest maven (3.5.2) leads to a error while doing dependency resolution. The same source builds fine with maven 3.3.9.
Specifically,
[ERROR] The build could not read 2 projects -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[FATAL] 'dependencies.dependency. org.nd4j:nd4j-native:0.9.2-SNAPSHOT' for org.nd4j:nd4j-native:0.9.2-SNAPSHOT is referencing itself. @ org.nd4j:nd4j-native:[unknown-version], /Users/abhishek/code/skymind/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-native/pom.xml, line 18, column 21
[FATAL] 'dependencies.dependency. org.nd4j:nd4j-cuda-9.0:0.9.2-SNAPSHOT' for org.nd4j:nd4j-cuda-9.0:0.9.2-SNAPSHOT is referencing itself. @ org.nd4j:nd4j-cuda-9.0:[unknown-version], /Users/abhishek/code/skymind/nd4j/nd4j-backends/nd4j-backend-impls/nd4j-cuda/pom.xml, line 173, column 21

Detailed error log here.

I can 100% reproduce this on Arch. It is almost certainly a consequence of
https://issues.apache.org/jira/browse/MNG-6123
Thanks @abhishekpathak


Prevent and recover from 2 valid cards or bank accounts

We assume that we will only have one credit card on file. There are cases of users somehow ending up with two cards on file, which results in a 500 on the site for them (on the credit card page, maybe elsewhere?).
(Login required)
http://gittip.freshdesk.com/helpdesk/tickets/567
https://app.getsentry.com/gittip/gittip/group/22950746/
https://app.getsentry.com/gittip/gittip/group/22950711/

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Closing in light of our decision to shut down Gratipay.
Thank you all for a great run, and I'm sorry it didn't work out! 😞  💃


Give maintainers the ability to provide reason for yanking

PEP 592 permits the use of an arbitrary string which gives a reason for yanking:

The value of the data-yanked attribute, if present, is an arbitrary string that represents the reason for why the file has been yanked. Tools that process the simple repository API MAY surface this string to end users.

PyPI does not currently support this. Completing this issue would include a UI to allow the user to set this when yanking, an update to the DB model to change this from a boolean to a text field, and an update to the simple page to surface this value if present.

Good First Issue: This issue is good for first time contributors. If you've already contributed to Warehouse, work on another issue without this label instead. If there is not a corresponding pull request for this issue, it is up for grabs. For directions for getting set up, see our Getting Started Guide. If you are working on this issue and have questions, feel free to ask them here, #pypa-dev on Freenode, or the pypa-dev mailing list.

FYI: pip prints the reason for yanking if it is provided, and if it is not, it prints "Reason for being yanked: <none given>".
As a result of this, any yanked releases on PyPI today will result in pip's output when installing a yanked release saying "Reason for being yanked: <none given>".
Reported/mentioned in https://github.com/pypa/pip/issues/8160#issuecomment-620772136.

Just to confirm, is this issue also taken up by someone to work on as per https://github.com/pypa/warehouse/issues/7886#issuecomment-626093001 ?

@deveshks yep, I'm working on this.


Allow feature variants in morph stats

Currently morph stats do not allow to call feature with additional argument/variant. https://github.com/BlueBrain/NeuroM/blob/master/neurom/apps/morph_stats.py#L203
    for feature_name, modes in config.get('neuron', {}).items():
        feature, func = _get_feature_value_and_func(feature_name, neurons)
    ...

Should become something like
    for feature_name, modes in config.get('neuron', {}).items():
        feature, func = _get_feature_value_and_func(feature_name, neurons, additional_variants/args for feature)
    ...

done in 3.0.0 version


HTTP feeds fetched as HTTPS

Problem happens when elfeed fetches simultaneously HTTPS and HTTP feed. Emacs just stucks for a while and update doesn't proceed.
Here is part of backtrace:
Debugger entered--Lisp error: (quit)
  re-search-forward("\\(^    Verify return code: .+\n---\n\\|^- Simple Client Mode:\n\\(\n\\|^\\*\\*\\* Starting TLS handshake\n\\)*\\)" nil t)
  open-tls-stream("feeds2.feedburner.com" #<buffer  *url-http-temp*-69304> "feeds2.feedburner.com" 80)
  network-stream-open-tls("feeds2.feedburner.com" #<buffer  *url-http-temp*-69304> "feeds2.feedburner.com" 80 (:type tls :nowait t))
  open-network-stream("feeds2.feedburner.com" #<buffer  *url-http-temp*-69304> "feeds2.feedburner.com" 80 :type tls :nowait t)
  ...
  url-retrieve
  ...
  elfeed--check-queue()
  ...
  url-http-activate-callback()
  ...
  url-http
  url-https
  ...
  elfeed--check-queue()

Looking at backtrace, I can see that url-open-stream tries to use tls method for port 80 which is cleary invalid and results in my issue. Normally url-open-stream checks for url-gateway-method variable. However this variable is set by url-https down the stack and elfeed--check-queue asks to retreive new HTTP URL with url-gateway-method already set to tls.
One solution I could propose is to reset url-gateway-method to default value but I don't like this approach. Perhaps code that manages queue can be changed in some other way to fix the issue?
BTW what do you think about using url-queue-retrieve?

I switched it over to url-queue-retrieve just now. No more custom queue framework. The only downside as far as I can tell is that it breaks differently in Windows than my original queue framework.
What prompted this is that YouTube just dropped their v2 API and the new v3 API is a whole lot more sensitive about rate-limiting, so Elfeed needs to be more careful about reusing connections to avoid trouble.
I'm going to close this since, if this bug is still around, it's formally an Emacs (url-queue) bug now.


Simplify string-splitting Example

The current example wasn't accounting for the line height, so the paragraphs were overlapping each other.
I added the calculated height to the output in the PDF so that it's easy to see it all working together.
It's easy to play with the line height and font size to see how it impacts the calculated height.
Reading Shakespeare is more interesting than reading Lorem Ipsum, and both are in the public domain, so why not? :)

Thanks!


Referencing office-ui-fabric-react as external

Category

[X] Question
[ ] Typo
[ ] Bug
[ ] Additional article idea

Expected or Desired Behavior
As I have multiple webparts in my project, I would like to reference office-ui-fabric-react as external, so that it does not get bundled with each webpart.
If I simply add the reference in externals in config.json, i do have an external file generated, and my webparts files go from ~800kb to ~100kb. But when I test it in the workbench, or in a "production" site, I get an error saying the component has a dependency on a module "office-ui-fabric-react" that is not referenced in the manifest. Error goes away if I add a "globalName" in my external reference in config.json (procedure for non AMD modules). But then a javascript error occures because it gets loaded before React.
However, doing researches, I find in the official documentation that I should use Fabric React that shipped with the generator. Samples show non external references.
Scaffholded a new project with latest version of the generator. I take all references in package.json, update my project's package.json and reinstall everything in node_modules. I still need to add (npm install) office-ui-fabric-react in my project to be able to reference its components
My question is :

Should I reference office-ui-fabric-react as external ? Is it still supported ?
Should I be able to reference office-ui-fabric-react without adding it with npm install ?

Thanks !

You were following this guidance: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/basics/add-an-external-library#share-a-library-among-multiple-web-parts ?
You should be able to reference office-ui-fabric-react as an external, but you must npm install it first. What will happen is that a separate chunk (JS file) will be creating containing all the office-ui-fabric-react code. This chunk will be shipped along with your web parts.
One thing to be aware of is that office-ui-fabric-react has breaking changes from time-to-time so it cannot be packaged in the same way as the SPFx Framework libraries, which are guaranteed to be backwards compatible.

hi @SPParseError, since seems to be answered by our engineering, closing for now. Let's reopen if needed. Thx.

Hi,
I tried it once again.
Here is my externals section in config.json :

Here is my import statement in the webpart :

I have this error when running gulp serve :

Looks like I would need to add a "globalName" statement in the external declaration. If I do, I don't have this error. But then the code fires an error saying "React" does not exist, and I can't declare "React" as a dependency in externals.
@VesaJuvonen should we reopen it ?

Seeing the same behavior @SPParseError . This makes it a particular pain to externalize any module that has a dependency upon React. The version of React that loads into the page (15.6.2 at this time) doesn't expose itself as a global variable, which office-ui-fabric is trying to access.

Cancel
On 22 Mar 2018 20:37, "Jon Badgett"<EMAIL_ADDRESS>wrote:
Seeing the same behavior @SPParseError https://github.com/spparseerror .
This makes it a particular pain to externalize any module that has a
dependency upon React. The version of React that loads into the page
(15.6.2 at this time) doesn't expose itself as a global variable, which
office-ui-fabric is trying to access.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SharePoint/sp-dev-docs/issues/1344#issuecomment-375431830,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADu5aiK75j4oS6dBllBPML6yxkJxZJssks5tg_1sgaJpZM4SBehO
.

Any solution?

It is not unfortunately supported to reference Office UI Fabric as an external package as that will cause you version exceptions. Recommendation and how to use Office UI Fabric React is covered in following documentation - https://docs.microsoft.com/en-us/sharepoint/dev/spfx/office-ui-fabric-integration. If you have any issues with this, would suggest to open a new issue so that your comments or findings will not get buried on closed issues.

The UI Fabric React is not was not working using the node_module link. So we got a workaround to fix this issue.
Add the CDN path and globalName of the to config.json
"externals": {
"office-ui-fabric-react": {
"path"<EMAIL_ADDRESS>"globalName": "Fabric"
}
}
This will compile properly. However if you deploy and add the web part to a page it will through react not found error.
To remove the react error I added the CDN path to the page using SEWP on classic page. In case of Modern page you can create extension to add the react js.
Once this is done the web part loads fine.
I know this is not the correct way but this will get your web parts working and will not create large bundle files.


Link Items across VSTS domains?

Is it possible to e.g. add depencencies on items in other domains?

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

ID: 3167d770-e6d3-dde7-2a9f-89967fb49c58
Version Independent ID: 66c7f3b8-6de6-47ad-c1fa-94fb98bdac69
Content: Link work items to support traceability - VSTS & TFS
Content Source: docs/work/track/link-work-items-support-traceability.md
Service: unspecified
Product: devops
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@CaptainZippy - The only way to add this type of link is by using the Hyperlink link type. There is ongoing work planned for later this year to provide cross account linking which would support adding links to work items defined in a project in another account associated with the same organization.


[Improve][Kafka] kafka source refactored some reader read logic

An attempt to improve kafka source with reference to flink kafka source

Purpose of this pull request

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update change log that in connector document. For more details you can refer to connector-v2
Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist

[ ] Update the release-note.

@zhilinli123 @hailin0 @Hisoka-X @EricJoy2048 @TyrantLucifer cc

Please fix the conflict

Please fix the conflict

done

@hailin0

Please share more information about why we need refactor kafka? And what we can get after refactor?

Please share more information about why we need refactor kafka? And what we can get after refactor?

+1

Please share more information about why we need refactor kafka? And what we can get after refactor?

Please share more information about why we need refactor kafka? And what we can get after refactor?

Firstly, I believe there is room for improvement in the previous approach where a new consumer thread is created for each split, and each consumer thread polls in a loop. Enhancements could involve having one consumer thread per parallelism level, ensuring clearer offset management, and promptly removing consumed partitions to reduce overhead.
Secondly, a more seamless integration of streaming and batch processing can be achieved, eliminating the need for consumer threads to differentiate between streaming and batch behaviors.

Firstly, I believe there is room for improvement in the previous approach where a new consumer thread is created for each split, and each consumer thread polls in a loop. Enhancements could involve having one consumer thread per parallelism level, ensuring clearer offset management, and promptly removing consumed partitions to reduce overhead.
Secondly, a more seamless integration of streaming and batch processing can be achieved, eliminating the need for consumer threads to differentiate between streaming and batch behaviors.

Make sense to me. Thanks @Carl-Zhou-CN !

Checking...


Change maf to af_allele2 in .snp files

Good point! -- though,  FINEMAP requires MAF to be MAF, not AF... I think we can add an extra column for .z file and merge it back after FINEMAP as we did for p column.


Adding Troubleshooting Section to User-Guide.md File

This is a Bug Report

Problem Description:
Upon reviewing the "user-guide.md" document, I noticed that it does not include any section about troubleshooting common issues. Newbies might encounter issues when deploying Windows containers in Kubernetes, such as node selector errors or networking issues.
To Reproduce:
To address this issue, I propose adding a new section titled "Troubleshooting Common Issues" to the user guide. This section will help newbies overcome common challenges when deploying Windows containers in Kubernetes, saving them time and effort.
Kindly assign me this issue. Thank you.😊

/assign

/remove-lifecycle stale


软件环境
- paddlepaddle-gpu: 2.4.1
- paddlenlp: 2.5.0

重复问题

[X] I have searched the existing issues

错误描述
for inputs in train_data_loader时，到第四个循环 logits = model(*inputs[:-1])加载时间变长，之后跳出程序且没有任何报错出现，请问是什么原因？
下图为debug图片，再往下执行直接就会退出

稳定复现步骤 & 代码

/root/anaconda3/envs/paddle_fei_new_1/bin/python /usr/local/zx/12345_for_baogao/unimo_advertisegen/run_gen.py
/root/anaconda3/envs/paddle_fei_new_1/lib/python3.9/site-packages/_distutils_hack/init.py:33: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
[2023-03-01 15:34:49,166] [    INFO] - Model config UNIMOConfig {
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 1,
"eos_token_id": 3,
"hidden_act": "relu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"initializer_range": 0.02,
"intermediate_size": 3072,
"mask_token_id": 3,
"max_position_embeddings": 513,
"model_type": "unimo",
"normalize_before": false,
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"paddlenlp_version": null,
"type_vocab_size": 4,
"unk_token_id": 17963,
"vocab_size": 18000
}
-----------  Configuration Arguments -----------
batch_size: 16
beta1: 0.9
beta2: 0.98
dataset_name: advertisegen
decode_strategy: beam_search
device: gpu
do_predict: True
do_train: True
epochs: 10
epsilon: 1e-06
learning_rate: 5e-05
length_penalty: 1.2
logging_steps: 10
max_dec_len: 20
max_grad_norm: 1.0
max_seq_len: 512
max_target_len: 30
max_title_len: 30
min_dec_len: 3
model_name_or_path: unimo-text-1.0
num_beams: 6
num_return_sequences: 1
output_path: ./predict.txt
predict_file: ../unimo-text/data/predict_1.json
save_dir: ./checkpoints
save_steps: 1000
seed: 1
temperature: 1.0
top_k: 0
top_p: 1.0
train_file: ../unimo-text/data/wait_data_2.json
warmup_proportion: 0.02
weight_decay: 0.01
W0301 15:34:52.443105 12987 gpu_resources.cc:61] Please NOTE: device: 0, GPU Compute Capability: 3.7, Driver API Version: 10.2, Runtime API Version: 10.2
W0301 15:34:52.450660 12987 gpu_resources.cc:91] device: 0, cuDNN Version: 7.6.
[2023-03-01 15:34:53,340] [    INFO] - All model checkpoint weights were used when initializing UNIMOLMHeadModel.
[2023-03-01 15:34:53,340] [    INFO] - All the weights of UNIMOLMHeadModel were initialized from the model checkpoint at unimo-text-1.0.
If your task is similar to the task the model of the checkpoint was trained on, you can already use UNIMOLMHeadModel for predictions without further training.
[2023-03-01 15:34:53,341] [    INFO] - Already cached /root/.paddlenlp/models/unimo-text-1.0/unimo-text-1.0-vocab.txt
[2023-03-01 15:34:53,358] [    INFO] - tokenizer config file saved in /root/.paddlenlp/models/unimo-text-1.0/tokenizer_config.json
[2023-03-01 15:34:53,359] [    INFO] - Special tokens file saved in /root/.paddlenlp/models/unimo-text-1.0/special_tokens_map.json
Epoch 1/10
Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

数据集问题，已解决


Saving not working properly

Sometimes when you leave the server i doesn't save your data properly so you spawn in another position and with no money.

Was steam launched before entering the server?

I believe that happened to me once, but only to me a while ago, have no idea what might have caused it but maybe it was the older FXServer builds dying on me. This problem may occur with more frequence if your database is not in the same local network?

Yes i get the same issue...

Deprecated issue (vRP 2).


15.3 preview 3: dependency conflicts

dotnet new console -n xxx -lang F#
dotnet restore
open the project in VS
result

Please reopen in https://github.com/dotnet/project-system/

cannot repro after fix https://github.com/dotnet/sdk/pull/1372

Yes, this is now fixed.  You can get things to show up with this CLI/SDK install combo: https://github.com/dotnet/cli/tree/release/2.0.0
That is, the following should work if you install:

15.3 Preview 3
The above linked CLI


VDC: Improve publishingtools deployment and listing

Description
Because deployment tend to fail because of wrong/manual input, some automatic checks should be added to reduce manual input and make it less error prone.
Other related issues too:

Listing issue (https://github.com/threefoldtech/js-sdk/issues/2370, https://github.com/threefoldtech/home/issues/1012)
Update instructions (https://github.com/threefoldtech/js-sdk/issues/2373 and https://github.com/threefoldtech/js-sdk/issues/2374).

Implementation

[x] Get rid of Title step if it's not really used (solution name can be used instead).
[ ] ~Check given URl is an actual git repo~
[ ] ~Use Github API to get branches and source directory automatically (in case it's a github URL).~
[ ]  ~Try to return a meaningful error in case of failure (from publishingtools logs?)~
[x] Update instructions (add separate instructions for each type of blog, website and wikis).
[x]  Maybe separate solution type from chart name to distinguish between solutions that use the same chart.

Github API calls would need authentication, so for simplicity, less input is required now and instructions are added, also listing should be fixed.

verified


Clickable Switches and Lights Showing in 3D based on Switch and Bulb State.

I love the clickable lights and light groups. It would be great to also be able to click objects (and object groups) to be able to control switches as well as to run scripts/automations/scenes.
To go along with this, I would also love to be able to set a condition as to whether a light appears illuminated in the 3d model based on a switch state and bulb state.
Here's a little more contest to this request: Because I have other people in the house who prefer to use physical switches on the wall to control my lights, I have installed smart switches along with my Zigbee smart bulbs. I have automations set so when a switch is powered on it activates a scene that makes sure the bulbs come on at full brightness and a specific set color temp. I also have an automation so when all the lights have been shut off via Zigbee, the smart switch on the wall turns off as well.
The problem I'm having is when a wall switch gets shut off, Home Assistant and zigbee2mtqq just see the bulb as unreachable but the state is still registering as "ON" since that was its state before the power was cut. Since Home Assistant sees the state of the bulb as "ON" it stays on in the 3D card.
Eventually I'd like to swap out all of my wall switches for a smart switch that keeps the bulbs powered but I am waiting for the
Inovelli Zigbee Dimmer Switch (Blue Series) but that isn't available yet.

Hello Timothy, you can use the gesture to do an action on an object to trigger any type of service. Otherwise I would suggest to put device complexity in the backend, not in the card. Your use case with a phisycal switch and a connected bulb can be better managed by a input boolean https://www.home-assistant.io/integrations/input_boolean/ where you control the combination of phisycal and logical states. Maybe I misunderstood your goal...

Please let me know if my answer gives you a workaround to your problem or try to better put additional clarifications. If no answer before the end of Sunday I will close the bug


MODLD-450: Linked Data ECS support

https://folio-org.atlassian.net/browse/MODLD-450
Add ECS support for Linked Data records.

 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.

To fix status check

There is a NEWS.md file, we have to add a story number and title there

Done.


Updates on making this into a cli?

The underlying parser for this plugin has improved a lot, making this tool potentially usable. Now that that is the case, I'll be more motivated to work on this, and I'll resume work on a CLI that I started months ago soon-ish :)

There is one now :)
I will try to make a blog post about it soon to better announce it.


feat: add getTempBinFile

per https://github.com/j178/leetgo/issues/112#issuecomment-1453440626

Looks good, I didn't know golang has a built in function to get the temp folder. I guess one can learn something new every day. 👍

hhh😆


Fix python dependency

Python 3.5! (For real now :smile:)

Sorry. I completely missed that too! :cry:

Looks like the builder is stuck :-(

Not really. staged-recipes takes precedence from the feedstocks, so we have to wait...

Huih, a whole day? That's bad... :-/

I've been waiting for a few packages for days! It took ~5 days for gdal's chance in AppVeyor :wink:

Not really. staged-recipes takes precedence from the feedstocks, so we have to wait...

You know, I don't that has been configured by me. Maybe it's queue is checked first or something.

I don't know why that happens either, but AppVeyor stops a feedstock project matrix to finish a staged-recipes PR. That is why I believe de-coupling those two will help us a lot to get the files uploaded in time.


className prop for RadioGroup

It would be ever so handy if props from <RadioGroup ...> were passed into the <div ...> element at https://github.com/react-tools/react-form/blob/master/src/components/form-fields/RadioGroup.js#L26
In particular I'd like to be able to assign a className to the RadioGroup.

Hmm this is a good idea 👍🏼

According to the 3.0.0 release notes, RadioGroup components have been deprecated: https://github.com/react-tools/react-form/releases/tag/3.0.0 Has this been changed?

Crap lol i need to update that changelog it has .. Radio Groups were NOT depricated


Hysteresis support

Coverage increased (+0.3%) to 96.565% when pulling ccbb0b281e1a40ba6dfa062b76d8214ee090b204 on hysteresis_for_graphite into 16f15a1d6a49f58793112a76946ba6932a6e7800 on develop.

Coverage increased (+0.4%) to 96.597% when pulling ada2a7770bff0e6d5f13c06e07c97c12e245ec04 on hysteresis_for_graphite into 16f15a1d6a49f58793112a76946ba6932a6e7800 on develop.

Missing tests...
:-1

Coverage increased (+0.2%) to 96.429% when pulling 31e7581237d33acef03948da344aa78599a67407 on hysteresis_for_graphite into 16f15a1d6a49f58793112a76946ba6932a6e7800 on develop.

:+1:

Coverage increased (+0.2%) to 96.429% when pulling a7b1d2a81f24dd3235e324078a0d5f38293dc7e9 on hysteresis_for_graphite into 16f15a1d6a49f58793112a76946ba6932a6e7800 on develop.


Repair should only allow vanilla items.

It accepts mod items right now, and that means a lot of troubles and bugs. For example, you can fill ic2 batterys with energy.

Supporting mod items is a good thing IMO.
A settlement could be a black- or whitelist.

:+1: for blacklisting /whitelisting

Actually, perhaps I can make it configurable instead? As suggested a black or whitelist or both for the repair.

Yeah, that's a better solution than not allowing any modded item to be repaired, but something has to be done to prevent things like IC2 batterys getting filled.

Well at least for admins/higher grade moderators instantly filling batteries can also a good thing ;)
Maybe also add a permission for exemption from the white and/or blacklist


uniqueArray corrections

If object (hasmap) doesn't have key specified undefined is returned, not null.
Check if object hasOwnProperty of the number, not array of number:
array[i] instead of [array[i]]

😄 🚢 Thanks for the hardwork!

No problem, thanks for merging both PRs in.


Check overlay against DL and VRT

Check overlay

[ ] matches DL
[ ] check VRT passes
[ ] check and update migration guides example

Fix with #227

I looked at the overlay and can confirm that there are no visual changes or code changes between spectrum-tokens-17 and main. The animation definitions have a different line-wrapping in the tokens branch which I am considering reverting to consistency.
Screenshots:

I pushed a small line-break change for Underlay in https://github.com/adobe/spectrum-css/commit/c897c23c1e4004cfdc6541ceb5a5b4b00bb198d4


Bugfix/fix changelog scopes commitlint

docs(*): 📝 fix CHANGELOG due to bad commit
fix(cli): 🐛 --commitlint should still work if no gitzy config
fix(cli): 🐛 if no "scopes" in any config, skip scopes prompt

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Video retrival

Is this also possible to retrive video using this code like VIDEO BERT?
to search in text qwery? and merge frames from database depending on situation of sentence in search.?
Please guide !!

I don't think there's an obvious way to do this without some sort of additional computation / training involved. VideoGPT does not use language as a pre-training modality. You could try learning video representations through generative pre-training on a dataset of videos, and query a dataset for nearest neighbor videos if given (query, video) pairs.


Optimizer (Adam) does not propagate hyperparameter update on first update

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): no
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04 64b
TensorFlow version (use command below): 2.0.0b1
Python version: 3.6

Describe the current behavior
Using tf.keras.optimizers.Adam and updating hyperparameters results in hyperparameters not updating on the first update.
Describe the expected behavior
Hyperparameters DO update on the first run, ie they are initialized to tf.Variables at constructor of the optimizer, not on first call.
Code to reproduce the issue
adam = tf.keras.optimizers.Adam()
adam.learning_rate = 0.00001   # this does not update learning_rate, but changes python-typed  hyperparameters in "_hyper" dictionary to tf.Variables
adam.learning_rate = 0.00001  # this finally updates the tf.Variable
Calling adam._hyper before update yields:
{'learning_rate': 0.001, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999}
Calling adam._hyper after first update yields:
{'learning_rate': <tf.Variable 'learning_rate:0' shape=() dtype=float32, numpy=0.001>, 'decay': <tf.Variable 'decay:0' shape=() dtype=float32, numpy=0.0>, 'beta_1': <tf.Variable 'beta_1:0' shape=() dtype=float32, numpy=0.9>, 'beta_2': <tf.Variable 'beta_2:0' shape=() dtype=float32, numpy=0.999>}

Well actually to get it working, first a getter must be called for adam.learning_rate and only then the python-typed variables are replaced with tf.Variable variables and one can use the setter.

@svobora, In order to expedite the trouble-shooting process, please provide a complete code to reproduce the issue reported here. Thanks!

Hello, I will provide a simple and complete, yet a little different example. I believe the actual problem is with the tf.train.Checkpoint. Probably the variables are overwritten by the restored values when adam._hyper is converted from plaintext format to tf.Variable format.
In the provided example, the optimizer.learning_rate is not properly stored. Even though it is a different problem, I believe they are connected. I am not yet able to easily reproduce the first problem, because it appears after ckpt.restore() call (I was able to reproduce it with minimal example), but it depends on the manager.save() (I was not yet able to reproduct with minimal example).
import tensorflow as tf

def save():
    optimizer = tf.keras.optimizers.Adam()
    ckpt = tf.train.Checkpoint(optimizer=optimizer)
    manager = tf.train.CheckpointManager(ckpt, "tmp", max_to_keep=3)
    _ = optimizer.learning_rate  # comment this line and "load()" will print (0.001)
    optimizer.learning_rate = 0.0003
    manager.save()

def load():
    pretrained_model = "tmp/ckpt-1"
    optimizer = tf.keras.optimizers.Adam()
    ckpt = tf.train.Checkpoint(optimizer=optimizer)
    ckpt.restore(str(pretrained_model))
    print("Learning rate for epoch {} set to {}.".format(0, optimizer.learning_rate))

if __name__ == '__main__':
    save()
    load()

Comment the suggested line to see a bug.

@svobora Thanks for providing the reproducible code.
I am able to reproduce the issue with Tenosrflow 2.0.0.beta1 on Colab. Please see the colab gist. Thanks!

I think this issue surfaces a discrepancy in Save and Restore method and is not necessarily a bug on  tf.keras.optimizers.Adam side.
Can you please try setting learning_rate arg for the tf.keras.optimizers.Adam() instead?

I believe the main issue is that tf.keras.optimizers.Adam() returns not fully initialized object. What is the reason not to construct the object with tf.Variable hyperparameters in the first place? Why is the object constructed with hyperparameters in the form {'learning_rate': 0.001, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999} and only on first getter call converted to tf.Variable?

Thanks for the report!
Variable creation is deferred so that Estimator use case is supported. (you can't create a variable outside of Estimator graph)
The workaround here is just to call opt._create_hypers() so that things will get initialized correctly before calling Checkpoint, but I'm concerned this is not a good solution.

@allenlavoie from the minimal example here, do you think it's better if we create variables eagerly, since checkpoint needs to capture variables at creation time?

How about the setter also creates a Variable? So if you pass the constructor argument you don't get a variable (since presumably you'll always pass that same value, so no need to restore it from a checkpoint) but if you assign to the attribute you always get a variable.

You can simply initialize the optimizer with the right learning_rate. This seems a niche case to support. Closing it for now.

You can simply initialize the optimizer with the right learning_rate.
Really? But maybe I should be aware first that save function called on an object doesn't save anything to know that I have to set it manually. The issue is in unexpected behavior of the Saver, which depends on background creation of some other object no user knows about. Like the @allenlavoie  said, either create on assignment, or ban assignment. Do not allow to assign to preliminary objects.

What I ended up doing is calling a getter on the object, which as opposed to setter, actually creates the Variable.
_ = optimizer.learning_rate

What I ended up doing is calling a getter on the object, which as opposed to setter, actually creates the Variable.
_ = optimizer.learning_rate

This is only a workaround, b/c there are quite some other hyper parameters. I'm not sure what your use case is, why would you use an optimizer without minimizing anything?
On the other hand, we're moving forward with having Adam(var_list) or something like that, which should be able to fix this problem

why would you use an optimizer without minimizing anything?
How did you infer that I do not minimize anything? I posted a toy example to reproduce the issue, not my company's code, which was affected and I had to find the issue and fix it.
On the other hand, we're moving forward with having Adam(var_list) or something like that, which should be able to fix this problem
Great! Hopefully things will improve over time. Thx for reply.

why would you use an optimizer without minimizing anything?
How did you infer that I do not minimize anything? I posted a toy example to reproduce the issue, not my company's code, which was affected and I had to find the issue and fix it.
If you minimize a list of variables, it will create the hyper parameters as tf.Variables after it, so the saving and loading would work.
On the other hand, we're moving forward with having Adam(var_list) or something like that, which should be able to fix this problem
Great! Hopefully things will improve over time. Thx for reply.

If you minimize a list of variables, it will create the hyper parameters as tf.Variables after it, so the saving and loading would work.
Could you point me to a documentation that specifies you cannot call Saver before minimizing a set of variables?

If you minimize a list of variables, it will create the hyper parameters as tf.Variables after it, so the saving and loading would work.
Could you point me to a documentation that specifies you cannot call Saver before minimizing a set of variables?

What I mean is it will serve as a workaround for you before this is fixed in nightly or 2.3

OK, thanks!


Location

I like get response.Location, is possible?
Thanks.

I don't understand what you want to do. Feel free to re-open and clarify.


fix: update dependencies

Codecov Report

Merging #22 (21ee4f6) into main (639fd36) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
- Coverage   97.33%   97.31%   -0.02%
==========================================
  Files          32       32
  Lines         413      410       -3
  Branches      117      114       -3
==========================================
- Hits          402      399       -3
  Misses         11       11

Impacted Files
Coverage Δ

src/rules/basic/image-has-accessible.ts
93.10% <0.00%> (-0.23%)
:arrow_down:

src/rules/android/has-enough-button-size.ts
100.00% <0.00%> (ø)

src/rules/wcag20/levelA/touchable-has-alt.ts
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


File size widget

This PR adds a file size widget to the read only attributes. For local files (those with layer.source.path), it will collect the actual size on-disk. For remote files (those whose layer.source.path is None or points to a URL), it will collect the in-memory size and display "in memory" next to the file size.
For local zarr files, it should be possible to determine the on-disk size, but since the napari-ome-zarr plugin doesnt store the path, we cant get it. Therefore, local zarr files are given as in memory size.
The floats displayed are rounded to 2 decimal places.
A reasonable transformation of the size is also done such that it displays "12.34 KB" or "12.34 GB" as appropriate.

This is not ready for review, just wanted to get something up in case you wanted to see the direction.

I feel pretty good about where this is currently. Now I'm working adding complexity for zarr files.

Codecov Report

Merging #21 (9eff311) into main (5326e71) will increase coverage by 0.03%.
The diff coverage is 92.40%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
+ Coverage   93.22%   93.26%   +0.03%
==========================================
  Files          16       18       +2
  Lines        1506     1604      +98
==========================================
+ Hits         1404     1496      +92
- Misses        102      108       +6

Impacted Files
Coverage Δ

src/napari_metadata/_file_size.py
83.78% <83.78%> (ø)

src/napari_metadata/_tests/test_file_size.py
100.00% <100.00%> (ø)

src/napari_metadata/_widget.py
93.53% <100.00%> (+0.27%)
:arrow_up:

... and 6 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

It turns out Layer.source is immutable and is set via a context manager during file opening. The reader in the napari-ome-zarr plugin doesn't set layer.source.path, even if its a local file. Therefore, we have no way of knowing where a zarr file came from once its loaded. For this reason, the current state of this plugin will check in memory disk size for zarr files. However, I've included a small method which will walk a directory and get the total file size if the ability to set source.path for local zarr files appears.

@andy-sweet I've made all your requested changes. This is ready for review.

Can you also update the PR description to reflect the final form of the contribution?

After those two, I'll merge.

Can you open an issue related to directory_size and summarizing directory sizes, since that would be especially useful for zarr?

https://github.com/andy-sweet/napari-metadata/issues/63

@andy-sweet done!

Thanks. Merging!


Card

Cards have just an image and a headline and link to another page. Block on doc will need to collect each item separately:
| Card |
|--------|--------|--------|
| Image | Title | URL |

We may want to try and add the on-hover size increase as well as a property boolean to the card?


prismlauncher: 8.2 -> 8.3

Description of changes
Diff: https://github.com/PrismLauncher/PrismLauncher/compare/8.2...8.3
Changelog: https://github.com/PrismLauncher/PrismLauncher/releases/tag/8.3
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

Result of nixpkgs-review pr 306348 run on aarch64-linux 1

4 packages built:

prismlauncher
prismlauncher-qt5
prismlauncher-qt5-unwrapped
prismlauncher-unwrapped


Grid: Out of context screen2 and grid2 functions produce incorrect values

The screen2grid and grid2screen are calculating the positions incorrectly when calculating it out of context. The value of scroll() is already scaled from what i understand
Said functions:
https://github.com/Fattorino/ImNodeFlow/blob/master/src/ImNodeFlow.cpp#L226
calculations of scroll:
https://github.com/Fattorino/ImNodeFlow/blob/master/src/context_wrapper.h#L192

Could you show a minimal example of such wrong values appearing? Thank you

    // Define some node
    struct SomeNode : public ImFlow::BaseNode
    {
        SomeNode() = default;
    };

    // Drawing stuff
    using namespace ImGui;

    static ImFlow::ImNodeFlow graph;

    // some button that we can drag on top of graph window
    Button( "Test Button" );
    if ( BeginDragDropSource() )
    {
        int plValue = 5;
        SetDragDropPayload( "SuperPayload", &plValue, sizeof( plValue ) );
        Text( "Drop me onto graph window" );
        EndDragDropSource();
    }

    // make sure to disable the background of child window in ImFlow due to https://github.com/ocornut/imgui/issues/2658
    // otherwise drop target will never become active as it is drawn behind NON transparent child window of a graph
    // with BG disabled, it still doesn't behave properly but at least the visual indicators are there
    graph.update();

    // Actual meat of the reported issue, attach drop target to the graph
    if ( BeginDragDropTarget() )
    {
        if ( auto acceptPayload = AcceptDragDropPayload( "SuperPayload" ) )
        {
            // Since we're out of context (after graph finishes drawing), this will not be placed correctly
            m_graph->placeNode< SomeNode >();
        }

        EndDragDropTarget();
    }
    ```

    I think this should work

I had a few minutes to also record a video of said issue and debug it a bit:
The issue, as you can see the nodes are not placed under the cursor.
https://github.com/user-attachments/assets/6133bdbc-5e21-48f4-a39c-6ceeb6674af6
Updating the code to this:
    ImVec2 ImNodeFlow::screen2grid( const ImVec2 & p )
    {
        if ( ImGui::GetCurrentContext() == m_context.getRawContext() )
            return p - m_context.scroll();
        // updated
        return ( p - m_context.origin() ) / m_context.scale() - m_context.scroll();
    }

    ImVec2 ImNodeFlow::grid2screen( const ImVec2 & p )
    {
        if ( ImGui::GetCurrentContext() == m_context.getRawContext() )
            return p + m_context.scroll();
        // updated
        return ( p + m_context.scroll() ) * m_context.scale() + m_context.origin();
    }

seems to solve the issue:
https://github.com/user-attachments/assets/062774e9-2c9c-4dd3-b867-cc1b039c5727
but i didn't have my coffee yet so i am not sure about the code :)


fix change_permission() got an unexpected keyword argument 'pk'

I have fixed the bug change_permission() got an unexpected keyword argument 'pk',  small changes in the utils, permissions, views,

no merge request

@renjithsraj I'm just going over old PRs and this is quite old now - is this still relevant?


i2d_ECDSA_SIG error return value does not match manpage

The manual page for i2d_ECDSA_SIG documents it as returning 0 on error. However, in fact, it returns -1 on error.
Additionally, the manpage does not document how it modifies the *pp pointer.

Fix in #9533.


Case study bitcoin people

Have no idea how to remove blog/.vuepress/public/images/.DS_Store commit.

btw @dennisreimann noticing we can do a few upgrades to npm including some security fixes, i can do it npm update in this PR or in a separate, or leave it to you if you prefer.


Update packages version

I updated  packages version + in the last tfp version they remove the scale_identity_multiplier used in our  smooth flow, I changed this part of the code so we don't have to work with restrictive tfp version

I don't see any changes related to the package versions in your commit, except for adding new lines between packages 🤔

yup I just changed == in >=, the biggest change is in the smooth nf because the scale_identity_multiplier does not exist anymore and I didn't want it to add restrictive condition on tfp

Looks ok installation-wise


Fixes for 2.2.2 release

[ ] Crash with DUK_USE_TRACEBACKS disabled #1909
[ ] Skip DUK_USE_FATAL_HANDLER warning with DUK_USE_CPP_EXCEPTIONS defined

May I suggest: suppress warning:

genconfig.py          WARNING Recommended config option DUK_USE_FATAL_HANDLER not provided

when DUK_USE_CPP_EXCEPTIONS is defined (which makes the fatal handler obsolete).

@mike-lischke I can make that change as it's technically correct.
But it's actually a semi-open issue what should be done with C++ and an uncaught exception -- although the dummy exception thrown propagates out of Duktape and can be caught by the caller, it is still unsafe to continue (maybe not in practice in some common cases, but there are no guarantees of safety either).

Can you create a dedicated fatal runtime exception? Catching that tells the application should shutdown gracefully now, in opposition to other non-fatal issues.

Sure, that would be one option for handling fatal errors. This was left undecided at the initial C++ exception support stage.
There's just one internal exception type now, duk_internal_exception. What's your opinion, should a duk_fatal_exception inherit from this or be a separate exception?
To me it would make sense for them to not be in an inheritance relationship because:

duk_internal_exception should never be caught by user code.
duk_fatal_exception could be caught by user code so it's not "internal".

Also, duk_internal_exception intentionally doesn't inherit from any base class to minimize the chance of someone trying to catch it.
Should duk_fatal_exception inherit from some standard class?

Yes, makes sense to make them unrelated exception.

Looking at the internals it's probably easier to just add a single duk_fatal_exception but give it a message (like the DUK_USE_FATAL_HANDLER counterpart).

A single fatal exception should be enough, indeed.

C++ exception discussion continues in #1915.

Cancelling this maintenance release as 2.4.0 has a lot of fixes that are hard to backport.


Use CMAKE_BUILD_TYPE instead of CONFIG_COMPILER_OPTIMIZATION_LEVEL_RELEASE (IDFGH-1993)

Currently the ESP-IDF defines a special variables for controlling the optimization level (CONFIG_COMPILER_OPTIMIZATION_xxx). However, CMake already has a mechanism for distinguishing debug/release bulds (CMAKE_BUILD_TYPE) that could be set to Debug/Release/MinSizeRel.
It would be great if ESP-IDF could follow the CMAKE_BUILD_TYPE setting, instead of defining its own configuration variable for it, as many IDEs support independent debug/release builds out-of-the-box.
Note: you can programmatically check the current build type and adjust the options accordingly in case you want to tweak it beyond the default CMake logic:
if (CMAKE_BUILD_TYPE EQUAL "DEBUG")
[set optimization for debug build]
endif()

Hi @sysprogs. Sorry for the super late follow up on this. CONFIG_COMPILER_OPTIMIZATION_xxx is a remnant of the transition to CMake from Make. However, we are looking into this and having discussions for the next batch of CMake improvements. This would be in my near-term things to implement.

Closing this ticket as it's already pretty old and we are not going to make this change.


Enhanced Related Lists

Outbound Funds is currently configured to the basis related list layouts in Lightning.  Related lists should be enabled as enhanced so all columns in a related list appear.  Page layouts to update - Funding Program, Funding Request, Disbursement and Requirements.

@sharireily, potential Atlanta Sprint Item

This will be created as an idea. Thanks!


[feat] Accept file glob patterns in keep_files

Fixes #1477.

Codecov Report

Merging #1562 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1562   +/-   ##
=======================================
  Coverage   88.03%   88.03%
=======================================
  Files          44       44
  Lines        6894     6895    +1
=======================================
+ Hits         6069     6070    +1
  Misses        825      825

Impacted Files
Coverage Δ

reframe/core/pipeline.py
92.44% <100.00%> (+0.01%)
:arrow_up:

Continue to review full report at Codecov.

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