[BUG] Trying to create atoms for an interface creates flow of editor errors

Describe the bug
I tried generating atoms for a pretty simple interface, with a couple of useful methods. I want to inject this interface as a dependency into scripts.
While the scripts themselves compile fine, I get a flow of errors while editing the Variables, variable fields and reference fields.
To Reproduce
Steps to reproduce the behavior:

Generate every atoms for an interface
Watch the world burn

Screenshots

(on the image above, it looks like its also breaking the editors of the sibling scripts)

NullReferenceException: Object reference not set to an instance of an object UnityAtoms.Editor.VariableDrawer1[T].OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at ./Library/PackageCache/com.unity-atoms.unity-atoms-core@4.4.5/Editor/Drawers/VariableDrawer.cs:22)
UnityEditor.PropertyDrawer.OnGUISafe (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at <582c35e8f45345d395e99f8e72e3c16d>:0)
UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.Rect visibleArea) (at <582c35e8f45345d395e99f8e72e3c16d>:0)
UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <582c35e8f45345d395e99f8e72e3c16d>:0)
UnityEditor.PropertyHandler.OnGUILayout (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <582c35e8f45345d395e99f8e72e3c16d>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <582c35e8f45345d395e99f8e72e3c16d>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, System.Boolean includeChildren, UnityEngine.GUILayoutOption[] options) (at <582c35e8f45345d395e99f8e72e3c16d>:0)
UnityEditor.UIElements.PropertyField.b__43_0 () (at <582c35e8f45345d395e99f8e72e3c16d>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at :0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at :0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at :0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at :0)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at :0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at :0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at :0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at :0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at :0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at :0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at :0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at :0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at :0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at :0)
`
Environment

OS: [e.g. iOS]
Unity Version [e.g. 2019.3]
Version of Unity Atoms [e.g. v2.0.0]

Additional context
Add any other context about the problem here.

as unity is not able to serialzie interfaces, untiy atoms also is not.
what is your exected result?

as unity is not able to serialzie interfaces, unity atoms also is not.
what is your exected result?

Not crashing and burning ideally. If interfaces are not supported, the templates should mention "where T is class".
If they are supported for some types (plain events or interfaces on UnityEngine.Object), it should be mentioned somewhere.

Well, You can create an atom class for interfaces. You should be able to use them from code just fine.
Issue is with the editor...
Maybe i will find some time to make it less spamy...

Well, You can create an atom class for interfaces. You should be able to use them from code just fine.
Issue is with the editor...
Maybe i will find some time to make it less spamy...
Btw: it's not crashing, is it? Not sure what you mean by burning, but it's only spamming because unity calls the editor drawer that often.

Just a warning label field instead of an object field would be nice, in the reference and variable editor.

looked into reproducing it, and at least in 4.4.6 I can't.
I generated the Variable atom for an interface and added it as a variable to a script. besides not rendering, everything seems to work fine

so, please updating to 4.4.6 should solve this, if not feel free to re-open


withings_sync.garmin.APIException: SSO error 401

2021-05-29 13:21:47,146 - withings - INFO - Refresh Access Token
2021-05-29 13:21:47,954 - withings - INFO - Get Measurements
2021-05-29 13:21:48,352 - root - INFO - No Trainerroad username or a new measurement - skipping sync
Traceback (most recent call last):
  File "/usr/local/bin/withings-sync", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/withings_sync/sync.py", line 196, in main
    sync(**vars(args))
  File "/usr/local/lib/python3.8/dist-packages/withings_sync/sync.py", line 184, in sync
    session = garmin.login(garmin_username, garmin_password)
  File "/usr/local/lib/python3.8/dist-packages/withings_sync/garmin.py", line 156, in login
    session = self._get_session(email=username, password=password)
  File "/usr/local/lib/python3.8/dist-packages/withings_sync/garmin.py", line 93, in _get_session
    raise APIException('SSO error %s %s' % (ssoResp.status_code, ssoResp.text))
withings_sync.garmin.APIException: SSO error 401 <!DOCTYPE html>
<html lang="en" class="no-js">
    <head>
        <script charset='UTF-8' type="ebbd33b1756dc6ae370d3b32-text/javascript">
            window['adrum-start-time'] = new Date().getTime();
            (function(config){
                config.appKey = 'AD-AAB-AAM-PWF';
                config.adrumExtUrlHttp = 'http://cdn.appdynamics.com';
                config.adrumExtUrlHttps = 'https://cdn.appdynamics.com';
                config.beaconUrlHttp = 'http://col.eum-appdynamics.com';
                config.beaconUrlHttps = 'https://col.eum-appdynamics.com';
                config.xd = {enable : false};
            })(window['adrum-config'] || (window['adrum-config'] = {}));
        </script>

Are you on the latest version? Have you see the #24 ?
Best regards, Jarek

Starting to have problems too since today. I'm on the latest commit.
I get a 403 code though. Will write back if the problems keeps going in the following days

I noticed the same, but sporadically.   Sometimes Garmin/Cloudflare decides to throw the 'maintenance' error, but eventually my measurements are synced.  I am not sure if it is an actual maintenance on the Garmin platform or if it's the security implementation that is blocking the scripts.

Could we fix this with some retry logic?

See also #26

@stv0g At least for me, a retry logic is probably irrelevant, since it's 2 days that I keep having the same problem (also, the script is run 1 time per day, except for some manual run yesterday and today, so I don't think I got banned).
But I guess I'm hijacking this issue since it might be a different thing

We could try a retry logic, but I am a bit hesitant to test with it.  IF this is the CloudFlare security implementation I won't be surprised if you actually get IP banned when retrying too aggressively.   I am also not sure about the Garmin API throttling.
What works for me is to schedule the sync every 2hrs.  For now that seems to be the sweet spot.

Thanks for the feedback @stynoo and @m3l7.

What works for me is to schedule the sync every 2hrs. For now that seems to be the sweet spot.

I will add a note to the README.

he scheduled script at 10:00 this morning bugged out with an SS0 403 error code. A manual run 40 minutes later ran successfully.

I would be nice if we could solve #3 . But I dont think Garmin really supports this currently.
Alternatively, we should probably also try to cache our Garmin tokens to avoid a new SSO login every-time the script runs.

This still happens to me, tried a couple of different IP addresses to rule out being caused by a ban but no join.
I have it as a cron job to run once per day. Sometimes it works but it seems to be random and very low probability.
On top of this  #23 exacerbates the problem, as a rare successful update won't back-fill any of the previously failed ones.

Also having this issue on the very latest code. Haven't been able to get a single good sync since installing this.

I have the same issue. Running a fresh installation.

Leaving this comment if someone comes across this error. In my case, my password had a '&' and hence it was escaped. so you will have to include your password in double quotes. "mypassword&withampersand"


Use qualifiers removing unnecessary object allocation.

Codecov Report

Merging #1023 (9e58d41) into master (8cc4505) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master    #1023   +/-   ##
=========================================
  Coverage     92.03%   92.03%
  Complexity     7429     7429
=========================================
  Files           193      193
  Lines         15672    15672
  Branches       2899     2899
=========================================
  Hits          14423    14423
  Misses          676      676
  Partials        573      573

Impacted Files
Coverage Δ

.../main/java/org/apache/commons/lang3/EnumUtils.java
100.00% <100.00%> (ø)

...a/org/apache/commons/lang3/time/DurationUtils.java
85.18% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


#646: Center form labels (for tooltip styling)

Per #646, modal form field labels have been centered to match their hover tool tips.

@vprusso I need to get a release out. Sorry to dispense with procedure, but I'm merging the two PRs from this afternoon.


[FLOC-4239] Run tests for both Python and Golang implementations.

The previous fix for FLOC-4239 resulted in only the tests for the Golang version being run, not both sets as was intended.
Fix the Makefile so that both trial commands are run.

LGTM, thanks.


Workaround for -1 in pynndescent index

Fixes #130 .
Changes:

Query() is only used for k>15.
n_jobs fixed to 1 for sparse inputs to avoid a pynndescent bug
find all points where index contains -1 values, and let them randomly attract each other.

Fixed everything as requested.
I was actually going to write that I don't think I will be able to look into the tests in the next days or even weeks, and might need to come back to it afterwards. Have some deadlines upcoming. If we can postpone the tests until later, or if you can add some, it would be great.

Alright, I'll try to add some in the coming days.

Hey Pavlin, should we try to continue with this PR?

Yeah, so here, I think three tests would be enough

make sure that pynndescent is actually run with n_jobs=1 if input data is sparse
check if query is used if k_neighbors is more than 15
simulate a case where the indices are, in fact, -1 and make sure it works as intended
This will require a bit of mocking in the tests. Let me know if you want to tackle this.

To be honest, I am not sure how to address (1) and (2). What I could try to do, is to find some simple simulated case where pynndescent yields some -1 values.

It should actually be fairly simple, it's just a case of mocking a few things and making sure things are called properly.

OK great. Meanwhile I discovered that I cannot install the latest pynndescent version (0.4.8) from conda due to some package conflicts. I had to reinstall my operating system and conda recently, so my conda environment is quite fresh. Weird. The latest UMAP installs without problem.  Can you install pynndescent=0.4.8?

Can you install pynndescent=0.4.8?

Yeah, I have no issues installing it. I tried in a fresh conda environment and installed it via pip. Also works with conda for me...

I think I localized the conflict: https://github.com/lmcinnes/pynndescent/issues/102

@dkobak Was there anything else with this PR. I've added the tests, so if that's it, I'll merge. The tests are currently failing because numba removed something in the meantime, but that's fixed in the other PR.

Wow, the tests look great. Never encountered MagicMock :-) I need to figure out how this stuff works. Thanks for taking care of it.
See my little comment above regarding k/k+1. Apart from that, I'm happy if you merge.

Mocking things generally isn't the best way of testing things, but sometimes you really want to make sure some functions are called the right way, which is exactly what we need here.
Have you had a chance to look at #138 yet?

Hmm, after we implemented this workaround, I realized that the last version of pynndescent does not return any -1s anymore in the datasets I have. I asked here https://github.com/lmcinnes/pynndescent/issues/99#issuecomment-654128474 and Leland said that there were some changes in how cosine distance is handled that made it less likely for pynndescent to fail to find neighbors. Oh well.

That's fine. In case it ever pops up again, we have a solution, and we wouldn't get strange errors.


fix: apply svgProps to Svg component when target is custom

small fix for svgProps and components

Thanks!


Automated cherry pick of #5162: huawei elb backend vpc validate fix

Cherry pick of #5162 on release/3.0.
#5162: huawei elb backend vpc validate fix

/lgtm

/approve


Add a set of app specs for manual testing

This PR adds a set of app/service specs for manual testing.

I assume these are copy-paste-able references, not really used by the code, right?
In that case, would it make sense to move them in the docs/examples folder, or in a wiki page?
Because resources contains files that are supposed to be part of the final build, directly or indirectly.

Not blocking the PR though.

@wavesoft good point! Going to close this and the related PRs.


Add reader for Localite dig files

We now have a Localite digitizer system, so MNE-Python needs a reader 😄.

I think the failing test is unrelated.

@agramfort the failing test is mne/minimum_norm/tests/test_inverse.py::test_make_inverse_operator_diag, I can't see how this should be related (especially since it only fails for Python 3.9 conda. What else do I need to update?

I think @agramfort was asking you to update some "see also" sections; it looks like you already updated the API page.

I'm sorry, I didn't get it for some reason. I've added/extended all relevant sections.

All green, @agramfort or @drammock feel free to merge.

thanks @cbrnr


Patch com.snowplowanalytics.monitoring.kinesis/storage_write_failed

Hey @chuwy this seems to be the last "bad" event we have flowing through our internal pipeline so patching this would mean pretty much no data going to bad anymore!
Failures seem to be generated from the Elasticsearch Loader - I have opened a ticket there to explore why this appears to be sending null messages:
https://github.com/snowplow/snowplow-elasticsearch-loader/issues/124

Well currently all of that monitoring information is going to the bin and will continue to do so until we:

Patch and release a new version of this application
Update all of our deployed apps (quite a slow upgrade cadence currently)

For brevity and getting things working now I would really prefer allowing null so that we can get use from the monitoring now (even if some messages are null!).

Okay, makes sense. We always can add next schema without null after this fixed in the Elasticsearch Loader. Scheduling.

Thanks @chuwy !

Closing in favor of https://github.com/snowplow/iglu-central/pull/860. Thanks.

Closing in favor of https://github.com/snowplow/iglu-central/pull/860. Thanks.


Headless AI ignore waypoint completion radius

Place AI, sync to headless. Assign a MOVE waypoint and set the completion radius to 100m.
It would be expected that once the AI arrives within 100 meters to the waypoint, it would consider it to be completed.
What actually happens, is that the AI still travel all the way to the center of the waypoint, regardless of any other setting, before considering it to be completed.

Can replicate, working on it.

https://github.com/Global-Conflicts-ArmA/Olsen-Framework-Arma-3/commit/3d60d5edce05d61fa021772f497fe4b882a0cb26


Launch baseline recommender system

Move respective parts of the documentation from Setup.md to sample/README.md

I see one problem with the code that will affect it later, I'll try fixing this after work tomorrow, the problem being an exception shutting down the system when it rather should have been logged and skipped for users with no article raccomendations.
But what seems to be the problem now is that no users has any topics:
{
    "userinfo": {
        "1": {
            "categories": [],
            "dblp_profile": "",
            "first_name": "mail",
            "google_scholar_profile": "",
            "last_name": "man",
            "organization": "",
            "personal_website": "",
            "registered": "Mon, 18 Jun 2018 14:00:32 GMT",
            "semantic_scholar_profile": "",
            "topics": []
        },
        "2": {
            "categories": [],
            "dblp_profile": "",
            "first_name": "Krisztian",
            "google_scholar_profile": "",
            "last_name": "Balog",
            "organization": "",
            "personal_website": "",
            "registered": "Fri, 22 Jun 2018 09:02:01 GMT",
            "semantic_scholar_profile": "",
            "topics": []
        },
        "3": {
            "categories": [],
            "dblp_profile": "",
            "first_name": "A",
            "google_scholar_profile": "",
            "last_name": "Torres",
            "organization": "",
            "personal_website": "",
            "registered": "Tue, 26 Jun 2018 20:27:17 GMT",
            "semantic_scholar_profile": "",
            "topics": []
        },
        "4": {
            "categories": [],
            "dblp_profile": "",
            "first_name": "saran",
            "google_scholar_profile": "",
            "last_name": "k",
            "organization": "",
            "personal_website": "",
            "registered": "Wed, 04 Jul 2018 10:35:01 GMT",
            "semantic_scholar_profile": "",
            "topics": []
        },
        "5": {
            "categories": [],
            "dblp_profile": "",
            "first_name": "Claudia",
            "google_scholar_profile": "",
            "last_name": "Hauff",
            "organization": "",
            "personal_website": "",
            "registered": "Mon, 15 Apr 2019 08:36:37 GMT",
            "semantic_scholar_profile": "",
            "topics": []
        },
        "7": {
            "categories": [],
            "dblp_profile": "",
            "first_name": "M",
            "google_scholar_profile": "",
            "last_name": "L",
            "organization": "",
            "personal_website": "",
            "registered": "Mon, 15 Apr 2019 09:03:02 GMT",
            "semantic_scholar_profile": "",
            "topics": []
        },
        "8": {
            "categories": [],
            "dblp_profile": "",
            "first_name": "Christoph M.",
            "google_scholar_profile": "",
            "last_name": "Friedrich",
            "organization": "",
            "personal_website": "",
            "registered": "Mon, 15 Apr 2019 09:09:53 GMT",
            "semantic_scholar_profile": "",
            "topics": []
        },
        "9": {
            "categories": [],
            "dblp_profile": "",
            "first_name": "Philipp",
            "google_scholar_profile": "",
            "last_name": "Schaer",
            "organization": "",
            "personal_website": "",
            "registered": "Mon, 15 Apr 2019 09:26:34 GMT",
            "semantic_scholar_profile": "",
            "topics": []
        },
        "10": {
            "categories": [],
            "dblp_profile": "",
            "first_name": "I",
            "google_scholar_profile": "",
            "last_name": "S",
            "organization": "",
            "personal_website": "",
            "registered": "Mon, 15 Apr 2019 11:50:54 GMT",
            "semantic_scholar_profile": "",
            "topics": []
        },
        "11": {
            "categories": [],
            "dblp_profile": "",
            "first_name": "Jakub",
            "google_scholar_profile": "",
            "last_name": "Zavrel",
            "organization": "",
            "personal_website": "",
            "registered": "Sat, 04 May 2019 14:04:54 GMT",
            "semantic_scholar_profile": "",
            "topics": []
        },
        "12": {
            "categories": [],
            "dblp_profile": "",
            "first_name": "Arjen",
            "google_scholar_profile": "",
            "last_name": "de Vries",
            "organization": "",
            "personal_website": "",
            "registered": "Tue, 07 May 2019 14:55:41 GMT",
            "semantic_scholar_profile": "",
            "topics": []
        },
        "13": {
            "categories": [],
            "dblp_profile": "",
            "first_name": "Faegheh",
            "google_scholar_profile": "",
            "last_name": "Hasibi",
            "organization": "",
            "personal_website": "",
            "registered": "Tue, 07 May 2019 15:04:13 GMT",
            "semantic_scholar_profile": "",
            "topics": []
        },
        "14": {
            "categories": [],
            "dblp_profile": "",
            "first_name": "sa",
            "google_scholar_profile": "",
            "last_name": "ha",
            "organization": "",
            "personal_website": "",
            "registered": "Wed, 22 May 2019 17:23:59 GMT",
            "semantic_scholar_profile": "",
            "topics": []
        },
        "15": {
            "categories": [],
            "dblp_profile": "",
            "first_name": "omid",
            "google_scholar_profile": "",
            "last_name": "mohammadi kia",
            "organization": "",
            "personal_website": "",
            "registered": "Wed, 22 May 2019 17:57:04 GMT",
            "semantic_scholar_profile": "",
            "topics": []
        },
        "16": {
            "categories": [],
            "dblp_profile": "",
            "first_name": "lawrence",
            "google_scholar_profile": "",
            "last_name": "rowland",
            "organization": "",
            "personal_website": "",
            "registered": "Sat, 15 Jun 2019 15:56:55 GMT",
            "semantic_scholar_profile": "",
            "topics": []
        },
        "17": {
            "categories": [],
            "dblp_profile": "",
            "first_name": "Kristian",
            "google_scholar_profile": "",
            "last_name": "Gingstad",
            "organization": "",
            "personal_website": "",
            "registered": "Sat, 15 Feb 2020 15:31:06 GMT",
            "semantic_scholar_profile": "",
            "topics": []
        }
    }
}

Just tested master and topics are both stored when I signup and sent by the api, is it possible that the users where created before topics where introduced?

Yes, those users were created before. I wanted to add topics, but I couldn't because there is an error in a DB field name; see #99
We can reasonably assume that all users will have topics. But, still, it'd be better to give a warning if a user doesn't have any topics and then skip them when generating recommendations.

It has now been scheduled to run every weekday.


[Refactor] Build URL query params in a more idiomatic way

URLs are currently built by concatenating strings, e.g:

This could use url.URL and similar types from the stdlib. This would:

make it easier to read
be more idiomatic go
handle encoding edge cases better

I will try this.


Stop using reflection in kobweb conf

kobweb conf uses reflection to get the property values, which means it doesn't support new values added after the cli release. It should probably just look at the parsed yaml map

Will be fixed in 0.9.14


⚠ Bofrost.fr has degraded performance

In ddec269, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1005 ms

Resolved: Bofrost.fr performance has improved in 2676dd5.


Feature/setup core and api modules

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
:information_source: You can also turn on project coverage checks and project coverage reporting on Pull Request comment
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Encountering the “Display output is not active” issue, how can it be resolved?

Operating system
Kylin-V10-SP3
Description
Encountering the “Display output is not active” issue, how can it be resolved?
Nested virtualization is not supported
KVM: N
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.

Authorized users only. All activities may be monitored and reported.

WARNING! The remote SSH server rejected X11 forwarding request.

Authorized users only. All activities may be monitored and reported.
Activate the web console with: systemctl enable --now cockpit.socket

Last login: Tue Jul  2 13:36:50 2024 from <IP_ADDRESS>
[root@aaaa ~]# uname -a
Linux aaaa 4.19.90-52.38.v2207.ky10.aarch64 #4 SMP Wed May 8 19:16:35 CST 2024 aarch64 aarch64 aarch64 GNU/Linux
[root@aaaa ~]# lscpu
Architecture:                    aarch64
CPU op-mode(s):                  64-bit
Byte Order:                      Little Endian
CPU(s):                          16
On-line CPU(s) list:             0-15
Thread(s) per core:              1
Core(s) per socket:              8
Socket(s):                       2
NUMA node(s):                    1
Vendor ID:                       HiSilicon
Model:                           0
Model name:                      Kunpeng-920
Stepping:                        0x1
CPU max MHz:                     2600.0000
CPU min MHz:                     2600.0000
BogoMIPS:                        200.00
L1d cache:                       1 MiB
L1i cache:                       1 MiB
L2 cache:                        8 MiB
L3 cache:                        64 MiB
NUMA node0 CPU(s):               0-15
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Mmio stale data:   Not affected
Vulnerability Retbleed:          Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:        Mitigation; __user pointer sanitization
Vulnerability Spectre v2:        Not affected
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs
[root@aaaa ~]# cat /etc/kylin-release
Kylin Linux Advanced Server release V10 (Lance)

Docker compose
services:
  windows:
    image: dockurr/windows-arm:2.11
    container_name: wis
    privileged: true
    cap_add:
      - NET_ADMIN
    volumes:
      - ./data:/storage
    environment:
      KVM: N
      CPU_CORES: "12"
      RAM_SIZE: "32G"
      DISK_SIZE: "128G"
    devices:
      - /dev/kvm
    ports:
      - 8006:8006
      - 3389:3389/tcp
      - 3389:3389/udp
    stop_grace_period: 2m
    restart: on-failure

Docker log

[root@aaaa 01.wis]# docker-compose up
[+] Running 1/0
 ✔ Container wis  Created                                                                                0.0s
Attaching to wis
wis  | ❯ Starting Windows for Docker v2.11...
wis  | ❯ For support visit https://github.com/dockur/windows-arm
wis  | ❯ CPU: TaiShan v110 | RAM: 49/63 GB | DISK: 479 GB (xfs) | HOST: 4.19.90-52.38.v2207.ky10.aarch64...
wis  |
wis  | ❯ Booting Windows using QEMU v8.2.4...
wis  | UEFI firmware (version 2024.05-1 built at 16:56:31 on Jun  4 2024)
wis  |

BdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0): Not Found
wis  | BdsDxe: loading Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)
wis  | BdsDxe: starting Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)
wis  |

  Loading files...

  lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll

  Loading files...

  llllll                                                                      ❯ Windows started succesfully, visit http://localhost:8006/ to view the screen...

Screenshots (optional)

If there is no KVM support remove /dev/kvm from the compose YAML and redeploy
To fix X11 forwarding error uncomment the below line of your sshd_config file on the local machine - usually located at at /etc/ssh/sshd_config
From
#X11Forwarding no
To
X11Forwarding yes
Save and restart ssh with
sudo systemctl restart sshd


Fix Response Headers to pass the tests

There is a test for each of the three post requests (contract call, get balance, transfer) which expects 'Content-Type' to be 'application/json' on the response header. (The test description is misleading though, because is refers to the request header while the fail results from a check on the response header)
The issue comes from Express automatically adding 'charset=UTF-8'.
Checklist:

[ x] I have read freeCodeCamp's contribution guidelines.
[ x] My pull request has a descriptive title (not a vague title like Update index.md)

Closes #XXXXX

Hi,
Have you read the commit message?
The issue is not with the app, but with the tests, which don't pass even though the code works correctly.
I think the title is pretty descriptive, maybe you can suggest an improvement, given the suggested changes and the issue that they fix?


missing www in documentation links

https://acoular.org is no longer redirected to https://www.acoular.org, so links in readme fail

This concerns the README file, the docs, and the project.toml

solved by DNS reconfig


Getting 1000ms and occasional errors, but now running stable boomalope farm.

Player.log
modlist.txt

Some of  these errors could be mod related of course.

Closing bug. Many bugs have been fixed since this was reported. Please reopen in new bug report using the new templates if this issue persists.


Offline EE install

Some customers need to install EE offline and need to figure out how to copy the bits over from the EE repo link. I don't know the exact steps, but I've already been asked several times for this and it would be helpful to have this posted somewhere.
File: engine/installation/index.md, CC @mstanleyjones

Do you mean something different from these:
https://docs.docker.com/engine/installation/linux/ubuntu/#install-from-a-package
https://docs.docker.com/engine/installation/linux/rhel/#install-from-a-package
https://docs.docker.com/engine/installation/linux/centos/#install-from-a-package
https://docs.docker.com/engine/installation/linux/oracle/#install-from-a-package
https://docs.docker.com/engine/installation/linux/suse/#install-from-a-package

Ahh thanks that helps. Thanks, will close this.


[Minor] Move a test from spark-3.2 module to a common test module

What changes were proposed in this pull request?
This is a test for gluten core code which makes correct transition nodes are added when vanilla spark columnar scan is used. Should be placed in a common test module to ensure the relevant core code is still tested after spark-3.2 test is removed in the future.
How was this patch tested?
CI.

@jackylee-ch, could you take a look?


How is this package different from youtube_player_iframe?

The README says that it fixes some bugs. Is there a list of differences and maybe rationale why a new package has been created instead of contributing to the original one?

I tried contributing to the main repo, I waited a few months for a successful merge before creating this fork.
Main differences:

iOS actually works as described
More frequent updates, quicker fixes and quality checks
Additional methods

Thanks for the answer!


Sliderule parquet s3 example

Not sure if this will get covered during tutorial time, but wanted to document it for the hackweek!
@jomey I'm undecided on just using rendered notebooks for this event, either we disable execution or make sure the CI environment matches the cryocloud environment...
https://github.com/ICESAT-2HackWeek/ICESat-2-Hackweek-2023/blob/31af5c800dc96798f91212bec917fa1af8ffdc35/book/_config.yml#L38

I assume we can use this environment.yaml?

I assume we can use this environment.yaml?

Yes, I think that'll work, but omitting the 'Desktop' things towards the bottom of the file like QGIS, and adding the things we require for the splashpage:
https://github.com/ICESAT-2HackWeek/ICESat-2-Hackweek-2023/blob/31af5c800dc96798f91212bec917fa1af8ffdc35/conda/environment.yml#L23-L28
Would you be willing to open a separate PR for that @jomey ? Otherwise I might get to it later today

Would you be willing to open a separate PR for that @jomey ? Otherwise I might get to it later today

I can take a first crack at it. I don't have access to an OS X environment, so maybe you can test that one based of what I can get to.
Agreed on skipping the desktop items. We also need the cookiecutter package to build the website.

Unfortunately CI will fail for code requiring AWS credentials or environment variables automatically set on CryoCloud:
# Get Temporary AWS Credentials on CryoCloud JupyterHub
client = boto3.client('sts')
# https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sts/client/assume_role_with_web_identity.html

with open(os.environ['AWS_WEB_IDENTITY_TOKEN_FILE']) as f:
    TOKEN = f.read()

You could add these environment variables as repository secrets, but they are often time-limited, so updating them all the time would be annoying. I think for notebooks that require such things, we should just commit the rendered notebook and manually check (or trust :) that it runs on CryoCloud JupyterHub

I think for notebooks that require such things, we should just commit the rendered notebook and manually check (or trust :) that it runs on CryoCloud JupyterHub

Sounds like a great solution.
Will you still look into this failure. Seems unrelated, but maybe because this is the first time the tutorial section is being changed.

Looks like the body text under this heading has an additional [. Or was there supposed to be a link?

Curious on why this block is tracked with a %%time?

Curious on why this block is tracked with a %%time?

I do that out of habit with sliderule processing because without verbose=True you don't get much feedback, and I suppose it's nice if someone is going over this notebook to know in advance it'll take ~40 seconds

Thanks for the review @jomey I added an additional sentence to each section but want to keep it brief though since other SlideRule content will cover more background info.


admission webhook "iam-for-pods.amazonaws.com" does not support dry run

What happened:
Executing kubectl diff against a deployment using IAM roles for service accounts (IRSA) resulted in the error "Error from server (BadRequest): admission webhook "iam-for-pods.amazonaws.com" does not support dry run".
It would be nice to support this feature so it is part of our workflow.
What you expected to happen:
Expected to see the diff
How to reproduce it (as minimally and precisely as possible):
kubectl diff targeting an EKS cluster.
Anything else we need to know?:
Environment:

AWS Region: ap-southeast-2
EKS Platform version (if using EKS, run aws eks describe-cluster --name <name> --query cluster.platformVersion): eks.1
Kubernetes version (if using EKS, run aws eks describe-cluster --name <name> --query cluster.version): 1.15
Webhook Version:

We've been seeing this issue when working with Pods directly, Deployments, StatefulSets and Jobs seem to work though

Yes, can also confirm that deployments, statefulsets and jobs are working now

So how to resolve for Pods? Not use it?

Yes, what is the actual fix for this please?

Applying the change in https://github.com/aws/amazon-eks-pod-identity-webhook/pull/79 should let Kubernetes know how to dry-run with this webhook. Are you still seeing an error dryrunning after that change?

I can confirm the error still occurs for Pods. All other Kinds seem fine.
The erro message I'm getting is:
Error from server (BadRequest): error when creating "STDIN": admission webhook "iam-for-pods.amazonaws.com"
does not support dry run

I can confirm the error still occurs for Pods. All other Kinds seem fine.
The erro message I'm getting is:
Error from server (BadRequest): error when creating "STDIN": admission webhook "iam-for-pods.amazonaws.com"
does not support dry run

Patching sideEffects: None onto into the mutating webhook configuration is the effective fix. Sounds like EKS still isn't doing that by default? I'm on GKE so i had to install the webhook myself.

Patching sideEffects: None onto into the mutating webhook configuration is the effective fix. Sounds like EKS still isn't doing that by default? I'm on GKE so i had to install the webhook myself.

This is still an issue on my EKS clusters, now upgraded to 1.23. Why isn't this webhook kept up to date by EKS (#79 is not present)?
Should I manually manage this or am I missing some line in the upgrade notes long ago?


Designer view does not work with pre-existing logic apps

While trying to edit existing logic apps the designer view does not load. It stays blank. Creating a new logic app via the extension and copying in the code from the pre-existing logic apps does work. Tried looking at the debug console and problems tab to see if any errors are reported. Unfortunately no erros showed. Steps to reproduce:

connect to azure account
open existing logic app via designer view
blank screen

creating the new logic app only works locally, after creating the new logic app in windows. The designer works there. Opening it on another device results in the same blank screen. It's probably related to some local resource that is missing or not correctly configured.
Looking at the developer console shows the following error:
Uncaught (in promise) Common.UnsupportedException: Cannot render designer due to presence of managed identity connections.     at r.t [as constructor] (https://ema.hosting.portal.azure.net/ema/Content/2.20418.1.2/Scripts/logicappdesigner/core.designer.min.js:1:277363)     at new r (https://ema.hosting.portal.azure.net/ema/Content/2.20418.1.2/Scripts/logicappdesigner/core.designer.min.js:1:153260)     at t.<anonymous> (https://ema.hosting.portal.azure.net/ema/Content/2.20418.1.2/Scripts/logicappdesigner/core.designer.min.js:1:1410466)     at step (https://ema.hosting.portal.azure.net/ema/Content/2.20418.1.2/Scripts/logicappdesigner/tslib.js:143:27)     at Object.next (https://ema.hosting.portal.azure.net/ema/Content/2.20418.1.2/Scripts/logicappdesigner/tslib.js:124:57)     at https://ema.hosting.portal.azure.net/ema/Content/2.20418.1.2/Scripts/logicappdesigner/tslib.js:117:75     at new Promise (<anonymous>)     at Object.__awaiter (https://ema.hosting.portal.azure.net/ema/Content/2.20418.1.2/Scripts/logicappdesigner/tslib.js:113:16)     at t.deserialize (https://ema.hosting.portal.azure.net/ema/Content/2.20418.1.2/Scripts/logicappdesigner/core.designer.min.js:1:1409864)     at e.<anonymous> (https://ema.hosting.portal.azure.net/ema/Content/2.20418.1.2/Scripts/logicappdesigner/core.designer.min.js:1:2185788)
Tested both on Windows and MacOS.

The designer in the extension does not support Logic Apps using managed identity. I'll pass this bug report along to the team.

Reopening #187 to mark it as a duplicate of this.

Additionally exporting to ARM via "Add to Project" action does not set
           "identity": {                 "type": "SystemAssigned"             },


Updating an EVC from totally dynamic path to static primary and backup path may leave failover_path behind

When we implemented the failover_path we restricted its applicability to "totally dynamic EVCs" (i.e., dynamic_backup_path=True and primary_path=[] and backup_path=[]), however when we update/patch an EVC and make it from a totally dynamic into a statically primary/backup path, the failover_path is left behind.
How to reproduce:

Create an EVC totally dynamic
Patch the EVC and provide the primary_path and backup_path

Expected behavior: the failover_path should be removed
Actual behavior: failover_path is left behind (btw, in an inconsistent state since the egress flows will not make more sense at that point)

I could not replicate this issue or maybe it has been fixed.
The steps I did, I created an EVC:
{
"name": "my evc1",
"dynamic_backup_path": true,
"enabled": true,
"uni_a": {
"tag": {"value": 200, "tag_type": 1},
"interface_id": "00:00:00:00:00:00:00:01:1"
},
"uni_z": {
"tag": {"value": 100, "tag_type": 1},
"interface_id": "00:00:00:00:00:00:00:03:1"
}
}
Then patch the EVC with:
{
"primary_path": [
{"endpoint_a": {"id": "00:00:00:00:00:00:00:01:3"},
"endpoint_b": {"id": "00:00:00:00:00:00:00:02:2"}},
{"endpoint_a": {"id": "00:00:00:00:00:00:00:02:3"},
"endpoint_b": {"id": "00:00:00:00:00:00:00:03:2"}}
],
"backup_path": [
{"endpoint_a": {"id": "00:00:00:00:00:00:00:01:4"},
"endpoint_b": {"id": "00:00:00:00:00:00:00:03:3"}}
]
}
But the failover has been deleted. Also, I tried with just "primary_path":
{
"primary_path": [
{"endpoint_a": {"id": "00:00:00:00:00:00:00:01:4"},
"endpoint_b": {"id": "00:00:00:00:00:00:00:03:3"}}
]
}
Checked on OVS flows and every flow used by failover_path do no exist. @italovalcy please check if my example is incorrect.

@italovalcy could you please double check if this is still happening? @Alopalao mentioned he couldn't replicate it back then. Thanks.

Italo has just confirmed it's indirectly fixed. Aldo thanks for also trying to reproduce it. One less issue.


Can't sign in with my personal account.

Describe the bug
I am trying to sign in with my account  but I am getting this error .
Version

I am using v2.1.2
Browser

Chrome
OS

Windows
Expected behavior

Screenshots

Additional context

@Tejaspshetty19, this doesn't appear to be an issue with Composer. As the message indicates, you need to sign in using either a work or school account. In other words, an account that is tied to a tenant built in Azure.
To be clear, it is possible to sign in using a personal Microsoft account (i.e. an 'outlook.com' or 'hotmail.com' email) so long as that personal account is part of an already established tenant.
Do you have a tenant sign in (for instance, 'john.doe@unknown.com'), is your email address joined to a tenant, or is it simply an email address you created when signing up with Outlook.com?

Closing due to inactivity. If the issue persists, please feel free to re-open.


Debug files in /tmp

Hi :wave: , I noticed that starting marksman (version 1.0.0-77f348c) creates following files in /tmp/ directory:

clr-debug-pipe--in
clr-debug-pipe--out
dotnet-diagnostic--socket

From my quick search it looks like they are some sort of dotnet's debugging interface.
Setting environment variable COMPlus_EnableDiagnostics=0 disables them but is this functionality needed for something?
Could it be disbled at build time?

Thanks for raising this @m3tav3rse! I wasn't aware of this kind of CLR diagnostics and I guess it's fine to disable it. Do you know how to disable it a build time? If so, please, feel free to submit a PR with the change!

I only found documentation about disabling it by environment variable: 1, 2, 3.
I initially suspected that -p:DebugType=embedded line in marksman Makefile may disable it but I can't find any documentation on it, only this.


Locale not switching ( Always en )

Hello, so I have my Rails/Vue application where I have en.yml and ar.yml in my config/locales, I import them in my config/application.rb like this
I18n.default_locale = :en
I18n.available_locales = [:en, :ar]
config.i18n.fallbacks = true

in my application.js.erb I have
//= require i18n
//= require i18n.js
//= require i18n/translations

Now I have a vue mixin that I import and use that looks like this
export default {
  methods: {
    t: (...args) => I18n.t(...args),
    currentLocale: () => I18n.currentLocale(),
  },
};

My problem is that the locale set in I18n-js is always "en", if I console.log(I18n.locales.get()), it's always an array of "en".
in my application_controller.rb I have
  def set_locale
    I18n.locale = params[:locale] || I18n.default_locale
  end

  def default_url_options
    { locale: I18n.locale }
  end

I have even tried I18n.locale = "ar" here but it was still "en" in i18n-js
I know the params locale is set properly because other erb files using rails i18N translate fine. Only the vue ones using i18n-js seem to always be en.

I have never used vue so I can't speak for that part
The config you set in config/application.rb is for ruby side
If you want to propagate those config onto I18n object on JS side, you must do it yourself
My app's JS got a piece of code like this:
import(
  /* webpackMode: "eager" */
  "./../../../../assets/javascripts/plugins/i18n-js/index.ts.erb"
)
.then(({default: I18n}) => {
  // region assign existing locale
  try {
    if (typeof window.I18n.defaultLocale === "string") {
      I18n.defaultLocale = window.I18n.defaultLocale
    }
  } catch (e) {
    // Do nothing
  }
  try {
    if (typeof window.I18n.locale === "string") {
      I18n.locale = window.I18n.locale
    }
  } catch (e) {
    // Do nothing
  }
  window.I18n = I18n
})

And this in layout
  :javascript
    (function(I18n) {
      I18n.defaultLocale = "#{I18n.config.default_locale}";
      I18n.locale = "#{valid_external_locale_sym_from_params}";
    }(this.I18n = {}))

Wow documentation mentions none of this I'm surprised no one else had my issue before.
For the code in your layout I added it to my application.js pack which I render as a javascript pack tag on my layout, I got the following error:
application.js:26 Uncaught TypeError: Cannot set property 'I18n' of undefined
    at Module../app/javascript/packs/application.js (application.js:26)

For your JS code I'm not even sure where to place that and even if I definitely don't have that plugin you're importing, I'm using the asset pipeline approach which just said to install the gem add a couple lines to application.js.erb and voila, I just need it to start reading my ruby locales.

Added the following to my layout and all checked out in case anyone stumbles across the same. thing is that webpacker = you're not using asset pipeline even if you are otherwise in your rails app.
    <%= javascript_include_tag "i18n" %>
    <script type="text/javascript">
    I18n.defaultLocale = "<%= I18n.default_locale %>";
    I18n.locale = "<%= I18n.locale %>";
    </script>

I haven't been having much luck with any of the methods provided. But considering that in my app, locale is set from the URL, here's the solution I've come up with for now, using Rails 7 with @hotwire/stimulus:
in config/i18n-js.yml
translations:
  - file: "app/javascript/src/translations.js"
    prefix: "import I18n from 'i18n-js';\n"
    suffix: "window.I18n = I18n;\nconst currentPathLocale = location.pathname.substring(1, 3);\nif( ['en', 'it'].includes( currentPathLocale ) ) {\n    window.I18n.locale = currentPathLocale;\n}"
export_i18n_js: false


Slow QR code processing on Android due to multiple QR decoding tasks running simultaneously

I've noticed that the decoding of QR codes appears to run on ThreadPool tasks based on a timer without any consideration for existing tasks. I can sometimes see upwards of 10 threads running simultaneously depending on how I set the frame rate. This leads to a couple of issues for me:

The app slows to a crawl and the camera begins to stutter as more tasks are started. This is especially noticeable on older smartphones.
Once a barcode is detected the user is directed to a page that asks for more information. However, they can hit the back button and go back to the QR scanning page. Sometimes, one of the still-running threads will finish and cause the BarcodeDetected event to fire even though there is no QR code in front of the camera.

Hi, I have the same issue even with recent smartphones (S23 and Pixel 7), I can't use this plugin due to the lagging.

I can confirm the problem, it takes a very long time to recognize QR codes and poor performance

Hi, The new version is available. Right now, you could control better the barcode detection mode with this properties: BarCodeDetectionFrameRate BarCodeDetectionMaxThreads BarCodeOptions ControlBarcodeResultDuplicate
The performance should be better depending the parameter configuration (specially BarCodeDetectionMaxThreads)

2023-05-12 20-18-14.zip
I record screen video that 1D barcodes not recognized (ZIP). But QR codes is read by 1-3 seconds.
How fix problem with 1D barcodes?

On real android device, Camera.MAUI no read QR codes too 😒

Hi Boris,
I have tested it in 3 Android devices and it works fine for QR detection.... Make sure to initialize correctly the parameters:
CameraView.BarcodeDecodeOptions.PossibleFormats = new List { BarcodeFormat.QR_CODE };
...
By the way, it is not this plugging that detects the codes, this pluggin uses ZXing for that. The plugging only pass a camera capture to the ZXing decoder.

Привет, Борис,
Я протестировал его на 3 устройствах Android, и он отлично работает для обнаружения QR.... Убедитесь, что правильно инициализированы параметры: CameraView.BarcodeDecodeOptions.PossibleFormats = new List { BarcodeFormat.QR_CODE }; ...
Кстати, не этот плагин обнаруживает коды, этот плагин использует для этого ZXing. Подключение передает только захват камеры на декодер ZXing.

No throw break point...

Hi,
Sorry, but I don't understand your message. With this configuration I have read your code from an Android device in less of 1 second:
        cameraView.BarCodeOptions = new ZXingHelper.BarcodeDecodeOptions
        {
            AutoRotate = true,
            PossibleFormats = { BarcodeFormat.EAN_13 },
            ReadMultipleCodes = false,
            TryHarder = false,
            TryInverted = true
        };


left and right buttons in NavigationHeader

Is there a recommended way to add buttons to the navigation header? I'm able to hack it by extending NavigationHeader but it feels really hacky:
export default class MyNavigationHeader extends NavigationHeader {
  _renderRightButton(): ?ReactElement {
    if (typeof this.props.onRightPress !== 'function') {
      return null;
    }
    return (
      <TouchableOpacity style={styles.rightButton} onPress={this.props.onRightPress}>
        <Image resizeMode='contain' source={require('../assets/menu-alt-64.png')} style={styles.rightButtonImage} />
      </TouchableOpacity>
    );
  }
  render() {
  	return (
  		<View style={styles.header}>
  			{super.render()}
  			{this._renderRightButton()}
  		</View>
  		)
  }
}

You're on the right track, because NavigationHeader provides the renderRightComponent prop that essentially does what you are doing here. You can pass that button in directly to that prop on the original nav header and that should be good.
Note that I'm overriding one of the other built-in nav header props (renderTitleComponent) in the example to put in a more flexible title control.

Oh that's cool! I was looking for a props like that but couldn't find it. Probably because I'm on rn 0.22.2.
I'll try upgrading. thanks!

Ah gotchya. Yep, things are moving quickly. :)

done! it's worked a charm. Thanks again.
          <NavigationHeader
            {...props}
            renderTitleComponent={props => {
              const title = props.scene.navigationState.title
              return <NavigationHeader.Title>{title}</NavigationHeader.Title>
            }}
            renderRightComponent={props => {
              return <TouchableHighlight style={styles.rightButton} onPress={()=> this._drawer.open()}>
                      <Image style={styles.rightIcon} resizeMode='contain' source={require('../assets/menu-alt-64.png')}/>
                     </TouchableHighlight>
            }}
          />


Arc 997 - Replace OctoKit with Github client for the discovery queue

In Github Client, created a new Github client function getRepositoriesPage which is a graphql query to get a page of repos for the logged in org.
In src/sync/discovery.ts added a feature flag to use Octokit or new github client.

Closing PR so it get a fresh look, had significant changes when moving from graphql to REST, additional syncing per API request.


TypeError: rac(): incompatible function arguments.

I ran into an error when I was trying to use the sample code:
X = np.random.random((10000, 768))
labels = racplusplus.rac(
  X, max_merge_distance=.24, connectivity=None, batch_size=1000, no_processors=8, distance_metric="cosine"
)

Error:
TypeError                                 Traceback (most recent call last)
Cell 10 line 2

TypeError: rac(): incompatible function arguments. The following argument types are supported:
    1. (arg0: numpy.ndarray[numpy.float64[m, n]], arg1: float, arg2: object, arg3: int, arg4: int, arg5: str) -> numpy.ndarray

Invoked with: array([[0.6976868 , 0.67114469, 0.86574914, ..., 0.11234943, 0.2656756 ,
        0.28365873],
       [0.90549301, 0.71009645, 0.89945103, ..., 0.64634767, 0.82557997,
        0.87272555],
       [0.42725098, 0.42255158, 0.94242929, ..., 0.82912421, 0.03063599,
        0.47634264],
       ...,
       [0.83883261, 0.02404994, 0.73920084, ..., 0.28359129, 0.42741765,
        0.13702825],
       [0.38300785, 0.85978371, 0.0691742 , ..., 0.39573976, 0.07083835,
        0.87847463],
       [0.07231579, 0.49157908, 0.62391148, ..., 0.04350661, 0.53439326,
        0.19267565]]); kwargs: max_merge_distance=0.24, connectivity=None, batch_size=1000, no_processors=8, distance_metric='cosine'

I got this as well

I had the same issue, but removing the argument names did the trick for me.
labels = racplusplus.rac(X, .24, None, 1000, 8, "cosine")


textual inversion + PEZ = prompt-space personalization

in theory, would be model agnostic as long as using same text encoder.

as a starting place, could even just probe the top CLIP similarity names compared with the input "identity" image.
would be nice if I had the "identity filter" constructed. really just needs to be a simple MLP is all.

separately: I wonder how PEZ does inverting prompts for strong identities like this?


Upgrade to 3.x stable

What's new?

Spree 3.0 support!
Launchy support for specs

#124

@vinniefranco this might be on your to-do list already, but would you mind merging master into 2-4-stable before you merge this PR, so 2-4-stable can have the most recent bug fixes and features that's still 2-4 compatible. Thanks.

@yf6 Of course! On it.

@yf6 done!


[Question] Unit test only one spec

Guys, when we execute npm run unit, it runs all test specs at once. Is it possible to ask karma to run only a specific test spec?
Thank you.

@melquic
There isn't a easy way to set this up as Karma is given the entire list of specs when running. This file (https://github.com/SimulatedGREG/electron-vue/blob/master/template/test/unit/index.js) determines what is feed into Karma, so you would need to adjust what specs are being required.
This is nearly the same setup as the official vuejs-templates/webpack setup and there are no plans to add this sort of capability.

Going to close this. Feel free to comment back any other questions.

Ok. Thanks!


[BUG] Disk doesn't show up in Windows VM install

Describe the bug

When you create a VM with the Windows template the root disk doesn't show up in the installer
To Reproduce
Steps to reproduce the behavior:

Upload a Windows installer ISO
Create a new windows VM with the windows template
Make sure that the ISO is a CDROM volume so that you can boot to the ISO Bug
Expected behavior

The root disk should
Support bundle
supportbundle_51a68deb-608a-46a6-bf00-024022c19929_2022-07-18T19-09-05Z.zip
Environment

Harvester ISO version: v1.0.2
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Single node Vagrant box 16GB RAM 12C

Additional context
Add any other context about the problem here.
I believe that this is being caused by the template having the root disk as VirtIO. If you change it to SATA it shows up in the installer. Server versions 2012, 2019, and 2022 all didn't show the disks and trying to load the driver from the ISO that was included didn't work. It said that no signed drivers were present.

Suggest to add the workaround into Harvester doc, e.g. troubleshooting.

For windows disk, we need to load and install drivers as https://github.com/harvester/harvester/issues/1730#issuecomment-1024014419 mentioned.
Currently, the vmdp container in windows-base-template not includes windows 2019, so we would need to update the document that they would need to use other driver source such like virtio

Need to update the Create a Windows VM page to include more details on Windows installation steps and related driver configurations.

Added Windows installation guidelines and know issues to the https://docs.harvesterhci.io/v1.0/vm/create-windows-vm/#installation-of-windows; feel free to re-open this issue or submit a doc enhancement PR if required, thanks.


Firebase realtime database calls freeze / never return

Environment
Latest firebase-admin npm package - v9.2.0
Describe the problem
Calls to someRef.once("value") or someRef.transaction(cb) freeze with await or never call success or error callbacks, if provided instead.
Steps to reproduce:
It's intermediate but I have specific paths it happens at, even though with siblings of that path with the same rules it doesn't happen.
Relevant Code:
Just the standard once and transaction calls. The code worked perfectly prior to today and even today works on sibling nodes.
From my past experience, when db calls freeze, it has something to do with locks not being released, I suspect it's a problem with the db itself.
Related questions:

Are there any logs I can enable to see what happens?

Any way to reset the db?

Thanks,
Ronen

Are there any logs I can enable to see what happens?

I believe you can do admin.database().enableLogging(console.log) to get a debug log output. Please share one, as that will be helpful in analyzing this issue.

Any way to reset the db?

There's no such thing.

I'm going to close this due to lack of activity. If there's any new information/results/logs, we'd be happy to take a look.


[ERROR] Error: getaddrinfo ENOTFOUND leetcode.com leetcode.com:443 [0]

Problem Summary

leetcode submit 884.decoded-string-at-index.cpp

How to reproduce

Environment

leetcode-cli version: 2.5.2

OS version: ubuntu 14.04
Node version: v10.1.0
Npm version: 5.6.0

sounds like a network issue like #94 ?

duplicate to #94


Playground HTTPS cert expired on July 21st

The playground is no longer usable.

Thanks for letting me know, it is back up now. It appears the cron job for auto-renewing the cert is still not working.


Bump dependencies to resolve multiple Vulnerabilities

Continuation of PR #60 update httpClient to client5 as it has moved to a new repo, along with a few more CVE vulnerabilities in commons and other depends.

HttpClient 5 is incompatible as a drop-in replacement. Have you even tried bundling with these changes?

No I didn't have time to build at the time, I'll build and fix the errors and recommit here, didn't realize it wasn't a drop in.


Support SRC-20

Swarm is developing SRC20, the protocol that enables the tokenization of assets on the blockchain.
Look at how there are implemented ERC-20 and ERC-721 in https://github.com/matterinc/web3swift/tree/develop/web3swift/PrecompiledContracts.

This link returns 404 Not Found: https://github.com/matterinc/web3swift/tree/develop/web3swift/PrecompiledContracts.

where is SRC20 definition?

@PaulRBerg hi. For me the link https://github.com/matterinc/web3swift/tree/develop/web3swift/PrecompiledContracts works fine. Have you started the work?

Hey @BaldyAsh, I'm a little bit snowed under work at the moment, unfortunately I cannot take the bounty anymore.

@PaulRBerg ok, have a nice day and good luck with your work :)


WIP: style: add multi-platform design tokens

This PR adds a /style package.  It also is experimenting with style-dictionary as a tool for supporting multiple platforms.
The goal being to have a SSOT for design tokens and generate assets for the required platforms. Initially, we're targeting CSS/SCSS variables, ES modules (CSS-in-JS), and Sketch palettes.

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

:warning:
New package.json added: packages/style/package.json. Make sure you have approval before merging!

  Generated by :no_entry_sign: dangerJS

Closing as this has seen no activity for awhile. Please reopen if still relevant. Thanks!


Add more reinforced rail types

Add reinforced rail equivalents to vanilla rails like Powered rails, Detector rails, and activator rails

Sure, that should be simple to do but we also still need to fix water breaking reinforced rails

Hmmm, didn't know that was a thing, I'll look into it.

It might be something I have to fix as it will require modifying base code using ASM


Problems running debug in Win10; none of the found solutions work

Still having the same issue ( #219  ) on Win10.
I have tried every method mentioned there (and elsewhere), but nothing seems to work, I still get the message: "'DEBUG' is not recognized as an internal or external command,
operable program or batch file."
Gist link which contains the npm complete log:
https://gist.github.com/2beens/871a90f07b8a6a1e83d5c612efeda661

You are not setting the env var correctly for Windows. That is the Unix syntax that you are using. Did you read https://github.com/visionmedia/debug#windows-note ?

But of course. That was actually the first thing I tried. Also, as I can see from the comments, I am not the only one experiencing this issue on Win10.

Has anybody found a workaround for this? I found a bug report on electron that none of the console.* where being shown to the terminal. In that thread, the only workaround (more of a "hack" quoting the author) is this https://github.com/electron/electron/issues/6946#issuecomment-309449176
That works for CMD and PowerShell.


Edit service group not work

I try to edit service  group with update_group. However, the update request pass through but the update itself fails. For example, delete or add attributes in a group will not work

The cause is that here it should use json instead of data.
https://github.com/RWTH-EBC/FiLiP/blob/526f55d2261dda0fc1dfc2780eef790b75df0140/filip/clients/ngsi_v2/iota.py#L228


Unable to update Defender Profile to Custom Workspace using CLI

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks update Extension Name: aks-preview. Version: 0.5.87.
Errors:
The command failed with an unexpected error. Here is the traceback:
'AKSPreviewManagedClusterModels' object has no attribute 'ManagedClusterSecurityProfileAzureDefender'
Traceback (most recent call last):
  File "/opt/az/lib/python3.10/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute
    raise ex
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 697, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 333, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/home/raji/.azure/cliextensions/aks-preview/azext_aks_preview/custom.py", line 798, in aks_update
    mc = aks_update_decorator.update_mc_profile_preview()
  File "/home/raji/.azure/cliextensions/aks-preview/azext_aks_preview/managed_cluster_decorator.py", line 1942, in update_mc_profile_preview
    mc = self.update_mc_profile_default()
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/acs/managed_cluster_decorator.py", line 5631, in update_mc_profile_default
    mc = self.update_defender(mc)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/acs/managed_cluster_decorator.py", line 5552, in update_defender
    defender = self.context.get_defender_config()
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/acs/managed_cluster_decorator.py", line 3672, in get_defender_config
    azure_defender = self.models.ManagedClusterSecurityProfileAzureDefender(enabled=enable_defender)
AttributeError: 'AKSPreviewManagedClusterModels' object has no attribute 'ManagedClusterSecurityProfileAzureDefender'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az aks update --enable-defender --resource-group {} --name {}

Expected Behavior
Environment Summary
Linux-5.4.0-1085-azure-x86_64-with-glibc2.28 (Cloud Shell), Common Base Linux Delridge (quinault)
Python 3.10.5
Installer: DEB

azure-cli 2.38.0

Extensions:
k8s-extension 1.2.3
interactive 0.4.5
resource-graph 2.1.0
aks-preview 0.5.87
ai-examples 0.2.5
ssh 1.1.2

Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1

Additional Context

route to CXP team

@RajiSubramanian Could you please confirm if you have registered for AKS-AzureDefender before running the command ?
Could you run the below commands in order and check if you are still facing the issue ?

az login
az account set --subscription MySubID
az feature register --namespace Microsoft.ContainerService --name AKS-AzureDefender
az aks update --enable-defender --resource-group MYRGName --name MyAKSClusterName

Awaiting your reply.

Yes we ran the commands az aks update --enable-defender --resource-group xxx --name xxx - but still no go - resulted following error - as mentined earlier

@RajiSubramanian The above PR has been filed and it is currently under review. In the meantime, if you have any questions, please feel free to ask.

@RajiSubramanian The PR is now merged and the fix will be released in the next version on 2022-08-02 See this: https://github.com/Azure/azure-cli-extensions/milestone/69. We will now proceed with closure of this thread. Please feel free to reopen if you have any follow-up questions. We would be happy to help.

The issue is fixed in the latest version of aks-preview (0.5.91).
This problem can be solved by updating to the latest version of aks-preview without waiting for the new version of azure-cli release.

Hi @RajiSubramanian, for you question unable to map the custom log Analytics workspace, could you please share more details about

what commands do you use?
what version of cli are you using? (may check by az version)
which article you are following? (I didn't find any Microsoft doc introducing how to update the defender profile with azure-cli, only this one, using Portal)

Please make sure you have the latest version of aks-preview (current 0.5.91) installed.

To update the defender profile using custom workspace, you need to prepare a json-formatted file like
{
    "logAnalyticsWorkspaceResourceId": "/subscriptions/xxxx/resourcegroups/xxxx/providers/microsoft.operationalinsights/workspaces/xxxx"
}

Assuming the above file name is defender_config.json and is located in the current working directory, use the following command to udpate
az aks update -g <resource_group_name> -n <cluster_name> --enable-defender --defender-config defender_config.json

Some more updates, the command should work fine if you only have azure-cli installed, without aks-preview. However, if you also have aks-preview installed, please use the latest version of aks-preview.

No, we have installed AKS-Preview, Azure-Cli and kubernetes version and all are upto date. But still fails to map custom log analytics workspace.

Hi @RajiSubramanian, could you please use logAnalyticsWorkspaceResourceId as the key in the json config (instead of logAnalyticsWorkspaceResourceID) and try agagin?

Thanks for your support. The issue is fixed.


Kind

Bug description
when creating a kind kube cluster

config is written to ~/.kube/config and not to the path specified in Preferences -> Kubeconfig
we get an error at the end of the installation Error: Failed to create kind cluster. No active cluster!

Version 1.14.2
Operating system
macos 15.1.1
Installation Method
None
Version
1.14.1
Steps to reproduce
set Preferences -> Kubeconfig to, for example, ~/.kube/config2
Create Kind cluster
Relevant log output
using podman due to KIND_EXPERIMENTAL_PROVIDER
enabling experimental podman provider

Creating cluster "kind-cluster" ...

 • Ensuring node image (kindest/node:v1.31.2) 🖼  ...

 ✓ Ensuring node image (kindest/node:v1.31.2) 🖼
 • Preparing nodes 📦   ...

 ✓ Preparing nodes 📦

 • Writing configuration 📜  ...

 ✓ Writing configuration 📜
 • Starting control-plane 🕹  ...

 ✓ Starting control-plane 🕹

 • Installing CNI 🔌  ...

 ✓ Installing CNI 🔌
 • Installing StorageClass 💾  ...

 ✓ Installing StorageClass 💾

Set kubectl context to "kind-kind-cluster"
You can now use your cluster with:

kubectl cluster-info --context kind-kind-cluster

Thanks for using kind! 😊

Creating ingress controller resources

Additional context
No response

I can reproduce on Fedora 41, just follow the steps to reproduce.


Wrong images loaded when scrolling (need to wait a little for the correct images to load)

Current behavior
I have a flashlist of View elements, which display information about the products (cover photo, name, price). Whilst scrolling the wrong images of the items are shown. Only after waiting a little bit, the correct images replace the wrong ones, and everything looks as it's supposed to look.
I assume this happens because of the Recycling, since FlashList does not destroy the item when an item gets out of the viewport, but re-renders the component with a different item prop. Thus, while scrolling, the previous version of the image shown while the new one is being loaded.
Expected behavior
Scrolling should not affect how images are displayed: each corresponding image should be displayed correctly.
Platform:
Both iOS and Android
Environment
1.3.1

Hey!
As you mention, this is due to recycling. You will need to reset the currently loaded image to show a placeholder until the image loads when an item is recycled. You can follow the instructions here.

@fortmarek I have the same issue but i do not understand how i can reset my currently loaded image. I can add a key prop to my image and set it like this:
if (item.id !== lastItemId.current) {       lastItemId.current = item.id;       setImageKey(prev => prev + 1);    }
But here they say : "Using key prop inside your item and item's nested components will highly degrade performance."

FlashList, Recycles or Reuses Render Items, the reason you are not getting the correct images is because you are setting the image in state within the render item, FlashList advises against it but if you must, you need to update the state again when item is reused.
My explanation may not be clear but I'll reference the doc

did you guys found any solution @badalsaibo @codegabk @BenQoder ... I m not using state and still the expo image loads after a couple of milliseconds.... already used recyclingKey={id}.

noticed it's only happening when passing a placeholder. seems like it's only recycling the source and not the placeholder
<Image
style={styles.image}
source={preloadImage ? imageSource : imageThumb}
// {...(preloadImage ? { placeholder: imageThumb } : {})}
recyclingKey={id}
/>

@badalsaibo Cloud you please share your solution ?

@AndreiTimofte96 I conditionally added a key prop on the Image tag only for iOS for now.
I use a custom image component which is just a wrapper to the image for my specific needs.
I also can't use the recyclingKey prop since I'm in a RN CLI project.

can you please share your custom image component code or anything related to this ?


Site: setup automated testing

Visual regression, maybe also things like Lighthouse and/or aXe (to monitor for a11y issues, performance, SEO, etc.).

18 Jan - work in progress; storybook is working with docusaurus - pending chromatic setup

PR for Storybook/Chromatic setup ready for review: https://github.com/jpmorganchase/salt-ds/pull/1028


In training, the actual GPU memory usage is significantly higher than the model's memory footprint

Prerequisite

[X] I have searched Issues and Discussions but cannot get the expected help.
[X] I have read the FAQ documentation but cannot get the expected help.
[x] The bug has not been fixed in the latest version (dev-1.x) or latest version (dev-1.0).

Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
main branch https://github.com/open-mmlab/mmdetection3d
Environment
sys.platform: linux
Python: 3.8.19 (default, Mar 20 2024, 19:58:24) [GCC 11.2.0]
CUDA available: True
MUSA available: False
numpy_random_seed:<PHONE_NUMBER>
GPU 0: NVIDIA GeForce RTX 4090
CUDA_HOME: /usr/local/cuda-11.8
NVCC: Cuda compilation tools, release 11.8, V11.8.89
GCC: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
PyTorch: 1.13.1+cu117
PyTorch compiling details: PyTorch built with:

GCC 9.3
C++ Version: 201402
Intel(R) Math Kernel Library Version 2020.0.0 Product Build 20191122 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v2.6.0 (Git Hash 52b5f107dd9cf10910aaa19cb47f3abf9b349815)
OpenMP 201511 (a.k.a. OpenMP 4.5)
LAPACK is enabled (usually provided by MKL)
NNPACK is enabled
CPU capability usage: AVX2
CUDA Runtime 11.7
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86
CuDNN 8.5
Magma 2.6.1
Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.7, CUDNN_VERSION=8.5.0, CXX_COMPILER=/opt/rh/devtoolset-9/root/usr/bin/c++, CXX_FLAGS= -fabi-version=11 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -DEDGE_PROFILER_USE_KINETO -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.13.1, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF,

TorchVision: 0.14.1+cu117
OpenCV: 4.9.0
MMEngine: 0.10.3
MMDetection: 3.3.0
MMDetection3D: 1.4.0+
spconv2.0: True
Reproduces the problem - code sample
I didn't make changes to the code.
Reproduces the problem - command or script
bash tools/dist_train.sh projects/BEVFusion/configs/bevfusion_lidar-cam_voxel0075_second_secfpn_8xb4-cyclic-20e_nus-3d.py 1

Reproduces the problem - error message
Thank you for your work. I recently transitioned my work from OpenPCDet to the MMDetection3D framework. However, when I attempted to retrain BEVfusion following the tutorial in the README, I noticed that the actual GPU memory usage is much higher than the memory usage recorded in the logs for the model. In fact, the memory usage recorded in the logs is consistent with the memory usage when training BEVfusion using the OpenPCDet framework. I would like to understand what is causing this additional memory usage and what steps I should take to avoid it.

And, the GPU memory usage seems to continuously increase as the training progresses.
Additional information
No response

same!


Extending contract

Let's define if we want our contract to be extendable. Looks good, but it can lead to some issues with code generation (@waynenilsen ) and ABI (cc @itegulov).
@MaximusHaximus what is your opinion on this? Previously your advice was to avoid class extensions. But contract composability is a cool feature to have.
Note 1: now it does not work, functions from the parent class are not generated or exported.
Note 2: In Rust composability is achieved with macros: https://github.com/near/near-sdk-rs/blob/master/examples/non-fungible-token/nft/src/lib.rs#L103
Not something users want I think, especially in JS projects.
cc @ailisp

Closing in favour of https://github.com/near/near-sdk-js/pull/325


Exclude emsg/emsgroot from doxygen call trees

If the graphs still look too muddled, it's easy enough to extend to ran()
SCRC-385

oops - sorry - I just implemented this 🙁


Enable direct parsing of Pymatgen-formatted VASP input sets

Closes #718.

I will revisit this later. There's some subtleties to sort out to make this more compatible, although it works with MPSCANRelaxSet.


[Bug]: json-asff format changed in V3

Hi,
In V2 version json-asff format was oneliner, but in V3 it changed and AWS Athena doesn't accept the new format.
From AWS documentation example how in V2 json-asff is formatted correctly:
Use one line per record
The following JSON records are formatted correctly:
{ "id" : 50, "name":"John" }
{ "id" : 51, "name":"Jane" }
{ "id" : 53, "name":"Jill" }

The following JSON records are formatted incorrectly:
How it looks like in V3
{
  "id" : 50,
  "name":"John"
},
{
  "id" : 51,
  "name":"Jane"
}
{
  "id" : 53,
  "name":"Jill"
}

Any ideas on how to return json-asff to old formatting?
UPDATE: changed to -M csf file and created a new Athena table.

Hi @Macb3th, json-asff format in Prowler was built just to inject the findings to Security Hub, not to be actually used to parse anything, if you need to do so, I would  parse our own json that actually comes with more metadata per finding than json-asff. In any case,  feel free to parse and modify the given json file to meet your needs. Cheers!

@toniblyx with V2 everything worked perfectly. Now if you try to run json-asff format with "-S" the scan crashes because Security Hub doesn't approve "new" json-asff format. This was history about "-S" and other problems [https://github.com/prowler-cloud/prowler/issues/1754]

@Macb3th the previous issue is not related with this problem, could you try again to use -S in CodeBuild with the latest version (3.1.2)?

@Macb3th with the new version of Prowler, Codebuild is working in my environment. Please feel free to reopen the issue if you encounter any problem. Thanks for using Prowler!


Building your MVP/Startup

Building your MVP/Startup

Thoughts on discovering a startup idea and validating it
Published
19 June 2017
Content
Benjamin Humphrey, Founder - Dovetail

The early user research playbook for founders — Jeanette Mellinger’s expert advice for validating your idea with high-quality interviews
User research expert Jeanette Mellinger shares her three-step process to high-quality user research, with tailored advice for founders in the early days of validating a startup idea.
EPISODE 90


Step 6 does not match the product

Looks like this screen has changed. When choosing the New button one must select Dynamic or Static segment. The screenshot shows something else that is not currently in the product (the blue boxes).

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

ID: 6b95a247-8f4e-f8de-54b7-f8525a2cdcba
Version Independent ID: 8e86e4dd-23eb-1b9a-e4cd-ede2acb0278a
Content: Create a marketing segment (Dynamics 365 Marketing)
Content Source: ce/marketing/create-segment.md
Service: dynamics-365-marketing
GitHub Login: @alfergus
Microsoft Alias: alfergus

Hi, @mhammons. Looks like you're right, this article and the screenshots need some updating! I will get this updated to match the current UI function ASAP. In the meantime, I'd suggest checking out the Working with segments page, as it has been updated more recently. Thanks!


Fix/private selected

Why need this change? / Root cause:

Clicking the password when creating a room should select the private room immediately

Changes made:
component:

PasswordField
CreateRoomModal

Test Scope / Change impact:

Issue

#230

✅ Knip Scan Result for https://github.com/Game-as-a-Service/Game-Lobby-Web/pull/231/commits/c46886db7237de00d1920c7f98a167e28153bbd7

Unused files (5)

Unused files (5)

.bundlewatch.config.js

lighthouserc.js

reset.d.ts

scripts/knipScanReporter.js

scripts/lhciScanReporter.js

Unused dependencies (2)

Unused dependencies (2)

@svgr/webpack  package.json

sharp          package.json

Unused devDependencies (5)

Unused devDependencies (5)

@actions/github             package.json

@octokit/core               package.json

@storybook/blocks           package.json

@storybook/testing-library  package.json

@total-typescript/ts-reset  package.json

Configuration issues (1)

Configuration issues (1)

Unused item in ignoreDependencies: @next/bundle-analyzer

✅ Knip Scan Result for https://github.com/Game-as-a-Service/Game-Lobby-Web/pull/231/commits/ae944b56c5302f542a57fe9af9a8ff3e239aa61b

Unused files (9)

Unused files (9)

.bundlewatch.config.js

components/shared/Chat/ChatContent.tsx

components/shared/Chat/ChatMessage.tsx

components/shared/Chat/index.tsx

components/shared/Icon/group/news.tsx

lighthouserc.js

reset.d.ts

scripts/knipScanReporter.js

scripts/lhciScanReporter.js

Unused dependencies (2)

Unused dependencies (2)

@svgr/webpack  package.json

sharp          package.json

Unused devDependencies (5)

Unused devDependencies (5)

@actions/github             package.json

@octokit/core               package.json

@storybook/blocks           package.json

@storybook/testing-library  package.json

@total-typescript/ts-reset  package.json

Configuration issues (1)

Configuration issues (1)

Unused item in ignoreDependencies: @next/bundle-analyzer

🤖 Lighthouse Scan Result for https://github.com/Game-as-a-Service/Game-Lobby-Web/pull/231/commits/ae944b56c5302f542a57fe9af9a8ff3e239aa61b

/rooms

Metric
Value

Performance
72

Seo
80

Accessibility
76

HTML Report for LHCI Scan
Report Link

/rooms/abc

Metric
Value

Performance
77

Seo
80

Accessibility
65

HTML Report for LHCI Scan
Report Link

/login

Metric
Value

Performance
51

Seo
80

Accessibility
94

HTML Report for LHCI Scan
Report Link


Bump to v0.3.2

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

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.785%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1213

Relevant Lines:
1351

💛  - Coveralls


index-browser.js doesn't export RdfStore

I didn't make PR adding that export wanting to check first if you really need separate browser entry point and quadstore.umd-bundle.js in the repo.
Looking at https://github.com/beautifulinteractions/node-quadstore#browser I would find it sufficient to recommend level-js module, provide snippet from the <script> tag in that section and point people to webpack, rollup, browserify documentation for how they can build their application. Similar to:
https://github.com/rdfjs/N3.js#installation

N3.js seamlessly works in browsers via webpack or browserify. If you're unfamiliar with these tools, you can read webpack: Creating a Bundle – getting started or Introduction to browserify.
You will need to create a "UMD bundle" and supply a name (e.g. with the -s N3 option in browserify).

I haven't mentioned that webpack building for web will use package.json fields in order: ['browser', 'module', 'main']
https://webpack.js.org/configuration/resolve/#resolvemainfields
Which means that it currently uses index-browser.js not index.js

Hello @elf-pavlik . I somehow missed the notification for this feature. I will look at this over the next few days.

@elf-pavlik just to make sure I understand what you are suggesting, you're saying I should:

drop the pre-assembled UMD bundle
remove the browser entry in package.json
simply point people to level-js and bundlers such as webpack and rollup in the README.md

Is this correct? If so, why? I am not opposed to this, I just want to understand where you are coming from. Everything that simplifies things is more than welcome.

I think nowadays most developers know how to get npm modules working in web browser, sometimes it requires build tools and different people prefer different tools - webpack, rollup, browserify etc.
I recall N3.js used to provide automated browser build but then it just changed to that DIY approach. If you want to keep that UMD bundle I see no big problem with that, it would just require making sure that index-browser.js exports RdfStore.

No, I think you are right in your assessment. Tools such as webpack and rollup have been around long enough that it doesn't make sense to ship pre-assembled bundles anymore. I'll address the points in my previous comment over the next few days.
By the way, I haven't had time to keep track of RDF/JS' evolution over the last few months. At a glance, is quadstore still up-to-date with the latest version of the spec? Are you currently using quadstore in some of your projects?

I use it in some experiments which require RDF/JS Source interface. For example to use this module
https://github.com/valueflows/vf-track-trace.ts I import RdfStore in https://github.com/valueflows/vf-cli.ts but I also started prototyping playground that should work in a browser and draw diagrams with D3.js
I think quadstore stays up to date with RDF/JS drafts and it stays listed on http://rdf.js.org/
One small feature we added to the spec DataFactory#fromTerm and DataFactory#fromQuad still haven't been added to @rdfjs/data-model but once it does you will just need to update that dependency.
BTW https://solidproject.org/ starts picking up so I also plan to use quadstore while prototyping some solid apps.

@elf-pavlik does #71 solve your issue?

Looks good, thank you!

Published to npm as<EMAIL_ADDRESS>


There is no "Copy" item in the Chrome's Application -> Storage -> Cookies->Right click menu

Hi,
How do I copy the cookies' table when there is no "Copy" item in the Chrome's Application -> Storage -> Cookies->Right click menu :

CTRL+C only copies the selected item's value not the whole cookies's table.

@dandv Found it , when the "Copy" item does not appear, just press the "shift" key BEFORE right-click to open the context menu.


mWeb-In new WS, for distance rate selecting a category & opening it directs to hmm not here

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:

Go to https://staging.new.expensify.com/

Tap profile icon -- Workspace -- New Workspace

Tap more features -- Enable distance rate

Tap Distance rates

Tap settings

Select a default category

Open the selected default category

Expected Result:
In new workspace, for distance rate selecting a default category and opening it must show the selected category
Actual Result:
In new workspace, for distance rate selecting a default category and opening it directs to hmm it's not here page
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/29d0e392-6363-41d7-9d67-09d3a0e547c2
View all open jobs on GitHub

@kadiealexander  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to #wave-collect - Release 1

Clone the Expensify/App repository and create a new branch from the latest main.
Reproduce the issue and start debugging the navigation logic in the affected components.
Identify and fix the navigation issue, ensuring the selected category is correctly passed and displayed.
Write and run tests to confirm the fix works as expected.
Submit the pull request for review, including all necessary details and test evidence.

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~0145449b71231ec7db

I can't reproduce the issue.

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~011b9b21b42a676c99

No proposals to review

HI @situchan , I am working on the proposal, I will soon come up with it.
I did find out that the issue is not related to selecting a default category, but to reproduce, If you just enable the distance rate and wait there for a few seconds, the Hmm not here shows up for about 1-2 seconds.
https://github.com/Expensify/App/assets/96080203/8558c9b6-3c22-43af-a4da-5a45301618ac

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~01a88295f6ba1ce1bc?mp_source=share

Proposal
Please re-state the problem that we are trying to solve in this issue.
mWeb-In new WS, for distance rate selecting a category & opening it directs to hmm not here
What is the root cause of that problem?
We attempted to address this issue with this PR, but some of the code modifications unintentionally led to removal. The modification involved changing the name from FeatureEnabledAccessOrNotFoundWrapper to AccessOrNotFoundWrapper, but after the refactoring, the fix was only partially applied.
What changes do you think we should make in order to solve the problem?
Re-apply the changes that were missing from this PR. The updated code will be in the AccessOrNotFoundWrapper.tsx file.
    const isFeatureEnabled = featureName ? PolicyUtils.isPolicyFeatureEnabled(policy, featureName) : true;
    const [isPolicyFeatureEnabled, setIsPolicyFeatureEnabled] = useState(isFeatureEnabled);
    const {isOffline} = useNetwork();

    const isPageAccessible = accessVariants.reduce((acc, variant) => {
        const accessFunction = ACCESS_VARIANTS[variant];
        return acc && accessFunction(policy, login, report, allPolicies ?? null, iouType);
    }, true);

    const isPolicyNotAccessible = isEmptyObject(policy) || (Object.keys(policy).length === 1 && !isEmptyObject(policy.errors)) || !policy?.id;
    const shouldShowNotFoundPage = (!isMoneyRequest && !isFromGlobalCreate && isPolicyNotAccessible) || !isPageAccessible || !isPolicyFeatureEnabled || shouldBeBlocked;

    // We only update the feature state if it isn't pending.
    // This is because the feature state changes several times during the creation of a workspace, while we are waiting for a response from the backend.
    // Without this, we can have unexpectedly have 'Not Found' be shown.
    useEffect(() => {
        if (pendingField && !isOffline && !isFeatureEnabled) {
            return;
        }
        setIsPolicyFeatureEnabled(isFeatureEnabled);
    }, [pendingField, isOffline, isFeatureEnabled]);

Branch for this solution.
What alternative solutions did you explore? (Optional)

Issue not reproducible during KI retests. (First week)

mWeb-In new WS, for distance rate selecting a category & opening it directs to hmm not here

@wildan-m thanks for the proposal. As you re-stated, can you please explain why this happens only on mWeb in root cause?

@situchan My proposal updated.
Change log: explain why the issue mostly occurred on mweb

Issue not reproducible during KI retests. (First week)

@mvtglobally try using more effective reproduction steps as explained in the root cause of my proposal

reviewing updated proposal

updating today

@wildan-m's proposal LGTM!
🎀👀🎀 C+ reviewed

Issue not reproducible during KI retests. (Second week)

@situchan The pull request is prepared for review.

Payouts due:

[x] @wildan-m requires $250 payment (automatic offer (Contributor))
[ ] @situchan requires $250 payment (automatic offer (Reviewer))

Upwork job is here.

@situchan bump on the checklist!


GEODE-5986 Inconsistent equals/hashCode

* Added hashCode methods to classes that were missing one.

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

These are artifacts used in the tests. Hence no tests present for these classes


Session history can get too large and fails to load

Reported by @tmm211:
Tiffany could not load any workspaces because her browser session had exceeded the size. This could be an issue for other users who have access to many (many) workspaces.
Her console error is here:

@bradtaylor for FYI

FireCloud paginates it's workspace list. Would doing that fix this? Other users have reported slower performance


Fix bugs around CSS Modules class naming, sourcemaps, centralize webpack config

The auto-import of dependencies was injecting content on top of every file, which broke sourcemaps. We now have to put @import 'dependencies'; at the top of every .scss file, but in return we get sourcemaps that work correctly.
Storybook and Gatsby now share the same webpack config for styles, which should fix #63 for a while.

The build is failing, I'll investigate later tonight.


Create Azure VM Scale Set scanner

Describe the feature
Create Azure VM Scale Set scanner

@cmendible which rules are you thinking about?
The default set:

diagnostic settings enabled
availability zones enabled
SLA
naming conventions
tags

Any other rules you'd like?
Maybe any rules defined in VirtualMachineScaleSetScaleInRules? Autoscale best practices

Sure let's start with the default set and those from the best practices that are possible to implement with the current sdk version.


fix: :bug: fixed super fixing

With the changes from #420, we need to start the search for closing_paren_index at func_def_end - 1.
But this needs a deeper look. based on my debugging, it seems there’s more wrong with how we’re processing that part.
Some print debugging

  text on func_def_end: ) ->
  method_name: _ready
  closing_paren_index: -1
  func_def_end: 83
  ---
  extends Portal

  @export var label_level_name_override := "New Game"

  func _ready() -> void:
      super()
      label_level_name.text = label_level_name_override

  func _on_hit_detector_body_entered(body: Node3D) -> void:
      super(body)
      Global.reset_game()

  No matching closing parenthesis
  text on func_def_end: body
  method_name: _on_hit_detector_body_entered
  closing_paren_index: -1
  func_def_end: 210
  ---
  extends Portal

  @export var label_level_name_override := "New Game"

  func vanilla_4007268940__ready() -> void:
      super()
      label_level_name.text = label_level_name_override

  func _on_hit_detector_body_entered(body: Node3D) -> void:
      super(body)
      Global.reset_game()

  No matching closing parenthesis

I think text on func_def_end should always start with ). It looks like the result is shifted for the second method, and if this pattern continues, things will start to break again.

For now, this should be enough to keep things moving.

Oh right - in the morning everything seems clearer 😄
So I change it in get_closing_paren_index() then.
static func get_closing_paren_index(opening_paren_index: int, text: String) -> int:
	# Use a stack counter to match parentheses
	var stack := 0
	var closing_paren_index := opening_paren_index - 1 # Shift the index back by one to start before the opening parentheses.
        [...]

nono, where it is is completely correct. that is a thing specific to using get_closing_paren_index right after match_func_with_whitespace. though that's the only way we use it currently since we do -1 in both fix_method_super and get_function_parameters