serde_codegen not compiling in rust nightly

I'm trying to compile serde using cargo and the last Rust nightly, but cargo canno't compile serde_codegen.
This is the trace error:
Compiling serde_codegen v0.8.17
error[E0061]: this function takes 4 parameters but 3 parameters were supplied
   --> /Users/antonin/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen-0.8.17/src/lib.rs:175:63
    |
175 |             let impl_item = parse::parse_item_from_source_str(name, expanded, sess);
    |                                                               ^^^^^^^^^^^^^^^^^^^^
...
181 | shim!(Serialize ser::expand_derive_serialize);
    | ---------------------------------------------- in this macro invocation
    |
    = note: the following parameter types were expected:
    = note: std::string::String, std::string::String, std::vec::Vec<syntax::ptr::P<syntax::codemap::Spanned<syntax::ast::MetaItemKind>>>, &syntax::parse::ParseSess

error[E0061]: this function takes 4 parameters but 3 parameters were supplied
   --> /Users/antonin/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_codegen-0.8.17/src/lib.rs:175:63
    |
175 |             let impl_item = parse::parse_item_from_source_str(name, expanded, sess);
    |                                                               ^^^^^^^^^^^^^^^^^^^^
...
182 | shim!(Deserialize de::expand_derive_deserialize);
    | ------------------------------------------------- in this macro invocation
    |
    = note: the following parameter types were expected:
    = note: std::string::String, std::string::String, std::vec::Vec<syntax::ptr::P<syntax::codemap::Spanned<syntax::ast::MetaItemKind>>>, &syntax::parse::ParseSess

error: aborting due to 2 previous errors

error: Could not compile `serde_codegen`.

To learn more, run the command again with --verbose.

This is my Rust configuration:
cargo 0.13.0-nightly (5f2cc15 2016-10-13)
rustc 1.14.0-nightly (098d22845 2016-10-13)

Is anybody here has got this problem?

You need to use a newer nightly. The newest one is:
cargo 0.13.0-nightly (717adc8 2016-11-02)
rustc 1.14.0-nightly (5665bdf3e 2016-11-02)

As a general rule, the "nightly" codegen setup is only guaranteed to work with the newest nightly. It isn't possible for us to support old nightlies.

Thanks, I forgot to check if I used the newest nightly... Sorry for that.


Update 07._Animations.md

Repaired a link for Animatable.  I used a search url... but I don't know if that is wise.  If we target a specific version of Animatable (ie. 2.3), then this link goes stale when 2.4 (and beyond) is released.  It would be nice to have a... umm... virtual path? for the link.  Something like...
http://doc.babylonjs.com/classes/latest/Animatable
'latest' would point-to the latest version of the classes.  Anyway, I have never done an edit where I didn't use my own GitHub account to do the edit-with.  This is a...
"You’re editing a file in a project you don’t have write access to.  Submitting a change to this file will write it to a new branch in your fork, so you can send a pull request."
...I don't know if that is wise, or not.  Noob!  :)  I've never had a "commit discussion" with GitHub, either, so if someone would like to talk with me... in one of those, I'd be willing to try it.  :)  Thanks.

A virtual path already exists : http://doc.babylonjs.com/classes/Animatable.
Indeed, the search url is not wise :) Could you create another PR and use the virtual path instead ? I'll close this one afterwards.

Thank you, and will do.


Adding a "Dashboard" of customers statistic data for analysing in the future.

It is definitely, the dashboard for galleries and artists to display and analyse their information is quite important.


Add HAProxy Kubernetes Ingress Controller to Gateway API Implementation page

What would you like to be added:
On https://gateway-api.sigs.k8s.io/implementations/, I'd like to add the following implementation:

HAProxy Kubernetes Ingress Controller
HAProxy Kubernetes Ingress Controller is an open-source project maintained by HAProxy Technologies that provides fast and efficient traffic management, routing, and observability for Kubernetes. It has built-in support for the Gateway API since version 1.10. The same deployment of the ingress controller will allow you to use both the Ingress API and Gateway API. See the documentation for more details. In the GitHub repository, you will also find additional information about supported API resources.

Why this is needed:
To provide Gateway API implementation information for those looking in the K8s docs.
Relevant source file: https://github.com/kubernetes-sigs/gateway-api/blob/main/site-src/implementations.md

This is great to see, thanks for filing this @NickMRamirez! Feel free to make a PR to add HAProxy to the implementations list.


this.timeout(0)

Frankly, thinking about it for a couple seconds
for developers sharing code:
this.timeout('disable') is a lot more clear in terms of intent than this.timeout(0)
the latter makes it seem like the test should fail almost automatically
the former makes it clear that you actually want to disable timeouts for the test
would be easy to implement, but might be too late in terms of backward compatibility

also, as an important detail, the reason I posted this issue in the first place, was because this.timeout(0) inside of a mocha it() function was not in fact disabling timeouts for that test, even though the mocha docs indicate that it should disable the timeout.

I disagree. a string like 'disable' is so arbitrary. timeout(false) might be clearer.

the reason I posted this issue in the first place, was because this.timeout(0) inside of a mocha it() function was not in fact disabling timeouts for that test,

I think that's a bigger issue. :) Do you have an example? Couldn't reproduce with a quick test against master:
$ cat example.js
it('test', function(done) {
  this.timeout(0);
  setTimeout(done, 2000);
});
$ mocha example.js

  ․

  1 passing (2s)

And I agree with @rstacruz that 'disable' is a bit arbitrary. However, both 0 and -1 are very common values for APIs to disable a restriction or limit. I'm of the opinion that this doesn't need to change.

thanks guys, I really don't care if it's this.timeout(false) or this.timeout(-1) or this.timeout('the best choice'), anything but this.timeout(0) ! :)

I will try to reproduce the this.timeout(0) failing to work as soon as possible

@ORESoftware Make a PR that adds the failing unit test, that would be perfect. :)

I'm fine with this.timeout(0), FWIW.

I am working on multiple projects and can't find the this.timeout(0) that I was thinking of, but give me a few more days to see if I can find it. I think this.timeout(-1) makes the most sense, but this.timeout(0) is not the end of the software world.

if I recall, the reason why I turned the timeout(s) off was so I could debug the mocha test with node-inspector

I'm impartial. Setting values to 0 or a negative value to disable is very common. As with false.
https://github.com/search?utf8=✓&q="or+0+to+disable"&type=Code&ref=searchresults (have to go through a few pages)
https://github.com/search?utf8=✓&q="or+false+to+disable"&type=Code&ref=searchresults
I see a lot of "0 or false to disable it"

I agree that it is probably more common to see 0 or false in this case but
this.timeout(-1) makes the most sense, and I believe it gels more with the world outside of Node.js.
this.timeout(false) or this.timeout(0) has the wrong semantics - for example, this.timeout(true) doesn't mean anything, that's why this.timeout(false) should not mean what does mean in this library either.

I agree that it is probably more common to see 0 or false in this case but this.timeout(-1) makes the most sense

I disagree - I think it's best to stay consistent with both nodejs, as well as the rest of the community. 0 is very common for disabling timeouts and limits.
https://nodejs.org/api/net.html#net_socket_settimeout_timeout_callback

If timeout is 0, then the existing idle timeout is disabled.

https://nodejs.org/api/http.html#http_server_timeout

Set to 0 to disable any kind of automatic timeout behavior on incoming connections.

https://nodejs.org/api/http.html#http_server_maxheaderscount

If set to 0 - no limit will be applied.

https://github.com/felixge/node-mysql/#pool-options

If set to 0, there is no limit to the number of queued connection requests. (Default: 0)

https://github.com/felixge/node-mysql/#poolcluster-option

If set to 0, then node will be removed instead and never re-used. (Default: 0)

https://github.com/mqttjs/MQTT.js#mqttclientstreambuilder-options

keepalive: 10 seconds, set to 0 to disable

https://github.com/tomas/needle#request-options

open_timeout: (or timeout) Returns error if connection takes longer than X milisecs to establish. Defaults to 10000 (10 secs). 0 means no timeout.
read_timeout: Returns error if data transfer takes longer than X milisecs, after connection is established. Defaults to 0 (no timeout).

https://github.com/bitinn/node-fetch#options

// req/res timeout in ms, 0 to disable

I'm going to close this issue for now, opting to preserve backwards compatibility for this part of the API. If you're able to replicate the timeout issue, could you open a new issue with a reproduce case? I'd love to fix that if you're able to reproduce it. Thanks again! :)


imagenet_synset_words.txt

What is imagenet_synset_words.txt doing in the repo?

just delete it. its for fun (toilet tissue, toilet paper, etc...)

Deleted.


Backend: new exn type that includes currency

Add new exception type that wraps ResultInconsistencyException when checking for balances and includes currency for which the operation has failed.
Fixes https://github.com/nblockchain/geewallet/issues/246

@webwarrior-ws you had made a mistake, you were adding a try-with block in a part of the code in which it didn't have any effect. FYI I fixed this mistake, and this gave me an idea for an FSharpLint rule that we might want to work on at some point: https://github.com/fsprojects/FSharpLint/issues/686


Build fails for iOS 2.13: linker command failed with exit code 1

Description

Currently, I am evaluating bugsnag with React Native.
npm install<EMAIL_ADDRESS>--save
react-native link bugsnag-react-native
pod install

Issue
In Xcode, both release & debug builds fails with the error,
ld: library not found for -lBugsnagReactNative
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Environment
Library versions:
react-native: 0.56.0
react: 16.4.1
bugsnag-react-native: 2.13.1
cocoapods: 1.6.1
Xcode: Version 10.1 (10B61)
Not sure why this is happening. Please help me fix the error.

I just tried the and example app in the folder "plain" from this repo.
This is what I did
npm install
cd ios/ && pod init && cd ..
react-native link bugsnag-react-native
cd ios/ && pod install

In Xcode, I tried running the build, I get a different error
In file included from /Users/mayur/Documents/bugsnag-react-native/examples/plain/node_modules/bugsnag-react-native/cocoa/BugsnagReactNative.m:3:
/Users/mayur/Documents/bugsnag-react-native/examples/plain/node_modules/bugsnag-react-native/cocoa/BugsnagReactNative.h:3:9: fatal error: 'React/RCTBridgeModule.h' file not found
#import <React/RCTBridgeModule.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Not sure, why are do these errors keep coming.

Thanks for the report @mayurgrexit. The "plain" example app is already linked, and adding pod init would likely break the app. To run the example, follow the instructions here. The ios-cocoapods-component example app (here) shows how to configure bugsnag-react-native with cocoapods instead of react-native link (both should not be used together).


Wrong address into referral page

Describe the bug
I had already used another address to interact with Starknet.id and open different pages (like referral) before purchasing a domain with a new address. After purchasing a domain, a window popped up concerning the referral program. However, when I opened the referral window, the page was linked to my previous address.
Expected behavior
Have the right address linked to the referral program page.
Screenshots

This is actually not a bug, just the fact you connected with this address before on the referral page


[BUG] Wrong http code returned from create index API with bad input.

Describe the bug
Create Index API returning wrong http response code when given invalid input.
To Reproduce

Start up server ./gradlew run
Send a curl request to create an index with invalid input

curl -v -X PUT "localhost:9200/test-index?pretty" -H 'Content-Type: application/json' -d'
adksjhfakldhsf
'

Response:
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to localhost (<IP_ADDRESS>) port 9200 (#0)
> PUT /test-index?pretty HTTP/1.1
> Host: localhost:9200
> User-Agent: curl/7.64.1
> Accept: */*
> Content-Type: application/json
> Content-Length: 16
>
* upload completely sent off: 16 out of 16 bytes
< HTTP/1.1 500 Internal Server Error
< content-type: application/json; charset=UTF-8
< content-length: 390
<
{
  "error" : {
    "root_cause" : [
      {
        "type" : "not_x_content_exception",
        "reason" : "Compressor detection can only be called on some xcontent bytes or compressed xcontent bytes"
      }
    ],
    "type" : "not_x_content_exception",
    "reason" : "Compressor detection can only be called on some xcontent bytes or compressed xcontent bytes"
  },
  "status" : 500
}
* Connection #0 to host localhost left intact
* Closing connection 0

Expected behavior
This should return http 400 Bad Request.
Plugins
None
Host/Environment (please complete the following information):

OS: [e.g. iOS].  Mac
Version [e.g. 22] 2.1.0 (current main)

I would like to take this issue please

Hi @rdanielwetan thanks for stepping up to help!  It's all yours, let us know if you have any questions!

Hi @dbwiddis I would like to take this issue up

@mch2 Opened pull request #4773 for this. Let me know feedback for this.

The fix already merged


Suggestions building on top of JOLT

Hello @wgevaert,
Thank you for the great PR https://github.com/neo4j-php/neo4j-php-client/pull/123.
I made some changes to keep other objects from becoming polluted with more logic. There is now a legacyformatter and jolt formatter. The ogm formatter decides which one to use based on the version.
All there is left to do is actually formatting the data. I don't think I'll get around to this today, but who knows :shrug:
Kind regards,
Ghlen

Hello Ghlen,
Thank you very much for the pull request, this code certainly is much cleaner! I'll merge later today.
I have one remark, but I think it won't mean much.
Cheers!
Wgevaert


Cleanup old rubies stuff

What was the end-user problem that led to this PR?
The problem was that there was still some code specific for old rubies in our code base.
What is your fix for the problem, implemented in this PR?
My fix is to remove that code.

@bundlerbot r+


Flip iree-opt-const-expr-hoisting and iree-opt-const-eval on by default.

Need to get a peek at the new benchmark size metrics...

This looks stale, given recent changes to const eval etc.
Going to close this PR and delete the branch.


near transaction construct-transaction is limited to maximum of 3 actions

Hey Team!
Awesome CLI, absolutely love it! Would it be hard to add support for adding more than 3 actions to a single batch transaction? So it can be useful for flows like: create account -> deploy -> call init() -> call acl_revoke_super_admin() -> ...
$ near transaction construct-transaction abc.near abc.near \
  add-action function-call first  json-args '{}' prepaid-gas '1.0 Tgas' attached-deposit '0 NEAR' \
  add-action function-call second json-args '{}' prepaid-gas '1.0 Tgas' attached-deposit '0 NEAR' \
  add-action function-call third  json-args '{}' prepaid-gas '1.0 Tgas' attached-deposit '0 NEAR' \
  add-action #function-call forth json-args '{}' prepaid-gas '1.0 Tgas' attached-deposit '0 NEAR'

error: unexpected argument 'add-action' found

Usage: near transaction construct-transaction add-action function-call prepaid-gas attached-deposit add-action function-call prepaid-gas attached-deposit add-action function-call prepaid-gas attached-deposit [DEPOSIT] [COMMAND]

For more information, try '--help'.

The problem seems to be connected with interactive_clap limitations:
https://github.com/near/near-cli-rs/blob/98960d542742aa8180dfda1d0e2a736502aa5472/src/commands/transaction/construct_transaction/add_action_last/mod.rs#L3-L11

@mitinarseny Thank you for raising it. There is unfortunately a limitation of the currently used clap implementation. Adding more nesting slows down CLI start up time for all the commands as clap tries to resolve the whole tree of nested commands. We had to limit the number of actions to 3. We will need to implement a generic solution on clap side: https://github.com/clap-rs/clap/issues/2222#issuecomment-1537101420
I can only suggest to use near-api-js or near-api-rs to construct such transactions


Gem name is actually "ami_spec"

Just a quick documentation fix for people like me who don't read the gemspec

Whoops. Thanks!


LongPress functionality for VictoryContainers

Feature Requests
Checklist

[x] My feature request is specific to victory-native. (Feature requests that do not specifically address native functionality should be opened here)

[x] I've read through the Docs and Guides to make sure this functionality doesn't already exist

[x] I've searched open issues to make sure I'm not opening a duplicate issue

Description
Adding an onLongPress prop to VictoryContainers would be awesome. That way the user has to long press on the graph before starting interactions with it - this has the benefit of only preventing users from scrolling if they intend to interact with the graph. As part of this, it would be great if we could specify some way for the labelComponent in a VictoryVoronoiContainer to only be called once a user has longPressed in, so that everything is in sync (i.e. we prevent scrolling and show the labelComponent at the same time, after a long press, and then stop showing the component and re-enable scrolling onTouchEnd). Right now we only have access to onTouchStart and onTouchEnd.

Trying to implement this functionality right now, would be great to see it out of the box

The problem has been solved?

@boygirl are you planning to add this feature, is this being maintained? are contributors welcome at the moment? This is a great and very powerful library 💪  😄 would love to help


match development does not work on a enterprise project

New Issue Checklist

[X] Updated fastlane to the latest version
[X] I have read the Contribution Guidelines

Issue Description
I understand the risks of using match in an enterprise context and I accept them. I have successful run MATCH_FORCE_ENTERPRISE=1 match --type enterprise but match --type development does not work in the same project:
$ match --type development --verbose

+-----------------------+------------------------------------------------+
|                        Summary for match 0.4.0                         |
+-----------------------+------------------------------------------------+
| type                  | development                                    |
| verbose               | true                                           |
| git_url               | <SECRET>                                       |
| app_identifier        | <CURRENT_APPID>                                |
| username              | <SECRET>                                       |
| keychain_name         | login.keychain                                 |
| readonly              | false                                          |
| team_id               | <SECRET>                                       |
| force                 | false                                          |
| shallow_clone         | false                                          |
| force_for_new_devices | false                                          |
| skip_docs             | false                                          |
+-----------------------+------------------------------------------------+

INFO [2016-04-04 10:31:37.32]: Cloning remote git repo...
INFO [2016-04-04 10:31:37.32]: $ git clone '<SECRET>' '/var/folders/6m/_77r35rj7030fbzbqh5vg68h0000gn/T/d20160404-8716-iosqjo'
INFO [2016-04-04 10:31:37.33]: ▸ Cloning into '/var/folders/6m/_77r35rj7030fbzbqh5vg68h0000gn/T/d20160404-8716-iosqjo'...
INFO [2016-04-04 10:31:39.09]: ▸ remote: Counting objects: 44, done.
INFO [2016-04-04 10:31:39.10]: ▸ remote: Compressing objects: 100% (41/41), done.
INFO [2016-04-04 10:31:39.17]: ▸ remote: Total 44 (delta 2), reused 0 (delta 0)
INFO [2016-04-04 10:31:39.17]: ▸ Receiving objects: 100% (44/44), 75.77 KiB | 0 bytes/s, done.
INFO [2016-04-04 10:31:39.17]: ▸ Resolving deltas: 100% (2/2), done.
INFO [2016-04-04 10:31:39.18]: ▸ Checking connectivity... done.
INFO [2016-04-04 10:31:39.22]: 🔓  Decrypted 'Y5SF93L6Q5.cer'
INFO [2016-04-04 10:31:39.26]: 🔓  Decrypted 'HQSWF5V794.cer'
INFO [2016-04-04 10:31:39.29]: 🔓  Decrypted '7VKQ92W85B.cer'
INFO [2016-04-04 10:31:39.33]: 🔓  Decrypted 'Y5SF93L6Q5.p12'
INFO [2016-04-04 10:31:39.37]: 🔓  Decrypted 'HQSWF5V794.p12'
INFO [2016-04-04 10:31:39.40]: 🔓  Decrypted '7VKQ92W85B.p12'
INFO [2016-04-04 10:31:39.43]: 🔓  Decrypted 'AppStore_<UNRELATED_APPID>.mobileprovision'
INFO [2016-04-04 10:31:39.47]: 🔓  Decrypted 'Development_<UNRELATED_APPID>.mobileprovision'
INFO [2016-04-04 10:31:39.50]: 🔓  Decrypted 'InHouse_<CURRENT_APPID>.mobileprovision'
INFO [2016-04-04 10:31:39.50]: 🔓  Successfully decrypted certificates repo
INFO [2016-04-04 10:31:39.53]: Verifying that the certificate and profile are still valid on the Dev Portal...
INFO [2016-04-04 10:31:43.47]: Installing certificate...
INFO [2016-04-04 10:31:43.47]: $ security find-certificate -c 'Apple Worldwide Developer Relations Certification Authority'
<SECRET>
DEBUG [2016-04-04 10:31:45.11]: Certificate 'Y5SF93L6Q5.cer' is already installed on this machine
INFO [2016-04-04 10:31:45.11]: $ security import /var/folders/6m/_77r35rj7030fbzbqh5vg68h0000gn/T/d20160404-8716-iosqjo/certs/development/Y5SF93L6Q5.p12 -k ~/Library/Keychains/login.keychain -T /usr/bin/codesign -T /usr/bin/security&> /dev/null
ERROR [2016-04-04 10:31:45.88]: Certificate 'Y5SF93L6Q5' (stored in your git repo) is not available on the Developer Portal
ERROR [2016-04-04 10:31:45.88]: for the user <SECRET>
ERROR [2016-04-04 10:31:45.88]: Make sure to use the same user and team every time you run 'match' for this
ERROR [2016-04-04 10:31:45.88]: Git repository. This might be caused by revoking the certificate on the Dev Portal
INFO [2016-04-04 10:31:45.88]: 🔒  Successfully encrypted certificates repo
/Users/david/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/fastlane_core-0.41.1/lib/fastlane_core/ui/interface.rb:139:in `user_error!': [!] To reset the certificates of your Apple account, you can use the `match nuke` feature, more information on https://github.com/fastlane/fastlane/tree/master/match (FastlaneCore::Interface::FastlaneError)
	from /Users/david/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/fastlane_core-0.41.1/lib/fastlane_core/ui/ui.rb:14:in `method_missing'
	from /Users/david/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/match-0.4.0/lib/match/spaceship_ensure.rb:48:in `certificate_exists'
	from /Users/david/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/match-0.4.0/lib/match/runner.rb:18:in `run'
	from /Users/david/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/match-0.4.0/bin/match:52:in `block (3 levels) in run'
	from /Users/david/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Users/david/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Users/david/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
	from /Users/david/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
	from /Users/david/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/fastlane_core-0.41.1/lib/fastlane_core/ui/fastlane_runner.rb:23:in `run!'
	from /Users/david/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
	from /Users/david/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/match-0.4.0/bin/match:108:in `run'
	from /Users/david/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/match-0.4.0/bin/match:116:in `<top (required)>'
	from /Users/david/.rbenv/versions/2.2.2/bin/match:23:in `load'
	from /Users/david/.rbenv/versions/2.2.2/bin/match:23:in `<main>'

Configuration Files
The Matchfile is faily basic:
Fastfile:
git_url "<SECRET>"
type "development"
app_identifier "<CURRENT_APPID>"
username "<SECRET>"

Environment
fastlane version (fastlane -v): fastlane 1.70.0
Do you use bundler, rbenv or ram? rbenv
ruby --version: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin15]

Hi @hartbit!
Thanks for reaching out. Can you check and make sure you have the right code signing identity on your machine for this build scheme. ERROR [2016-04-04 10:31:45.88]: Make sure to use the same user and team every time you run 'match' for this
ERROR [2016-04-04 10:31:45.88]: Git repository. This might be caused by revoking the certificate on the Dev Portal
match was designed to have one git repository per Apple account. If you work in multiple teams, please create one repo for each of them. More information on codesigning.guide

If match was designed to have one git repository per Apple account, then it's definitely not for us (all we work on are client projects where each project is a different Apple Team). And that would explain the issue. Is there a reason it was designed that way? Sounds awfully restrictive, no?

Thanks for following up. I'm sorry to hear that, it was designed this way to not over-complicate the flow. I'm going to flag this as a feature request and have more of the team members look it over. Thanks for working with us :+1:

@TKBurner Thanks for the understanding :) Meanwhile, we've decided that it's too useful to go back. We'll have to do with one repo per client for now!

We've previously discussed this here and here. While experimenting with multiple teams support, we noticed that it adds too much complexity to both the code base, and the user interface for the user. We've decided to stick to the simple rule: One repo for each team.


C++ TSAN cpp_protobuf_async_streaming_qps_unconstrained_insecure FLAKY

Happened in: https://grpc-testing.appspot.com/job/gRPC_pull_requests_tsan_cpp/2762/consoleFull
11:44:19 SUMMARY: ThreadSanitizer: data race /var/local/git/grpc/src/core/lib/support/sync.c:117:19 in gpr_unref
11:44:19 ==================
11:44:19 E0313 17:42:33.137079811   26648 driver.cc:485]              Server 0 had an error Endpoint read failed
11:44:19 I0313 17:42:33.139365610   26648 report.cc:81]               QPS: 4426.7
11:44:19 I0313 17:42:33.139400811   26648 report.cc:91]               QPS: 4426.7 (276.7/server core)
11:44:19 I0313 17:42:33.139424946   26648 report.cc:96]               Latencies (50/90/95/99/99.9%-ile): 694117.5/833796.4/877868.1/929861.4/1028974.6 us
11:44:19 I0313 17:42:33.139441048   26648 report.cc:106]              Server system time: 4.84%
11:44:19 I0313 17:42:33.139453225   26648 report.cc:108]              Server user time:   1303.50%
11:44:19 I0313 17:42:33.139463358   26648 report.cc:110]              Client system time: 71.98%
11:44:19 I0313 17:42:33.139473778   26648 report.cc:112]              Client user time:   184.39%
11:44:19 I0313 17:42:33.139484611   26648 report.cc:117]              Server CPU usage: 87.93%
11:44:19 I0313 17:42:33.141884555   26640 json_run_localhost.cc:82]   driver: subprocess exited with status 1
11:44:19 I0313 17:42:33.141974567   26640 json_run_localhost.cc:82]   worker: subprocess exited with status 66
11:44:19 E0313 17:42:37.582789292   26640 json_run_localhost.cc:138]  assertion failed: driver_join_status == 0
11:44:19
11:44:19 2017-03-13 17:42:37,692 FAILED: bins/tsan/json_run_localhost --scenarios_json '{"scenarios": [{"name": "cpp_protobuf_async_streaming_qps_unconstrained_insecure", "warmup_seconds": 0, "benchmark_seconds": 1, "num_servers": 1, "server_config": {"async_server_threads": 0, "security_params": null, "server_type": "ASYNC_SERVER"}, "num_clients": 0, "client_config": {"client_type": "ASYNC_CLIENT", "security_params": null, "payload_config": {"simple_params": {"resp_size": 0, "req_size": 0}}, "client_channels": 64, "async_client_threads": 0, "outstanding_rpcs_per_channel": 100, "rpc_type": "STREAMING", "load_params": {"closed_loop": {}}, "histogram_params": {"max_possible":<PHONE_NUMBER>0.0, "resolution": 0.01}}}]}' GRPC_POLL_STRATEGY=poll [ret=-6, pid=26640]

Not seen in quite a while, closing.


Bug - Tailwind JIT compiler is causing a routes failure in the RemixRoutes package

Changing a Tailwind class occasionally causes this error:
components.js:45 Uncaught TypeError: Cannot read properties of undefined (reading 'routes')
    at components.js:45
    at mountMemo (react-dom.development.js:15846)
    at Object.useMemo (react-dom.development.js:16219)
    at Object.useMemo (react.development.js:1532)
    at RemixEntry (components.js:45)
    at renderWithHooks (react-dom.development.js:14985)
    at mountIndeterminateComponent (react-dom.development.js:17811)
    at beginWork (react-dom.development.js:19049)
    at HTMLUnknownElement.callCallback2 (react-dom.development.js:3945)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:3994)

No error on the server. Can't reload.
Restarting watching Tailwind for changes causes a rebuild and fixes bug

Is this still happening for you @fergusmeiklejohn ?

No it's fine now, I'll close this issue. Thanks for flagging it with me!


How to Time Signature

i opened an unfinished psych engine chart to continue charting it in denpa engine
the song is at a 5/4 time signature but denpa seems to interpret it as 4/4
In the section tab the step lengths are correct at 20 step lengths, however the step lengths option doesn't seem to do anything
i don't know if it's already a feature and i just didn't find it or don't know how to use it so i apologize in advance

@naether  time signatures are not supported in 0.8.1, however, they will be fully supported in update codename whale, which is the next major update. Time signatures will work exactly how you'd expect them to, unlike Psych


Fix typing in serialize_object

It seems, that isinstance(obj, Union) does not work in Python<3.10.
typing.get_args gets the simplified arguments and should work as an argument for isinstance.

Python 3.8 fails, as pyleco is not available.

is pyleco not working with python<3.9 only related to typing issues?

is pyleco not working with python<3.9 only related to typing issues?

This PR fixed the test for Python 3.9.
The depency we use to create the JSON-RPC messages etc. is not available vor python<3.9, as that dependency uses typings heavily.
I'm working on a compatible version, which circumvents that dependency.

👍


Suggestion: Add other AI models

Gemini and Claude now have compatible abilities towards GPT and all have their API modules. It will be ’better’ if we support multiple different AI models.

Claude would be fantastic. Just signed up to it and the Anthropic provided dashboard for the API is a pretty bare bones experience. Would be great not to have to write one myself, especially seeing how awesome the BetterChatGPT experience already is.

https://github.com/jackschedel/KoalaClient/issues/103


Base Netty 5 on Java 22+ and use FFM APIs

With Netty 4.2 in the works and targeting Java 8, I think we have liberty to push Netty 5 further.
Java 22 stabilized the Foreign Function & Memory APIs, which (provided we pass API access restriction checks at runtime) can replace all our JNI and Unsafe usages.
There are other reasons to make such a forward-looking change: since delivering the FFM and VarHandle APIs, the OpenJDK project has started to consider reigning in the unsafe APIs exposed by JNI and Unsafe:

JEP 471 proposes to deprecate-for-removal the memory-access APIs from Unsafe: https://openjdk.org/jeps/471
JEP 472 proposes to place the same native access restrictions and warnings on JNI, as the FFM APIs currently have: https://openjdk.org/jeps/472

Netty currently has a number of checks and options for individually enabling access to Unsafe, to a private DirectByteBuffer constructor, reflective setAccessible, classified dependencies, etc.
I think we should aim to remove all of that complexity involved in JNI and non-public APIs, and reduce it down to whether or not --enable-native-access=netty5-native was specified on the command-line or not.

As for Graal, version 22 adds experimental support for the FFM APIs. Currently, shared arenas are not supported, and up-call support is limited to x86_64 Linux:
https://github.com/oracle/graal/blob/0c7497f59518aee33508d960c6044cce3caabe9a/docs/reference-manual/native-image/ForeignInterface.md

Don't forget the virtual threads.

If Netty 5 will not release any soon, we can target the next LTS too.

The next LTS is Java 25, set for September 2025. 1 year is a lot, but let's see.


[SchemaRegistry] Investigate fastavro usage and whether we want to support

closing this one, moving the discussion to https://github.com/Azure/azure-sdk-for-python/issues/20708


Can't find a mistake. It doesn't accept my code.

Challenge Create a Form Element has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.101 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

CatPhotoApp

Click here for cat photos.

Things cats love:

cat nip

laser pointers

lasagna

Top 3 things cats hate:

flea treatment

thunder

other cats

<form action="/submit-cat-photo">
  <input type="text" placeholder="cat photo URL">
</form>

When clicking Run Tests, I get this error:

I can't repro this issue. Could you clear your browser cache and let us know if the issue persists?

Same. Code above passed for me in Chrome.

This could've been a bug introduced while the beta was put into production temporarily the other day.. Has someone tested it on the beta?

Works on beta for me :smile:

Yeah, it's working for me now 😂


Entity property config relationship for hiding entity but outputting id

Is your feature request related to a problem? Please describe.
I have a schema where entity A has relationships to B many C's many D's, C has many E's. Now when I return B, it calls toJson function. Since B also has the reverse relation to A, relation A is also outputted, and A then loads B, C and D. This gives me a call stack size exceeded (so maybe I should also file a bug report for this?). However, I'd like to use {hidden: true} on entity B for its relation to A, this hides entity A on B. Now I would like to have property a_id on entitiy B when outputting. This way someone using my API does know that entity B has a relation with entity A.
Describe the solution you'd like
A configuration property like showId: boolean, that when set to true outputs the id of the relationship.
Example:
A book has an author and an author has many books. When outputting with showId true, a book has a property called authorId and when outputting an author it has a property bookIds.
A different approach could be to have a configuration property showId: string which lets the user specify how the property should be named and when being unset/undefined that the id or id array is not outputted.
Describe alternatives you've considered
Currently I am using the hidden property and overriding the toJson method to insert the authorId property myself.

In general, abstracting the serialization is very complex thing, there is no silver bullet to this other than implementing custom toJSON method.
I don't really understand the problem yet (and I don't think adding another boolean flag would solve it), the PK should always be there on the owning sides, as well as on initialized collections. Can you provide some code that demonstrates the issue?

A book has an author and an author has many books. When outputting with showId true, a book has a property called authorId and when outputting an author it has a property bookIds.

This is already working, Book.author is the owning side (m:1), it will always be part of the output, either the full entity or just the PK.

I will try to create an example repository.
I understand that the PK is always there, but there is no option to choose to always output the PK instead of the full entity. I'd like to output always the PK instead of the full entity, even if it is available in the entity map.

There actually is an option for that, not on the entity definition level, it works automatically based on the populate params. Entity can be marked as populated via wrap(e).populated() (and unmarked with a false param).
const a = await em.findOne(Author, 1, ['favouriteBook']);
console.log(a.toJSON()); // favouriteBook was populated explicitly, so will be full entity
wrap(a.favouriteBook).populated(false);
console.log(a.toJSON()); // favouriteBook was unpopulated, so will be just the PK

I guess you are right that this type of behavior should be done at controller (output) level. However, maybe you could add support for adding the relation ID as a property on the entity. That way you can either choose to use 'author' or authorId'.

You can already do that via virtual properties, if it's just about controlling the JSON output (but I would still prefer using custom toJSON() method). Something like this should work:
class Book {

  @ManyToOne({ hidden: true })
  author: Author;

  @Property({ name: 'author_id', persist: false })
  get authorId() {
    return this.author.id;
  }

}

But yeah, why not, we can make this easier. Will add serializer and serializedName to PropertyOptions, so you can do this instead:
class Book {

  @ManyToOne({ serializedName: 'author_id', serializer: a => a.id })
  author: Author;

}


Add Windows instructions to contributing page

In this page: https://r2northstar.readthedocs.io/en/latest/guides/contributing.html
source venv/bin/activate does not work on Windows.
Neither does make html.

The Windows equivalent of source venv/bin/activate is venv\Scripts\activate.bat
make html expands to sphinx-build -M html source build. It probably makes most sense to use that with Windows users ^^


Use astropy table indices to fix slow pytables query

Goes from 1.x Events/s to ~175 Event/s on my machine for looping through a very large merged file (7e6 telescope events)

We just found that creating pytables indices on these columns results in the same speed improvement without any code changes here. So we might not want to merge this.

Yes, I think so.

I found a better solution not relying on indices or tables that is 5 times faster for a largish file.


Failed to parse unit type as Path

Background
In my proc macro, user need to pass a string representing a type:
#[my_proc_macro(my_key = "path::to::MyType")
pub foo: usize

I use
syn::parse_str::<syn::Path>(&my_key_value_str)

to get the corresponding type. It works well for most situations (path::to::MyType or simply MyType).
Problem
If I pass unit type () to the proc macro as:
#[my_proc_macro(my_key = "()")
pub foo: usize

It turns out a expected identifier error.
It can be easily checked by the following code:
use syn;

fn main() {
    println!("{:?}", syn::parse_str::<syn::Path>("()"));
}

Its output is
Err(Error("expected identifier"))

What can I do if I want to accept () as well?

A path at which a named item is exported. () is not a syn::Path https://docs.rs/syn/1.0.48/syn/struct.Path.html

A path at which a named item is exported. () is not a syn::Path https://docs.rs/syn/1.0.48/syn/struct.Path.html

@botika But other types, such as usize (primitive type), String (prelude imports), or simply MyStruct (user defined type), can be parsed as Path successfully. Since usize can be parsed successfully, I can't understand why () can't be parsed successfully.

Yes because this cases are the same that PathSegment. Use this https://docs.rs/syn/1.0.48/syn/enum.Type.html for parse types.

Yes because this cases are the same that PathSegment. Use this https://docs.rs/syn/1.0.48/syn/enum.Type.html for parse types.

Thanks, this solves my problem.


Poloniex market order simulation and custom order types

Poloniex does not have a concept of market orders via API, and this is an issue to make instant trades for some similar projects. I think market sell order may be emulated with low order value and immediateOrCancel API option. AFAIK, in that case it should instantly sell for the best bid price (not a low price given in the order) and save some time to react.
I am also thinking about more order types like stop-limit etc to use in custom strategies. I realise that it is not portable across exchanges, but each one may have own tricks and while no way to support all portably should be a way to use supported options at least in custom strategies using documented interface to trader.
What do you think?

Hey,
The portfolioManager (responsible for turning strat advices into orders) is very outdated, I have plans to improve this to be more inline with todays exchanges (to give an example, the infitityOrder prop had to do with the API of Mt. Gox).
However my main focus is releasing a workable UI (see #513 and #489), that at first might not even support real trading. After that I want to pick up the portfolioManager. I was thinking about something like:
A strat can give an advice together with something like:

priority (how important is it that this happens FAST) -> should be executed as market order (or similar).
portfolio (how much of the available balance should be moved into position).

An then a more advanced portfolioManager which uses these and creates the best possible orders (supported by exchange), maybe additionally tweaked by a config (does the user want specific order types, etc RISK/COST decision).
Would that work for you?

Would be good if portfolioManager could work with a more than a single order at once and keep track of them. As for me, I would prefer a flexible and powerful core controlled from command line instead of UI since UI is an option, and core is a must.
Anyway, it is thoughts only. I am newbie with trading robots and actually with trading at all, so may think about wrong things. I just see how volatile may be prices and want to be able to react ASAP along with slow processes. That's why I wish to have a core that is capable of providing everything including realtime orderbook processing using push APIs, but I have no any experience using this in real trading yet.

I would prefer a flexible and powerful core controlled from command line instead of UI since UI is an option, and core is a must.

Everything will always stay available over the command line. But you might be one of the few who rather uses command line, the biggest question I get about Gekko is how to use it (with the command line). Therefor I am now focussing on making a UI wrapping around it (so all my time will go there until that is working).
That said, I am working on some new features that for now require the UI in some way (leech markets for example, see #513) that might open the door for some new stuff like watching multiple markets.

Would be good if portfolioManager could work with a more than a single order at once and keep track of them.

Yes, the first thing would be to work out how to do this. When backtesting (or papertrading) the portfolioManager is not used (but the profitSimulator). So whatever the strategy is giving as advice, it should be fed to both the portfolioManager and the profitSimulator.
I am very open to suggestions on how to do this.

I think this is outdated

Yes, for anyone reading: this is out of scope.


Parsing a list of numbers

The two sample programs in test, int-addition.plcore and float-addition.plcore fail to kast. The issue seems to be that the list delimiter is a single space as defined in
  syntax TmList     ::= List{Tm,  " "}

which causes an ambiguity when combined with the regular expression for Floats.
For example, parsing the following expression
(builtin addFloat (2.0))

results in an ambiguity between
__(#token(Float@FLOAT-SYNTAX,"2.0"),.List{"__"}())

and
__(#token(Integer@PLUTUS-CORE-SYNTAX,"2"),__(#token(Float@FLOAT-SYNTAX,".0"),.List{"__"}()))

Help would be appreciated.
/cc: @msaxena2 @cos @daejunpark @radumereuta

@radumereuta knows this much better.
My thoughts at a quick glance: are plutus integer different from the builtin ones? I would guess this issue appeared with the builtin ones as well. Have a look at that and see how it was disambiguated. There is likely some priority annotation saying that Float@FLOAT-SYNTAX has higher priority than Int@INT-SYNTAX and/or __.

@cos thanks for the suggestion! Now we have switched to using just the built-in K sorts i.e., we are just using the Int sort but we are still experiencing the same problem. This, however, at least fixed the parsing of a list of integers.

Is this language whitespace sensitive? Because if not, you can remove the spaces as delimiter from all the lists. You can just write:
 syntax TmList     ::= List{Tm,  ""}

and you will get the expected behavior. The spaces between lists will be discarded automatically during parsing time.
You also may want to have a look at follow and precede restrictions for the default builtin sorts (Int and Id). There are some cases when you may be able to remove some ambiguities with those.
Please let me know if you manage to solve those issues.


Adds docs for projects/trust Namespace Selector feature

Code PR
/hold
Until code PR is merged an in a release.

/unhold
The feature itself has merged now; no real reason to delay this going in!


Refactor code generator.

add helper to allow usage with klog v1
move import paths to constants

Fixed build issues


fix labels overlapping on top of input fields' value on fresh page load

Issue:

Prepopulate input-wrapper form fields with values let's say:

          <input id="input-1" name="name" value={image.name} class="with-label" type="text">
          Name

Load the page.
You will notice that the label is overlapping the text field value.

Solution:
Do the same check isInputFilled() also on pagecreated, not just on pageopened.

Thank you for your contribution! :)


Start .prettyPrint deprecation

This PR moves the .prettyPrint ASN.1 types functionality under the __str__ magic method. The goal is to make ASN.1 schema introspection more intuitive and Pythonic.
The only exception is OctetString - str on it used to return octet-stream (Py2) or text (Py3) while .prettyPrint() used to return hexified contents. This PR does not change this for backward compatibility reasons.

Codecov Report

Merging #103 into devel-0.4.1 will decrease coverage by 0.05%.
The diff coverage is 89.47%.

@@               Coverage Diff               @@
##           devel-0.4.1     #103      +/-   ##
===============================================
- Coverage        85.54%   85.49%   -0.06%
===============================================
  Files               29       29
  Lines             3936     3929       -7
===============================================
- Hits              3367     3359       -8
- Misses             569      570       +1

Impacted Files
Coverage Δ

pyasn1/codec/native/decoder.py
82.53% <ø> (ø)
:arrow_up:

pyasn1/codec/ber/decoder.py
86.57% <ø> (ø)
:arrow_up:

pyasn1/codec/der/decoder.py
94.73% <ø> (ø)
:arrow_up:

pyasn1/codec/cer/decoder.py
93.75% <ø> (ø)
:arrow_up:

pyasn1/codec/native/encoder.py
90.9% <0%> (ø)
:arrow_up:

pyasn1/type/char.py
92.56% <100%> (ø)
:arrow_up:

pyasn1/type/univ.py
83.31% <100%> (-0.22%)
:arrow_down:

pyasn1/type/base.py
87.87% <88.88%> (+0.1%)
:arrow_up:

Continue to review full report at Codecov.

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


Consistent font face and size

The "Choose a logic" dropdown is in a different font for no real reason?

The reason for that is probably that the logic dropdown is a select element, which cannot be styled by CSS except in very restricted ways. I've been meaning to create an issue about making our own select widget, which is the standard workaround for this deficiency of the standard and would ensure a uniform look and feel.

I like that, and we can add type-ahead to our select widget and use it in field names as well.


Update product names and capitalization in images labels

Overview/Summary
This PR is for Task 147824: WAF AVD workload editing. It updates labels in the following images:

workload/docs/diagrams/avd-accelerator-baseline-architecture.vsdx
workload/docs/diagrams/avd-accelerator-baseline-architecture.png

This PR fixes diagram labels
This PR updates the labels in the following ways:

Changes title-style capitalization to sentence-style capitalization.
Uses official product names in labels. For instance, AVD is replaced with Azure Virtual Desktop.
Uses new product names instead of outdated ones. For instance, Azure AD is replaced with Microsoft Entra ID.

Breaking Changes
Nothing
Testing Evidence
NA
As part of this Pull Request I have

[x] Read the Contribution Guide and ensured this PR is compliant with the guide
[ ] Ensured the resource API versions in .bicep file/s I am adding/editing are using the latest API version possible
[x] Checked for duplicate Pull Requests
[ ] Associated it with relevant GitHub Issues
[ ] (AVD LZA Team Only) Associated it with relevant ADO Items
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[ ] Performed testing and provided evidence.
[ ] Updated relevant and associated documentation (e.g. Contribution Guide, Module READMEs, Docs etc.)

@moisesjgomez: Thanks for merging!


Specify sign priority as a config item

I have lsp diagnostics and gitsigns on my sign column. It would be great if I could priorities coverage above all of them.

This should be possible using configuration like:
require("coverage").setup({
	signs = {
		covered = { priority = 100 }, -- use a higher value than diagnostics or gitsigns
		uncovered = { priority = 100 },
	},
})


Does it provide the training interface?

Excellent works!
I wonder whether this package provide the api to train a tokenizer (i.e. get the vocab) from huge corpus?
Thanks!

This project does not provide training support. You can refer to the open-source project tokenizers from huggingface:
https://github.com/huggingface/tokenizers

Excellent works!
I wonder whether this package provide the api to train a tokenizer (i.e. get the vocab) from huge corpus?
Thanks!

This project does not provide training support. You can refer to the open-source project tokenizers from huggingface:
https://github.com/huggingface/tokenizers

Thanks for your reply quickly!
Really hope you can implement it. As for the practices, we care about the efficiency more in the training process instead of the inference process. There are two reasons. Firstly, the scale of training corpus is usually huge which takes a lot of cost that we wish to reduce. Secondly, during the inference time, comparing with the tokenizer, the deep network on the tokenizer will cost much more time. So, if we want to reduce the latency in inference, we will firstly consider to optimize the network instead of tokenizer.
Thanks!


Regular expression support for JMESPath queries in Azure CLI

I am building images using Packer periodically. Each image will be stored with same image name with a  timestamp as a postfix. I want get the name of the latest image using Azure CLI.
For example I have following image names in the same Resource Group.

custom-image-centos73-git-python36_1513795384
custom-image-centos73-git-python36_1513796300

The second image is the latest image. I want to use Azure CLI to get the latest image.
> az image list --query "[?contains(name, 'custom-image-centos73-git-python36_*')]"
Note that above command needs some sorting to get the latest image, which I have not added here.
Environment summary
Install Method: brew install / OS X El Capitan 10.11.6 (15G18013) / Terminal.

azure-cli (2.0.21)

acr (2.0.15)
acs (2.0.19)
appservice (0.1.20)
backup (1.0.3)
batch (3.1.7)
batchai (0.1.3)
billing (0.1.6)
cdn (0.0.10)
cloud (2.0.10)
cognitiveservices (0.1.9)
command-modules-nspkg (2.0.1)
component (2.0.8)
configure (2.0.12)
consumption (0.1.6)
container (0.1.13)
core (2.0.21)
cosmosdb (0.1.15)
dla (0.0.15)
dls (0.0.18)
eventgrid (0.1.5)
extension (0.0.6)
feedback (2.0.6)
find (0.2.7)
interactive (0.3.11)
iot (0.1.14)
keyvault (2.0.14)
lab (0.0.13)
monitor (0.0.12)
network (2.0.18)
nspkg (3.0.1)
profile (2.0.15)
rdbms (0.0.9)
redis (0.2.10)
reservations (0.1.0)
resource (2.0.18)
role (2.0.14)
servicefabric (0.0.6)
sql (2.0.15)
storage (2.0.19)
vm (2.0.18)

Python location '/Users/sshintre/venv/bin/python'
Extensions directory '/Users/sshintre/.azure/cliextensions'

Python (Darwin) 3.4.4 (v3.4.4:737efcadf5a6, Dec 19 2015, 20:38:52)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]

Legal docs and information: aka.ms/AzureCliLegal

Can you replace contains with starts_with then use the sort_by function?
http://jmespath.org/specification.html#sort-by


Support for data share()

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-ml

Unit tests will be fixed: https://msdata.visualstudio.com/Vienna/_workitems/edit/2118310/


script window invalid after connection parameters changed

System information:

Windows Version	10.0.18363 Build 18363
DBeaver version: <IP_ADDRESS>912221734
Java version
Additional extensions

Connection specification:

Database name and version
Driver name: Postgres
Do you use tunnels or proxies (SSH, SOCKS, etc)? no

Describe the problem you're observing:
When a script window is open against a connection and the connection password and hostname are changed and reconnection made, the script window is no longer valid for the same database
Steps to reproduce, if exist:

Create a valid connection called database1
Open a script window on database1 and write some valid sql
Hit F4 on database1 and change the host and password
Reconnect
Try running any of the sql in the same script window it will not work, a new script window must be created

Include any warning/errors/backtraces from the logs

Can't reproduce.
What exactly error do you see?

sorry I wasn't explicit enough about how the script window change. So for example:
After reconnection if I set the active database within the connection to "mydb" then run
select current_database();
it will return postgres. and
select current_schema();
returns public
No changes to what is active on the left affect the script window on the right.
Opening a new script window will and running the above will return mydb as the correctly selected active database.

Do you mean that active database setting is not applied to open editors after reconnect?

not just that, you cannot change the active database or schema from the left side against the script window on the right. Opening a new script window you can change and it will take affect on the right.
Again sorry for not being clear on the report on that element

This behavior was changed recently.
Now each script has its own active database/schema. Active database in navigator tree is just the default  one for new scripts.
Use main toolbar/menu for script active database switch. Or disable option "open separate connection for each editor".

Ah I see. disabled that now, feels a bit unintuitive to me as it is under the same connection just the properties of the connection have changed - but I doubt most people would be changing properties as often as I do on my scenario. Thanks


Lexer improvements

Lexer has a number of inadequacies and missing bits of functionality, making it impossible to use for anything other than low-effort colorization.
See https://golang.org/ref/spec#Lexical_elements for details
Needs:

Adding semicolons to token stream
Adding support + verification for string-escape sequences
Support for float literals
Support for imaginary literals
Reporting lexical errors as error squiggles
Other deviations from the spec.

Adding semicolons to token stream

Pushed to master

@benhxy are you interested in this item?


fix: navbar: revert scoped css resets to navbar component

omits button outline inherit so it will not effect browser keyboard focus

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@c36836b). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #292   +/-   ##
=======================================
  Coverage        ?   88.38%
=======================================
  Files           ?      385
  Lines           ?    10421
  Branches        ?     3523
=======================================
  Hits            ?     9211
  Misses          ?     1190
  Partials        ?       20

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


Switching bulb on issue

Hello, thanks for your job. The problem is when i`m trying to switch bulb on,(with the first code run)with this code:
import time
from tplight import LB130
def main():
light = LB130("<IP_ADDRESS>")
light.on()
if name == "main":
main()
i`m getting an error:
Traceback (most recent call last):
File "demo.py", line 16, in
main()
File "demo.py", line 12, in main
light = LB130("<IP_ADDRESS>")
File "/home/bob/PROGRAMMING/tp-link-LB130-Smart-Wi-Fi-Bulb/tplight.py", line 73, in init
self.__hue = int(data[col1][col2][col3]['hue'])
KeyError: 'hue'
but switching on and off works fine with this code(bulb initially is in turned on state):
import time
from tplight import LB130
def main():
light = LB130("<IP_ADDRESS>")
light.off()
time.sleep(3)
light.on()
time.sleep(3)
light.off()
time.sleep(3)
light.on()
if name == "main":
main()

I saw this as well and used another utility to inspect the returned JSON for the susinfo when the bulb is on vs when the bulb is off.
They are a different structure!
I was able to check the status of the bulb 'on' state and use different decodings. Specifically I changed the code in the init routine (not the full routine but you will see the difference). Works for me.
            col1 = 'system'
            col2 = 'get_sysinfo'
            col3 = 'light_state'
            col4 = 'dft_on_state'
            self.device_id = str(data[col1][col2]['deviceId'])
            self.__alias = data[col1][col2]['alias']
            self.__on_off = int(data[col1][col2][col3]['on_off'])

            if( self.__on_off == 0) :
                self.__hue = int(data[col1][col2][col3][col4]['hue'])
                self.__saturation = int(data[col1][col2][col3][col4]['saturation'])
                self.__brightness = int(data[col1][col2][col3][col4]['brightness'])
                self.__color_temp = int(data[col1][col2][col3][col4]['color_temp'])
            else:
                self.__hue = int(data[col1][col2][col3]['hue'])
                self.__saturation = int(data[col1][col2][col3]['saturation'])
                self.__brightness = int(data[col1][col2][col3]['brightness'])
                self.__color_temp = int(data[col1][col2][col3]['color_temp'])

Hello, I have exactly the same problem. The reason I needed this library was to turn on the lamp from a python script in raspberry pi when motion was detected.
It seems that you have to establish the connection (with the assignment light = LB130("x.x.x.x") when the bulb is turned on and keep the connection on. This is a bit of  a blocking point for now, but I will try to find a solution.
If I have not understood correctly please let me know.


Issues with new icons

Issue report
The following items have been identified as issues to correct with the new icons added to the library resource.
Expected Behavior
Icons should appear on the web site as design intended.
Current Behavior
There are issues with various icons that are inconsistent with the design intent.
Issues:
The following icons were produced incorrectly. They should be filled but with icons that are cut out. This may be an issue with how SVG’s are re-written

Information-filled.svg
Question-filled.svg
Warning-filled.svg
Plus-filled.svg
Plus.stroke.svg

Alert.svg Icon should be swapped with Error.svg
The following icons should be placed under the category Interface

Location-found.svg
Penguins.svg
Location-finder.svg
link.svg

Deprecate caret-down/left/right/up.svg
classic-checkmark.svg should be removed to from the Interface category and moved into the deprecated list 'other'

:tada: This issue has been resolved in version 2.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Problem on turn image 90 degrees

Hi, somebody could help me?
I am using perspective.js on my project, but when I turn the image on 90 degrees or more, it hide!
The link of my project:
http://www.petmaker.com.br/admin/EcommerceNew/Menus/matrizes.asp?idproduto=64&imagem=g40272_CARTEIRA_frente-em-pe.png&campo=MatrixDesenho2
I am using like this:
http://www.html5.jp/test/perspective_canvas/demo1_en.html
Thanks a lot!

Hello,
this is a limitation of the lib, there is no solution...
Regards,


if this can be used for metabolome

hi, i read the docs "https://scglue.readthedocs.io/zh-cn/latest/data.html", and found it need the location information, so i wonder if this software can be used for spatial transcript and spatial metabolome.
need your answer and thanks.

Hi @lvmt. Thanks for your interest in GLUE!
Just to clarify, do you wish to integrate spatial transcript and spatial metabolome data? If that's the case, rather than following the docs, you would need to manually build some sort of guidance graph between transcripts and metabolites using prior knowledge (e.g., metabolic pathways). We have not tried anything like that, so I cannot guarantee whether the integration would be reasonable. Manual inspection of the result is advised.
It's worth noting that the spatial information would be lost when using GLUE. You might also want to check out our more recent spatial alignment method SLAT, which can utilize spatial information, and be used in conjunction with GLUE.

Thanks for your reply, I do plan to use the software to integrate the spatial transcriptome and spatial metabolome.
I will try the software you recommended.


Fail to create a zone with the gcloud utility

I follow http://docs.deis.io/en/latest/installing_deis/gce/#configure-dns and the command for creating a zone fails:
gcloud dns managed-zone create --dns_name latechnews.com. --description "Example Deis cluster domain name" deis

Output:
Creating {'dnsName': 'latechnews.com.', 'name': 'deis', 'description':
 'Example Deis cluster domain name'} in graphite-disk-780

Do you want to continue (Y/n)?  y

ERROR: (gcloud.dns.managed-zone.create) ResponseError: status=403, code=Forbidden, reason(s)=accessNotConfigured
message=Access Not Configured. The API is not enabled for your project, or there is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your configuration.

Is there something I need to configure on https://console.developers.google.com ?
What about my domain provider (godaddy, in my case), is there any configuration I should do there?
Thanks!

@oren Did you figure out this issue? If there's something misleading or incomplete in the GCE documentation, we'd love to see a correction! That documentation is maintained by our community.

unfortunately i was not able to resolve this issue and I no longer have a GCE account.


Dancing Cursor (zsh?)

Running into an interesting problem where the cursor continues to "dance" when I open a term2 tab. I'm using zsh and OSX (10.10.3). Anyone else experiencing this?

I'm getting in with Bash

It's probably because you use a blinking thin character. I don't have issue with a fat non blinking square. That's definitely a bug, maybe a pty.js one. poke @chjj

Not me.

This is more likely to be an issue with term.js. Does this only happen in bash? I find it interesting that the strange effect occurs right after the PS1. What is your PS1?
A pty.js dump of everything bash is outputting would be helpful (or script -c bash bash.log would be helpful too).

@MoOx this is the same as #154 the only difference is I have blinking cursor turned off.


For non-aggregation group-by query, if select clause is not matching to group by clause, return original query

In #9605, we introduced a change to not resolve non-aggregation group by queries into distinct query, if select clause is not exactly matching to group-by clause. This is a breaking change for our customer as existing query stopped working for us.
To fix this, instead of throwing an exception, we can return original query and let pinot handle the query as group-by query.
We already have a validateGroupByClause that recursively checks if an expression contains any reference not appearing in the GROUP BY clause. So we don't need to verify the same in NonAggregationGroupByToDistinctQueryRewriter.

Is this behavior Standard SQL / Postgres compliant.
If the SELECT clause is not matching the GROUP BY clause and there are no aggregations, then why should we not throw error ?

Is this behavior Standard SQL / Postgres compliant.
If the SELECT clause is not matching the GROUP BY clause and there are no aggregations, then why should we not throw error ?

I think this is standard SQL/Postgres compliant. I tried below queries in mysql and it works fine. The same in working fine with Pinot Multi-stage engine as well.

CREATE TABLE testing_groupby (
row_num INT,
id VARCHAR(50),
nm VARCHAR(50),
cnt INT
);
INSERT INTO testing_groupby (row_num, id, nm, cnt) VALUES
(1, 'a-', 'name', 0),
(2, 'a', '-name', 1),
(2, 'b', '-name', 2);
SELECT row_num
FROM testing_groupby
GROUP BY row_num, cnt;
+---------+
| row_num |
+---------+
|       1 |
|       2 |
|       2 |
+---------+
SELECT row_num + cnt
FROM testing_groupby
GROUP BY row_num, cnt;
+---------------+
| row_num + cnt |
+---------------+
|             1 |
|             3 |
|             4 |
+---------------+

In #9605, we introduced a change to not resolve non-aggregation group by queries into distinct query, if select clause is not exactly matching to group-by clause. This is a breaking change for our customer as existing query stopped working for us.
To fix this, instead of throwing an exception, we can return original query and let pinot handle the query as group-by query.

I think I still I don't understand why this is needed. I understand PR 9605 may have introduced a breaking change. But, isn't that the right thing to do SQL standard wise (In Pinot we have been trying to converge with Postgres) ? If there are no aggregation functions and the SELECT list expressions are not matching the GROUP BY expressions, then it can't be rewritten to DISTINCT and hence throw error.

To fix this, instead of throwing an exception, we can return original query and let pinot handle the query as group-by query.

In your proposal, it is not intuitive to reason about results. What expressions are we going to project as part of user query response ?

I think this is standard SQL/Postgres compliant. I tried below queries in mysql and it works fine.

What about Postgres ?

Postgres shows similar behavior when the SELECT clause and the GROUP BY clause do not match, but all columns in the SELECT clause are functionally dependent on the columns in the GROUP BY clause. In such cases, the query executes successfully, projecting only the expressions specified in the SELECT clause.
For example,
SELECT row_num FROM testing_groupby GROUP BY row_num, cnt; or SELECT length(id) FROM testing_groupby GROUP BY id, nm are valid queries but SELECT row_num, cnt FROM testing_groupby GROUP BY row_num; is not. With this patch pinot will support the first two valid queries while the third query will fail due to the validation check in validateGroupByClause.
I tried few more queries in Postgres here.

@tarun11Mavani there were few UTs removed in https://github.com/apache/pinot/pull/9605/files as they were not supported post that backward-incompatible change. Can you also add them back and classify them as testUnsupportedQuery tests, skipQueryRewrite tests for more clarity / examples?

Thanks @vvivekiyer for your review. Your point about functional dependency is right, in that MySQL and Postgres enforce that. The functional dependency requirement also makes sense intuitively.

I think MySQL and Postgres allow this because they support primary keys.

I don't think primary keys play a role here as the example in A1 demonstrates functional dependency without any primary keys involved (I tested a similar example in db-fiddle. See A2).
My understanding is that we can have two types of column in a group-by:

Aggregations, which may be on any column
Non-Aggregation columns

For non-agg columns, I think the functional dependency test is simply: "can we break the group-by/select into two nodes: Project > Group-By"?
So a query such as "SELECT ArrTime-DepTime FROM myTable GROUP BY ArrTime, DepTime" is valid because it is semantically:
Project(MINUS(ArrTime, DepTime))
 \-- GroupBy (groupingSet=(ArrTime, DepTime), aggs=())

Similarly, queries such as "SELECT ArrTime FROM myTable GROUP BY ArrTime, DepTime", "SELECT 'some constant' FROM myTable GROUP BY ArrTime, DepTime", etc. are also valid.
A1. MySQL Examples Demonstrating Functional Dependence Restriction
The example below shows that columns in SELECT need to be functionally dependent on the grouping set.
mysql> create table flight_data (arrTime varchar(32), depTime varchar(32), flightCode varchar(32), airline varchar(32), source varchar(32), dest varchar(32)) engine=InnoDB;
...
mysql> insert into flight_data (arrTime, depTime, flightCode, airline, source, dest) values ('sdfs', 'sdf', 'FJP', 'Southwest', 'ATL', 'ORD');
...
mysql> insert into flight_data (arrTime, depTime, flightCode, airline, source, dest) values ('sdfs', 'sdf', 'TUM', 'United', 'ORD', 'ATL');
...
mysql> select concat(arrTime, depTime) from flight_data group by arrTime, depTime;
+--------------------------+
| concat(arrTime, depTime) |
+--------------------------+
| sdfssdf                  |
+--------------------------+
1 row in set (0.00 sec)
...
mysql> select concat(arrTime, airline) from flight_data group by arrTime, depTime;
ERROR 1055 (42000): Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'semantics_test.flight_data.airline' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
...
mysql> select 'anything' from flight_data;
+----------+
| anything |
+----------+
| anything |
| anything |
+----------+
...
mysql> select flightCode from flight_data group by flightCode, airline;
+------------+
| flightCode |
+------------+
| FJP        |
| TUM        |
+------------+

A2. Postgres DB-Fiddle Example
INSERT INTO movie (title, viewer_rating) VALUES ('North by Northwest', 9.2);
INSERT INTO movie (title, viewer_rating) VALUES ('Something', 1.3);

SELECT concat(title, viewer_rating) FROM movie GROUP BY title, viewer_rating;

SELECT title FROM movie GROUP BY title, viewer_rating

Thanks for the explanation. This makes sense to me.  I'm good with this change.


docfix code-block directive renders as serif font on linux oses; fix …

…is to render monospace

This is how the codeblocks render on a default install of Ubuntu 17.04 before my fix ... not very becoming.

Comparison view with the (tested) fix in place.

Thanks for the fix - will be part of neon-2.3.


How to add field before validation | question

I want to add slug automatically before insert.
Currently I am using $beforeValidation because I have slug as required field in the JSON schema and it is automatically computed from current model fields.
I am not able to change current json and add new slug in the $beforeValidation. Is $beforeValidation sync method?
  async $beforeValidate(jsonSchema, json, objectionOptions) {
    await super.$beforeValidate(jsonSchema, json, objectionOptions);

    json.slug = await this.computeSlug(json);

    return jsonSchema;
  }

This example is not working.

$parseJson is the right place to do that.

@seeden Oh, sorry I didin't notice that comouteSlug is async. There is no way to do that in any hook before validation. Validation is done synchronously. Why is the slug in jsonSchema if it's autogenerated? Why do you need to validate it? Can it also come from the outside world?


PR: Update Chinese traditional translations

Description of Changes
Updated Simplified Chinese translations, and fixed some translation errors.
This is a manual translation, thus PR #10812 should be closed.
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:
suokunlong

@suokunlong, thanks a lot for your help with this! There are some new strings we added in rc3 that need to be translated too.
I uploaded new translation files just now. So please merge this branch with master and fix the merge conflicts. For that you need to install first programs such as kdiff3 or meld, which will solve the conflicts automatically.

Sorry, I'll open a new branch for this.


fix: ensure topic name matches idiomatic variable name

Fixes #1919

WIP: just need to go from test_topic to TestTopic

@safeer is this one ready to merge or do you have more changes coming?

@safeer is this one ready to merge or do you have more changes coming?

@wesbillman this is a breaking change that requires clients to update their topic varnames

Introduced a stripped upper camel case to remove the grossness in the generated code that was being forced upon the original source. See my convo with myself in #1919 😆
Still breaks client code; varname for a topic like "public_broadcast" must now be var PublicBroadcast

Now prescriptive about topic names. Breaks client code, so not merging yet.


check that CIDRs aren't in use

Several users have run into problems with weave by accidentally picking CIDRs in weave run or weave expose for networks which are in use by the host.
We could perform some basic checks to prevent common cases of that, i.e. check overlaps with other interfaces and routing table entries on the host.
I guess this may be partially superseded by #22.

See also #437.

In the same manner weave run or weave expose can execute on another peer host, using already allocated on another host CIDR.

This is about preventing weave subnets from clashing with host subnets. It's not about IP addresses. IPAM (#22) takes care of ensuring uniqueness of IPs within the weave network.

Okey, thanks for clarification


Node text getting clipped

Describe the bug
When I open the "homepage" of the Mermaid Live Editor, two of the nodes of the demo flowchart have their contents clipped.
To Reproduce
Steps to reproduce the behavior:

Go to https://mermaidjs.github.io/mermaid-live-editor
Look for the decision node "Let me think" inside the "Preview" panel
You should see that the final letter "k" is clipped
Look for the node "Car" inside the "Preview" panel
You should see that the final letter "r" is clipped

Expected behavior
The whole content (all the letters of the phrase "Let me think" and "Car") of the nodes should be visible
Screenshots

Desktop (please complete the following information):

OS: Debian GNU/Linux 9
Browser: Google Chrome
Version 75.0.3770.80 (Official Build) (64-bit)

Thank for taking your time to point that out... It's a font thing. The font used to render the graph as a svg needs to match the font used when the graph is presented on the page.

This was really an issue with the editor. Fixed it there and closing this one.


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 10:18:29 on 2023.05.17
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 1, errors out: 0
Original problem ID: 20753
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=20753

Problem has been resolved in 3m 0s at 10:21:29 on 2023.05.17
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 20753


Artcile Page Structure

Metadata:

Category
Author
Read Time
Published Date
Promo-blurb (for search and teasers)

Sample article and author documents

https://famoussmokeshop.sharepoint.com/:w:/r/sites/AEM/webroot/www/cigaradvisor/cigaradvisor/drafts/tmaret/how-long-it-takes-to-make-a-cigar.docx
https://famoussmokeshop.sharepoint.com/:w:/r/sites/AEM/webroot/www/cigaradvisor/cigaradvisor/author/drafts/john-pullo.docx


Says not compatabile with 1.20?

on modrinth it says it works with 1.20 but it does not

Modrinth accidentally assumed it was 1.20+ when it only works with 1.20.1 my bad, fixed it on the Modrinth page.


fix(nuxt): trailing slash behavior for fragment and protocol

🔗 Linked issue
resolves #23295
Related: https://github.com/unjs/ufo/pull/175
❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Looks like this is well on the way to being merged in https://github.com/unjs/ufo/pull/175, so we probably can avoid merging here.

Will adapt this PR as soon as https://github.com/unjs/ufo/pull/175 lands 👍


1024 model still has watermark

Unfortunately, the re-uploaded 10gb model still has watermark. So it is not watermark-free.
Just wondering if you will be providing a totally no-watermark model for the 576x1024 resolution?

Hi @edwinzeng2005 ,
I didn't find watermarks on my imagebenchmark,and the demo in prompts/1024 didn't produce watermarks either.Maybe you could show an example with watermark? I'll fix the problem if so.

I think I have made a mistake in my test run, so I will redo it again with the 10gb model.

Ok it is watermark-free for the first result from the 10gb model.
Very nice!
I will check again with the pruned model later.


Update README with feature flags examples

I am not sure if adding this to FAQ is the best approach, especially as this section is pretty big relative to the others.
There's also a slight change in a comment that I didn't commit in the last PR on accident.

I have notices that in https://github.com/obi1kenobi/cargo-semver-checks/pull/463 the help messages were not updated, so I am adding that here.

Nicely done! I'm going to prep a release shortly.


Add Ukrainian language

I should have done it sooner, but anyway

Thanks! Thunderstore update probably will only come once the Mastery skin is ready.

Its fine

Also pls merge miner translation


Corrected Object-Oriented Programming

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

This is trivial and both forms are used, so it's an extraneous change.


NullReferenceExceptions on background thread?

Hi, I'm running your bot in LinqPad, but am getting an NRE when it hears a message. I think the error is on a background thread, which LinqPad is catching automatically, but it might cause issies on other hosts.

The bot still seems to work, but it's maybe only because LinqPad catches the error safely
PS your bot is awesome I've got lots of people at work using it on a hackday :)

@mcintyre321 I'm glad that the bot is being useful! I have a guess on what this error might be, but not positive. Would you be willing to share the code you have in LINQPad?

I think it was the code which parses the message text. Some messages (maybe likes etc.? have null text values)

@mcintyre321 thank you for finding this one. I think I got it fixed. I was able to replicate the issue by sending a message and then editing it. Checked in the fix with commit b0408b25a5fbeeaac81b324649427b9224f8956d
Would you be willing to verify that it works on your end as well?

Getting another error with the latest version from Nuget

Well, crap! I'll get a fix on, thank you for finding this.

@mcintyre321 I don't have the developer edition of Linqpad, so I can't test your exact scenario. However, I think I've replicated your issue and implemented a stopgap with this commit: a6f1a4bba363d71cf24884e530cf170e61efd637
You were right, the problem seems related to non-message slack communication. I'm working on a broader fix now.

@mcintyre321 I don't have the premium edition of LinqPad, so this was a bit difficult to reproduce. I did get it to occur on my end, though. Version 1.2.3 of Slackbot has the fixes that worked for me.
The fix is a bit of a stopgap, I'm working on a broader solution now. I'd love to hear whether or not it works on your end.


Create a function to delete a MARC tag

This will likely be used with the UI for users to add 979 fields to data (delete 979 fields mistakenly added) and possibly in conjunction with add a tag if the intent is to update the existing tag in the record (overlay).

This is something we will want but isn't necessary for completing the digital bookplate workcycle. I'm going to remove it from the Epic.

WIP branch https://github.com/sul-dlss/libsys-airflow/tree/1205-delete-979-tag

Iceboxing this until there is a more defined use case, and pending discovery of work to be done by FOLIO community around deleting tags, and what that may mean for protected tags.


Needs to be updated to be compatible with the RC release.

Needs to be updated to be compatible with the RC release.

Yeah, I really want to see this wonderful plugin working :factory:

This is what I see after installing the plugin:
On: http://october.local/backend/system/settings
Call to undefined method [package]
/home/vagrant/Code/october/public/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php line 226

14	Illuminate\Support\ServiceProvider->__call(…)	http://october.local/plugins/anandpatel/wysiwygeditors/src/Barryvdh/Elfinder/ElfinderServiceProvider.php	21
13	Barryvdh\Elfinder\ElfinderServiceProvider->package(…)	http://october.local/plugins/anandpatel/wysiwygeditors/src/Barryvdh/Elfinder/ElfinderServiceProvider.php	21
12	Barryvdh\Elfinder\ElfinderServiceProvider->boot()

Same problem here.
Call to undefined method [package]

@ralf100 Thank you! However, when I try to find files in the TinyMCE there is another error, did you fix it too?

Sorry for the late reply and update, have fixed issues related to RC release and change upload directory path for flora editor.
thanks to @ralf100 for the fix.
@Garethderioth Still Elfinder fix is remaining, will try to fix it soon, need to update Elfinder that is compatible with Laravel 5.

@anand-patel Got it. I tried to fix the ElFinder issue but I still don't understand very well the logic.

@anand-patel Thank you for update!

i hope its working perfectly.
@gergo85  now indikator-filemanager works perfectly :)


Better looking embeds

https://gist.github.com/kkrypt0nn/a02506f3712ff2d1c8ca7c9e0aed7c06
Perhaps we should come up with some unique format/color scheme and background for text within our embeds.

Do note that the bot is trying to look as minimal as possible, hence the dark embed color

The dark embeds are visible to light mode users anyways.
Consider using Catppuccin to theme the embeds. They have a python library which would make integration easy.

Perhaps we could make the colors configurable with certain presets that could be chosen from


Receipts submitted on mobile does not appear on web

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number:
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @joekaufmanexpensify
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1711039730625509
Action Performed:

Submitted receipts on workspace on mobile, requests
Open app in web and look for the receipt submitted on mobile

Expected Result:
Submitted receipt should appear
Actual Result:
Receipt does not appear even after deleting local storage and Onyx. On web, there is a gap from 2024-03-18 to today. Whereas on mobile the requests from yesterday (2024-03-20) and 2024-03-19 can be seen.
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub

On my testing list

I sent a team follow-up here:
https://expensify.slack.com/archives/C049HHMV9SM/p1711567168353479?thread_ts=1711039730.625509&cid=C049HHMV9SM

Testing steps:

I scanned a receipt via the mobile application

I went to the website and checked to see if it populated there

The scan process completed and it's still populating in the website

Also, I clicked into the expense to confirm the data is still populating correctly

@joekaufmanexpensify -- I think you are OOO today. I'm going to close for now but happy to chat more next week if I didn't follow the right steps here. Also, to confirm I was testing on my Android device, so not sure if this might be an iPhone-specific issue but I haven't' seen a widespread issue.


Fix isDictionary Function

Sorry, I actually forgot to push the actual changes to the repository when I published it.


Test ShouldSumNumbersWithTwoWindowsAndDSTTimezone is failing when in a Windows platform

Description
The unit test ShouldSumNumbersWithTwoWindowsAndDSTTimezone fails when running in a Windows environment.
How to reproduce
Run the unit test ShouldSumNumbersWithTwoWindowsAndDSTTimezone in a Windows machine/docker image

Thanks for your issue.
Very strange, its works with my settings.
France language
Timezone Paris
What are your settings ?

I was actually trying to build on github:
https://github.com/leonasa/kafka-streams-dotnet/runs/1259854403?check_suite_focus=true
I will retry later on a local windows machine.

In build ci github, it’s Linux docker container and I already saw that with Linux this test is KO. I don’t know why :(
That’s why I add this condition in my test
https://github.com/LGouellec/kafka-streams-dotnet/blob/94c754d2744b8e1e8be4eae6c593b9f680405f7b/test/Streamiz.Kafka.Net.Tests/Public/CustomWindowTests.cs#L132


[android] Get rid of Apollo's image fetching displaying mechanism and reuse what we have elsewhere

keeping this for now, but bug with album art display is finally finished.
the URI paths we used to have were broken, but this allowed me to dive deep into the mess of how all this metadata is retrieved. Lots of nasty patches. So much should be removed and simplified if there's time.
Learned about RecentsStore and FavoritesStore, 2 custom sqlitedbs that don't have album_id as fields which are used to load album art data for example.
There's a hack in which a data holder ID is patched along the way with a query to album id given the song id using MusicUtils.getAlbumIdForSong(id), this data should come right off the DB for better performance as those adapters are populated.


InternetAddress.lookup needs a cache

The method InternetAddress.lookup needs a resolution cache:
https://github.com/dart-lang/sdk/blob/c6daa6a5b6111cb282e784b80efcac7338ae695a/sdk/lib/io/socket.dart#L152
Why?
For each connection requiring hostname resolution, a new lookup is performed. This triggers requests to the OS DNS resolver (e.g., bind, dnsmasq, mDNSResponder, etc.). Depending on the application being developed, this behavior can overwhelm the OS.
For instance, while benchmarking shelf with intensive requests, this behavior "crashed" the macOS DNS responder. Additionally, the hostname lookup accounted for a significant portion of the time in each benchmark interaction, resulting in non-performant behavior.
Suggestion
I suggest introducing an InternetAddressOverrides, similar to HttpOverrides, and akin to what Java does with InetAddress.
With this feature, developers could customize how their application handles DNS resolution without needing to modify the code that creates a Socket (which may not always be accessible for changes). Whether the default behavior includes a cached lookup would depend on the Dart team's decision, but an InternetAddressOverrides would empower developers to choose the best behavior for their specific applications.
Example
To work around this issue, I have created tools that allow cached addresses for HTTP requests:
https://github.com/gmpassos/multi_domain_secure_server/blob/master/lib/src/connector_tools.dart#L7

I agree with @lrhn's  comment above that having a separate DNS lookup cache would be better than adding it generically to InternetAddress.lookup

Most operating systems have their own DNS cache. However, interprocess communication may not be performant enough to handle a high volume of requests, potentially leading to crashes or a denial of service (DoS) for the local DNS resolver/cache.
The main idea behind my proposal is to provide an optional DNS cache within a Dart program. This implementation would not require changes to the existing Socket code or modifications to third-party packages. Additionally, the default behavior of hostname resolution would remain unchanged unless the developer explicitly defines a hostname lookup cache, similar to how HttpOverrides works.

Many applications, such as Node.js, JVM, Google Chrome, Mozilla Firefox, Microsoft Edge, Safari, Slack, Spotify, and Docker, implement their own DNS cache. Do not underestimate the importance of this feature, as it is crucial for improving performance and reliability in real-world applications.
In Dart, however, adding a cache layer to InternetAddress.lookup is currently impossible unless you manually create the Socket connection. This makes it difficult to achieve the same functionality when relying on third-party packages that handle the connection.


Support short/long flags

Most command-line tools support a short and a long form for flags, e.g. "-p" or "--port".
Currently confita only supports a single flag per member.
Suggestion: add a "short" sub-tag and handle it as a synonym of the default name. Also update help usage generation to reflect this.
type Configuration struct {
	Port          int    `config:"port,short=p"`
}

This is ALMOST done... in flags_test.go we are missing a couple types from the struct. Should have this done today, and, this should complete the enhancement.

should be good.


Update nearest_neighbors.py

Added options for alternate distance metrics (ie. cosine similarity) for kNN calculation
Default option for dist parameter is 'l2' and tested for backward-compatibility

I thinks this PR should be good to go. @bli25 What's your decision?

@hoondy Thanks for your contribution! I'll go ahead and merge it.


display_CenterOut.py does not work because missing ~/.DISPLAY file.

display_CenterOut.py assumes there is a ~/.DISPLAY file on the system. If there isn't, this node doesn't get built because sys.exit(1) is called when the module is imported by Cython.
I suggest the following changes.

For users like me who already have a DISPLAY environment variable, the try block can be rewritten as:

try:
    if "DISPLAY" not in os.environ:
        with open(os.path.join(os.path.expanduser('~'), '.DISPLAY'), 'r') as f:
            os.environ["DISPLAY"] = f.read().splitlines()[0]

For everyone else, there should be instructions in 00_setup.md to create the ~/.DISPLAY file or otherwise set the DISPLAY environment variable

Thanks for pointing this out @cboulay. This issue is now fixed with commit https://github.com/brandbci/brand-tutorial/commit/0c46e724e2add10c6a249db207e227c0a6f6dd98, which skips looking for the ~/.DISPLAY file if the DISPLAY variable is already set, and commit https://github.com/brandbci/brand-tutorial/commit/e03ac861ee52279a17b796b0053c4b33796c33ff, which adds instructions for creating the ~/.DISPLAY file.


pulsar C++ client

Describe the bug
file could not be found. in ./googlemock/libgmock.a
To Reproduce
Steps to reproduce the behavior:
$ sudo apt-get install cmake libssl-dev libcurl4-openssl-dev liblog4cxx-dev
libprotobuf-dev protobuf-compiler libboost-all-dev google-mock libgtest-dev libjsoncpp-dev
$ cd /usr/src/googletest
$ sudo cmake .
$ sudo make
$ sudo cp ./googlemock/libgmock.a ./googlemock/gtest/libgtest.a /usr/lib/
4. See error
Desktop (please complete the following information):

OS: ubuntu20.04

In Ubuntu 20.04, the libraries are generated under ./lib subdirectory, not ./googlemock. So you should run
sudo cp ./lib/libgmock.a ./lib/gtest/libgtest.a /usr/lib/

BTW, GMock is not required now.

Closed as stale. Please open a new issue if it's still relevant in maintained versions.
BTW, the development of the C++ client is permanently moved to https://github.com/apache/pulsar-client-cpp.


Add MODULE.bazel file

bzlmod is the upcoming package manager for Bazel's external dependencies.
While it's already in the central registry, it's apparently also helpful to
have such a file in the repository, in case, you need to use overrides.
This change adds such a file, specifically the one from the central repository
with the version bumped.
I can't quite get the tests to work yet; I think there's a bug in how runfiles
trees are created (the rules_python directory for the runfiles lib contains the
version in addition to the name).  This was tested using the latest 5.0 RC; I
currently cannot test at bazel HEAD due to https://github.com/bazelbuild/bazel/issues/14403.

Any update?

BTW these problems might not affect users of rules_pkg, but they definitely prevent us from using it ourselves.

Can we check in the module definition but not use it in our CI? I don't see any need to use it ourselves, but we can give others a leg up on trying it. Perhaps they will shake out any issues in the declaration.

Can we check in the module definition but not use it in our CI? I don't see any need to use it ourselves, but we can give others a leg up on trying it. Perhaps they will shake out any issues in the declaration.

Absolutely.  I'll see about doing this when I have an opportunity.

I've taken this up in #625.
bzlmod is not quite there yet for running our own tests, but  that PR does show a use case where a user of rules_pkg can depend on it through the module.

Closing this since I got an initial MODULE set up. There is more to learn, but we can work from that.