Option for dynamic embedded diagram in OneDrive

[ x ] I agree to follow the Code of Conduct that this project adheres to.
[ x ] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
I am wanting to use diagrams in our SharePoint documents. Currently I can get them to work by using the embed option using an iframe (html breaks a bunch of JavaScript BTW). This is pretty great, and it even gives us a link to update the diagram. However, any changes do not carry across to the embedded diagram (because it is embedded as static code).
Describe the solution you'd like
I'd love to have an embedded option for OneDrive that works similar to how Google drive embedded diagrams work, where the iframe simply includes the url to the file in OneDrive.
Describe alternatives you've considered
I've thought about creating a SharePoint webpart that can parse the drawio xml file and URL encode the diagram object to generate the same iframe code as comes from diagrams.net
But creating a webpart is a bit complicated, from what I can tell, and I don't know where to begin.

There should be a way to edit, or at least preview, a DrawIO file in OneDrive or Sharepoint online.


How to gracefully shut down a temporal worker

Hello,
I am using Java SDK, and I was wondering how to gracefully shut down a worker that executes my workflows without any data loss or corruption?
Or even re-executing steps/tasks/activity code?

Please use Temporal community slack to ask questions: https://temporal.io/community
JavaSDK has WorkerFactory#shutdown method that allows to gracefully shutdown workers.


lib: fdtable: Update for zephyr_write() rename

_impl__zephyr_write() was renamed to _impl__zephyr_write_stdout().
This wasn't caught by CI because we din't have POSIX tests build
for newlib, but now we have.
Signed-off-by: Paul Sokolovsky<EMAIL_ADDRESS>

Setting as high-prio as this may break CI.

typo in description "din't" -> "didn't".

fixed

Codecov Report

Merging #13803 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #13803   +/-   ##
=======================================
  Coverage   52.26%   52.26%
=======================================
  Files         307      307
  Lines       45410    45410
  Branches    10504    10504
=======================================
  Hits        23734    23734
  Misses      16887    16887
  Partials     4789     4789

Impacted Files
Coverage Δ

lib/os/fdtable.c
59.09% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

I'm curious how adding the new tests passed CI? Are the tests in a different, non-CI repo?

Fascinating: in totally unrelated PR #13805, commit 2d3b1014b0 now passes Shippable even without this fix!!
Previous and nearly identical commit ccfa27c3f4 failed 4 out of 5 Shippable runs with the error :
zephyr/lib/os/fdtable.c:259: undefined reference to `_impl__zephyr_write'

So tests run by Shippable are not deterministic?


Provide option to switch between static and dynamic library

Provide option to switch between static and dynamic library

Fixed


Set custom directory for JADX source files to tmpfolder, so Androguard finds them

JADX by default places the decompiled sources into a "sources" directory inside the directory passed by the "-d" flag. The "-ds" flag can be used to specify a custom directory for the source files. By setting it to the tmpfolder, JADX  will place the source files where Androguard expects them to be.
Previous attempts like #869 and the ones discussed in #763 change the directory Androguard searches for the source files, but it's easier to simply adjust the JADX output directory ;)
Examples with JADX 1.4.2
Decompiler output before fix:
[DEBUG   ] androguard.decompiler: Call JADX with the following cmdline: jadx -d /tmp/tmp8c29wr33 --escape-unicode --no-res /tmp/tmpneom0tma.dex
[INFO    ] androguard.decompiler: Output of JADX during decompilation
[INFO    ] androguard.decompiler: INFO  - loading ...
[INFO    ] androguard.decompiler: INFO  - processing ...
[INFO    ] androguard.decompiler: INFO  - progress: 0 of 2592 (0%)
...
[INFO    ] androguard.decompiler: INFO  - progress: 2590 of 2592 (99%)
[INFO    ] androguard.decompiler:
[INFO    ] androguard.decompiler: ERROR - finished with errors, count: 15
[WARNING ] androguard.decompiler: Found a class called sources/org/pwsafe/lib/UUID, which is not found by androguard!
[WARNING ] androguard.decompiler: Found a class called sources/org/pwsafe/lib/Util, which is not found by androguard!
... (a million "not found" warnings)
[WARNING ] androguard.decompiler: Found a class called org/bouncycastle/asn1/x509/ReasonFlags which is not decompiled by jadx
[INFO    ] androguard.decompiler: Looks like JADX is missing some classes or we decompiled too much: decompiled: 0 vs androguard: 7115

decompiled: 0 vs androguard: 7115 (no decompiled classes found)

Decompiler output after fix:
[DEBUG   ] androguard.decompiler: Call JADX with the following cmdline: jadx -ds /tmp/tmpwbjjbkhu --escape-unicode --no-res /tmp/tmpc9q4yfi4.dex
[INFO    ] androguard.decompiler: Output of JADX during decompilation
[INFO    ] androguard.decompiler: INFO  - loading ...
[INFO    ] androguard.decompiler: INFO  - processing ...
[INFO    ] androguard.decompiler: INFO  - progress: 0 of 2592 (0%)
...
[INFO    ] androguard.decompiler: INFO  - progress: 2590 of 2592 (99%)
[INFO    ] androguard.decompiler:
[INFO    ] androguard.decompiler: ERROR - finished with errors, count: 15
[WARNING ] androguard.decompiler: Found a class called net/tjado/authorizer/$$Lambda$_14QHG018Z6p13d3hzJuGTWnNeo, which is not found by androguard!
[WARNING ] androguard.decompiler: Found a class called androidx/core/internal/package-info which is not decompiled by jadx
[WARNING ] androguard.decompiler: Found a class called androidx/preference/internal/package-info which is not decompiled by jadx
[WARNING ] androguard.decompiler: Found a class called com/google/android/material/internal/package-info which is not decompiled by jadx
[WARNING ] androguard.decompiler: Found a class called net/tjado/authorizer/-$$Lambda$_14QHG018Z6p13d3hzJuGTWnNeo which is not decompiled by jadx
[WARNING ] androguard.decompiler: Found a class called net/tjado/passwdsafe/-$$Lambda$PasswdSafeRecordBasicFragment$w7zzQTlVpxZTlpjPxcVxMMVOBv8 which is not decompiled by jadx
[INFO    ] androguard.decompiler: Looks like JADX is missing some classes or we decompiled too much: decompiled: 7110 vs androguard: 7115

7110 vs androguard: 7115 (all 7110 decompiled classes found)

Excellent !


Adding a YT playlist explaining Heap Data Structure

This playlist explains Heap in a concise way. Explaining how to approach a Heap problem and moreover how to identify it first.
What does this PR do?
Adds Free YouTube Resource explaining Heap Data Structure
Why is this valuable?
Heap data structure is very important, and this is a free resource which explains it very easily and efficiently
How do we know it's really free?
It's a direct link to YouTube playlist

Thanks, and welcome to free-programming-books!


Remove duplicate MAKE_TRADES settings from readme.md

This could have caused confusion and unwanted trading.

thanks igor :)


Adaptive signals fail during gridlock

If there is a consistent backup with no throughput at an intersection with an adaptive signal, that signal will never switch, which can compound gridlock. Recommend adding a clause to the adaptive signal timing algorithm to include intersection throughput as a consideration, if possible. If there is high demand in one direction but 1 (or more) cycles of the signal that would facilitate movement in that direction has no throughput, do not keep repeating that phase of the light cycle.

The rules for the adaptive signal (a misnomer, it's more like actuated) are almost deliberately simple right now. When a phase is about to end, if there's anyone waiting at the end of the queue to start a protected turn in that phase, repeat the entire phase. I can imagine a huge set of possible parameters to picking the next phase and maybe modifying its duration. Looking at demand in different directions is a good start. One thing that'd be helpful to me is if anybody familiar with actuated signals in practice or who's thought about these policies to describe as precisely as possible how they should work, what parameters should be tuneable in the UI, etc. I can implement it. I haven't spent much time yet researching how signals work in practice or trying out different policies; I see myself more as a builder of tools for people with ideas for policies. :)


Unrecognised Request object, when using new Request()

So I have a function, which creates a Request object for me. That function basically just appends some auth infos to the header and builds a path. And finally creates a Request Object with new Request(...)
const request = createCustomRequest('validate', {
  method: 'POST',
  body,
})
const response = await fetch(request)

export function createCustomRequest(endpoint: string, { body, ...customConfig }: CustomRequestInit = {}) {
  const headers = {
    'Content-Type': 'application/json',
    Accept: 'application/json;charset=UTF-8',
    // ... Setting some headers here
  }

  const config: RequestInit = {
    method: body ? 'POST' : 'GET',
    credentials: 'include',
    ...customConfig,
    headers,
    } as Headers & CustomHeaders,
  }
  if (body) {
    config.body = JSON.stringify(body)
  }
  return new Request(`${basePath}$/${endpoint}`, config)
}

When using fetch-mock and trying to mock some Request. I get the error message:
TypeError: fetch-mock: Unrecognised Request object. Read the Config and Installation sections of the docs
So, I looked into the code and found: https://github.com/wheresrhys/fetch-mock/blob/4b54e6db42a3e87700ef37a27a7a4d7df29cb3d7/src/lib/request-utils.js#L81-L94
My Request does not have a href property, and typings / MDN do not specify such a prop. Therefore I'm confused how I should use fetch-mock with new Request(...).

Did you read the docs? This bit in particular http://www.wheresrhys.co.uk/fetch-mock/#usagecustom-classes

Mhh, maybe I don't understand that part correctly, but i'm using the native fetch function and the native Request constructor. My function just creates a RequestInit Object which is used by the native new Request(). Not using any custom fetch oder Request.

hmmm... maybe something in your build/dependencies is injecting a polyfill somewhere?
Maybe you can try putting a console.log in the fetch-mock code to log out window.Request and Request and see why they're different when you don't do this step?

Mhh, maybe I don't understand that part correctly, but i'm using the native fetch function and the native Request constructor. My function just creates a RequestInit Object which is used by the native new Request(). Not using any custom fetch or Request.
Edit: Okay, i'm a little bit confused about that. I just did whats shown in the doc, but since I use the native functions I provided these. So basically I did this and it works.
Object.assign(fetchMock.config, { Headers, Request, Response, fetch })

This actually fixed fetch-mock with RTK query for me.


clarify the definition of a "Trace" w.r.t. Spans and References

Per https://gitter.im/opentracing/public?at=58332e4c2db9526704625011

cc @objectiser

Seems like this topic has gone a bit stale, but it is definitely worth clarifying this point as it can be common in some non-RPC contexts.
This has been "hinted" at in https://github.com/opentracing/specification/issues/52#issuecomment-284235106 where the "join" case could add references from these "distant" spans (from different traces)


Port to Hubitat

Hi there, there seems to be a fair bit of interest in using this on Hubitat. Would you be interested in porting this to hubitat?
https://community.hubitat.com/t/integration-with-lennox-icomfort-s30-thermostat/49849/15

Don’t know much about hubitat and how to do that.  Are there docs?
There are two pieces, the HA integration and the API (https://github.com/PeteRager/lennoxs30api).  So to create a hubitat integration starting with the API, would be an approach.
The other approach could be to build an MQTT component and then any product that support MQTT could work.


SchemaType optimizations for Data Engine OMAS

Some changes need to be done in DE OMAS for including the schema types optimizations defined in https://github.com/odpi/egeria/issues/1669 & https://github.com/odpi/egeria/issues/1317

DataEngine OMAS creates/updates TabularSchemaTypes with the associated SchemaAttributes. Each SchemaAttribute will have a TypeEmbeddedAttribute classification for providing the type information. The SchemaAttributes will no longer have SchemaTypes associated to them.
Review and update the SchemaAttribute propeties - based on the changes done in https://github.com/odpi/egeria/pull/1545/files
Replace the deprecated property 'name' with 'displayName' for SchemaAttribute

@cmgrote @mandy-chessell can you confirm that this is the desired behavior for DataEngine OMAS? At this moment, it only creates TabbularSchemaTypes with associated SchemaAttributes, so I assume that it shouldn't created the SchemaTypes for the attributes anymore?

Sounds correct to me:

Create / update a SchemaType for the TabularSchemaType
Create / update TabularColumns (including a TypeEmbeddedAttribute classification on each TabularColumn and an AttributeForSchema relationship between TabularSchemaType and each TabularColumn)

And indeed do not create any TabularColumnTypes for the TabularColumns.
What I can't recall is whether we're treating everything as Tabular, as this would imply, or whether we're using the more abstract (super) types: eg. SchemaType instead of TabularSchemaType and SchemaAttribute instead of TabularColumn (?)  Either way I think it will be important to be consistent and either use only the abstract super types, or only the more granular tabular-specific types...

It creates TabularSchemaTypes with SchemaAttributes right now, I'll modify it to be consistent

@popa-raluca @mandy-chessell
Can we have this feature being done in the 1.2 release instead of 1.3?

There are only 3 days left to complete the release.  Can it be done in time?

There are only 3 days left to complete the release. Can it be done in time?

hmm in this case probably not then.

The implementation is done, I have a PR in draft for the changes. I will do some tests today and move it into ready status if everything is ok with the tests

Implemented by https://github.com/odpi/egeria/pull/1937


Disallowed Username List

Develop and implement a list of names that cannot be picked for usernames. Used to prevent spoofing abuse.

Thinking about this a bit more - we have an entire team of moderators, a code of conduct, and a limited audience. Nah.


【PFCC算子性能优化】为Paddle优化adaptive_pooling_op性能

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


fix: The location of protoc-gen-go is mismatched in different section…

…s of Makefile. #631

Thank @prchen, just fix up your commit history to include signed commits and you'll be good to go

@ElliotMJackson thanks for reminding, the commit is signed now 😊


PCF App Errors with 502 response

Hi Team,
We are facing issue where one of the application intermittently errors out with 502 response after some time we start.
Error Logs are as below:
2018-06-26T17:09:30.41+0530 [RTR/3] OUT customer360.apps.scdc1.itcna.vmware.com - [2018-06-26T11:34:30.412+0000] "GET<EMAIL_ADDRESS>HTTP/1.1" 502 0 67 "-" "PostmanRuntime/7.1.1" "<IP_ADDRESS>:56975" "<IP_ADDRESS>:61012" x_forwarded_for:"<IP_ADDRESS>, <IP_ADDRESS>" x_forwarded_proto:"https" vcap_request_id:"fd2940bb-dd8e-44fe-6439-3ab14c2b0aef" response_time:300.004082213 app_id:"574947ff-1b7f-409f-955f-442b5a1831bb" app_index:"2" x_b3_traceid:"123eb1b523776405" x_b3_spanid:"123eb1b523776405" x_b3_parentspanid:"-"
2018-07-02T15:57:59.57+0530 [APP/PROC/WEB/2] OUT 2018-07-02 03:27:59.575  INFO [customer360-stage,4ea40c11d406d160,4ea40c11d406d160,true] 16 --- [-8080-exec-7421] c.v.c.g.c.v4_1.CustomerDetailController  : Inside Controller : Request received to get Customer Ela Details for Customer: [Government of the United States]
2018-07-02T15:57:59.58+0530 [RTR/1] OUT customer360.apps.scdc1.itcna.vmware.com - [2018-07-02T10:27:59.555+0000] "GET
<EMAIL_ADDRESS>HTTP/1.1" 200 0 326 "-" "PostmanRuntime/6.4.1" "<IP_ADDRESS>:17957" "<IP_ADDRESS>:61012" x_forwarded_for:"<IP_ADDRESS>, <IP_ADDRESS>" x_forwarded_proto:"https" vcap_request_id:"cee6b1e4-1a84-4b87-63e1-8a68c4984cd9" response_time:0.027781874 app_id:"574947ff-1b7f-409f-955f-442b5a1831bb" app_index:"2" x_b3_traceid:"4ea40c11d406d160" x_b3_spanid:"4ea40c11d406d160" x_b3_parentspanid:"-"
2018-07-02T15:57:59.58+0530 [RTR/1]
2018-07-02T16:00:08.93+0530 [RTR/1] OUT customer360.apps.scdc1.itcna.vmware.com - [2018-07-02T10:25:08.929+0000] "GET<EMAIL_ADDRESS>HTTP/1.1" 502 0 67 "-" "PostmanRuntime/6.4.1" "<IP_ADDRESS>:11871" "<IP_ADDRESS>:61006" x_forwarded_for:"<IP_ADDRESS>, <IP_ADDRESS>" x_forwarded_proto:"https" vcap_request_id:"2d246e16-43fa-4a73-6f1f-9d8102cc86d5" response_time:300.001768516 app_id:"574947ff-1b7f-409f-955f-442b5a1831bb" app_index:"0" x_b3_traceid:"331f642419f2f566" x_b3_spanid:"331f642419f2f566" x_b3_parentspanid:"-"
2018-07-02T16:00:08.93+0530 [RTR/1] OUT
Please let us know how we can fix this errors
Best Regards
Ganesh Kumar

@kumarganesh2814 Thank you for raising this issue. For help with open-source Cloud Foundry, please query one of the CF mailing lists or Stack Overflow.


Returning eventSubscription.remove as useEffect cleanup crashes with "undefined is not an object (evaluating emitter)"

Description
This might be expected behaviour or not worth fixing since there's an easy workaround, but it was tricky to debug and I think it's new behaviour in a recent release (I'm sure I've seen this pattern used since around 0.65 without errors), so I think it's worth having an issue people can find by search.
Confirmed in Android and iOS (and not in react-native-web).

If the remove method of an event subscription is returned as the cleanup function for a useEffect, on dismount, the removal crashes internally with either:

undefined is not an object (reading 'emitter')
Call Stack: EmitterSubscription#remove

...or...

undefined is not an object (evaluating this.emitter)

Doing something like this crashes on dismount, unable to find the subscription's emitter property:
  useEffect(() => {
    const subscription = Dimensions.addEventListener('change', () => {})
    return subscription.remove // crashes, `subscription.emitter` is lost before `remove` is called
  }, [])

Wrapping it in an outer function doesn't crash and works as expected, presumably because trapping the whole subscription object in the return function's scope stops its emitter property from getting deleted?
  useEffect(() => {
    const subscription = Dimensions.addEventListener('change', () => {})
    return () => subscription.remove() // doesn't crash, `subscription.emitter` is preserved
  }, [])

Version
0.69.4
Output of npx react-native info
System:
    OS: macOS 11.6.8
    CPU: (8) x64 Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz
    Memory: 7.56 GB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.16.0 - ~/.nvm/versions/node/v16.16.0/bin/node
    Yarn: Not Found
    npm: 8.17.0 - ~/.nvm/versions/node/v16.16.0/bin/npm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
    Android SDK:
      API Levels: 29, 30
      Build Tools: 29.0.2, 30.0.3
      System Images: android-29 | Intel x86 Atom_64, android-30 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: Not Found
    Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_282 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: ~18.0.0 => 18.0.0
    react-native: 0.69.4 => 0.69.4
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce

Call Dimensions.addEventListener or AccessibilityInfo.addEventListener or similar in a useEffect
Capture the subscription in a variable
Return the subscription's remove method as the useEffect's cleanup function

Snack, code example, screenshot, or link to a repository
https://snack.expo.dev/@alansl/amused-peanut

Hello @AlanSl , I was saw this issue and reproduce in my device. I search about dimensions and see the react native documentation ( https://reactnative.dev/docs/dimensions#example ). In this example they return a function to execute subscription.remove() its same u make in second way.
So I thinking, maybe is because remove is a function and not a object.
So I try to use in first useEffect to execute this code:
  useEffect(() => {
    const listener = Dimensions.addEventListener('change', ({ window }) => setDimensions(window))
    // This crashes because listener.emitter is undefined when listener.remove() tries to access it
    return listener.remove() // return a function
  }, [time1])

when i use listener.remove() the app doesn't crashes
Can u try this way?
I'm early in reactnative contributors, so if I spoke wrong, sorry :+1:

@pablolucas890 Good catch that there is an example in the docs that uses the wrapper function approach.
Your return listener.remove() example is missing the wrapper function: it's creating the subscription then immediately removing it, so it doesn't crash, but it won't work either (if you changed both the useEffects in my example to be like this, the "width" text won't update when you rotate the device, because both subscriptions are cancelled immediately after being created).
It should be return () => listener.remove() instead of return listener.remove(), wrapping it in a function so that instead of calling remove right away, React keeps the function and calls it on dismount (see the docs for cleanup functions in useEffect)

The point of this issue is that usually, return someFunction and return () => someFunction() would be equivalent if the function is being called without arguments, but in this case (presumably because of some internal detail relying on this or something similar), the first crashes with a non-obvious error, while the second works.
So, this issue isn't a big deal, because the workaround is really simple (do return () => subscription.remove() instead of return subscription.remove), but it's a bit of a gotcha so I thought it's worth at least having an issue posted that someone affected can find.

I see, i didn't know listener.remove and () => listener.remove() its same. Thank you!
maybe this problem appears in others examples, u try just with dimensions right?
Good idea to list this problem, maybe peoples trying to use the other way listener.remove and lock in this error

The example Snack above crashes in Expo 46 but doesn't crash when updated to Expo 47 (tested on both Android and iOS), so it looks like this got fixed some time between React Native 0.69.5 and 0.70.5.


Error(s) running OData against Cosmos

Describe the bug
I am trying to run OData against a Cosmos database container and while some basic functionality works, when I add $select and other OData actions I start to get a lot of odd errors. I was able to find work arounds for some of them, but these last 2 I seem to be stuck on even when stepping through the Microsoft.Azure.Cosmos source.
To Reproduce
I have created a repo with code that reproduces all of these issues I have been seeing:
https://github.com/michael-d-atl404/ODataWithCosmosErrors
This project was run with a local Cosmos Emulator running: https://learn.microsoft.com/en-us/azure/cosmos-db/local-emulator. I included setup for that in the README.md.
I also included info in the README.md on the first 3 errors I was able to work around as well as the URLs I am still unable to get to work along with the errors I am getting.
These URLs work just fine:
https://localhost:7253/odata/Audits
https://localhost:7253/odata/Audits?$select=id,user,date,changes
but then these other URLs are causing me errors:
https://localhost:7253/odata/Audits?$count=true&$select=id,user,date,changes&$orderby=date desc&$top=50
https://localhost:7253/odata/Audits?$count=true&$select=id,user,date&$expand=changes($select=prop,old,new)&$orderby=date desc&$top=50
The real API being used here has OData running on some EFCore resources and some OData. Everything seemed to be running fine on both from our Vue app until I hit this new Cosmos model for Audits where the document had a child array of simple objects. I should be able to make it work with either pulling the entire child collection or navigating it as a "$expand", I just need one of them to work and would prefer that it did work with paging as it is possible there will be a lot of these records.
Basically I debugged down to this exception being thrown from ExpressionToSql.Translate:
Microsoft.Azure.Cosmos.Linq.DocumentQueryException: Expression with NodeType 'Conditional' is not supported.
where it appears to be running against an IIF null check on the "changes" IEnumerable attribute and there is no code to handle that particular expression tree. Not sure if there is another setting to try to bypass this or not. I attempted to use OData Query Option settings:
HandleNullPropagation = Microsoft.AspNetCore.OData.Query.HandleNullPropagationOption.False

and

HandleReferenceNavigationPropertyExpandFilter = true

but neither of these seemed to fix anything.
Expected behavior
Proper, paged OData responses for at least one of those 2 URL patterns.
Actual behavior
I think that the main one I would like fixed is this (for URL "https://localhost:7253/odata/Audits?$count=true&$select=id,user,date,changes&$orderby=date desc&$top=50" ):
Full Error Stack:
      Microsoft.Azure.Cosmos.Linq.DocumentQueryException: Expression with NodeType 'Conditional' is not supported., Windows/10.0.19044 cosmos-netstandard-sdk/3.29.4
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.Translate(Expression inputExpression, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitMethodCall(MethodCallExpression inputExpression, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.Translate(Expression inputExpression, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitCollectionExpression(Expression expression, TranslationContext context, String parameterName)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitCollectionExpression(Expression expression, ReadOnlyCollection`1 parameters, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.CreateSubquery(Expression expression, ReadOnlyCollection`1 parameters, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitScalarExpression(Expression expression, ReadOnlyCollection`1 parameters, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitConditional(ConditionalExpression inputExpression, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitNonSubqueryScalarExpression(Expression expression, ReadOnlyCollection`1 parameters, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitScalarExpression(Expression expression, ReadOnlyCollection`1 parameters, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitMemberAssignment(MemberAssignment inputExpression, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitBindingList(ReadOnlyCollection`1 inputExpressionList, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitMemberInit(MemberInitExpression inputExpression, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitNonSubqueryScalarExpression(Expression expression, ReadOnlyCollection`1 parameters, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitScalarExpression(Expression expression, ReadOnlyCollection`1 parameters, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitMemberAssignment(MemberAssignment inputExpression, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitBindingList(ReadOnlyCollection`1 inputExpressionList, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitMemberInit(MemberInitExpression inputExpression, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitNonSubqueryScalarExpression(Expression expression, ReadOnlyCollection`1 parameters, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitScalarExpression(Expression expression, ReadOnlyCollection`1 parameters, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitMemberAssignment(MemberAssignment inputExpression, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitBindingList(ReadOnlyCollection`1 inputExpressionList, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitMemberInit(MemberInitExpression inputExpression, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitNonSubqueryScalarExpression(Expression expression, ReadOnlyCollection`1 parameters, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitScalarExpression(Expression expression, ReadOnlyCollection`1 parameters, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitSelect(ReadOnlyCollection`1 arguments, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitMethodCall(MethodCallExpression inputExpression, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.Translate(Expression inputExpression, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.VisitMethodCall(MethodCallExpression inputExpression, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.Translate(Expression inputExpression, TranslationContext context)
         at Microsoft.Azure.Cosmos.Linq.ExpressionToSql.TranslateQuery(Expression inputExpression, IDictionary`2 parameters, CosmosLinqSerializerOptions linqSerializerOptions)
         at Microsoft.Azure.Cosmos.Linq.SqlTranslator.TranslateQuery(Expression inputExpression, CosmosLinqSerializerOptions linqSerializerOptions, IDictionary`2 parameters)
         at Microsoft.Azure.Cosmos.Linq.CosmosLinqQuery`1.CreateFeedIterator(Boolean isContinuationExpected)
         at Microsoft.Azure.Cosmos.Linq.CosmosLinqQuery`1.GetEnumerator()+MoveNext()
         at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
         at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
         at Microsoft.Azure.Cosmos.Linq.CosmosLinqQueryProvider.Execute[TResult](Expression expression)
         at System.Linq.Queryable.Count[TSource](IQueryable`1 source)
         at ODataCosmosTest.EnableCosmosQueryAttribute.<>c__DisplayClass0_0.<ApplyQuery>b__0() in C:\Users\michaeld\localProjects\ODataCosmosTest\ODataCosmosTest\EnableCosmosQueryAttribute.cs:line 26
         at Microsoft.AspNetCore.OData.Abstracts.ODataFeature.get_TotalCount()
         at Microsoft.AspNetCore.OData.Formatter.Serialization.ODataResourceSetSerializer.CreateResourceSet(IEnumerable resourceSetInstance, IEdmCollectionTypeReference resourceSetType, ODataSerializerContext writeContext)
         at Microsoft.AspNetCore.OData.Formatter.Serialization.ODataResourceSetSerializer.WriteResourceSetAsync(IEnumerable enumerable, IEdmTypeReference resourceSetType, ODataWriter writer, ODataSerializerContext writeContext)
         at Microsoft.AspNetCore.OData.Formatter.Serialization.ODataResourceSetSerializer.WriteObjectInlineAsync(Object graph, IEdmTypeReference expectedType, ODataWriter writer, ODataSerializerContext writeContext)
         at Microsoft.AspNetCore.OData.Formatter.Serialization.ODataResourceSetSerializer.WriteObjectAsync(Object graph, Type type, ODataMessageWriter messageWriter, ODataSerializerContext writeContext)
         at Microsoft.AspNetCore.OData.Formatter.ODataOutputFormatterHelper.WriteToStreamAsync(Type type, Object value, IEdmModel model, ODataVersion version, Uri baseAddress, MediaTypeHeaderValue contentType, HttpRequest request, IHeaderDictionary requestHeaders, IODataSerializerProvider serializerProvider)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|30_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
      --- End of stack trace from previous location ---
         at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
         at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
         at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
         at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
         at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
         at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
         at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
         at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
         at Microsoft.WebTools.BrowserLink.Net.BrowserLinkMiddleware.ExecuteWithFilterAsync(IHttpSocketAdapter injectScriptSocket, String requestId, HttpContext httpContext)
         at Microsoft.AspNetCore.Watch.BrowserRefresh.BrowserRefreshMiddleware.InvokeAsync(HttpContext context)
         at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)

Environment summary
I am running on Windows 10 Pro and using the latest .NET 6, Microsoft.AspNetCore.OData 8.0.11 and Microsoft.Azure.Cosmos 3.31.1

@michael-d-atl404 there is no official OData support on this library, is your code doing the conversion from OData to LINQ? And if so, what is the conversion you are applying when this failure occurs? The error says you are generating a "Conditional" operator?

@michael-d-atl404 there is no official OData support on this library, is your code doing the conversion from OData to LINQ? And if so, what is the conversion you are applying when this failure occurs? The error says you are generating a "Conditional" operator?

OK, I was not aware of that. I am not doing any conversion of OData to LINQ. We were previously using the now deprecated Microsoft.Azure.DocumentDB.Core and upgraded to this library as suggested. We have simply used the Microsoft.AspNetCore.OData v8 library which I am assuming is doing all of that work.
As I stated, it seemed to be mostly working, so I figure there was at least some support.
Is there any kind of timeline for this library to support OData, or do you know of some other path for me to be able to run OData against Cosmos?
To answer your question: the expression that seems to fail looks like this - {IIF(($it == null), null, $it.Changes)}
The debug session looks like:

The question would be, which is the Cosmos DB Query operand or operation (https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/query/getting-started) that would map to it? I don't see any that would do that.
Were you using the same expression with the previous library (Microsoft.Azure.DocumentDB.Core)?

Yes, and it did not work there either. I upgraded since I figured there was even less chance of getting assistance on a deprecated library and I hoped maybe the upgrade would fix it, but I just got slightly different errors.
I do not know where that clause comes from. I am guessing that it is detecting the property is IEnumerable and trying to do something with it. I had a hard time debugging any more than what you can see.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Matias Quaranta @.>
Sent: Thursday, November 3, 2022 5:12:21 PM
To: Azure/azure-cosmos-dotnet-v3 @.>
Cc: Michael DeBinder @.>; Mention @.>
Subject: Re: [External] [Azure/azure-cosmos-dotnet-v3] Error(s) running OData against Cosmos (Issue #3542)
The question would be, which is the Cosmos DB Query operand or operation (https://urldefense.proofpoint.com/v2/url?u=https-3A__learn.microsoft.com_en-2Dus_azure_cosmos-2Ddb_nosql_query_getting-2Dstarted&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=U0mHxBlKZ0dZbst4qIwn-tlvLgYu61JXVKQIs1-eMUU&m=hGjpcQDZbcpqBVRasECgh5zAW0x0T-2vYlW9Nu2dTO8&s=qYIa7DasOozazfEZpysBsfn1K9t6DWLHFkFTwqbU8pk&e=https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/query/getting-startedhttps://urldefense.proofpoint.com/v2/url?u=https-3A__learn.microsoft.com_en-2Dus_azure_cosmos-2Ddb_nosql_query_getting-2Dstarted&d=DwQCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=U0mHxBlKZ0dZbst4qIwn-tlvLgYu61JXVKQIs1-eMUU&m=hGjpcQDZbcpqBVRasECgh5zAW0x0T-2vYlW9Nu2dTO8&s=qYIa7DasOozazfEZpysBsfn1K9t6DWLHFkFTwqbU8pk&e=) that would map to it? I don't see any that would do that.
Were you using the same expression with the previous library (Microsoft.Azure.DocumentDB.Core)?
—
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Azure_azure-2Dcosmos-2Ddotnet-2Dv3_issues_3542-23issuecomment-2D1302668387&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=U0mHxBlKZ0dZbst4qIwn-tlvLgYu61JXVKQIs1-eMUU&m=hGjpcQDZbcpqBVRasECgh5zAW0x0T-2vYlW9Nu2dTO8&s=pPbZbIzYx6-_qUHIhD5D5pVmIxu_twOqT7eOS54YiqQ&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_A37D3O3NJIXPR5UXD5AZDCLWGQTDLANCNFSM6AAAAAARVV7V34&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=U0mHxBlKZ0dZbst4qIwn-tlvLgYu61JXVKQIs1-eMUU&m=hGjpcQDZbcpqBVRasECgh5zAW0x0T-2vYlW9Nu2dTO8&s=glayQ0_AdIRYAVuBKnZBFYo3Bn5QGoIJfb7EUROjZ3w&e=.
You are receiving this because you were mentioned.Message ID: @.***>
Statement of Confidentiality: The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any.

@michael-d-atl404 Ok, so V2 didn't work, and V3 complains that "Conditional" is unsupported.
From this library we don't know what the OData expression is, we do allow for LINQ expression. The "Conditional" expression is not supported:
        //
        // Summary:
        //     A conditional operation, such as a > b ? a : b in C# or If(a > b, a, b) in Visual
        //     Basic.
        Conditional = 8,

If(a > b, a, b) is not executable in a Cosmos DB query.
Why your url "https://localhost:7253/odata/Audits?$count=true&$select=id,user,date,changes&$orderby=date%20desc&$top=50" translates to using this Conditional that's a question for your translation library (Microsoft.AspNetCore.OData), but if this translator decides to use Conditional, then it will never work, there is no way to execute a Conditional on SQL Query.

Ok. I will post on the Microsoft.AspNetCore.OData site to see what they say. Maybe that is just an option setting I have not seen yet or that is not working properly.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Matias Quaranta @.>
Sent: Thursday, November 3, 2022 6:24:38 PM
To: Azure/azure-cosmos-dotnet-v3 @.>
Cc: Michael DeBinder @.>; Mention @.>
Subject: Re: [External] [Azure/azure-cosmos-dotnet-v3] Error(s) running OData against Cosmos (Issue #3542)
@michael-d-atl404https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_michael-2Dd-2Datl404&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=U0mHxBlKZ0dZbst4qIwn-tlvLgYu61JXVKQIs1-eMUU&m=okm3DU6EebGWlU-Dpb5LvNIHz1X7Rqexv-jcsCqYk44&s=fEBawjWK0OeHlxCOGGvk4eQB_HKBHqcEidSFFFqmcZY&e= Ok, so V2 didn't work, and V3 complains that "Conditional" is unsupported.
From this library we don't know what the OData expression is, we do allow for LINQ expression. The "Conditional" expression is not supported:
    //
    // Summary:
    //     A conditional operation, such as a > b ? a : b in C# or If(a > b, a, b) in Visual
    //     Basic.
    Conditional = 8,

If(a > b, a, b) is not executable in a Cosmos DB query.
Why your url "https://localhost:7253/odata/Audits?$count=true&$select=id,user,date,changes&$orderby=date desc&$top=50https://urldefense.proofpoint.com/v2/url?u=https-3A__localhost-3A7253_odata_Audits-3F-24count-3Dtrue-26amp-3B-24select-3Did-2Cuser-2Cdate-2Cchanges-26amp-3B-24orderby-3Ddate-2520desc-26amp-3B-24top-3D50&d=DwQCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=U0mHxBlKZ0dZbst4qIwn-tlvLgYu61JXVKQIs1-eMUU&m=okm3DU6EebGWlU-Dpb5LvNIHz1X7Rqexv-jcsCqYk44&s=1pNN6JO0HM87j2V5NpN20gXsSeqSc5peWzGmYDn9J24&e=" translates to using this Conditional that's a question for your translation library (Microsoft.AspNetCore.OData), but if this translator decides to use Conditional, then it will never work, there is no way to execute a Conditional on SQL Query.
—
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Azure_azure-2Dcosmos-2Ddotnet-2Dv3_issues_3542-23issuecomment-2D1302742199&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=U0mHxBlKZ0dZbst4qIwn-tlvLgYu61JXVKQIs1-eMUU&m=okm3DU6EebGWlU-Dpb5LvNIHz1X7Rqexv-jcsCqYk44&s=YqBPaac3--GSy_N16Ea1YQNrGLqC4oS1ENIcf9olvGI&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_A37D3O66POGQVYSOCCYATE3WGQ3SNANCNFSM6AAAAAARVV7V34&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=U0mHxBlKZ0dZbst4qIwn-tlvLgYu61JXVKQIs1-eMUU&m=okm3DU6EebGWlU-Dpb5LvNIHz1X7Rqexv-jcsCqYk44&s=prYgAI1ehTZljx14JB3rg8If5aQDX9YDiIkWsVHQqww&e=.
You are receiving this because you were mentioned.Message ID: @.***>
Statement of Confidentiality: The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any.

FYI - cross posted this on the Microsoft.AspNetCore.OData site as well:
https://github.com/OData/AspNetCoreOData/issues/738

Closing as the OData thread seems to have progressed to find a fix


Provide doc howto link to custom libuv

Would you consider improving the Readme with a more detailed guide how to link against a custom (built from source, as the newest version is required, #64) libuv, please?
Status:

successfully installed libuv latest from git to /usr/local ; as >=1.9 is required (#64)
older version of libuv is also installed on my system (ubuntu 16.04) as a dependency of other packages
the cmake .. phase fails, due to libuv not found:

Could NOT find UV (missing: UV_STATIC_LIBRARY UV_SHARED_LIBRARY
  UV_INCLUDE_DIR)

If you want to compile the tests and execute them, you don't have to compile libuv from scratch.
If you read the README file, you'll find that there exists a script named deps.sh. Use it.
The right version of libuv will be downloaded and compiled for you, as well as googletest.
See section Tests under Build Instructions for further details.

On the other side, integrating uvw in another project is not something that should be documented in the README file.
As an hint, I'd suggest you to use a deps.sh file as uvw does. Add libuv as a git submodule and copy the FindUV.cmake file.
Note that you must be confident with tools like git and cmake to be able to do that.

Sorry for me not RTFM :wink:, running ../deps.sh indeed solved it!
I think adding a requirement to CMake for libuv>=xx and googletest>=xy might be a cleaner idea, what do you think? And only use/suggest deps.sh if those are not already provided on the system.

I think it's worth it keeping under control the versions of the libraries shipped along with uvw.
It is also far easier to do with cmake, and this too is a great plus!! :+1:

Ok, allow me one last question :)
All tests compile and pass fine now.
Problem: linking uvw (well, libuv) to my custom program.

Note that libuv is part of the dependencies of the project and it will be cloned by executing the script deps.sh (see below for further details).
Because of that, users have not to install it to compile and execute the tests.

And

Then pass the proper -I argument to the compiler to add the src directory to the include paths.
Note that users are demanded to correctly setup include directories and libraries search paths for libuv.

So, the deps helped me to get the tests passing (dependencies built in deps/) but now leave me on my own to build my custom code.

Can you add the doc for this section with using the dependencies built in deps/ ?
or, that's why I've suggested the system-wide requirement of the dependencies above

I've added the system-wide requirements to the README file.
You should not use the dependencies in deps in your own project.
How you use uvw and how you decide to find and link libraries in your projects doesn't depend on uvw and I wouldn't know how to document it.
Anyway, uvw is a great source if you want to have an idea on how to proceed, so feel free to look at it and copy whatever you need.
It's an open source project after all. ;-)


"Permission denied" when trying to create a link to an app

I'm getting this error when trying to link my app to the Graphite plugin:
$ dokku graphite:link default tt2-service
/var/lib/dokku/plugins/available/docker-options/functions: line 82: /home/dokku/tt2-service/DOCKER_OPTIONS_DEPLOY: Permission denied

I've also tried with sudo but to no avail. I've checked the DOCKER_OPTIONS_BUILD file inside the app and it has the link declaration in there. Is this something I should be worried about?

I had same issue, when my plugin wasn't in correct folder. Try to delete plugin and install it directly in  plugin folder

Sounds like you changed the permissions on that file, which should be owned by dokku:dokku. Change it back via chown and you should be fine.


add btcec/package.json

Package hash is QmRoGBYPVMwxPyyEQuMYXBFbXPN1xRYag4CwSBvRWYrKxR
We will have to pin this somehow, as I am publishing from my laptop.

I am guess I also need to commit the .gx directory.

After running gx release, package btcec published with hash: Qmct7apXgRK66hqvdokDLtPuZWp2zWPtQ4P2gJjdbtsSS3

Only one small nitpick which isnt really an issue, in pubkey_test.go, an external package is imported. This won't affect gx imports, but its always good to make sure we're aware of that.

ouch, didn't check the test file imports.
Perhaps we should add a gxignore?

Yeah, we could do that. No need to add test code to the published package.

Should I bump the package version for the gxignore?
The hash will change.

Yeah, hash changing isn't big problem. You can bump it with gx version path.

gx release minor actually bumped it:
gx release patch
updated version to: 0.0.1
package btcec published with hash: QmWq5PJgAQKDWQerAijYUVKW8mN5MDatK5j7VMp8rizKQd
[gx-vendor-btcec 3c106f0] gx publish 0.0.1

We have pinned in an AWS node, so the packages should be reasonably available.

@vyzo cool, make sure to add the .gx/lastpubver to git and push it up here

Yup, it's commited; github interface seems to have clumped all the commits all together though.


crates.io namespace collision

crates.io and docs.rs list this to be the same crate as https://github.com/infincia/bip39-rs/, just a newer release of it. As far as I can tell they are two completely different implementations of bip39 with no relation to each other. This seems dangerous to me.
https://crates.io/crates/bip39/versions

Has anyone reached out to @steveatinfinca about this?

Has anyone reached out to @infincia about this?


Missing detection folder when reproducing frome detect_provided

Hi, I'm getting trouble in running ./run_mcmt.sh.  It produces the error
FileNotFoundError: [Errno 2] No such file or directory: '/home/xxx/AIC21-MTMC/datasets/detection/images/test/S06/c044/img1'

In fact, I did replace '/home/xxx' with the right root dir. However, I found out that there's no mention about detection folder to assign the new value for DET_SOURCE_DIR in config/aic_mcmt.yml

Do you have any suggestions to solve this problem?

Hi, do you solve this problem?


4.1.3 grid classes don't work with wicked_pdf's wkhtmltopdf 0.12.5

bootstrap_v4.0.0.pdf
bootstrap_v4.1.3.pdf
I can confirm that upgrading to bootstrap 4.1.3 breaks grid layouts in wicked_pdf, which uses wkhtmltopdf, which uses Qt WebKit.
This may just be that QTWebKit hasn't kept up with cutting edge browser technologies but thought I would at least start here to register the issue, as I did not find it in my due-dilligence searching before posting.
I'm not a front-end pro, so I can't point out the cause of the bug (that is if it something that can even be resolved in BS). All I can say is that I heard that in BS v4, the grid system was revamped to use flexbox. I thought maybe QTWebkit couldn't hande that, but it can in my example with 4.0.0, but breaks when switching to 4.1.3.
Here's my supporting info, if it helps. Note the reduced case with the showterm and the repo.
Best, and thanks for all the work you do.
Kevin

Operating system and version (Windows, macOS, Android, iOS, Win10 Mobile)

macOS 10.13.6

Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser)

wkhtmltopdf 0.12.4 (with patched qt)

Reduced test case and suggested fix using CodePen or JS Bin

http://showterm.io/b23bf674bdcdd1d929a8f
https://github.com/RudyOnRails/bootstrap_wkhtmltopdf_issue

/CC @twbs/css-review

Hi I've got the same issue, however I found something here and it's quite helpful:
https://stackoverflow.com/questions/19705880/converting-twitter-bootstrap-page-into-pdf-with-wkhtmltopdf-span-issue
, just use col-xs-n, not sure why this works but it's definitely worth a try.

@galoberlyn thanks for chiming in. back when I was dealing with this I recall coming across that post - but I don't think it solved the problem.
Anywho, I tried it again, and here's my new commit if you want to look at the new pdf generated. In summary, after looking at the docu, Bootstrap 4* does not implement col-xs-*/n anymore, so it didn't work; they just use col-*/n instead now, which I also tried locally and it doesn't solve the problem.

Yeah, these classes have been removed in Bootstrap 4. You'll have to use v3.x if you want these.

@XhmikosR why was this closed? It's still an issue...

Because it's an incompatibility with the tool you are using. V4 is a major
version and the classes were changed. Or did I miss something?
On Fri, Dec 28, 2018, 20:17 Kevin Musiorski<EMAIL_ADDRESS>wrote:

@XhmikosR https://github.com/XhmikosR why was this closed? It's still
an issue...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/twbs/bootstrap/issues/27642#issuecomment-450403503,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVVteh4X0IT3T_Umje4HzsImXBH8WhMks5u9mAdgaJpZM4YW9E8
.

Looking at the diff between v4.0.0 and v4.1.0, the only changes I see to the grid are the addition of some WebKit classes. See
https://github.com/twbs/bootstrap/compare/v4.1.0..v4.0.0#diff-af96efa4270ab5ad379f4965e12235a1. I’m assuming this was added when we tweaked some browser support somewhere? Could’ve been the addition of not dead?
https://github.com/twbs/bootstrap/commit/13b8b9f03aea4278863550ba19167622d651d2ec#diff-b9cfc7f2cdf78a7f4b91a753d10865a2

We 've upgraded to autoprefixer 8 which uses Browserlist 3.0 which has dropped support for older webkit engines.
You can solve this in 4.1 by changing this line:
https://github.com/twbs/bootstrap/blob/8f7bd419935adfcd53c471a0202083464800619e/package.json#L146
to "Chrome > 27",
or in 4.2 by changing this line: https://github.com/twbs/bootstrap/blob/c0dfda964fb6e283c778570ce0556e4f01e2817f/.browserslistrc#L6
to Chrome > 27
And rebuild the sass afterwards. We'll not be changing this by default, because we don't support Qt WebKit by default due to its limited usage and adding this would increase our default file size.
I hope I helped you out with that, @RudyOnRails

@MartijnCuppens yes, that is a very suffice and exact explanation of the reasoning for the issue. Thank you for the information and the proposed workaround.
Now I agree that this issue should remain closed by @XhmikosR since bootstrap >= 4.1's grid layout will not work with wicked_pdf, since wicked_pdf uses wkhtmltopdf which uses Qt WebKit, which is an older Webkit engine which is no longer supported by Browserslist 3.0 which is used by autoprefixer 8 which is the version of autoprefixer that bootstrap upgraded to in 4.1.
Happy new year 🎊and thanks for y'all's time.

Would be the same for bootstrap v4.6?
I'm trying to recompile it and it's not working for me.

This should fix it.
.row
{
    display: -webkit-box;
}

Credit goes to https://github.com/eyupatis


Suggestion: Nested routes

It would be nice if routes could be nested:
(defineRoute) => ({
   foo: defineBase("/foo", {
      bar: defineRoute("/bar") // Is actually /foo/bar
  }
})

Hey @iamnafets thanks for the sugggestion, this is something It's already on my roadmap for the lib


metric package structure optimization

When burying points in the registration center, you need to use metrics-api, but there is an extension of clusterFilter in metrics-api, which will cause circular dependency problems. Move the metrics-api related filter to the default package to solve.

Codecov Report

Merging #11576 (b8fe753) into 3.2 (551ff4a) will decrease coverage by 1.35%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.2   #11576      +/-   ##
============================================
- Coverage     68.70%   67.35%   -1.35%
+ Complexity      341        2     -339
============================================
  Files          3073     1508    -1565
  Lines        146713    62688   -84025
  Branches      24445     9189   -15256
============================================
- Hits         100799    42224   -58575
+ Misses        36866    16302   -20564
+ Partials       9048     4162    -4886

Impacted Files
Coverage Δ

...e/dubbo/remoting/transport/netty/NettyChannel.java
47.72% <0.00%> (-9.10%)
:arrow_down:

...ting/exchange/support/header/HeartbeatHandler.java
59.52% <0.00%> (-7.15%)
:arrow_down:

...oting/transport/netty4/NettyConnectionHandler.java
53.19% <0.00%> (-6.39%)
:arrow_down:

...rg/apache/dubbo/rpc/protocol/dubbo/DubboCodec.java
72.35% <0.00%> (-4.88%)
:arrow_down:

...bbo/rpc/cluster/support/ForkingClusterInvoker.java
80.95% <0.00%> (-4.77%)
:arrow_down:

.../apache/dubbo/remoting/transport/AbstractPeer.java
67.39% <0.00%> (-4.35%)
:arrow_down:

...mon/serialize/hessian2/Hessian2FactoryManager.java
38.77% <0.00%> (-4.09%)
:arrow_down:

...pache/dubbo/remoting/transport/AbstractServer.java
60.52% <0.00%> (-3.95%)
:arrow_down:

.../registry/zookeeper/ZookeeperServiceDiscovery.java
70.51% <0.00%> (-3.85%)
:arrow_down:

...moting/transport/netty4/NettyConnectionClient.java
75.48% <0.00%> (-2.59%)
:arrow_down:

... and 1591 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Create School Management Screens (School/Admin/Teacher/Student)

https://www.figma.com/file/O2igPzMS1fZPzjmOxlo6Mc/Lo-Fi-Wireframes?node-id=272%3A7756

/cib school-management

Branch 16-school-management created!


Charts reinserted into dashboards they were deleted from after save(overwrite)

Hi,
Reproduction steps:
Dashboard A and dashboard B had chart A in.
Delete chart A from dashboard B.
Modify chart A and save(overwrite)
Chart A then reappears in dashboard B.
I can see there is a link to dashboard B in the columns query_context and params:
....,"conditional_formatting":[],"extra_form_data":{},"dashboards":[11,42],"force":false,"result_format":"json......
Dashboard B has id 11 and Dashboard A has id 42.
The dashboard column does not include the chart A anywhere. Searched for the id in its json columns.
A workaround is just recreating the chart and not inserting into dashboard B.
This is a major security concern because there's no indication it happened. I need to manually review dashboards to look for data leakage.

This also blocks saving if the dashboard does not exist - Response "Dashboard does not exist".

I think this was fixed in https://github.com/apache/superset/pull/21497.  Let me know if you can still reproduce!

This was fixed, thanks.


Support for multiple hubs?

I have two HUE hubs in my network. As far as I can tell, this plugin supports only one at a time. Is this true? Or is there some workaround? What would it take to support multiple hubs?

Correct.  The Hue Lights plugin only supports 1 hub.  I believe the newest Hue hub model that works with Apple HomeKit supports at least 100 devices (compared to the limit of 50 for the last hub).  However, if you need to control multiple hubs, there is a workaround for the Hue Lights plugin.  See this Indigo Domotics forum post for instructions on how to do this.

Feature added in version 1.8.0


Individual min/max values for gauges

It should be possible to define max and min values for both gauges at once (as is) or for each gauge individualy.

I was making it worked, please get my pull request

Review of your pull request is already in progress, I wrote some comments for you. Lets discuss your solution over there.
Btw: please add "fixes #1" somewhere in your commit messages to automatically close this issue on merge.


Add session replay compose module dependency in sample app

What does this PR do?
Add session replay compose module dependency in sample app
Motivation
The sample app can not be compiled due to the lack of the dependency
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

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

Project coverage is 82.17%. Comparing base (c935d08) to head (6808f73).

Additional details and impacted files
@@                  Coverage Diff                   @@
##           feature/sr_compose    #2119      +/-   ##
======================================================
- Coverage               82.22%   82.17%   -0.05%
======================================================
  Files                     512      512
  Lines                   18273    18285      +12
  Branches                 2813     2814       +1
======================================================
+ Hits                    15024    15025       +1
- Misses                   2491     2500       +9
- Partials                  758      760       +2

see 29 files with indirect coverage changes


⚠ Bofrost.lu has degraded performance

In ae9c50b, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2069 ms

Resolved: Bofrost.lu performance has improved in f2d1b1d after 26 minutes.


create/update kubeconfig on cluster start

Can we create or update a kubeconfig  as part of the cluster start? We can have one cluster 2 contexts (kubeadmin & developer). If KUBECONFIG is set on the environment we can append the new files to the KUBECONFIG env. variable print its location to the crc output if the user would like to make that more permanent.  If KUBECONFIG is not set, we can set it to this new file and  $HOME/.kube/config.

@gorkem we do have a kubeconfig file ~/.crc/machines/crc/kubeconfig which have system:admin context, I think for developer and kubeadmin are the users and if we set the context on the current kubeconfig or using a new one it will based on the token which expire after ~24 hour iirc. Any specific reason we do need this?

I do not think anybody keeps CRC running for longer than 24 hours :), and crc start should update the token. I was not aware that we had a kubeconfig and can't recall a reference to it on  docs. I checked the file and the context is named admin. It should reflect that it is crc. Perhaps crc-admin and crc-developer is more descriptive.
There are multiple use cases that this can help with. For instance when I start CRC through tray and move to my IDE my cluster does not appear on the list until I a oc login. It allows me to use a tool like kubectx easily, especially if we can change the naming as descriptive as I explained above. It does shorten the path from crc start to odo push a couple of steps.

This is still valid

This is fixed by #1396 , closing it.


Simplified build, replaced ziget dependency with std.http and added option to download zls

I also added a zigup-init.sh script that downloads and installs the latest version of zigup

I originally just wanted to just add a zls downloader (kinda like rustup component add rust-analyzer), but then I bumped into an issue with ziget erroring instead of redirecting on code 302 Found. So I replaced it with std.http and it worked

Wow you've done alot here!
Note that there's currently an intermittent issue around TLS with std.http which is why I haven't switched to it yet (see https://github.com/marler8997/zigup/pull/75).
Really like that you've made a zigup-init.sh file, that's been on the TODO list for a while.  I don't know enough about ZLS and it's use cases to know whether zigup should also be managing it, I'll have to look into that more.  I might go through this PR and cherry-pick the commits I can take right away and then maybe we can look into the other parts more.

Here's how I'd like to see these changes organized.  First, let's get "zig fmt" out of the way (https://github.com/marler8997/zigup/pull/99 done).  Here's a list of PR's I would split this into:

PR: Misc Changes

Fix MisInfo
Add Manual Dispatch
remove deprecated names (std.build.Builder with std.Build)

PR: Reformat --help
PR: Add ZLS Installation
PR: Add zigup-init script

There is already a PR for switching to std.http (https://github.com/marler8997/zigup/pull/75).  If you feel like it's too much work to organize your changes in this way not a big deal, I can cherry-pick your commits and rebase and do the magic git foo myself, but, I thought I'd let you know what I'd like to see if you're up for it.

I'm not super experienced with github PRs, so I am not exactly sure how to split up my changes into multiple PRs. I've only done very minor contributions in the past

As I understand, to do that I have to branch from the old master and cherry pick commits into the new branches and then make PRs from those?

One problem I am running into trying to cherry-pick the "remove deprecated names" commits is that I did that alongside removing the ziget dependency and removing the first build step that fetched it. It should probably be separate from other misc changes

Created the zigup-init pr (#100)


i18n via resx with working tests

Hi,
I've refactored all those strings into .Net resource files (*.resx) and added some tests.
I've also added all the "de-DE" stuff for localization within the resource files.
What do you think? I'm open for suggestions...
If you like it: Go ahead and pull.
Cheers, Patrick

Have just merged your changes, many thanks for taking the time to improve the project.
Ben


Making Changes

Hello, I downloaded your  free template for personal use but everytime i make some changes on it and run the website later on ,it reverts all changes i had made and goes back to the original template kindly assist

@StephanieKWilliams are you still facing the issue ? If you still facing Make sure to change repository link after you fork/clone this template and commit the latest changes to your current repository.


Improve docs for TileMap world_to_map and map_to_world

i am targetting the 3.2 branch because it applies to that branch. afaik the tile maps are rewritten for version 4 so it probably won't fit there.
it took me some time to figure out why world_to_map and map_to_world do not work as i expected. planning to open a bug issue, i now stumbled over https://github.com/godotengine/godot/issues/37394 - seems to make sense to me, but it would be really good to have it documented.
per discussion in https://github.com/godotengine/godot/pull/38551
fixes #31663
fixes https://github.com/godotengine/godot/issues/37394

If you are giving code samples you need to format it with the [codeblock] tag (there are examples in the same file on how to use it). Also try to keep it one operation per line of code to make it easier to read for beginners.

thanks for the feedback. i will adjust this accordingly. i notice that the build failure is because [method to_global] does not find the method in the parent class. how do i reference a method in another class?

how do i reference a method in another class?

It should be [method ClassName.method_name].

i updated to using codeblock and fixed the method reference.

i think you are right, i changed "absolute" to "global". its important to have consistent language in documentation, thanks for noticing.

fixes #37394 and #37394

You referenced the same issue twice, is there another issue fixed by this change?
@groud Should this also be implemented in master? I don't know if you plan to change this API but I think there would still be something similar and local-only?

To be honest, I am not sure about the relevance of this change. There are plenty of methods returning results in local coordinates so I don't think those functions deserves a special treatment with detailed explanations about what local and global coordinates are.
I think the problem is more about the function naming, the function likely require a name change to avoid confusion but that's all to me.
If we don't want to break compatibility, I am ok to merge this change in 3.2 to reduce the confusion, but on master, I'd rather change the name of the functions instead. (something like map_to_local and local_to_map would work).

d'oh, the other issue i wanted to link is https://github.com/godotengine/godot/issues/31663
i think the naming is really misleading, therefore having the example in version 3 would be good imho. if you can rename it for version 4 that would make sense, and then the extra documentation would not be necessary. (no idea how you handle backwards compatibility, maybe the old names could stay in and call the new method until version 5 to give people time to upgrade)

I force-pushed an amend to clarify the commit message (it was "improve world_to_map and map_to_world", which is confusing as it sounds like it changes what the methods do).

Thanks!

thank YOU for the work you put into godot. only just starting with it, and its quite amazing!


Updated builder

I definitely explained the immutable builder incorrectly, so I created a PR. If you still don't like this design, reject it. I can go with the other method you mentioned.
I think this design could ease the total amount of code you need to maintain. I want to impact your project with as few lines as possible!
Some pros of this design:

already it has lead to less code, removing 26 lines
you no longer need to cast your listeners into CompositeListeners
I can reuse this code in the muti-threaded batch design because the BatchJob becomes practically immutable (it is still possible to update the compositeListeners, I could change this if desired)
There is no need to maintain a separate builder class for multi-threaded batch.

Coverage decreased (-0.2%) to 80.57% when pulling 372e5e1a5937105075fef5fc785c48621d4ab005 on ipropper:updatedBuilder into b842b9241f3977f12a31c6563b93806d998a0131 on j-easy:master.


Properties declared via constants become optional

In this example:
const StringRequired = {
    type: String,
    required: true
};

export default defineComponent({
     props: {
        foo: {
               type: String,
               required: true
        },
        xfoo: StringRequired,
    }
});

Property foo is of type string but property xfoo is of type string | undefined.

Add as const:
const StringRequired = {
    type: String,
    required: true
} as const;

Typescript infers your constant as type:
{
  type: String,
  required: boolean
}


Streaming responses

is there any way we could have streaming responses? just throwing this out here: https://sdk.vercel.ai/docs/concepts/streaming
opened on behalf of discord user cachho, message link

also need this


dl1_to_dl2 seems not to wait for dl1_merge

Because there is no dependency provided
sbatch --parsable --partition=short --job-name=dl1_dl2 --mem=60GB --account=dpps
    --error=/fefs/aswg/data/mc/DL2/AllSky/20221006_src3_test_nodes/TestingDataset/3476/node_theta_52.374_az_240.004_/dl1_dl2-%j.e
    --output=/fefs/aswg/data/mc/DL2/AllSky/20221006_src3_test_nodes/TestingDataset/3476/node_theta_52.374_az_240.004_/dl1_dl2-%j.o  --wrap="source
    /fefs/aswg/software/conda/etc/profile.d/conda.sh; conda activate lstchain-v0.9.6;
    lstchain_dl1_to_dl2 -f /fefs/aswg/data/mc/DL1/AllSky/20221006_src3_test_nodes/TestingDataset/dl1_20221006_src3_test_nodes_node_theta_52.374_az_240.004__merged.h5
    -p /fefs/aswg/data/models/AllSky/20221006_src3_test_nodes/3476 -o /fefs/aswg/data/mc/DL2/AllSky/20221006_src3_test_nodes/TestingDataset/3476/node_theta_52.374_az_240.004_
    -c /fefs/aswg/workspace/lstmcpipe/lstmcpipe/production_configs/20221006_src3_test_nodes/lstchain_config_2022-10-06.json"

Ah, I see... there are some dl1_merge that are not needed for the training indeed. However, how could a dl1_dl2 job be batched before that all the merge + training didn't finish ?! There are the two more time consuming stages!


Add contributing file

What are the changes?
Hey 🙋🏻♀, do you think is a good idea to add a contributing file with the steps in how to get started contributing to this repository?
I am adding here the recommendations from @davidespo

First commit should be a full ES example duplicated in es-main.py and main.py
Second commit should be full OS example in os-main.py and then modify main.py to use the OS client with minimal changes

Where would you expect to find this information?
It should have it's own file and be linked to the readme of the repository

Hi @laysauchoa yes!
We would love for all Open Source projects to have at least:

"Getting Started" guide -- how can I run this project
Contributing documentation -- what do I need to provide? any technical considerations? how do I build the project?

This I am a bit confused because I understand that every example here should have it is own README.md file that contains the Getting Started on it.

If you add a new project, you should add those guidelines in your README.md file.
If you are running one of the examples, those guidelines are expressed in the README.md of the example
If you are adding an example, then you should follow those commits guidelines suggested by @davidespo as well you need to add a README.md file with the commit changes and how to run.

I am adding more about the 3) here. As the other ones, should be added when an example is added.
I am not sure if you meant to bring those README.md to the CONTRIBUTING.rst or maybe we can link them. What is your suggestion, @jlprat?

My comment was more of a general comment than an specific one for this project.
As long as the contributing information is present in the repository, and it's easily accessible, I'm happy with the whichever way we choose :)


EnTK hangs when pilot enters Allocating stage

When trying to run my script on branch new_arch, I get the problem that the CUs enter Allocating state, but does not continue to Executing state. Running with RADICAL_PILOT_VERBOSE=DEBUG doesn't show anything out of the ordinary. I checked the json files and client logs do not show anything out of the ordinary either. This is most likely an issue on the RP layer, but I'm posting it here for anyone else using this EnTK branch.

Hey Ming, can you run it with RADICAL_PILOT_VERBOSE=debug and RADICAL_PILOT_AGENT_VERBOSE=DEBUG and send the log please.

Here's the client output allocating_hold.txt, and a zip of the session rp.session.radical.mingtha.017019.0005-pilot.0000.zip

Can you check the zip file again please ? its recursively zipped. Also, if
you are attaching a single file/log, it might be more convenient to use a
gist (gist.github.com).
On Sat, Aug 6, 2016 at 10:45 AM, mingtaiha<EMAIL_ADDRESS>wrote:

Here's the client output allocating_hold.txt
https://github.com/radical-cybertools/radical.ensemblemd/files/405050/allocating_hold.txt,
and a zip of the session rp.session.radical.mingtha.
017019.0005-pilot.0000.zip
https://github.com/radical-cybertools/radical.ensemblemd/files/405051/rp.session.radical.mingtha.017019.0005-pilot.0000.zip
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/radical-cybertools/radical.ensemblemd/issues/171#issuecomment-238026765,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFSWXjqFexuBrY52SNkgrzEnP7QL-Ltvks5qdJ4egaJpZM4JdPMO
.

Not recursive anymore
rp.session.radical.mingtha.017019.0005-pilot.0000.zip

I don't see anything wrong with logs and can't reproduce this error (not stampede). Bringing in reinforcements, @andre-merzky , do you have any ideas ?

Hi Vivek, Ming: this looks strange indeed.  Would you mind sending the session's json file?  What are the machines involved (client, agent)?   How was the run terminated?  What version of RP do you use?  Thanks!  Andre.

Here's the JSON file rp.session.radical.mingtha.017022.0001.json.zip. This is from a run which I ran today. It exhibits the same behavior.
The client is the RADICAL VM (<IP_ADDRESS>), and the target machine is xsede.stampede. I terminated the run manually. The pilot just hangs once the CUs reach the allocating stage.
I am currently using RP version 0.41, the version that EnTK installs its dependencies.

Hey @mingtaiha I will leave this ticket as is for now and revisit this once I send around a testing matrix before the next entk release.


(#493) Add documentation for the .skipAutoUninstall file

Description Of Changes
Adds documentation about how to use a .skipAutoUninstall file.
Motivation and Context
See #493
Testing

[x] I have previewed these changes using the Docker Container or another method before submitting this pull request.

Change Types Made

[ ] Minor documentation fix (typos etc.).
[x] Major documentation change (refactoring, reformatting or adding documentation to existing page).
[ ] New documentation page added.
[ ] The change I have made should have a video added, and I have raised an issue for this.

Issue #

Change Checklist

[ ] Requires a change to menu structure (top or left hand side)/
[ ] Menu structure has been updated

Related Issue
Fixes #493

LGTM! Thanks for adding that @TheCakeIsNaOH


ROADMAP: adding distribution format line item

Signed-off-by: Vincent Batts<EMAIL_ADDRESS>

/cc @jlb13

LGTM

LGTM


Without CUDA

Hi,
Can you please tell me how to run it without CUDA, as my machine doesn't support CUDA.

I think the original authors will help you to solve this problem.


Should only get flags if/when needed

Preloading flags even if you do not use them create a big overhead for no reason.

developer is dead

need this for my project

Hi @jason111neo ,
I don't know if it is true (https://github.com/Paldom/angular2-countrypicker/issues/3#issuecomment-332495186) so I fork this project and I will maintain this : https://github.com/guillaume-ro-fr/ngx-country-picker
Feel free to contribute !


Add testing for the sample memcached-operator metric

Signed-off-by: assafad<EMAIL_ADDRESS>
Description of the change:
This PR adds a test for the sample memcached-operator. The test validates that the new operator metric memcached_deployment_size_undesired_count_total exists and works as expected.
Motivation for the change:
We would like to implement observability concepts for the memcahced-operator, in order to have the operator in Deep Insights capability level. Then, we may use it as a reference in an observability best-practices tutorial in Operator-SDK documentation.
Checklist
If the pull request includes user-facing changes, extra documentation is required:

[ ] Add a new changelog fragment in changelog/fragments (see changelog/fragments/00-template.yaml)
[ ] Add or update relevant sections of the docs website in website/content/en/docs

/hold

/unhold

/retest

/retest

@everettraven Thank you for reviewing this PR. Anything else we miss to get it merged?


feat(alert): v1

Alert component V1
Description
This PR resolves #1061 by implementing the Alert component.
API
info
An alert may be formatted to display information.

warning
An alert may be formatted to display a warning message.

success
An alert may be formatted to display a successful message.

danger
An alert may be formatted to display a danger message.

attached
An Alert can be can be formatted to attach itself to other content.

Closable
An Alert that the user can choose to hide.

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS

NIT: I'm not sure that that info should be grey, I think that it should be blue actually... 🤔

@layershifter that was my first thought as well, but as the changes are implemented in the teams theme, then whatever are the requirements for that theme should be there. If the changes were in base theme, then we could have argue about what the colors should be. I wouldn't change this currently.


{Core} Extract error message from AdalError

Description
Reported in https://github.com/Azure/azure-cli/issues/15320
If AdalError is created directly with
raise AdalError('More than one token matches the criteria. The result is ambiguous.')

The original code fails to extract the error message and returns an empty string ''. Thus, the original error is lost.

Core


Button onPress/onLongPress trigger setState warning

I got yellow-warning setState on RN 0.16 when trigger onPress/onLongPress event.
  handleSubmit = () => {
    this.props.onSubmit(this.state)
  }
...
      <Button
        onPress={this.handleSubmit.bind(this)}
        onLongPress={this.handleSubmit.bind(this)}
        primary='googleRed'
        theme='dark'
        raised={true}
        value='Save'
      />

But this code below doesn't throw any warning.
      <TouchableOpacity onPress={this.handleSubmit.bind(this)}>
        <Text>Save</Text>
      </TouchableOpacity>

Btw, this button also show warning as same like react-native-material-design button do.

That's because you're doing it wrong I believe. You're calling the method when the component is being rendered, not when it's clicked:
<Button
        onPress={() => this.handleSubmit }
        onLongPress={() => this.handleSubmit }
        primary='googleRed'
        theme='dark'
        raised={true}
        value='Save'
      />

<Button onPress={() => this.handleSubmit }> doesn't trigger function handleSubmit.
It should be <Button onPress={() => this.handleSubmit() }>. Unfortunately, it still throw warning :/

Hmm, can I see your entire component? What Android API are you running? And are you using master or 3.1?

See this gist at line 91, 95, and 96 (LoginForm.js).
Tested on Android 4.1 (Genymotion) and Android 4.4 (real device). Using<EMAIL_ADDRESS>And I also had refactor this.props.onSubmit(this.state) (check my gist), but problem still occured.

@pewh can we see the code for this.props.onSubmit(usernameValue, passwordValue) - that function, also try commenting out that row and see if you still get the issue, then we know if it's that or not

I have figure out the problem. This is not RNMD issue, but my code.
function handleSubmit (props) {
  redirectToHomeRoute(props) // this will unmount current component
  this.setState({ foo: 'bar' }) // trigger setState warning
}

I'm just curios why there's no warning on <TouchableOpacity onPress={handleSubmit}>...</TouchableOpacity>. But at least all goes well. Thanks for the time.


Automatic haskell binary release with Github Actions

We should have this asap to make trident more easily accessible. See here for a possible workflow: https://vrom911.github.io/blog/github-actions-releases

Works now for everything except windows. There a problem with cabal-install seems to prevent successful builds.

Windows builds are working now as well.

Sadly I celebrated far to quickly on this one. Cabal does not produce self-contained executables, but links to libraries on the system where the binary file is executed. As these are usually missing, the executables do not work as they are now.

Here's what we would have to bundle with each executable. Plus some data-files probably?
ldd /home/clemens/.local/bin/trident
	linux-vdso.so.1 (0x00007ffc26ded000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007feda4a97000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007feda4a7d000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007feda4a5b000)
	librt.so.1 => /usr/lib/librt.so.1 (0x00007feda4a50000)
	libutil.so.1 => /usr/lib/libutil.so.1 (0x00007feda4a4b000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007feda4a45000)
	libgmp.so.10 => /usr/lib/libgmp.so.10 (0x00007feda49a3000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007feda47da000)
	/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007feda4c28000)

For reference: The error I get with the binary file is actually not related to the dependencies above (:thinking:), but to a missing data-file:
trident: /home/runner/.cabal/store/ghc-8.10.3/pandoc-citeproc-<IP_ADDRESS>-
cb894a372e5e093cc6d2b6c9a89c81e5657b13a289997b53dfe28685848c44ff/share/locales/locales-en-US.xml:
openBinaryFile: does not exist (No such file or directory)

For the record. I have removed the unix dependency, so the cabal freeze should work again, if that helps. Otherwise I think we can close this issue, right?

Shall I make a tag+release for the current v0.4.2? That would be the most simple way to test the functionality of the workflow.

Yes sorry I haven't done that myself

All issues with the binary executables seem to be sorted out now.


Is there a way to use ISO-2 country codes for ID instead of ISO-3 ?

As I saw in previous issue comments, you should be able to use iso-2 codes under properties.
But for me properties only contains name which is the full name and nothing else and id contains the ISO-3 code.
{(geographies, projection) => geographies.map(geography => {
    console.log('id', geography.id)
    console.log('properties', geography.properties)
})}

Am I missing something obvious? :) I'm using world-50m.json topojson.

Nevermind, it was my fault! Somehow the json was not loaded properly.


fix(package): update travis to PyPI release

:tada: This PR is included in version 0.0.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Regular expressions in the routing address

Hi guys,
We have a situation where domen.tld is used for regular email messages and for transaction messages across the route<EMAIL_ADDRESS>Is it possible to use a regular expression in the ruting address to route only the addresses that contain notifications<EMAIL_ADDRESS>Wildcard address<EMAIL_ADDRESS>makes us a redirection loop when the transaction message is sent to regular user<EMAIL_ADDRESS>back through the Postal.
[1] The server that performs the separation and routing (via Postfix) for the domain.tld is located on another machine in relation to Postal which currently has a wildcard route.
Let me know if you need more informations about this scenario.
Thank you for the great product!

I don't believe such a thing is currently possible, there is only the wildcard redirect<EMAIL_ADDRESS>We don't really use routes so not sure exactly what changes are needed but I don't believe it would be complicated to add.
If you add that feature yourself, do send a pull request.


containerservice example is outdated

Thank you for your contribution and feedback! Help us review faster by providing the following information:
This issue is a: (mark with an x)

[ ] bug report
[X] request for new sample
[X] documentation issue or request
[ ] regression (a behavior that used to work and stopped in a new release)

Further info:
the current example for managed container service is at: 2017-09-30
https://github.com/Azure-Samples/azure-sdk-for-go-samples/blob/master/containerservice/managedcluster.go#L13
while the latest release is: 2018-03-31
https://github.com/Azure/azure-sdk-for-go/blob/master/services/containerservice/mgmt/2018-03-31/containerservice/version.go#L24
Can we update the sample to the latest containerservice version?

Yes, we'll work on this, thanks!

@joshgav awesome 👍
thank you for your quick reply and all the best.


fix javadoc links to dependencies in other modules.

I figured out why the inter-module dependency links where not working in the javadocs - the module url is used as a base. I removed the module specific urls (so now the modules will inherit from the parent - appending their module name). This seems to fix the javadoc links.
I also defined the common javadoc plugin settings in the root pom.
I've published the updated docs to my forked gh-pages for testing. (https://bhamail.github.io/JGDMS/)
NOTE: need to point to peter's gh-base after merge. see property: <github.repo.basename> in root pom.

Awesome job Dan, thank you!

I think it is almost ready to flip the switch, and have the maven site published at the pfirmstone gh pages site (https://pfirmstone.github.io/JGDMS/). However, I can't seem to find the source for the current index page at that site. If we publish the maven site now I'm concerned it would destroy what you have there now. So I guess my question is what is left to keep/integrate/move from the old to the new site?

The index page is in the gh-pages branch here: https://github.com/pfirmstone/JGDMS/tree/gh-pages/index.html   It's a static page (not dynamically generated).
There's a table that summarises all relevant system properties and their effects, that's probably the most important section to keep.  Perhaps I can back it up for now and we can edit / merge it later?

Ah, I found 'em. I created a new "index" page that links to a copy of the "old-static-site" index.html page. I'll create a new PR with these changes. One concern I have is the old static api docs tree is about 116mb, and I'm not sure it's worth adding all that to the project (but then again, bytes are cheap nowadays...). More concerned about the static api docs going stale. Either way, it might be worth rewriting that static index page to link to public docs for same classes.

Sounds like a good opportunity for a clean up.
Some thoughts:

The Jini Standards are maintained by Apache River, we've only got
a copy, but it may be useful to retain, in case we're successful
getting this work integrated back into River.
In the release notes, there's a record of bug fixes, both
historical Jini sun bugs (incomplete) and River JIRA bug fixes,
I'd like to keep them for reference material, the code is littered
with Sun Bug ID's and these can provide clues, they probably
should be broken up and moved into each module they relate to.
The remaining documentation is out of date and likely to cause
confusion.

Maybe just link to the Jini Standards and leave the rest out?  I can
move the bug fixes to their relevant modules later.
On 24/07/2017 11:46 AM, Dan Rollo wrote:

Ah, I found 'em. I created a new "index" page that links to a copy of
the "old-static-site" index.html page. I'll create a new PR with these
changes. One concern I have is the old static api docs tree is about
116mb, and I'm not sure it's worth adding all that to the project (but
then again, bytes are cheap nowadays...). More concerned about the
static api docs going stale. Either way, it might be worth rewriting
that static index page to link to public docs for same classes.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/pfirmstone/JGDMS/pull/17#issuecomment-317299704,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALFlMiQyWA52M2qYP_4OtBt7vvW6PCgmks5sQ_dagaJpZM4OgVvG.

So I tried to publish to gh-pages with all the 'doc/api' tree and it choked during publishing, likely due to the ~6k count of files therein. Even without the command size limit publishing bug, that seems like a lot of files to download locally, etc. If there's no other source for those reference docs, maybe it's worth setting up a JGDMS-doc-api GitHub project with only those docs? That way the JGDMS project could avoid having to republish/maintain those, yet JGDMS could still link out them as needed.
PS: I forcibly removed the commit in which I added the 'doc/api' tree from my forked 'trunk'. Apologies if you pulled from it already. I created a branch 'old-static-site-no-api' that should have a clean history (and that's what I used to make the PR).

Would it help to separate out the Jini Standards into their own build?
On 24/07/2017 1:05 PM, Dan Rollo wrote:

So I tried to publish to gh-pages with all the 'doc/api' tree and it
choked during publishing, likely due to the ~6k count of files
therein. Even without the command size limit publishing bug, that
seems like a lot of files to download locally, etc. If there's no
other source for those reference docs, maybe it's worth setting up a
JGDMS-doc-api GitHub project with only those docs? That way the JGDMS
project could avoid having to republish/maintain those, yet JGDMS
could still link out them as needed.
PS: I forcibly removed the commit in which I added the 'doc/api' tree
from my forked 'trunk'. Apologies if you pulled from it already. I
created a branch 'old-static-site-no-api' that should have a clean
history (and that's what I used to make the PR).
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/pfirmstone/JGDMS/pull/17#issuecomment-317308321,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALFlMs0udn3lGL-ag60fxbPcrWW1Y6QKks5sRAoGgaJpZM4OgVvG.


[1.10] Tinkers Crafting station With Mekanism solar panel causes a crash

See https://github.com/MJRLegends/Space-Astronomy-2-Feedback-/issues/139
When trying to craft with the Basic solar panel in a crafting grid it crashes
Crash log for this issue https://pastebin.com/DALANh9h
Version (make sure you are on the latest version before reporting):
Forge: <IP_ADDRESS>2
Mekanism: <IP_ADDRESS>
Other relevant version: Mod pack: https://minecraft.curseforge.com/projects/space-astronomy-2

I thought this issue was fixed... Apparently not.
Altough, it could be that it's only fixed in 1.11 and above. Try turning off the item rendering option of Tinkers Construct, should be a workaround to this issue.

No problem

Slightly more info:
In the file tconstruct.cfg set S:renderInventoryInWorld to false.
Please let me know if that solves it ;)

will test in the next 30 mins :D

@thommy101 Yeah this fixes the issue

Glad to hear! :D

Is there any chance this could be fixed so this option can be true again?

We kinda dropping support for 1.10 (atleast for the non-crashing bugs), but as this is a crashing one, maybe we will backport the fix from 1.11 (or 1.12, don't remember where it's fixed)

Yeah i understand, and i understood and remembered the knowledge that it was just crash fixes mekansim were only doing for mc 1.10.2. thanks for your time

That stack trace is different from the old tinkers crash, which was fixed in 5243ac56b7b7b5d74338812d64dd539766219812
The crashlog doesn't actually mention Mekanism in the stack trace, so I'm not sure it's us this time.

@thiakil Maybe but all i know is its only crashing with the Mekanism basic solar panel

This thing? That has no custom rendering stuff (nor its ingredients), so definitely not us.
Furthermore, its crashing when drawing the tab at the top of the window.
-- Item being rendered --
Details:
    Item Type: slimeknights.tconstruct.tools.common.item.ItemBlockTable@119f3959

Bookshelf & CClib are both touching the render pipeline before it hits MC code, so it's likely their fault.

@thiakil Yeah but if thats the case why only that solar generator that is having the issue with it? The problem i got is tinkers isnt updated MC 1.10.2....

How do you expect us to know what's causing it, when it's not crashing in our code?

Im trying to work it out now to what mod is causing the issue :D

It doesnt seem to be either codechicken lib or bookshelf mod so i will do some testing and find out what mod it is

Ok so it doesnt seem to be mekanism @thommy101 @thiakil Thanks for your time with this issue :D


deleteFailedPayment offline?

Background
Following this issue: https://github.com/lightningnetwork/lnd/issues/5297 I'm trying to clean up the db so that lnd doesn't make 1h to start.
I have run the command deleteFailedPayment to try to clean up the bbolt database. following deleteFailedPayment rpc, the node has been stuck for 2h, and the db size hasn't change during this time (looking at a watch du). After the 2 hours I have restarted the node and it is still working, but the db size hadn't changed.
would it be possible to run this command offline (with chantools maybe)?
Maybe the implementation of the deleteFailedPayment is just not made for db that are 6GB+ in size?
The node currently run in production so it's hard to make test on it.
Your environment

version of lnd: 0.12.1
which operating system (uname -a on *Nix). linux / gcloud
version of btcd, bitcoind, or other backend. bitcoind

Don't run this command on 0.12.1! it will delete all your payments not just failed ones

Also, deleting contents of a bbolt DB does not reduce its file size. Only after compaction is the reserved free space actually freed up. I guess because it was one huge transaction to delete all payments it was rolled back (or not committed) when you aborted. Chantools doesn't have that functionality yet, no.

Also, deleting contents of a bbolt DB does not reduce its file size.

it should actually increase it right?

I guess because it was one huge transaction to delete all payments it was rolled back (or not committed) when you aborted. Chantools doesn't have that functionality yet, no.

I don't know much about bbolt. it uses transaction to be able to atomically make a change in the db across different key/pair?

Don't run this command on 0.12.1! it will delete all your payments not just failed ones

ok. I though 0.13 was only adding the option to deleted failed htlc payment (instead of "global" failed payment). would not have been a bug issue on my side because payment upon completion are stored in another db but still good to know.

I think the proper solution would be to add batching to the deletion so not everything happens in a huge DB transaction.
In the meantime, to fix your particular situation: Could you try adding the failed_htlcs_only: true flag (so basically calling the RPC with {failed_payments_only: true, failed_htlcs_only: true} first?
That removes less data and might complete in a reasonable time. And after that call succeeds, try again with only the failed_payments_only flag.
In the meantime I'm going to look into adding batched deletes.

the main hurdle I think is that this command is working on lnd 0.13 only? installing a pre-released version in production with a single point of failure (we don't have a redundant lnd just yet in our infra) seems risky

Ah yes, I keep forgetting that...
Okay, I went ahead and created a version of the DeletePayments method that does batched deletes. This'll be in v0.13.1-beta (hopefully) for future users (probably won't make it into 0.13.0 itself).
I also went ahead and back-ported this onto a 0.12.1-beta branch and added it as an offline command to chantools (see new release https://github.com/guggero/chantools/releases/tag/v0.8.6).
TBH I don't know what is riskier at this point, running 0.13 or chantools against your mainnet node :sweat_smile:
I did test this new chantools deletepayments method on a fresh 0.12.1-beta node and it seems to work...
If you're willing to give this a try, here is what I would recommend:

Stop lnd
Create a backup of the channel.db
Run chantools deletepayments --failedonly --channeldb <channel.db> (drop the --failedonly depending on your needs). NOTE: This will only work for lnd v0.12.1-beta!
Run chantools compactdb ...
Start lnd again. If you see any errors, please DM me on Slack and DO NOT just revert to using the backup channel.db.

closing this issue now that chantools have an option for it