[SEVERE] build_web_compilers|ddc on package:angular_components/material_tab/material_tab.template.module (cached): Error compiling dartdevc module:angular_components|lib/material_tab/material_tab.template.ddc.js

Dart SDK Version (--version: 2.0.0)
Windows 10
Chrome

AnalysisException: Cannot compute LIBRARY_ELEMENT for C:\Users....\AppData\Local\Temp\scratch_spaceed25b7ba-9ad6-11e8-a5ac-18dbf251ebdc\packages\angular_components\material_tab\material_tab.template.dart
Caused by Unexpected exception while performing BuildDirectiveElementsTask for source C:\Users.....\AppData\Local\Temp\scratch_spaceed25b7ba-9ad6-11e8-a5ac-18dbf251ebdc\packages\angular_components\material_tab\material_tab.template.dart
#0      AnalysisTask._safelyPerform (package:analyzer/src/task/api/model.dart:335:7)
#1      AnalysisTask.perform (package:analyzer/src/task/api/model.dart:222:7)
#2      AnalysisDriver.performWorkItem (package:analyzer/src/task/driver.dart:285:10)
#3      AnalysisDriver.computeResult (package:analyzer/src/task/driver.dart:110:22)
#4      AnalysisContextImpl.computeResult (package:analyzer/src/context/context.dart:721:14)
#5      AnalysisContextImpl.computeLibraryElement (package:analyzer/src/context/context.dart:689:12)
#6      ModuleCompiler.compile (package:dev_compiler/src/analyzer/module_compiler.dart:166:38)
#7      _compile (package:dev_compiler/src/analyzer/command.dart:185:25)
#8      compile (package:dev_compiler/src/analyzer/command.dart:57:5)
#9      _CompilerWorker.performRequest (file:///E:/b/build/slave/dart-sdk-windows-stable/build/sdk/pkg/dev_compiler/bin/dartdevc.dart:43:20)

#10     AsyncWorkerLoop.run. (package:bazel_worker/src/worker/async_worker_loop.dart:33:41)
#11     _rootRun (dart:async/zone.dart:1124:13)
#12     _CustomZone.run (dart:async/zone.dart:1021:19)
#13     _runZoned (dart:async/zone.dart:1516:10)
#14     runZoned (dart:async/zone.dart:1463:12)
#15     AsyncWorkerLoop.run (package:bazel_worker/src/worker/async_worker_loop.dart:33:26)

#16     main (file:///E:/b/build/slave/dart-sdk-windows-stable/build/sdk/pkg/dev_compiler/bin/dartdevc.dart:23:64)

#17     _startIsolate. (dart:isolate/runtime/libisolate_patch.dart:277:32)
#18     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
Caused by RangeError (index): Invalid value: Not in range 0..1, inclusive: 2
#0      List.[] (dart:core/runtime/libarray.dart:10:52)
#1      _FbGenericList.[] (package:front_end/src/base/flat_buffers.dart:820:20)
#2      _LibraryResynthesizerContext.buildImportedLibrary (package:analyzer/src/summary/resynthesize.dart:828:61)
#3      ImportElementImpl.importedLibrary (package:analyzer/src/dart/element/element.dart:5915:16)
#4      LibraryElementImpl.importedLibraries (package:analyzer/src/dart/element/element.dart:6631:40)
#5      LibraryElementImpl.invalidateLibraryCycles.invalidate (package:analyzer/src/dart/element/element.dart:7012:17)
#6      List.forEach (dart:core/runtime/libarray.dart:79:8)
#7      LibraryElementImpl.invalidateLibraryCycles.invalidate (package:analyzer/src/dart/element/element.dart:7011:35)
#8      List.forEach (dart:core/runtime/libarray.dart:79:8)
#9      LibraryElementImpl.invalidateLibraryCycles.invalidate (package:analyzer/src/dart/element/element.dart:7012:35)
#10     List.forEach (dart:core/runtime/libarray.dart:79:8)
#11     LibraryElementImpl.invalidateLibraryCycles.invalidate (package:analyzer/src/dart/element/element.dart:7012:35)
#12     List.forEach (dart:core/runtime/libarray.dart:79:8)
#13     LibraryElementImpl.invalidateLibraryCycles.invalidate (package:analyzer/src/dart/element/element.dart:7012:35)
#14     List.forEach (dart:core/runtime/libarray.dart:79:8)
#15     LibraryElementImpl.invalidateLibraryCycles.invalidate (package:analyzer/src/dart/element/element.dart:7011:35)
#16     List.forEach (dart:core/runtime/libarray.dart:79:8)
#17     LibraryElementImpl.invalidateLibraryCycles.invalidate (package:analyzer/src/dart/element/element.dart:7012:35)
#18     List.forEach (dart:core/runtime/libarray.dart:79:8)
#19     LibraryElementImpl.invalidateLibraryCycles.invalidate (package:analyzer/src/dart/element/element.dart:7012:35)
#20     List.forEach (dart:core/runtime/libarray.dart:79:8)
#21     LibraryElementImpl.invalidateLibraryCycles.invalidate (package:analyzer/src/dart/element/element.dart:7012:35)
#22     List.forEach (dart:core/runtime/libarray.dart:79:8)
#23     LibraryElementImpl.invalidateLibraryCycles.invalidate (package:analyzer/src/dart/element/element.dart:7011:35)
#24     LibraryElementImpl.invalidateLibraryCycles (package:analyzer/src/dart/element/element.dart:7016:15)
#25     BuildDirectiveElementsTask.internalPerform (package:analyzer/src/task/dart.dart:1220:22)
#26     AnalysisTask._safelyPerform (package:analyzer/src/task/api/model.dart:323:9)
#27     AnalysisTask.perform (package:analyzer/src/task/api/model.dart:222:7)
#28     AnalysisDriver.performWorkItem (package:analyzer/src/task/driver.dart:285:10)
#29     AnalysisDriver.computeResult (package:analyzer/src/task/driver.dart:110:22)
#30     AnalysisContextImpl.computeResult (package:analyzer/src/context/context.dart:721:14)
#31     AnalysisContextImpl.computeLibraryElement (package:analyzer/src/context/context.dart:689:12)
#32     ModuleCompiler.compile (package:dev_compiler/src/analyzer/module_compiler.dart:166:38)
#33     _compile (package:dev_compiler/src/analyzer/command.dart:185:25)
#34     compile (package:dev_compiler/src/analyzer/command.dart:57:5)
#35     _CompilerWorker.performRequest (file:///E:/b/build/slave/dart-sdk-windows-stable/build/sdk/pkg/dev_compiler/bin/dartdevc.dart:43:20)

#36     AsyncWorkerLoop.run. (package:bazel_worker/src/worker/async_worker_loop.dart:33:41)
#37     _rootRun (dart:async/zone.dart:1124:13)
#38     _CustomZone.run (dart:async/zone.dart:1021:19)
#39     _runZoned (dart:async/zone.dart:1516:10)
#40     runZoned (dart:async/zone.dart:1463:12)
#41     AsyncWorkerLoop.run (package:bazel_worker/src/worker/async_worker_loop.dart:33:26)

#42     main (file:///E:/b/build/slave/dart-sdk-windows-stable/build/sdk/pkg/dev_compiler/bin/dartdevc.dart:23:64)

#43     _startIsolate. (dart:isolate/runtime/libisolate_patch.dart:277:32)
#44     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
#0      AnalysisContextImpl.computeResult (package:analyzer/src/context/context.dart:726:7)
#1      AnalysisContextImpl.computeLibraryElement (package:analyzer/src/context/context.dart:689:12)
#2      ModuleCompiler.compile (package:dev_compiler/src/analyzer/module_compiler.dart:166:38)
#3      _compile (package:dev_compiler/src/analyzer/command.dart:185:25)
#4      compile (package:dev_compiler/src/analyzer/command.dart:57:5)
#5      _CompilerWorker.performRequest (file:///E:/b/build/slave/dart-sdk-windows-stable/build/sdk/pkg/dev_compiler/bin/dartdevc.dart:43:20)

#6      AsyncWorkerLoop.run. (package:bazel_worker/src/worker/async_worker_loop.dart:33:41)
#7      _rootRun (dart:async/zone.dart:1124:13)
#8      _CustomZone.run (dart:async/zone.dart:1021:19)
#9      _runZoned (dart:async/zone.dart:1516:10)
#10     runZoned (dart:async/zone.dart:1463:12)
#11     AsyncWorkerLoop.run (package:bazel_worker/src/worker/async_worker_loop.dart:33:26)

#12     main (file:///E:/b/build/slave/dart-sdk-windows-stable/build/sdk/pkg/dev_compiler/bin/dartdevc.dart:23:64)

#13     _startIsolate. (dart:isolate/runtime/libisolate_patch.dart:277:32)
#14     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)

Is it really an issue? For general questions consider starting with Stack
Overflow:
https://stackoverflow.com/questions/tagged/dart
Also consider our Gitter channel for light-weight/quick discussions:
https://gitter.im/dart-lang/sdk

Not sure if the underlying bug is in the way build_web_compilers is invoking DDC... but we probably want to start with finding why we're getting a stack trace.

What I did to solve this issue
I deleted the scratch_space...on the Temp folder.
It created multiple folders then, when I clear it then tried webdev serve
it builds
On Sat, Aug 11, 2018, 7:55 AM Nate Bosch<EMAIL_ADDRESS>wrote:

Not sure if the underlying bug is in the way build_web_compilers is
invoking DDC... but we probably want to start with finding why we're
getting a stack trace.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/sdk/issues/34094#issuecomment-412234221,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVEZg9LWYBcL_m8oVfvdjdIuFxHpJ4MKks5uPh1pgaJpZM4VzY9i
.

then I add dependency scratch space package...I dont know if its part of
the solution..
On Sat, Aug 11, 2018, 8:05 AM Florence Arnold Suller, <
<EMAIL_ADDRESS>wrote:

What I did to solve this issue
I deleted the scratch_space...on the Temp folder.
It created multiple folders then, when I clear it then tried webdev serve
it builds
On Sat, Aug 11, 2018, 7:55 AM Nate Bosch<EMAIL_ADDRESS>wrote:

Not sure if the underlying bug is in the way build_web_compilers is
invoking DDC... but we probably want to start with finding why we're
getting a stack trace.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/sdk/issues/34094#issuecomment-412234221,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVEZg9LWYBcL_m8oVfvdjdIuFxHpJ4MKks5uPh1pgaJpZM4VzY9i
.

We think this is obsolete.


[Bug] Scatter has poor redraw with large number of Points

Version
5.4.0
Link to Minimal Reproduction
https://codesandbox.io/s/elegant-browser-4bo1ib?file=/App.tsx
Steps to Reproduce

Create a scatter type chart with many data points (greater than 3000)
Make the points change over x-axis (timescale)

Current Behavior
You will see a "banding" effect to the right side of the chart as it doesn't complete the redraw of all the dots before starting the next redraw.
Expected Behavior
The chart should redraw nicely.
This effect is not noticeable with less points or changing the chart type to effectScatter.
Environment
- OS: macOS Monterey v12.6
- Browser: Chrome version 105 (latest) & Safari v16 (latest)
- Framework: Both using echarts-for-react (and directly)
- Hardware: high spec'ed laptop (Apple M1 MBP - 32GB RAM)

Any additional comments?
Attached to videos to easily see the difference better scatter and effectScatter.
https://user-images.githubusercontent.com/27637/194832342-0e6e3195-5345-42fe-8ef2-42455980efbf.mov
https://user-images.githubusercontent.com/27637/194832355-7d47fa06-6339-4041-9d0d-00e4808a2a0b.mov

This is because when data amount is large, ECharts use progressive rendering. You can set progressiveThreshold: 10000, to be a large number to disable it.

@Ovilia Thank you for the quick reply... is there an explanation [you can link to] that details what "progressive rendering" means in an ECharts sense?

Pussy888Pussy888
Joker123 logo
JOKER123
Relax Gaming
RELAX GAMING
Starvegas-sbbth
STAR VEGAS
betway-logo
BETWAY SEXY GAMING
sexy-gaming-logo
SEXY BACCARAT
pg-logo
PG SLOT
gclub
GCLUB
logo-sagaming
SA GAMING
ufabet-logo
UFABET
NOLIMIT CITY
PRAGMATIC PLAY
PRAGMATIC PLAY


Next version bump ~4.27.0

(MEDIUM) - kajabi/sage-lib#1016 - Spacing update in label groups. Verify that the UI is still rendering correct

[ ] Various areas of Super Admin
[ ] Grants / Offer List Item

Individual files with SageLabelGroup:

app/views/super_admin/audit_control_logs/_active_filters.html.erb
app/views/super_admin/audit_control_logs/index.html.erb
app/views/super_admin/koms/site_authorizations/_control_defaults_alert.html.erb
app/views/super_admin/koms/site_authorizations/_status_filter.html.erb
app/views/super_admin/koms/site_authorizations/_site_control_labels.html.erb
app/views/super_admin/audit_risk_logs/_active_filters.html.erb
app/views/super_admin/audit_risk_logs/index.html.erb
app/views/admin/grants/_offer_list_item.html.erb

(LOW) - kajabi/sage-lib#1006 - Adds a new prop to allow for a custom icon color. No effect on existing Kajabi Products work.
(LOW) #1014 - Updates alignment of radio element within Sortable components. Very low usage within the app
(LOW) #1023 -  New icons in sage-lib, columns and handle-2-vertical; no testing in kajabi-products necessary
(N/A) QE already complete. Removing sage-input--error class which could cause visual regressions in kajabi-products. This could cause error styles to not render when input fields have an error. This was QE'd as part of kajabi/kajabi-products#21384
(LOW) #999 Depends on if there's any usage of the Rails or React SageCarousel component. This should be a drop-in replacement. SageIndicator has a new className prop. The new prop shouldn't affect any existing work, as the className prop is optional.

LGTM!


Fixes #13684: delete outdated metrics port assertions

What is the purpose of the change
Fixes #13684
Brief changelog
https://github.com/bitgorust/dubbo/commit/d862f166a1cf659734797266b6699846aad8982b
Outdated methods and fields are deleted as discussed in https://github.com/apache/dubbo/issues/13684

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

Comparison is base (29b0c72) 70.34% compared to head (d862f16) 70.34%.

Additional details and impacted files
@@           Coverage Diff           @@
##              3.2   #13717   +/-   ##
=======================================
  Coverage   70.34%   70.34%
=======================================
  Files        1606     1606
  Lines       70033    70020   -13
  Branches    10104    10102    -2
=======================================
- Hits        49263    49254    -9
+ Misses      16133    16128    -5
- Partials     4637     4638    +1

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

please remove config from dubbo.xsd also

please remove config from dubbo.xsd also

done https://github.com/apache/dubbo/pull/13717/commits/d34de3c7007594fb8b14a02f67f05979d9b30b94


List writing systems supported by a font

So we can check which languages/scripts can be handled by this font.
This is very useful for the font fallback resolution, when we need to find a font that can be used to write a specified text.

I've started digging into this question. It's very complicated, and not easy to get direct access. I've written up some investigations as https://github.com/linebender/skribo/pull/1 and would welcome more input from experts.

This is how Qt works. And similar implementations for other backends.
I've tried to implement this by myself first, but I think that there are too many edge cases of which I'm not aware of.

@RazrFalcon Thanks, I'm mostly using Skia as a reference because I know it meets the needs of the web, but Qt also looks like a good source and I will dig into it. Do you have any information about whether it correctly deals with Han unification on Linux, Windows, and macOS?

Do you have any information about whether it correctly deals with Han unification on Linux, Windows, and macOS?

Sadly, no.


Update feeds.py

to upload feed it was necessary to replace decode with encode at line 173

Can you please share the code you're using to upload a feed, it works for me as is.

@farmaspace Hi, do you mind to share a snippet?


Command palette no longer detects match in middle of multiple words

Does this issue occur when all extensions are disabled?: No, since the command is from an extension.

VS Code Version: 1.63.0
OS Version: MacOS 10.15.7

Steps to Reproduce:

Add an extension with command Convert PHPDoc @var to @param.
Try to run a command with var par.

This used to find the command.  Now it doesn't and I need to use @var @par.

I think this is from 45e8ea48867d67d50b6419c91d91c2d50a3a92f9.

Unfortunately, I need to mark this as by-design.
It worked before entirely on accident. The @ was being treated as a space character, but it's not. It's part of the word @var so it should be included in the search.
There are some other issues open around improving general fuzzy search of commands and filenames that could improve this case, but I would make a change specifically for this since we chose a specific direction. I appreciate you bringing this up. It's very good for us to have this context.

Thanks for the response, @TylerLeonhardt.

When adding a command, is there any way to set an alternative title or a list of keywords that will also bring up the command?

Not at this time. See this:
https://github.com/microsoft/vscode/issues/50836
If you're the extension author you could contribute a new command that does the same thing.

Thank you.
It's a personal extension, so it's not a problem for me to rename the commands.  I just liked seeing the @ symbol in the command, but that's not a big deal.  I may see if I can tackle #50836 at some point.

I got something working for #50836 in #139670.  If it gets merged, it would be useful here too.


Files like "error.cpp" get misinterpreted as errors

The default regex with index 3 is (\W|^)(error|fail|failed|exception)\W, which treats lines containing text such as "error.cpp" since '.' is not a word character.
This can be avoided by using an expression such as (\W|^)(error|fail|failed|exception)[^\w\.]

Thanks!

Fixed in beta 1


Socratic Seminar 18 Reading List (July 2023)

July BitDevs will be on Tuesday 7/18: https://www.meetup.com/boston-bitdevs/events/293840496/
Drop links here for the reading list!

LDK Node
lightningdevkit.org/blog/announcing-ldk-node/

Block stream Jade side channel attack analysis
https://blog.ledger.com/blockstream/

VLS Beta announcment
https://stacker.news/items/200847

Many faces of schnorr
https://eprint.iacr.org/2023/1019

We missed foundation updates last meeting
Foundation Passport v2.1.0: P2TR, BIP-85, Nostr, SeedQR Export & More
https://www.nobsbitcoin.com/foundation-passport-v2-1-0/
Envoy Wallet v1.1.3: Standalone Wallet Functionality, Magic Backups
https://www.nobsbitcoin.com/envoy-v1-1-3/

Lightning as the backbone of decentralized AI models

or, sats as the rate limiter on crawling agents

Examples / Explanations

https://hivemind.vc/ai/
https://docs.lightning.engineering/the-lightning-network/l402
https://twitter.com/roasbeef/status/1677031256134152192

Hackathon through BoltFun

https://bolt.fun/tournaments/ai4all/overview
Ends July 31, anyone interested in joining?

Splicing Phoenix Beta

TL; DR: Splicing changes the game. Phoenix now manages a single dynamic channel, no more 1% fee on inbound liquidity, better predictability and control, trustless swaps. The new fee schedule is detailed here.

https://acinq.co/blog/phoenix-splicing-update
The many faces of Schnorr (FROST & ROAST Threshold Signature Upgrade)
Offer some of the robustness to FROST that ROAST offers, but without its performance issues.

secure and robust without synchrony  assumptions
provides security even with an unlimited  number of signing requests
can be processed concurrently with minimal  latency (like FROST)
achieves optimal resilience.

https://eprint.iacr.org/2023/1019

Mutiny wallet beta release (i.e. first self-custodial browser-based lightning wallet/PWA):
https://blog.mutinywallet.com/mutiny-wallet-open-beta/


Update to latest Meshes version

The API has changed slightly, so fix the code to conform to the new approach.

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (ef7a759) 98.59% compared to head (f8a427d) 97.22%.

Files
Patch %
Lines

src/TimeZoneFinder.jl
85.71%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
- Coverage   98.59%   97.22%   -1.37%
==========================================
  Files           1        1
  Lines          71       72       +1
==========================================
  Hits           70       70
- Misses          1        2       +1

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


Link broken

The link for text "Microsoft Cloud Identity for Enterprise Architects" is broken.
It points to https://go.microsoft.com/fwlink/p/?LinkId=828642 which leads to a 404.

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

ID: 919dff18-2ca8-ded4-7b64-be7b05657dfe
Version Independent ID: d211dc9d-f8a9-1c94-4956-c4fe97cddff3
Content: Azure integration with Office 365
Content Source: Enterprise/azure-integration.md
Service: o365-administration
GitHub Login: @robmazz
Microsoft Alias: robmazz

@sathiathirumal Thank you for pointing this out
I will get this broken link information over to the Enterprise writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@sathiathirumal - Thanks for the feedback, this link has been fixed and updated.


Add CPU mining flag so we can disable CPU mining

PR description
This PR is part of the bountied work PegaSysEng/BountiedWork#20.
This PR introduces a new flag that disables CPU mining for ethash, and instead presents work via getWork or stratum for external miners to provide solutions.

Going to close as I have another PR reprising this commit.


Prevent output channel IBM i from appearing when SQL statement prefix is present

Prevent output channel IBM i from appearing when SQL statement prefix is present.
When I prefix a SQL statement that opens an editor tab the output channel is unnecessary.  I know its simple to press CTRL+J to dismiss the output channels but its tiresome when not needed.
Thanks, Matt

@m-tyler I am not following entirely with this issue.
Any chance you can share steps to recreate?

write SQL statement in a tab with language type of SQL
prefix statement with CSV: or JSON:
run statement with CTRL+R

Got it! Yes, this might be simple enough.


Vertical lines

Some vertical lines can be seen at tile boundaries, I think this has to do with coarsen().

Fixed in v0.1.9.

I can confirm that the vertical lines are now gone. Very nice!


TimberTerm term.get_posts()

Here is the example that shows how to get a term's associated posts:
{% for post in term.get_posts('numberposts=5') %}

Could you tell me, please, for what this term is a variable?

Got it.
$context['timber_categories'] = Timber::get_terms('category');

{% for category in timber_categories %}
  {% for post in category.get_posts() %}
    {{post.title}}
  {% endfor %}
{% endfor %}


IEC integration stops working after few days - shows unavailable on all metrics and error 400 on token

System Health details
System Information

version
core-2024.11.2

installation_type
Home Assistant Supervised

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.12.4

os_name
Linux

os_version
6.1.0-18-arm64

arch
aarch64

timezone
Asia/Jerusalem

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

HACS Data
ok

GitHub API Calls Remaining
5000

Installed Version
2.0.1

Stage
running

Available Repositories
1471

Downloaded Repositories
30

AccuWeather

can_reach_server
ok

remaining_requests
30

Home Assistant Cloud

logged_in
true

subscription_expiration
June 7, 2025 at 03:00

relayer_connected
true

relayer_region
eu-central-1

remote_enabled
true

remote_connected
true

alexa_enabled
false

google_enabled
true

cloud_ice_servers_enabled
true

remote_server
eu-central-1-17.ui.nabu.casa

certificate_status
ready

instance_id
02bf973173a24552bf74e82e68f5cc36

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Debian GNU/Linux 12 (bookworm)

update_channel
stable

supervisor_version
supervisor-2024.11.3

agent_version
1.6.0

docker_version
25.0.3

disk_total
61.3 GB

disk_used
43.2 GB

healthy
true

supported
true

host_connectivity
true

supervisor_connectivity
true

ntp_synchronized
true

virtualization
qemu

supervisor_api
ok

version_api
ok

installed_addons
Terminal & SSH (9.15.0), ESPHome (2024.10.3), Homeway (1.5.6), Let's Encrypt (5.2.3), Duck DNS (1.18.0), NGINX Home Assistant SSL proxy (3.11.1), File editor (5.8.0), Home Assistant Google Drive Backup (0.112.1), Mosquitto broker (6.4.1), Matter Server (6.6.0), Zigbee2MQTT (1.41.0-1), Zigbee2MQTT (1.41.0-1), motionEye (0.21.0), Browserless Chromium (2.23.0), MQTT Explorer (browser-1.0.3), Docker Wyze Bridge (2.10.3), go2rtc (1.9.7)

Dashboards

dashboards
5

resources
21

views
24

mode
storage

Recorder

oldest_recorder_run
November 8, 2024 at 08:30

current_recorder_run
November 17, 2024 at 11:56

estimated_db_size
569.96 MiB

database_engine
sqlite

database_version
3.45.3

Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of any previous issues..

Describe the issue
IEC costume integ stops working after couple of days
integration status: "failed setup, will retry bad request code 400" see picture
restart HA / reload integ does not work
no way to do reconfig steps toget new token w/o removing the integ completely
in logs:
280: 2024-11-18 11:38:38.283 DEBUG (MainThread) [iec_api.commons] HTTP POST: https://iec-ext.okta.com/oauth2/default/v1/token
Line  290: 2024-11-18 11:38:38.813 DEBUG (MainThread) [iec_api.commons] HTTP Content POST: b'client_id=0oaqf6zr7yEcQZqqt2p7&redirect_uri=com.iecrn%3A%2F&refresh_token=70KmVHVZ3IEmb02WltDVcJa-lIGsH05FTFxbTCXoCtw&grant_type=refresh_token&scope=openid+email+profile+offline_access'
Line  292: 2024-11-18 11:38:39.027 DEBUG (MainThread) [iec_api.commons] HTTP POST Response <400>: {"error":"invalid_grant","error_description":"The refresh token is invalid or expired."}
Line  293: 2024-11-18 11:38:39.027 WARNING (MainThread) [iec_api.commons] Failed call: (Code 400): Bad Request
Line

Reproduction steps

it just stops working after a while, reporting the error mentioned
I supply the IEC log files after startup

...
Debug logs
This error originated from a custom integration.

Logger: custom_components.iec.coordinator
Source: helpers/update_coordinator.py:382
integration: Israel Electric Corporation (IEC) (documentation, issues)
First occurred: 11:38:39 (8 occurrences)
Last logged: 11:44:30

Unexpected error fetching Iec data
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 382, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/iec/coordinator.py", line 619, in _async_update_data
    await self.api.load_jwt_token(
  File "/usr/local/lib/python3.12/site-packages/iec_api/iec_client.py", line 763, in load_jwt_token
    if await self.check_token():
       ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/iec_api/iec_client.py", line 796, in check_token
    await self.refresh_token()
  File "/usr/local/lib/python3.12/site-packages/iec_api/iec_client.py", line 804, in refresh_token
    self._token = await login.refresh_token(self._session, self._token)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/iec_api/login.py", line 206, in refresh_token
    response = await commons.send_post_request(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/iec_api/commons.py", line 183, in send_post_request
    parse_error_response(resp, json_resp)
  File "/usr/local/lib/python3.12/site-packages/iec_api/commons.py", line 103, in parse_error_response
    raise IECError(resp.status, resp.reason)
iec_api.models.exceptions.IECError: (Code 400): Bad Request

This error originated from a custom integration.

Logger: iec_api.commons
Source: custom_components/iec/coordinator.py:619
integration: Israel Electric Corporation (IEC) (documentation, issues)
First occurred: 11:38:39 (8 occurrences)
Last logged: 11:44:30

Failed call: (Code 400): Bad Request

Diagnostics dump
No response

For some reason, looks like the token is expired. Try to remove and add again (generate new token)

Also get a failure during integration startup. In my case the error is different:
"Failed setup, will retry: object of type "NoneType" has no len()
home-assistant_iec_2024-11-23T16-28-29.359Z.log
Removed the integration and re-in stalled - the same error

@yyy35yyy - you're using an outdated version
As you can see the line: if len(json_resp) > 0 is no longer there
https://github.com/GuyKh/py-iec-api/blob/main/iec_api/commons.py#L93
Please update

I removed and installed and it looks like it does not install the latest version. I install though HACS

You need to click "Update Information" in HACS (for some reason).

Removed IEC restarted HA and installed again and it looks fine now

Hi,
The plugin stopped working for me
I removed it and added it a few times (getting the OTP from the IEC), making sure I have the latest version (0.0.42)
The status of the integration is:

Failed setup, will retry
The log shows:

Logger: iec_api.commons
Source: deps/lib/python3.12/site-packages/iec_api/commons.py:91
First occurred: 6:29:04 PM (1 occurrences)
Last logged: 6:29:04 PM

Failed call: (Code 204): No Content

(enabling degug logging doesn't add any additional logs)
What can I do to get this plugin to work again?

@hros - but why would you open this issue under this ticket?
It has nothing to do with it.

@hros - but why would you open this issue under this ticket?
It has nothing to do with it.

Sorry if I hijacked this issue
I can open a new issue
But, do you have advice on how to solve my issue?

No. Since IEC are changing their APIs

Closing the issue


Invalid security group parameter passed to AWS SDK

On line 138 of  the AbstractBeanstalkMojo class the secuityGroup variable format being passed to the AWS SDK is incorrectly formatted.
      final DescribeSecurityGroupsResult describeSecurityGroupsResult =           ec2.describeSecurityGroups(new DescribeSecurityGroupsRequest().withGroupIds(securityGroup));
The DescribeSecurityGroupsRequest.withGroupIds method excepts a String array or a String Collection however the variable that is passed in is a comma separated String which throws the following error
com.amazonaws.services.ec2.model.AmazonEC2Exception: Invalid id: "sg-0f8c950bc7329a653,sg-06d4615187690e062" (Service: AmazonEC2; Status Code: 400; Error Code: InvalidGroupId.Malformed; Request ID: b8ccb12b-3c3f-4aac-82e9-0da49d2082d4)
The secuirtyGroup variable should be split into a String array before being used.

Added a PR for this issue.


Can't authenticate

When I open iD, it doesn't ask me to login, and when I try to save I get an error 401 (unauthorized)

hum. I just tested it and was able to login and save. Maybe clear the local storage for strava.github.io to reset stuff. Maybe something changed between version updates that's causing issues.
I upgraded iD from 1.8.0 -> 1.8.3 last sunday.

Deleted cookies + local storage from strava.github.io and it works now, thanks!


The copied URL incorrectly displays as one SAS URI for one blob under one SAS attached blob container

Storage Explorer Version: 1.17.0
Build Number: 20210218.1
Branch: main
Platform/OS: Windows 10/ Linux Ubuntu 16.04/ MacOS Catalina
Architecture: ia32/x64
Regression From: Previous release (1.17.0)
Steps to Reproduce

Expand one storage account -> Blob Containers.
Create a blob container -> Upload a blob.
Attach the blob container via SAS.
Open the SAS attached blob container -> Right click the blob -> Click 'Copy URL'.
Paste the URL to one .txt file -> Observe the URL.

Expected Experience
The URL is correct.
Actual Experience
Shows the SAS URI as the URL.
Additional Context

This issue also reproduces for one ADLS Gen2 blob container/ Directory.
This issue also reproduces for blobs under one SAS attached storage account.

Verified this issue on build 20210220.2. Fixed.


Contact 6D computes spatial acceleration, whereas contact 3D Classical acceleration: is one of them wrong ?

Hello,
Thank you and congratulations for your nice work ! :)
I'm currently trying to implement a Contact5D, and I came across this difference when reading Contact3D and Contact6D implementations.
So, I'm wondering why is there a difference in the computed acceleration ?  Are they identical under some assumptions (like contact with a fixed object) ?
Thank you for your help.
P.S.: I'm not certain this is a "bug", but I didn't know where I should post this kind of questions. Please let me know if there is a better place for next time.

Hello, I also found this issue, and I think there is also an issue in the equation for solving da0_local_dx in contact-3d, has anyone else found this problem?
pinocchio::getJointAccelerationDerivatives(       *state_->get_pinocchio().get(), *d->pinocchio, joint, pinocchio::LOCAL,       d->v_partial_dq, d->a_partial_dq, d->a_partial_dv, d->a_partial_da);   const std::size_t nv = state_->get_nv();   pinocchio::skew(d->v.linear(), d->vv_skew);   pinocchio::skew(d->v.angular(), d->vw_skew);   d->fXjdv_dq.noalias() = d->fXj * d->v_partial_dq;   d->fXjda_dq.noalias() = d->fXj * d->a_partial_dq;   d->fXjda_dv.noalias() = d->fXj * d->a_partial_dv;   d->da0_local_dx.leftCols(nv) = d->fXjda_dq.template topRows<3>();   d->da0_local_dx.leftCols(nv).noalias() +=       d->vw_skew * d->fXjdv_dq.template topRows<3>();   d->da0_local_dx.leftCols(nv).noalias() -=       d->vv_skew * d->fXjdv_dq.template bottomRows<3>();   d->da0_local_dx.rightCols(nv) = d->fXjda_dv.template topRows<3>();   d->da0_local_dx.rightCols(nv).noalias() +=       d->vw_skew * d->fJf.template topRows<3>();   d->da0_local_dx.rightCols(nv).noalias() -=       d->vv_skew * d->fJf.template bottomRows<3>();

Hello, I also found this issue, and I think there is also an issue in the equation for solving da0_local_dx in contact-3d, has anyone else found this problem?
`  pinocchio::getJointAccelerationDerivatives(
*state_->get_pinocchio().get(), *d->pinocchio, joint, pinocchio::LOCAL,
d->v_partial_dq, d->a_partial_dq, d->a_partial_dv, d->a_partial_da);
const std::size_t nv = state_->get_nv();
pinocchio::skew(d->v.linear(), d->vv_skew);
pinocchio::skew(d->v.angular(), d->vw_skew);
d->fXjdv_dq.noalias() = d->fXj * d->v_partial_dq;
d->fXjda_dq.noalias() = d->fXj * d->a_partial_dq;
d->fXjda_dv.noalias() = d->fXj * d->a_partial_dv;
d->da0_local_dx.leftCols(nv) = d->fXjda_dq.template topRows<3>();
d->da0_local_dx.leftCols(nv).noalias() +=
d->vw_skew * d->fXjdv_dq.template topRows<3>();
d->da0_local_dx.leftCols(nv).noalias() -=
d->vv_skew * d->fXjdv_dq.template bottomRows<3>();
d->da0_local_dx.rightCols(nv) = d->fXjda_dv.template topRows<3>();
d->da0_local_dx.rightCols(nv).noalias() +=
d->vw_skew * d->fJf.template topRows<3>();
d->da0_local_dx.rightCols(nv).noalias() -=
d->vv_skew * d->fJf.template bottomRows<3>();`


Add Password Visibility Toggle Feature

Pull Request
Related Issues:
[List any related issues or reference them using the syntax #issue_number.]
Fixes #(issue number)
Description:
[Provide a brief description of your changes.]
Checklist:

[ ] I have tested my changes.
[ ] My code follows the project's coding standards.
[ ] I have updated the documentation (if applicable).

Screenshots:
[If applicable, include screenshots to help reviewers understand your changes.]

@duongruong

Improve the ui please


rm details mock endpoints and add pools mocks

Preview is available here:http://amm-demo-pr24.previews.kube001.services.stellar-ops.com/

Preview is available here:http://amm-demo-pr24.previews.kube001.services.stellar-ops.com/


Disconnect performance observer if the page wasn't hidden prior to the update

I was going through the code and observed that for few of the metrics we Only report if the page wasn't hidden prior to the metric.

FID
FCP
LCP

Now, if the page is ever hidden and the metric is not yet reported, then we would never update the values for any of the above metrics because visibilityWatcher.firstHiddenTime would always be lower because it tracks hidden time.
Thus I was thinking (CMIIW) if a page is hidden, we can disconnect performance observer for FID & LCP. We are already doing it for FCP for a different reason so no change there.
Also is there a reason for always reporting LCP  i.e. even if the value remains unchanged ?

Now, if the page is ever hidden and the metric is not yet reported, then we would never update the values for any of the above metrics because visibilityWatcher.firstHiddenTime would always be lower because it tracks hidden time.
Thus I was thinking (CMIIW) if a page is hidden, we can disconnect performance observer for FID & LCP. We are already doing it for FCP for a different reason so no change there.

You're correct that we could safely disconnect the observer in cases where the page was hidden prior to the relevant event.
I originally considered this and decided against it due to the fact that it would increase code size and I was trying to keep the library as small as possible. I also talked to the engineering teams about the performance impact of keeping an observer open without disconnecting it, and they said it was likely negligible.
That being said, I'd be open to PRs to add this if it doesn't increase the code size too much.

Also is there a reason for always reporting LCP  i.e. even if the value remains unchanged ?

Hmmm, I don't think there's a reason for that, it's probably just an oversight. Note that it doesn't really make a difference because the reporter function will noop if there are no entries, but I agree it would be better to keep them consistent.

Thanks for the reply!

You're correct that we could safely disconnect the observer in cases where the page was hidden prior to the relevant event.
I originally considered this and decided against it due to the fact that it would increase code size and I was trying to keep the library as small as possible. I also talked to the engineering teams about the performance impact of keeping an observer open without disconnecting it, and they said it was likely negligible.
That being said, I'd be open to PRs to add this if it doesn't increase the code size too much.

Oh, if its likely negligible then we can skip it, because it would add a lot of conditions and increase the code size. I'll still try to make a PR for it and share with you

Also is there a reason for always reporting LCP  i.e. even if the value remains unchanged ?

Hmmm, I don't think there's a reason for that, it's probably just an oversight. Note that it doesn't really make a difference because the reporter function will noop if there are no entries, but I agree it would be better to keep them consistent.

Thanks I will make a separate PR for this!

@philipwalton I have raised PR #196 & #197. I have tried to keep the changes minimal to ensure low lib size.
Can you please review the changes? Thanks!
PS: Was not able to raise it sooner was caught up in something! 🙈


First pass at using puffin to display the query results

Here's a first pass at a way to display the GpuTimerQueryResult in puffin. This only depends on the base puffin crate, not puffin_egui or puffin_http. I added puffin_http as a dev dependency to the example since it's not as invasive of a change as using egui.
This current approach assumes you use a different puffin::GlobalProfiler for wgpu than for CPU threads. I'm not the biggest fan of this approach, and I'd prefer to pretend that the WGPU Queue is just like any other CPU thread, and show them all in the same profiler window. However, the fact that we may need to wait several frames for timer results from the GPU makes this difficult.

sorry for the delay in review. Hoping to give this a spin by the end of the week!


Ensure we're correct on case insensitivity (for github...?)

From @sdboyer on December 13, 2016 0:31
GitHub thinks github.com/Sirupsen/logrus is the same as github.com/sirupsen/logrus. We need to make sure we handle this...correctly. Ish. Sort of. Ugh.
Copied from original issue: sdboyer/gps#116

I'll try to summarize the discussion that happened in Slack:
Sam detailed the following solution:

the system that deduces repo/project roots from import paths needs to be expanded to return some kind of informational structure of case sensitivity for different elements of the paths
the entry point to this deduction system is here: https://github.com/sdboyer/gps/blob/master/source_manager.go#L429, which quickly passes off to https://github.com/sdboyer/gps/blob/master/deduce.go#L562
all (or at least almost all) of the work of root deduction is centralized in that deduce.go file
yes. for the full solution, the return type of that initial method would have to change from a ProjectRoot (which is just type ProjectRoot string) to something that also contains the case sensitivity info

the system that manages repositories on disk needs to learn how to read those case sensitivity info structures, and we'll need a new trie implementation that works with them
the entry point to this is https://github.com/sdboyer/gps/blob/master/source.go#L61; it's responsible for creating sourceGateway, which are the objects i mentioned that we're "very careful to ensure there's only one of, per repository" called by almost all of the other SourceManager methods in order to do their work
these methods are both fairly complicated b/c they have to block as little as possible under high concurrency, but also avoid duplicating work in a way that could result in duplicate sourceGateways being created
and all three of these https://github.com/sdboyer/gps/blob/master/source.go#L55-L57 are where the lookups actually happen - those keys would need to be made selectively case insensitive
and i don't even want to reach into the solver, because frankly it's everywhere

the solver itself will need to stop using simple map[string]<...> types, and use a custom map that, again, works with these case sensitivity info structures

but the risk and complexity of that is considerable, so we'll likely have to settle for some harm reductive approaches in the meantime

The following was also proposed:

assume that everything up to the root of the project is case insensitive, and that everything after it is case sensitive
so yeah, i'm now intrigued by the idea that, maybe, we just internally normalize to lower case
(for only the project root portion of an import path)
[...] i also think it would probably work more often than the current system does
i think we don't actually touch the solver at all - if your codebase imports two paths that differ only in case, then we don't try to normalize that - we just (optionally) warn
all we have to do is make sure that nothing blows up catastrophically when there are case-only differences in a repo and the user is on a case-insensitive filesystem, as with your bug

The issue I found with these solutions is that the solver will select 2 (most likely different) versions for each of github.com/Sirupsen/logrus and github.com/sirupsen/logrus. It also requires that we switch the source cache lock to be at the repository level, instead of a global lock.
The issue I see here is not orchestrating the source gateways but ensuring that the solver understands that github.com/Sirupsen/logrus and github.com/sirupsen/logrus are the same package.

I'm not sure if the compiler is case-sensitive wrt import paths, but I'd assume it relies on the file system for that.
We can consider the lower-case path the canonical import path for packages on Github (and other sources with the same issue) but the compiler will still expect to find 2 directories github.com/sirupsen/logrus and github.com/Sirupsen/logrus on the file system if it's case-insensitive if both are imported in the codebase.
This introduces another issue, ensuring that the package is vendored twice on case-sensitive file systems (for both cases).
An alternative is to just fail when a package is detected with 2 different paths (different letter-casing). This is not a solution, but it's the simplest thing we can do for the time being. 😞

aaaghhhh... yes, good point. we'd still need to record both/all casings in the lock, then determine at vendor write time whether the fs is case sensitive, and if it is, write them all instead of just the canonical lowercase one.
that potentially breaks other parts of the model, too - particularly related to vendor verification.
so yeah, the simplest thing right now probably is detecting the situation and erroring out earlier 😢

@sdboyer ValidateParams (#697) seems like a good place for a check like this, right?

@ibrasho hmm...they could probably rely on the same code, but this case is narrower, as we wouldn't be constructing a whole SolveParameters.

I just discovered some things:

go build errors out when both cases are present on a case-sensitive filesystem (ext4): XXXXX: case-insensitive import collision: "github.com/sixgill/service/vendor/github.com/Sirupsen/logrus" and "github.com/sixgill/service/vendor/github.com/sirupsen/logrus"

AFAICT this results in an impass: go won't build with  can't build with multiple casings in your project code or vendor packages on a case sensitive filesystem.

We are using glide's aliasing feature to automatically rewrite imports in vendor using the old casing to the new one.
It's not clear how to solve this in dep without rewriting vendor package imports.
Anyone else have insights/experimental results?

What I did (not proud of it):
Added a gofmt to rewrite vendor packages:
vendor: $(BIN)/dep Gopkg.lock Gopkg.toml
	$(BIN)/dep ensure
	gofmt -w -r '"github.com/Sirupsen/logrus" -> "github.com/sirupsen/logrus"' $(shell find vendor -name \*.go -type f -print)

thanks for the added info, @edrex!

It's not clear how to solve this in dep without rewriting vendor package imports.

😱 😱 😱 💥 💥 💀

go build errors out when both cases are present on a case-sensitive filesystem (ext4):

honestly, i'm not even sure if this makes it worse or better. probably better, but it's still kind of horrifying. i need to ponder some more.

OK, I've mused on this now, and it's clear to me that there's just no way we can fix this without directly rewriting import paths. That's something we won't do. However, the current situation creates totally worthless errors - panics, even - and needs to be improved. That, we CAN do.
First, for context - confirming what @edrex discovered, the go toolchain disallows having two imports in a single program that differ only by case. While it's not actually in the spec, the toolchain disallowing it is good enough for me to treat it as a rule. To treat it as a rule, we need to enforce it in the solver itself. That means this is going to be a fairly tricky, or at least arduous, implementation.
Here's a quick sketch of what I think will be needed:

Borrow the toolchain's toFold() implementation
Modify the appropriate structures - maybe completeDep or workingConstraint? - to track the difference between an original ProjectRoot and the folded name
In structures like the selected and unselected queues, key on the folded name
Ensure that all prints still use the unfolded name
Introduce satisfiability checks (satisfy.go) to ensure that
i. all imports of the considered tree, if they point to a project that's already selected (folded), have the exact same casing as the already-selected project
ii. because two case-differing imports could be in the unselected queue at once, we also have to verify during the initial (project-level) visit that name being considered is identical to any of its already-selected folded equivalents (if there are any).

There's also some things to do in the SourceManager: as soon as a string or ProjectRoot enters one of the methods, we need to immediately fold it and put it into some kind of 2-tuple that stores both pieces, then store/key on that as appropriate. tbh I can't even fully think about all the places this will change things - but there are a lot.


SVGO example outputs wrong path at build for SVG loaded via SCSS

Using the SVGO example from the documentation, I get the wrong paths in compiled CSS when referencing SVG files. Dev server works fine.
To make sure this wasn't just something dumb I was doing, I created a minimal theme based on the example theme and added an svg background to the body.
Files
wpackio-theme
 |
 +-- src
 |  |
 |  +-- theme
 |  |  |
 |  |  + heart.svg
 |  |  + main.js
 |  |  + main.scss

wpackio.project.js (copied straight from documentation)
webpackConfig: (config, api) => {
	// Create a new config
	const newConfig = { ...config };
	// Extend the rules for some great svg experience
	newConfig.module.rules = [
		...newConfig.module.rules,
		// SVGO Loader
		// https://github.com/rpominov/svgo-loader
		{
			test: /\.svg(\?v=\d+\.\d+\.\d+)?$/,
			use: [
				{ loader: 'file-loader' },
				{
					loader: 'svgo-loader',
					options: {
						plugins: [
							{ removeTitle: true },
							{ convertColors: { shorthex: false } },
							{ convertPathData: false },
						],
					},
				},
			],
		},
	];
	// Return it
	return newConfig;
},

main.scss
body {
  background-image:url('heart.svg');
}

CSS output using dev server: (THIS WORKS!)
body {
  background-image: url(//localhost:3000/wp-content/themes/wpackio-theme/dist/5e1d0848e37267eb1456fa12bee167f9.svg);
}

CSS output using build (PATH IS WRONG)
body {
  background-image: url(5e1d0848e37267eb1456fa12bee167f9.svg);
}

Hello,
Thanks for reporting. Can I ask you to share a github repo with min code to reproduce the error?

This shows the issue for me.
https://github.com/drdogbot7/wpackio-issue-284
localhost:3000 after running yarn start

localhost:8080 after running yarn build

Any updates on this?

Hi,
Getting there 😄

Hi @drdogbot7,
Wanted to update you that I have found the cause of the issue. While it is possible to solve entirely from wpackio.project.js file, I think I can provide an API for easy file-loader options. Please stay tuned.

Pending work since commit before this comment

[ ] Update Docs for SVG guide.
[ ] Update Docs for the function signature of files[..].webpackConfig.

Hey @drdogbot7,
I have released new version 3.0.0 and have updated the docs for svgo
Do give this a try and if you are successful, feel free to close this.

Yup. That fixes the issue. 👍


refactor: remove existing vpc endpoint configurations from base module and move into sub-module

Description

remove existing vpc endpoint configurations from base module and move into sub-module
BREAKING: VPC endpoint resources are removed in favor of sub-module and for_each creation of any VPC endpoints
BREAKING: AWS provider has been updated from v2.70 to v3.15 for VPC endpoint changes and available attributes
combine issue/example projects into one project

Motivation and Context

due to VPC endpoint services being added all the time, and the ever growing complexity of the module, this change is to make the module more flexible and to allow users to choose what VPC endpoints they elect to use and attach to whichever resources they choose

Closes #454
Closes #462
Closes #560
Closes #582
Closes #603
Closes #604
Closes #607
Closes #608
Closes #611
Closes #613
Closes #618
Closes #626
Closes #630
Closes #631
Closes #633
Closes #634
Closes #638
Closes #640
Breaking Changes
Yes:

BREAKING: VPC endpoint resources are removed in favor of sub-module and for_each creation of any VPC endpoints
BREAKING: AWS provider has been updated from v2.70 to v3.15 for VPC endpoint changes and available attributes

How Has This Been Tested?

[x] I have tested and validated these changes using one or more of the provided examples/* projects
I have updated and validated using the complete-vpc example

@antonbabenko friendly reminder 😉

v3.0.0 has been just released. 🎉 🎉 🎉 🎉 🎉 🎉

So if I am reading this correctly, the migration from 2.x to 3.x requires manual admin intervention to modify state for every use of this module, with the potential that a mis-typed state mv or state rm could damage production VPCs?
Or if we don't use state commands, we take a traffic double-blip on all endpoints as they are destroyed and then re-created.
This is a very disruptive breaking change. I hope the 2.x line will continue to get updates if they required.

Version 2.x won't be getting updates. We support just one major release at a time.
The process of upgrading from 2.x to 3.x indeed requires manual runs of terraform state mv commands if you can't allow recreation of resources (most of the production loads do not allow this).
I am pretty confident that Upgrade Notes are correct, too.

Ok, thank you for confirming.
I do want to express that this is quite painful for a large system where infrastructure-as-code has been implemented strictly, and virtually no one can run manual state commands. I realize there was some pain in maintaining this in the module, but the fix has pushed that pain onto every invocation of this module by every consumer.

hi @tabletcorry - we do our best to avoid breaking changes but as with all software projects, you reach a point where you have to make a significant change to continue making forward progress and best supporting the needs of those who use the module(s). the prior versions are all there for use and can be pinned (recommended) to avoid any breaking updates, but ultimately, it is up to each individual if they want to take on the challenge in updating in order to receive the latest changes. we do feel that this change was a long time coming - AWS releases VPC endpoints all the time and the prior solution was not scalable nor was it flexible enough for most folks (based on issues and PRs that we received). again, pinning the module version is going to be the safest route to avoid any disruptions until folks are ready to make the necessary changes to update (it is an opt in, its not something that is forced upon anyone)

How does ses_endpoint_security_group_ids get translated here? SES is missing from the "Complete" example and I don't see any way to attach security groups to the endpoints?
Is there any migration guide? How do we map the state shifts?

So, not sure how we migrate individual security groups for endpoints still..
However for others:
SES Example:
    ses = {
      service        = "email-smtp"
      tags           = { Name = "ses-vpc-endpoint" }
      subnet_ids     = module.vpc.private_subnets
    },

Migration of existing endpoints:
terraform state mv 'module.vpc.aws_vpc_endpoint.ses[0]' 'module.vpc_endpoints.aws_vpc_endpoint.this["ses"]'
terraform state mv 'module.vpc.aws_vpc_endpoint.s3[0]' 'module.vpc_endpoints.aws_vpc_endpoint.this["s3"]'

I only had these two endpoints to migrate, however it should be very similar for all of them.
I cannot figure out how to provide both module.vpc.private_subnets and module.vpc.database_subnets to subnet_ids though.. Every permutation of concat and flatten I could think of failed to make an array it would accept. In my case I need to provide the DB subnet access to the endpoint for backups.

In addition to ses / email-smtp, I ran into “efs” to “elasticfilesystem”. It seems like it might be useful to have a list of some of the more common ones since aws ec2 describe-vpc-endpoint-services --no-paginate --query "ServiceNames[*]" isn't super intuitive.

@Routhinator you cannot associate the VPC endpoint with more than one subnet in the same AZ and why I suspect your permutations are failing. if you are creating a VPCe for SES, its one association in each AZ (typically via the private subnets)


use Files.createTempDirectory() instead of new File()

Description
This PR addresses a static analysis concern with temp file creation. It is not a security issue but an improvement nonetheless.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[x] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[x] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[x] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

unit test added

@DaanHoogland should this be targeted to 4.18 branch as well?

@blueorangutan package

Packaging result [SF]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6395

@blueorangutan test

@DaanHoogland a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-6963)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 48124 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7713-t6963-kvm-centos7.zip
Smoke tests completed. 107 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_01_migrate_VM_and_root_volume
Error
81.66
test_vm_life_cycle.py

test_02_migrate_VM_with_two_data_disks
Error
53.34
test_vm_life_cycle.py

@blueorangutan package

@DaanHoogland a [SF] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6413

@DaanHoogland a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

[SF] Trillian Build Failed (tid-6990)

[SF] Trillian test result (tid-6996)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 42792 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7713-t6996-kvm-centos7.zip
Smoke tests completed. 107 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_01_migrate_VM_and_root_volume
Error
79.79
test_vm_life_cycle.py

test_02_migrate_VM_with_two_data_disks
Error
54.47
test_vm_life_cycle.py


Use golang 1.17

Signed-off-by: Scott Andrews<EMAIL_ADDRESS>

Codecov Report

Merging #35 (2f32f3c) into main (edfc5e9) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main     #35   +/-   ##
=====================================
  Coverage   2.19%   2.19%
=====================================
  Files          4       4
  Lines        182     182
=====================================
  Hits           4       4
  Misses       178     178

Impacted Files
Coverage Δ

apis/v1alpha2/zz_generated.deepcopy.go
0.00% <ø> (ø)

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 edfc5e9...2f32f3c. Read the comment docs.

Please resolve the conflicts.
I can see kubebuilder, controller-runtime, etc. is still using Go 1.16. Can we wait for the Go version upgrade of major dependencies before we upgrade? Go supports (with security fixes) the latest version and the previous version.
Let me know your thoughts.

I can see kubebuilder, controller-runtime, etc. is still using Go 1.16. Can we wait for the Go version upgrade of major dependencies before we upgrade? Go supports (with security fixes) the latest version and the previous version.

Libraries, especially popular ones will always be a bit slower to upgrade. Unless there are issues with go 1.17, I bias toward running the latest dependencies. That way when one of our dependencies does start to require go 1.17, we're already set and we know everything works.


fix(ssg): path of already extention

before

/index.html -> static/index.html.html

after

/index.html -> static/index.html

Author should do the followings, if applicable

[x] Add tests
[x] Run tests
[x] yarn denoify to generate files for Deno

Hi @watany-dev
This is a nice improvement! Merge now. Thanks!


Missing a README file

It would be nice to show how to use this script in a README :)

done in 7ec6ab465595d8b045ab139bb2942f5aefc14c9e :)


Metrics Tower layer

Implement a metrics Tower layer with configurable labels so we can get rid of InstrumentedMetastore and easily add metrics to other clients/servers.

Closed via #3118.


Parallelize backend

I just learned (from a talk) that the backend is not actually parallelized at present, although the method is embarrassingly parallel in principle.  I am happy to help with this issue if there is scope.  What are the main blockers?  E.g. can https://pytorch.org/docs/stable/multiprocessing.html#module-torch.multiprocessing not be used?

Implemented in #4 (using joblib)

Incorrectly thought this was merged into main in #4, reopening.


Bump setup.py version.

<bad joke>This PR needs a +1</bad joke>

Coverage remained the same at 88.726% when pulling 3e115fa6a701b4c80f439ef8aae2a7c7015f2455 on stephen-mw:develop into ec6019e04adde10e50ae84ecae9c6cbc33cbee2b on Netflix:develop.

Coverage remained the same at 88.726% when pulling 0e5e5fe536e7931564ccb00a86f0b9455f9eaab3 on stephen-mw:develop into fc7108779be8b7c848bf206ef85fb78f54315c1f on Netflix:develop.


Implementation of linked list

Description
Implementation of linked list
Domain
C/CPP
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

Closing this issue as #7455 got merged !


File watcher does not detect a symlinked directory getting re-created

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.80.2
OS Version: macOS 13.4.1

Steps to Reproduce:

Run the following:mkdir -p scratch/src
mkdir scratch2
dst=$(cd scratch2 && pwd)
ln -s $dst scratch/src/symlink
echo "import { Foo } from './symlink/index'" >scratch/src/test.ts
echo "export const Foo = 1;" >scratch2/index.ts
code --disable-extensions scratch

Open test.ts. It should have no errors.
Run rm -rf scratch2. After vscode detects the change, it should display a red squiggle under ./symlink/index with the error "Cannot find module ...".
Run mkdir scratch2 && echo "export const Foo = 1;" >scratch2/index.ts

The expected behavior at this point is that vscode recognizes that the target directory of the symlink once again exists, and removes the red squiggle.
The actual behavior is that the squiggle does not go away. You must close and reopen the project to get vscode to recognize that the code is valid.

This applies for for symlinked files as well: you can replace step 2 with rm scratch2/index.ts, and observe the same actual behavior after recreating that file in step 3.
After step 3, command clicking on the text with the squiggle opens a tab that displays the following:

However, you can open src/symlink/index.ts successfully from the Explorer.

Our file watcher does not support changes to targets that are in the workspace behind symbolic links. In other words, the file watcher will not automatically follow symlinks for performance reasons.
We have limited support to add additional folders to be watched via the files.watcherInclude setting, but in this scenario when I test, I am not seeing file events for when the folder is being recreated.
However here I believe TypeScript is doing something on their own, because they do detect the delete but not the recreation, so maybe this is something TypeScript deals specifically.

Yes, I concur that it's a TypeScript issue -- I was able to reproduce the same issue in another editor (IntelliJ IDEA). Do you have the ability to transfer the issue to the microsoft/typescript repository?


Including toolkit plugin throws error

I am using the toolkit with Alpine 3.10.2 like this
import Alpine from 'alpinejs'
import Toolkit from '@alpine-collective/toolkit'
import GLightbox from 'glightbox';
import $ from 'jquery';
import 'slick-carousel';

Alpine.plugin(Toolkit)
Alpine.start()

but I am getting an error on the console saying
Uncaught TypeError: e is not a function
    plugin https://villa-brocante-statamic.test/js/site.js?id=6a69235128732592cb4494ded2351745:2
    218 https://villa-brocante-statamic.test/js/site.js?id=6a69235128732592cb4494ded2351745:2
    n https://villa-brocante-statamic.test/js/site.js?id=6a69235128732592cb4494ded2351745:2
    <anonymous> https://villa-brocante-statamic.test/js/site.js?id=6a69235128732592cb4494ded2351745:2
    O https://villa-brocante-statamic.test/js/site.js?id=6a69235128732592cb4494ded2351745:2
    <anonymous> https://villa-brocante-statamic.test/js/site.js?id=6a69235128732592cb4494ded2351745:2
    <anonymous> https://villa-brocante-statamic.test/js/site.js?id=6a69235128732592cb4494ded2351745:2
[site.js:2:24366](https://villa-brocante-statamic.test/js/site.js?id=6a69235128732592cb4494ded2351745)

This happens with yarn run production.
When running yarn run dev I get this error

which leads me to this place

Any idea what is wrong there?

Thank you for posting this question.  I struggle with JS package management so when I hit this same issue it was reassuring to know that it wasn't just me.
From what I can tell, it seems like there's something wrong with the ordering of the files that are combined with the NPM distribution of alpinejs.

For some reason packages/alpinejs/src/plugin.js is included before packages/alpinejs/src/alpine.js and so a reference to alpine_default is used before it's defined.
Unfortunately, this is the extent of my JS knowledge.  I can try to open up an issue on the main repo and see if they can help.

Having the same issue. not sure how to fix it:

Same issue here. Any update on a fix so we can keep the bundle in-tact?

Hey, if you console.log(Toolkit) what shows? is it a function?
Toolkit is being passed in to Alpine.plugin which invokes it as the parameter named callback. The error is suggesting that Toolkit, the callback, is not a function. However, Toolkit is exporting a default function here.
I'm personally not super active with Alpine these days but I'm happy to test it out this weekend and maybe we can get this figured out (also, sorry for not being super responsive here)

@KevinBatdorf Sorry for my late reply here. Must have missed your response. See the below. Looks like both come back as undefined.

Are the files there in node_modules? I wouldn't expect the console to be able to log it there, but you could try on line 13 to console.log it.
Just to confirm, you ran npm install @alpine-collective/toolkit-interval --save-dev right? And not simply @alpine-collective/toolkit?

I just ran yarn install on my package-json file which you can see from the snippets earlier in this thread. Tried both "@alpine-collective/toolkit-truncate": "^1.0.1" and "@alpine-collective/toolkit-truncate": "^1.0.1" with the same issue.

Sorry, and yes, the files are located in node_modules.

Here's a snapshot of of the package within the node_modules directory:

And here is the trace from the console when clicking on the moduie.esm.js:1372:1 error above:

Can you try Alpine.plugin(Toolkit.default)?

Sorry, Alpine.plugin(Truncate.default)

Thanks. No change. Same errors.

Fixed in 1.0.2

The browser field (well, the wrong value I did put in that field) was confusing webpack that was trying to use the cdn build (which doesn't export anything) inside the bundle.

Goit it. Thanks again Simone. Take it easy.


proposal: context: add generic Key type

The Context API suffers from the lack of type safety since keys and values are both interface{}.
With generics coming in Go 1.18, I propose the addition of:
package context

// Key is a generic key type associated with a specific value type.
type Key[Value any] struct{ name *string }

// NewKey constructs a new context key with an associated value.
// Every key is unique, even if provided the same name.
func NewKey[Value any](name string) Key[Value] {
	return Key[Value]{&name}
}

// WithValue returns a copy of parent in which the value associated with key is val.
//
// It is a type-safe equivalent of WithValue.
func (key Key[Value]) WithValue(parent context.Context, val Value) context.Context {
	return context.WithValue(ctx, key, val)
}

// Value returns the value associated with this context for key,
// additionally reporting whether the value was found.
//
// It is a type-safe equivalent of Context.Value.
func (key Key[Value]) Value(ctx context.Context) (Value, bool) {
	v, ok := ctx.Value(key).(Value)
	return v, ok
}

// String returns the name of the key.
func (key Key[Value]) String() string {
	return *key.name
}

For type safety, the value type is associated with the key type, and type safe variants of Context.Value and WithValue are hung off of Key as methods.
Example usage:
k1 := NewKey[error]("error")
k2 := NewKey[error]("error")
fmt.Println(k1 == k2) // expect false since each key is unique

ctx := context.Background()
ctx = k1.WithValue(ctx, io.EOF)

fmt.Println(k1.Value(ctx)) // EOF true
fmt.Println(k2.Value(ctx)) // <nil> false

\cc @josharian

I have mixed feelings. I like the simplicity, but it increases the chance of two packages both operating on a common type (i.e., a string value) where they work in isolation, but when used together they conflict and fight with one another.

We could add a vet-check that one doesn't pass builtin types to contexts. It would be quite easy to do unfortunately, like context.WithValueOf(ctx, "somevalue").
I like the idea of removing the name string, though a lot simpler and clearer as to how NewKey works.

Something nice to mention is that this addresses 2 of the 4 things mentioned in https://github.com/golang/go/issues/28342 (namely type-safety and documentation)

The more I look at @dsnet's proposed implementation, the more I like it. My only suggestion is to change WithValue to panic if name is nil, to prevent accidental misuse of the zero value.

On hold for understanding generics better.

Placed on hold.
— rsc for the proposal review group

What about dropping keys entirely and using the type as the key?

I have mixed feelings. I like the simplicity, but it increases the chance of two packages both operating on a common type (i.e., a string value) where they work in isolation, but when used together they conflict and fight with one another.

Well in assumption of possibility to break some backward compatibility in Go2 I see nothing bad to just forbid non-named types in WithValue and Value (a compile-time error if possible or a panic + go lint if not possible).

There should be one more aspect considered. Right now a common pattern is to have the context key private within the package, and then provide a public function  which may do more than just check the given context and return (Value, bool).
For example this function which will return a new (or a default) logger if one isn't set on the context. The idea is, get value from context functions sometimes have to be a bit smarter.
type ctxKeyLogger struct{}

func CtxLogger(ctx context.Context) Logger {
	logger, ok := ctx.Value(ctxKeyLogger{})
	if !ok {
		logger = NewLogger()
	}

	return logger
}

What I was thinking of is having something along the lines of:
type Key[T comparable] struct {
	valueFunc keyValueFunc[T]
}

type keyValueFunc[T comparable] func(ctx context.Context, k Key[T]) (T, bool)

func defaultValueFunc[T comparable](ctx context.Context, k Key[T]) (T, bool) {
	value, ok := ctx.Value(k).(T)
	return value, ok
}

func NewKey[T comparable](f keyValueFunc[T]) Key[T] {
	if f == nil {
		f = defaultValueFunc[T]
	}

	return Key[T]{valueFunc: f}
}

func (k Key[T]) Value(ctx context.Context) (T, bool) {
	return k.valueFunc(ctx, k)
}

func (k Key[T]) WithValue(ctx context.Context, value T) context.Context {
	return context.WithValue(ctx, k, value)
}

I've played around with an interface version of Key too:
type Key[T comparable] interface {
	Value(ctx context.Context) (T, bool)
	WithValue(ctx context.Context, value T) context.Context
}

Honestly, from both my ideas, I am not 100% sold on them myself, but maybe it gives someone a spark of imagination!

@dsnet Could we create a package for this? I think @ianlancetaylor has a point in https://github.com/golang/go/issues/57025#issuecomment-1382220573:

I don't see a lot of support for this proposal, and it can be implemented outside of the standard library. Perhaps it should be an external package for now, and we can consider adopting it into the standard library if it sees wide use.

I've been copy and pasting your sample code for many times now. Creating a package so that we can re-use and see how many people does the same seems useful to me.

There's https://pkg.go.dev/tailscale.com/util/ctxkey, but we provide on guarantees about API compatibility.


chore remove required of pipelinex

Proposed changes
Issue Number: close #xxx

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

run buildall


null cast away in valueChanges()

AngularFire:
5.0.0-rc.3
If the document does not exist, this line returns action.payload.data() : null, which is in turn casted to T, dropping the null case. Seems like the return type for valueChanges() should be Observable<T|null>.

@timblakely Yep, it sure should! Care to make the PR?


Dubbo 3.0 provider doesn't register url param “serialization" to ZK.

[x] I have searched the issues of this repository and believe that this is not a duplicate.
[x] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 3.0.0-SNAPSHOT
Operating System version: win10
Java version: jdk8

An example of dubbo3 provider url registered to zk is:
tri://<IP_ADDRESS>:50051/com.apache.dubbo.sample.basic.IGreeter?anyhost=true&application=demo-provider&check=false&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=com.apache.dubbo.sample.basic.IGreeter&methods=sayHello&release=3.0.0-SNAPSHOT&side=provider&threadname=DubboClientHandler-<IP_ADDRESS>:50051&threadpool=cached

Which doesn't contains "serialization" key.
But in dubbo/rpc/protocol/tri/TripleInvoker: doInvoke()
 protected Result doInvoke(final Invocation invocation) throws Throwable {
        RpcInvocation inv = (RpcInvocation)invocation;
        String methodName = RpcUtils.getMethodName(invocation);
        inv.setAttachment("path", this.getUrl().getPath());
        inv.setAttachment("serialization", this.getUrl().getParameter("serialization", "hessian2"));
        ...
}

It tries to read serialization type and set default to hessian2, which is confict with the real serialization type "protobuf"

It register url param “serialization" ,only by explicit configuration


fix(ts): use mapped property names in generated types

This PR fixes the generated TypeScript types not properly using the defined mapped property names.
For instance:
#[MapOutputName(SnakeCaseMapper::class)]
class ContractData extends Data
{
    public function __construct(
        public string $name,
        public string $recordCompany,
    ) {
    }
}

Would output:
interface ContractData {
  name: string
  recordCompany: string
}

After this PR, the correct interface is generated:
interface ContractData {
  name: string
  record_company: string
}

Thanks!


Respect publication channels listprovider more

While we were already getting information on publications from the respective listprovider for the event details, we were not putting all of it to use, for example ordering. Also, the event table did not have access to this information at all. This should fix that.
Helps with #409.
Screenshots, as the effects are rather unnoticeable without making changes to the listprovider.

This PR over in the main repository may also be of interest: https://github.com/opencast/opencast/pull/5956

I have tested this PR on our side with an Annotation Tool publication. Now the name is displayed correctly in the publications (before it was just named "Custom"):


Adding support for disk types, multiple disks and auto_delete_boot_disk option.

This pull request adds three new options for disks:

Support for disk types (pd-ssd and pd-standard) to gce_disk (disk_type) and gce_instance (boot_disk_type).
Possibility for multiple disks in gce_instance.
auto_delete_boot_disk option for gce_instance.

Could you please update the unit tests for this new parameter.

Thanks for the work you put in already.

closed due to inactivity.


cutToHeight does not work

Environment
Self-Hosted (Docker)
Version
2.0.0
Describe the problem
When we set cutToHeight: true, it does not work also go to error in configuration editor:

Additional info
Theme is "Colorful"
Please tick the boxes

[X] You are using a supported version of Dashy (check the first two digits of the version number)
[X] You've checked that this issue hasn't already been raised
[X] You've checked the docs and troubleshooting guide
[X] You agree to the code of conduct

Your right, looks like I forgot to add this to [ConfigSchema.json] (https://github.com/Lissy93/dashy/blob/master/src/utils/ConfigSchema.json).
I'll get that fixed this evening

Its so good, but this does not resolve the problem with "colorful" theme.

Ah yeah, that seems to be caused by this line within the colourful theme block.
https://github.com/Lissy93/dashy/blob/e1a78db85320bd3def159c9e82261ae725294129/src/styles/color-themes.scss#L356-L358
I'll add that to the fix too :)


Topics and updates

Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[x] Suggesting edits to an existing topic or collection
[x] Curating a new topic or collection
[ ] Something that does not neatly fit into the binary options above

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[x] Image (and my file is *.png, square, dimensions 288x288, size <= 75 kB)
[x] Content (and my changes are in index.md)

I have changed google cloud platform icon as it is on the official website. I also have updated some information.

Curating a new topic or collection

[x] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME] or https://github.com/collections/[NAME])
[x] My folder contains a *.png image (if applicable) and index.md
[x] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

The topics I have added include well known tech companies, platforms and tools that a lot of people use. So they should be curated on github.

Something that does not neatly fit into the binary options above

[ ] My suggested edits are not about an existing topic or collection, or at least not a single one
[ ] My suggested edits are not about curating a new topic or collection, or at least not a single one
[ ] My suggested edits conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please replace this line with an explanation of your proposed changes.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

@MikeMcQuaid Sure, I will do that

@MikeMcQuaid Can I add two topics per P.R as there are a lot of them? I will be sending PRs as I split topics one by one

@AyushShahh yup, two is fine! One would be ideal.


[Bug]: Binary download rejected due to malware

What happened?
Binary will not download due to assumable false positive
Corso Version?
none
Where are you running Corso?
Win 10 Pro version 22H2  build 19045.2486
Relevant log output
1 security vendor flagged this URL as malicious (virustotal.com)
Flagged by Xcitium Verdict Cloud

https://objects.githubusercontent.com/github-production-release-asset-2e65be/486256260/c37f43ba-526c-4c45-97cd-d1979caac58b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230211%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230211T122942Z&X-Amz-Expires=300&X-Amz-Signature=98877004fb2aa4783947d60c148650ab17ca6f7d31edfdfd6bbee01b482ed84e&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=486256260&response-content-disposition=attachment%3B%20filename%3Dcorso_v0.3.0_Windows_x86_64.zip&response-content-type=application%2Foctet-stream

@relyd We are unable to reproduce this on virustotal.com. I uploaded both the ZIP file and uncompressed executable (exe) and I get clean results (see screenshots below). If this is a local check, can you try to update your local tool and/or malware signatures and see if it still triggers?

I checked https://github.com/alcionai/corso/releases/download/v0.3.0/corso_v0.3.0_Windows_x86_64.zip
and it redirects to this URL :
https://objects.githubusercontent.com/github-production-release-asset-2e65be/486256260/c37f43ba-526c-4c45-97cd-d1979caac58b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230214%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230214T075510Z&X-Amz-Expires=300&X-Amz-Signature=0be76201ce7966a57ef00ea9912c07ba6770ccf9e2ce4ff7c275b3ffc1cdda6f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=486256260&response-content-disposition=attachment%3B filename%3Dcorso_v0.3.0_Windows_x86_64.zip&response-content-type=application%2Foctet-stream
Scanning this URL in the live online version of virustotal results in the malware report.
Uploading the ZIP or extracted corso.exe to virustotal does not detect it as malware indeed.
Still strange the URL gets flagged, albeit by one vendor only. You might consider contacting them ( Xcitium Verdict Cloud ) for clarification or false positive report.

@analystcmyk Looks like it is flagging a lot of things (everything?) on GitHub. Using cURL, I obtained URLs for:

https://github.com/helm/helm/releases/download/v3.11.1/helm-v3.11.1-windows-amd64.zip.asc (833 byte ASCII file)
https://github.com/microsoft/TypeScript/releases/download/v4.9.5/typescript-4.9.5.tgz (Typescript)

and they were all detected as Malware by Xcitium Verdict Cloud/Abusix. I am not sure what we can do here but I am filing a request with them.

FWIW, VirusTotal's own downloads are also being treated as malware. I just tried https://github.com/VirusTotal/yara/releases/download/v4.2.3/yara-4.2.3-2029-win32.zip that maps to
https://objects.githubusercontent.com/github-production-release-asset-2e65be/7037996/3210cbdc-5716-4b0a-8cdd-c8124a13686c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230214%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230214T085433Z&X-Amz-Expires=300&X-Amz-Signature=2fd8490688e60dc85e79e23f40348fe9d5e1559e7cdbb323c917173eb6bd1493&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=7037996&response-content-disposition=attachment%3B%20filename%3Dyara-4.2.3-2029-win32.zip&response-content-type=application%2Foctet-stream

Folks, I am going to close this as there is nothing we can do about this and this is not limited to Corso. I have filed issues with both Virus Total and Xcitium and hope something will move. I will keep on following up with them on a periodic basis.

What happened?
Binary will not download due to assumable false positive
Corso Version?
none
Where are you running Corso?
Win 10 Pro version 22H2  build 19045.2486
Relevant log output
1 security vendor flagged this URL as malicious (virustotal.com)

Flagged by Xcitium Verdict Cloud

https://objects.githubusercontent.com/github-production-release-asset-2e65be/486256260/c37f43ba-526c-4c45-97cd-d1979caac58b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230211%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230211T122942Z&X-Amz-Expires=300&X-Amz-Signature=98877004fb2aa4783947d60c148650ab17ca6f7d31edfdfd6bbee01b482ed84e&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=486256260&response-content-disposition=attachment%3B%20filename%3Dcorso_v0.3.0_Windows_x86_64.zip&response-content-type=application%2Foctet-stream

FWIW, VirusTotal's own downloads are also being treated as malware. I just tried https://github.com/VirusTotal/yara/releases/download/v4.2.3/yara-4.2.3-2029-win32.zip that maps to

https://objects.githubusercontent.com/github-production-release-asset-2e65be/7037996/3210cbdc-5716-4b0a-8cdd-c8124a13686c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230214%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230214T085433Z&X-Amz-Expires=300&X-Amz-Signature=2fd8490688e60dc85e79e23f40348fe9d5e1559e7cdbb323c917173eb6bd1493&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=7037996&response-content-disposition=attachment%3B%20filename%3Dyara-4.2.3-2029-win32.zip&response-content-type=application%2Foctet-stream


Add exception in case no secret key is set

While updating our application to use future Guardian 1.0.0, we led to an strange exception of JWT which ended being caused because the secret key was not set (well, it was set but using the old configuration).
This small PR adds a nicer and more clear exception in case no secret key is set.

This is great! Thank you.


Circle Cropping is not working

Hello. I got this report from Firebase and it's from one of our users. Could you check it, please?
Fatal Exception: java.lang.IllegalArgumentException: cannot use a recycled source in createBitmap
at android.graphics.Bitmap.createBitmap(Bitmap.java:882)
at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:807)
at com.takusemba.cropme.CropLayout$crop$1.invoke(CropLayout.kt:189)
at com.takusemba.cropme.CropLayout$crop$1.invoke(CropLayout.kt:32)
at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)


Unable to use Widget() inside Shiny

I just took a quick look into rendering quak.Widget() in Shiny, and I get the following JS error:
import polars as pl
import shiny.express
from shinywidgets import render_widget
import quak

df = pl.read_parquet("https://github.com/uwdata/mosaic/raw/main/data/athletes.parquet")

@render_widget
def _():
    return quak.Widget(df)

What's interesting here is that ./lib/widget.ts's import of apache-arrow appears to work for stuff under ipc/*, but not for this line of io/stream.ts. Any idea why that might be?

Sorry not an avid shiny user... can you provide how to run this code?

Oh interesting, I also get a similar error when running a hello mosaic-widget example:
import pandas as pd
from mosaic_widget import MosaicWidget
import shiny.express
from shinywidgets import render_widget
import yaml

weather = pd.read_csv(
    "https://uwdata.github.io/mosaic-datasets/data/seattle-weather.csv",
    parse_dates=["date"],
)

# Load weather spec, remove data key to ensure load from Pandas
with open("weather.yaml") as f:
    spec = yaml.safe_load(f)
    _ = spec.pop("data")

@render_widget
def _():
    return MosaicWidget(spec, data={"weather": weather})

This sniffs of some runtime global inspection by arrow (or one of this dependencies). I'm guessing Shiny includes a dep that sets a global (e.g., define from requirejs) which changes the behavior between the front end environments.

Ohh, yea, that seems likely. shiny/shinywidgets puts define and require on the window so that it can do a run-time request path configuration (e.g., window.require.config({"paths": {"anywidget": "lib/anywidget-0.0/index"}}))

Just speculation. Don't know if that's it alone. I know that require and define are also in class Jupyter notebooks.

Ah, wait.... I'm being silly. I meant to bring this up on Friday. Shiny doesn't support sending binary data to/from the front end. This is essential for applications that use apache arrow.

I'm going to close. Feel free to re-open if there is an issue when/if shinywidgets adds support for binary data!

Ahh, nice catch, thank you!

Hmm I've gotten lonboard to work in shiny widgets I think

@kylebarron You are right (it base64 encodes the binary stuff). However, I’m guessing your handling of buffers is more flexible than quaks.
see https://github.com/posit-dev/py-shinywidgets/pull/152


Allow project to build when using recent releases of HDF5

I did some investigation into #37 and found that the reason we are getting CMake errors when trying to build against recent versions of HDF5 is because they make MPI_C a public dependency. Even though we import MPI, CMake only imports the MPI libraries corresponding to the language(s) of the  the project we are working on which, in our case, is C++. I have raised a bug report with HDF5 (HDFGroup/hdf5#3844). In the meantime, this PR will fix the issue for us.

Thanks!


Update "Health" endpoint to "Discover"

lint failure is related to https://github.com/golangci/golangci-lint-action/issues/624

@krisnova added the health check command to show the difference between them.


remember all properties that have changed while waiting

@mpharoah-d2l noticed a bug with how we're blocking shouldUpdate from happening until the language has resolved: when shouldUpdate eventually passes, it triggers a call to updated(changedProperties), except any properties that changed while it was blocked are lost.
This change remembers any properties that changed while it was waiting for the language to resolve, and then adds those back in when things finally become unblocked.

Going to merge this to unblock Matt -- @dbatiste let me know if you have post-merge concerns.


How to get started

Hi.
I have installed the GDAX libary, and created my CoinBase API key.
I tried to run the first code example:

//create an authenticator with your apiKey, apiSecret and passphrase
var authenticator = new Authenticator("", "", "");
//create the CoinbasePro client
var coinbaseProClient = new CoinbasePro.CoinbaseProClient(authenticator);
//use one of the services
var allAccounts = await coinbaseProClient.AccountsService.GetAllAccountsAsync();

However it does not compile in Visual Studio 2019, and I recieve this error:

Error	CS4033	The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task'.	ConsoleApp1	C:\Users\xxx\source\repos\ConsoleApp1\ConsoleApp1\Program.cs	24	Active

I would very much appreciate any help with this. Many thanks.

Complete code:

using CoinbasePro.Network.Authentication;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
        //create an authenticator with your apiKey, apiSecret and passphrase
        var authenticator = new Authenticator("<apiKey>", "<apiSecret>", "<passphrase>");

        //create the CoinbasePro client
        var coinbaseProClient = new CoinbasePro.CoinbaseProClient(authenticator);

        //use one of the services
        var allAccounts = await coinbaseProClient.AccountsService.GetAllAccountsAsync();

        foreach (var myscore in allAccounts)
        {
            string myresult = allAccounts.ToString();
            Console.WriteLine(myresult);

        }

    }
}

}

This can now be closed, the correct code which worked for me was:
var allAccounts = coinbaseProClient.AccountsService.GetAllAccountsAsync().Result;
Also if you have trouble with invalid API key, it should infact be the random letters generated by CoinBase and shown ABOVE nickname, NOT the name you give it.


Use complete pokedex for production calculator

Add all Pokemon to production calculator
Also alphebetize the list, and use the in-game names for event Pokemon.

Removed the extra file and the association with #27. Tested locally that the production calculator shows added Pokemon in the dropdown.


Change keycloak configurations

On the loginpage, we currently show

The realm display name  in keycloak should be changed to a proper name "DAPM-E by group D" or similar.
Expected:

This can not be changed by our current setup. It would either require us to rethink how we initilice our keycloak. Or we chnaged the realm name. Either way i think this is not worth our time
The problem lies in that this can not be changed in the realm.json file. It has to be changed from the interface.


/bin/sh: 1: /tmp/provision.sh: Permission denied

when a try to build  locally splash 3.2 using docker build command the installation stopped here:
/bin/sh: 1: /tmp/provision.sh: Permission denied
The command '/bin/sh -c /tmp/provision.sh     prepare_install     install_deps     install_qtwebkit_deps     install_official_qt     install_qtwebkit     install_pyqt5     install_python_deps     install_flash     install_msfonts     install_extra_fonts     remove_builddeps     remove_extra &&     rm /tmp/provision.sh' returned a non-zero code: 126

What steps are you using to build it?

I first downloaded scrapy-splash locally, after i used:
docker build --tag mysplash -f [PATH]/Dockerfile
docker build --tag mysplash  [PATH]/Dockerfile
tried on Windows and Ubuntu,same problem...

Can you indicate which commit or version of Splash you are using?


Feature:  Ability to map modules to an IHS webserver

Use case:
An applicaiton is deployed in a WAS cluster (clusterA), with e.g. 2 servers in the cluster (server1 with port 9081 and server2 with port 9082).  The clustered app is then mapped not only to clusterA, but also to a webserver moduel (e.g. webserver1, an IHS WAS plugin).  This allows the app to be load-balanced over webserver1's port 80, while it seamlessly directs traffic to clusterA (e.g. server1 or server2).
Some pseudo code to accomplish this from websphere.py
if "" != cluster:
	serverMapping = 'WebSphere:cluster=' + cluster
	if "" != webserver:
		serverMapping += '+WebSphere:server=' + webserver
	options += ['-cluster', cluster, '-MapModulesToServers', [['.*','.*', serverMapping]]]

May be of reference: wsadmin and MapModulesToServers

Maybe this could even be generalized to support the ability to map an application to any number of modules (whether that be multiple clusters, multiple servers, and/or a cluster and a web-server).  I think this is subtly different than the multiple deploy target support because, in this case, you are mapping an application to multiple modules on the same deployment manager.

If server1 and server2 belongs to clusterA, why don't deploy to clusterA instead?

I just got your idea. I didn't realize there're cases that you have to specify the webserver when deploying apps. I just need to select the correct cell and cluster, then the apps are available thru IHS on port 80/443. You might want to switch to this approach.

We have made the following change to support mapping all webservers:
if "" != cluster:
                cell = AdminControl.getCell()
                serverMapping = 'WebSphere:cell=' + cell + ',cluster=' + cluster
                unmanagedNodeNames = AdminTask.listUnmanagedNodes().splitlines()
                for unmanagedNodeName in unmanagedNodeNames:
                    webservers = AdminTask.listServers('[-serverType WEB_SERVER -nodeName ' + unmanagedNodeName + ']').splitlines()
                    for webserver in webservers:
                        webserverName = AdminConfig.showAttribute(webserver, 'name')
                        serverMapping = serverMapping + '+WebSphere:cell=' + cell + ',node=' + unmanagedNodeName + ',server=' + webserverName
                options += ['-cluster', cluster, '-MapModulesToServers', [['.*','.*', serverMapping]]]

Also, the server argument should not be part of the install options for cluster installs, since the servers in the cluster propably have different names, eg. server1, server2, server3. However, it is propbably just ignored by wsadmin:
        options = ['-deployws', '-distributeApp', '-appname', applicationName]

Yes, it make sense that you could have different names for the application servers in the same cluster.
I'm glad that your script meets your requirement, do you have a fully working script? So that I can test if it's compatible with the non-portal version.

Our script has several changes to support our multi server portal clusters. You can find it over here --> https://github.com/mortench3000/was-maven-plugin/blob/feature/improved-cluster-mgmnt/src/main/resources/jython/websphere.py

:+1:  to @mortench3000 's note about the server option in a cluster deploy.  I had this same confusion as it seemed like the server arg was required, but it didn't really make sense.  I got around this by just randomly picking the first server in the cluster and naming that in the server argument.....not sure if there are "gotchas" with this approach?  Either way, its seems kinda goofy.

I just got your idea. I didn't realize there're cases that you have to specify the webserver when deploying apps. I just need to select the correct cell and cluster, then the apps are available thru IHS on port 80/443. You might want to switch to this approach.

Not totally sure I follow.  Are you setting some kind of special configuration on the IHS plugin in WAS?  Any chance you have any reference on how to do this?  I've always had to "apply" the application to multiple modules (as described above)....but I'm not a WAS admin expert my any means!

I see cases that you will not always bind the app to all web servers, so I made you to put the name of web servers in configurations.

@sparty02 'the other approach' is to manually edit the plug-in.xml. It's dirty, but we use a lot, as there're too many url patterns that need to be routed to WAS for an application whose context path is "/".
I added an extra param webservers to hold the web server names, comma separated.

BTW, it's in 1.1.1, and I removed an deploy option: -deployws, if you do have old soap based webservices, you'll have to add it back in deployOptions

@orctom Great!  I'll give it a shot now and let you know....

@orctom Worked great the first try!  Thanks!!

Thank you!


"Set Default Access Tier..." is not translated yet

Related to #1537
Although we added a "..." to set default access tier, for all languages the string is english:

New string. On translation now.
File: loc\en\src\Standalone\resources\Azure.json
ID: 0; "ActionSetDefaultAccessTier"
SRC: Set Default Access Tier...

This issue has been fixed on build 20191010.13. So we close it.