Option pour comptabiliser l'énergie "autre" comme un device dans les energy meters par devices

J'ai eu une idée je ne sais pas si ce serait une bonne idée, tu y penseras, mais avoir une option pour comptabiliser l'énergie "autre" comme un device dans les energy meters par devices
Ce serait genre la différence entre l'énergie totale du meter et l'énergie de toutes les devices hilo
C'est vraiment un détail, mais ca me gosse un peu de calculer ca à la main et que la somme des devices ne corresponde pas à la somme du meter.
Je parle de ca ici pour référence:

Bonne idée, je devrais avoir du temps en fin de semaine.

Implemented.

Bon c'est pas parfait vu qu'on reçoit les readings au compte goutte qu'on ne peux pas les demander:
2022-01-15 15:21:04 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 694 Known sources: 1731 Unknown sources: -1037
2022-01-15 15:21:19 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 3555 Known sources: 1717 Unknown sources: 1838
2022-01-15 15:21:30 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 3555 Known sources: 1724 Unknown sources: 1831
2022-01-15 15:21:40 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 3555 Known sources: 1711 Unknown sources: 1844
2022-01-15 15:22:04 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 3555 Known sources: 1711 Unknown sources: 1844
2022-01-15 15:22:22 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 3548 Known sources: 1711 Unknown sources: 1837
2022-01-15 15:22:32 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 3548 Known sources: 1718 Unknown sources: 1830
2022-01-15 15:22:42 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 3548 Known sources: 1704 Unknown sources: 1844
2022-01-15 15:23:04 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 3548 Known sources: 1704 Unknown sources: 1844
2022-01-15 15:23:14 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 2838 Known sources: 1698 Unknown sources: 1140
2022-01-15 15:23:48 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 2838 Known sources: 1685 Unknown sources: 1153
2022-01-15 15:24:05 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 2838 Known sources: 1685 Unknown sources: 1153
2022-01-15 15:24:19 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 3285 Known sources: 1685 Unknown sources: 1600
2022-01-15 15:24:29 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 3285 Known sources: 1678 Unknown sources: 1607
2022-01-15 15:24:39 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 3285 Known sources: 1671 Unknown sources: 1614
2022-01-15 15:24:52 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 3285 Known sources: 1671 Unknown sources: 1614
2022-01-15 15:25:02 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 3285 Known sources: 1678 Unknown sources: 1607
2022-01-15 15:25:12 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 1039 Known sources: 1664 Unknown sources: -625
2022-01-15 15:26:04 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 1039 Known sources: 1664 Unknown sources: -625
2022-01-15 15:26:17 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 693 Known sources: 1664 Unknown sources: -971
2022-01-15 15:26:28 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 693 Known sources: 1658 Unknown sources: -965
2022-01-15 15:26:38 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 693 Known sources: 1644 Unknown sources: -951
2022-01-15 15:27:00 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 693 Known sources: 1644 Unknown sources: -951
2022-01-15 15:27:10 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 678 Known sources: 1644 Unknown sources: -966
2022-01-15 15:27:20 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 678 Known sources: 1631 Unknown sources: -953
2022-01-15 15:27:34 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 678 Known sources: 1617 Unknown sources: -939
2022-01-15 15:27:53 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 678 Known sources: 1624 Unknown sources: -946
2022-01-15 15:28:04 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 678 Known sources: 4521 Unknown sources: -3843
2022-01-15 15:28:32 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 6807 Known sources: 4486 Unknown sources: 2321
2022-01-15 15:28:42 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 6807 Known sources: 4465 Unknown sources: 2342
2022-01-15 15:29:04 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 6807 Known sources: 4503 Unknown sources: 2304
2022-01-15 15:29:19 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 6924 Known sources: 4511 Unknown sources: 2413
2022-01-15 15:29:29 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 6924 Known sources: 4530 Unknown sources: 2394
2022-01-15 15:29:47 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 6924 Known sources: 4527 Unknown sources: 2397
2022-01-15 15:30:04 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 6924 Known sources: 4529 Unknown sources: 2395
2022-01-15 15:30:20 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 5053 Known sources: 4529 Unknown sources: 524
2022-01-15 15:30:53 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 5053 Known sources: 4523 Unknown sources: 530
2022-01-15 15:31:03 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 5053 Known sources: 4536 Unknown sources: 517
2022-01-15 15:31:13 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 6360 Known sources: 4509 Unknown sources: 1851
2022-01-15 15:31:23 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 6360 Known sources: 4522 Unknown sources: 1838
2022-01-15 15:32:04 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 6360 Known sources: 4490 Unknown sources: 1870
2022-01-15 15:32:14 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 5772 Known sources: 4489 Unknown sources: 1283
2022-01-15 15:32:38 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 5772 Known sources: 4493 Unknown sources: 1279
2022-01-15 15:32:48 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 5772 Known sources: 4484 Unknown sources: 1288
2022-01-15 15:33:01 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 5772 Known sources: 4484 Unknown sources: 1288
2022-01-15 15:33:12 DEBUG (MainThread) [custom_components.hilo] Currently in use: Total: 4392 Known sources: 4476 Unknown sources: -84


Android GPS accuracy negatively affected after upgrading to 8.2.0

🔙 Regression
Android GPS accuracy negatively affected after upgrading to 8.2.0
Old (and correct) behavior
Previously on android devices and emulator, listening to a position stream with with best accuracy provided events a few meters apart. For example, when recording a track while walking, each point returned by the stream would be a few meters apart. (about once per second). Behavior observed on physical devices and emulators.
Current behavior
After upgrading to version 8.2.0 the position stream is return points 80+ meters apart (10+ seconds apart) during my testing.
Reproduction steps
Record a track with similar duration/distance before and after upgrading to 8.2.0 on an Android device.  If each track has a similar duration and distance, the track recorded on 8.2.0 will have far fewer points (and greater distance between each point)  than the track recorded on a previous version.  The track recorded on pre 8.2.0 versions will have about 10x more points.  IOS seems to retain the same behavior and number of points after upgrading to 8.2.0.
Configuration
Version: 8.2.0
Platform:

[ ] :iphone: iOS
[X] :robot: Android

In my code I was not specifying an intervalDuration.  However, pre 8.2.0, this seems to have defaulted to 1 second, while post 8.2.0 seems to default to about 3 seconds.  See testing output and configs below.
Config pre 8.2.0 update:
const LocationSettings gpsSettings = LocationSettings(
accuracy: LocationAccuracy.bestForNavigation,
distanceFilter: 0,
);
Output:
I/flutter (16242): Position update 2022-02-18 14:57:42.521Z
I/flutter (16242): Position update 2022-02-18 14:57:43.521Z
I/flutter (16242): Position update 2022-02-18 14:57:44.521Z
I/flutter (16242): Position update 2022-02-18 14:57:45.521Z
I/flutter (16242): Position update 2022-02-18 14:57:46.521Z
I/flutter (16242): Position update 2022-02-18 14:57:47.521Z
I/flutter (16242): Position update 2022-02-18 14:57:48.521Z
I/flutter (16242): Position update 2022-02-18 14:57:49.521Z
I/flutter (16242): Position update 2022-02-18 14:57:50.522Z
I/flutter (16242): Position update 2022-02-18 14:57:51.522Z
I/flutter (16242): Position update 2022-02-18 14:57:52.522Z
I/flutter (16242): Position update 2022-02-18 14:57:53.522Z
I/flutter (16242): Position update 2022-02-18 14:57:54.522Z
Config post 8.2.0 update no intervalDuration:
const LocationSettings gpsSettings = LocationSettings(
accuracy: LocationAccuracy.bestForNavigation,
distanceFilter: 0,
);
Output:
I/flutter (17148): Position update 2022-02-18 15:00:36.551Z
I/flutter (17148): Position update 2022-02-18 15:00:39.551Z
I/flutter (17148): Position update 2022-02-18 15:00:42.551Z
I/flutter (17148): Position update 2022-02-18 15:00:45.551Z
I/flutter (17148): Position update 2022-02-18 15:00:48.551Z
I/flutter (17148): Position update 2022-02-18 15:00:51.551Z
I/flutter (17148): Position update 2022-02-18 15:00:54.551Z
I/flutter (17148): Position update 2022-02-18 15:00:57.551Z
I/flutter (17148): Position update 2022-02-18 15:01:00.551Z
I/flutter (17148): Position update 2022-02-18 15:01:03.552Z
I/flutter (17148): Position update 2022-02-18 15:01:06.551Z
Config post 8.2.0 update with intervalDuration :
LocationSettings gpsSettings = AndroidSettings(
accuracy: LocationAccuracy.best,
intervalDuration: const Duration(seconds: 1),
distanceFilter: 0,
);
I/flutter (17381): Position update 2022-02-18 15:06:57.603Z
I/flutter (17381): Position update 2022-02-18 15:06:58.603Z
I/flutter (17381): Position update 2022-02-18 15:06:59.603Z
I/flutter (17381): Position update 2022-02-18 15:07:00.603Z
I/flutter (17381): Position update 2022-02-18 15:07:01.603Z
I/flutter (17381): Position update 2022-02-18 15:07:02.603Z
I/flutter (17381): Position update 2022-02-18 15:07:03.604Z
I/flutter (17381): Position update 2022-02-18 15:07:04.604Z
I/flutter (17381): Position update 2022-02-18 15:07:05.604Z
I/flutter (17381): Position update 2022-02-18 15:07:06.605Z
I/flutter (17381): Position update 2022-02-18 15:07:07.604Z

Looking at the commit history the default behaviour of the intervalDuration was changed in 8.0.4 but that change was not documented in the change log.

Minimally yes, the change log should be updated. However, the default
behaviour of the android and ios versions of plugin are now different,
correct? This is not ideal.
On Fri, Feb 18, 2022 at 8:30 AM Hennie Brink @.***>
wrote:

@florissmit1 https://github.com/florissmit1 @mvanbeusekom
https://github.com/mvanbeusekom we should maybe just update the change
log indicating the behaviour change?
—
Reply to this email directly, view it on GitHub
https://github.com/Baseflow/flutter-geolocator/issues/985#issuecomment-1044706540,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ6BSJPC6DIDU2T5AFRWBKDU3ZQ23ANCNFSM5OVJKICQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

@Wackymax @rlueders we're currently looking into it. Since the behaviour on android and iOS are different, we're thinking about rolling back this change, but we're not sure. Thanks for sharing your point of view, I'll keep you up to date!

In the descripition, PR #943 says that intervalDuration is set to 500 (milliseconds) by default. However, in the code, it is actually set to 5000 milliseconds. I wonder which one was the intention; at least this change caused suboptimal behavior in our app (position frequency dropped from 1 second to 5 seconds on library update).

hi, i can confirm that if i change the intervalDuration to 500ms, the delay on android is gone
i am on 9.0.2 btw
but since its using AndroidSettings, what happens if iOS using this same setting?

seconds on library update).

i am on 11.0.0
i have tried a lot of configurations but still
my setup :
final locationSettings = AndroidSettings(       accuracy: LocationAccuracy.best,       intervalDuration: const Duration(milliseconds: 500),     );     Geolocator.getPositionStream(locationSettings: locationSettings)         .listen((Position? position) {       if (position != null) {         try {           userLocation = LatLng(position.latitude, position.longitude);           logger.i("${DateTime.now()}");         } catch (e) {           logger.w("Error: $e");         }       }     });
output :
2024-07-17 23:01:47
2024-07-17 23:01:52
2024-07-17 23:01:57

Geolocator 11.0.0
android settings :
 final locationSettings = AndroidSettings(       accuracy: LocationAccuracy.bestForNavigation,       intervalDuration: const Duration(seconds: 1),     );
Geolocator stream
_positionSubscription = Geolocator.getPositionStream(locationSettings: locationSettings)         .listen((Position? position) {       if (position != null) {         try {           userLocation = LatLng(position.latitude, position.longitude);           logger.w("${DateTime.now()}\n"               "location changed ${position.latitude} ${position.longitude}");           // mapController.move(_userLocation!, 19);           _positionStreamController.add(LocationMarkerPosition(                 latitude: position.latitude,                 longitude: position.longitude,                 accuracy: 0.000001,               ));           updateInstruction();           notifyListeners();         } catch (e) {           logger.w("Error: $e");         }       }     });


Multiuser possibility?

Is it possible to use a single antidote install for both the root user and the non-root main user? I want to use antidote for root too but doing a separate exact same install with the exact same plugins cloned again seems like a waste of space.
If anyone is willing to guide me to achieve such a setup, I'd be grateful.

You could do this pretty easily by setting ANTIDOTE_HOME=/my/shared/antidote/home in both configurations. Would that satisfy your needs?

I tried doing something like this but what happened is that after switching to the root user, it modified the cached plugins and therefore when i switched back to my user it gave me tons of permission error outputs.

That shared path would have to be owned by both group that both root and your user are in for this to work effectively. Otherwise you'll have all sorts of permissions issues. This isn't a problem unique to antidote - there's a similar discussion with other plugin/package managers, and how they behave in multi-user scenarios as well. You may find some useful tips from those disucssions.
Out of curiosity, I ran a quick du -sh $(antidote home) to check the size of my Zsh plugins directory and learned that even with all my testing plugins, mine's only 50MB. Hardly a waste of space, but you may be using some plugins that are space hogs that I don't know about.
Regardless, I won't go so far as to tell you what's right for you in your setup, but antidote won't directly support this feature.


Create MPT scroll-reth

Describe the feature
We currently have a single node implementation for scroll that uses the BMPT state commitment. As we undergo our transition to using the native Ethereum MPT it would be of value to provide an MPT implementation so that we can leverage it for both comparison with l2geth (MPT) and for witness generation in for the stateless block verifier.
Implementation
Rename ScrollNode as ScrollNodeBMPT. Introduce a new node ScrollNodeMPT with the same configuration. On this node when implementing NodeTypes we should specify the MerklePatriciaTrie for the state commitment. Introduce an additional scroll binary for the MPT node. Ensure that this node can not be compiled with the scroll feature flag.
References below:
https://github.com/scroll-tech/reth/blob/133d9c0a3f3ead0074ffb6919aaacc55d472050a/crates/scroll/node/src/lib.rs#L38-L79
https://github.com/scroll-tech/reth/blob/133d9c0a3f3ead0074ffb6919aaacc55d472050a/crates/scroll/node/src/types.rs#L8-L18
https://github.com/scroll-tech/reth/blob/133d9c0a3f3ead0074ffb6919aaacc55d472050a/crates/scroll/bin/src/main.rs#L1-L46
Distribution
We have two possibilities for the distribution of scroll reth.
Node client binary + state dump / import
We can distribute the node client and also provide a state dump. A user can then spin up the node and import the state dump using the init-state command. This should provide them with a node with a database that allows them to invoke desired RPC commands on it. Alternatively, the user can use the import command which allows them to import a set of rlp encoded blocks from a file. This should be confirmed and tested that this pattern works. This is a more technical option but allows consumers of reth to become more familiar with its operation and is more flexible as different users can import different blocks/states as they require.
Hosted Node Client
We can deploy servers (EC2 instances or kube pods) to host the reth clients and expose the RPC for consumers. This is a simple approach for consumers and the clients are "managed" however the consumers will have less flexibility about what blocks are included in the chain.
Conclusion
It may be best to provide both solutions. We host nodes for both the mpt and bmpt implementations of reth synced to mainnet and we also distribute the node client and allow consumers to import state / create chains that satisfy their use case. We should discuss with SRE how we want to deploy these nodes, as dedicated EC2 instances or as containers on kubernetes.
Additional context
No response

Outstanding work: We need to make the CLI run method generic over the node type:
https://github.com/scroll-tech/reth/blob/fdf74bb689aff2d44d2f9653711fb99a645d273c/crates/scroll/cli/src/lib.rs#L103-L154

closed by #107


JCenter dependency

This library is still dependent on JCenter per 1 dependency.
The cause is due to using gradlePluginPortal() in the project build.gradle.  This was originally included as a fix for including trove4j but it appears that now this is available from mavenCentral.
https://search.maven.org/search?q=g:org.jetbrains.trove4j

@emarc-m Is this still an outstanding issue?

@philippb, yes. Thanks for the reminder.
I did not prioritize since JCenter decided to be read-only indefinitely: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/.
I'll take care of this within the week to finally resolve this.

@barnhill Thanks again for the PR to address this.
I just published version 1.4.4 in MavenCentral.


Do not treat SC2145 as a error

If we read SC2145 the wiki implies that this is basically to warn about the implications of using $@ over $*.

In shellcheck itself, the severity level for SC2145 is actually "error". If you insist it's a warning, please fire an issue to shellcheck instead.

{
  "comments": [
    {
      "file": "x.sh",
      "line": 3,
      "endLine": 3,
      "column": 39,
      "endColumn": 41,
      "level": "error",
      "code": 2145,
      "message": "Argument mixes string and array. Use * or separate argument.",
      "fix": null
    }
  ]
}


[2201.3.x] Fix annotation passing for immutable inline records

Purpose
$subject
Fixes #39156
Approach
As for inline records, the global annotation map is passed with anonaType key, it is not populated to the runtime record type.  So, we don't pass the anonType internal name to the runtime for retrieving the annotations which causes the issue.
This PR passes the internal name to runtime to be used when populating annotations.
Samples
import ballerina/io;
import ballerina/constraint;

type Album readonly & record {|
    @constraint:String {
        maxLength: 5,
        minLength: 1
    }
    string title;
    string artist;
|};

public function main() returns error? {
    Album a = {
        artist: "test",
        title: "testss"
    };
    Album validAlbum = check constraint:validate(a); // should fail
    io:println(validAlbum);
}

Remarks
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[x] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

As per the offline discussion, if this fix is added to 2201.3.x it might break the existing constraint package usage with 2201.3.x older versions. Therefore, adding the fix in the master branch will be enough. Hence, closing the PR.


Fix interactive window debugging with ipykernel6

For #6534

Codecov Report

Merging #6691 (be13d43) into main (ee7729a) will decrease coverage by 0%.
The diff coverage is 51%.

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

@@          Coverage Diff           @@
##            main   #6691    +/-   ##
======================================
- Coverage     69%     69%    -1%
======================================
  Files        412     412
  Lines      28473   28549    +76
  Branches    4241    4268    +27
======================================
- Hits       19825   19703   -122
- Misses      6991    7168   +177
- Partials    1657    1678    +21

Impacted Files
Coverage Δ

...ient/datascience/interactive-ipynb/nativeEditor.ts
69% <ø> (ø)

...cience/interactive-ipynb/nativeEditorOldWebView.ts
85% <ø> (ø)

...ence/interactive-window/nativeInteractiveWindow.ts
5% <0%> (-1%)
:arrow_down:

src/client/datascience/types.ts
100% <ø> (ø)

...lient/datascience/kernel-launcher/kernelProcess.ts
70% <25%> (-5%)
:arrow_down:

.../datascience/interactive-common/interactiveBase.ts
70% <55%> (-1%)
:arrow_down:

src/client/datascience/jupyter/jupyterDebugger.ts
70% <66%> (-1%)
:arrow_down:

...ience/interactive-ipynb/nativeEditorProviderOld.ts
76% <100%> (+<1%)
:arrow_up:

...atascience/interactive-window/interactiveWindow.ts
73% <100%> (ø)

...ce/interactive-window/interactiveWindowProvider.ts
75% <100%> (+<1%)
:arrow_up:

... and 30 more

Just waiting on the suggestion that Joyce made. Otherwise looks good to me

ust waiting on the suggestion that Joyce made. Otherwise looks good to me

@joyceerhl thanks for the explanation, initially i didn't quite understand that. It makes perfect sense. Updated the PR. Please check
@rchiodo it should be simpler now.


removing readme and documentjs.json files

These will be added by donejs-documentjs

This is the first part of https://github.com/donejs/donejs/issues/784.

Coverage remained the same at 97.473% when pulling 70f0539b1d1927fc298970e5e6474674e34f8187 on remove-documentjs into 2f931a80fae298d80593ec269f25ddbc4290c5de on major.


Why appium work so slowly?

WHYYYYY? Doest it have good alternatives?

Hi @Radzhab
Please describe your problem. What operation has performance problem? Which server version are you currently using? Which client version are you currently using? From which server/client version are you facing performance problems?

@Radzhab Appium is slow for several reasons, but they're all based on the fact that the underlying automation tools for Android and iOS are slow. If you look at the appium source code, it's actually a very thin client wrapped around synchronizing a dozen native processes which automate the phone.
It's also slow because of the Selenium model, where each command and response are sent over http from the test script to the device and back. While this can be the cause of perceived slowness, it's what allows the versatility to support any language, any test methodology, easy CI integration, and live repl-like automation.
If you dig deeper there are optimizations you can perform with your test setup such as using the Android Hierarchy Compression, or Instruments Without Delay on iOS.


chore(main): release uniform 0.5.0

:robot: I have created a release beep boop
0.5.0 (2024-07-11)
Features

uniform: add initial FieldArray component (#277) (9b7b436)
uniform: add initial RadioGroup component (#276) (8a2588e)
uniform: add initial Select component  (#272) (9563809)
uniform: add initial Switch component (#242) (806181a)
uniform: add initial TextArea component (#275) (2fc0bae)

Bug Fixes

deps: update dependency react-hook-form to v7.52.0 (ab9294e)
deps: update dependency react-hook-form to v7.52.1 (01eb8ea)
deps: update nextui monorepo (b0b96f1)
uniform: update FieldArray snapshot (7473e5a)
update snapshots after nextui update (b831bee)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

uniform-v0.5.0
:sunflower:


created function and button for deleting incident

https://www.loom.com/share/e3744b8e95df400fb4f73c5e9ce85865
Description
created button that once clicked will delete incident from Admin Dashboard via UI Delete button, when clicked does delete request to API and deletes specified data from DB
Type of change
Please delete options that are not relevant.

[ ] New feature (non-breaking change which adds functionality)

Change Status

[ ] Complete, tested, ready to review and merge

How Has This Been Tested?

[ ] npm test

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] There are no merge conflicts
https://www.loom.com/share/e3744b8e95df400fb4f73c5e9ce85865

I completely agree @ooladuwa, when running it there is no step for re-evaluate once you click the delete button. Would like to see that feature in the next version


Updated with Right Commit History - Base Version of the React App

Made the following changes

Using react-styledist to allow for a documentation server. See instructions in README.
Added TODO's and uncommented and removed the old code.
Can upload images (*.png) for now and tag them. Makes a dummy API call.

NOTE: If you upload multiple images, it makes one API call per image right now, can be reconfigured easily. But this might help if you have people uploading large number of large files .
To test:

Run the react app.
Click upload or drag drop some *.PNG files.
On the next page, see the form being submitted. Verify on your flask backend that you received the files.
Add your gcloud API key to change to lat,long and repeat to test that address are converted to lat long
Run react-styleguidedist to see the documentation server

Sorry, I accidentally pushed the branch on the central repository, and then it closed this pull request.
Work is almost finished, but there is still some small bugs to fix:

Set the maximum allowed upload size per image.
Maybe simplify the upload interface, as modules UploadImage and tagImages may be redundant (we could use just 1 button on home page who will redirect to tagImages where all the upload stuff is effectively done).


Manual Installation in air gap environments

The documentation assumes that the cluster can access public internet. This may not be the case in practice. I am not sure if the air-gap installation is in scope for this, but I thought I'd flag it here.

How do people normally handle this? Searching cloudera's documentation I also couldn't find anything about air gap installs.

CDS version of airgap documentation installation here: https://www.cloudera.com/documentation/data-science-workbench/latest/topics/cdsw_install.htmlFor

CSD-based installs in an airgapped environment, put the Cloudera Data Science Workbench parcel into a new hosted or local parcel repository, and then configure the Cloudera Manager Server to target this newly-created repository.

Could this be done by  targeting a local conda repository with required packages?

It could. Or we could build RPMs (#8), or use conda-pack to package the environment for transport. There's lots of things that could work, I'm just not sure what's best.

@hussainsultan would creating a parcel solve help solve the software distribution problem?
If that is the case, the easiest way I can find to create one is by using conda-pack. Let me hack something really quick and post it back here.

@sodre creating a parcel will solve this issue for Cloudera managed Hadoop clusters and I am not sure thats the most general answer as @jcrist  mentioned.  Perhaps, the best answer might be just to document one of the ways for offline install e.g. using conda-pack to create a tarball and pushing it to edge node etc.
apologies for the delay.


fix: change instagram color to dark original color

What would you like to share?
The current Instagram color is very light and hard to identify.
I want to add the official darker color of Instagram
Please add the Hacktoberfest issue to this and assign this issue to me.
Additional information
No response

what is the difference between this and #372?

For #372  , I want to add the hover effect, see when you hover on any link, it changes color and a transition occurs.
For this issue, there's nothing transition as such, but changing the color to official color, so when the static color of link changes.

Please accept this PR so I can make another one for other issue


Support Not Null constraint

Describe the solution you'd like
A column should be not nullable if defined so by the user.

We dropped not null support long time ago as we treat all values nullable. cc @fuyufjh any ideas?

Can I close this issue?

See #4513
Feel free to reopen if there are new reasons to support this.


[GUI] Masternodes tab address column

Win7 64bit - v.12.1
Masternodes tab -> address column is too narrow, ipv6 addresses are truncated.
Current default:

I propose:

ipv6 can be really huge and there are not so many of them so it might look weird.

Also I'd rather truncate few ip addresses by default but leave all other fields non-truncated for minimum width. So smth like this maybe?

Thoughts? @schinzelh @crowning-

I'd narrow everything as far as possible ("Last seen" has some wasted real estate) and if the width still does not fit the default wallet width I'd truncate the "Address" field and show the full value in a bubble help.
That's how I did it in the CoinControl dialog.
Oh, and once available double check the look in some of the longer locales (German, Finnish are the usual candidates).

Fixed with https://github.com/dashpay/dash/pull/799

@crowning- good points! Might need to have another look at this later.


fix: production build in vite5

Description
This pull request addresses the issue "Diagram not Displayed in Production Build", ensuring that diagrams are properly shown in the production environment.
Cause of the Problem
The root of the problem lies in the plugin code. In the production build, the transformation method intended to replace comments and install global components fails to execute correctly. The specific issue is that the targeted comment, which is crucial for the transformation, vanishes before the process can take place.
Solution Description
I've modified the transformation logic. Now, it does not rely on comments.

thanks for the fix
last version published..
you can test it now 😁

@emersonbottero
Thank you for publishing this fix!
I've confirmed it's working fine.


MudTextField: Fix InputMode not propagated (#4790)

Description

fixes #4790
I've just passed down InputMode parameter so that it is reflected on rendered component.
This fix makes it easier to show only numeric keyboard for mobile users.
How Has This Been Tested?

unit
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

Thanks @gaplin !


Adds EM API structures for Create Experiment, Get Experiments and Status

This PR is related to #279 and needs to be merged after #279
Description:
This PR has changes made on top of #279. Changes made in particular to this PR are the addition of API's for the EM. In the current EM implementation We have the Stage Processors whose role is to read from the queue and process the transistion (Yet to be implemented). So there need to be a source which feeds the queue and also an endpoint to receive the config, Now we add the endpoints of CreateExperiment and GetExperiments as part of this PR.
Signed-off-by: bharathappali<EMAIL_ADDRESS>

Description:
This PR has changes made on top of #279. Changes made in particular to this PR are the addition of API's for the EM. In the current EM implementation We have the Stage Processors whose role is to read from the queue and process the transistion (Yet to be implemented). So there need to be a source which feeds the queue and also an endpoint to receive the config, Now we add the endpoints of CreateExperiment and GetExperiments as part of this PR.

@dinogun As #279 is merged, this PR is now ready to be reviewed. Thanks in advance.

Need to update the JavaDoc. Will add it and update the PR.

@dinogun I have added the JavaDoc. Pushed the changes to the branch. It's ready to be reviewed.

@dinogun Thanks for the review. I have made the changes which are mentioned. PR is now ready for a re-review.

Please fix the conflicts

@chandrams This is adding new APIs to the master branch, we need to discuss the tests

@bharathappali - I don't see the API doc update here. Can you include that? I see another pull request which is quite old - https://github.com/kruize/autotune/pull/273, do you plan to update this one?

@dinogun @chandrams resolved the conflicts and removed the listExperimentTrials api, It's ready for review now.


RHOAS Profile configiuration

Creating for visibility. This is early POC! Not to be reviewed or used.
Instructions and usage: https://github.com/rhoas-examples/rhoas-cli-config-example

That was POC. I'm not sure if we should have it as PR :)


Added V2 and ISA support

Summary
This PR is a work in progress to adapt the whole code base to support V2 primitives and ISA circuits.
Details and comments
For now, it contains:

[x] phase_estimators
[ ] eigensolvers/vqd.py
[ ] amplitude_amplifiers/grover.py
[ ] time_evolvers
[ ] state_fidelities/compute_uncompute.py
[ ] optimizers
[ ] observables_evaluator.py
[ ] gradients
[ ] minimum_eigensolvers
[ ] amplitude_estimators

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

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

18 of 18 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 90.439%

Totals

Change from base Build<PHONE_NUMBER>7:
0.01%

Covered Lines:
6366

Relevant Lines:
7039

💛  - Coveralls

FYI. I merged a PR that fixed CI with the main branch and changes that will going into the shortly to be released 1.2.0 so that CI now passes fully here and does not fail with the two jobs that check things out against qiskit main, and updated the branch here so this now completely passes.
I think this is fine. I must admit though I had wondered, given that I think we only ever need something that has a run() method, that takes circuits and gives transpiled circuits back whether, something could be done around a type that was more targeted along those lines. The pass manager has a number of methods that I do not think we would call, and the AI Transpiler Service which has a run method could be used too but is not a passmanager - i,e, so that a Passmanager instance or the AI transpiler could be used - or anything else that had a run method that did the transpilation. I know Optimization went for BassPassManager too as the type and maybe thats ok.
Whatever is done I think we might want to note in the docstring for this that's its optional and that passing in None results in the circuit not being transpiled. Maybe for some algos like VQE one can already pass a circuit (ansatz) that is transpiled for a given backend so the note there might be a little different to accommodate that  - for PE they build their own circuits of course so that aspect does not apply.

Hey @woodsp-ibm! Sorry for the time without any news, we've had quite a lot on our plates recently :(
We just wanted to keep you posted on what's left to do. Normally, all the checkboxes that are... well, checked in the first post of this PR are ready for review. Either their tests pass, or they will once the non-checked items are done. Doing these non-checked items shouldn't be too long, it's just a matter of finding the time to do so (but hopefully soon!). Once again, sorry for that.
The reason why we're pinging you even though it's not entirely finished is so that you can take a quick look at how things have been done. Since the code style is (normally) consistent between files, an error or bad coding pattern that you spot on a file will likely be repeated on others, so it's probably fine for now if you just look at "representative files" and leave comments on them, we'll just correct the other spots where we did the same mistake.
Sorry again for the long time without news, but we should be close to the end!

Hi all,
I suggest looking at our version (not fully optimised yet) gradients and state_fidelities.
We will update these for Qiskit machine learning, which might help you to update the rest.


Problem installing an external script and referencing a variable from it globally (MathJax)

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Versions.
Output from: ng --version:
@angular/cli: 1.0.0
node: 7.2.1
os: win32 x64
@angular/common: 4.0.1
@angular/compiler: 4.0.1
@angular/core: 4.0.1
@angular/forms: 4.0.1
@angular/http: 4.0.1
@angular/material: 2.0.0-beta.2
@angular/platform-browser: 4.0.1
@angular/platform-browser-dynamic: 4.0.1
@angular/router: 4.0.1
@angular/cli: 1.0.0
@angular/compiler-cli: 4.0.1
OS:
Windows 10.
Repro steps.
I previously set yarn as my default package manager.
I started the project with
ng new math-bug
I installed dependencies
yarn add express body-parser mathjax mongoose
yarn add @types\mathjax --dev

I modified the file .angular-cli.json adding the following to the scripts array (previously empty).
"../node_modules/mathjax/MathJax.js"

I added a component to my project that uses the line:
"MathJax.Hub.Queue([ "Typeset", MathJax.Hub, this.id]);"
The log given by the failure.
When I build my project I get the error:
ERROR in C:/Users/Pat/ProgrammingProjects/math-bug/src/app/latex/latex.component.ts (23,9): Cannot find name 'MathJax'.
C:/Users/Pat/ProgrammingProjects/math-bug/src/app/latex/latex.component.ts (23,40): Cannot find name 'MathJax'.
ERROR in C:/Users/Pat/ProgrammingProjects/math-bug/src/app/latex/latex.component.ts (23,9): Cannot find name 'MathJax'.
C:/Users/Pat/ProgrammingProjects/math-bug/src/app/latex/latex.component.ts (23,40): Cannot find name 'MathJax'.
Desired functionality.
I would like to be able to use MathJax on my project. I previously had an Angular 2 project that used systemjs where this was not a problem. I believe I followed all the instructions for global library installation as described here, but it's possible I'm misunderstanding something.
Mention any other details that might be useful.
I built a repo that demonstrated what's happening. It can be seen here

i cloned your repo trying to get this running, i added this line to LatextComponent:
import * as MathJax from 'mathjax/MathJax';

the error doesn't show any more, but it shows another error, that it failed to fetch MathMenu and MathZoom, i will keep trying and let you know if anything came up.
it worth mentioning that i've tried:"
import { MathJax } from 'mathjax';

but this error showed up:
File<EMAIL_ADDRESS>is not a module.'

Try adding "mathjax" to the types array in src/tsconfig.app.json.  I had a similar error and that fixed it for me.

@isaacplmann Thanks! That fixed it for me.

Closing as answered by @isaacplmann, cheers!


Automated cherry pick of #3944: fix image set chksum

Cherry pick of #3944 on release/2.12.
#3944: fix image set chksum

/lgtm

/approve


List Editor widget

List editor widget should allow adding, removing and moving elements by drag'n'drop.
If the mouse cursor is in the area between elements, it should change shape and color to indicate that adding is possible. Pressing in this area adds default element. Also, the + icon should appear at least in an empty vector, which adds elements at the end.

### Tasks
- [ ] List Editor which allows adding entries and reading configuration
- [ ] Dragging and removing in List Editor

Refinement notes:

If something is hard to do, let's make it in a simpler way, because the list editor will be revised soon anyway.
Regarding dragging: the tricky part is to share mouse events between list editor and the nested widgets.

Yeah, that's fair. For now, it should be easy enough to add an element to the end and then drag it into place anyway

regarding dragging: for now i've decided to register both click and cmd+click.
nested widgets should still work when using click, as the events bubble up (and can be handled in an inner widget)
shift+click is not an option due to a bug in chrome: https://bugs.chromium.org/p/chromium/issues/detail?id=982219


refactor(docs): improve dns docs

My attempt to improve DNS docs
Did you sign your commit? Instructions: 👍
Have you read Contributing guidelines?: 👍

@bartsmykla what should we do with this PR?

Sorry, I missed your comment and forgot about this PR


Platform build fails on multi-core Visual Studio

Description of bug
DNN_Platform.sln does not build correctly from scratch on multi-core Visual Studio configurations. Multi-core computers enable Visual Studio to build solution projects in parallel, which reduces build time. Right now, when number of parallel processes is 8 or higher, build crashes.
Steps to reproduce

Open Visual Studio
Open Tools > Options > Projects and Solutions > Build and Run
Set 64 as the maximum number of parallel project builds
Exit Visual Studio
Change to DNN_Platform.sln directory (git workspace)
Make sure to reset any modified files and pull latest changes from development branch
Run git clean -fdx
Open DNN_Platform.sln in Visual Studio
Build the solution (F6 or Ctrl+Shift+B)

Current result
Solution doesn't build correctly. Many projects cannot find metadata of upstream projects.
Expected result
Solution should build correctly and leverage multi-core configurations to reduce build time.
Additional context
Parallel build requires project dependencies to be correctly setup. This is automatically enforced when projects reference each other, but DNN_Platform.sln often uses binary references instead of project references. In such cases, project dependencies need to be enforced at solution level.
Solution build order is not currently being enforced correctly by Visual Studio because some project GUIDs are wrong. In particular:

There are many references to DotNetNuke.Library as D391550C-7107-49B2-A6AC-8627C8B06ADC, but correct GUID is 6b29aded-7b56-4484-bea5-c0e09079535b

There are many references to DotNetNuke.Web as 8DA31B98-5E8E-4243-8967-D4CF7DC622CB, but correct GUID is ee1329fe-fd88-4e1a-968c-345e394ef080

Also, there is one missing dependency in the solution file, between DotNetNuke.Tests.Urls and DotNetNuke.HttpModules.
Looking in git history, these errors go back to years ago, so this must only be affecting parallel build configuration.
Affected version

[x] 9.3.0

Closing since PR got merged


Maven plugin is ignoring JGitConfig for pushing stubs

This is a test constructor and should be called only in tests org.springframework.cloud.contract.stubrunner.GitRepo#GitRepo(java.io.File). However I'm using it here ContractProjectUpdater.java:67. That means that I'm not setting up proper credentials for pushing. I only do that for pull

When switch to git protocol instead of https, and got failure.
Download dependency is provided - will retrieve contracts from a remote location
[INFO] Cloning repo from [git:git@github.com:hantsy/contracts-git.git] to [E:\Users\hantsy\AppData\Local\Temp\git-contracts1562586833804707535]
[INFO] Successfully connected to an agent
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.641 s
[INFO] Finished at: 2018-07-03T15:11:47+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.cloud:spring-cloud-contract-maven-plugin:2.0.0.RELEASE:convert (default-convert) on project contract-producer-rest-git: Execution default-convert of goal org.springframework.cloud:spring-cloud-contract-maven-plugin:2.0.0.RELEASE:convert failed: Exception occurred while cloning repo: org.eclipse.jgit.api.errors.TransportException: git@github.com:hantsy/contracts-git.git: Auth fail -> [Help 1]

I didn't.
[INFO] --- spring-cloud-contract-maven-plugin:2.0.1.BUILD-SNAPSHOT:pushStubsToScm (default) @ contract-producer-rest-git ---
[INFO] Pushing Stubs to SCM for project [com.example:contract-producer-rest-git:0.0.1-SNAPSHOT]
[INFO] Commited successfully with message [Updating project [com.example:contract-producer-rest-git:0.0.1-SNAPSHOT] with stubs]
[INFO] Trying to push changes, attempt 1/10
[INFO] Successfully connected to an agent
[INFO] Successfully pulled changes from remote for project with contract and stubs
[INFO] Successfully pushed changes with current stubs
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.798 s
[INFO] Finished at: 2018-07-03T09:18:55+02:00
[INFO] ------------------------------------------------------------------------

Maybe it's sth related to windows?

I think you have a problem with certificates for some reason. Can you try with 2.0.1.BUILD-SNAPSHOT and pass the credentials?

If possible configure this repository  credentials info  as  maven server format in setttings.xml to make it more secret.
And if possible delegate the push command to my local git?

but what does Maven's settings.xml have to do with git? What you're suggesting is a hack imo

@marcingrzejszczak updated to 2.0.1.BUILD-SNAPSHOT,  git protocol failed, https ok.

but what does Maven's settings.xml have to do with git? What you're suggesting is a hack imo

I means set username and password in servers section of setttings.xml, and this maven plugin refer the id of the server definition, thus it will not expose credentials to public.

I see - I guess you can set that requirement as a separate issue.
As for the Auth fail maybe try this:
https://cloud.spring.io/spring-cloud-release-tools/single/spring-cloud-release-tools.html#_jschexception_auth_fail

1.8.1 JSchException: Auth fail
I got such an exception

Caused by: org.eclipse.jgit.errors.TransportException: git@github.com:spring-cloud/spring-cloud-sleuth.git: Auth fail
	at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:160) ~[org.eclipse.jgit-<IP_ADDRESS>612231935-r.jar!/:<IP_ADDRESS>612231935-r]
	at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:137) ~[org.eclipse.jgit-<IP_ADDRESS>612231935-r.jar!/:<IP_ADDRESS>612231935-r]
	at org.eclipse.jgit.transport.TransportGitSsh$SshPushConnection.<init>(TransportGitSsh.java:322) ~[org.eclipse.jgit-<IP_ADDRESS>612231935-r.jar!/:<IP_ADDRESS>612231935-r]
	at org.eclipse.jgit.transport.TransportGitSsh.openPush(TransportGitSsh.java:167) ~[org.eclipse.jgit-<IP_ADDRESS>612231935-r.jar!/:<IP_ADDRESS>612231935-r]
	at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:160) ~[org.eclipse.jgit-<IP_ADDRESS>612231935-r.jar!/:<IP_ADDRESS>612231935-r]
	at org.eclipse.jgit.transport.Transport.push(Transport.java:1275) ~[org.eclipse.jgit-<IP_ADDRESS>612231935-r.jar!/:<IP_ADDRESS>612231935-r]
	at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:161) ~[org.eclipse.jgit-<IP_ADDRESS>612231935-r.jar!/:<IP_ADDRESS>612231935-r]
	... 25 common frames omitted
Caused by: com.jcraft.jsch.JSchException: Auth fail
	at com.jcraft.jsch.Session.connect(Session.java:512) ~[jsch-0.1.53.jar!/:na]
	at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:117) ~[org.eclipse.jgit-<IP_ADDRESS>612231935-r.jar!/:<IP_ADDRESS>612231935-r]
	... 31 common frames omitted

To fix that just call
# to run the agent
$ eval `ssh-agent`
# to store the pass in the agent
$ ssh-add ~/.ssh/id_rsa

before running the app

@marcingrzejszczak I will create another issue for it.

@marcingrzejszczak  Unluckily tried this approach in Git bash/Windows 10, got the same failure.

I don't have a windows machine to verify this. Maybe you have sth improperly set up with the keys.

@marcingrzejszczak I will try to generate a new key and try it later. Thanks.

@marcingrzejszczak I have tried generating a new rsa key, and added it by ssh-agent and in Github settings, Git protocol did not work under my Windows. For me, it is luckily Https works


How to fix this warning within a Loop?

Description
I have a method where I am creating a Fragment and I may or may not have any number of extra attributes. I need those to be part of the Fragment and I know there needs to be a sequence number. I have code below and no way I work about it can I get it to work. So I cannot get this ASP0006 warning to go away.
	protected override void OnParametersSet()
	{
		base.OnParametersSet();

		var iconData = Constants.Icons.FirstOrDefault(x => x.Name == Name);
		var totalItems = 0;

		if (iconData is null)
			return;

		Fragment = builder =>
		{
			builder.OpenElement(0, "svg");

			builder.AddAttribute(1, "xmlns", "http://www.w3.org/2000/svg");
			builder.AddAttribute(2, "viewBox", iconData.ViewBox);
			builder.AddAttribute(3, "preserveAspectRatio", "xMidYMid meet");

			if (Attributes != null)
			{
				var keys = Attributes.Keys.ToList();
				totalItems = keys.Count + 4;

				for (int i = 0; i < keys.Count; i++)
				{
					var key = keys[i];
					var value = Attributes[key];

					builder.AddAttribute(4 + i, key, value);
				}
			}

			if (!string.IsNullOrWhiteSpace(Title))
			{
				builder.OpenElement(4 + totalItems, "title");
				builder.AddContent(5 + totalItems, Title);
				builder.CloseElement();
			}

			builder.AddContent(6 + totalItems, new MarkupString(iconData.Path));
			builder.CloseElement();
		};
	}

Page URL
https://learn.microsoft.com/en-us/aspnet/core/diagnostics/asp0006?view=aspnetcore-9.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/diagnostics/asp0006.md
Document ID
d1bbdc46-2e5c-7dad-76cd-d363d0b19520
Article author
@safia

Hello @Grandizer ... Please open this as a support request for the product unit on their repo ...
https://github.com/dotnet/aspnetcore/issues
Please add ...
cc: @guardrex https://github.com/dotnet/AspNetCore.Docs/issues/34273

... to the bottom of your opening comment so that I can follow along. I might re-open this for doc work depending on what they say.


Remove unneeded patch to dbconsole

Dependent on https://github.com/rails/rails/pull/46093
With https://github.com/rails/rails/pull/46093, the dbconsole implementation will consult the adapter to initialize a console to the database. Because TrilogyAdapter inherits from AbstractMysqlAdapter, this logic is already defined and thus requires no further changes outside of removing the original patch.
I'd assume the dbconsole changes make their way into Rails 7.2, so this change should be gated behind the next release where the expectation on active_record's version is bumped to 7.2 as well.
cc: @gmcgibbon

@eileencodes Sounds good, thanks for following up on this PR! Updated this PR to conform to the new names.


ja: Translate /partners/ into Japanese

This is a Feature Request

What would you like to be added
Translate /partners/ into Japanese.
Why is this needed
This page has not been translated.
Comments
/language ja

/close


Unexisting recommended option --add-cpes-if-none ?

Before anything:
I just discovered this tool, thanks a lot for your work !
What happened:
In my first tests I scanned a SBOM that uses purl specifications and not CPEs, and got the following message :
[0000]  WARN some package(s) are missing CPEs. This may result in missing vulnerabilities. You may autogenerate these using: --add-cpes-if-none

So I tried to add it, but the option is not recognized....
$ cat my-sbom.json | xeol --add-cpes-if-none
unknown flag: --add-cpes-if-none

What you expected to happen:
Well, either the option does not exist and you don't recommend to use it, or you implement the option :)
How to reproduce it (as minimally and precisely as possible):
Remove CPEs from a SBOM and run the analysis using cat my-sbom.json | xeol --add-cpes-if-none
Environment:

Output of xeol version:

Application:          xeol
Version:              0.4.6
Syft Version:         v0.83.1
GitCommit:            4453938de9bf10780da6c9244201720ef6b6cf8b
Platform:             linux/amd64
GoVersion:            go1.18.10
Compiler:             gc

OS (e.g: cat /etc/os-release or similar):

PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
VERSION="2023.1"
VERSION_ID="2023.1"
VERSION_CODENAME="kali-rolling"
ID=kali
ID_LIKE=debian
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"
ANSI_COLOR="1;31"

Hi Amael, thanks for the report! This looks like a false warning that's a remnant of the porting most of the codebase from grype.
We match two different things in Xeol, packages derived from Syft, and Distro/OS also generated by syft.

PURLs are used for packages, to match pacakges to EOL software from endoflife.date. [example]
CPEs are used to match OS's (there is no support for "OS" in the PURL spec). [example]

We should actually have some kind of warning that says some package(s) are missing PURLs here, and remove the warning about missing CPEs for now. Potentially xeol supports CPE matching with endoflife.date for packages in the future, but for now there is none.

This confusing warning message has since been removed. We weren't using CPEs in this manner for matching. Closing this issue.

This confusing warning message has since been removed. We weren't using CPEs in this manner for matching. Closing this issue.


Attribute accessor.count doesn't match with number of decoded Draco vertices

Hi experts,
I got the below errors, can anyone help me shed some light on how to fix them?  thanks in advance.
[2023.03.01-01.51.39:255][219]LogCesium: Warning: [2023-03-01 09:51:39.242] [warning] [ErrorList.h:91] Warning when loading http://<IP_ADDRESS>:8020/3DTiles/GaoCheng2.3/Tile_-009_-005/Tile_-009_-005.b3dm:

Attribute accessor.count doesn't match with number of decoded Draco vertices.

Please post questions like this to the community forum. We use GitHub for feature requests and bug reports.
That message indicates that Cesium for Unreal has detected an inconsistency in your tileset that probably indicates a problem with the tileset. You might try running the tileset through a 3D Tiles validator for more details, or report the problem to the developers of the tool that generated the tileset.


Update evaluation README

Resolve #157.

Codecov Report

Merging #158 (d5086ee) into master (bdf1628) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #158   +/-   ##
=======================================
  Coverage   42.30%   42.30%
=======================================
  Files          24       24
  Lines        1794     1794
=======================================
  Hits          759      759
  Misses       1035     1035

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 bdf1628...d5086ee. Read the comment docs.

Codecov Report

Merging #158 (d5086ee) into master (bdf1628) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #158   +/-   ##
=======================================
  Coverage   42.30%   42.30%
=======================================
  Files          24       24
  Lines        1794     1794
=======================================
  Hits          759      759
  Misses       1035     1035

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 bdf1628...d5086ee. Read the comment docs.


Fixed links to pages about Messaging in getting started document

Fixed about #410 . Please review and approve it.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/index.yml
:white_check_mark:Succeeded
View (azure-node-latest) View (azure-node-preview)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


I am seriously mad right now because I CANT FIND THE DAMN BUTTON!

ಠ_ಠ
Do you want the people making this to quit? Because rudely asking questions in the wrong place is how you get developers to quit.
http://www.catb.org/esr/faqs/smart-questions.html


python3.7-apsw fails tests on 20.03

Describe the bug
The tests for python3.7-apsw fails on 20.03. This breaks weechat-matrix for me.
To Reproduce
Steps to reproduce the behavior:

nix-build -A python3Packages.apsw

Additional context
/nix/store/wpr0wiflmp7q738kykaz0nzhcwzzwpai-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/dist.py:476: UserWarning: Normalizing '3.30.1-r1' to '3.30.1.post1'
  normalized_version,
running test
                Python /nix/store/izgnj066l940pn1gy3zg3m2mpp7lh21a-python3-3.7.6/bin/python3.7 sys.version_info(major=3, minor=7, micro=6, releaselevel='final', serial=0)
Testing with APSW file /nix/store/vz0fg0vrfgb2xiqjh9fkwp85p53syi6a-python3.7-apsw-3.30.1-r1/lib/python3.7/site-packages/apsw.cpython-37m-x86_64-linux-gnu.so
          APSW version 3.30.1-r1
    SQLite lib version 3.32.2
SQLite headers version 3032002
    Using amalgamation False
.............................................................F.........................
======================================================================
FAIL: testScalarFunctions (tests.APSW)
Verify scalar functions
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/source/tests.py", line 1325, in testScalarFunctions
    self.assertEqual(c.execute("select deterministic()=deterministic()").fetchall()[0][0], 1)
AssertionError: 0 != 1

----------------------------------------------------------------------
Ran 87 tests in 100.179s

FAILED (failures=1)
builder for '/nix/store/y1f81nk5170gayb3gjmxr95js3yd7bpj-python3.7-apsw-3.30.1-r1.drv' failed with exit code 1

Notify maintainers

No maintainer for package :(
Metadata
release-20.03 @ 20.03-713-gd3bfabe7b5b
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: python3Packages.apsw
# a list of nixos modules affected by the problem
module:

I had a quick look at this. What I found so far:
The issue was discussed on the sqlite forum (https://sqlite.org/forum/forumpost/552e8e236a) and a fix was committed in apsw 16 days ago (https://github.com/rogerbinns/apsw/commit/e19b2f2ac49d5daa7c6e0bde54441d0fa417ec7c#diff-f4bc68ff01eef7bed2f3a64cad7d37ca). The latest release (3.32.2-r1) contains the fix.

Right. That update will land in staging soon (2f72c426e19b07915e706e2c615e07ea72e9d7e4) and then eventually in master. I suppose in this case we could backport it as well.

For me it breaks Calibre on current release.

OK I've pushed db31e48c5c8d99dcaf4e5883a96181f6ac4ad6f6 to release-20.03. It should land in the channel soon.

@FRidh: I was also trying this, I did not know about the fix in python-unstable. I think the apsw version needs to be in sync with sqlite, so w eneed 3.31 or an sqlite version bump.

apsw tests don't fail so I "trust" that it works

@FRidh: I had compile errors (missing symbols) with reverse dependencies of apsw. I'll see if I can reproduce it with current release-20.03.

was looking at this right now since aspw broke buku, I check against staging and master for an aspw update but didn't think of the python-update damn ! aspw 3.32 effectively requires sqlite 3.32 otherwise tests fail.

sqlite is at 3.32.2 on 20.03, security update d68215db6fb2012ad8ff57fac0708a7e1b09100f
Yes, these version bumps are annoying.

I have this same problem with python2.7-apsw:
/nix/store/9w74pnr8vh69324g0xjbwlsgjz2gnrq1-python2.7-setuptools-44.0.0/lib/python2.7/site-packages/setuptools/dist.py:476: UserWarning: Normalizing '3.30.1-r1' to '3.30.1.post1'
  normalized_version,
running test
                Python /nix/store/xrfvivl9jbwjws6p1ahf6ixbhm6zn2x2-python-2.7.18/bin/python2.7 sys.version_info(major=2, minor=7, micro=18, releaselevel='final', serial=0)
Testing with APSW file /nix/store/2xd7bc156fjv44pig9im07jz063i6n4q-python2.7-apsw-3.30.1-r1/lib/python2.7/site-packages/apsw.so
          APSW version 3.30.1-r1
    SQLite lib version 3.32.2
SQLite headers version 3032002
    Using amalgamation False
.............................................................F.........................
======================================================================
FAIL: testScalarFunctions (tests.APSW)
Verify scalar functions
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/source/tests.py", line 1325, in testScalarFunctions
    self.assertEqual(c.execute("select deterministic()=deterministic()").fetchall()[0][0], 1)
AssertionError: 0 != 1

----------------------------------------------------------------------
Ran 87 tests in 118.127s

FAILED (failures=1)
builder for '/nix/store/nlhqm39177wxk9ll6072im7nm3haiv2b-python2.7-apsw-3.30.1-r1.drv' failed with exit code 1
cannot build derivation '/nix/store/w3g8z714bn22461w6rv25mkyr8x3a6zx-calibre-4.8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/05r8kg4pjd921j09d4hgqi2g7s9md6xh-system-path.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/6gg7sjvfl084ai7xq5zhlj8flnz7bz4a-nixos-system-guru-20.03.2141.8b071be7512.drv': 1 dependencies couldn't be built
error: build of '/nix/store/6gg7sjvfl084ai7xq5zhlj8flnz7bz4a-nixos-system-guru-20.03.2141.8b071be7512.drv' failed

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/nixos-fails-to-build-during-update/7652/2


Reduce OSX to 1 worker, make 1 worker = not parallel

This should make the OSX travis logs more clear (and since the parallelism doesn't seem to really help on OSX (possibly even hurts), generally seems better).

Hm. Looks like the whole build output timed out (both on the xcode8 image and xcode7.3 image). I've gotten back in contact with travis support to see if they might be able to help.


RESEARCH: create templates for important research docs

[ ] Thank you email
[ ] Outreach email
[ ] Research plan
[ ] Research notes
[ ] Guide to looking for users/outreach (metabase and Okta)

Update
@vz3

created template for research notes
created Research template folder in V2

Action items


Add optional onSuggestionFocused prop

Resolves #168
Added onSuggestionFocused prop (optional).
The function signature looks like the following:
function onSuggestionFocused({ suggestion })

The function gets called every time focused suggestion changes.
When unfocused, the function will be called with { suggestion: null }.

👍

@kenny-hibino Sorry for the delayed response.
Could you please rename "focused" to "highlighted". We moved to use the term "highlighted" across the repo to avoid the confusion with html focus.
onSuggestionFocused => onSuggestionHighlighted
hasFocusedSuggestionChanged => hasHighlightedSuggestionChanged

etc...

Also, could you please rebase on master?

@moroshko Thank you for the response!
I rebased the feature branch on master, and renamed the prop to onSuggestionHighlighted 👍
Please let me know if there's any other changes you want me to make.

onSuggestionHighlighted is available in v9.3.0 now.

@kenny-hibino Thanks a lot for your contribution!


Stagehand 4.0.0 release paperwork

Given we changes these to null safety, I don't think we should do this before the next stable release?

Yup, I'm happy to hold this PR until the next stable release.

@mit-mit can we land this change now?

Yup!

@domesticmouse doesn't look like this was published?

Whoops. Published now.


[ZEPPELIN-3715] Fix text & titile passing in NotebookRestApi.runParagraph

What is this PR for?
All paragraphs processing as blank, because text string is empty.
@POST
@Path("job/{noteId}/{paragraphId}")
@ZeppelinApi
public Response runParagraph(@PathParam("noteId") String noteId,
@PathParam("paragraphId") String paragraphId, String message)
throws IOException, IllegalArgumentException {

...

notebookService.runParagraph(
    noteId, paragraphId, "", "", params,
    new HashMap<String, Object>(), false, getServiceContext(), new RestServiceCallback<>());
return new JsonResponse<>(Status.OK).build();
}

What type of PR is it?
Bug Fix
What is the Jira issue?

issue

How should this be tested?

CI pass
Test updated

Questions:

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

CI pass: https://travis-ci.org/TinkoffCreditSystems/zeppelin/builds/422448244

@zjffdu Seems that this PR can be merged, look, please


⚠ ClamAV has degraded performance

In c06600a, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 67 ms

Resolved: ClamAV performance has improved in 4e5be9f.


UI works fine in the editor but, is corrupted when deployed to the HoloLens

Overview
I am in the process of creating a UI system for my application and the UI looks great in the editor but, whenever I deploy to the HoloLens the UI always renders pink. I am really trying to instantiate the UI at runtime and thinking that it might be some type of error on my part so I placed it directly in the hierarchy instead and it still renders pink on the HoloLens.
I ported this UI from an older version of Unity(2017.1) and removed all the scripts associated with it and only kept the image scripts for it. Does anyone know why this would happen?
I also added a new Panel and changed the canvas to world space and it rendered pink for it as well when deployed to the HoloLens.
Expected Behavior
UI to render normally
Actual Behavior
UI renders pink/corrupted
Unity Editor Version
Unity 2017.3
Mixed Reality Toolkit Release Version
latest

Closing issues older than 180 days. If this is still an issue, please reactivate with recent information.


show absent orthologs in detailed plot

detailed plot does not show absent orthologs when input data doesn't have any value for var1 and var2

order in detailed plot is incorrect!!


Price not displayed on any service details page

Price is not displayed on any service details page. Also we display Credits which should be removed

A fix was required in the Pricing startegy. Its fixed along with the purchase flow changes. https://github.com/Vivek205/refactored-dapp/pull/83. Will be closed once that is done


Terragrunt creating a main.tf file in cache that includes two modules.

I'm having a really strange issue with terragrunt. When I run an apply, I notice that terragrunt is combining two of my modules into one main.tf file causing resource conflicts...
My modules exist in a separate repo in this hierarchy:
|
|__services
            |__lambda
                     |__signal
                     |__sdata

When applying against the sdata module, it runs no problem but when I run against signal it seems to also take the sdata module into account.. Any idea whats happening here?

My apologies.. This was a user error...


set Brightness issue when using alongside show Icon

LED brightness remains at a dimmed level despite declaring the level in the program. This occurs when using a combination of the basic.showIcon and plot.LED functions. I have tried a variety of blocks to reproduce and results are the same.
The LEDs seem to be dimmer than 100.

This occurs in the simulator and on the hardware and maybe related to https://github.com/Microsoft/pxt/issues/3196

Our image parser needs to emit 0xff values for on pixels instead of 0x01. Otherwise this happens when switching to grey scale mode.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Mark<EMAIL_ADDRESS>Sent: Thursday, November 30, 2017 7:05:23 AM
To: Microsoft/pxt
Cc: Subscribed
Subject: [Microsoft/pxt] set Brightness issue when using alongside show Icon (#3530)
LED brightness remains at a dimmed level despite declaring the level in the program. This occurs when using a combination of the basic.showIcon and plot.LED functions. I have tried a variety of blocks to reproduce and results are the same.
The LEDs seem to be dimmer than 100.
[kapture 2017-11-30 at 14 47 42]https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F31242877%2F33437390-af55b966-d5df-11e7-99ca-71c7681cdff6.gif&data=02|01|jhalleux%40microsoft.com|f656bb6a3e904065b5a908d53803c8f6|72f988bf86f141af91ab2d7cd011db47|1|0|636476511272583364&sdata=ePKIY8bzy7ppM2BSZq4ZAQ%2BEfKm7FHkMeV9yIh6n55M%3D&reserved=0
[screen shot 2017-11-30 at 14 44 28]https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F31242877%2F33437395-b1c168b2-d5df-11e7-9d29-5e7fb45a719c.png&data=02|01|jhalleux%40microsoft.com|f656bb6a3e904065b5a908d53803c8f6|72f988bf86f141af91ab2d7cd011db47|1|0|636476511272583364&sdata=rR2lAa%2BEJqr2uyNT%2FSu3lsJzj9d50%2BaX3RkBtHyO8HM%3D&reserved=0
[screen shot 2017-11-30 at 14 43 56]https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F31242877%2F33437396-b1ed1e62-d5df-11e7-85d6-31b7b69c33d0.png&data=02|01|jhalleux%40microsoft.com|f656bb6a3e904065b5a908d53803c8f6|72f988bf86f141af91ab2d7cd011db47|1|0|636476511272583364&sdata=kmEGcCrFLKSXZ8TFStCoqWUR06pVvwNqEjrXdqIfJDg%3D&reserved=0
[screen shot 2017-11-30 at 14 42 34]https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F31242877%2F33437397-b2068b0e-d5df-11e7-9f7c-07449f2e021a.png&data=02|01|jhalleux%40microsoft.com|f656bb6a3e904065b5a908d53803c8f6|72f988bf86f141af91ab2d7cd011db47|1|0|636476511272583364&sdata=Z1ehYGqXpofA%2FvNXZOmDhH3a2YViEm%2FW5G8yB0nE9H4%3D&reserved=0
This occurs in the simulator and on the hardware and maybe related to #3196https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fpxt%2Fissues%2F3196&data=02|01|jhalleux%40microsoft.com|f656bb6a3e904065b5a908d53803c8f6|72f988bf86f141af91ab2d7cd011db47|1|0|636476511272583364&sdata=5GTDuN8Ra8przUSKGIoFMKEUTZG267ZycfDV%2FmmxP5E%3D&reserved=0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fpxt%2Fissues%2F3530&data=02|01|jhalleux%40microsoft.com|f656bb6a3e904065b5a908d53803c8f6|72f988bf86f141af91ab2d7cd011db47|1|0|636476511272583364&sdata=kfZ3ZXUTT%2FpdmqtbZ93r92CvOxbmcTEiPYb1KCexREk%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD-4KUqvxHD5Vff-YTNzamARgEE2AwdCks5s7sQzgaJpZM4QwsWU&data=02|01|jhalleux%40microsoft.com|f656bb6a3e904065b5a908d53803c8f6|72f988bf86f141af91ab2d7cd011db47|1|0|636476511272583364&sdata=SnisYiQrysN6vsFKu20JSXHBmIJp2S1%2Fk2xVWcJuDIM%3D&reserved=0.

This has been reported by another user too.

I just ran into what I think is the same bug. It behaves correct on the simulator (firefox) but not on the hardware. Very weird bug to run into.

Even setting a pixel to brightness 255 does not provide a workaround this bug:

Re opened here https://github.com/Microsoft/pxt-microbit/issues/628


Looking forward to get involved and contribute to the community 🎉

First Name
Sangy
Last Name
K
Discord Username (if applicable)
SangyK#6465
Let us understand your motive.
I am Joining for 2 things
To Help and
To Get Help.

Hey @sansk 👋🏻
Thanks for requesting an invite! Welcome to SidHacks Community 🎉
Before going ahead, I would want you to complete the below To-Do list.
Your To-Do List ✔

Accept the invitation sent to you via mail.
Change the appearance of this organization to "Public" from the people list here.
Join our Discord Server here.

Accept the Rules from #📓〡rules channel.
Introduce yourself to our community in 👋〡introduction channel.

Feel free to share your excitement on socials with #SidHacksCommunity. You can also tag me @siddharth_hacks.

Close this issue once you complete all the above points.

Looking forward to interacting with you in our community! Welcome once again! 🤓

Done


Workload logs "view logs" are empty

What kind of request is this (question/bug/enhancement/feature request):
BUG
Steps to reproduce (least amount of steps as possible):
Create a cluster
Create a workload in default namespace (for example nginx image)
Wait for green
Click "View logs"
Result:
It stays empty

Other details that may be helpful:
Rancher 2.1.7
Cluster @ Hetzner
Ubuntu 16
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
Installation option (single install/HA):

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported):

Bare metal

Machine type (metal) and specifications (CPU/memory): 4GB
Kubernetes version (use kubectl version):

> kubectl version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.5", GitCommit:"32ac1c9073b132b8ba18aa830f46b77dcceb0723", GitTreeState:"clean", BuildDate:"2018-06-21T11:46:00Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.4", GitCommit:"c27b913fddd1a6c480c229191a087698aa92f0b1", GitTreeState:"clean", BuildDate:"2019-02-28T13:30:26Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}

Docker version (use docker version):

Client:
 Version:      1.10.3
 API version:  1.24
 Go version:   go1.5.3
 Git commit:   20f81dd
 Built:        Thu Mar 10 21:49:11 2016
 OS/Arch:      linux/amd64
Cannot connect to the Docker daemon. Is the docker daemon running on this host?

nginx doesn't log anything by default, see docker run nginx. If it's happening with all containers, please share if docker logs on the command line does output anything and docker info from the node(s) in the cluster.

thank you! you were right (of course) :-)

Filed https://github.com/rancher/rancher/issues/18722 to see if we can notify user when logs are empty


May 30, 2022 ... Less Secure App Access Disabled

Hi,
In the past I have used my own code to send gmail from within Python using smtplib. Recently, this stopped working and
I discovered that Google doesn't like apps that sign in using just user/pass ... they now prefer 2-factor authentication. This
is not possible for my application but they did allow "Less Secure App Access" to be enabled. Now, however, Google is
dropping support for this on May 30, 2022. At that time, my app will stop  working again.
Does/Will gmail-connector handle this problem? TIA.

Unfortunately not. Since gmail-connector depends on google's smtp host, the authentication is handled by google itself.
However to avoid using "Less Secure App Access" you can generate app specific passwords at https://myaccount.google.com/intro/security OR https://myaccount.google.com/apppasswords
I have been using app specific passwords and it works as it should. It still requires an MFA configuration but the password will be a token generated by google and doesn't actually require two step verification when you use it in the code.

Closing as stale


operation system package don't work

I run cat before_parlay.json | ./parlay ecosystems enrich -
on:
{
  "bomFormat": "CycloneDX",
  "specVersion": "1.3",
  "serialNumber": "1",
  "version": 1,
  "metadata": {
    "timestamp": "1496244605"
  },
  "component": {
    "name": "api",
    "type": "application"
  },
  "components": [
    {
      "type": "library",
      "name": "musl",
      "version": "1.2.3-r3",
      "purl": "pkg:apk/alpine/musl@1.2.3-r3?arch=x86_64"
    }
  ]
}

and the result is not enriched.
Here is the ecosyste.ms link

I think this fix may apply here, related to a bug in mapping the alpine purls to the backend data.

This commit should fix this issue https://github.com/snyk/parlay/pull/40

Closing this since a fix for apk was merged and released some time ago. If the issue still persists, please let us know and we can re-open this.


TCP on HTTP port fallthrough missing mixer filter

See https://github.com/istio/istio/pull/22707#issuecomment-609086454
@nrjpoddar @jacob-delgado

@nrjpoddar are we still planning work here?

Obsolete, mixer is gone


S3 actor parameter limits documentation

What are valid values for the key.access and key.secret?

large / small letters
alphanumeric / complete character set / space
minimum and maximum length

Do check this in the Actor and what error message will return?
Please update documentation:
https://github.com/Jumpscale/ays_jumpscale8/blob/master/templates/app/s3/REAME.md

Those values are set on the data model after successfull installation of s3

The value can also be set before creation, so not just after successful installation
Question is, what are the allowed values, independent of when they are set
And do we check/validate them when setting the values through the Actor?

12 characters from all letters + numbers from 0 to 9
https://github.com/Jumpscale/ays_jumpscale8/blob/master/templates/app/scality/actions.py#L33
And no, no validation for that.


Generate formatted JS code as well as JSON

I have no idea if you'd be interested in work to also format output suitable for code generation, meaning mostly JSON without quoting property names unnecessarily.
If so, I will see if I can find time to create a PR for such.
The idea is to generate something like this:
    const myConfig = {
        SimpleArray: [
              2,   3,   5,   7,  11,  13,  17,  19,  23,  29,  31,  37,  41,  43,  47,  53,
             59,  61,  67,  71,  73,  79,  83,  89,  97, 101, 103, 107, 109, 113
        ],
        ObjectColumnsArrayRows: {
            Katherine: [ "blue"      , "lightblue", "black"        ],
            Logan    : [ "yellow"    , "blue"     , "black", "red" ],
            Erik     : [ "red"       , "purple"                    ],
            Jean     : [ "lightgreen", "yellow"   , "black"        ]
        },
        ArrayColumnsObjectRows: [
            { type: "turret"   , hp: 400, loc: {x: 47, y: -4} , flags: "S"   },
            { type: "assassin" , hp:  80, loc: {x: 12, y: 6}  , flags: "Q"   },
            { type: "berserker", hp: 150, loc: {x: 0,  y: 0}                 },
            { type: "pittrap"  ,          loc: {x: 10, y: -14}, flags: "S,I" }
        ],
        ComplexArray: [
            [ 19,  2 ],
            [  3,  8 ],
            [ 14,  0 ],
            [  9,  9 ],
            [  9,  9 ],
            [  0,  3 ],
            [ 10,  1 ],
            [  9,  1 ],
            [  9,  2 ],
            [  6, 13 ],
            [ 18,  5 ],
            [  4, 11 ],
            [ 12,  2 ]
        ],
        "Of course some props will still": "need to be quoted"
    }

I'm doing a bit of code generation now and I would love to have cleaner output than I sometimes get with the code formatters.  This looks like it would do the job well.
If you're interested, let me know.  Any hints about where to start in the code would help.  (I haven't looked at all yet; maybe it will be obvious.)

I'm interested to see what you come up with.  If I'm understanding you right, you're interested in creating code-like output, but not as concerned about handling code as input.  Is that right?
Starting from native JavaScript objects/arrays/strings/etc. and outputting as code like you've shown above is probably doable, although it might require a bunch more settings.
Parsing the input from code, on the other hand, is a lot more complicated.  That would require a rewrite hooking in to some parser.  Coming up with policies on how to handle comments, existing line breaks, single and double quotes, etc., would get complicated.

Regarding where to start: the first challenge, I would think, is deciding when to quote property names.  I think that's all handled in the beginning of the formatObject method.
    private formatObject(depth: number, element: object): FormattedNode {
        // Recursively format all of this object's property values.
        const items: FormattedNode[] = [];
        for (const childKvp of Object.entries(element)) {
            const elem = this.formatElement(depth+1, childKvp[1]);
            elem.Name = JSON.stringify(childKvp[0]);
            elem.NameLength = this._stringWidthFunc(elem.Name);
            items.push(elem);
        }

In the code above (if I'm remembering right), elem.Name is the property name, including quotes.  So instead of a straight stringify call, you might replace it with something like:
elem.Name = this.decidePropertyNameFormat(childKvp[0]);

I haven't thought through what other challenges you'll face, but I'm happy to work with you on them.

I have suddenly found myself in a time crunch on several projects, but when I have a little time, I will look at this.  Yes, I am only considering output formatting so far.  That's the use-case that would interest me.  I will look at your suggestions when I can -- I'm hoping in just a few days.

Yeah, probably a good call.  While I'd love to get back to this, it's not happening soon.


Add proper pydoc

Add complete documentation/docstrings

48cf02d7253836d5f58eab1a9a50cf6d2bb7e344

Added rst doc: 56a30e5a00b2b493fdb6bb987a99a94ca52f2ad3
Uploaded html-generated pages: https://yakmm.github.io/POG-bot/


Assignment 1 Riccardo Dal Mas

Introduction
Hi all, my name is Riccardo Dal Mas and I'm a PhD student at TNW/Chemical Engineering. I work with CO2 and sustainability!
Describe your research in 2-3 sentences to someone that is not from your field (please avoid abbreviations)
My research focuses on the development of system analyses for processes using CO2 and renewable electricity to produce chemicals and fuels! CO2 could become a relevant raw material in the process industry if coupled with low-carbon power sources, substituting fossil hydrocarbons in relevant supply chains.
My research entails the following aspects:

Research Aspect
Answer

Use/collect personal data (health data, interviews, surveys)
No

Use/collect experimental data (lab experiments, measurements with instruments)
No

Collaborate with industry
No

Write/develop software as the main output of the project
No

Use code (as in programming) for data analysis
Yes

Work with large data (images, simulation models)
Yes

Other:
N/A

Reflections on the importance of RDM videos

I think that RDM is very important to ensure traceability of the sources of the data I use for the simulations, both with respect to the input values (where do they come from, etc.) and the output (what are they the result of, etc.). Even though I don't have personal horror stories as such, I have experienced the importance of properly documenting calculation and analysis for large project which come to a stop but might be restarted at some point in the future.
What would you like to learn during this course?

Develop a structured mindset with respect to RDM, which allows me to always implement best practices when dealing with data.
Checklist assignments

[x] Assignment 1: creating a GitHub issue (before 12 September, 10:00)
[x] Respond to the GitHub issue #65
[x] Assignment 2: Data Flow Map 1 (share a link in this issue before 20 September 13:00). Link:
Riccardo - RDM101_Assignment1_Week1_DataFlowMap_v01.pptx
[x] Provide feedback to at least one Assignment 2 from another participant
[x] Respond to the GitHub discussion #66
[x] Respond to the GitHub discussion #67
[x] Assignment 3: Data Flow Map 2 (share a link in this issue before 4 October 13:00). Link:
Riccardo - RDM101_Assignment2_Week2_DataFlowMap_Template.pptx
[x] Provide feedback to at least one Assignment 3 from another participant
[x] Assignment 4: Data Management Plan (before 11 October, 13:00 )
[ ] Respond to the GitHub discussion #68 if you have any questions (optional)
[x] Assignment 5: Data Flow Map 3: submit your slide (before 17 October, 17:00). Link: Riccardo - RDM101_Assignment3.pptx

Hey, here is my [Assignment 2: Data Flow Map 1](Riccardo - RDM101_Assignment1_Week1_DataFlowMap.pptx)
Cheers,
Riccardo

Hi Riccardo,
Feedback on your Assignment 2: It feels like some datasets are missing. For example, will you be writing documentation for the analysis code? Also, will you be creating figures, charts, data visualizations of any kind? How will you store your simulation parameters?
Other than that, it looks good.

Hello Pjieter,
thank you for your valuable feedback! You raise some good points, which I had missed.
I have added a couple of items to my overview, in particular with respect to the figures and the documentation of the simulations. The simulation parameters will be stored in Excel files (under 'Input/output management').
Here is the updated overview:
Riccardo - RDM101_Assignment1_Week1_DataFlowMap_v01.pptx
Cheers,
Riccardo

Thanks for the feedback @Pjieter and for updating your assignment @RiccardoDalMas! Well done on the assignment: it looks very clear and now also comprehensive.
I think from our email conversation you also changed your storage strategy to storing things on OneDrive and then backing them up to the Project Drive. This is better than storing it locally on your laptop as that local space is not automatically backed up, whereas the other two options are.
I don't see any red flags - which should hopefully make your research life easier :) I'm just wondering whether it will be easy for you to collect the data from others (in the input/output management): is this easy to find and is it organised in a manner that is helpful to you?

Thanks for the feedback @Pjieter and for updating your assignment @RiccardoDalMas! Well done on the assignment: it looks very clear and now also comprehensive.
I think from our email conversation you also changed your storage strategy to storing things on OneDrive and then backing them up to the Project Drive. This is better than storing it locally on your laptop as that local space is not automatically backed up, whereas the other two options are.
I don't see any red flags - which should hopefully make your research life easier :) I'm just wondering whether it will be easy for you to collect the data from others (in the input/output management): is this easy to find and is it organised in a manner that is helpful to you?

Hi @EstherPlomp,
thank you for the feedback!
In theory I would need to get some experimental data from some other researchers, but the data should not be very extensive (only some key performance indicators for their setups). I don't know at the moment how it is organised, but hopefully it should be manageable for me!

Thanks for sharing assignment 3 @RiccardoDalMas! It looks very clear, well done!
Data organisation

Great file naming! Do take care that they also don't get too long.

Metadata

The Python version and libraries/dependencies you used for your scripts are also metadata that are important to document!

File Format

Indeed, sometimes it is not possible to convert files. As long as the software is broadly/commonly used this should not be a problem.

Data Publication

Before your defense, at least the data/code underlying the chapters of your dissertation should be made available on a data repository. That may indeed not be all of the data/code that you have generated.
I did not see your preference for the license in this assignment, but you indicated that in the license thread #66

Hi Riccardo,
Thank you for sharing assignment 3. One question relevant to your data publication -  for the simulation results, will you make the original file (e.g., Aspen Plus .bkp file) open or just share the flowsheet and the parameters for the process?
Thank you!
Qing


Editor

Urls

List projects
/users/:username/projects

New project
/users/:username/projects/new

View project
/users/:username/projects/view/:project_name

Edit project
/users/:username/projects/edit/:project_name

Fork
Action: POST projects.fork <project-id>
Edit others:

Fork project X /users/:username_A/projects/X
Open /users/:username_B/projects/edit/X

Preview
This will stream the content from Amazon S3 (download and serve in the browser after security checks).
/users/:username/projects/preview/:project_name/<file-path>: Amazon S3 bucket --> client (e.g. browser)
/users/:username/projects/preview/:project_name/index.html
/users/:username/projects/preview/:project_name/about.html
Two buttons: show code/project

Paths

Local paths, given the structure of the urls

 About

 About

Models
Project

belongs to User
name (Unique)
description
files (?) --> Amazon S3
is_forked (Boolean)

Save vs Commit

Save the file(s)
Commit (Publish & Sync to GitHub)

Commit

Create the repo in the Purdue organization account (if it doesn't exit)
phase.username.projectname

Override all the files that were changed and commit

Questions

How do we edit multiple files at once (one commit)?
Stream the content from AmazonS3 to GitHub? (Instead of base64 string?)

Listing S3 objects: https://stackoverflow.com/a/30748625

IH-Project-2017-${username}_${project-name}


Unify Azure SDK configurations setup in all Azure Spring starters.

Refactor AzureProperties to conbine all azure SDK configuration properties in azure-core Configuration.class.
Configure Spring properties from AzureProperties and then build respective client for different service.

Close this issue and use #21972 to track it.


Drafting: Darwin core

A page linked from the menu describing what Darwin Core (standards in general?) is.
Blocked by #82

Should we be publishing the new pages, or simply adding content?
http://www.gbif.org/publishing/darwin-core
And should we start creating pages for any of these items that are translated? The text of this page, for instance, is available in French, Spanish and Portuguese.

Note to self and @dnoesgaard : probably should add a brief intro here that references Biocase, Tapir and any other standard currently in use, without additional comment (esp. if we can link to something else)

@burkeker @MortenHofft, when @dnoesgaard and I add content to the stubs listed as portal16 issues, do you want us to publish them? Just checking…

Better check with Burke but I would assume not. It will show up anyhow. See http://demo.gbif.org/generic/publishing/darwin-core for example

Add literature reference/citation to Darwin Core: An Evolving Community-Developed Biodiversity Data Standard

Page needs graphics for visual relief/impact, but content is live.


Invite Yarik to create a codespell action

@yarikoptic Want to run your magic script?

This action is currently breaking the the automated build, it seems to be thinking that a last name (Bui) is a misspelling. I'm going to turn it off for now until there is a way to fix this since I need to build.

I would just whitelist in https://github.com/poldracklab/poldracklab.github.io/blob/main/.codespellrc#L6
Not if words in the last entry, come separated and lower case. If regex - python regex

thanks!  fixed in 4f6fd2c


Made it possible to run the mod serverside only

added acceptableRemoteVersions="*" to @Mod annotation to allow clients to connect to servers using this mod.
This makes the mod great to extend modpacks without having the others to add this mod.
Allthough they won't see the output item in the crafting gui they can click into the empty slot to pull the item out or they install the mod on their client to fix that.

Thank you! Will be in the next patch, whenever that happens.

Nice! Thank you.