Incompatible types on v0.6+ for Ubuntu 20.04 and 22.04

I was trying to build some code that depends on vaultrs and it was failing on these errors. I checked out the vaultrs repo to isolate the issue and found that v0.5.4 is able to compile just fine, but nothing newer. This is Ubuntu 20.04 with latest rustup install, also tried Ubuntu 22.04 with the same error.
~/code/vaultrs$ cargo build
   Compiling vaultrs v0.7.2 (/home/me/code/vaultrs)
error[E0053]: method `request` has an incompatible type for trait
   --> src/api.rs:147:14
    |
147 |         req: &mut http::Request<Vec<u8>>,
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |              |
    |              expected `http::request::Request<Vec<u8>>`, found `http::Request<Vec<u8>>`
    |              help: change the parameter type to match the trait: `&mut http::request::Request<Vec<u8>>`
    |
    = note: expected signature `fn(&EndpointMiddleware, &_, &mut http::request::Request<Vec<u8>>) -> Result<_, _>`
               found signature `fn(&EndpointMiddleware, &_, &mut http::Request<Vec<u8>>) -> Result<_, _>`

error[E0053]: method `response` has an incompatible type for trait
   --> src/api.rs:201:12
    |
201 |         _: &mut http::Response<Vec<u8>>,
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |            |
    |            expected `http::response::Response<Vec<u8>>`, found `http::Response<Vec<u8>>`
    |            help: change the parameter type to match the trait: `&mut http::response::Response<Vec<u8>>`
    |
    = note: expected signature `fn(&EndpointMiddleware, &_, &mut http::response::Response<Vec<u8>>) -> Result<_, _>`
               found signature `fn(&EndpointMiddleware, &_, &mut http::Response<Vec<u8>>) -> Result<_, _>`

error[E0308]: mismatched types
   --> src/client.rs:134:63
    |
134 |         let http = HTTPClient::new(settings.address.as_str(), http_client);
    |                    ---------------                            ^^^^^^^^^^^ expected `reqwest::async_impl::client::Client`, found `reqwest::Client`
    |                    |
    |                    arguments to this function are incorrect
    |
    = note: `reqwest::Client` and `reqwest::async_impl::client::Client` have similar names, but are actually distinct types
note: `reqwest::Client` is defined in crate `reqwest`
   --> /home/me/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.11.27/src/async_impl/client.rs:69:1
    |
69  | pub struct Client {
    | ^^^^^^^^^^^^^^^^^
note: `reqwest::async_impl::client::Client` is defined in crate `reqwest`
   --> /home/me/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.12.4/src/async_impl/client.rs:71:1
    |
71  | pub struct Client {
    | ^^^^^^^^^^^^^^^^^
    = note: perhaps two different versions of crate `reqwest` are being used?
note: associated function defined here
   --> /home/me/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustify-0.5.4/src/clients/reqwest.rs:43:12
    |
43  |     pub fn new(base: &str, http: reqwest::Client) -> Self {
    |            ^^^

Some errors have detailed explanations: E0053, E0308.
For more information about an error, try `rustc --explain E0053`.
error: could not compile `vaultrs` (lib) due to 3 previous errors

https://github.com/jmgilman/vaultrs/pull/92

@rldleblanc Can you please try to build your code again, and check if it now uses the 0.5.3 version?

Yes, I can build just fine both vaultrs and our project without any pinning. Thank you!


Regex group support

respond_to and listen_to are receiving regex pattern as it's argument like hello (.+?).
But I want to name some group to an argument.  eg.
@respond_to(r'run code (\"|\')(?P<code>.+?)\1(?: (\"|\')(?P<argument>)\3)?')
def run_code(message, code, argument=None):
    pass

It can be very useful. If you like to, I can make PR for it.

@Kjwon15 sorry for the late reply. It seems handy if we support this. Do you still want to work on it?

Yes, I can handle this.
I'll open PR when ready.


[scripts/import-components] Import chef-server components into this repo

This script is a one-time-use script to import the components that
make up chef-server into this repository.  The final layout will look like:
.
|-- CONTRIBUTING.md
|-- LICENSE
|-- MAINTAINERS.md
|-- README.md
|-- oc-chef-pedant
|   |-- ...
|-- omnibus
|   |-- ...
`-- src
    |-- bookshelf
    |-- chef-mover
    |-- chef-server-bootstrap
    |-- oc-id
    |-- oc_bifrost
    |-- oc_erchef
    `-- opscode-expander

After this import, subsequent commits will be needed to the omnibus
build configuration to account for this layout.

cc @chef/lob @chef/chef-visual-interaction @danielsdeleo

Looks good to me, although I obviously haven't run the code to fully test it.

I haven't run the code but the repo layout LGTM

On Apr 17, 2015, at 3:30 AM, Steven Danna<EMAIL_ADDRESS>wrote:
cc @chef/lob @chef/chef-visual-interaction @danielsdeleo
—
Reply to this email directly or view it on GitHub.

:clap: Looks good to me. Unify the repos!


Use same proj4js version in examples and tests

The version was updated in package.json, but not in the examples. This pull request makes it so the same version is used everywhere.

+1, thanks


istio: Update to 1.2.2

Update cilium-envoy to a version with Istio 1.2.2 filters.
Update Istio GSG and CI test to use the new proxy and pilot images.
Signed-off-by: Jarno Rajahalme<EMAIL_ADDRESS>Istio support is updated to version 1.2.2.

This change is

test-me-please

Coverage decreased (-0.02%) to 43.972% when pulling aa0bdf42354efca02d195dc49324895bf30d9d63 on pr/jrajahalme/istio-1.2.2-update into 40dc5a29cee42a13f33422c4e30f75da56ec6bdc on master.


Meta parameters for attention and goal selection

In a mechanism mimicking human emotion, Implement meta parameters for attention and goal selection.
These include
arousal or fight/flight
tendency to look ahead vs act immediately
willingness to explore vs play it safe
sadness? happiness? (recent reward history)
anger/fear/anxiety? tendency to act quickly and (big punishment is expected)
anticipation/excitement? tendency to strive (big reward is expected)

I've embarked on a deep reworking of BECCA to enable it to handle more complex worlds. It will also be a more plausible model of human brain function, as a fringe benefit. The new development effort obviates this task.


[Insight] Version of dependencies should be fixed

Package gitonomy/gitlib#dev-master is not fixed.

To be done when gitonomy releases new version.
Posted from SensioLabsInsight

Done - c3d5ed56f4c8e9dfac10ffa79ac95f138a0dc88b


About data structures

Account

type Account = record { of: principal; subaccount: opt Subaccount; };
icrc1_balance_of : (record { of: principal; subaccount: opt SubAccount; }) -> (nat) query;

type Account = blob might be a better choice.
It is only necessary to specify the SubAccount when calculating Caller's Account.

Timestamp

type TransferArgs = record {
    from_subaccount: opt Subaccount;
    to: Account;
    amount: nat;
    fee: opt nat;
    memo: opt nat64;
    created_at_time: opt Timestamp;
};

If Timestamp is of type Nat64, which means nanoseconds, then after 500 years the data will overflow.

TransferError

type TransferError = variant {
    BadFee : record { expected_fee : nat };
    BadBurn : record { min_burn_amount : nat };
    InsufficientFunds : record { balance : nat };
    TooOld : record { allowed_window_nanos : Duration };
    CreatedInFuture;
    Duplicate : record { duplicate_of : nat };
    GenericError: text;
};

Token and ICP Ledger have different usage scenarios and require careful definition of the Error data structure.

Hi @iclighthouse!
Thanks for the constructive feedback!

type Account = blob might be a better choice.

What will the blob contain? Why do you think packing the principal and the subaccount into a blob might be a better choice?

Token and ICP Ledger have different usage scenarios and require careful definition of the Error data structure.

I full-heartedly agree that we need to think hard about the error type definition.
I have a preliminary implementation of the standard in both Motoko and Rust, and the proposed error type seems to work well (except that GenericError should be GenericError : record { error_code : nat; error_message : text }; otherwise, it's no better than a reject).
Which error variants do you think we should remove or add?

What will the blob contain? Why do you think packing the principal and the subaccount into a blob might be a better choice?
"principal+sub" => account-id
Account-id can be calculated outside the canister, unless the caller role. So, except for the caller, other roles enter the account-id directly. ICP Ledger is implemented in the same way.

GenericError : record { error_code : nat; error_message : text } I agree that this is a better solution.
The difference between Tokens and ICP is that Tokens has multiple implementations of different entities and ICP has only one on IC.
In addition, I make one more suggestion.
icrc1_metadata : () -> (vec { record { text; Value } }) query;
Recommended metadata entries include icrc1:symbol, icrc1:name, icrc1:decimals. Suggest adding icrc1:fee,  or adding icrc1_fee() method.

ICP Ledger is implemented in the same way. This allows for a cleaner interface. More importantly, privacy can be protected.

We voted on that matter, and the majority agreement was that we don't want to keep AccountId in the new standard; we decided to use separate fields for principals and subaccounts instead. I'm a maintainer of the ICP ledger at the moment, and even I wouldn't say I like AccountIds very much.

The difference between Tokens and ICP is that Tokens has multiple implementations of different entities, and ICP has only one on IC.

That's clear, but it's hard to predict what other implementors need. I'd love to hear more opinions on what type of errors they want to report.

memo: opt nat64; memo using the Blob type will meet more needs.

We discussed this in one of the working groups; there was a proposal to make memos into 32-byte blobs. The main issue with this is that this will be the only standard feature that will be impossible to implement in the ICP ledger because it already relies on 8-byte memos. It would be great if we could make the ICP ledger comply with the new standard while preserving all the data.

Suggest adding icrc1:fee, or adding icrc1_fee() method.

That's a great point; I'll make a PR.

We discussed this in one of the working groups; there was a proposal to make memos into 32-byte blobs. The main issue with this is that this will be the only standard feature that will be impossible to implement in the ICP ledger because it already relies on 8-byte memos. It would be great if we could make the ICP ledger comply with the new standard while preserving all the data.

The blob type is compatible with nat64, which can be converted to blob.

Closing this issue: the Working Group addressed most of the feedback, and the community accepted the standard in its current form.


replace undefined $checkbox-touch-size with $radio-touch-size

As an alternative, we could register a common value in variables.scss

I already fixed this issue by moving it to variables.scss.


feat(polyfills-loader): expose create-polyfills-data

This commit also:

introduces ordering when defining polyfills
allows explicit inclusion of systemjs polyfill
makes files optional when defining configs

I realize that I didn't provide any rationale as to why these changes were introduced. Let me know if you need additional info! 😊  (in the PR or the source code)
Also, I can/will update the readme once you guys have reviewed the PR.


Outline effect blends with background

Description of the bug
When using the outline effect, the color is blended with the background. How can I avoid this?
To Reproduce
Go to the outline demo and select a red color for the outline and position the model like this:

This is the expected behaviour, assuming you're using the blend function ADD or SCREEN. I think what you want is ALPHA:
const outlineEffect = new OutlineEffect(scene, camera, {
	blendFunction: BlendFunction.ALPHA,
	...
});

Thank you @vanruesc, this solved it for me!


Development environment running issues

Hey @jc21,
I'm trying to run docker-compose in development mode from JetBrains WebStorm IDE with exactly nginx-proxy-manager/bin/build-dev script meant for that purpose. I'm running docker-compose command from Docker for Windows in "linux containers" mode. As you may know, the bcrypt_lib.node contained in nodes_modules/bcrypt/lib/bacrypt_lib is OS dependent, and all modules in node_modules are compiled with windows, and due to .:/app volume binding configuration in docker compose, the folder node_modules effectively compiled in windows is now in linux app container, and also contains an invalid bcrypt_lib.node, illisible by linux (Please see this link for more details about the problem).
I tried to switch docker for windows into "windows containers" mode, but docker-compose for windows version is too old (1.22, expected 1.24).
I finally tried to run into an ubuntu 18.04.1 VM, and the nginx-proxy-manager/bin/build-dev throws a third another error which is a weird thing like cannot find module '../'.
Can you please tell me in what environment you managed to run nginx-proxy-manager/bin/build-dev please ? I'm will try to do pull request about various enhancement and bugfixes, but it will be so good wether I could run it in development mode x)
My windows environment
WebStorm IDE version : 11.0.1
Docker 18.09.0
Docker compose 1.23.1
Docker Machine 0.16.0
Kitematic 0.17.5
Linux Kernel 4.9.125
Sincerely,
@sh4444dow

Glad to see somone is interested in developing too :)
First, I don't actually use the bin/build-dev script, I tried to get webpack hotloading working and I don't think it's quite right. So I use bin/build instead - if that one doesn't work, build-dev definitely won't.
Next, yes because you need the packages that are specific for the container using them, you have to delete your existing node_modules folder and then run bin/yarn install which will run yarn inside the same docker container that's going to use the node packages.
Let me know how you go.

I'll try to do that tonight =) That being said, have you managed to enable hot reload on backend and frontend in the same time ? Is this the role of yarn actually ?
Sincerely,
@sh4444dow

Reopen if you are still having issues.


Impossible to update Mac Intel app

Hello,
I send you this issue here because since today, all update process was working. But now our clients can't download update automatically.
I see on Console, I have some errors :

We didn't change anything about our update process and our build process. So we don't know how to fix this.
Thanks for any help !

I found the fix I need to use cross-zip instead of mac zip cli


AttributeError when trying to connect mysql

Python 2.7.5 (default, Oct 14 2013, 11:50:38)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from db import DB
>>> db = DB(username='my id', password='my password', hostname='internal ip', dbname='db name', dbtype="mysql")
Refreshing schema. Please wait...Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/data1/program/anaconda/lib/python2.7/site-packages/db/db.py", line 794, in __init__
    self.refresh_schema(exclude_system_tables)
  File "/data1/program/anaconda/lib/python2.7/site-packages/db/db.py", line 1216, in refresh_schema
    self.tables = TableSet([Table(self.con, self._query_templates, t, tables[t]) for t in sorted(tables.keys())])
  File "/data1/program/anaconda/lib/python2.7/site-packages/db/db.py", line 261, in __init__
    foreign_key = Column(con, queries_templates, foreign_table, foreign_column, col.type)
AttributeError: 'str' object has no attribute 'type'

Any ideas?, please

I'm having a similar issue for a table with a column named count.


Extension would cache project target file

After upgrading nuget it still uses old version of nuget.

Using msbuild works, but to run it we need to set vcvars. But to find vsvars we need vswhere, which now takes longer to find vcvars.bat than the time taken to generate IDL. To prevent this we need to hard-code/allow user to configure vcvars.
It just doesn't seem worth it. It seems more like a bug on VS side than anything. A simple workaround is to ask users to reload the project.


Refresh: determine whether evaluation_stats is still needed

I'm not sure it's still possible to have more than one "evaluation" per model. If it is not possible, flatten stats by getting rid of evaluation_stats.

Brought into #163


Win64 - SVT-AV1 encoding uses a single core only in latest auto-build with SVT-AV1 lib v2.1.2

In the auto-builds with SVT-AV1 encoder lib v.2.1.2 encoding is single core only. Where as auto-builds with SVT-AV1 lib <IP_ADDRESS> or earlier is using all available cores. If this is related to SVT-AV1 lib v2.1.2 or FFMPEG, I don't know.

I doubt I can do much if anything about that from here.
You'll need to report such bugs upstream.


In Arduino IDE cannot install board manager

In Arduino IDE, after using the additional boards manager "https://raw.githubusercontent.com/nulllaborg/arduino_nulllab/master/package_nulllab_boards_index.json",
this is the output content when trying to install "Nulllab AVR Compatible Boards v1.0.2" -->
Downloading packages
nulllab avr compatible<EMAIL_ADDRESS>Installing platform nulllab avr compatible<EMAIL_ADDRESS>Failed to install platform: nulllab avr compatible boards:avr.
Error: 13 INTERNAL: Cannot install platform: installing platform nulllab avr compatible<EMAIL_ADDRESS>testing local archive integrity: testing archive size: fetched archive size differs from size specified in index

OS: Windows 11
Arduino IDE v 2.0.0-rc2

please install 2.0.0  it is the laster version

It's OK now with 2.0.0 version.
Thank you.


Convert github tests to TypeScript

https://github.com/probot/probot/issues/582 Convert tests that test/github.test.js  to TypeScript.
❯ npm run lint

><EMAIL_ADDRESS>lint /Users/Kentaro/workspace/github.com/probot/probot
> tslint --project test

ERROR: /Users/Kentaro/workspace/github.com/probot/probot/test/github.test.ts[2, 18]: Module 'nock' is not listed as dependency in package.json

Since nock was used only in tests, I added no-implicit-dependencies rule to tslint.json to avoid lint errors

Since nock was used only in tests, I added no-implicit-dependencies rule to tslint.json to avoid lint errors

Hmm, I'm confused about this. Having it listed in devDependencies should be sufficient.

Thanks @kentaro-m!


Fix spelling of AMSGrad

Part of #7124.

Jenkins, test this please

Jenkins CI test (for commit 19ae331c342828169f0f8cefb3cb3b923d90f2fa, target branch master) succeeded!

Thanks!


WebARonARCore on Motorola Moto G5S Plus

Moto G5S Plus is now officily supported, but i can't install WebARonARCore (ARcore 1.2.180455114 is installed)

adb install -r WebARonARCore.apk
Failed to install WebARonARCore.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]
Please help

As stated in the updated README WebARonARCore currently only supports ARCore Developer Preview 1 and thus, not the same amount of devices as newer versions of ARCore. We are working on a new version that will resolve this and many other issues. Stay tuned and sorry for the inconveniences.

Good to know, can't wait for release !
anyway, i have removed ARcore 1.2 and installed arcore-preview.apk after, but i am not able to install WebARonARCore with the same result, i think it's because of 32bit android version. So i have to wait for 8.1 update to try it again or for your release.
Thanks a million!


Streamed upload not working in Safari on OS/X

When using the  option multipart: false
the content of the request is 15 bytes long and contains only the string
[object Object]

I hope to find time to look further in to it.
Here follow the details of the user agent.
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50

Confirmed.
Thanks for posting the User Agent string with a detailed bug report.
The issue is that Safari 5.1 doesn't properly handle File or Blob objects anymore when given as argument to the XHR send method.
Previous Safari versions (e.g. Safari 5.0.5) didn't have this problem.
When searching for additional information on this issue I found a thread referring to the same problem with the Plupload plugin: https://github.com/moxiecode/plupload/issues/320
Seems like the only working fix is to rely on the FileReader interface to read the whole File into memory and send it using a JavaScript Typed Array.
This will result in performance problems when uploading large files and cannot easily incorporated into the current branch (v.5) of the plugin.
Therefore, non-multipart file uploads are currently broken on Safari 5.1.
Until there is a better way to detect if the browser supports non-multipart XHR file uploads, you can set the multipart option with the exclusion of Safari 5.1 like this:
$('#fileupload').fileupload({
    multipart: $.browser.webkit && parseInt($.browser.version, 10) === 534
});

That's actually a better way to check.
I've updated my comment above.


Bump version to 1.2.0a1

Description
Bumps version to 1.2.0a1.

I'd just merge this to unblock other PRs. Thanks.


Symbolize names when parsing JSON

Saves a few string allocations and aligns with the proposed changes over at https://github.com/puma/puma/pull/2086

Seems reasonable, thanks for the contribution!


Entity roles configuration is case sensitive (should it be?)

If an user tries to configure any of the owner_roles properties in configuration.properties (for example, owner_roles_domain) with a valid entity role "registrant" but using a different case (changing to upper case all the word or the first letter), the following error is displayed and the server cannot start:
17-Oct-2017 16:22:55.832 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class mx.nic.rdap.server.listener.RdapInitializer
java.lang.IllegalArgumentException: mx.nic.rdap.db.exception.InitializationException: unknown role in property 'owner_roles_domain': Registrant
at mx.nic.rdap.server.listener.RdapInitializer.contextInitialized(RdapInitializer.java:67)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4853)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:976)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1853)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: mx.nic.rdap.db.exception.InitializationException: unknown role in property 'owner_roles_domain': Registrant
at mx.nic.rdap.server.configuration.RdapConfiguration.loadObjectOwnerRoles(RdapConfiguration.java:348)
at mx.nic.rdap.server.configuration.RdapConfiguration.loadConfiguredOwnerRoles(RdapConfiguration.java:79)
at mx.nic.rdap.server.listener.RdapInitializer.contextInitialized(RdapInitializer.java:57)
... 13 more
Should the owner_roles configuration be case sensitive?

Just to keep a simple answer: it shouldn't be case sensitive. The default behavior in similar configuration properties is to ignore the case.
This will be fixed.

The main error was at the core, whenever a constant value (referencing to a RDAP catalog) was loaded from configuration using a function called "getByName" the string case was relevant; now it's irrelevant, since that function insted of use String.equals(String) now uses String.equalsIgnoreCase(String).
Still with that fix, the server now loads the owner values in lowercase to keep the same behavior as in other configuration properties.

Verified. The owner values are loaded in lowercase and the property is also validated ignoring the case.


default-config?specs=true returns 404 not found

Summary
I am trying to run the Parsr UI via docker, but other than the header w/ navigation the page is blank.
The reason might be that a request to load the default-config returns a 404 not found: http://localhost:3001/api/v1/default-config?specs=true
Steps To Reproduce
Steps to reproduce the behavior:
As described in the docs:

docker run -p 3001:3001 axarev/parsr
docker run -t -p 8080:80 axarev/parsr-ui-localhost:latest
open http://localhost:8080/ in browser
=> blank page (header loads)

-or-

docker run -p 3001:3001 axarev/parsr
curl -i "http://localhost:3001/api/v1/default-config?specs=true"
=> ...404..not found

Expected behavior
I'd expect the UI to load
Actual behavior
Other than header, the UI is blank
Environment
Tested in latest Chrome & Firefox. Same result.
Additional context
I noticed that specs=false actually returns a config.. in case that helps.
http://localhost:3001/api/v1/default-config?specs=false

Hello @larskluge , thanks for your bug report!
This should be fixed on #388.
Could you please pull latest changes from docker and try again?
docker pull axarev/parsr
docker pull axarev/parsr-ui-localhost

Awesome! Yes, that solves it. Thanks a ton! :)


Help output: combine system commands and custom commands

Output one single list instead of having two sections (maybe an initialization configuration)

Implemented


Update mapbox-gl to 0.32.1

A new version was released 5 days ago that fixes this issue: https://github.com/mapbox/mapbox-gl-js/issues/3915
Are you open for a PR for this update?

Hey @VilliGunn, Thanks for the issue, definitely up for a PR for this update 👍


[popup] Use custom shortcuts

Is your feature request related to a problem? Please describe.
It would be nice to be able to customize shortcuts by adding new ones.
ie. setup sections that are not in all orgs and specific to a particular cloud or link to specific records.
The addition / deletion of links is made by editing property "$orgDomain_orgLinks" in the web browser localStorage:
In order to know what is your domain you can check for another property "orgInstance"

Here's an example of the content of the property :
[
  {
    "label": "Test myLink",
    "link": "/lightning/setup/SetupOneHome/home",
    "section": "Custom",
    "prod": false
  },
  {
    "label": "EnhancedProfiles",
    "section": "Setup",
    "link": "/lightning/setup/EnhancedProfiles/home",
    "prod": false
  }
]

@tprouvot  Can we make this to work "$orgDomain_orgLinks" with all the domains??  Currently we need to have custom links for every org. Any thoughts?

@saicharanreddyk I think I can remove the org domain from the property name and handle it in the json.
It would look like this
[
  {
    "label": "Test myLink",
    "link": "/lightning/setup/SetupOneHome/home",
    "domain": ""
    "section": "Custom",
    "prod": false
  },
  {
    "label": "EnhancedProfiles",
    "section": "Setup",
    "link": "/lightning/setup/EnhancedProfiles/home",
    "domain": "myDomain.salesforce.com"
    "prod": false
  }
]

I have to think about it because it will affect users who actually use it today.
@saicharanreddyk  Could you create a new enhancement with this requirement a a link to this discussion ?


sent url includes trailing \0 byte

https://github.com/solusipse/fiche/blob/4bba916e0f4a54d98a3947df7e2d0714d92a8bab/fiche.c#L661-L665
I first noticed this problem a few years ago when this code was introduced and it broke the pastebin plugin of my editor. I changed the plugin to strip away the \0 byte, so maybe it is now a feature, and not a bug :)

i think the null byte is intended behavior, as far as a termbin.com "protocol" goes, the null byte means "end of transmission, you can stop select()'ing now, there's no more data), i do like
            socket_recv($socket, $url_chunk, 99, MSG_DONTWAIT);
            $full_url .= $url_chunk;
            if (substr($url_chunk, -1) === "\x00") {
                break;
            }

You can use \n as the end-of-transmission byte, regardless of whether the null byte is there or not.


Will hashcat 4.2 be supported?

Hi,
Will the current version of hashcat 4.2.1 be supported?
Btw to this one says that it requires OpenCL 2.0. on the site. Maybe something changed from 3.6 to 4.2 of hashcat...

The reason why I stick to the v3.6.0 is that this version has hand-crafted optimizers per device per hashing algorithm, and the cracking speed is slightly better than with the newer versions, at least in WPA handshakes cracking (mode 2500). Although now I see the difference becomes narrower with each hashcat minor update.
I'll take a closer look. For now, you can easily change the version you want in dockerfile with HASHCAT_VERSION env.

2 days ago hashcat v5.0.0 is released. Even though the direct cracking speed is slightly lower than in v3.6.0, the new functional pays off greatly.
I've already switched to the latest release. You can check it out once the dockerhub builds latest changes.


Support convert Should -InvokeVerifiable to v6 syntax

Dependent on issue being tracked in https://github.com/pester/Pester/issues/2465.


backend: fix race condition for unlock

This should fix a race condition that can happen for streams.
It seems to me what happened was that:

The promise is set.
The wait at the end of the function returns and the function goes out of scope.
Therefore the lock is now destructed.
And finally now the lock_guard goes out of scope, again trying to unlock the lock.

I think this only happened intermittently and sometimes in valgrind.
Fixes #1091.

The CI fix comes in #1095.


speech text for spaces at deep levels

E.g., a; \quad n \ge 3  creates a text node of role space in the tree but speech remains empty. This is confusing when navigating the tree on the resulting node.

As per F2F with @zorkow neither of these are considered bugs.


Transaction page, tx not found when just created but not index

Try to fetch the transaction from rpc node if the tx is not found in the indexer

Update May 21:

This will be complete this week, no blockers.

Fixed in #213


Enable/Dissable looking for active file

Whenever I prompt  in chat, copilot looks for opened script. That say I have file a and b opened in vs code. I select code of a but if I leave file b opened, than in the chat it would look also of file b even I selected code of file a. So it would be great if this feature would be turned on or off.

It should only be looking at the selection in whatever the active editor is. If that's not what you see, can you give a more specific example?


Bridgy Publish micropub frontend

@snarfed and I were talking on IndieWeb IRC and discussed the usefulness of a micropub frontend for Bridgy.
This conversation can be found here: https://chat.indieweb.org/dev/2018-02-26#t1519674081902000
This is something I will look into. I don't know if it will likely end up in python and thus built into Bridgy or as an external proxy. Depends how much Python likes me. But wanted to log the idea here for reference.

Oops @snarfed and I were logging at the same time. See #796


I don't config scss for next js [ scss TypeError: this[MODULE_TYPE] is not a function]

Please help me i missing in import css to demo nextjs
TypeError: this[MODULE_TYPE] is not a function: https://imgur.com/fWRRq4J

I has file server: https://imgur.com/kSkrJhm

file nex.config.js:

const withSass = require('@zeit/next-sass')
module.exports = withSass()

i has install

node-sass,

@zeit/next-sass,
file package.json:

I has import scc in first component: https://imgur.com/vrezDMQ

introduce import scss i has follow:

https://github.com/zeit/next.js#faq

But i don't config success Please help me,

Please follow the issue template and provide a full reproduction. Questions should be posted on https://spectrum.chat/next-js.

I found same issue, delete .next then run again => resolve
But sometime it is continue happend (only on dev)

Thank bro
Vào Th 5, 28 thg 3, 2019 lúc 22:18 KuongKnight<EMAIL_ADDRESS>đã viết:

I found same issue, delete .next then run again => resolve
But sometime it is continue happend (only on dev)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zeit/next.js/issues/6678#issuecomment-477640477, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AM28xF6SqbjAHOwMdSpzbP1wfU09pMERks5vbN1DgaJpZM4b3vc3
.

--

Lê Duy Hà*


bug deploy building

Hi,
thanks for this cool mod! I had a bug thou when activating deploy buildings. To debug I simply had to add a \ in line 25:
os.execute('\ls -a "'..modpath..'/buildings/'..size..'/" | grep .we > "'..modpath..'/buildings/'..size..'/_buildings"') -- linux/mac
I am playing on Ubuntu 14.04
cheers

Hey @SlowMo24,
I checked the code, and it already starts with a \
https://github.com/cornernote/minetest-deploy_nodes/blob/master/deploy_building/init.lua#L25

Thanks for checking :-) but to make it work for me there had to be two \
os.execute('\ls -a "'..modpath..'/buildings/'..size..'/" | grep .we > "'..modpath..'/buildings/'..size..'/_buildings"') -- linux/mac
(sorry I posted the original one first)
I don't know the reason because I'm not really into lua-coding


Implementation of built-in function log_softmax

Built-in function "vm.builtin.logprobs_from_logits" calculates log_sofmax from logits. It is needed to log probes calculation on mlc-llm side
cc @tqchen

Ideally we should decouple logsoftmax from sampling. So we have a logsoftmax first. Do exp to get prob, then apply sample from probs, this will also allow us to leverage optimizations in sample from prob

Hello @tqchen! Thank you for your comment! I did it similar with "sample_top_p_from_prob" and "sample_top_p_from_logits" and it was wrong, there is no sampling. I've renamed funcs to avoid misunderstanding. Could you check it again?

Hello @tqchen! I've successfully checked the built-in function together with mlc-llm pipeline. Could you finally review the PR?

Hello @tqchen! Could you finish review and approve PR?

After visiting some of the use-cases. I think we should not move logsoftmax here, mainly due to efficiency reasons. The cost of calculating related data can become a bottleneck.
Instead, let us simply use log(prob) if prob > 1e-6 else log(1e-6) where prob is the result of softmax to get the logprob, this would be stable for most cases and saves the extra set of computations.

Hello @tqchen! I think there is some misunderstanding.
As I understood you want to transfer high-weight calculation (like expf) onto GPU side.
I based on SampleTopPFromLogits method ("vm.builtin.sample_top_p_from_logits") which is implemented on TVM side, there is expf calculation and it is used by mlc-llm on CPU side.
Possibly you think about softmax_with_temperature-like method compiled on relax for GPU calculation. I can do so, but I want to do it as model independent method and did not see any examples on mlc-llm side. But I saw SampleTopPFromLogits and followed this way.
Some notes:

In my case there are no top_p or temperature (in other words they are both zero).
Torch specially uses log_softmax method though it has log and softmax separately. It is explained as more stable calculation (and I repeated it excluding chunk calculation of exp sum). log_softmax(x) = x-max(x) - log(sum(exp(x-max(x))))
I'm not aware about performance due to this method is needed for loglikelihood approach of accuracy benchmark. But if it is used for speculative decoding or other logit mechanics like beam search the performance issue become more actual and critical.


GPU use Installation Instructions

When installing Cellpose to use on my computer with GPU functionality, I followed your instructions, but they lead to an error when I tried to start Cellpose.  The problem ultimately turned out to be that I had the CUDA toolkit installed in windows, but not in Anaconda.  After installing the CUDA toolkit in anaconda, it appears to be working.  While many users may know this, it may be helpful to note this in the installation instructions.
GPU version (CUDA)
If you plan on running many images, you may want to install a GPU version of mxnet. We recommend using CUDA 10.0 or greater.
ON WINDOWS
Just install the GPU version of mxnet directly in the environment, i.e.:
pip install mxnet-cu101
could benefit from a line instructing the user to install the CUDA toolkit in Anaconda

interesting thanks what command did you use to install the cuda toolkit for windows? I'll add it to the documentation

interesting thanks what command did you use to install the cuda toolkit for windows? I'll add it to the documentation

I think that I installed it with the Anaconda GUI, but it appears that the command line way to do it is: conda install -c anaconda cudatoolkit

I think that I installed it with the Anaconda GUI, but it appears that the command line way to do it is: conda install -c anaconda cudatoolkit

thanks!

thanks!


Random collections

Update PopulatorImpl to randomly populate collections rather than setting them equal to an empty collection. Also, changed the default maximum number of items added by populateBeans to be 100 not Short.MAX_VALUE

Mahmoud Ben Hassine » jPopulator #110 SUCCESS
This pull request looks good
(what's this?)

Please ignore this PR. (1) it includes unnecessary code to support classes with a private default constructor. (2) Although it populates "collection" attributes with randomly sized non-null collections, every element of those collections is still "randomly" null.
I will submit a new PR omitting (1) and addressing (2) . I have a resolution, but I am looking for a more way to do it.
Regards,
Fred.

Mahmoud Ben Hassine » jPopulator #111 SUCCESS
This pull request looks good
(what's this?)

Hi, no problem.
Collection population has been discussed in issue #19 . I have started implementing the feature in the collection-population branch. But I did not merged it yet because it is not ready, there still some issues with parametrised types due to type erasure. You can take a look at this branch.


Feature Request: code highlight improvement

Support dark theme;
Support one key copy.

Thanks!

I have tried dark theme long before, and I don't think dark coding blocks look harmonious in this theme. However you could change it by yourself.
It needs to add more scripts, which is not hoped for this simple template.


Add activity e-mail digest for each Fund and Lab

User Story
As a Program Manager (staff user), I would like more granular control over which emails I received from Hypha. Existing categories or sub-headings in the email digest include Submissions, Comments, Other activities. As a user I would like to only receive emails related to submissions.
Proposed Solution

[ ] Add an "Digest recipient e-mails" field to each Fund and Lab. Similar to the existing Slack channel field.
[ ] Create the same type of digest as the global one but filtered for each Fund and Lab.
[ ] Send out all digest with the same cron command

This is a different github issue, but could we please plan on next steps for e-mail digest related to invoices and contracts on the Project page? Thank you.

Migration conflict so needs to wait a bit.

It works -- thank you!


OpenAI Integrations - Sandbox Compatible

User can use OpenAI chat completion models with their private API Key to receive AI responses

I don't think putting a link to your profile on an image is a good idea. It not only looks not nice, but also useless, since there is a description of extensions.

word i kinda threw the banner together last second I'll change it in a bit> I don't think putting a link to your profile on an image is a good idea. It not only looks not nice, but also useless, since there is a description of extensions.

You copied what they said word for word 😅

The extension needs to make it more clear that anyone who has your API key can make requests on your behalf, possibly incurring a charge on someone's credit card

Good idea @GarboMuffin, should that warning be a part of custom documentation or somewhere in the extension itself?

@kindpump Will you still be working on the extension? If not, I can take the development into my own hands.

I've been playing with it but haven't really been able to do anything I wanted to: (use other models like chat response model or dalle2 text to image model). If you want to take over development that'd be great since you probably actually know what you're doing and not just trial and error-ing like I am haha

@True-Fantom if you can figure out how to access dalle2 image generation that'd be amazing I've spent hours trying to figure out how to grab the images and load as dataURI's etc

@kindpump Well I'll try to do it in a while. Don't worry, almost everyone here does everything by trial and error :)

@True-Fantom haha well at least I'm not the only one. Hope you're able to get any of it to work. I'm currently working on a project with it but without the image generation its just another gpt api direct

This needs to be added soon

we will close this in favor of one of the other openai extensions submitted


Coffee Manga http error 500 on app

Source information
coffee manga 1.4.39
Source language
English
Steps to reproduce
1st is go to the coffee manga extension, 2nd pass the cloudfare if there's any in the webview, 3rd, webview should work just fine but when the coffee manga in the app is refreshed, it will pop up a http error 500

Expected behavior
no http error 500 in app
Actual behavior
appview has http error 500

Mihon/Tachiyomi version
0.17.0
Android version
android 13
Other details
Ame said in discord he got 522 instead

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

It's working now for some reason..
Should i close this now?

Error 5xx is a server side error, not an extension problem


Fix Post Input and drawers gesture conflict

Summary
Fixes a gesture conflict (in a hacky way) between the post text input and the swiping the drawers open while selecting text in the input on iOS only.
Ticket Link
https://community.mattermost.com/core/pl/163s9mexj3y67cpt51gszn11ge
Release Note
Fixed a gesture conflict between the drawers and the post input on iOS.

Cherry pick is scheduled.


Pug Organization still has Jade-lang logo

Not sure where was best to bring this hope. I hope here was fine.

Changed. Thanks!


Find in Selection expands to whole line

VSCode Version: 1.37.1
OS Version: Windows 10

Steps to Reproduce:

Select text multiline (start of middle of line through end of middle of line)
Do a find and replace on selection only

Expected Output:
The text in only the selection gets replaced
Actual Output:
The text in the selection is replaced along with the rest of the line outside of the selection.

Looked into this again. This is as expected and designed this way.

Looked into this again. This is as expected and designed this way.

If so, shouldn't be current Find in selection renamed to Find in selected lines, or something like that?  This issue clearly illustrates it is quite misleading.

Correct label describing current intended behavior should probably be Set search range to whole lines containing primary selection and discard all selections if there is at least one search match.

This issue seems to be either fixed or intended behavior, but I don't understand it at all. When I do this:

In an code file, select a code section, hit ctrl-h,
Type something to be replaced,
Enable the selection button,
Perform the selection.

Still everything outside the selection gets replaced as well. This is either intended behavior or not a bug?? How then should I limit my replacement to the selection?

I also have this issue, selecting a portion and clicking "replace all" replaces all instances in my file.

@halcwb  The first action you need to do is toggle the Find in Selection, if you type what you want to find and then Find in Selection it still keeps all occurrences marked to be replaced

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Detecting multiple languages in one-shot mode

I'm using .net core SDK for one shot language recognition from audio with RecognizeOnceAsync . After setting detailed output I see this:
{
  "Id": "SomeId",
  "RecognitionStatus": "Success",
  "Offset": 0,
  "Duration": 300800000,
  "PrimaryLanguage": {
    "Language": "en-us",
    "Confidence": "High"
  },
  "DisplayText": "",
  "NBest": [{
      "Confidence": 0.0,
      "Lexical": "",
      "ITN": "",
      "MaskedITN": "",
      "Display": ""
    }
  ]
}

Is it possible to see a list of languages detected and not only primary language? The audio I sent was in fact english-chinese.
Why is the DisplayText and NBest result returned? It always seems to be empty.

Hi @nosalan, I'm not sure what you mean by "see a list of languages detected and not only primary language". Are you using the new SourceLanguageRecognizer object, as shown in this sample? https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/csharp/sharedcontent/console/standalone_language_detection_samples.cs#L16 . It seems so based on your detailed recognition output. This will only give you the detected language, not the recognized text. If you want both language detection and recognition result, you need to use the SpeechRecognizer object, as shown in this sample: https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/csharp/sharedcontent/console/speech_recognition_with_language_id_samples.cs#L21. In both cases you must specify a set of languages when calling AutoDetectSourceLanguageConfig.FromLanguages.

Also @nosalan, do you need to detect the language once at the start, or do you need to detect it periodically since the language may change from English to Chinse (and vice versa)? If the language may change, be sure to use continuous language ID as pers this sample: https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/csharp/sharedcontent/console/standalone_language_detection_samples.cs#L132 .

Hi @dargilco, I hoped for an array of languages returned that are present in the audio being submitted in one shot mode. It's nice that it is available in the continuous mode, however, this mode is slower even if I have the entire audio ready. I should choose something from those options, thanks.


Task :react-native-cardview:verifyReleaseResources FAILED

EDIT: seems that the PR #39 already fixed the problem, however the fix wasn't published to the npm registry yet.
Describe the bug
When building the app using compileSdkVersion as 28, the build fails with the following output:
> Task :react-native-cardview:verifyReleaseResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-cardview:verifyReleaseResources'.
> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
  /home/matheus/Projects/patrulha-2.0/node_modules/react-native-cardview/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
  /home/matheus/Projects/patrulha-2.0/node_modules/react-native-cardview/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
  /home/matheus/Projects/patrulha-2.0/node_modules/react-native-cardview/android/build/intermediates/res/merged/release/values/values.xml:2737: error: resource android:attr/fontVariationSettings not found.
  /home/matheus/Projects/patrulha-2.0/node_modules/react-native-cardview/android/build/intermediates/res/merged/release/values/values.xml:2738: error: resource android:attr/ttcIndex not found.
  error: failed linking references.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

The problem seems to be that react-native-cardview sets compileSdkVersion as 27 in android/build.gradle. Changing it to 28 solves the problem.

I have the same problem.
Please update as soon as possible :broken_heart:

Same problem for me.

A temporary fix would be using:
"react-native-cardview": "https://github.com/Kishanjvaghela/react-native-cardview.git#f6905ac21003117e6154faa5da14bdd2fdad904c"

in your package.json

Fixed c9d60719311c72f6c09b66c5966646834bf6a6fc


Ignore index in scsplit

Is it possible to have a feature to ignore index in scsplit? Currently, if the index is not ordered, an error is thrown IndexError: positional indexers are out-of-bounds. Thanks.

Hi Roger! Not sure what you mean. scsplit works irregardless of the index: it will split the data frame if the index is ordered and if the index is unordered.
Could you please provide some data and code to reproduce the problem you are referring to?

Hi Danil, sure!
I just tested this. So while what you said is true, that an out of order index is fine, the problem seems to be that the index has to contain the sequential numbers [0, len(arr)].
In my case I've filtered out some rows, but I want to keep the index values to be joined to another data set after modelling.
# index = [0, 1, 2] # works
# index = [1, 2, 0] # works
index = [1, 2, 3] # IndexError
# index = [0, 1, 3] # IndexError

X_dummy = pd.DataFrame({'a': [1, 2, 3], 'b': [1, 2, 3]}, index=index)
y_dummy = pd.Series([1, 2, 3])

scsplit(X_dummy, y_dummy, stratify=y_dummy)

The workaround I use so far is to

save the index in another variable
reset_index()
scsplit()
reassign the original indexes

Ok, I see.
Looks like if the actual object index max value is greater than the max value of ordered (starting from 0) index of an object - it throws this error.
Can't find a reason to justify this, so you are right - this needs to be fixed. Will do this some time soon.
And how did you manage to then reinstate original indexes after the split? I mean it is easy for dummy data, but for a large dataset this this could potentially mess up your indexes.
I would suggest saving not just the original index, but original index next to ordered index in a dictionary format, so that you could map it after the split.

I have to say: the case is very unusual. I would prefer to keep indexes strictly in the range(0,N) as it may create confusion interpreting the splits due to the conventional practice.
Added an exception for such rare cases to inform users to reset index before applying scsplit.


Implicit user authenication yields error, expliciet authentication works

Seen on:

Linux Debian
Python 3.5
pandas 0.23
pandas-gbq 0.9
pydata-google-auth 0.1

Implicit user authentication yields bad request: invalid grant error:
import pandas as pd
df = pd.read_gbq('select 1'', dialect='standard', project_id='some-project')

Expliciet user authentication and assigning it to context.credentials works:
import pydata_google_auth
import pandas as pd
import pandas_gbq

# explicitly authenticate user via URL and assign to pandas_gbq context
credentials = pydata_google_auth.get_user_credentials(
    ['https://www.googleapis.com/auth/cloud-platform'],
)
pandas_gbq.context.credentials = credentials

# now you can use pd.read_gbq
df = pd.read_gbq('select 1'', dialect='standard', project_id='some-project')

I first thought the error was due to different versions, but that doesn't seem the case. I have seen similar errors on different environments (OSX, python 3.7) and sometimes implicit works and sometimes it doesn't.
For now I can continu using pandas-gbq but would it be good to figure out what's causing this?

Thanks for the report. I think this is a duplicate of https://github.com/pydata/pandas-gbq/issues/50
There are several possible causes for this error. I believe the google-auth library automatically attempts to refresh tokens just before they expire, but there's probably more we can do to be more robust.

As stated in #50, you can try removing your credentials cache with reauth=True. Since pandas-gbq stores it's credentials cache in a different folder than directly using pydata-google-auth, that is a possible cause of this error.

Thanks for the feedback @tswast. Regarding reauth=True: I have tried that as well, but it didn't solve the issue. So it seems it's something else than the cache.
import pandas as pd
pd.read_gbq('select 1', project_id='mq-kngf', dialect='standard', reauth=True)

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/pandas_gbq/gbq.py", line 426, in run_query
    location=self.location,
  File "/usr/local/lib/python3.5/dist-packages/google/cloud/bigquery/client.py", line 1438, in query
    query_job._begin(retry=retry)
  File "/usr/local/lib/python3.5/dist-packages/google/cloud/bigquery/job.py", line 553, in _begin
    retry, method="POST", path=path, data=self.to_api_repr()
  File "/usr/local/lib/python3.5/dist-packages/google/cloud/bigquery/client.py", line 381, in _call_api
    return call()
  File "/usr/local/lib/python3.5/dist-packages/google/api_core/retry.py", line 270, in retry_wrapped_func
    on_error=on_error,
  File "/usr/local/lib/python3.5/dist-packages/google/api_core/retry.py", line 179, in retry_target
    return target()
  File "/usr/local/lib/python3.5/dist-packages/google/cloud/_http.py", line 319, in api_request
    raise exceptions.from_http_response(response)
google.api_core.exceptions.BadRequest: 400 POST https://www.googleapis.com/bigquery/v2/projects/mq-kngf/jobs: Invalid credential

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.5/dist-packages/pandas/io/gbq.py", line 108, in read_gbq
    **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/pandas_gbq/gbq.py", line 836, in read_gbq
    schema, rows = connector.run_query(query, configuration=configuration)
  File "/usr/local/lib/python3.5/dist-packages/pandas_gbq/gbq.py", line 440, in run_query
    self.process_http_error(ex)
  File "/usr/local/lib/python3.5/dist-packages/pandas_gbq/gbq.py", line 391, in process_http_error
    raise GenericGBQException("Reason: {0}".format(ex))
pandas_gbq.gbq.GenericGBQException: Reason: 400 POST https://www.googleapis.com/bigquery/v2/projects/mq-kngf/jobs: Invalid credential


Dead link in events section

I know this is from last year, but the link here is dead now, the meetup group appears to have shut down! http://24pullrequests.com/events/6

@andrew - 2014 "events" (1 to 10) are still in the database and can be seen in production if you give the number, such as above. Do we still want them in the database?

Closing this issue as a) the link appears to be working again (🎉!) and b) we are storing historical data, at least for the time being. Thanks for reporting!


Add new contract design.

This replaces the existing contracts with ones that provide cw721
compatibility for ICS 721 NFTs.
This code is far from tested. Thus far, basic checks about the IBC
handshake and helper functions have coverage. There are no larger
integration tests. Merging these contracts allows us to begin
writing integration tests using the go testing framework in this
repository.

Closes #18
Closes #15
Closes #8
Closes #11

A few general things:

[ ] A few extra files and lines made there way over from cw-template, would be good to clean those up
[ ] Each contract should have a README.md
[ ] The main README.md can be a high level overview linking to individual contracts and packages

Will be able to help with some of this.

More general comments:

[ ] When we're done let's be sure to include everyone who has put significant effort into this as authors. @shanev and @humanalgorithm have put in a lot of time into making ics721 a thing. : )
[ ] Obviously: tests, tests, tests...

More general comments:

[ ]  When we're done let's be sure to include everyone who has put significant effort into this as authors. @shanev and @humanalgorithm have put in a lot of time into making ics721 a thing. : )
[ ]  Obviously: tests, tests, tests...

This is coming along though!

Agreed : )

Say we're relaying between three identical chains A, B, and C. For
each of these chains call the local channel ID C and the local port
P. After taking the path (A -> B -> C) the class ID on C is
P/C/P/C/P/C/contract_address.
Now, lets say the next hop we take is from (C -> A). A receives a
packet with prefix P/C. According to the logic on the spec, it would
recognize this as its prefix and attempt to release its local version
of the NFT (from the prefix alone, it seems like this has previously
been transfered away!). This attempt to release fails though as there
has never been a transfer from (A -> C)!
This matching based on the prefix and attempting transfer is in the
spec. I figure we should probably make a PR to update it. From the
spec:
function onRecvPacket(packet: Packet) {
  NonFungibleTokenPacketData data = packet.data
  // construct default acknowledgement of success
  NonFungibleTokenPacketAcknowledgement ack = NonFungibleTokenPacketAcknowledgement{true, null}
  err = ProcessReceivedPacketData(data)
  if (err !== null) {
    ack = NonFungibleTokenPacketAcknowledgement{false, err.Error()}
  }
  return ack
}

function ProcessReceivedPacketData(data: NonFungibleTokenPacketData) {
  prefix = "{packet.sourcePort}/{packet.sourceChannel}/"
  // we are source chain if classId is prefixed with packet's sourcePort and sourceChannel
  source = data.classId.slice(0, len(prefix)) === prefix
  for (var i in data.tokenIds) {
    if source {
      // unescrow token to receiver
      nft.Transfer(data.classId.slice(len(prefix)), data.tokenIds[i], data.receiver)
    } else { // we are sink chain
      prefixedClassId = "{packet.destPort}/{packet.destChannel}/" + data.classId
      // create NFT class if it doesn't exist already
      if (nft.HasClass(prefixedClassId) === false) {
        nft.SaveClass(data.classId, data.classUri)
      }
      // mint voucher to receiver
      nft.Mint(prefixedClassId, data.tokenIds[i], data.tokenUris[i], data.receiver)
    }
  }
}

What do we need to do instead? Before attempting the transfer, we need
to verify that the incoming NFT has previously been transfered out. If
it has not, we should not attempt the transfer and instead (correctly)
treat it as a new NFT that we have not seen before and create a new
local cw721 contract.

closing so i can make a more clean version of this PR


Font issues in overleaf

Many thanks for your elegant template :)
However, there are three warnings in the overleaf as soon as I opened the template. Could you help to solve the warning of the template?
Version: Chinese
Compiler Version: XeLatex 2019
Font "FandolSong-Regular" does not contain requested Script "CJK".
Font "FandolKai-Regular" does not contain requested Script "CJK".
Font "FandolHei-Regular" does not contain requested Script "CJK".

https://github.com/CTeX-org/forum/issues/34 and https://zhuanlan.zhihu.com/p/145429470

Thank you very much:)


Convert titleandmeta custom component to v3

The component is not working as it should:

vs

@fernandolucchesi should be working now, ready for another review

The default component is not including the char count:

@fernandolucchesi it works now with a char count and an input field

Looks nice now! Approved ✅  Also left a comment regarding the looks of it


Failure running Key Vault client on-premise behind firewall

Hi, I'm developing to an environment where all outbound traffic is denied unless it goes through a web proxy which uses a whitelist of urls; if a outbound url is not whitelisted the proxy will deny the call.
I'm attempting to run a Key Vault client in this environment with a custom HttpClient configured to use a proxy.
First problem
Tests show that library code will trigger requests not going through the proxy, resulting in timeouts as all calls have to go through the proxy. Using a proxy like Fiddler and network inspection tools I can see that my custom HttpClient is used by the library to call my Key Vault while several calls to unknown Azure ip's are triggered directly not going through the proxy.
Question: How can I ensure that the library will use my custom HttpClient only?
Second problem
It's been very difficult to gather all the urls the Key Vault client calls, for whitelisting. At the moment I know of the Key Vault url and the authority thing login.windows.net, but what else is there? Judging from the network inspection at least two other Azure ips are called by the library.
Question: Which urls will the Key Vault client call? And I mean any outbound request. Hints or source references are much appreciated.
I've tested using old (Microsoft.*) and new Azure.Core libraries, same problem.
Using Azure.Core:
using (HttpClientHandler handler = new HttpClientHandler()
{
	Proxy = new WebProxy(new Uri(proxyUrl))
})
{
	SecretClientOptions options = new SecretClientOptions
	{
		Transport = new Azure.Core.Pipeline.HttpClientTransport(handler)
	};

	X509Certificate certificate = FindCertificateByThumbprint(thumbprint);
	var credentials = new ClientCertificateCredential(tenantId, clientId, certificate);
	var client = new SecretClient(new Uri(vaultUrl), credentials, options);

	KeyVaultSecret secret = await client.GetSecretAsync("sharepointUsername");

	secret.Value.Dump();
}

Thank you for your feedback.  Tagging and routing to the team best able to assist.

@Mohit-Chakraborty  After some consideration I believe this needs to be re-submitted as a bug; the Key Vault client does not use the custom HttpClient for all outbound requests. This is a bug. Can you convert this question to a bug, or do I need to do submit a new issue?

The SecretClient is calling into the credential provider which will authenticate against your AAD. To use the same transport, you can do the same to the credential provider:
HttpClientTransport transport = new(handler);

SecretClientOptions secretOptions = new SecretClientOptions
{
    Transport = transport,
};

ClientCertificateCredentialOptions credentialOptions = new()
{
    Transport = transport,
};

ClientCertificateCredential credential = new(tenantId, clientId, certificate, credentialOptions );
SecretClient client = new(new Uri(vaultUrl), credential, secretOptions);

Does that work for you? We also support various common environment variables you could set environment variables for standard proxy configuration that should work without a custom transport. I also opened #23774 to better document these.
As for endpoints, Key Vault will only connect to your vault but the authentication call(s) may connect to additional endpoints like login.microsoft.com (which varies in different cloud environments if you support them in your app), or potentially any users' domain if using a custom domain for their AAD, I believe.

In Azure.Core 1.17 or newer there's also a ClientOptions.Default you can use to set a transport for any client e.g.,
ClientOptions.Default.Transport = new HttpClientTransport(handler);

@heaths Thanks for the reply. I already set a transport using ClientOptions, to no avail; Although the library will call my Key Vault at Azure using the transport proxy at least two unknown Azure ip range requests are not using the proxy and thus timeouts occur. I had to install a network sniffer to test this.
You can find my code for the tests at the top, it's practical identical to your example. I'm using Azure.Core 1.18.
To solve my problem I need to 1) Have all Azure.Core libraries involved in fetching a secret from a Key Vault use my proxy, and 2) Document all url requests by said libraries, for proxy whitelisting. So far this has not been possible. So what can I do from here? I desperately need your help.

Did you set the default options for all Azure.* HTTP clients like in this comment? Did you try the environment variables? Any non-Azure.* packages may use those standard variables as well.
The Key Vault SDK only connects to your vault. The IP may vary if reverse-proxied - I honestly don't know, but I doubt it. Those other IP ranges could be for authentication, which Azure.Identity would be making and if you use either of those methods above should proxy as well.

Both alternatives does the trick: Authentication requests are now routed via proxy, and secrets are fetched. Big thanks for the help! :heart:
So in the end only two urls had to be whitelisted in the proxy: xyz.vault.azure.net and  login.microsoftonline.com
BTW: When testing the environment variable alternative I simply created a system variable named "HTTPS_PROXY" with the proxy url as the value. It's documented here https://docs.microsoft.com/en-us/dotnet/azure/sdk/azure-sdk-configure-proxy


For attributes with empty string generate <tag attr> instead of <tag attr="">

Quote from HTML specification: "The value, along with the "=" character, can be omitted altogether if the value is the empty string."

@vjik only in HTML 5, XHML still use, CAN != MUST

@samdark ок, XHTML5 still use (:


Choose between duplicate VIRTUAL_HOST containers based on version number?

Is there any way to handle having two containers running simultaneously with the same VIRTUAL_HOST value, and pick the one with the highest value in another environment variable such as VERSION_NUMBER? Thus allowing for seamless upgrade of running containers? Or, is there another way to achieve this? I don't want to have to jump to the complexity of something like Deis or Shipyard, as I can't afford to be running clusters.

Multiple containers with same VIRTUAL_HOST are load-balanced.  You can start one and stop the other once it's up to minimize downtime.

What kind of load-balancing are having two containers with the same VIRTUAL_HOST? Is there a documentation for this?


wasm: When ComboBox is subclassed, clicking always closes

I'm submitting a...

Bug report (I searched for similar issues and did not find one)

Current behavior
In UWP its possible to subclass the ComboBox and change the ItemTemplate to display a CheckBox.  The checkboxes in the popup can be clicked and the popup does not close.  In wasm the combo closes when the checkboxes are clicked.  This does not happen when ComboBox is not subclassed.
Expected behavior
Behaviour is the same as UWP and popup stays open
Minimal reproduction of the problem with instructions
Copy the style for COmboBox and subclass it.  Change the Page.xaml to :
   <Page.Resources>
        <DataTemplate x:Key="checkboxTemplate">
            <CheckBox />
        </DataTemplate>
    </Page.Resources>
    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <checkableCombo:MultiSelectComboBox ItemsSource="{Binding Items}" ItemTemplate="{StaticResource checkboxTemplate}"></checkableCombo:MultiSelectComboBox>
    </Grid>

And the code behind:
    public sealed partial class MainPage : Page
    {
        public MainPage()
        {
            this.InitializeComponent();
            SelectedItems = new ObservableCollection<object>();
            SelectedItems.CollectionChanged += (sender, args) =>
            {
                Debug.WriteLine("collection now");
                foreach (var selectedItem in SelectedItems)
                {
                    Debug.WriteLine(selectedItem);
                }
            };
            Items = new List<Entity>
                    {
                        new Entity
                        {
                            Code = "1",
                            Name = "first"
                        },
                        new Entity
                        {
                            Code = "2",
                            Name = "second"
                        },
                        new Entity
                        {
                            Code = "3",
                            Name = "third"
                        },
                    };

            DataContext = this;
        }

        public List<Entity> Items { get; set; }
        public ObservableCollection<object> SelectedItems { get; set; }
    }

    public class Entity
    {
        public string Code { get; set; }
        public string Name { get; set; }

        public override string ToString()
        {
            return $"{Code} {Name}";
        }
    }
}

Subclassed combobox:
namespace TheHub.Wasm.Controls.CheckableCombo
{
    /// <summary>
    /// MultiSelect ComboBox
    /// </summary>
    public class MultiSelectComboBox : ComboBox
    {
   }
}

Complete repro at https://github.com/yowl/UnoMultiselectCombBox/tree/clickcloses
Environment

Nuget Package:
1.45.0-dev.1201
Package Version(s):

Affected platform(s):
- [ ] iOS
- [ ] Android
- [x ] WebAssembly
- [ ] Windows
- [ ] Build tasks

Visual Studio
- [ ] 2017 (version: )
- [ ] 2017 Preview (version: )
- [ ] for Mac (version: )

Relevant plugins
- [ ] Resharper (version: )

This also means that the scrollbar cannot be used.

This is now fixed.  I don't know which version fixed it but it's now ok


Repeating arrow key can occasionally cause fzf to exit prematurely

Category

[x] fzf binary
[ ] fzf-tmux script
[ ] Key bindings
[ ] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

OS

[x] Linux
[ ] Mac OS X
[ ] Windows
[x] Windows Subsystem for Linux
[ ] Etc.

Shell

[ ] bash
[ ] zsh
[ ] fish

Pressing and holding the arrow keys while fzf is processing is still processing input can cause fzf to exit prematurely.

This issue can be seen more under the Windows version with the --height option from a forthcoming commit.

Merged, thanks.


Add a provider-like Selector

I've found many use cases where useProvider (or ref.watch in the future) from riverpod_hooks cannot be used since I am inside a StatefullWidget.
Would be very beneficial to add the provider-like Selector that can be used within a StatefullWidget and a StatelessWidget.
The idea of this Selector is the same as in Provider, we should be able to listen to a specific value and re-build the wrapped widget only when that value changes.

since I am inside a StatefullWidget.

You can use StatefulHookWidget, which allows using both useProvider and stateful widgets.

Did not know about that, this solves most of my use cases, however having a Selector would still be beneficial in case wo do not want to split the widget.
What do you think?

I must know... If you use Hooks, why do you need StatefulWidgets?

@ldasilva-net  I have cases where a have a list of components and each component has its own state.

Hooks should be able to replace all StatefulWidgets use-cases.
But anyway, a Selector is not needed. Consumer is designed to support selectors too (although will be available only in the next update)
You will be able to do:
ref.watch(provider.select(...))

So I'm going to close this


OAK-9268: change default back to traversal of nodes even if no index …

…with indexing lane is present

Merged, https://svn.apache.org/viewvc?view=revision&revision=1883085


Replaces kubectl field managers with the resource manager owner in ssa apply

Signed-off-by: Somtochi Onyekwere<EMAIL_ADDRESS>

@SomtochiAma can you please rebase and squash your commits.


Missing comma in parameter list not found as error

Dart version: 2.1.0-dev.9.2
Windows 10
Found in:
Android Studio version 3.2.1
Dart plugin version 181.5656
Part of the issue reported to the Dart plugin team at https://youtrack.jetbrains.com/issue/WEB-35833
Very simple class with an error:
class Test { static void test(String a String b) {} }
Notice the lack of comma between "String a" and String b".
Dart Analysis does not report a compiler error here. It seems fine with the missing comma.

I'd also add that dartfmt foo.dart throws an error in this case:
Hit a bug in the formatter when formatting foo.dart.
The formatter produced unexpected output. Input was:
class Test { static void test(String a String b) {} }
Which formatted to:
class Test {
  static void test(String a, String b) {}
}

Please report at github.com/dart-lang/dart_style/issues.

I can report it at https://github.com/dart-lang/dart_style/issues if needed but I guess that the fix for this issue may fix the dartfmt issue automatically.

I think the dartfmt issue comes from the analyzer front-end parsing the input as String a, String b. Then dartfmt formats that and writes it, and then fails its sanity check that the output only differs from the input on whitespace. If the analyzer front-end had rejected the input (as it should), then dartfmt would never get to that point.


postgres ssl

I was working on a helm chart to deploy this. If you want to have a gander, that can be seen here https://github.com/filecoin-project/helm-charts/pull/121
Our postgres database is configured limit connections only from secure sslmodes, so I added another flag to parameterize it and changed the default.

Hey @coryschwartz,
thanks for the contribution! I'll take a look at the Helm Chart 👍
I'd rather call the flag db-sslmode, config.DefaultConfig.DatabaseSSLMode and NEBULA_DATABASE_SSL_MODE as there are a couple more SSL related Postgres flags (sslrootcert, sslcert, ...), see https://www.postgresql.org/docs/current/libpq-ssl.html.

Thanks @coryschwartz , do you think it's good to go? I'd be happy to merge it now :)

I think so, thanks!


useLocalStorage doesn't not remove key on setValue(undefined)

What is the current behavior?
Set value to undefined does not remove the key from local storage.
What is the expected behavior?
Delete the key!
A little about versions:

OS: MacOS 14.2 (23C64)
Browser (vendor and version):  Version 121.0.6167.139 (Official Build) (arm64)
React:  "react": "18.2.0",
react-use:  "react-use": "^17.4.0",
_Did this worked in the previous package version? Not sure.

const [v, setV] = useLocalStorage<string>("__test__");
...
<Flex className="relative h-screen w-screen flex-col items-center justify-center overflow-hidden">
      <h1>{v}</h1>
      <button onClick={() => {setV('foo')} }>Set</button>
      <button onClick={() => {setV(undefined)}}>Unset</button>
</Flex>
...

Lol, I was using react-use, instead of reactuse. They have an additional remove() function. This is kinda frustrating.


Сluster breaks connection.clientAddress

When I turn on cluster package connection.clientAddress becomes <IP_ADDRESS>. How to fix that?

That's because sometimes cluster proxy requests. You can get the client address with following header.

x-forwarded-for

I know about x-forwarded-for. But I get no x-forwarded-for property in connection.httpHeaders object. :(
That’s all I have:
{ host: 'b1.somehost.io',
'user-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 Safari/537.36',
'accept-language': 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4' } }

I think, may be meteor is filtering out some headers. I could get this the raw WS connection?

How to check the raw connection? Now I just console.log(this.connection) inside a method on the server.

There is no way to get it from meteor's APIs. May be better to ask how to access x-forwarded-for from the meteor's issue list.
I also found this behaviour.

I believe when my app was behind really proxy (like CloudFlare), x-forwarded-for were in connection.httpHeaders.
What do you think about this package https://github.com/gadicc/meteor-headers? Can it be helpful?

If so, this seems like a bug. I can look at it.
I havn't used this package.
On Mon, Apr 6, 2015 at 1:16 AM Artem Polikarpov<EMAIL_ADDRESS>wrote:

I believe when my app was behind really proxy (like CloudFlare),
x-forwarded-for were in connection.httpHeaders.
What do you think about this package
https://github.com/gadicc/meteor-headers? Can it be helpful?
—
Reply to this email directly or view it on GitHub
https://github.com/meteorhacks/cluster/issues/39#issuecomment-89839152.