apm install failed in HTTP 404 error when gyp is downloading node.js with a fresh install atom

Description
[Description of the bug or feature]
apm install failed in HTTP 404 error when gyp is downloading node.js with a fresh install gyp. This issue will stop new users from downloading any package.
Steps to Reproduce

Mac Refresh install ATOM latest version: 1.54
goto command line
type: "apm install script"
404 happen:

bogon:~ linwei$ apm install script
Installing script to C:\Users\linwei\.atom\packages
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| win32 | ia32
gyp http GET https://atom.io/download/atom-shell/v0.34.5/node-v0.34.5.tar.gz
gyp http 404 https://atom.io/download/atom-shell/v0.34.5/node-v0.34.5.tar.gz
gyp WARN install got an error, rolling back install
gyp
bogon:~ linwei$

Expected behavior: [What you expected to happen]
package 'script' should be installed if I type "apm install script"
Actual behavior: [What actually happened]
gyp failed into 404, seems like gyp doesn't recognize http 302 redirection.
Versions
You can get this information from executing atom --version and apm --version at the command line.
bogon:~ linwei$ atom --version
1.5.4
bogon:~ linwei$ apm --version
apm  1.6.0
npm  2.13.3
node 0.10.40
python 2.7.10
git 2.5.4

:+1: nice bug report!
I've got the same problem when exec apm update:
gwind@X201I $ atom --version
1.5.4
gwind@X201I $ apm --version
apm  1.6.0
npm  2.13.3
node 0.10.40
python 2.7.6
git 1.9.1
gwind@X201I $ apm update
...
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| linux | x64
gyp http GET https://atom.io/download/atom-shell/v0.34.5/node-v0.34.5.tar.gz
gyp http 404 https://atom.io/download/atom-shell/v0.34.5/node-v0.34.5.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: 404 response downloading https://atom.io/download/atom-shell/v0.34.5/node-v0.34.5.tar.gz
gyp ERR! stack     at Request.<anonymous> (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/install.js:251:14)
gyp ERR! stack     at Request.emit (events.js:117:20)
gyp ERR! stack     at Request.onRequestResponse (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/request/request.js:992:10)
gyp ERR! stack     at ClientRequest.emit (events.js:95:17)
gyp ERR! stack     at HTTPParser.parserOnIncomingClient (http.js:1689:21)
gyp ERR! stack     at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:122:23)
gyp ERR! stack     at Socket.socketOnData (http.js:1584:20)
gyp ERR! stack     at TCP.onread (net.js:528:27)
gyp ERR! System Linux 3.19.0-32-generic
gyp ERR! command "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/no
de-gyp.js" "install" "--target=0.34.5" "--dist-url=https://atom.io/download/atom-shell" "--arch=x64" "--ensure"
gyp ERR! cwd /data/home/.atom
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok

I've wget the https://atom.io/download/atom-shell/v0.34.5/node-v0.34.5.tar.gz:
$ wget https://atom.io/download/atom-shell/v0.34.5/node-v0.34.5.tar.gz
...
2016-03-08 13:20:54 (3.50 MB/s) - ‘node-v0.34.5.tar.gz’ saved [441298/441298]

gwind@X201I $ md5sum node-v0.34.5.tar.gz
695ad0670ca7cda2a81c9c1b66918b10  node-v0.34.5.tar.gz

I've test http/sock5 proxy also:
Any help would be appreciated!
Thanks

Resolved at https://github.com/atom/apm/issues/322 !
btw, if you are in china, config your proxy at ~/.atom/.apmrc:
strict-ssl = false
proxy=http://<IP_ADDRESS>:20090/
http_proxy=proxy
https_proxy=proxy

Thanks @TedThiCo

Seems that node-gyp isn't following the 302 Redirect sent by atom.io.
@fujisaks Thanks for pointing to the problem!
I've been able to workaround the issue by setting the ATOM_NODE_URL env variable to the new url (after redirect ). This should also be working after you update Atom. However, remove the entry when the bug gets fixed!
Windows temporary:
set ATOM_NODE_URL=http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist
Windows permanently:
setx ATOM_NODE_URL http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist /M
Linux
export ATOM_NODE_URL=http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist

+1

I use shadowsocks proxy ,edit the file ~/.atom/.apmrc:
strict-ssl = false
proxy=http://<IP_ADDRESS>:1080/
http_proxy=proxy
https_proxy=proxy

and then run apm install --check
if success you and see Checking for native build tools done
remember,shadowsocks mode choose system agent mode

when i install docblockr，i got this error underline
yp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| win32 | ia32
gyp http GET https://atom.io/download/atom-shell/v0.37.8/node-v0.37.8.tar.gz
gyp http 200 https://atom.io/download/atom-shell/v0.37.8/node-v0.37.8.tar.gz
gyp WARN install got an error, rolling back install

I use shadowsocks proxy too, in china , and I do exactly what you describe, but It still dosn't  work.
`dingshanliang:.atom ericding$ apm install --check
Checking for native build tools ✗
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
gyp http GET https://atom.io/download/electron/v1.3.15/iojs-v1.3.15.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: tunneling socket could not be established, cause=Parse Error
gyp ERR! stack     at ClientRequest.onError (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/tunnel-agent/index.js:177:17)
gyp ERR! stack     at ClientRequest.g (events.js:291:16)
gyp ERR! stack     at emitOne (events.js:96:13)
gyp ERR! stack     at ClientRequest.emit (events.js:188:7)
gyp ERR! stack     at Socket.socketOnData (_http_client.js:368:9)
gyp ERR! stack     at emitOne (events.js:96:13)
gyp ERR! stack     at Socket.emit (events.js:188:7)
gyp ERR! stack     at readableAddChunk (_stream_readable.js:176:18)
gyp ERR! stack     at Socket.Readable.push (_stream_readable.js:134:10)
gyp ERR! stack     at TCP.onread (net.js:548:20)
gyp ERR! System Darwin 16.5.0
gyp ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/bin/node-gyp.js" "install" "--runtime=electron" "--target=1.3.15" "--dist-url=https://atom.io/download/electron" "--arch=x64" "--ensure" "--proxy=http://<IP_ADDRESS>:1080/"
gyp ERR! cwd /Users/ericding/.atom
gyp ERR! node -v v6.9.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok`

I use shadowsocks proxy too, in china , and I do exactly what you describe, but It still dosn't  work. @wujunchuan
dingshanliang:.atom ericding$ apm install --check
Checking for native build tools ✗

gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| darwin | x64
gyp http GET https://atom.io/download/electron/v1.3.15/iojs-v1.3.15.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! install error
gyp ERR! stack Error: tunneling socket could not be established, cause=Parse Error
gyp ERR! stack     at ClientRequest.onError (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/tunnel-agent/index.js:177:17)
gyp ERR! stack     at ClientRequest.g (events.js:291:16)
gyp ERR! stack     at emitOne (events.js:96:13)
gyp ERR! stack     at ClientRequest.emit (events.js:188:7)
gyp ERR! stack     at Socket.socketOnData (_http_client.js:368:9)
gyp ERR! stack     at emitOne (events.js:96:13)
gyp ERR! stack     at Socket.emit (events.js:188:7)
gyp ERR! stack     at readableAddChunk (_stream_readable.js:176:18)
gyp ERR! stack     at Socket.Readable.push (_stream_readable.js:134:10)
gyp ERR! stack     at TCP.onread (net.js:548:20)
gyp ERR! System Darwin 16.5.0
gyp ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/bin/node-gyp.js" "install" "--runtime=electron" "--target=1.3.15" "--dist-url=https://atom.io/download/electron" "--arch=x64" "--ensure" "--proxy=http://<IP_ADDRESS>:1080/"
gyp ERR! cwd /Users/ericding/.atom
gyp ERR! node -v v6.9.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

@dingshanliang
I saw your apm logs,It show that Error :tunneling socket could not be established
Please check your shadowsocks proxy is work well or  shadowsocks proxy port is setting right.
Take me as an example, my shadowsocks proxy port is 1080.


Default config is nowhere close to the examples shown on README

Good Evening!
I love your application and consider it a life-saver, however the default config file does not give the same output as shown on the README. Please provide us with the config file for the first output shown on the README for which we shall remain ever grateful to you.

I agree in the current scenario exposing the database containing the Laravel migrations and connecting to it with a decent db editor to get the ERD was faster. Without proper config this package doesn't add any value to my workflow. The config options are somewhat explained when you follow the suggested links but its to much of a hassle to figure out how to make this work properly. In the limited scenarios if seen ERD's being used recently they seem to be mostly some after thought used only when someone new joins a project or project is passed on. This package could be of value in the sense that it auto generates while working on the project but I cant imagine someone dedicating some time in their sprint to get this package working if al they have to do to achieve the same is connect to the db.


Use SPDX license identifier

Use official SPDX license identifier as recommended by PEP 639.
https://spdx.org/licenses/Apache-2.0.html

Thanks for pointing it out @cdce8p!
Based on this, I understand it should rather be
changed straight to
- license = { text = "Apache License, Version 2.0" }
+ license = "Apache-2.0"

right?

Based on this, I understand it should rather be changed straight to
- license = { text = "Apache License, Version 2.0" }
+ license = "Apache-2.0"

right?

Yeah, that would be the end goal. Unfortunately it isn't yet supported by setuptools. The PR for it is currently blocked on other issues and might still take a while. Using license.text provides a nice stop-gap for it IMO.

I see, thanks for clarifying


[PE-D] Invalid phone input but still able to successfully add/edit person

Describe the bug
After adding an invalid phone field, the add/edit command is still successful.
To Reproduce
Steps to reproduce the behavior:

Type "add OR edit n/name p/912<EMAIL_ADDRESS>a/1 r/80"
Successfully adds/edits new person even thought phone field is invalid

Expected behaviour
Show error message to indicate invalid phone field.
Screenshots

Desktop (please complete the following information):
OS: macOS 11.6

Labels: severity.Medium type.FunctionalityBug
original: sophiien/ped#1

er, these are not necessarily invalid phone numbers, are they?

shortest subscriber phone numbers seem to be for St Helena and Tokelau (iirc?), which both have 5-digit phone numbers for normal subscribers (was 4, but they migrated)
we can either let this be (and claim that we're allowing for extra flexibility for users), or add a reasonable number limit:

shortest possible number?
8 digits for Singapore? (but what if the user isn't from Singapore, or some other country with 8-digit numbers)

I reckon it should be safe enough to leave it as is, and dispute any bugs arising from this

999 is a valid phone number

or rather, we should just let users have the flexibility of having shorter phone numbers (e.g. they might have a private phone network, you never know)


protections

PR Type
Enhancement

Description

Added support for GitHub Flavored Markdown (GFM) in help comments, improving compatibility across different git providers
Implemented limits on the number of extra files included in prompts (50) and output (100) for large PRs, preventing token limit issues
Improved async task creation for PR description generation, only creating tasks for non-empty patches
Enhanced error handling and logging for large PR processing, providing better visibility into potential issues
Optimized the extension of additional files in the PR description, ensuring valid YAML output
Added clipping and summary for remaining and deleted files when exceeding the limit, improving readability

Changes walkthrough 📝
Relevant filesEnhancement

pr_description.pyEnhance PR description generation and large PR handling

pr_agent/tools/pr_description.py
Added condition to check if git provider supports GFM markdown for help comment  Improved handling of large PRs by limiting the number of extra files in prompts and output  Enhanced error handling and logging for large PR processing  Optimized async task creation for PR description generation

+42/-15

💡 PR-Agent usage:
Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

Configuration file for pr_description_only_files_prompts not submitted in the PR

@mrT23 Notice that pr_description_only_files_prompts file or string is not present in the code.

@arvindanta
That's ok, cause its a pro option


Removing simplefile

Updates
Making updates in thhis branch. Plaese review this file

Thoughts
I shouldn't. but its okay. :+1:


remove dllexport on redeclaration and use WINAPI

Fixes MinGW warning.
[172/277] Compiling C++ object src/d3d11/d3d11.dll.p/d3d11_main.cpp.obj
../src/d3d11/d3d11_main.cpp:206:31: warning: redeclaration of 'D3D11CreateDevice' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration]
  DLLEXPORT HRESULT __stdcall D3D11CreateDevice(
                              ^
C:/Users/Mangix/scoop/apps/msys2/2022-01-28/clang32/include/d3d11.h:10976:16: note: previous declaration is here
HRESULT WINAPI D3D11CreateDevice(IDXGIAdapter*,D3D_DRIVER_TYPE,HMODULE,UINT,const D3D_FEATURE_LEVEL*,
               ^
../src/d3d11/d3d11_main.cpp:225:31: warning: redeclaration of 'D3D11CreateDeviceAndSwapChain' should not add 'dllexport' attribute [-Wdll-attribute-on-redeclaration]
  DLLEXPORT HRESULT __stdcall D3D11CreateDeviceAndSwapChain(
                              ^
C:/Users/Mangix/scoop/apps/msys2/2022-01-28/clang32/include/d3d11.h:10981:20: note: previous declaration is here
HRESULT __stdcall  D3D11CreateDeviceAndSwapChain(IDXGIAdapter *adapter,D3D_DRIVER_TYPE driver_type,HMODULE swrast,UINT flags,const D3D_FEATURE_LEVEL *feature_levels,UINT levels,UINT sdk_version,const DXGI_SWAP_CHAIN_DESC *swapchain_desc,IDXGISwapChain **swapchain,ID3D11Device **device,D3D_FEATURE_LEVEL *obtained_feature_level,ID3D11DeviceContext **immediate_context);
                   ^
2 warnings generated.

Same as other PR.

Maybe make sense add something like DXVKAPI_ATTR, DXVKAPI_CALL and DXVKAPI_PTR  across whole code e.g. DXVKAPI_ATTR HRESULT DXVKAPI_CALL D3D11CreateDevice(
Similar to https://github.com/doitsujin/dxvk/blob/5256d5e2f681b8f6d4db1880d5e31e4891a32e1f/include/vulkan/vk_platform.h#L25-L59
Should help if some compilers or platforms need additional attributes.


cQube 4.0 Ingestion configuration requirements

[ ] Retain the cQube 3.7 ingestion configuration file as is except the below modifications

[ ]  Make the cQube 3.7 ingestion configuration to work if there no details filled under reports and visualization section
cQube 3.7 Ingestion configuration sample file: https://github.com/Sunbird-cQube/community/blob/master/use/textbook_distribution.csv

moved this to https://github.com/Sunbird-cQube/community/issues/169


nginx check request method, is right?

i do not see code that check request method, but when i post /ip, the server  return 405 page. please tell me.thx :)!

Nope. Flask does that for you. Please read flask's documentation

thx for your kind and time


Inverse tafqit

Is it possible to do Inverse-tafqit?
Like from words to numbers.
If yes, can you provide me with an example?

Is it possible to do Inverse-tafqit? Like from words to numbers. If yes, can you provide me with an example?

Yes, it is possible in Arabic and English and I had a plan to get it done.

Is it possible to do Inverse-tafqit? Like from words to numbers. If yes, can you provide me with an example?

Please see this Twitter post:
https://twitter.com/maalyafei/status/1473360246055841796


Could not call realpath for symlink

Everytime i am trying to sync local <- remote, i am getting this error and once all the sync is done, git tells me that many files are missing.
I am using atom on windows 7 and trying to sync files over sftp from a linux server.

Please post the detailed error message (or a screenshot of the entire notification)

Here you go.

That's all i have when i try to sync.

Okay, can you tell me something about the symlinks in your remote directory?
Looks like a symlink pointing to a location that does not exist.
To know exactly which one is causing the error, you can modify line 161 in lib/connectors/sftp.js to
atom.notifications.addError('Could not call realpath for symlink: ' + fname, {
in your installation of Remote-FTP

I had the same issue. I modified the string as you suggested. But fname turned out to be null. Finally I was frustrated and commented out the error message loop.


Training visualization

Hi,
I tried to check the training visualization with Reflection video.
However, the predicted layers at epoch 100 are look different from the supplementary results.
Did you change the mask loss/mask threshold/or lambda for mask loss?
You can check my results below.
Thank you.

Hi, that actually looks correct. The reason they are different from the supplementary results is that yours have the detail transfer step applied, whereas the supplementary results show the raw network outputs without the detail transfer.

Okay, I still get the rgb at epoch 100 after turn off the detail transfer step, but it looks to learn the outline of people.
Thank you!


How to setup on windows?

It would be awesome if a windows tutorial was added. I know DXVK is compilable in windows and some people have even got it to run.
I would love to try it, but I don't know what to do with the dll .

Copy DLLs to the directory where the game's executables are, done.
Note that some games refuse to load DXVK, but there's nothing we can do about it.

@doitsujin I've tried putting dxvk files to folder with Arma 3. I've had an "entrypoint not found" error related to DXGID3D10GetLayeredDeviceSize function in d3d10core.dll library. What would've caused that?

No idea, DXVK doesn't implement or touch any of those D3D10 functions.

@doitsujin Arma 3 is working preety good: https://www.youtube.com/watch?v=pwD4fvB4eZw

@grappas You can try also https://github.com/Joshua-Ashton/dxup among with dxvk.

@lieff Already tried that. Not instantly crashes but still dead end. I'm wondering: why on Wine with pure dxvk Arma 3 works like a charm and on Windows 10 do not.

@doitsujin Is there anything to do in regedit to make it work on Windows?

I don't use Windows, sorry.

@doitsujin It seems to search for Wine version of this library and finds unfortunately an original one.

Solved: https://www.reddit.com/r/arma/comments/8pnnwc/arma_3_performance_tweak_with_rdxvk_and_rdxup/

I know this post is from 2018, but I was wondering how to install this Dxvk for old games such torchlight II
I downwloaded the last version 1.7 but there is not .dll files inside? :O
Sorry for being that noob =(

You have to open the .tar file. The dlls are in there.

I wanna try this with Fable The Anniversary, classic a DX9 game now on St#@m. Already put the Dlls in the same forlder of the FableAnniversary.exe file, how to tell if DXVK working or not? Because when I run it on window mode, title still say its a DX9.


Negetive Values beyond 60sdp

Hey Team,
i need values like minus220 , how do i get that ?

You will have to clone the lib edit https://github.com/intuit/sdp/blob/master/sdp-android/build.gradle and create a custom build. Uncomment "preBuild.dependsOn createSDP", update negativeMax to 220 and then build again. Then you will have your custom sdp build and you can replace the regular sdp lib with your custom sdp build.


Update base image

Update base image
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[x] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@ericvn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio
b048a798fed72bab6c725eec12603ddbcc22fc9e
link
/test integ-pilot-k8s-tests_istio

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

/retest

@ericvn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
b048a798fed72bab6c725eec12603ddbcc22fc9e
link
/test integ-multicluster-k8s-tests_istio

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

/retest


Create package.py

updated recipe to work with openmpi and mpich.

this is the same as patch-1, but just putting it in the right path. Only saw your email just now. thanks!

All other packages work, with some changes to the yaml as outlined in teams.


cbmc: 6.0.1 -> 6.4.0

ZHF: https://github.com/NixOS/nixpkgs/issues/352882
Things done

Built on platform(s)

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

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

@wegank Now darwin fails because of time out.

@ofborg build cbmc

Fails on darwin:
Running phase: unpackPhase
unpacking source archive /nix/store/zws0r2hj1nhlzv9givcwqnanawfknc2d-source
source root is source
Running phase: patchPhase
applying patch /nix/store/4s22pi3lr4k97pjdj3m8ssc0n0q152rk-0001-Do-not-download-sources-in-cmake.patch
patching file CMakeLists.txt
applying patch /nix/store/ymmd09llwrsxbdzm5hbswkcawrhwy2d4-0002-Do-not-download-sources-in-cmake.patch
patching file src/solvers/CMakeLists.txt
substituteStream() in derivation cbmc-6.4.0: ERROR: pattern gcc doesn't match anything in file 'scripts/bash-autocomplete/extract_switches.sh'

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 355122

x86_64-linux

:white_check_mark: 1 package built:

cbmc

aarch64-linux

:white_check_mark: 1 package built:

cbmc

x86_64-darwin

:x: 1 package failed to build:

cbmc

aarch64-darwin

:x: 1 package failed to build:

cbmc

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 355122

x86_64-linux

:white_check_mark: 1 package built:

cbmc

aarch64-linux

:white_check_mark: 1 package built:

cbmc

x86_64-darwin

:x: 1 package failed to build:

cbmc

aarch64-darwin

:white_check_mark: 1 package built:

cbmc

@GaetanLepage Could you post the build log and try to fix it? I don't have darwin machine.

apple-sdk_10_15 (darwinMinVersionHook "10.15")

Can I change my I mail because app in another phone? Or this mail is problem? أُرسلت من الـ iPhoneفي 25/11/2024 الساعة 10:40 ص، كتب/كتبت Emily @.***>:
apple-sdk_10_15 (darwinMinVersionHook "10.15")
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

@emilazy Do you mean this?

Looks correct if it builds.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 355122

x86_64-linux

:white_check_mark: 1 package built:

cbmc

aarch64-linux

:white_check_mark: 1 package built:

cbmc

x86_64-darwin

:white_check_mark: 1 package built:

cbmc

aarch64-darwin

:white_check_mark: 1 package built:

cbmc


Update options to include the new SwiftSynthesizeInterfaceOption flag.

This is the companion of https://github.com/swiftlang/swift/pull/76872.
I've reused the SwiftIndentOption constant, which was removed by https://github.com/swiftlang/swift/pull/76577 (but Options.swift was never updated here to remove it).

@swift-ci please test


Drop ruby 1.9.3 support

Given that

Opal is already depending on ruby version >= 2.0 on master (https://github.com/opal/opal/commit/5990ac3b463ec6b58cadb3f03f0d35933653bb52)
Support for ruby 1.9.3 has already ended about 1 year. https://www.ruby-lang.org/en/news/2015/02/23/support-for-ruby-1-9-3-has-ended/

So in the next release of hyper-react, it will require ruby >= 2.0.

Agreed.


Add verification management UI

Changes

Using the VSCode test API, provide an overview of available verification tasks, their running status, their outcome, and options to manually start and cancel verification task runs.
Change the status bar implementation so the messages are also updated by manually triggered verification. Also the messages are slightly altered. There's no longer a list of everything that is verifying, since that is now more easily viewed through the test panel.

They used to be "Verifying 0/2 Fibonacci, FibonacciSpec" "Verifying 1/2 Fibonacci (FibonacciSpec finished)", "2/2 (Fibonacci finished)", "Verification Succeeded" when all proofs were verified, "Verification Failed" in case any proof failed to verify.
Now they are "Verifying 0/2", "Verifying 1/2", "Verification Succeeded", "Failed to verify X proofs" in case X proofs failed to verify, "Verified X proofs, skipped Y" in case X proofs out of the total have been verified and verification was not triggered for Y proofs.

Change verification gutter icons so they skip lines that have a test run icon from the VSCode testing API on them.

Testing

Manually tested the changes described above.
Will add automatic tests as well

Screenshots
The following screenshots shows the effect of having "automatic verification" set to "never", having configured 2 cores for verification, and then manually clicking "run all" in the testing panel. First the two easy proofs m5 and fib verify quickly, then two slow proofs m3 and m4 are verifying, while m1 and m2 are still queued, and this moment is captured by the screenshot.

Once all the verification has completed, we see:

I want backwards compatibility with previous version of Dafny for now
So we want the client to be backwards compatible, so it can work with old versions of Dafny, that makes sense to me.

For the server, do we also want to keep it backwards compatible with old IDEs? Seems like that's not entirely necessary.

What if the test pane is closed?

I want the same behavior as before or very similar (have names of methods being currently verified in status bar)

Let's discuss synchronously


Revert "Allow integration tests to fail on macOS"

This reverts commit 6d9f3cbc57e2c5ce00df63f07da16e9c98c08f69.
Let's see if integration tests are still failing on macOS.

Failing, but for different reasons :(


Using sharp with react

Is there a reason this shouldn't work with React? I was using sharp and it worked well until I moved the front end to React. Now, I get ERROR in ./~/sharp/index.js Module not found: Error: Can't resolve './build/Release/sharp' in '/path/to/node_modules/sharp' as if it doesn't recognize the .node extension.

Hello, are you trying to use sharp in a web browser? If so, that won't work as it is a native module requiring the Node runtime.

Shoot, I am. Sorry for the novice question, I'm new to web dev... I'll Google for workarounds.
Thanks!

@lovell Would you happen to know any library similar to yours that work in the browser? Or could you compile port yours to WebAssembly? Wish I knew C++, perhaps I would have done the WASM part by now. :(
@TimMenninger did you find the worksround?
I'm particularly interested in WebP support.


oh-my-posh: 8.36.4 -> 8.36.6

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/jandedobbeleer/oh-my-posh/releases.
meta.description for oh-my-posh is: "A prompt theme engine for any shell"
meta.homepage for oh-my-posh is: "https://ohmyposh.dev"
meta.changelog for oh-my-posh is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 8.36.6 with grep in /nix/store/hhm1p0l2smqdhlm1zwfg1smwz5p50drj-oh-my-posh-8.36.6
found 8.36.6 in filename of file in /nix/store/hhm1p0l2smqdhlm1zwfg1smwz5p50drj-oh-my-posh-8.36.6

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
oh-my-posh

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/hhm1p0l2smqdhlm1zwfg1smwz5p50drj-oh-my-posh-8.36.6 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A oh-my-posh https://github.com/r-ryantm/nixpkgs/archive/aab8256413eaba9e836baecf9271c40ab112aa40.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/hhm1p0l2smqdhlm1zwfg1smwz5p50drj-oh-my-posh-8.36.6
ls -la /nix/store/hhm1p0l2smqdhlm1zwfg1smwz5p50drj-oh-my-posh-8.36.6/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

oh-my-posh

Maintainer pings
cc @lucperkins for testing.

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

1 package built:

oh-my-posh


Roll engine 1604a413add7..edff0aa18a7d (1 commits)

https://github.com/flutter/engine/compare/1604a413add7...edff0aa18a7d
git log 1604a413add7034bab0ab72ced1bc7a1097900e4..edff0aa18a7d1e252ba6be7e83421fe23e67056c --no-merges --oneline
edff0aa18 Roll src/third_party/dart<PHONE_NUMBER>..0e2e186262 (3 commits)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (chinmaygarde@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


add rule (rrd) no direct dom access

getElementByXXX
querySelectorXXX

I created a PR for this @rrd108


add: eye and eyeOff to password field for sigin and signup

updated behavior of #6

please add tags


'str object has no attribute reproduce'

Describe the bug
When running the optimize step, I get a strange error which keeps reproducing after the 520th iteration. Sometimes it can work fine when I lower the starting points/iterations. I pasted it below.
Any help would be appreciated. Thanks for making a great package! Seems to work much faster than other optimizers.
To Reproduce
Unfortunately the code loads in a lot of data and has much preprocessing and I don't think it would be straightforward to reproduce, hopefully this is enough info.
from bayes_opt import BayesianOptimization

def optimization_wrapper_bayes():

    bins = 2
    bn=2**7
    precomputed_values = precompute_values_pairTrait(betXY, pi1, sig1, w8s, bn, bins)

    # Define the objective function for Bayesian Optimization
    def objective(h2X, h2Y, tX, tY, axy, ayx, iXY):
        theta = [h2X, h2Y, tX, tY, axy, ayx, iXY]
        return pairTrait_twoStep_likelihood(theta, betXY, pi1, sig1, w8s, m0, precomputed_values,
                                                 pi_U=piU, pi_X=piX, pi_Y=piY,
                                                 i_X=iX, i_Y=iY, nX=nX, nY=nY,
                                                 model="comp", bn = bn, bins=bins, M=1e7)

    # Getting bounds
    pbounds = {
        'h2X': (0.05, 0.5), #(par_df['sp_h2X'].min(), par_df['sp_h2X'].max()),
        'h2Y': (0.05, 0.5), #(par_df['sp_h2Y'].min(), par_df['sp_h2Y'].max()),
        'tX': (0.001, 0.1), #(par_df['sp_tX'].min(), par_df['sp_tX'].max()),
        'tY': (-0.1, 0.1), #(par_df['sp_tY'].min(), par_df['sp_tY'].max()),
        'axy': (-0.1, 0.3), #(par_df['sp_axy'].min(), par_df['sp_axy'].max()),
        'ayx': (-0.1, 0.1), #(par_df['sp_ayx'].min(), par_df['sp_ayx'].max()),
        'iXY': (-0.1, 0.1), #(par_df['sp_iXY'].min(), par_df['sp_iXY'].max()),
    }

    optimizer = BayesianOptimization(
        f=objective,
        pbounds=pbounds,
        random_state=1,
        verbose=2,
    )
    #optimizer.set_gp_params(alpha=1e-3, n_restarts_optimizer=5)

    optimizer.maximize(
        init_points=500,
        n_iter=50
    )

    return optimizer.max

**Error**
---------------------------------------------------------------------------
StopIteration                             Traceback (most recent call last)
~/.local/lib/python3.7/site-packages/bayes_opt/bayesian_optimization.py in maximize(self, init_points, n_iter, acquisition_function, acq, kappa, kappa_decay, kappa_decay_delay, xi, **gp_params)
    304             try:
--> 305                 x_probe = next(self._queue)
    306             except StopIteration:

~/.local/lib/python3.7/site-packages/bayes_opt/bayesian_optimization.py in __next__(self)
     26         if self.empty:
---> 27             raise StopIteration("Queue is empty, no more objects to retrieve.")
     28         obj = self._queue[0]

StopIteration: Queue is empty, no more objects to retrieve.

During handling of the above exception, another exception occurred:

AttributeError                            Traceback (most recent call last)
<ipython-input-91-f7dc02174309> in <module>
      3
      4 # Call the function with the first element of par_list
----> 5 result = optimization_wrapper_bayes()
      6
      7 # Measure end time

<ipython-input-90-60a130b91fb1> in optimization_wrapper_bayes()
     36     optimizer.maximize(
     37         init_points=500,
---> 38         n_iter=50
     39     )
     40

~/.local/lib/python3.7/site-packages/bayes_opt/bayesian_optimization.py in maximize(self, init_points, n_iter, acquisition_function, acq, kappa, kappa_decay, kappa_decay_delay, xi, **gp_params)
    306             except StopIteration:
    307                 util.update_params()
--> 308                 x_probe = self.suggest(util)
    309                 iteration += 1
    310             self.probe(x_probe, lazy=False)

~/.local/lib/python3.7/site-packages/bayes_opt/bayesian_optimization.py in suggest(self, utility_function)
    218         with warnings.catch_warnings():
    219             warnings.simplefilter("ignore")
--> 220             self._gp.fit(self._space.params, self._space.target)
    221             if self.is_constrained:
    222                 self.constraint.fit(self._space.params,

/opt/anaconda3-cluster/lib/python3.7/site-packages/sklearn/gaussian_process/_gpr.py in fit(self, X, y)
    247                     optima.append(
    248                         self._constrained_optimization(obj_func, theta_initial,
--> 249                                                        bounds))
    250             # Select result from run with minimal (negative) log-marginal
    251             # likelihood

/opt/anaconda3-cluster/lib/python3.7/site-packages/sklearn/gaussian_process/_gpr.py in _constrained_optimization(self, obj_func, initial_theta, bounds)
    502                 obj_func, initial_theta, method="L-BFGS-B", jac=True,
    503                 bounds=bounds)
--> 504             _check_optimize_result("lbfgs", opt_res)
    505             theta_opt, func_min = opt_res.x, opt_res.fun
    506         elif callable(self.optimizer):

/opt/anaconda3-cluster/lib/python3.7/site-packages/sklearn/utils/optimize.py in _check_optimize_result(solver, result, max_iter, extra_warning_msg)
    241                 "    [https://scikit-learn.org/stable/modules/"](https://scikit-learn.org/stable/modules/%22)
    242                 "preprocessing.html"
--> 243             ).format(solver, result.status, result.message.decode("latin1"))
    244             if extra_warning_msg is not None:
    245                 warning_msg += "\n" + extra_warning_msg

AttributeError: 'str' object has no attribute 'decode'

Hey @Alistair-Turcan,
I think this specific error is caused by a scipy/sklearn version mismatch. See the line in newer sklearn. The reason why you start seeing it so late in the process, is because the GP fitting stops converging, I would assume because there's too many points. Do you really need that many init_points?

Hi, @till-m , thanks for the quick reply!
I tried downgrading scipy and sklearn, and upgrading this package, same issue. Performance seemed to increase when I increased the starting points, but maybe it doesn't need to be so high. Do you have any intuition of how many starting points I can specify before this error occurs?
Thanks again!

Hi @Alistair-Turcan,
your code is not enough to reproduce the issue, but I adapted it. For me this runs without a problem -- could you check if this is also true for you?
Environment:
scikit-learn==1.3.1
scipy==1.10.0
bayesian-optimization==1.4.3

from bayes_opt import BayesianOptimization
import numpy as np

def optimization_wrapper_bayes():
    # Define the objective function for Bayesian Optimization
    def objective(h2X, h2Y, tX, tY, axy, ayx, iXY):
        return np.random.rand()

    # Getting bounds
    pbounds = {
        'h2X': (0.05, 0.5), #(par_df['sp_h2X'].min(), par_df['sp_h2X'].max()),
        'h2Y': (0.05, 0.5), #(par_df['sp_h2Y'].min(), par_df['sp_h2Y'].max()),
        'tX': (0.001, 0.1), #(par_df['sp_tX'].min(), par_df['sp_tX'].max()),
        'tY': (-0.1, 0.1), #(par_df['sp_tY'].min(), par_df['sp_tY'].max()),
        'axy': (-0.1, 0.3), #(par_df['sp_axy'].min(), par_df['sp_axy'].max()),
        'ayx': (-0.1, 0.1), #(par_df['sp_ayx'].min(), par_df['sp_ayx'].max()),
        'iXY': (-0.1, 0.1), #(par_df['sp_iXY'].min(), par_df['sp_iXY'].max()),
    }

    optimizer = BayesianOptimization(
        f=objective,
        pbounds=pbounds,
        random_state=1,
        verbose=2,
    )
    #optimizer.set_gp_params(alpha=1e-3, n_restarts_optimizer=5)

    optimizer.maximize(
        init_points=500,
        n_iter=50
    )

    return optimizer.max

print(optimization_wrapper_bayes())

I no longer seem to have the issue. Thanks so much! Works with any amount of starting points/iterations I specify. scipy's minimize function actually had the same issue when I specified enough iterations, so I guess it was just some package thing.

Happy to hear, let us know if you run into any other issues :)


[bug]: input is cutting the connection string when saved with postgres

When put a string for postgres like:
postgres://root:1234@localhost:5432/db_name?sslmode=disable
and try to save the connection it cut the string to:
postgres://root:1234@localhost:5432/?sslmode=disable
and doesn't connect

At this moment I couldn't test postgres because of this bug

I have fixed this bug, it was missing the dbName path, see: #17


I cant switch to other languages after fixing the crash

main.log:
[10:01:18.241][Warning] [Qt][qt.network.monitor] Could not get the INetworkConnection instance for the adapter GUID.
[10:01:18.250][Warning] [Qt][qt.network.monitor] Could not get the INetworkConnection instance for the adapter GUID.
And this software kept crashing this morning (saying "It seems that the application was not properly closed for its last use. Do you want to restore your last session?")  until I deleted the "Bionus" folder.

I have this folder, but I dont have those qm files. It seems that my Grabber cant download qm files from the server.

Those files aren't downloaded, they're supposed to be included in the installer.
Seems like they're missing from the 7.5.x releases.


Docs/literals fix jsdoc

Closes #673

Also removed as const since newer versions don't appear to add it


PocketFuel.io Pull Request

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

I removed the deletion of a file (me duplicating a folder, adding my logo.png file, changing the folder name, and deleting the old logo file. Can we push another commit to see if it will auto merge now?


Kafka scaler with SASL plaintext auth mode fails with "error parsing kafka metadata: err SASL mode plaintext"

Report
Initially we were using KEDA App version 2.7.1 . After upgrading to KEDA App version 2.10.0 , we saw the error "error parsing kafka metadata: err SASL mode plaintext" in the scaled object description.
Conclusion:  As per keda doc SASL mode can be  defined in both in scaledobject or triggerauthentication.
However sasl defined in triggerauthentication refered from secret is however not getting picked up keda-operartor 2.10.0 image, hence there is chance this could be a bug.
The manifest we were using is as below:
---
apiVersion: v1
data:
  password: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  tls: ZW5hYmxlCg==
  username: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  sasl: cGxhaW50ZXh0Cg==
kind: Secret
metadata:
  labels:
    app: example-app
  name: keda-kafka-gen20x-secrets
  namespace: cpe-logging
type: Opaque
---
apiVersion: keda.sh/v1alpha1
kind: TriggerAuthentication
metadata:
  labels:
    app: example-app
  name: keda-trigger-auth-kafka-gen20x-credential
  namespace: cpe-logging
spec:
  secretTargetRef:
  - key: tls
    name: keda-kafka-gen20x-secrets
    parameter: tls
  - key: sasl
    name: keda-kafka-gen20x-secrets
    parameter: sasl
  - key: username
    name: keda-kafka-gen20x-secrets
    parameter: username
  - key: password
    name: keda-kafka-gen20x-secrets
    parameter: password
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  labels:
    app: example-app
  name: slipstream-kstreams-gen20x-scaled
  namespace: cpe-logging
spec:
  advanced:
    horizontalPodAutoscalerConfig:
      behavior:
        scaleDown:
          policies:
          - periodSeconds: 60
            type: Percent
            value: 20
          stabilizationWindowSeconds: 300
        scaleUp:
          policies:
          - periodSeconds: 300
            type: Percent
            value: 100
          stabilizationWindowSeconds: 300
  cooldownPeriod: 300
  maxReplicaCount: 4
  minReplicaCount: 1
  pollingInterval: 60
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: example-app
  triggers:
  - authenticationRef:
      name: keda-trigger-auth-kafka-gen20x-credential
    metadata:
      bootstrapServers: a.b.c.d:9092
      consumerGroup: telelog
      lagThreshold: "1000"
      topic: streaming-telelog-gen20x-raw
    type: kafka
  - authenticationRef:
      name: keda-trigger-auth-kafka-gen20x-credential
    metadata:
      bootstrapServers: a.b.c.d:9092
      consumerGroup: telelog
      lagThreshold: "10000"
      topic: streaming-telelog-gen20x-formatted
    type: kafka
---
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: example-app
  name: example-app
  namespace: cpe-logging
spec:
  replicas: 1
  selector:
    matchLabels:
      app: example-app
  template:
    metadata:
      labels:
        app: example-app
    spec:
      containers:
      - name: example-app
        image: quay.io/brancz/prometheus-example-app:v0.3.0
        ports:
        - name: web
          containerPort: 8080

We have to explicitly define sasl in scaledobject like below for KEDA App version 2.10.0 to work.
---
apiVersion: keda.sh/v1alpha1
kind: TriggerAuthentication
metadata:
  labels:
    app: example-app
  name: keda-trigger-auth-kafka-gen20x-credential
  namespace: cpe-logging
spec:
  secretTargetRef:
  - key: tls
    name: keda-kafka-gen20x-secrets
    parameter: tls
#  - key: sasl
#   name: keda-kafka-gen20x-secrets
#   parameter: sasl
  - key: username
    name: keda-kafka-gen20x-secrets
    parameter: username
  - key: password
    name: keda-kafka-gen20x-secrets
    parameter: password
---
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
  labels:
    app: example-app
  name: slipstream-kstreams-gen20x-scaled
  namespace: cpe-logging
spec:
  advanced:
    horizontalPodAutoscalerConfig:
      behavior:
        scaleDown:
          policies:
          - periodSeconds: 60
            type: Percent
            value: 20
          stabilizationWindowSeconds: 300
        scaleUp:
          policies:
          - periodSeconds: 300
            type: Percent
            value: 100
          stabilizationWindowSeconds: 300
  cooldownPeriod: 300
  maxReplicaCount: 4
  minReplicaCount: 1
  pollingInterval: 60
  scaleTargetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: example-app
  triggers:
  - authenticationRef:
      name: keda-trigger-auth-kafka-gen20x-credential
    metadata:
      bootstrapServers: a.b.c.d:9092
      consumerGroup: telelog
      lagThreshold: "1000"
      topic: streaming-telelog-gen20x-raw
      sasl: plaintext                                                                    # Explicitly mentioning SASL here
    type: kafka
  - authenticationRef:
      name: keda-trigger-auth-kafka-gen20x-credential
    metadata:
      bootstrapServers: a.b.c.d:9092
      consumerGroup: telelog
      lagThreshold: "10000"
      topic: streaming-telelog-gen20x-formatted
      sasl: plaintext                                                                     # Explicitly mentioning SASL here
    type: kafka

Expected Behavior
Output of scaledobject when we were using KEDA App Version 2.7.1
$ helm ls -n keda
NAME    NAMESPACE       REVISION        UPDATED                                 STATUS          CHART           APP VERSION
keda    keda            7               2023-06-15 11:20:10.8504795 +0530 IST   deployed        keda-2.7.2      2.7.1

$ k get scaledobjects -A
NAMESPACE     NAME                                SCALETARGETKIND      SCALETARGETNAME   MIN   MAX   TRIGGERS   AUTHENTICATION                              READY   ACTIVE   FALLBACK   AGE
cpe-logging   slipstream-kstreams-gen20x-scaled   apps/v1.Deployment   example-app       1     4     kafka      keda-trigger-auth-kafka-gen20x-credential   True    True     False      24s

Actual Behavior
After Upgrading to KEDA App Version 2.10.0 , the scaledobject status remained in False, Unknown state.
$ helm ls -n keda
NAME    NAMESPACE       REVISION        UPDATED                                 STATUS          CHART           APP VERSION
keda    keda            8               2023-06-15 05:56:55.495356882 +0000 UTC deployed        keda-2.10.1     2.10.0

$ k get scaledobjects -A
NAMESPACE     NAME                                SCALETARGETKIND      SCALETARGETNAME   MIN   MAX   TRIGGERS   AUTHENTICATION                              READY   ACTIVE    FALLBACK   AGE
cpe-logging   slipstream-kstreams-gen20x-scaled   apps/v1.Deployment   example-app       1     4     kafka      keda-trigger-auth-kafka-gen20x-credential   False   Unknown   False      6m40s

Steps to Reproduce the Problem

Install KEDA Helm Chart 2.10.1(App Version 2.10.0)
Copy the manifest which is using sasl in TriggerAuthentication, tweak username, password as per your kafka environment
Apply the manifest.

Logs from KEDA operator
There were no such error logs in keda-operator, After describing the scaled object
$ k describe scaledobjects slipstream-kstreams-gen20x-scaled -n keda

  Original Replica Count:  1
  Scale Target GVKR:
    Group:            apps
    Kind:             Deployment
    Resource:         deployments
    Version:          v1
  Scale Target Kind:  apps/v1.Deployment
Events:
  Type     Reason                   Age                    From           Message
  ----     ------                   ----                   ----           -------
  Normal   KEDAScalersStarted       7m35s                  keda-operator  Started scalers watch
  Normal   ScaledObjectReady        7m19s (x2 over 7m35s)  keda-operator  ScaledObject is ready for scaling
  Warning  ScaledObjectCheckFailed  113s (x12 over 2m4s)   keda-operator  Failed to ensure HPA is correctly created for ScaledObject
  Warning  KEDAScalerFailed         103s (x13 over 2m4s)   keda-operator  error parsing kafka metadata: err SASL mode plaintext
 given

KEDA Version
2.10.0
Kubernetes Version
1.25
Platform
Microsoft Azure
Scaler Details
Kafka
Anything else?
No response

Hi @ianebot , the issue is persistent in Helm Chart Version 2.10.2 also, hopefully this bug gets fixed in upcoming versions. Have you tried deploying some other lower versions ?

@dttung2905 could you please take a look?

Sure let me take a look during this weekend once i come back from sick leave

Hi everyone,
Thanks for the detail write up on the issue. The error parsing kafka metadata: err SASL mode plaintext  given actually comes from this line which is strange because plaintext should pass through in the first part of the if statement and not the else section
		if mode == KafkaSASLTypePlaintext || mode == KafkaSASLTypeSCRAMSHA256 || mode == KafkaSASLTypeSCRAMSHA512 || mode == KafkaSASLTypeOAuthbearer {
...
		} else {
			return fmt.Errorf("err SASL mode %s given", mode)
                }
...

I suspected there might be an extra space/character like \n  in SASL mode as we left out strings.Trimspace() for SASL in 2.10 (link). The reason I think so is because of the new line in the log provided above :thinking: . Let me add the string transformation back plus a few more test cases for validation.
wdyt @zroubalik ?

Hi everyone, currently the sasl and tls is only working if we define it in scaleobjects and not in triggerauthentication. This behaviour is observed in all the 2.10.x.
Earlier in 2.7.2 version , sasl and tls only works if we define it in triggerauthentication and not in scaledobjects.
If we can make this possible to use sasl and tls can be defined either in triggerauthentication or scaledobjects would be great as said it is said in the KEDA DOC . People might upgrade their KEDA Version and the kafka scaler might not work. Keeping in mind the migration part from 2.7 ---> 2.10 it would be great if it is available for both the scaleobjects and triggerauthentication.


Adding bioRxiv citation

Updating the comment at the top of event.py to reference the bioRxiv preprint describing the event segmentation method.

Thanks for adding the reference, Chris. Could adjust the formatting to pass the checks?
https://travis-ci.org/IntelPNI/brainiak/jobs/169323097
You can test yourself with pr-check.sh before submitting.

Sorry about that, fixed!


Persist model definition for k-NN indices

Description
For training, we create a template index in order to initialize components for each segment. Currently, we do not persist the parameters around the model anywhere other than the serialized model component.
This provides a poor user experience because users may forget what parameters a particular model has. Also, from a developers perspective, it makes it difficult to look up information about particular models for optimizations.
Proposed solution
Instead, we should serialize the model information with the model-metadata and in the model system index. This needs to be done in a backwards compatible way. This way, we can look up the model parameters for a particular model easily.

Addressed in #1527


code: 'MODULE_NOT_FOUND',   requireStack: [...    even when module is visible and the file path is correct

So im having an issue creating a app where i cant run npm build without this pooping up,
PS C:\Users\finnm\OneDrive\Desktop\Finn's stuff\NFT\DenOfDragons\minting_staking_dapp> npm start

<EMAIL_ADDRESS>start
react-app-rewired start

node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'C:\Users\finnm\OneDrive\Desktop\Finn's stuff\NFT\DenOfDragons\minting_staking_dapp\node_modules\react-scripts/config/webpack.config.dev'
Require stack:
- C:\Users\finnm\OneDrive\Desktop\Finn's stuff\NFT\DenOfDragons\minting_staking_dapp\node_modules\react-app-rewired\scripts\start.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (C:\Users\finnm\OneDrive\Desktop\Finn's stuff\NFT\DenOfDragons\minting_staking_dapp\node_modules\react-app-rewired\scripts\start.js:9:23)
    at Module._compile (node:internal/modules/cjs/loader:1103:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    "C:\\Users\\finnm\\OneDrive\\Desktop\\Finn's stuff\\NFT\\DenOfDragons\\minting_staking_dapp\\node_modules\\react-app-rewired\\scripts\\start.js"
  ]
}
PS C:\Users\finnm\OneDrive\Desktop\Finn's stuff\NFT\DenOfDragons\minting_staking_dapp>

as you can see in the screenshot the module is there and the path is correct so i don't understand why it is not found

node version: 16.14.0
npm version: 8.5.2
here is my package.json
{
  "name": "minting_staking_dapp",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@testing-library/jest-dom": "^5.16.2",
    "@testing-library/react": "^12.1.3",
    "@testing-library/user-event": "^13.5.0",
    "contracts": "file:./SmartContractMetaData",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-scripts": "5.0.0",
    "react-app-rewired": "^1.6.2",
    "web-vitals": "^2.1.4",
    "web3": "^1.7.0"
  },
  "scripts": {
    "start": "react-app-rewired start",
    "build": "react-app-rewired build",
    "test": "react-app-rewired test",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ]
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  },
  "devDependencies": {
    "assert": "^2.0.0",
    "crypto-browserify": "^3.12.0",
    "https-browserify": "^1.0.0",
    "os-browserify": "^0.3.0",
    "stream-browserify": "^3.0.0",
    "stream-http": "^3.2.0"
  }
}

and my config-overrides.js
const webpack = require('webpack');

module.exports = function override(config) {
    config.ignoreWarnings = [/Failed to parse source map/];

    const fallback = config.resolve.fallback || {};
    Object.assign(fallback, {
        "crypto": require.resolve("crypto-browserify"),
        "stream": require.resolve("stream-browserify"),
        "assert": require.resolve("assert"),
        "http": require.resolve("stream-http"),
        "https": require.resolve("https-browserify"),
        "os": require.resolve("os-browserify"),
        "url": require.resolve("url")
    })
    config.resolve.fallback = fallback;
    config.plugins = (config.plugins || []).concat([
        new webpack.ProvidePlugin({
            process: 'process/browser',
            Buffer: ['buffer', 'Buffer']
        })
    ])
    return config;
}

thanks for any help you can offer

The error message itself states that the module it cannot find is 'C:\Users\finnm\OneDrive\Desktop\Finn's stuff\NFT\DenOfDragons\minting_staking_dapp\node_modules\react-scripts/config/webpack.config.dev'
The reason it cannot find that module is because in react-scripts 2+, the file was renamed/merged with the normal webpack.config by create-react-app.
You're using react-app-rewired 1.6.2. You need to be using react-app-rewired 2+ for versions of react-scripts versions 2+, partly for this reason, and partly because there were also major changes in Webpack 4 - version 1.6.2 is NOT Webpack 4+ compatible.

I will try that out! Thank you so much, it’s been so hard to find a fix for this, your awesome, I’ll see if it works

yeah that worked! awesome


Adding properties not working with Storybook

Version: 1.1.0
I am not sure if there is a problem with Storybook, this module or my setup...
I have a story with a custom component having a Flex component (imported from the package) and another custom component.
It is not possible to set attributes on the Flex component (that uses $$restProps) but it is possible to set on any of my child components (that uses $$restProps).
I am also using svelte-material-UI in my project and the attributes are passed down correctly (seems to use a custom object with $$props).
I do not have any issues when using this module in my svelte-project.

Hey @simonljus! Thanks for filing this issue. While it sounds like an issue with Storybook, I would still like to investigate it further to ensure that prop spreading works for svelte-flex. Thanks for mentioning svelte-material-ui, I'll check it out and see what they're doing.
In the meantime, do you mind posting as much additional info as possible about your setup? Even just the story which uses svelte-flex and MUI together would be great.
Thanks for using svelte-flex!

I forked the sapper-template that I used and added my configurations. I added a login form component that exists on the page and in a story.
The component on the webpage has the class and the title attribute.
The component in the story does not have it.
https://github.com/simonljus/sapper-template-rollup

This seems to be an issue in Storybook and not with svelte-flex. As far as I can tell, your example using svelte-material-ui is passing down known props, that is, props which are known and specified by that library (ie: not $$restProps). I believe this is why your MUI stuff works in Storybook but svelte-flex does not.
I would recommend filing an issue in the Storybook repo, as it seems that $$restProps are not passed down in stories (as far as I can tell).
Closing this issue here as it's out of scope for this project, but willing to reopen if new information is provided.


Release for v0.6 alpha.1

radar-commons version 0.6-alpha.1
Changes since version 0.5:

Updated radar-schemas to version 0.2 (pending).
Use org.json instead of com.fasterxml.jackson for smaller code footprint
Use Kafka <IP_ADDRESS> / Confluent 3.3.0
Added usability methods to RestClient, RestSender and AvroTopic

This release will allow radar-schemas 0.2 to be published.


problem with example query

hi
i am having a problem with your example query.

from pyscopus import Scopus
key='xxx_mykeyhere_xxxx'
scopus = Scopus(key)
search_df = scopus.search("KEY(interdisciplinary collaboration)", count=30)
Traceback (most recent call last):
File "", line 1, in
File "\Programs\Python\Python36-32\lib\site-packages\pyscopus\scopus.py", line 56, in search
result_df, total_count = search_scopus(self.apikey, query, type, view=view)
File "\Programs\Python\Python36-32\lib\site-packages\pyscopus\utils.py", line 303, in _search_scopus
total_count = int(js['search-results']['opensearch:totalResults'])
KeyError: 'search-results'

I cannot reproduce your error. You may need to do all these within your institution's network.


docs: add hint about folder ingore

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


Adds missing pkg

I was able to run the code by just adding pydantic==1.10.9 to the list of pip pkgs. Tested the notebook end to end on Google collab before creating a PR.

Thank you @hkabbay — you rock!


Update failed validation message to allow a specify email for package signing failure

Addresses https://github.com/NuGet/NuGetGallery/issues/5194.
These APIs will be consumed by the orchestrator.

This PR has changes for the email we send, not the message we display on the package details page. Correct?

This PR has changes for the email we send, not the message we display on the package details page. Correct?

Correct.


Password Audit - running it generates error

Hey there,
I eluded to this in issue 4 but when I run Password Audit I select a wordlist and an output file, and as soon as I hit Run Audit I get a pop up confirming my DC (I just have one) and then once I click OK on that box, I get this:

And thought I might bump this as well.  I really wanna give this auditing capability a shot but it errors out.

Just from the look of the error, I think it is relying on having the DSInternals PowerShell scripts available. I've not yet tested this but that's what it looks like.

Hey @subdriven not sure how I missed this update but thanks for it.  I download/imported those scripts just in case that was the issue and then tried to run the audit again but got the error above again.  Any other ideas?


Added Tile for new Harness Tutorial on CD + CE

Added Tile for new Harness Tutorial on CD + CE
Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[X] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[X] Tested Locally - I just made sure I copied the format of other tiles and that it would work.
[ ] Optional Screen Shoot.

Preview environment: https://ci.pr.harness.io/pr-160

@HarnessTheChaos
Thanks for the PR! Would it be possible to also add that tile to ChaosEngineering.tsx? Can re-commit on this branch. That would cover the CE landing page. Cheers!

@ravilach Hi! I already submitted the other landing page - but didn't realize I should do it at the same time. Sorry! I was delayed in between meetings, otherwise I would have caught this sooner. Let me know if that works.

Works.


cannot get value of custom table type from stored procedure

i have this type table
create or replace TYPE SLICE
AS TABLE OF varchar2(1000);

i'm using version 2.7.6 and can't figure out how to get value of it. The procedure i'm using
create or replace PROCEDURE GO_TESTMULTI(
    text1 IN VARCHAR2,
    text2 IN VARCHAR2,
  slice_out OUT SLICE
)AS

example_slice SLICE;
test3 VARCHAR2(50);

BEGIN

  example_slice := SLICE();

   example_slice.extend;
   example_slice.extend;

  example_slice (example_slice.LAST) := text1;
  example_slice (example_slice.LAST) := text2;

  slice_out := example_slice;

END GO_TESTMULTI;

here's the function i use
func test_slice(db *sql.DB) {

	var (
		text1 string
		text2 string
		slice_out []string
	)

	text1 = `hello`
	text2 = `world`

	// prepare a callable statement
	cstmt, err := db.Prepare("BEGIN CIC.GO_TESTMULTI(:1, :2, :3); END;")
	if err != nil {
		fmt.Println("prepare:" + err.Error())
		panic(err)
	}
	defer cstmt.Close()

	_, err = cstmt.Exec(
		text1,
		text2,
		go_ora.Out{Dest: &slice_out, Size: 2},
	)
	if err != nil {
		fmt.Println("exec: " + err.Error())
		panic(err)
	}

	fmt.Printf("text1 : %v#\n", text1)
	fmt.Printf("text2 : %#v\n", text2)

	return
}

not sure about the example/arrays/main.go , but theoreticaly it should be working with []string
thank you

In this case the SLICE is defined as custom object not an array so it need different implementation
as you see in the following function in connection.go
func RegisterType(conn *sql.DB, typeName, arrayTypeName string, typeObj interface{}) error {
	// ping first to avoid error when calling register type after open connection
	err := conn.Ping()
	if err != nil {
		return err
	}
	if driver, ok := conn.Driver().(*OracleDriver); ok {
		return RegisterTypeWithOwner(conn, driver.UserId, typeName, arrayTypeName, typeObj)
	}
	return errors.New("the driver used is not a go-ora driver type")
}

here I restrict array object to custom type
but in your example we have array object of regular type so I need to make investigations with original driver and add this feature

digging deeper so far away, i'd found that its called Collections and records from oracle official docs
i made a new function called RegisterCollectionWithOwner and use this query to detect the collections in connection.go
		var (
			attName     sql.NullString
			attTypeName sql.NullString
			length      sql.NullInt64
		)
		sqlText := `SELECT TYPE_NAME,ELEM_TYPE_NAME,LENGTH
					FROM ALL_COLL_TYPES
					WHERE UPPER(OWNER)=:1 AND UPPER(TYPE_NAME)=:2`
		err := conn.QueryRow(sqlText, strings.ToUpper(owner), strings.ToUpper(collectionName)).Scan(&attName, &attTypeName, &length)
		if err != nil {
			return err
		}

But there's a lot of things that i still understand yet.

First, i don't know what data type shall be used when using in the PL/SQL Begin End Block. I tried to copy as user defined type (udc is user defined collections), but has problem in parameter_encode.go, when goType.kind() is struct

type MULTIVARCHAR2 struct {
	VALUE string `udc:VARCHAR2`
}
var (
		text1     string
		text2     string
		list      []string
		listSlice []MULTIVARCHAR2
	)

	// list = make([]string, 0)
	listSlice = make([]MULTIVARCHAR2, 0)

	err = go_ora.RegisterCollection(m.DB, "TYPE_MULTIVARCHAR2", list)
	if err != nil {
		fmt.Println("Can't register UDC", err)
		return
	}

	// prepare a callable statement
	cstmt, err := conn.PrepareContext(m.Ctx, "BEGIN PR_GO_TEST_MULTI(:1, :2); END;")
	if err != nil {
		return err
	}
	defer cstmt.Close()

	_, err = cstmt.Exec(
		text1,
		text2,
		sql.Out{Dest: &listSlice},
	)
	if err != nil {
		fmt.Println(err)
		return err
	}

If i'm not using struct and plain []string array as scan value, i'm thinking about the byte size that need to initialized first. Afaik go slice can't define the string length

// this is example for string that accept VARCHAR2(100) from database. But how if it a slice of string (VARCHAR2) ?
Out := string(make([]byte, 100))

This is not limited to collections only, but also records. And the official docs mentioned we can write custom index type

DECLARE
  -- Associative array indexed by string:

  TYPE population IS TABLE OF NUMBER  -- Associative array type
    INDEX BY VARCHAR2(64);            --  indexed by string

  city_population  population;        -- Associative array variable
  i  VARCHAR2(64);                    -- Scalar variable

BEGIN
  -- Add elements (key-value pairs) to associative array:

  city_population('Smallville')  := 2000;
  city_population('Midland')     := 750000;
  city_population('Megalopolis') := 1000000;

  -- Change value associated with key 'Smallville':

  city_population('Smallville') := 2001;

  -- Print associative array:

  i := city_population.FIRST;  -- Get first element of array

  WHILE i IS NOT NULL LOOP
    DBMS_Output.PUT_LINE
      ('Population of ' || i || ' is ' || city_population(i));
    i := city_population.NEXT(i);  -- Get next element of array
  END LOOP;
END;
/

opening discussion in https://github.com/sijms/go-ora/discussions/476

fixed in v2.8.7

Tested and working. Thank you for the fix

Tested and working. Thank you for the fix


[FLOC-4413] Fix golden files

I've done 2 things in this PR.

I've added a regression test to verify that HEAD can always generate the latest golden file. This should fix the problem I encountered where I could no longer generate the golden file from master, and was confused as to why.

I've added additional infrastructure to enable us to generate multiple golden files per config version. This is important because version 4 added some complexity to the config file that should be tested. This complexity does not exist in versions 1 through 3, so it only needs to be tested for versions 4+. Thus when we add version 5 we need to test that it can be upgraded to with 2 different versions:

One that is valid to upgrade all the way from version 1 to version 5 (and 2 to 5 and 3 to 5)
One that tests the new complexity added in version 4, and verifies that we can upgrade from that configuration to version 5.

Thanks @sarum90
I must say I've struggled to understand this code and therefore the changes to it.
Here's my understanding:
v4 test data is different than we have in the sample configuration file.
It includes a new  blockdevice_ownership section.
{
  "deployment": {
    "persistent_state": {
      "blockdevice_ownership": {
        "values": {
          "0": [
            [
              {
                "hex": "b229d949-0856-4011-96e5-3dd0a5586180",
                "$__class__$": "UUID"
              },
              "block-device-id"
            ]
          ],
          "_t": "a"
        }
      }
    }
  }
}

https://benjamine.github.io/jsondiffpatch/demo/

Note: It'd be nice if the configurations were stored in pretty printed form to make it easier to review the changes.

The existing tests demonstrate that the sample configuration can be upgraded between all configuration revisions.

But the latest sample  doesn't contain an example of the blockdevice_ownership attribute and therefore there's nothing to test that the upgrade code does the correct thing in the situation where the blockdevice_ownership should be populated during upgrade...is that it?

Thanks for writing a comprehensive PR description, but perhaps you could quickly explain the failure circumstances to me before you merge this.
But yes, I think this is good to merge.

Updated the PR description. Hopefully everything is more clear now.


Fix ``tx/submit`

Description
This will fix the SDKs tx/submit endpoint
Fixes #29 (partially)
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
In Blockfrost.Api.Tests\Services\TransactionServiceTest.cs

[ ] TestSubmitAsyncString
[ ] TestSubmitAsyncStream
[ ] ...add more

Vectors
See Vectors.md
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Couple of issues here:

[ ] Add predefined test vectors known to work on cardano-cli
[ ] Create sender and receiver wallets for tests
[ ] Submit transaction via stream
[ ] Submit transaction via string
[ ] Verify transaction submit


Commands not working

I have been trying to debug this for a while (like 3 days), and I have had a consistent failure with commands. I'm not sure what the problem is, but I believe it is the regex. I would appreciate if i got some help

whoops misclicked

Sorry, afk at the moment. Will look into that later. However, can you please provide more details? An example query you type, browser log for possible errors etc anything you can provide. Otherwise it would be really hare to try to find a way to reproduce something.

I will try to find logs of some sort, but I cannot figure it out. Though it shouldn't be very difficult to recreate it because it happens every time I try to use a command (unless help or nfetch)

I can send video of whats happening if that would help

If it helps, what's happening is it's searching the command up instead of "running"(?) it

Hello, as I mentioned above I need all the data you can provide.

What do you write to run commands? Please type exactly what you write there
Launch start page, open browser console, reload the page and send me a screenshot of the console https://firefox-source-docs.mozilla.org/devtools-user/browser_console/index.html this will show all errors

It is not possible to reproduce with what you have shared so far, and no one ever encountered this issue before. So, I need more information to help you.
And just a friendly warning in case you might not now, please do not use github issues for multiple consecutive messages like as messaging services such as whatsapp. Github will send notifications to each following people for your each message and it gets annoying to receive them while at work / free. Instead, prepare your draft and send it when you complete.

Hello @UncleEnk any updates regarding your issue? I cannot reproduce what you have there, so if I can't hear from you I will close this issue with cant reproduce flag.

Since no one else reported such an issue and I haven't received more information from you, I am closing this issue as cant reproduce.

Sorry for not responding. I have been very busy.
Here is the log without me attempting to do any commands

And the log with me attempting to do the commands is this (very similar)

From looking at the logs, it looks like it is related to "WebExtension context". Since I am not very proficient in web dev, I do not understand what this means! Sorry for being so late to respond. I hope I can help later on. Bye.

This sounds like an issue with your browser. Can you please try
launching the link in private mode without any extensions installed? If you cannot do that, try with a different browser? Also, I would love to see one of the WebContext errors more. You can click the little arrow on the left side of the error to expand it further. Also your browser and OS version should help identifying the problem. But as I said, it doesn't look like an issue with the code.

Wow, it seems to me that Firefox dev tools has refused to work consistently. Now I am getting this log:

(I have shown the "tree" of the WebExtension Context error)
This is how it looks in private mode with no extensions enabled:

Sorry for leaving two messages, I forgot to say that, My Firefox version is 110.0 (64 bit) and that my windows version is "Build 22621.1265"

Ooops, I realized that you sent logs from Browser Console. Can you try the logs from Menu > More Tools > Web Developer Tools > Console for the logs? This is the console shows logs for the web app, we might find something useful there instead of Browser Console logs

Launch excalith-start-page.vercel.app/
Open the console logs from the path I mentioned above
Reload the page
Check the logs


Backup Parameter Not Found

After importing the module, when executing Invoke-HardeningKitty -Mode Config -Backup as indicated in the Readme.md , PowerShell returns the following error regarding the Backup parameter:
Invoke-HardeningKitty : A parameter cannot be found that matches parameter name 'Backup'.
At line:1 char:36
+ Invoke-HardeningKitty -Mode Config -Backup
+                                    ~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Invoke-HardeningKitty], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Invoke-HardeningKitty

Which version did you use? I can't reproduce the issue in the current version:

The current release from this repo - 0.6.0. This is a new Windows 10 install of 20H1. I also tried the same syntax you used and got the same error:
PS C:\Users\TechGy\Downloads\HardeningKitty-v.0.6.0\HardeningKitty-v.0.6.0> Invoke-HardeningKitty -FileFindingList .\lists\finding_list_0x6d69636b_machine.csv -Backup -Log -Report
Invoke-HardeningKitty : A parameter cannot be found that matches parameter name 'Backup'.
At line:1 char:84
+ ... ndingList .\lists\finding_list_0x6d69636b_machine.csv -Backup -Log -R ...
+                                                           ~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Invoke-HardeningKitty], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Invoke-HardeningKitty

All right, you can use the current version in the repository. Releases are only made at sporadic intervals and the 0.6.0 release does not include the backup method.

I was just noticing that after comparing 0.6.0 to master. I'll use the latest version, thanks!

All right, you can use the current version in the repository. Releases are only made at sporadic intervals and the 0.6.0 release does not include the backup method.


[LakeFSOutputCommitter] Make OutputCommitter the default OC for LakeFSFileFormat

Requires #4310.
Select LakeFSOutputCommitter by default for anything written by LakeFSFS.  (It should still be possible to require some other OC, of course...).

Might require Hadoop 3 (unfortunately), as there is no easy way to bypass FileOutputCommitter in Spark other that to set a global OC.


Create reusable CopyButton

A BoxButton that can copy content to the clipboard, along with a copy animation.

I see two CopyButton designs that we need :
One regular BoxButton that would take a prop copy="My copiable text" and gets copied to the clipboard once clicked.
The animation for this button should be the same as this one, but wrapped in the BoxButton component instead of having to implement this everytime:
https://github.com/saving-satoshi/saving-satoshi/blob/30d8f3fc22a4cb2835c7c95a20b7f2780e52f5f9/components/chapters/LoginModal.tsx#L144-L157
And another CopyButton that only displays the Clipboard Icon.

Probably no need to have an animation for this, maybe a simple feedback.


Mistake in database for Luxembourg?

Not really a software issue,
I noticed that Luxembourg comes back from the API service with countrycode "EU" while it should be "LU".
not sure how to inform you guys about this....
I love the service and  the quality ... props for all you guys!
regards,
Dirk

Just updated the public instance DB, not sure if it will fix the problem. If not, it should be reported to MaxMind. Thanks.


Lineages of works--conceptual issues

From<EMAIL_ADDRESS>on February 13, 2010 16:42:58
I would like to get feedback and comments on introducing, into IAO, a term or set of terms
describing a relationship of cognitive descent among works, that is, a model of one work's being
derived in part from another by way of the creators of the former having understood and acted
upon the content of the latter. I have written a brief essay addressing conceptual issues which arise
in modeling this phenomenon and in which I propose an informal model. In subsequent ongoing
work I intend to represent this informal model in OWL. I had discussed introducing such a model in
late 2009.
Attachment: ConceptualIssues.pdf
Original issue: http://code.google.com/p/information-artifact-ontology/issues/detail?id=76

From<EMAIL_ADDRESS>on February 15, 2010 11:56:05
Status: Started
Labels: Priority-Critical

From<EMAIL_ADDRESS>on March 08, 2010 09:52:51
A couple of practical concerns arise:
(1) The "explanatory condition" for cognitive continuity seems difficult to operationalize. Borrowing from your
notation, the "learning or inference" on the part of the creators of the descendent work might not be
consciously accessible to them.  For example, if one of my officemates O is influenced by the ideas in work Wp,
and I talk often with O, I might unconsciously pick up something about the topic T which then is reflected in
my work Wd.  By your definition, Wd is a direct descendent of Wp, but the creator of Wd doesn't actually know
that.  I think this is actually fairly common in scientific publication; it certainly is the case that, say, reviewers
of a journal manuscript request additional citations for material that is (implicitly) derived from prior works but
unacknowledged in the text.
Note that this is really the inverse of your discussion of "directness".  Rather than the obscure ornithologist
being the one whose work is the real ancestor (where your analysis of directness solves the problem), it might
be the case that the authors absorb the message of some relevant prior work (in your example, Lack's) not by
reading it, or even knowing about it, but by being cognitively influenced by it through an "obscure
ornithologist" O who had read it.
A consequence of this concern is that figuring out whether a work is a descendent of another cannot be
simply based on an analysis of citation or other explicit recognition of ancestral works.  Works that are not
mentioned directly by the authors of Wd might very well have been direct ancestors of the work. Detective
work, not unlike that of literature critics tracing an arc of influence, is required even to enumerate the direct
ancestors of a publication.  This is unlike biological descent, and means that any assertion of lineage is likely
to be controversial (as is any literary analysis of influence).
(2) Your analysis, particularly with respect to referential continuity, depends on being able to determine that
two works are about the same thing(s).  This is a hugely problematic requirement, given the history of
argument over, say, connotation.  This also makes the determination of lineage in practical terms very
difficult.  Arguments about whether two works are really about the same thing are quite difficult to resolve.
I don't think that these problems doom your project.  I do think that your project would benefit from adjusting
the definition of direct descent of scientific works to make them depend on explicitly acknowledged ancestral
works (e.g. by citation), and to make clear that there also exist implicit or unacknowledged ancestral works
that, other than the explicit recognition aspect, are just as much ancestors.

From<EMAIL_ADDRESS>on March 15, 2010 15:07:49
Hi everyone: here is the agenda for the 16 March IAO call, scheduled for 12 Noon EDT, via Skype. Alan will be
hosting the call.
INTRODUCTORY REMARKS

Motivations
The idea of a lineage of works
Strategy for developing the ontology
Brief summary of my account

CONCEPTUAL PROBLEMS

Cognitive inheritance vs. other forms
Stability of usage across time
** The Kripke/Putnam account of  meaning of natural kind terms vs. incommensurability
Inheritance must be direct
** Problem about context, unacknowledged or unconscious influence

HOW TO OPERATIONALIZE ALL THIS?

Develop a scale for strength of evidence for existence of a lineage.
**Basis for scoring:
*** Citation, ``heritability measures'' based on citation
*** Linguistic hallmarks of attribution
*** Evidence derived from notes, manuscripts, other archival material
*** Works share a common data set or set of specimens

Yes, this will require expert human readers.

BUT: We already possess some good text-bases and historical accounts in the case of some important
individuals (Darwin, Newton, Sewall Wright).

AND The Biodiversity Heritage Library provides a vast and rapidly growing text-base for works up to the early
20th C.

BUT: Let's be optimistic about the development of digital infrastructure for HPS: Development of NLP for
identifying linguistic hallmarks of one author's recognition of another's work; for tracking the diffusion of a new
term through the literature, archival material, i.e., gene;'' phenotype;'' ``coalescent.''

Concluding remarks & questions

Next steps: formalize in OWL (part II), Develop scoring system for applying to works (part III)
Publish the documentation of this somewhere?
Start organizing the BHL data, Darwin's Library data

From<EMAIL_ADDRESS>on October 30, 2011 15:50:38
Labels: -Priority-Critical Priority-Medium


add exercise circular-buffer

The tests were ported from the Ruby version, the example implementation is similar to the Go example.

We don't usually include the lib.rs file.  Must have gotten accepted by accident in the "forth" exercise.

I can remove it, the reason I included was to provide the Error enum definition.

@ekse I don't think it's too unreasonable to expect the Enum to be defined as a part of the exercise.  If you can remove it, please do.

I removed the lib.rs, I also merged the commits together.

Looks good to me!  Thanks!


The network speed calculation of IOS is wrong.

The network speed calculation of IOS is wrong. It may be the unit conversion error. It is recommended to check the upload speed and download speed of IOS. I estimate that the data of Android is relatively normal, so referring to the data calculation method of Android may get the correct IOS network speed data.

这边跑下来看了计算应该没有问题，麻烦检查一下是否有个别脏数据

这边跑下来看了计算应该没有问题，麻烦检查一下是否有个别脏数据

I'm sure IOS's statistics on the real-time network speed of a process are wrong. My maximum actual network speed is less than 2310 KB/ s.

这边跑下来看了计算应该没有问题，麻烦检查一下是否有个别脏数据

There are also many mistakes, and it can't stop at all.


swap node-compress for zlib and send accept-encoding headers

Updated path.existsSync to fs.existsSync (fixes #19).
Removed unused requires for jsmin and path.
Swapped out node-compress submodule for zlib.
Updated makeRequest to send accept-encoding headers for gzip and deflate

This is fixed/removed @ 1.0.0.


Create a CONTRIBUTING.md file

Make CONTRIBUTING.md have proper content.

Downloading for development
creating a new branch for each pr
etc...

There's one there now.


[SPARK-29393][SQL] Add make_interval function

What changes were proposed in this pull request?
In the PR, I propose new expression MakeInterval and register it as the function make_interval. The function accepts the following parameters:

years - the number of years in the interval, positive or negative. The parameter is multiplied by 12, and added to interval's months.
months - the number of months in the interval, positive or negative.
weeks - the number of months in the interval, positive or negative. The parameter is multiplied by 7, and added to interval's days.
hours, mins - the number of hours and minutes. The parameters can be negative or positive. They are converted to microseconds and added to interval's microseconds.
seconds - the number of seconds with the fractional part in microseconds precision. It is converted to microseconds, and added to total interval's microseconds as hours and minutes.

For example:
spark-sql> select make_interval(2019, 11, 1, 1, 12, 30, 01.001001);
2019 years 11 months 8 days 12 hours 30 minutes 1.001001 seconds

Why are the changes needed?

To improve user experience with Spark SQL, and allow users making INTERVAL columns from other columns containing years, months ... seconds. Currently, users can make an INTERVAL column from other columns only by constructing a STRING column and cast it to INTERVAL. Have a look at the IntervalBenchmark as an example.
To maintain feature parity with PostgreSQL which provides such function:

# SELECT make_interval(2019, 11);
   make_interval
--------------------
 2019 years 11 mons

Does this PR introduce any user-facing change?
No
How was this patch tested?

By new tests for the MakeInterval expression to IntervalExpressionsSuite
By tests in interval.sql

Test build #113499 has started for PR 26446 at commit 312bd45.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18390/
Test PASSed.

Test build #113499 has finished for PR 26446 at commit 312bd45.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/113499/
Test PASSed.

Thank you for adding this, @MaxGekk ! Only minor comments.

Test build #113530 has started for PR 26446 at commit 95bbfbc.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18419/
Test PASSed.

Test build #113530 has finished for PR 26446 at commit 95bbfbc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/113530/
Test PASSed.

Could you resolve the conflicts, @MaxGekk ?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18434/
Test PASSed.

Test build #113546 has started for PR 26446 at commit 0f9a3bb.

Test build #113546 has finished for PR 26446 at commit 0f9a3bb.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class AlterViewAsStatement(

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/113546/
Test PASSed.


Error: Unable to resolve activity

If I use:
androidTestCompile 'com.21buttons:fragment-test-rule:1.0.0'
I get this error when I run the tests:
java.lang.RuntimeException: Could not launch activity
at android.support.test.runner.MonitoringInstrumentation.startActivitySync(MonitoringInstrumentation.java:371)
at android.support.test.rule.ActivityTestRule.launchActivity(ActivityTestRule.java:219)
at android.support.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:268)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at android.support.test.internal.runner.TestExecutor.execute(TestExecutor.java:59)
at android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:262)
at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1960)
Caused by: java.lang.RuntimeException: Unable to resolve activity for: Intent { act=android.intent.action.MAIN flg=0x14000000 cmp=com.prova.provafragmenttestrule/android.support.v4.app.FragmentActivity }
at android.app.Instrumentation.startActivitySync(Instrumentation.java:408)
at android.support.test.runner.MonitoringInstrumentation.access$201(MonitoringInstrumentation.java:90)
at android.support.test.runner.MonitoringInstrumentation$5.call(MonitoringInstrumentation.java:351)
at android.support.test.runner.MonitoringInstrumentation$5.call(MonitoringInstrumentation.java:348)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)

To get rid of the error I have to use:
debugCompile 'com.21buttons:fragment-test-rule:1.0.0'
By using debugCompile (instead of androidTestCompile) the FragmentActivity declared in the library's manifest gets packaged into the apk and found.
Is there a way to use the library with androidTestCompile?

I'm playing with a similar library that allows to test views in isolation, and they have an artifact with the JUnit rule and another one with the Activity + manifest:
https://github.com/novoda/spikes/tree/master/espresso-support#usage
The rule is added with androidTestCompile and the  activity  + manifest with debugCompile, like this:
androidTestCompile 'rule'
debugCompile 'activity + manifest'

Personally, I haven't found a way to use an Activity placed into the androidTest sourceset without declaring the Activity into the debug sourceset's manifest. The Activity can live in androidTest but it always needs to be declared in the debug manifest to be found.
See this for more info on this:
https://stackoverflow.com/questions/36276909/create-dummyactivity-inside-androidtest-folder-for-testing
https://stackoverflow.com/questions/24451076/android-gradle-espresso-test-not-starting-activity

Yeah, you are right. You must add it as debugCompile. I have no idea why it works in the sample project.

Personally, I haven't found a way to use an Activity placed into the androidTest sourceset without declaring the Activity into the debug sourceset's manifest. The Activity can live in androidTest but it always needs to be declared in the debug manifest to be found.

As far as I know it's not possible.

I don't know what can be the best option: split the library in two or just use it as debugCompile.
The footprint of this library is really small and there's not need to ship it in the production apk. I don't see a good reason to split it.

As long as you use debugCompile, the library will never be shipped into the production apk.
The only issue  with using debugCompile is that you can refer to the FragmentTestRule<> in your main sourceset, which wouldn't allow you to compile your release apk. However, I don't think this issue is important enough to publish 2 artifacts.
I've sent a pull request: #5


Update Workflow API docs to stable

Thank you for helping make the Dapr documentation better!
Please follow this checklist before submitting:

[ ] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[ ] Read the contribution guide
[ ] Commands include options for Linux, MacOS, and Windows within codetabs
[ ] New file and folder names are globally unique
[ ] Page references use shortcodes instead of markdown or URL links
[ ] Images use HTML style and have alternative text
[ ] Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:
Description

Update documentation to use stable Workflow API
Issue reference

Related PR: https://github.com/dapr/dapr/pull/8253

The notes in the Workflow docs about Workflow being in beta also need removed:

All the docs in Developing applications/Building blocks/Workflow section
The API reference doc

Does the code snippet for the actor workflow backend need updated?: https://docs.dapr.io/reference/components-reference/supported-workflow-backend/actor-workflow-backend/
SDK docs and code snippets need updated as well, from each sdk repo:

.NET
Java
JS
Python

Closing this PR for now, as the Workflows API in runtime will be deprecated and likely removed in the next releases.
Replaced by Workflows Client.

https://github.com/dapr/dapr/pull/8299

This should not be closed. The docs need to show the final stable API. The beta API will be left there, but we will not mention this, only for transient compatibility until the v1.16 release.

merging this - @antontroshin I can address the rest of the workflow going stable updates mentioned in the comment above

@hhunter-ms @msfussell This PR merge should be reverted.
There's no Stable API update for Workflows /v1.0/workflow in the 1.15 release, as the entire workflow usage is now done through a separate Workflow Client.
As per support policy, the "old" /v1.0-beta1/workflow stays for a few releases until SDKs catch up in the new Workflow Client support implementation. Documentation, examples, and quickstarts for the new Workflow Client, are being updated in separate PRs.