Can't build on Flutter's master branch

If I run flutter packages pub run build_runner build --delete-conflicting-outputs --verbose on master (v1.10.14) branch, I see the following problem
[INFO] Generating build script...
[INFO] Generating build script completed, took 365ms

[WARNING] Deleted previous snapshot due to missing asset graph.
[INFO] Creating build script snapshot......
[INFO] Creating build script snapshot... completed, took 19.4s

[INFO] BuildDefinition:Initializing inputs
[INFO] BuildDefinition:Building new asset graph...
[INFO] BuildDefinition:Building new asset graph completed, took 784ms

[INFO] BuildDefinition:Checking for unexpected pre-existing outputs....
[INFO] BuildDefinition:Checking for unexpected pre-existing outputs. completed, took 1ms

[INFO] Build:Running build...
[INFO] Heartbeat:1.0s elapsed, 0/16 actions completed.
[INFO] Heartbeat:2.0s elapsed, 0/16 actions completed.
[INFO] Heartbeat:3.3s elapsed, 0/16 actions completed.
[INFO] Heartbeat:4.3s elapsed, 0/16 actions completed.
[INFO] Heartbeat:5.5s elapsed, 0/16 actions completed.
[INFO] Heartbeat:6.5s elapsed, 0/16 actions completed.
[INFO] Heartbeat:7.7s elapsed, 0/16 actions completed.
[INFO] Heartbeat:8.7s elapsed, 0/16 actions completed.

You have hit a bug in build_runner
Please file an issue with reproduction steps at https://github.com/dart-lang/build/issues

type 'DynamicTypeImpl' is not a subtype of type 'InterfaceType'
package:analyzer/src/summary/link.dart 5535:5                     TypeProviderForLink._buildInterfaceType
package:analyzer/src/summary/link.dart 5503:23                    TypeProviderForLink.objectType
package:analyzer/src/summary/link.dart 925:67                     ClassElementForLink_Class._computeInterfaceType
package:analyzer/src/summary/link.dart 823:27                     ClassElementForLink_Class.supertype
package:analyzer/src/task/strong_mode.dart 303:33                 InstanceMemberInferrer._inferClass
package:analyzer/src/task/strong_mode.dart 335:9                  InstanceMemberInferrer._inferClasses
package:analyzer/src/task/strong_mode.dart 56:5                   InstanceMemberInferrer.inferCompilationUnit
package:analyzer/src/summary/link.dart 1627:7                     CompilationUnitElementInBuildUnit.link
package:analyzer/src/summary/link.dart 3840:12                    LibraryElementInBuildUnit.link
package:analyzer/src/summary/link.dart 3540:15                    LibraryCycleNode.link
package:analyzer/src/summary/link.dart 3480:7                     LibraryCycleDependencyWalker.evaluate
package:analyzer/src/summary/link.dart 2213:13                    DependencyWalker.walk.strongConnect
package:analyzer/src/summary/link.dart 2179:24                    DependencyWalker.walk.strongConnect
package:analyzer/src/summary/link.dart 2179:24                    DependencyWalker.walk.strongConnect
package:analyzer/src/summary/link.dart 2179:24                    DependencyWalker.walk.strongConnect
package:analyzer/src/summary/link.dart 2179:24                    DependencyWalker.walk.strongConnect
package:analyzer/src/summary/link.dart 2179:24                    DependencyWalker.walk.strongConnect
package:analyzer/src/summary/link.dart 2232:18                    DependencyWalker.walk
package:analyzer/src/summary/link.dart 3513:42                    LibraryCycleForLink.ensureLinked
package:analyzer/src/summary/link.dart 4045:35                    Linker.link
package:analyzer/src/summary/link.dart 311:74                     _relink
package:analyzer/src/summary/link.dart 125:3                      link
package:analyzer/src/dart/analysis/library_context.dart 220:25    LibraryContext.load.<fn>
package:analyzer/src/dart/analysis/performance_logger.dart 34:15  PerformanceLog.run
package:analyzer/src/dart/analysis/library_context.dart 219:12    LibraryContext.load
package:analyzer/src/dart/analysis/library_context.dart 98:7      new LibraryContext
package:analyzer/src/dart/analysis/driver.dart 1626:29            AnalysisDriver._createLibraryContext
package:analyzer/src/dart/analysis/driver.dart 1570:26            AnalysisDriver._computeUnitElement
package:analyzer/src/dart/analysis/driver.dart 1170:34            AnalysisDriver.performWork
package:analyzer/src/dart/analysis/driver.dart 2188:24            AnalysisDriverScheduler._run
package:analyzer/src/dart/analysis/driver.dart 2118:5             AnalysisDriverScheduler.start
package:build_resolvers/src/analysis_driver.dart 54:13            analysisDriver
package:build_resolvers/src/resolver.dart 138:18                  new AnalyzerResolvers
package:build_runner_core/src/generate/options.dart 193:19        BuildOptions.create
package:build_runner/src/generate/build.dart 85:36                build
package:build_runner/src/entrypoint/build.dart 28:24              BuildCommand.run
package:args/command_runner.dart 197:27                           CommandRunner.runCommand
package:args/command_runner.dart 112:25                           CommandRunner.run.<fn>
dart:async                                                        new Future.sync
package:args/command_runner.dart 112:14                           CommandRunner.run
package:build_runner/src/entrypoint/run.dart 24:31                run
.dart_tool/build/entrypoint/build.dart 22:22                      main

pub finished with exit code 1

#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      pubInteractively (package:flutter_tools/src/dart/pub.dart:244:5)
<asynchronous suspension>
#2      PackagesPassthroughCommand.runCommand (package:flutter_tools/src/commands/packages.dart:267:11)
<asynchronous suspension>
#3      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:557:18)
<asynchronous suspension>
#4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:457:33)
<asynchronous suspension>
#5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:157:29)
<asynchronous suspension>
#6      _rootRun (dart:async/zone.dart:1124:13)
#7      _CustomZone.run (dart:async/zone.dart:1021:19)
#8      _runZoned (dart:async/zone.dart:1516:10)
#9      runZoned (dart:async/zone.dart:1463:12)
#10     AppContext.run (package:flutter_tools/src/base/context.dart:156:18)
<asynchronous suspension>
#11     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:446:20)
#12     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
<asynchronous suspension>
#13     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:416:21)
<asynchronous suspension>
#14     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:157:29)
<asynchronous suspension>
#15     _rootRun (dart:async/zone.dart:1124:13)
#16     _CustomZone.run (dart:async/zone.dart:1021:19)
#17     _runZoned (dart:async/zone.dart:1516:10)
#18     runZoned (dart:async/zone.dart:1463:12)
#19     AppContext.run (package:flutter_tools/src/base/context.dart:156:18)
<asynchronous suspension>
#20     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:367:19)
<asynchronous suspension>
#21     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
#22     new Future.sync (dart:async/future.dart:224:31)
#23     CommandRunner.run (package:args/command_runner.dart:112:14)
#24     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:251:18)
#25     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:63:22)
<asynchronous suspension>
#26     _rootRun (dart:async/zone.dart:1124:13)
#27     _CustomZone.run (dart:async/zone.dart:1021:19)
#28     _runZoned (dart:async/zone.dart:1516:10)
#29     runZoned (dart:async/zone.dart:1500:12)
#30     run.<anonymous closure> (package:flutter_tools/runner.dart:61:18)
<asynchronous suspension>
#31     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:157:29)
<asynchronous suspension>
#32     _rootRun (dart:async/zone.dart:1124:13)
#33     _CustomZone.run (dart:async/zone.dart:1021:19)
#34     _runZoned (dart:async/zone.dart:1516:10)
#35     runZoned (dart:async/zone.dart:1463:12)
#36     AppContext.run (package:flutter_tools/src/base/context.dart:156:18)
<asynchronous suspension>
#37     runInContext (package:flutter_tools/src/context_runner.dart:63:24)
<asynchronous suspension>
#38     run (package:flutter_tools/runner.dart:50:10)
#39     main (package:flutter_tools/executable.dart:65:9)
<asynchronous suspension>
#40     main (file:///Users/alectogeek/Documents/Programs/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#41     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:303:32)
#42     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)

Are there any news?


cant get version and status of Jaeger instance in kubectl

I am using the latest CRD yaml. And I saw there are additionalprinter fields, but they did't work.
[root@k8s]# kg jaeger
NAME                              STATUS   VERSION
jaeger-all-in-one-local-storage

Do they eventually get populated?

It's weird. Seems my k8s don't keep any status information. The jaeger instances are running, but I cannot get their status. Is this the desired behavior?
[root@k8s ~]# kg po
NAME                                               READY   STATUS    RESTARTS   AGE
jaeger-all-in-one-inmemory-d44865bb8-cpw6t         1/1     Running   0          4m26s
jaeger-all-in-one-local-storage-77665486cf-45x5t   1/1     Running   0          4m8s
jaeger-operator-58957d8fbd-hwwgj                   2/2     Running   1          5m18s
[root@k8s ~]# kg jaeger
NAME                              STATUS   VERSION
jaeger-all-in-one-inmemory
jaeger-all-in-one-local-storage

[root@k8s ~]# kg jaeger jaeger-all-in-one-inmemory -o yaml
apiVersion: jaegertracing.io/v1
kind: Jaeger
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"jaegertracing.io/v1","kind":"Jaeger","metadata":{"annotations":{},"name":"jaeger-all-in-one-inmemory","namespace":"observability"}}
  creationTimestamp: "2019-12-20T14:20:28Z"
  generation: 3
  labels:
    jaegertracing.io/operated-by: observability.jaeger-operator
  name: jaeger-all-in-one-inmemory
  namespace: observability
  resourceVersion: "4916865"
  selfLink: /apis/jaegertracing.io/v1/namespaces/observability/jaegers/jaeger-all-in-one-inmemory
  uid: bb71d357-c173-4754-9caa-51027129c58a
spec:
  agent:
    options: {}
    resources: {}
  allInOne:
    options: {}
    resources: {}
  collector:
    options: {}
    resources: {}
  ingester:
    options: {}
    resources: {}
  ingress:
    openshift: {}
    resources: {}
    security: none
  query:
    options: {}
    resources: {}
  resources: {}
  sampling:
    options: {}
  storage:
    cassandraCreateSchema: {}
    dependencies:
      image: jaegertracing/spark-dependencies
      resources: {}
      schedule: 55 23 * * *
    elasticsearch:
      nodeCount: 3
      redundancyPolicy: SingleRedundancy
      resources:
        limits:
          memory: 16Gi
        requests:
          cpu: "1"
          memory: 16Gi
      storage: {}
    esIndexCleaner:
      image: jaegertracing/jaeger-es-index-cleaner:1.15.1
      numberOfDays: 7
      resources: {}
      schedule: 55 23 * * *
    esRollover:
      image: jaegertracing/jaeger-es-rollover:1.15.1
      resources: {}
      schedule: '*/30 * * * *'
    options: {}
    type: memory
  strategy: allinone
  ui:
    options: {}

Are you sure you are on 1.16.0? What does the first line of your operator's log says?

Oh, thanks. I forget to upgrade my operator. Close now


Upkie number two

This issue follows Upkie number two as we build it, so that it may capture some of the action stream. Hopefully all of that makes it to the wiki :wink:

Next actions as of today:

[ ] Order heat-set inserts and screws again*: 2023-04-14
[ ] Plug all heat-set inserts: 2023-04-21
[ ] Make cable harnesses: 2023-04-28
[ ] Buffer for mistakes and things I forgot: one week :smile:
[ ] Assemble the beast: 2023-05-12

(* small screws are M2.5 not M2, torso inserts are M3x5x4 not M3x4x5 → BOM corrected already)

Next actions as of 2023-05-03:

[ ] Plug M2 heat-set inserts: 2023-05-09 (expected date for parts delivery)
[ ] Make cable harnesses: 2023-04-28 2023-05-12 (waiting for heat shrinks)
[ ] Plug torso M3 heat-set inserts: 2023-05-12
[ ] Electronics test 1/2: 2023-05-12
[ ] Electronics test 2/2: 2023-05-19
[ ] Final beast assembly: 2023-05-26

Dear Stephane, I am interested to modify the design and enhance the dynamics for Upkie for several locmotions motions. I can't see the CAD model files instead stls are provided. May I request for them?

@nabeeljadoon Sure. Let's discuss this in this separate thread: https://github.com/tasts-robots/build_upkie/discussions/5 and keep this issue about the progress of building Upkie rev2.

Next actions as of 2023-05-17:

[ ] Plug M2.5 heat-set inserts: 2023-05-22
[ ] Plug torso M3 heat-set inserts: 2023-05-22
[ ] Electronics test #3: 2023-05-25
[ ] Final beast assembly: 2023-05-26 (if ET#3 is successful :stuck_out_tongue:)


Child properties of the alert property

Hi,
There is no possibility to set alert as a dictionary. I removed the string casting in _getPayload function but it should be resolved in better way.

1


feat: implement keys and values on StableBTreeMap

This adds keys and values to StableBTreeMap bringing it more in line with the std BTreeMap.
It also adds keys_range and values_range which aren't exposed by the std BTreeMap, with the std map these aren't really needed because the keys and values are returned by reference, so it is still efficient to use range and then map to get the keys or the values.
But with the StableBTreeMap using the same approach would result in reading and deserializing the keys and values, only to throw one set of them away.

I feel like it would be a good idea to introduce some benchmarks that cover the new functions added as well, wdyt?

Done!


Overhaul README installation instructions

The current README documentation is messy. Aside from general Pony resources and OpenCollective backing, it also includes instructions for installing Pony from the latest release version and instructions for building from source, mixed with Docker instructions that are confusing (quoting myself from #3409):

It's currently under the "Installation" section -- which is dedicated to installing the latest release of ponyc --, but the section itself tells users to refer to it when they "want to use the latest revision of Pony source". There are two problems with that text:

I'd expect anything that uses latest revision to be in "Building ponyc from source" since it's not a release.
The latest and alpine Docker tags are reserved for nightly builds, not latest revision (see .github/workflows/handle-external-events.yml. It's a minor distinction but one that should be made.

There are also many installation instructions spread across different sections, and no easy way to navigate through the document, say, with a ToC. In other words, it's not too user-friendly as-is.
Quoting @SeanTAllen's suggestion (also from #3409):

I'm planning on redoing all the installation instructions once ponyup is ready in a few weeks. I think it makes sense to drastically revisit the existing instructions.
My thought:
INSTALL.md
BUILD.md
where INSTALL.md has how to install.
where BUILD.md has how to build from source
I think the Docker related activities would be in a still different file.
Then, from README, links to each.

This issue is supposed to gather discussion for how to address these issues. It can be broken into smaller issues once we have a better idea of what we want.

We will hold off on this until https://github.com/ponylang/ponyup/issues/50 is resolved

ponylang/ponyup#50 is resolved. marking this as unblocked. I'll get to this over the holidays.

Will include #3410 work in this.

Did you mean #3328?

Work is underway on the branch 3410


Improve authentication method support

why
Mixpanel documentation clearly states signature-based authentication is considered deprecated. However, on several occasions we have been informed there are no plans to discontinue support of signature-based authentication. There has been some interest in supporting the new "secret in header" means of authentication. Two PRs have been submitted to that effect:
https://github.com/cooncesean/mixpanel-query-py/pull/27
https://github.com/cooncesean/mixpanel-query-py/pull/29
In the interest of keeping this repo up to date, we should strive to conform to the latest documentation from Mixpanel.
what
this PR:

creates a new mixpanel_query.auth module with two classes, SignatureAuth and SecretAuth
adjusts mixpanel_query.client.MixpanelQueryClient to accept an auth_class upon initialization. This auth class is used to create an instance upon initialization for future use in authorizing requests
adjusts mixpanel_query.connection.Connection to use the client's auth instance to authenticate requests
moves the unicode_urlencode method from the connection class to mixpanel_query.utils so both authentication classes could use it

new usage
If we merge this PR and update the pip version, you should not have to make any changes to your code in a production environment what-so-ever. The same signature method of authentication will be used, any unit tests you have setup to introspect url parameters should see everything behaving as usual.
However, if you wish to switch production code to use the secret-based means of authentication, you should be able to do so like this:
BEFORE:
from mixpanel_query.client import MixpanelQueryClient

signature_client = MixpanelQueryClient(API_KEY, API_SECRET)

AFTER:
rom mixpanel_query.client import MixpanelQueryClient
from mixpanel_query.auth import SecretAuth

secret_client = MixpanelQueryClient(API_KEY, API_SECRET, auth_class=SecretAuth)

notes

in the future, we can consider changing the default auth_class used by the client to be SecretAuth. We should most certainly do so if Mixpanel ever communicates their intent to discontinue support of the signature-based authentication method.
thank you @drathm and @robin900 for your prior PRs on this (I leaned heavily on your PRs for the SecretAuth class.
I have tested both authentication methods using the get_segmentation and get_export methods, and both are functioning well. I'd appreciate any additional tire-kicking folks can bring to the PR.

Great change! I've added JQL support to my local fork which requires the use of POST instead of the assumed GET in the connection class so I'll need to massage this a bit into my local branch.
I'm happy to submit another PR if desired. Here's my local branch with JQL
https://github.com/Resly/mixpanel-query-py/tree/add-jql

@drathm it'd be great to support JQL, for sure. I'll take a look at your fork sometime this week. Otherwise PRs are always welcome.


Apply both environment variables and system properties to user and table config

Apply both environment variables and system properties to user and table configs.
Environment variables take precedence over system properties.

Codecov Report
Attention: Patch coverage is 0% with 14 lines in your changes are missing coverage. Please review.

Project coverage is 0.00%. Comparing base (59551e4) to head (aab7de4).
Report is 371 commits behind head on master.

Files
Patch %
Lines

.../java/org/apache/pinot/spi/config/ConfigUtils.java
0.00%
12 Missing :warning:

...ache/pinot/common/metadata/ZKMetadataProvider.java
0.00%
2 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #13011       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436     2427        -9
  Lines        133233   132973      -260
  Branches      20636    20600       -36
=============================================
- Hits          82274        0    -82274
- Misses        44911   132973    +88062
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <0.00%> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <0.00%> (ø)

java-11
?

java-21
0.00% <0.00%> (-61.63%)
:arrow_down:

skip-bytebuffers-false
?

skip-bytebuffers-true
0.00% <0.00%> (-27.73%)
:arrow_down:

temurin
0.00% <0.00%> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

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

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


Traning error

I have re-installed torch and dependency libraries. But I met the thread errors when training on my own training data. Although the beginning seems correctly. I trained the model on 2 GPU cards. The training command is as follow.
fairseq train -sourcelang src -targetlang ref -datadir nist-bin/ -model blstm -nhid 512 -dropout 0.2 -dropout_hid 0 -optim adam -lr 0.0001 -savedir data/blstm -batchsize 128 -maxbatch 70 -validbleu -nembed 128
The error is :
| [ref] Dictionary: 40003 types
| [src] Dictionary: 40003 types
| IndexedDataset: loaded data/ with 127615 examples
| IndexedDataset: loaded data/ with 88 examples
| IndexedDataset: loaded data/ with 164 examples
| IndexedDataset: loaded data/ with 88 examples
| IndexedDataset: loaded data/ with 164 examples
| epoch 000 | 0001000 updates | words/s     685| trainloss    10.67 | train ppl  1627.17
| epoch 000 | 0002000 updates | words/s     879| trainloss     9.95 | train ppl   987.71
| epoch 000 | 0003000 updates | words/s     668| trainloss     9.68 | train ppl   821.81
/home/lixiang/library/dnn/torch/install/bin/luajit: ...rary/dnn/torch/install/share/lua/5.1/threads/threads.lua:183: [thread 2 callback] ...rary/dnn/torch/install/share/lua/5.1/nngraph/gmodule.lua:348: split(2) cannot split 0 outputs
stack traceback:
[C]: in function 'error'
...rary/dnn/torch/install/share/lua/5.1/nngraph/gmodule.lua:348: in function 'neteval'
...rary/dnn/torch/install/share/lua/5.1/nngraph/gmodule.lua:380: in function 'forward'
.../torch/install/share/lua/5.1/rnnlib/nn/SequenceTable.lua:150: in function 'forward'
.../torch/install/share/lua/5.1/rnnlib/nn/SequenceTable.lua:150: in function 'uo'
.../torch/install/share/lua/5.1/rnnlib/recurrentnetwork.lua:54: in function 'func'
...rary/dnn/torch/install/share/lua/5.1/nngraph/gmodule.lua:345: in function 'neteval'
...rary/dnn/torch/install/share/lua/5.1/nngraph/gmodule.lua:380: in function 'func'
...rary/dnn/torch/install/share/lua/5.1/nngraph/gmodule.lua:345: in function 'neteval'
...rary/dnn/torch/install/share/lua/5.1/nngraph/gmodule.lua:380: in function 'forward'
...hare/lua/5.1/fairseq/torchnet/ResumableDPOptimEngine.lua:356: in function <...hare/lua/5.1/fairseq/torchnet/ResumableDPOptimEngine.lua:333>
[C]: in function 'xpcall'
...rary/dnn/torch/install/share/lua/5.1/threads/threads.lua:234: in function 'callback'
...ibrary/dnn/torch/install/share/lua/5.1/threads/queue.lua:65: in function <...ibrary/dnn/torch/install/share/lua/5.1/threads/queue.lua:41>
[C]: in function 'pcall'
...ibrary/dnn/torch/install/share/lua/5.1/threads/queue.lua:40: in function 'dojob'
[string "  local Queue = require 'threads.queue'..."]:13: in main chunk
stack traceback:
[C]: in function 'error'
...rary/dnn/torch/install/share/lua/5.1/threads/threads.lua:183: in function 'dojob'
...rary/dnn/torch/install/share/lua/5.1/threads/threads.lua:264: in function 'synchronize'
...hare/lua/5.1/fairseq/torchnet/ResumableDPOptimEngine.lua:371: in function 'doTrain'
...hare/lua/5.1/fairseq/torchnet/ResumableDPOptimEngine.lua:189: in function 'train'
...nn/torch/install/share/lua/5.1/fairseq/scripts/train.lua:405: in main chunk
[C]: in function 'require'
...rch/install/lib/luarocks/rocks/fairseq/scm-1/bin/fairseq:17: in main chunk
[C]: at 0x00405d50

I think you ended up with a batch that is too small, maybe because there's a sentence longer then 140 words (maxbatch is 70, times two GPUs). Can you try removing the -maxbatch flag? This should not be required for blstms since the mini-batch is limited by -bptt already (which is set to 25 by default). The flag is useful for controlling memory usage when training with -bptt 0 (e.g. for fully convolutional models). If a the number of tokens (number of sentences * length of longest target sentence) in the mini-batch is larger than -maxbatch, the mini-batch will be split along the batch dimension (as opposed to the time dimension with -bptt).

Sorry for the delay; has this been resolved?

Closing the issue now, please re-open if necessary.


Removes unsupported warning on MacOS

Fixing issue #25 on MacOS
Opening up a PR that fixes the issue on MacOS, don't have other OSes like Windows or Linux so will need some tests to see if it fixes for those OSes.
This is more a workaround solution based on this.
Probably going to have to set a enum for other OSes like Windows in config.js as it seems the string I put in for useragent is MacOS-specific, so can add that to this PR if needed.
Before:

After:

This PR will need more editing and modifications, its more to just bring to light a possible fix and for testing it out

It'd be a good idea to test if this fixes the issue on Windows and Linux as well before merging.
While this works, updating and publishing a release every time Chrome updates would be suboptimal. Perhaps there's a more permanent workaround, like implementing firebase authentication that redirects to the user's default browser.

Yea would not merge this PR right now, think need some kind of solution that does not require updating each time.

Tried different variations but think going to have to go with temp workaround for now where we just set the user agent string as const userAgent = "Mozilla/5.0 (Macintosh; ;) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36"  think we might need to basically scrape this website link for latest chrome user agent string and then store it somewhere so can be easily queried for the OS system

Agreed I like the scraping idea and this will need to be revisited once Google Chrome phases out UA's, but I think this is a good temporary workaround for now.

Can probably investigate electron update servers, see:
https://www.electronjs.org/docs/tutorial/updates


Support meta index lookup via type attributes

This PR enhances the meta index to support type attribute queries. For example, it is now possible to process &type != "foo".

This one is ready for another review now.

I've incorporated your review, @tobim. Let me know if anything else stands out.


Bug fix description to deal with break lines

Bug fix of description where description was not displaying the break lines but one chunk.

LGTM!


Add Pagination

In your local database add Pages - every page should have:
id,
bookId,
content (1800 characters).
In book page add pages section and buttons next and previous, by clicking change the page.


Destroy map trouble

I use several maps at a time. They can be created and deleted dynamically. But when I destroy a map using map.remove() there is a memory leak and "Detached DOM trees" appears in Chrome Dev Tools.
Working example here http://<IP_ADDRESS>/patyi/index.html
How to destroy maps properly?

First, map.remove() should remove all layers. If not, these layers keep a dangling reference to this._map and cannot be added to any other map instance afterwards.
Second, I've found a non-completely-clean way of triggering map.remove() when the map container is removed from the DOM (#3514). See https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver , which seems to be the only way to do it.

@IvanSanchez lets not use mutation observers since we want Leaflet to work reliably in older browser (it's not supported in IE up to 10)

@mourner I'm surprised you still have hopes for anything to work reliably on IE8 :-P

I just don't like adding code that's not strongly necessary and not working everywhere. :)

Merged.

Hi there. Im also having trouble removing the map. Im using react with a bootstrap modal to render the map. see the removeMap function below.
class NeabySpot extends React.Component {

    constructor(props) {
        super(props);
        this.state = { showModal: false };
    }

    componentDidUpdate(prevProps, prevState){
        if(prevProps.selectedSpot !== this.props.selectedSpot) {
            const lat = this.props.selectedSpot.getIn(['gpsLocation', 'lat']);
            const lng = this.props.selectedSpot.getIn(['gpsLocation', 'lng']);

            this.drawMap(lat, lng)
        }
    }

    drawMap(lat, lng) {

        if (!this.map) {
            this.map = L.map("map-nearby");
            L.tileLayer("http://{s}.tile.osm.org/{z}/{x}/{y}.png", {
                attribution: '© OpenStreetMap contributors'
            }).addTo(this.map);
            this.markers = new L.FeatureGroup();
            this.map.addLayer(this.markers);
        }
        this.map.setView([lat, lng], 3);
        this.mapIcon = L.icon({
            iconUrl,
            iconRetinaUrl,
            shadowUrl,
            iconSize: [25, 41],
            iconAnchor: [12, 41],
            popupAnchor: [1, -34],
            tooltipAnchor: [16, -28],
            shadowSize: [41, 41]
        });

        const marker = L.marker([lat, lng], {
            icon: this.mapIcon
        });

        this.markers.clearLayers();
        this.markers.addLayer(marker);
    }

    removeMap() {
        this.map.remove();
        this.map.off();
        //the remove function is not working with leaflet. issue creatd on git for now
        delete this.map;

    }

    render() {
        const showModal = this.props.showModal;
        const lat = this.props.urlspot.getIn(['gpsLocation', 'lat']);
        const lng = this.props.urlspot.getIn(['gpsLocation', 'lng']);
        return (

                <Modal show={ showModal } onHide={ this.props.close } onExiting={ () => this.removeMap() } >
                    <Modal.Header closeButton>
                        <Modal.Title style={{display: 'flex', justifyContent:'center'}}>Compare Nearby Spot</Modal.Title>
                    </Modal.Header>
                    <Modal.Body>

                    </Modal.Body>
                    <Modal.Footer>

                    </Modal.Footer>
                </Modal>

        )
    }
}

export default NearbyDiveSpotsModal;

@foodaka can you explain what you mean when you say the remove function "does not destroy the map instance"? What is it that is not being destroyed?

Even after removal of the map by .remove(), the various events still end up calling leaflet functions and end up with errors like Cannot read property  '_leaflet_pos' of undefined. So it doesn't really remove the map entirely, as it seems like the div element on which map was rendered, still holding few events without actual map object.

@jpatel3 ok, thanks for reporting. Could you please open a new issue with an example that reproduces this problem? It's not likely the problem you're seeing is related to the one discussed in this three year old issue.


Duplicate Entries in Added and Removed Lists in Diff Mode

Describe the bug
When running the OutputBuilderDiff class to compare two sets of endpoints, the added and removed lists contain duplicate entries. This issue likely occurs because the Endpoint class does not implement the == and hash methods, leading to improper comparison and hashing of endpoint objects.
To Reproduce
Steps to reproduce the behavior:

Run the OutputBuilderDiff class with two sets of endpoint data.
Observe the added and removed lists in the output.
Notice that many endpoints are incorrectly listed as both added and removed, despite having the same URL, method, and parameters.

Expected behavior
The added list should contain only the endpoints that are present in the new set but not in the old set. The removed list should contain only the endpoints that are present in the old set but not in the new set. Endpoints that are unchanged should not appear in either list.
Screenshots

Versions

OS: macOS
Version: v0.16.0

Additional context
The bug is likely due to the Endpoint class not implementing the == and hash methods. This may lead to endpoints with the same properties being treated as different objects. Implementing the == method to compare the URL, method, and parameters of the endpoints, and the hash method to generate a hash based on these properties, should ensure proper functionality in hash-based data structures.

@ksg97031
I'll take care of it in the next version! Thank you for the report :)


Stratigraphy Cleanup - Group Level

Spreadsheet emailed
Column B "New Geological Group..." lists changes to a name
Column C lists where a name should move to list of Formations
Column D shows list of names to move into a new list of "Informal Name or Map Unit"
Rules for Group Level Cleanup

[ ] 1. Where “-“ connects two terms, split and move each term to appropriate stratigraphic level (E.g., Banff-Rundle should list as Banff Formation and Rundle Group). The exceptions are the formation names Toad-Grayling, Extension-Protection, Muncho-McConnell, and Ludington-Pardonet transitional facies which are acceptable hyphenated formation names @LeannePyle to look at how much effort this will be to fix after PROD?
[x] 2. Where “;” separates two terms, display both (E.g., Bowser Lake; Hazelton)
[x] 3. Where “or” joins two terms, display both
[ ] 5. Where comma separates two or three terms, display all (E.g., Bowser, Spatsizi, Skeena)
[ ] 6. For terms that include the word "equivalent", make the correction to leave the word "equivalent" in the term but to add in "Group" or "Formation" as needed (E.g., display as Nanaimo Group equivalent)
[ ] 7. For term that includes the word Supergroup, leave this word with the name and leave terms within the list for Group (examples are Purcell Supergroup and Rocky Mountain Supergroup)

I would suggest that we leave the outliers for post-MVP


Reorganize main builds to better support image flavors: main, nokmods, nvidia, asus, surface

We previously completed #313 which merged *-nvidia image workflow into this main repo. But since then, we've noticed some excessive build times and duplication of builds due to the chained nature of main+nvidia builds. Additionally, we have some new build workflow needs as we are trying to support various laptop types, specifically: asus, framework, and surface.
To better handle the new situation we plan to do the following:

restore the nvidia repo and once again build *-nvidia images there, removing the *-nvidia complexity from main workflow (the nvidia kmods will still be built in akmods repo)
modify main repo workflow adding a *-nokmods image flavor for all variants (silverblue, kinoite, etc) which will not include any kmods from our akmods repo
asus and surface downstream images will start building FROM ghcr.io/ublue-os/VARIANT-nomods which will allow them to use custom kernel and kmods.
https://github.com/ublue-os/akmods/issues/68

End states:

Effectively *-nokmods will be the foundational image from which *-main, *-asus, and *-surface are built.
Downstream image builds currently using *-main will not see a change (including *-nvidia, bluefin and bazzite)

Welp. That was quick.
This looks to be wrapped up except for point 4 which has it's own ticket: https://github.com/ublue-os/akmods/issues/68
@castrojo @KyleGospo @EyeCantCU


resolve gcc_host_compiler_path in a symlink directory

Resolves a missing dependency declarations error, when gcc_host_compiler_path is in a symlink directory resolving to other directories.
In my university's cluster, I got the following error when compiling TensorFlow 2.9.1:
ERROR: /scratch/jz748/packages/bazelcache/_bazel_jz748/437f513259d7a63d9ada0ccba4c220f0/external/zlib/BUILD.bazel:5:11: Compiling compress.c failed: undeclared inclusion(s) in rule '@zlib//:zlib':
this rule is missing dependency declarations for the following files included by 'compress.c':
  '/opt/sw/packages/gcc/11.2/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include/stddef.h'
  '/opt/sw/packages/gcc/11.2/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include-fixed/limits.h'
  '/opt/sw/packages/gcc/11.2/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include-fixed/syslimits.h'
  '/opt/sw/packages/gcc/11.2/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include/stdarg.h'

Here I set GCC_HOST_COMPILER_PATH to  /opt/sw/packages/gcc/11.2/bin/gcc. After I read third_party/gpus/cuda_configure.bzl#L277, I execute gcc -E -x c - -v --sysroot . to check includes directory and I got
#include "..." search starts here:
#include <...> search starts here:
 /cache/sw/packages/gcc/11.2/bin/../lib/gcc/x86_64-pc-linux-gnu/11.2.0/include
 /cache/sw/packages/gcc/11.2/bin/../lib/gcc/x86_64-pc-linux-gnu/11.2.0/include-fixed
 /cache/sw/packages/gcc/11.2/bin/../lib/gcc/../../include
End of search list.

I realized that /opt/sw is a symlink to /cache/sw/ in this cluster and GCC only returns the real path.
In 58b236b235ce57808c917feb19b9f895f628710c, if gcc is a symlink, the real path will be resolved. But it does not work if GCC is not a symlink but the parent directory of GCC is the symlink. This commit resolves the issue.

I think this commit can resolve #33975.

I can confirm that this for me also resolves #33975

Hi @angerson Can you please review this PR ? Thank you!

Hi @angerson Can you please review this PR ? Thank you!


ngx-perfect-scrollbar or ngx-malihu-scrollbar implementation only for ngx-datatable-body tag

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior

I want to customize the [scrollbarH] option with [perfectScrollbar] or malihu-scrollbar,
Study case:

ngx-datatable - scrollbar is coming properly, where as footer is getting inside the scroll-content. EX:
<ngx-datatable  malihu-scrollbar [scrollbarOptions]="scrollbarOptions" >

ngx-datatable-body - scrollbar is coming with no content

<ngx-datatable-body  malihu-scrollbar [scrollbarOptions]="scrollbarOptions">
.....
.....

....

Expected behavior

I need this same scrollbar should be implemented for just header & body section of ngx-datatable.
Reproduction of the problem

What is the motivation / use case for changing the behavior?

I want to customize the horizontal scrollbar by using the third party library like ngx-malihu-scrollbar.
For ngx-datatable the scrollbar looks awesome & perfect.
For ngx-datatable-body the scrollbar is coming up but no data is displaying.
Can you please let me know how to implement the scrollbar only for ngx-datatable-body?
Please tell us about your environment:

windows-10

Table version:

"@swimlane/ngx-datatable": "^15.0.2",

Angular version:

Angular CLI: 7.0.7
Node: 10.16.0
OS: win32 x64
Angular: 7.0.4

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

All recommended browsers.

Language: [all | TypeScript X.X | ES6/7 | ES5]
Typescript

Hi guys, any plans to support some nicer scroll bars on ngx-datatable?


Is there any way to get formatting information?

For instance, breaks after related verses, or whether or not text is a block quote, like a song.

You might have to go to a different source for translation files that contain such info, e.g.: https://thedigitalbiblelibrary.org/

See also:
https://bible4u.net/en/download
https://www.sacred-texts.com/bib/osrc/
http://www.hackathon.bible/data.html

I am working on parsing a different format, found here: https://github.com/seven1m/open-bibles/blob/master/eng-web.usfx.xml
I have something now that is working, but the possibility for bugs is pretty high.
I will post my WEB JSON structure in case anyone else wants to use it after some more testing.
Thanks for the leads.


[BUG] Streamlit chart initialization bug

Expected Behavior
Able to load the chart successfully. It was working in v1.0.20
Current Behaviour
Error of:
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa2 in position 51: illegal multibyte sequence

File "{file_path}\my_file.py", line 177, in display_intraday_chart
    chart = StreamlitChart(width=700, height=700, toolbox=True)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "{file_path}\env\Lib\site-packages\lightweight_charts\widgets.py", line 158, in __init__
    super().__init__(width, height, inner_width, inner_height, scale_candles_only, toolbox)
File "{file_path}\env\Lib\site-packages\lightweight_charts\widgets.py", line 125, in __init__
    lwc = f.read()
          ^^^^^^^^

Reproducible Example
from lightweight_charts.widgets import StreamlitChart

chart = StreamlitChart(width=700, height=700, toolbox=True)

Environment
- OS: Windows 10
- Library: 2.0.1

i got the same problem @Gabsys, the reason was that I was using a private repo, it was done after I changed my ropo to public

因为你是windows 默认字符集式gbk，读取文件他默认用gbk格式读取。
import builtins
original_open = builtins.open
def patched_open(*args, **kwargs):
    kwargs.setdefault('encoding', 'utf-8')
    return original_open(*args, **kwargs)
builtins.open = patched_open

运行上面代码改写一下


Forminator Syntax error in Netweaver Standard Stack

Hi,
Why is the playbook.yml file not containing a name tag for forminator? While all other stacks contain '- name:'
I noticed this when I was trying to deploy NetWeaver-Standard stack and ran into this issue
Then I appended the piece of code in playbook.yml - name: SAP NW deploy but I still get the below issue when trying to deploy NW-Standard
**ERROR! the role 'forminator' was not found in /sap-deployment-automation/stacks/NetWeaver-Standard/roles:/root/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/sap-deployment-automation/stacks/NetWeaver-Standard
The error appears to be in '/sap-deployment-automation/stacks/NetWeaver-Standard/playbook.yml': line 18, column 5, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
roles:

role: forminator
^ here**

The error is related to missing path to the ansible roles. Exporting the ANSIBLE_CONFIG var by pointing to the ansible.cfg file will fix the issue.


[web] refactor inventory page + add new components

refactored inventory page, no longer a client component

abstracted add item logic to components/app-page/add-item-dialog.tsx
using new table component - reference inventory-table in components folder
add and configure shadcn-ui, using a few components in components/ui folder


[PE-D][Tester D] inaccurate error message for unpin

as a new user, i mistakenly typed 0, but instead of throwing invalid input, i get invalid command format which is misleading. since the format require is 'unpin index' which i have given

Labels: severity.VeryLow type.FeatureFlaw
original: weiliann/ped#16

functionality is working as expected so won't be changing the error message as it is not a bug


chore(release): 1.3.2

see CHANGELOG

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: 9674f6eba2a9172a78cfd876edda5f64966b6d8d
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@RomainMuller How come this PR appears both in 1.3.1 and 1.3.2?
https://github.com/aws/jsii/issues/1568
With different commit hashes though..

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: 1eabc82dfd694fcce88d7559057b7e1f2d0e5020
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

I reckon it was cherry-picked on top of release and thus shows twice. I've de-duplicated it (kept only the one on 1.3.1, as it's where it was first seen).

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: b515aa4d896cb84ed5134e415276f835abdee2d8
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: 09acb553dd0872847e48e80948f35b9a06378b78
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: 79348cf25a70b439d4e1e8199d416f5cadc16c58
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


[incubator/druid] Remove the incubating label and update related infos for Apache Druid

Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

No
What this PR does / why we need it:
Remove the incubating label and update related infos for Apache Druid
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
@maver1ck @AWaterColorPen
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

@maver1ck @AWaterColorPen PTAL.

@asdf2014
It should update chart version in  your PR
Error linting charts: Error processing charts
------------------------------------------------------------------------------------------------------------------------
 ✖ druid => (version: "0.2.1", path: "incubator/druid") > Chart version not ok. Needs a version bump!
------------------------------------------------------------------------------------------------------------------------

@AWaterColorPen Thanks for taking a look. This version has been bumped to 0.2.2. And all tests passed.

/ok-to-test

/assign maver1ck

/ok-to-test

Hi, @maver1ck . Thanks for testing this PR. The test task failed due to timeout. I think it can't be caused by this PR.. What do you think?
I0615 08:44:03.487] error: timed out waiting for the condition on namespaces/druid-presubmit-22788-1272448570280120323-i2jt7tb3um

/retest

/retest

Test infra should be fixed now

/retest

/approve

@maver1ck All CI tests have passed, would you please add a LGTM label.

/lgtm


Add file extensions for circle

The Circle model support is currently missing file extension association in the OpenFileDialog of the electron app and
open-file-dialog in index.html.
This PR improves UX for .circle model files.

Duplicate of #841


Bot spams messages in text channels

If there are multiple text channels on the Discord server, the bot spams a message whenever anyone says something in the channels it's not supposed to be in

Fixed by not sending such messages to the specific server the bot is in


Date Picker enabled-range issue

Description
Strange operation when setting enabled-range for bx-date-picker using v1.21.0 (have not tried older versions). Running the simple test shown below, It ends up showing a range of only one day,  Aug 2, 2027. .

        <title>Carbon Test Title</title>

      <bx-date-picker id="j_id_p:j_id_7p_3_d:_ct" enabled-range="2022-11-03/2022-11-23" >
        <bx-date-picker-input id="j_id_p:j_id_7p_3_d:_ct1" placeholder="MM/dd/yyyy" kind="single" helper-text="Help text, using quarter for grid">
                       Date, min/max 10 days pre/post*

        </bx-date-picker-input>
      </bx-date-picker>

If I then open the java console and remove the attr, and add it back, it then behaves as expected with the range being between Aug 3 and 23 inclusive (2nd image). Seems a bug. Current workaround is to do that remove/addback of the attr using a timer, waiting for the component to finish initializing. Not ideal.

Component(s) impacted
datepicker
Browser
Chrome, Firefox
Carbon Web Components version
1.21.0
Severity
Severity 3 = The problem is visible or noticeable to users but does not impede the usability or functionality. Affects minor functionality, has a workaround.
Application/website
www.ibm.com/technologyconnect
CodeSandbox example
Simple example provided in desc
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

@crichtonibm this issue should be the same as this one here: https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/10236 with resolution mention in the comments.
Closing this ticket, feel free to reopen!


[learn] the preview is visible on JavaScript challenges

The preview is visible on JavaScript challenges, this should not be the case.
It should focus on the console. If the user taps on the "preview" tab it should say that it is not available for this challenge type.

I would love to fix this but where is the exact bug. I am searching in the app that i downloaded from play store
but i am unable to find the preview button

Hey @Spyy004,
Thank you for showing interest in this issue. To get access to the other super-blocks, e.g. the JavaScript Algorithm and Data Structures certification, you will need to do the following:
If you have followed the documentation you should already have the following setup:

You have copied the sample.env in the mobile-app directory, and called the file .env.
You have ran flutter pub get to install all the different packages that we use.

After this, you can set SHOWALLSB to true and run the app with flutter run build --debug .
But it seems like you already have accomplished most of this. Happy coding.

No, I did not setup the codebase yet, I was just trying to see if this bug existed on the play store version app. Now that you have mentioned it, I will setup the project and find this there. Thanks for the help

Someone please assign me this bug as I have started working on it


Tools python 3 compatibility changes

A few minor tweaks to the tools to make them work in python 3.

Coverage remained the same at 61.701% when pulling ccdb6f2037bda1f5eff8c9231a41bee5c5091301 on epic-astronomy:tools_py3_update into e1cea0b71a969f2fa73b8bc0b18a48e8e88b2059 on ledatelescope:master.

Codecov Report

Merging #151 (ccdb6f2) into master (a53b35b) will decrease coverage by 2.86%.
The diff coverage is n/a.

:exclamation: Current head ccdb6f2 differs from pull request most recent head ada863e. Consider uploading reports for the commit ada863e to get more accurate results

@@            Coverage Diff             @@
##           master     #151      +/-   ##
==========================================
- Coverage   61.62%   58.75%   -2.87%
==========================================
  Files          64       64
  Lines        5300     5300
==========================================
- Hits         3266     3114     -152
- Misses       2034     2186     +152

Impacted Files
Coverage Δ

python/bifrost/fir.py
0.00% <0.00%> (-100.00%)
:arrow_down:

python/bifrost/romein.py
0.00% <0.00%> (-100.00%)
:arrow_down:

python/bifrost/blocks/scrunch.py
37.03% <0.00%> (-59.26%)
:arrow_down:

python/bifrost/map.py
20.83% <0.00%> (-56.25%)
:arrow_down:

python/bifrost/linalg.py
36.84% <0.00%> (-52.64%)
:arrow_down:

python/bifrost/fft.py
45.00% <0.00%> (-50.00%)
:arrow_down:

python/bifrost/fdmt.py
50.00% <0.00%> (-50.00%)
:arrow_down:

python/bifrost/transpose.py
41.66% <0.00%> (-50.00%)
:arrow_down:

python/bifrost/reduce.py
55.55% <0.00%> (-33.34%)
:arrow_down:

python/bifrost/libbifrost.py
52.70% <0.00%> (-25.68%)
:arrow_down:

... and 2 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 a53b35b...ada863e. Read the comment docs.


Lazy regex evaluation on Rules

This PR resolves the eager Regex evaluation discussed in #1064

Introduces LazyRegex class that evaluates a Regex needed inside a rule, only when it is requested and only once.
Makes use of LazyRegex in LateinitUsage rule.
Adds 2 extra test steps asserting the discussed behaviour.

@arturbosch I would be more than happy to migrate the rest of the Regex usages inside Rules (if any) once you think this is a proper solution!

@arturbosch updated with your feedback :)

Thanks, feel free to add yourself to the readme and create additional PR with the more regex changes :)

@arturbosch Added my name in README.md! You can merge this one and I will follow up with a new one for the rest of the Rules :)


Fix typos

Summary of the Pull Request
Fixed typos
References
PR Checklist

[X] CLA signed. If not, go over here and sign the CLA

Detailed Description of the Pull Request / Additional comments
Fixed typos
Validation Steps Performed
N/A

Hey there! Thanks for the contribution!
I believe that iff is being used here in the math/logic sense as shorthand for "if and only if".
We should definitely make this clearer! If you are willing to replace them with "if and only if," that's a contribution we could take 🙂

I get the 'if and only if' logic but not sure that it was the developer's intention in this case. It seemed like a typo that was copy/pasted over the file (haven't looked at other files).
For example, in line 509, just below one of the corrections, there's a simple if word.

I get the 'if and only if' logic but not sure that it was the developer's intention in this case. It seemed like a typo that was copy/pasted over the file (haven't looked at other files).
For example, in line 509, just below one of the corrections, there's a simple if word.

You know what? You're right. Let's do this. Thank you :)


Failed to execute worker "CMGatewayNotificationWorker" with error "The remote server returned an error: (400) Bad Request.".

During the setup I see some .NET errors message ID 11401
Failed to execute worker "CMGatewayNotificationWorker" with error "The remote server returned an error: (400) Bad Request.".
<>
Worker CMGatewayNotificationWorker failed with error: The remote server returned an error: (400) Bad Request.    at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ConfigurationManager.ServiceConnector.ExtensionMethods.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ConfigurationManager.ServiceConnector.AccountOnboardingWorker.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.ConfigurationManager.ServiceConnector.AccountOnboardingWorker.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ConfigurationManager.ServiceConnector.AadServiceConnectorWorker.d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ConfigurationManager.ServiceConnector.ServiceConnectorWorkerBase.d__61.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.ConfigurationManager.ServiceConnector.ServiceConnectorWorkerBase.d__61.MoveNext()<>
AND
Unexpected exception 'System.Net.WebException' The remote server returned an error: (400) Bad Request.:    at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ConfigurationManager.ServiceConnector.ExtensionMethods.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ConfigurationManager.ServiceConnector.AccountOnboardingWorker.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.ConfigurationManager.ServiceConnector.AccountOnboardingWorker.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ConfigurationManager.ServiceConnector.AadServiceConnectorWorker.d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ConfigurationManager.ServiceConnector.ServiceConnectorWorkerBase.d__61.MoveNext()
Would be nice if the urls could be checked and see why the return is a code 400
Authenticating with web service at: https://eu.gateway.configmgr.manage.microsoft.com/api/gateway/AccountOnboardingInfo
Response status code: 400 (BadRequest) Activity ID: 30d5320d-5bba-473b-bd4d-c59816740448
[Enter feedback here]

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

ID: 70620a9c-1db2-43a0-b4d9-26364daeb7e0
Version Independent ID: e96ce5b3-88b6-5be9-8ca0-705647ac40e3
Content: Troubleshoot device action - Configuration Manager
Content Source: sccm/tenant-attach/technical-reference.md
Product: configuration-manager
Technology: configmgr-sum
GitHub Login: @mestew
Microsoft Alias: mstewart

Thanks @clustermvp for taking the time to share this with the Configuration Manager documentation team. I’m sorry that you’re having problems, and I want to make sure it gets to the right people that can help. There are a couple of options available to provide the best level of support for this:

Post on Configuration Manager forums. These are moderated by our community MVPs who are very experienced, knowledgeable, and helpful.
Use Microsoft Support to search for the issue, or open a case with professional support.
Contact your Microsoft Premier team, such as a Premier Field Engineer or Technical Account Manager.
I'm closing this issue as there's nothing actionable for docs at this time.

p.s. If this is feedback on the functionality of the feature, you can also file Product feedback.


Removed the soft_time_limit that causes nothing but thrashing.

It's there if we want it, but we'd need to handle the exception rather than just let it lock up the service, as it interrupts any process when the timeout is exceeded.

Hello @pbugni! Thanks for submitting the PR.

There are no PEP8 issues in the file portal/tasks.py !

"Approved" (don't see a way to do that from my phone)

@ivan-c if you want a high value - fine, i just really want to get this moving and the soft time limits have become a thorn w/o function.
What value can you live with?


Modal footer issue.

Select one ...  (check one with "x")
[x] bug
[ ] feature request
[ ] enhancement

Expected behavior
Modal footer buttons background is hiding when we reduce vertical height.
Actual behavior
Adjust the modal footer height automatically.
Reproduction of behavior

Include a link to the reproduction scenario you created by forking one of the Clarity Plunker Templates:

Environment details

Angular version: 4.x.x

Clarity version:

OS and version:

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Hi @GnanendraPaladugu
Thanks for reaching out!
Could you provide a plunkr demonstrating the issue? It will help us to triage it and figure out what's happening.
Thanks!

Hi,
We have found the solution above issue. we had given inside container height is 100% it is causing issue. Please close the issue.
Thanks.


pm unistall is not working

Remove system app is failed
CommandResult result = Shell.SU.run("pm uninstall " + ai.packageName);
return "Failed" on rooted device

Try setting the environment variable LD_LIBRARY_PATH. I remember having a similar issue years ago. I don't have time to dive into this but if you google "LD_LIBRARY_PATH android root" you should probably find more info.


Blazor WebAssembly auth documentation

Fixes  #17144
Internal Review Topics

Overview
Standalone w/Auth Lib
Standalone w/AAD
Standalone w/AAD B2C
Standalone w/MS Accts
Hosted w/AAD
Hosted w/AAD B2C
Hosted w/Identity Server
Additional Scenarios

Notes

A bit rough ... rough, rough 🐕 ... I'll UE pass these topics again later. I didn't have time to test the guidance in Hosted with Identity Server topic. Will endeavor to do so in the future.
Hosted AAD vs. AAD B2C

The API ID URI works as expected for AAD B2C.
The only way API ID URI works for AAD (for Floridians?? :smile:) is if the scheme and host aren't part of the scope name added to DefaultAccessTokenScopes.
The Azure Portal does not allow me to set/edit the API ID URI. It insists on https://{DOMAIN}/, where {DOMAIN} is locked into the tenant domain. It recommends the {API CLIENT ID} at the end, which can be changed. I wasn't able to set/use an API ID URI that starts with api:// for AAD. Even in the AAD B2C case, I can only use the http://{DOMAIN}/{CLIENT ID} version. There's some strange stuff going on in the Azure Portal 👽.
I can comment out the AAD steps and only cross-link to their docs for now to sidestep this issue. I can come back later, confer with Azure AAD :cat2: to figure it out, and revert back to full instructions after I resolve it. :ear: If we do that tho, readers may hit any number of 💥:cry: scenarios trying to follow their docs, especially this issue with the scope. If they get the same portal+behavior that I'm getting, it took me HOURS to figure out how to make it work.
Finally, I don't use the B2C area of the portal to configure the Hosted B2C setup. I go with the AAD area of the portal for it. You can't expose the API in the B2C area. Also, they have a link in my version of the portal that cross-links the AAD app registration process in the B2C area, so I think the direction that I took is the direction that they're taking with the portal.

There are section links in the Hosted with Identity Server topic that don't exist. I've commented them out for now ...

In appsettings.json: There are several profiles available, as explained in the [Application profiles](#application-profiles) section.
In appsettings.Development.json: When deploying to production, a key needs to be provisioned and deployed alongside the app, as explained in the [Deploy to production](#deploy-to-production) section.

Approved offline.


card validate

I filled all info, and expire date with 33/12.
card.isValid() return true.
it should return false.

The function starting on line 1201 of skeuocard.js (ExpirationInputView.prototype._onKeyUp)  takes the number you input and returns a date object. For some reason, if you use a month > 12 it will return a valid but incorrect date object. I made a workaround for this.
It was returning the date as long as month and year are not equal to zero. It was doing this by these lines:
dateObj = new Date(year, month - 1, day);
this.date = dateObj;
I changed it to return a date in the past if the month is > 12 like this:
if (month <=12) {
dateObj = new Date(year, month - 1, day);
} else {
dateObj = new Date(1900,1,1);
}
this.date = dateObj;
Since 1900 is in the past, Skeuocard recognized it as an invalid date.


I have discovered an error. : "TypeError: set_envparams() takes 2 positional arguments but 3 were given"

Hello Thanks for the Python library.
I have discovered an error.
Error:
   sgp40.set_envparams(50,-2) TypeError: set_envparams() takes 2 positional arguments but 3 were given
Solution:
the self in this line is missing
https://github.com/DFRobot/DFRobot_SGP40/blob/9c2f48fe858f5195fa29bc581073206e539d0fbd/Python/raspberrypi/DFRobot_SGP40.py#L58

您好 感谢您提供 Python 库。
我发现了一个错误。
错误：
 sgp40.set_envparams(50,-2) TypeError: set_envparams() takes 2 positional arguments but 3 were given
解决方法：
缺少这一行的self
https://github.com/DFRobot/DFRobot_SGP40/blob/9c2f48fe858f5195fa29bc581073206e539d0fbd/Python/raspberrypi/DFRobot_SGP40.py#L58

Thanks for the feedback, it has been modified

Hello Thanks for the Python library.
I have discovered an error.
Error:
 sgp40.set_envparams(50,-2) TypeError: set_envparams() takes 2 positional arguments but 3 were given
Solution:
the self in this line is missing
https://github.com/DFRobot/DFRobot_SGP40/blob/9c2f48fe858f5195fa29bc581073206e539d0fbd/Python/raspberrypi/DFRobot_SGP40.py#L58

Thanks for the feedback, it has been modified


Fix test warning and update deps

The PR fixed a minor test warning, and upgraded hackney to the current version of 0.18.x .

@awolfden @sheldonvaughn @logangingerich
Is there anything that I can do to help get this merged sooner?

@seantanly lgtm, merged!

@pliao28 Thanks!

@pliao28 noticed that there is a new version 0.1.3 of this library being built, however, it is not yet published/made available to hex.  ;)


API /api/incidents not working

Hi All,
From the code (0.5.0), it seems that "/api/incidents" code is not yet added, which was available in previous releases.
Is it going to be implemented in future?
Thanks,
Rohit.

If you're trying to get a list of the current active incidents, have a look at /api/alerts

Works fine for me with released binary version 0.5.0 in case of open incidents -- see below. You can get more information about a specific incidents, e.g. 1, via /api/incidents/events?id=1.
[7:11:49 lukas@muffin] ~  ➜  curl -H 'Accept: application/json' -X GET http://<IP_ADDRESS>:8070/api/incidents/open | jq '.'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   720  100   720    0     0   216k      0 --:--:-- --:--:-- --:--:--  351k
[
  {
    "Id": 1,
    "Subject": "warning: <no value> on cake",
    "Start":<PHONE_NUMBER>,
    "AlertName": "test.lukas",
    "Tags": {
      "host": "cake"
    },
    "TagsString": "{host=cake}",
    "CurrentStatus": "normal",
    "WorstStatus": "warning",
    "LastAbnormalStatus": "warning",
    "LastAbnormalTime":<PHONE_NUMBER>,
    "Unevaluated": false,
    "NeedAck": false,
    "Silenced": false,
    "Actions": [
      {
        "User": "lukas.pustina",
        "Message": "I don’t care",
        "Time":<PHONE_NUMBER>,
        "Type": "Acknowledged"
      }
    ],
    "Events": [
      {
        "Status": "warning",
        "Time":<PHONE_NUMBER>
      },
      {
        "Status": "normal",
        "Time":<PHONE_NUMBER>
      },
      {
        "Status": "warning",
        "Time":<PHONE_NUMBER>
      },
      {
        "Status": "normal",
        "Time":<PHONE_NUMBER>
      },
      {
        "Status": "warning",
        "Time":<PHONE_NUMBER>
      },
      {
        "Status": "normal",
        "Time":<PHONE_NUMBER>
      }
    ],
    "WarnNotificationChains": [],
    "CritNotificationChains": []
  }
]

@lukaspustina Yes, there was one more api before "/api/incidents" whose code is commented out in the release 0.5.0 with "TODO: Incident Search".
@TrentScholl Yes, I am using Bosun API's including /api/alerts for my own dashboards and I was using /api/incidents as well.
Thanks,
Rohit.


pinocchio: 2.1.11-1 in 'kinetic/distribution.yaml' [bloom]

This is the follow-up on https://github.com/ros/rosdistro/pull/22798 also changing Pinocchio to third-party library release.
Increasing version of package(s) in repository pinocchio to 2.1.11-1:

upstream repository: https://github.com/stack-of-tasks/pinocchio.git
release repository: https://github.com/ipab-slmc/pinocchio_catkin-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.9.0
previous version for package: 2.1.3-1

This does not seem to have fixed the issue with eigenpy.  https://discourse.ros.org/t/preparing-for-kinetic-sync-2019-11-12/11459

Hi @tfoote,
I posted a message regarding a question for debugging on ROS Answers: https://answers.ros.org/question/337554/difference-between-jenkins-log-and-generated-package-lib-prefix/
The problem originates with eigenpy. It appears that the Jenkins log indicates all lib files are installed in lib, while the Debian package contains the pkg-config in lib/[arch]. I am unsure how to debug as I cannot reproduce in a Docker?
Many thanks for your insights,
Wolfgang

Hi @tfoote,
I opened a dedicated issue to discuss this - https://github.com/stack-of-tasks/eigenpy/issues/116. I wonder, is there a recommended way for dealing with GNUInstallDirs issues where on old versions of debhelper (v9 on 16.04) it does not include the system architecture?
Thank you very much for all your input and support,
Wolfgang


No supported for Django 3.2.9 ?

it does not work, it shows me 1 on my template

I finally found a solution


jenkins_plugin appears to do nothing?

I am trying to use a Chef recipe, in AWS ops-works, to install the git and github plugins on my Jenkins instance. (The instance was successfully created using the jenkins::master recipe.) My cookbook is called jenkins_crm; it contains a metadata.rb file with depends 'jenkins' and one recipe called install_plugins.rb with two jenkins_plugin 'plugin_name' lines. The log says

[2015-08-17T20:15:00+00:00] INFO: Processing jenkins_plugin[git] action install (jenkins_crm::install_plugins line 1)
[2015-08-17T20:15:00+00:00] INFO: Processing remote_file[/var/lib/aws/opsworks/cache.stage2/update-center.json] action create (dynamically defined)
[2015-08-17T20:15:01+00:00] INFO: Processing file[/var/lib/aws/opsworks/cache.stage2/extracted-update-center.json] action create (dynamically defined)
[2015-08-17T20:15:02+00:00] INFO: Processing jenkins_plugin[github] action install (jenkins_crm::install_plugins line 2)

then moves onto other tasks. It does indeed create the update-center.json and extracted-update-center.json, but does not (it seems) download the plugin. Any idea what's going on? The Jenkins system log shows update center being updated but doesn't show the plugin being installed. And needless to say, the plugins don't actually get installed.
What am I doing wrong? Any help would be appreciated!

This is how we call it internally. Just giving you an example  of some place I know it works.  Using Jenkins version : 1.596-1.1
jenkins_plugin "#{cookbook_name}_jenkins_plugin_git" do
  name 'git'
  version '2.3.4'
	install_deps true
	action [:install]
	notifies :restart, 'service[jenkins]', :immediately
end

Thanks! I wiped my Jenkins instance and tried again and it worked. Not sure what was going on.


Codesigning problem: QS doesn't have entitlements to access contacts/

If I download a signed build from GH Actions, e.g. download the 'Quicksilver 1.6.1.dmg' from: https://github.com/quicksilver/Quicksilver/actions/runs/1978443344
When I try to either grab selection from Finder (open QS then hit ⌘G) or get the current selection from Finder (highlight a file in Finder then hi ⌘⎋) all I get is this:

However if I download the unsigned build Quicksilver.zip or if I build myself from master I can correctly use both services no problem:

Update: this isn't an issue just with the 'Get selection'. The 'Contacts' plugin also doesn't work. It seems like we need to properly set the entitlements for QS on signing. Here are the entitlements for Alfred.app:
/Alfred ❯❯❯ codesign --display --entitlements :- Alfred\ 4.app
Executable=/Volumes/Alfred/Alfred 4.app/Contents/MacOS/Alfred
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>com.apple.security.automation.apple-events</key>
	<true/>
	<key>com.apple.security.device.audio-input</key>
	<true/>
	<key>com.apple.security.device.camera</key>
	<true/>
	<key>com.apple.security.personal-information.addressbook</key>
	<true/>
	<key>com.apple.security.personal-information.calendars</key>
	<true/>
	<key>com.apple.security.personal-information.location</key>
	<true/>
	<key>com.apple.security.personal-information.photos-library</key>
	<true/>
</dict>
</plist>

And then for Quicksilver (built after I merged my 'Library validation' stuff:
Executable=/Volumes/Quicksilver/Quicksilver.app/Contents/MacOS/Quicksilver
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>com.apple.security.cs.disable-library-validation</key>
	<true/>
</dict>
</plist>

It looks like there's no entitlement to grant 'full' access to files and folders :(


Work with ministry teams coming onboard to complete CSP selection criteria for each

Describe the issue
Our use of the Cloud Brokering Service equates to "selection from a prequalified list" in procurement terms. Therefore, we need to apply the equivalent of a 3-bid process to capture the criteria used to select the best fit CSP from that list (for Core Policy Chapter 6 compliance).
How do the ministries have a record of how they chose compliant AWS procurement.
Which Sprint Priority is this issue related to?
Goal 1

Note: 'Milestone' is a ZenHub term that we use synonomously with 'Sprint'.

The 'Milestone' overview/description (created in ZenHub) should clearly list Sprint Priorities/Goals. This section should indicate which of the priorities/goals this issue is related to.
Additional context

Meet with Zach to verify which criteria can be used to make a procurement compliant selection of CSP
Our use of cloud brokerage we're accessing GoC's prequalified CSPs
Reality is we only have one available with others under construction
We need to pretend that we're in future state

Definition of done

Work with each ministry team to capture one or more criteria that enable them to select the best fit CSP
Review with our Product Owner first, then Greg Froh and Mac Campbell
Retain selection criteria used as a record

Met with Zac and Paul (2021-02-09), and now have a concise set of criteria for CSP selection. Next steps: review with Julian and book meeting(s) to get ministry teams to complete their CSP rationale.

Met with MDS team (Mon 2021-03-15), cost estimate = $45K per year, and they have Elastic-Search as an AWS product on their roadmap.


[ISSUE][CLOSED] [License Compliance] Need to introduce licence detection facility

 Issue by geunsik-lim
Friday Jun 29, 2018 at 00:32 GMT
Originally opened as https://github.sec.samsung.net/STAR/TAOS-CI/issues/69

It seems that many projects try to re-use the opensource code from an external community with no definite idea. Note that final goal of most of the projects in the company is to launch the project commercially. So, we need to introduce a licence detection facility into TAOS-CI to avoid unexpected license claims.

:octocat: cibot: Thank you for posting issue #93. The person in charge will reply soon.

 Comment by git-bot-sec
Friday Jun 29, 2018 at 00:32 GMT

:octocat: cibot: Thank you for posting issue #69. The person in charge will reply soon.

 Comment by geunsik-lim
Friday Jun 29, 2018 at 00:43 GMT

NNstreamer: Here is a report (draft) generated with nextb.com software (Apache2)

with https://github.com/nexB

AuDri: Here is a report (draft) generated with nextb.com software (Apache2)

with https://github.com/nexB

 Comment by geunsik-lim
Friday Jun 29, 2018 at 03:48 GMT

https://github.sec.samsung.net/STAR/TAOS-CI/pull/70

 Comment by geunsik-lim
Friday Jun 29, 2018 at 07:59 GMT

Done.


operator keycloak-permissions-operator (1.4.1)

Adding new 1.4.1 version with new auth scope feature

/merge possible

/merge possible


boards: curie_ble: add board.cmake

Add board.cmake for curie_ble board and allow to flash
image using dfu-util.

Codecov Report

Merging #8177 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #8177      +/-   ##
==========================================
+ Coverage   64.54%   64.54%   +<.01%
==========================================
  Files         420      420
  Lines       40142    40142
  Branches     6765     6765
==========================================
+ Hits        25910    25911       +1
  Misses      11110    11110
+ Partials     3122     3121       -1

Impacted Files
Coverage Δ

boards/posix/native_posix/timer_model.c
100% <0%> (+1.78%)
:arrow_up:

Continue to review full report at Codecov.

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

@mbolivar ping


Lucascontreras/typescript frontend

Overview
typescript-frontend

[ ] Bug
[x] Feature
[ ] Tech Debt

Description
Finished migrating frontend to typescript
Previous behavior
N/A
Expected behavior
N/A
Screenshots & Videos
N/A
Additional context
N/A
Co-authored with @CharlieCharboneau @sc1272 @jiedong111

Looks good!


ERROR: 'GroupSaveDataMap'

I'm trying to modify a host save file and running across this issue...looks like maybe a KeyError

This was an issue with a malformed file on my end, code behaves as expected


removed error from inserting incorrect reference name in lazy materia…

…lization bookkeeping structure

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/87/
Test PASSed.


Update default port ranges in wiki page

The port ranges on the wiki page are no longer up to date now that BS/CS/PS have been coalesced into a single Control Service. They should be updated.

Also, regarding TCP usage, the SCIOND documentation should make it explicit:

that SCIOND talks TCP in the local AS
that its Host API is exposed over TCP on the port listed as "Control Plane" in the current documentation (and the port should be renamed to "API" or something similar)

@scrye is that still the case?

This information has been updated in the meantime, and somewhat more detailed information is available in the "port table" section of the operational manuals pages of the individual components.

router
dispatcher
daemon
cs
sig

This looks sufficient to close this issue for now. The wiki page should perhaps be removed at some point.


Change BaseWriteChannel.position type to long to fix overflow

This fixes #1389
@garrettjonesgoogle do you mind having a look?
/cc @Dima1224

LGTM

Coverage remained the same at 84.246% when pulling 42d2f0f2c6822d2318d7257553d3cc8132d3ed46 on mziccard:fix-writer-position into 6383cc123036214a9170f8da6d9dfa42fdb3dbc5 on GoogleCloudPlatform:master.


transition.startingPoint = BubbleBtn.center does not work

I am using the button inside my Navbar like:
Right bar button -> bar button items -> BubbleBtn
But when I set: transition.startingPoint = BubbleBtn.center it will make the transition start form the very top right corner of my screen:

How can I make it start from the center of the button?

is it a UIButton or a UIBarButtonItem?

@andreamazz UIButton :)
Right bar button -> bar button items -> UIButton

Ok, so it's inside a navigation bar. It's always tricky finding the right position for those buttons. Take a look at this SO thread

@andreamazz look like someone else was asking the same thing I will try to convert the answer into swift 3 and see if it works

@andreamazz That didnt work : / I also added a image to my btn and tried to use the image center which did not work. Do you think I could wrap the btn inside a uiview and use the center of that view? running out of ideas now

It's always tricky getting the right position in the navigation bar. You can add some hardcoded offsets, it's not pretty, but it'll get the job done.
I'm closing this issue if you don't mind, since it's not directly related to the library.

@andreamazz this worked out perfect:
transition.startingPoint = CGPoint(x: bubbleBtn.center.x, y: bubbleBtn.center.y + 20)


Thread Safety - Signal 11 faults if using multiple threads

I was advised that API is changing and to update my code from this
en2lalo(e, n) = Proj4.transform(Projection(Proj4.epsg[27700]), Projection(Proj4.epsg[4326]), [e, n])
to this
en2lalo(e, n) = Proj4.Transformation("EPSG:27700", "EPSG:4326", always_xy=true)([e,n])
And using mutliple threads (eleven) I get a received signal: 11 error
Commenting out the Threads.@threads made it work again
##Threads.@threads
    for i in 1:length(readers)
        dbs[i] = generate(readers[i])
    end

The threaded version processed 39 million records using 11 threads, so I am confident it is not the data or my code.

Ah for multiple threading it is important to use separate contexts per thread.
https://proj.org/development/reference/datatypes.html#c.PJ_CONTEXT
So something like
ctx = proj_context_clone()
trans = Proj4.Transformation("EPSG:27700", "EPSG:4326"; always_xy=true, crs)

Although I haven't tried this myself, so I'm curious if you can create a working example.

Regarding this function:
en2lalo(e, n) = Proj4.Transformation("EPSG:27700", "EPSG:4326", always_xy=true)([e,n])

I think this creates a Transformation object each time, which is quite expansive to do for each point. So it's better to create it once (once per thread), and reuse for each projection.

Anyway, thanks. Making the en2lalo definition per thread completely solved the Sig. 11 problem.
I didn't do the context thing, I'm processing 11 files, 1 per thread, and combining the results afterwards
so instead of

en2lalo = ....

function process_file(f)
   for line in f
    en2lalo(row.e, row.n)
   end
end

Threads.@threads for f in file
    process_file(f)
end

I did

function process_file(f)
   en2lalo = ....
   for line in f
    en2lalo(row.e, row.n)
   end
end

Threads.@threads for f in file
    process_file(f)
end

And it worked great


Deprecate and remove default_ecosystem in service options

This no longer provides any value. When the authToken is set in the configuration, changing default_ecosystem has no effect. It's only used during login, when the ecosystem field is not provided. It seems we can completely remove this from the SdkOptions and rely on defaults in the server, if this is omitted.

@fundthmcalculus and I had a discussion about this the other day -- I'm in complete agreement.

GA candidate? @fundthmcalculus is it feasible this sprint?

GA candidate? @fundthmcalculus is it feasible this sprint?

Totally. This is basically a quick proto change, everything from there on is essentially automated.

It's a sample / SDK change as well, but not bad to do.

@sethjback @tmarkovski is it fair to assume that if we don't send an ecosystem on login, the server automatically signs into the default ecosystem?


TimedOut error when has_broken = true

Hi,
I found what seems to be a bug. When multiple connections return true on has_broken(), all future requests to get() fail with a TimedOut error. This code can be used to reproduce the problem:
use std::{convert::Infallible, time::Duration};

struct ConnectionManager;
struct Connection;

#[async_trait::async_trait]
impl bb8::ManageConnection for ConnectionManager {
    type Connection = Connection;
    type Error = Infallible;

    async fn connect(&self) -> Result<Self::Connection, Self::Error> {
        Ok(Connection)
    }

    async fn is_valid(&self, _: &mut Self::Connection) -> Result<(), Self::Error> {
        Ok(())
    }

    fn has_broken(&self, _: &mut Self::Connection) -> bool {
        true
    }
}

#[tokio::test]
async fn pool() {
    let pool = bb8::Pool::builder()
        .max_size(5)
        .connection_timeout(Duration::from_secs(10))
        .build(ConnectionManager)
        .await
        .unwrap();

    let mut futures = Vec::new();

    for _ in 0..10 {
        let pool = pool.clone();
        futures.push(tokio::spawn(async move {
            let conn = pool.get().await.unwrap();
            drop(conn);
        }));
    }

    for future in futures {
        future.await.unwrap();
    }
}

I also found out that is_valid is not called before releasing a connection from the pool:
use std::time::Duration;

struct ConnectionManager;
struct Connection;

#[async_trait::async_trait]
impl bb8::ManageConnection for ConnectionManager {
    type Connection = Connection;
    type Error = ();

    async fn connect(&self) -> Result<Self::Connection, Self::Error> {
        println!("New connection");
        Ok(Connection)
    }

    async fn is_valid(&self, _: &mut Self::Connection) -> Result<(), Self::Error> {
        println!("Test connection");
        Err(())
    }

    fn has_broken(&self, _: &mut Self::Connection) -> bool {
        false
    }
}

#[tokio::test]
async fn pool() {
    let pool = bb8::Pool::builder()
        .max_size(5)
        .connection_timeout(Duration::from_secs(10))
        .test_on_check_out(true)
        .build(ConnectionManager)
        .await
        .unwrap();

    let mut futures = Vec::new();

    for _ in 0..10 {
        let pool = pool.clone();
        futures.push(tokio::spawn(async move {
            let conn = pool.get().await.unwrap();
            println!("Got connection");
            tokio::time::sleep(Duration::from_millis(100)).await;
            drop(conn);
        }));
    }

    for future in futures {
        future.await.unwrap();
    }
}

The output is:
New connection
New connection
New connection
New connection
New connection
Got connection
Got connection
Got connection
Got connection
Got connection
Got connection
Got connection
Got connection
Got connection
Got connection

Another update, it seems to be a concurrency bug, waiting a few milliseconds before spawning the next concurrent get request makes everything work as expected:
for _ in 0..10 {
        let pool = pool.clone();
        futures.push(tokio::spawn(async move {
            let conn = pool.get().await.unwrap();
            println!("Got connection");
            drop(conn);
        }));
        tokio::time::sleep(Duration::from_millis(100)).await;
    }

Is there a regression here? If so, I suspect #153 might be at fault...

I am not sure, I started using bb8 this week probably after #153 had been merged.

Hi @mdecimus, thanks for the bug report! Your findings on is_valid are expected, see the documentation on Builder::test_on_check_out.  The documentation for the ManageConnection trait could possibly use more information about what each method is used for.
@djc I've confirmed that this bug still reproduces before #153 was merged, it fails identically way back on 709137f which was the arbitrary old commit I picked to check.
It's interesting, there's definitely a timing aspect here.  I can trigger/not trigger the issue with this code on the loop:
      let pause_on = 5;
      let delay = 2;
      for i in 0..6 {
          if i == pause_on { tokio::time::sleep(Duration::from_millis(delay)).await; }
          let pool = pool.clone();
          futures.push(tokio::spawn(async move {
              let conn = pool.get().await.unwrap();
              drop(conn);
          }));
      }

This test will pass with a value of pause_on from 0 to 5, but not 6, no matter how high delay goes.  This test will pass with a value for delay of 2 but not 1 (on my machine).  Moving the delay inside the async block will never pass the test, no matter where it goes.  Adding a delay just before dropping can make an otherwise-passing test fail.

@xortive thanks for looking into this! Would you be able to submit a PR with both a regression unit test and your proposed fix? Would make it a bit easier for me to review in context.


[SPARK-40703][SQL] Introduce shuffle on SinglePartition to improve parallelism

What changes were proposed in this pull request?

This PR fixes a performance regression issue when one side of a join uses HashPartitioning with ShuffleExchange while the other side uses SinglePartition. In this case, Spark will re-shuffle the side with HashPartitioning and both sides will end up with only a single partition. This could hurt query performance a lot if the side with HashPartitioning contains a lot of input data.
Why are the changes needed?

After SPARK-35703, when Spark sees that one side of the join has ShuffleExchange (meaning it needs to be shuffled anyways), and the other side doesn't, it'll try to avoid shuffling the side without ShuffleExchange. For instance:
ShuffleExchange(HashPartition(200)) <-> HashPartition(150)

will be converted into
ShuffleExchange(HashPartition(150)) <-> HashPartition(150)

However, when the side without ShuffleExchange is SinglePartition, like the following:
ShuffleExchange(HashPartition(150)) <-> SinglePartition

Spark will also do the same which causes the left-hand side to only use one partition. This can hurt job parallelism dramatically, especially when using DataSource V2, since SinglePartition is used by the V2 scan. On the other hand, it seems DataSource V1 won't be impacted much as it always report UnknownPartitioning in this situation.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Added new unit tests in EnsureRequirementsSuite.

Looks reasonable to me

Merged to master and branch-3.3

Thanks @wangyum @bryanck @zhengruifeng @dongjoon-hyun @huaxingao @viirya @c21 !


[Pg] Fix introspecting varchar[] doesn't parse length correctly

Fixes #1633
The change finds length of the varchar by finding ( and ) characters, instead of fixed values. It also handles the case when no length is provided.

I have also considered removing [] from the lowered variable and that would work with other types also. Here is the commit for that -  https://github.com/drizzle-team/drizzle-orm/commit/79b0609fe801c467f30292a815cd1c039f341df5
Lmk which one you prefer.

Closing, because the issue was fixed in<EMAIL_ADDRESS>


Maven module / project layout restructuring - Notification and Persistence

A follow on to #1136
things to do

move FHIRNotificationSubscriber, FHIRPersistence, and FHIRPersistenceInterceptor to fhir-server module
move fhir-persistence-X projects into subfolder

I started on the FHIRNotification refactor as part of #1136 but backed it out when I realized the scope of the edits that will be needed.  First we'd need to break the current dependency that fhir-server currently has on fhir-notification-websockets, fhir-notification-kafka, and fhir-notification-nats.  I was thinking to make these use the service-loader pattern like all our other extension points until I noticed that fhir-notification-websockets behaves much different from the others.
For the websockets one, fhir-server defines a websocket endpoint and instantiates a new FHIRNotificationSubscriber on each websocket connection.  So, for this one, I think we'd need to either:
A. move the websocket implementation into fhir-server; or
B. remove it altogether (given the issues mentioned at #1214 )

Team discussion: decided to close. too risky and not worth the risk.


Add string-format macro for in-place formatted strings

this will be very useful for debugging and just making new strings in general

Pull Request Test Coverage Report for Build 758816047

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 69.237%

Totals

Change from base Build 757457453:
0.0%

Covered Lines:
33436

Relevant Lines:
48292

💛  - Coveralls


Support Request: Unable to find Roomba Devices with Blid

Describe Your Problem:
The plugin shows its not able to connect with the provided BLID
Expected behavior:
No response
Logs:
Failed to connect roomba: Kevin with error: No Roomba Found
With Blid: **************************

Config:
"name": "iRobot",
            "email": "*************",
            "password": "**************",
            "roombas": [
                {
                    "autoConfig": true,
                    "info": {
                        "ver": 2
                    }
                }
            ],
            "manualDiscovery": false,
            "lowBattery": 20,
            "offAction": "pause:dock",
            "status": "cycle:clean",
            "eveStatus": "inverted:cycle:clean",
            "bin": "filter:contact",
            "ignoreMultiRoomBin": true,
            "hideStuckSensor": false,
            "disableMultiRoom": false,
            "platform": "iRobotPlatform"

Node Version:
20.17.0
NPM Version:
10.8.2
Homebridge Version:
1.8.3
Plugin Version:
3.2.1
Operating System:
Debian

Is the Roomba on the same local network as your Homebridge?

Is the Roomba on the same local network as your Homebridge?

No its on my Iot Network

The plugin uses MQTT across the local network, so it will not work if it is on a separate one.

Yes, the manual configuration should allow you to do this. You can get the required parameters from the "autoconfig" (blid and such)


Show attributes for DOM input element

We don't show the attributes for input fields in the component tree:

We should show their attributes, something like
input(name: running, type: checkbox, value: running)
This info is currently available:

We should do this for all elements, it's helpful when inspecting a HTML/Angular Form.

@rajinder-yadav We actually have an issue for this already (#647). The same issue actually applies to lots of different types of elements, so I want to do it all at once.


Not helpful

Format visual is now impossible until data has been added, as Power BI changed its behavior for some terrible reason.  As such, this guide does not comply with current (Feb 2024) Power BI processes.

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

ID: 6a301928-35b6-2b9d-3bbe-0dc48b237b07
Version Independent ID: 765bad52-68e2-985f-924e-4e7f334b62f0
Content: Use Shape maps in Power BI Desktop (Preview) - Power BI
Content Source: powerbi-docs/visuals/desktop-shape-map.md
Service: powerbi
Sub-service: pbi-visuals
GitHub Login: @msftrien
Microsoft Alias: mihart

@ccustis-bitterroot Thank you for taking the time to provide feedback! We have a project underway to update all of our visualization documentation and this article will be further reviewed as a part of that. I will be sure to share your feedback with the project team. In the meantime, the article is recently updated and should align with current processes, so I am closing this issue. If you have additional feedback, please feel free to submit additional comments using the on-page feedback tools. Thanks again for your feedback!


Declared type untangling

Scary stuff.
The main patch just changes getDeclaredType() to return UnboundGenericType even for types nested inside generic types. With this change, a simple set of IRGen and mangling changes gets nested generics working, which will arrive in an upcoming PR.
The rest is just fixing an impressive amount of compiler_crasher fallout from this change. The fixes get us back to baseline, with a bunch of new tests now passing.

@swift-ci Please test

@swift-ci Please test and merge

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test and merge

@swift-ci Please test and merge