update codecov

The failing tests were due to installing an old version of spatialdata; a minimum requirement is now added (merged from main).


feat(sdk): ask to create project if not existed when uploading

I tried
dx3906:x2y2$ yarn upload --host=test

and then it stuck with uploading


Invoke lambda locally fails

Do you want to request a feature or report a bug?
bug
What is the current behavior?
Calling invoke fails:
$ amplify function invoke TestFunction Get /items
Using service: Lambda, provided by: awscloudformation
? Provide the name of the script file that contains your handler function: index.js
? Provide the name of the handler function to invoke: handler
>> Local Npm module "grunt-aws-lambda" not found. Is it installed?
Warning: Task "lambda_invoke" not found. Use --force to continue.

Aborted due to warnings.

I've tried to install the missing package in both the function and the angular application itelf. Still does not work.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
I've been following the Angular guide to setup a basic application.
What is the expected behavior?
Execute the lambda function locally.
Which versions of Amplify CLI, and which  OS are affected by this issue? Did this work in previous versions?
0.1.13

Hey @jarrettj  , I was able to reproduce the issue and submitted a PR for the same -> https://github.com/aws-amplify/amplify-cli/pull/15/files
I'll close the issue once we this change pushed to npm.

Awesome! Thanks man.

On 24 Aug 2018, at 23:50, Kaustav Ghosh<EMAIL_ADDRESS>wrote:
Hey @jarrettj , I was able to reproduce the issue and submitted a PR for the same -> https://github.com/aws-amplify/amplify-cli/pull/15/files
I'll close the issue once we this change pushed to npm.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

The fix for this has been pushed tp NPM. You can update the CLI and feel free to re-open this issue if you find the fix stil not working.

Hi,
Good day.
Thanks for the push. Fixed this issue, will open a new issue on what happens now.
Regards.


docs: describe default prefix format

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (489d35e) 59.19% compared to head (d9dfa36) 59.19%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1045   +/-   ##
=======================================
  Coverage   59.19%   59.19%
=======================================
  Files          19       19
  Lines        2551     2551
  Branches      912      912
=======================================
  Hits         1510     1510
  Misses        695      695
  Partials      346      346


back up style sebelum explore product mobile version

Signed-off-by: irham<EMAIL_ADDRESS>

merge added 1 file style backup dari fork wiganda94


Can't install anymore -  I think package is failing on netrc library..

have tried on multiple versions of Python3 and cannot install library!!!

I'm sorry, but I haven't looked at this project in a while. The only package it depends on is the requests library. Can you please give some more details such as what versions of python you're trying to run on and/or any error logs.

Hi Scott.  I realize it only requires Requests but I invite you to try to :
Pip install MouseTools.
It keeps hanging. I’ve tried on new machines with no Python installed and ones that had Python that stopped working.   3.6.x 3.8.x. 3.11.1. Nothing works
Get Outlook for iOShttps://aka.ms/o0ukef

From: Scott Caratozzolo @.>
Sent: Friday, December 16, 2022 4:40:54 PM
To: scaratozzolo/MouseTools @.>
Cc: redrockanalytics @.>; Author @.>
Subject: Re: [scaratozzolo/MouseTools] Can't install anymore - I think package is failing on netrc library.. (Issue #12)
I'm sorry, but I haven't looked at this project in a while. The only package it depends on is the requests library. Can you please give some more details such as what versions of python you're trying to run on and/or any error logs.
—
Reply to this email directly, view it on GitHubhttps://github.com/scaratozzolo/MouseTools/issues/12#issuecomment-1355880200, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4ALUJLQDRHN4AJZXM4FY4TWNUDZNANCNFSM6AAAAAATBTQBIA.
You are receiving this because you authored the thread.Message ID: @.***>

My belief when I ran it with -V switch is that it is hanging on netrc. I don’t know why.    I
Get Outlook for iOShttps://aka.ms/o0ukef

From: Michael Tsai @.>
Sent: Friday, December 16, 2022 4:44:13 PM
To: scaratozzolo/MouseTools @.>; scaratozzolo/MouseTools @.>
Cc: Author @.>
Subject: Re: [scaratozzolo/MouseTools] Can't install anymore - I think package is failing on netrc library.. (Issue #12)
Hi Scott.  I realize it only requires Requests but I invite you to try to :
Pip install MouseTools.
It keeps hanging. I’ve tried on new machines with no Python installed and ones that had Python that stopped working.   3.6.x 3.8.x. 3.11.1. Nothing works
Get Outlook for iOShttps://aka.ms/o0ukef

From: Scott Caratozzolo @.>
Sent: Friday, December 16, 2022 4:40:54 PM
To: scaratozzolo/MouseTools @.>
Cc: redrockanalytics @.>; Author @.>
Subject: Re: [scaratozzolo/MouseTools] Can't install anymore - I think package is failing on netrc library.. (Issue #12)
I'm sorry, but I haven't looked at this project in a while. The only package it depends on is the requests library. Can you please give some more details such as what versions of python you're trying to run on and/or any error logs.
—
Reply to this email directly, view it on GitHubhttps://github.com/scaratozzolo/MouseTools/issues/12#issuecomment-1355880200, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4ALUJLQDRHN4AJZXM4FY4TWNUDZNANCNFSM6AAAAAATBTQBIA.
You are receiving this because you authored the thread.Message ID: @.***>

No errors come up. It just hangs.   Try it for yourself.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Michael Tsai @.>
Sent: Friday, December 16, 2022 4:45:54 PM
To: scaratozzolo/MouseTools @.>; scaratozzolo/MouseTools @.>
Cc: Author @.>
Subject: Re: [scaratozzolo/MouseTools] Can't install anymore - I think package is failing on netrc library.. (Issue #12)
My belief when I ran it with -V switch is that it is hanging on netrc. I don’t know why.    I
Get Outlook for iOShttps://aka.ms/o0ukef

From: Michael Tsai @.>
Sent: Friday, December 16, 2022 4:44:13 PM
To: scaratozzolo/MouseTools @.>; scaratozzolo/MouseTools @.>
Cc: Author @.>
Subject: Re: [scaratozzolo/MouseTools] Can't install anymore - I think package is failing on netrc library.. (Issue #12)
Hi Scott.  I realize it only requires Requests but I invite you to try to :
Pip install MouseTools.
It keeps hanging. I’ve tried on new machines with no Python installed and ones that had Python that stopped working.   3.6.x 3.8.x. 3.11.1. Nothing works
Get Outlook for iOShttps://aka.ms/o0ukef

From: Scott Caratozzolo @.>
Sent: Friday, December 16, 2022 4:40:54 PM
To: scaratozzolo/MouseTools @.>
Cc: redrockanalytics @.>; Author @.>
Subject: Re: [scaratozzolo/MouseTools] Can't install anymore - I think package is failing on netrc library.. (Issue #12)
I'm sorry, but I haven't looked at this project in a while. The only package it depends on is the requests library. Can you please give some more details such as what versions of python you're trying to run on and/or any error logs.
—
Reply to this email directly, view it on GitHubhttps://github.com/scaratozzolo/MouseTools/issues/12#issuecomment-1355880200, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4ALUJLQDRHN4AJZXM4FY4TWNUDZNANCNFSM6AAAAAATBTQBIA.
You are receiving this because you authored the thread.Message ID: @.***>


Pypi release of 4.4.1 doesn't match the github release

Looks like the last minute merge of the missing migrations didn't make it into the version pushed to pypi. Could a 4.4.2 version be pushed out to pypi with this fix please?

@aleksihakli @camilonova what tag did you release?

guess the first tag off the branch is what got released should match now.

Version 4.4.2 is now released in PyPI @markddavidoff.
https://pypi.org/project/django-axes/4.4.2/

thanks @aleksihakli


Fix typo

Changes:
Assignemnt → Assignment
erroneusly → erroneously
obfuscating → obscuring
favourably → favorably
Why it’s useful:
Correcting these spelling errors ensures that the documentation is more professional, readable, and aligned with standard English spelling conventions. This improves the user experience and helps maintain the project’s high quality.

@kcharbo3 @gubsheep @fegge @ludns Hey! Could you please review my corrections?
I hope I was able to help in some way. Thank you for your work.

I'm sorry @detrina but I don't have write access to this repository. I suggest you ask the maintainers instead. 🙂


if you cannot log use DevNull Logger

Q
A

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
no

Tests pass?
yes

Fixed tickets
#36

License
MIT

Doc PR

Thanks for the idea and your contribution!
Why not setting parameter "guzzle_bundle.logger.class" directly in project to override the logger class? I think this would also solve the problem. But I still like the idea of providing a "Null" logger.

Because, configuration of bundle has "logging" option, bud this option is not used.
I posted issue https://github.com/8p/GuzzleBundle/issues/36 some time ago, but i can use this in another project. and then, I must create Null logger again...
Why is there "logging" option ? :)

Yes, makes no sense to have a config option that is not used. Let me check that tonight. I have to think about a solution how to handle this. Maybe logger can be deactivated in general by this config.

I've tested to set the logger class to another one by using parameters.yml. It works like a charm.
So I don't understand why it is not working for you 😕

I like the idea of providing a DevNullLogger. The class needs three more functions: clear(), hasMessages(), getMessages(). Unfortunately Logger.php is not using a custom interface. Maybe this can be refactored to make sure that Logger provides all used functions.
README.md should be updated so users know how to change that (using a custom Logger).
The logging option should be removed in Configuration.php cause it is not used, as you mentioned.
Switch statement should not be necessary anymore.

Tell me what you think and if you can change that. I can also do that.

As I mentioned in #36 (nick surikman-git was mine)  - set another logger class by using parameters.yml

guzzle_bundle.logger.class: Tsm\ServerBundle\Service\DevNullGuzzleLogger

This works fine, but it is not user friendly...
I think, that logging option is very useful and I refactored Logger, and use LoggerInterface.

I agree, it is not very user friendly.
So, I think it's good to go. Thanks for the changes and your opinion!

I will create a new version tonight. I want to cleanup some smaller things first.

created v4.6.0: https://github.com/8p/GuzzleBundle/releases/tag/v4.6.0


Added code for Moore's voting algorithm to find majority element in C++

Have you read the Contributing Guidelines on Pull Requests?
YES
Description
Added code for Moore's voting algorithm to find majority element in C++.
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
https://github.com/TesseractCoding/NeoAlgo/issues/2551

Please review.

Code already present here #1730 now reverting this PR.


Refaster: fix expression matching in absence of additional syntactic context

@BeforeTemplate implementations of the form return someParam; are valid
constructs. With these changes such templates behave as expected, such that
someParam only matches expressions of the appropriate type, not references to
the type itself.

Rebased and added a commit to be compatible with the latest changes.

Rebased and resolved conflict. This still is a nice improvement :).

Some context, since one might ask "why would you want to define such a @BeforeTemplate?": by supporting this case, it becomes possible for Refaster to "wrap" all expressions of a given type. This proved useful in the context of Rick's MSc thesis, in which he used Error Prone and Refaster to implement an automated migration from RxJava to Project Reactor. (Shorter paper on the same topic.)
In case there are questions about this, I'm sure that @rickie will gladly answer them. ;)

Rebased.

Rebased.
@cushon I'm curious to hear your thoughts on this PR. Do you have some time to look into this?
This is one of the PRs that we worked on in the context of my thesis as @Stephan202 mentioned in his previous comment.
We now even have a second paper published about this subject. If you have any questions about it, let me know!


IOTPROT-529 support to resolve DNS again

Codecov Report

Merging #30 into master will decrease coverage by 0.14%.
The diff coverage is 83.33%.

@@             Coverage Diff              @@
##             master      #30      +/-   ##
============================================
- Coverage     91.92%   91.78%   -0.15%
+ Complexity     1987     1986       -1
============================================
  Files           114      114
  Lines          4743     4758      +15
  Branches        691      693       +2
============================================
+ Hits           4360     4367       +7
- Misses          217      222       +5
- Partials        166      169       +3

Impacted Files
Coverage Δ
Complexity Δ

.../coap/transport/javassl/SocketClientTransport.java
82.60% <80.00%> (+0.15%)
17.00 <11.00> (+1.00)

...ap/transport/javassl/SSLSocketClientTransport.java
86.36% <100.00%> (+2.15%)
5.00 <2.00> (+1.00)

...ed/coap/transport/udp/DatagramSocketTransport.java
91.54% <0.00%> (-5.64%)
24.00% <0.00%> (-1.00%)

.../mbed/coap/server/internal/TransactionManager.java
96.15% <0.00%> (-1.93%)
28.00% <0.00%> (-1.00%)

...om/mbed/coap/server/internal/TransactionQueue.java
91.13% <0.00%> (-1.27%)
38.00% <0.00%> (-1.00%)

Continue to review full report at Codecov.

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

I will close this. We don't need this for now.


add javascript password generator tutorial

Description
Add a link to a video tutorial to create a js password generator
Motivation and Context
To show a good tutorial video of a vanilla js project
How Has This Been Tested?
I just followed the tutorial and i think its a good learning resource
Types of changes

[ ] Content Update (change which fixes an issue or updates an already existing submission)
[x ] New Article (change which adds functionality)
[ ] Documentation change

Checklist:

[x] My code follows the code style of this project.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have made checks to ensure URLs and other resources are valid

Please mark it as a video.


typecode table should appear right below the identifier page

change mkdocs.yml to
nav:
  - Home: home.md
  - NMDC Schema: index.md
  - NMDC Metadata Standards Documentation: Metadata_Documentation_Overview.md
  - NMDC Schema Validation: schema-validation.md
  - Identifiers in NMDC: identifiers.md
  - Table of Identifier Typecodes for each Class: typecode_table.md
  - MIxS Soil Package: NMDC_MIxS_Soil_documentation.md
  - Credits: credits.md

semi-related: add comment to typecode table about needing criteria for making good typecodes

see also

https://github.com/microbiomedata/nmdc-schema/issues/599


Add basic scoping logic

Currently:

Adds lexical scoping! Only works with variables. this and new.target are not supported in this PR.
Fixes #107
Update expressions work for more things now, i.e this.x++
const is now actually different from let
No more var/let a = () => ... hack, const a = () => ... is still optimized however
Also most scope related behavior is disabled in precompile, mainly for compilation time reasons.

Caveats:

Breaks delete for variables and builtin vars
Slows down compile time by a bit, mainly because of lifting up names (we have to traverse the ast twice).

Also, this is a somewhat broken implementation, but for good reasons in my opinion. For example, take this:
function test() {
  let a = 1;
  return () => a++;
}
let b = test();
b();
test();
b(); // should return 2, returns 1 currently

And well, that's not how that is supposed to work at all, but adding that requires runtime allocation, and binding certain values to functions. I will follow up this PR implementing them both, but I felt that they were somewhat out of scope of this PR.
To do:

[x] Fix some Test262 issues (+0.15 :tada:)
[ ] Make sure precompile works

Still not quite ready to merge, but changes from here will be relatively minor.


Develop

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 3 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.06%) to 78.815%

Totals

Change from base Build<PHONE_NUMBER>:
-0.06%

Covered Lines:
785

Relevant Lines:
996

💛  - Coveralls


HomeActivity OptionsMenu not animated

It's not the right time to get ActionMenuView during onCreate, since the OptionsMenu may not be created .
toolbar.getChildAt(1) doesn't return ActionMenuView, maybe you should find ActionMenuView recursively from Toolbar.
Animate the ActionMenuView during onPrepareOptionsMenu maybe a better choice. With a boolean flag indicates whether ActionMenuView has been animated or not.
Save that boolean flag when onSaveInstanceState and restore them so the menu won't animate after rotate screen.

Thanks for the comments.  There is some dead code in there, previously I was using a Toolbar (without calling setActionBar) which allowed me to animate the items.  I had to remove this as currently there is no way to update the menu contents like you can with onPrepareOptionsMenu which I need to correctly configure the log in/out menu items.
I should probably just remove this code… unless you want to submit a PR with your proposed solution?


fix iframe proxing (top level window uses AMD module loader) (fix #127)

/cc @inikulin @churkin
The test name was checked by @MargaritaLoseva

It has so much insertions/deletions because of reformatting, right?
\r-

It has so much insertions/deletions because of reformatting, right?
Yes

Commit contains fix for unstable test (test/client/fixtures/sandbox/event/focus-blur-change-test.js)
FPR

FRP
/cc @LavrovArtem

Maybe we can wrap this code with attempts into some kind of function in test-utils or smthg like this, so it can be reused later?

Let's discuss it on Monday with @AlexanderMoskovkin and @churkin

ping @AlexanderMoskovkin , @churkin

You can implement this in the before-test.js file or create the test-utils.js file and add it to the CLIENT_TESTS_SETTINGS in the Gulpfile.js.
I suppose we can use this function in the following way:
//the util function
window.checkWithInterval = function (predicate, done, interval, timeout) {
...
}

//test
asyncTest('test', function () {
    function checkSomething () {
        return a === b && c === d;
    }
    function done (success) {
        if(!success)
            ok(false, 'our check are failed');

        start();
    }

    window.checkWithInterval(checkSomethink, done, 100, 1000);
});

As an alternative we can implement some build-in function in the qunit-harness. Something like:
//test
asyncTest('test', function () {
    window.QUnitGlobals.assert(function (ok, notOk, equal, notEqual) {
         ok(someValue);
    }, interval, timeout);
});

In this case qunit-harness can automatically make assertions during timeout and finish the test if assertions successed or timeout expired

@AlexanderMoskovkin What I don't like in current implementation is what we don't use assertions, so it's not clear what checked in the file. The good implementation will be to add attempts parameter to the test and restart test on qunit level if it fails (some kind of quarantine mode but for qunit). I suppose we should modify qunit-harness

Created an issue for the qunit-harness repo: https://github.com/AlexanderMoskovkin/qunit-harness/issues/6

@miherlosev Let's keep things as is right now, but create separate issue for switching tests you modified to the AlexanderMoskovkin/qunit-harness#6 mechanism once it will be ready.

Commit contains only bug fix.
Separate issue for unstable tests - https://github.com/superroma/testcafe-hammerhead/issues/136

FPR

ping @inikulin @churkin

Restore the original parsing-tools.js code format please

lgtm

lgtm


Add prerender and postrender events for Image layer

This pull request brings back render events for ol/layer/Image.
Fixes #9001.

Review question: do we want to do this, or should we make it so the image layer renderer just returns an image with a css transform in renderFrame, instead of drawing to a canvas?


functions without cost

I have a silly question. It seems that your code is calling certain functions in the Core contract without a wallet or sending ethers, e.g. getKitty and getStatus.
Is this the case? And how can this be?
Thanks.

Those are read-only (i.e. constant) functions and require no ether to call. you only require ether for transaction which change the state (update values, remove values or add values).
This is why ethers.js makes a distinction between a signer (like a Wallet) and a mere provider.

Ahh. Thank you!


ec2stepshell: init at unstable-2023-04-07

Description of changes
AWS post-exploitation tool"
https://github.com/saw-your-packet/EC2StepShell
Related to https://github.com/NixOS/nixpkgs/issues/81418

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

2 packages built:

ec2stepshell
ec2stepshell.dist


[Bug]: Import Error for Settings

Bug Description
Import Error for Settings
ImportError: cannot import name 'Settings' from partially initialized module 'llama_index.core.settings' (most likely due to a circular import)
Version
0.10.1
Steps to Reproduce
Import Error for settings
The current documentation refers the settings import as:
from llama_index.core import Settings but since the version 0.10.1 the file seem to have been renamed.
I tried the import as :
from llama_index.core import settings and then tried setting the value for embed model as:
settings._Settings.embed_model = HuggingFaceEmbedding(     model_name="BAAI/bge-small-en-v1.5" )
but it seems to fail at the import.
Relevant Logs/Tracbacks
This is the complete stack track if it helps:
File "/Users/rahulprajapati/VSCode/ProtoSearchBackend/ragDemoApp.py", line 2, in <module>     from DocCore.picore import DocCore File "/Users/rahulprajapati/VSCode/ProtoSearchBackend/DocCore/picore.py", line 29, in <module>     from llama_index.core import settings File "/Users/rahulprajapati/anaconda3/envs/supaBaseProto/lib/python3.10/site-packages/llama_index/core/settings.py", line 11, in <module>     from llama_index.core.indices.prompt_helper import PromptHelper File "/Users/rahulprajapati/anaconda3/envs/supaBaseProto/lib/python3.10/site-packages/llama_index/core/indices/__init__.py", line 4, in <module>     from llama_index.core.indices.composability.graph import ComposableGraph File "/Users/rahulprajapati/anaconda3/envs/supaBaseProto/lib/python3.10/site-packages/llama_index/core/indices/composability/__init__.py", line 4, in <module>     from llama_index.core.indices.composability.graph import ComposableGraph File "/Users/rahulprajapati/anaconda3/envs/supaBaseProto/lib/python3.10/site-packages/llama_index/core/indices/composability/graph.py", line 7, in <module>     from llama_index.core.indices.base import BaseIndex File "/Users/rahulprajapati/anaconda3/envs/supaBaseProto/lib/python3.10/site-packages/llama_index/core/indices/base.py", line 8, in <module>     from llama_index.core.base.base_retriever import BaseRetriever File "/Users/rahulprajapati/anaconda3/envs/supaBaseProto/lib/python3.10/site-packages/llama_index/core/base/base_retriever.py", line 30, in <module>     from llama_index.core.settings import Settings
No response

from llama_index.core import Settings
this would not work because the settings.py seems to have been changed and would cause another import error

Try this:
from llama_index.core import Settings
from llama_index.llms.openai import OpenAI

Settings.llm = OpenAI()

from llama_index.core import Settings
this would not work because the settings.py seems to have been changed and would cause another import error

Try creating a fresh env or do this:
pip3 uninstall llama-index
pip3 install llama-index --upgrade --no-cache-dir --force-reinstall

@anoopshrma This seems to work fine. Closing the issue

How to resolve this issue? "ImportError: cannot import name 'BasePromptTemplate' from partially initialized module 'llama_index.core.prompts' (most likely due to a circular import)"? Which one of the above works?


connection issue

Hi when we create a script in php file as example below we get exceptions of connection
require "predis/autoload.php";
Predis\Autoloader::register();
$client = new Predis\Client(array(
'scheme'   => 'tcp',
'host'     => '<IP_ADDRESS>',
'port'     => 6379
));
echo ($client->exists('message')) ? "test" : "dummy data";
Fatal error: Uncaught Predis\Connection\ConnectionException: Connection refused [tcp://<IP_ADDRESS>:6379] in /opt/lampp/htdocs/get/predis/src/Connection/AbstractConnection.php:155 Stack trace: #0 /opt/lampp/htdocs/get/predis/src/Connection/StreamConnection.php(128): Predis\Connection\AbstractConnection->onConnectionError('Connection refu...', 111) #1 /opt/lampp/htdocs/get/predis/src/Connection/StreamConnection.php(178): Predis\Connection\StreamConnection->createStreamSocket(Object(Predis\Connection\Parameters), 'tcp://<IP_ADDRESS>...', 4) #2 /opt/lampp/htdocs/get/predis/src/Connection/StreamConnection.php(100): Predis\Connection\StreamConnection->tcpStreamInitializer(Object(Predis\Connection\Parameters)) #3 /opt/lampp/htdocs/get/predis/src/Connection/AbstractConnection.php(81): Predis\Connection\StreamConnection->createResource() #4 /opt/lampp/htdocs/get/predis/src/Connection/StreamConnection.php(258): Predis\Connection\AbstractConnection->connect() #5 /opt/lampp/htdocs/get/predis/src/Connection/AbstractConnection.php(180): Pre in /opt/lampp/htdocs/get/predis/src/Connection/AbstractConnection.php on line 155
Can you resolve this problem please ?This exception occur when we use redis commands like set,get,exist etc

If you get a "connection refused" error it means redis is not running on the local computer or it's not listening on <IP_ADDRESS>:6379. Predis by default uses lazy connections so it tries to initialize the connection only on the first command, that's why you get the error when doing $client->exists() or any other Redis command.

Here is solution: https://rapidsol.blogspot.com/2018/10/php-fatal-error-uncaught.html


commit 可能存在的超时问题

Your issue may already be reported! Please search on the issue track before creating one.
What version of Go are you using (go version)?
go1.12.7
Which database and its version are you using?
mysql
Please provide a complete runnable program to reproduce your issue. IMPORTANT
when I use tx.Commit() to commit a transaction, I got a error. From client side, I may regard this error as a commit failure. But when I look at the database, I find commit action is executed and the data is inserted into tables.
I believe the commit is executed successfully, but due to connection timeout(or sth else), client may get an Error. Is my analyze reasonable? Or how can I deal with this problem?
Thanks!

这是典型的两军问题，理论上的答案就是无解。但是可以考虑增加其他检测数据的手段。
因为TCP在多种内核的协议栈的实现都是异步的，没有确认送达的机制，及时有确认送达，也保证不了db与client之间打成commit的共识。

My solution is to increase connection timeout based on statistics. Anyway
thanks for your answer.
On Mon, Nov 4, 2019 at 12:26 PM lrita<EMAIL_ADDRESS>wrote:

这是典型的两军问题 https://en.wikipedia.org/wiki/Two_Generals'_Problem
，理论上的答案就是无解。但是可以考虑增加其他检测数据的手段。
因为TCP在多种内核的协议栈的实现都是异步的，没有确认送达的机制，及时有确认送达，也保证不了db与client之间打成commit的共识。
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jinzhu/gorm/issues/2699?email_source=notifications&email_token=AHBNEZ67OXOQXRVB44F3BEDQR6P7LA5CNFSM4JAKH2SKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC6HKJA#issuecomment-549221668,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHBNEZ5JNHLTGAVRRLRJMYLQR6P7LANCNFSM4JAKH2SA
.

--
梁育诚
Leungyukshing
Senior Student | 学生
School of Data and Computer Science | 数据科学与计算机学院
Sun Yat-sun University | 中山大学·广州·中国
There is no excuse for not trying.
Work Email<EMAIL_ADDRESS>| Mobile: +86 185-6504-3306
<%2B86%20155-2122-6599>
WhatsApp: +86<PHONE_NUMBER>6 <%2B86%2015521226599> | WeChat:<PHONE_NUMBER>
Skype: Jacky Liang | Personal Blog: w https://leungyukshing.github.io/
ww.leungyukshing.cn


Remove ipywidgets recipe, take 2

Since ipywidgets 7.8.0 and 8.1.0 it does not require ipykernel anymore and the dependency is replaced by the noarch comm module, we don't need a patched ipywidgets in recipes anymore

Looking good with a new jupyterlite build using ipywidgets 8.1.0:


Increase wait time for docker container startup

Motivation and Context
The acceptance tests haven't built in Travis successfully since October 29th 2018. This poses problems when wanting to check that any changes to the acceptance tests haven't broken the CI/CD pipeline, before approving a pull request.
What has changed
Increased the wait time for the docker container startup from 15 minutes to 20 minutes.
How to test?
Travis will test it.
Links
Trello: https://trello.com/c/Tgp6CdgE/609-bug-acceptance-tests-dont-build-in-travis

Spoke with @NickGrantONS - we're gonna close this one


Add snooze/ignore/archive buttons to each task

So I can snooze/ignore/archive a task with one click instead of two (select, click a button), it would be nice to have a snooze/ignore/archive button on each task list item. Could use an icon/emoji to represent each action.
😴 = snooze
📥 = archive
❌ = ignore

I think this would get a little unwieldy. I think adding #39 instead will be sufficient.


Bug when installing with Node 8

What are you trying to achieve?
I am trying to install codeceptjs using node v8.1.2.
I tried with node 7 on the same machine and worked fine.
What do you get instead?
› npm install --save codeceptjs-webdriverio
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EINTEGRITY: sha1-wZyd+aAocC1nhhI4SmVSQExjbRU= integrity checksum failed when using sha1: wanted sha1-wZyd+aAocC1nhhI4SmVSQExjbRU= but got sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==. (15621 bytes)
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.

npm ERR! path /Users/tx/code/d2d/end-to-end/codecept/node_modules/codeceptjs-webdriverio/node_modules/.bin/codeceptjs
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/tx/code/d2d/end-to-end/codecept/node_modules/codeceptjs-webdriverio/node_modules/.bin/codeceptjs'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR!      /Users/tx/.npm/_logs/2017-06-29T20_17_43_747Z-debug.log```

### Details

* CodeceptJS version: latest
* NodeJS Version: 8.1.2
* Operating System: MacOS 10.12.4
* Protractor || WebDriverIO || Nightmare version (if related)
* Configuration file:

You are installing the metapackage with codecept and webdriverio. Try npm  i codeceptjs --save instead

🤔 But why running that npm install --save codeceptjs-webdriverio with node 7 works?

I have the same error
$ npm version
{ 'developer.laposte.fr': '1.5.0',
  npm: '5.0.4',
  ares: '1.10.1-DEV',
  cldr: '31.0.1',
  http_parser: '2.7.0',
  icu: '59.1',
  modules: '57',
  node: '8.1.2',
  openssl: '1.0.2l',
  tz: '2017b',
  unicode: '9.0',
  uv: '1.12.0',
  v8: '5.8.283.41',
  zlib: '1.2.11' }
$ uname -a
Linux mbpr 4.11.6-201.fc25.x86_64 #1 SMP Tue Jun 20 20:21:11 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

I've run into the same issue

Hi,
I've probably found solution. Remove codeceptjs-webdriverio. Install codeceptjs and webdriverio separately.

Thanks for the report. Sorry for the issue, I didn't test this on latest NPMs.
All meta packages are now updated, so you can install them on


Issue1 flexible amount options

Codecov Report

Merging #9 (3f56895) into main (a9d2b8b) will increase coverage by 0.16%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main       #9      +/-   ##
==========================================
+ Coverage   99.73%   99.90%   +0.16%
==========================================
  Files          57       58       +1
  Lines        3063     3275     +212
==========================================
+ Hits         3055     3272     +217
+ Misses          8        3       -5

Impacted Files
Coverage Δ

ScenarioGUI/gui_classes/gui_data_storage.py
100.00% <ø> (ø)

...GUI/gui_classes/gui_structure_classes/float_box.py
100.00% <ø> (ø)

...ioGUI/gui_classes/gui_structure_classes/int_box.py
100.00% <ø> (ø)

...I/gui_classes/gui_structure_classes/result_text.py
100.00% <ø> (ø)

...oGUI/gui_classes/gui_structure_classes/text_box.py
100.00% <ø> (ø)

ScenarioGUI/translation_csv_to_py.py
100.00% <ø> (ø)

ScenarioGUI/global_settings.py
100.00% <100.00%> (ø)

ScenarioGUI/gui_classes/gui_calculation_thread.py
100.00% <100.00%> (ø)

ScenarioGUI/gui_classes/gui_combine_window.py
100.00% <100.00%> (ø)

...oGUI/gui_classes/gui_structure_classes/__init__.py
100.00% <100.00%> (ø)

... and 8 more

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


"Could not connect to homeserver" error after login

After login in to my homeserver I keep getting this error along with "Profile was not found". I cant see any of the rooms I have created or people in my server.
Any ideas whats going on? Are there any app logs I can provide?

This error was related to this: https://github.com/vector-im/riot-web/issues/10175
After inserting the users into the profiles table everything started working again.


How can I include/call/execute this from my program?

I'm making a Python program to automatize the download of ebooks for me. I'd like to use this program for the part of actually downloading the ebook. How can I include/call/execute this from my program?
What I'm doing now is calling os.system("libgen -s <isbn> -n") somewhere in my program (what it does is executing that string as a Unix command). I think I can implement this in a better way, right?

Hi. This project was created with an executable format in mind.
I would suggest looking at pylibgen if you want a library for libgen.


vm.hide() in dialog service won't work

I'm submitting a ...

[ ] bug report
[ ] feature request
[ ] support request
[ ] other (Please specify)

Provide information & explanation

Got code samples?
Make sure to use 3 backticks (and javascript or php after it to show your code) More info
Also make sure to click on the Preview button to double check your code formatting

Laravel & Angular version: 3.2.0

amm some info?

Yes please provide some info

I think this is a duplicate of https://github.com/jadjoubran/laravel5-angular-material-starter/issues/289
Feel free to re-open if you have another issue 😄


correct output description - only one task is running on manager

Change description of output to clarify that there's only one task on manager node.
Signed-off-by: Charles Smith<EMAIL_ADDRESS>

LGTM


Consolidating documentation markdown links between GH dev view and EF eclipse-pass.org/main view

Our documentation is run through Main.
https://github.com/eclipse-pass/main/tree/main/docs

When references between pages, absolutes paths work great for GitHub.com/eclipse-pass/main view but that will not work as expected in eclipse-pass.org/main view.
Let's (as best we can) make both documentation views support links and images properly.

An experiment showed that relative paths works great
https://github.com/eclipse-pass/main/pull/444
The main page
https://eclipse-pass.org/main
Can correctly link into
https://eclipse-pass.org/main/docs/dev/

Here is the fuller PR under review is
https://github.com/eclipse-pass/main/pull/446

moving documentation to Gitbook, no longer relevant


How to handle label in a sequence labeling task

In the WordPiece tokenization, one word may be divided into multiple sub-word. But, how should we handle the  lalel ？

In the WordPiece tokenization, one word may be divided into multiple sub-word. But, how should we handle the lalel ？
The new part will be represented by a special label at the corresponding label location.
For example, I use a special flag ‘X’:
['Nadim', 'Ladki', 'AL-AIN', ','] -----> ['Nadim', 'Ladki', 'AL', '-', '[UNK]', ',']
['B-PER', 'I-PER', 'B-LOC', 'O'] ------> ['B-PER', 'I-PER', 'B-LOC', 'X', 'X', 'O']


Add source code from the demo 'http://airbnb.io/react-dates/' to the examples

I've been struggling a bit with the provided documentation and the given two examples.
I couldn't find any other useful documentation on this and I was hoping that there was a way to open up the code you have in the demo from http://airbnb.io/react-dates/
This would help me out so much and I'm sure it would beef up the examples library as well.

Hi @crankycookie, the documentation def needs some love so this makes sense! You can find each of the stories from the demo for the relevant components in https://github.com/airbnb/react-dates/tree/master/stories.
Basically the props there get passed straight down to the example files in https://github.com/airbnb/react-dates/tree/master/examples.
There are some useful plugins that we should add the the storybook demo so as to just have the source code right there.

Oh nice, I didn't notice that. This will be helpful!
Thanks!


Feature/seab 2080/dockstore username reuse

https://ucsc-cgl.atlassian.net/browse/SEAB-2080
This PR:

creates a table to track the usernames of deleted accounts.
Trying to sign up again with the same google or github user will append a number
Can't change a username to a deleted one unless it's older than 3 years.

Thinking about Denis' comment on how he was expecting a tombstone approach
It's worth the discussion at least, I haven't thought through pros and cons, was just expectation

Could end up with duplicate usernames in enduser table and have to deal with that, constraints-wise.

Don't feel too bad if we just straight up disallow re-use

Thinking about Denis' comment on how he was expecting a tombstone approach
It's worth the discussion at least, I haven't thought through pros and cons, was just expectation

Could end up with duplicate usernames in enduser table and have to deal with that, constraints-wise.

Don't feel too bad if we just straight up disallow re-use


Fixes issue #23

This PR fixes the issue by replacing the screenshots with the following code-

also, changed the sample code template with-

Apologies! the following changes have been made as per the instructions, kindly have a look.

Line 13 & 23 respectively:

Thanks a million @imkritigupta! And congrats on your successful contribution!


Don't log pointless errors about ACME private-key certs

ACME private-key secrets are not TLS secrets, and they're not supposed to be, so we shouldn't
log errors about them not being	TLS secrets.
The test case here loads a snapshot from a cluster where I ran ACME and	requires that we get
no errors. The certs in	question have been replaced with self-signed certs, though.

Don't throw errors because ACME private-key secrets aren't TLS secrets. They're not supposed to be.

Unit test for ACME private-key secrets

Release notes

[x] I made sure to update CHANGELOG.md.

[x] This is unlikely to impact how Ambassador performs at scale.

[x] My change is adequately tested.

[x] I didn't need to update DEVELOPING.md... yet.

Nitpick: We usually don't put periods at the end of the commit subject line. You did in e5c59070dc46267df16e205a41e7d1ad0ad4f2ee


Fix strongbox-web-ui installation under windows

Task Description
The strongbox/strongbox-web-ui project has a patch-antlr4 script which currently only works on Linux/Unix because of the replace path style. We need to improve this so that it works on Windows as well.
Tasks
The following tasks will need to be carried out:

[ ] Create a tools folder in the strongbox-web-ui root path.
[ ] Move update-webdriver.js into tools and change all references in the `package.json
[ ] Create a ./tools/antlr4-patch.js javascript which is using replace-in-file to replace the occurrences of var fs.* to var fs = false; in the files node_modules/antlr4/FileStream.js and node_modules/antlr4/CharStreams.js
[ ] Replace the current patch-antlr4 script in the package.json so it runs node ./tools/antlr4-patch.js

Help

Our chat
Points of contact:

@carlspring
@steve-todorov

As mentioned in the chat, can I be assigned to this task?

Sure - feel free to pick it up! :)

Successfully tested a solution for this following the steps above in both Windows and Linux environments. Will create a pull request after handling the ICLA some time this weekend :)

Excellent! Thank you! I'm looking forward to your pull request and signed ICLA.


Display subsequent simple product photos in gallery on configurable

@pkarw please be more specific here

For configurable products we do have separate pictures for each variant (for example blue tee or red one etc) - we can display the subsequent pictures in kind of gallery or slider
How it should look like?
We can also synchronize product media (more than 1 picture assigned to the product) - so basically we can asume we have product galleries

Maybe we can go with a simpler design without the typical gallery like Nike did in their new store.

@karolbzik I would love to implement media sync and close the gallery feature; are you willing to provide some designs?

@pkarw it's ready
Gallery on mobile, visible after clicking zoom icon / photo

Gallery on desktop, visible after clicking zoom icon / photo

Zoom button on mobile

Mouseover on product's photo on desktop

Product card with zoom icon

All designs are available here - https://www.figma.com/file/VKyqbHFI55TKIKcQlFLiVpVF/Vue-Storefront under the names:

Product card (including mouse over and mouse away the image)
Product card on mobile
Product card with zoomed photo
Product card with zoomed photo on mobile

Important issues:

Distance between photos in zoomed photos view = 30px

Try to use existing components eg. closing icon can be the same as used in login pop-up, photos could be taken from product's box component

On product card, while browsing via desktop when a mouse is over the photo = we should show arrows, arrows are not shown when a mouse is away;

As a Customer I should be able to browse photos on mobile by swiping left/right

Zoom photo icon should be positioned 20px from left and down of the photo

Assign me please to test this feature after it's done.

@nuovecode I'm merging this in but there is just one bug with the zoom on mobile: https://www.dropbox.com/s/ii2b7tn8si5w6pw/Screenshot 2018-04-02 16.19.17.png?dl=0


Research an upgrade to CodeMirror 6

There are still a bunch of bugs in CodeMirror 5 that affect various mobile browsers - see Datasette Discord report here: https://discord.com/channels/823971286308356157/823971286941302908/1013878624992108645
https://user-images.githubusercontent.com/9599/187349269-7b7c0c8c-3894-4810-82f0-de7c1eb940b3.mp4

I wrote upgrade instructions for CodeMirror here: https://docs.datasette.io/en/0.62/contributing.html#upgrading-codemirror
See also:

#948

But... those instructions don't work any more, because they start with downloading the CodeMirror zip - but according to https://codemirror.net/docs/migration/

The 5.x library was distributed as UMD modules, which could either be loaded directly with

Also relevant: Wikimedia are upgrading to CodeMirror 6 partly because of improved mobile support: https://phabricator.wikimedia.org/T259059

I wonder if CodeMirror 6 would be a good time to revisit this:

#1614

@simonw is this issue closed by #1893?


Is there a way to ask Spanner for all columns using table.read?

It seems that using table.read({keySet: {all: true}}) will give me all of the keys in my table, which is equivalent to saying SELECT columns_i_specified FROM table, but is there a way to say "Give me all columns" ? That's the equivalent of SELECT * FROM table?
I tried using columns: {all: true} which did not work, nor did leaving out the columns field entirely.
It feels like table.read() with undefined values for columns and keys should be the equivalent of SELECT * FROM table... no? That is:
SELECT * FROM table would be the same as...
table.read();

Today this is not possible.
SELECT * FROM table WHERE id IN ('1', '2', '3') would be the same as...
table.read({keys: ['1', '2', '3']});

SELECT a, b FROM table would be the same as...
table.read({columns: ['a', 'b']});

Today this is possible but looks like....
table.read({columns: ['a', 'b'], keySet: {all: true}});

SELECT a, b FROM table WHERE id IN ('1', '2', '3') would be the same as...
table.read({columns: ['a', 'b'], keys: ['1', '2', '3']});

Currently there is no way in the cloud spanner api to express this. You have to explicitly enumerate all the columns that you want to read.

My understanding from working on the Python library is that this is a backend restriction. @vkedia seems to be confirming this. Closing as such.


Update Composer dependencies (2021-07-22-00-13)

Visual regression test passed!
View the visual regression test report


Calling the GET /v1/transport does not returns the response

curl --location --request GET 'https://stage-tdexd.sevenlabs.ninja/v1/transport' \
--header 'Content-Type: application/json' \
--data-raw '{}'

How the daemon is served? interfaces on different ports or same port?
We have some bugs to fix for both cases:

different port, the transport handler is registered on the operator interface for which we don't want to support grpc gateway. It must be registered on the trade one instead.
same port, we are missing to register the transport handler on the grpc gateway to let it proxy its RPCs


Pricing not available

The sentence "The pricing for CluedIn is open and transparent. You can see the pricing on their website." does not seem to be correct. Pricing is not indicated on the website.

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

ID: 278e83ef-9b90-cb2d-9ff6-0dd8f5ff1b87
Version Independent ID: 7e63fe30-9080-9207-ad0f-62263379de0c
Content: Master data management with Azure and CluedIn - Azure Architectures
Content Source: docs/reference-architectures/data/cluedin.yml
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @EdPrice-MSFT
Microsoft Alias: Oliver.Kaae

@algattik
Thanks for your feedback! We have assigned the issue to author and will provide further updates.

PR was merged
#please-close


Error on Macbook M1

Hello,
Enviroment:
System: Macbook Pro M1 Max 64G
Base OS: Sonoma
Conda: 23.9.0
I've cloned the repo, create the virtual env using conda, installed all the requirements without error, but when trying to run the generate script I receive the error bellow:
❯ python generate.py --base_model=TheBloke/zephyr-7B-beta-GGUF --prompt_type=zephyr --max_seq_len=4096
soundfile, librosa, and wavio not installed, disabling STT
soundfile, librosa, and wavio not installed, disabling TTS
Using Model llama
Traceback (most recent call last):
  File "/Users/kapenge/Laboratories/coding/_ai/frameworks/h2ogpt/generate.py", line 16, in <module>
    entrypoint_main()
  File "/Users/kapenge/Laboratories/coding/_ai/frameworks/h2ogpt/generate.py", line 12, in entrypoint_main
    H2O_Fire(main)
  File "/Users/kapenge/Laboratories/coding/_ai/frameworks/h2ogpt/src/utils.py", line 65, in H2O_Fire
    fire.Fire(component=component, command=args)
  File "/Users/kapenge/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
  File "/Users/kapenge/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/fire/core.py", line 475, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
  File "/Users/kapenge/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
  File "/Users/kapenge/Laboratories/coding/_ai/frameworks/h2ogpt/src/gen.py", line 1620, in main
    from src.gpt_langchain import get_embedding
  File "/Users/kapenge/Laboratories/coding/_ai/frameworks/h2ogpt/src/gpt_langchain.py", line 34, in <module>
    from langchain.callbacks import streaming_stdout
  File "/Users/kapenge/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/langchain/callbacks/__init__.py", line 10, in <module>
    from langchain_community.callbacks.aim_callback import AimCallbackHandler
  File "/Users/kapenge/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/langchain_community/callbacks/__init__.py", line 24, in <module>
    from langchain_community.callbacks.manager import (
  File "/Users/kapenge/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/langchain_community/callbacks/manager.py", line 14, in <module>
    from langchain_community.callbacks.tracers.wandb import WandbTracer
  File "/Users/kapenge/miniconda3/envs/h2ogpt/lib/python3.10/site-packages/langchain_community/callbacks/tracers/__init__.py", line 4, in <module>
    from langchain_core.tracers.langchain_v1 import LangChainTracerV1
ModuleNotFoundError: No module named 'langchain_core.tracers.langchain_v1'

Please, need some hint.

Same error on Win 10.

Same error on Win11, just made a post about it.
Is there something in the current version (I did a git clone just today) that is doing this? Should we pull an older version?
Apologies for the duplicate post, I didn't think the MAC in the headline applied to me, but reading this now, I see it's common.
https://github.com/h2oai/h2ogpt/issues/1260
Thanks

5674a758c6c529bc0c6bdb0f9ca4a47c9c6b74af
But from langchain, had to pin to work around their mistake.  Fixed in above commit.

If you already have env, this should fix:
pip install langchain==0.0.354 langchain_experimental==0.0.47 langchain-community==0.0.8 langsmith==0.0.77 langchain-core==0.1.6


CI/CD is broken in this repo

The CircleCI test logs show clear failures, but the build is still green.
e.g., https://github.com/open-telemetry/otel-arrow/pull/136
and https://github.com/open-telemetry/otel-arrow/actions/runs/7548231413/job/20549866248?pr=136

Fixed


Investigate autolinking possibilities

Expo documentation points to the possibility for the @shopify/react-native-skia package to be autolinked to a consuming project, meaning that we might get away by installing it as a dependency to react-native-skia-draw instead of having the consuming application install skia on its own (peerDep.).
Investigate this further.

Moving this out of milestone react native skia draw 0.1.0

Issues related to this should have been fixed by the latest Expo 49 update: https://blog.expo.dev/expo-sdk-49-c6d398cdf740


chore: update dependency

resolve https://github.com/open-feature/docs.openfeature.dev/issues/228

cc @beeme1mr
i agree wish https://github.com/open-feature/docs.openfeature.dev/pull/224#issuecomment-1358126481
but this is my small contribution to the project

I appreciate the help! I'll review and merge this tomorrow.

@Arhell is this ready for review? It's currently marked as a draft.

@beeme1mr done


hardhat_setBalance on contracts is reverting with  "Contract with code hash 0x... does not exist"

Version of Hardhat
2.21.0
What happened?
Hi, I have an old repo which was recently updated to hardhat >= 2.17.3 as I needed to have shanghai evm version (currently at 2.21.0) and I'm running a script in eth mainnet fork.
Everything seems to be working fine except for hardhat_setBalance which is now constantly halting script execution.
I've tried many different versions >= 2.17.3 but it always reverts on the hardhat_setBalance
This is the trace using loggingEnabled: true:
hardhat_setBalance [THIS IS IN RED]

  Contract with code hash `0xaea7d4252f6245f301e540cfbee27d3a88de543af8e49c5c62405d5499fab7e5` does not exist.

An unexpected error occurred:

ProviderError: Contract with code hash `0xaea7d4252f6245f301e540cfbee27d3a88de543af8e49c5c62405d5499fab7e5` does not exist.
    at EdrProviderWrapper.request (/idle/idle-proposals/node_modules/hardhat/src/internal/hardhat-network/provider/provider.ts:424:19)
    at SimpleTaskDefinition.action (/idle/idle-proposals/scripts/execute-proposal-or-simulate.ts:19:7)
    at Environment._runTaskDefinition (/idle/idle-proposals/node_modules/hardhat/src/internal/core/runtime-environment.ts:359:14)
    at Environment.run (/idle/idle-proposals/node_modules/hardhat/src/internal/core/runtime-environment.ts:192:14)
    at SimpleTaskDefinition.action (/idle/idle-proposals/scripts/iip-39.ts:113:3)
    at Environment._runTaskDefinition (/idle/idle-proposals/node_modules/hardhat/src/internal/core/runtime-environment.ts:359:14)
    at Environment.run (/idle/idle-proposals/node_modules/hardhat/src/internal/core/runtime-environment.ts:192:14)
    at main (/idle/idle-proposals/node_modules/hardhat/src/internal/cli/cli.ts:323:7)

I'm not sure why ProviderError: Contract with code hash `0xaea7d4252f6245f301e540cfbee27d3a88de543af8e49c5c62405d5499fab7e5` does not exist. is even thrown honestly. If I use other methods to set the balance (eg transfer funds from another address) it works as expected.
Minimal reproduction steps

clone https://github.com/Idle-Finance/idle-proposals/pull/22
npx hardhat iip-39 (ALCHEMY_API_KEY needs to be set in the env)
script will halt here https://github.com/Idle-Finance/idle-proposals/blob/main/scripts/execute-proposal-or-simulate.ts#L21

Search terms
No response

That's great that this is already fixed! Is there a specific hardhat version that includes this fix?

We just released EDR version 0.3.2. As it's a patch version release, if you upgrade locally, Hardhat should bump the version of EDR for you.


Double underscore in parameter names

Double underscores in parameter names get replaced with single underscores. This didn't happen before. The change was introduced somewhere between https://github.com/KhronosGroup/SPIRV-Cross/commit/eb0f0323d3b8b364e51071c0beafcc3d4a18c410 and https://github.com/KhronosGroup/SPIRV-Cross/commit/8891bd35120ca91c252a66ccfdc3f9a9d03c70cd. I can pinpoint the exact commit if needed.
Is this intentional? I'm compiling SPIRV to GLSL.

Double underscores are illegal in GLSL, so this is expected, and SPIRV-Cross must clean up such identifiers. There was a refactoring commit recently which would have fixed this.

Thanks for the clarification.


Add unit tests.

Framework: Check
http://check.sourceforge.net/

Would be especially (or maybe only) useful for CircularBuffer.

STM32 board and its firmware will be replaced by dedicated data acquisition module.


XCGLogger will not be code signed because its settings don't specify a development team

Found this warning in one failed build log, not related to failed build. Just wanted to report in case you might be able to fix it.
Temporary work-around found from http://stackoverflow.com/q/39485577/113079

This is a normal Xcode thing, you need to ensure your build process signs all frameworks that you include. There are a few different ways of handling this, but it's handled on your project, not the framework.


[Aggregate-reports] Secure Supply Chain Analysis failing in nightly runs

Aggregate-reports nightly test runs are failing with:

Error message:
Telemetry ID: 16ce116e-fd8b-4aea-9d6c-90167130f28e
For more information please visit: https://aka.ms/nugetsecurityanalysis
Starting Multifeed Nuget Security Analysis:
Starting Multifeed Python Security Analysis:
Starting CFS NuGet Analysis:
Starting CFS NPM Analysis:
common/config/rush/.npmrc - External feeds found in the file.
Starting DockerFile Analysis:
sdk/identity/identity/test/manual-integration/Kubernetes/Dockerfile - Container usage from external registry 'docker.io' found.
sdk/identity/identity/test/manual-integration/Kubernetes/Dockerfile - Container usage from external registry 'docker.io' found.
sdk/identity/identity/test/manual-integration/Kubernetes/Dockerfile - Container usage from external registry 'docker.io' found.
sdk/identity/identity/test/manual-integration/Kubernetes/Dockerfile - Container usage from external registry 'docker.io' found.
sdk/identity/identity/test/manual-integration/Kubernetes/Dockerfile - Container usage from external registry 'docker.io' found.
sdk/servicebus/service-bus/test/stress/Dockerfile - Container usage from external registry 'docker.io' found.
Azure Artifacts Configuration Analysis found 1 vulnerable NPM package manifest in the repository. Visit http://aka.ms/azure-artifacts-configuration-analysis for more details.
##[warning]Container security analysis found 2 violations. This repo has one or more docker files having references to images from external registries. Please review https://aka.ms/containers-security-guidance to remove the reference of container images from external registries. Please reach out via teams (https://aka.ms/cssc-teams) or email<EMAIL_ADDRESS>for any questions or clarifications.
Finishing: Secure Supply Chain Analysis (auto-injected by policy)

For more details check here:

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1606374&view=results

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Azure.Identity:0.45412168,Container Registry:0.18195026,Azure.Core:0.12866394'

This should be addressed now.


Error while importing OpenSSL

I am working with OpenSSL on MacBook and have issue importing the library.
I installed it using conda. conda install -c anaconda openssl
 ---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Input In [84], in <cell line: 1>()
----> 1 from OpenSSL import crypto, SSL

File ~/opt/anaconda3/envs/myenv/lib/python3.10/site-packages/OpenSSL/__init__.py:8, in <module>
      1 # Copyright (C) AB Strakt
      2 # See LICENSE for details.
      4 """
      5 pyOpenSSL - A simple wrapper around the OpenSSL library
      6 """
----> 8 from OpenSSL import crypto, SSL
      9 from OpenSSL.version import (
     10     __author__,
     11     __copyright__,
   (...)
     17     __version__,
     18 )
     21 __all__ = [
     22     "SSL",
     23     "crypto",
   (...)
     31     "__version__",
     32 ]

File ~/opt/anaconda3/envs/myenv/lib/python3.10/site-packages/OpenSSL/crypto.py:11, in <module>
      8 from cryptography import utils, x509
      9 from cryptography.hazmat.primitives.asymmetric import dsa, rsa
---> 11 from OpenSSL._util import (
     12     ffi as _ffi,
     13     lib as _lib,
     14     exception_from_error_queue as _exception_from_error_queue,
     15     byte_string as _byte_string,
     16     path_bytes as _path_bytes,
     17     UNSPECIFIED as _UNSPECIFIED,
     18     text_to_bytes_and_warn as _text_to_bytes_and_warn,
     19     make_assert as _make_assert,
     20 )
     22 __all__ = [
     23     "FILETYPE_PEM",
     24     "FILETYPE_ASN1",
   (...)
     58     "load_pkcs12",
     59 ]
     61 FILETYPE_PEM = _lib.SSL_FILETYPE_PEM

File ~/opt/anaconda3/envs/myenv/lib/python3.10/site-packages/OpenSSL/_util.py:5, in <module>
      2 import sys
      3 import warnings
----> 5 from cryptography.hazmat.bindings.openssl.binding import Binding
      8 binding = Binding()
      9 ffi = binding.ffi

File ~/opt/anaconda3/envs/myenv/lib/python3.10/site-packages/cryptography/hazmat/bindings/openssl/binding.py:14, in <module>
     12 from cryptography import utils
     13 from cryptography.exceptions import InternalError
---> 14 from cryptography.hazmat.bindings._openssl import ffi, lib
     15 from cryptography.hazmat.bindings.openssl._conditional import CONDITIONAL_NAMES
     17 _OpenSSLErrorWithText = collections.namedtuple(
     18     "_OpenSSLErrorWithText", ["code", "lib", "reason", "reason_text"]
     19 )

ImportError: dlopen(/Users/user/opt/anaconda3/envs/myenv/lib/python3.10/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so, 2): Library not loaded: @rpath/libssl.1.1.dylib
  Referenced from: /Users/user/opt/anaconda3/envs/myenv/lib/python3.10/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so
  Reason: image not found

Does anyone have an idea how to solve this problem ?

Perhaps raise this issue against conda?  The OpenSSL project does not distribute binaries, only source code.


chore(deps): upgrade runtime dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-runtime-dependencies-k8s-27-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3195

Questions ?
Please refer to the Backport tool documentation


Is a review of the MDM/Intune overdue?

Windows 11
Do NCSC up to date recommendations align with these 2 year old ones? If yea/nay can you state on readme?
My problem is that I don't know if after apply 2 year old JSON if there are new settings in Endpoint that are unutilised

I'd second this. All the Windows templates are based on Intune "Templates" rather than Intune "Settings Catalog"... a review and migration would be much appreciated so that we know we're implementing something that's up to date and still shown some love.

another idea might be to liase with MS and publish an NCSC "Security Baselines" (under the endpoint security section). But agreed, a refresh is probably needed.

This would be great. We've tried to apply some of the Intune templates to Azure VMs and they stick in a "Not applicable" state.
From trying to create a Settings Catalog alternative I can see that lots of the settings have moved or been renamed, but once you find the equivalent the policies will apply successfully.

I emailed NCSC to ask for some comments and had a one line reply back...
"This guidance is currently being reviewed/updated and a new version will be issued shortly. "
Which, if I'm honest, I felt was a brush off considering these Issue threads in GitHub appear to be abandoned by NCSC at the moment.

NCSC also need to be aware that while they may publish guidance, other UK gov agencies then treat them as standards. Leaving these configs to drfit for two years is a burden on UK gov suppliers (and presumably much of the public sector too.) For example, Crown Commerical Service Call Off Schedule 9 Part B - Annex 1 clause 2.2 includes the following text "all Supplier devices are expected to meet the set of security requirements set out in the End User Devices Security Guidance (https://www.ncsc.gov.uk/guidance/enduser-device-security)" which includes links to these config files. Given CCS are turning guidance into "requirements", and contractual obligations, NCSC need to either actively manage their EUD guidance, or perhaps CCS' expectations of NCSC guidance.

[like]  Andrew Sowden reacted to your message:

From: Ironised @.>
Sent: Thursday, May 11, 2023 1:28:49 PM
To: ukncsc/Device-Security-Guidance-Configuration-Packs @.>
Cc: Subscribed @.***>
Subject: Re: [ukncsc/Device-Security-Guidance-Configuration-Packs] Is a review of the MDM/Intune overdue? (Issue #27)
NCSC also need to be aware that while they may publish guidance, other UK gov agencies then treat them as standards. Leaving these configs to drfit for two years is a burden on UK gov suppliers (and presumably much of the public sector too.) For example, Crown Commerical Service Call Off Schedule 9 Part B - Annex 1 clause 2.2 includes the following text "all Supplier devices are expected to meet the set of security requirements set out in the End User Devices Security Guidance (https://www.ncsc.gov.uk/guidance/enduser-device-security)" which includes links to these config files. Given CCS are turning guidance into "requirements", and contractual obligations, NCSC need to either actively manage their EUD guidance, or perhaps CCS' expectations of NCSC guidance.
—
Reply to this email directly, view it on GitHubhttps://github.com/ukncsc/Device-Security-Guidance-Configuration-Packs/issues/27#issuecomment-1544013234, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYLSAXRL7JXXRQ2FZK5QVBDXFTSRDANCNFSM6AAAAAAWK2SCRI.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Any scheduled update about this Windows 10/11 configuration file for InTune ?

Well. in May they said "shortly", so don't hold your breath it seems.
We've given up waiting, the world moves on and NCSC in this space has become less relevant due to their lack of involvement. We've gone with the MS baselines and will work from those.

We're now not far from 2025 and still no update. My organisation is trying to implement some of the baselines stated here but the installation instructions alone are way out of date (a load of DLL errors in PS so can't import them - can't even import them via the Azure Portal). Can we get an update on these so they are fit for purpose in 2024/2025?


Add more reviewers

Add more reviewers on build bundle action so it doesn't get stale.

does it even need review ? was there any case that PR should not be approved?

Repo settings requires it

@sideninja Is it possible to use GH teams here? I'll approve it but might be worth looking into.


Is it still working ??

Is it still working ??

I dont think so. Neither login method 1 or 2 have worked for me because of the CAPTCHA.

Is it still working ??

It's working, but need to relogin to get the latest access_token weekly.

@LukeWang01 Hey Luke, I'm glad this is working for you. Can you tell me the basic steps of what you're doing to get a successful connection to the API? It's been a while, but I remember logging into Webull, going to the Trade tab, and inspecting the v2 request in the Network tab to get the credentials, which I would then feed into my local credentials json file to use in the request. I remember this stopped working a few months back. When I try it now, I no longer see the "v2" request with the credentials in the network tab. I see one that just has general information, and another which has an empty response. Thanks

@AlanTkachuk , Hi, it's still working. Try to search access_token  in the network tab

@LukeWang01 Ah I found it, it's in the Headers tab now. Thanks!

https://github.com/tedchou12/webull/wiki/Workaround-for-Login-‐-Method-2


Alternate approach to enhancing Python 3 support

The same basic work, but ordered differently and tested more incrementally.

Any thoughts on the lint error? I'm guessing it's a version mismatch between prospector and one of the other linting tools. We've run into that remove.
Otherwise, this is amazing! I'll try and take a look and get it merged next week. :heart:

RE: the lint error -> It looks like pydocstyle added an option to check_source a few months back and prospector isn't passing it yet.

Dropping prospector back a minor release fixes this problem

@gthank If you pull in this patch to fix linting (https://github.com/rtfd/readthedocs.org/pull/2932) and mark the failures as expected, I'll merge this, so that it doesn't rot, and we don't have any regressions. Then we can work forward from there.

@ericholscher Could you first drop in on https://github.com/rtfd/readthedocs.org/pull/2918#discussion_r120950439, it's not clear why code was removed there, and that is also blocking review.

So close :)

Since this is only failing at linting, I'll do some local testing to confirm nothing is horribly broken, and it looks close! 🎆

@ericholscher sounds like this is close, probably no need to jump in. The plan for now is to get python3 tests working, which involve upgrading some of the lint/testing deps. I'm addressing that in #2863 and the merge will be cherrypicked here, so conflicts will be low. I'm less worried about rot as that PR and the restapi PR will be the only two conflicting commits and we can probably merge this all in early next week.

I think there will be manual testing required before we deploy these changes to prod, which is what I'm referring to. I'm happy to do it after we merge it.

Ugh @ restapi conflicts :( @agjohnson

Yup, this was discussed already and we anticipated having to rebase some work for this and fixing testing.

Okay, wrapped up #2863. I'm going to try to rebase this on a separate branch and see what happens.

Okay, we're all set here. I merged everything together in another PR, so I'll just close this PR and merge that branch into master.
I'm super excited to get going with python 3. Thanks a ton for putting in the work on this one, @gthank!

I'm excited, too! Thanks for letting me chip in, everybody.


The Package Prefixes page should mention that wildcard matching is possible

The Package Prefixes page here...
http://j2objc.org/docs/Package-Prefixes.html
... should mention that wildcard matching is possible with the --prefix and prefixes flags, i.e. com.company.*=AB.

Fixed, site should update in a few minutes.


Fixed backwards /status API compatibility (fixes #320)

Codecov Report

Merging #321 into master will decrease coverage by 0.12%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##           master     #321      +/-   ##
==========================================
- Coverage   74.17%   74.05%   -0.13%
==========================================
  Files           9        9
  Lines        1003     1006       +3
==========================================
+ Hits          744      745       +1
- Misses        212      213       +1
- Partials       47       48       +1

Flag
Coverage Δ

#unittests
74.05% <80%> (-0.13%)
:arrow_down:

Impacted Files
Coverage Δ

config/config.go
90% <80%> (-2.21%)
:arrow_down:

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 7976204...91ea43b. Read the comment docs.


throw expression must be inside a catch block

Targeting BUG on CC0012: RethrowExceptionAnalyzer throwing "Sequence
contains no elements"

@giggio @carloscds please verify the PR. I couldn't build corefx in my machine to run CC against it. Anyway, I could identify the source of the exception and added a check.

You need to reenable the analyzer. To test corefx run analyzecorefx.ps1 on the test\csharp dir.

@sqdavid Can you enable analyzer and send another PR ?

This line: https://github.com/code-cracker/code-cracker/blob/master/src/CSharp/CodeCracker/Usage/RethrowExceptionAnalyzer.cs#L27

I am looking into it.

Fixed on ed7a833. @sqdavid You got the bug, I ran it on corefx and it is gone.

great @giggio, and thanks for reenabling it. =)


Add fit, alignment properties to CircleAvatar

Use case
backgroundImageFit > Chaning the default fit for background image to values other than the default (BoxFit.cover)
backgroundImageAlignment > Chaning the default alignment for background image to values other than the default (Center)
foregroundImageFit > Chaning the default fit for foreground image to values other than the default (BoxFit.cover)
foregroundImageAlignment > Chaning the default alignment for foreground image to values other than the default (Center)
Just like on Image widgets, we need to choose the alignment in which we scale the image to fit the circle or change the fit entirely (like fit Height or fit Width).
Proposal
Add CircleAvatar optional parameters [ Alignment, Fit ] with the default values as is now for both background/foreground images.

Updated the issue description for further explaination

There's another incompleted patch in https://github.com/flutter/flutter/pull/137919.

Any progress on this? We really need fit properties with an option to set BoxFit.contain for pictures with uncommon ratio.


Remote Desktop not active

HI
How to activate Remote Desktop  ?
I put VNC_LINK="vnc://%s:5900"  in .env but nothing
Thanks

That should work? Please reopen when this is still an issue.


gitRepo: 2.25 -> 2.27

Signed-off-by: Otavio Salvador<EMAIL_ADDRESS>Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Works fine for me.

Result of nixpkgs-review pr 181488 run on x86_64-darwin 1

1 package built:

gitRepo

Looks like this is updated to 2.28 in  #182040 so I am closing this :-)


Re-apply PR #958

Description
Brief description of what this PR is about

If this change is a backward incompatible change, why must this change be made?
Interesting edge cases to note here

Codecov Report

Merging #960 (5145bc4) into master (12eb06c) will decrease coverage by 0.01%.
The diff coverage is 92.85%.

@@             Coverage Diff              @@
##             master     #960      +/-   ##
============================================
- Coverage     70.19%   70.18%   -0.02%
+ Complexity     5093     5087       -6
============================================
  Files           502      502
  Lines         22493    22479      -14
  Branches       2348     2348
============================================
- Hits          15790    15777      -13
- Misses         5458     5462       +4
+ Partials       1245     1240       -5

Impacted Files
Coverage Δ
Complexity Δ

api/src/main/java/ai/djl/ndarray/NDArray.java
73.68% <ø> (+4.07%)
90.00 <0.00> (ø)

...i/src/main/java/ai/djl/ndarray/NDArrayAdapter.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

...c/main/java/ai/djl/pytorch/jni/PyTorchLibrary.java
100.00% <ø> (ø)
1.00 <0.00> (ø)

.../main/java/ai/djl/tensorflow/engine/TfNDArray.java
85.23% <ø> (-0.03%)
188.00 <0.00> (-1.00)

...src/main/java/ai/djl/pytorch/engine/PtNDArray.java
79.90% <83.33%> (-0.05%)
207.00 <3.00> (-1.00)

...e/src/main/java/ai/djl/mxnet/engine/MxNDArray.java
86.72% <100.00%> (-0.03%)
214.00 <7.00> (-1.00)

...ine/src/main/java/ai/djl/pytorch/jni/JniUtils.java
90.57% <100.00%> (ø)
194.00 <1.00> (ø)

...gine/src/main/java/ai/djl/dlr/engine/DlrModel.java
53.12% <0.00%> (-3.13%)
4.00% <0.00%> (ø%)

...ain/java/ai/djl/tensorflow/engine/TfNDManager.java
88.49% <0.00%> (-2.66%)
28.00% <0.00%> (-1.00%)

api/src/main/java/ai/djl/util/Platform.java
43.47% <0.00%> (-2.18%)
8.00% <0.00%> (ø%)

... and 5 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 37d1569...5145bc4. Read the comment docs.

FYI @zemei


error message for malformed peer addresses is unhelpful

When I do a weave launch http://<IP_ADDRESS>/   the container dies.    but weave launch <IP_ADDRESS> works fine.
Command line options: map[port:6783 datapath:datapath dns-effective-listen-address:<IP_ADDRESS> dns-listen-address:<IP_ADDRESS>:53 http-addr:<IP_ADDRESS>:6784 ipalloc-range:<IP_ADDRESS>/12 name:9e:e7:55:5a:ec:70 nickname:weave-microservice-02]
INFO: 2016/01/13 22:44:04.994004 Command line peers: [http://<IP_ADDRESS>/]
INFO: 2016/01/13 22:44:04.996229 Communication between peers is unencrypted.
INFO: 2016/01/13 22:44:04.999622 Our name is 9e:e7:55:5a:ec:70(weave-microservice-02)
INFO: 2016/01/13 22:44:05.016080 Docker API on unix:///var/run/docker.sock: &[Version=1.9.1 ApiVersion=1.21 GitCommit=a34a1d5 GoVersion=go1.4.3 Os=linux Arch=amd64 KernelVersion=3.13.0-68-generic BuildTime=Fri Nov 20 17:56:04 UTC 2015]
INFO: 2016/01/13 22:44:05.016128 Assuming quorum size of 2
INFO: 2016/01/13 22:44:05.016334 Listening for DNS queries on <IP_ADDRESS>
INFO: 2016/01/13 22:44:05.016380 Sniffing traffic on datapath (via ODP)
FATA: 2016/01/13 22:44:05.016450 unknown port tcp///<IP_ADDRESS>/

The peers passed to weave launch must be hostnames or IP addresses (optionally with a :<port number> suffix).  URLs such as http://<IP_ADDRESS>/ are not meaningful in that context.  (http gets interpreted as a hostname, and //<IP_ADDRESS>/ as a port number, which leads to the "unknown port" error.)

Yes, I realized it was my mistake, but maybe it shouldn’t crash Weave. That’s all I meant by this report.

On Jan 13, 2016, at 4:57 PM, David Wragg<EMAIL_ADDRESS>wrote:
The peers passed to weave launch must be hostnames or IP addresses (optionally with a : suffix). URLs such as http://<IP_ADDRESS>/ are not meaningful in that context. (http gets interpreted as a hostname, and //<IP_ADDRESS>/ as a port number, which leads to the "unknown port" error.)
—
Reply to this email directly or view it on GitHub https://github.com/weaveworks/weave/issues/1892#issuecomment-171464070.

All invalid arguments cause weave to stop. What else can it do? Besides reporting the problem more directly than the "Container has died; consult the logs." currently shown, which is the subject of #1280.

Maybe a better message would work, like catching the error and returning a more helpful message.

So the reason it says "unknown port" rather than "invalid port" is that the port can be a service name, resolved via /etc/services, e.g. if you stuck an entry for weave in that you could write s.t. like "<IP_ADDRESS>:weave". Not that I can think of any reason why you'd want to do that. And since "service-names can be any printable characters excluding space and tab", there is preciously little validation that can be performed, e.g. "//<IP_ADDRESS>/" is actually a syntactically valid service name.

Duplicate of #956?

Not quite. The error message in #956 is kinda sensible. e.g. if I weave launch unknown-host it will say lookup unknown-host: no such host. The error message here is rather obscure.

The fix in this repo is #1924


error: Failed to call designated initializer on NSManagedObject class 'XMPPUserCoreDataStorageObject'

When I try to compile my code with your OneChat controllers it prints me the next error:
error: Failed to call designated initializer on NSManagedObject class 'XMPPUserCoreDataStorageObject'
in OneRoster file
func managedObjectContext_roster() -> NSManagedObjectContext {         return OneChat.sharedInstance.xmppRosterStorage!.mainThreadManagedObjectContext     }
How can I fix this error?

Hello, I'm currently working on a pod (cocoa pods) to simplify the installation process, so my guess is that the classes are not swift2 ready yet, I'll update the code in the coming week.

@baoluo I write it in Swift 1.2, not in Swift 2

I'll have a look, it should work under Swift 1.2

@baoluo Thanks! how long it will take?
I thought that it is because of Core Data, it was disabled at the first time, but later I had enabled it, but my error stills.
Can you help me to solve this error? Thanks in advance!

I'm currently working on the pod, but in the meantime you can try to start a new project with core data enabled by default and then add the classes

I did it from the scratch with the CoreData, but it still gives me the same error. And, in addition, in your example you did not choose initial controller, so my screen is black when it loads. What do you advice?

I'll download the project but I'm using swift 2 so I'll need to update the code before being able to help you

Okay, I solve some problems, but one more question, please. Here is the repository: git@github.com:orkhanalizade/MessengerOneChat.git
I want to ask you, I took your example project, made initial controller as Contacts Navigation Controller. So, when I run my app, I enter credentials and it forward me to OneChat Controller, but it doesn't show me any contacts and when I press on plus icon it crashes with the Could not cast value of type 'XMPPUserCoreDataStorageObject_XMPPUserCoreDataStorageObject_' (0x7f92dd0063b0) to 'XMPPUserCoreDataStorageObject' (0x10320b248). error.
On the other hand, when I made ContactListTableController as initial controller it crashes with the same error.
What do you think about it?

Ok, so it's "working", give me more time to see whats going on

Did you find any solutions for my problem?

Did you find any solutions for my problem?


Multiple usages

On bundler, we have some commands with quite complicated synopsis. For example, bundle update, which has different valid combinations of arguments and command line flags, pretty hard to express on a single usage line without making it look like an understandable mess.
Instead, I would like to be able to specify multiple synopsis, so that thor would give a error of the following type when an invalid command line is specified:
ERROR: "bundle update" was called with no arguments
Usage: bundle update *GEMS [OPTIONS]
       bundle update --group *GROUPS [OPTIONS]
       bundle update --source *SOURCES [OPTIONS]
       bundle update --ruby
       bundle update --bundler
       bundle update --all

In general, this is useful for mutually exclusive combinations of flags and arguments.
This is explained in http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap12.html, bullet point 8, and it's a technique used by many CLI utils.
For example, the following is the beginning of the man's man page:
NAME
       man - an interface to the on-line reference manuals

SYNOPSIS
       man  [-C  file] [-d] [-D] [--warnings[=warnings]] [-R encoding] [-L locale] [-m system[,...]] [-M path] [-S list] [-e extension] [-i|-I] [--regex|--wildcard]
       [--names-only] [-a] [-u] [--no-subpages] [-P pager] [-r prompt] [-7] [-E encoding] [--no-hyphenation]  [--no-justification]  [-p  string]  [-t]  [-T[device]]
       [-H[browser]] [-X[dpi]] [-Z] [[section] page[.section] ...] ...
       man -k [apropos options] regexp ...
       man -K [-w|-W] [-S list] [-i|-I] [--regex] [section] term ...
       man -f [whatis options] page ...
       man  -l  [-C  file]  [-d]  [-D]  [--warnings[=warnings]]  [-R  encoding]  [-L locale] [-P pager] [-r prompt] [-7] [-E encoding] [-p string] [-t] [-T[device]]
       [-H[browser]] [-X[dpi]] [-Z] file ...
       man -w|-W [-C file] [-d] [-D] page ...
       man -c [-C file] [-d] [-D] page ...
       man [-?V]

This commit implements support for this kind of synopsis, by allowing passing an array of "usages" instead of a single one.

Thoughts about this?

Friendly ping :)

I'm getting ready in bundler for an eventual thor release, and I see that this PR seems to have caused some issues. I'll investigate those and provide a follow-up as soon as possible :+1:.

Actually, nevermind, it's #679 causing problems. I'll investigate.


Add nofunc for no-use-before-declare

http://eslint.org/docs/rules/no-use-before-define

Also applies to template string:

Looks like this has since been fixed 😊 closing as duplicate.


support for .jdk-overlay folder into the packaged jdk

First of all, thank you for your great effort. I find this sbt plugin very useful for using jenkins as the way to deploy into Heroku.
Sometimes, there is a need to extend the default jdk bundled in Heroku. For example, when requiring Java JCE in your project.
Heroku enables the jdk customization mechanism to extend the bundled jdk as documented in https://devcenter.heroku.com/articles/customizing-the-jdk
I have created a sample project to show this: https://github.com/ggmoriyon/sbt-heroku-include-jdk-overlay-sample
To reproduce the current behavior:

download sample project
execute: heroku create
modify build.sbt with the name of the heroku app
execute: sbt stage deployHeroku
check target/heroku/app folder: it contains both .jdk and .jdk-overlay, while the contents of .jdk-overlay should be included into the .jdk folder

Yes, makes perfect sense, and should be easy to do. It will increase parity with the buildpack, which is a good thing.
I'll should be able to knock this out very soon, and have a release early next week.

This will be available in version 0.3.6 (or 0.4.0 because I might bump in this release). I expect to deploy it on Friday.

that's great news Joe! thanks!


Customizer beans are not invoked (Advanced Configuration)

Describe the issue
I want to add advanced configuration therefore want to add customizers.
To Reproduce
An example project with minimum code can be found here:
sample project
Version of the framework
Hoxton.SR3
Expected behavior
Cloud stream to invoke custumizer beans.
Additional context
I have noticed via debugging that when RabbitMessageChannelBinderConfiguration.rabbitMessageChannelBinder() is invoked all the parameters are null but the beans have been created before the invocation of the aforementioned method.

@canayozel The sample you provided is a bit involved. In the future the bare minimum should really be the bare minimum. I understand you were trying to think ahead in your design and package structure, but that is the next steps.
Anyway, here is the bare minimum:
@SpringBootApplication
public class SampleFunctoinAppApplication {

	public static void main(String[] args) throws Exception {
		SpringApplication
				.run(SampleFunctoinAppApplication.class, "--spring.cloud.function.definition=uppercase");
	}

	@Bean
	public Function<String, String> uppercase() {
		return v -> v;
	}

	@Bean
    public ListenerContainerCustomizer<AbstractMessageListenerContainer> MQLCC() {
        System.out.println(String.format("DEBUG: Bean %s has bean created.", "MQLCC"));
        return new MQLCC();
    }

    private static class MQLCC implements ListenerContainerCustomizer<AbstractMessageListenerContainer> {
        @Override
        public void configure(AbstractMessageListenerContainer container, String destinationName, String group) {
            System.err.println(String.format("HELLO from container %s, destination: %s, group: %s", container, destinationName, group));
        }

    }
}

As you can see I copied some code from yours and here is the output:
2020-03-23 16:50:51.337  INFO 89057 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'integrationDisposableAutoCreatedBeans' of type [org.springframework.integration.config.annotation.Disposables] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
DEBUG: Bean MQLCC has bean created.
2020-03-23 16:50:51.989  INFO 89057 --- [           main] c.f.c.c.BeanFactoryAwareFunctionRegistry : Looking up function 'uppercase' with acceptedOutputTypes: []
. . .
2020-03-23 16:50:52.110  INFO 89057 --- [           main] c.f.c.c.BeanFactoryAwareFunctionRegistry : Looking up function 'uppercase' with acceptedOutputTypes: []
2020-03-23 16:50:52.205  INFO 89057 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : Adding {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel
2020-03-23 16:50:52.205  INFO 89057 --- [           main] o.s.i.channel.PublishSubscribeChannel    : Channel 'application.errorChannel' has 1 subscriber(s).
2020-03-23 16:50:52.205  INFO 89057 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : started bean '_org.springframework.integration.errorLogger'
2020-03-23 16:50:52.431  INFO 89057 --- [           main] o.s.a.r.c.CachingConnectionFactory       : Attempting to connect to: [localhost:5672]
2020-03-23 16:50:52.506  INFO 89057 --- [           main] o.s.a.r.c.CachingConnectionFactory       : Created new connection: rabbitConnectionFactory#2a2da905:0/SimpleConnection@77b9d0c7 [delegate=amqp://guest@<IP_ADDRESS>:5672/, localPort= 50668]
. . .
HELLO from container SimpleMessageListenerContainer [concurrentConsumers=1, queueNames=[uppercase-in-0.anonymous.2xnXpyQ9QO-Fhig3w3ideg]], destination: uppercase-in-0.anonymous.2xnXpyQ9QO-Fhig3w3ideg, group: null
2020-03-23 16:50:52.674  INFO 89057 --- [           main] o.s.c.stream.binder.BinderErrorChannel   : Channel 'uppercase-in-0.anonymous.2xnXpyQ9QO-Fhig3w3ideg.errors' has 1 subscriber(s).
2020-03-23 16:50:52.674  INFO 89057 --- [

As you can see the customiser is being invoked

Also, i just tested your app and all works as expected
2020-03-23 17:58:13.615  INFO 93377 --- [           main] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 1206 ms
DEBUG: Bean MQLCC has bean created.
DEBUG: Bean MQMSC has bean created.
2020-03-23 17:58:14.082  INFO 93377 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'
2020-03-23 17:58:14.531  INFO 93377 --- [           main] onConfiguration$FunctionBindingRegistrar : Functional binding is disabled due to the presense of @EnableBinding annotation in your configuration
2020-03-23 17:58:14.551  INFO 93377 --- [           main] o.s.s.c.ThreadPoolTaskScheduler          : Initializing ExecutorService 'taskScheduler'
2020-03-23 17:58:14.630  INFO 93377 --- [           main] o.s.c.s.m.DirectWithAttributesChannel    : Channel 'application.mqci-abc' has 1 subscriber(s).
2020-03-23 17:58:14.634  INFO 93377 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : Adding {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel
2020-03-23 17:58:14.634  INFO 93377 --- [           main] o.s.i.channel.PublishSubscribeChannel    : Channel 'application.errorChannel' has 1 subscriber(s).
2020-03-23 17:58:14.635  INFO 93377 --- [           main] o.s.i.endpoint.EventDrivenConsumer       : started bean '_org.springframework.integration.errorLogger'
2020-03-23 17:58:14.834  INFO 93377 --- [           main] o.s.a.r.c.CachingConnectionFactory       : Attempting to connect to: [localhost:5672]
2020-03-23 17:58:14.883  INFO 93377 --- [           main] o.s.a.r.c.CachingConnectionFactory       : Created new connection: rabbitConnectionFactory#66213a0d:0/SimpleConnection@2d5ef498 [delegate=amqp://guest@<IP_ADDRESS>:5672/, localPort= 51349]
2020-03-23 17:58:14.925  INFO 93377 --- [           main] o.s.c.s.m.DirectWithAttributesChannel    : Channel 'application.mqco-abc' has 1 subscriber(s).
2020-03-23 17:58:14.953  INFO 93377 --- [           main] c.s.b.r.p.RabbitExchangeQueueProvisioner : declaring queue for inbound: mqci-abc.anonymous.wywh_AjnScuQ0hGarvwhcw, bound to: mqci-abc
HELLO from container SimpleMessageListenerContainer [concurrentConsumers=1, queueNames=[mqci-abc.anonymous.wywh_AjnScuQ0hGarvwhcw]], destination: mqci-abc.anonymous.wywh_AjnScuQ0hGarvwhcw, group: null
2020-03-23 17:58:14.984  INFO 93377 --- [

I had to comment out all your properties as hey are irrelevant and were giving me some connections errors. In any event, I ma closing the issue. If you come up with a better sample and steps to reproduce, feel free to raise a new issue.

@olegz sorry for the sample application, I agree about the package structure and configuration.
However I found where the problem resides, the fact that you commented connection properties, made the sample worked in your environment. The case can be reproducible in case of adding environment configuration to application.properties:
spring.cloud.stream.binders..environment.spring.rabbitmq.host=localhost
I'll raise another issue with a better sample.

Sure, make sure it only includes relevant configuration. Basically make it work and then make it break and as soon as you do that is want we wan to see


Can this method be used on cascade rcnn?

Hello @xcyuyuyu,
We appreciate your interest in our work. The FAM component and adaptive threshold are highly suitable for use with Cascade RCNN. However, the adaptive assignment may not be entirely applicable due to the difference in assignment between single and second stage detectors. Nevertheless, the underlying philosophy remains the same: assign the pseudo label with the lowest loss rather than relying on IoU. You may wish to try implementing this approach on your own.
Warm regards,


KeyError: 8 German 2001 .dic

Hi,
has anybody used the German 2001 .dic with this library? I am getting "KeyError: 8" when I try to load the lexicon.

I've managed to solve this issue myself by accessing to the liwc/liwc/dic.py file and changing the read_dic(filepath) method to read my file using the utf-8 encoding.

Thank you for sharing your own solution. I would appreciate if you provided the details about it.
I just added encoding='utf-8' to liwc/liwc/dic.py, but apparently that is not right, because I keep getting "KeyError: '8'"
with open(filepath, encoding='utf-8') as lines:
By the way, I am trying to use this library not with a Spanish but with a German (from 2001) version. That is why I think your suggested solution might make this library work with the German 2001 .dic
Originally posted by @vicru in https://github.com/chbrown/liwc-python/issues/15#issuecomment-913695911

Hi
You need to make sure that in you dic that you provide the gap between expression and group is not made up of spaces but of one single tab. That goes also for when you have one expression assigned to multiple groups. You can use an editor like vs code to see where you have space and where you have tabs, as you will not be able to see it solely by looking at it since both are whitespace.
Right:

Wrong:

Basically, try to not have any spaces anywhere in your dic file and only use single tabs. Let me know if this works, though I just realised that this is a super old issue 😅.


Hi everybody! May you add a Creative Commons License for logo?

Hello to all!
May you add a Creative Commons License for logo?
(obviously I can't make a pull request for it, I am not the owner)
With all due respect for indierawk2k2, just for edit the corresponding article at Wikipedia, we "need" one of this licenses:
https://creativecommons.org/publicdomain/zero/1.0/
or
https://creativecommons.org/licenses/by/3.0/deed.en
(the MIT license is for code, we talk about artistic elements)
Thanks for your attention!

Note: if you feel that our request is inappropriate please let us know and we will remove our commentary, no hard feelings for that!

Hi @ks7000 ,
Would https://creativecommons.org/licenses/by-nd/4.0/ for the logo work for you?

Thanks for your attention! Just for Wikipedia don't work because «no Derivative», but «commercially» is fine!
(By the way, I am working at Wikipedia castilian language -> https://es.wikipedia.org/wiki/Microsoft_PowerToys ).

Hi @ks7000 ,
Under what license are the other Microsoft software logos that are used on Wikipedia pages?

Hi there! In example, the Windows 10 logo is a barely copy (a fake) from original:
https://commons.wikimedia.org/wiki/File:Windows10Logo.png

This image consists only of simple geometric shapes or text. It does not meet the threshold of originality needed for copyright protection, and is therefore in the public domain. Although it is free of copyright restrictions, this image may still be subject to other restrictions. See WP:PD#Fonts and typefaces or Template talk:PD-textlogo for more information

-All info about licensing for images at Wikipedia-
Very thanks for your time!

I see.
I have no authority to say whether or not this makes sense, or if this is allowed, but why is the PowerToys logo different? https://commons.wikimedia.org/wiki/Commons:Licensing#Simple_design

The answer to  your question is just before you reach the section you indicate:

The GNU Free Documentation License (GFDL) is not practical for most content, especially for printed media, because it requires that they be published along with the full text of the license. Thus, it is preferable to publish the work with a dual license, adding to the GFDL a license that permits use of the photo or text easily; a Creative Commons license, for example. Also, do not use the GPL and LGPL licenses as the only license for your own works if it can be avoided, as they are not really suitable for anything but software.

(The formatted text above is mine, text taken exactly from here).
Indeed, this project («why is the PowerToys logo different?» because) has the license MIT not GFDL, not GPL, not LGPL; so, let's read carefully such license:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

So... that is the same problem with GFDL, GPL and LGPL!: all text must be included with the image(s).
By the way, I take this opportunity to congratulate the programming team for having chosen a much better license than any other license, a very open license.
Thanks for your attention!

Thanks for the details. I'm currently trying to understand the details.
I tried looking on Wikipedia for what other MIT projects might be doing in regards to this, and it seems that some have MIT-licensed logos, as well.
Here's an example from castillan language Wikipedia:

https://es.wikipedia.org/wiki/Torque_(motor_gráfico)
https://commons.wikimedia.org/wiki/File:Torque_ge.png

It seems that having the MIT license in the file details was sufficient for this specific case.

Sincerily thanks, I learned today.

This file is licensed under the Expat License, sometimes known as the MIT License: