Confused about the step in Tutorial "BLOB_STORAGE_CONNECTION_STRING" and "AzureWebJobsStorage" setting.

    https://learn.microsoft.com/en-us/azure/developer/python/tutorial-deploy-azure-cloud-python-etl-03-process-data

Confused about the step in Tutorial "BLOB_STORAGE_CONNECTION_STRING" and "AzureWebJobsStorage" setting.
@diberry  I still cannot get it. If the two values point to different accounts. And why is the value same? In my opinion. Nether running locally nor  deployed, because they controll two different storage accounts.
AzureWebJobsStorage is msdocspythoncloud1 connection string. And in the guide I cannot find which link it should link BLOB_STORAGE_CONNECTION_STRING. But I suppose that it should be msdocspythoncloudetladls.

Originally posted by @CapitaineNemo in https://github.com/MicrosoftDocs/azure-dev-docs/issues/1006#issuecomment-1372012082

@CapitaineNemo This is a great point and the content should be updated. Would you be interested in jumping on a call to discuss this article series? You've invested time and it would be great to understand any other insights you have to making this series more understandable.
For your specific question:
When you are running locally on your own dev box, you can use a single blob storage account for all the accounts needed. You can even use the Azure Storage emulator so all the work is local to your computer while in development.
When you move to cloud deployment, you will have at least 2 storage accounts but more than likely, if you follow this article, 3.

AzureWebJobsStorage: Azure Functions needs its own storage account so it can manage the various work done by any triggers. You wouldn't want this to be the same account as your data accounts because you wouldn't want to clobber what storage items your Azure Function needs. When you create your Function resource, this storage account is created for you.
BLOB_STORAGE_RESOURCE_NAME: This is the account that receives the initial news items from Bing Search. It doesn't have to have hierarchical folders enabled.
DATALAKE_GEN_2_RESOURCE_NAME: This is the data lake account that receives the final, transformed news items. It must have hierarchical folders enabled.

Can  BLOB_STORAGE_RESOURCE_NAME and DATALAKE_GEN_2_RESOURCE_NAME be the same resource? Sure, if hierarchical folders is enabled?
Can all 3 use the same storage account? Maybe. I'm not sure what the requirements are for storage for Azure Functions. Since I can't guarantee over time that the Azure Functions requirements won't drift from hierarchical folders (datalake capability), I choose to personally let functions create its own storage account and never touch that storage directly.
If this information is helpful, let me know and I'll add it to the doc. Would it be more helpful upfront on the first page or as each storage resource is created and used?
#in-progress

@CapitaineNemo This is a great point and the content should be updated. Would you be interested in jumping on a call to discuss this article series? You've invested time and it would be great to understand any other insights you have to making this series more understandable.
For your specific question:
When you are running locally on your own dev box, you can use a single blob storage account for all the accounts needed. You can even use the Azure Storage emulator so all the work is local to your computer while in development.
When you move to cloud deployment, you will have at least 2 storage accounts but more than likely, if you follow this article, 3.

AzureWebJobsStorage: Azure Functions needs its own storage account so it can manage the various work done by any triggers. You wouldn't want this to be the same account as your data accounts because you wouldn't want to clobber what storage items your Azure Function needs. When you create your Function resource, this storage account is created for you.
BLOB_STORAGE_RESOURCE_NAME: This is the account that receives the initial news items from Bing Search. It doesn't have to have hierarchical folders enabled.
DATALAKE_GEN_2_RESOURCE_NAME: This is the data lake account that receives the final, transformed news items. It must have hierarchical folders enabled.

Can BLOB_STORAGE_RESOURCE_NAME and DATALAKE_GEN_2_RESOURCE_NAME be the same resource? Sure, if hierarchical folders is enabled?
Can all 3 use the same storage account? Maybe. I'm not sure what the requirements are for storage for Azure Functions. Since I can't guarantee over time that the Azure Functions requirements won't drift from hierarchical folders (datalake capability), I choose to personally let functions create its own storage account and never touch that storage directly.
If this information is helpful, let me know and I'll add it to the doc. Would it be more helpful upfront on the first page or as each storage resource is created and used?
#in-progress

Hi, thanks for your reply. Ok, we can have a call to discuss it. You can find my Teams ID<EMAIL_ADDRESS>


Do not exercise diagnostics when disabled

This PR allows users to fully disable diagnostics, so that it is not exercised, when disabled. I find myself having to do this locally quite often, so I thought that it might be a good thing to merge.

If the user defines customized diagnostics in the yaml file (e.g. here) but set output_default_diagnostics to false, the model still needs to output diagnostics. We should check that as well?

If the user defines customized diagnostics in the yaml file (e.g. here) but set output_default_diagnostics to false, the model still needs to output diagnostics. We should check that as well?

There's no documentation/defaults on diagnostics. Perhaps we can/should add a separate flag, enable_diagnostics = true, which can be used to perform this check. I think it would be convenient to have a single switch

If the user defines customized diagnostics in the yaml file (e.g. here) but set output_default_diagnostics to false, the model still needs to output diagnostics. We should check that as well?

There's no documentation/defaults on diagnostics. Perhaps we can/should add a separate flag, enable_diagnostics = true, which can be used to perform this check. I think it would be convenient to have a single switch

There is documentation. It's here: https://clima.github.io/ClimaAtmos.jl/dev/diagnostics/
And I don't think we should add another redundant switch that effectively just disables other yaml configurations: it makes handling interaction between configurations harder to predict and maintain.

And I don't think we should add another redundant switch that effectively just disables other yaml configurations: it makes handling interaction between configurations harder to predict and maintain.

It's not redundant in that it ensures that our diagnostics are not exercised, the other flags do not do this. Think of this as a developer flag

Maybe the more important question is, why do you find yourself disabling this piece of code?

Because the diagnostics is still brittle. I already gave feedback on the diagnostics and IntegratorWithDiagnostics design, and you insisted to keep it. All I'm asking for is a way to disable it now, because it's frequently causing problems for me during development. IIRC, the last error I saw was an assumption about the orography type. @bloops recently ran into an issue when we were trying to run ClimaAtmos on the cloud. I'm happy to open issues when they arise, but these snags are slowing development for me and others.

I am happy to have this PR merged, but please, report these issues and tag me so that we can fix them. I didn't know you or @bloops had problems.

It's not redundant in that it ensures that our diagnostics are not exercised, the other flags do not do this. Think of this as a developer flag

I think that my suggestion is equivalent in terms of code not being exercised but does not add an extra configuration that needs to be maintained.


Entities are missing unique ID

Devices are missing Uniquie ID, so they cannot be modified in any way in home assistant - name, location, type, etc.  This results in all devices from ewelink shown as one big switch in the dashboard, which cannot be assigned to any room.
Error shown when trying to edit entities in settings:

All devices dispalyed as one in the dashboard:

Yes, haven't found a way to set up unique ID using HA REST API yet.

MIne switches don't even work, so.


Parse promise bug

Parse have their own promise implementation which introduce bug in v1.8.5
I said this because the problem do not occur in older vision
In RESTController.js installationIdPromise.then can not work in some case,I logged out installationIdPromise as
ParsePromise
_rejected: false
_rejectedCallbacks: Array[0]
_resolved: true
_resolvedCallbacks: Array[0]
_result: Array[1]
"a91f4dca-873e-10c3-6839-1ea2f868ccb1"
length:1
__proto__: Object

next installationIdPromise.then can never continue
This problem happen only when I click a button which trigger a cloud function.I look through the cloud code and it turned out thing goes wrong with installationIdPromise
But the promise object look exactly the same as 'good one',so I suppose the problem lies in the then method of the implementation
Promise is the cornerstone of the whole parse project ,please fix it !!!
kind regards

Can you provide an example of actual code that doesn't work as intended?

Or, can you provide a test case that reliably reproduces an error? We have a pretty thorough set of unit tests which check our implementation against both the Promises/A and Promises/A+ specs: https://github.com/ParsePlatform/Parse-SDK-JS/blob/master/src/tests/ParsePromise-test.js

Could you provide your email address ? I can send the whole project to you and you just need to switch between parse v1.6.4 and parse v1.8.5 , reinstall node_module,the problem will appear

Or I can try to create a minimal version of the project which can reproduce the bug

Sorry, I can't take the time to look at an entire project and find the bug for you. If you can find a minimal case that reproduces the bug, that is best.
Between v1.6.4 and v1.8.5, the default behavior changed from Promises/A compliance to Promises/A+ compliance. This should only affect the way Errors are handled, but you might want to see if your code works after running Parse.Promise.disableAPlusCompliant()

OOOOps,it works !!!!!!!
I have spend several days on this !!!!


Fix symbol load json

Fix #6419

Hi @lx75249 .
It made it to load a json model file and received this.
[20:33:36] src/nnvm/legacy_json_util.cc:190: Loading symbol saved by previous version v0.8.0. Attempting to upgrade...
[20:33:36] src/nnvm/legacy_json_util.cc:198: Symbol successfully upgraded!

However, it seems like it fails when I try to load it more than twice.
Perhaps this issue is already mentioned at Can't load json file more than twice in linux using cpp-package  #5889 ?

I'm now confronted with @chicn 's issue.

@kentrino You also got error when loading model twice?

@lx75249 Yes. Thanks for swift reply.

Should this be merged?

Not ready yet.
On Sat, 27 May 2017 at 00:46 Eric Junyuan Xie<EMAIL_ADDRESS>wrote:

Should this be merged?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dmlc/mxnet/pull/6420#issuecomment-304331683, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACecR-Vec3nqeqDX65OdCbKLUUmYAZSVks5r9wHhgaJpZM4Nk9Dc
.

This issue was actually solved and the point of this was just a my mistake of giving the path of model files. Sorry for make it confusing.

@kentrino see discussion above. Could you check the path to the model you were loading?

Is this still needed?

@piiswrong Yes

Should I merge this now?

@piiswrong Yes, this patch solves that bug.


EAGLE-402 Refactor Application Framework  to be better managed or deployed standalone

https://issues.apache.org/jira/browse/EAGLE-402

reviewed, please merge. Good to see we start to support multiple streaming engines.
Is the following dependency correct, it is 2.7.0?

       <groupId>org.apache.hadoop</groupId>

       <artifactId>hadoop-yarn-server-common</artifactId>

       <version>2.7.0</version>

   </dependency>

@yonzhang it's wrongly included, removed now.


Designer update

Adds support for backgroundImage on AdaptiveCard, Container and Column
Adds support for style on Container and Column
Adds support for lang, fallbackText and speak on AdaptiveCard
Adds missing support for weighted column widths
Remove irrelevant properties from property sheet for some element types

@andrewleader I have just published the changes to http://acdesignerstaging.azurewebsites.net/

Good catch - fixed, staging site updated.


UI: add_new_leave_type_btn overlap

Not sure if intentional but the "Add new" button is overlapping the "Save changes" button.
Before changing button padding:

After changing button padding:

Thanks @kai3x5, I will put the fix into the master.

Fixed.


Update README.md

Update README.md
Details
jucc_test shows details about each individual test where as ninja test generates a simple passed or failed output.

Don't make pull requests now, let me revert the main to a previous build-passing version.

The main is reverted, make a new pull request closing this.

Also delete the branch if not required.


add devcall section to README.md

@LorenzMeier @kd0aij
Do you think we'd get more participation using something other than mumble?
It's an uncommon client most people don't already have and there seems to be a lot of struggle with push to talk. The meeting might be more conversational if that minor barrier to participation didn't exist?
What about google hangouts? That also gives people the option for video and screensharing.
Other options?
We should also announce calls starting in the gitter channels.
I bet we'd have more attendees if the call were during Zurich office hours.

Google hangouts works well for me.
I'll try to remember to announce the devcall on gitter; wonder if that could be automated?

But I hear that Slack is the way to go now: http://xkcd.com/1782/

I think we can also have a dial-in telephone number with hangouts.

Google hangouts doesn't work well with 10+ people.

Even if most of them are audio only?
Anything else you'd recommend?
On Mon, Jan 9, 2017 at 5:56 PM, James Goppert<EMAIL_ADDRESS>wrote:

Google hangouts doesn't work well with 10+ people.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/PX4/Firmware/pull/6280#issuecomment-271434634, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAFK6HnneX22iRLrhl7mgbVfjGZDk48aks5rQrsigaJpZM4Levka
.


[Enhancement] Remove access info in broker log

What type of PR is this：

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes https://github.com/StarRocks/starrocks/issues/13324
Problem Summary(Required) ：

This PR removes access info from log of broker. The new output would be like
2022-11-14 10:44:49  [ TThreadPoolServer WorkerProcess-%d:189642 ] - [ INFO ]  received a list path request, request path: s3a://test_bucket/test_dir/*

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[FE PR Coverage Check]
:disappointed: fail : 8 / 37 (21.62%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/analysis/LabelName.java
0
3
00.00%
[87, 88, 89]

:large_blue_circle:
com/starrocks/sql/ast/LoadStmt.java
0
19
00.00%
[284, 285, 286, 287, 290, 292, 293, 294, 296, 297, 298, 299, 301, 302, 305, 306, 307, 308, 310]

:large_blue_circle:
com/starrocks/fs/hdfs/HdfsService.java
0
6
00.00%
[59, 60, 61, 62, 63, 65]

:large_blue_circle:
com/starrocks/qe/ConnectProcessor.java
2
3
66.67%
[182]

:large_blue_circle:
com/starrocks/common/util/PrintableMap.java
6
6
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 0 / 14 (00.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/fs/hdfs/HdfsService.java
0
14
00.00%
[58, 72, 78, 85, 91, 92, 99, 100, 106, 112, 118, 126, 127, 133]

run starrocks_admit_test


Implement PartialEq for Value

Rust does not provide PartialEq for float (for obvious reasons), Lox supports it, so we need it.
https://github.com/jtempest/float_eq-rs provides derive macros for it.

I believe PartialEq is enough for lox...


Create IAM role that can provision roles that can read "third-party" S3 bucket

Create a role (e.g. ProvisionThirdPartyBucketReadRoles) in the images subdirectory that is able to create roles that are able to read data from the "third-party file" bucket (see #45).

I am going a different way with this.  There is little need to create ProvisionThirdPartyBucketReadRoles if all we are doing is creating a single role that is able to read from the third-party bucket.  So, I'm simply going to create that ThirdPartyBucketReadRole.  Then, the corresponding policy can be attached wherever it is needed (e.g. to an AMI build user).

the role that is created could specify which objects are allowed to be
read.  Why is that not useful vs a single “read everything in the bucket”
role?
On Thu, Apr 9, 2020 at 5:26 PM dav3r<EMAIL_ADDRESS>wrote:

I am going a different way with this. There is little need to create
ProvisionThirdPartyBucketReadRoles if all we are doing is creating a
single role that is able to read from the third-party bucket. So, I'm
simply going to create that ThirdPartyBucketReadRole. Then, the
corresponding policy can be attached wherever it is needed (e.g. to an AMI
build user).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cisagov/cool-accounts/issues/46#issuecomment-611760439,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKECPPADD7GRODT26YZQ2DRLY4QLANCNFSM4ME7MQMA
.

--
Shane Frasier
Cyber Assessments
Cybersecurity and Infrastructure Security Agency
Cell:<PHONE_NUMBER> | Email<EMAIL_ADDRESS>

the role that is created could specify which objects are allowed to be read. Why is that not useful vs a single “read everything in the bucket” role?

@jsf9k You are 100% correct- I hadn't been thinking of creating roles that are targeted to specific objects in the bucket.  Thanks for the suggestion- I will go and build that now.

Resolved by #47.


Fixed atomic type

There is no reason/benefit to replacing ReferenceCounterValueType with Int32. Just doing
using ReferenceCounterValueType = Int32 will have the same effect and leave room for flexibility, if needed.


Instantiate Device Plugin

Reason for Change:
This PR enables device plugin
Issue Fixed:

Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[x] relevant PR labels added

Notes:

@aggarwal0009 did not see you had updated this. Please hit the re-review button in the future so I see this.


[Testing Docs] Using rewire throws multiple errors while running tests

Not sure if I'm doing something wrong or the docs are incorrect/incomplete.
I found the example with rewire to be wrong.
Doc says to import rewire and use __get()__ and __set()__ methods to import private properties of the reducer (in this case initialState).
This is the example-
// `NavBar.reducer.test.js`

import expect from 'expect';
import rewire from 'rewire';
import NavBarReducer from '../NavBar.reducer';
import { TOGGLE_NAV } from '../NavBar.constants';

const initialState = NavBarReducer.__get__('initialState');

It should be -
// `NavBar.reducer.test.js`

import expect from 'expect';
import rewire from 'rewire';
const NavBarReducer = rewire('../NavBar.reducer');
import { TOGGLE_NAV } from '../NavBar.constants';

const initialState = NavBarReducer.__get__('initialState');

Also, what is the meaning of this statement?

Note: You might be wondering why we still import the NavBarReducer above. The NavBarReducer imported with rewire isn't the actual reducer, it's a rewired version.

If we're not using rewire to get initialState off of the reducer, why are we even importing the rewire module? According to the rewire docs, reducer should be imported using rewire to be able to use __get__ and __set__ methods.
So I did this -
import expect from 'expect';
import rewire from 'rewire';
const summaryReducer = rewire('../reducers');
const initialState = summaryReducer.__get__('initialState');

describe('summaryReducer', () => {
  it('Should return the initial state', () => {
    expect(summaryReducer(undefined, {})).toEqual(initialState);
  });
});

And the terminal crapped out a list of errors -
WARNING in ./~/rewire/lib/moduleEnv.js
require.extensions is not supported by webpack. Use a loader instead.

WARNING in ./~/rewire/lib/moduleEnv.js
require.extensions is not supported by webpack. Use a loader instead.

WARNING in ./~/rewire/lib/moduleEnv.js
require.extensions is not supported by webpack. Use a loader instead.

WARNING in ./~/rewire/lib/moduleEnv.js
Module not found: Error: Can't resolve 'coffee-script' in '/Users/Mihir/poc-production-enhanced/node_modules/rewire/lib'
 @ ./~/rewire/lib/moduleEnv.js 88:13-37

ERROR in ./~/rewire/lib/rewire.js
Module not found: Error: Can't resolve 'module' in '/Users/Mihir/poc-production-enhanced/node_modules/rewire/lib'
 @ ./~/rewire/lib/rewire.js 1:13-30

ERROR in ./~/rewire/lib/moduleEnv.js
Module not found: Error: Can't resolve 'module' in '/Users/Mihir/poc-production-enhanced/node_modules/rewire/lib'
 @ ./~/rewire/lib/moduleEnv.js 3:13-30
31 08 2016 11:16:44.985:INFO [karma]: Karma v1.1.1 server started at http://localhost:9876/
31 08 2016 11:16:44.988:INFO [launcher]: Launching browser Chrome with unlimited concurrency
31 08 2016 11:16:45.050:INFO [launcher]: Starting browser Chrome
31 08 2016 11:16:46.995:INFO [Chrome 52.0.2743 (Mac OS X 10.11.2)]: Connected on socket /#ocOvjaBuik9sllPQAAAA with id 18900043
Chrome 52.0.2743 (Mac OS X 10.11.2) ERROR
  Uncaught Error: Cannot find module "module"
  at webpack:///~/rewire/lib/rewire.js:1:0 <- test-bundler.js:142956

Finished in 2.587 secs / 0 secs

SUMMARY:
✔ 0 tests completed

Am I missing something? :confused:

Hi @KarandikarMihir , these docs also had me confused. To the best of my knowledge rewire does not work with babel and therefore es2015 imports (please take it easy on me if I am wrong). There is another library babel-plugin-rewire that will work with babel.
I made an attempt to add babel-plugin-rewire, see Issue #909, but there are issues with the latest versions, so it's not yet merged.
If you are using a clone of the master branch (default branch) you could take a look at this PR to get an idea on how to get rewire working.
If you are using a clone of dev, which is using istanbul instead of isparta, take a look at this PR. In this PR on<EMAIL_ADDRESS>works but the latest version 1.0.0-rc-6 causes some issues with istanbul.
Please let us know how you go and feel free to ask any further questions.
Once that PR is merged, I'd <3 to update the Testing Docs.

Just waiting for the weekend! I'll dig into this.


Migrate from deprecated FxCop analyzers to .NET analyzers

https://github.com/dotnet/roslyn-analyzers/releases/tag/v3.3.2
New deprecation warning CA9998 for Microsoft.CodeAnalysis.FxCopAnalyzers package:
FxCopAnalyzers package has been deprecated in favor of 'Microsoft.CodeAnalysis.NetAnalyzers', that ships with the .NET SDK. Please refer to https://docs.microsoft.com/visualstudio/code-quality/migrate-from-fxcop-analyzers-to-net-analyzers to migrate to .NET analyzers.

Example PR which addresses this is here: https://github.com/cake-contrib/Cake.Issues/pull/231/files


Add support for deep sleep and spi wake-up

This commit implements DW1000 deep sleep as per #30.
Simply use DW1000.deepSleep() to enter deep sleep state and use wake pin or DW1000.spiWakeup() to wake-up the chip.
On wake-up the configuration is automaticaly restored from AON memory. Some registers may be not correctly restored.
I actualy found that the GPDCE bit in PMSC_CTRL0 is not restored on wake-up and I added a fix.

Nice one! Many thanks!

how to use deep sleep?

@xingqing6210
Example:
DW1000.deepSleep();
delay(10000); // instead of delay you can do watherver you want except comunicating with DW1000
DW1000.spiWakeup(); // or trigger a wakeup using the wakeup pin

I can put DW into sleep and wake up successfully which I can read data from SPI. But I cannot send data after wakeup. When I try to send data data transmit interrupt doesn't fired. Could it be about LDE cannot run after sleep ?

The same code without deep sleep works?

Yes it  works when I comment the deepSleep() function. It might be register lost after wake up. Also I'm using 64 Mhz preamble. When I compared with the decawave's lastest API there is some differences so I'm really confused. If I reset and reconfigure the device after wakeup it works but this is really bad way. As far as I can see sysmask register is gone after wakeup but reconfigure the sysmask doesnt solve the problem.

likely, I also enter into deepsleep, and wake up it. but send data fail.

In what part of the program flow do you put the deep sleep?
DW1000 messages are not sent instantaneously, it needs some time.
The better you can do is to put the deep sleep after where you are sure the sent handler has been called and no new trasmission has started.
See this gist

I always call deepsleep when current transmission or receive finished. Indeed when tag sends a blink message and if timeout occurs I put dw1000 to deepsleep.

I find, after wakeup, the all registers be reset, so transmit again fail.

@xingqing6210 has this been fixed?

Setting the ONW_LLDE (bit 11) in AON_WCFG worked for me.

Setting ONW_LLDE (bit 11) in AON_WCFG fixes this issue. Note that antenna delay value resets during sleep mode and you have to reload it. I also had to turn on the receiver again.


reflect: inconsistent results between refection and non-refelction

What version of Go are you using (go version)?
go version go1.11.3 linux/amd64
Does this issue reproduce with the latest release?
yes
What did you do?
package main

import "reflect"

var _ = reflect.ValueOf

func main() {
	type C chan int
	type C1 chan<- int
	type C2 <-chan int
	var c C
	_ = chan<- int(c)   // ok
	_ = (<-chan int)(c) // ok
	//_ = C1(c)         // error:
	//_ = C2(c)         // error:
	var c1a chan<- int
	var c2a <-chan int
	var c1b C1
	var c2b C2

	var tc1a = reflect.TypeOf(c1a)
	var tc2a = reflect.TypeOf(c2a)
	var tc1b = reflect.TypeOf(c1b)
	var tc2b = reflect.TypeOf(c2b)

	var v = reflect.ValueOf(c)
	println(v.Type().ConvertibleTo(tc1a)) // true
	println(v.Type().ConvertibleTo(tc2a)) // true
	println(v.Type().ConvertibleTo(tc1b)) // true, but the above corresponding line compiles error
	println(v.Type().ConvertibleTo(tc2b)) // true, but the above corresponding line compiles error
}

@ianlancetaylor same problem for gccgo.

It looks, Go spec really doesn't cover the error conversion cases.
package main

import "reflect"

func main() {
	type C chan int
	type C1 chan<- int
	type C2 <-chan int
	var c C
	_ = chan<- int(c)   // ok
	_ = (<-chan int)(c) // ok
	//_ = C1(c)         // error:
	//_ = C2(c)         // error:
	var c1a chan<- int
	var c2a <-chan int
	var c1b C1
	var c2b C2
	//_ = C(c1b) // error
	//_ = C(c2b) // error

	var tc1a = reflect.TypeOf(c1a)
	var tc2a = reflect.TypeOf(c2a)
	var tc1b = reflect.TypeOf(c1b)
	var tc2b = reflect.TypeOf(c2b)

	var t = reflect.TypeOf(c)
	println(t.ConvertibleTo(tc1a)) // true
	println(t.ConvertibleTo(tc2a)) // true
	println(t.ConvertibleTo(tc1b)) // true, but the above corresponding line compiles error
	println(t.ConvertibleTo(tc2b)) // true, but the above corresponding line compiles error

	println(tc2b.ConvertibleTo(t)) // false, consistent with the corresponding error line
	println(tc2b.ConvertibleTo(t)) // false, consistent with the corresponding error line
}

I think the restrictions are unnecessary. After all, the restricted conversions can be achieved in indirect ways.
package main

func main() {
	type C chan int
	type C1 chan<- int
	type C2 <-chan int
	var c C
	//_ = C1(c)  // error:
	//_ = C2(c)  // error:
	_ = C1(chan<- int(c))   // ok
	_ = C2((<-chan int)(c)) // ok
}

I'm not sure I understand why the conversions C1(c) and C2(c) are reported as errors.  CC @griesemer

The conversions C1(c) and C2(c) are simply not allowed by the existing conversion rules (a c cannot be assigned to a C1 because they are both defined types which are different; and there's no other special rule about channel conversions). I think this just falls out from a straight-forward implementation of the existing rules.
The conversions via chan<- int and <-chan int work because there assignability permits it.
I don't know why reflect's ConvertibleTo doesn't follow the spec rules.
As is, there are no restrictions here; it's just that there are no special cases for channel conversions (maybe there should be; or maybe the rules can be simplified/streamlined for a more consistent experience).


📦  Release – Elm Land v0.18.0

Problem
While building real web applications with Elm Land, folks in our community Discord have shared many important questions:

How do I build stateful layouts like a navbar with its own search bar?
How do I create pages with "catch-all routes" like Github's file explorer ( /:owner/:repo/blob/:branch/* )
Can I use with TypeScript instead of JavaScript, for more reliable web components, flags, and ports?
How do I access environment variables in my app?
Is there an easy way to list all routes in my application, like I did with Ruby on Rails?

Solution
The Elm Land v0.18.0 release is centered around adding all the features that elm-spa.dev was missing. Once this is shipped, I'd like the next update to take a more thoughtful pass at error messages, and additional upgrade guides for folks with existing Elm or elm-spa projects.
This release adds a lot of new capabilities, but also aims to improve the quality of guides on https://elm.land
1⃣  Stateful layouts
In popular JS frameworks like Nuxt.js, users can reuse their UI across pages using a "layouts" folder. Just like pages, these are automatically wired up to the web application and available for use.
This release introduces the elm-land add layout <name> command, which creates a new file in the src/Layouts/ folder. Layouts behave just like pages, except their view function allows you to nest page content wherever you like.

[x] Layouts are stateful
[x] Layouts can be nested within one another
[x] The official guide has removed instances of the unsupported add layout:static command

[x] Removed from CLI and CLI help docs
[x] Removed from 02-pages-and-routes example

[ ] Added a new 07-layouts example and official guide

2⃣  Catch-all routes
In the "Hello, world!" blog post, we learned that Elm Land will be considered "production-ready" when we can build GitHub from scratch. That means being able to add all of the pages, not just the easy ones!
Other popular JS frameworks have support for "catch-all routes", which allow users to use a single page file to handle routes with an unknown depth. When does that come up in practice? Right here on GitHub!
When you create a repo, you're able to browse the files and folders you've pushed to GitHub at a URL like https://github.com/elm-land/elm-land/blob/main/README.md or https://github.com/elm-land/elm-land/blob/main/projects/cli/package.json.
With this release, "catch-all routes" make it possible to handle the logic for any URL path matching the pattern /:owner/:repo/blob/* in a single page. This is an essential feature because the amount of folders and files aren't known up front, they depend on user-generated content.

[x] Add support for "catch-all routes" using the ALL_.elm keyword
[ ] Add a "catch-all route" example to the 02-page-and-routes and guide

3⃣  Interop, NPM, & Environment Variables
Although it was never documented, users can still add a src/interop.js file to work with flags, ports, and web components in their Elm Land applications. This interop file also has access to environment variables and NPM packages so you can easily handle certain tasks with JavaScript.

[x] Users can define an allow-list for environment variables in elm-land.json file
[x] Add support for .env files
[x] Make them ignored by default by adding /.env to elm-land init command's .gitignore file
[ ] Add a new 09-javascript-interop example with an official guide

4⃣ TypeScript support
Many folks in the Elm community have seen the benefit of type systems, so they prefer to get compiler feedback even in their interop code. This latest feature allows you to use src/interop.ts instead, and specify an optional tsconfig.json file to make using TypeScript and Elm a breeze.

[x] Allow users to create a src/interop.ts file as their entrypoint
[ ] Add a 10-typescript-interop example with an official guide

5⃣  List all routes with elm-land routes
The Ruby community flourished in popularity because of the success of the Ruby on Rails project. Elm Land takes inspiration from Rails' focus on clear examples and helpful tooling. One of the rails commands that helps newcomers navigate a new project was the bin/rails routes command that printed out all routes for the application. @duncanmalashock pointed out that this would be a delightful addition to the Elm Land framework, so we've added it in!

[x] Add the elm-land routes command
[ ] Reference this command in the 02-page-and-routes guide

6⃣  Documentation for all existing features
Shipping features is great, but I didn't write down how to use them yet. One of my favorite quotes from @evancz is:

"It's not done until the docs are great!"

Code really is the easy part, and the important part is making sure all the core features that are currently available in Elm Land are clear, have example usage, and are easy for beginners to understand.

[ ] User authentication ( 05-user-auth )
[ ] Error reporting ( 11-error-reporting )
[ ] Designing components in Elm ( 06-components )
[ ] Interop with JavaScript ( Flags, Ports, and Web Components ) ( 09-javascript-interop )
[ ] Hash-based routing option ( 08-query-parameters )
[ ] Elm UI and more ( 12-elm-ui-and-more )
[ ] Custom 404 pages ( 13-custom-404-pages )
[ ] Assets and static files ( 14-assets-and-static-files )
[ ] Documenting the elm-land.json ( add a "Configuration" section under the "Guide"  section)

7⃣  Other bug fixes and UX enhancements

[x] Make the Shared module easier to use – Running elm-land customize shared should create three files, not just one ( Shared, Shared.Model, and Shared.Msg ). This enables the default Effect module to send shared messages out of the box.
[x] M1 support, thanks to @lydell/elm – Recently, Simon Lydell ( @lydell ) published an Elm NPM package that supports more OS platforms. This means Elm works by default for anyone with a new MacBook M1 / M2 ( Fixes #45 )
[ ] Bring in hash routing support – Matt Cheely opened a PR for adding a useHashBasedRouting setting for production environments (#50 )
[ ] Make the --help command print help stuff – An Elm Land Discord member pointed out that running elm-land init --help surprisingly created a new project named "--help" 😅 . That's should print help stuff instead! ( Original #report-a-bug post )

Notes
Breaking changes
This PR also comes with a few breaking changes for Elm Land v0.17.3 users:

Pages, Routes, and Layouts are now joined together with a single _, rather than two

This means that code like Route.Path.Settings__Account should be changed to Route.Path.Settings_Account

Static layouts are no longer supported, and will be removed from the guide ( this change also fixes issues with elm-review and other linters that report on unused code )

And some other non-breaking changes:

Four new files are generated to improve the readability of the Elm debugger output:

Main.Pages.Model, Main.Pages.Msg, Main.Layouts.Model, and Main.Layouts.Msg
This allows collision-free namespacing, so we don't need the long PageModel_X prefixes everywhere!
Elm debugger will reads PageSent Home_ ... instead of PageSent PageModelHome_ ...

Note that @lydell/elm is a temporary package and I intend to deprecate it once https://github.com/elm/compiler/pull/2287 has been merged and released. And credits to @supermario for doing the hard compilation parts.


Fix bug in ESSC.py causing example file to crash

Removed a slice operation and un-commented two lines that transposed the return values in the ESSC.getContours function to make plotting work.

Zach I still get the no dateList issue. See #29

@ssolson
Sorry, I posted the fix in the wrong bug thread.  This fixes the fetchFromWeb bug.  I will look into the h5 bug right now

closes #31


Add FAQ.md

We can add some common queries and their solutions here. Be it for a developer or a user.
A very rudimentary example could be adding instructions for squashing commits!

I'm taking up this issue.


Detect if a new version is available

@zhangzhongnan928  recently focused our marketing and pr activities in China - because our international girl Ariel are just reporting to work as now. For the China market the Android app is installed by user downloading the apk. We need this functionality urgently as we are accumulating apk file based users.

Everytime the app launches, it checks if it is installed through Google Play Store.
If it is not installed from Google Play Store, access http://awallet.io/apk - note that for now the website is slow enough to be considered blocked in China so we might change it - and check if a new version is available.
Prompt the user of the new version (notification?) with direct download link.

(P. S. be designful - e.g. Prompt "a major update is available" as well as "a bugfix release is available" etc)
If the first step is not possible (check if the app itself is installed through Google Play Store), then the ideal solution is to configure Gradle to produce different apk files for Google and for Chinese users - I studied this before, so tag me if you want to go with that.

Seems to be working correctly now. Will close.


Error while getting token

I've created an UAA server and a client, as shown in https://www.baeldung.com/cloud-foundry-uaa
Now, I'm trying to login with my created user, after choosing rights and clicking "Authorize" I get this error: [invalid_id_token] An error occurred while attempting to decode the Jwt: Signed JWT rejected: Another algorithm expected, or no matching key(s) found
uaa.yml is attached below

uaa.txt

Hi @ObiWanKaplan,
That's interesting.
Actually I wasn't able to run the full application due to some different problem (java.lang.IllegalArgumentException: Could not resolve placeholder 'encryption.active_key_label' in value "${encryption.active_key_label}")
Anyway, I see one potential problem in the uaa file you've attached. Below part is not properly formatted:
   jwt:   token:     signing-key:
The jwt indention is wrong. Here's how it should look like:
s s s

Hi @ObiWanKaplan,
Please let us know if the problem really lied in the wrong formatting.

Thanks, @kwoyke
Actually, token is creating, but it can't be decoded, so I can't see it in browser - this problem I didn't solve. But I've created another app as a client and successfuly fetched this token using ScribeJava library.


Improve retry policy for operations in task processing

What changed?
Change retry policy in task processing from 30s expiration interval to a max attempt of 3.

Why?
Retry 30s will block other tasks from being processed

How did you test it?
Unit test

Potential risks
N/A

Coverage increased (+0.003%) to 60.117% when pulling d40b096c7c3ae67aed87b7b6bf7ed3fe0e6cb696 on yycptt:improve-task-retry into 94e61d818937c61df61742a54d3a7b52329ea725 on uber:master.


az config is no longer a valid command

I'm using 2.2.0 and az config is not recognized.
az: 'config' is not in the 'az' command group. See 'az --help'. If the command is from an extension, please make sure the corresponding extension is installed. To learn more about extensions, please visit https://docs.microsoft.com/en-us/cli/azure/azure-cli-extensions-overview

The most similar choice to 'config' is:
        configure

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

ID: ba27fa77-7839-ce9c-862a-96f72b01ee87
Version Independent ID: e3f2fc59-4dd6-5016-967e-657319f749b6
Content: Azure CLI Extensions
Content Source: docs-ref-conceptual/azure-cli-extensions-overview.md
Service: azure-cli
GitHub Login: @dbradish-microsoft
Microsoft Alias: dbradish

:-P
I was using an older version.

@bennage Happy to hear that you were able to resolve this :)  If you have any other questions about the documentation, just open a new issue and we would be happy to help you.


Document was not updated

Page
We had submitted a document pr in https://github.com/Alluxio/alluxio/pull/12693 ，but website is not updated.
Summary
We had submitted a document pr in #12693 ，but website is not updated. As shown below：

On the other hand, Chinese website cannot show more message in Cloud Native .

Do I need to do something to trigger it ?

@Xenorith  can you help and let us know where to update?

@Xenorith  can you help and let us know where to update?

the default landing page for documentation uses the version of the most recently released version, which is v2.4 (stable). the PR with the documentation changes will not show up for this version because it was merged into the master branch.
the documentation displayed under the master (edge) version gets updated when a new edge release occurs. since the last one was 2.4.1-1, see release notes here, the changes for this PR are not reflected anywhere in docs.alluxio.io at this point.
in order for this change to appear, we would either:

cherry pick this PR to branch-2.4, assuming the documentation is relevant for version 2.4, which would result in the documentation showing up where it was expected as described in the issue
create a new edge release, 2.4.1-2, which would result in the documentation showing up under the master (edge) version

@apc999 let me know if you need more clarity regarding this situation

the default landing page for documentation uses the version of the most recently released version, which is v2.4 (stable). the PR with the documentation changes will not show up for this version because it was merged into the master branch.
the documentation displayed under the master (edge) version gets updated when a new edge release occurs. since the last one was 2.4.1-1, see release notes here, the changes for this PR are not reflected anywhere in docs.alluxio.io at this point.
in order for this change to appear, we would either:

cherry pick this PR to branch-2.4, assuming the documentation is relevant for version 2.4, which would result in the documentation showing up where it was expected as described in the issue
create a new edge release, 2.4.1-2, which would result in the documentation showing up under the master (edge) version

@apc999 let me know if you need more clarity regarding this situation

@Xenorith  thanks for the clarification. I have created https://github.com/Alluxio/alluxio/pull/12738 to cherrypick the PR to 2.4 branch

@Xenorith  thanks for the clarification. I have created https://github.com/Alluxio/alluxio/pull/12738 to cherrypick the PR to 2.4 branch

#12738  merged. close this issue. please reopen this issue if it still does not work , @wheatxiong

#12738  merged. close this issue. please reopen this issue if it still does not work , @wheatxiong

Updated now: https://docs.alluxio.io/os/user/stable/en/cloud/Tencent-Cloud-EMR.html

Updated now: https://docs.alluxio.io/os/user/stable/en/cloud/Tencent-Cloud-EMR.html

it is cool! thanks a lot for help!

it is cool! thanks a lot for help!


Adjust python version inequality string for Poetry

Fixes #181

Tested this in my local environment with a newer poetry, fixes the described bug. Thanks for the fix!


Apollo4 adc driver

Update Ambiq ADC Driver to add apollo4 plus
Signed-off-by: Richard Wheatley<EMAIL_ADDRESS>

Converted to draft until https://github.com/zephyrproject-rtos/zephyr/pull/73763 is finished.
Then I can rebase and add my changes here.

@decsny please see my comments on https://github.com/zephyrproject-rtos/zephyr/pull/73763 addressing your concerns there.

Updated due to clang-format request from Zephyr-bot.

Added ASYNC for apollo3/4 and PM in for apollo4 plus

Can anyone tell me why the twister talent failed with the same code it passed with for the last week?

Can anyone tell me why the twister talent failed with the same code it passed with for the last week?

See the errors:
/__w/zephyr/zephyr/drivers/serial/uart_pl011_ambiq.h:74:12: error: 'uart_ambiq_pm_action' defined but not used [-Werror=unused-function]
74 | static int uart_ambiq_pm_action(const struct device *dev, enum pm_device_action action)
|            ^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
It seems the uart_ambiq_pm_action() is only used by Apollo3, which includes in https://github.com/zephyrproject-rtos/zephyr/pull/77110

Can anyone tell me why the twister talent failed with the same code it passed with for the last week?

See the errors:
/__w/zephyr/zephyr/drivers/serial/uart_pl011_ambiq.h:74:12: error: 'uart_ambiq_pm_action' defined but not used [-Werror=unused-function]
74 | static int uart_ambiq_pm_action(const struct device *dev, enum pm_device_action action)
  |            ^~~~~~~~~~~~~~~~~~~~

cc1: all warnings being treated as errors
It seems the uart_ambiq_pm_action() is only used by Apollo3, which includes in https://github.com/zephyrproject-rtos/zephyr/pull/77110

So, only the apollo3 UART PM was addresssed in your update?
I will have to address that first.

Can anyone tell me why the twister talent failed with the same code it passed with for the last week?

See the errors:
/__w/zephyr/zephyr/drivers/serial/uart_pl011_ambiq.h:74:12: error: 'uart_ambiq_pm_action' defined but not used [-Werror=unused-function] 74 | static int uart_ambiq_pm_action(const struct device *dev, enum pm_device_action action) | ^~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors
It seems the uart_ambiq_pm_action() is only used by Apollo3, which includes in #77110

@decsny Would I be able to fix this issue in this PR or will I need to create another?

This is now blocked by: https://github.com/zephyrproject-rtos/zephyr/pull/77477
The fix for the UART error created when apollo3 UART PM update was merged.


Traditional chinese translation

Will use simplified chinese as a base for quick iteration. Can refine later.

I cant' assign myself lol Could @dpaulino please assign this issue to me? Thanks!


Wait for container readiness in api tests

Currently, when we launch tests from scratch, we can get unexpected failures because some service has not finished loading. For example, OPA init with rule parsing can take several seconds, and if we are running some tests using OPA during initialization, we can get errors like this:
File "/home/django/cvat/apps/iam/permissions.py", line 1533, in check_permission
     result = perm.check_access()
File "/home/django/cvat/apps/iam/permissions.py", line 117, in check_access
    output = response.json()['result']
KeyError: 'result'

CVAT 03dd995bc304277cc9bfba30d5158d364360100a

Fixed with #5483


ntr: decreased growth of microtubules to cell end

I'm not really sure how to name this.
The microtubules have normal rates of polymerization, but fewer reach the cell ends
PMID:12894167

decreased spatial extent of cytoplasmic microtubule polymerization FYPO:0005463
with the other wording as an exact synonym
someday maybe PATO will get round to adding something for "spatial extent" so these terms can have xps ...

I don't see it under
FYPO:0004315
Ontology	fission_yeast_phenotype
Term name
abnormal microtubule cytoskeleton during vegetative growth
Should I?

FYPO:0004315 is a structure phenotype term, whereas I've defined FYPO:0005463 as a process phenotype. You should find it in a few steps if you start from abnormal microtubule cytoskeleton organization.

ok


reward video doesn't displayed

From chrome-remote-debug console:
RESTART PREPARE: admob.rewardvideo.events.LOAD_FAIL
Event {isTrusted: false, error: 3, reason: "No fill", adType: "rewardvideo", type: "admob.rewardvideo.events.LOAD_FAIL", …}
adType
:
"rewardvideo"
bubbles
:
false
cancelBubble
:
false
cancelable
:
false
composed
:
false
currentTarget
:
null
defaultPrevented
:
false
error
:
3
eventPhase
:
0
isTrusted
:
false
path
:
(2) [document, Window]
reason
:
"No fill"
returnValue
:
true
srcElement
:
document
target
:
document
timeStamp
:
298276.00000000163
type
:
"admob.rewardvideo.events.LOAD_FAIL"

What can cause this error?

I have same problem ! Do you know how to fix it ?

Thanks to @ivanov84 for finding solution at #209.

Open logcat and check - may be there is log: "No fill" - it means that right know in your country there are no advert to show from admob. It's offen happen, so I use Unity mediation to fullfill advert rate.


polyaxon command throws ImportError

Hi
After updating polyaxon-cli to 0.4.2 (from 0.4.1) it throws Import error.
Traceback (most recent call last):
  File "/home/mykyta/.local/bin/polyaxon", line 7, in <module>
    from polyaxon_cli.main import cli
  File "/home/mykyta/.local/lib/python3.6/site-packages/polyaxon_cli/main.py", line 9, in <module>
    from polyaxon_cli.cli.check import check
  File "/home/mykyta/.local/lib/python3.6/site-packages/polyaxon_cli/cli/check.py", line 14, in <module>
    from polyaxon_cli.schemas.polyaxonfile import PolyaxonFile
  File "/home/mykyta/.local/lib/python3.6/site-packages/polyaxon_cli/schemas/polyaxonfile.py", line 4, in <module>
    from polyaxon_schemas.polyaxonfile import PolyaxonFile  # noqa
ImportError: cannot import name 'PolyaxonFile'

I use Ubuntu 18.04 and Python 3.6.7.

Someone else had similar issue when upgrading, not sure why pip has an strage behaviour sometime, I would suggest to make sure that your polyaxon requirements look similar to:
pip freeze | grep polyaxon :
polyaxon-cli==0.4.2
polyaxon-client==0.4.2
polyaxon-deploy==0.4.2
polyaxon-schemas==0.4.2

Thanks, @mouradmourafiq.
I had all the packages you've mentioned on 0.4.2, but it seems pip keeps part of the older packages after the update, so I had to go over each package and uninstall it multiple times.
Reinstalled clean version of cli works.


'com.firebase.installations', reason: 'FirebaseInstallations will not work correctly with current version of Firebase Instance ID

Source code was working perfectly, Suddently below issue comes for some of collaborates of project in XCode 11.2.1
'com.firebase.installations', reason: 'FirebaseInstallations will not work correctly with current version of Firebase Instance ID. Please update your Firebase Instance ID version.'

This looks like a duplicate of #5213.  See the discussion there.

Steps to fix:
1- pod deintegrate
2- pod cache clean --all
3- in Podfile put pod 'Firebase' without specifying any version, and for you to install the latest 6.22.0
4- pod install
5- When compiling the application, a FirebaseInstanceID error will appear
6- Open Podfile and specify pod 'FirebaseInstallations', '1.1.0'
7- pod install
8- re compile and run the project
Hope it helps

Going to close in favor of #5213. Please continue conversation there.


Link to next-nightly on the homepage, not just curren nightly

We need people testing next! https://iojs.org/download/next-nightly/

Wouldn't the next-nightly build version number come after that of the current release? Or does it say at the current release number? Anyway, :+1: for adding it to the homepage.

It says the current release number since the release number for next is not yet fully baked, although there is talk in https://github.com/nodejs/io.js/issues/1854#issuecomment-108647530 of updating it.

Can someone come up with something short explaining the difference between nightly builds and next nightly builds? Basically something to replace the line "Nightly releases are available for testing." on the website.

I'm :+1: on this - this was discussed in the io.js repo extensively. Sounds like a great idea.

Nightly release candidates for the next major version of io.js are also available---we need your help testing them!
That's my attempt.

Ok, I'll add this to the home page:

Nightly releases are available for testing, also nightlies for the next major version of io.js.

Pinging @nodejs/iojs-ar @nodejs/iojs-bg @nodejs/iojs-bn @nodejs/iojs-cn @nodejs/iojs-cs @nodejs/iojs-da @nodejs/iojs-de @nodejs/iojs-el @nodejs/iojs-es @nodejs/iojs-fa @nodejs/iojs-fi @nodejs/iojs-fr @nodejs/iojs-he @nodejs/iojs-hi @nodejs/iojs-hu @nodejs/iojs-id @nodejs/iojs-it @nodejs/iojs-ja @nodejs/iojs-ka @nodejs/iojs-ko @nodejs/iojs-mk @nodejs/iojs-ms @nodejs/iojs-nl @nodejs/iojs-no @nodejs/iojs-pl @nodejs/iojs-pt @nodejs/iojs-ro @nodejs/iojs-ru @nodejs/iojs-sv @nodejs/iojs-sw @nodejs/iojs-ta @nodejs/iojs-tr @nodejs/iojs-tw @nodejs/iojs-uk @nodejs/iojs-vi for content update, see commit 8fdce5a.
(Phew, we have to come up with something better than this)


Hi there i got a few questions ? [Not related with this project]

Hi there, are you the same person of this site -> http://www.pbernert.com/html/dev.htm
i mean the same developer ?
if the answer is yes, i have a request, can you publish and share the source code of this files :
http://www.pbernert.com/gpupeteogl209.zip [ Mainly this, please. Some years ago i had write this request to the email is show on the site<EMAIL_ADDRESS>i publish too on the messageboard, but i never see any answer. ]
http://www.pbernert.com/petegpucfg_V2-9_V1-77_V1-18.tar.gz
Well i know the OpenGL2 Configurator Plugin already have the source code :
http://www.pbernert.com/gpu_xgl2_cfg_2_08.tar.gz

No, I am not this person.

Closed

Thanks for the reply


Deprecate

@mikelmaron - can we deprecate this repository? I don't have admin. If you can pass it on, I can issue a notice. Thank you!
@batpad

wow, we've been at this for a while
@geohacker you're now an admin. feel free to blow this away😢

thank you!


raw.GNOI -> binding.GNOIClients

Pull Request Functional Test Report for #2134 / 98279d48c26a6119f41fa44008fc17707a6fa5d3
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

TE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during FailoverHealth-1.1: Generic Health CheckgNOI-2.1: Packet-based Link Qualification
f5ac27ed
Log

Cisco 8000E

TE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during FailoverHealth-1.1: Generic Health CheckgNOI-2.1: Packet-based Link Qualification
74107dc6
Log

Cisco XRd

TE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during FailoverHealth-1.1: Generic Health CheckgNOI-2.1: Packet-based Link Qualification
83fc8125
Log

Juniper cPTX

TE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during FailoverHealth-1.1: Generic Health CheckgNOI-2.1: Packet-based Link Qualification
c22b4d05
Log

Nokia SR Linux

TE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during FailoverHealth-1.1: Generic Health CheckgNOI-2.1: Packet-based Link Qualification
b325785f
Log

Openconfig Lemming

TE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during FailoverHealth-1.1: Generic Health CheckgNOI-2.1: Packet-based Link Qualification
053745e4
Log

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

TE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during FailoverHealth-1.1: Generic Health CheckgNOI-2.1: Packet-based Link Qualification

Cisco 8808

TE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during FailoverHealth-1.1: Generic Health CheckgNOI-2.1: Packet-based Link Qualification

Juniper PTX10008

TE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during FailoverHealth-1.1: Generic Health CheckgNOI-2.1: Packet-based Link Qualification

Nokia 7250 IXR-10e

TE-13.1: gRIBI route ADD during FailoverTE-13.2: gRIBI route DELETE during FailoverHealth-1.1: Generic Health CheckgNOI-2.1: Packet-based Link Qualification

Help


Fixed Typo start-zowe-zos.md

Describe your pull request here:
https://www.ibm.com/docs/en/zos/3.1.0?topic=sc-syntax-30
fixed typo
List the file(s) included in this PR:
start-zowe-zos.md
After creating the PR, follow the instructions in the comments.

/labels review area release

/labels doc docs V2

/labels release: V2

/labels V3


Add roadmap

add roadmap and goals.
fix typo of the " evaluation" dir name.

I'd suggest using checkboxes, so we can track our progress over time. Could probably also just use ~strike~ to cross off completed items

Yeah for the readme I'll make a simplest one. How about just using Project in GitHub? It can have things like checkboxes

This PR seems to have gotten a bit old. Should we consider closing it or revise it to match the current advance of the library?

Agreed. Let's take another pass at it


Optimize pnnquant2.js

Remove dead code
Inline create_bin
Remove unnecessary clamp
Replace existsInPalette with built-in Array.indexOf
Fork the "fill palette" loop to move the hasAlpha conditional outside of the hot path

Hey thanks!
I don't think indexOf will work as we are dealing with array equality:
[ [2, 255, 5] ].indexOf([ 2, 255, 5 ])
// -> -1

Second thing, I don't think "fill palette" is actually a hot code path (typically we are dealing with 256 colors or less) so I'm not sure it's worth optimizing at the expense of legibility/simplicity.
Did you manage to benchmark the others in Chrome? I think I tested inlining create_bin() and IIRC it performs about the same or better, but I could be mistaken.

I ended up cherry-picking a couple of these patches into the latest build, you could resolve conflicts and we could see if there's anything else here that could be optimized. I also didn't see much of a change in benchmarks when inlining the create_bin function.

I need to verify the code, 'coz I use Github's UI to resolve the conflict :p


Specification for creating a new face filter

Hi Xavier,
I want to know what is the process of creating a new face filter. For eg, a sample exists of a tiger face filter, suppose I want to do a similar one but with a different animal like a lion or zebra, how would I approach this? Thanks.

Hi Dinesh,
We have done tutorials and linked them from the readme here: https://github.com/jeeliz/jeelizFaceFilter#articles-and-tutorials
Then if you require 3D training, there are many tutorials about how to use THREE.js.
You need some knowledge in 3D programming before being comfortable with creating face filter and it would be better to start with only 3D programming.
Best,
Xavier

Thanks mate I'll check it out.

Hi, I want to use my geometry. Where can I find the OpenGL Shading Language tutorial on enlarging and shifting eyes or something similar?


Add ESLint to lint JS files

Currently uses eslint-config-airbnb with indents of 4 and double quotes.

For some reason Travis is using an ancient version of node - fixing now.

Yea that's super old

While you're at it, can you also add Prettier ?

@rhengles As far as I can tell, running Prettier inside Travis won't have any effect on the code in the repo, nor will it change the CI results. It also conflicts with eslint-config-airbnb.

I'm working on making all of the existing code pass ESLint - it will be in a separate PR. For now, this can be merged even though it's failing.

All those linting errors need to be fixed or ignored before merging into master - maybe make this WIP unless you think you can fix them in 3 hrs?

:-1: We shouldn't push a failing build to master - fix the errors first.

@andrewda @PlasmaPower I've gone through the errors much quicker than I expected, so I'll push the changes to this PR instead.

@md678685 I think you missed the path to the configuration file in the eslint command. It's showing a usage message.

@andrewda Oops, I'll take a look now.

Conflicts :(

@PlasmaPower Merged again, hopefully should be fine now.

Looks like the merge added in some eslint problems.

...or not. I'll fix it now 😕

👍 Oops, I think I downvoted it with a :confused: emoji


[Errno 2] No such file or directory:

Hello,
I'm trying to get it to work but whenever I send a voice message to the bot it throws this message in console:
2024-04-08 12:57:51,511 - root - INFO - Starting bot
2024-04-08 12:57:51,678 - telegram.ext.Application - INFO - Application started
2024-04-08 12:58:20,229 - root - INFO - Started processing for cherokeee
2024-04-08 12:58:20,772 - root - ERROR - 0.5431523323059082 cherokeee : 30279797 : FAIL UNKNOWN : Failed processing message
2024-04-08 12:58:20,772 - root - ERROR - [Errno 2] No such file or directory: '/tmp/b207fd4d1e014b6fb78d3dff1d210d96.wav.txt'

This on telegram:

The compose config on portainer is the following, tried to recreate image but nothing changes

The wav.txt file is meant to be the speech to text output from whisper.cpp.
It seems like it failed running the convert.sh script.
Do you know what system are you running on ? X64 (Intel / Amd machine), Aarch64 (Mac Mx), ArmV6/7 (PI) ?

Ok, let me know if you need some testing 😉

This might be a 🤦 moment, can you try
ghcr.io/tonym128/shhh-bot:v1.0.0
I'm busy learning the automated docker builds and push, I don't think I'm updating the master when I push a new release, it builds it, but doesn't push it.
ghcr.io/tonym128/shhh-bot:v1.0.1 is up for testing, it allows you to not set the MY_CHAT_ID and optionally has a ALLOWED_CHAT_ID to define a list of allowed users and ignore everyone else.

Tried 1.0.0, 1.0.1 and 1.0.3 but error is always the same sadly.

it allows you to not set the SHHH_MY_CHAT_ID

I removed SHHH_MY_CHAT_ID  variable and the bot replied to me in his own chat 👌

Here my compose script

services:
  shhhbot:
    container_name: shhhbot
    hostname: shhhbot
    restart: unless-stopped
    image: ghcr.io/tonym128/shhh-bot-small
    environment:
      - SHHH_API_KEY=0000000000:xxxxxxxxxxxxx

That not my API key :)
Two things I can think to check are

Check to see you have free disk space.
Try mounting a /tmp volume into the container for the file saving

Same story :D

Try mounting a /tmp volume into the container for the file saving
Just tried, didn't work. "
2024-04-09 22:20:45,045 - root - ERROR - [Errno 2] No such file or directory: '/tmp/ec49a5bc3130459ca1c793f772e3ad33.wav.txt'
"

How are you recording the audio for Telegram ?
I use Firefox desktop or forward recordings from WhatsApp.
I recall having issues with certain audio files in the past. I'll try add some ffmpeg logging so we can dig a bit deeper, would like to solve this issue for you.

Tried this compose:

on a debian VM and it works perfectly 🤔

Tried this compose:

on a debian VM and it works perfectly 🤔

That's great to hear you have it working. I'm working on a pr to expose error messages from ffmpeg and whisper if they occur, so we'll have more information to look at if it recurs in the future.

Tried this compose:

on a debian VM and it works perfectly 🤔

That's great to hear you have it working. I'm working on a pr to expose error messages from ffmpeg and whisper if they occur, so we'll have more information to look at if it recurs in the future.

Yay perfect, I've tried to debug the convert script but I'm too noob to understand how. That would help!

Working perfectly on debian, but I get this error in alpine:
Done! Model 'medium' saved in '/models/ggml-medium.bin'
You can now use it like this:
  $ ./main -m /models/ggml-medium.bin -f samples/jfk.wav
Link model to whisper one
Complete
2024-04-12 13:22:56,830 - root - INFO - Starting bot
2024-04-12 13:22:56,998 - telegram.ext.Application - INFO - Application started
2024-04-12 13:31:35,089 - root - INFO - Started processing for cherokeee
2024-04-12 13:31:35,458 - telegram.ext.Application - ERROR - No error handlers are registered, logging exception.
Traceback (most recent call last):
  File "/usr/local/src/shhh.py", line 145, in handle_message
    result = open(filename+".wav.txt", "r")
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/aeb530ddaf1a4142a5640b30f04481bd.wav.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/telegram/ext/_application.py", line 1264, in process_update
    await coroutine
  File "/usr/local/lib/python3.9/site-packages/telegram/ext/_handlers/basehandler.py", line 157, in handle_update
    return await self.callback(update, context)
  File "/usr/local/src/shhh.py", line 167, in handle_message
    with open("/tmp/convert.log", "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/convert.log'

same compose i'm using on debian:

Hi! First thing first thanks for your work, this is an awesome tool if one has some metal to spare and doesn't want to give 23 buck per year to TG.
I hate to necro a closed topic, but I have encountered this error too and it I think it may be related to this issue:
https://github.com/ggerganov/whisper.cpp/issues/83
It seems that the CPU lacks specific instructions invoked by Whisper (which I guess may happen if the CPU is old enough - in my case its almost 12 years old). Probably it's a non-AVX CPU.
A possible solution (albeit to test yet) to enable retrocompatibility could be to allow local compilation of the model (via .env variables) and to run Cmake with the -DWHISPER_NO_SIMD=ON parameter.


Warning on some comparisons

Not sure why this is, but I'm getting a warning message from the heart of Pandas here:
import logging
import sys
import pandas as pd
import numpy as np
import datacompy

logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)

expected = pd.DataFrame([{'acct': 1, 'c': 2}, {'acct': 3, 'c': 4}, {'acct': np.nan}])
actual = expected.copy()

compare = datacompy.Compare(actual, expected, 'acct')

DEBUG:datacompy.core:Checking equality
INFO:datacompy.core:df1 Pandas.DataFrame.equals df2
INFO:datacompy.core:Number of columns in common: 2
DEBUG:datacompy.core:Checking column overlap
INFO:datacompy.core:Number of columns in df1 and not in df2: 0
INFO:datacompy.core:Number of columns in df2 and not in df1: 0
DEBUG:datacompy.core:Merging dataframes
DEBUG:datacompy.core:Outer joining
DEBUG:datacompy.core:Selecting df1 unique rows
DEBUG:datacompy.core:Selecting df2 unique rows
INFO:datacompy.core:Number of rows in df1 and not in df2: 0
INFO:datacompy.core:Number of rows in df2 and not in df1: 0
DEBUG:datacompy.core:Selecting intersecting rows
INFO:datacompy.core:Number of rows in df1 and df2 (not necessarily equal): 3
DEBUG:datacompy.core:Comparing intersection
INFO:datacompy.core:acct: 3 / 3 (100.00%) match
/Users/myname/miniconda3/envs/t2/lib/python3.6/site-packages/pandas/core/generic.py:6515: RuntimeWarning: invalid value encountered in absolute
  return np.abs(self)
INFO:datacompy.core:c: 3 / 3 (100.00%) match
INFO:datacompy.core:df1 matches df2

It doesn't seem to happen if a) I only have two rows (take out the second row), or b) if I step through the code myself (?), or c) if I have four rows UGH
Having trouble isolating the issue, so 🤷♂

Update - it could be a version thing? Numpy 1.12.1/Pandas 0.22.0 gives the warning, Numpy 1.14.0/Pandas 0.22.0 doesn't?

@theianrobertson This is really old. Ok to close it. Not sure if anything came out of it. Feel free to reopen it if you feel otherwise.


New package: VeeCAD.VeeCAD version 2.45.0

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Resolves #62166

Microsoft Reviewers: Open in CodeFlow

Verify:


IBM: added partners package langchain_ibm, added llm

Description: Added langchain_ibm as an langchain partners package of IBM watsonx.ai LLM provider (WatsonxLLM)
Dependencies: ibm-watsonx-ai,
Tag maintainer: :

Please make sure your PR is passing linting and testing before submitting. Run make format, make lint and make test to check this locally. ✅

@efriis Could you please review my PR to introduce new partner packages?

@efriis @eyurtsev @baskaryan @hwchase17 Could you please review my PR to introduce new partner packages?

Hi @hwchase17, Could we find out what is the reason for closing PR? Thanks in advanced

not intentional, we can't reopen at the moment but will do so as soon as we can :/ See #16796

@efriis Suggested changes have been added. Could you take a look again on my PR? Thanks in advance.


Timezones are not handled correctly

Say we request the sunset time for a location in PST (UTC-8) on December 13th of this year. The following coordinates are for Portland, OR:
>> SunTimes.calculate(:set, Date.parse('2011-12-13'), 45.52, -122.681944)
=> Tue Dec 13 00:27:23 UTC 2011

Doing the time conversion for this, 12/13/2011 00:27:23 UTC becomes 12/12/2011 16:27:23 PST
So instead of receiving the correct sunset time for the correct date (December 13th), we receive the correct sunset time for the incorrect date (December 12th).

Commit 830cb8cc0913fe5d86ac97dfccbfc8542e542793 is a temporary fix for this issue.
Previously, the returned values were within the GMT day indicated by the date value passed in.
Now, if the date parameter has a time zone (i.e. has an offset or gmt_offset), the returned time will be within the confines of the day for that time zone.
The whole issue of time zones needs to be treated better, probably via an API change.
I'll open another ticket for that change, and close this one.


OCC-108: Replace en-EU culture with special EUR handling

OCC-108

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: DAud-IcI sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Access tokens are now refreshed and Remember Me tokens implemented

Features Added

Each time a request is made to the auth endpoint for verification of the token, if the token is valid the server renews the expiry time of the token by sending in a new token through the set-cookie header. So session is continuously extended unless there is no activity for 20 min.
Remember Me token is implemented which allows a user to be remembered for 2 days and if access token has expired then the remember-me token can be used to get an access token, which will authorize the user.
However on logout both the remember-me token and access token are deleted.
Code repetition was eliminated, by making use of exportable functions in auth.js
Eliminate hard-coding of expiry times by including a config variable in keys.js

Rest of the work is fantastic, I really liked the idea of the remember me option. Just do those changes above and it will be ready for merge. 😄


Pull request from fork

Finally finished the course!

Hey @Rileydk—congrats on submitting a PR at the end of the git course! I hope that you enjoyed the course and that you learnt a lot in doing it.
If you weren't already using git for your code, hopefully this has inspired you to do so. I hope that you enjoy the "Mastering Git" video course as well—you'll soon be able to get git to bend to your will :)
You can now wear this #GitWarrior badge with pride—and Tweet your historic victory!

sam


updating state with x => x changes output

Description
I'm trying to figure out a way to implement a show rule as described here https://github.com/typst/typst/discussions/2205. (Let me now if there is a better way to stylize parens while keeping auto-sizing)
While doing so I discovered this:
#let get_color(i) = (red, green, blue).at(calc.rem(i, 3)) // or whatever you want

#show math.equation: it => {
    let depth = state("depth", 0)
    let size = state("size", 12em)
    style(styles => size.update(measure(it, styles)))
    let magic = state("keyword", true) // any value works

    show "(": it => {
        locate(loc => {
            // magic.update(x => x) // uncommented somehow fixes spacing

            text(get_color(depth.at(loc)), size: size.at(loc).at("height"), it)
        })
            depth.update(s => s + 1)
    }
    show ")": it => {
        depth.update(s => s - 1)
        locate(loc => text(get_color(depth.at(loc)), size: size.at(loc).at("height"), it))
    }
    it
}

$ (((((((((((3/3/3/3/333333))))))))))) $

$() (()) ((())) (((()))) (((((integral_0 )))))$

$() (()) ((())) (((()))) (((((integral_ )))))$

$() (()) ((())) (((()))) (((((integral_0 3/3/3/3)))))$

$() (()) ((())) (((()))) (((((integral_ )3/3/3/3))))$

In the above code if you uncomment the magic.update(x => x):

The spacing between parenthesis appears more correct.
It fixes the parenthesis around the integral that is cut into two pieces
Fixes the parenthesis that is incorrectly smaller than it should be to the left of the integral_(.
It doesn't matter what magic's state keyword or value is or what the update function/value is (e.g. x => x or false).

commented out magic( x=> x)
vs

uncommented magic( x=> x)

But it seems like the line shouldn't do anything.
Both when commented and uncommented the parenthesis don't elongate like the default math styling when using a very tall math equation such as $(((((((3/3/3/3/3/3/3)))))))$
This affects both display and inline math. Both Linux and Windows binaries. Version 0.8.0
Reproduction URL
No response
Operating system
Windows, Linux
Typst version

[X] I am using the latest version of Typst

It appears that a zero-width space [] content block or quote "" also works instead of `magic(x => x)

wrapping the locate call in both ( and ) show rules with pad with default 0pt values of also changes output.

I can reproduce this with 0.11.1 in the web app, but not with 0.12.0 Testing, so it seems to be fixed.


Latest bumped version not building in MakeCode

We've gotten a report that this extension isn't building:
https://forum.makecode.com/t/problem-with-stem-bit-extension/16456/2
and here's the build log:
https://makecode.com/compile/1c779bb45058c3b3b0a6c7a39ffafe4f8ec3285bb7291b22c297c1af6643789b.log
This is a bug in pxt, but there is an easy workaround here:
https://github.com/microsoft/pxt-microbit/issues/4812#issuecomment-1227609917

I am facing the same issue, although new to this codebase. I read the original issue stating bug with typedef. But I am unable to understand what needs to be fixed for it to work. I don't see any typedef's in this extension codebase were space needs to be added. Could you kindly point me to the file/line? Thanks for taking the time to at least tag the issue.


Navigating to Network Policies via Tabs goes to Port Forwards

Steps to reproduce the bug:

go to network, collapse sidebar to get tabs

click on "Network Policies", notice page not found error and /portforwards URL

Environment Web version
Are you able to fix this issue? maybe unless someone else wants to take a look at this

might just be a routing logic error, can take a look


vmq-admin set leads to RPC failed

Environment

VerneMQ Version:
<IP_ADDRESS>
OS:
macOS Monterey Docker Engine 20.10.12
Erlang/OTP version:
ARG VERNEMQ_VERSION="<IP_ADDRESS>"
FROM erlang:23.0 as BUILD
VerneMQ configuration (vernemq.conf) or the changes from the default
- DOCKER_VERNEMQ_PLUGINS.vmq_acl=off
- DOCKER_VERNEMQ_PLUGINS.vmq_webhooks=on
- DOCKER_VERNEMQ_VMQ_WEBHOOKS.auth_register.hook=auth_on_register
- DOCKER_VERNEMQ_VMQ_WEBHOOKS.auth_register.endpoint=http://host.docker.internal:8090/
- DOCKER_VERNEMQ_VMQ_WEBHOOKS.auth_subscribe.hook=auth_on_subscribe
- DOCKER_VERNEMQ_VMQ_WEBHOOKS.auth_subscribe.endpoint=http://host.docker.internal:8090/
- DOCKER_VERNEMQ_VMQ_WEBHOOKS.auth_publish.hook=auth_on_publish
- DOCKER_VERNEMQ_VMQ_WEBHOOKS.auth_publish.endpoint=http://host.docker.internal:8090/
Cluster size/standalone:
Standalone

Expected behaviour
Config set for single node
Actual behaviour

vernemq@35602f04f6a3:/$ vmq-admin set persistent_client_expiration=1h
RPC to<EMAIL_ADDRESS>failed: {'EXIT',
                                     {badarg,
                                      [{io,format,
                                        [<0.65.0>,"~ts",
                                         [[["persistent_client_expiration",32,
                                            115,101,116,32,116,111,32,
                                            "\"1h\""],
                                           10,
                                           [ok,ok],
                                           10]]],
                                        []},
                                       {clique,print,3,
                                        [{file,
                                          "/build/vernemq/_build/default/lib/clique/src/clique.erl"},
                                         {line,120}]},
                                       {clique,print,2,
                                        [{file,
                                          "/build/vernemq/_build/default/lib/clique/src/clique.erl"},
                                         {line,95}]},
                                       {vmq_server_cli,command,1,[]}]}}

Can confirm we broke the function of dynamically setting values (vmq-admin set). This is also in the official binary package.
Will see how to best fix this, it's a clique thing.

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

@bbergshaven note that the actual values will still get set. It is only the printing of output to the console that fails here.
You can verify by vmq-admin show persistent_client_expiration, as an example.

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.


⚠ Jenkins Plugins Artifactory has degraded performance

In 43a5da8, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1112 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 54673b4 after 26 minutes.


Support "ip" command

Hi,
Ifconfig command is deprecated. Please support ip command. which is supporting on spoofMac project.
Thank you

I don't have any immediate plans to work on this issue. If you would like to see it fixed, please send a pull request!


Fix logout with Auth0

Fixes https://github.com/jhipster/generator-jhipster-react-native/issues/782.
The biggest change is migrating to Expo SDK 46, which updates to the latest React Native and React versions.

I disabled the iOS E2E GitHub workflow since tests aren't passing. I did get detox to work locally. The error when running detox in CI is:
03:04:36.369 detox[17902] INFO:  Employee Screen Tests: should allow you to create, update, and delete the Employee entity
03:04:42.838 detox[17902] INFO:  [AppleSimUtils.js] host.exp.Exponent launched. To watch simulator logs, run:
        /usr/bin/xcrun simctl spawn AD390904-C412-4E47-A4AA-2E56F70F8AEB log stream --level debug --style compact --predicate 'process == "Expo Go"'
03:04:45.223 detox[17902] WARN:  [DetoxConnection.js/ERROR, #49487] Action dispatched too early, there is no session to use:

HINT: Please report this issue on our GitHub tracker:
https://github.com/wix/Detox/issues

{
  type: 'AppWillTerminateWithError',
  messageId: -10000,
  params: [Object]
}


crashing while booting up pc

ℹ Computer information

PowerToys version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.19042.0
Windows build number: 20H2

📝 Provide detailed reproduction steps (if any)

booting up my pc

✔ Expected result
not getting an error while booting my pc
❌ Actual result
getting an error
📷 Screenshots
2021-01-03.txt
2021-01-04.txt

@KillrOfLife
are you running 0.28 because you use the Video Conference Mute module?

@KillrOfLife
are you running 0.28 because you use the Video Conference Mute module?

no, I mostly just use it for the win keybinds. but I find it weird that on a clean os install it crashes once I boot up my pc.

no, I mostly just use it for the win keybinds. but I find it weird that on a clean os install it crashes once I boot up my pc.

@KillrOfLife
is you don't use Video Conference Mute, there is no reason to keep using 0.28, do the following:

uninstall PowerToys (it won't delete your settings)
install .NET Core 3.1.10 https://download.visualstudio.microsoft.com/download/pr/513acf37-8da2-497d-bdaa-84d6e33c1fee/eb7b010350df712c752f4ec4b615f89d/windowsdesktop-runtime-3.1.10-win-x64.exe
install PowerToys 0.29.3 https://github.com/microsoft/PowerToys/releases/download/v0.29.3/PowerToysSetup-0.29.3-x64.exe

@KillrOfLife
is you don't use Video Conference Mute, there is no reason to keep using 0.28, do the following:

uninstall PowerToys (it won't delete your settings)
install .NET Core 3.1.10 https://download.visualstudio.microsoft.com/download/pr/513acf37-8da2-497d-bdaa-84d6e33c1fee/eb7b010350df712c752f4ec4b615f89d/windowsdesktop-runtime-3.1.10-win-x64.exe
install PowerToys 0.29.3 https://github.com/microsoft/PowerToys/releases/download/v0.29.3/PowerToysSetup-0.29.3-x64.exe


Spec for improvement

After some discussion with a colleague, we determined it might be very useful to retool this in golang so that we can save the removed whitespace to another file and then also export a spec file that shows where all the whitespace came from, which ends up being larger than the original file.

appruved


Improve the readability of crio.8.md

What I did
Hello, I edited the crio.8.md again and want to improve readability using better format.
How I did it
Vim
How to verify it
Markdown preview
Description for the changelog
Improve the readability of crio.8.md

@willstudy Why did you close this?

@willstudy Thanks for the PR!  You need to sign your commit "git commit --amend -s" and it looks like there are some whitespace errors that need tending.

@TomSweeneyRedHat

The generated man page seems to have random "." in its output.
       --cpu-profile="": set the CPU profile file path

       ·

       --default-transport: A prefix to prepend to image names that can't be
       pulled as-is.

       ·

       --help, -h: Print usage statement

       ·

Move the crio in the SYNOPSYS block out of the BLOCK then it looks better and removing the bullets from the --options makes the man page look good.
sed 's/^-//g' docs/crio.8.md | go-md2man -out /tmp/crio.8

man page

LGTM and thanks!

LGTM
Thanks @willstudy


Theseus dead?

I'd like to know if this tool is being maintained or not.
It's still featured in the Brackets GitHub but seems dead with plenty of unresolved issues and 4-year-old code.

I periodically hear about Theseus's constituent libraries (fondue, etc) being used in other projects, but I haven't had the chance to bring the interface up to date with Brackets' recent releases. I'd help anyone who wants to send pull requests, though.


Animated Single Row Tab Control arrow icon is incorrect when setting flow direction right to left

Hello, when I use Tab Control in a Right-to-left window, the arrow's icon keeps its direction like Left-to-right mode. It's should change.
<Grid>
    <Grid.Resources>
        <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.AnimatedSingleRowTabControl.xaml"/>
    </Grid.Resources>

    <TabControl mah:TabControlHelper.IsUnderlined="True"
                mah:TabControlHelper.Underlined="TabPanel"
                x:Name="MainTab"
                controlzex:KeyboardNavigationEx.AlwaysShowFocusVisual="True"
                Loaded="MainTab_Loaded">
        <mah:MetroTabItem Header="لیست دانش آموزان" CloseButtonEnabled="True"  CloseButtonMargin="10,15,10,0"/>
    </TabControl>
</Grid>

Screenshot:

How to solve this? Please Guide me.

when I changed flow diretction at runtime, problem solved temporarily
screenshots:
1:

2:

3:

@VahidHajizadeh this has now been fixed, and it will be released in the next version of MahApps.Metro v2.0

thanks a lot for your fix and lovely mahapps


在做PSI时，如果一方运行，另一方不运行。在尝试连接超时时会出现段错误

As shown in the figure below, when doing PSI, if one side is running, the other side is not running. A  "Aborted (core dumped)"  occurs when an attempt to connect times out. At the same time, after modifying this problem (that is, modifying the code to ignore the thrown exception), it is easy to cause a "Aborted (core dumped)"   when one party continues to not receive data. Guess it was caused by throwing an exception.

ositioning problem:

yasl/link/transport/channel.cc ： 86
yasl/yasl/link/context.cc ：141

Yes. This is expected behavior.
We do require our users to run both sides in a short time window if using SPU directly. If you wanna make life easier, you could try to call PSI in Secretflow, which will help dispatch MPI PSI codes to both sides simultaneously.

BTW, if you do want to play with the core c++ API. The link timeout could be set by calling void SetRecvTimeout(uint32_t recv_timeout_ms); in https://github.com/secretflow/yasl/blob/beta/yasl/link/context.h#L163. Our simple_psi example just serves as a simple demo for experiencing the core PSI API. You could play and adjust timeout as you needed.

Yes. This is expected behavior.
We do require our users to run both sides in a short time window if using SPU directly. If you wanna make life easier, you could try to call PSI in Secretflow, which will help dispatch MPI PSI codes to both sides simultaneously.
BTW, if you do want to play with the core c++ API. The link timeout could be set by calling void SetRecvTimeout(uint32_t recv_timeout_ms); in https://github.com/secretflow/yasl/blob/beta/yasl/link/context.h#L163. Our simple_psi example just serves as a simple demo for experiencing the core PSI API. You could play and adjust timeout as you needed.

Thank you for your reply！
Secretflow is too big, I just need the PSI module. Excuse me, why is it designed this way? Are there any real issues to consider?
I'll try using SetRecvTimeout to see if that solves my problem.
I think the C++ API is still very important, after all, these APIs are closer to the bottom layer, and many developers like me can have more room to play.

Yes. This is expected behavior.
We do require our users to run both sides in a short time window if using SPU directly. If you wanna make life easier, you could try to call PSI in Secretflow, which will help dispatch MPI PSI codes to both sides simultaneously.
BTW, if you do want to play with the core c++ API. The link timeout could be set by calling void SetRecvTimeout(uint32_t recv_timeout_ms); in https://github.com/secretflow/yasl/blob/beta/yasl/link/context.h#L163. Our simple_psi example just serves as a simple demo for experiencing the core PSI API. You could play and adjust timeout as you needed.

Thank you for your reply！
Secretflow is too big, I just need the PSI module. Excuse me, why is it designed this way? Are there any real issues to consider?
I'll try using SetRecvTimeout to see if that solves my problem.
I think the C++ API is still very important, after all, these APIs are closer to the bottom layer, and many developers like me can have more room to play.

We do plan to open source all layers of the SecretFlow stack, including the C++ core API layer. Since we still have lots of pending optimizations waiting for formal security review and open source procedure, you might need to wait for a few months to get better API documentation and performance.
I did not expect you guys will play the c++ core API this quick. Let me know what you need. This might affect some priority decisions for where we should improve first.

Fixed in latest beta branch, closing...


installing both prompt and confirm dialog causing prompt to close immediately

installing both prompt and confirm dialog causing prompt to close immediately
when i installed https://github.com/gtgalone/confirm_dialog, it works fine, but the prompt dialog disappear quickly
when i uninstalled confirm_dialog, prompt dialog works normally
please help thank you for this wonderful plugin

nevermind there was an error with the debugger


listQueues() returning real AWS SQS URL and what is the group id for ElasticMQ Fifo?

Well, there are two questions: What Group Id should I send for ElasticMQ FIFO queues in the params like this?:
Typescript:
const params: SQS.SendMessageRequest = {
        QueueUrl: AWS_QUEUE_URL,
        MessageBody: message,
        MessageGroupId: '1'
    };

MessageGroupId: '1' does work, but I have no idea what it should be for this simulation.
Second, if I don't set the endpoint to my elasticmq queue url right when I instantiate the SQS class, it logs my real SQS url:
const sqs = new SQS();
console.log(await sqs.listQueues().promise());

Output:
{
  ResponseMetadata: { RequestId: 'a354ffce-d4e4-5a79-b0bc-a4a13582ffb9' },
  QueueUrls: [
    'https://sqs.sa-east-1.amazonaws.com/EXAMPLE_ACCOUNT_ID/EXAMPLE_QUEUE_NAME'
  ]
}

Is that expected?

Hi, we don't support AWS SDK issues here. You should ask your questions on Stack Overflow or something like that.


Execution Stuck after few steps in sess.run()

What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?
Execution is stuck in between steps. For few steps, it seems to run fine but after that the execution just halts without throwing any exception or the error.
Environment info
Operating System: Ubuntu 14.04
GPU: NVIDIA TITAN X (Pascal)
GPU Memory: 12GB
Installed version of CUDA and cuDNN:
-rw-r--r-- 1 root root   556000 Mar 29 05:10 /usr/local/cuda/lib64/libcudadevrt.a
lrwxrwxrwx 1 root root       16 Mar 29 05:10 /usr/local/cuda/lib64/libcudart.so -> libcudart.so.8.0
lrwxrwxrwx 1 root root       19 Mar 29 05:10 /usr/local/cuda/lib64/libcudart.so.8.0 -> libcudart.so.8.0.61
-rwxr-xr-x 1 root root   415432 Mar 29 05:10 /usr/local/cuda/lib64/libcudart.so.8.0.61
-rw-r--r-- 1 root root   775162 Mar 29 05:10 /usr/local/cuda/lib64/libcudart_static.a
lrwxrwxrwx 1 root root       13 Apr  4 13:18 /usr/local/cuda/lib64/libcudnn.so -> libcudnn.so.5
lrwxrwxrwx 1 root root       18 Apr  4 13:18 /usr/local/cuda/lib64/libcudnn.so.5 -> libcudnn.so.5.1.10
-rwxr-xr-x 1 root root 84163560 Apr  4 13:18 /usr/local/cuda/lib64/libcudnn.so.5.1.10
lrwxrwxrwx 1 root root       18 Apr  4 12:55 /usr/local/cuda/lib64/libcudnn.so.6 -> libcudnn.so.6.0.20
-rwxrwxrwx 1 root root 84163560 Apr  4 13:17 /usr/local/cuda/lib64/libcudnn.so.6.0.20
-rwxrwxrwx 1 root root 70364814 Apr  4 13:18 /usr/local/cuda/lib64/libcudnn_static.a
If installed from binary pip package, provide:

A link to the pip package you installed:

https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.0.1-cp34-cp34m-linux_x86_64.whl

The output from python -c "import tensorflow; print(tensorflow.__version__)".
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcublas.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcudnn.so.5 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcufft.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcurand.so.8.0 locally
1.0.1

If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)
I ran the mnist_deep.py script provided in tutorials.
What other attempted solutions have you tried?
Previously, the display used to get hang showing error CUDA_LAUNCH_ERROR_TIMEOUT. On nvidia forum, someone suggested to switch off the X-server. I switched it off, but the problem still persisted.
I noticed that the script was hogging full memory of GPU, I tried to limit the allocation by using "allow_growth" flag. But the problem still persists.

/CC: @jmchen-g since it's related to models.

That's odd, I just ran it and it worked fine for me. @ajeetksingh can you make sure that you aren't running anything else on the GPU at the same time? And it's normal for it to use the full memory.
My output below:
step 0, training accuracy 0.14
step 100, training accuracy 0.76
step 200, training accuracy 0.9
step 300, training accuracy 0.82
...
step 19700, training accuracy 1
step 19800, training accuracy 1
step 19900, training accuracy 1
test accuracy 0.9932

@ajeetksingh Can you check what your % CPU utilization is while TF hangs? What is the model of your motherboard?

Automatically closing due to lack of recent activity. Since this issue is old at this point, please reopen the issue if it still occurs when tried with the latest version of Tensorflow. Thank you.


Partial Object Resolver

Hey guys,
I'm trying to create a Object that can be resolved fully by a single field.
I have a common case where a Object has a ID field, and based on that ID I can do a DB Query to get the other fields.
I also have some fields I only resolve using a query/cache. This field only gets an ID from the query. Instead of directly needing to resolve that object too, I instead only want it to fully resolve if the client does not only need the ID.
Here a simple scheme and two queries to illustrate:
type Article {
 id: Int!
 name: String!
 tags: [Tag!]!
}

type Tag {
 id: Int!
 name: String!
 }

This query only requests the ID field, which I directly get from the resolver of tags.
query {
 articles {
  id
  name
  tags {
   id
  }
 }
}

This query tho, also wants the name of the tags, so it has then to additionally resolve the tag based on the tag's id (preferly with a dataloader):
query {
 articles {
  id
  name
  tags {
   id
   name
  }
 }
}

I don't want to have to call the dataloader/cache everytime even if the client only needs the id.
How can you implement this?

There are two approaches you could take here (that I'm aware of), although I'd lean toward the first.
Essentially you use complex object fields that fetch the relevant object from a dataloader and return the relevant field. I've just done name for brevity, but the same applies for tags. Take this code with a grain of salt, I haven't tested it, but it gives the idea.
#[derive(SimpleObject)]
#[graphql(complex)]
pub struct Article {
  pub id: u32,
}

struct RepositoryArticle {
  pub id: u32,
  pub name: String,
}

#[ComplexObject]
impl Article {
  async fn name(
    &self,
    ctx: &Context<'_>,
  ) -> FieldResult<String> {
    let article: RepositoryArticle = // fetch the article from the data loader with self.id
    Ok(article.name)
  }
}

The other option is to look in to ctx.field().selection_set(), which provides the list of fields the query is selecting. You'd have to do this on the query, not the object. You could check there if name, tags, etc. are selected and then only load them. I use this approach for a system that needs to determine what fields need to be calculated upfront and can't be done field by field as above later; it can get a little messy though, so I'd avoid unless necessary.
Finally, I'd really be sure you actually need to do this as it does add complexity. Unless just fetching the whole object each request will add a very tangible performance impact, it mightn't outweigh the added complexity.

I came to ask the same thing, I think it would be neat to able to have a wrapper type that allows you to specify the full object or just the ID based on a LookAhead check. Basically this is a lazy loader of the object that contains the ID and an async function loader function if the selection contains more than juste the ID.
I think we will need some macro magic to define that though, @sunli829 if you ideas on how to implement that I am all hears.

I created this loader that suits my needs:
pub enum LazyObject<O> {
    ID(ID),
    Object(O),
}

impl<O> LazyObject<O> {
    pub async fn new<F, Fut>(ctx: &Context<'_>, id: ID, f: F) -> Result<Self>
    where
        F: FnOnce(ID) -> Fut,
        Fut: Future<Output = Result<O>>,
    {
        let load = ctx.field().selection_set().any(|f| f.name() != "id");
        if load {
            f(id).await.map(|o| Self::Object(o))
        } else {
            Ok(Self::ID(id))
        }
    }
}

#[async_trait]
impl<O> ContainerType for LazyObject<O>
where
    O: OutputType + ContainerType,
{
    async fn resolve_field(&self, ctx: &Context<'_>) -> ServerResult<Option<Value>> {
        match self {
            Self::ID(id) => {
                if ctx.item.node.name.node == "id" {
                    let obj = id;
                    let ctx_obj = ctx.with_selection_set(&ctx.item.node.selection_set);
                    return OutputType::resolve(&obj, &ctx_obj, ctx.item)
                        .await
                        .map(Option::Some);
                } else {
                    unreachable!()
                }
            }
            Self::Object(o) => o.resolve_field(ctx).await,
        }
    }
}

#[async_trait]
impl<O> OutputType for LazyObject<O>
where
    O: OutputType + ContainerType,
{
    fn type_name() -> Cow<'static, str> {
        O::type_name()
    }

    fn create_type_info(registry: &mut registry::Registry) -> String {
        O::create_type_info(registry)
    }

    async fn resolve(
        &self,
        ctx: &ContextSelectionSet<'_>,
        _field: &Positioned<parser::types::Field>,
    ) -> ServerResult<Value> {
        resolver_utils::resolve_container(ctx, self).await
    }
}

impl<O> ObjectType for LazyObject<O> where O: OutputType + ContainerType {}

This can then be used like this:
#[derive(SimpleObject)]
#[graphql(complex)]
pub struct Request {
    pub id: ID,
    #[graphql(skip)]
    pub stream_id: Option<ID>,
}

#[ComplexObject]
impl Request {
    pub async fn stream(&self, ctx: &Context<'_>) -> Option<Result<LazyObject<Stream>>> {
        let Some(stream_id) = &self.stream_id else { return None };
        let value = LazyObject::new(ctx, stream_id.clone(), |id| async {
            // Load from somewhere
            todo!()
        })
        .await;
        Some(value)
    }
}

Could probably add a lifetime to remove the clone, but it's good enough for me.


update

about me

Hi tigress, unfortunately I cannot accept your PR. But 5 points to Gryffindor for trying to pull a meme like this.