Add Usage Header on Cloud Vision Client

This adds the usage tracker header to the ImageAnnotatorClient of the vision autoconfiguration.
Fixes #1238.

Codecov Report

Merging #1239 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1239      +/-   ##
============================================
+ Coverage     67.44%   67.45%   +<.01%
  Complexity     1313     1313
============================================
  Files           186      186
  Lines          5382     5383       +1
  Branches        547      547
============================================
+ Hits           3630     3631       +1
  Misses         1520     1520
  Partials        232      232

Flag
Coverage Δ
Complexity Δ

#unittests
67.45% <100%> (ø)
1313 <0> (ø)
:arrow_down:

Impacted Files
Coverage Δ
Complexity Δ

...configure/vision/CloudVisionAutoConfiguration.java
80% <100%> (+2.22%)
2 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Use generics in RunGetQueryForSchema

Description
Look at

[ ] pkg/search/postgres/common.go
[ ] tools/generate-helpers/pg-table-bindings/store.go.tpl

Testing Performed
CI

/cc @mtodor @misberner @rhybrillou

/retest

/retest

Merging as failures are known issue https://issues.redhat.com/browse/ROX-13242


Component with no props causes doc gen to halt without error - updated see comment

Description
If you have a component with no props, common when using mixins, or an empty props, ie {}, then the gen crashes - using the online vuese explorer reports a "TypeError: Cannot read property 'content' of null" error.
Reproduce
To reproduce use this very basic template
<script>
  export default {
    name: 'BugShowcase',
   }
</script>

or this one
<script>
  export default {
    name: 'BugShowcase',
	props: {  },
   }
</script>

This "fixes" it
<script>
  export default {
    name: 'BugShowcase',
	props: {
                fixedIt: { type: Boolean }
	    },
   }
</script>

Expected behavior
Should not crash, and if it does this should be reported when running vuese gen.
The documentation should exclude the props section if the component has no props or have a props section with "no props"
Version Info
$ npm view vuese version
1.4.7

$ npm view @vuese/cli version
2.1.1

Additional information
This primarily occurs when mixins are used so all properties are abstracted out

Just stumbled across this - it's not an absence of props because this doesn't break
<script>
  export default {
        name: 'BugShowcase',
        methods: {
            // @vuese
            dummymethod() {
                // Do something ...
            },
        }
    }
</script>

but this does
<script>
  export default {
        name: 'BugShowcase',
        methods: {
            dummymethod() {
                // Do something ...
            },
        }
    }
</script>

It's an absence of things to document that seems to be the issue. ie in the case above there are no props and no methods it crashed, ask for the method to be documented and it works.

Hello, if Vuese does not detect any props, events, and methods(using @vuese) in your component, Vuese will not generate documents for it, which is the expected behavior, and I think I should write it clearly on the document.

Hi, thanks for quick reply, I think it should generate a document, it's a component after all even if it has no methods or properties. The component name and description are as important as methods and properties.
Right now, it doesn't just not generate a document it crashes the gen process and doesn't generate any future documents.
The following is a valid component and Vuese is capable of documenting it
<template>
  Some super important markup needed on multiple pages
</template>

<script>
    // Use this component on every page where you want the  super important markup - ad tracking, or logo or anything
    export default {
      name: 'MarkupOnly',
    }
</script>

Vuese should document that component as the following
MarkupOnly
Use this component on every page where you want the  super important markup - ad tracking, or logo or anything

OK, diving into the code and if I use the markup as follows it will generate the docs - I think that
a. this should be the default behaviour
b. even if it isn't then vuese gen should highlight the fact it's been skipped.
<script>
  // @vuese
  export default {
        name: 'BugShowcase',
  }
</script>

@roxburghm

a. this should be the default behaviour

If it becomes the default behavior, this will be a breaking change.

b. even if it isn't then vuese gen should highlight the fact it's been skipped.

Yes, this is an improvement that should be done.

I have added the default behavior to the document.
https://vuese.org/cli/#precautions


Add Target Status Backend Endpoint

Add an endpoint on the back-end to check in on all target servers and bring back a JSON payload with each target's status (Up or down)

Resolved in #462 and #463


install editor

This is needed to (cleanly) build a Flatpak of the editor

I think I'll save this for the meson build system in #93


Enable oslc output of shader-wide metadata, and OSLQuery reading it properly

Contributed by Steve Agland from Animal Logic.   So sorry for the delay, Steve.

BTW, I consider this reviewed (by me), I'm just posting it as a PR so that people "watching" the project are aware that it's getting added.


Read issue - Parquet/Avro schema mismatch

Hi,
While using ADAM 0.28.0 (from tar.gz) to transformAlignments and Cannoli 0.6 to run Bowtie2 on, I got the following error :
Exception in thread "main" org.apache.spark.SparkException: Job aborted.
	at org.apache.spark.internal.io.SparkHadoopWriter$.write(SparkHadoopWriter.scala:100)
	at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1.apply$mcV$sp(PairRDDFunctions.scala:1083)
	at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1.apply(PairRDDFunctions.scala:1081)
	at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1.apply(PairRDDFunctions.scala:1081)
	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)
	at org.apache.spark.rdd.RDD.withScope(RDD.scala:363)
	at org.apache.spark.rdd.PairRDDFunctions.saveAsNewAPIHadoopDataset(PairRDDFunctions.scala:1081)
	at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopFile$2.apply$mcV$sp(PairRDDFunctions.scala:1000)
	at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopFile$2.apply(PairRDDFunctions.scala:991)
	at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopFile$2.apply(PairRDDFunctions.scala:991)
	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:112)
	at org.apache.spark.rdd.RDD.withScope(RDD.scala:363)
	at org.apache.spark.rdd.PairRDDFunctions.saveAsNewAPIHadoopFile(PairRDDFunctions.scala:991)
	at org.bdgenomics.adam.rdd.AvroGenomicDataset$$anonfun$saveRddAsParquet$1.apply$mcV$sp(GenomicDataset.scala:3816)
	at org.bdgenomics.adam.rdd.AvroGenomicDataset$$anonfun$saveRddAsParquet$1.apply(GenomicDataset.scala:3800)
	at org.bdgenomics.adam.rdd.AvroGenomicDataset$$anonfun$saveRddAsParquet$1.apply(GenomicDataset.scala:3800)
	at scala.Option.fold(Option.scala:158)
	at org.apache.spark.rdd.Timer.time(Timer.scala:48)
	at org.bdgenomics.adam.rdd.AvroGenomicDataset.saveRddAsParquet(GenomicDataset.scala:3800)
	at org.bdgenomics.adam.rdd.AvroGenomicDataset.saveAsParquet(GenomicDataset.scala:3882)
	at org.bdgenomics.adam.rdd.GenomicDataset$class.saveAsParquet(GenomicDataset.scala:322)
	at org.bdgenomics.adam.rdd.AvroGenomicDataset.saveAsParquet(GenomicDataset.scala:3771)
	at org.bdgenomics.adam.rdd.read.AlignmentRecordDataset.save(AlignmentRecordDataset.scala:605)
	at org.bdgenomics.cannoli.cli.Bowtie2.run(Bowtie2.scala:74)
	at org.bdgenomics.utils.cli.BDGSparkCommand$class.run(BDGCommand.scala:55)
	at org.bdgenomics.cannoli.cli.Bowtie2.run(Bowtie2.scala:67)
	at org.bdgenomics.cannoli.cli.Cannoli.apply(Cannoli.scala:111)
	at org.bdgenomics.cannoli.cli.Cannoli$.main(Cannoli.scala:47)
	at org.bdgenomics.cannoli.cli.Cannoli.main(Cannoli.scala)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:52)
	at org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:849)
	at org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:167)
	at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:195)
	at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:86)
	at org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:924)
	at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:933)
	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Caused by: org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 0.0 failed 4 times, most recent failure: Lost task 0.3 in stage 0.0 (TID 3, <IP_ADDRESS>, executor 0): org.apache.parquet.io.InvalidRecordException: Parquet/Avro schema mismatch. Avro field 'referenceName' not found.
	at org.apache.parquet.avro.AvroIndexedRecordConverter.getAvroField(AvroIndexedRecordConverter.java:135)
	at org.apache.parquet.avro.AvroIndexedRecordConverter.<init>(AvroIndexedRecordConverter.java:91)
	at org.apache.parquet.avro.AvroIndexedRecordConverter.<init>(AvroIndexedRecordConverter.java:66)
	at org.apache.parquet.avro.AvroCompatRecordMaterializer.<init>(AvroCompatRecordMaterializer.java:34)
	at org.apache.parquet.avro.AvroReadSupport.newCompatMaterializer(AvroReadSupport.java:144)
	at org.apache.parquet.avro.AvroReadSupport.prepareForRead(AvroReadSupport.java:136)
	at org.apache.parquet.hadoop.InternalParquetRecordReader.initialize(InternalParquetRecordReader.java:204)
	at org.apache.parquet.hadoop.ParquetRecordReader.initializeInternalReader(ParquetRecordReader.java:182)
	at org.apache.parquet.hadoop.ParquetRecordReader.initialize(ParquetRecordReader.java:140)
	at org.apache.spark.rdd.NewHadoopRDD$$anon$1.liftedTree1$1(NewHadoopRDD.scala:199)
	at org.apache.spark.rdd.NewHadoopRDD$$anon$1.<init>(NewHadoopRDD.scala:196)
	at org.apache.spark.rdd.NewHadoopRDD.compute(NewHadoopRDD.scala:151)
	at org.apache.spark.rdd.NewHadoopRDD.compute(NewHadoopRDD.scala:70)
	at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:324)
	at org.apache.spark.rdd.RDD.iterator(RDD.scala:288)
	at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:52)
	at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:324)
	at org.apache.spark.rdd.RDD.iterator(RDD.scala:288)
	at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:52)
	at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:324)
	at org.apache.spark.rdd.RDD.iterator(RDD.scala:288)
	at org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:52)
	at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:324)
	at org.apache.spark.rdd.RDD.iterator(RDD.scala:288)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
	at org.apache.spark.scheduler.Task.run(Task.scala:121)
	at org.apache.spark.executor.Executor$TaskRunner$$anonfun$10.apply(Executor.scala:408)
	at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1360)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:414)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

This happened with Cannoli 0.6.0, 0.5.0, and the current master version as well. When I open the alignment file with PySpark, I can see that this field indeed exists, although contains only nulls. Opening the file with ADAM (countKmers) worked.
I run the process using :
bash cannoli-submit bowtie2 -executable /bowtie2/bowtie2-<IP_ADDRESS>-linux-x86_64/bowtie2 -index /hg19
The input process was a fastq file -> transformAlignments -> Cannoli.
Help will be greatly appreciated,
Ben

Hello @benraha, thank you for submitting this issue.
To clarify, you're doing something like this?
$ adam-submit transformAlignments -paired_fq sample_2.fq sample_1.fq sample.alignments.adam
$ cannoli-submit bowtie2 ... sample.alignments.adam

It may be that we have a incomplete or unclear documentation problem, at least with the command line interface for Cannoli.
From an API point of view (and when using the Scala shell) it might be more clear that bowtie2 is a transformation function that goes from FragmentDataset to AlignmentRecordDataset.
class Bowtie2(val args: Bowtie2Args, sc: SparkContext)
  extends CannoliFn[FragmentDataset, AlignmentRecordDataset](sc) with Logging {

  override def apply(fragments: FragmentDataset): AlignmentRecordDataset = { ... }

A Fragment in our schema is defined as the DNA fragment that was targeted by the sequencer, resulting in one or more reads.  Most often this encapsulates the two paired reads in paired end read sequencing.  A FragmentDataset can be created from one file in interleaved FASTQ format, two files of paired reads in FASTQ format, or from any of the alignment formats (SAM/BAM/CRAM) by calling AlignmentDataset.toFragments().
The bowtie2 command line operation in Cannoli accepts one file in interleaved FASTQ format or a Parquet directory of Fragments as INPUT.  Is the error you are seeing because the Parquet directory is AlignmentRecords instead of Fragments?
If so, then instead of the transformAlignments call you can use the interleaveFastq Cannoli command line operation to get a Parquet directory of Fragments
$ cannoli-submit interleaveFastq sample_1.fq sample_2.fq sample.fragments.adam

or something like the following in adam-shell or cannoli-shell
import org.bdgenomics.adam.rdd.ADAMContext._
val alignments = sc.loadAlignments(...) // FASTQ, SAM/BAM/CRAM, etc.
val fragments = alignments.toFragments()
fragments.saveAsParquet("sample.fragments.adam")

Or all that said it could be that I messed something up when cutting all the releases around the ADAM 0.28.0 release; there are several repos that need to be released before an ADAM release and several others that go after an ADAM release, and it is sometimes difficult to coordinate the whole lot.

Hi,
Thanks for the quick response :)
This was indeed the problem - I misunderstood that, and once I changed to write Fragments, everything worked as expected.
Maybe adding it in a more clear way in the documentation can help others not run into this, although now I notice that it does say pipe fragments in the input documentation of Bowtie2.
Thanks!
Ben

Maybe adding it in a more clear way in the documentation can help others not run into this

Yes, sadly I haven't found time to get to https://github.com/bigdatagenomics/cannoli/issues/91 or to write up a Cannoli manuscript yet . . . perhaps after the BOSC conference this month


Add support for driver licenses

The BarcodeDriverLicense already exists, but parsing the barcodes was not implemented. This PR adds the parsing implementation so that driver license barcodes can be decoded properly, as documented in the README.
This parsing is based on version 10 of the AAMVA spec, released in 2020. It should be backward compatible to earlier versions.

Jurisdiction is useful if we wanna keep a map of the values - it identifies the state/province/other issuing authority of the ID a bit more reliably than the addressState. AAMVA Version and Jurisdiction Version are useful to see which revisions of the spec are in use by the given ID, though that's mostly informational rather than helpful in general practice. entries identifies the number of AAMVA fields encoded in the ID, which is probably not strictly useful, but it's in the way of what follows, so I parsed it anyway. Any of the fields can be added, but I didn't want to change public shapes.

Nice! Version 0.4.0 with this change is published. Thank you again for your contribution!


setError not working properly in Angular

Is this a regression?
No
Description
Application crash when calling the store set error through a service function called updateErrorState.
The error is caught properly as a http error response, that we are making on purpose on the backend side (response.status = 500).
We also tested the set error using a string as parameter and also fails with the same error.
this.sessionStore.setError('same error');
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
ERROR TypeError: Cannot read properties of undefined (reading 'updateErrorState')
    at CatchSubscriber.handleError [as selector] (http.service.ts:154:25)
    at CatchSubscriber.error (catchError.js:27:1)
    at TimeoutWithSubscriber._error (Subscriber.js:75:1)
    at TimeoutWithSubscriber.error (Subscriber.js:55:1)
    at MapSubscriber._error (Subscriber.js:75:1)
    at MapSubscriber.error (Subscriber.js:55:1)
    at FilterSubscriber._error (Subscriber.js:75:1)
    at FilterSubscriber.error (Subscriber.js:55:1)
    at MergeMapSubscriber.notifyError (innerSubscribe.js:45:1)
    at SimpleInnerSubscriber._error (innerSubscribe.js:13:1)

Please provide the environment you discovered this bug in
"@angular/animations": "~12.1.3",
    "@angular/common": "~12.1.3",
    "@angular/compiler": "~12.1.3",
    "@angular/core": "~12.1.3",
    "@angular/forms": "~12.1.3",
    "@angular/localize": "~12.1.3",
    "@angular/platform-browser": "~12.1.3",
    "@angular/platform-browser-dynamic": "~12.1.3",
    "@angular/router": "~12.1.3",
    "@datorama/akita": "^6.2.1",
    "@datorama/akita-ng-entity-service": "^6.1.1",
    "@ng-bootstrap/ng-bootstrap": "^10.0.0",
    "bootstrap": "^4.5.0",
    "rxjs": "~6.6.0",
    "swiper": "^8.0.5",
    "tslib": "^2.0.0",
    "zone.js": "~0.11.4"

Anything else?
No response
Do you want to create a pull request?
No

AGGHhh!!!
Needs to be in the subscription as error callback and not inside the pipe catcherror of the observable definition.


Add prometheus PVC clean workaround

Which issue this PR addresses:
Fixes https://msazure.visualstudio.com/AzureRedHatOpenShift/_workitems/edit/9450186/
What this PR does / why we need it:
Introduce workaround to remove stale prometheus-db PVCs
left after switch to emptydrive as store by disabling featureGate
PersistentPrometheus.
Signed-off-by: Petr Kotas<EMAIL_ADDRESS>Test plan for issue:
Added unit tests with mocks.
Is there any documentation that needs to be updated for this PR?
Provided detailed comment in the workaround header.

@jim-minter can I ask you for quick opinion?
I am considering whether the solution for IsRequired is good enough for now. I am aware that it is inconsistent with the rest, however I do not want to introduce bigger change in this PR.
I believe this is the first workaround that also checks the cluster state, but definitely not the last last. Therefore for the followup work I am considering one of the following solutions:
func (c *cleanPromPVC) IsRequired() bool {
	if c.clusterVersion.Lt(constantWorkaroundVersion) {
		return false
	}

	return !c.aroCluster.Spec.Features.PersistentPrometheus
}

Where all items that are necessary for the decision are used to create new cleanPromPVC.
This makes IsRequired fast to execute without too much points of failure. But, it puts more stress on workaround_controller.go which unnecessarily bloats because of workaround dependencies.
or
func (c *cleanPromPVC) IsRequired(ctx context.Context) bool {
	if c.clusterVersion.Lt(contantWorkaroundVersion) {
		// cluster version is most common denominator, therefore it can be passed when creating workaround.
		return false
	}

	aroCluster, err := c.arocli.AroV1alpha1().Clusters().Get(ctx, arov1alpha1.SingletonClusterName, metav1.GetOptions{})
	if err != nil {
		return false
	}
	return !aroCluster.Spec.Features.PersistentPrometheus
}

This solution makes checks isolated and simpler to remove or edit. It also makes IsRequired more error prone.
My personal opinion is the second solution, because it makes the code more understandable.
Thank you for the feedback.

/azp run e2e

/azp run e2e

Fixed documentation header.

Reacted to the comments, fixed tests.

/azp run e2e


[Tracking issue] Extensive test set verifing if cheatable starknet behaviour is consisten with starknet behaviour

Things to consider:

[ ] #237
[ ] nonces
[ ] block numbers

Feel free to create separate issues from each of the checkbox

Taking all of these, will publish draft sometime later


More tuning bug fixds

Another lightray update
Bug fix in the TraceModel callback

@wbenoit26 gonna merge this in - hoping it's the last change before tuning gets going


npm script "preview" in example seems outdated

$ pnpm install
$ pnpm run build
$ cd examples/react/basic
$ pnpm run preview
error when starting preview server:
Error: The directory "dist" does not exist. Did you build your project?

Perhaps we should add a "build" script, or simply remove this script? pnpm run dev works as expected.

Removing it makes sense. Our samples shouldn't be used as templates for full applications anyways, just as live usage examples.


Unhandled rejection TypeError: Cannot read property 'draft_reportback_submission' of undefined

BUG
Current Behavior

We have an specific legacy bug. It happens when Northstar-js responds with API response is false to Campaigns when attempting to post a signup for an user. We suppress further Blink retries when we detect this error, under normal circumstances. Because of this bug, we are not telling Blink to stop retrying when this legacy bug occurs.
Unhandled rejection TypeError: Cannot read property 'draft_reportback_submission' of undefined is triggered when a renderEndConversationWithErrorMsg reply is executed and the request is from Conversations.

2017-10-05T19:11:32.439203+00:00 app[web.1]: info: executing command: errorOccurred,[object Object]
2017-10-05T19:11:32.442208+00:00 app[web.1]: Unhandled rejection TypeError: Cannot read property 'draft_reportback_submission' of undefined
2017-10-05T19:11:32.442209+00:00 app[web.1]:     at formatSignupResponse (/app/lib/helpers.js:264:29)
2017-10-05T19:11:32.442210+00:00 app[web.1]:     at Object.module.exports.sendResponseForSignup (/app/lib/helpers.js:303:13)
2017-10-05T19:11:32.442210+00:00 app[web.1]:     at Command.execute (/app/lib/conversation/replies.js:75:22)
2017-10-05T19:11:32.442211+00:00 app[web.1]:     at Function.execute (/app/lib/conversation/reply-dispatcher.js:9:20)
2017-10-05T19:11:32.442211+00:00 app[web.1]:     at Object.handlePhoenixPostError (/app/lib/helpers.js:22:28)
2017-10-05T19:11:32.442212+00:00 app[web.1]:     at Signup.post.then.catch.err (/app/lib/middleware/signup-create.js:19:29)
2017-10-05T19:11:32.442212+00:00 app[web.1]:     at wrapped (/app/node_modules/newrelic/lib/transaction/tracer/index.js:184:28)
2017-10-05T19:11:32.442215+00:00 app[web.1]:     at Promise.linkTransaction (/app/node_modules/newrelic/lib/instrumentation/promise.js:295:65)
2017-10-05T19:11:32.442215+00:00 app[web.1]:     at Promise.wrapped (/app/node_modules/newrelic/lib/transaction/tracer/index.js:184:28)
2017-10-05T19:11:32.442216+00:00 app[web.1]:     at __NR_wrappedThenHandler (/app/node_modules/newrelic/lib/instrumentation/promise.js:471:26)
2017-10-05T19:11:32.442216+00:00 app[web.1]:     at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)
2017-10-05T19:11:32.442217+00:00 app[web.1]:     at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)
2017-10-05T19:11:32.442217+00:00 app[web.1]:     at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)
2017-10-05T19:11:32.442218+00:00 app[web.1]:     at Promise._settlePromise0 (/app/node_modules/bluebird/js/release/promise.js:614:10)
2017-10-05T19:11:32.442218+00:00 app[web.1]:     at Promise._settlePromises (/app/node_modules/bluebird/js/release/promise.js:689:18)
2017-10-05T19:11:32.442218+00:00 app[web.1]:     at Async._drainQueue (/app/node_modules/bluebird/js/release/async.js:133:16)
2017-10-05T19:11:32.442219+00:00 app[web.1]:     at Async._drainQueues (/app/node_modules/bluebird/js/release/async.js:143:10)
2017-10-05T19:11:32.442219+00:00 app[web.1]:     at Immediate.Async.drainQueues (/app/node_modules/bluebird/js/release/async.js:17:14)
2017-10-05T19:11:32.442220+00:00 app[web.1]:     at Immediate.wrapped (/app/node_modules/newrelic/lib/transaction/tracer/index.js:184:28)
2017-10-05T19:11:32.442221+00:00 app[web.1]:     at runCallback (timers.js:672:20)
2017-10-05T19:11:32.442221+00:00 app[web.1]:     at tryOnImmediate (timers.js:645:5)
2017-10-05T19:11:32.442221+00:00 app[web.1]:     at processImmediate [as _immediateCallback] (timers.js:617:5)

Desired Behavior

Should respond back with error to Conversations when it sends an errorOcurred reply.

Why This Matters
When enough of these happen, it hangups the Heroku Dyno and eventually all requests get the 503 H12 error.
Related Issues
It's worth it to look up for Uncaught Exceptions that may be causing #961.

@DFurnes would implementing #970 remove the headache of this "legacy" bug?

Yes, we noticed this bug too when were testing Gambit at "Gimlets and Gambit". Here's what I've seen in Blink:
response_status_text="Internal Server Error" {"message":"req.campaign.templates.errorOccurred undefined"}

Message Example:
{
    "ToCountry": "US",
    "ToState": "FL",
    "SmsMessageSid": "SM50e7e6a49a066653afbc751d5fa140ff",
    "NumMedia": "0",
    "ToCity": "MIAMI",
    "FromZip": "22209",
    "SmsSid": "SM50e7e6a49a066653afbc751d5fa140ff",
    "FromState": "DC",
    "SmsStatus": "received",
    "FromCity": "WASHINGTON",
    "Body": "This is a text 🦂",
    "FromCountry": "US",
    "To": "+1305CENSORED",
    "MessagingServiceSid": "MGd8b9511cf6b463b673a6ce660a08ef3d",
    "ToZip": "33016",
    "NumSegments": "1",
    "MessageSid": "SM50e7e6a49a066653afbc751d5fa140ff",
    "AccountSid": "AC54a6683e7e5a2232aa9679003e84a685",
    "From": "+1202CENSORED",
    "ApiVersion": "2010-04-01"
  }

Not related to the emoji BTW>


Issue while starting Python,Spark and Gunicorn

I am trying to restart Python, gunicorn and spark as soon as the Capistrano completes the deployment but I am getting the below error. However, When I tried to execute these commands on the server by ssh then it is working fine.
Function in deploy.rb:
desc 'Restart django'
    task :restart_django do
      on roles(:django), in: :sequence, wait: 5 do
        within "#{fetch(:deploy_to)}/current/" do
          execute "cd #{fetch(:deploy_to)}/current/ &&  source bin/activate "
          execute "sudo /etc/init.d/supervisor stop && sudo fuser -k 8000/tcp && pkill -f python && pkill -f gunicorn && pkill -f spark"
#execute " cd /home/ubuntu/code/spark-2.1.0-bin-hadoop2.7/sbin/ && ./start-master.sh && ./start-slave.sh spark://<IP_ADDRESS>:7077;"
          #execute "sleep 20"
          #execute "cd /home/ubuntu/code/ && nohup gunicorn example.wsgi:application --name example --workers 4 &"
        end
      end
  end

Deploy Output:
cap dev deploy:restart_django
Using airbrussh format.
Verbose output is being written to log/capistrano.log.
00:00 deploy:restart_django
      01 cd /home/ubuntu/code/ &&  source bin/activate
    ✔ 01<EMAIL_ADDRESS>2.109s
      02 sudo /etc/init.d/supervisor stop && sudo fuser -k 8000/tcp && pkill -f python gunicorn spark
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as<EMAIL_ADDRESS>sudo /etc/init.d/supervisor stop && sudo fuser -k 8000/tcp && pkill -f python gunicorn spark exit status: 1
sudo /etc/init.d/supervisor stop && sudo fuser -k 8000/tcp && pkill -f python gunicorn spark stdout: Stopping supervisor: supervisord.
sudo /etc/init.d/supervisor stop && sudo fuser -k 8000/tcp && pkill -f python gunicorn spark stderr: Nothing written

SSHKit::Command::Failed: sudo /etc/init.d/supervisor stop && sudo fuser -k 8000/tcp && pkill -f python gunicorn spark exit status: 1
sudo /etc/init.d/supervisor stop && sudo fuser -k 8000/tcp && pkill -f python gunicorn spark stdout: Stopping supervisor: supervisord.
sudo /etc/init.d/supervisor stop && sudo fuser -k 8000/tcp && pkill -f python gunicorn spark stderr: Nothing written

Tasks: TOP => deploy:restart_django
(See full trace by running task with --trace)

Can you please follow the steps at capistranorb.com/documentation/faq/why-does-something-work-in-my-ssh-session-but-not-in-capistrano/ and come back to us with more info please?

@leehambley Thank you for that hint. I have tried using login shell with all other command and they work except the "gunicorn". Please find the details below.
Function now:
execute "bash --login -c 'sudo /etc/init.d/supervisor stop'"
          execute "sudo fuser -k 8000/tcp", raise_on_non_zero_exit: false
          execute "bash --login -c 'pkill -f spark'", raise_on_non_zero_exit: false
          execute "bash --login -c 'pkill -f gunicorn'", raise_on_non_zero_exit: false
          execute "bash --login -c 'pkill -f python'", raise_on_non_zero_exit: false
          execute "bash --login -c 'cd /home/ubuntu/code/analytics/spark-2.1.0-bin-hadoop2.7/sbin/ && bash start-master.sh && bash start-slave.sh spark://<IP_ADDRESS>:7077'"
         execute "bash --login -c 'cd /home/ubuntu/code/analytics/current/analysis/ && nohup gunicorn analytics.wsgi:application --name analytics --workers 4 > /dev/null 2>&1 &'"

The command is also generating "zero" as exit code and deploy successfully but when i checked the server I was unable to see the python and gunicorn process. However, I ran the same command via ssh and it was able to start the process.
Any idea what is happening ?

Maybe remove > /dev/null 2>&1 and then check nohup.out for errors? There might be useful troubleshooting information that is being hidden.

@mattbrictson @leehambley Thanks for your time. However, It's not the good idea but I have used bash --login shell under execute to workaround this problem.


Fix #588

Adding centos6/7 and ubuntu docker to travis allow_failure list until the tests are fixed

It looks like the acceptance tests are really failing due to facter dropping facts -- they are really broken.

More or less solved by #611


Mac OSX wallet

Downloaded the Max OSX wallet but I can't get it open and it crashes as soon as I open it. I'm running Mac OSX 10.10.5. I tried looking for the folder in /Library/Application Support/Monyx but the folder isn't there or anywhere else on my computer. Any ideas on how I can fix it?

try to redodwnload

Tried several times. Before the staking announcement and every day since. Deleting all the files and re-downloading and trying to open. Same problems.

@BryerTuck there is a know issue about incompatibility of the currently published wallet and macOS versions < Sierra.
We're working on resolving this issue and releasing the wallet compatible with older macOS versions.
Would be useful though if you attach the content of the crash report here.


setCredentials not setting projectId on ServiceOptions builder

In which file did you encounter the issue?

jdt://contents/google-cloud-core-1.12.0.jar/com.google.cloud/ServiceOptions.class
Did you change the file? If so, how?
No
Describe the issue
I used the example here:
https://cloud.google.com/bigquery/docs/authentication/service-account-file
 // Instantiate a client.
  BigQuery bigquery = BigQueryOptions.newBuilder().setCredentials(credentials).build().getService();

I verified that the properties set on the credentials object are not null.
The ServiceOptions builder object has a property called projectId that does not get set, despite the fact that the credentials property is set on the builder.
Either two fixes need to happen:
ServiceOptions.class:244 becomes
projectId = builder.projectId != null ? builder.getCredentials().getProjectId() : getDefaultProject();
Or,
setCredentials must set the projectId property on the builder.

Any luck with it??? i am suffering from the same issue...

Thanks for replying so fast!!!
I tried it already. I working on it for the last 4 hours…
I am trying to write to BigQuery from local host (on production env is
working).
Still the projectId outside the credentials is empty ("no_app_id").
changing it manually through the eclipse debugger working fine.
I am so lost consider using reflection to change the member,,,
Thanks anyway!
From: William Lang<EMAIL_ADDRESS>Sent: Thursday, April 12, 2018 9:00 PM
To: GoogleCloudPlatform/java-docs-samples <java-docs-samples@noreply.
github.com>
Cc: motibenyehuda<EMAIL_ADDRESS>Comment <
<EMAIL_ADDRESS>Subject: Re: [GoogleCloudPlatform/java-docs-samples] setCredentials not
setting projectId on ServiceOptions builder (#936)
Workaround:
BigQuery bigQuery =
BigQueryOptions.newBuilder().setCredentials(credentials).setProjectId(projectId).build().getService();
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/java-docs-samples/issues/936#issuecomment-380892974,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AiChz-YPey2_C4PJrCL2m4Ozw5fdpzDKks5tn5Y4gaJpZM4Qv1iL
.

Oops...
I didn't extract correctly the project id.
working!!!
Thanks again,
Moti
On Thu, Apr 12, 2018 at 9:14 PM, Moti Ben - Yehuda <
<EMAIL_ADDRESS>wrote:

Thanks for replying so fast!!!
I tried it already. I working on it for the last 4 hours…
I am trying to write to BigQuery from local host (on production env is
working).
Still the projectId outside the credentials is empty ("no_app_id").
changing it manually through the eclipse debugger working fine.
I am so lost consider using reflection to change the member,,,
Thanks anyway!
From: William Lang<EMAIL_ADDRESS>Sent: Thursday, April 12, 2018 9:00 PM
To: GoogleCloudPlatform/java-docs-samples<EMAIL_ADDRESS>hub.com>
Cc: motibenyehuda<EMAIL_ADDRESS>Comment <
<EMAIL_ADDRESS>Subject: Re: [GoogleCloudPlatform/java-docs-samples] setCredentials not
setting projectId on ServiceOptions builder (#936)
Workaround:
BigQuery bigQuery = BigQueryOptions.newBuilder().setCredentials(credentials).setProjectId(projectId).build().getService();
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/java-docs-samples/issues/936#issuecomment-380892974,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AiChz-YPey2_C4PJrCL2m4Ozw5fdpzDKks5tn5Y4gaJpZM4Qv1iL
.

Submitted an issue on google-cloud-java, please follow the issue referenced.


Does anyone have idea on how to do this kind of exception question?

use try-catch in main, the order of catch is from the most specific exception to the least specific, ie catch(NoPerssionException) first and catch(DatabaseException) last, do not catch(Exception), which is Pokemon exception handling

Use try-catch block in main
The order of catch is from the most specific exception to the least specific, ie catch(NoPerssionException) first and catch(DatabaseException) last
do not catch(Exception), which is Pokemon exception handling

yeap this is the way to go:))

try {
    Main.accessDatabase();
} catch (NoPermissionException ex) {
    System.err.println(ex);
} catch (ElementNotFoundException ex) {
    System.err.println(ex);
} catch (ReadException ex) {
    System.err.println(ex);
} catch (WriteException ex) {
    System.err.println(ex);
} catch (TableException ex) {
    System.err.println(ex);
} catch (DatabaseException ex) {
    System.err.println(ex);
}

Exception :> DatabaseException
DatabaseException :> TableException
TableException :> ReadException :> ElementNotFoundException
TableException :> WriteException :> NoPermissionException

Just to be clear, the order of ReadException and Write exception doesn't matter?
Also, the order of NoPermissionException and ElementNotFound Exception?

Just to be clear, the order of ReadException and Write exception doesn't matter?
Also, the order of NoPermissionException and ElementNotFound Exception?

yeah


[platform] add PlatformEventSignalPending to platform module

Add PlatformEventSignalPending allowing device drivers to signal that they need processing. It's useful when working with RTOSes.

In general, this looks good.
Unrelated to this PR, we should probably move include/openthread/platform/platform.h" into examples/`, since this header file is not actually related to core OpenThread.


EVE CI/CD infrastructure

These are final touches for our full migration to GH actions. CircleCI is now officially stopped.

Hey @deitch @aw-was-here please take a look


JdbcCustomConversion does not reject non-Date related default converters anymore

Previously, JdbcCustomConversion rejected any default converter that was not converting from and to java.util.Date. This probably stemmed from the fact that up until recently, Spring Data Commons' CustomConversions only registered date related default converters. As of spring-projects/spring-data-commons#2315 we also support jMolecules' Association and Identifier converters. We've relaxed the rejection to only explicitly reject all non Date/Time related converters if the conversion is from/to java.util.Date but allow everything else out of the box.

Thanks, that's merged.


Functions in WPF project are not executed

In this program, when the line xres = f(2) comes, the program abruptly takes off. No errors are output. What's the matter?
import wpf
import stun
import binascii
import ecdsa

from System.Windows import Application, Window, Visibility
from System.Windows import MessageBox
from System.Windows.Media import Brushes

class MyWindow(Window):
    def __init__(self):
        wpf.LoadComponent(self, 'IronPyWpf1.xaml')

    def f(x):
        return x*x

    def button1_Click(self, sender, e):
        sender.Foreground = Brushes.Red
        MessageBox.Show("start")
        xres = f(2)
        MessageBox.Show(xres)
        MessageBox.Show("end")

if __name__ == '__main__':
    Application().Run(MyWindow())

Yes, the debugger does not matter, you need to check it on different computers. Thanks for the examples, they really work and now I understand how to work with functions correctly!


[Refine](sql block)unify exception catching for sql block

Proposed changes
Unify the exception catching for AnalysisException  throw by sql block.
currently, the AnalysisException throw by matchSql will catch immediately. however, the AnalysisException throws by checkLimitations will catch as UserException.
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Error

root@debian:/home/hzh# dpkg -i os-agent_1.5.1_linux_x86_64.deb
(Reading database ... 35214 files and directories currently installed.)
Preparing to unpack os-agent_1.5.1_linux_x86_64.deb ...
Unpacking os-agent (1.5.1) over (1.5.1) ...
dpkg: dependency problems prevent configuration of os-agent:
os-agent depends on udisks2; however:
Package udisks2 is not configured yet.
dpkg: error processing package os-agent (--install):
dependency problems - leaving unconfigured
Processing triggers for dbus (1.12.24-0+deb11u1) ...
Errors were encountered while processing:
os-agent

The resolution to your issue is in the error message:

os-agent depends on udisks2; however:
Package udisks2 is not configured yet.

Please ensure to set up and configure that.
../Frenck


Built-in SSR support

There's several approaches how to handle SSR with Tasks but none are optimal: https://vue-concurrency.netlify.app/ssr-support/
The approach of saving data to VueX / Pinia or other client side store has proven to work well but probably shouldn't be done just to make SSR with hydration work.
(https://vue-concurrency.netlify.app/examples/store/)
There could be a way to make tasks work with SSR out of the box

right before sending HTML response, serialize task state to JSON and place it on SSR context. All that's needed to serialize is probably _instances as all other state derives from that.
When task is run on the client side, it should pick up the serialized _instances from the ssr context.

Experimental support here:
https://vue-concurrency.netlify.app/ssr-support/#with-vue-concurrency-ssr-utils
It's been tested briefly, but I expect to revisit this in a month or two when I'll be dealing with this at work.

I'm interested in this feature. @MartinMalinda how can I help you build this out?

I'm interested in this feature. @MartinMalinda how can I help you build this out?

@kpdemetriou
thanks for reaching out about this
There's some WIP on this: https://github.com/MartinMalinda/vue-concurrency/blob/master/src/utils/ssr-utils.ts
Maybe it's not the latest WIP.. I think I have some tweaked (better) version that I tested directly in a Nuxt app... I'll try to recover it (tomorrow hopefully 🙏 ). There was some trick with reactive that made sure that even some later changes to the task state were propagated, I don't remember exactly.
I have no use for this feature currently. I have changed my SSR server -> client strategy. I fully rely on Pinia (pinia is used inside the task). But even with Pinia I had to do some hack to make it work:
export function usePiniaPrefetch(cb: () => Promise<any>) {
  const root = useRoot() as any;
  onServerPrefetch(async () => {
    await cb();
    const ssrContext = root.context.ssrContext;
    ssrContext.nuxt.pinia = getRootState(root.context.req);
  });
}

I won't have much time to implement this any time soon - but if you play with these things I can definitely do code reviews in a PR and help out a bit 🙏

@kpdemetriou
thanks for reaching out about this
There's some WIP on this: https://github.com/MartinMalinda/vue-concurrency/blob/master/src/utils/ssr-utils.ts
Maybe it's not the latest WIP.. I think I have some tweaked (better) version that I tested directly in a Nuxt app... I'll try to recover it (tomorrow hopefully 🙏 ). There was some trick with reactive that made sure that even some later changes to the task state were propagated, I don't remember exactly.
I have no use for this feature currently. I have changed my SSR server -> client strategy. I fully rely on Pinia (pinia is used inside the task). But even with Pinia I had to do some hack to make it work:
export function usePiniaPrefetch(cb: () => Promise<any>) {
  const root = useRoot() as any;
  onServerPrefetch(async () => {
    await cb();
    const ssrContext = root.context.ssrContext;
    ssrContext.nuxt.pinia = getRootState(root.context.req);
  });
}

I won't have much time to implement this any time soon - but if you play with these things I can definitely do code reviews in a PR and help out a bit 🙏

The latest WIP solution worked for me actually. But I remember it broke with Nuxt upgrade. It was quite fragile in a way that it somehow used some Nuxt internal things. Nuxt itself isn't actually doing great job with all the nuxtState etc IMO, it changes often and it the structure is different in different places (nuxt plugin, context etc)
https://github.com/posva/pinia/issues/332
https://github.com/nuxt/nuxt.js/issues/8620

The latest WIP solution worked for me actually. But I remember it broke with Nuxt upgrade. It was quite fragile in a way that it somehow used some Nuxt internal things. Nuxt itself isn't actually doing great job with all the nuxtState etc IMO, it changes often and it the structure is different in different places (nuxt plugin, context etc)
https://github.com/posva/pinia/issues/332
https://github.com/nuxt/nuxt.js/issues/8620

Thanks for the quick turnaround @MartinMalinda. I've modified your implementation in ssr-utils.ts (which actually doesn't work in Nuxt latest for me) and I believe it should be sustainable now. Would you mind digging up that latest WIP so I can merge any useful additions before I create a PR?

Thanks for the quick turnaround @MartinMalinda. I've modified your implementation in ssr-utils.ts (which actually doesn't work in Nuxt latest for me) and I believe it should be sustainable now. Would you mind digging up that latest WIP so I can merge any useful additions before I create a PR?

@kpdemetriou I tried to look it up but couldn't find it, welp. It's in some old branch that I can't identify right now 😬  but I rechecked the implementation and what was important was the usage of computed for the saving of task instances and that's present in the current master also... so maybe It's fine.
PR for the fix for latest Nuxt welcome 🙏

@kpdemetriou I tried to look it up but couldn't find it, welp. It's in some old branch that I can't identify right now 😬  but I rechecked the implementation and what was important was the usage of computed for the saving of task instances and that's present in the current master also... so maybe It's fine.
PR for the fix for latest Nuxt welcome 🙏

I thought that might be what you meant; relevant PR in #34.

I thought that might be what you meant; relevant PR in #34.


As a user I want to be able to easily review/manage who has access to my data

A view should allow me to see at a glance which see which parts of my data set is accessible by whom and to what extent.
Though that view, I should be able to adapt the access control rules easily

Related issue: https://github.com/solid/solid-spec/issues/150

Added to readme

Opening this as part of moving all user stories into issues again.


[HUDI-401]Remove unnecessary use of spark in savepoint timeline

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contributing.html before opening a pull request.

What is the purpose of the pull request
Currently, javasparkcontext was inited when savepoint create, but it is not necessary.  Javasparkcontext's whole work is provide hadoopconfig, but need time and resources to init it.
So we can use hadoop config instead of jsc.
Brief change log
(for example:)

Use hadoop config instead jsc in savepoint timeline

Verify this pull request
This pull request is a trivial rework / code cleanup without any test coverage.
Committer checklist

[x] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

+1, from my side.

@vinothchandar yep, flink integration is a good idea.I think it would't be an issue after spark divided to a specific module. Have any plan for it? maybe i also can contribute some code.

@yanghua will be leading that effort.. Can we close this PR for now and consider this more holistically..


Add gasToken parameter + type refactoring

Update with type specifications from https://gitlab.gnosisdev.com/wallets/safe/merge_requests/37/diffs
Specify that gasToken is never null in the estimate response
Add gasToken to estimate request

https://github.com/gnosis/safe-relay-service/issues/18
https://github.com/gnosis/safe-relay-service/issues/19

GasToken to estimate request actually depends on gnosis/safe-relay-service#18. Everything is ok from my side, we will add the payment token to the creation endpoint when gnosis/safe-relay-service#19 is implemented

@Uxio0 I will wait with merging this until we have it in production ;)

Sounds good to me

@Uxio0 I also added the paymentToken to the response of the creation request


Consider issuing a warning when a bare integer is used in Cat() or Repl()

In general, using bare integers in bit vector context is error-prone because the width of the integer, when cast to a Value, will change with its value. Values other than 0 and 1 are very likely to indicate a potential issue. Whether we want to allow 0 and 1 is an open question, but I suspect that people are relying on that.

I've definitely used 0 and 1 inside Cat a bunch for adding an extra bit, in situations like the UART example where it's convenient for shift registers, but it's not that bad to use Const either. I think the meaning is pretty clear with 0 and 1 though.
I checked and about 10% of my Cat calls use a bare 0 or 1.

Okay, definitely no warning on bare 0 or 1.


updated example

update example in 82. Why we need to pass a function to setState()?
from // this.state.count === 0, not 3 to // this.state.count === 1, not 3

Thanks @sachuverma . I updated it manually


Change delete command to delete function and jobs (for now) resources

jobs should probably be removed by controller at some point

adding delete instructions to READMEs

changing README links to be relative (helps when viewing locally)

merged with amended comment (for 50 char limit) as https://github.com/markfisher/sk8s/commit/6d5636f230e7365d8451d8645c665c472a0543ea

apparently setting the owner reference on the Job resource (referencing the Function resource) is not sufficient for cascading garbage collection. I added that here (but it doesn't work): https://github.com/markfisher/sk8s/commit/35338b1ba0e7a3e5b9f4e151186bf1c0a0cb97a9
so, I assume we need to set the deleteOptions.propagationPolicy on the owning resource (Function in our case) as described here: https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/
many resources (such as Deployment resources) have that set by default
cc @ericbottard

I realized the owner reference should be in the Job metadata (rather than its Pod template), so I changed that here (but it still doesn't cascade by default): https://github.com/markfisher/sk8s/commit/bab3da03123e252f2077c171282bee0c1363c293

Are you on k8s v1.8? I think it's a new feature. My minikube is v1.7.5.

I went ahead and pushed this for now (the controller deletes the jobs based on the function label), and the owner-reference is being set on the Job metadata... so maybe be that will provide an option for cascading deletes at some point: https://github.com/markfisher/sk8s/commit/703ff6832513e30b50ec87054e89a1291b7a1d54

Yes we need 1.8+ for this to happen magically (haven't managed to run a 1.8+ minikube yet, hitting RBAC issues). Still doesn't hurt and serves "documentation" purposes nevertheless.


Remove requirement to press Merge button after merge is successful

Fixed in https://github.com/macterra/artx-market/commit/d55c04bfd77176250d7dd20296ddd4c8a9c3de9c

tested


Make tests run on flake-updates

The GitHub Actions Pipeline should be edited, so that tests will be executed on the flake-updates branch. It might be worth considering implementing that the branch will be merged automatically if all tests pass

Then we need a bot account because the github action account does not trigger CI.

How do we get one of those?

"bot" just another account or we use the token of someone and commit as that person.

@Mic92 can you enable Renovate for this repo? I can see that it's already installed for something else in nix-community, but I think I don't have permission to enable it for here myself

@nzbr enabled.

Thank you!

I had issues with updating flakes with the hosted renovate. Let me know if this works for you.
Otherwise I think we should create an upstream issue.

I wanted to edit the renovate config before merging it, but I don't have push access to branches on this repo
PS C:\Users\nzbr\Projekte\NixOS-WSL> git push
ERROR: Permission to nix-community/NixOS-WSL.git denied to nzbr.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

The remote is git@github.com:nix-community/NixOS-WSL.git, so that should be fine. However, I've noticed in the past that I'm able to commit to the repo by using the vscode on github.dev

If you add:
permissions:
  pull-requests: write
  contents: write

to the github action than you should be able to push.
If the ssh remote does not work, try using $GITHUB_TOKEN with the https remote of github (there was some documentation around on how to use api keys for pushing to github).

Pushing via HTTPS works, thanks for the hint.
As for renovate: It seems that it's indeed broken at the moment. It fails to update flake.lock, apparently due to a problem with the API token. I get the same error on my own nixos config repo now, where I had been using Renovate without problems until recently
From the renovate logs:
Command failed: docker run --rm --name=renovate_a_sidecar --label=renovate_a_child -v "/tmp/worker/a381c3/4c87f4/repos/github/nix-community/NixOS-WSL":"/tmp/worker/a381c3/4c87f4/repos/github/nix-community/NixOS-WSL" -v "/tmp/worker/a381c3/4c87f4/cache":"/tmp/worker/a381c3/4c87f4/cache" -e BUILDPACK_CACHE_DIR -e CONTAINERBASE_CACHE_DIR -w "/tmp/worker/a381c3/4c87f4/repos/github/nix-community/NixOS-WSL" ghcr.io/containerbase/sidecar bash -l -c "install-tool nix 2.16.1 && nix     --extra-experimental-features nix-command     --extra-experimental-features flakes --extra-access-tokens github.com=**redacted** flake lock --update-input nixpkgs"
warning: '/nix/var/nix' does not exist, so Nix will use '/home/ubuntu/.local/share/nix/root' as a chroot store
warning: Git tree '/tmp/worker/a381c3/4c87f4/repos/github/nix-community/NixOS-WSL' is dirty
error:
       … while updating the lock file of flake 'git+file:///tmp/worker/a381c3/4c87f4/repos/github/nix-community/NixOS-WSL'

       … while updating the flake input 'nixpkgs'

       … while fetching the input 'github:NixOS/nixpkgs/nixos-23.05'

       error: unable to download 'https://api.github.com/repos/NixOS/nixpkgs/commits/nixos-23.05': HTTP error 401

       response body:

       {
         "message": "Bad credentials",
         "documentation_url": "https://docs.github.com/rest"
       }

We have Renovate now.


Lindalu krishnav 2

Learn Build status updates of commit ada108f:
:bulb: Validation status: suggestions

File
Status
Preview URL
Details

office-365-management-api/azure-information-protection-schema.md
:bulb:Suggestion
n/a (file deleted or renamed)
Details

office-365-management-api/TOC.md
:white_check_mark:Succeeded
View

office-365-management-api/azure-information-protection-schema.md

[Suggestion: file-not-redirected - See documentation] File office-365-management-api/azure-information-protection-schema.md was deleted without redirection. To avoid broken links, add a redirection.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Endpoints + Routes + instances: Wire in multi unregister

This issue was moved to cloudfoundry-incubator/stratos#1503


fatal error: esp_timer.h: No such file or directory

Hello, got this
idf.py build fail with message
esp/tflite-micro-esp-examples/components/tflite-lib/tensorflow/lite/micro/kernels/esp_nn/add.cc:31:10: fatal error: esp_timer.h: No such file or directory
31 | #include <esp_timer.h>
|          ^~~~~~~~~~~~~
compilation terminated.
[121/208] Building CXX object esp-idf/tflite-lib/CMakeFiles/__idf_tflite-lib.dir/tensorflow/lite/micro/kernels/zeros_like.cc.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
Help welcome

@tygerlord What is your IDF version?
Please add esp_timer to following line and check if this works?
https://github.com/espressif/tflite-micro-esp-examples/blob/4b9a1732e2f0901ec33ab8337aad5469691d4e98/components/tflite-lib/CMakeLists.txt#L58
The line will change to REQUIRES "esp_timer" "esp-nn")

I use ESP-IDF v5.0-dev-3654-gc2ccc383da
(I've tried with previous v4.4.1 same erros if I remember, but perhaps I've misconfigured it)
Adding 'REQUIRE "esp_timer"' seems doing the job , unfortunatly got another error:
/tflite-micro-esp-examples/components/screen/controller_driver/ili9341/ili9341.c:19:10: fatal error: driver/gpio.h: No  such file or directory
19 | #include "driver/gpio.h"
I will search.
Thank you very much @vikramdattu

Using IDF v5.0 and get the same error compiling hello_world.
After adding require "esp_timer" I get an error indicating that the esp32-camera is not supported by v5
CMake Warning at /Users/xx/w/tflite-micro-esp-examples/components/esp32-camera/CMakeLists.txt:78 (message):
  ESP-IDF version detected: '5.0'.

Thank you @davidallenmann for your comment.
I've noticed too that bus get in trouble. In fact  for all examples I've tried to compile I get missing files like gpio.h, or led.h or something related to bus...
I've no managed to build any exmple ;-(

@tygerlord please use IDF branch release/v4.4.
Under development branches master and release/v5.0 branch are not supported yet.


Nette 2.3 support

Hi,
would it be possible to add support for Nette 2.3?
When I init the extension by adding following to the config of Nette 2.3.3:
tracy:
	bar: [NetteExtras\XDebugHelper()]

the whole Tracy panel disappears and I have to init it manually by calling the content of window.addEventListener('load') function. After that the extension is working, so this is the only drawback.
I also tried to tinker with the code but with no luck.

Hello, i have been able to easily integrate this into 2.3.5 nette version with slightly different syntax in my config.neon file:
tracy:
	bar:
		- NetteExtras\XDebugHelper

You are right, both syntaxes work on a clean sandbox. I've narrowed down the problem to my meridius/yadup extension, it affects it somehow. I've looked at the code of nette-xdebug-helper and there shouldn't be anything yadup could break. I guess I've to keep looking. :/

I send PR https://github.com/jsmitka/Nette-XDebug-Helper/pull/4


Finer control of logging levels

Presently ALL the output of the samples is all run through the logging module. Progress steps and such are output at level 'info' with full timestamps etc, which makes it very busy/ugly, and also means you have to have some amount of logging enabled even without -v.
Describe the solution you'd like
Make simple progress type outputs 'print(...)' statements, and then change the -v to set a logging level rather than being a binary switch.
Describe alternatives you've considered
None sensible
Additional context
Example - well over half of this content is unwanted:
Jons-MBP:archivist-samples jag$ TEST_SELECTOR=signed_records task samples
task: [samples] ./scripts/api.sh ./scripts/samples.sh
NAMESPACE is crypto332
2021-05-25 09:41:02.770|MainThread|INFO|root|Initialising connection to Jitsuin Archivist...
2021-05-25 09:41:02.773|MainThread|INFO|root|Using version 0.1.0a5 of jitsuin-archivist
2021-05-25 09:41:02.969|MainThread|ERROR|root|Asset 'samples signed_records_crypto332' already exists. Please choose a different name to create.
2021-05-25 09:41:03.242|MainThread|INFO|root|Initialising connection to Jitsuin Archivist...
2021-05-25 09:41:03.244|MainThread|INFO|root|Using version 0.1.0a5 of jitsuin-archivist
2021-05-25 09:41:03.385|MainThread|INFO|root|Submit signed evidence 'samples signed_records_crypto332'
2021-05-25 09:41:04.046|MainThread|INFO|root|Backing off wait_for_confirmation(...) for 0.3s (None)
2021-05-25 09:41:04.453|MainThread|INFO|root|Backing off wait_for_confirmation(...) for 0.9s (None)
2021-05-25 09:41:05.461|MainThread|INFO|root|Backing off wait_for_confirmation(...) for 1.0s (None)
2021-05-25 09:41:06.872|MainThread|INFO|root|Initialising connection to Jitsuin Archivist...
2021-05-25 09:41:06.874|MainThread|INFO|root|Using version 0.1.0a5 of jitsuin-archivist
2021-05-25 09:41:07.000|MainThread|INFO|root|Submit badly signed evidence samples signed_records_crypto332
2021-05-25 09:41:07.389|MainThread|INFO|root|Backing off wait_for_confirmation(...) for 1.0s (None)
2021-05-25 09:41:08.530|MainThread|INFO|root|Backing off wait_for_confirmation(...) for 0.2s (None)
2021-05-25 09:41:09.116|MainThread|INFO|root|Initialising connection to Jitsuin Archivist...
2021-05-25 09:41:09.118|MainThread|INFO|root|Using version 0.1.0a5 of jitsuin-archivist
2021-05-25 09:41:09.263|MainThread|INFO|root|Check samples signed_records_crypto332
2021-05-25 09:41:09.573|MainThread|INFO|root|Checking message 'signature'...
2021-05-25 09:41:09.574|MainThread|ERROR|root|X BAD
2021-05-25 09:41:09.574|MainThread|INFO|root|Checking message 'signature'...
2021-05-25 09:41:09.574|MainThread|INFO|root|√ GOOD
2021-05-25 09:41:09.574|MainThread|INFO|root|Checking message 'signature'...
2021-05-25 09:41:09.574|MainThread|ERROR|root|X BAD
2021-05-25 09:41:09.575|MainThread|INFO|root|Checking message 'signature'...
2021-05-25 09:41:09.575|MainThread|INFO|root|√ GOOD

Logging has been changed to correspond to the django hierarchical logging model as described here:
https://docs.djangoproject.com/en/3.2/topics/logging/
This enable users to define logging their way and in as finegrained way as desired.
Currently the archivist-samples package defines its own logging levels by initialising the logger like so:
import logging
import logging.config

# root logger for all code
LOGGER = logging.getLogger()

def set_logger(level):
    logging.config.dictConfig(
        {
            "version": 1,
            "disable_existing_loggers": False,
            "handlers": {
                "console": {
                    "class": "logging.StreamHandler",
                },
            },
            "root": {
                "handlers": ["console"],
                "level": level,
            },
        }
    )

and this now results in the following output for the estate_info example:
NAMESPACE is def
Initialising connection to Jitsuin Archivist...
Using version 0.2.0a2 of jitsuin-archivist
Namespace is None
Number of events is 0
Number of assets is 0
Number of locations is 0
Initialising connection to Jitsuin Archivist...
Using version 0.2.0a2 of jitsuin-archivist
Namespace is None
Performing double-check... START
None: There are 0 events registered against 0 assets in the system spread over 0 locations.
Performing double-check... FINISH
which is much better...
For the samples service pod which runs Flask we will define a more traditional logging format that will include timestamp etc
all withiout requiring any changes to this repo - logging is an external concern.
Please do not use print statements ...

The current logger setup also outputs logger statements from the backoff package which is used in the confirmation logic. If this is not required than the appropriate logger setup is:
`
import logging
import logging.config
root logger for all code
LOGGER = logging.getLogger()
def set_logger(level):
logging.config.dictConfig(
{
"version": 1,
"disable_existing_loggers": False,
"handlers": {
"console": {
"class": "logging.StreamHandler",
},
},
"root": {
"handlers": ["console"],
"level": level,
},
'loggers': {
'archivist.confirm': {
"handlers": ["console"],
"level": "WARNING",
},
},
}
)
`
where the loglebvel for this is set to WARNING.

Thanks, I've seen this in action and LGTM. Closing.


Tree: Support expansion state preservation with identity provider

After discussing with @jrieken, the tree should support preserving elements' expansion states using the identity provider.
Additionally, this state should be serializable, in order to be able to dispose the tree and restore it accordingly.

@isidorn Please mark as verified if you are a happy customer!


Feature request: editing stream/consumer show differences without applying

Feature Requests
When editing a stream or consumer, natscli shows the differences being applied:

Differences (-old +new):
  api.StreamConfig{
        Name:        "TEST",
        Description: "",
        Subjects: []string(Inverse(Sort, []string{
                "TEST.NATS",
+               "TEST.NATS2",
        })),
        Retention:    s"Limits",
        MaxConsumers: -1,
        ... // 18 identical fields
  }

It would be useful to be able to get those differences without actually editing, for example to check before deploying with an ansible playbook.
Something like
nats stream edit TEST --config new_stream.json --dry-run
thanks

In the case where dry run is set and there is a diff would it be useful to exit 1 for diff and 0 for no diff?
also would love to see those playbooks open sourced if at all possible :)

yes, having exit 1 for diff would be nice too.
Open sourcing is a sensitive matter but I'll see what I can do :)


Add option to the webapi to not render the raw materials and build time

Add a boolean option (default false) to the webapi to turn off the rendering of the raw materials and the build time, essentially only generating a picture of the blueprint.

Hi tzwaan!
Check out this comment: https://github.com/demodude4u/Factorio-FBSR/issues/126#issuecomment-637169571
If you set "show-info-panels": false, it will not render the side panels.

Oh great, it already exists.
I guess there needs to be some proper documentation written for blueprintbot. After I'm done with this project, I'll see if I can help cleaning up the documentation and build-process of blueprintbot so people don't need to message you directly.


feat(TDP-3329) : use "datalist" widget

Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)

What is the current behavior? (You can also link to an open issue here)
Salesforce module nales uses "select" widget
What is the new behavior?
Salesforce module nales uses "datalist" widget
Does this PR introduce a breaking change?

[ ] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:
Need https://github.com/Talend/daikon/pull/205/

wait for the daikon branch to be merged first ;)

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: success :star:


CORS Error Missing Allow Origin while trying to dowload the .ico

observed on Windows 10 using Chrome 93.0.4577.82 and Firefox 93.0b5 (64 bits)
Steps to reproduce

navigate to https://gauger.io/fonticon/
hit the download button

Observe that no file is downloaded at all.
Looking in the debugger (F12) I see
CORS Error Missing Allow Origin error
It looks like the browser refuses to make the request to
POST | https://fonticon-207412.appspot.com/
I see also
500 Server ErrorThe server encountered an error and could not complete your request.
Please try again in 30 seconds.
I can't use the service. too bad, it was exactly what I needed

Thanks for reporting this. Please choose .ico (advanced) next to download which still works.
I will have a look today!

Looks like it is fixed.
Let me know if it doesn't work for you.


Add option ConsoleSupportLevel

This option is only available for embedding scenarios. There is no corresponding command switch since ipy always uses Full console support level.
I wonder how to make this option more discoverable.

I wonder if a strongly typed overload to Python.CreateEngine with an options class would be helpful...

Perhaps it would be more helpful, but I don't see an easy way of implementing it. The current Dictionary<string, object> is being dragged through an number of layers in IronPython and the DLR, so the change would mean an awful lot of new overloads.

I was thinking more along the lines of a single overload which we translate to a dictionary with the relevant options. Anyway, was just my first idea to make options more discoverable. I guess documentation would help as well. 🙂


[Auto-generated] Update dependencies

Update dependencies
Automatically created PR from ci/dependabot-updates.
The PR is based on the 'CI - Update dependencies PR' workflow in SINTEF/ci-cd.
To do

[ ] Check that the diff is sensible, and that tests and builds pass with the new dependency versions.
[ ] Make sure that the PR is squash merged, with a sensible commit message.

Codecov Report

Merging #518 (d4247d1) into master (d4ffbfe) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #518   +/-   ##
=======================================
  Coverage   65.46%   65.46%
=======================================
  Files          16       16
  Lines        3081     3081
=======================================
  Hits         2017     2017
  Misses       1064     1064

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


PHP 7.1 Exception: Deprecated Function mcrypt_module_open()

I am getting the following exception thrown when calling getAuthorizationUrl():
Deprecated: Function mcrypt_module_open() is deprecated in /app/public/custom/hubspot/vendor/ircmaxell/random-lib/lib/RandomLib/AbstractMcryptMixer.php on line 75

Upgrade to a later version of thephpleague/oauth2-client (They switched away from ircmaxell in ^2.0.0 and began using paragonie instead, which has been updated for PHP7.x)


[admin] Merge to live!

Minor style guide edits

Docs Build status updates of commit 8af547f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Library-Reference/Concepts/customize-the-office-fluent-ribbon-by-using-an-open-xml-formats-file.md
:bulb:Suggestion
View
Details

Library-Reference/Concepts/getting-help-on-macintosh-keywords-office.md
:bulb:Suggestion
View
Details

Library-Reference/Concepts/security-notes-for-microsoft-office-solution-developers.md
:bulb:Suggestion
View
Details

Library-Reference/Concepts/using-the-document-inspector.md
:bulb:Suggestion
View
Details

api/PowerPoint.PpSlideShowType.md
:bulb:Suggestion
View
Details

api/PowerPoint.SlideShowSettings.ShowType.md
:bulb:Suggestion
View
Details

Library-Reference/Concepts/customize-the-office-fluent-ribbon-by-using-an-open-xml-formats-file.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.
Line 88, Column 3: [Suggestion-docs-link-absolute] Absolute link 'https://docs.microsoft.com/previous-versions/office/developer/office-2010/ff863131(v=office.14)' will be broken in isolated environments. Replace with a relative link.

Library-Reference/Concepts/getting-help-on-macintosh-keywords-office.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

Library-Reference/Concepts/security-notes-for-microsoft-office-solution-developers.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

Library-Reference/Concepts/using-the-document-inspector.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

api/PowerPoint.PpSlideShowType.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

api/PowerPoint.SlideShowSettings.ShowType.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


ICaptureLogRow doubt

Hey, im trying to use the ICaptureLogRow so i can make the history of a record. In my database i have both the table for the record and another for the history but im having problems. In my record's table it's identity is id and the identity for my logs table is also id.
This is what i want to do
Log table     -> Document
IdDocument -> Id
The thing is "Can't find match in the row for log table field "; and IdDocument is set as foreign key
Any suggestions?

ok i managed to solve this issue by modifying my database and now instead of id i got IdDocument -> IdDocument but now if i try to edit the record i got an error saying invalid column 'id' but in the code its detecting 'IdDocument' suggestions?

All field names in capture log table must match, and there should be a ID column (does not need to be ID, just identity + primary key)


Google CodeIn challenge

Added JavaDoc comments to few Java classes.

Codecov Report

Merging #1025 into master will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff           @@
##           master   #1025   +/-   ##
======================================
  Coverage    3.71%   3.71%
======================================
  Files         104     104
  Lines        5143    5143
  Branches      489     489
======================================
  Hits          191     191
  Misses       4939    4939
  Partials       13      13

Impacted Files
Coverage Δ

...c/main/java/fr/free/nrw/commons/AboutActivity.java
0% <ø> (ø)
:arrow_up:

...n/java/fr/free/nrw/commons/mwapi/UploadResult.java
0% <ø> (ø)
:arrow_up:

...c/main/java/fr/free/nrw/commons/mwapi/LogTask.java
0% <ø> (ø)
:arrow_up:

...in/java/fr/free/nrw/commons/utils/LengthUtils.java
84.21% <ø> (ø)
:arrow_up:

app/src/main/java/fr/free/nrw/commons/Media.java
0% <ø> (ø)
:arrow_up:

...src/main/java/fr/free/nrw/commons/LicenseList.java
0% <ø> (ø)
:arrow_up:

...ain/java/fr/free/nrw/commons/mwapi/LogBuilder.java
0% <ø> (ø)
:arrow_up:

.../java/fr/free/nrw/commons/WelcomePagerAdapter.java
0% <ø> (ø)
:arrow_up:

app/src/main/java/fr/free/nrw/commons/License.java
0% <ø> (ø)
:arrow_up:

app/src/main/java/fr/free/nrw/commons/Utils.java
34.88% <ø> (ø)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

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


release-2.5: Do not run the pre delete hook addon job if it's on the hub cluster

Signed-off-by: Mike Ng<EMAIL_ADDRESS>for https://github.com/stolostron/backlog/issues/24158

/lgtm


Implement "quantize_graph" will print "tf.estimator package not installed."

Making quantization by using command "sudo bazel-bin/tensorflow/tools/quantization/quantize_graph ......." in the directory of tensorflow, and it will input "tf.estimator package not installed." And in this directory, implemt "python->import tensorflow", it will return error message. But in other directory, implemt "python->import tensorflow", it will be normally. The folllowing is my envirnment information:
OS Platform and Distribution: Linux Ubuntu 18.04
TensorFlow installed from: using TF source code (CPU) for graph conversion, not using binary-python(GPU) for inference
TensorFlow version:  using r1.10.0-rc1
Python version: 3.6
Bazel version: 0.16.0

Have I written custom code: N/A
CUDA/cuDNN version: Not supported when confugurate
GPU model and memory : Not supported GPU
Exact command to reproduce : N/A
Mobile device: In PC not in mobile device
Thank you.

To complement,
in the directory of tensorflow/:
xxxx@edward-ubuntu-18:~/tensorflow$ python
Python 3.6.5 (default, Apr  1 2018, 05:46:30)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import tensorflow
Traceback (most recent call last):
File "/home/xx/tensorflow/tensorflow/python/platform/self_check.py", line 25, in
from tensorflow.python.platform import build_info
ImportError: cannot import name 'build_info'

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/home/xx/tensorflow/tensorflow/init.py", line 24, in
from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
File "/home/xx/tensorflow/tensorflow/python/init.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "/home/xx/tensorflow/tensorflow/python/pywrap_tensorflow.py", line 25, in
from tensorflow.python.platform import self_check
File "/home/xx/tensorflow/tensorflow/python/platform/self_check.py", line 27, in
raise ImportError("Could not import tensorflow. Do not import tensorflow "
ImportError: Could not import tensorflow. Do not import tensorflow from its source directory; change directory to outside the TensorFlow source tree, and relaunch your Python interpreter from there.
But when implemet the same operation not in the directory of /tensorflow, it can successfully import tensorflow

Hi, I have the same problem with the "optimize_for_inference" script : "tf.estimator package not installed"... I'm using TF 1.9

i found that it may because the version of tensorflow is not fit to the version of bazel.

What do you mean by "not fit" ? What is the version that we need to use so ?

I have the same problem with the "optimize_for_inference"  and " quantize_graph" scripts in TF 1.8 / 1.9

I have the same problem with the "optimize_for_inference" script in TF 1.10

same problem with "quantize_graph" scripts in latest TF

I had the same issue with optimize_for_inference, commenting out the following lines
from tensorflow.python.estimator import api as estimator_api  # pylint: disable=g-import-not-at-top   __path__ += [os.path.dirname(estimator_api.__file__)]   del estimator_api from the top of this file (inside try..except block)
bazel-bin/tensorflow/python/tools/optimize_for_inference.runfiles/org_tensorflow/tensorflow/__init__.py seems to solve it though getting some official comments would be great

Nagging Assignee @bignamehyp: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

I have the same problem

@case540 There probably is some additional untangling to be done?

I'll take a look

Nagging Assignee @case540: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

I have the same problem when compile
bazel build -c opt --copt="-DSELECTIVE_REGISTRATION"
--copt="-DSUPPORT_SELECTIVE_REGISTRATION"
//tensorflow/contrib/android:libtensorflow_inference.so
--host_crosstool_top=@bazel_tools//tools/cpp:toolchain
--crosstool_top=//external:android/crosstool --cpu=arm64-v8a

I also see this with 1.11 when building selective registration for iOS:
bazel-bin/tensorflow/python/tools/print_selective_registration_header
--graphs="${MODEL_PATHS}" > tensorflow/core/framework/ops_to_register.h

Nagging Assignee @case540: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @case540: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @case540: It has been 44 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Hi There,
We are moving this issue to closed status, as you are using an older version of tensorflow(1.x) which is officially considered as end of life. We recommend that you upgrade to 2.4 or later version and let us know if the issue still persists in newer versions.
Please open a new issue for any help you need against 2.x, and we will get you the right help.Thanks!


fix: fix metrics ticks generation logic

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


Carbon Health Onboarding – Test with OK

Steps for testing Carbon Health with new receiver

[ ] In staging, add Carbon Health as approved sender to Routing Filter
[ ] Check if receiver has any specific testing requirements including:

[ ] Patient Name restrictions
[ ] Receiver Portal access requirements
[ ] Check if Convert Date/Time to local receiver timezone is activated

[ ] Inform Carbon Health to send test messages to receiver per receiver requirements
[ ] Ensure messages get sent to that receiver

[ ] (if necessary) Update receiver quality filters

[ ] Notify receiver to approve test message (provide MessageID, Patient Name, Filename)
[ ] (if necessary) Make changes per receiver requirements

Acceptance Criteria

[ ] Receiver can successfully receive test messages and has approved them
[ ] Receiver is moved to receive production messages from Carbon Health

Ott and Victor to get together to discuss more.

Spillover: Confusion on engagement engr on what was required in this ticket.


"fork" function

Can't get this to work without thunking A (where ReturnTypes is just ReturnType over an array via mapped type):
const fork = <A, B, C extends Array<(x: A) => B>>(gs: [...C]) => (x: A): ReturnTypes<C> =>
  gs.map(applyTo(x)) as ReturnTypes<C>

Example of intended usage:
declare const sum: (x: number[]) => number
declare const length: (x: unknown[]) => number
declare const joined: (x: unknown[]) => string

fork([sum, length, joined]) // (xs: number[]) => [number, number, string]

This'd cross out juxt in the Ramda doc but be... better. Can probably then tackle converge too.

Would prefer not to use an overload but it works for now: https://github.com/samhh/fp-ts-std/commit/6e70231f3214a866ad6a24455f2fe083d413f642


Anchor & Control Points

using this set of code i get different positions as per the anchor points in the path creator: (I used NumAnchorPoints)
for (int i = 0; i < pathCreator[currentPathCreator].bezierPath.NumAnchorPoints; i++)
        {
            Debug.Log("POINT " + i + " : " + pathCreator[currentPathCreator].bezierPath.GetPoint(i));
        }

From the Highlighted Point we see it does not match the anchor point (Anchor Index 1) vector 3 position. This is also an issues to other points in the path.
They do not match at all!
DEBUG LOG MESSAGE FOR ANCHOR POINT 1 - POINT 1 : (-8.31, -4.47, 0.00)
INSPECTOR PATH CREATOR ANCHOR POINT 1 - (-7.691796, -4.233789, 0)

I noticed some of the values fetched/debugged are from the control points rather from the anchor points.
This was with the help of this code to verify. (I used NumPoints)
for (int i = 0; i < pathCreator[currentPathCreator].bezierPath.NumPoints; i++)
        {
            Debug.Log("POINT " + i + " : " + pathCreator[currentPathCreator].bezierPath.GetPoint(i));
        }

How do I go about this issue?

I changed the for loop to this and i was able to get the exact position of the anchor points
for (int i = 0; i < pathCreator[currentPathCreator].bezierPath.NumAnchorPoints; i++)
        {
            Debug.Log("POINT " + i + " : " + pathCreator[currentPathCreator].bezierPath.GetPoint(i*3));
        }

The GetPoint method takes the i and multiplied by 3 because for each two anchor points holds the position of 2 control points in between. When we start from 0 as an anchor index we are able to get the the second index (1) from the difference of 2 control points in between. So essentially is 0*3 to get second Anchor index.


Amend comment about export-inprogress networking

Resolves #2098
What is being addressed
Updated the comment about allowing the airlock processor to access the in-progress storage account

/help

/test-force-approve

/test-force-approve


azureauth postinstall script - scripts/install.js is not working correctly in wsl

🔑 Authenticating to package feed...
Encountered error while performing auth Error: AzureAuth is not installed.
at adoPat (.nvm/versions/node/v20.12.2/lib/node_modules/ado-npm-auth/dist/ado-npm-auth.cjs:38644:19)
at async generateNpmrcPat (.nvm/versions/node/v20.12.2/lib/node_modules/ado-npm-auth/dist/ado-npm-auth.cjs:38659:17)
at async setNpmrcPat (.nvm/versions/node/v20.12.2/lib/node_modules/ado-npm-auth/dist/ado-npm-auth.cjs:38783:51)
at async run (.nvm/versions/node/v20.12.2/lib/node_modules/ado-npm-auth/dist/ado-npm-auth.cjs:38122:9)
at async.nvm/versions/node/v20.12.2/lib/node_modules/ado-npm-auth/dist/ado-npm-auth.cjs:38145:16
❌ Authentication to package feed failed.
The azureauth executable which is supposed to be downloaded and installed via postinstall script for azureauth package is not installed correctly in wsl. So, seeing this error. Can this be fixed please?

This might be related to the bug I've fixed here:
https://github.com/microsoft/ado-npm-auth/pull/15
Which was causing the error thrown to be irrelevant.
Can we get some more details regarding the OS you're using? Is that MacOS? Linux? Windows?

This is happening in Windows Subsystem for Linux.
process.platform is being resolved as linux and the respective flows are commented out in scripts/install.js
  const DOWNLOAD_MAP = {
    win32: {
      x64: `azureauth-${AZUREAUTH_INFO.version}-win10-x64.zip`,
    },
    darwin: {
      x64: `azureauth-${AZUREAUTH_INFO.version}-osx-x64.tar.gz`,
      arm64: `azureauth-${AZUREAUTH_INFO.version}-osx-arm64.tar.gz`,
    },
    // TODO: support linux when the binaries are available
    // linux: {
    //   def: "azureauth.exe",
    //   x64: "azureauth-${AZUREAUTH_INFO.version}-win10-x64.zip",
    // },
  };

@jcreamer898, it would be great if you could help me with this. Thanks!

Hey @sivakumarmedidi the issue is that the underlying library doesn't have a release for linux yet. On WSL, you can get away with using the Windows .exe, and I noticed this behaviour too.
Also confusingly there's two places that do basically the same thing of running underlying azureauth, so I'm going to try and consolidate this. Stay tuned for the fix for WSL

This is also happening when using pnpm exec ado-npm-auth instead of npm
It would be great if npm wasn't hard-coded in the npxAzureAuthCommand

I'm also seeing the "AzureAuth is not installed" error when running on WSL:
🔑 Authenticating to package feed...
Encountered error while performing auth Error: AzureAuth is not installed.
    at adoPat (/home/<user>/.npm/_npx/db64d855fa186e0a/node_modules/ado-npm-auth/dist/ado-npm-auth.cjs:38678:19)
    at async generateNpmrcPat (/home/<user>/.npm/_npx/db64d855fa186e0a/node_modules/ado-npm-auth/dist/ado-npm-auth.cjs:38693:17)
    at async setNpmrcPat (/home/<user>/.npm/_npx/db64d855fa186e0a/node_modules/ado-npm-auth/dist/ado-npm-auth.cjs:38817:51)
    at async run (/home/<user>/.npm/_npx/db64d855fa186e0a/node_modules/ado-npm-auth/dist/ado-npm-auth.cjs:38130:9)
    at async /home/<user>/.npm/_npx/db64d855fa186e0a/node_modules/ado-npm-auth/dist/ado-npm-auth.cjs:38153:16
❌ Authentication to package feed failed.

@Stuart-Wilcox , you mentioned "On WSL, you can get away with using the Windows .exe". Can you elaborate on how you got that working? I see a check that looks like it would handle this automatically in the line below, but I'm still seeing the error. Not sure if there's a step I need to run beforehand to ensure it's available here. I tried just installing azureauth in Windows but it didn't seem to have an effect.
https://github.com/microsoft/ado-npm-auth/blob/988cb615c121293caa76bb3cb08d75539ad400d6/packages/ado-npm-auth/src/azureauth/azureauth-command.ts#L33
System Settings
Node version - v18.20.4
Npm version - 10.7.0
WSL - <IP_ADDRESS>-microsoft-standard-wsl2

Ah, I was able to get the windows.exe workaround working by following the azureauth windows install instructions found here: https://github.com/AzureAD/microsoft-authentication-cli?tab=readme-ov-file#windows. Previously, I had just been using npm to install it in windows.


Delete ableton-live-suite.rb

To be moved to caskroom/versions.

Merged as ad7a6c715a7d78236cb52fc8461805663a11f5be.


Add parens around print statement

Hi,
Without these parens I get the following error:

WDYT

I have now replaced that file (midiutil.MidiFile.py) with an updated version which does not include that print statement. So hopefully that will solve this issue.


Fix support 1.19 & Version class

1.19 Support added thanks to @HarvelsX

No problem, thank you for the good plugin!


Explain how to install Node.js

This adds an explanation in the Setting Up guide on how to install
Node.js. Closes #572

Coverage remained the same at 96.396% when pulling 188d724da70692a4ca450386b21f501710374895 on setting-up-nodejs into acc7445c94f8833a3db408f9b655f755d03c6e40 on major.


Added IEcsSystem management in the Configurator class

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[x] Tests for the changes have been added (for bug fixes / features)
[x] Documentation has been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
This adds support for the IEcsSystem use in the Configurator class.
Is there an open issue that this resolves? If so, please link it here.
Fixes #502 .
What is the current behavior? (You can also link to an open issue here)
Configurator only manages std::function<void(TimeStamp, Catalogue)> systems.
What is the new behavior (if this is a feature change)?
Configurator manages IEcsSystem systems.
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No.
Other information:

This is a first and naive implementation.
Now that I reread the original issue, I think I should just rename the WithIEcsSystems to an overload of WithSystems. If so, I will add another test to manage the initalization with the overload instead of managing both in the current test.

I will wait for your changes to do a review then to avoid duplication. :D

I will wait for your changes to do a review then to avoid duplication. :D

All done!

And we're in!


samples: basic: Add overlay for nRF54L15 for basic_pwm example

Adds overlay to use hardware PWM. There is no possilibity to work with all period configuration.
Limitation are pointed in sample's doc.

Adressed in https://github.com/zephyrproject-rtos/zephyr/pull/72010


Ability to set Monitor GPU scaling mode

Description
On X11 I can force a monitor to display provided resolution without scaling (just centering) or by only scaling to aspect ration (and letterboxing):
xrandr --output DisplayPort-1 --set "scaling mode" "Center"
xrandr --output DisplayPort-1 --set "scaling mode" "Full aspect"

(https://drmdb.emersion.fr/properties/3233857728/scaling mode)
This property is useful when mirroring to a display that has a different aspect ratio than your main display, for example while giving a presentation or connecting to a TV. But from what I can see, there is no way to do this in Hyprland.

that needs support in aquamarine first once #6608 is done


Incorrect status code

Sails version: 0.12.3
Node version: 6.2
NPM version: 3.8.9
Operating system: mac

If error generated from external express middleware, like from body-parser any of these - https://github.com/expressjs/body-parser#errors, say for example request entity too large, then status code for it will be 500 when it should be 413, body will be -
{
  "expected": 1,
  "length": 1,
  "limit": 0,
  "message": "request entity too large",
  "status": 413,
  "statusCode": 413,
  "type": "entity.too.large"
}

Whereas res.serverError hook will not be called.

Nice to meet you too! So tickets are closing without reason? This project is no longer supported?

Oh man :/

You should provide a way to reproduce the issue so that it can be easily tested/addressed. Just my 2 cents

I did, any generated error will provide incorrect statusCode

What I mean, you could do something like this: https://gist.github.com/sgress454/76be129ebcf07beb203f

That way, the Sails team can have more information on how to reproduce the issue, and tackle it.

I need to write a step-by-step here? You telling me a sails team don't know how to generate a error? I need to create a special repo for this?
Like, seriously?

I'm not from Sails. I'm just telling you the way it's easier to get a bug fixed, not just with sails, anywhere.

I'm not from Sails.

I know you aren't

I'm just telling you the way it's easier to get a bug fixed, not just with sails, anywhere.

Thank you! Much appreciate it


Investigate suggesting extensions in "Recommended" pane based on project source

Testing Codespace Scenario: 1791
I'm unsure whether this is controlled at an extension- or core-level but is it possible for VS Code to suggest a list of extensions to install (in the "Recommended" pane of the Marketplace tab) based on files in the user's current workspace.
This stemmed from a fresh Codespace creation wherein I:

Created a new Codespace from an existing repo.
Had both .py and .ipynb files in the workspace.
Navigated to the Marketplace tab in which the only recommended extension was "Gitlens".

Happy to inquire with the core team if this is something that can't be configured at an extension-level.

@SiddhanthUnnithan This should be filed on VS Code not on the extension.


should @trust be moved?

dont mean to be a pain, but I was trying to do some debugging in this code, and want to make sure I'm looking at the most recent code base (as a learning experience)
https://github.com/solid/solid-cli/blob/master/src/SolidClient.js#L4
has @trust moved to @solid ?

Yes, repo predates that move. Should upgrade.

Yeah so we moved most (not all) of the @trust dependencies over to the @solid namespace - but this one was included. I believe this is the full list:
jose
keychain
oidc-op
oidc-rp
oidc-rs

I'm getting bitten by this because there is a bunch of security warnings from base64url, and this appears to be the one that is causing the alarm. Would be great if it could be upgraded.


Proxy has problem with some situations

Describe the bug
When Green Tunnel Starts for me it unblock YouTube very well but when i want to download from YouTube with IDM i can not. and also i cannot connect to green tunnel at port 8000 or even when i click use system proxy.
Can you tell me why this is happening? Is this even a bug?
Side Question: when i download from inside country does it calculate half?
And it would be a great idea if we can use direct connection for sites inside country.
I know i talked a lot for just one issue!

Hi,
for using green-tunnel with IDM, I think you should check HTTP proxy settings for IDM (<IP_ADDRESS>:8000)
and for the second question, if your question is about Iran policies, half price it's based on your requests destination and it is only for some websites and not all of the .ir websites, you can check the list here.
(and yes for websites that are on the list, I think the price is calculated half, but what's the point? non of them are blocked)

The only reason i said that is I hate to disconnect and connect the app ( VPN ) I want to have both benefit of unblocking sites beside having direct connection to sites inside country. So that was the reason for my question.

Note: green tunnel is connect! its red and i reported in another issue. #76
as you can see it works on youtube but my IDM and telegram doesnt connect ( not even by use system setting or set manual proxy to localhost)
Do you have same problem?

Humm, I think GreenTunnel has a bug on your system, you can run green-tunnel CLI for more info (currently GUI has no any log outputs) or disable proxy settings on IDM.
also, GreenTunnel can't use it with Telegram, because the regime blocks Telegram using IP addresses and there is no way to reach the servers from Iran.


deploy: Check for new commits to main

The deploy workflow fails often if additional PRs have been merged by the time this job runs. This change will check to see if there are any commits in main that are not in the branch the job is running on. If so, it will not attempt to push a commit that would fail.

@russellb ui-lint job failing because of the npm errors.

@russellb ui-lint job failing because of the npm errors.

Working now


Adding to user docs information about Admin Groups

changed user docs based on Metro feedback about Admin Groups

@obinna-okoro Thanks, I fixed it :)


Q&A not detailed enough

It would be nice to see an example or a link to where I can find an example data.xml.  The answer to the one question doesn't show an example of what data source files would look like.

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

ID: c67f0f36-9638-5022-d856-721441de8892
Version Independent ID: 389b1847-55a8-c97a-a562-1a6e266f4358
Content: Creating a Data-Driven Coded UI Test in Visual Studio - Visual Studio
Content Source: docs/test/creating-a-data-driven-coded-ui-test.md
Product: visual-studio-dev15
GitHub Login: @gewarren
Microsoft Alias: gewarren

Given that Coded UI Test is deprecated, we are not planning to update this documentation at this time.


Use cxx for logger FFI

Related to https://github.com/newsboat/newsboat/issues/1383.

Coverage decreased (-0.02%) to 58.256% when pulling 9ad62e4a4483bc0d466d8add0a6e9f2a4b6cdb96 on dennisschagt:feature/use-cxx-for-logger-ffi into 6d6da0f6968e96a95223f4c3c537a2058478f229 on newsboat:master.