sendEmbed and sendMessage not firing

Environment

PHP Version:

7.4.3

DiscordPHP Version:

Latest master

Describe the bug
in the context of GUILD_MEMBER_REMOVE and GUILD_MEMBER_ADD, sendMessage and sendEmbed seems to randomly fail to execute and none of the callbacks ever trigger.
To Reproduce
Code snippet:
if ($welcome_log_channel) {
	echo '[TEST]' . __FILE__ . ':' . __LINE__ . PHP_EOL;
	//Send the message, announcing the member's departure
	$welcome_log_channel->sendMessage("", false, $embed)->done(function ($r) {
		ob_flush();
		ob_start();
		var_dump($r);
		file_put_contents("result_dump.txt", ob_get_flush());
	}, function ($error) {
		ob_flush();
		ob_start();
		var_dump($error);
		file_put_contents("error_dump.txt", ob_get_flush());
	});
	return true;
}

Expected behavior
sendEmbed and sendMessage should fire and receive a callback, or at least emit an error as to why they failed to fire.
Screenshots

Additional context
I am currently unable to reliably replicate this issue. The var_dump of the channels being used show no irregularities. Isuse occurs with both sendEmbed->($embed) and sendMessage("", false, $embed)

I have also confirmed this issue is happening with member->addRole() in the same context

Could you add an HTTP logger?
$logger = new Monolog('HTTPLogger');
$logger->pushHandler(new StreamHandler('php://stdout'));

$discord = new Discord([
    // ...
    'httpLogger' => $logger,
]);

[2020-12-07T09:41:55.193021+00:00] HTTPLogger.DEBUG: REQ GET https://discord.com
/api/v6/gateway/bot queued [] []
[LOGIN] 07-12-2020 09:41:55
[2020-12-07T09:41:55.373928+00:00] HTTPLogger.DEBUG: REQ GET https://discord.com
/api/v6/gateway/bot successful [] []
[2020-12-07T09:41:55.374291+00:00] DiscordPHP.INFO: gateway retrieved and set {"
gateway":"wss://gateway.discord.gg/?v=6&encoding=json","session":{"total":1000,"
remaining":986,"reset_after":6615604,"max_concurrency":1}} []
[2020-12-07T09:41:55.374585+00:00] DiscordPHP.INFO: starting connection to webso
cket {"gateway":"wss://gateway.discord.gg/?v=6&encoding=json"} []
[2020-12-07T09:41:55.512393+00:00] DiscordPHP.INFO: websocket connection has bee
n created [] []
[2020-12-07T09:41:55.513844+00:00] DiscordPHP.INFO: received hello [] []
[2020-12-07T09:41:55.514130+00:00] DiscordPHP.INFO: heartbeat timer initilized {
"interval":41250.0} []
[2020-12-07T09:41:55.514301+00:00] DiscordPHP.INFO: identifying {"payload":{"op"
:2,"d":{"token":"[REDACTED]","p
roperties":{"$os":"WINNT","$browser":"DiscordBot (https://github.com/teamreflex/
DiscordPHP, v5.0.12)","$device":"DiscordBot (https://github.com/teamreflex/Disco
rdPHP, v5.0.12)","$referrer":"https://github.com/teamreflex/DiscordPHP","$referr
ing_domain":"https://github.com/teamreflex/DiscordPHP"},"compress":true}}} []
[2020-12-07T09:41:55.731971+00:00] HTTPLogger.DEBUG: REQ GET https://discord.com
/api/v6/oauth2/applications/@me queued [] []
[2020-12-07T09:41:55.732311+00:00] DiscordPHP.INFO: did not parse private channe
ls [] []
[2020-12-07T09:41:55.735752+00:00] DiscordPHP.INFO: stored guilds {"count":0,"un
available":52} []
[2020-12-07T09:41:56.200285+00:00] DiscordPHP.INFO: all guilds are now available
 {"count":52} []
[2020-12-07T09:41:56.200591+00:00] DiscordPHP.INFO: set up chunking, checking fo
r chunks every 5 seconds [] []
[2020-12-07T09:41:56.301668+00:00] DiscordPHP.INFO: client is ready [] []
[READY] Logged in as Palace Bot#9203<PHONE_NUMBER>95753482)
[READY TIMESTAMP] 07-12-2020 09:41:56
[2020-12-07T09:41:56.314545+00:00] HTTPLogger.DEBUG: REQ GET https://discord.com
/api/v6/oauth2/applications/@me successful [] []
guildMemberAdd<PHONE_NUMBER>71931648)
[TEST]C:\Discord Bots\discord - Palace DiscordPHP\guildmemberadd-include.php:44
[TEST]C:\Discord Bots\discord - Palace DiscordPHP\guildmemberadd-include.php:62
[2020-12-07T09:42:46.282490+00:00] HTTPLogger.DEBUG: REQ POST https://discord.co
m/api/v6/channels/468979761390288896/messages queued [] []
[TEST]C:\Discord Bots\discord - Palace DiscordPHP\guildmemberadd-include.php:88
[2020-12-07T09:42:46.513620+00:00] HTTPLogger.DEBUG: REQ POST https://discord.co
m/api/v6/channels/679374168462065668/messages queued [] []
[2020-12-07T09:42:46.516747+00:00] HTTPLogger.DEBUG: REQ POST https://discord.co
m/api/v6/channels/468979761390288896/messages successful [] []
[2020-12-07T09:42:46.713884+00:00] HTTPLogger.DEBUG: REQ POST https://discord.co
m/api/v6/channels/679374168462065668/messages successful [] []
guildMemberRemove<PHONE_NUMBER>71931648)
[TEST]C:\Discord Bots\discord - Palace DiscordPHP\guildmemberremove-include.php:
71
[2020-12-07T09:42:50.773190+00:00] HTTPLogger.DEBUG: REQ POST https://discord.co
m/api/v6/channels/468979761390288896/messages queued [] []
[2020-12-07T09:42:50.898403+00:00] HTTPLogger.WARNING: REQ POST https://discord.
com/api/v6/channels/468979761390288896/messages failed: Discord\Exceptions\Disco
rdRequestFailedException: Bad Request in C:\Discord Bots\discord - Palace Discor
dPHP\vendor\team-reflex\discord-php\src\Discord\Http\Http.php:355 Stack trace: #
0 C:\Discord Bots\discord - Palace DiscordPHP\vendor\team-reflex\discord-php\src
\Discord\Http\Http.php(292): Discord\Http\Http->handleError(Object(RingCentral\P
sr7\Response)) #1 C:\Discord Bots\discord - Palace DiscordPHP\vendor\react\promi
se\src\FulfilledPromise.php(42): Discord\Http\Http->Discord\Http\{closure}(Objec
t(RingCentral\Psr7\Response)) #2 C:\Discord Bots\discord - Palace DiscordPHP\ven
dor\react\promise\src\Promise.php(66): React\Promise\FulfilledPromise->done(Obje
ct(Closure), Object(Closure)) #3 C:\Discord Bots\discord - Palace DiscordPHP\ven
dor\react\promise\src\Promise.php(168): React\Promise\Promise::React\Promise\{cl
osure}(Object(React\Promise\FulfilledPromise)) #4 C:\Discord Bots\discord - Pala
ce DiscordPHP\vendor\react\promise\src\Promise.php(231): React\Promise\Promise->
settle(Object(React\Promise\FulfilledPromise)) #5 C:\Discord Bots\discord - Pala
ce DiscordPHP\vendor\react\promise\src\Deferred.php(36): React\Promise\Promise::
React\Promise\{closure}(Object(RingCentral\Psr7\Response)) #6 C:\Discord Bots\di
scord - Palace DiscordPHP\vendor\react\http\src\Io\Transaction.php(90): React\Pr
omise\Deferred->resolve(Object(RingCentral\Psr7\Response)) #7 C:\Discord Bots\di
scord - Palace DiscordPHP\vendor\react\promise\src\FulfilledPromise.php(28): Rea
ct\Http\Io\Transaction->React\Http\Io\{closure}(Object(RingCentral\Psr7\Response
)) #8 C:\Discord Bots\discord - Palace DiscordPHP\vendor\react\promise\src\Promi
se.php(134): React\Promise\FulfilledPromise->then(Object(Closure), Object(Closur
e)) #9 C:\Discord Bots\discord - Palace DiscordPHP\vendor\react\promise\src\Prom
ise.php(168): React\Promise\Promise::React\Promise\{closure}(Object(React\Promis
e\FulfilledPromise)) #10 C:\Discord Bots\discord - Palace DiscordPHP\vendor\reac
t\promise\src\Promise.php(231): React\Promise\Promise->settle(Object(React\Promi
se\FulfilledPromise)) #11 C:\Discord Bots\discord - Palace DiscordPHP\vendor\rea
ct\promise\src\FulfilledPromise.php(42): React\Promise\Promise::React\Promise\{c
losure}(Object(RingCentral\Psr7\Response)) #12 C:\Discord Bots\discord - Palace
DiscordPHP\vendor\react\promise\src\Promise.php(135): React\Promise\FulfilledPro
mise->done(Object(Closure), Object(Closure), Object(Closure)) #13 C:\Discord Bot
s\discord - Palace DiscordPHP\vendor\react\promise\src\Promise.php(168): React\P
romise\Promise::React\Promise\{closure}(Object(React\Promise\FulfilledPromise))
#14 C:\Discord Bots\discord - Palace DiscordPHP\vendor\react\promise\src\Promise
.php(231): React\Promise\Promise->settle(Object(React\Promise\FulfilledPromise))
 #15 C:\Discord Bots\discord - Palace DiscordPHP\vendor\react\promise\src\Fulfil
ledPromise.php(42): React\Promise\Promise::React\Promise\{closure}(Object(RingCe
ntral\Psr7\Response)) #16 C:\Discord Bots\discord - Palace DiscordPHP\vendor\rea
ct\promise\src\Promise.php(66): React\Promise\FulfilledPromise->done(Object(Clos
ure), Object(Closure)) #17 C:\Discord Bots\discord - Palace DiscordPHP\vendor\re
act\promise\src\Promise.php(168): React\Promise\Promise::React\Promise\{closure}
(Object(React\Promise\FulfilledPromise)) #18 C:\Discord Bots\discord - Palace Di
scordPHP\vendor\react\promise\src\Promise.php(231): React\Promise\Promise->settl
e(Object(React\Promise\FulfilledPromise)) #19 C:\Discord Bots\discord - Palace D
iscordPHP\vendor\react\promise\src\FulfilledPromise.php(42): React\Promise\Promi
se::React\Promise\{closure}(Object(RingCentral\Psr7\Response)) #20 C:\Discord Bo
ts\discord - Palace DiscordPHP\vendor\react\promise\src\Promise.php(135): React\
Promise\FulfilledPromise->done(Object(Closure), Object(Closure), Object(Closure)
) #21 C:\Discord Bots\discord - Palace DiscordPHP\vendor\react\promise\src\Promi
se.php(168): React\Promise\Promise::React\Promise\{closure}(Object(React\Promise
\FulfilledPromise)) #22 C:\Discord Bots\discord - Palace DiscordPHP\vendor\react
\promise\src\Promise.php(231): React\Promise\Promise->settle(Object(React\Promis
e\FulfilledPromise)) #23 C:\Discord Bots\discord - Palace DiscordPHP\vendor\reac
t\promise\src\FulfilledPromise.php(42): React\Promise\Promise::React\Promise\{cl
osure}('{"embed": ["fie...') #24 C:\Discord Bots\discord - Palace DiscordPHP\ven
dor\react\promise\src\Promise.php(135): React\Promise\FulfilledPromise->done(Obj
ect(Closure), Object(Closure), Object(Closure)) #25 C:\Discord Bots\discord - Pa
lace DiscordPHP\vendor\react\promise\src\Promise.php(168): React\Promise\Promise
::React\Promise\{closure}(Object(React\Promise\FulfilledPromise)) #26 C:\Discord
 Bots\discord - Palace DiscordPHP\vendor\react\promise\src\Promise.php(231): Rea
ct\Promise\Promise->settle(Object(React\Promise\FulfilledPromise)) #27 C:\Discor
d Bots\discord - Palace DiscordPHP\vendor\react\promise-stream\src\functions.php
(75): React\Promise\Promise::React\Promise\{closure}('{"embed": ["fie...') #28 C
:\Discord Bots\discord - Palace DiscordPHP\vendor\evenement\evenement\src\Evenem
ent\EventEmitterTrait.php(123): React\Promise\Stream\{closure}() #29 C:\Discord
Bots\discord - Palace DiscordPHP\vendor\react\http\src\Io\ReadableBodyStream.php
(50): Evenement\EventEmitter->emit('close') #30 C:\Discord Bots\discord - Palace
 DiscordPHP\vendor\react\http\src\Io\ReadableBodyStream.php(151): React\Http\Io\
ReadableBodyStream->close() #31 C:\Discord Bots\discord - Palace DiscordPHP\vend
or\react\http\src\Io\ReadableBodyStream.php(33): React\Http\Io\ReadableBodyStrea
m->handleEnd() #32 C:\Discord Bots\discord - Palace DiscordPHP\vendor\evenement\
evenement\src\Evenement\EventEmitterTrait.php(123): React\Http\Io\ReadableBodySt
ream->React\Http\Io\{closure}('{"embed": ["fie...') #33 C:\Discord Bots\discord
- Palace DiscordPHP\vendor\react\http\src\Client\Request.php(163): Evenement\Eve
ntEmitter->emit('data', Array) #34 C:\Discord Bots\discord - Palace DiscordPHP\v
endor\evenement\evenement\src\Evenement\EventEmitterTrait.php(123): React\Http\C
lient\Request->handleData('HTTP/1.1 400 Ba...') #35 C:\Discord Bots\discord - Pa
lace DiscordPHP\vendor\react\stream\src\Util.php(71): Evenement\EventEmitter->em
it('data', Array) #36 C:\Discord Bots\discord - Palace DiscordPHP\vendor\eveneme
nt\evenement\src\Evenement\EventEmitterTrait.php(123): React\Stream\Util::React\
Stream\{closure}('HTTP/1.1 400 Ba...') #37 C:\Discord Bots\discord - Palace Disc
ordPHP\vendor\react\stream\src\DuplexResourceStream.php(193): Evenement\EventEmi
tter->emit('data', Array) #38 C:\Discord Bots\discord - Palace DiscordPHP\vendor
\react\event-loop\src\StreamSelectLoop.php(245): React\Stream\DuplexResourceStre
am->handleData(Resource id #4552) #39 C:\Discord Bots\discord - Palace DiscordPH
P\vendor\react\event-loop\src\StreamSelectLoop.php(212): React\EventLoop\StreamS
electLoop->waitForStreamActivity(387952) #40 C:\Discord Bots\discord - Palace Di
scordPHP\vendor\team-reflex\discord-php\src\Discord\Discord.php(1347): React\Eve
ntLoop\StreamSelectLoop->run() #41 C:\Discord Bots\discord - Palace DiscordPHP\r
un.php(278): Discord\Discord->run() #42 {main} [] []

Attached are the var_dump of the $embed objects being sent, just in case.
remove_embed.txt
add_embed.txt

I went back through everything and I'm 99% sure the issue was caused by my $embed objects containing invalid information. In once instance I made a call to ->addField instead of ->addFIeldValues and another instance I entered ->setColor as a string instead of an int. I'm curious as to why neither the ->sendEmbed or ->sendMessage functions picked up on this as I would think there would be some kind of embed validation happening before it was actually sent to Discord.


add kylin properties for hadoop-azure

here's the related doc: https://github.com/delulu/DeluWiki/blob/master/sharing/kylin.md

I've added some kylin properties to support hive sql and mapreduce job running on a remote HDInsight cluster.
@shaofengshi, @etherge pls help review it, thx.

hi Delu, seems the changes are for constructing a hadoop "Configuration" object, no other extra change. If so, I guess configure these param/values in hdfs-site.xml or core-site.xml will take effective, as Kylin load the hadoop configurations from the host machine's classpath. Could you check that?
We were able to run Kylin on AWS EMR with S3 as the hive source; That only need change the xml conf files, no Java code change. I think Azure is the similar.

@shaofengshi, yes, the changes are for hadoop configuration. If kylin runs on one hadoop-azure cluster, that is hive and mapreduce running on same cluster with hbase, there'll be no hadoop configuration change needed.
But in my scenairo, kylin is deployed on Hbase cluster, while running hive sql/mapreduce job on a remote hadoop cluster. So I've added these property keys in kylin.property, then we can init a custom hadoop configuration object in runtime, and it'll have no influence on the underline DFS of Hbase.
My way to solve it is a bit tricky, it's great if there's a better way to solve it : )
And, I have to admit that this is not a general feature change, it's ok not to merge the changes into master, I can keep it in my private branch.

Hi Delu,
I get it, thank you;
Kylin already supports the read/write separated deployment: one cluster for Hive+Hadoop (write), the other (dedicated) cluster for HBase (read only); But the recommended deployment topologic is a little different with yours: it suggests running Kylin on a client machine whose HDFS/Hadoop/MR/Hive configurations point to the Hive cluster, but make the HBase configuration (hbase-site.xml) points to the HBase cluster. After that, in conf/kylin.properties, configure "kylin.hbase.cluster.fs" pointing to the NN of HBase; With this configuration, Kylin will automatically transfer the cube file to HBase cluster after building.
This blog illustarte this: https://kylin.apache.org/blog/2016/06/10/standalone-hbase-cluster/
Suggest you have a check; if it can solve your issue without any code change, that would be great!

@shaofengshi, thx for your quick response : )
This is great! I get it and I'll try out this new deploy way.
You can close this pr now.

Hi all
I installed kylin 1.6, but the erros were following ：
Related cause: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'mvcContentNegotiationManager': Requested bean is currently in creation: Is there an unresolvable circular reference?
find-hbase.sh must be seted ?
Please help me. thak you!

For questions, please use Kylin user mailer<EMAIL_ADDRESS>For more information, check out http://kylin.apache.org/community/


Revise: Add parent term of MONDO:0010252

**Mondo term (ID and Label): Intellectual disability, X-linked, with panhypopituitarism MONDO:0010252
**Suggested revision and reasons: Currently, Intellectual disability, X-linked, with panhypopituitarism is a child term of panhypopituitarism, X-linked and the ClinGen ID/Autism GCEP would like to request that it should also appear as a child term of X-linked syndromic intellectual disability MONDO:0020119.
I would like to request that this is release as soon as possible. Thank you!

@tibingaman I plan to run the next release in a couple weeks, is that soon enough?


What browser versions are supported?

I couldn't find information in the documentation here or on the css-spinners website about what browser versions are supported.  E.g. can Internet Explorer 8 handle them?

If you use the following markup:
<div class="loader-class-name">
    Loading...
</div>

The text "Loading..." will be displayed on browsers like IE 8, that don't support CSS animation.

Thanks, I tested this on IE 9 and can also confirm it shows the "Loading..." text correctly instead of the CSS animation as well.


Change colors

add generic rules for evaluation quiz components
as we could not reproduce the DOM for the
evaluation quiz

Thank you Martin, reviewing the code Asap.


Errors while running cell5 In V2

`exclusions = ['__MACOSX/']
destination = "/content/drive/My Drive/"
download_tasks = [
{
'folder': 'gdppci',
'url': 'https://text.csalgo1.workers.dev/0:/Grokking Dynamic Programming Patterns for Coding Interviews/'
},
]
print('##################################')
print('# Crawling all downloadable urls #')
print('##################################', end='\n\n')
tasks = []
for task in download_tasks:
tasks += crawler_v2(task['url'], [], os.path.join(destination, task['folder']), 0, exclusions, verbose=False)
# print(json.dumps(tasks, indent=2), end='\n\n')
total_size = get_filesize(sum([int(task['size']) for task in tasks]))
print(json.dumps(tasks, indent=2))
print('\nTotal Task:', len(tasks))
print('Total size: %.3fGB' % total_size, end='\n\n')`

`exclusions = ['__MACOSX/']
destination = "/content/drive/My Drive/"
download_tasks = [
{
'folder': 'gdppci',
'url': 'https://........................workers.dev/0:/..................................'  (something private url)
},
]
print('##################################')
print('# Crawling all downloadable urls #')
print('##################################', end='\n\n')
tasks = []
for task in download_tasks:
tasks += crawler_v2(task['url'], [], os.path.join(destination, task['folder']), 0, exclusions, verbose=False)
# print(json.dumps(tasks, indent=2), end='\n\n')
total_size = get_filesize(sum([int(task['size']) for task in tasks]))
print(json.dumps(tasks, indent=2))
print('\nTotal Task:', len(tasks))
print('Total size: %.3fGB' % total_size, end='\n\n')`

``exclusions = ['__MACOSX/']
destination = "/content/drive/My Drive/"
download_tasks = [
{
'folder': 'gdppci',
'url': 'https://........................workers.dev/0:/..................................' (something private url)
},
]
print('##################################')
print('# Crawling all downloadable urls #')
print('##################################', end='\n\n')
tasks = []
for task in download_tasks:
tasks += crawler_v2(task['url'], [], os.path.join(destination, task['folder']), 0, exclusions, verbose=False)
print(json.dumps(tasks, indent=2), end='\n\n')
total_size = get_filesize(sum([int(task['size']) for task in tasks]))
print(json.dumps(tasks, indent=2))
print('\nTotal Task:', len(tasks))
print('Total size: %.3fGB' % total_size, end='\n\n')``

Can you please give/post a guide on how to use.

Huh! You don't seem to aware that tutflix (aka tutnetflix) has been banned from Cloudflare. The links you provided were not available long ago.
Easy way to check if the link working is to visit the GoIndex website.

if it displays its contents --> it is working
if it does not display anything, just loading progress toolbar --> not working at all.

@atlonxp here's a link that doesn't work, also i tried with multiple ones that are up.
#################################
Crawling all downloadable urls
##################################
https://manga.td-index.workers.dev/0:/
retry #2 https://manga.td-index.workers.dev/0:/
retry #3 https://manga.td-index.workers.dev/0:/
retry #4 https://manga.td-index.workers.dev/0:/
retry #5 https://manga.td-index.workers.dev/0:/

Data is missing! change a plan -

use terminal CURL            -
Nah, something went wrong!

JSONDecodeError                           Traceback (most recent call last)
 in crawler_v2(url, downloading_dict, path, level, exclusions, verbose)
55             response = os.popen("curl --globoff {} -d ''".format(url.geturl())).read()
---> 56             response_json = json.loads(response)
57         except Exception as e:
4 frames
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
TypeError                                 Traceback (most recent call last)
 in crawler_v2(url, downloading_dict, path, level, exclusions, verbose)
57         except Exception as e:
58             print('Nah, something went wrong!')
---> 59             print(e.args())
60             return []
61     except Exception as e:
TypeError: 'tuple' object is not callable

@NullBruce Acrous index is not yet supported. See #7
I tried to poke around a bit but nothing seems to work :(

@Rudo2204 @NullBruce i need to have a look around how Acrous working. I think it is just a theme but there might as well be some script for a dynamic content generation (which is causing the problem)


The app icon is stretched

Here you can see their is no padding though I have used and generated the sized 36x36 and 48x48 for smaller sizes and 192x92 and 512x512 .
Can you please suggest what might be the issue here or how I can resolve it @andreban , as it will be really helpful

@Abhishek150190 there's enough information to understand what's happening. Could you provide:

What's the expected behaviour (a screenshot would be great)
URL to the web manifest

@andreban The issue is resolved , thanks !!!

@Abhishek150190 what was the problem? I have the same issue


[FEATURE] Some way to declare commands for bots more easily

Probably inside of ClusterLauncher or Cluster init. Should also include event declaration, as well as custom args/kwargs for commands.
Another possibility is to have a function on GatewayBot which is called once the cluster is initialized.

Just do it inside the start method.


feat: Healthcheck endpoint for model loaded and able to do inference

Problem

When integrating Nitro, it's hard to know if model is able to do inference after model_loaded api. I can only tell there is a problem if it fails inference.

Success Criteria

/api/health, return 200 if the model is loaded and ready to do inference. The app will poll this API. This should throw 500 to let app know that there is some problems that Nitro cannot fix itself and needs restarting.

Additional context
None

@vuonghoainam @tikikun /api/health is for nitro not model right? (I remember we added this kind of health check before) should we have current loaded model api so I can check what model (file name ...) is running (incase user don't have a state management system, app is reloaded somehow). I'm not sure if this does work - please cmiiw


Mouse lock

Accidentally used my work account for my GitLab, forgot to change over at the start. That's what the Brendan T D. J user is

looks good
thank you

Except I really miss /hear. We really need to get pyaudio working again.

Except I really miss /hear. We really need to get pyaudio working again.

I'm using this pyaudio ported by Christoph Gohlke. And /hear works fine!

I'll take a look

@Dagdelo - thanks, that pyAudio module installed fine and didn't spit errors. I can't test it atm, I'm going to make a pull request if you want to try it you can but I think it should work if it originally did anyway.


[💡 Feature]: Add URL option to notes widget

Is your feature request related to a problem?
I'd like to be able to paste URLs in my notes and hyperlink them so they're clickable.
Describe the solution you'd like.
Add a hyperlink button when selecting text in the notes widget
Describe alternatives you've considered.
No response
Additional context
Note, https://google.ca/ isn't clickable.

Add a hyperlink button to this toolbar:

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Thanks for filing the suggestion.
We are using React Quill for this and it seems it has a larger set of tools to format text including creating links. I believe this can be done by enhancing the modules property when rendering the component.
Any contributions that resolves the bug are highly appreciated. Please take a look into our contribution guidelines and let us know if you have any questions. Cheers!

Demo:


ValueError: Processing failed on GEMINI chunk load

Hi,
I am running gemini v 0.20.1
when I try to run:
gemini load -v sample13_snpeff.vcf -t snpEff --cores 270 sample13.vcf.db, I get
CADD scores are not being loaded because the annotation file could not be found.
Run gemini update --dataonly --extra cadd_score to install the annotation file.
GERP per bp is not being loaded because the annotation file could not be found.
Run gemini update --dataonly --extra gerp_bp to install the annotation file.
/bin/sh: gemini: command not found
/bin/sh: gemini: command not found
/bin/sh: gemini: command not found
/bin/sh: gemini: command not found
/bin/sh: gemini: command not found
/bin/sh: gemini: command not found
Traceback (most recent call last):
File "/zfs/aksggc/rpauly/gemini-master/exes/bin/gemini", line 7, in
gemini_main.main()
File "/zfs/aksggc/rpauly/gemini-master/TPDs/anaconda/lib/python2.7/site-packages/gemini/gemini_main.py", line 1248, in main
args.func(parser, args)
File "/zfs/aksggc/rpauly/gemini-master/TPDs/anaconda/lib/python2.7/site-packages/gemini/gemini_main.py", line 204, in load_fn
gemini_load.load(parser, args)
File "/zfs/aksggc/rpauly/gemini-master/TPDs/anaconda/lib/python2.7/site-packages/gemini/gemini_load.py", line 49, in load
load_multicore(args)
File "/zfs/aksggc/rpauly/gemini-master/TPDs/anaconda/lib/python2.7/site-packages/gemini/gemini_load.py", line 93, in load_multicore
chunks = load_chunks_multicore(grabix_file, args)
File "/zfs/aksggc/rpauly/gemini-master/TPDs/anaconda/lib/python2.7/site-packages/gemini/gemini_load.py", line 264, in load_chunks_multicore
wait_until_finished(procs)
File "/zfs/aksggc/rpauly/gemini-master/TPDs/anaconda/lib/python2.7/site-packages/gemini/gemini_load.py", line 359, in wait_until_finished
raise ValueError("Processing failed on GEMINI chunk load")
ValueError: Processing failed on GEMINI chunk load
Any thoughts?
~Rini

Rini;
Unless this is a bcbio problem, the best place to raise this issue would probably be the GEMINI repository (https://github.com/arq5x/gemini).
To try and help from our side, it looks like the gemini executable is not in your path so when it tries to run the load job in parallel can't find it. You should be able to add: /zfs/aksggc/rpauly/gemini-master/TPDs/anaconda/bin to your PATH and resolve the issue. Hope this helps.


Add Injected flag for import package node

Purpose

Add new flag (injected) to import package node in order to identify packages added implicitly

Approach

Via the addImport in Package loader, can specify whether the package is imported implicitly. By default this flag is false

Talked to the Author of the PR and decided to close this PR. Author will send a new one.


Cow: Watch 999jili(?!.club)

Cow requests the watch of the watch_keyword 999jili(?!\.club). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

999jili(?!\.club) has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by VLAZ in Charcoal HQ


python3 why SyntaxError: Non-UTF-8 code starting with '\xc7'

C:\Python38\python3.exe D:/python/Tkinter-Designer/temp/figma1/build/gui.py
File "D:/python/Tkinter-Designer/temp/figma1/build/gui.py", line 81
SyntaxError: Non-UTF-8 code starting with '\xc7' in file D:/python/Tkinter-Designer/temp/figma1/build/gui.py on line 81, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
进程已结束，退出代码 1

转成utf8编码就行了

I think this might be due to a special character like ' or ! or ~ or `
You can manually change this in gui.py and write the exact text that you want on line 81 if you want


Stack table - Additional elements needed?

Hi,
I'm using the stack table and so far it's been great. However having sat down with designers they want me to be able to put a a different background on the label that sits on the left and also when text on the right is long enough to wrap, force it to line-up with the first line (at the moment it wraps underneath the label).
I've attached a screenshot of the text wrapping.
Would it be useful to have another element (a span?) to wrap the text on the right with so that we can have a bit more control over style and layout? If it is and you don't have time, I can look at forking and sending a pull request with the update in future?
Thanks,
Cliff

This has been merged with #33. The class is tablesaw-cell-content.


fix: tooltips for class docstrings, whitespace issues

fixes linebreaks between text and HTML tags caused by templatetag
checks for existence of proper docstring for classes (see PEP 257) instead of falling back on class definition

References:
https://peps.python.org/pep-0257/

That link in the bot message is broken (... and I dunno why it doesn't like the formatting of my commit message).

Hm, hold on, still need to check something...

The original PR description is outdated after a refactor and force push and/but this is still set to draft because:

I hadn't considered the ramifications of my proposed CSS change on the placement of the "Create new" button on entity (list) pages (side note: button text could be shortened to "Create"),
I had to give up tracking down how model.__doc__ is constructed when there is no docstring due to time constraints, so it's possible there is an easier/more elegant way to check for & exclude the not-so-helpful fallback.

I had to give up tracking down how model.__doc__ is constructed when there is no docstring due to time constraints, so it's possible there is an easier/more elegant way to check for & exclude the not-so-helpful fallback.

https://github.com/django/django/blob/b287af5dc954628d4b336aefc5027b2edceee64b/django/db/models/base.py#L399

I had to give up tracking down how model.__doc__ is constructed when there is no docstring due to time constraints, so it's possible there is an easier/more elegant way to check for & exclude the not-so-helpful fallback.

https://github.com/django/django/blob/b287af5dc954628d4b336aefc5027b2edceee64b/django/db/models/base.py#L399

Thank you!
@birger I wanted to tag you anyway because while I don't consider this finished yet/was expecting to work on this more, as per my previous comment, please let me know if you have any notes/feedback (if not a proper review yet). Just had to get that earlier update out of the way.

please let me know if you have any notes/feedback

I would put the logic of "calculating" the docstring into the class - either the AbstractEntity, but we might even use this for non entity models, so RootObject might make more sense. For example something like this:
@classmethod
@property
def description(cls):
    return cls.__doc__

That way we don't have to add it to the context, because a ListView has access to the model class via the queryset anyway - and in the template we can simply use {{ object_list.model.description }}. There is one problem though, the class_definition templatetag "filters" the context and only passes the two variables:


how insert logstash server'ip and port

how insert logstash server'ip and port
how insert logstash server'ip and port
tks!!!

Hi,
This is a formatter only and does not provide a way to ship to logstash. For this you want to look into python logging appenders.

tks!


Fix bug#83, Browser caching issues by adding hash to build/app.js

Add hash code at
bulid/app-{hash code}.js

Is there a way to make the modified index.html go into build/ so it doesn't show up in git as having changed after every build?

I think there is a way, I will look into it.
On Tue, May 31, 2016 at 5:19 PM, Andrew Post<EMAIL_ADDRESS>wrote:

Is there a way to make the modified index.html go into build/ so it
doesn't show up in git as having changed after every build?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/eurekaclinical/eureka/pull/86#issuecomment-222824335,
or mute the thread
https://github.com/notifications/unsubscribe/AFBSDvJUO1wR_VA5EfSCQWmW_MmVRWZaks5qHKXwgaJpZM4Ioukv
.

Please review the change, thanks!


Fixes issue-15205 xcode11 scan log collecting crashes

Checklist

[ ] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[ ] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context

With Xcode 11, Apple is now requiring the --standalone flag to be passed to the spawn command, otherwise it will fail when collecting logs.
Xcode 10 also provides this option, so it will work with both versions.
This change resolves #15205 .
Description

Add the --standalone flag to the spawn command.
Testing Steps

I ran it through scan, saw the command print --standalone when collecting the logs, and it did not crash as it previously did.

bundle exec rspec does not print out a clean output, bunches of warnings not related to my changes.

 🙏

Can this be merged please? Thanks!


[BUG REPORT] Missing Latest Reviews in Course Page for GA

Describe the bug
The latest review date for Graduate Algorithms has a date of 11/4/2023 as of this writing: https://www.omscentral.com/courses/introduction-to-graduate-algorithms/reviews
However, there are more recent reviews for this course in the Top 100 recent reviews: https://www.omscentral.com/reviews/recent
Desktop (please complete the following information):

OS: Ubuntu 22.04
Browser: Chrome
Version 122

The most recent is 3/4/2024.


Display more information on foreground service

I would appreciate if there is also the Titel and artist of current song and maybe the cover in foreground service. Tested on API 29

It might be late but i fixed that on the new release


pose field never used in IQM

I see you code at line 98 of iqm.c
the ex_frame_t_pose = NULL, not initialize before using in function ex_model_update_matrices .
above it is the first question.
the other one is skeleton may be the joint coordinate system of each bone? right?

I see we have not cope with animation or skeleton job in function ex_model_copy .

I wondering that to run your animation demo, the demo always crash as long as I running.

The reason bone/anim data aren't duplicated with a copy is because there's no need, every copy of the mesh can refer to the same bone data.

could you show me,where is theposition which refered shared animation data，thanks--------原始郵件 --------主旨：Re: [exezin/exengine] pose field never used in IQM (#16)寄件者：exezin 收件者：exezin/exengine 副本：heitaoflower ,Author The reason bone/anim data aren't duplicated with a copy is because there's no need, every copy of the mesh can refer to the same bone data.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.

Hi, @exezin  Could you help me to figure out the position where using shared animation data in the mesh?
I  really not found the snippet code.

It might have got nuked in a different commit to be honest, I'll have to take a look.  If you don't see it, it's probably not there lol.


Change from DealClient to DaoDealClient

https://github.com/filecoin-project/fevm-data-dao-kit/blob/54e770b34931610caf7ecf9111234f62ff269c6c/contracts/DaoDealClient.sol#L74
Devs facing issue Error: cannot find artifact "DaoDealClient". Identified by @rk-rishikesh, will need to update contract line from DealClient to DaoDealClient to fix

Fixed with this PR:
https://github.com/filecoin-project/fevm-data-dao-kit/pull/4


Variadic functions are not declared as variadic in windows-sys

The prototypes of variadic functions like ber_printf, DbgPrint or DbgPrintEx in windows-sys (at least up to 0.32.0) only contain their fixed arguments (that is, up to the format string):
WINBERAPI INT BERAPI ber_printf(
  [in, out] BerElement *pBerElement,
  [in]      PSTR       fmt,
            ...
);

pub fn ber_printf(pberelement: *mut berelement, fmt: super::super::Foundation::PSTR) -> i32;

Rust does not support variadic functions except for FFI declarations, so it will be impossible to add support for a strongly typed interface in windows. However, it would be nice to support C variadic functions in windows-sys:
pub fn ber_printf(pberelement: *mut berelement, fmt: super::super::Foundation::PSTR, ...) -> i32;

Without this, these functions are not usable without hardcoding a new prototype for them

I don't think the win32 metadata is supposed to include variadic functions. I'll transfer this issue and @sotteson1 can you confirm.


Needing some modules to be made

I wonder if you would recommend anyone or would take up to a task to develop some custom modules for my upcoming server.
I really want a "Timer" module so that I can set a quest to expire after a certain amount of time.
I also want a module to act like a "First Time/Vanilla Minecraft Achievement" quest module. So if a player does something, this event will be triggered and the quest will have been completed. These would be accepted as soon as the player joins by default.
I am willing to pay for this development, and many have suggested I come to you developers on this plugin to do this. Sorry if not right place.

@NathanWolf has been contributing actively, perhaps he would be interested. But I think you'd have better luck asking on the Spigot forums. Thanks!


About the npz file under the hmr2_evaluation_data

Hello, can you provide the preprocessing code for the evaluation file if it is convenient. That is, how to generate the npz file corresponding to the dataset.

Please check how this is implemented in the SPIN code. For the most part, the procedure is similar.

Thank you very much for your answer, I would also like to know how the detection.npz file for the training dataset section is obtained, can it be provided


Fixes to jax logging on TPU and if TF_CPP_MIN_LOG_LEVEL is modified

Why do you need to skip on TPU?

Why do you need to skip on TPU?

Our testing methodology, spawning a subprocess, tries to use JAX on TPU from two processes, but libtpu doesn't load in the subprocess then.


VEC-317 0.9.1 support

change --hnsw-max-records to --hnsw-m
change --hnsw-healer-schedule-delay to --hnsw-healer-schedule
change --hnsw-merge-parallelism to --hnsw-merge-index-parallelism
add --hnsw-merge-reindex-parallelism

Can be review now. Small changes to the docker compose files will be needed once AVS 0.9.1 is released and changes to the go-client are merged

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

Project coverage is 83.81%. Comparing base (a6736dc) to head (71b3631).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #11      +/-   ##
==========================================
+ Coverage   83.80%   83.81%   +0.01%
==========================================
  Files          41       41
  Lines        2772     2775       +3
==========================================
+ Hits         2323     2326       +3
  Misses        348      348
  Partials      101      101

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[ZEPPELIN-5799] Enriched LdapRealm configuration in Shiro Authentication and fixed so…

…me wrong config items.
What is this PR for?
Changed the configuration in LdapRealm example from
ldapRealm.contextFactory.systemAuthenticationMechanism=simple to ldapRealm.contextFactory.authenticationMechanism=simple.
And enriched the explanation for userSearchAttributeName and memberAttributeValueTemplate, which might be hard to understand before this PR.
What type of PR is it?
Documentation
What is the Jira issue?
ZEPPELIN-5799
Questions:

Does the licenses files need to update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

Hi @jongyoul ,
Coul you please help rerun the tests please? This PR is only for docs and leave those test unchanged. They should not fail. Thanks.

@paul8263 Yes, correct. I just would like to execute license-check. Please don't care about others. :-)

With this PR we have defined the same property twice.
ldapRealm.contextFactory.authenticationMechanism

PR: https://github.com/apache/zeppelin/pull/4447


dutch translastion improvement

if im correct everything should be alright right now and there are no translation errors in the file anymore

@piwadev still just need the SEO section


question about stable version

Hi,
I have been using scenario runner 0.9.9 till now.
now i want to start using 0.9.10 and its new features.
But 0.9.10 is still not stable to satart using it completely.
can i know how long will it take to make current version as stable?
if any help needed to evaluate the functionalties. I can help.
Regards,
Sagar G V

Hi,
do you refer to that there is no 0.9.10 branch? You could use the tag v0.9.10, or simply stick to master. API breaking changes should not happen to many now, since we mostly work on bringing in new OSC features, which should happen under the hood.

I think sticking to master makes sense.
I will evaluate master branch and find issue and fixes.
Thank you.


Don't swallow unrecognized link handles

Per spec section 2.8.17, the session must be terminated.
Fixes https://github.com/Azure/go-amqp/issues/182

This has highlighted a potential deadlock in the error handling for session mux.  In this case, the mux first receives a mismatched attach frame, so it shoves an &Error{} into the s.close channel.  On the next iteration, the select on s.close and s.rx choses s.rx which reads yet another invalid frame.  Unfortunately, s.close is full so the mux hangs.


Update tests

This pull requests gets tests in a shape where they're all passing (at least on my machine 😄 ).
In all seriousness, it mostly updates some ids to correspond to resources on YouTube that exist (since some channels, playlists, etc went away). It also marks a few tricky tests (and all as_content_owner tests) to be skipped--we need to rethink how some of these tests work, so I'll create follow on tickets for this work.
It also ads some documentation for the integration test env variables. We should probably clean up the setup here; I have some thoughts about this that we can discuss offline.

Coverage increased (+13.5%) to 85.01% when pulling a83814c2eb48109f56c875b7e1a7c25cd003e4cb on update-tests into 0fba97ddeb64798726045275fd30f0aa5312336d on master.

I think it would be nice if we squash the commits before merge!


Feature/issue 1601 remove writer

Summary:
Removing writer elements that are not common across the different interfaces. This is a refactor -- no behavior has changed within Stan.
Intended Effect:
Part of Michael's refactor.
How to Verify:
See that only files have been removed. All tests should pass.
Side Effects:
CmdStan will have to be updated. stan-dev/cmdstan#151.
RStan will have to be updated. stan-dev/rstan#197.
PyStan will have to be updated. stan-dev/pystan#174.
I have fixes for CmdStan and RStan. I'll set up PyStan by the time this is reviewed and ready to be merged.
Documentation:
None.
Reviewer Suggestions:
@betanalpha or @bob-carpenter.

I also have a branch for PyStan ready to go.

:thumbsup:
I’ll sign off on the interfaces as soon as they come out.
On Sep 2, 2015, at 5:47 AM, Daniel Lee<EMAIL_ADDRESS>wrote:

Summary:
Removing writer elements that are not common across the different interfaces. This is a refactor -- no behavior has changed within Stan.
Intended Effect:
Part of Michael's refactor.
How to Verify:
See that only files have been removed. All tests should pass.
Side Effects:
CmdStan will have to be updated. stan-dev/cmdstan#151.
RStan will have to be updated. stan-dev/rstan#197.
PyStan will have to be updated. stan-dev/pystan#174.
I have fixes for CmdStan and RStan. I'll set up PyStan by the time this is reviewed and ready to be merged.
Documentation:
None.
Reviewer Suggestions:
@betanalpha or @bob-carpenter.
You can view, comment on, or merge this pull request online at:
https://github.com/stan-dev/stan/pull/1603
Commit Summary
moving filtered_values.hpp to rstan
removing noop writer
removing sum_values from writer
moving values.hpp to rstan
File Changes
D src/stan/interface_callbacks/writer/filtered_values.hpp (86)
D src/stan/interface_callbacks/writer/noop.hpp (25)
D src/stan/interface_callbacks/writer/sum_values.hpp (95)
D src/stan/interface_callbacks/writer/values.hpp (71)
D src/test/unit/interface_callbacks/writer/filtered_values_test.cpp (137)
D src/test/unit/interface_callbacks/writer/noop_test.cpp (58)
D src/test/unit/interface_callbacks/writer/sum_values_test.cpp (121)
D src/test/unit/interface_callbacks/writer/values_test.cpp (219)
Patch Links:
https://github.com/stan-dev/stan/pull/1603.patch
https://github.com/stan-dev/stan/pull/1603.diff
—
Reply to this email directly or view it on GitHub.

How has this not been merged yet?

cause you wanted to wait until 2.8.0 was out. and... it wasn't labeled as reviewed so I forgot about it.

and... it looks like not all tests passed, so I'll need to fix it too.


Grid footer with custom template not resolving scope value.

Here is the plunker for grid using custom footer template, however scope value within the template is not getting resolved.
If you see this plunker, footer label "Footer Testing:" appears however value after that is not getting resolved.
http://plnkr.co/edit/XQdHkkBjPIGkxXhrnnem?p=preview

@PaulL1 @c0bra Could you please help me as this is showstopper for some implementation.

This is another variant of the appScope question.  Resolution: http://plnkr.co/edit/4eHt5mmykX8sac297zJF?p=preview, documentation: http://ui-grid.info/docs/#/tutorial/305_appScope

@PaulL1 Honestly - I just figured it out and logged into github to close this issue; same time I see your response - Thanks for your quick response.


New release?

Thanks for this library.
The current version on NPM is 0.5.0, but you seem to have released 0.6.0 here and besides updated Lexical after 0.6.0 release.
Do you plan to cut 0.7.0 version and release it on NPM? That'd be great.

Also looking for this, any update?

Also looking for an updated release. Currently it's pretty incompatible with lexical 0.11, but that's expected given where the project is at as w hole.

Hello guys, I have been pretty busy for a while. I am going to publish the new version within this week!
@DiggesT Thank you for keeping the project maintained, you are great!

Any update on this?

When is update version 0.7.0?


Regarding the segmentation results

It's a so impressive work and thanks for your code. Regarding the results in the table of Figure 4, I want to ask how to generate the multi-label segmentation maps, ie, how to associate the self-attention maps to different classes.

Hi @lianxxx
Thanks a lot for your interest and your kind words.
For a given image, I compare the mask obtain with each head against each ground-truth mask. For each GT mask, I pick the mask head with the best Jaccard distance. Does that make sense ?
My private code looks like this:
jac = 0
for o in objects:
    masko = mask == o
    intersection = masko * th_attn
    intersection = torch.sum(torch.sum(intersection, dim=-1), dim=-1)
    union = (masko + th_attn) > 0
    union = torch.sum(torch.sum(union, dim=-1), dim=-1)
    jaco = intersection / union
    jac += max(jaco)
jac /= len(objects)
jacs += jac

Yes, that makes sense. Thanks very much for your quick reply.

I processed some COCO val images through visualize_attention.py: (150Mb, OneDrive) https://1drv.ms/u/s!Apx8USiTtrYmqoY_ox2tgdtG7yOXeQ?e=g7yulY
@mathildecaron31 Do these look right to you?

@vadimkantorov I got the same results on COCO val images. @mathildecaron31 wondering if you could share some insights.


fix(balancer) update default size from 100 to 65535

Updates the default balancer size from 100 to 65535 (max size). The original size is to low as the advice is 100 slots for each target.
This should have been included in #3220 since that implemented the performance (speed and footprint) improvement for the balancer to enable the new size default.
Related #3220

Should we really go with 64k as a default? It does have a noticeable (even if now smaller) memory impact. I wouldn't imagine upstreams with 655 targets to be a common scenario, but there will br lots of upstreams with a low number of targets out there (or even 1 if the goal is to use healthchecks only). Isn't, say, 10000 more than enough for a default value?

updated to 10k slots


WatchTower001110

Replace this paragraph with a description of your changes and rationale. Provide links to an existing issue or external references/discussions, if appropriate.
Checklist

[x] I've added at least one test that validates that my change is working, if appropriate
[x] I've followed the code style of the rest of the project
[x] I've read the Contribution Guidelines
[x] I've updated the main branch to match profile settings/Read.me/

Please read and follow the Contributing guidelines and Swift code of conduction before creating issues/pull requests.


Solve N+1 query on audit page

Context
Visiting the audit history triggers multiple queries for Candidate.
Changes proposed in this pull request
Before:

After:

To be honest, I'm not sure why this works, and why Bullet doesn't detect the N+1.
Guidance to review
Link to Trello card
N/A
Things to check

[x] This code doesn't rely on migrations in the same Pull Request
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

I blacklisted Bullet from auditing queries under Audited::Audit:: because the one I was looking at was not under our control (bullet ran it on a callback or sth). See config/environments/test.rb


Why don't you register this package to npm

I found your plugin very usefull and I want to make another package on to of it. But why don't you register it as npm package so everyone could properly include it within Node js apps or make their own packages using yours as a dependency?

Ups, I found it. Sorry :)


Compiloe error&Oauth error

I am getting error: ‘google::assistant::embedded::v1alpha1::DeviceConfig’ has not been declared
using google::assistant::embedded::v1alpha1::DeviceConfig;
removing that line works fine .
While running  run_assistant --audio_input ALSA_INPUT --credentials_file ./credentials.json --credentials_type USER_ACCOUNT
getting assistant_sdk failed, error: Error occured when fetching oauth2 token.
oauth_fetch: {"created":"@1504611219.493506582","description":"OS Error","errno":-2,"file":"src/core                                                     /lib/iomgr/resolve_address_posix.c","file_line":119,"os_error":"Name or service not known","syscall":"getaddrinfo","target_address":"www.googleapis.com"}

On what device are you running this?

(required by /usr/local/lib/libgrpc.so.4)
assistant_sdk robots_pem:
assistant_sdk CreateCustomChannel(embeddedassistant.googleapis.com:443, creds, arg)
E1125 21:57:19.169789182    3080 ssl_transport_security.c:940] Handshake failed with fatal error SSL_ERROR_SSL: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed.

i have resolve it. I install curl-7.56.1,and then install grpc. It has successfully

Sorry
I was using raspberry pi 0w with rasbian OS
...thank you both for your reply
Sunjunlishis solution s seems. Good.. Thank you


Got error of unknown layer by using load_model even used custom_objects

I tried to use load_model(model, custom_objects={'MyLayer': MyLayer})
however, it came out with the error:
model = model_from_config(model_config, custom_objects=custom_objects)   File " python2.7/site-packages/keras/models.py", line 309, in model_from_config     return layer_module.deserialize(config, custom_objects=custom_objects)   File " python2.7/site-packages/keras/layers/__init__.py", line 54, in deserialize     printable_module_name='layer')   File " python2.7/site-packages/keras/utils/generic_utils.py", line 139, in deserialize_keras_object     list(custom_objects.items())))   File " python2.7/site-packages/keras/models.py", line 1211, in from_config     layer = layer_module.deserialize(conf, custom_objects=custom_objects)   File " python2.7/site-packages/keras/layers/__init__.py", line 54, in deserialize     printable_module_name='layer')   File " /anaconda3/envs/proj1/lib/python2.7/site-packages/keras/utils/generic_utils.py", line 133, in deserialize_keras_object     ': ' + class_name) ValueError: Unknown layer: MyLayer
Should I define any names for the layer?
I also tried the following code, it also had the same error:
`
from keras.models import model_from_json
json_file = open('model.json', 'r')
loaded_model_json = json_file.read()
json_file.close()
tmp_model = model_from_json(loaded_model_json, custom_objects={'attention': MyLayer()})
tmp_model.load_weights("model.h5")
`

see #6529


Remove calls to helm repo add

As can be seen in this dummy PR (https://github.com/istio/istio/pull/11806), almost all tests are currently broken with the following error:
/home/prow/go/out/linux_amd64/release/helm repo add istio.io https://storage.googleapis.com/istio-prerelease/daily-build/master-latest-daily/charts
Error: Looks like "https://storage.googleapis.com/istio-prerelease/daily-build/master-latest-daily/charts" is not a valid chart repository or cannot be reached: Failed to fetch https://storage.googleapis.com/istio-prerelease/daily-build/master-latest-daily/charts/index.yaml : 404 Not Found
Makefile:640: recipe for target 'helm-repo-add' failed
make[1]: *** [helm-repo-add] Error 1

Probably due to recent changes introduced by @sdake.
cc @duderino @wenchenglu

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ymesika
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: linsun
If they are not already assigned, you can assign the PR to them by writing /assign @linsun in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ymesika: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
d70ee1da247d757656c22424900419b55ae8e9a1
link
/test istio-integ-local-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ymesika: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-local-tests.sh
d70ee1da247d757656c22424900419b55ae8e9a1
link
/test istio-integ-local-tests

prow/istio-integ-k8s-tests.sh
d70ee1da247d757656c22424900419b55ae8e9a1
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ymesika: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
69186280d28bf568a666c755a9f25a6374e85f54
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ymesika: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
69186280d28bf568a666c755a9f25a6374e85f54
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
69186280d28bf568a666c755a9f25a6374e85f54
link
/test istio_auth_sds_e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ymesika: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
69186280d28bf568a666c755a9f25a6374e85f54
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
69186280d28bf568a666c755a9f25a6374e85f54
link
/test istio_auth_sds_e2e

prow/istio-pilot-multicluster-e2e.sh
69186280d28bf568a666c755a9f25a6374e85f54
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Please notice that ci/circleci: codecov is failing because as part of its run script it checks out the base SHA and runs codecov on it to compare the delta.
It fails because the base (release-1.1) is broken.

/lgtm
/approve
The original PR was successful on the pre-submit job.  The original PR would have failed on the post-submit job.  As the PR was merged by an admin, the post-submit job wasn't run.  I'd recommend merging this PR.
For CNI (if there is any testing in the main repository) we may have to reintroduce it (with the correct URLS for the daily charts) - however, I am unclear if CNI testing is in the e2e testing in the existing repos.
Cheers
-steve
cc @costinm

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: sdake, ymesika
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: linsun
If they are not already assigned, you can assign the PR to them by writing /assign @linsun in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

cc @wenchenglu @duderino this PR is safe to merge.  Further gate failures may occur after it merges - the only way to determine this (with admin based merges) is to actually merge the PR.  I don't predict any problems with this particular PR, but there may be other latent issues related to the post-submit job not running.
Cheers
-steve

We need to understand how the broken was introduced in the first place.  any thoughts?

I am with @sdake on this, this PR is much better than our current 1.1 branch (#11806)
/lgtm

@linsun: changing LGTM is restricted to assignees, and assigning you to the PR failed.

In response to this:

I am with @sdake on this, this PR is much better than our current 1.1 branch (#11806)
/lgtm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: linsun, sdake, ymesika
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [linsun]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: linsun, sdake, ymesika
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [linsun]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Add Hugging Face Docs

Add Hugging Face docs. This will be the new source of truth for the official timm documentation. For now, we're just porting over the existing documentation (with necessary syntax updates so things don't look ugly).
This PR should, once a few things have been worked out, automatically deploy documentation on main branch as well as in pull requests.
TODO:

[x] Add build documentation workflow (which requires a HF Token)
[x] Resolve issue with doc-builder where you can't build docs from non-huggingface repos.
[x] Check formatting of built site to make sure it's properly hiding model pages (I set isExpanded: false for model_pages)
[ ] Check with papers with code folks that new format of model pages won't break their docs.
[ ] Determine what to do about model pages templates

This one ready for review. CC @rwightman @osanseviero @julien-c @mishig25
Keep in mind this is just porting the docs to Hugging Face for now. Will issue more updates later, starting with a good getting started guide and some basic API reference.
Keep in mind this internal Hugging Face PR is related and will need to be timed correctly merge-wise (I'm guessing the PR here needs to go before moon landing one, but could be wrong): https://github.com/huggingface/moon-landing/pull/4025

@nateraw so with these workflows docs will be updated for all releases and main/master branch on every push or creation of a release?

Yes!

cc @LysandreJik on this PR as well

Very impressive PR!

cc @mishig25 on the discussion as well


DiskLocked

Hi Jim
I've looked through the other "DiskLocked" issues reported, but they don't seem to apply.
Our profile container vhdx's are created by fslogix, and the profiles are working just fine, but the script seems to believe that most of our profiles are locked.
Out of 2368 profiles, 1774 where reported "DiskLocked" at nighttime saturday when the script was run. At that time no more than a maximum of 50 user sessions where active.
I can copy the user vhdx to another location, but even then the script will report "DiskLocked", so I know for sure that's not the case.
However it seems to differ which disks are reported locked from one week to the next, and when I have tested with a copy of a locked .vhdx, the DiskLocked situation will be fixed if I mount/eject the .vhdx
Do you have any advice?
ps. the remaining 594 profiles where handled/compressed as expected
Best regards
Dannie

So I've just added better error reporting to the script please redownload and try again.

Thank you so much for looking into this :-)
I'll use the updated script for next run and let you know how it turns out
/Dannie

I have the same issue, where with the old script I got "DiskLocked", Now I have "Failed to read partition   information for disk - "The input name "Type" cannot be   resolved to a property." as mentioned in Issue #12. The effect is issue #9

Hi, I'm happy to take a look, you can reach me at the email associated with my github account.

Thanks Jim, I will collect some of the CSV, screenshots and send them. If I can provide anything specific, I'd be glad to.

Hi Jim
Just to let you know, that the updated script seems to run much better
Either that or the change I did to number of threads has cured the problem, I went from 8 to 2 simultaneous actions (throttlelimit)
I actually suspect the original problem to be timing related, so lowering the throttlelimit could be what did the trick
Thank you again :-)


ISSUE:  thread source out

https://github.com/salesforce/jaxformer/blob/b8b389493b7c641a1d38bbec1b590d9eed3ff3be/preprocess/5_shuffe_concat_eos.py#L67
Hi, this code:  len(files) will burn out all threads.  Normally the machine has 80,000 threads. But one bucket's file length might be really huge. You can change this to args.works_num

Yes, changed. Thanks!


Can't build on Arch Linux. Missing instructions?

$ mkdir $HOME/work
$ export GOPATH=$HOME/work

$ make binaries
🐳 bin/swarmd
cmd/swarmd/main.go:13:2: cannot find package "github.com/Sirupsen/logrus" in any of:
	/usr/lib/go/src/github.com/Sirupsen/logrus (from $GOROOT)
	/home/alex/go/src/github.com/Sirupsen/logrus (from $GOPATH)
cmd/swarmd/main.go:14:2: cannot find package "github.com/docker/engine-api/client" in any of:
	/usr/lib/go/src/github.com/docker/engine-api/client (from $GOROOT)
	/home/alex/go/src/github.com/docker/engine-api/client (from $GOPATH)
cmd/swarmd/main.go:15:2: cannot find package "github.com/docker/swarmkit/agent" in any of:
	/usr/lib/go/src/github.com/docker/swarmkit/agent (from $GOROOT)
	/home/alex/go/src/github.com/docker/swarmkit/agent (from $GOPATH)
cmd/swarmd/main.go:16:2: cannot find package "github.com/docker/swarmkit/agent/exec/container" in any of:
	/usr/lib/go/src/github.com/docker/swarmkit/agent/exec/container (from $GOROOT)
	/home/alex/go/src/github.com/docker/swarmkit/agent/exec/container (from $GOPATH)
cmd/swarmd/main.go:17:2: cannot find package "github.com/docker/swarmkit/log" in any of:
	/usr/lib/go/src/github.com/docker/swarmkit/log (from $GOROOT)
	/home/alex/go/src/github.com/docker/swarmkit/log (from $GOPATH)
cmd/swarmd/main.go:18:2: cannot find package "github.com/docker/swarmkit/version" in any of:
	/usr/lib/go/src/github.com/docker/swarmkit/version (from $GOROOT)
	/home/alex/go/src/github.com/docker/swarmkit/version (from $GOPATH)
cmd/swarmd/main.go:19:2: cannot find package "github.com/spf13/cobra" in any of:
	/usr/lib/go/src/github.com/spf13/cobra (from $GOROOT)
	/home/alex/go/src/github.com/spf13/cobra (from $GOPATH)
cmd/swarmd/main.go:20:2: cannot find package "golang.org/x/net/context" in any of:
	/usr/lib/go/src/golang.org/x/net/context (from $GOROOT)
	/home/alex/go/src/golang.org/x/net/context (from $GOPATH)
Makefile:89: recipe for target 'bin/swarmd' failed
make: *** [bin/swarmd] Error 1

Are there missing instructions re: gopath? Or could this be something else?
[alex swarmkit]$ go version
go version go1.6.2 linux/amd64
[alex swarmkit]$ uname -a
Linux nuc 4.5.4-1-ARCH #1 SMP PREEMPT Wed May 11 22:21:28 CEST 2016 x86_64 GNU/Linux

After doing go get on every package it was complaining about I got no further towards a binary... with this build error:
make
🐳 fmt
🐳 bin/swarmd
# _/home/alex/work/swarmkit/cmd/swarmd
cmd/swarmd/main.go:138: cannot use client (type *"github.com/docker/engine-api/client".Client) as type "github.com/docker/swarmkit/vendor/github.com/docker/engine-api/client".APIClient in argument to "github.com/docker/swarmkit/agent/exec/container".NewExecutor:
	*"github.com/docker/engine-api/client".Client does not implement "github.com/docker/swarmkit/vendor/github.com/docker/engine-api/client".APIClient (wrong type for ContainerAttach method)
		have ContainerAttach("golang.org/x/net/context".Context, string, "github.com/docker/engine-api/types".ContainerAttachOptions) ("github.com/docker/engine-api/types".HijackedResponse, error)
		want ContainerAttach("github.com/docker/swarmkit/vendor/golang.org/x/net/context".Context, string, "github.com/docker/swarmkit/vendor/github.com/docker/engine-api/types".ContainerAttachOptions) ("github.com/docker/swarmkit/vendor/github.com/docker/engine-api/types".HijackedResponse, error)
Makefile:89: recipe for target 'bin/swarmd' failed
make: *** [bin/swarmd] Error 2

Please help 👍

@alexellis  check this thread #882

Hi @alexellis, can you cd into github.com/docker/engine-api and manually check out on master to see if that solves the issue? I'm a contributor using Arch and I can build just fine so this is definitely setup related.

@alexellis #889 included new instructions. Please let us know if you still run into trouble getting this to work.

Build instructions are now here.


Can't have a TouchableOpacity component inside renderParallaxBackground function

Issue details
Can't have a TouchableOpacity component inside renderParallaxBackground function.
Please specify which versions of the RN and ParallaxScroll

react-native 5.7.1
react-native-parallax-scroll 1.8.0

Affected platforms

Both

Screenshots / Screencast / Code Snippets (Optional)
  renderParallaxBackground = ({ height, animatedValue }) => {
    return (
       <TouchableOpacity onPress={() => console.log('doesnt work')}>
          <Text>Text</Text>
       </TouchableOpacity>
    )
  }

Hi @teod, this is known issue connected with RN limitations, you can use renderParallaxForeground for this case)


pre-trained word embedding

How to use the pre-trained word embedding? And where is the code about using pre-trained word embedding.
Thank you very much

And how to get the F1,P,R or BLEU etc.


Parsing error: "The Unicode escape sequence is not valid."

Hey there.
Great project, and looking forward to playing with it moving forward.
I'm running PS 6.0.0-beta on Linux (Ubuntu), and trying to obfuscate a couple of payloads but keep getting a 'The Unicode escape sequence is not valid' error. I'm unsure if this is due to my environment, or if its the latest beta of PS itself.
Let me know if you need more info or need me to test something. Thanks!

Name                           Value
----                           -----                                                                                > PSVersion                      6.0.0-beta
PSEdition                      Core
GitCommitId                    v6.0.0-beta.5
OS                             Linux 4.4.* UTC 2017
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Command and output:

$ powershell -Command 'Invoke-Obfuscation -ScriptPath data/misc/ToObfuscate.ps1 -Command "Token,All,1" -Quiet | Out-File -Encoding ASCII data/misc/Obfuscated.ps1'

$ powershell -Command 'Invoke-Obfuscation -ScriptPath data/misc/ToObfuscate.ps1 -Command "Token,All,1" -Quiet | Out-File -Encoding ASCII data/misc/Obfuscated.ps1'
Exception calling "Create" with "1" argument(s): "At line:55 char:34
+         ${e`MA`i`LsuB`jEcT} = ${s`ubjE`CT}
+                                  ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:83 char:12
+         ${o`ut`loOk} = Get-OutlookInstance
+            ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:100 char:71
+ ... stem.Runtime.Interopservices.Marshal]::ReleaseComObject(${o`uTlO`oK}) ...
+                                                                ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:121 char:32
+         [System.__ComObject]${o`utlook},
+                                ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:156 char:16
+             ${r`u`LEs} = ${M`Api}.DefaultStore.GetRules()
+                ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:159 char:31
+             ${S`UBte`XT} = ${R`uLe}.Conditions.Subject
+                               ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:162 char:16
+             ${s`ubte`xt}.Text = ${F`LA`gS}
+                ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:168 char:20
+                 ${n`ulL},
+                    ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:240 char:17
+         [int]${n`um}
+                 ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:303 char:51
+     ${val`UE} = ${OLd`Efau`l`TfOlDERs}.Item(${DeFa`ul`TFOLDEr`N`AME})
+                                                   ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
Not all parse errors were reported.  Correct the reported errors and try again."
At /usr/local/share/powershell/Modules/Invoke-Obfuscation/Out-ObfuscatedTokenCommand.ps1:137 char:13
+             $ScriptString = Out-ObfuscatedTokenCommand ([ScriptBlock] ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ParseException

Exception calling "Create" with "1" argument(s): "At line:55 char:34
+         ${e`MA`i`LsuB`jEcT} = ${s`ubjE`CT}
+                                  ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:83 char:12
+         ${o`ut`loOk} = Get-OutlookInstance
+            ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:100 char:71
+ ... stem.Runtime.Interopservices.Marshal]::ReleaseComObject(${o`uTlO`oK}) ...
+                                                                ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:121 char:32
+         [System.__ComObject]${o`utlook},
+                                ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:156 char:16
+             ${r`u`LEs} = ${M`Api}.DefaultStore.GetRules()
+                ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:159 char:31
+             ${S`UBte`XT} = ${R`uLe}.Conditions.Subject
+                               ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:162 char:16
+             ${s`ubte`xt}.Text = ${F`LA`gS}
+                ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:168 char:20
+                 ${n`ulL},
+                    ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:240 char:17
+         [int]${n`um}
+                 ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:303 char:51
+     ${val`UE} = ${OLd`Efau`l`TfOlDERs}.Item(${DeFa`ul`TFOLDEr`N`AME})
+                                                   ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
Not all parse errors were reported.  Correct the reported errors and try again."
At /usr/local/share/powershell/Modules/Invoke-Obfuscation/Out-ObfuscatedTokenCommand.ps1:137 char:13
+             $ScriptString = Out-ObfuscatedTokenCommand ([ScriptBlock] ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ParseException

Exception calling "Create" with "1" argument(s): "At line:55 char:34
+         ${e`MA`i`LsuB`jEcT} = ${s`ubjE`CT}
+                                  ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:83 char:12
+         ${o`ut`loOk} = Get-OutlookInstance
+            ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:100 char:71
+ ... stem.Runtime.Interopservices.Marshal]::ReleaseComObject(${o`uTlO`oK}) ...
+                                                                ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:121 char:32
+         [System.__ComObject]${o`utlook},
+                                ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:156 char:16
+             ${r`u`LEs} = ${M`Api}.DefaultStore.GetRules()
+                ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:159 char:31
+             ${S`UBte`XT} = ${R`uLe}.Conditions.Subject
+                               ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:162 char:16
+             ${s`ubte`xt}.Text = ${F`LA`gS}
+                ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:168 char:20
+                 ${n`ulL},
+                    ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:240 char:17
+         [int]${n`um}
+                 ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:303 char:51
+     ${val`UE} = ${OLd`Efau`l`TfOlDERs}.Item(${DeFa`ul`TFOLDEr`N`AME})
+                                                   ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
Not all parse errors were reported.  Correct the reported errors and try again."
At /usr/local/share/powershell/Modules/Invoke-Obfuscation/Out-ObfuscatedTokenCommand.ps1:137 char:13
+             $ScriptString = Out-ObfuscatedTokenCommand ([ScriptBlock] ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ParseException

Exception calling "Create" with "1" argument(s): "At line:55 char:34
+         ${e`MA`i`LsuB`jEcT} = ${s`ubjE`CT}
+                                  ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:83 char:12
+         ${o`ut`loOk} = Get-OutlookInstance
+            ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:100 char:71
+ ... stem.Runtime.Interopservices.Marshal]::ReleaseComObject(${o`uTlO`oK}) ...
+                                                                ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:121 char:32
+         [System.__ComObject]${o`utlook},
+                                ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:156 char:16
+             ${r`u`LEs} = ${M`Api}.DefaultStore.GetRules()
+                ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:159 char:31
+             ${S`UBte`XT} = ${R`uLe}.Conditions.Subject
+                               ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:162 char:16
+             ${s`ubte`xt}.Text = ${F`LA`gS}
+                ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:168 char:20
+                 ${n`ulL},
+                    ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:240 char:17
+         [int]${n`um}
+                 ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
At line:303 char:51
+     ${val`UE} = ${OLd`Efau`l`TfOlDERs}.Item(${DeFa`ul`TFOLDEr`N`AME})
+                                                   ~~
The Unicode escape sequence is not valid. A valid sequence is `u{ followed by one to six hex digits and a closing '}'.
Not all parse errors were reported.  Correct the reported errors and try again."
At /usr/local/share/powershell/Modules/Invoke-Obfuscation/Out-ObfuscatedTokenCommand.ps1:137 char:13
+             $ScriptString = Out-ObfuscatedTokenCommand ([ScriptBlock] ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : ParseException

'u' was added as a special character in PS 6.0 and needs to be upper-cased to be preceded by a ` mark. This has been updated and should be fixed as of: 950785e5f846fb0e8d3be8484d2ba466c2340469


Confusing explanation, not enough detail

There are too many solutions crammed into this page and not enough explanation. At least for each solution there should be a separate page with step-by-step instructions on how to set it up.

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

ID: ae743313-9367-b465-e31a-5beae33018d1
Version Independent ID: c0cd348d-764a-572b-d900-ff0cffe12a31
Content: Networking features - Azure App Service
Content Source: articles/app-service/networking-features.md
Service: app-service
GitHub Login: @madsd
Microsoft Alias: madsd

@mphoboon
Thanks for your feedback! We will investigate and update as appropriate.

@mphoboon Thanks for the feedback! I have assigned the issue to the content author to review further and update the document as appropriate.

@mphoboon. There should be links to "learn more/how to" for each of the features in their respective section in the article. Do you have an example of a feature that is missing learn more links?
Or is it more a quick reference with links at the top to all the individual features that you are looking for?

Thanks for your feedback and your contribution to Azure docs.
Feedback for this repository is moving away from GitHub to a system specific to the Microsoft Learn platform. Issues for this repository will soon be disabled, and additional comments from GitHub will no longer be possible. However, we are now tracking and triaging this issue in the new feedback system.
To learn more about our feedback systems, please see Provide feedback for Microsoft Learn content.
#please-close


Update containerd to v1.5.0-beta1 and revendor

containerd has an extensive dependency tree, and this is a large jump from v1.3.2, so this single-line change leads to a lot of churn in both go.mod and vendoring, particularly for the 'test' submodule.
Switching from v1.3.2 to v1.5.0-beta1 is too large a comparison for GitHub to usefully show, particularly because it goes down the release-1.3 branch back to September 2019, and then forwards to near current master.
This change is being done to get https://github.com/containerd/containerd/pull/4395, which deforked some code from Microsoft/go-winio. A structure type used by that deduplicated has changed in go-winio recently, and so pulling in both older containerd and newer go-winio leads to compile failures.
The motivation for this change is that #901 requires newer go-winio; the same PR as the API change; as it happens.

For reference, the compile failure log is
# github.com/containerd/containerd/archive
c:\gopath\pkg\mod\github.com\containerd\containerd@v1.3.2\archive\tar_windows.go:234:3: cannot use syscall.NsecToFiletime(hdr.AccessTime.UnixNano()) (type syscall.Filetime) as type "golang.org/x/sys/windows".Filetime in field value
c:\gopath\pkg\mod\github.com\containerd\containerd@v1.3.2\archive\tar_windows.go:235:3: cannot use syscall.NsecToFiletime(hdr.ModTime.UnixNano()) (type syscall.Filetime) as type "golang.org/x/sys/windows".Filetime in field value
c:\gopath\pkg\mod\github.com\containerd\containerd@v1.3.2\archive\tar_windows.go:236:3: cannot use syscall.NsecToFiletime(hdr.ChangeTime.UnixNano()) (type syscall.Filetime) as type "golang.org/x/sys/windows".Filetime in field value
c:\gopath\pkg\mod\github.com\containerd\containerd@v1.3.2\archive\tar_windows.go:239:3: cannot use syscall.NsecToFiletime(hdr.ModTime.UnixNano()) (type syscall.Filetime) as type "golang.org/x/sys/windows".Filetime in field value
c:\gopath\pkg\mod\github.com\containerd\containerd@v1.3.2\archive\tar_windows.go:257:25: cannot use syscall.NsecToFiletime(createTime.UnixNano()) (type syscall.Filetime) as type "golang.org/x/sys/windows".Filetime in assignment

For the record, containerd 1.5.0-beta2 has been released, but nothing leapt out from the diff that is worth worrying about here. A fork of hcsshim.CreateSandboxLayer has appeared though, oddly enough, using vmcompute.


Update manifest.json

Added a bunch of mods

Not a blocking issue, but your AssemblyVersion and AssemblyFileVersion attributes don't match the mod versions in the new versions of:

Resolutions
Rebind
CustomizeInspector
CustomizeLogixBrowser
CustomizeVideoPlayer
LocalMenu

This means they all show up as <IP_ADDRESS> in File Explorer:

If you think having to change the version number in three places is a huge pain, you're right. Luckily, there's a way you can get away with having it in one place, which I've used in this mod.
Not a big deal, but maybe something to think about for future releases.


Adding Personal Package Archives (PPAs)

Currently, it is impossible to add PPAs through postBuild and apt.txt.
The reason is that apt.txt is executed before postBuild, so even if a PPA is added to the postBuild, the package cannot be found.
In some cases, there is a need for software that is distributed through PPAs. For example, if one needs to install MongoDB, it is required to add a PPA and create a list file. Only then, the package is becoming available for installation.

Thanks, @betatim. Your solution worked for me.
I've managed to install mongodb by adding the following line to postBuild:
conda install -c anaconda mongodb
Although, there is another issue. To use mongodb, I need to start a service service mongod start. I tried starting the service from MyBinder terminal and by adding the command to postBuild. In both cases I get an error mongod: unrecognized service.
Is it possible to start a service in MyBinder?

We support environment.yml (check out https://github.com/binder-examples/conda) so I would list mongodb there instead of using postBuild.
To start a service like a DB we support a special file called start, see https://repo2docker.readthedocs.io/en/latest/config_files.html#start. We discovered that this was broken, got fixed in #399 which should be deployed on Tuesday. You could already test it locally with repo2docker installed from master.

Indeed, start script works now (tested locally). Nonetheless, the error mongod: unrecognized service still pops up in the logs.
No problem with MyBinder here though. Seems like conda-forge MongoDB package does not contain MongoDB server. So, as you proposed before, the only way to install MongoDB is to create a custom Dockerfile and install MongoDB properly.

IMO, PPA support should exist in an extension or with a Dockerfile.
@mizvol for running extra services, https://blog.ouseful.info/2019/02/04/running-a-postgresql-server-in-a-mybinder-container/ from @psychemedia might be useful.

I need to get mongo up and running in Binder too... will have a look at this when I get back from hols if s/one doesn't post a recipe before me.

I agree with Yuvi that PPAs should be for people who have custom Dockerfiles.
Closing this, if someone wants to come back to this specific issue feel free to re-open it.


Expose more code to lua

Considering lua support was added to the project, more code should be replaced with lua code(only blurpints should be replaced) because lua is much easier to use with source controll

After some rethinking i chose to not do that
Because LUA was added to late into the development


 If I remove player="something-404.jpg" or specifiy a non 404 image everything works as expected.
Testing with 2.23.4 with Firefox 49.

Thanks for pointing this. Can you test this on the 3.x-dev branch and let me know if that's an issue there? I'm currently maintaining that branch and it will be released soon so any fixes will go to that branch

I tested on the 3.x-dev branch and on my side works correctly. I'll wait for your response in the next couple of days; otherwise, we will close this issue and it can always be reopened. Thanks

Yes it works with the 3.x branch but in the 3.x branch the following formats no longer works (Firefox 50):
M4V, FLV, WMV, Vimeo, M4A and WMA.

Can you provide a URL to see the issue in FF please?

Vimeo should work as well as FLV; I assume M4A is the same as MP4 but needs to be added in the valid MIME types in the plugin. WMV and WMA are no longer supported since all major players have stopped the support.

I used the following files to test the player and all worked:
http://techslides.com/demos/samples/sample.m4a (with type as audio/mp4)
https://player.vimeo.com/video/59777392  (with type as video/x-vimeo)
http://techslides.com/demos/samples/sample.flv (with type as video/flv)
http://sites.lafayette.edu/newquisk/files/2011/08/ken-video.m4v?_=1 (with type as video/mp4)

I'm still unable to play FLVs using video-flv...
If I try Vimeo with your URL it works but if I use something like http://vimeo.com/107469289 it dosen't... Is it normal?
I will try to post an example soon so you can see how I use it.

I'll check the flv and for Vimeo I'll add code to parse that URL since it's only considering the structure of the URL I described above. I'll keep you posted

Here is my test page where I test Media Element:
http://tinyurl.com/h2bo5fh

Ok I'll take a look and let you know my findings. Thanks

@Wolfcast I've added support for the Vimeo URL you listed above. Please download the latest version of 3.x-dev branch. Checking the markup you set up I noticed you are setting an <object> tag inside the video tag and that might be conflicting with the creation of the new embed/object tag that allows the proper displaying of Flash.
Try this markup:
<video id="player1" width="640" height="360" preload="none" class="mejs-player"
data-mejsoptions='{ "pluginPath": "../build/", "alwaysShowControls": "true", "pauseOtherPlayers": "false" }'>
	<source src="http://avaliquette.com/me-debug/z-samples/video-sample.flv" type="video/flv">
</video>

It should work that way. Let me know

@Wolfcast I did a test with your markup and seems like if you just set the proper path to the mediaelement shim correctly you shouldn't get any conflicts.
Try this:
<video id="player1" width="320" height="240" preload="none" >
	<source src="z-samples/video-sample.flv" type="video/flv">
	<object type="application/x-shockwave-flash" data="/path/to/build/mediaelement-flash-video.swf" width="320" height="240">
		<param name="movie" value="../build/mediaelement-flash-video.swf">
		<param name="FlashVars" value="controls=true&file=z-samples%2Fvideo-sample.flv">
		Your Web browser does not support video playback!
	</object>
</video>

Ohh I wasen't aware that the Flash shim changed names (from flashmediaelement.swf to mediaelement-flash-video.swf).
It still dosen't work even with a proper path. To make it work I have to define the option "pluginPath" otherwise it tries to find it in the build directory.
Do you have a v2 to v3 guide documented somewhere? And the doc for the proper MIME to use in "type"?

In the latest version Vimeo worked for me but I'll double check. You need to read the documentation in the 3.x-dev branch since all the information is there. I recommend specifically the Usage and Installation sections

Make sure you download the latest version of the branch since that's where the fix for Vimeo was set

I see an error coming form loading Vimeo player API script. I need to check why because it was working a couple of days ago

Indeed is an error from Vimeo (https://github.com/vimeo/player.js/issues/85)

Ok Vimeo should be working now. As for the flv files, yes you must indicate the path with pluginPath; that is expected. I added a note in the documentation for this branch. If no more issues, can you close this ticket, please?

OK, all good now thanks for the good work!


RtcMultiConnection without ice servers

Hi Muaz, and thanks for a lot of nice software.
I'm using RtcMultiConnection-v3 to share a webcam stream to different devices and everything is working well, with your Signaling-Server over socket.io for communication.
Initially I  just used default setup for the ice servers, but would like to run without ice servers as the system may be running in a closed LAN without internet access.
Tried setting iceServers to [], and this works fine for my desktop clients. But  browsers on android doesn't work with this setting.
It connects and sets up ice candidate pairs but after some seconds fails with:
rmc3.js:1420 Peer connection is closed between you &  ckkdr2iddobt9 Object {} state: failedRTCMultiConnection.connection.onPeerStateChanged @ rmc3.js:1420MultiPeers.onPeerStateChanged @ rmc3.js:2292onPeerStateChanged @ rmc3.js:1969PeerInitiator.peer.oniceconnectionstatechange.peer.onsignalingstatechange @ rmc3.js:3768 rmc3.js:1315 ckkdr2iddobt9 offline
The phone is on the same LAN as the server.
So my question is: What do I need to do to make RtcMultiConnection work on android without access to the internet and ice servers? Do I need to set up a local server?
Thanks in advance,
Geir

What about
RTCConnection.candidates = {
     turn:     false,
     stun:    false,
     host:    true
};

@dnish  It works fine.


Initial support for nteract data explorer

This PR adds a Table Data schema mimerender and adds nteract Data Explorer support for this format:
The current flow is to enable table data output from pandas, output a dataframe, and then click "nteract Data Explorer" on the tmp:/// dataset:

This is more a POC than a recommendation for the final UX.  Couple of UX questions:

Should we render the data explorer inline in the output as we do for other mimetype renderers? We could also register it with the data registry. We would need to add a tab bar to the output, if there are multiple valid viewers for some mimetype
Ideally I think we could name the URL like notebook://<path>/<to>/<notebook>.ipynb; cell=<cell #>.<output #> to uniquely identify a cell output. I don't think the current rendermime system gives the output enough information to create this URL. You don't know which notebook you are in or what cell is outputting.  (EDIT: You can do this, by looking at the parent of the renderer widget repeatedly to get up to the notebook and cell model. From there you can tell which cell it is and the path of the notebook.

Another idea for integrating this existing rendermine extensions:

Query existing mimerender extensions and add them all to the data registry.
Add new mimerender extension that renders via data registry and targets all mimetypes. Now all outputs will be registered with data registry. Also, have it render the default viewer inline, so it works similarly inside the notebook.

I am going to merge this in, then we can iterate on it.


fix(endpoints): Tested endpoints, fixed some bugs and docs

:tada: This PR is included in version 1.4.1 :tada:
Your semantic-release bot :package::rocket:


[Feature request] deploy load test script other than operator namespace

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

support helmchart to create load test script other than operator namespace

Hello @prasanna12510,
Thank you for taking the tine to go through the project and voicing your thoughts as well. It is a valid point you are bringing and I see no reason to not have it.
would you be willing to contribute a PR for this? if no, it may take me a minute to get to it as i have some points already in the backlog.
The implementation would need to be controllable with HELM value, if set to true then permission to all namespaces are deployed.  also a small peace of documentation to explain what the feature do.

sure I can contribute to helmchart to add the namespaceoption to set customizable accordingly set rbac resource

hello @prasanna12510, are you working on this?