Helm does not handle duplicate volume mount names; only the last defined volume mount is used

What happened?
When deploying a Helm chart that defines multiple volume mounts with the same mountPath, Kubernetes applies only the last defined volume mount to that path. Helm does not currently detect or warn about these conflicts during the template rendering phase.
What you expected to happen?
Helm should detect when multiple volume mounts are defined with the same mountPath and raise a warning or error. This would help prevent configuration conflicts and ensure the deployment behaves as expected.
How to reproduce it (as minimally and precisely as possible)?

Create a Helm chart with a pod specification that defines multiple volume mounts with the same mountPath.
Deploy the chart to a Kubernetes cluster.
Observe that Kubernetes only applies the last volume mount defined for the conflicting mountPath.

Example:
apiVersion: v1
kind: Pod
metadata:
  name: my-test-pod
spec:
  containers:
  - name: test-container
    image: nginx
    volumeMounts:
    - name: config-volume
      mountPath: /app/config    # First volume mount with /app/config
    - name: secrets-volume
      mountPath: /app/config    # Second volume mount with the same path /app/config (this will cause a conflict)
  volumes:
  - name: config-volume
    configMap:
      name: config
  - name: secrets-volume
    secret:
      secretName: secrets

Output of helm template . on chart/: no error
Output of kubectl apply -f deployment.yaml: The Pod "my-test-pod" is invalid: spec.containers[0].volumeMounts[1].mountPath: Invalid value: "/app/config": must be unique
Output of helm version: version.BuildInfo{Version:"v3.12.3", GitCommit:"3a31588ad33fe3b89af5a2a54ee1d25bfe6eaa5e", GitTreeState:"clean", GoVersion:"go1.20.7"}
Output of kubectl version:Client Version: v1.29.3
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.2
I would like to work on a solution for this issue. If possible, could someone assign this issue to me? I am interested in contributing a fix and would appreciate any guidance or pointers to the relevant parts of the codebase.

This is Kubernetes validation logic (ultimately). Helm doesn't (attempt to) encode Kubernetes business logic rules.
You can e.g. helm template | kubectl apply --dry-run=server -f - to have Kubernetes apply these validations.

I missed saying about, that helm install should be displaying a warning from the API server. That while the yaml is well formed, there is a higher level warning.
There is also the fact that Helm is still using client-side apply. And Kubernetes APIs recently changed to avoid some validations with client-side validation https://github.com/helm/helm/issues/13053 unfortunately. Which may be playing a part here. We have a proposal to switch to server-side apply: https://github.com/helm/community/pull/312

Thank you for the clarification and insights @gjenkins8. I understand that Helm is focused on templating and does not handle Kubernetes-specific business logic validations, which are instead managed by the API server during deployment.
I appreciate the suggestion to use helm template | kubectl apply --dry-run=server -f - for catching such errors at an earlier stage. I see now that this workflow aligns better with the intended separation of responsibilities between Helm and Kubernetes.
While I see the reasoning, I do think it would improve user experience if Helm could optionally perform server-side validation checks or display warnings when configurations may conflict at the Kubernetes level, similar to what has been discussed in the context of moving towards server-side apply.
For now, I will close this issue since it seems Helm's behavior is consistent with its design philosophy. However, I'd be happy to contribute to any discussions or enhancements around this area in the future.
Thank you again for the guidance!

Thank you for the clarification and insights @gjenkins8. I understand that Helm is focused on templating and does not handle Kubernetes-specific business logic validations, which are instead managed by the API server during deployment.
I appreciate the suggestion to use helm template | kubectl apply --dry-run=server -f - for catching such errors at an earlier stage. I see now that this workflow aligns better with the intended separation of responsibilities between Helm and Kubernetes.
While I see the reasoning, I do think it would improve user experience if Helm could optionally perform server-side validation checks or display warnings when configurations may conflict at the Kubernetes level, similar to what has been discussed in the context of moving towards server-side apply.
For now, I will close this issue since it seems Helm's behavior is consistent with its design philosophy. However, I'd be happy to contribute to any discussions or enhancements around this area in the future.
Thank you again for the guidance!


Normal map support

Hello there,
Thanks a lot for making penumbra! I know this project is not very active at the moment. I just wanted to know whether penumbra supports normal maps in any way.
I can't understand how this works enough to know whether it would be possible or not. I would be willing to implement whatever is missing for supporting normal maps, but I would probably need a nudge towards the right thing to study/research.
Thank you!

"Normal Maps?" As in orthogonal?


Feature cp<PHONE_NUMBER>869 option 2

Please disregard this PR, it is posted to help compare ways forward for CP-100, and to confirm CI would pass.


[Bug/Glitch]

Legacy4J Version
1.20.4
Mod Loader Version
Forge
Bug/Glitch Occurrence Context
So i was just playing minecraft then suddenly the game crashed
and i cannot start the game again
I HAVE NO OTHER MODS INSTALLED besides legacy4J.
-- System Details --
Details:
Minecraft Version: 1.20.4
Minecraft Version ID: 1.20.4
Operating System: Windows 10 (amd64) version 10.0
Java Version: 17.0.8, Microsoft
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft
Memory: 296900480 bytes (283 MiB) / 805306368 bytes (768 MiB) up to<PHONE_NUMBER> bytes (3008 MiB)
CPUs: 12
Processor Vendor: AuthenticAMD
Processor Name: AMD Ryzen 5 5600G with Radeon Graphics
Identifier: AuthenticAMD Family 25 Model 80 Stepping 0
Microarchitecture: Zen 3
Frequency (GHz): 4.20
Number of physical packages: 1
Number of physical CPUs: 6
Number of logical CPUs: 12
Graphics card #0 name: NVIDIA GeForce GTX 1650
Graphics card #0 vendor: NVIDIA (0x10de)
Graphics card #0 VRAM (MB): 4095.00
Graphics card #0 deviceId: 0x1f0a
Graphics card #0 versionInfo: DriverVersion=<IP_ADDRESS>70
Memory slot #0 capacity (MB): 16384.00
Memory slot #0 clockSpeed (GHz): 3.20
Memory slot #0 type: DDR4
Memory slot #1 capacity (MB): 8192.00
Memory slot #1 clockSpeed (GHz): 3.20
Memory slot #1 type: DDR4
Virtual memory max (MB): 24366.74
Virtual memory used (MB): 16318.29
Swap memory total (MB): 0.00
Swap memory used (MB): 0.00
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx3000M -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Launched Version: Forge 1.20.4
Launcher name: minecraft-launcher
Backend library: LWJGL version 3.3.2+13
Backend API: NVIDIA GeForce GTX 1650/PCIe/SSE2 GL version 4.6.0 NVIDIA 560.70, NVIDIA Corporation
Window size: 1280x720
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'forge'
Universe: 400921fb54442d18
Type: Client (map_client.txt)
Graphics mode: fancy
Render Distance: 9/9 chunks
Resource Packs:
Current Language: en_US
Locale: en_GB
CPU: 12x AMD Ryzen 5 5600G with Radeon Graphics
ModLauncher: 10.1.2
ModLauncher launch target: forge_client
ModLauncher naming: srg
ModLauncher services:
/ slf4jfixer PLUGINSERVICE
/ runtimedistcleaner PLUGINSERVICE
/ runtime_enum_extender PLUGINSERVICE
/ object_holder_definalize PLUGINSERVICE
/ capability_token_subclass PLUGINSERVICE
/ accesstransformer PLUGINSERVICE
/ eventbus PLUGINSERVICE
/ mixin PLUGINSERVICE
/ fml TRANSFORMATIONSERVICE
/ mixin TRANSFORMATIONSERVICE
FML Language Providers:
<EMAIL_ADDRESS>lowcodefml@49
<EMAIL_ADDRESS>Mod List:
forge-1.20.4-49.1.0-client.jar                    |Minecraft                     |minecraft                     |1.20.4              |ENQUEUE_IM|Manifest: NOSIGNATURE
OldCombatMod_1.20.X.jar                           |Old Combat Mod                |old_combat_mod                |1.1                 |ENQUEUE_IM|Manifest: NOSIGNATURE
Legacy4J-1.20.4-1.7.2-forge.jar                   |Legacy4J                      |legacy                        |1.7.2               |ENQUEUE_IM|Manifest: NOSIGNATURE
forge-1.20.4-49.1.0-universal.jar                 |Forge                         |forge                         |49.1.0              |ENQUEUE_IM|Manifest: NOSIGNATURE
worldedit-mod-7.3.0.jar                           |WorldEdit                     |worldedit                     |7.3.0+6678-55745ad  |ENQUEUE_IM|Manifest: NOSIGNATURE
architectury-11.1.17-minecraftforge.jar           |Architectury                  |architectury                  |11.1.17             |ENQUEUE_IM|Manifest: NOSIGNATURE
Crash Report UUID: d7d815ab-3647-4639-81b1-f450b3b8721a
FML: 0.0
Forge: net.minecraftforge:49.1.0
Crash Report
No response
What happened wrong?
crash

this is not a crash log, and you haven't formatted it properly. please just use mclo.gs

This issue was made incorrectly, the crash report should have been posted in the correct place, and to make matters worse, there is nothing indicating a crash in this log


Forcing recomputation of graph expressions

We are using graph editor to rewrite the graph. It seems that there's some kind of caching going on, so that rewiring the graph after first session.run call has limited effect.
Using OptimizerOptions.L0 when creating session does not prevent this caching.
It would be nice to have a way to force TF_Run run exactly the graph given to it by TF_ExtendGraph, rather than returning some internally cached result.
This is similar to https://github.com/tensorflow/tensorflow/issues/6804 where Defun definitions are frozen at first session.run call
Here's an example, we rewrite the graph to have "v2" use same initializer op as "v1". This has different effect depending on whether rewiring happens before or after first session.run call
@purpledog have you seen something like this?
tf.reset_default_graph()
v1 = tf.Variable([1. ,2. ,3.])
v2 = tf.Variable([9., 9., 9.])
config = tf.ConfigProto(graph_options=tf.GraphOptions(optimizer_options=tf.OptimizerOptions(opt_level=tf.OptimizerOptions.L0)))
sess = tf.Session(config=config)
# uncommenting this changes final print from [1, 2, 3] to [9, 9, 9]
# sess.run(tf.constant(1))

ge.reroute_a2b_ts(v1.initial_value, v2.initial_value)
tf.get_default_graph()._version+=1   # make sure TF_ExtendGraph gets called

sess.run(v2.initializer)
print(sess.run(v2))

TF_ExtendGraph can only add ops to an existing graph (by design, hence the name).  If you modify existing ops in the graphdef which has been used in a session this will have no effect.
The only way I know to achieve this is to make a new session using the modified graph.
@mmry  Is this correct?

Yes, that's correct. tf.contrib.graph_editor doesn't work on graphs that have already been used in a tf.Session.

Good point.
Also, I've just checked the updated Graph Editor guide and it does indeed specify that it must be used without any active sessions, thanks for clarification.


Could not load update in dev client due to 'failed to load all assets' error

Build/Submit details page URL
https://expo.dev/accounts/read-o/projects/read-o-dev
Summary
I'm in the process of migrating to eas update from expo publish.
I've created a new dev client build and try to load an version from update server.
No matter what I try, I always get Could not load the app: Failed to load all assets error.
Managed or bare?
bare
Environment
expo-env-info 1.2.0 environment info:
System:
OS: macOS 14.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.19.0 - ~/Library/Caches/fnm_multishells/67017_1706628327511/bin/node
Yarn: 1.22.21 - ~/Library/Caches/fnm_multishells/67017_1706628327511/bin/yarn
npm: 10.4.0 - ~/Library/Caches/fnm_multishells/67017_1706628327511/bin/npm
Managers:
CocoaPods: 1.14.3 - /opt/homebrew/lib/ruby/gems/3.3.0/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 23.2, iOS 17.2, macOS 14.2, tvOS 17.2, visionOS 1.0, watchOS 10.2
IDEs:
Android Studio: 2023.1 AI-231.9392.1.2311.11330709
Xcode: 15.2/15C500b - /usr/bin/xcodebuild
npmPackages:
expo: ^50.0.4 => 50.0.4
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.73.2 => 0.73.2
react-native-web: ~0.19.6 => 0.19.10
npmGlobalPackages:
eas-cli: 7.1.1
Expo Workflow: bare
npx expo-doctor

✔ Check Expo config for common issues
✖ Check package.json for common issues
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✔ Check npm/ yarn versions
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check that packages match versions required by installed Expo SDK
✔ Check that native modules do not use incompatible support packages
✔ Check for legacy global CLI installed locally
✔ Check that native modules use compatible support package versions for installed Expo SDK
Detailed check results:
The following scripts in package.json conflict with the contents of node_modules/.bin: patch-package.
One or more checks failed, indicating possible issues with the project.
Error output
No response
Reproducible demo or steps to reproduce from a blank project

Follow migration instructions for eas update
try loading a version in dev client

After some investigation of the bundle, I've notices that /fonts are missing (as well as /locales), although they're present in the assetBundlePattern
 assetBundlePatterns: [
    'src/assets/animations/**/*',
    'src/assets/fonts/**/*',
    'src/assets/icons/**/*',
    'src/assets/img/**/*',
    'src/assets/legal/**/*',
    'src/assets/locales/**/*',
    'src/assets/tags/**/*',
    'src/assets/videos/**/*',
  ],

bundle export
Exporting 31 assets:
<EMAIL_ADDRESS>(913 B)
<EMAIL_ADDRESS>(10 variations | 338 B)
src/assets/icons/icons.ttf (23.2 kB)
src/assets/img/affiliate/buy-amazon.png (14.9 kB)
src/assets/img/affiliate/buy-genialokal.png (11.8 kB)
src/assets/img/affiliate/buy-rebuy.png (8.07 kB)
src/assets/img/affiliate/buy-thalia.png (11 kB)
src/assets/img/brush_logo.png (89.7 kB)
src/assets/img/chatGptIcon.png (2.35 kB)
src/assets/img/favicon.png (149 kB)
src/assets/img/iphone_frame.png (85.1 kB)
src/assets/img/onboardingBackground.png (47.8 kB)
src/assets/img/santa_hat.png (2.52 kB)
src/assets/img/team-img.png (386 kB)
src/assets/img/trees.svg (165 kB)
src/assets/legal/imprint.html (1.06 kB)
src/assets/legal/privacy.html (63.8 kB)
src/assets/legal/terms.html (20.8 kB)
src/assets/videos/onboardingBuddyreads.mp4 (2.39 MB)
src/assets/videos/onboardingLibrary.mp4 (2.98 MB)
src/assets/videos/onboardingSuggestions.mp4 (2.92 MB)
src/assets/videos/onboardingTracking.mp4 (1.89 MB)

Exporting 1 bundle for ios:
_expo/static/js/ios/index-960785ecd0e0361020cf6e9b46a5bd41.hbc (9.27 MB)

Exporting 1 bundle for android:
_expo/static/js/android/index-424aa4e8ee90128a5b70955f03cec87a.hbc (9.28 MB)

Exporting 1 file:
metadata.json (3.52 kB)

App exported to: dist

Downgraded to v49 and now the bundle includes all assets. Still get the same error though

Here's the error log from when I try to load a dev build onto the devClient
[READODev] 🟠 {"message":"File download was successful but base64url-encoded SHA-256 did not match expected; expected:
VOki5d1tvXEM0QWRtpzldPx2SmeNAVDJWNVDeBCsU9U; actual:
gFgNEegMTuQ4Kf2KRcQ6C0UjIRwbhmadCE7MS794nhE","code":"AssetsFailedToLoad","level":"error","stacktrace":["READODev
0x0000000102c7a9b0 $s9EXUpdates13UpdatesLoggerC5error7message4code8updateId05assetH0ySS_AA0B9ErrorCodeOSSSgAKtF + 160","READODev
0x0000000102c7a904 $s9EXUpdates13UpdatesLoggerC5error7message4codeySS_AA0B9ErrorCodeOtF + 72","READODev
0x0000000102c1d2ac
$s9EXUpdates14FileDownloaderC08downloadB07fromURL13verifyingHash6toPath12extraHeaders12successBlock05errorN0y10Foundation0F0V_SSSgSSSDySSypGyAK4DataV_So13NSURLResponseCSStcys5Error_pctFyAQSg_AStcfU_
+ 1536","READODev                            0x0000000102c1dc90
$s9EXUpdates14FileDownloaderC08downloadB07fromURL13verifyingHash6toPath12extraHeaders12successBlock05errorN0y10Foundation0F0V_SSSgSSSDySSypGyAK<…>

I could pinpoint the issue down to importing html files.
I've tried to add html to the metro config.resolver.assetsExt but no luck


Possible regression in the atom/bond highlighting code

Describe the bug
The highlighting code seems to misbehave when computing certain highlight radii.
To Reproduce
I tried to reproduce this example from a 2020 blog post by Greg.
from rdkit import Chem
from rdkit.Chem.Draw import IPythonConsole, rdMolDraw2D
from IPython.display import HTML, SVG
from collections import defaultdict

chembl2314369=Chem.MolFromSmiles('N#CC(C#N)=C1C(=O)c2cccc3cccc1c23')
rings = chembl2314369.GetRingInfo()

colors = [(0.8,0.0,0.8),(0.8,0.8,0),(0,0.8,0.8),(0,0,0.8)]

athighlights = defaultdict(list)
arads = {}
for i,rng in enumerate(rings.AtomRings()):
    for aid in rng:
        athighlights[aid].append(colors[i])
        arads[aid] = 0.3

bndhighlights = defaultdict(list)
for i,rng in enumerate(rings.BondRings()):
    for bid in rng:
        bndhighlights[bid].append(colors[i])

d2d = rdMolDraw2D.MolDraw2DSVG(400,400)
d2d.DrawMoleculeWithHighlights(chembl2314369,'CHEMBL2314369',dict(athighlights),dict(bndhighlights),arads,{})
d2d.FinishDrawing()
SVG(d2d.GetDrawingText())

and I get this:

Some of the highlighting radii are extremely bloated for no obvious reason.
This can be reproduced in both 2022.09.3 released code and in current master.
Expected behavior
The blog post shows that I should rather be getting this:

However, setting
d2d.drawOptions().fillHighlights = False

yields the expected result:

Hi @ptosco.  I expect this is the same as #6194.  I think I know what the problem is, and it should be a simple fix.  It does suggest that the tests for the multi-highlighting code isn't very good, as this has probably been extant for 6 months at least.  I will speak severely to the person responsible!  I should have a fix in a few days.

Thanks @DavidACosgrove! And don't be too harsh with the responsible, I know him and he is a good lad.


Sidecar should implement everything Elixir would need for new Identity design

Part of https://github.com/build-trust/ockam/issues/5543

Sidecar is deleted in favor of rustler


Use async/await and class for lol-file-parser

lol-file-parser has updated to use class and promise.

Thanks for this, will create a new release later today with the change.


ValueError: There is not enough capacity to cover update_horizon and stack_size.

Hello,
I got an un-explainable issue related to dopamine
My current setup for infrastructure is T4 - 70GB memory with minimizing configurations (Less than 10 for almost every parameter).
Here is an issue:
ValueError: There is not enough capacity to cover update_horizon and stack_size.
  In call to configurable 'WrappedPrioritizedReplayBuffer' (<function WrappedPrioritizedReplayBuffer.__init__ at 0x7f75fcab5510>)
  In call to configurable 'DQNAgent' (<function DQNAgent.__init__ at 0x7f75fca9ebf8>)
  In call to configurable 'RainbowAgent' (<function RainbowAgent.__init__ at 0x7f75fcaa1a60>)
  In call to configurable 'create_agent' (<function create_agent at 0x7f75fcaa16a8>)
  In call to configurable 'Runner' (<function Runner.__init__ at 0x7f75fc9fc8c8>)
  In call to configurable 'create_runner' (<function create_runner at 0x7f75fc9fc730>)

What I understand is that there isn't enough memory. I test this hypothesis by a simple starting experiment. Nonetheless, it still yields the same error.
Any comment would be very helpful. Thanks

Hi,
This is coming from here:
https://github.com/google/dopamine/blob/master/dopamine/replay_memory/circular_replay_buffer.py#L140
The issue is that you are trying to use a replay memory which has small capacity. What did you set this parameter to? Was there a reason for using a small replay memory? 70Gb should easily allow for replay_capacity=1000000 even for Atari.


ios input键盘类型建议增加纯数字键盘UIKeyboardTypeNumberPad

ios input键盘类型现在选择number，实际用的UIKeyboardTypeDecimalPad键盘，这个是带小数点的键盘，建议改成UIKeyboardTypeNumberPad，同时增加decimal类型，选中UIKeyboardTypeDecimalPad，这条建议没怎么考虑三端兼容性

This PR/issue doesn't received response since Weex migrated to Apache two years ago and this repository is no longer active yet.
Feel free to ask question in new repository and thanks for your contribution.

This issue is outdated for a long time and will be closed now. You can create a new one if you still have questions.


Flow emulator - emit log on "started" state

Currently, the flow emulator only emits logs when it's in the "starting" state and when it transitions from "starting" to the "error" state. There is missing a log output when the emulator transitions from "starting" to "running" state.
This problem complicates logic in the Flow emulator service because we can't reliably and exactly tell if the emulator has indeed started and is running successfully (i.e. no error has occurred - such as port already in use error).
https://github.com/onflowser/flowser/blob/dd87854499aee7f13e1c981cd82f96dea2dcdac7/backend/src/flow/services/flow-emulator.service.ts#L77-L84

Closing this since https://github.com/onflowser/flowser/pull/117


Creating Main Menu UI

This issue contains the next discussion for planning the next steps of the main menu (including the settings)
The main document to work with is here: https://github.com/inexorgame/inexor-core/wiki/Main-Menu-UI.
To contribute, please discuss your concerns or questions here in this issue. Otherwise you can add your ideas.
Current tasks:

[ ] Define what pages/menus we need

[x] Create a rough outline of contents and actions for each page

[ ] Define how navigation around the menus works

[ ] Is there one main menu where you can get to the other pages, or is it always visible?
[x] Create sketches of main menu layouts and alternatives

[ ] Define design (look and feel)

[ ] How components (buttons, switches, sliders) look like
[ ] How interaction with the menu works (mouse? keyboard?)
[ ] How menus blend from one into another (motion design)
[ ] Which layouts do we use?

[ ] Guided onboarding experience (first time visiting)

[ ] Get started quickly with the way users interact with the game
[ ] Empty states with actionable navigation (no profile created - create one now)

[ ] Define how users can interact with other users outside servers and outside the game

[ ] What pages do they have?
[ ] How do they interact with others if they have no account/profile?
[ ] In what parts of the game do they access these pages?
[ ] What are the workflows to publish/download/share?

[ ] User Profile

[ ] How do they create their own profile? (What is the minimum information required for authentication)

[ ] What other services do we integrate with for single sign on? Google? Twitter? Github?

[ ] What information can they provide?

Roadmap:

[ ] Define roughly which contents we need to display
[ ] Create a hierarchy of content to define which menus are required
[ ] Define a concept for design based on the content
[ ] Create a rough outline/sketch of the different layouts and design implementation to give an idea how the end result might look like.
[ ] Settle on a technology stack and libraries for a first implementation
[ ] Prepare the components for the UI (buttons, sliders, menus)
[ ] Integrate with Inexor Flex to make syncing of settings functional
[ ] Create and use artwork to beautify the menus: Logos, Icons, Videos.

Thank you for moving to do lists out from the wiki.

First feedback is welcome. I'm trying to create concepts for the main menu and multiplayer.
The sketches only denote how layout and functionality might look like, no design details.
Main Menu

In the sketch below, every section gets its preview of subsections.
E.g. recently played servers in Multiplayer, or if not yet played, a few recommendations.
Or recently created Community content and a button to explore more.
Or for singleplayer, the latest savegame or next mission/tutorial to play.

This also has a few disadvantages. Users do not know whether or not they can click on the heading of each card, or if this is everything, this might be counter-intuitive especially for the settings section. Which multiplayer for instance includes a "browse all servers" button.

Multiplayer

Below is an early draft of how the server browser may look like.

I like the sketches :)
Main Menu

Users do not know whether or not they can click on the heading of each card

One solution to avoid this could be to only make the tile selectable in the front page and not its contents. So after selecting the tile the new window opens and one can do the specific actions there.
Okay, so Account is for selecting the name/playermodel/.. settings which get shared with other players when playing, while Community means Content Hub and social network? Is there a different account for social network? (I'd suggest no, since it shouldn't be Facebook, but just allow a minimum steam-like featurebase plus maybe a news feeds.)
Report a bug transports the message "this might not be stable" really well :smile:
I hope it does not encourage people to assume they have no right or responsibility to search for the solution themselves, too.
Should we maybe put Multiplayer at the top, to give it the main position?
Reason: Multiplayer is currently our top priority. I think Mission could be an addition somewhen, but even then I think we should encourage to play cooperatively. Currently all singleplayer functionality is removed. It was very simplistic, but obfuscated the whole C++ codebase with different execution paths. The new design (thanks to inexor flex's "instances"-concept) always spawns a server in the background and "offline" playing means playing on the local server. (That game events got synchronized just when playing specific gamemodes did not make sense to me.) The direction is towards cooperative missions I'd say.
Should we maybe even go as far as hiding the option to play alone? :) So players are a bit forced to try to play cooperatively first?
I see that the tiles would not look as well arranged as they do in your sketch when moving "Multiplayer" to the top :D maybe we could split "Multiplayer" up or make the UI hookable for modules? So one person could add a "favorite server" section while the other has a "lastly edited maps" section in the main menu page after downloading an UI addon? (Hm, the problem whether the tiles should have individually clickable content arises here again..)
Serverbrowser
Very cool! Really good solution especially for seeing who is playing on a particular server.
Once I made a mod which had a server preview. It appeared as extra menu after selecting a server. After seeing the scoreboard one could choose whether to connect to the server or not. Looking back I think this had some flaws in regards of steering the user to do the thing we want him to. Firstly I often didn't join a server, since I already knew everything happening there and was only connecting if it was really appealing to me, which was manifesting habits. Secondly most of the time the relevant piece of information was "is someone playing I know"/"are enough players of another clan playing to ask for a war"/"..for a duel" or such stuff.
Therefore I think your solution to list the players when hovering the server-tile is a better approach (No extra menu, not too much information)
I think people would love it if we could make it adjustable which list to show by default (favorites, clan, friends, all).
Is clan showing your currently online clan mates, or all clan players currently playing? Or the servers they play? Is it somewhat related to Community then? Would it make sense to split the Community menu into the Content Hub part, the news feed part and the Social part (aka "is there anyone to play with me")?
My two cents contain some not too thought-through ideas, so finding solutions for all that isn't the target :D I like the concepts :) This is really a major upgrade to the old UI design!

Thanks for the feedback. I very much appreciate it.
Main Menu
The idea was to support having quick access to relevant information - e.g. your first three favorite servers you can quickly connect to, without needing to browse. Or if you are new and have no favorites - show the most played or random servers with players.
Since we also want a match-making service, this could be the best place to offer a "quick play" button or similar.
Of course, every tile would be clickable either through the heading. I just fear that people do not realize that, hence I added a "browse all servers" button, so you still know that you can get there.
Customizing
You could customize each tile by setting e.g. "show me favorite servers" or "show me most empty/full servers" + Amount.
Account
Maybe we can find a better naming for this.
I'm trying to bring two concepts or two kinds of players together in one.
One is being a player without an account, but still having basic information attached to (e.g Name and Playermodel) and read-only access to community (can download content, can see communities).
The other one has an account and has writing access to the community (can publish/share content, can join clans, can have a public profile page, etc)
Some features like setting a name, playermodel or faving a server can be possible for both player types. The only difference is, that the information is stored locally on the computer instead of our databases.
So, maybe a better wording could be "Player" or "You" or "Profile"
I tried to write down most of these aspects at the Game Community feature page.
Community
My first intention was to put content created by the community here, but we might as well display communities (clans) there. Also, if you are in one or multiple clans, you could quickly see who is online. This could also be a great place to stick clan news there.
Maybe we can split this into two. One is for global community stuff (content, organized events like leagues) and one for local community (clan).
When you are not part of a clan, you could allow users to explore existing clans.
Mission
Yes I agree - this should not be the most prominent part of the game. Mission is also the wrong wording here I assume. I wanted to avoid saying "Singleplayer". I think it is very preferable to get a first time lesson to get an overview for the features of the game. Factorio does a great job of having ingame tutorials. You can pick from a library of tutorials, where you are put in a separate world with an interactive guide to learn a specific task. This is related to #257.
However, this part of the menu also combines two things. One is content you can play alone (e.g. missions) and one is to learn new things.
We could either split this into two, or have the first-time tutorial there, when you are new. Otherwise, if you finished it, you can choose from content to play alone (as the tiles main action). Of course, you can always skip to any specific content by clicking on "mission" (or whatever we call it) directly.
I love where this is going, we have yet to define many details of how we want players to interact with the game :)

Hm, when a player opens "Community" they would do it because of independent reasons (same for account).

One reason is to find someone to play with/find the part of the game of interest. (socializing)
Second reason is to create content/see how others liked your content. (socializing, too. Maybe different form)
Third reason is to have news: find out about new parts of the game (i.e. content), read feeds.. (curiosity)

Sorry for duplicating that, I see you have written it similarly in the wiki.
It is important to me that we find the right balance between socializing and curiosity. We want people to be open to new stuff. How could we subtly encourage them to do that? I'll open another issue later whether we want to steer that and if yes in which dimension.

Of course, every tile would be clickable either through the heading. I just fear that people do not realize that, hence I added a "browse all servers" button, so you still know that you can get there.

I fear the same :D
I think expressiveness should win over time optimization here? I.e. allowing "the quickest way for different people" could be handled by allowing the UI to have addons.
What I had in mind is the bridge towards #342: I see this issue here as good summary for what #342 should make possible.
I posted a note on #257 that it is imo not the only way to let people train offline first.

I took some time to find out what the relations are of the different contents we provide within the UI.
Blue: Objects
Yellow: Properties
Red: Computed properties

Those are very conceptual. We might not be able to track how many times a map has been played on a server, but this is information we could provide.
At the top, you have the main objects (not a full list).
As you can see, for content circulation, it is easy to link from one page to another by letting the user explore the different contents that are linked. This way - exploration never ends.
Having a rough overview of the different properties of the different related objects, we can prioritize what information to show for each linked object and which actions to show.
This way to organize content acts as an information architecturing framework.
I will later on work out the finer details to prepare for how to display the contents.


Document the successful BAF Corda network verification steps

Description
As a operator I want to have a documented BAF Corda network verification guide, calling out various steps to confirm the successful network deployment using BAF.
Acceptance Criteria

A Page under operations guide: "Verify that Corda DLT network is working"

Verify that the R3-Corda network is working

You need to verify that the network is successfully configured as mentioned in setting_dlt.md.
Check if all nodes are running: kubectl get pods -A
Verify that all the nodes are shown in the network map by going to the URL specified in the network.yaml.
Check Corda status: kubectl logs  -n  -c corda-node
Check Corda logging: kubectl logs  -n  -c corda-logs

Adding the above instructions to a new .md file including with screenshots and/or output.

Please review this file: https://github.com/jwavoetacn/blockchain-automation-framework/blob/feature/883-r3-corda-checks/docs/source/operations/baf_verify.md

Please review this file: https://github.com/jwavoetacn/blockchain-automation-framework/blob/feature/883-r3-corda-checks/docs/source/operations/baf_verify.md


Don't register tasks if they can't be used.

Resolves https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/issues/463.

The test failures appear to be of this nature:
expected   : [ComprehensiveAdvice(projectPath=:, dependencyAdvice=[], pluginAdvice=[], shouldFail=false), ComprehensiveAdvice(projectPath=:app, dependencyAdvice=[Advice(dependency=:lib, usedTransitiveDependencies=[], parents=null, fromConfiguration=implementation, toConfiguration=null)], pluginAdvice=[], shouldFail=false), ComprehensiveAdvice(projectPath=:lib, dependencyAdvice=[], pluginAdvice=[], shouldFail=false)] |

but was    : [ComprehensiveAdvice(projectPath=:app, dependencyAdvice=[Advice(dependency=:lib, usedTransitiveDependencies=[], parents=null, fromConfiguration=implementation, toConfiguration=null)], pluginAdvice=[], shouldFail=false), ComprehensiveAdvice(projectPath=:lib, dependencyAdvice=[], pluginAdvice=[], shouldFail=false)] |

Where the actual advice under this PR is now missing this:
ComprehensiveAdvice(projectPath=:, dependencyAdvice=[], pluginAdvice=[], shouldFail=false)
This makes sense, since I no longer configure tasks on the root project if it has no plugins applied (like java-library, kotlin, android, etc). On the one hand, this is definitely a win, since it means the plugin is doing less work. On the other, nearly 200 tests need to be updated 😭

This was merged.


Updating a route's URL doesn't delete old resource

When I update a route's URL, the old resource (for the old URL) is not deleted.
This might be a hard-to-solve issue - maybe save a local cache of function/URL mapping, and when the URL changes (assuming function name stays the same), chalice deploy will delete the old resources.

I think I see the issue.  The internals recently changed to first generate a swagger API and then import/update the api gateway API (as opposed to making individual API calls for each route).
The default setting is merge for put_rest_api, but it needs to be overwrite.  Should be a quick fix  Thanks for reporting.


Other ways to trigger dropdown's onChange? It does not fire with 'set selected'

I have a simple setup like
$element.dropdown({
  fullTextSearch: true,
  onChange: function() {}
})

and then have an ajax on at the end to pre-fill it
$.ajax({
 // settings here
})
.done(
  // iterate results and made
text here
 with it
  // and added it using .html()

  $element
    .dropdown('set selected', 'defaultValue
)

onChange does not fire when doing that. Tried putting it insde setTimeout and still not working.
BUT it does work when manually clicking or doing it from the console like $element.dropdown('set selected', 'otherValue')
I can see the defaultValue being selected but it's just the event onChange not firing.
tried doing .find() and .trigger('change' on the hidden input but not luck. even triggering change from the dropdown itself.

Hi @xxRockOnxx, when it’s done() and you populated it with options, try executing the $el.dropdown('refresh') before selecting the default value, and please let me know if it helped:
$element
  .dropdown('refresh')
  .dropdown('set selected', defaultValue)

@Banandrew tried .dropdown('refresh') before asking thought it might help but unfortunately no.

I couldn’t reproduce: http://jsfiddle.net/Banandrew/arp7hs5j Maybe it’s a different use case, and I didn’t understand what you were trying to do, please provide a test case; you can fork this JSFiddle.

Here's the actual code and the difference between yours and mine is that I use html instead.

	Province

     	<input type="hidden" name="address[province]">

      	<input class="search" autocomplete="off" tabindex="0">

O.o well that's weird. Aside from I am really sure I tried adding .dropdown('refresh') before asking... I still tried again adding .dropdown('refresh') this time and it worked!
I guess this might be a cache problem but how? when I see the code on dev tools change.
Well, another mystery LOL but I should just be happy it worked now

@xxRockOnxx Glad you sorted it out, closing as resolved. 🍻

I think I found the cause of the problem in case other might experience the same issue as me.
There was a value attribute on the input itself. Might work if the value is not the same as the one you put in set selected. Doing set selected with the same value as the current one will not trigger a change.


Error when working with Alicloud RDS MySQL read/write proxy

I got such error when working with Alicloud RDS MySQL read/write proxy.

io.r2dbc.spi.R2dbcNonTransientResourceException: Unknown message header 0xe and readable bytes is 46 on command phase

r2dbc-mysql: 0.8.2.RELEASE
mysql: 5.6
Tcpdump file:
tcpdump.zip

     +-------------------------------------------------+
     |  0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f |

+--------+-------------------------------------------------+----------------+
|00000000| 01 00 00 01 04 17 00 00 02 03 64 65 66 00 00 00 |..........def...|
|00000010| 01 69 00 0c 2d 00 38 00 00 00 fd 00 00 1f 00 00 |.i..-.8.........|
|00000020| 17 00 00 03 03 64 65 66 00 00 00 01 76 00 0c 2d |.....def....v..-|
|00000030| 00 4c 00 00 00 fd 00 00 1f 00 00 17 00 00 04 03 |.L..............|
|00000040| 64 65 66 00 00 00 01 73 00 0c 2d 00 0c 00 00 00 |def....s..-.....|
|00000050| fd 00 00 1f 00 00 17 00 00 05 03 64 65 66 00 00 |...........def..|
|00000060| 00 01 74 00 0c 2d 00 18 00 00 00 fd 00 00 1f 00 |..t..-..........|
|00000070| 00 05 00 00 06 fe 00 00 02 00 2e 00 00 07 0e 52 |...............R|
|00000080| 45 41 44 2d 43 4f 4d 4d 49 54 54 45 44 13 53 6f |EAD-COMMITTED.So|
|00000090| 75 72 63 65 20 64 69 73 74 72 69 62 75 74 69 6f |urce distributio|
|000000a0| 6e 03 43 53 54 06 53 59 53 54 45 4d 05 00 00 08 |n.CST.SYSTEM....|
|000000b0| fe 00 00 02 00                                  |.....           |
+--------+-------------------------------------------------+----------------+

It maybe a bug of aliyun RDS proxy, and reported to them. Close this issue.


Make backends modular and add laserscan backend

made modular backends but will just continue to use pc-ls for now


Resizable regions handlers are too small

Hi !
DOM handlers for resizing regions are so small that they are quite impossible to catch. (Tried on annotation demo).
It could be interesting to have options available to change handlers width, max-width and color.

Yes, currently they are always 1% of the width of the region. Until we add an API to change their appearance, you can tweak it via CSS (use the selector .wavesurfer-handle).

Thanks for your answer !
For now I added some options to the region plugin (because I need other things to be adapt to suit my needs).
Anyway very good work on this plugin !
By the way you removed wavesurfer.markers... Because it's kind of duplicate with regions ?
Regards.

Thanks! Yes, a region with only a start position is the new marker.


3 months card expiration delay

Describe the bug
Today is December, if I add to the component expiration 9/22,10/22,11/22 component will evaluate card as not expire. We have 10% of our negative response codes Expired cards.
To Reproduce
Steps to reproduce the behavior:

Go to pay with card component or drop-in
Add expiration later than this month 9/22,10/22,11/22
It is evaluate as valid card
If you add 8/22 it evaluate as expired card
Expected behavior
If I add card expired before 12/22 it will evaluate as expired

Screenshots
If applicable, add screenshots to help explain your problem.

Hi @mahus1 - the card issuing schemes say that a card can still be considered valid, for a short period, even if it is expired. I believe this is for subscription type services where they don't want a payment to fail just because a shopper hasn't remembered to update their card details.
For this reason we allow cards to be up to 3 months out of date - and still be considered as valid


[Hotfix] Add ; at end of prune commands

Reviewer: @suzinyou
Estimate: 2 mins

Ticket
N/A
Description
Currently, multiple GHAs can ask the Compute Engine to execute a docker prune -f command.
If two such GHAs commands are executed concurrently, one of them will fail since a prune is already in progress. The ; allows subsequent commands to be executed in case a failure occurs. The failure is not consequential since a system-wide docker prune has already been initiated.

[ x] My code follows the style guidelines of this project
[ x] I have reviewed my own code to ensure good quality
[x ] I have tested the functionality of my code to ensure it works as intended
[ x] I have resolved merge conflicts

(Delete any items below that are not relevant)

[ ] I have updated the automated tests
[ ] I have updated the scripts in scripts/
[ ] I have updated the requirements
[ ] I have updated the README file
[ ] I have updated affected documentation
[ ] I have added a blogpost in Latest Updates
[ ] I have updated the CI/CD scripts in .github/workflows/
[ ] I have updated the Terraform code

Thank you!


File changes not detected on workspace located on non-system drive

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

VS Code Version: 1.74.0
OS Version: Xubuntu 22.04

Steps to Reproduce:

Create new git repo on ext4 drive
Create new git repo on xfs drive
Save file on ext4 drive's repo and note vscode picks up the changes on save
Save file on xfs drive's repo and note vscode does not pick up any changes until the refresh button in git is manually clicked

In this demonstration, the top part of the screen is an xfs ssd drive acting as a storage drive mounted to /mnt/storage and the project folder is in there. The bottom part of the screen is an ext4 m.2 drive which is also the system drive mounted at / and the open project is located at /home/brian/osxcross.

I was hesitant to file a bug because I was certain this was a problem with an older OS and a broken environment having upgraded Xubuntu several times over the years. However, this is now on a fresh install. If you're wondering why I'm manually doing File -> Save, it's because I had created a workaround by combining save file with git refresh binded to ctrl+s.

@realtux, thank you very much for filing the issue. The refresh operation of the "Source Control" view is driven by file-system events so what I am suspecting is that for some reason the file-system even is not getting triggered when using the xfs ssd drive. Could you please try the following steps:

Start VS Code and open the folder/workspace that contains the git repository
Open the command palette and invoke the "Development: Set Log Level..." command
Scroll down to the bottom and pick the "Git" extension, and se the log level to "trace"
Also enable logging for file-system events as described in this wiki.
No make a change to a file and go to File -> Save
Share the contents of the git output window
Share the console logs that were generated by the file watcher

I have some additional information on this issue. I decided to migrate my information and format my xfs drive as ext4 and then restore the data to its original location. To my surprise, this did not resolve the issue. I redid the test from above where everything is identical exception the location of the code. I'm starting to wonder if VS Code won't watch for file changes on a drive other than the system one where it is installed. I'm going to update the title to reflect that this is not an xfs issue anymore.

I'm starting to wonder if VS Code won't watch for file changes on a drive other than the system one where it is installed. I'm going to update the title to reflect that this is not an xfs issue anymore.

I do not believe that this is the case but it seems extremely weird that for one of the disks, no file-system events are being generated when you are making changes to the files. I am adding @bpasero to advise on how to investigate further as this seems like an issue related to file-system events and not per se.

I just resolved this by changing the ownership of the mount point for my second drive from root to my own user brian. I don't know why this fixes it since brian has full permissions to everything on the drive.
I don't know if this is a bug with VS Code or a dependency that deals with file watching.

We support file watching on drives, but it is possible that the file system on the drive is unsupported. We use this file watcher, maybe you can see to reproduce and report upstream?
https://github.com/parcel-bundler/watcher

Thanks for the reply, I will do further investigation and report findings to the appropriate place. This likely isn't a bug with VS Code itself, so I'll try to run this down by experimenting with the file watcher. Feel free to close if that seems appropriate. Thank you.


missing instructions for setting up a cross linker for macOS

add these instructions to the README: http://intermezzos.github.io/book/appendix/osx-install.html
make cargo on macOS gives this error. this is because macOS has the wrong ld (BSD), we need the GNU ld.
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Tlayout.ld" "-Wl,-n" "-nostartfiles" "-L" "/Users/ag_dubs/.xargo/lib/rustlib/x86_64-unknown-intermezzos-gnu/lib" "/Users/ag_dubs/intermezzOS/kernel/src/target/x86_64-unknown-intermezzos-gnu/release/intermezzos.0.o" "-o" "/Users/ag_dubs/intermezzOS/kernel/src/target/x86_64-unknown-intermezzos-gnu/release/intermezzos" "-Wl,--gc-sections" "-nodefaultlibs" "-L" "/Users/ag_dubs/intermezzOS/kernel/src/target/x86_64-unknown-intermezzos-gnu/release/deps" "-L" "/Users/ag_dubs/intermezzOS/kernel/src/target/x86_64-unknown-intermezzos-gnu/release/build/intermezzos-491f39d1c9fb19a5/out" "-L" "/Users/ag_dubs/.xargo/lib/rustlib/x86_64-unknown-intermezzos-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "-l" "boot" "-Wl,--no-whole-archive" "-Wl,-Bdynamic" "/Users/ag_dubs/intermezzOS/kernel/src/target/x86_64-unknown-intermezzos-gnu/release/deps/libkernel_context.rlib" "/Users/ag_dubs/intermezzOS/kernel/src/target/x86_64-unknown-intermezzos-gnu/release/deps/libvga.rlib" "/Users/ag_dubs/intermezzOS/kernel/src/target/x86_64-unknown-intermezzos-gnu/release/deps/librlibc-975886925ea7e4d8.rlib" "/Users/ag_dubs/intermezzOS/kernel/src/target/x86_64-unknown-intermezzos-gnu/release/deps/libspin-d054d2d05cd86dc1.rlib" "/Users/ag_dubs/.xargo/lib/rustlib/x86_64-unknown-intermezzos-gnu/lib/libcore.rlib"
  = note: ld: unknown option: -n
clang: error: linker command failed with exit code 1 (use -v to see invocation)

error: aborting due to previous error

error: Could not compile `intermezzos`.

To learn more, run the command again with --verbose.
error: `cargo` process didn't exit successfully
make: *** [cargo] Error 101

(Also, those instructions don't help configure cargo to do the right thing, which we need to add)

Related: https://github.com/intermezzOS/kernel/issues/53


fix: section titles according to new ads on datasource list page

Description

Updated the section titles on the datasource page according to new ads changes
Updated the title of secure banner

PR fixes following issue(s)
Fixes #29214
Figma link : https://www.figma.com/file/kbU9xPv44neCfv1FFo9Ndu/User-Activation?type=design&node-id=2365-20296&mode=design&t=x5YSnNQ2mNiVAnUO-4

if no issue exists, please create an issue and ask the maintainers about this first

Media

A video or a GIF is preferred. when using Loom, don’t embed because it looks like it’s a GIF. instead, just link to the video

Type of change

Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
Chore (housekeeping or task changes that don't impact user perception)
This change requires a documentation update

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

[ ] Manual
[ ] JUnit
[ ] Jest
[ ] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

Summary by CodeRabbit

Refactor

Updated text styling properties for improved visual consistency across the app.

Style

Enhanced text elements with new style definitions for better readability and aesthetics.

/build-deploy-preview skip-tests=true

/ok-to-test

/build-deploy-preview skip-tests=true recreate=true

Adding Test plan approved as been approved by @carinanfonseca


Rewrite PIR compilation as a series of PIR-to-PIR transformations

Since PLC is a subset of PIR, we can write all the PIR compilation steps as PIR-to-PIR transformations, with a final "lowering" step that just reverses the embedding.
Why do this?

Other compilers (e.g. GHC) have found this to be a useful strategy.
Compilation steps become more easily testable and independent.
Some compilation steps become nicer when they can target PIR (e.g. we can let-bind the fixpoint combinators)
We can do optimizations in between compilation (esp. dead binding removal)
If we ever adopt some kind of "Trees that Grow" approach we could even statically assert that passes remove constructs, potentially getting all the way down to PLC.

A sensible pipeline would look like:

Remove dead lets
Merge let bindings
Thunk recursions
Eliminate recursive let-bindings
Remove dead lets
Eliminate datatypes

This could be done earlier, but there isn't currently a PIR construct for the "interleaved term and type" binding, so it can't benefit from earlier PIR optimizations.

Eliminate non-recursive let-bindings
Lower to PLC

Note: I actually already did recursion-thunking in this way.

LGTM.

A problem with this is that the compiler often uses stuff from the PLC standard library (notably eliminating recursive let bindings uses Language.PlutusCore.StdLib.Data.Function and Language.PlutusCore.StdLib.Meta.Data.Tuple extensively), and these all currently operate on PLC terms. We would need to either:

Duplicate the PLC stdlib in PIR
Rewrite the PLC stdlib in PIR and then have the PLC stdlib be equal to the compiled version of the PIR stdlib
Since the PLC stdlib is just constructing new terms, we could create a class TermLike and have both PLC and PIR terms be instances of this, then the PLC stdlib can work with any TermLike and we can leave it mostly unchanged.

Ideas?

Hm yes, that is annoying. Wouldn't be a problem with Trees that Grow, but oh well.
I was initially repelled by TermLike, but I actually can't think of a better way to abstract over this. Note that that wouldn't let you match on things, so we'd better not rely on doing that.

@effectfully would you be okay with that approach?

(Compilation of recursive bindings was originally done on the PIR side, I moved it to PLC, because writing minimal tests for recursive bindings in PLC was very annoying)

Duplicate the PLC stdlib in PIR

No no no.

Rewrite the PLC stdlib in PIR and then have the PLC stdlib be equal to the compiled version of the PIR stdlib

Then we need to move some of the PLC tests to PIR. Maybe it's not a big deal, but I like the current separation of concepts.

Since the PLC stdlib is just constructing new terms, we could create a class TermLike and have both PLC and PIR terms be instances of this, then the PLC stdlib can work with any TermLike and we can leave it mostly unchanged.

A final encoding is good, yes.
There is also another a suitable initial approach.

@effectfully would you be okay with that approach?

I do feel like we duplicate a lot of things right now. For example both PLC and PIR have iterApply, iterLamAbs etc and using a type class we can define those combinators for both PLC and PIR. So I do not have anything against the final encoding solution, although it's not certainly perfect.
Maybe it's worth switching to Types that grow, though, I don't know (but let's not do that right now as I'm rewriting a lot of code).

For reference, this is what the version with the final encoding will look like
https://github.com/m-alvarez/plutus/tree/TermLike

For reference, this is what the version with the final encoding will look like
https://github.com/m-alvarez/plutus/tree/TermLike

This seems to be a pretty minimal things that solves the problem. I like it. Left a comment there.

I'm thinking it might be a good idea to submit a separate PR for the final-encoded Term stuff, thoughts?

Yes, good idea.

Done.


All exercises: Changed the structure of the exercises to better align with course curriculum

Because

Gives a better structure to the exercises by dividing the exercises as they occur in TOP.
├── advanced-html-css
│   └── animation
│       ├── 01-button-hover
│       ├── 02-pop-up
│       └── 03-dropdown-menu
├── foundations
│   ├── block-and-inline
│   │   ├── 01-margin-and-padding-1
│   │   └── 02-margin-and-padding-2
│   ├── cascade
│   │   └── 01-cascade-fix
│   ├── flex
│   │   ├── 01-flex-center
│   │   ├── 02-flex-header
│   │   ├── 03-flex-header-2
│   │   ├── 04-flex-information
│   │   ├── 05-flex-modal
│   │   ├── 06-flex-layout
│   │   └── 07-flex-layout-2
│   └── intro-to-css
│       ├── 01-css-methods
│       ├── 02-class-id-selectors
│       ├── 03-grouping-selectors
│       ├── 04-chaining-selectors
│       └── 05-descendant-combinator
└── intermediate-html-css
    ├── advanced-grid
    │   ├── 01-responsive-holy-grail
    │   └── 02-holy-grail-mockup
    └── positioning-grid
        └── 01-basic-holy-grail

This PR

It divides the exercises in 3 directories

Issue

Closes #593
Additional Information

No
Pull Request Requirements

[x] I have thoroughly read and understand The Odin Project Contributing Guide
[x] The title of this PR follows the location of change: brief description of change format, e.g. 01-flex-center: Update self check
[x] The Because section summarizes the reason for this PR
[x] The This PR section has a bullet point list describing the changes in this PR
[x] If this PR addresses an open issue, it is linked in the Issue section
[x] If applicable, I have ensured that the TOP solution files match the Desired Outcome image

Thanks for doing this.
No, thank you!


Covert PE payload allocation

Multiple people have requested that we use a more covert mechanism for loading PE payloads. For the next version of Donut, research options and choose one (or multiple and expose the options to the user). The current idea is to use Module Overloading / Phantom DLL Hollowing.

Version 1.0 will feature Module Overloading with a decoy module on disk.


Add client_payload

Please add the client_payload to the dispatch event.
I think that is very simple. Everything to do is to add a new parameter here https://github.com/convictional/trigger-workflow-and-wait/blob/1b91bfd1001ab3deb961b6e36d261da5877c4410/entrypoint.sh#L62
Docu: https://developer.github.com/v3/repos/#create-a-repository-dispatch-event
I need the payload in a triggered workflow to receive more information of the called job.

Hi, i implemented it on my fork. If you can give me write access i can make a pull request with the changes.

client_payload=$(echo '{}' | jq)   if [ "$INPUT_CLIENT_PAYLOAD" ]   then     client_payload=$(echo $INPUT_CLIENT_PAYLOAD | jq)   fi

@keithweaver 👋

Thanks for submitting this. I'll do some investigation today. I can't see your fork but I see the code above.

you found it here: https://github.com/spring-media/infra-github-actions/tree/master/trigger-workflow-and-wait

here is my fork: https://github.com/jbuettnerbild/trigger-workflow-and-wait
i also have update the wait-for-mechanisms. instead of watching for job id i check the workflow id. that is necessary if the workflow contains of many jobs. otherwise if the fist job finish the result of the other jobs are no longer taken into account.

Thanks for the PR, @jbuettnerbild. It has been merged and is included in v1.2.0 (https://github.com/convictional/trigger-workflow-and-wait/releases/tag/v1.2.0). I'm going to close this now.


Removed duplicate syntax section

Docs Build status updates of commit ea3e413:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

azps-7.2.0/Az.EventHub/New-AzEventHubNamespace.md
:white_check_mark:Succeeded
View (azps-7.2.0)

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


LSP gives errors for functions imported in extended component

Using 1.9.0-beta11, I get problems falsely reported for any functions which are defined in imports from the parent's parent's script file
BaseScreen has function definition for executeSelection, and imports log.brs with a definition for log_info
DiscoverScreen extend's BaseScreen
calls to executeSelection and log_info are wrongly marked as problem's

Just to clarify, you are that with this inheritance chain:
Child -> Parent -> Grandparent, child can see parent functions but child cannot see grandparent functions?

this might be because of my brsconfig.json being wrong - I didn't have one when I raised this issue, and now I've got one and I get no red squiggles (i.e. problems) at all  - looks like it's not working. I'll try and work out what's going on later today and update

it's because I import a pkg file, which doesn't get picked up
The method's which are missing come from this import in BaseView.xml
  <script type="text/brightscript" uri="pkg:/components/Log/Log.brs" />
the LSP reports this can't be found: it does exist at src/components/Log/Log.brs
here's my brsconfig.json
{
  "files": [
    "src/**/*.*"
  ]
}

For clarification, are you saying that baseview.xml shows an error on the script import line?
If you open log.brs in vscode and add a space and save...does that trick the lsp into seeing the file now?
As another testing step, try using a relative path to log.brs and see if that works (adjust for actual file structure) (src="../../Log/Log.brs")

changing to ../../Log does fix it

I've found that all pkg imports are broken in my project.

Good to know! I designed this to work with both relative and pkg imports... But obviously something got broken. :) I'm look into it.

@georgejecook is this still an issue?

nope


Update sbt-scalajs, scalajs-compiler to 1.1.0

Updates

org.scala-js:sbt-scalajs
org.scala-js:scalajs-compiler

from 0.6.33 to 1.1.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-js" } ]

labels: library-update, semver-major

"from 0.6.33 to 1.1.0" — doesn't look right, dropping 0.6 and upgrading from 1.0 to 1.1 should be separate decisions

manually corrected


Negative depth values being calculated in Impacts (L2) analysis

Hi,
I am running a CanFlood model using building footprint polygons that are partially inundated when overlaid with water surface elevation rasters that have been outputted from a 2D model. The partial inundation is occurring partly because of low flood depths, and partly because of the DEM surface being uneven at the building footprints (interpolated from ground points surrounding the building).
I am noticing that this leads CanFlood to interpret the water surface as being below the DEM (regardless of the global sampling type), and therefore calculating the depths as negative values when running the Impacts L2 analysis.
Is there a workaround for this that doesn't involve modifying the input DEM (i.e. assigning the min DEM elevation within a building footprint to the entire area)?
Cheers,
Ben

Hi Ben, I'm not sure I understand the situation on the inputs... can you send a minimum working example (or at least a screen shot). Are you using a depths or a WSE raster?

Hi Seth,
Thanks for the quick response. I am using WSE rasters.
The below screenshot shows a partially inundated building footprint polygon, with the WSE raster overlaid on the DEM hillshade (with increased z factor to show areas of interpolation). The depth value being shown in the Impacts (L2) output is -0.03m, despite the 2D model results showing that there should be a positive depth. This leads to the damages being calculated as $0, as the lowest ground elevation assigned to the vulnerability curves is 0m.
Please let me know if you need more information.
Ben

Hi Ben,
Without seeing your model files, my guess is the DEM value is either being sampled at the centroid or the mean over the building... which is greater than the WSE at the edges (check your elevations file). A quick fix would be to use the minimum sampling statistic instead when running the elevations (I think these settings are controlled on the raster sampling tab). For problematic cases like this it is sometimes easier just to move the building slightly. Ideally, you would set the building heights as absolute (rather than relative to the DEM) but this requires you to calculate the building elevations somehow. Hope this helps,

Hi Seth,
Thanks for the suggestions. I was able to solve the problem by assigning absolute DEM values to the buildings (using min DEM values at building footprints), then sampling max WSE in CanFlood.
Cheers,
Ben

Awesome!


Breadth First Search or BFS for a Graph

🚀 Feature
(A clear and concise description of what the feature is.)
Have you read the Contributing Guidelines on Pull Requests?
yes
Motivation
I am really interested in compective programming. i enjoy doing dsa algorithum
Pitch
Web Crawlers: Search engines or web crawlers can easily build multiple levels of indexes by employing BFS. BFS implementation starts from the source, which is the web page, and then it visits all the links from that source.
Navigation Systems: BFS can help find all the neighboring locations from the main or source location.
Network Broadcasting: A broadcasted packet is guided by the BFS algorithm to find and reach all the nodes it has the address for.

Please assign me this code

Please assign me this code


[Bug] Adding a table in multiple editors

The problem is as follows, if you initialize several quill text editors, the table component will only work on the last editor. This is reproduced in the sandbox, I attach a screenshot

Okay, I will fix it as soon as possible.

I managed to fix the directional keys problem:
instead of :
document.root.addEventListener('keyup', this.handleKeyup.bind(this));
do:
quill.root.addEventListener('keyup', this.handleKeyup.bind(this));
For the first problem, I think ToolbarTable methods should not be static

Thank you for the prompt solution of the problem!


add a meta tag to set viewport options for mobile devices

Originally from https://github.com/tc39/ecma262/pull/3481.

Nice work, it was good seeing where you did this in here. I looked and thought such a big sweeping change to baselines might be a problem.


Store the repo visibility (public/private) to filter webhooks

See https://github.com/huggingface/datasets-server/pull/2389#pullrequestreview-1862425050
Not sure if we want to do it, or wait for the Hub to provide more finely scoped webhooks. See also #2208, where we wanted to store metadata about the datasets.

hmmm, no need to change it, it works.


google.maps.importLibrary Not Working in Firefox Private Window

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
When opening the application for the first time in a Firefox private window, the following error is thrown:
ERROR TypeError: google.maps.importLibrary is not a function
This issue occurs consistently in Firefox's private mode but seems to work fine in other browsers and regular Firefox windows.
Reproduction

Open Firefox in private mode.
Navigate to the application that uses google.maps.importLibrary for loading Google Maps libraries.
Observe the error in the console.

Expected Behavior
google.maps.importLibrary should work in Firefox private mode, and Google Maps libraries should load -without throwing an error.
Actual Behavior
The function google.maps.importLibrary is not recognised, leading to a TypeError.
Environment
Browser: Firefox (Private Mode)
Google Maps API version: [provide your version here]
Angular version: [provide your Angular version here]
Operating System: [provide OS details]
Additional Information:

It works for me against our dev app which is based on importLibrary so this is likely an issue on your end or in the Google Maps API. Either way we can't do much about it so I'm closing the issue.


maybe add a "auto be silent" posibility

As a regular user of mattermost skill I do get anoyied when mycroft keeps disturbing me with anounsing how many unread messages there is on mattermost. Well not during the daytime when it is super to be notised if something is going on. But at eveaning and night time.....
I dont remember to stop monitoring and when i do iforget to activate it againg.
So what I were thinking were either a settings for "night time" so he stops monitoring (or only anounses personal messaages or mentiones) or that he stops anounsing if there is more than X messages.
I dont know, but do know that it anois me when I am going to sleep, and he loud and clear says "there is X unread messages on mattermost".

Thought about this a bit. Simplest solution for you would be to use the Naptime-Skill, this will mute audio output of all skills until Mycroft gets awoken by user command. Before going to sleep you only have to remember to tell Mycroft "go to sleep"...

Yah you are right. That is a optoion. But I dont remember to go to every room in the house and activate naptime ;) and even worse I dont remember to wake him up again ;)


resolved issues in activity_login.xml

Proposed changes
Resolved the warnings in activity_login.xml
resolves #8
Types of changes
What types of changes does your code introduce to this project?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING.md
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments
I tried making the names of the variables in strings.xml as transparent as I could,
please let me know if they are incorrect or does not suit you.

Thanks Antoine!


Replace dependency on tokio-stream with function call.

This is removing an unnecessary crate dependency with no loss of readability.

LGTM

Could you make a release of the crate based on the latest version? Thanks very much!

Could you make a release of the crate based on the latest version? Thanks very much!

0.6.0 is released


Getting an error when running "update-m2" step

Hi, I am likely missing some step  - for some reason I am getting the following exception when running the update-m2 step in the concourse pipeline. Does anything jump out on what I may be missing here.
Root folder is [/tmp/build/0a57e892]
Repo resource folder is [repo]
Tools resource folder is [tools]
Version resource folder is [version]
tools/concourse/tasks/cache-m2.sh: 14: tools/concourse/tasks/cache-m2.sh: source: not found
Changing the maven local to [/tmp/build/0a57e892/]
tools/concourse/tasks/cache-m2.sh: 20: [: unexpected operator
tools/concourse/tasks/cache-m2.sh: 25: tools/concourse/tasks/cache-m2.sh: ./mvnw: not found

Let's hope that now it will work fine ;)


fix: Added success-checkmark.

:tada: This PR is included in version 1.0.6 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Broken link on Modules page

http://6to5.org/docs/usage/modules/ contains a link to http://6to5.org/docs/faq#what-is-a-transformer, but the actual fragment ID for that section of the target page is http://6to5.org/docs/faq/#what-is-a-transformer- (note the trailing dash).

Thanks!


[RFC] Metrics Paramater in training loops

🚀 Feature
Slightly important as engines are concerned here :sweat_smile:
Metrics parameter in training.
Motivation
What currently we do in train_step, val_step or fit API returns a dictionary by calculating metrics from torchvision and return metrics (but not predictions).
This hardcodes the API and is trouble.
Metrics param which will open up this API.
Currently train_step will always return metrics, and not return results/model outputs.
Let's add a param metrics which will work as follows.
Pitch
For Detection models in PyTorch Trainers, the Param would work as follows.
metrics: str = None
if metrics is None:
    # Just output what model does and return it.
    # Now people can manually calculate and play around as they like
    # We do not do PostProcessing, this can be used by the user which we provide.
elif metrics == "native":
    # Use the torchvision native metrics which we have now.
    # We can expect these to improve over time or adopt lightning metrics here.

## Maybe if we don't get this dependency
elif metrics = "coco":
    # Calculate COCO API metrics (we do the PostProcessing if needed)

Since PyTorch Lightning API is completely decoupled from PyTorch. People can already subclass it and use PL Metrics.
E.g.
class CustomTraining(lit_frcnn):
        def validation_step(self, batch, batch_idx):
            images, targets = batch
            targets = [{k: v for k, v in t.items()} for t in targets]

            out = self.model(images)
            # Do whatever metrics you like !

Metrics with lIghtning is easer, we can use PL metrics and calculate these on fly with a param in Trainer
Not sure about this but possible easily.
Alternatives
This is open to discussion and really a neat solution can be a major feature upgrade.
Additional context
This will solve lot of issues like #62 ,
Be able to use COCO API for detection. We should not have this dependency. So COCO is still a little confusion,
with metrics None, people can postprocess (which we provide) and use COCO API.
cc @zlapp @zhiqwang @hassiahk

Metrics  is a little abstract, maybe we could integrate wandb or tensorboard to show the performance of training strategy

People can use wandb / tensorboard. E.g Wandb notebook out of box with current metrics.
We probably should avoid wandb dependency. Again PyTorch Lightning provides these loggers out of box and current API flexible with PyTorch too.

After a few discussions over slack with @zlapp  and PyTorch Ligthninig Team
Lightning will have Chainable metrics with 1.2.
We cannot pass trainer flags for lightning and might not be possible soon.
Should we start this refactor. it would mean updating tests a bit as well as docs.
Since now the output is controlled by metrics param. We should probably have consistency within API
Let's think over it.

So here is API proposal for metrics. Let's not tie Pycoco Tools with Quickvision.
This is for extra param with train_step and val_step
metrics: bool = False
if metrics is False:
    # Just output what model does and return it.
    # Now people can manually calculate and play around as they like
    # We do not do PostProcessing, this can be used by the user which we provide.

   # Preds cotaining the prediction that are done for train data.
   # For detection models from torchvision we can simply return loss in train and boxes in eval.
    # preds will contain output of model. E.g out tensor in classification, or detr pred logits and boxes.
    # Possibly it will be a nested dictionary with consistent names.

   return {"preds " : }

else:
    # Use the torchvision native metrics which we have now.
    # We can expect these to improve over time or adopt lightning metrics here.
    # metrics key will contain whatever metrics we return right now.
    return {"preds: " [] , "metrics": {}}

@zlapp to use Pycoco tools or any other metrics is will be very simple.
You can just use
train_results = model.train_step(metrics=False)

boxes = train_result[preds][boxes]

train_results will be a dict. It's values will be a torch.Tensor no abstractions here.
Now you can post process or do whatever you like and use PyCOCO tools, etc.
Some conssitency which we will have

Every model still returns a dict, it contains preds or preds + metrics
What will be inside preds is something specific to model, say classfication / detection. We will have some consistency in it though, but not 100%. Reason being this is what model outputs are and really it would not change. We don't want to hide these outputs from models.
This allows to use custom metrics, use PyCOCO tools, or even lightning metrics. We are returning torch tensors, wrapped in dictionary, (which is what even DETR or FRCNN do).

Another alternative is that we do not compute metrics. I'm not against it or for it, but we provide utilites to compute them.
I think that too can be the way.

Ok so we can now use torchmetrics It has absolutely no requirements dependency so we can easily add it.
Also, we will use it to calculate metrics. In case any metric is not available we will keep it in quickvision.metrics


Issue with Surface Go 3 driver download

Hi Maurice,
Having a problem downloading Surface_Go_3_1926 drivers (specifically), getting this error from the log:

ConfigMgr: Downloading from URL: https://download.microsoft.com/download/e/8/2/e82f3029-e587-4c28-8ab4-ae1bf1e2c209/SurfaceGo3_Win10_19042_22.023.33209.0.msi
BitsTransfer: Checking BITS background job
BitTransfer: Job state is "Error Error Error Error Error Error"

When try browsing to the download URL I get an Error 404 file or directory not found. I think that they have updated the drivers and the new url is https://download.microsoft.com/download/e/8/2/e82f3029-e587-4c28-8ab4-ae1bf1e2c209/SurfaceGo3_Win10_19042_22.071.8186.0.msi .
I've tried using both 7.1.8 (with hotfix) and 7.1.9 but get the same result.
Cheers

I can verify this happens with all Surface drivers using version 7.1.9
It just hangs at "Downloading from URL:"
Doesn't progress every 30 seconds.

Same here - Different models though. Microsoft updated their links so they do not correspond with the links in : https://github.com/maurice-daly/DriverAutomationTool/blob/master/Data/OSDCatalogMicrosoftDriverPack.json


Add additional check for hotkey in commit hash

When a miner submits a new commit to the bittensor network, it is possible for another miner to "piggyback" on another miner's submission via copying the commit data in the same block.
Currently, this is a rare occurrence given the following:

A miner that copies commit data must execute this commit call in the same block
Even with a successful commit copy, if the original submission was a low score (or even a failing score), then the copier's entry would be marked the same (in other words, there is no guaranteed benefit from copying in this method)

The solution here is to add an additional check to the final hash of the commit call to include the submitting miner's hotkey, so that each submission can be uniquely identified.

This has been implemented in https://github.com/impel-intelligence/dippy-bittensor-subnet/pull/72 and will be officially required in a future update


fix: :bug: title color for code block in light mode

Dark mode
in dark mode the title above the code block worked fine.

Light mode
In light mode, the title wouldn't appear, because the background was also white.

Selected Text
Here you can see that the text is still rendered in light mode.

@flixlix can you also add some images after resolving this issue soo we can see essely what's changes you make

@shadcn can you please review this one when you have a sec? This should be a quick for a pretty important UI / a11y issue in the docs:
https://ui.shadcn.com/docs/theming#list-of-variables


Requests fail on Node v15.2.1

Hello,
I've started using Node v15.2.1 with talkback and discovered my simple requests are failing with it.
Here is the stack trace:

Error handling request TypeError: Cannot read property 'content-encoding' of undefined
at Function.Headers.read (/Users/halil/thanx/talkback/src/utils/headers.ts:2:434)
at ContentEncoding.contentEncoding (/Users/halil/thanx/talkback/src/utils/content-encoding.ts:2:7364)
at ContentEncoding.isUncompressed (/Users/halil/thanx/talkback/src/utils/content-encoding.ts:2:6802)
at Tape.normalizeBody (/Users/halil/thanx/talkback/src/tape.ts:3:2493)
at new Tape (/Users/halil/thanx/talkback/src/tape.ts:3:31)
at RequestHandler. (/Users/halil/thanx/talkback/src/request-handler.ts:2:10789)
at step (/Users/halil/thanx/talkback/src/request-handler.ts:2:8237)
at Object.next (/Users/halil/thanx/talkback/src/request-handler.ts:2:5187)
at /Users/halil/thanx/talkback/src/request-handler.ts:2:4300
at new Promise ()
at __awaiter (/Users/halil/thanx/talkback/src/request-handler.ts:2:3473)
at RequestHandler.handle (/Users/halil/thanx/talkback/src/request-handler.ts:2:10024)
at TalkbackServer. (/Users/halil/thanx/talkback/src/server.ts:3:95)
at step (/Users/halil/thanx/talkback/src/server.ts:2:8450)
at Object.next (/Users/halil/thanx/talkback/src/server.ts:2:5314)
at /Users/halil/thanx/talkback/src/server.ts:2:4406
at new Promise ()
at __awaiter (/Users/halil/thanx/talkback/src/server.ts:2:3561)
at IncomingMessage. (/Users/halil/thanx/talkback/src/server.ts:2:10702)

Here is my request in curl format:
curl --request GET \
  --url http://localhost:3000/apps/crew \
  --header 'Content-Type: application/json'

Also, 16 tests are failing in the talkback repository when I run them with Node 15.2.1.

Thank you @ijpiantanida! Could you create a version including this fix?

Hi @halilb thank you for the patch.
I'm working on it, but seems like Travis.ci is having some sort of issue right now and not running the builds.
I will publish a new version as soon as it's back

Fixed in 2.3.0

Thank you @ijpiantanida!


FFT of transposed array throws exception

I found that I get a floating point exception when computing a 1D FFT on a transposed multidimensional array. This can be useful since its faster to compute 1D FFTs along axis=-1.
This code reproduces the issue on my machine
import cupy as cp
import pyvkfft.fft
import pyvkfft.version

print(f"version: {pyvkfft.version.vkfft_version()}")

x = cp.ones((1,100,1400), dtype=cp.complex64)
print(f"x shape: {x.shape}")

# transpose and copy data to new array, works fine
x_t1 = x.transpose((0,2,1)).copy()
print(f"this should work (shape: {x_t1.shape})")
pyvkfft.fft.fftn(x_t1, ndim=1, axes=-1)

# transpose w/out a copy, throws exception
x_t2 = x.transpose((0,2,1))
print(f"this should throw an exception (shape: {x_t2.shape})")
pyvkfft.fft.fftn(x_t2, ndim=1, axes=-1)

when I run this script I get
(venv3) [leolabs@hqsr-worker-r1-1 jimmy]$ python fft_transpose_issue.py
version: 1.3.0
x shape: (1, 100, 1400)
this should work (shape: (1, 1400, 100))
caching VkFFTApp with:  None
this should throw an exception (shape: (1, 1400, 100))
caching VkFFTApp with:  None
Floating point exception (core dumped)

I'm using pyvkfft version 1.3.0 with CUDA version 12.2.
Thanks for the help!

Thanks for the report

I found that I get a floating point exception when computing a 1D FFT on a transposed multidimensional array. This can be useful since its faster to compute 1D FFTs along axis=-1.

Note: If you transpose without copy(), it won't make a difference in speed that the transform is made along the last axis - what can influence the speed are the strides of the transform, and these don't change by transposing (fast axis is unchanged).
But still it should work. I just tested the same code using OpenCL and it passed.
Can you update to the latest release ? Your output above says VkFFT 1.3.0, but the release version (for pyvkfft 2023.2) includes VkFFT 1.3.1. There were a number of fixes before the release.

I just tried your script on an x86 machine with cuda and cupy, and it passed without issue.
So I guess this was due to VkFFT 1.3.0.
There's always a long release process to validate (py)vkfft before an official release (see #25), so it's much safer to stick with these releases.


WIP | added the waiting for physical storage in the event worker loop

Since the activation of the events worker was when the ems was set up, events were received without a physical storage name, which led to errors in the events chart in the EMS dashboard.
The fix was to add a condition to the start of the events worker, so the polling would start when physical storage is added to the EMS.

Hey @agrare, this is the new approach that worked well.
I will do further testing, but does this solution look better?

@Oferlis :+1: yes much, good work


[WFLY-13860] Upgrade RESTEasy to 3.13.1.Final

https://issues.redhat.com/browse/WFLY-13860

Testing:

RESTEasy testsuite: passed
TCK (com/sun/ts/tests/jaxrs): passed
WildFly 21.0.0.Beta1-SNAPSHOT testsuite (-DallTests): passed


Elasticsearch - Snapshots metrics

Hello,
we would like to monitor Elasticsearch snapshotting handled by https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshot-lifecycle-management-api.html and be alerted in case there aren't new snapshots sucessfully created for whatever reason.
SLM provides stats https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-policy.html#slm-api-get-example which provides useful information about snapshotting and would be great to have these as a metrics in datadog.

Hello @Halama
Thank you for this proposition! We added new metrics related to SLM in the integration version 1.23.0.
If you want to have these metrics, you can either wait for Agent version 7.26.0 to be available, or upgrade the integration manually.
To upgrade the integration manually, you can use the integration command available with the agent (doc). Example:
agent integration install datadog-elastic==1.23.0

Hello @Halama
Thank you for this proposition! We added new metrics related to SLM in the integration version 1.23.0.
If you want to have these metrics, you can either wait for Agent version 7.26.0 to be available, or upgrade the integration manually.
To upgrade the integration manually, you can use the integration command available with the agent (doc). Example:
agent integration install datadog-elastic==1.23.0

Hi @coignetp ,
thanks for the feature release!
I've finally try it but I don't see the metrics in Datadog:

Elastic Datadog integration version 3.0.0:
agent integration show datadog-elastic
Package datadog-elastic:
Installed version: 3.0.0

Elastic version 7.9.3:
{
  "name" : "test-es-default-0",
  "cluster_name" : "test",
  "version" : {
    "number" : "7.9.3",
    "build_flavor" : "default",
    "build_type" : "docker",
    "build_hash" : "c4138e51121ef06a6404866cddc601906fe5c868",
    "build_date" : "2020-10-16T10:36:16.141335Z",
    "build_snapshot" : false,
    "lucene_version" : "8.6.2",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}

CAn you please recommend me how to troubleshoot the issue?


How to get list of devices??

Hi,
first thank you for making node-ble. Hope it will help me connecting to my devices 👍
I have a question but maybe it is also an issue, I don't know.
I like to start discovery and get the devices discovered so I can decide to which one I like to connect. In my example below I use myAdapter.devices() but is only returns an empty object. Any ideas?
I have bluetoothctl open at the same time and see that discovery starts. I also see the device announcing its UUID after some time but my code shows nothing.
Here my code:
'use strict';

async function main() {
	const { createBluetooth } = require('node-ble');
	const { bluetooth, destroy } = createBluetooth();
	var myAdapter = await bluetooth.defaultAdapter();

	console.log(myAdapter.adapter);

	if (! await myAdapter.isDiscovering()) {
		console.log ("startDiscovery");
		myAdapter.startDiscovery();
	}

	await myAdapter.isDiscovering();
	console.log ('isDiscovering');

	showDevices();

	function showDevices () {
		console.log (JSON.stringify(myAdapter.devices(), null,2));
		setTimeout (showDevices, 2000);
	}
}

main();

I can connect to one of my devices using its UUID (see working code blow). But before being able to do so I first have to find out the UUID which I expected to get with myAdapter.devices().
	const device = await adapter.waitDevice('70:BC:10:86:85:C5');
	await device.connect();

Support would be appreciated.
Best DrCWO

Hi again, found the solution by myself. Here the code that works...
'use strict';

async function main() {

	const { createBluetooth } = require('node-ble');
	const { bluetooth, destroy } = createBluetooth();
	var myAdapter = await bluetooth.defaultAdapter();

	console.log(myAdapter.adapter);

	if (! await myAdapter.isDiscovering()) {
		console.log ("startDiscovery");
		myAdapter.startDiscovery();
	}

	await myAdapter.isDiscovering();
	console.log ('isDiscovering');

	showDevices();

	async function showDevices () {
		console.log ('------------------------------');
		var myDevices = await myAdapter.devices();
		console.log (myDevices);
		setTimeout (showDevices, 2000);
	}
}

main();


failed to verify token: failed to verify signature: fetching keys oidc: failed to decode keys: got Content-Type = application/json, but could not unmarshal as JSON: square/go-jose: invalid JWK, x5t#S256 header has invalid encoding

Summary
What happened/what you expected to happen?
We have configured sso with Argo Workflows.  v2.12.5 of Argo Workflows was working with out any issues. When we try deploy newer version of Argo Workflows ( v3.1.5 and v3.1.8  ), its giving below error. We tried upgrade / fresh install in both cases it's giving same error.
Configuration from Pod
containers:

args:

server
--configmap=argo-argo-workflows-workflow-controller-configmap
--auth-mode=sso
--auth-mode=client
--secure=false
** Configmap ***
apiVersion: v1
data:
config: |
containerRuntimeExecutor: pns
artifactRepository:
s3:
accessKeySecret:
key: accesskey
name: argo-s3-creds
secretKeySecret:
key: secretkey
name: argo-s3
bucket: mydemo
endpoint: s3.amazonaws.com
insecure: false
sso:
clientId:
key: client_id
name: argo-oidc
clientSecret:
key: client_secret
name: argo-oidc
issuer: https://demo.myargo.com
redirectUrl: https://demo.myargo.com/oauth2/callback

Getting below error:
failed to verify token: failed to verify signature: fetching keys oidc: failed to decode keys: got Content-Type = application/json, but could not unmarshal as JSON: square/go-jose: invalid JWK, x5t#S256 header has invalid encoding {   "keys": [     {       "alg": "RS256",       "e": "AQAB",       "kid": "*******************",       "kty": "RSA",       "n": "***********************",       "use": "sig",       "x5t#S256": "*******************"     }   ] }
What version of Argo Workflows are you running?
v3.1.8
Diagnostics
Either a workflow that reproduces the bug, or paste you whole workflow YAML, including status, something like:
kubectl get wf -o yaml ${workflow}

What Kubernetes provider are you using?
What executor are you running? Docker/K8SAPI/Kubelet/PNS/Emissary
PNS
# Logs from the workflow controller:
kubectl logs -n argo deploy/workflow-controller | grep ${workflow}

# The workflow's pods that are problematic:
kubectl get pod -o yaml -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded

# Logs from in your workflow's wait container, something like:
kubectl logs -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

I've not seen this before. Could you book in 30m so we can debug?
https://bit.ly/book-30m-with-argo-team

I have scheduled a meeting for Monday 4th Oct 12:30 slot.

https://github.com/argoproj/argo-workflows/pull/6831

What we use for Github:
https://github.com/argoproj/argoproj-deployments

@alexec I tried deploying https://github.com/argoproj/argo-workflows/blob/master/manifests/install.yaml
modified argo-server deployment with below params to enable sso.
    - server
    - --configmap=workflow-controller-configmap
    - --auth-mode=sso
    - --secure=false
    image: quay.io/argoproj/argocli:latest
    name: argo-server
    ports:
    - containerPort: 2746
      name: web
    readinessProbe:
      httpGet:
        path: /
        port: 2746
        scheme: HTTP

I created ingress and secrets manually. We are getting same error.
failed to verify token: failed to verify signature: fetching keys oidc: failed to decode keys: got Content-Type = application/json, but could not unmarshal as JSON: square/go-jose: invalid JWK, x5t#S256 header has invalid encoding { "keys": [ { "alg": "RS256", "e": "AQAB", "kid": "*******************", "kty": "RSA", "n": "***********************", "use": "sig", "x5t#S256": "*******************" } ] }

Ok, so still a problem with latest. Did you try installing Dex?


Class 'Yab\FormMaker\FormMakerProvider' not found

Hello, after i tried to update my composer i got this error and now it's not letting me to use even artisan command, the only way to get rid of this error is by removing quarx but right now this is not an option.
`Generating autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover

In Application.php line 635:
Class 'Yab\FormMaker\FormMakerProvider' not found
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
`
Thank you.

I have the same error by installing Quarx on a new project Laravel 5.5.* :
composer require yab/quarx
Using version ^2.4 for yab/quarx
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 30 installs, 0 updates, 0 removals

Installing donatj/phpuseragentparser (v0.5.3): Loading from cache
Installing guzzlehttp/promises (v1.3.1): Loading from cache
Installing psr/http-message (1.0.1): Loading from cache
Installing guzzlehttp/psr7 (1.4.2): Loading from cache
Installing guzzlehttp/guzzle (6.3.0): Loading from cache
Installing stichoza/google-translate-php (v3.2.13): Loading from cache
Installing intervention/image (2.4.1): Loading from cache
Installing league/commonmark (0.16.0): Loading from cache
Installing graham-campbell/markdown (v8.1.0): Loading from cache
Installing mtdowling/jmespath.php (2.4.0): Loading from cache
Installing aws/aws-sdk-php (3.52.28): Loading from cache
Installing league/flysystem-aws-s3-v3 (1.0.18): Loading from cache
Installing google/apiclient (v1.1.8): Loading from cache
Installing spatie/laravel-analytics (1.4.1): Loading from cache
Installing tedivm/jshrink (v1.3.0): Loading from cache
Installing natxet/cssmin (v3.0.6): Loading from cache
Installing devfactory/minify (1.0.7): Loading from cache
Installing yab/laratest (v0.1.1): Loading from cache
Installing yab/cerebrum (v1.1.3): Loading from cache
Installing yab/crypto (v1.0.6): Loading from cache
Installing laravelcollective/html (v5.5.3): Loading from cache
Installing doctrine/collections (v1.5.0): Loading from cache
Installing doctrine/cache (v1.7.1): Loading from cache
Installing doctrine/annotations (v1.6.0): Loading from cache
Installing doctrine/common (v2.8.1): Loading from cache
Installing doctrine/dbal (v2.6.3): Loading from cache
Installing yab/formmaker (v1.3.0): Loading from cache
Installing yab/crudmaker (v1.3.0): Loading from cache
Installing yab/laracogs (v2.3.4): Loading from cache
Installing yab/quarx (v2.4.6): Loading from cache
intervention/image suggests installing ext-imagick (to use Imagick based image processing.)
intervention/image suggests installing intervention/imagecache (Caching extension for the Intervention Image library)
league/commonmark suggests installing league/commonmark-extras (Library of useful extensions including smart punctuation)
aws/aws-sdk-php suggests installing aws/aws-php-sns-message-validator (To validate incoming SNS notifications)
doctrine/cache suggests installing alcaeus/mongo-php-adapter (Required to use legacy MongoDB driver)
Package yab/laratest is abandoned, you should avoid using it. No replacement was suggested.
Package yab/cerebrum is abandoned, you should avoid using it. No replacement was suggested.
Package yab/crypto is abandoned, you should avoid using it. Use grafite/crypto instead.
Package yab/formmaker is abandoned, you should avoid using it. Use grafite/formmaker instead.
Package yab/crudmaker is abandoned, you should avoid using it. Use grafite/crudmaker instead.
Package yab/laracogs is abandoned, you should avoid using it. Use grafite/builder instead.
Writing lock file
Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover

In Application.php line 635:
Class 'Yab\FormMaker\FormMakerProvider' not found
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1

Resolute by changing

"use Yab\FormMaker\FormMakerProvider;" by "use Grafite\FormMaker\FormMakerProvider; ' in"\vendor\yab\laracogs\src\LaracogsProvider.php"
"$this->app->register(\Yab\FormMaker\FormMakerProvider::class);" by "$this->app->register(\Grafite\FormMaker\FormMakerProvider::class);" in "\vendor\yab\crudmaker\src\CrudMakerProvider.php"

@IManAsap Is there a reason why Quarx has been abandoned? There is no information regarding the change at all. I think that was a very dangerous move considering how many people would have had Quarx and laracogs in the project dependencies.
Can you provide an insight as to what's gone on and possible fixes for people still using Quarx? Also the docs have all disappeared for Laracogs which is not nice at all.

In the GitterIM channels as well as packages on a whole got rebranded in order to maintain them. All docs moved to https://docs.grafite.ca etc. Quarx, Laracogs, FormMaker, CrudMaker etc are all going to be maintained with their new branding. As a conseqence of this packages had to be abandoned and switched to the new brand.

@mlantz You didn't answer my question. Can you provide an insight as to what's gone on and possible fixes for people still using Quarx?

@shabaz-ejaz Please read the documentation provided in on https://docs.grafite.ca, it has some further notes on upgrading and the name changes, and please stop commenting on closed issues.

@mlantz I cannot find any page that has further notes on upgrading. Can you send me a specific page link that covers this in detail? and stop ignoring common important comments on issues that clearly still arise from your abrupt name change.