Browserify : Cannot find module

Hello,
I'm rather new to front-end development. I'm trying to setup a Typescript project and rx-http-request seems to be the perfect package for HTTP requests.
Unfortunately, I can't manage to make it work with browserify, I always get errors about a module not found in the rx-http-request package.
Here is how to reproduce it:
tree
test-project
├───gulpfile.babel.js
├───main.ts
├───package.json
└───tsconfig.json
gulpfile.babel.js
const gulp = require("gulp");
const browserify = require("browserify");
const source = require('vinyl-source-stream');
const tsify = require("tsify");

gulp.task("default", function () {
    return browserify({
        basedir: '.',
        debug: true,
        entries: ['main.ts'],
        cache: {},
        packageCache: {}
    })
        .plugin(tsify)
        .bundle()
        .pipe(source('bundle.js'))
        .pipe(gulp.dest("build"));
});

main.ts
import {RxHR} from "@akanass/rx-http-request";

RxHR.get('http://www.google.fr').subscribe(
    (data) => {

        if (data.response.statusCode === 200) {
            console.log(data.body);
        }
    },
    (err) => console.error(err)
);

package.json
{
  "name": "Test",
  "version": "1.0.0",
  "description": "Test",
  "private": true,
  "scripts": {
    "build": "gulp"
  },
  "dependencies": {
    "@akanass/rx-http-request": "2.4.0",
    "rxjs": "5.4.2"
  },
  "devDependencies": {
    "babel-core": " 6.25.0",
    "browserify": "14.4.0",
    "gulp": "3.9.1",
    "tsify": "3.0.1",
    "typescript": "2.4.1",
    "vinyl-source-stream": "1.1.0"
  }
}

tsconfig.json
{
  "compilerOptions": {
    "module": "commonjs",
    "target": "es2015",
    "noImplicitAny": true,
    "skipLibCheck": true,
    "sourceMap": true,
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "lib": [
      "es6",
      "DOM"
    ]
  }
}

Reproduction sequence
npm install
npm run build
Error
Error: Cannot find module './RxCookieJar' from 'E:\code\test-project\node_modules\@akanass\rx-http-request'
    at E:\code\test-project\node_modules\browser-resolve\node_modules\resolve\lib\async.js:55:21
    at load (E:\code\test-project\node_modules\browser-resolve\node_modules\resolve\lib\async.js:69:43)
    at onex (E:\code\test-project\node_modules\browser-resolve\node_modules\resolve\lib\async.js:92:31)
    at E:\code\test-project\node_modules\browser-resolve\node_modules\resolve\lib\async.js:22:47
    at FSReqWrap.oncomplete (fs.js:123:15)

Note : it's not always ./RxCookieJar that causes the problem, sometimes it's ./RxHttpRequest, or even ./compile
I suspect it's an error in my tsconfig.json file, but I have no clue what's wrong here, and I hope you'll be able to help me. rx-http-request is so far the only package that causes me trouble, and I really don't want to use another package instead.
Thanks in advance for your help !

Hello @Orhleil,
Thanks to use this library and your problem is with your bundle script.
My library already contains a browserify version of it and if you want to include it in your bundle, you must include all files and not just browser.js.
I think it's better to change the module in your tsconfig.json like this https://github.com/njl07/rx-http-request/blob/master/tsconfig.json#L4
You don't need to create script with gulp and just use npm commands with node scripts like this   https://github.com/njl07/rx-http-request/blob/master/Makefile#L12 or like this https://github.com/njl07/rx-http-request/blob/master/Makefile#L14 for browserify version.
I think with these scripts all will work.
I hope it will help you.

@Orhleil I'm creating a bundle for you and I'll give you when I've finished

@Orhleil fix is done and problem went from entry browser in package.json because it's a standalone version.
New version published and documentation for standalone browser version updated
Now, bundle can work without problem and you must install latest version v2.5.0 like this:
$ npm install --save @akanass/rx-http-request rxjs

Sorry for the delay and the mistake.

It took you almost exactly 12 hours to take charge of the ticket, try it out, confirm it, search a solution, implement it, commit it, publish it and close the ticket.

Sorry for the delay

Are you serious ?? What you call "delay" I call "premium support" 😄 I wish many other projects were as reactive as you are.
Thanks a lot for the quick answer and the fix. I'll give you a star for the great library and the excellent support.
Have a nice day !

@Orhleil it was a pleasure and I'm contributing a new node framework and I think you can love it :) don't hesitate to share, like and speak about it 👍
https://github.com/hapinessjs/hapiness


add an option to allow using network key from the documentation

Recently, it was introduced a check to make sure users were not using the network-key from the documentation https://github.com/home-assistant/hassio-addons/blob/master/zwave/rootfs/etc/cont-init.d/network_key.sh#L5
I am in the unfortunate situation of having a big zwave mesh using the network key from the documentation (which was already used in the previous documentation) which mean that I am unable to use this new official add-on. I know it is my fault and I should not have done that but I do not want to have to reset my whole network and I'm comfortable with the fact that my network is not really secure because of that key.
Could you please evaluate two solutions:

either provide the possibility to force this network key even though it is dangerous (the 'know-what-i-am-doing' option)
modify the network key from the documentation (and the one checked in that script) so that it only affect new users and not users that had an integration not failing at start with the previous zwave component and built a big zwave mesh.

I know it is my fault but I would really appreciate if this was considered so I can migrate to this new add-on. Thanks for the great work btw

If you were to accept the second proposal, I made a PR in #1407

I'm sorry to hear that, but this key has been documented and used in several examples for a long time already.
Just changing it to save your situation, seems like a generally bad idea. This check has been added for the reason you are experiencing right now. Changing it, defeats that purpose.

@frenck It is somewhat a breaking change to make using this key impossible when it was possible before.

this key has been documented and used in several examples for a long time already.

So ? What is a con of changing the documented key ? When it was used in example in before, one was able to use without having it being a failure at start so it would go unnoticed. The behavior change warrant a reset of that key imho.
The only con I see is if someone is already using that generated key but the odds are extremely thin (near impossible) considering collision odds given the size of the key.
Otherwise, could you make this check non-fatal (or an option to make it non fatal) as proposed in solution 1.
Sure it is my fault in the end, I should not have blindly copy pasted that key, but would be nice to have some tolerance for mistakes if there are alternatives.

I'm sorry to hear you feel that way.
This add-on is marked experimental, the integration is beta.
I'm sorry to hear you are having problems, but it is part of the running beta.
The change was logged in the changelog and the version of the add-on has been adjusted accordingly, following semantic versioning for version still below 1.0.
That said, that key should not be used. The cons it that it defeats security, as it is a published, known key. The fact you have publicly stated now you are using that key... I would highly recommend on changing it as fast as possible.

I am not arguing that semantic versioning was improperly used, I am arguing that this is an unnecessary breaking change. Since there seems to be no want to change that behavior, it will be the same after beta.
About the security of my setup, yes it's insecure but no it doesn't matter, there is no confidential data nor lock on my network. At the end of the day, one should be allowed to do insecure things if he want to.
Anyway, it's up to you and I find the response very holier than though and as a fellow software engineer, I find it saddening. Software is designed for people I am likely not the only one affected. There is very low downside to implement an escape hatch. I can implement it myself if it's just a question of time constraint.
It's not very important in the end, I can keep the old integration forever, it works well for me.


[BUG] doesn't print logs from middleware, interceptor and exception filter

[x] I've read the docs of nestjs-pino
[x] I've read the docs of pino and pino-http
[x] I couldn't find the same open issue of nestjs-pino
[x] This bug is related only to the current library or I've tested the same behavior with the built-in logger and this is not a bug of NestJS.

What is the current behavior?
doesn't print logs in middleware, interceptor, and exception filter. and it doesn't print the class name from where it's injected.
What is the expected behavior?
print out logs from middleware, interceptor and exception filter, and also indicate from which class.
Please provide a minimal example repo, not a code snippet. Without an example repo this issue will be closed.
https://github.com/ianzone/lambda-nestify/tree/master
Please mention other relevant information such as Node.js version and Operating System.
node v18.12.0
OS: Ubuntu 22.04.2 LTS on Windows 10 x86_64
Kernel: <IP_ADDRESS>-microsoft-standard-WSL2

closing. A MINIMAL example repo should be provided

you could
pnpm i -g @antfu/ni @nestjs/cli
ni
nr dev
and then hit any route to see the log

closing. A MINIMAL example repo should be provided

please see above msg

sorry, but I won't install some third party global modules just to check this particular case.
https://en.wikipedia.org/wiki/Minimal_reproducible_example
https://minimum-reproduction.wtf/


Generate tests from spec document

I used "header + fence index within header" to try to give some level of stability to the file names across changes (as compared to using line numbers)
Fixes #129

Ah, I had misunderstood the issue you reported earlier; what I thought you meant was to take the ABNF file and use that to generate a whole bunch of permutations based on the syntax description in there.

https://github.com/BurntSushi/toml-test/commit/3b92c714b6f4f4d370eb3b0e12fcd143411dd773
The JSON files changed because the output is a bit different (ordered alphabetically by key), but they should be semantically identical.

Thanks for fixing up the json files!  I assumed my formatting was off than expected but I wasn't sure if there was a standard way of generating them (the README doesn't mention a "write out json" for writing tests) and I don't have a go toolchain setup

I wasn't sure if there was a standard way of generating them

There wasn't until I thought of it yesterday 🙃 I always did it manually before and then yesterday I facepalmed and realized I can use toml-test-decoder for this.

I merged both gen-*.pyfiles togen.py` and merged it; thanks!


how to get aframe-cursor-teleport-component working with aframe-teleport-controls?

Hi I am struggling to get this working. Your plugin seems to work fine? But I am unable to make it work along with the other teleportation plugin (I even tried to use your code snipped from the readme page)
Here is my code:
<!DOCTYPE html>
<html>
    <head>
        <meta name="viewport" content="user-scalable=0, initial-scale=0">

        <!-- A-FRAME -->
        <script src="https://aframe.io/releases/1.2.0/aframe.min.js"></script>

        <!-- A-FRAME PC TELEPORTATION -->
        <script<EMAIL_ADDRESS>
        <!-- A-FRAME VR TELEPORTATION -->
        <script<EMAIL_ADDRESS>
        <!--  You probably can remove it.
I don't see anything wrong at first glance, but I don't do support for old versions. Please test with latest versions
<script src="https://aframe.io/releases/1.4.1/aframe.min.js"></script>
<script<EMAIL_ADDRESS><script<EMAIL_ADDRESS><script<EMAIL_ADDRESS>
and report back.
You can use https://github.com/jure/aframe-blink-controls instead of aframe-teleport-controls.

Oh I see 1.0.0 is used in the README, this release doesn't exist, latest is 0.0.5 but it's broken, you need to use the master build (link above). I just took this project over, I didn't modify the README, examples and create the 0.0.6 release yet, that why you need to use the master build above.
I quickly updated the README in https://github.com/c-frame/aframe-cursor-teleport/commit/6c71ffb7baaf40c9f0874e92e82daf9a8e30e855
I'll create the new release soon after I updated the build dependencies #29

Version 1.1.1 is released.


Look into creating a generic helper function for parsing event attributes

At the moment we have multiple methods to parse out specific event attributes (examples below).
As per the discussion here https://github.com/cosmos/ibc-go/pull/6648#discussion_r1646172503
Maybe we can find a clean way to more generically pick out values that we need.
// ParseProposalIDFromEvents parses events emitted from MsgSubmitProposal and returns proposalID
func ParseProposalIDFromEvents(events []abci.Event) (uint64, error) {
	for _, event := range events {
		for _, attribute := range event.Attributes {
			if attribute.Key == "proposal_id" {
				return strconv.ParseUint(attribute.Value, 10, 64)
			}
		}
	}

	return 0, fmt.Errorf("proposalID event attribute not found")
}

// ParsePacketSequenceFromEvents parses events emitted from MsgRecvPacket and returns the packet sequence
func ParsePacketSequenceFromEvents(events []abci.Event) (uint64, error) {
	for _, event := range events {
		for _, attribute := range event.Attributes {
			if attribute.Key == "packet_sequence" {
				return strconv.ParseUint(attribute.Value, 10, 64)
			}
		}
	}

	return 0, fmt.Errorf("packet sequence event attribute not found")
}

@gjermundgaraba can I work on this issue?

Sure! Great to get help with this :)


Wink PubNub v4

Description:
This moves the pubnub subscription handling out of HomeAssistant and into a new library "pubnubsub-handler" Wink now requires this library in place of pubnub which is now a dependency of the new library. With this update, we will now be using pubnub v4 which has better error handling. This also resolves the issue with Wink state changes stopping after several hours (See issues below). This is a pretty significant change, and also the first library I have written so feedback on it would be appreciated as well.
NOTE There will be an additional delay of 60 seconds before pubnub subscriptions start based on the way the subscribe call is made. This means any state changes that happen between HA starting and the initial subscribe will not be reflected in HA. This is because the EVENT_HOMEASSISTANT_START is called before the wink device discovery is complete. Without this delay devices would fail to get added to the subscription service. There is a fail safe, just it case it takes longer than 60 seconds the devices will still get added, but they will create an additional TCP connection per device, this is undesirable and is why the delay is in place.
This could really use some testing, I haven't run into any issues so far, but the more testers the better. Thanks!
Related issue (if applicable): fixes #3989 #3767
Checklist:
If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[X] New dependencies have been added to the REQUIREMENTS variable (example).
[X] New dependencies are only imported inside functions that use them (example).
[X] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.

Looks good, I'm sure this will make plenty of people happy.
You mentioned that we miss 60 seconds of state changes, does Wink send all the current states over when you first connect? Or will we only receive state changes upon change?

It is a little complicated, I'll explain.
When home-assistant starts, each wink platform polls the Wink API for its current state, as well as the subscription key to use for getting push updates from PubNub.
Once the EVENT_HOMEASSISTANT_START is fired, subscribe is called on the main subscription handler. I have noticed that after that event is fired I sometimes get more calls to add_subscription, thus the reason for the delay.
So yes Wink sends the current state on connect, but PubNub only sends on state change.
But... explaining all of this gave me an idea. Would it be a good idea to add a delay in Home-Assistant as well and then call the update method for each devices (which polls the Wink API)?
Maybe something like hass.data['wink']['should_poll'] = True and check that in each platform, if it is True then run update. Set a thread timer in the main Wink component to set the state of hass.data['wink']['should_poll'] to False maybe after 90 seconds?

You can prevent discovery from happening after setup phase is done and before we fire homeassistant_start by adding yield from hass.async_block_till_done() here

Scrap my last comment, it needs a bit more work. Cooking up something 👍

@balloob #4606 removes the need for the delay I have added into the pubnubsub-handler library. Prior to this, without the delay I would get  a new TCP connection for each devices. I'll update the library to remove the delay, but leave in the fail safe to allow for additional subscriptions just in case.


[Android] Play store request new permission to this plugin used apps

Hello ,
i would to ask if this package need to use this two permissions QUERY_ALL_PACKAGES and REQUEST_INSTALL_PACKAGES
if yes , i guess it should be added to the package help as additional info.
and if no , to investigate more about the reason for requesting this permissions

Hi @mustafa-707
This package doesn't require any permissions.
You can check it under https://github.com/ravitejaavv/store_checker/blob/master/android/src/main/AndroidManifest.xml
But i can help you on this. Just check merged manifest to see where these permissions are coming from
/build/app/intermediates/merged_manifests directory
Also check other packages
For example:
https://github.com/crazecoder/open_file/issues/204


The change from/to tabs should be put in the undo history

tabs-to-spaces 1.0.3
atom 1.20.0
It's counterintuitive and pretty dangerous that you can't undo the changes tabs-to-spaces makes with Ctrl-Z. Also, if there is a selection, it should just operate on that selection, not the whole file.

The latest version of tabs-to-spaces is v1.0.5 and the latest stable version of Atom is 1.32.2. Please update to the latest versions of each.
Additionally, I just tested this and you can undo the changes that tabs-to-spaces makes with Cmd+Z on macOS or Ctrl+Z on other platforms.
Finally, please file separate issues for separate concerns so that they can be addressed separately.


Parse error for Attachment download API call

Hi,
I'm getting error on attachments download API call using node module 'contextio'
For the testing purpose I changed in node_modules/contextio/lib/call-service.js file  where there is a JSON.parse is happening.
For downloading/getting binary data by attachements api call through node module is not able to parse and it is not need to parse the data.
API call:
ctxioClient.users(input.id).email_accounts(input.label).folders(input.folder).messages(input.message_id).attachments().get({}).
Here is the stacktrace:
SyntaxError: Unexpected token % in JSON at position 0
at JSON.parse ()
at sendRequest.then.body (/home/veeresh/FlowRepo/newflow/backend/backend-services/engine/node_modules/contextio/lib/call-service.js:57:21)
at tryCatcher (/home/veeresh/FlowRepo/newflow/backend/backend-services/engine/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/home/veeresh/FlowRepo/newflow/backend/backend-services/engine/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/home/veeresh/FlowRepo/newflow/backend/backend-services/engine/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/home/veeresh/FlowRepo/newflow/backend/backend-services/engine/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/home/veeresh/FlowRepo/newflow/backend/backend-services/engine/node_modules/bluebird/js/release/promise.js:693:18)
at Async._drainQueue (/home/veeresh/FlowRepo/newflow/backend/backend-services/engine/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/home/veeresh/FlowRepo/newflow/backend/backend-services/engine/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/home/veeresh/FlowRepo/newflow/backend/backend-services/engine/node_modules/bluebird/js/release/async.js:17:14)

Hello! For the attachments call you probably want to be using getFile instead of get, which does not json parse the bodies (response shape).
I'll add a note about that to the Readme, since it's not actually mentioned anywhere.
Hope that helps!

Thank you for your reply.
If it's like that then why it's supporting attachment call?
If it is throwing error from node module it should properly tested and
verified.
I'll get back to you after trying the getFile call.
On 22-Feb-2018 9:36 PM, "Aaron LaBrie"<EMAIL_ADDRESS>wrote:

Hello! For the attachments call you probably want to be using getFile
instead of get, which does not json parse the bodies (response shape
https://github.com/contextio/ContextIO-node#downloading-files).
I'll add a note about that to the Readme, since it's not actually
mentioned anywhere.
Hope that helps!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/contextio/ContextIO-node/issues/46#issuecomment-367729804,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQ_P8WptYbZujqzVFTt2R-S59FIdj14iks5tXZB8gaJpZM4SO337
.

Closing as this is not an actual issue with the library.


Newsboat crashes at startup with "Segmentation fault: 11" error message.

Newsboat version (copy the output of newsboat -v or the first line of git show):
$ news -v
newsboat 2.20.1 - https://newsboat.org/
Copyright (C) 2006-2015 Andreas Krennmair
Copyright (C) 2015-2020 Alexander Batischev
Copyright (C) 2006-2017 Newsbeuter contributors
Copyright (C) 2017-2020 Newsboat contributors

Newsboat is free software licensed under the MIT License. (Type `newsboat -vv' to see the full text.)
It bundles:
- JSON for Modern C++ library, licensed under the MIT License: https://github.com/nlohmann/json
- optional-lite library, licensed under the Boost Software License: https://github.com/martinmoene/optional-lite
- expected-lite library, licensed under the Boost Software License: https://github.com/martinmoene/expected-lite

newsboat 2.20.1
System: Linux 5.14.18-100.fc33.x86_64 (x86_64)
Compiler: g++ 10.2.1 20200723 (Red Hat 10.2.1-1)
ncurses: ncurses 6.2.20200222 (compiled with 6.2)
libcurl: libcurl/7.71.1 OpenSSL/1.1.1l-fips zlib/1.2.11 brotli/1.0.9 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.0) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 (compiled with 7.71.1)
SQLite: 3.34.1 (compiled with 3.32.3)
libxml2: compiled with 2.9.10

Config file (copy from ~/.newsboat/config or ~/.config/newsboat/config):
# Newsboat config file
# Ansible managed

auto-reload no
browser firefox
cache-file /data/sync/sources/newsbeuter/cache.db
cleanup-on-quit yes
display-article-progress yes
download-timeout 10
history-limit 0
ignore-mode download
keep-articles-days 30
macro o set browser "elinks %u"; open-in-browser ; set browser "firefox %u"
max-items 1000
refresh-on-startup yes
reload-threads 4
reload-time 23
save-path /data/sync/sources/newsbeuter/saved_articles
show-read-feeds no
feed-sort-order title

Steps to reproduce the issue:

Start newsboat

Other info you think is relevant:

Due to similarities, I've performed the described steps in this comment. These are the results

remove /data/sync/sources/newsbeuter/cache.db and start Newsboat
Newsboat still fails with the same error.

remove cache.db again, edit your urls file to contains a single feed https://newsboat.org/news.atom, and start Newsboat;
Newsboat starts, but shows no feeds or unread articles.

restore cache.db and urls files, remove ~/.config/newsboat/config, and start Newsboat.
Newsboat starts and shows all the feeds and articles, also some feeds that had been removed weeks ago (IIRC)

Removing the config parameter feed-sort-order title let's newsboat start up again. After that the parameter can be added again and newsboat still will start up again.

This might be related to #2101 since you have refresh-on-startup yes in your config.

I have disabled refresh-on-startup yes on one of my hosts and will monitor it's behavior.
I've read through #2101, but I'm not convinced yet, that's the same/similar issue. The app is occasionally crashing before I even get to see the list of hosts. As soon as the TUI has been set up, it's running stable, no matter how often I refresh.
I'll monitor this change for a week and report in as soon as the issue occurs again.
If you don't hear anything from me within a week, assume the issue has been fixed and just close it if you like.
regards

Thanks for the report! I reproduced this with 2.20.1 (built with Rust 1.44.1 because Rust 1.62.1 fails to compile lexical-core), but failed to reproduce this with 331176fdd9fdbd876f37b33f22a1a7054a13b2f0 (current master).
2.20.1 doesn't always crash, but seems to crash more often if I start with an empty cache file.
Stacktraces show concurrent access to FeedContainer::feeds, which wasn't fully protected by a mutex in 2.20.1
Need to bisect this to figure out when we fixed it, and how. I'll keep this issue open until then.

Oh, thanks Dennis! The backtrace in the PR looks exactly like the one I saw in 2.20.1 today, so I'm confident it's indeed the fix. Closing then.
@Spreadcat refresh-on-startup no should fix this for you then. You can re-enable the setting once you've upgraded to 2.21 or newer.

@Minoru I can confirm that I didn't see any further crash after removing the parameter from the config. Thanks for the help.

@Minoru I can confirm that I didn't experience any further crashes after I've removed the parameter from the config. Thanks for the help.


Unset server.address to fix docker port error.

Unset server.address to fix docker port error.
https://github.com/edp963/davinci/issues/1957
https://github.com/edp963/davinci-docker/issues/30

application.yml.example is an example for easy local development & deployment. If you deploy in docker you can modify it yourself

application.yml.example is an example for easy local development & deployment. If you deploy in docker you can modify it yourself


Run unittest for every supported python version.

Description
Currently, we only run the unittests for python 3.10. We should do it for every python version supported (3.8 -> 3.12).
Questions/Ideas

Add miniconda to the dev docker with 5 envs (one for each python) and mpich installed.
Remove from the dev docker mpich system-wide installation
Make the python version a matrix in the CI

IMHO, we should also keep the out-of-Conda-environment tests (and the system-wide MPICH), in order to keep testing the KhiopsLocalRunner behaviour on genuine system-wide installations (especially wrt. MPI detection integration tests).

IMHO, we should also keep the out-of-Conda-environment tests (and the system-wide MPICH), in order to keep testing the KhiopsLocalRunner behaviour on genuine system-wide installations (especially wrt. MPI detection integration tests).

Right, then we should have the following variants of khiopspydev:

For systemwide the following OSs: rocky8, rocky9, ubuntu22.04, ubuntu20.04
For conda: conda-py38, conda-py39, conda-py310, conda-py311, conda-py312


[Dubbo-3367], fail to parse config text with white space

What is the purpose of the change
Fixes #3367, fail to parse config text with white space
Brief changelog
XXXXX
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

LGTM.

Codecov Report

Merging #3590 into master will increase coverage by 0.07%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #3590      +/-   ##
============================================
+ Coverage      64.2%   64.28%   +0.07%
  Complexity       71       71
============================================
  Files           664      664
  Lines         28635    28779     +144
  Branches       4768     4816      +48
============================================
+ Hits          18386    18500     +114
- Misses         8027     8046      +19
- Partials       2222     2233      +11

Impacted Files
Coverage Δ
Complexity Δ

...n/java/org/apache/dubbo/config/AbstractConfig.java
78.37% <100%> (ø)
0 <0> (ø)
:arrow_down:

...ava/org/apache/dubbo/common/utils/StringUtils.java
86.11% <100%> (+0.05%)
0 <0> (ø)
:arrow_down:

...apache/dubbo/common/config/ConfigurationUtils.java
40% <100%> (ø)
0 <0> (ø)
:arrow_down:

.../remoting/transport/netty4/NettyClientHandler.java
61.4% <0%> (-7.02%)
0% <0%> (ø)

.../apache/dubbo/remoting/transport/AbstractPeer.java
58.69% <0%> (-4.35%)
0% <0%> (ø)

...he/dubbo/remoting/transport/netty/NettyServer.java
69.64% <0%> (-3.58%)
0% <0%> (ø)

...c/main/java/org/apache/dubbo/rpc/RpcException.java
82.75% <0%> (-3.45%)
0% <0%> (ø)

...e/dubbo/remoting/http/tomcat/TomcatHttpServer.java
84.61% <0%> (-2.89%)
0% <0%> (ø)

...he/dubbo/registry/multicast/MulticastRegistry.java
67.87% <0%> (-1.81%)
0% <0%> (ø)

...cluster/router/condition/config/ServiceRouter.java
100% <0%> (ø)
0% <0%> (ø)
:arrow_down:

... and 9 more

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 8c934c9...09559bf. Read the comment docs.


bug: list view delete button breaks app on iPhone 4S with iOS 7.1

Type: bug
Platform: ios 7 webview
Hi Ionic-Team,
I found a strange issue in my app, but I'm able to reproduce it with the starter template app with tabs:

ionic start MyTabsApp tabs
cd MyTabsApp
ionic build ios

Then open xcode, open the project, select iPhone 4S (iOS 7.1).
Click on Build & Run. The app runs in the simulator.
Go to the "Chat" tab and see the list of chats.
Swipe left on any chat, so that the red "Delete" button shows up.
Click on delete -> Crash!
If you change the target to iPhone 4S (iOS 8.1) it will work fine.
The same problem also happens on my real device (iPhone 4S).
Thanks in advance for investigating,
Udo

Mac OS X 10.9.5
Xcode Version 6.1

Cordova CLI: 5.0.0
Gulp version:  CLI version 3.8.11
Gulp local:
Ionic Version: 1.0.0
Ionic CLI Version: 1.4.5
Ionic App Lib Version: 0.0.22
ios-deploy version: 1.5.0
ios-sim version: 3.1.1
OS: Mac OS X Mavericks
Node Version: v0.12.1
Xcode version: Xcode 6.1 Build version 6A1052d

I've experienced this as well.  I believe you can delete the last item always and it works but the moment you delete something in between it crashes.  Check the array.splice function to make sure you specify the amount of items to be deleted.

yes, that's exactly what happens here. But the splice command looks like this, this should work:
remove: function(chat) {
  chats.splice(chats.indexOf(chat), 1);
},

And, what I still don't get is the fact that it works on iOS 8.1.

@NeRo2pt0 yes, that is!  I also got this problem.

Platform: ios 7 webview
device: iphone 4s
ios version: 7.1.2(11D257)

@UdoBretz  have you resolved this problem yet?

after few tests, I'm pretty sure that's the "ion-item" style "item-remove-animate" cause the problem

I wasn't able to resolve this issue. I now detect the iOS Version, and disable the "Left Swipe Delete" functionality. But that's just a bad workaround, as would also like to use the functionality on iOS 7.

One thing you could do potentially (depending on your application) is to have a status field for deleted items.  Then instead of actually removing the item from the array; just filter out the items based on that status.  Hopefully this gets fixed soon.

same issue with me.
I have to remove the animation on ios7
ng-class="{'item-remove-animate': !ios7}"
ios7太坑爹了。。

哈哈！是啊。
现在 ios7 和 android 4.3以下的机器就跟当年的 ie6 一样，各种奇怪的问题。

@scottsut 哈哈！安卓有crosswalk，ios7啥都没有~

@scottsut 我们有个解决方案，用自定义动画替换掉原来的动画(需要jQuery)：
Using custom animation instead of 'item-remove-animate', jQuery needed.
.animation('.my-item-remove-animate', function($timeout) {
	return {
		leave: function(elem, cb) {
			var e = $(elem[0]);
			var others = e.nextAll('.item');

			$timeout(function() {
				others.css({
					'-webkit-transition': '0.3s all linear',
					'-webkit-transform': 'translateY(' + (-e.height()) + 'px)'
				})
				$timeout(cb, 300)
			})

			return function(isCancelled) {
				if (isCancelled) {
					others.css({
						'-webkit-transition': '',
						'-webkit-transform': ''
					})
				}
			}
		}
	}
})

It works fine on ios7 and others, any idea will be appreciated!

Issue is still around ! I believe it has something to do with a css function getting called that ios7.1 cant handle or something.

Hello! Are you all seeing this issue only on ios 7 or on newer version of ios too?

Hello all! As it has been a little while since there was any activity on this issue, i will be closing it for now. Thanks!


Release v0.1.3

🚀

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/71546
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.3 -m "<description of version>" 3643542fb8af69775773a2f7c7b6aa1f5aea37b2
git push origin v0.1.3

There is a workaround Ref: https://github.com/JuliaPy/PyCall.jl/issues/990#issuecomment-1224875908
I'm not sure how to apply it to CI of JuliaRegistries/General ...

@SimonDanisch any ideas? We can't fix TopoPlots.jl to the previous patch-version of ScipPy right?

We could do that, although I believe these are important issue's in need of fixing for SciPy...
Maybe we can add a build step like I did in TopoPlots?
https://github.com/MakieOrg/TopoPlots.jl/blob/master/deps/build.jl#L4

I think the next version 3.10 of scipy might fix the issue based on this PR: https://github.com/scipy/scipy/issues/17070

@JuliaRegistrator register

Registration pull request updated: JuliaRegistries/General/71546
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.3 -m "<description of version>" 43d315d7f40c85eb1bb705bace7faa6c0f331fcb
git push origin v0.1.3

We finally did it 🍵


Client vs. Server OS differentiation

This is a Windows 10 and Windows Server 2016 Power Shell Reference. It appears the deduplication feature is not available on Windows 10 so having something like "works on xxxxx" in this guide woudl be helpful since not all commands work between client/server OS

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

ID: 36ed61aa-2f66-ad9f-7d9c-4cd4a39faa59
Version Independent ID: 175a235a-b8fa-e1e7-b672-630f4b1b4c9b
Content: Deduplication
Content Source: docset/windows/deduplication/deduplication.md
Product: w10
GitHub Login: @coreyp-at-msft
Microsoft Alias: coreyp

@officedocsbot unassign @e0i
@officedocsbot assign @yogkumgit

@get-itips  Thank you very much for the contribution and updating the documentation with PR. @MacGydver Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Enchance download to process distributions separately

Enhance download to allow processing more types of downloadable KG resources within reason.
Features

Option to create links wherever possible.
Handle both gpfs files and content only available via contentUrl.
download() returns a dictionary with the downloaded paths.

Assumptions:

Downloadable resources always have a DataDownload type.
Downloadable resources always have a contentUrl attribute. This is true for all store types.
Distributions with gpfs paths should satisfy distribution.atLocation.location.startswith("file:///gpfs")
Distributions always have a name (questionable).

Restrictions

More than one distribution with identical files (extension included) are not allowed

Questions

Are there resources with contentUrl but no distribution?
Are there other types of downloadable content that should be considered?
Are other cases currently not taken care of (see below for the current list)?
What do we do with the url entry. Is it sensible/expected to have downloadable content?
Other features of interest? e.g filter by mime type, add user-provided target renaming, etc.?

Example Cases
Two distributions, but one is not like the other
https://bbp.epfl.ch/neurosciencegraph/data/1e2d3085-b591-4041-a33f-d8220cd72a61?rev=12

  "distribution": [
    {
      "@type": "DataDownload",
      "contentUrl": "https://bbp.epfl.ch/nexus/v1/files/bbp/neocortex/e3fbe8c5-dd8c-41b1-9953-e22738f1405b",
      "encodingFormat": "application/nwb",
      "name": "534524026.nwb"
    },
    {
      "@type": "DataDownload",
      "repository": {
        "@id": "http://celltypes.brain-map.org/",
        "name": "Allen Cell Types Database"
      },
      "url": "http://celltypes.brain-map.org/experiment/electrophysiology/534524026"
    }
  ],

Behavior:

Distribution 1: contentUrl -> forge.download to output directory
Distribution 2: No contentUrl -> skip

Distributions with atLocation but with a DiskStorage type of store
https://bbp.epfl.ch/neurosciencegraph/data/neuronmorphologies/a62417c8-704a-44fe-9088-854ed8bb2a35?rev=9

 "distribution": [
    {
      "@type": "DataDownload",
      "atLocation": {
        "@type": "Location",
        "store": {
          "@id": "https://bluebrain.github.io/nexus/vocabulary/diskStorageDefault",
          "@type": "DiskStorage",
          "_rev": 1
        }
      },
      "contentUrl": "https://bbp.epfl.ch/nexus/v1/files/bbp/mouselight/be3cf189-776e-4915-b27d-c5c84448b422",
      "encodingFormat": "application/swc",
      "name": "AA0390.swc"
    },
    {
      "@type": "DataDownload",
      "atLocation": {
        "@type": "Location",
        "store": {
          "@id": "https://bluebrain.github.io/nexus/vocabulary/diskStorageDefault",
          "@type": "DiskStorage",
          "_rev": 1
        }
      },
      "contentUrl": "https://bbp.epfl.ch/nexus/v1/files/bbp/mouselight/1b77f913-dcd8-4706-a596-c6f7f6063d33",
      "encodingFormat": "application/asc",
      "name": "AA0390.asc"
    },
    {
      "@type": "DataDownload",
      "atLocation": {
        "@type": "Location",
        "store": {
          "@id": "https://bluebrain.github.io/nexus/vocabulary/diskStorageDefault",
          "@type": "DiskStorage",
          "_rev": 1
        }
      },
      "contentUrl": "https://bbp.epfl.ch/nexus/v1/files/bbp/mouselight/bd1a34ad-5bc4-4856-b53a-144f74d3aac7",
      "encodingFormat": "application/h5",
      "name": "AA0390.h5"
    }
  ],

Behavior:

Given that there is no gpfs path -> forge.download contentUrl

Distribution with a RemoteDiskStorage and atLocation.location gpfs path
https://bbp.epfl.ch/neurosciencegraph/data/d6fe7775-0f20-48f5-8819-825d392122d9?rev=1

 "distribution": {
    "@type": "DataDownload",
    "atLocation": {
      "@type": "Location",
      "location": "file:///gpfs/bbp.cscs.ch/data/project/proj134/nexus/bbp/mmb-point-neuron-framework-model/0/1/3/d/d/d/a/8/bNAC.hoc",
      "store": {
        "@id": "https://bbp.epfl.ch/neurosciencegraph/data/10419671-da26-48d3-abf9-51eb54759ca4",
        "@type": "RemoteDiskStorage",
        "_rev": 1
      }
    },
    "contentUrl": "https://bbp.epfl.ch/nexus/v1/files/bbp/mmb-point-neuron-framework-model/1e7334b5-bc82-47b6-b963-f24144bb741f",
}

Behavior:

copy to output directory if create_links_if_possible is False
create symlink to output directory if create_links_if_possilbe is True

@mgeplf , @joni-herttuainen , @GianlucaFicarelli , please feel free to leave your feedback and what directions would be interesting/useful for download().

I think this is good
The https://bbp.epfl.ch/neurosciencegraph/data/1e2d3085-b591-4041-a33f-d8220cd72a61?rev=12 downloads a file, but names it file; I have opened a bug for that here: https://bbpteam.epfl.ch/project/issues/browse/DKE-1094


Issue with initial-selection

Lets say there are multiple files with same name under different directories, in that case if i use initial-selection with the repeating file name, the tree keeps expanding until it reaches the last folder that contains that file name.

Still no fix for this issue? I also had this problem. In my case, I have two nodes with same label but different data. I think it would be better if there is "id" property alongside with "label", so initial selection can try looking for id (if exists) before label


Crash when shutdown the app

Hi, sorry for too many questions, but I‘m struggling to shut down the app, first I got a crash when shutdown my app, then I copy the sample code at the bottom of this issue #1050 from @vidcentum (thank you :) ), but have the same issue, attached the screenshot, I'm using windows 10 (version 2004, 64bit), VS2019, 16.7.7.
In that sample code, I've just added a function called closeListenSocket, then when I want to shut down the app, I called this function on each thread listen socket, the crash appears, I think it's my wrong usage? Thanks
    void closeListenSocket()
    {
        us_listen_socket_close(0, listen_socket_);
    }

/* Main */
int main() {

    workers.resize(std::thread::hardware_concurrency());

    std::transform(workers.begin(), workers.end(), workers.begin(), [](worker_t& w) {
        w.thread_ = std::make_shared<std::thread>([&w]() {
            /* create uWebSocket worker and capture uWS::Loop, uWS::App objects. */
            w.work();
            });
        return w;
        });

    std::this_thread::sleep_for(std::chrono::seconds(5));

    std::for_each(workers.begin(), workers.end(), [](worker_t& w) {
        w.closeListenSocket();   // -> Added this line to close the listen socket in each thread
        w.thread_->join();
        });

    std::cout << "done" << std::endl;
    return 0;
}

in us_internal_loop_unlink function, we maybe need to check the context->prev is empty or not before unlink:
void us_internal_loop_unlink(struct us_loop_t *loop, struct us_socket_context_t *context) {
    if (loop->data.head == context) {
        loop->data.head = context->next;
        if (loop->data.head) {
            loop->data.head->prev = 0;
        }
    } else {
        context->prev->next = context->next; // Here, need to check the prev empty or not
        if (context->next) {
            context->next->prev = context->prev;
        }
    }
}

Please read the manual. You are calling us_listen_socket_close from another thread. You really need to read the manual and take a breather, then read it again.

Well okay the manual doesn't mention that much about threading other than things are single threaded. But this is immensely important to follow. You are breaking this over and over. The only function that is thread safe is Loop::defer. All other functions are not thread safe.


capture openjdk sha in test builds

related: #307
together with: https://github.com/AdoptOpenJDK/openjdk-tests/pull/1949

Signed-off-by: OscarQQ<EMAIL_ADDRESS>

@llxia


SitemapLoader should support Excel xlsx file as input

SitemapLoadeer
Now I want it to support Excel xlsx as input

I tried Apache POI.
I found it difficult to understand.
I think that this issue requires more effort than the expected benefit.
I would suspend this.


Remove /usr/bin prefix on packer command line invocation

macOS homebrew installs packer in /usr/local/bin.

The oracle-linux-image-tools project will only run on Linux, there quite some dependencies, in particular when sealing and packaging the image.

Even so putting a fixed path of /usr/bin rather than using whichever version of packer is first in the user's path is probably wrong.

The problem is that there is an unrelated packer tool installed by default on Linux.
As we know that Hashicorp's packer is installed in /usr/bin, it is much more predictable to use the full path rather than relying on the user's path.


fix: add more reserved names to token escaping

This adds import as a reserved keyword and widens the - restriction to contains instead of prefix.
With these changes, the generator can successfully generate jsonnet bindings for OpenShift 4

Is there anything that can be done on my side to get this merged?

thanks for the reminder! sorry for the delay :D


Add Enable/Disable Scheme in Modal/Popup in Mockups

We should let the user enable/disable a scheme in the Advanced Configuration as the Generic Scheme will be disabled by default.

Playground

Design Specification


i already did

i already did
nothing helps dont close my issue

join the discord to investigate better your issue


Feature/algolia action

This should run the algolia crawler after the workflow that deploys to github pages is complete.

This pull request has been mentioned on SailPoint Developer Community Forum. There might be relevant details there:
https://developer.sailpoint.com/discuss/t/feature-algolia-action-pr-290/14236/1


Fix (fatal) warnings on OSX/Clang

Signed-off-by: Richard Chapman<EMAIL_ADDRESS>

Probably related to the settings we use in our parent project that make more errors fatal.


chore: Updated vulnerable dependency

Updates node-fetch to the latest beta due to security warnings from dependabot

Ughh! Is it ok for us to be using beta versions  ?

dependabot seems to like it :D

Just sticking a ^ to it is a bit ambitious, betas aren't that known to not introduce further breaking changes ^^


[Question]: How to use HuggingFaceTextGenInference without wrapping with LLMPredictor

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
I am trying to use a model hosted on a TGI server and query_wrapper_prompt provides a convenient way to format the prompts based on the model being served by TGI.
Wrapping HuggingFaceTextGenInference with LLMPredictor appears to work, but there are warning messages stating LLMPredictor is deprecated, please use LLM instead.
from langchain.llms import HuggingFaceTextGenInference
from llama_index import LLMPredictor, PromptTemplate

llm = HuggingFaceTextGenInference(inference_server_url="http://localhost:1234")
query_wrapper_prompt = PromptTemplate("[INST]{query_str}[/INST]")
llm_predictor = LLMPredictor(llm=llm, query_wrapper_prompt=query_wrapper_prompt)

What is the new method of using HuggingFaceTextGenInference with query_wrapper_prompt?

@logan-markewich Thanks, I tried your suggestion but on llama-index==0.9.15 its crashing with
TypeError: LangChainLLM.__init__() got an unexpected keyword argument 'query_wrapper_prompt'

In https://github.com/run-llama/llama_index/blob/main/llama_index/llms/langchain.py I dont see query_wrapper_prompt in the constructor.

ah yea oof, I missed that kwarg when refactoring.
Technically though that kwarg is deprecated. I would do instead (example for llama2 format, you could swap in whatever processsing needed for your LLM)
def completion_to_prompt(prompt):
  return f"[INST] {prompt} [/INST] "

llm = LangChainLLM(...., completion_to_prompt=completion_to_prompt)


deCONZ Daylight sensor enhancements

Enhancements for the Daylight sensor built-in to deCONZ:

Provide description instead of status code for phases, see discussion on slack;
Use different lux values for different phases; set Daylight between end of dawn and start of dusk; set dark between end of dusk and start of dawn;
Add service to bridge accessory instead of using own accessory (see #328).

First two points are in v0.8.11.

v0.9.0 exposes the Daylight sensor as an additional service to the bridge accessory.  Also fixes a bug that Ambient Light Level would always show 0 for the deCONZ Daylight sensor.


[5.8] Validation "different" not working with "sometimes"

The different validation fails when the other value is not present:
$v = Validator::make(['foo' => 'bar', 'baz' => 'true'], ['foo' => 'different:baz', 'baz' => 'sometimes']);
$v->passes(); // true
$v = Validator::make(['foo' => 'bar'], ['foo' => 'different:baz', 'baz' => 'sometimes']);
$v->passes(); // false

I'm not sure if this is supposed to work.
If foo is always present and baz may be missing, you can reverse the different rule:
$v = Validator::make(['foo' => 'bar'], ['baz' => 'different:foo|sometimes']);
$v->passes(); // true

Actually, both may be missing
$v = Validator::make(['foo' => 'bar'], ['foo' => 'different:baz|sometimes', 'baz' => 'different:foo|sometimes']);
$v->passes(); // false

Hey there,
Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to report back and I'll gladly help you out and re-open this issue.

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

Thanks!

Also please fill out the issue template next time.


Support for Chinese variable syntax?

When set a chinese variable with template as this: {{商品名称}}, but cause a exception as bellow,
and I found some issues:

The LexerImpl is not support Chinese variable syntax with  regular pattern as bellow:
Pattern REGEX_NAME = Pattern.compile("^[a-zA-Z_][a-zA-Z0-9_]*");
The PebbleEngine  could give some APIs for user to implements her/she logic

Exception information:
com.mitchellbosecke.pebble.error.ParserException: Unexpected character [商] ({{商品名称}}:1)
at com.mitchellbosecke.pebble.lexer.LexerImpl.lexExpression(LexerImpl.java:509)
at com.mitchellbosecke.pebble.lexer.LexerImpl.lexPrint(LexerImpl.java:366)
at com.mitchellbosecke.pebble.lexer.LexerImpl.tokenize(LexerImpl.java:181)
at com.mitchellbosecke.pebble.PebbleEngine.getPebbleTemplate(PebbleEngine.java:157)
at com.mitchellbosecke.pebble.PebbleEngine.lambda$getTemplate$1(PebbleEngine.java:146)
at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2039)
at java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1853)
at com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2037)
at com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2020)
..........................................

I really don't know nothing about Chinese syntax, so it's gonna be hard for me. Would you like to make a pull request for this ?

en，I will learn some code  and try to implement

@qiushasha 为什么要用中文变量？ 不建议..

@qiushasha 为什么要用中文变量？ 不建议...

@yanxiyue  at some cases, I need to build-in some  variables with chinese alias which can be convenient to user edit his/her template, so I hope PebbleEngine or Lexer give some extension points to implements some logic, but I don't know what to do

I'll close this for now. If you want to submit a PR for that, I'll gladly take a look at it


Not work sign out function in AWSCognitoAuth.default()

 auth.signOut { (error:Error?) in
      if(error != nil){
           alertWithTitle("Error", message: (error! as NSError).userInfo["error"] as? String)
      }else {

        session = nil
        alertWithTitle("Info", message: "Session completed successfully")
    }
    self.refresh()
 }

I am use this method but can't successfully sign out
Click sing in button then open safari page & can't ask user name & password why?

Closing to track in aws/aws-sdk-ios#947


Add support for randomization inference

This PR adds support for randomization inference via a ritest method for Feols.

Hey Alex,
(possibly unsolicited) metrics advice on this PR: I think using the studentized statistic (where you calculate the t-stat as $\hat{\tau}/\sqrt{\hat{V}}$ from each permutation distribution has better properties [in both the Fisherian and Neymanian sense] than the simple approach of constructing a randomization distribution from the point-estimate alone. Shouldn't be a major change; one would presumably change _get_ritest_coefs to _get_ritest_studentized (or simply add that as an option where instead of returning the point estimate, you return the t-stat.
Ref: chap 7 of Peng Ding's book [based on this 2021 paper]

It's very much appreciated! The more feedback the better =) I actually started out with a t-percentile implementation, but then checked out Grant's version, which worked on the fitted betas. I'll switch back to the t-stats as a default and will enable to run tests on both t-stats and coefficients. I vaguely recally that Alwyn Young recommends to use the beta's and not t-stats for the IV wild bootstrap - you haven't happened to have seen a similar results for RI? Also, great that you point me to Ding's book, I've been looking for a good write up on RI =) Thanks!

I have now implemented two algos - one is "fast" and the other is "slow". Both so far only work for iid sampling.
The "slow" one simply loops over calls of "feols" or "fepois" and hence works for OLS, IV and Poisson regression. You can choose to run different variants, the randomization-c and randomization-t following naming conventions introduced by Young.
The "fast" algorithm only works for OLS and the "randomization-c" at the moment. It's vectorized and employs the FWL theorem; going forward, some speed ups should be possible by JIT compiling it via numba. Users can choose "how much" they want to vectorize (as creating a N x reps matrix can be costly if either N or reps are large). To support the "randomization-t", I will have to slightly rework the functions implemented in the vcov method  / make them more "generically available".
Here's a code example:
%load_ext autoreload
%autoreload 2

import pyfixest as pf
import numpy as np
data = pf.get_data(N = 10_000)

fml = "Y ~ X1*X2*f2 |f1 + f3"

fit = pf.feols(fml, data=data)
fit.tidy().head()

rng = np.random.default_rng(1234)
fit.ritest(
    resampvar="X2",
    reps = 10_000,
    rng = rng,
    type = "randomization-c",
    choose_algorithm = "fast",
    algo_iterations = 1000,  # choose the number of foor loops: draws reps / algo_iterations per loop
    include_plot= True
)

To Do's:

defensive programming, type checks, assertions, etc
tests
cluster sampling
stratified sampling
CIs by test inversion
non-standard null hypotheses, one sided testing, etc

Overall, more work than I expected!

Hi @apoorvalal - one question on the "randomization-t" variant: Which defaults should I set for the computation of the vcov?
Should I default to the vcov type set in the "feols" call? Then it could in principle happend that ritest computes iid inferences even under cluster random assignment - which would not be in the spirit of Athey et al.
Here's an example:
fit = pf.feols("Y ~ X1 | f1", vcov = "iid")         # iid ses
fit.ritest(resampvar = "X1", cluster = "f1")     # cluster random assignment; ses should be CRV1-f1

Under the proposed solution, the vcov matrix in each RI-iteration would be computed as iid, despite the cluster random assignment. With this solution, I should at least add a warning message?
Alternatively, I could default to computing CRV variance matrices on the level of cluster assignment and overwrite the vcov type of the feols call.
Do you have any thoughts on this? I hope you could follow =D

TODO:

[ ] stratified sampling
[ ] CIs by test inversion
[ ] non-standard null hypotheses, one sided testing, etc
[ ] type hints, docstring everywhere

Hi Alex,
That's an excellent question; I'm not sure I know the answer off the top of my head. I understand the behaviour of randomization-t in the pure randomized trial with no noncompliance setting, but RI is much less clear to me in settings with non-compliance [Young's paper doesn't motivate it from potential outcomes so I don't really know how to reconcile it with Abadie et al and or Ding's papers/book].
Aronow, Chang, and Lopatto put out an interesting looking paper a couple of weeks ago that might be worth looking at as well.

Thanks Apporva - for now, I have deleted the vcov arg to ritest() and now by default compute the vcov as - iid if there is individual level sampling and no controls - HC1 if there is no individual level sampling and controls, and CRV1 for cluster sampling. I think that's a sensible choice, hopefully you agree? 😅

Open to-do's:

stratified sampling
support for IV
SEs, confidence intervals
test for hypothesis other than "beta = 0" vs "beta <> 0"


spago build for psgo not working

Hello!
I'm having problems on macos to run spago build using psgo as backend.
I have Go toolchain installed and I can run go in any terminal.
Here is my spago.dhall:
{ name = "my-project"
, dependencies = [ "console", "effect", "psci-support" ]
, packages = ./packages.dhall
, sources = [ "src/**/*.purs", "test/**/*.purs" ]
, backend = "psgo"
}

And here is the error I'm getting:
➜  spago build
[info] Installation complete.
[info] Build succeeded.
/bin/sh: psgo: command not found
[error] Backend "psgo" exited with error:127

I followed all the isntruction shtat I have found and I'm not sure what else should I try or install.
Compiling to JS has no problems.
Thanks in advance.

Ok, I just found the way to solve this. I download a psgo binary and put it on a binary folder that was on my path. After that, everything worked without problem and now I have my native build file called Main.
This is not a fault on spago at all, it's psgo installation instructions that are not clear, so I'll report this there.
Thanks for this awesome project.

 And happy to hear you figured out 🙂


How to mock the DbSet of the ConfigurationDbContext class

Hello!
I'm using the ConfigurationDbContext class in my repository.
It's now necessary to create the unit tests for this repository. However, it's not possible to mock the DbSet's because they are not virtual members.
Is there any behavior not recommended in injecting the IConfigurationDbContext interface instead of the concrete class (ConfigurationDbContext)? Or is a change necessary to allow the DbSet to be overridable in the ConfigurationDbContext class, allowing its mock?
Note: It's not possible to inform the CancellationToken object to the SaveChangesAsync method when using the IConfiguration DbContext interface. The ConfigurationDbContext class allows you to inform.

Have you looked at the existing tests in the source code?
https://github.com/IdentityServer/IdentityServer4/tree/main/src/EntityFramework.Storage/test

Have you looked at the existing tests in the source code?
https://github.com/IdentityServer/IdentityServer4/tree/main/src/EntityFramework.Storage/test

Yeah! ConfigurationDbContext is being used in integration tests, with a database in memory. I need to perform the mock for unit tests.

Personally I've just always configured the in-memory EF DB for testing. Would that work for you?

I use in-memory EF Db for integration tests, for unit tests I believe it isn't the best way. I like to work with mock the repositories, defining fake collections to setup the DbSets.

Hi,
Is it possible to inject IConfigurationDbContext and the ConfigurationStore work perfectly with the ConfigurationDbContex implementation?
That way, I can run the mock without problems.
Tks

Did you try? I think this is what some of our tests use?

I tried to perform the test but I couldn't because the IConfigurationDbContext interface no longer has the signature for SaveChanges(), which was removed according to https://github.com/IdentityServer/IdentityServer4/issues/3732


docs/lbi: Note non-support of "rootless"

Point to the podman discussion about --userns=auto instead.

OK, pushed a few more tweaks


Handling deletion of nested directories

Filesystem would issue only one event for deleted directory, so it's needed to add logic to delete files by matching their path prefix.
Originally posted by @gordonbondon in https://github.com/LeKovr/webtail/issues/6#issuecomment-758381700

Tests shows that separate event generated for every deleted file. How can I reploduce the issue problem?

I was able to reproduce this with latest code on MacOS. Given dir structure:
○ /tmp/logs
→ tree
.
├── file_in_root.log
└── many
    ├── four.log
    ├── one.log
    ├── three.log
    └── two.log

1 directory, 5 files

and deleting directory via rm -rf ./many i see this logs in debug + trace mode (replaced ev with ev.Op.String() to see event names ):
2021-02-11T19:46:13.907+0800	INFO	webtail/indexer.go:96	Handling file event	{"event": "REMOVE"}
2021-02-11T19:46:13.907+0800	INFO	webtail/indexer.go:96	Handling file event	{"event": "REMOVE"}
2021-02-11T19:46:13.907+0800	INFO	webtail/hub.go:232	Trace from indexer	{"message": {"mtime":"0001-01-01T00:00:00Z","size":0,"name":"many/two.log","deleted":true}}
2021-02-11T19:46:13.907+0800	INFO	webtail/indexer.go:78	Deleting path from index	{"path": "many/two.log"}
2021-02-11T19:46:13.907+0800	INFO	webtail/hub.go:302	Send reply	{"message": "{\"type\":\"index\",\"data\":{\"mtime\":\"0001-01-01T00:00:00Z\",\"size\":0,\"name\":\"many/two.log\",\"deleted\":true}}"}
2021-02-11T19:46:13.907+0800	INFO	webtail/hub.go:232	Trace from indexer	{"message": {"mtime":"0001-01-01T00:00:00Z","size":0,"name":"many/one.log","deleted":true}}
2021-02-11T19:46:13.907+0800	INFO	webtail/indexer.go:78	Deleting path from index	{"path": "many/one.log"}
2021-02-11T19:46:13.907+0800	INFO	webtail/hub.go:302	Send reply	{"message": "{\"type\":\"index\",\"data\":{\"mtime\":\"0001-01-01T00:00:00Z\",\"size\":0,\"name\":\"many/one.log\",\"deleted\":true}}"}
2021-02-11T19:46:13.907+0800	INFO	webtail/indexer.go:96	Handling file event	{"event": "REMOVE"}
2021-02-11T19:46:13.908+0800	INFO	webtail/hub.go:232	Trace from indexer	{"message": {"mtime":"0001-01-01T00:00:00Z","size":0,"name":"","deleted":true}}
2021-02-11T19:46:13.908+0800	INFO	webtail/hub.go:302	Send reply	{"message": "{\"type\":\"index\",\"data\":{\"mtime\":\"0001-01-01T00:00:00Z\",\"size\":0,\"name\":\"\",\"deleted\":true}}"}
2021-02-11T19:46:13.907+0800	INFO	webtail/indexer.go:96	Handling file event	{"event": "REMOVE|WRITE"}
2021-02-11T19:46:13.908+0800	INFO	webtail/hub.go:232	Trace from indexer	{"message": {"mtime":"0001-01-01T00:00:00Z","size":0,"name":"many","deleted":true}}
2021-02-11T19:46:13.908+0800	INFO	webtail/hub.go:302	Send reply	{"message": "{\"type\":\"index\",\"data\":{\"mtime\":\"0001-01-01T00:00:00Z\",\"size\":0,\"name\":\"many\",\"deleted\":true}}"}
2021-02-11T19:46:13.908+0800	INFO	webtail/indexer.go:96	Handling file event	{"event": "CREATE"}
2021-02-11T19:46:40.131+0800	INFO	webtail/hub.go:316	Remove subscriber from channel	{"channel": ""}

We can see that it properly receives two remove events but then gets one event with an empty name and a final REMOVE|WRITE for the directory.
I used fswatch to observe fsevents from macos at the same time and I can see all events are properly sent by the OS:
→ fswatch -x /tmp/logs
/private/tmp/logs/many/one.log Removed IsFile
/private/tmp/logs/many/two.log Removed IsFile
/private/tmp/logs/many/four.log Removed IsFile
/private/tmp/logs/many/three.log Removed IsFile
/private/tmp/logs/many Removed IsDir

I was not able to reproduce on linux, so I guess this could be some bug in fsnotify package related to how it handles events from macos fsevents.

I was able to reproduce this with latest code on MacOS.

Great work, @gordonbondon ! Thank you a lot.
Should we make a workaround for this or just wait for appropriate fsnotify fixes?

I guess this could be some bug in fsnotify package

So there is nothing to fix in webtail code


Support legacy browsers that misinterpret SameSite=None cookie property

Due to a bug on iOS12 [1], SameSite=None property set from the SameSiteCookieValve is misinterpreted on certain devices.
Versions of Safari and embedded browsers on MacOS 10.14 and all browsers on iOS 12. These versions will
erroneously treat cookies marked with `SameSite=None` as if they were marked `SameSite=Strict`. This bug
has been fixed on newer versions of iOS and MacOS.

Describe the solution you would prefer
The SameSiteCookieValve should avoid setting SameSite=None for a given set of browsers to avoid breaking authentication flows for these legacy browsers. A possible suggestion is to allow configuring a regex to detect these browsers by their user-agent.
How to reproduce:

Login to a service provider from an iOS 12 device
Try to SSO to an app on a different hostname from WSO2 IS
SSO will not work since session cookies are treated as SameSite=Strict and not passed to WSO2 IS

[1] https://bugs.webkit.org/show_bug.cgi?id=198181

the documentation aspect is tracked with https://github.com/wso2/product-is/issues/10968

the documentation aspect is tracked with https://github.com/wso2/product-is/issues/10968

The same site cookie valve is added by default now. Hence, the new property needs to be templated.
[1] https://github.com/wso2/product-is/blob/6c1fb02f9a63e07e3ba1b73121ab53963c305ed7/modules/distribution/src/repository/resources/conf/templates/repository/conf/tomcat/catalina-server.xml.j2#L100

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Unable to download datasets due to your server failure

We noticed a strange error when running the download function:
KeyError: 'content-length'

After analyzing the download link is actually:
https://liberouter.org/datazoo/download?bucket=cesnet-tls22&file=CESNET-TLS22-XS.h5

Internal Server Error !
Your server is experiencing an outage

Thank you for the issue. There is an outage in our S3 storage. We expect to restore functionality tomorrow.

Thank you for your timely response! Hopefully service will be restored soon!

The service has been finally restored. You should now be able to download datasets without any issues.

It works fine! Thank you for your timely response.

If you downloaded datasets between 21.2 and 26.2 of 2024, please remove servicemap.csv files from the dataset folders and let the library redownload those. Wrong files were uploaded in this period.


Can not init  GCKMediaMetadata with key

I am using the GoogleCastSDK inside my Framework Target ( using as an Umbrella Framework)  , hence maybe I am facing issue using the Constant at runtime "kGCKMetadataKeyTitle". That is why I used string @"kGCKMetadataKeyTitle".
Q1. The following code is not return instance of  GCKMediaMetadata ( i.e it is nil ) ?
GCKMediaMetadata *metadata = [[GCKMediaMetadata alloc] initWithMetadataType:GCKMediaMetadataTypeMovie];
[metadata setString:@"Movie Title" forKey:@"kGCKMetadataKeyTitle"];

So can I use other string instead of static string given by SDK ?
I am trying to create GCKMediaInformation following the documentation -
GCKMediaInformation
Q2. Which of the fields of GCKMediaInformation are optional and which are not, as I am getting nil for following code .
GCKMediaInformation *info = [[GCKMediaInformation alloc] initWithContentID: contentID
             streamType: streamType
             contentType: contentType
             metadata: metadata
             streamDuration: streamDuration
             mediaTracks: nil
             textTrackStyle: textTrackStyle
             customData: nil];

So of-course as metadata is nil, maybe MediaInformation will be nil, but that is not clearly mentioned on documentation which of the fields are required ?

Please take a look at this example:
https://developers.google.com/cast/docs/ios_sender_integrate#load_media

@entertailion : thanks, I'm following the same documentation and tutorials.
But the major issue in documentation is, it does not mention which of the fields on GCKMediaInformation are compulsory and which are not to successfully initialize the class.

OK. Will raise this with engineering.

Everything that's marked as _nullable in GCKMediaInformation initializer is an optional field.
There's a bug in your code though. Instead of:
[metadata setString:@"Movie Title" forKey:@"kGCKMetadataKeyTitle"];
it should be:
[metadata setString:@"Movie Title" forKey:kGCKMetadataKeyTitle];
GCKMediaInformation does not require a non-nil metadata object. GCKMediaMetadata does not require any specific set of keys to be initialized.
The following call should never return nil:
GCKMediaMetadata *metadata = [[GCKMediaMetadata alloc] initWithMetadataType:GCKMediaMetadataTypeMovie];


Crash with Shulkerboxtooltip + Moonlight Lib [Quilt 1.19.2]

Latest version of the mod: 2.2.2
Quilt version: 0.17.9-beta1
Minecraft version: 1.19.2
crash-2023-01-22_20.53.21-client.txt

is this the log or is this the crash report?

it seems to work fine on my end


Some students became faculty and should not be treated as students anymore

this file list Julien's students: https://github.com/neuropoly/bibeasy/blob/main/bibeasy/formatting.py
used by bibeasy to format (eg undeline students), however, some students are no more students, yet they still publish with Julien (eg: Eva, Benjamin). So we need to add a logic in bibeasy to account for a date range for the student status.

One possibility is to add the start/end data of each student

For clarification, scripts/student_asterisk_helper.py will remove the asterisk from a student if they are removed from bibeasy.formatting.STUDENTS but do you want the asterisk to remain there between dates the student was a member of the lab?

For clarification, scripts/student_asterisk_helper.py will remove the asterisk from a student if they are removed from bibeasy.formatting.STUDENTS but do you want the asterisk to remain there between dates the student was a member of the lab?

yes exactly. And for this to work, we should not remove students from bibeasy.formatting.STUDENTS, but rather add start/end information


Include Microsoft.AspNetCore.App in the LZMA

Forgot to include the .App metapackage to the LZMA after removing it as a dependency of .All in https://github.com/aspnet/Universe/pull/837. This broke offline scenarios where templates are now using .App as the default metapackage.
cc @DamianEdwards @Eilon as this is required for preview1.

Addresses #848


swc not emit any transformation for 'using' keyword.

Describe the bug
No any transformation for resource management
Input code
using x = a();

Config
{

  "jsc": {
    "parser": {
      "syntax": "typescript",
      "tsx": true,

    },
    "target": "es5",
    "loose": false,
    "minify": {
      "compress": false,
      "mangle": false
    }
  },
  "module": {
    "type": "commonjs"
  },
  "minify": false,
  "isModule": true,
  "experimental": {
    "plugins":["proposal-explicit-resource-management"]
  },

}

Playground link
https://play.swc.rs/?version=1.3.80&code=H4sIAAAAAAAAAystzsxLV6hQsFVI1NC0BgCXu343DgAAAA%3D%3D&config=H4sIAAAAAAAAA1VQzWrDMAy%2B5ymCzg2UjF32DrvuMnYwrhJcbMtICjSUvvvkNU4z44MlfX%2FWvet7u3AVDx%2F93Z5WKLssE3HaW%2B3ABT2xU%2BIvZAmUDQHjeRyH8xvsyMfpqVMcC%2FJBBGTN6m6VpGtB8RyKwqlNVepIecHW6o5y6nhGrWSU940FkUjQepOLstEghRym9ejrKRVGkf%2FACnV5jjv%2FaddtlpDosvwN214sc7U3tUT5KvBCNsddHYJ8Nnr7EeCtIIeEtoT4ki1xmUO2bN9QmAqJi4MhY%2FBBB0tNC3scLKmbsXLhZ%2FPtHr8zRB2tvwEAAA%3D%3D
SWC Info output
No response
Expected behavior
expect to any transformation for resource management.
Actual behavior
just as input code,
using x = a();
Version
1.3.80
Additional context
No response

I tried version 1.3.81. It gives a different error now.
TypeError: Property [Symbol.dispose] is not a function

In this case, I don't have a Symbol.dispose, because I am using the async variant Symbol.asyncDispose.
So there is a bug still.
cc @kdy1

Please file another issue with a repro

Already did. It's #158. But it was closed prematurely. The repro in there is still the same.

Submitted here: #7902.


Storybook works different from production build

Describe the bug
When using <cod-table> with data-stacked="true" attribute set, the design system component works different on storybook vs. production package. Specifically, the component does not properly pass the table-stacked class down the element stack on production.
To Reproduce
Steps to reproduce the behavior:

Check branch demo.issue.134
Open src/html/demo-page-defer.html in browser
Open http://localhost:6006/?path=/story/components-organisms-table--stacked-inline in browser
Resize both to mobile width
Observe they behave differently
Also observe the lifecycle events logged are in different order / frequency

https://github.com/CityOfDetroit/COD-Design-System/assets/143553259/e01cc843-999e-47a8-bce5-9673a0d3a8db
storybook-console-export-2023-12-14_18-32-48.txt
https://github.com/CityOfDetroit/COD-Design-System/assets/143553259/3a976737-7e54-47f2-8517-576d3f36d8d5
demo-console-export-2023-12-14_18-32-48.txt
detroitmi-console-export-2023-12-14_18-32-48.txt
Expected behavior
The table component should work similarly to the styling in storybook. Additionally, lifecycle events should be triggered in the same order / frequency between storybook and production.

Root Cause
The custom elements cod-table, cod-table-body, and cod-table-row are added to the DOM in the following order:

cod-table
cod-table-body
cod-table-row

Those same elements are defined in index.js in the following order:

cod-table-body
cod-table-row
cod-table

This difference in ordering is inconsequential when the script index.js is loaded before the DOM is parsed because the order of events is as follows:

Load the script: define all custom elements (but don't execute constructors, connectedCallbacks, etc. because elements are not yet declared in the DOM).
Parse the DOM: parse tag for cod-table, cod-table-body, cod-table-row (in that order) and call the constructor and connectedCallback at each tag parsed. Thus the order of execution for constructors and connectedCallbacks is cod-table, cod-table-body, cod-table-row and all is well.

However, this difference in DOM parsing order and element definition is consequential when the script is deferred because then the order of the events is as follows:

Parse the DOM: parse tag for cod-table, cod-table-body, cod-table-row (in that order). However, the constructor and connectedCallback at each tag are not called because they are not yet defined. The browser queues an event to call the element constructors and connectedCallbacks when they are defined (i.e. upgraded) later.
Load the script: define custom elements in the order defined in the script which is cod-table-body, cod-table-row, then cod-table and execute constructors and connectedCallbacks at each definition / upgrade (since they are already in the DOM). Thus the order of execution for constructors and connectedCallbacks is cod-table-body, cod-table-row, then cod-table and the table-stacked class fails to propagate all the way to the table row.

Possible Solutions

Change order of definition in the design system source code (e.g. explicitly define main import file with ordered custom element definitions).
Implement reactive properties to handle data propagation down the component stack and re-rendering regardless of the order of component definition.

Resources

https://web.dev/articles/custom-elements-v1#element_upgrades
https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-conformance
https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-reactions
https://javascript.info/slots-composition

A brief summary of the order of events in for a single web components:

Constructor
Attribute observer
Connected callback
Slot change events

A brief summary of the order of events for nested, slotted components:
<parent my-attr="">
  <child>
    <grand-child>
    </grand-child>
  </child>
</parent>

Given all the context in this issue, the only safe way to propagate attribute my-attr all the way to the grand-child and actually react to its propagation, each component must:

Set the attribute on child components in the slot change event. E.g. parent sets my-attr on child during slotchange and child sets my-attr on grand-child during slotchange.
Observe the attribute change on self then do "some work" including setting the attribute on the child component - when child observes my-attr is sets my-class and then sets my-attr on grand-child

This may seem redundant, however, together they guard against various ordering of the element constructors being called which can happen if they are imported in an order different than their nesting and after the DOM is parsed.
(1) handles the case when they are imported in the same order as their nesting. In that case, the slot change event should effectively propagate the attribute to child components.
(2) handles the case when they are imported in a different order than their nesting. In that case, the observe attribute handler continues the chain of propagation instead of the slotchange event.


Flutter: [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: PlatformException

I am new in Flutter.I face a problem about [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: PlatformException.
This is my Debug Console:
Launching lib\main.dart on sdk gphone x86 in debug mode...
lib\main.dart:1
√  Built build\app\outputs\flutter-apk\app-debug.apk.
W/FlutterActivityAndFragmentDelegate(10702): A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps.
Connecting to VM Service at ws://<IP_ADDRESS>:59535/02E90npmd4s=/ws
E/flutter (10702): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: PlatformException(network_error, com.google.android.gms.common.api.ApiExcept
![b5Zek](https://user-images.githubusercontent.com/85623500/143733882-1c592b2a-8bfe-454f-a6e1-143c06942676.png)
ion: 7: , null, null)
E/flutter (10702): #0      StandardMethodCodec.decodeEnvelope
package:flutter/…/services/message_codecs.dart:607
E/flutter (10702): #1      MethodChannel._invokeMethod
package:flutter/…/services/platform_channel.dart:156
E/flutter (10702): <asynchronous suspension>
E/flutter (10702): #2      MethodChannel.invokeMapMethod
package:flutter/…/services/platform_channel.dart:356
E/flutter (10702): <asynchronous suspension>
E/flutter (10702): #3      GoogleSignIn._callMethod
package:google_sign_in/google_sign_in.dart:244
E/flutter (10702): <asynchronous suspension>
E/flutter (10702): #4      GoogleSignIn.signIn.isCanceled (package:google_sign_in/google_sign_in.dart)
E/flutter (10702): <asynchronous suspension>
E/flutter (10702):

Debug Console picture
How do I fix it?

@mycar98765
The exception points to network error which may be indicating that the png is unable to load due to the network connection. Check your network connection or try on another device to see if it works.

I checked my network connection, the network connection is stable.

Thanks, my Flutter project can run successfully now.


add devin, dieter, franklin and joe to contributors

@rowanc1: would you be willing to take a look at this? (I haven't yet figured out how to re-set me dev environment to run the site, haha)

@dccowan, @fwkoch, @prisae, @jcapriot: I linked your github urls to each of your images - if you would prefer a personal site, please feel free to update or just to ping me with the site and I am happy to update