page automation

hi, can you guide how exactly i can do this using php and phantom js.
http://phantomjs.org/page-automation.html

hi Sarfroz,
You can do this via custom scripts. I managed to pulled it off, but ensure you have the
[% autoescape false %]
[% endautoescape %]
so you can get the URL passed from the php script.
The documentation is here:
http://jonnnnyw.github.io/php-phantomjs/4.0/4-custom-scripts/
Example code below:

[% autoescape false %]
var page = require('webpage').create();
var fs = require('fs');
var url = '{{ input.getUrl() }}';
page.open(url, 'GET', '', function (status){
var content = page.content;

var path = '/home/steven/Code/phantomjs/logs/log_script11.txt';
fs.write(path, url, 'w');
fs.write(path, content, 'w+');
phantom.exit(1);

});
phantom.onError = function(msg, trace) {
phantom.exit(1);
};
[% endautoescape %]

I tried sir but not working. I am using Partial script injection but no
luck.
this is my working phantom js code
var page = require('webpage').create();

page.settings.userAgent = 'Mozilla/5.0 (Windows NT 6.1; WOW64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36';
page.onInitialized = function() {
page.evaluate(function() {
delete window._phantom;
delete window.callPhantom;
});
};
page.open('https://xxxxxxx', function(status) {
if (status !== 'success') {
console.log('Unable to access network');
} else {
var ua = page.evaluate(function() {
return document.getElementById('iddoc').textContent;
});
console.log(ua);
}
phantom.exit();
});

if I run it via phantomjs command directly it works ok, but the problem is
that I have to write everytime js code to change the url value. I hope you
can give some example of this method.
On Thu, May 4, 2017 at 4:02 PM, yipwt79<EMAIL_ADDRESS>wrote:

hi Sarfroz,
You can do this via custom scripts. I managed to pulled it off, but ensure
you have the
[% autoescape false %]
[% endautoescape %]
so you can get the URL passed from the php script.
The documentation is here:
http://jonnnnyw.github.io/php-phantomjs/4.0/4-custom-scripts/
Example code below:
[% autoescape false %]
var page = require('webpage').create();
var fs = require('fs');
var url = '{{ input.getUrl() }}';
page.open(url, 'GET', '', function (status){
var content = page.content;
var path = '/home/steven/Code/phantomjs/logs/log_script11.txt';
fs.write(path, url, 'w');
fs.write(path, content, 'w+');
phantom.exit(1);
});
phantom.onError = function(msg, trace) {
phantom.exit(1);
};
[% endautoescape %]
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jonnnnyw/php-phantomjs/issues/174#issuecomment-299149500,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL3kJqIs3XBim8e6Py0I5vqk6eQXNcykks5r2alNgaJpZM4M980Z
.

hi Sarfroz,
Ok, I've tried out the script and it works, but I'll let  you know what needs to be done:

Do NOT enable debugging, because there's known bugs when this is enabled, the script will take a long time, with no response.
You can refer to this issue here:
https://github.com/jonnnnyw/php-phantomjs/issues/74

I think debugging is better done via the terminal, eg

phantomjs --debug=true myscript.proc

Therefore you can catch any problems here first.

I haven't tried partial scripts, only CUSTOM scripts, and I believe this is what you plan to do. Partial scripts is sort of over riding the partial scripts in the codes, so I think you really need to understand what JonnyW did. I didn't spend much time on this.

Make sure that your scripts have the right permission:

chmod 755 testing1.proc
I am running Apache2 on Linux Ubuntu, so I also set:
chown :www-data testing1.proc

You'll need to be creative when returning data back to the caller PHP script. Define, and use a response.content object in the testing1.proc

var response = {content:null};  //declaring an object response
response.content = 'my content here';   //assign the results you want to pass back
console.log(JSON.stringify(response));   //output it in JSON format.

You will be able to get the results in PHP script via:
$response->getContent();
Note that if you don't pass a valid JSON string, the app doesn't give you the content that you want.

You can create a centralize phantomjs config file:
===
`{
/* Same as: --ignore-ssl-errors=true */
"ignoreSslErrors": true,

/* Same as: --max-disk-cache-size=1000 */
"maxDiskCacheSize": 1000,
/* Same as: --output-encoding=utf8 */
"outputEncoding": "utf8",
"cookiesFile" : "/home/steven/Code/phantomjs/cookies/cookies.txt"
}`
ok said that, here's my PHP caller full script:
`<?php
//timer
$start = microtime(true);
use JonnyW\PhantomJs\Client;
use JonnyW\PhantomJs\DependencyInjection\ServiceContainer;
use JonnyW\PhantomJs\Message\Request;
require_once 'vendor/autoload.php';
require_once 'config.php';
error_reporting(E_ALL);
$client = Client::getInstance();
//var_dump($client->getCommand());
$location = '/home/steven/Code/phantomjs/procedures/';
$serviceContainer = ServiceContainer::getInstance();
$procedureLoader = $serviceContainer->get('procedure_loader_factory')->createProcedureLoader($location);
$url = 'https://www.reddit.com/';
/*** the script testing1.proc is located under $location ***/
$fileName = 'testing1';
$client = Client::getInstance();
//$client->getEngine()->debug(true);	//Hangs when enabled!!!
$client->getEngine()->addOption('--config=/home/steven/Code/phantomjs/phantomjs-config.json');
$client->getEngine()->addOption("--web-security=no");
$client->getEngine()->addOption('--ssl-protocol=tlsv1');
//$client->getProcedureCompiler()->clearCache();
//$client->getProcedureCompiler()->disableCache();	//enableCache(), clearCache();
$client->setProcedure($fileName);
$client->getProcedureLoader()->addLoader($procedureLoader);
$request  = $client->getMessageFactory()->createRequest();	//for custom scripts.
$response = $client->getMessageFactory()->createResponse();
$request->setMethod('GET');
$request->setUrl($url);
try{
$client->send($request, $response);

//echo "\n==== log ==== \n" .$client->getLog() . "\n";

//print_r($response->getConsole()); // Array

echo print_R($response->getHeaders()) ;

echo "status = " . $response->getStatus() . "\n";

echo "content = " . $response->getContent() . "\n" ;

}
catch(Exception $e){
echo "Error catch\n";

echo $e->getMessage();

var_dump($client->getLog());
//print_r($e->getErrors());

}
/*** timer end ***/
$stop = round(microtime(true) - $start, 5);
echo "time: {$stop}\n";
?>
`
Here is the testing1.proc
`[% autoescape false %]
var page = require('webpage').create();
var url = '{{ input.getUrl() }}';
page.settings.userAgent = 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36';
page.onInitialized = function() {
page.evaluate(function() {
delete window._phantom;
delete window.callPhantom;
});
};
page.open(url, function(status) {
if (status !== 'success') {

	console.log('Unable to access network');

} else {

	var ua = page.evaluate(function() {

   		return document.getElementById('siteTable').innerHTML;
 	});

 	//console.log(ua);

 	var response = {content:null};
	response.content = ua
	console.log(JSON.stringify(response));

}
phantom.exit();
});
[% endautoescape %]`
Ok, hope this helps.
Cheers

Works like as a charm. Thanks a lot for this kind of support :)
Only I disabled these lines and still, it was working good:
$client->getEngine()->addOption('--config=/home/steven/Code/phantomjs/
phantomjs-config.json');
$client->getEngine()->addOption("--web-security=no");
$client->getEngine()->addOption('--ssl-protocol=tlsv1');
On Sun, May 7, 2017 at 11:54 AM, yipwt79<EMAIL_ADDRESS>wrote:

hi Sarfroz,
Ok, I've tried out the script and it works, but I'll let you know what
needs to be done:

Do NOT enable debugging, because there's known bugs when this is
enabled, the script will take a long time, with no response.
You can refer to this issue here:
#74 https://github.com/jonnnnyw/php-phantomjs/issues/74

I think debugging is better done via the terminal, eg
phantomjs --debug=true myscript.proc
Therefore you can catch any problems here first.

I haven't tried partial scripts, only CUSTOM scripts, and I believe
this is what you plan to do. Partial scripts is sort of over riding the
partial scripts in the codes, so I think you really need to understand what
JonnyW did. I didn't spend much time on this.
2.
Make sure that your scripts have the right permission:
chmod 755 testing1.proc
I am running Apache2 on Linux Ubuntu, so I also set:
chown :www-data testing1.proc

You'll need to be creative when returning data back to the caller
PHP script. Define, and use a response.content object in the testing1.proc

var response = {content:null}; //declaring an object response
response.content = 'my content here'; //assign the results you want to
pass back
console.log(JSON.stringify(response)); //output it in JSON format.
You will be able to get the results in PHP script via:
$response->getContent();
Note that if you don't pass a valid JSON string, the app doesn't give you
the content that you want.

You can create a centralize phantomjs config file:
===
`{
/* Same as: --ignore-ssl-errors=true */
"ignoreSslErrors": true,

/* Same as: --max-disk-cache-size=1000 */
"maxDiskCacheSize": 1000,
/* Same as: --output-encoding=utf8 */
"outputEncoding": "utf8",
"cookiesFile" : "/home/steven/Code/phantomjs/cookies/cookies.txt"
}` ok said that, here's my PHP caller full script:
`<?php
//timer
$start = microtime(true);
use JonnyW\PhantomJs\Client;
use JonnyW\PhantomJs\DependencyInjection\ServiceContainer;
use JonnyW\PhantomJs\Message\Request;
require_once 'vendor/autoload.php';
require_once 'config.php';
error_reporting(E_ALL);
$client = Client::getInstance();
//var_dump($client->getCommand());
$location = '/home/steven/Code/phantomjs/procedures/';
$serviceContainer = ServiceContainer::getInstance();
$procedureLoader = $serviceContainer->get('procedure_loader_factory')->
createProcedureLoader($location);
$url = 'https://www.reddit.com/';
/*** the script testing1.proc is located under $location ***/
$fileName = 'testing1';
$client = Client::getInstance();
//$client->getEngine()->debug(true); //Hangs when enabled!!!
$client->getEngine()->addOption('--config=/home/steven/Code/phantomjs/
phantomjs-config.json');
$client->getEngine()->addOption("--web-security=no");
$client->getEngine()->addOption('--ssl-protocol=tlsv1');
//$client->getProcedureCompiler()->clearCache();
//$client->getProcedureCompiler()->disableCache(); //enableCache(),
clearCache();
$client->setProcedure($fileName);
$client->getProcedureLoader()->addLoader($procedureLoader);
$request = $client->getMessageFactory()->createRequest(); //for custom
scripts.
$response = $client->getMessageFactory()->createResponse();
$request->setMethod('GET');
$request->setUrl($url);
try{
$client->send($request, $response);
//echo "\n==== log ==== \n" .$client->getLog() . "\n";
//print_r($response->getConsole()); // Array
echo print_R($response->getHeaders()) ;
echo "status = " . $response->getStatus() . "\n";
echo "content = " . $response->getContent() . "\n" ;
}
catch(Exception $e){
echo "Error catch\n";
echo $e->getMessage();
var_dump($client->getLog());
//print_r($e->getErrors());
}
/*** timer end ***/
$stop = round(microtime(true) - $start, 5);
echo "time: {$stop}\n";
?>
`
Here is the testing1.proc
`[% autoescape false %]
var page = require('webpage').create();
var url = '{{ input.getUrl() }}';
page.settings.userAgent = 'Mozilla/5.0 (Windows NT 6.1; WOW64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.120 Safari/537.36';
page.onInitialized = function() {
page.evaluate(function() {
delete window._phantom;
delete window.callPhantom;
});
};
page.open(url, function(status) {
if (status !== 'success') {
console.log('Unable to access network');
} else {
var ua = page.evaluate(function() {
  	return document.getElementById('siteTable').innerHTML;

});
//console.log(ua);
var response = {content:null};
response.content = ua
console.log(JSON.stringify(response));
}
phantom.exit();
});
[% endautoescape %]`
Ok, hope this helps.
Cheers
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jonnnnyw/php-phantomjs/issues/174#issuecomment-299685248,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL3kJngTFY0T7yZaZ-BTzdiGAukuDTEFks5r3WOMgaJpZM4M980Z
.

@yipwt79 run your php and testing1.proc,result:
Array ( ) 1status = 0 content = string(0) "" time: 2.886

I tried php-phantom js and I have not enabled debug but still it freezes at some sites , any help ? I dont have custom scripts just default php-phantomjs


Should uv_os_uname also provide the processor (-p) info?

Should uv_os_uname also provide the processor information?
ugexe@Nicholass-MBP:~/repos$ uname -p
i386

Or is this not portable enough to include?

This information is already available in the machine field. On the platforms that fill it in, that is.

It may not always be derived from the machine field:
ugexe@Nicholass-MBP:~/repos/zef$ uname -m
x86_64
ugexe@Nicholass-MBP:~/repos/zef$ uname -p
i386

What I gathered was that some distros patch uname -p, and so there isn't a good way to provide this in libuv.

Oh, my bad, sorry about that. TBH I'm not sure why it reports i386 on a modern mac.


Feat/paypro ack

do not broadcast payment in Browser if payment message from PayPro is not '200 OK'

Coverage increased (+0.01%) to 93.355% when pulling de86bac6f4074fa86e07f0356ceda7848cc89f08 on matiu:feat/paypro-ack into 59bbb895c41c436044dd667bcb40eed2fe6a3c0a on bitpay:master.


BR not auto connects to wifi if network is lost.  (TZ-1426)

Checklist

[X] Checked the issue tracker for similar issues to ensure this is not a duplicate
[X] Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
[X] Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?
always
Expected behavior
when wifi is lost due to some reason. Thread Border  router does not come online. Need to manually restart to connect it back to wifi network.
Actual behavior (suspected bug)
It should automatically connect to wifi when network is again available.
Error logs or terminal output
No response
Steps to reproduce the behavior

Start the Thread Broder router.
Check if it  is available in WIFI network in your WIFI router.
After that turn off the wifi router.
Wait for 5-10 minutes
Turn on the wifi router again.
Check for the Thread Border router in the network.

Project release version
openthread-esp32/9d7f2d69f5-005c5cefc; esp32h2; 2024-12-22 15:13:57 UTC
System architecture
other (details in Additional context)
Operating system
Windows
Operating system version
Windows 11
Shell
PowerShell
Additional context
I have used following document to build the border router : https://docs.espressif.com/projects/esp-thread-br/en/latest/dev-guide/index.html
I m using single board mentioned here

@donoo Please refer to the logic here: example_handler_on_wifi_disconnect, and add a similar code in your application.
We will enhance the br example to support the wifi reconnection.

@chshu  Thanks for you reply.  If possible, can you specify which file I need to update?
I m newbee in esp32 stuff.


[fix][broker] cut consumer connection on markDeleteFailed

background
Fixes #11591
Motivation
We should cut consumer connection on markDeleteFailed
Modifications
Cut all consumer connections on markDeleteFailed
Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Ok，Thanks～

The pr had no activity for 30 days, mark with Stale label.

/pulsarbot rerun-failure-checks

Generally looks good. Comment inline.
cc @eolivelli please give another round :)

@leizhiyuan build failed. PTAL.

license check failed ,I think I didn't change this.

@leizhiyuan It's not a license check failure. It is instead:
Error:  /home/runner/work/pulsar/pulsar/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/PersistentTopicTest.java:2392: Prefer java.util.Map.of(Object, Object)

Codecov Report

Merging #11592 (d6a6077) into master (d30e86c) will decrease coverage by 10.88%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master   #11592       +/-   ##
=============================================
- Coverage     47.92%   37.03%   -10.89%
+ Complexity    10679     1967     -8712
=============================================
  Files           703      209      -494
  Lines         68831    14425    -54406
  Branches       7378     1574     -5804
=============================================
- Hits          32988     5343    -27645
+ Misses        32119     8496    -23623
+ Partials       3724      586     -3138

Flag
Coverage Δ

unittests
37.03% <ø> (-10.89%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...g/apache/pulsar/client/impl/ConnectionHandler.java
50.00% <0.00%> (-5.32%)
:arrow_down:

.../org/apache/pulsar/client/impl/ConnectionPool.java
37.43% <0.00%> (-1.03%)
:arrow_down:

...er/loadbalance/impl/PulsarResourceDescription.java

...oker/service/persistent/CompactorSubscription.java

...ker/service/persistent/PersistentSubscription.java

...sar/broker/stats/metrics/ManagedCursorMetrics.java

...e/pulsar/broker/service/EntryBatchIndexesAcks.java

...broker/intercept/BrokerInterceptorDefinitions.java

...broker/service/persistent/DispatchRateLimiter.java

...org/apache/pulsar/PulsarInitialNamespaceSetup.java

... and 487 more

Closed as no consensus. You may start a discussion on mailing list first.


All cameras unavailable all of a sudden

There was an update on HA and since then all my cameras are unavailable and  I get the following message
This entity is no longer being provided by the eufy_security integration. If the entity is no longer in use, delete it in settings.

Have you tried restarting eufy-security-ws then reloading the integration? That usually sorts it out for me.

Have you tried restarting eufy-security-ws then reloading the integration? That usually sorts it out for me.

Thank you but sadly that made no difference.

What is your expectation from us without sharing anything useful such as logs? Or better, just follow bug template

Apologies, I wanted to check to see if it was a problem for everyone first before I started posting logs etc
Here is the log the first line of the log. It's full of this for every camera
2023-08-11 11:29:21.868  ERROR Station T8410P2020363A0C - All address lookup tentatives failed.
2023-08-11 11:29:21.870  INFO  Timeout connecting to station T8410P*********

You have a network connection issue between your devices and add-on. Any restriction on your local network?

hmmmm, very odd.
No restrictions at all. I'm the only one who knows how to do anything with the network and I know very little myself. Learning every day
Did I read somewhere that the entity names are changing or something? Wondering if it is looking to an old device/entity name and they have all changed since the update? Just a thought

Am I able to reopen this issue?

Hi, I am also having the same issue. For about a week now. All entities from eufy security integration show the same message in the first post. “ This entity is no longer being provided by the eufy_security integration. If the entity is no longer in use, delete it in settings.”
Here’s everything that in my log for eufy security ws:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
2023-08-11 01:51:13.868  INFO  Eufy Security server listening on host <IP_ADDRESS>, port 3000
2023-08-11 01:51:20.106  INFO  MQTT connection successfully established
2023-08-11 01:51:20.156  INFO  Successfully registered to MQTT notifications for lock T8520Q2523070855
2023-08-11 01:51:21.097  INFO  Push notification connection closed
2023-08-11 01:51:24.404  INFO  Connected to station T8424N10223525F0 on host <IP_ADDRESS> and port 27811
2023-08-11 01:51:24.475  INFO  Connected to station T8030P13230237E7 on host <IP_ADDRESS> and port 20991
2023-08-11 01:51:24.556  INFO  Connected to station T8410P4222424C76 on host <IP_ADDRESS> and port 21863
2023-08-11 01:51:25.060  INFO  Push notification connection successfully established
2023-08-11 01:51:34.072  INFO  Connected to station T8400P3122400DFD on host <IP_ADDRESS> and port 19198
2023-08-11 01:51:34.213  INFO  Connected to station T8400P3122400B9C on host <IP_ADDRESS> and port 18945
2023-08-11 01:51:34.225  INFO  Connected to station T8203P1122490646 on host <IP_ADDRESS> and port 12252
2023-08-11 01:51:35.203  INFO  Connected to station T8410P4222424097 on host <IP_ADDRESS> and port 18150
2023-08-11 01:51:37.393  INFO  Connected to station T8520Q2523070855 on host <IP_ADDRESS> and port 19403
2023-08-11 01:51:54.073  INFO  Push notification connection successfully established
2023-08-11 01:52:07.612  INFO  Initiated closing of connection to station T8520Q2523070855 for saving battery.
2023-08-11 01:52:07.620  INFO  Disconnected from station T8520Q2523070855
2023-08-11 01:52:49.319  INFO  Client disconnected with ip: <IP_ADDRESS> port: 52222 code: 1000 reason: Normal Closure
2023-08-11 01:52:57.152  INFO  Client disconnected with ip: <IP_ADDRESS> port: 45470 code: 1000 reason: Normal Closure
2023-08-11 01:54:13.718  INFO  Client disconnected with ip: <IP_ADDRESS> port: 32874 code: 1000 reason: Normal Closure
2023-08-11 01:54:49.312  INFO  Client disconnected with ip: <IP_ADDRESS> port: 55534 code: 1000 reason: Normal Closure
2023-08-11 04:13:32.849  INFO  Disconnected from station T8410P4222424097
2023-08-11 04:13:38.047  INFO  Connected to station T8410P4222424097 on host <IP_ADDRESS> and port 12131
2023-08-11 07:08:26.102  WARN Station T8400P3122400DFD - Heartbeat check failed. Connection seems lost. Try to reconnect...
2023-08-11 07:08:26.109  INFO  Disconnected from station T8400P3122400DFD
2023-08-11 07:08:26.993  WARN Station T8400P3122400B9C - Heartbeat check failed. Connection seems lost. Try to reconnect...
2023-08-11 07:08:26.995  INFO  Disconnected from station T8400P3122400B9C
2023-08-11 07:08:27.377  WARN Station T8203P1122490646 - Heartbeat check failed. Connection seems lost. Try to reconnect...
2023-08-11 07:08:27.378  INFO  Disconnected from station T8203P1122490646
2023-08-11 07:08:28.213  WARN Station T8424N10223525F0 - Heartbeat check failed. Connection seems lost. Try to reconnect...
2023-08-11 07:08:28.214  INFO  Disconnected from station T8424N10223525F0
2023-08-11 07:08:28.853  WARN Station T8410P4222424C76 - Heartbeat check failed. Connection seems lost. Try to reconnect...
2023-08-11 07:08:28.855  INFO  Disconnected from station T8410P4222424C76
2023-08-11 07:08:29.036  WARN Station T8410P4222424097 - Heartbeat check failed. Connection seems lost. Try to reconnect...
2023-08-11 07:08:29.037  INFO  Disconnected from station T8410P4222424097
2023-08-11 07:08:38.946  ERROR onSocketError
Error  read ETIMEDOUT
details:
{
errno: -110,
code: 'ETIMEDOUT',
syscall: 'read'
}
error stack:
• stream_base_commons:217 onStreamRead
node:internal/stream_base_commons:217:20
2023-08-11 07:08:38.961  INFO  Push notification connection closed
2023-08-11 07:08:53.998  INFO  Push notification connection successfully established
2023-08-11 07:08:56.440  INFO  Connected to station T8410P4222424C76 on host <IP_ADDRESS> and port 29688
2023-08-11 07:08:57.585  INFO  Connected to station T8400P3122400DFD on host <IP_ADDRESS> and port 19686
2023-08-11 07:08:59.002  INFO  Connected to station T8410P4222424097 on host <IP_ADDRESS> and port 10322
2023-08-11 07:09:08.841  ERROR Station T8424N10223525F0 - All address lookup tentatives failed.
2023-08-11 07:09:08.844  INFO  Timeout connecting to station T8424N10223525F0
2023-08-11 07:09:10.787  WARN Station T8203P1122490646 - Tried all hosts, no connection could be established
2023-08-11 07:09:10.790  INFO  Timeout connecting to station T8203P1122490646
2023-08-11 07:09:13.443  WARN Station T8400P3122400B9C - Tried all hosts, no connection could be established
2023-08-11 07:09:13.445  INFO  Timeout connecting to station T8400P3122400B9C
2023-08-11 07:09:18.931  INFO  Connected to station T8424N10223525F0 on host <IP_ADDRESS> and port 12002
2023-08-11 07:09:19.423  INFO  Connected to station T8203P1122490646 on host <IP_ADDRESS> and port 21789
2023-08-11 07:09:34.354  ERROR Station T8400P3122400B9C - All address lookup tentatives failed.
2023-08-11 07:09:34.357  INFO  Timeout connecting to station T8400P3122400B9C
2023-08-11 07:09:36.472  INFO  MQTT connection closed
2023-08-11 07:09:37.637  INFO  MQTT connection successfully established
2023-08-11 07:10:09.370  ERROR Station T8400P3122400B9C - All address lookup tentatives failed.
2023-08-11 07:10:09.373  INFO  Timeout connecting to station T8400P3122400B9C
2023-08-11 07:10:54.390  ERROR Station T8400P3122400B9C - All address lookup tentatives failed.
2023-08-11 07:10:54.393  INFO  Timeout connecting to station T8400P3122400B9C
2023-08-11 07:11:49.410  ERROR Station T8400P3122400B9C - All address lookup tentatives failed.
2023-08-11 07:11:49.413  INFO  Timeout connecting to station T8400P3122400B9C
2023-08-11 07:12:54.431  ERROR Station T8400P3122400B9C - All address lookup tentatives failed.
2023-08-11 07:12:54.433  INFO  Timeout connecting to station T8400P3122400B9C
2023-08-11 07:15:09.452  ERROR Station T8400P3122400B9C - All address lookup tentatives failed.
2023-08-11 07:15:09.454  INFO  Timeout connecting to station T8400P3122400B9C
2023-08-11 07:18:24.470  ERROR Station T8400P3122400B9C - All address lookup tentatives failed.
2023-08-11 07:18:24.473  INFO  Timeout connecting to station T8400P3122400B9C
2023-08-11 07:21:45.061  INFO  Connected to station T8400P3122400B9C on host <IP_ADDRESS> and port 24161
2023-08-11 08:08:14.276  WARN Station T8424N10223525F0 - Heartbeat check failed. Connection seems lost. Try to reconnect...
2023-08-11 08:08:14.280  INFO  Disconnected from station T8424N10223525F0
2023-08-11 08:08:19.450  INFO  Connected to station T8424N10223525F0 on host <IP_ADDRESS> and port 21390
2023-08-11 08:51:18.149  WARN Station T8400P3122400DFD - Heartbeat check failed. Connection seems lost. Try to reconnect...
2023-08-11 08:51:18.152  INFO  Disconnected from station T8400P3122400DFD
2023-08-11 08:51:23.318  INFO  Connected to station T8400P3122400DFD on host <IP_ADDRESS> and port 27542
2023-08-11 09:09:26.711  INFO  Push notification connection closed
2023-08-11 09:09:32.098  INFO  Push notification connection successfully established

Glad it's not just me.
@fuatakgun could you reopen this issue please?

@fuatakgun Please repoen this issue

Enabled debugging and found the issue in the log: TypeError:
DeviceRegistry.async_get_or_create() got an unexpected keyword argument
'hardware'
Found an issue related to w/ a solution that worked for me.  see the
following
https://github.com/fuatakgun/eufy_security/issues/855
On Sat, Aug 12, 2023 at 5:05 PM chesterflaps @.***>
wrote:

@fuatakgun https://github.com/fuatakgun Please repoen this issue
—
Reply to this email directly, view it on GitHub
https://github.com/fuatakgun/eufy_security/issues/880#issuecomment-1676119501,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABWO44457D4YEL3HCBDEY4DXU742RANCNFSM6AAAAAA3ME36FQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Enabled debugging and found the issue in the log: TypeError:
DeviceRegistry.async_get_or_create() got an unexpected keyword argument
'hardware'
Found an issue related to w/ a solution that worked for me.  see the
following
https://github.com/fuatakgun/eufy_security/issues/855
On Sat, Aug 12, 2023 at 5:05 PM chesterflaps @.***>
wrote:

@fuatakgun https://github.com/fuatakgun Please repoen this issue
—
Reply to this email directly, view it on GitHub
https://github.com/fuatakgun/eufy_security/issues/880#issuecomment-1676119501,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABWO44457D4YEL3HCBDEY4DXU742RANCNFSM6AAAAAA3ME36FQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

This should have been solved with latest integration version. Are you sure you are using the latest one?


when l install gooey ,numpy is also installed,it make my exe too big

OS:win10
Python Version: 3.7
Gooey Version: 1.0.3
l use virtualenv for my python environment
when package my exe with pyinstaller, l found it is too big(about 200m)。
l checked installed packages and found numpy has been installed by gooey.
l try to exclude this import, but after do this,my exe do not work well.
l found some information about this, but do not work.
Thanks very much for your time on this

numpy is a dependency of wxPython: https://github.com/wxWidgets/Phoenix/blob/master/requirements/install.txt
So, unfortunately, there's nothing I can do to remove it for ya.


Project parser

Gradle Project Parser able to parse outside of Gradle Build Process.
This is part of the solution for https://github.com/openrewrite/rewrite-gradle-plugin/issues/217

Interfaces with single implementations are better off as just classes.

@jkschneider Gradle tooling model only allows interfaces for models to fetch, hence i had to create interfaces... but I'll have another look at it...

I don't see how all of the *Impl or the model builder classes are relevant to building the GradleProject marker. All of that code is already fully functional and working today without these changes as is shown by the tooling model's usage within the rewrite-gradle tests.
To me it sounded more like your goal was being able to parse the Gradle project sources in the same manner as is performed by the DefaultProjectParser which shouldn't require any model changes at all to support the tooling API path.

The goal is not only to have a ProjectParser similar to DefaultProjectParser outside of Gradle build process. The goal is to re-use the new ProjectParser from reqrite-gradle-tooling-model:parser module in DefaultProjectParser. See https://github.com/openrewrite/rewrite-gradle-plugin/pull/238. Essentially factor out source parsing logic out of DefaultProjectParser into ProjectParser that could work outside and inside the Gradle Build process (independent of Gradle API). Thus changes to parsing logic would go into one and only place (rather than DefaultProjectParser in rewrite gradle plugin and ProjectParser in the tooling model seperately).
The new ProjectParser takes GradleProjectData interface as an input. The GradleProjectData extends existing GradleProject. It extends it because:

parser needs plugins and name to configuration data
parser creates GradleProject marker from the corresponding tooling api object which in my case would be GradleProjectData
also added group and version to GradleProject but could be moved to GradleProjectData - parser needs this data

Note that GradleProject marker class does not implement GradleProject tooling interface and the same is true for method return types.
This is okay for the case of transferring an object from Gradle build process outside with the help of the tooling api. The GradleProject marker object was created from org.gradle.api.Project and although it does not derive  from tooling GradleProject it has kind of the same signature methods methods such that Gradle tooling is able to create a compatible to GradleProject tooling interface proxy object.
Now, if I was to use GradleProject (just simplifying from GradleProjectData that extends from GradleProject) tooling instance for the ProjectParser on the Gradle build side (DefaultProjectParser case) where would this instance come from? There is only code to produce the GradleProject marker from org.gradle.api.Project. The GradleProject tooling interface had no concrete subclasses. Therefore, I've decided to create *Impl POJOs to have a concrete implementation of GradleProject tooling interface that could be used for the case of the Gradle Build process side. The code creating *Impl POJOs and GradleProject marker objects was exactly the same hence I've removed the logic for creating GradleProject marker from org.gradle.api.Project in favour of creating *ImplPOJOs ofGradleProject` tooling interface since it works for the case of being inside and outside the GradleBuild and avoids code repetition.
The change to the existing tooling model is that support from creating GradleProject marker from org.gradle.api.Project is switched to creating GradleProject tooling POJO. The same goes for GradleSettings.

Tests are failing because first ./gradlew clean build publishMavenLocal -x test needs to run i think and then tests would use  the plugin part from local repository...

So the GradleProject marker was only ever intended to be created from within a Gradle context. Whether that was when running natively in the Gradle plugin via the org.openrewrite.gradle.marker.GradleProjectBuilder directly or via the tooling API integration via the org.openrewrite.gradle.toolingapi.ToolingApiOpenRewriteModelPlugin.OpenRewriteModelBuilder model builder which utilizes the same interface ultimately.
I don't think the intent has ever been to be able to or support attempting to create the marker from scratch from outside of a Gradle context. That said the *Impl classes are just a mirror image of the existing GradleProject marker and the rewrite-maven classes that it utilizes. This was so that the object serialization between the tooling API and the tooling plugin would function for a transport. If you wanted to build up the marker, you could do so via just the marker itself and the supporting classes from rewrite-maven without using any of the *Impl classes that have been defined here at all even from outside of the Gradle Tooling API like you described -- though I wouldn't personally advise doing that...
As far as the extraction of the DefaultProjectParser, it feels like the only aspect of trouble is extracting the facet of how to then provide the marker that represents the current project. In the rewrite-gradle-plugin, the marker could be generated from the project via the existing mechanism and passed down via the GradleProjectData while in other contexts the marker may be generated via the Tooling API then passed down via the same mechanism. This is just my opinion though.

I wonder if you @sambsnyd could have a look at this PR please :-) It's been opened for a while and I'd like to know if this is acceptable at all or might be acceptable with some changes. Thanks in advance for taking a look.

Creating GradleProject markers outside the context of Gradle or its tooling API is a non-goal for us. If it's something you want to do go for it, the public constructor is right there, but there is little incentive for us to take ownership of that logic. There's regression risk and maintenance burden but no obvious upside. About the only change in here I am inclined to accept is adding group and version fields to the GradleProject.

@sambsnyd I wouldn't say that GradleProject marker is created outside of the Gradle build context... (or have I missed anything?)
Original code:

org.openrewrite.gradle.marker.GradleProject created from org.gradle.api.Project (note that the marker is not instance of org.openrewrite.gradle.toolingapi.GradleProject)
Gradle Tooling API spits out org.openrewrite.gradle.toolingapi.GradleProject
org.openrewrite.gradle.marker.GradleProject created from org.openrewrite.gradle.toolingapi.GradleProject

This is essentially the same in the implementation proposed in the PR:

org.openrewrite.gradle.toolingapi.GradleProjectImpl created from org.gradle.api.Project (note that it is instance of org.openrewrite.gradle.toolingapi.GradleProject)
Gradle Tooling API spits out org.openrewrite.gradle.toolingapi.GradleProject
org.openrewrite.gradle.marker.GradleProject created from org.openrewrite.gradle.toolingapi.GradleProject

Only 1 has a bit of a difference due to GradleProjectData extending org.openrewrite.gradle.toolingapi.GradleProject. I do not think that regression and maintenance burden argument applies much to the GradleProject changes. Anyway, we can debate more on the subject of those *Impl classes and GradleProject - this is really the least concern IMO.
Taking ownership of the new parser module may not be desired on the Rewrite side - yes.
The additional change to rewrite-gradle-plugin proposed in the PR: https://github.com/openrewrite/rewrite-gradle-plugin/pull/238 is risky and can have regressions and might seem like a maintenance burden. That PR removes the project sources parsing logic from DefaultParser and uses the new ProjectParser instead. The benefit is that parser logic would be changed in one place only. Don't think it'd be great if DefaultParser and ProjectParser would both live their own lives independently but for the sake of not intrpducing risky changes this PR can be omitted perhaps.
All of this does not come without the incentive though. The incentive is that all consumers of the parser would have the same markers such as JavaProvenance, ProjectProvenance, GradleProject and any other newly added or removed markers that come as "conventional markers" that all recipes can rely on. Otherwise these markers may vary depending on the project parser implementation.


Can't set max deliver to -1 when creating the consumer in one line

When I'm creating a consumer in one command and specifying everything directly, the max-deliver gets set to 1 even though im telling it to be -1.
I'm creating the consumer like this (normally without --output):
~ # nats -s nats://jetstream:4242 consumer add TestStream TestConsumer --output test.json --max-deliver=-1 --deliver-group="" --target=publisher --deliver=all --ack=explicit --replay=instant --filter="" --max-pending=1000 --heartbeat=-1 --wait=-1s --no-headers-only --backoff=none --no-flow-control

And doing CAT on the json file gives me this:
{
  "ack_policy": "explicit",
  "deliver_policy": "all",
  "deliver_subject": "publisher",
  "durable_name": "TestConsumer",
  "max_ack_pending": 1000,
  "max_deliver": 1,
  "replay_policy": "instant"
}

So max_deliver is set to 1. Which it should not be.
But adding the consumer through the interactive cli correctly sets it to -1.
~ # nats -s nats://jetstream:4242 consumer add --output test2.json
? Consumer name
max
? Delivery target (empty for Pull Consumers)
help
? Delivery Queue Group

? Start policy (all, new, last, subject, 1h, msg sequence)
all
? Acknowledgement policy
explicit
? Replay policy
instant
? Filter Stream by subject (blank for all)

? Maximum Allowed Deliveries
-1
? Maximum Acknowledgements Pending
1000
? Idle Heartbeat
0s
? Enable Flow Control, ie --flow-control
No
? Deliver headers only without bodies
No
? Add a Retry Backoff Policy
No

~ # cat test2.json - Gives me this:
{
  "ack_policy": "explicit",
  "deliver_policy": "all",
  "deliver_subject": "help",
  "durable_name": "max",
  "max_ack_pending": 1000,
  "max_deliver": -1,
  "replay_policy": "instant"
}

Why is it not being set? 😕

There's a bug, now fixed https://github.com/nats-io/natscli/pull/464

Thanks for the report

Thanks for fixing it so quickly, glad I wasn't the issue. 😄 Any idea on when the fix gets released?

I will try releast today or sometime next week

Any news on release? 😄

This week, we had a few other important fixes incoming


Just stopping by

Apologies for the non-issue issue...
Just popping by to say thanks a bunch for this, and @JeroenED as well for the GUI and service. Saved me a bunch of time digging through documentation to achieve this myself.
I do dual boot with Windows but as you noticed changing the colour doesn't stick without the apps. I use Ubuntu 99% of the time anyway though, so this has been fantastic!
Cheers :)
Matt

Hi Matthew,
Sorry for the late reply. It's been a great pleasure reading this. However, credit to the right persons as it's not actually me who created the GUI but @derEisele who created the GUI. Myself I'm only responsible for the makefile and service.
But in my opinion, this is what open source is all about. Creating one piece of software and others putting their thoughts on what should make it better.
(FYI: you might have noticed that the after sleeping or suspending the colors are reset again. Not anymore in my branch ;) )

You are welcome Matthew, it always makes me happy to see that people are using my stuff!
(funny, github didn't inform me about this issue, wtf?)

@JeroenED on my setup i don't have the sleep color reset problem because i use a KVM switch witch keeps the keyboard active even when no computer is running...

Hello there,
I'm also happy to see other people enjoying our project. As @JeroenED mentioned before, I think open source is all about piecing together different skills and ideas to make a great and useful piece of software.


Webesite offline - No Documentation & Guide available

Cheers,
the website  ist offline and the documentation is not available.

If anybody requires the documentation it can still be found on the Wayback Machine
I hope this project doesn't get abandoned, it is by far my favourite autocomplete plugin.


cooperation with chia-monitor?

This is a nice (if not the nicest) dashboard for chia
https://github.com/philippnormann/chia-monitor
A metrics mapper in your chia exporter or a talk to the author would be nice. There is no need to reinvent the wheel, but we can tune it 😃
Another go project is here, but it seems to be dead, but works with the old 1.2.11
https://github.com/retzkek/chia_exporter

Hi! That looks like a really nice dashboard for a personal farm. The scope of the dashboards on this public Grafana instance is more blockchain-wide and not specific to one farm.

Yep, it is. I created my own dashboard which works with the official chia-exporter from Chris.
https://github.com/stefan-lange/chia-farm-dashboard
ATM not all metrics are available. Maybe Chris has some time in the future to add at least a plot size metric. The request is here: https://github.com/Chia-Network/chia-exporter/issues/35
I'm no GO dev, but created the https://github.com/stefan-lange/chia-price-exporter with the help of the chia-exporter and gut feeling. It's working ;)

Just read the code in your exporter :) Pretty cool! I'm personally not looking too closely at the price of XCH but I might set this up for my personal dashboards anyway.
Also found it interesting to see a .gitlab-ci.yml file in a GitHub repo ;)
Small nitpick, but in your gitlab CI yaml, I believe specifying an image globally was deprecated at some time in favor of the default:image keyword, which you could also probably leverage (the default keyword) for part of your yaml anchor. 😜

Also, especially if this was your first time working in Go, great work!

I'm in "team gitlab". Use it for all my stuff, at work and I like it. But the audience for such projects is on github. Repo mirroring does the trick for me.
Yep, that was the first time go.
Thx for the hint with the default image. I've been using Gitlab since 2017 and you never know enough :D


Fiber Photometry extension description

This extension aims to improve the already existing ndx-photometry and eventually converge in a unique extension for fiber photometry data.
In this new version, the FiberPhotometryTable stores the unique combination of location, coordinates, fluorophore,Fiber (Device), LightSource(Device), Photodetector(Device), DichroicMirror (Device).
The FiberPhotometryResponseSeries is a 2D array where the first dimension is time and the second is the number of fibers. FiberPhotometryResponseSeries has an additional field: fiber_photometry_table, a  DynamicTableRegion that references the FiberPhotometryTable rows in the same order as the second dimension of data.
This proposed version would tackle the problem of having hundreds of 1D FiberPhotometryResponseSeries in the case of multi-fiber systems where only the coordinates of the fiber implant change.
Fiber, LightSource, Photodetector, DichroicMirror, and OpticalFilter are defined as devices (in a single session, there are more likely 1 to 3 different configurations of the same device, e.g., two different excitation wavelength).
Open questions:
How can we represent Modulated raw traces? With this extension, only demodulated traces are represented (each trace is the result of a single excitation source, a single fluorophore, etc.). However, we have cases where a single raw trace is amplitude or frequency modulated to encode two or more traces. Thus, we need to be able to associate more than one excitation source or more than one fluorophore to the same trace.

Hi @alessandratrapani et al, I would like to collaborate on this with you all. I am working with the Berke Lab at UCSF also to store their photometry data in NWB by improving the already existing ndx-photometry extension. As a first step, we are converting the data from this paper https://www.cell.com/neuron/fulltext/S0896-6273(23)00550-0?_returnURL=https%3A%2F%2Flinkinghub.elsevier.com%2Fretrieve%2Fpii%2FS0896627323005500%3Fshowall%3Dtrue to NWB.
I'm at the stage of collecting all the fields that they want to store and schematizing them. Could we chat sometime after the Developer Hackathon? I will take a closer look at what you have here then.


Needs description or README.md

This sounds like a neat tool...mind sharing the Description/README.md?  Thanks.

Fixed


Todo

[ ] Improve examples #7
[ ] Improve test coverage #6
[x] Move test related files into tests/ dir

tests moved


wmi exporter 0.9.0 error Couldn't load collectors: collector 'logical_disknet' not available

I am trying to install wmi exporter version 0.9.0 on HP Z820 server running Windows Server 2016.
I run an elevated command prompt and here is the command I use:
msiexec /i C:\Temp\wmi_exporter-0.9.0-amd64.msi ENABLED_COLLECTORS="hyperv,memory,cpu,cs,logical_disknet,os,service,system,tcp,textfile"
The service installed fine but it's can't start, it will try to start and stopped continuously
If I checked event viewer I see this error message:
Event ID 102: Couldn't load collectors: collector 'logical_disknet' not available
Any help is appreciated

You’re missing a comma between logical_disk and net.
fre 14 feb. 2020 kl. 20:18 skrev hendraw72<EMAIL_ADDRESS>
I am trying to install wmi exporter version 0.9.0 on HP Z820 server
running Windows Server 2016.
I run an elevated command prompt and here is the command I use:
msiexec /i C:\Temp\wmi_exporter-0.9.0-amd64.msi
ENABLED_COLLECTORS="hyperv,memory,cpu,cs,logical_disknet,os,service,system,tcp,textfile"
The service installed fine but it's can't start, it will try to start and
stopped continuously
If I checked event viewer I see this error message:
Event ID 102: Couldn't load collectors: collector 'logical_disknet' not
available
Any help is appreciated
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/martinlindhe/wmi_exporter/issues/465?email_source=notifications&email_token=AC4XJTGVHNRZIK6T3EW75F3RC3VBNA5CNFSM4KVOFSE2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4INVANAA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC4XJTG2A5ZKXIVTV5ICWOLRC3VBNANCNFSM4KVOFSEQ
.

Thanks, that was it!


Adding Azure Policy to manage Inbound Allowed NSG Security Rules with…

This policy audits/denies the creation of inbound security rules with the source "Any" and with "Allow" access action.

This Azure policy will help out #220

Example of compliance result:
Please note that the name of my policy is different from the one created.. but the definition is the same.

Properties should be wrapped in a "properties" {} block
"effect": "deny" is wrong. Use the parameter you defined above
You need a name field (outside of properties which is a GUID.

Please comply to the contribution guidance:
https://github.com/Azure/Community-Policy/blob/master/CONTRIBUTING.md

@SebastianClaesson please note our comments in the PRs.
I apologize for not referring to you in the original comments.

Hi @techlake & @aschabus ,
I have now followed the contribution guide in a new commit.


Support Sprite Frames individual Frame Duration multiplier

For demonstration, set the Frame Duration of the first two frames of the attack animation to x1.5
Fixes #5

As a side note, I tried to keep whitespaces in big blocks but not between big blocks. However the formatting rule is not too clear. May I strip all whitespaces next time, using the text_editor/behavior/files/trim_trailing_whitespace_on_save setting?

Dang, that was fast! Thanks, I'll take a look.
For the formatting, you can go just ahead and strip, I think that'll be better too.

Thanks, I accepted the invite. I'll format next time I do some changes.
You're right, I'm using the importer a lot, it really improves my workflow when working directly from a spritesheet and tuning the FPS. If I have an idea for another feature (like hybrid track preserve mode), I'll open an issue and start working on it.


No module named 'CellClear.correct_expression'

Hi, I installed it using "pip install CellClear". But it can not be used with error. The version of Python is 3.11.5.

Sorry for that.  I've fixed the issue. Please install the latest version (0.0.2) of CellClear using ’pip install CellClear'.


[lit-element] Add this parameter to the remaining functions in the hydrate module.

this needs to be explicitly typed on these functions to prevent an internal build error.

What compiler setting causes an error without those annotations? We should enable it here.

Ping @bicknellr is there any way we can turn this rule on in our lint config?

This is no longer blocking as we're not importing this internally - this is a completely new feature so there are no users there yet. These will pop up again whenever we do decide to pull this feature in and, like #1722, might be better handled in one big linter sweep.


【zh_CN】Docs » deploy_chaincode.md待翻译

Please assign to me to translate this page into Chinese.

The translation work has been transferred to another repository.


Handle a couple py2.7 u'' cases from toml

I tested this locally with Julian/Filesystems#16.

Hopefully these failures can be fixed by a rebuild if/when Julian/Filesystems#17 is merged, though they aren't obviously related.  I guess we'll see.

@Julian could you trigger a rebuild of this and see if it's fixed?

Nevermind, just gonna push with a locked rev to avoid this in the future.

Still got py3 and Windows failures, but two looks good so I think this is ready.  Then I'll dig on the py3 errors in that branch.

Nice! Thanks!


Question: is there any possibility to send model type/id to upload_file_url action ?

Simple file uploading is nice, but it could be perfect if there is any ability to send model info with post url to get images uploaded based on models/other attrs, not only in one location.
Right now I see only possibility based on request.referrer, may be it is not a problem.
Thanks.

Hello, with gem tinymce-rails custom options can be passed to tinymce to override the global options specified in config/tinymce.yml:
view
= tinymce  uploadimage_form_url: "/add_image", uploadimage_hint: @post.id
routes.rb
post 'add_image', to: "image#add"
image_controller.rb
class ImageController < ApplicationController
  def add
    id = params[:hint] # @post.id pass by view
  end
end


Event Streams enterprise DA shows $0 in estimated cost

The enterprise variation of the Event Streams DA shows $0 in estimated cost:

Yet the enterprise plan for the service itself shows:

I suspect the service may not be onboarded to the cost estimator tool - please raise with that team

Created an issue with cost team


⚠ St. Lawrence Global Observatory CKAN Sitemap has degraded performance

In ea7f690, St. Lawrence Global Observatory CKAN Sitemap (https://catalogue.ogsl.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 6529 ms

Resolved: St. Lawrence Global Observatory CKAN Sitemap performance has improved in efa227c after 37 minutes.


Bug in Notes for imported studies

When a submission is imported into the curation interface, the “old” entry for that publication in the curation interface (i.e. the one that was there before the import) should have a note created saying “Review for deletion, replaced by deposition import”. The newly-created studies should not get this note.
At the moment, some of the newly created studies are incorrectly also getting this note, sometimes with multiple copies.
Examples:

Buchwald J 32157176, new study with Study tag “NMR” was incorrectly given 8 copies of this note

Chibnik LB 28322283, new study with Study tag “Gross infarct” was incorrectly given 1 copy of this note.

Tested in snoopy:9680 - this is now fixed.


Drag & Drop thumbnail issue

Description
While dragging photos being viewed in large size thumbnails. It will drag a preview of the thumbnail in that full large size with no transparancy.
This makes it difficult to sort photo's from Thumbnail view into List/Details view folders as the thumbnail covers multiple folders and you can't see what folder you're about to drop it in unless you manually open the folder first.
Steps To Reproduce

First folder showing thumbnails view
Second folder showing list or details view
Drag a thumbnail view file over to the list or details view folder and the thumbnail being dragged will cover multiple folders making it hard to see were it's being dropped.

Fix? Either making the drag & drop thumbnail transparancy customizable or making the thumbnail size being dragged much smaller.
Alternativly, like in File Explorer, you could make it to the files being dragged are at the top or bottom of the cursor instead of right in the middle. Would make it much more managable.
Requirements
Drag files from one folder to another without the thumbnail covering multiple folders and not being able to see were the content is being dropped.
Files Version
2.4.71
Windows Version
Windows 11 (22H2): 22621
Log File
debug.log

Sorry for the delayed response and thanks for the report, I was able to reproduce this.

I think the preferred solution is to have a set size for the thumbnail preview


Automatically clean deleted channels on /channels

Description
Automatically forget channels if they've been deleted when the /channels command runs.

Resolves #654

Checklist

[ ] Add tests for these changes
[ ] Test coverage is not decreased
[ ] Entire test suite passes

Codecov Report
Patch coverage: 96.85% and project coverage change: -0.06 :warning:

Comparison is base (3ba3ed0) 94.83% compared to head (9611cf6) 94.78%.

: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
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1118      +/-   ##
==========================================
- Coverage   94.83%   94.78%   -0.06%
==========================================
  Files         141      141
  Lines        7209     7265      +56
  Branches      539      544       +5
==========================================
+ Hits         6837     6886      +49
- Misses        314      320       +6
- Partials       58       59       +1

Impacted Files
Coverage Δ

src/spellbot/cli.py
82.14% <0.00%> (ø)

src/spellbot/cogs/tasks_cog.py
62.50% <ø> (ø)

src/spellbot/logs.py
100.00% <ø> (ø)

src/spellbot/metrics.py
100.00% <ø> (ø)

src/spellbot/models/base.py
100.00% <ø> (ø)

src/spellbot/services/awards.py
75.75% <ø> (ø)

tests/cogs/test_lfg_cog_points.py
100.00% <ø> (ø)

src/spellbot/actions/lfg_action.py
58.33% <60.00%> (-0.61%)
:arrow_down:

src/spellbot/client.py
77.77% <62.50%> (ø)

src/spellbot/services/games.py
94.21% <75.00%> (+0.03%)
:arrow_up:

... and 75 more

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


tests: disable 2 tests on linux which fail in optimized mode.

Until we fix this, I'd like to enable optimized mode testing on linux
Created https://bugs.swift.org/browse/SR-7138

@swift-ci smoke test and merge


Edge of the year

Is your feature request related to a problem? Please describe.

Describe the solution you'd like:

Describe alternatives you've considered:

Additional context:

Closing due to missing details, feel free to reopen once more information has been added.


Get Refresh Token

Thanks for your plugins.
Is it possible to get refresh_token?
I already try to edit the AuthResult class and also pass prompt=consent into the query parameter, but reset_token never come up.
Thanks

Fixed.
I have made some changes, if someone is interested with the changes you can have a visit to my repo, or I will make a PR if you want to.
Cheers

@f1dz Can you make an PR?


Possible to use the app for more than one site in the default repo in Enonic + can fetch all press releases ever published

What is included in this PR:

Check and handle all repos and sites which might use the app (not only the first site we can find in the default repo)
Possible to fetch all press releases ever published from selected Publisher id (and possibly selected Channels)
Added documentation for the "Disable import" option existing before this PR

First we created a customized version for one of our customers that do not use the default repo in Enonic. They also needed the possiblitiy to fetch all press releases ever published from their Publisher ID (and do not use Channels) the first time they used this app.
We thought this might be useful for others, so I have cleaned and generalized the code, and now created this PR.

I am not allowed to add reviewers, but maybe you can take a look @tajakobsen ? Or add a reviewer who can? 😊

Thank you for the feedback!
I have not used typescript that much yet, so I learned a lot here. I think it is great to get this feedback ^^
As I am not so used to typescript, I wonder, is this the correct way to use the runInDraftRepoContext when we need to pass the parameter to getOne? 😊
And for the replacement of forEach I used reduce as I normally would do this (I had a lot on my plate when I made the PR, and that is probably why this optimization was missed). Hope that is ok with you 😊


[Feature]: BERT models for embeddings

Now with the introduction of embeddings: https://github.com/vllm-project/vllm/pull/3734, are there plans on the roadmap to support BERT models?

Yep - we would welcome a PR

I also have interest in this task. Referring to #3734, I just use transformers.BertModel to implement the BertEmbeddingModel class(https://github.com/vllm-project/vllm/compare/main...laishzh:vllm:feat/bert). The code is in very early version, but it can output the embedding which I think is wrong~ The reason maybe is that the weights are not loaded correctly. This is my first development. I'm not sure whether is the right way to implement, or need to reimplement BertModel? Suggestions or cooperation are welcome.
@Etelis Also hope it helps.

The main thing you have to do is implement the BERTModel or XLMRobertaModel in the vllm/model_executor/models directory using the layers in vllm/model_exeuctor/layers. And then register the model in the Registry.
You can look at how llama and others are implemented in that directory as inspiration


🐞 Closing a file should not display "Welcome" screen

Description
After closing a file, the "welcome" screen pops up again.
I suggest not to show the welcome screen, since the user is already in the CodeEdit and will create a new file if needed.
Showing the welcome screen distracts the user from the actual work and adds another step to overcome, if e.g. the user wants to just exit editing process completely and move to the other app.
Note: this is how all the other similar apps operate, including the Xcode (it show the welcome screen only once, when the user launches the Xcode. When the project/file is closed, no window pops up).
To Reproduce

Open CodeEdit, observe Welcome screen popping up
Open some file
Close that file
observe Welcome screen popping up -> this is a bug

Expected Behavior
At step 4 no welcome window pops up, although the control is still with the CodeEdit and the menu bar shows CodeEdit as the currently running application.
Version Information
CodeEdit: 0.0.3-alpha.30
Additional Context
No response
Screenshots

I agree that this may not be the intended behavior. I've created a PR which fixes this.


Fixed the -a flag.

Motivation

Fixes #1108. The -a/--write-all flag was broken. When used, it would cause Manim to crash just after beginning to render the second scene. Thanks to @kilacoda, I'm able to fix the crashing, but there remained another issue with every combined file output writing to the same file.
Overview / Explanation for Changes

I changed a line in scene_file_writer.py as discussed in Issue #1108. This fixed the issue where -a crashed Manim.
The fix for the file output bug is a little bit more hacky. It seemed that config["output_file"] was being set somewhere after the SceneFileWriter for the first scene was initialized, but before it was initialized for the second scene. I couldn't find where this was, so I just added a check on line 71 of scene_file_writer.py for config["write_all"]. This is hacky, because it won't fix this issue when the user omits both a scene name and the -a flag, then enters more than one scene number into the prompt which appears.
I also added a test for the -a flag which ensures that two different files are generated. I created a new scenes file so that I could safely use the flag while relying on as few extra features as possible, so as to ensure that the scenes will at least render properly on their own.
Testing Status

All tests pass on my local machine.
Further Comments

I noticed some other irregularities with the file outputs while testing, but those are not directly to do with the functionality of the -a flag, and so I believe it is outside of the scope of this PR. In particular, scenes rendered with the -i or -s flag (and without the -a flag) will have the version number appended to the filename, before the extension. With my hacky fix for the -a flag, only the first scene will have this feature; successive scenes will be named properly.
Acknowledgements

[x] I have read the Contributing Guidelines
[x] I have chosen a descriptive PR title (see top of PR template for examples)

Reviewer Checklist

[x] Newly added functions/classes are either private or have a docstring
[x] Newly added functions/classes have tests added and (optional) examples in the docs
[x] Newly added documentation builds, looks correctly formatted, and adds no additional build warnings
[x] The PR title is descriptive enough

This looks fine as it is. In the future we should just keep refactoring the logic in scene_file_writer, which has always been poor.


Removed the extra spaces in the screen layout of the results

Removed the extra spaces in the screen layout of the results
In the error message mentioned which sitecol failed
Changed .txt to .csv and added headers for easier import into Excel

Hi @KoenZomers, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Thx Koen for this one more time. Similar changes were submitted with other PR at the same time as this one, which then resulted a conflict. Will close this as is for now. Thx for the submissions anyway, highly appreciated the input on the sandbox solution discussion.


Social icons not showing up

The social icons under the 'Around the web' are not opening.

I can verify that I reproduced this issue in the past, but I wasn't able to find a workaround for this.
Seemed like it was a browser issue for me (Chrome), but I'm not facing it any more.
Nevertheless, it would be great if someone provided an explanation of this attitude :) .

Could be happening because of a adblock  like extension?

@Wferr Yes, it's likely that. See this thread below regarding the issue via Font Awesome who generates the icons used in the theme.
https://github.com/FortAwesome/Font-Awesome/issues/1799

Your "error" has nothing to do with this theme itself.

Could be easily resolved by implementing the workaround suggested in the issue that is linked above:

To work around this, you'll need to modify the social icon class names.

These should be fixed now.


Unobtanium doesn't spawn

I am playing a modpack called Fantasy MC Fabric on 1.20.1.
It uses MyhicMetals 0.19.3.
Currently there is no unobtanium spawned in my world.
I was mining for a few hours, then I gave up.
I changed the texture (so that its more visible) with a small resource pack, put an Xray, got in spectator mod, and started looking. There is 0 unobtanium spawned anywhere between 5 and -54.
I checked the config and it has "unobtanium": true, .... "unobtaniumTemplateChance": 0.25
I haven't been able to find any mention of the mod within the pack, so I could assume the pack hasn't disabled the spawning of this ore, especially when there is even a custom quest for it.
Is there something I am missing? Do I need to do first for unobtanium to start spawning?

Nevermind, I had messed up something in my setup.
I managed to find unobtanium, but it was just so little.... There was one block every 4th chunk or so, I guess this is what is done with the "unobtaniumTemplateChance":0.25

The Unobtainium Smithing Template Chance does not affect the spawn rate of Unobtainium in any way. It affects how often that item shows up in Ancient City chests. To configure the worldgen you need a datapack


Getting stuck releasing hatched eggs

Playing Black 2 (USA, EUR), and the bot always gets stuck trying to release pokemon it's hatched - Most of the time it can't find the PC box, gets confused about 3 squares away, and opens a menu, but on the chance it manages to access the PC and dump the pokemon, it'll just get stuck walking into an NPC. Seems to have trouble navigating the building. Pic attached.

Bot can get stuck on the NPC in building in White 1 as well

Fixed on the latest dev commit


Add option to hide window without system tray icon

I want to Hide the program from both tray and taskbar so I have these settings. But with these settings when I minimize it keeps the taskbar icon which I don't want, and when I close the window it closes the whole program. But I wish to have it running in the background in case steam decides to update it self. I was able to achieve this on Steam Friend Patcher.

Image of Taskbar

I found another problem, every time I click the .exe, it runs a whole new instance instead of opening the existing one.

I found another problem, every time I click the .exe, it runs a whole new instance instead of opening the existing one.

So this is actually why the behavior that was included in the old patcher is not included in this one. You have to be able to access a running instance of SFP no matter what and as I currently don't have a way to open the existing one you have to choose between having a taskbar icon or having a tray icon.
The reason I can't just copy the behavior directly from the old patcher is that this patcher is intended to be cross platform compatible and as far as I know there is no built in way to both enforce a single instance of an application and communicate with an already running instance which works across platforms.
I do plan to look into this further, and if anything I might just include the functionality only for the Windows version, but I can't give any kind of ETA on when this will be accomplished.
This is one of the reasons I hesitated to push the update to the old patcher informing people to switch to this one as it does not have complete feature parity yet, but I decided to do so anyway because there was an influx of help requests caused by Valve's recent update to the library.

aight thanks

Ran into another problem where SFP gives a crash popup when I restart my laptop.

If you have issues other than the one described in this post, please post it in its own issue.
Also please make sure your issue is not a known issue.
https://github.com/PhantomGamers/SFP#known-issues

This is finally implemented in the latest prerelease for the Steam beta! :D https://github.com/PhantomGamers/SFP/releases/tag/0.0.31-alpha


Max-lenght option

Is there a way to add the max-lenght option so I can quit using ugly jQuery for it?

right now we don't have any solution but we are open to PRs.

+1 - this would be a great feature to add.


fixed mobile endpoints

PR Fixes:

Fixed mobile endpoints
Added bookmarks endpoint

Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I assure there is no similar/duplicate pull request regarding same issue

@devsargam

Looking into it

checking

@harmanbatheja15 just fix the side contents, add close button on mobile

@siinghd This PR is for CMS mobile app


fix(sec): upgrade com.alibaba:fastjson to 1.2.83

What happened？
There are 1 security vulnerabilities found in com.alibaba:fastjson 1.2.24

CVE-2022-25845

What did I do？
Upgrade com.alibaba:fastjson from 1.2.24 to 1.2.83 for vulnerability fix
What did you expect to happen？
Ideally, no insecure libs should be used.
The specification of the pull request
PR Specification from OSCS

adfasdfasfasfd


AccountManager supportable Login Authentication

Android SDK needs AccountManager supportable Login Authentication
The current api gives following json results after login with X-BB-SESSION as token !!
{
"result": "ok",
"data": {
"user": {
"name": "cesare",
"status": "ACTIVE",
"roles": [
{
"name": "registered"
}
]
},
"signUpDate": "2014-01-23 23:00:18",
"X-BB-SESSION": "41b7ce0f-be44-4737-b346-907483155ad8"
},
"http_code": 200
}
1>There is no option in baasbox android sdk api for adding the auth token (X-BB-SESSION ) to BaasDocument (to retrive REST API) such that it can be used for write-your-own-android-authenticator ( http://blog.udinic.com/2013/04/24/write-your-own-android-authenticator/) with Android AccountManager!
2>AccountManager api we can't do Multi user login !

We can't use  sync adapter with  AccountManager !

My own answer for this: use don't use sdk! use (cURL type) plain REST api call mentioned in documentation !  :( :( :(
but problem is I'm not sure token invalidation is supported !  ( Meaning, after invalidating the token the getAuthToken button will still return a token, but it’ll be only after he asks for it again from the server)
More info:
if we change the password of gmail in web app, mobile shows some error in login !! it will ask the password to enter again !! for doing this reason I'm asking !!


[SR-12946] Don't warn cast to unrelated metatype when involves archetypes

When involving generic types some protocol conformances can only be known at runtime.
cc @xedin @CodaFi

Resolves SR-12946.

This looks fine to me. Thanks!
@swift-ci smoke test and merge

@LucianoPAlmeida Could you check whether there are any similar SRs we could dupe to this one?

@LucianoPAlmeida Could you check whether there are any similar SRs we could dupe to this one?

Sure @xedin, I'll look it up :)

@LucianoPAlmeida Could you check whether there are any similar SRs we could dupe to this one?

@xedin Found a few that may be related, but I still need to test and verify which ones involves existentials and are fixed.

Sounds good, thank you!


test: conditionally skip depending on net-http-persistent < v4

Net::HTTP::Persistent removed #retry_change_requests in v4.0.0 and
later, so these tests fail if we've pulled in a more recent version
than that.
Related to https://github.com/drbrain/net-http-persistent/pull/100

OK, everything is green except for Ruby 3.0 which is failing for reasons addressed by #557. Will merge and then move on to that PR.

OK, everything is green except for Ruby 3.0 which is failing for reasons addressed by #557. Will merge and then move on to that PR.


Publishing universal package doesn't work in Self-Hosted agent behind proxy

Hi,
I'm using 'Universal Packages' publish task in release pipeline in self-hosted agent which is behind proxy. During run I'm getting error:
Error: tunneling socket could not be established, statusCode=403
I had similar problem on 'Download Artifacts' step, but below solution resolved the issue (defining 'release.artifact.download.useagentplugin' variable with 'true' value).
https://developercommunity.visualstudio.com/content/problem/439174/self-hosted-agents-behind-proxy-cannot-download-bu.html
I cannot find any similar solution for 'Universal Packages' publish task

Hey there,
We are facing he exact same scenario :

on-prem behind a proxy
problem downloading artefacts since new agents version (> 2.168)
adding the workaround variable linked by @promm1983 in every release (sigh...)
the artefact downloads are working again
error with the Universal Package download

We had no problem with this task before upgrading the agents (which we did to be able to use YAML builds) and we have configured the proxy everywhere it was possible (npm proxy, on agent installation, account running the agent configuration, environment vars).
It seems like something changed in handling proxies between v2.164 and v2.168 of Azure Agents that made every downloading task to fail.
I've noticed this Release Note about proxies and agents : https://docs.microsoft.com/en-us/azure/devops/release-notes/2019/sprint-147-update?branch=releasenotes%2Fsprint-147#proxy-support-for-artifacts-related-tasks
But it seems waaaaaaay older (~02/2019) than the agent v2.164 (~01/2020)... which work fine.
And i've checked in the Azure Release Notes between v2.164 (~01/2020) and v2.168 (~04/2020) and can't find anything proxy related.
Any help?
Thx

Can we have an update or at least an acknowledgement on this issue?
We are still locked on old agent versions when using Universal Packages only because it doesn't take our proxy configuration into account...


Implement String.Chars for all XDR types

I'm submitting a ...

[ ] bug report
[X] feature request
[ ] support request

What is the current behavior?
IO.puts doesn't work on the XDR types
What is the expected behavior?
It'd be nice to have a nice string representation that identifies the type, type name, and whatever additional data and/or type specifications (e.g. length for a fixed array) exist in the given type as currently constructed.
See https://github.com/stellar/xdrgen/pull/47#pullrequestreview-317685056

I've been looking around for examples of String.Chars implementations on custom data structures, but I haven't yet found enough to make me confident I know what this ought to look like. It seems like a lot of things eschew String.Chars unless the thing they're encoding is a structure on top of a string-ish thing, like a URI.
I'll keep poking around

Everything I found reenforces the impression in my last comment, that String.Chars should not be implemented to provide any kind of "summary" for a structured data type. Inspecting data is what the Inspect protocol is for.
I think the only natural binary representation of an XDR type would be its binary encoding, and yet that's probably not something we want to provide as an automatic type coercion thing either.


Can you please provide the code of inference the video in the wild?

Can you please provide the code of inference the video in the wild?

Generally speaking, our Ray3D isn't suitable for in-the-wild scenario. For the reason that you have to inject camera intrinsic and extrinsic parameters into the model. If you can perform calibration for the images that you collect from the scenario, you can follow my answer presented in issue #8 to construct a custom dataset and then perform inference.


Watch fix

Please squash (rebase -i master) your commits into one.

Merged in c00a1fc.
I changed your commit message slightly; it may sound pedantic, but the contribution guidelines are pretty clear:
"... each commit message should have a title/subject in imperative mode without trailing period ..."


Regen APIs and bump version

Coverage remained the same at 94.819% when pulling ae63d889cc7a43db7a40929789af6f5c92e85545 on saicheems:master into 4f143ae551368502f44290fbe5380e5a6da91094 on google:master.

Coverage remained the same at 94.819% when pulling ae63d889cc7a43db7a40929789af6f5c92e85545 on saicheems:master into 4f143ae551368502f44290fbe5380e5a6da91094 on google:master.


[Spaceship] Error 'undefined method `each' for nil:NilClass' when using Spaceship::Portal::Persons

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
I am trying to use the Person Management tools described here: https://github.com/fastlane/fastlane/pull/8047
Any Spaceship::Portal::Persons method results in the following error:
/Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.129.0/spaceship/lib/spaceship/portal/persons.rb:44:in `factory_member': [!] undefined method `each' for nil:NilClass (NoMethodError)
	from /Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.129.0/spaceship/lib/spaceship/portal/persons.rb:11:in `all'
	from Fastfile:106:in `block (2 levels) in parsing_binding'
	from /Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/lane.rb:33:in `call'
	from /Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/lane.rb:33:in `call'
	from /Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
	from /Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
	from /Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
	from /Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/lane_manager.rb:56:in `cruise_lane'
	from /Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
	from /Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'
	from /Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
	from /Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
	from /Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
	from /Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
	from /Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.129.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
	from /Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
	from /Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/commands_generator.rb:333:in `run'
	from /Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
	from /Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.129.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in `take_off'
	from /Users/keith/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.129.0/bin/fastlane:23:in `<top (required)>'
	from /Users/keith/.fastlane/bin/bundle/bin/fastlane:22:in `load'
	from /Users/keith/.fastlane/bin/bundle/bin/fastlane:22:in `<main>'

Command executed
I created the following lane in my fastfile:
  lane :teststuff do
    Spaceship::Portal.login
    Spaceship::Portal.client.team_id = ENV['TEAM_ID']
    Spaceship::Portal::Persons.all
  end

and ran it with fastlane iOS teststuff
Environment
✅ fastlane environment ✅
Stack

Key
Value

OS
10.14.6

Ruby
2.2.4

Bundler?
false

Git
git version 2.23.0

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.14.6 (18G87)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
10.3

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
require "spaceship"

default_platform :ios

platform :ios do
  lane :teststuff do
    Spaceship::Portal.login
    Spaceship::Portal.client.team_id = ENV['TEAM_ID']
    Spaceship::Portal::Persons.all
  end

end

`./fastlane/Appfile`
app_identifier ENV['APP_IDENTIFIER'] # The bundle identifier of your app
apple_id ENV['APPLE_ID'] # Your Apple email address
itc_team_id ENV['ITC_TEAM_ID']
itc_team_name ENV['ITC_TEAM_NAME']

team_id ENV['TEAM_ID']  # Developer Portal Team ID
json_key_file ENV["JSON_KEY_FILE"]
package_name ENV["APP_IDENTIFIER"]

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.129.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
2.3.5

claide
1.0.3

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.12.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.2.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.7.0

tty-cursor
0.7.0

tty-spinner
0.9.1

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.6

excon
0.55.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.1.3

json
1.8.1

mini_magick
4.9.5

multi_xml
0.6.0

rubyzip
1.2.3

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.0

bundler
1.14.6

faraday_middleware
<IP_ADDRESS>

naturally
2.2.0

simctl
1.6.5

jwt
2.1.0

uber
0.0.15

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

multi_json
1.12.1

signet
0.11.0

memoist
0.16.0

os
0.9.6

googleauth
0.6.7

httpclient
2.8.3

google-api-client
0.23.9

google-cloud-env
1.2.0

google-cloud-core
1.3.0

digest-crc
0.4.1

google-cloud-storage
1.16.0

emoji_regex
1.0.1

libxml-ruby
3.0.0

psych
2.0.8

It is very possible this functionality broke with Apple's updates to their APIs. @joshdholtz? (Ping @max-ott, maybe you know a bit about this as well)

That's now all done over at App Store Connect, so Portal won't work.

@max-ott Thanks for the tip! The following worked for me, displaying the members on the team on adding a new member:
Spaceship::Tunes.login
    Spaceship::Tunes.client.team_id = ENV['ITC_TEAM_ID']
    p Spaceship::Tunes::Members.all
    Spaceship::Tunes::Members.create!(
      firstname: "First",
      lastname: "Last",
      email_address<EMAIL_ADDRESS>      roles: ["developer"],
      apps: []
    )


Fix error pages on the fallback CDN

The crawler itself can't find our error pages (obviously they're not in
the site map).
Instead, we've got a little hack in the govuk_sync_mirror mirror script
where we fetch the error page from static just before we upload the
mirrored files to S3.
Unfortunately, we're not putting the file in the right place. The
directory structure in S3 looks like:
.
├── error
│   └── 503.html
└── www.gov.uk
    └── error
        └── 503.html

/error/503.html is the file we're uploading, but /www.gov.uk/error/503.html
is the file that gets served by CloudFront.
The file in /www.gov.uk/error/ hasn't been updated since 2019
(presumably when the crawler stopped running on Carrenza?). This means
it's referring to a bunch of assets on assets.publishing.service.gov.uk
which don't exist anymore (because we moved them to www.gov.uk), so the
error pages end up unstyled. This is reproducible here at the moment:
https://d1v9gv6rnax070.cloudfront.net/404
(Note the response header: last-modified: Fri, 21 Jun 2019 16:26:16 GMT)
If we put the error page in the right place, that should get us an
up-to-date mirror of the file.
Note that I'm using www.* because the directory has a different name
in different environments (it's www.integration.publishing.service.gov.uk
in integration, www.gov.uk in production). The glob sorts that out for
us.
Draft until:

[x] Trello card created to represent this change
[x] Trello card has acceptance criteria that ensure this gets deployed

Trello: https://trello.com/c/cjPz75uK/2593-fix-error-pages-on-the-fallback-cdn

Rebased as it's been a couple of months since this was done


fix(codegen/prettycode): Use base_indentation as intended

The diff should be self-explanatory

@iBug Thank you for the PR. Where does the issue manifest itself in the generated code?

I'm working on a local fork and find this parameter useful except for not being effective. I thought it was intended like so, judging by variable naming, so I figured I'd send a PR for that.


Using GroupCAM, get a NoneType

I use your groupcam code, but I get the NoneType

Here is my code:
def cam(model, loader, target_layer='conv1'):
    gc = GroupCAM(model, target_layer=target_layer)
    for i, (data, target) in enumerate(loader):
        if torch.cuda.is_available():
            data = data.cuda(non_blocking=True)
            target = target.cuda(non_blocking=True)
        saliency_maps = []
        model.eval()
        for idx in range(data.shape[0]):
            image = data[idx].unsqueeze(0)
            if idx == data.shape[0] - 1:
                saliency = gc(image, class_idx=target[idx], retain_graph=False)
            else:
                saliency = gc(image, class_idx=target[idx], retain_graph=True)
            saliency = saliency.to(device)
            saliency_maps.append(saliency)
        saliency_maps = torch.cat(saliency_maps, dim=0)
        mean = torch.mean(saliency_maps)
        saliency_maps = torch.where(saliency_maps < mean, 0.0, 1.0)

The model is my DNN, and the loader is the CIFAR-10 eval_loader,
My PyTorch version: '1.12.1+cu116'
Python version: 3.7

This could be target_layer not found. You can print the model to check whether target_layer 'conv1' exists.

I have checked it, the target-layer is right. And I found that score_saliency_map gets nan in groupcam in the CIFAR-10 dataset.

have you solved it？I also found that score_saliency_map gets nan in groupcam in the CIFAR10/100 dataset
@1zeryu

No, I didn't solve it, and finally, I choose to use torchcam to implement my experiments.


[WIP] feature: init syslog functionality in pouchd

Ⅰ. Describe what this PR did
TBD
Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it
TBD
Ⅳ. Describe how to verify it
TBD
Ⅴ. Special notes for reviews
TBD

Codecov Report

Merging #1500 into master will increase coverage by 0.03%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master    #1500      +/-   ##
==========================================
+ Coverage   40.55%   40.59%   +0.03%
==========================================
  Files         253      255       +2
  Lines       16481    16515      +34
==========================================
+ Hits         6684     6704      +20
- Misses       8941     8951      +10
- Partials      856      860       +4

Impacted Files
Coverage Δ

daemon/logger/info.go
0% <0%> (ø)

daemon/containerio/options.go
55.17% <100%> (ø)
:arrow_up:

daemon/mgr/container_validation.go
36.36% <50%> (+36.36%)
:arrow_up:

daemon/containerio/jsonfile.go
73.23% <66.66%> (+0.38%)
:arrow_up:

daemon/mgr/container_logger.go
80% <80%> (ø)

daemon/mgr/container.go
49.25% <84%> (-0.04%)
:arrow_down:

daemon/logger/jsonfile/utils.go
70% <0%> (-1.67%)
:arrow_down:

LGTM.


[refinery] Bump image to v1.11.0

Updates the Refinery chart's image to use the latest (v1.11.0).

Closes #124

Includes adding EnvironmentCacheTTL to values.yaml.

Paused pending adding better environment name lookup support

https://github.com/honeycombio/refinery/issues/407

Bumped to Refinery v1.12.0


Added test for issue #211

Test for issue #211, builds in traviscs

@damemi please take out the npm-debug log

@Istyatur , could you take out the npm-debug log?


Allow multiple fields/values in modify command

For now -f/-v can only be used once, however to speed up mass modification it would be nice to be able to specify multiple fields/values at once.

Maybe it's an idea to use a notation with =, so instead of writing modify -f location_city -v Berlin allow modify -f location_city=Berlin -f location_country=Germany.


Migrate presentation layer to Kotlin Multiplatform

[x] Migrate theme modules to KMP
[x] Migrate ui module to KMP
[x] Use jetbrains artifact for AndroidX ViewModel
[ ] Migrate feature module to KMP and rename the module to presentation

Blocked because SQLDelight isn't yet compatible with Wasm target.
Waiting: https://github.com/cashapp/sqldelight/pull/4965

Workaround: use settings library as database.


Add per project after trigger

Any chance for a way to trigger per project after actions? Right now it looks like the default is after-all but would be nice to set specific actions per project.

Hello!
Yes, it is a planned feature, I will add it in a few days :smiley:

Awesome. I'm liking pm a lot so far as a simple project manager
Sent from my iPhone
On Sep 26, 2015, at 4:33 PM, ?ngel M <notifications<EMAIL_ADDRESS>wrote:
Hello!
Yes, it is a planned feature, I will add it in a few days [:smiley:]

Reply to this email directly or view it on GitHubhttps://github.com/Angelmmiguel/pm/issues/1#issuecomment-143497920.

Thanks! I hope it help you.

I added this functionality to new version. I need to create an "update" process from version 0.1 to this version because I changed the format of ~/.pm/projects to store the properties of them.
The change is to enclose to projects. Before this feature:
pm:/Users/myuser/myproject
irb:/Users/myuser/mysecondproject

Now,
pm:/Users/myuser/myproject
\pm
irb:/Users/myuser/mysecondproject
\irb

I will add an update process to perform this changes automatically.

Added update process in commit 17d1f09. This feature is available in 0.2.0rc version and newer.