Specify non-minimum channel width?

Is it possible to specify a non-minimum channel width in the task.conf file? Where or how might I specify this?

I think this addresses my question -- https://openfpga.readthedocs.io/en/latest/manual/openfpga_flow/run_fpga_task/?highlight=channel width#script-parameter-sections

@nachiket Please be aware that the the current documentation about openfpga flow/task is out of date (@ganeshgore
already filed an issue #151 and he is working on that). This is due to the change in user-interface (a result from refactoring the code base in 2020).
This applies to customize the routing channel width.

There is an example script. You can specify the script template to be used in the task configuration tile. Here is an example where we use the fixed device support.
You can specify the device size and routing channel width using the variable defined in the script template. For example, the variable openfpga_vpr_route_chan_width  in task configuration will replace the variable ${OPENFPGA_VPR_ROUTE_CHAN_WIDTH} in the shell template.

It means that you need to create multiple task configuration file to meet your demand in sweeping routing W. We would like to study how to simplify the process.

Ok so I can swap in this fixed-channel width script in my task configuration file.
But, where do I specify the variable openfpga_vpr_route_chan_width? In the [GENERAL] portion of the task.conf file?

or do I supply is under [SYNTH_PARAM] like you have for your benchmarks individually?

@nachiket You just need to specify the variable in [OPENFPGA_SHELL] section. See this line

Understood — so the bench{0|1|2}_chan_width parameters aren’t relevant  here?

On Feb 9, 2021, at 11:02 AM, tangxifan<EMAIL_ADDRESS>wrote:
@nachiket https://github.com/nachiket You just need to specify the variable in [OPENFPGA_SHELL] section. See this line https://github.com/lnis-uofu/OpenFPGA/blob/1ce94040da38215aef890d0401347758fb8945f8/openfpga_flow/tasks/basic_tests/fixed_device_support/config/task.conf#L23
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/lnis-uofu/OpenFPGA/issues/228#issuecomment-776049059, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA42WZAACPM6ESIBC6MI6DS6FMBRANCNFSM4XLAJJNA.

Yes. the bench{0|1|2}_chan_width are not considered.

Also -- manual sweeps seem a bit painful. I can probably sed/replace this line across my sweeps, but a command-line parameter to run_fpga_task.py could be useful?

I bring @ganeshgore  in the loop since he is the author of these scripts.

@ganeshgore Can you share your roadmap on the routing channel width?

@nachiket Currently, I agree that it is painful. Sed and scripting can alleviate this pain.

Hmm @tangxifan I'm not able to correctly run the fixed-channel-width OpenFPGA script.
I am using synthesizable_verilog task. I just replaced a single line in task.conf
+ openfpga_shell_template=${PATH:OPENFPGA_PATH}/openfpga_flow/openfpga_shell_scripts/fix_device_route_chan_width_example_script.openfpga
- openfpga_shell_template=${PATH:OPENFPGA_PATH}/openfpga_flow/openfpga_shell_scripts/example_script.openfpga

I now get this error:
ERROR (00_and2_MIN_ROUTE_CHAN_WIDTH) - Failed to execute openfpga flow - 00_and2_MIN_ROUTE_CHAN_WIDTH
Traceback (most recent call last):
  File "/opt/OpenFPGA/openfpga_flow/scripts/run_fpga_task.py", line 442, in run_single_script
    raise subprocess.CalledProcessError(0, " ".join(command))
.... blah blah blah returned non-zero exit status 0.

Debugging this further:
python3 /opt/OpenFPGA/openfpga_flow/scripts/run_fpga_flow.py /opt/OpenFPGA/openfpga_flow/vpr_arch/k6_frac_N10_tileable_40nm.xml /opt/OpenFPGA/openfpga_flow/benchmarks/micro_benchmark/and2/and2.blif --top_module and2 --run_dir /spare/opt/OpenFPGA/openfpga_flow/tasks/fpga_verilog/synthesizable_verilog/run010/k6_frac_N10_tileable_40nm/and2/MIN_ROUTE_CHAN_WIDTH --fpga_flow vpr_blif --openfpga_shell_template /opt/OpenFPGA/openfpga_flow/openfpga_shell_scripts/fix_device_route_chan_width_example_script.openfpga --openfpga_arch_file /opt/OpenFPGA/openfpga_flow/openfpga_arch/k6_frac_N10_stdcell_mux_40nm_openfpga_synthesizable.xml --openfpga_sim_setting_file /opt/OpenFPGA/openfpga_flow/openfpga_simulation_settings/auto_sim_openfpga.xml --openfpga_vpr_device_layout 2x2 --openfpga_vpr_route_chan_width 10 --activity_file /opt/OpenFPGA/openfpga_flow/benchmarks/micro_benchmark/and2/and2.act --base_verilog /opt/OpenFPGA/openfpga_flow/benchmarks/micro_benchmark/and2/and2.v --power --power_tech /opt/OpenFPGA/openfpga_flow/tech/PTM_45nm/45nm.xml --vpr_fpga_verilog --vpr_fpga_verilog_dir /spare/opt/OpenFPGA/openfpga_flow/tasks/fpga_verilog/synthesizable_verilog/run010/k6_frac_N10_tileable_40nm/and2/MIN_ROUTE_CHAN_WIDTH --vpr_fpga_x2p_rename_illegal_port --end_flow_with_test

... blah blah blah...

ERROR - OpenFPGA Shell Run run failed with returncode 1
ERROR - command /opt/OpenFPGA/openfpga/openfpga -batch -f and2_run.openfpga
ERROR - -->>Error 1:
ERROR - -->>Error 2: Command 'vpr' execution has fatal errors
ERROR - Current working directory : /spare/opt/OpenFPGA/openfpga_flow/tasks/fpga_verilog/synthesizable_verilog/run009/k6_frac_N10_tileable_40nm/and2/MIN_ROUTE_CHAN_WIDTH
ERROR - Failed to run OpenFPGA Shell Run task
ERROR - Exiting . . . . . .```

Which further yields:

/opt/OpenFPGA/openfpga/openfpga -batch -f and2_run.openfpga

.... blah blah blah...
Built a multiplexer library of 12 physical multiplexers.
Maximum multiplexer size is 64.
Build a library of physical multiplexers took 0.00 seconds (max_rss 11.2 MiB, delta_rss +0.0 MiB)
Build the annotation about direct connection between tiles
Built 0 tile-to-tile direct connections
Build the annotation about direct connection between tiles took 0.00 seconds (max_rss 11.2 MiB, delta_rss +0.0 MiB)
Building annotation for mapped blocks on grid locations...Done
User specified the operating clock frequency to use VPR results
terminate called after throwing an instance of 'VprError'
what():  in load_one_net_delay: Traceback for net 2 does not exist.
Abort (core dumped)

Using `example_script.openfpga` seems to work fine.

FYI I did add this to the conf file:
openfpga_vpr_device_layout=2x2
openfpga_vpr_route_chan_width=10

@ganeshgore
For now I’m using the synthesizable_verilog task I created as recommended by @tangxifan in #225.
Based on recent suggestions for fixed channel width support, I’ve replaced the shell script in the task.conf.
[Check the other message, its not quite working yet]
I’m thinking of just doing the following ->
sed -i "s/openfpga_vpr_route_chan_width=.*/openfpga_vpr_route_chan_width=10/" synthesizable_verilog/config/task.conf
— rerun verilog generation —
sed -i "s/openfpga_vpr_route_chan_width=.*/openfpga_vpr_route_chan_width=20/" synthesizable_verilog/config/task.conf
— rerun verilog generation —
sed -i "s/openfpga_vpr_route_chan_width=.*/openfpga_vpr_route_chan_width=30/" synthesizable_verilog/config/task.conf
— rerun verilog generation —
This lets me sweep over various channel widths.

On Feb 9, 2021, at 11:05 AM, tangxifan<EMAIL_ADDRESS>wrote:
@ganeshgore https://github.com/ganeshgore Can you share your roadmap on the routing channel width?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/lnis-uofu/OpenFPGA/issues/228#issuecomment-776051422, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA42WZ7QKCFJB5LUSW4QP3S6FMOJANCNFSM4XLAJJNA.

@nachiket According to what I see, VPR failed due to a very small routing channel width.

You may have to know what is the minimum routing channel width and then specify a correct one.
You can always check the log file openfpga_shell.log or vpr_stdout.log for full details.

@tangxifan — Ah it looks like I need 20 minimum for and2. I thought its a simple enough benchmark and should work with very few channels!

On Feb 9, 2021, at 11:38 AM, tangxifan<EMAIL_ADDRESS>wrote:
@nachiket https://github.com/nachiket According to what I see, VPR failed due to a very small routing channel width.
You may have to know what is the minimum routing channel width and then specify a correct one.
You can always check the log file openfpga_shell.log or vpr_stdout.log for full details.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/lnis-uofu/OpenFPGA/issues/228#issuecomment-776071705, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA42WZZITQQOGV7AIKDLM3S6FQI5ANCNFSM4XLAJJNA.

@nachiket Hello Parameter sweeping is not supported from the task file directly.
In our initial experiments, we always found out the min-width (using min_chan_width) required and added some buffer on top of it to run further experimentation.
However, the approach you used in the previous commit of adding multiple SCRIPT_PARAM seems reasonable. That approach runs all the combinations in parallel.
Are you looking for even fine sweeping? or something is missed in this approach?

To be honest I’m still exploring so I am mucking my way around the infrastructure. What would be useful if its were possible to override options in the task.conf from the run_fpga_task.py run. But, this may not be really necessary, as I’m able to conveniently run sweep experiments externally with a simple sed/replace. I’d just file this away this feature for resisting later if a real need arises for consideration once I know more about the infrastructure.

On Feb 9, 2021, at 12:02 PM, ganeshgore<EMAIL_ADDRESS>wrote:
@nachiket https://github.com/nachiket Hello Parameter sweeping is not supported from the task file directly.
In our initial experiments, we always found out the min-width (using min_chan_width) required and added some buffer on top of it to run further experimentation.
However, the approach you used in the previous commit of adding multiple SCRIPT_PARAM seems reasonable. That approach runs all the combinations in parallel.
Are you looking for even fine sweeping? or something is missed in this approach?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/lnis-uofu/OpenFPGA/issues/228#issuecomment-776088972, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA42WY2CGBPCAUREE3W6KDS6FTC5ANCNFSM4XLAJJNA.

With above changes in the task.conf, you can change this variable OPENFPGA_VPR_ROUTE_CHAN_WIDTH to   FIX_ROUTE_CHAN_WIDTH in .openfpgashell file
https://github.com/lnis-uofu/OpenFPGA/blob/1ce94040da38215aef890d0401347758fb8945f8/openfpga_flow/openfpga_shell_scripts/fix_device_route_chan_width_example_script.openfpga#L3
Just to give you high level idea of how task maps to run, whatever you define in the SCRIPT_PARAM section will be available in .openfpgashell script as variable in capital letter. and every combination arch, benchmark and script parameter  creates one task.

With above approach you wont have to run sed  externally

I'm not sure I follow. What would be the sweep methodology? I just run the python run_fpga_task.py once? And it will execute a sweep for the specified combinations? I'm not sure where I'd add the FIX_ROUTE_CHAN_WIDTH parameter.

So to sweep particular parameter, define the parameter in SCRIPT_PARAM_xxxx section in task.conf file, as follows
[SCRIPT_PARAM_Fixed_Routing_40]
fix_route_chan_width=40

[SCRIPT_PARAM_Fixed_Routing_50]
fix_route_chan_width=50

[SCRIPT_PARAM_Fixed_Routing_60]
fix_route_chan_width=60

[SCRIPT_PARAM_Fixed_Routing_70]
fix_route_chan_width=70

and in the.openfpga shell script
vpr ${VPR_ARCH_FILE} ${VPR_TESTBENCH_BLIF} --clock_modeling route --device ${OPENFPGA_VPR_DEVICE_LAYOUT} --route_chan_width ${FIX_ROUTE_CHAN_WIDTH}
This will run each combination of ARCH, BENCHMARK defined SCRIPT_PARAM as a job. so in case of this file  there will be 9 runs. First combination might fail ARCH0 + BENCH0 + SCRIPT_PARAM_MIN_ROUTE_CHAN_WIDTH as it doesn't have fix_route_chan_width defined

Understood! This was what I originally interpreted from the documentation, but good to know which variable maps where.

@ganeshgore Is it useful in the task.conf file to specify “[SCRIPT_PARAM_Slack_30] min_route_chan_width=1.3”? thanks!


Artifact LocalData encoding issues

Describe the bug
There are encoding issues related to the LocalData of an Artifact.
From the appstore side, in io.dataspaceconnector.model.artifact.ArtifactFactory#updateLocalData() the LocalData value is encoded in StandardCharsets.UTF_16 before being stored in database.
When the connector gets the app metadata and stores it in io.dataspaceconnector.service.EntityPersistenceService#saveAppData()
StandardCharsets.UTF_8 is used to decode the string, generating garbage values.
To fix this, we need to change the character encoding on the appstore side or the connector side.

Hi @ftgy ,
I can see that this is an old issue, could you please try with the branch dsc7upgrade. I would like to know if there issue still exist.


🐛 SSW SophieBot not responding to chat messages.

Cc: @adamcogan, @pierssinclairssw
Hi @jimmidier ,
Describe the Bug
SSW SophieBot failed to respond to chat messages.
To Reproduce
The steps to reproduce the behavior during the incident were:

Go to https://sswsophie.com/sophiebot/try/
Click on "Microsoft Teams" link near top of page.
Send chat message such as "Who works in Sydney office?"
Wait and observe that no response is received within one minute. After 10 minutes, there was still no response.

A possible contributing factor may have been that SSW SophieBot had not been accessed for an extended period of time.
Expected Behavior
SSW SophieBot responds to messages within one minute under all circumstances.
Tasks

[x] Investigate
[ ] Fix

More Information

FIrst attempt to contact SSW SophieBot failed at 3.43pm Tuesday 02 May 2023 AEST.
Three independent users (all SSW employees Nick Curran, Matt Parker, and Piers Sinclair @pierssinclairssw) attempted to contact SSW SophieBot.
Nothing seen until another attempt made to contact SSW SophieBot at 4.13pm Tuesday 02 May 2023 AEST. Screenshot attached.

Environment

Microsoft Teams was being used through its web interface.
Device: Dell x86-based Laptop
Browser: Microsoft Edge Version 112.0.1722.64.
OS: Windows 11 OS Build 22621.1635

Screenshots

Figure: Screenshot is of the chat screen seen when attempting to contact SSW SophieBot.
Definition of Done

[ ] All tasks are updated and closed
[ ] No high priority defects/bugs are on that user story
[ ] Code reviewed by one other team member (e.g. Checked by Bill)
[ ] All acceptance criteria have been met
[ ] Deployed to Dev
[ ] (If implemented) Pass automated UI testing
[ ] (If not implemented above) Do a manual test on all supported commands (at least one for each LUIS intent) against Dev
[ ] Complex code is documented (removing technical debt)
[ ] Deployed to Production
[ ] Add description about the changes for the PBI
[ ] Tick off the definition of done tasks in the PBI
[ ] (Optional) A Done Video, particularly for PBI with multiple stages

Thanks!
EDIT: Added timezone information.

Here's the monitoring info after over a month:

Figure: HeartbeatSlow events at the occurrence point

Figure: No HeartbeatSlow events since the server scaling up
Closing the issue.


Enable typeguard in CI

Enable typeguard in CI to perform runtime type checking.

https://github.com/numba/numba/pull/6458/commits/e92fc772b0e17bcbd7a3aba05def107fe9364b0d proves that typeguard CI is working as expected by intentionally failing.
https://github.com/numba/numba/pull/6458/commits/18728a36714463ea6173ae7b774d933ca0747423 fixes that intentional error and CI passes.

Reminder to self to make sure this is added to the optional deps.

typeguard would a an optional dependency for testing only.

typeguard would a an optional dependency for testing only.

I missed the crucial "in the documentation" part of my reminder sentence :)

Is it worth adding a negative test that intentionally calls a function with an invalid argument type under pytest.raises?

Is it worth adding a negative test that intentionally calls a function with an invalid argument type under pytest.raises?

Good idea. Because we have no way to tell if typeguard is not working currently.

Also, out of interest, can a program "know" if it's running under typeguard? I assume it must be able to some how?

Also, out of interest, can a program "know" if it's running under typeguard? I assume it must be able to some how?

Only by convention from the runtests.py using the envvar NUMBA_USE_TYPEGUARD: https://github.com/numba/numba/pull/6458/commits/9d6877a25593cc7275d5c53a347f11860036618d#diff-eecfde9e7db9ce81ae6b9487c6c3481e5dc43aa5fc8d17f3ff26ede0c4836338R89


"Yes" strings are being serialized without quotes in YAML

var result = new Microsoft.OpenApi.Models.OpenApiDocument()
{
    Components = new Microsoft.OpenApi.Models.OpenApiComponents()
    {
        Schemas =
        {
            {
                "a", new Microsoft.OpenApi.Models.OpenApiSchema()
                {
                    Enum = new Microsoft.OpenApi.Any.OpenApiString[]
                    {
                        new Microsoft.OpenApi.Any.OpenApiString("Yes")
                    }
                }
            }
        }
    }
}.Serialize(OpenApiSpecVersion.OpenApi2_0, OpenApiFormat.Yaml);

results in
swagger: '2.0'
info: { }
paths: { }
definitions:
  a:
    enum:
      - Yes

which is not serialized as specified by input OpenApiDocument, as Yes in enum is a boolean true as per YAML spec. It should be surrounded by single quotes.

YAML 1.2 removed these kind of implicit typings

We have removed unique implicit typing rules and have updated these rules to align them with JSON's productions
https://yaml.org/spec/1.2/spec.html

OpenAPI requires the use of YAML 1.2 and limited to the JSON Schema subset. https://spec.openapis.org/oas/v3.1.0#format

Please note I'm serializing to OpenAPI 2.0 - https://spec.openapis.org/oas/v2.0#format doesn't say anything about YAML version


[event hubs] Stress testing checklist

We need to write a simple Event Hubs test to simulate a customer scenario - constant message sending and receiving with network stress spplied.
This will use the standard stress testing checklist: Checklist

We've got the tests written and we'll introduce another variant with a chaos networking policy applied.


Release Google.Cloud.ServiceControl.V1 version 1.1.0

Changes in this release:
No API surface changes, but a minor version bump for dependency updates.

Created release for Google.Cloud.ServiceControl.V1-1.1.0


Releasing 2.0

Overview
This version accepts runtime parameters and includes positional information.
Additions

App Parameters
Positional information added to models

Changes

Refactoring data loading and feature extraction
Refactoring classifier code: split into classifier proper and stitcher
Using a different classifier model

I think https://github.com/clamsproject/app-swt-detection/issues/24 should also be resolved in this release.

Okay, that won't hurt, but I may not be able to get to that till Tuesday or Wednesday.

Looks like there's a bug in classifier.py
$ podman  run -d --rm --name clams-app-swt-detection -p 5501:5000 -v /mnt:/mnt clams-app-swt-detection:v2

$ clams source  video:/mnt/llc/llc_data/clams/wgbh/NewsHour/cpb-aacip-507-7659c6sk9k.mp4  | curl -d@- localhost:5501
{
  "metadata": {
    "mmif": "http://mmif.clams.ai/1.0.0"
  },
  "documents": [
    {
      "@type": "http://mmif.clams.ai/vocabulary/VideoDocument/v1",
      "properties": {
        "mime": "video",
        "id": "d1",
        "location": "file:///mnt/llc/llc_data/clams/wgbh/NewsHour/cpb-aacip-507-7659c6sk9k.mp4"
      }
    }
  ],
  "views": [
    {
      "id": "v_0",
      "metadata": {
        "timestamp": "2023-12-22T22:11:40.925876",
        "app": "http://apps.clams.ai/swt-detection",
        "error": {
          "message": "<class 'ZeroDivisionError'>: float division by zero",
          "stackTrace": "  File \"/usr/local/lib/python3.8/site-packages/clams/restify/__init__.py\", line 146, in post\n    return self.json_to_response(self.cla.annotate(raw_data, **self.annotate_param_caster.cast(raw_params)))\n\t\n  File \"/usr/local/lib/python3.8/site-packages/clams/app/__init__.py\", line 116, in annotate\n    annotated = self._annotate(mmif, **runtime_params)\n\t\n  File \"/app/app.py\", line 64, in _annotate\n    predictions = self.classifier.process_video(vd.location)\n\t\n  File \"/app/modeling/classify.py\", line 81, in process_video\n    dur = round(fc / fps, 3) * 1000\n"
        }
      },
      "annotations": []
    }
  ]

Looks like there's a bug in classifier.py

Interesting, never ran into that one, will look into it.

Some remarks on and issues with the new container file.
The way the backbone is loaded is much nicer.
There are advantages to having the one line for the pip install in
RUN pip install -r /app/requirements.txt

But there were reasons for doing
RUN pip install --no-cache-dir torch==2.1.0
RUN pip install --no-cache-dir torchvision==0.16.0
RUN pip install --no-cache-dir pyyaml==6.0.1

One was that certain version configurations allowed by requirements.txt gave errors later on for the app, using requirements-app.txt should deal with that. Another reason was that the app requires less installs than the trainer, which is why there were two requirements files, but with the recent refactoring of the code it looks like the app does now still need to install all packages even those that are only needed for the trainer, in terms of space use this seems a small issue though. I would still like to use the app requirements file because of the version issue.
The image has now grown from 8GB to 10GB because the --no-cache-dir option was removed.
Copying all files to the image before doing the pip install means that those installs are done over and over again each time a small change to the code was made and the image was recreated. I will probably use something like
WORKDIR /app
COPY requirements-app.txt .
RUN pip install --no-cache-dir -r /app/requirements-app.txt
COPY . .
RUN python /app/dl_backbone.py
CMD ["python3", "app.py", "--production"]

Finally, the CMD invocation in the container file uses a configuration script that does not exist anymore. There is a correct default config file name, but that should have been overwritten by the way the app was invoked and I am a bit puzzled why that did not throw an error.

For the ZeroDIvisionError problem raised above, see https://github.com/clamsproject/app-swt-detection/issues/49

The one thing I may want to do for this release is to add some error handling to deal with the above (issue https://github.com/clamsproject/app-swt-detection/issues/49). We could leave that for the next version though.


Small mkcloud fixes

:+1:

If this is not acceptable i will close it and somebody else who knows python can fix that bug.

should be fixed now in https://github.com/SUSE-Cloud/automation/pull/343
we are now more explicit, and don't run into exceptions in a controlled manner anymore


Add CORS origin for LINE bot LIFF

This is the temp solution for adding more app id (rumors-line-bot's LIFF).
Real solution will come in branch create-user.

Coverage remained the same at 86.779% when pulling 5e7d1f1258270ac6eb38de39a49f9bb3332c0554 on line-bot-cors into b0aaf7f6b03a1b8df26ede5a344e39e0e1291212 on master.


Improve Session Management

From https://github.com/zeeguu/api/pull/151

Renew sessions from the same device
Cache sessions if possible to avoid checking the database every time there is an API call.

I think a way to avoid checking the database everytime is to cache a session with a small timeout say (60 seconds) if the call is within the 60 seconds of the last API call then we can just say OK without checking the DB, otherwise we check the db and reset the cache to 60?

Partially resolved in: https://github.com/zeeguu/api/pull/153


Sublanguages - for example javascript in html

I noticed that in recent highlight.js versions sublanguages are not detected correctly.
An example.

The parsed highlighted HTML is:
<script type="text/javascript">

    var abc = require('abc');

</script>

.. It seems to detect coffescript. As far as I see the script type is not parsed from the code.
IMO javascript should be the default, and type should enforce other languages. I'm not a fan of language detection techniques, it should be the last option.
Furthermore, when using the API, and processing strings line by line hljs.highlight passes XML when on XML name input - correctly - but then puts an "undefined" tag at the sublanguage start, and in the next line, instead of passing this information thru the stack, it starts language detection, and brings up all possible languages, .. then the closing tag again is undefined.
To keep the example consistent:

<script type="text/javascript">

    var abc = require('abc');

</script>

As far as I remember this worked correctly in previous versions. ...

.. It seems to detect coffescript. As far as I see the script type is not parsed from the code.
IMO javascript should be the default, and type should enforce other languages. I'm not a fan of language detection techniques, it should be the last option.

To put this problem in context, we used to highlight the contents of the

is parsed to:

<script type="text/javascript">

    //var abc = require('abc');
</script>

As you see, instead of javascript, with the // startinga  comment "cal" is detected.

To put this problem in context, we used to highlight the contents of the  and this way we eliminate weird detection choices that can't exist in practice.
(As an aside, I think we can remove the subLanguageMode attribute and make specified sub-languages to be always continuous.)

Totally agreed)

BTW, I could only find one language that was ever requested beside JavaScript — Handlebars. Any other suggestions, guys?

… oh, and ActionScript too (we've even got that one in the test suit!)

Actually other scripting languages didnt make it. I guess 99% of all cases, script is starting javascript.
When W3C was working on HTML5, they discovered all browsers have "text/javascript" as the default script type, so they standardized it to be the default value. Hence, type is not needed within the script tag when using javascript. The language attribute has been deprecated ...
http://www.w3.org/TR/html5/scripting-1.html#attr-script-type

@LaKing there's no argument that JavaScript is the default value (and by far most popular). As I said earlier, we simply cannot support this in our generalized parser.
Anyway, I've just pushed the fix that constrains possible HTML scripting languages to just three and I believe it should take care of any practical issues.


Elite Dangerous Profile

Expected Behaviour
 ED Profile loads, but does nothing else. SC Jump sequence (blue lighting sequence) never occurs. KB lighting does not change regardless of ED mode
Actual Behaviour
 ED Profile loads but does nothing.
Reproduction steps
 Start aurora. Start ED. KB Profile loads but does nothing.
Frequency
 All the time.
Aurora Version:
 0.8.1
Previously an Issue?
 Don't know.
2022-03-13 16.36.05.log
2022-03-21 12.12.28.log

LGS SDK Installed. LGS not installed. Everything looks good. KB (logitech 815) connected.
Another bug is that when aurora is run at any time, it adds a task scheduler event to "start when windows starts" regardless of the checkmark in options, checked or unchecked. It always adds the TS event.


Git out of sync

Issue Type: Bug
I work on two machines (Windows 10 with WSL and Mac), when switch to my Windows pc any repository I download that I share with the Mac system is showing on VS code uncommited changes but in VS code terminal it says everything is up to date.
I asumed it was something with the convertion between LF and LCRF ending lines, but after change my settings and fix end lines the issue remains ( git add --renormalize .)
If I made a commit in VS code git UI the VS code terminal shows pending files. If I then add pending files via VS terminal then the UI show uncommited files.... everything is out of sync.

I've tried on several repositories wit hthe same issue, it doesn't happens when I work on VS code under Mac
Any idea how can I fix this ? Please I'm a bit desperate with this issue. Thanks
GIT CONFIG
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
autocrlf = false
[remote "origin"]
url = git@github.com:roroland/aes.git
fetch = +refs/heads/:refs/remotes/origin/
[branch "main"]
remote = origin
merge = refs/heads/main
VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:40:02.816Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 3192)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.95GB (26.56GB free)

|Process Argv|--crash-reporter-id 5a9bd907-41b7-457d-b58b-04c4d3fd5f0d|
|Screen Reader|no|
|VM|0%|
Extensions (46)

Extension
Author (truncated)
Version

html-snippets
abu
0.2.1

scss-lint
ada
0.1.10

codesnap
adp
1.3.4

project-manager
ale
12.4.0

html-class-suggestions
And
1.1.1

vscode-color
ans
0.4.5

npm-intellisense
chr
1.4.0

vscode-svgviewer
css
2.0.0

vue-peek
dar
1.0.2

vscode-markdownlint
Dav
0.45.0

vscode-eslint
dba
2.2.2

jquerysnippets
don
0.0.1

gitlens
eam
11.7.0

EditorConfig
Edi
0.16.4

vscode-npm-script
eg2
0.3.24

vscode-optimize-images
fab
1.1.1

auto-rename-tag
for
0.1.9

ginfuru-vscode-jekyll-syntax
gin
0.1.1

vscode-jekyll-snippets
gin
0.9.3

vscode-auto-open-markdown-preview
hnw
0.0.4

vue-snippets
hol
1.0.4

beautify
Hoo
1.5.0

latte
Kas
0.18.0

vscode-gist
ken
3.0.3

vscode-liquid-snippets
kil
2.0.3

vscode-autoprefixer
mrm
3.0.1

vscode-scss
mrm
0.10.0

vscode-docker
ms-
1.19.0

vscode-language-pack-es
MS-
1.63.3

vscode-edge-devtools
ms-
1.4.2

remote-wsl
ms-
0.63.13

atom-keybindings
ms-
3.0.9

debugger-for-chrome
msj
4.13.0

debugger-for-edge
msj
1.0.15

language-liquid
nei
0.1.1

vetur
oct
0.35.0

css-grid-snippets
oha
0.0.5

vscode-html-scss
P-d
0.0.42

vscode-phpcbf
per
0.0.8

live-sass
rit
3.0.0

LiveServer
rit
5.7.4

nunjucks
ron
0.3.0

vue-vscode-snippets
sdr
2.2.1

autoimport
ste
1.5.4

material-theme
zhu
3.13.16

html-css-class-completion
Zig
1.20.0

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30425749
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dsc:30424895
pythonvs932:30410667
vscop804cf:30404767
vscop453:30404998
vsrem710cf:30416617
vsbas813:30426126
vsic-wlc-tsjs:30426436

@roroland, sorry for not getting back to you on this until now. You mention in your description that you are using Windows 10 with WSL, though as far as I can tell from your screenshot you are not connected to WSL. Is that correct? Are you able to reproduce the issue when you open the folder/workspace without WSL?
The SCM viewlet renders the list of changes based on the output of git status -u.
Could you run that command in the terminal and share the output? Thank you!


Inconsistent behavior between DatasetRolling.construct and DataArrayRolling.construct with stride > 1.

What is your issue?
INSTALLED VERSIONS
commit: None
python: 3.8.10 | packaged by conda-forge | (default, May 11 2021, 07:01:05)
[GCC 9.3.0]
python-bits: 64
OS: Linux
OS-release: 5.4.0-73-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LOCALE: ('en_US', 'UTF-8')
libhdf5: 1.12.2
libnetcdf: 4.9.0
xarray: 2022.6.0
pandas: 1.4.2
numpy: 1.19.5
scipy: 1.7.0
netCDF4: 1.6.0
pydap: None
h5netcdf: 1.0.2
h5py: 3.1.0
Nio: None
zarr: 2.12.0
cftime: 1.6.1
nc_time_axis: None
PseudoNetCDF: None
rasterio: None
cfgrib: None
iris: None
bottleneck: 1.3.4
dask: 2021.06.2
distributed: 2021.06.2
matplotlib: 3.5.3
cartopy: None
seaborn: 0.12.0
numbagg: None
fsspec: 2021.07.0
cupy: 9.2.0
pint: None
sparse: 0.13.0
flox: None
numpy_groupies: None
setuptools: 49.6.0.post20210108
pip: 21.1.3
conda: 4.10.3
pytest: 6.2.4
IPython: 7.24.1
sphinx: None
Reproducing the problem
I have an xarray Dataset with a single dimension as specified. (Or any arbitrary  Xarray's Dataset
> Dimensions:
> time: 11058688

When applied rolling operation on DataArray with no overlapping window, it is working as one would normally expected.
dataset.var_a.rolling(k=256).construct('w', stride=256)

11058688 / 256 = 43198
> Dimensions:
> time: 43198, k:  256   # 43198 windows

However when applying the same operation to the Dataset:
dataset.rolling(k=256).construct('w', stride=256)

> Dimensions:
> time: 169, k:  256   # How can we even arrived at 169 windows?

I don't see any reasons why should rolling on Dataset and DataArray should behave differently. Shouldn't rolling on dataset is just repeating DataArray rolling on every data variable?
This differing behavior is not mentioned on the documentation either.

Thanks for the report & I agree that this should lead to the same but the code paths are indeed different - but I have not looked in to the actual root cause. Could be that this is also not super thoroughly tested (and used!):
https://github.com/pydata/xarray/blob/b018442c8dfa3e71ec35e294de69e2011949afec/xarray/core/rolling.py#L289
https://github.com/pydata/xarray/blob/b018442c8dfa3e71ec35e294de69e2011949afec/xarray/core/rolling.py#L721
B.t.w. a copy-pastable example would be appreciated.

Thanks for the report & I agree that this should lead to the same but the code paths are indeed different - but I have not looked in to the actual root cause. Could be that this is also not super thoroughly tested (and used!):
https://github.com/pydata/xarray/blob/b018442c8dfa3e71ec35e294de69e2011949afec/xarray/core/rolling.py#L289
https://github.com/pydata/xarray/blob/b018442c8dfa3e71ec35e294de69e2011949afec/xarray/core/rolling.py#L721
B.t.w. a copy-pastable example would be appreciated.

Thanks for the response, here is a straightforward example.
import xarray as xr
dummy = list(range(100))
x, y, z = [xr.DataArray(dummy, dims=['t']) for _ in range(3)]
ds = xr.Dataset(
    {'x': x, 'y': y, 'z': z}
)
print(x.rolling(t=4).construct('w', stride=4).shape)
print(ds.rolling(t=4).construct('w', stride=4).x.shape)

Results:
> (25, 4)
> (7, 4)

I had a hunch that the problem come from this part
https://github.com/pydata/xarray/blob/b018442c8dfa3e71ec35e294de69e2011949afec/xarray/core/rolling.py#L764-L772
Since I only had one dimension to deal with, removing this loop solve the problem for me.

Been half a year and I found myself stuck at this inconsistent behavior again.  Another problem I found but haven't mentioned yet is that DatasetRolling.construct will swap the rolling dimension name with window_dim when DataArrayRolling.construct doesn't.
This time, I've actually identified a cause for this problem below:
https://github.com/pydata/xarray/blob/b018442c8dfa3e71ec35e294de69e2011949afec/xarray/core/rolling.py#L789-L791
.isel({d: slice(None, None, s) for d, s in zip(self.dim, strides)})

I currently still can't figure it out what is the original intention that .isel trying to achieve since it causes so much problem without any benefit. It should be noted that this can explode the memory if xr.Dataset is reasonably large (It just explode 3 channels PPG, 135Hz, 6Hrs of recording, a mere 300MB to 20-40GB++, so I think this is critical).
Solution
Removing .isel part fixed everything.
Test case
test_arr = xr.DataArray(np.arange(8).reshape(2, 4), dims=('a', 'b'))  # Borrowed from `DataArray.__doc__`'s example.
test_dset= xr.Dataset(data_vars={i: tr for i in range(3)})

DataArray
tr.rolling(b=2).construct('window_dim', stride=2)

>>> <xarray.DataArray (a: 2, b: 2, window_dim: 2)>
array([[[nan,  0.],
        [ 1.,  2.]],

       [[nan,  4.],
        [ 5.,  6.]]])
Dimensions without coordinates: a, b, window_dim

Dataset
trd.rolling(b=2).construct('window_dim', stride=2)

>>> <xarray.Dataset>
Dimensions:  (a: 2, b: 2, window_dim: 2)
Dimensions without coordinates: a, b, window_dim
Data variables:
    0        (a, b, window_dim) float64 nan 0.0 1.0 2.0 nan 4.0 5.0 6.0
    1        (a, b, window_dim) float64 nan 0.0 1.0 2.0 nan 4.0 5.0 6.0
    2        (a, b, window_dim) float64 nan 0.0 1.0 2.0 nan 4.0 5.0 6.0

trd.rolling(b=2).construct('window_dim', stride=2)[0]

>>> <xarray.DataArray 0 (a: 2, b: 2, window_dim: 2)>
array([[[nan,  0.],
        [ 1.,  2.]],

       [[nan,  4.],
        [ 5.,  6.]]])
Dimensions without coordinates: a, b, window_dim


Ratings summary page

Table of ratings per project and observations.
Bar plots for counts of classifications and counts of classifications per user.
Ratings downloadable as a CSV with metadata about ratings and users.

Completed in #29


conflicting information

This document contains conflicting information.  The diagram shows an on-prem SHIR but later states:
"A private endpoint requires a virtual network and subnet for the link, and a virtual machine within the subnet, which will be used to run the Self-Hosted Integration Runtime (SHIR), connecting via the private endpoint link."
This implies that it requires the SHIR to be hosted within the vnet and not on-prem, which is in contrast with the diagram.  After a support ticket with MS they have stated that the SHIR can be on prem.  This should be reworded to something like
"A private endpoint requires a virtual network and subnet for the link.  In this example, a virtual machine within the subnet will be used to run the Self-Hosted Integration Runtime (SHIR), connecting via the private endpoint link."

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

ID: 04cca896-a855-6c8a-44fa-0ba83b5f058a
Version Independent ID: 3d841099-2213-9384-a0b9-568c04663630
Content: Azure Private Link for Azure Data Factory - Azure Data Factory
Content Source: articles/data-factory/data-factory-private-link.md
Service: data-factory
Sub-service: integration-runtime
GitHub Login: @lrtoyou1223
Microsoft Alias: lle

Thank you for reaching out. At this time we are reviewing the ask and will provide an update as appropriate

HI @lrtoyou1223, @jonburchel  - Could you please review the above doc enhancement feedback from user and update the doc as needed? - Thank you

Thanks for providing feedback that helps improve our documentation. This issue has been resolved and we are closing the issue. #please-close


[Enhancement] Ensure Netplan permissions

Summary of Request
Ensure Netplan configuration should not be accessible by others. There's a warning if run netplan apply and settings are world readable. This could be also handled by UBUNTU22-CIS

hi @pandalec
Thank you for raising this, I am not able to find this as required as part of CIS v1.0.0 pdf, have you seen this listed elsewhere in official documents?
many thanks
uk-bolly

hi @pandalec
Have you managed to find where this can be found, happy to update the relevant benchmark control accordingly.
Many thanks
uk-bolly


Update Guides to Micronaut 4

Guides with errors:

[ ] hotwire-turbo-micronaut-chat
[ ] micronaut-aws-parameter-store
[ ] micronaut-cache
[ ] micronaut-cloud-secrets-azure
[ ] micronaut-cloud-trace-google
[ ] micronaut-cloud-trace-oci
[ ] micronaut-configuration
[ ] micronaut-creating-first-graal-app
[ ] micronaut-data-access-mybatis
[ ] micronaut-data-hibernate-reactive
[ ] micronaut-data-jdbc-repository
[ ] micronaut-data-r2dbc-repository
[ ] micronaut-email-sendgrid
[ ] micronaut-file-download-excel
[ ] micronaut-flyway
[ ] micronaut-graphql
[ ] micronaut-graphql-todo
[ ] micronaut-hibernate-reactive
[ ] micronaut-http-client
[ ] micronaut-java-records
[ ] micronaut-jaxrs-jdbc
[ ] micronaut-jpa-hibernate
[ ] micronaut-kafka/books
[ ] micronaut-kotlin-extension-fns
[ ] micronaut-liquibase
[ ] micronaut-metrics-aws
[ ] micronaut-metrics-oci
[ ] micronaut-metrics
[ ] micronaut-microservices-distributed-tracing-jaeger-opentelemetry
[ ] micronaut-microservices-distributed-tracing-jaeger
[ ] micronaut-microservices-distributed-tracing-zipkin-opentelemetry
[ ] micronaut-microservices-distributed-tracing-zipkin
[ ] micronaut-microservices-services-discover-consul
[ ] micronaut-microservices-services-discover-eureka
[ ] micronaut-microstream-persistence
[ ] micronaut-mongodb-asynchronous
[ ] micronaut-mongodb-synchronous
[ ] micronaut-oauth2-auth0
[ ] micronaut-oauth2-client-credentials-auth0
[ ] micronaut-oauth2-client-credentials-cognito
[ ] micronaut-oauth2-cognito
[ ] micronaut-oauth2-github
[ ] micronaut-oauth2-linkedin
[ ] micronaut-oauth2-oidc-google
[ ] micronaut-oauth2-okta
[ ] micronaut-object-storage-gcp
[ ] micronaut-object-storage-oracle-cloud
[ ] micronaut-oracle-autonomous-db
[ ] micronaut-oracle-email-delivery
[ ] micronaut-oracle-function-http
[ ] micronaut-rabbitmq-rpc
[ ] micronaut-rabbitmq
[ ] micronaut-security-api-key
[ ] micronaut-security-basicauth
[ ] micronaut-security-jwt-cookie
[ ] micronaut-security-jwt
[ ] micronaut-security-keys-jwks
[ ] micronaut-security-session
[ ] micronaut-spring-boot
[ ] micronaut-token-propagation/intermediate-gateway
[ ] micronaut-turbo-native

security-keys-jwks still fails, but with
Failed to inject value for parameter [configuration] of method [signatureConfiguration] of class: io.micronaut.security.token.jwt.signature.rsa.RSASignatureFactory

Message: Multiple possible bean candidates found: [$SecondarySignatureConfiguration$Definition$Intercepted, $PrimarySignatureConfiguration$Definition$Intercepted]

At runtime...  This makes no sense to me, as RSASignatureFactory has an EachBean annotation...  I suspect a bug in core...  I will get more done here, then try and reproduce it

GraphQL doesn't work with Serde as we would need to add
@SerdeImport(GraphQLRequestBody.class)
@SerdeImport(GraphQLResponseBody.class)

micronaut kafka is failing due to the KSP/Serde issue and awaitility tries to pull in Groovy 3 for the spock tests 🙄
As we don't use awaitility in the spock tests, I'm going to try and merge master in to use the language dependent features

@alvarosanchez The Micronaut-MicroStream-Persistence guide fails for Maven and Groovy with a weird error...
If you run:
./gradlew clean micronautMicrostreamPersistenceBuild

Then the micronaut-microstream-persistence-maven-groovy tests fail with:
[ERROR] Failed to execute goal org.codehaus.gmavenplus:gmavenplus-plugin:1.13.0:generateStubs (default) on project default: Error occurred while calling a method on a Groovy class from classpath.: InvocationTargetException: io/micronaut/inject/processing/ProcessingException: io.micronaut.inject.processing.ProcessingException -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

🤔

It is reproducible today in Starter with the MicroStream feature, which incorrectly adds micronaut-microstream-annotations in both compile and provided scopes.
If you just leave it in provided it works.

micronaut-hibernate-reactive currently fails due to https://github.com/micronaut-projects/micronaut-validation/pull/165

The k8s guides are also failing (not on the list)
I'll take a look

I have skipped the Oracle Autonomous Database until we get Flyway fixed in Starter to pull flyway-database-oracle when Flyway and oracle are selected as features

the micronaut-oracle-cloud-streaming seems to show a bug in starter...  We are configuring testResources as using a shared service even though we are not applying the plugin.
I will work on a fix

The fix for this is here https://github.com/micronaut-projects/micronaut-starter/pull/1944
It's a bug in 3.9.x as well, so I targetted that for the PR and it will need merging up once released


Change language bug

In version 0.0.5 and 0.0.6 we can't change the language of the interface until we import (or create) a wallet.
(Everything works fine if a wallet is imported)

@Weyland2093 I could not reproduced it by using upcoming v.0.0.7:
https://user-images.githubusercontent.com/61792675/110152846-8d33df80-7de2-11eb-8e51-d019e500aa66.mp4
Could you try it again by using latest DRAFT build for 0.0.7 or by building everything from scratch based on develop branch, pls?

Can't reproduce the bug either..., but i had it with my first install (v0.0.5) and someone in the french thorchain telegram had the same bug with his first install with 0.0.6... (maybe the bug is present when you NEVER had a wallet?)


zext.w missing from zbb table

The table at the beginning of chapter 2 which lists all of the instructions in each subset doesn't mention zext.w for zbb.  It is supposed to be in there.  It is an alias of add.uw which is zba, but the subset that provides zext.w is in zbb.  Just like zext.h in zbb is an alias for pack/packw even though pack/packw are not in zbb.
The idea here is that the base architecture plus zbb is supposed to provide a complete set of [sz]ext.[bhw] instructions.  This set is not complete unless we have zext.w for rv64.

Hi Jim,
The instruction zext.w was removed from Zbb on purpose. Perhaps this was because it had originally been defined as an alias for pack rd, rs1, zero which had been removed from zbb and it wasn’t considered worth the (small) cost.  However, you are correct that this could also be an alias for addu.w rd, rs1, zero. We could add it back as an alias into zba – not quite what you are looking for.
That said, pack is needed for crypto. It might make sense to add pack back into Zbb and then we can get zext.w for free again.
Ken
From: Jim Wilson<EMAIL_ADDRESS>Sent: Thursday, February 25, 2021 2:13 PM
To: riscv/riscv-bitmanip<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [riscv/riscv-bitmanip] zext.w missing from zbb table (#120)
CAUTION: This email originated from outside of the organization.
The table at the beginning of chapter 2 which lists all of the instructions in each subset doesn't mention zext.w for zbb. It is supposed to be in there. It is an alias of add.uw which is zba, but the subset that provides zext.w is in zbb. Just like zext.h in zbb is an alias for pack/packw even though pack/packw are not in zbb.
The idea here is that the base architecture plus zbb is supposed to provide a complete set of [sz]ext.[bhw] instructions. This set is not complete unless we have zext.w for rv64.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/riscv/riscv-bitmanip/issues/120, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AI6QBRVWNS2PLB3CF66BSITTA2VN5ANCNFSM4YHE67IQ.

zext.w is already mentioned in multiple places in the document as an alias for add.wu.  I thought we had agreement that the zext.w subset of add.wu would be part of zbb, but Andrew Waterman tells me it isn't.  Oh well.  This means that I plus zbb has 5 of the 6 possible [zs]ext.[bhw] instructions, and you need I plus zbb+zba to get all 6 of them.  But anyone sensible should be implementing zbb+zba anyways, so we can live with that.  In the short term, we have a few broken toolchains floating around, because the toolchain folks thought that zext.w was in zbb, but this will be a temporary problem.

Oops, the current implementation in gcc is generating zext.w for zbb or zba, seems like it should fix...

Maybe slli.uw for imm = 0  instruction should be the alias for zext.w  and in zbb.
IIUC it is preferred to special case an immediate over special casing rs1 or rs2 == zero.
Or maybe it is not too late to include the whole slli.uw instruction in Zbb, so that with just I + Zbb you can do sensible unsigned index -> address computation even if you don't want to implement the fused slli.uw + add
of Zba (but as Jim rightly remarks, implementing Zba is the sensible thing to do).


Virus coding must learn it .

Good for you, just note that many malicious activities are considered a crime and are therefore illegal. Use this repository as a knowledge base to understand the principles and improve your cybersec knowledge though - it is a broad topic. Since this is not really an issue, I'm closing it as resolved.


Add a hotkey to go back one level of breadcrumbs

VSCode has breadcrumbs feature that looks like this:

Is it possible to go back one level in these breadcrumbs using a hotkey? So in the case above, I am inside propTypes. I press hotkey and I go to BatchTypesTable.
I can achieve this already by clicking on the breadcrumb itself but I want to have a hotkey to do this.

The are two command: breadcrumbs.focusPreviousWithPicker or breadcrumbs.focusNextWithPicker Try alt+left/right (mac) or ctrl+left/right ( windows/linux). When no picker shows you can just use the arrow keys

I tried both with:
  {
    "key": "ctrl+t",
    "command": "breadcrumbs.focusNextWithPicker"
  },

And
  {
    "key": "ctrl+r",
    "command": "breadcrumbs.focusAndSelect",
    "when": "breadcrumbsPossible"
  },

The breadcrumbs.focusNextWithPicker did nothing.
The breadcrumbs.focusAndSelect focused in on the first element in the breadcrumbs. And yes I could then use arrow keys to go to the element I have to go back to, and then press return twice to jump to it. Depending on the nestedness it would require minimum 6 clicks. As in this example:

Need to right arrow multiple times until I go to the previous crumb SectionView. Then return, return.
What I want, is a single hotkey that when activated will go back one level in breadcrumbs. Without focusing in on the breadcrumb view itself so no need for extra presses. Hope it's clear what I mean.
If it's not possible to achieve, can you please add it?

I could also do something like:
  {
    "key": "ctrl+t",
    "command": "breadcrumbs.focusAndSelect",
    "when": "breadcrumbsPossible"
  },

But then I also don't know how to get to the level below reliably. As for example in this case:

I'd need to do two arrow keys up to go one level down. But I don't know how many steps I need to take to go down a level so I can't automate it.

The are two command: breadcrumbs.focusPreviousWithPicker or breadcrumbs.focusNextWithPicker Try alt+left/right (mac) or ctrl+left/right ( windows/linux). When no picker shows you can just use the arrow keys

@nikitavoloboev FYI I had the same question and these worked for me

Though the docs seem wrong — while <- and -> are bound to breadcrumbs.focusPrevious / Next, list.expand gets priority, and so they don't effect — unless I have some idiosyncratic setting?
https://code.visualstudio.com/docs/editor/editingevolved#_breadcrumb-keyboard-navigation


NEW FEATURE: Re-launch after restarting

Add ability to auto re-launch after restarting PC; to complete the uninstall process.

Related to #129


Process config files as golang templates

Environment variables are available inside the template. Existing functionality is unchanged - the template execution is a no-op if the template is plain yml

Fixes #40

@free any thoughts about this?

Sure. Do you have a template for this? I can't seem to find any tests in the repo.

Sure. Do you have a template for this? I can't seem to find any tests in the repo.

Yeah, that's because there aren't any. )o:
But it's never too late to add some. Just go wild and maybe I'll follow suit when I can find some time.

@free I think I'll take care of these tests, so will provide them soon for you to take a look. The template works well, so in Kubernetes use case, for example, we can keep connection strings with passwords out of config. :)

Is this going to be merged anytime soon?

Is this going to be merged anytime soon?

:heavy_plus_sign: I'd love this functionality too


Version outdated on supermarket

The github repo has version 1.9.1, whereas the supermarket only has 1.8.1. Also the readme.md is messed up on supermarket.
Any plans to update it?

@spuder I'm seeing 1.9.1 on supermarket.  Mind attaching a screenshot of what you are seeing?

Strange, maybe I had the wrong one. Looks fine now.


Support 'startThreshold' for queue scalers like Kafka

When using queue based scalers like EventHubs, Kafka, RabbitMQ it would be great to have a low threshold (of 1 message) when the HPA has scaled to zero, but keep the normal, larger lagThreshold when scaling up above one instance.
I'm mostly talking about Kafka a the moment, as that's what I use.  I'd like to let my ScaledObject drop to zero for topics that don't see much traffic and start when a single message needs processing.  However, I only want to scale one instance per 100 messages behind the head of the topic.  This is especially useful when messages come infrequently but in batches when they do.
Something like this:
apiVersion: keda.k8s.io/v1alpha1
kind: ScaledObject
metadata:
  name: my-kafka-processor-keda
spec:
  scaleTargetRef:
    deploymentName: my-kafka-processor
  pollingInterval: 30
  minReplicaCount: 0
  maxReplicaCount: 10
  triggers:
  - type: kafka
    metadata:
      bootstrapServers: awesome.servicebus.windows.net:9093
      consumerGroup: my-kafka-worker
      topic: my-topic
      lagThreshold: "100"
      startThreshold: "1"

I think for this to work, the scaler would have to lie to the HPA about the metric value when it was greater or equal to the startThreshold but less than the lagThreshold and claim that it was the lagThreshold, or reconfigure the HPA when it scaled to zero and then back when scaled above zero.

Interesting. Question is, should 1 be configurable or just how it behaves because AFAIK it was spinning up an instance once there is a message already; no @jeffhollan ?

One, as the default, would be ideal. I’m pretty sure that’s what 99% if use cases would call for. Being able to configure it to wait for more than one would be a benefit in some special cases.

I like this idea to make this option (keeping the default as it is currently of course).
@ppatierno WDYT?

https://github.com/kedacore/keda/pull/1303 @zroubalik In response to our standup discussion yesterday, this is what I had to accomplish the minimumThreshold requirement.

+1 on this feature. It would be a great improvement I think 👍

Discussed this with @knepe and he is willing to contribute this for Rabbit MQ scaler 🎉
We will do the POC on Kafka and then follow up with other scalers.


Mangaswat domain changed

Source information
Mangaswat 1.4.42
Source language
Arabic
Source new URL
https://swatmanhua.com/
Other details
No response
Acknowledgements

[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL has not changed yet.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] I will fill out all of the requested information in this form.

How?
I downloaded it from the official website

How? I downloaded it from the official website

The latest version is 1.4.44.


[WIP] use Rc instead of lifetimes

WIP because I only tried it with Buffer and VertexArray so far. But gltf-viewer compiles and runs fine now: https://github.com/bwasty/gltf-viewer/compare/yage.

This looks good. I incorporated this into rendering_structure.


Loading labels wrong with large images

After saving labels, refressing, uploading the image again and loading the labels, they are not in the right place and with horizontal lines:

This happens especially with large images.

@rmdocherty double check but I believe you can close this one with your last pull request


pulsar integration doc

Implement the pulsar integration https://github.com/permitio/broadcaster/pull/20
Added pulsar integration doc.

Feature #583
/claim #583

@gemanor  The pull request has been merged...
https://github.com/permitio/broadcaster/pull/20#event-14382634954


XML output: Maverick underscores in node names?

Some node names have underscores in ways that seem uncommon/strange to me.
Examples:

Trailing: <Channel_s_>2 channels</Channel_s_>
Double: <Interleave__duration>998 ms (24.94 video frames)</Interleave__duration>

The "__" (double) underscores seem like some sort of grouping - but the trailing ones look somewhat accidential.
Are these "maverick underscores" on purpose?

--Output=XML is a quick and dirty adaptation of the text output, so "Channel(s)" (which is also ugly) is with parenthesis replaced by underscore because not valid in XML.
Due to legacy reasons, I will not change this output (it would break lot of external software).
Please test with --Output=MIXML, which is expected to be the next official XML output, and can be still modified before a freeze.

Roger :wink:
Comparing output=XML with output=MIXML right now:
Maverick underscores gone.


Keyboard modifier allowing to resize a window without having to grab the border and move it without having to grab the titlebar

Description of the new feature / enhancement
While holding the Alt or the Windows key modifier, we hold and drag using the right mouse button to resize the window using the closest border.
Using the same keyboard modifier and left mouse button we can move the window.
Scenario when this would be used?
Easily and very quickly move around and resize windows. Especially useful for windows that have a tiny titlebar like browser and MS office apps, and for big screens where the window border is 1px wide.
Supporting information
This is standard behavior in most linux desktop environments (Gnome, KDE, XFCE, Cinnamon...).
There are third party Windows apps allowing to do this, win-x-move and AltDrag, but they're buggy.

Try Alt+Space and use the menu. It's fully keyboard supported.

Try Alt+Space and use the menu. It's fully keyboard supported.

No we don't need to move or resize using the keyboard, we need to be able to move and resize without having to reach for the window border or the titlebar

Description of the new feature / enhancement
While holding the Alt or the Windows key modifier, we hold and drag using the right mouse button to resize the window using the closest border. Using the same keyboard modifier and left mouse button we can move the window.
Scenario when this would be used?
Easily and very quickly move around and resize windows. Especially useful for windows that have a tiny titlebar like browser and MS office apps, and for big screens where the window border is 1px wide.
Supporting information
This is standard behavior in most linux desktop environments (Gnome, KDE, XFCE, Cinnamon...). There are third party Windows apps allowing to do this, win-x-move and AltDrag, but they're buggy.
描述新特性/增强
功能
当按住Alt或Windows键修饰符时，我们按住并使用鼠标右键拖动，以使用最近的边框调整窗口大小。使用相同的键盘修饰符和鼠标左键，我们可以移动窗口。
什么
情况下会用到这个？
轻松
快速地移动和调整窗口大小。特别适用于标题栏很小的窗口，如浏览器和MS Office应用程序，以及窗口边框为1 px宽的大屏幕。
支持
信息
这是大多数Linux桌面环境（Gnome，KDE，XFCE，Cinnamon.）中的标准行为。有第三方Windows应用程序允许这样做，win-x-move和AltDrag，但它们有缺陷。

AltSnap

/dup #269


GROUP BY with aggregate functions gives strange types

Bug Description
When using GROUP BY on a NON NULL column, said column becomes an Option<T> in combination with the MIN() and MAX() aggregate functions.
Also MIN(), MAX(), SUM(), and COUNT() get i32 as type, not i64.
As the testcase shows, AVG() and TOTAL() seem to behave correctly.
Minimal Reproduction
https://gist.github.com/docwilco/b5ea0972a21714a4d0f2c3e824b45c1e
Info

SQLx version: 0.7.4
SQLx features enabled: sqlite, runtime-tokio
Database server and version: SQLite <3.31.1>
Operating system: Ubuntu 20.04.4 (focal)
rustc --version: rustc 1.77.2 (25ef9e3d8 2024-04-09)

Also tried with:

Database server and version: SQLite <3.37.2>
Operating system: Ubuntu 22.04.4 (jammy) (upgraded the same machine from 20.04 to 22.04)
RustC both same version 1.77.2 and rustc 1.78.0 (9b00956e5 2024-04-29)

Thanks for the reproducer.
I tweaked your reproducer so that I could dump a trace of the potential opcode execution paths, then commented out the execution paths that were irrelevant, to see what is going on.
https://gist.github.com/tyrelr/daf8e0ee29a2bcd978d1d95da199b5f7
At a glance I would guess that the issue is due to min/max not being implemented by the AggFinal command (as that seems to be where the null value comes from in the graph).  But I haven't dug in, so that's just a guess.
The code to change would be in sqlx-sqlite/src/connection/explain.rs, if you want to give it a try.


Can't use gitlab-runner

I am unable to communicate with the API using kubectl from the gitlab-runner that I have registered.
I cannot ping the host but I can ping public IPs
From a debug pod, I can ping the host, other hosts on the LAN, and curl the API. I can even use kubectl.
I have coreDNS enabled. I also edited the config to include my router IP in the forward directive.
Seems to only be an issue from within the gitlab-runner on microk8s
tarball.txt

Your gitlab-runner is running inside a pod?  And it couldn't reach where?
Sorry im just trying to understand your setup.

I am at least able to use Gitlab Runner in our cluster (version 1.20).


SpotBugs P2: part 1 of 3

This PR contains:
(1) P2 level SpotBugs: search for [SpotBugs-P2]
(2) CheckStyles belongs to these FIles

Can one of the admins verify this patch?


coap: Separate transport from coap logic

This is probably the most straightforward way to separate the  coap from the transport.
It defines a basic interface that coap will use to send and received data.
Now it look likes another abstraction over socket but it will allows using bluetooth as transport. The fact of each transport has its header and its own api will allows the oic implementation uses bluetooth as the transport easily.
Once we have mapped all the necessity of different transports we can improve this api.

Changes on https://github.com/solettaproject/soletta/pull/1773


Intersection of two sets

Related Issue
-Intersection of two sets (Closes #1399    )
Proposed Changes

Implementation Of Intersection of two sets where sets are individual arrays.

Checklist

[x] ✅ My code follows the code style of this project.
[x] 📝 My change requires a change to the README.
[x] 👀 I have read the CONTRIBUTING document.
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[x] 🌟 ed the repo

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

Output Screenshots

Screenshot #1
Screenshot #2

Test Case 1
Test Case 2

Please review this PR.

My 5 PRs have also been merged before.

Attach the screenshots of code with proper comments in it

Attach the screenshots of code with proper comments in it

I have made the required changes. Please review.


feat: update sablier to v1.0.1

Added a new token ($ZEUM).
See the release in the main repo: https://github.com/paulrberg/sablier-safe-app/releases/tag/v1.0.1

Hey Paul!
Thanks for the contribution. We now moved safe app list storage to the backend, so from now on you can just create issues and we'll take care of updating the app url

The apps was updated

We now moved safe app list storage to the backend, so from now on you can just create issues and we'll take care of updating the app url

Oh, I see. Thanks!


Pitt30k

please,where to dawnload datasets/pitts30k/raw_data,please give me a website_links
Thank you,thank you

Hi, I can't give you a link to the dataset, you need to ask to the authors of NetVLAD

Have you got the Pitt30k dataset? I sent authors the e-mail but got no response.


Add New Connector - tap-sftp

Discussed in slack https://meltano.slack.com/archives/C01TCRBBJD7/p1661866244178239
Summary:
The bonobos variant is currently not the default but we do see more successful executions in comparison to singer-io which is the default. The bonobos variant isn't active and doesnt look to be acccepting PRs. @radbrt fixed a bug in a fork and is willing to become the primary maintainer if the updated tap lives in MeltanoLabs going forward.
In the future this can be migrated to the SDK for easier maintenance but the short term goal is getting the current state into MeltanoLabs and directing users to it as default.
cc @tayloramurphy @edgarrmondragon @aaronsteers

The repo is migrated and the fixes have been applied to the main branch.


Update ingestion config validation for ctf and alignment entities

blocking https://github.com/chanzuckerberg/cryoet-data-portal/issues/1091
Motivation
To be able to ingest the Alignments and Frames, and create relevant metadata, we need to update the config to support the new ingestion entities and updates to the metadata.
Definition of Done

We are able to create a valid config that has entries for the CollectionMetadata and Alignment.
We are able to create a valid config that has entries for new metadata fields specified for Tomogram and Annotations.

The valid config refers to a config created in the dataset_configs folder that passes all the validation checks specified in the make file.
Tasks
For the following entities, the update have to be made to:

the dataset_config template to have an up to date sample for anyone creating a new config yaml file
the ingestion_config to ensure we have validation for the created configs

collection_metadata
The mdoc files are currently ingested as a part of the rawtilts entity. This should no longer be the case.

Create an new entity at the root level for collection_metadata
It doesn't have any metadata associated to it, only sources

Sources
The sources should follow the default structure
Config Migration
This requires an update for all the existing config files where source globs with mdoc extension is listed under rawtlt. The mdoc glob entires should moved to be under collection_metadata.sources. This would require the creation of the collection_metadata entity.
alignment
The alignment files are currently ingested as a part of the rawtilts entity. This should no longer be the case.

Create an new entity at the root level for alignment
It  has both metadata and sources associated to it

Metadata

field name
field type
required
default value
where to source it from if it already exists

alignment_type
string(LOCAL,GLOBAL)
true
-

offset.x
int
true
0
-

offset.y
int
true
0
-

offset.z
int
true
0
-

x_rotation_offset
int
true
0
-

tilt_offset
float
true
0
-

affine_transformation_matrix
4x4 matrix
true
identity matrix
tomogram.affine_transformation_matrix

is_canonical
bool
true
true
-

format
str(IMOD, ARETOMO3)
true
-
-

volume_dimesion
dict
false
-
-

volume_dimesion.x
int
true
-
-

volume_dimesion.y
int
true
-
-

volume_dimesion.z
int
true
-
-

Sources
The sources should follow the default structure
Config Migration
This requires an update for all the existing files with xf to be moved to alignment
This requires an update for all the existing config files where source globs with xf, tlt(not rawtlt), aln, com extensions are listed under rawtlt. The above entires should moved to be under alignment.sources. This would require the creation of the alignment entity.
The affine_transformation_matrix should also be moved to the alignment metadata from tomogram.
depending on what the file extension of the source is the metadata.field should be:

IMOD: xf, tlt, xtlt, rawtlt
ARETOMO3: aln, .txt, rawtlt, csv

frames
The frames currently don't have any metadata associated to them. They can have an optional metadata field.
Metadata

field name
field type
required
default value
where to source it from if it already exists

dose
float
true
-
-

defocus
float
true
-
-

astigmatism
float
true
-
-

astigmatic_angle
float
true
-
-

Config Migration
No config migration required. All these fields will be added manually at a later point.
tomogram
The tomogram currently already have metadata associated to them. We need to update the fields it currently supports and validates.
Metadata

field name
field type
required
default value
where to source it from if it already exists

is_portal_standard
bool
false
false
-

is_visualization_default
bool
true
true
-

cross_references
dict
false
-
-

cross_references.publications
string
false
-
-

cross_references.related_database_entries
string
false
-
-

dates
dict
true
-
deposition.metadata.dates

dates.deposition_date
date
true
-

dates.last_modified_date
date
true
-

dates.release_date
date
true
-

Config Migration
Add the two new bool fields to the all existing config yamls, with the default values
Also, remove the affine_transformation_matrix field, as it is getting moved to the alignment entity.
We will retain the affine_transformation_matrix for backward compatibility
annotations
Standardized annotations are no longer a part of this effort.
The annotations currently already have metadata associated to them. We need to update the fields it currently supports and validates.
Sources
As we can have portal standard annotations now.
We should allow for up to 2 entries for the same shape in source, the caveat for that being, at least one of them should have a is_portal_standard set to true.

field name
field type
required
default value
where to source it from if it already exists

source.[].<>.is_portal_standard
bool
false
false
-

Config Migration
Add the new bool field to the all existing config yamls, with the default values

We are adding two new fields to alignment metadata.

format This will be used for determining how to process the alignment files. For the validation of this field, @uermel will provide the acceptable values.
** volume_dimesion** This will be used for provide the dimensions of the tomogram that will be created from this alignment. If it is not provided, this value will be sourced from the tomogram. This field is optional, but if is exists, it should contain entries for x, y and z.

Any updates to the annotation metadata spec will be addressed as a part of the future spec.

This work is complete


Patients table not reloading on Add Patient Pop-up close

Patients table should reload after the user has added the patient. Right now we have to explicitly enter CMD+R or CTRL+R to see the new patient.

I want to work on this issue..Do assign me!!

@web-dev-kushal Thank you for reaching out! We would love to have you on board.
Clone the repo and start the app on your machine. When you have fixed the issue, create a fork and open a pull request with the fix. If possible, please explain how you have fixed the issue in the Pull Request Descirption. Request a review from @manaschubby or @Shlokkzz.
I am assigning this issue to you.
Thank for contributing to MediLink Pro!

Please reach out if you are facing any issues in understanding the code or setting up the development environment on your machine. We are here to help!

I am having problem setting up.

Looks like your React app starts successfully
Does your electron app not start?
If so, try running npm run start and when the browser window opens, run npm run electron

No both has started concurrently but its not showing anything in browser and electron app.

Press CTRL+R on the electron app.

No both has started concurrently but its not showing anything in browser and electron app.

It'll take some time. Also you can save(Ctrl+s) the main.js file to reload the app. Works for me atleast.

Hi @web-dev-kushal Please sync your fork, there are some changes regarding our migration from BrowserRouter to HashRouter. You'll be able to open the AddPatient window properly now

Okay sure

There is some problem connecting to mongo db

What is the issue you are facing?

There is an example.env file. You can duplicate the same and rename it to .env. It'll connect to your local MongoDB

Can you please describe the issue

Yeah so basically after the patient has been added, we need to reload the patients table.
Right now the new patient doesn't show up on the table unless we reload the page.
So that has to be fixed

Hi @web-dev-kushal, were you able to make progress with the issue?


Specified python version for pre-commit

Updated the pre-commit workflow to specify the version of python

Not needed, I didn't catch this was already handled.

@onaclov2000 You need to update your fork and merge with master after


Documentation for other-modules

Is there an option or a way to generate documentation for other-modules in the cabal file? I want to keep some modules hidden from users but I would like to have documentation for those for developers. How can I do that? I looked at the docs but could not figure out if there is way to do this.
I tried using a flag in cabal file like this:
library
    hs-source-dirs:    src
    if flag(dev)
        exposed-modules:
                       Streamly.SVar
                     , Streamly.Streams.StreamK
                     , Streamly.Streams.StreamD
                     , Streamly.Streams.Serial
                     , Streamly.Streams.SVar
                     , Streamly.Streams.Async
                     , Streamly.Streams.Parallel
                     , Streamly.Streams.Ahead
                     , Streamly.Streams.Zip
                     , Streamly.Streams.Prelude
    else
        other-modules:
                       Streamly.SVar
                     , Streamly.Streams.StreamK
                     , Streamly.Streams.StreamD
                     , Streamly.Streams.Serial
                     , Streamly.Streams.SVar
                     , Streamly.Streams.Async
                     , Streamly.Streams.Parallel
                     , Streamly.Streams.Ahead
                     , Streamly.Streams.Zip
                     , Streamly.Streams.Prelude

But cabal sdist does not like this and warns that this won't be accepted by hackage. Maybe this can be fixed in cabal but it would be nice if haddock has an option include the documentation for other-module that way we won't need a flag for this purpose.

Haddock does have such an option already: it is --show-all. I'm not sure what the best way is to thread it to cabal beyond just --haddock-options.
Example
Take bytestring as an example (it has a bunch of other-modules):
 $ git clone https://github.com/haskell/bytestring && cd bytestring

Here is the index after generating plain old Haddock's
 $ cabal new-haddock --with-ghc /usr/local/bin/ghc-8.4 \
                     --with-haddock /usr/local/bin/haddock-ghc-8.4.2 \
                     --allow-newer
 $ open dist-newstyle/build/x86_64-osx/ghc-8.4.2/bytestring-<IP_ADDRESS>/doc/html/bytestring/index.html

Now with --show-all:
 $ cabal new-haddock --with-ghc /usr/local/bin/ghc-8.4 \
                     --with-haddock /usr/local/bin/haddock-ghc-8.4.2 \
                     --allow-newer \
                     --haddock-options '--show-all'
 $ open dist-newstyle/build/x86_64-osx/ghc-8.4.2/bytestring-<IP_ADDRESS>/doc/html/bytestring/index.html

@harpocrates that's great, thanks, I will try it out.
But it does not seem to be documented in this guide - http://haskell-haddock.readthedocs.io/en/latest/invoking.html nor in this one https://www.haskell.org/haddock/doc/html/invoking.html . Is this something new not documented? Or I am not looking at the right place?

Fixed in a631fb6c15de83042e9739285518fda72cfb3144.


First-time pyspark kernel dependencies install just hangs on a domain joined machine

Issue Type: Bug
See attached picture. The install was stuck in "installing sparkmagic..." for 10 minutes. I am not sure if this will even complete or not. I will let it run. How can I use the notebook?
Azure Data Studio version: azuredatastudio-insiders 1.13.0-insider (65fb77ef5ce93fa1090033fe31606138b8059bbc, 2019-10-22T10:25:42.157Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E7-8890 v2 @ 2.80GHz (4 x 2793)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: unavailable_offskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
24.00GB (17.88GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

It finally finished after 13 minutes! Is this expected?

@uc-msft a lot of this is out of our control, since we need to install these packages for notebooks to function correctly. We'll see if there are any perf enhancements here that we can tackle, but we're tied by how long it takes to pip install the packages we need and their dependencies.
@kevcunnane this gets back to our previous conversation earlier today around long-running tasks not being a particularly nice flow. Any suggestions here? We could open the output window, for example, to show users that packages are being installed.

BDC support in ADS is being deprecated so closing all related issues.


Can`t edit worker group

it works perfect!
but after start the dolphinscheduler server, i can`t edit or change worker group message
it`s my contains in dolphinscheduler-1.3.5/conf/config/install_config.conf file :
`# postgresql or mysql
dbtype="mysql"
db config
db address and port
dbhost="mcpqa8:3306"
db username
username="root"
database name
dbname="dolphinscheduler"
db passwprd
NOTICE: if there are special characters, please use the \ to escape, for example, [ escape to \[
password="123456"
zk cluster
zkQuorum="mcpqa1:2181,mcpqa2:2181,mcpqa3:2181"
Note: the target installation path for dolphinscheduler, please not config as the same as the current path (pwd)
installPath="/home/mwit/dolphinscheduler-1.3.5"
deployment user
Note: the deployment user needs to have sudo privileges and permissions to operate hdfs. If hdfs is enabled, the root directory needs to be created by itself
deployUser="mwit"
mailProtocol="SMTP"
alert config
mail server host
mailServerHost="smtp.exmail.qq.com"
mail server port
note: Different protocols and encryption methods correspond to different ports, when SSL/TLS is enabled, make sure the port is correct.
mailServerPort="465"
sender
mailSender=""
user
mailUser=""
sender password
note: The mail.passwd is email service authorization code, not the email login password.
mailPassword=""
TLS mail protocol support
starttlsEnable="false"
SSL mail protocol support
only one of TLS and SSL can be in the true state.
sslEnable="true"
#note: sslTrust is the same as mailServerHost
sslTrust="smtp.exmail.qq.com"
resource storage type：HDFS,S3,NONE
resourceStorageType="HDFS"
if resourceStorageType is HDFS，defaultFS write namenode address，HA you need to put core-site.xml and hdfs-site.xml in the conf directory.
if S3，write S3 address，HA，for example ：s3a://dolphinscheduler，
Note，s3 be sure to create the root directory /dolphinscheduler
defaultFS="hdfs://mcpqa1:8020"
if resourceStorageType is S3, the following three configuration is required, otherwise please ignore
s3Endpoint="http://192.168.xx.xx:9010"
s3AccessKey="xxxxxxxxxx"
s3SecretKey="xxxxxxxxxx"
if resourcemanager HA enable, please type the HA ips ; if resourcemanager is single, make this value empty
yarnHaIps="mcpqa1,mcpqa2,mcpqa3,mcpqa4,mcpqa5,mcpqa6,mcpqa7,mcpqa8"
if resourcemanager HA enable or not use resourcemanager, please skip this value setting; If resourcemanager is single, you only need to replace yarnIp1 to actual resourcemanager hostname.
singleYarnIp="yarnIp1"
resource store on HDFS/S3 path, resource file will store to this hadoop hdfs path, self configuration, please make sure the directory exists on hdfs and have read write permissions。/dolphinscheduler is recommended
resourceUploadPath="/user/dolphinscheduler"
who have permissions to create directory under HDFS/S3 root path
Note: if kerberos is enabled, please config hdfsRootUser=
hdfsRootUser="hdfs"
kerberos config
whether kerberos starts, if kerberos starts, following four items need to config, otherwise please ignore
kerberosStartUp="false"
kdc krb5 config file path
krb5ConfPath="$installPath/conf/krb5.conf"
keytab username
<EMAIL_ADDRESS>username keytab path
keytabPath="$installPath/conf/hdfs.headless.keytab"
api server port
apiServerPort="12345"
install hosts
Note: install the scheduled hostname list. If it is pseudo-distributed, just write a pseudo-distributed hostname
ips="mcpqa1,mcpqa2,mcpqa3,mcpqa4,mcpqa5,mcpqa6,mcpqa7,mcpqa8"
ssh port, default 22
Note: if ssh port is not default, modify here
sshPort="22"
run master machine
Note: list of hosts hostname for deploying master
masters="mcpqa1,mcpqa2"
run worker machine
note: need to write the worker group name of each worker, the default value is "default"
workers="mcpqa1:default,mcpqa2:default,mcpqa3:default,mcpqa4:default,mcpqa5:default,mcpqa6:default,mcpqa7:default,mcpqa8:default"
run alert machine
note: list of machine hostnames for deploying alert server
alertServer="mcpqa2"
run api machine
note: list of machine hostnames for deploying api server
apiServers="mcpqa1"`

the issue is the same as #3730, will close it


If the emulator starts with the left/top of the window off screen, move it onscreen

This is my solution to a problem encountered in #183 where the emulator window starts in a position where the titlebar can't be accessed in order to move it.
SDL2 and Alt+Space don't play nicely on Windows, and that was my original goal to get working, and I ran into a few dead-ends there.  This should provide access to the titlebar and to the system menu when clicking on the app icon in the upper left corner.
Closes #183

Also thanks to @irmen for working on this problem!


Remove email from license submit

Fixes #411
Also fixes a broken link to license matching guidelines.
Signed-off-by: Gary O'Neall<EMAIL_ADDRESS>

This PR fixes issue #411 but does not fix #412.
I could not find the cause of #412, but it was likely caused by the recent changes to submit license.
@rtgdk - Could you take a look and see if there is something obvious I missed?

I fixed the OK and link buttons - this should now be good to go.


Mention in the dependencies that Tokio is required

Not a big deal, but would help beginners ;), Tokio is a requirement for the async part.

I agree this should me mentioned front and center in the readme. The way the documentation is written now it sounds like it supports rust async, while in reality it only supports tokio specific async.
In the main readme it says This asynchronous example uses Tokio and enables some optional features, which to me made it sound like that was a choise made by the example, not a requirement.

It even seems to be a dependency if you only compile the minimal "blocking" example, which is not what I expected. 😞


Child class cannot be deserialized

Hi! I use the latest generator and have schemas like this:
Parent:
   type: object
   description: parent object
   properties:
      name:
         type: string
         description: object name

Child:
   allOf:
      - $ref: '#/schemas/Parent'
      - type: object
         properties:
            code:
               type: integer
               description: response code

The following files are generated:

Sealed interface

@com.fasterxml.jackson.databind.annotation.JsonDeserialize(as = ParentDefault.class)
public sealed interface Parent permits Child, ParentDefault {
   ...
}

Its default implementation

public final class ParentDefault implements Parent {
   ...
}

Child class

public final class Child implements Parent {
   ...
}

The problem with this annotation:

@com.fasterxml.jackson.databind.annotation.JsonDeserialize(as = ParentDefault.class)

When we receive Child's json, Jackson fails to build deserializer, because Child class is not subclass of ParentDefault.
So we have an error:

Caused by: com.fasterxml.jackson.databind.JsonMappingException: Failed to narrow type [simple type, class Child] with annotation (value ParentDefault), from 'Child': Class ParentDefault not subtype of Child

I tried to register custom deserializer, but Jackson prioritize JsonDeserialize annotation on deserializer lookup.

We tried x-is-one-of-interface extension to fix this issue and it works. But our specification is used by other services with different generators (plain java with feign library) and this extension breaks their codegen.

On branch issue-356 i tried to reproduce your issue. But the ModelTest works for me. Please tell me the difference to your setup.

Hi, @sschnabe, sorry for the late response. I uploaded a little example of our way of serialization/desrialization - https://github.com/vgsub/micronaut-codegen-example/tree/main. We compared your test and our example and found out that the problem is that we do not use micronaut-serde-jackson module and generator's 'serde' property is disabled.
Seems like we have to migrate our apps to micronaut-serde-jackson, so I will close this issue. Thanks for your support!


Team Review Ticket

Team Review Ticket(Team Grade)
Final Team Review
Individual Reviews(Individual Grades):
Ronit Thomas Individual Review Ticket
Imaad Muzaffer Individual Review Ticket
Tarun Tata Individual Review Ticket
Tejas Manoj Individual Review Ticket


[MM-14142] Saved recent emojis per user on local storage so it can be retrieved on user login

Summary
Saved recent emojis per user to local storage on logout so it can be retrieved on user login.
Ticket Link
Jira ticket: MM-14142
Checklist

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed

Update milestone to v5.9 as this is agreed to be included in next release (which is v5.9).


Post release 0.3.0

This PR backports some changes from OPAM after the release:

Backport opam changes
Support dune.3.x.x

Thank you!


Handle key-value pairs pasted as tags

Implements the behaviour requested in #5024
When a user pastes a string like 'key=value' into the raw tag editor, it gets split into key and value.

@AndreasHae thanks for this!
I wonder …

will this also "submit" the tag or just pre-fill the fields. In later case, the user still has to press enter? Advantage auf auto-submitting is, that the UI shows more details like the (i) icon next to the key-value-pair.
where will the cursor/focus be after splitting? Eg at the end of the value-field?
what happens if the copied text has new linkes in it?, eg

key1=value1
key2=value2

(I don't have a dev-environment to test this myself, so I need to ask this way…)

@tordans
The tag gets split as soon as the input field loses focus. I am not quite sure what you mean by the other two points, but hopefully this GIF explains the functionality better:

Thanks @AndreasHae!  I just tried it out and it works great.  Hope people find it useful 👍


Hyperlink format is incorrect on All-in-One doc

Hyperlink format is HTML therefore it shows up as plain text instead of hyperlink on https://open-horizon.github.io/docs/mgmt-hub/docs/index.html
Note: https://github.com/open-horizon/open-horizon.github.io/pull/339 was delivered to fix the format over in https://github.com/open-horizon/open-horizon.github.io/ . However the approach is wrong because GH action will overwrite the fix next time the page is updated in the devops repo

@johnwalicki please assign me the issue. I will have the PR up.

Thanks @marhabac33


Unable to allocate this memory size

无法分配这个内存大小？😂😂😂
Translation: Unable to allocate this memory size.
Code sample:
config.fileURL = Optional(file:///private/var/mobile/Containers/Shared/AppGroup/1E15843C-9D83-4FA7-AE36-789BCCA12082/JTime.realm)

Error:
fatal error: 'try!' expression unexpectedly raised an error: Error Domain=io.realm Code=9 "mmap() failed: Cannot allocate memory size:<PHONE_NUMBER> offset: 0" UserInfo={NSLocalizedDescription=mmap() failed: Cannot allocate memory size:<PHONE_NUMBER> offset: 0, Error Code=9}: file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-800.0.63/src/swift/stdlib/public/core/ErrorType.swift, line 178
2017-02-07 10:20:10.646285 JTimeObserver[7995:3270515] fatal error: 'try!' expression unexpectedly raised an error: Error Domain=io.realm Code=9 "mmap() failed: Cannot allocate memory size:<PHONE_NUMBER> offset: 0" UserInfo={NSLocalizedDescription=mmap() failed: Cannot allocate memory size:<PHONE_NUMBER> offset: 0, Error Code=9}: file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-800.0.63/src/swift/stdlib/public/core/ErrorType.swift, line 178

/*************** I'm cutting line *******************/
failed: Cannot allocate memory size:<PHONE_NUMBER> offset: 0"

应该是你要存储的数据对象未被正确初始化

Hey @Jinxiansen! Thanks for reaching out. Would you be able to share a sample project that reproduces/demonstrates the problem you're experiencing? Cheers.

Hello! It looks like the file you are trying to open is ~3 GB in size. iOS won't let any application mmap that much memory. Can you tell us more about your Realm file and use case? Is this a problem you are seeing on user's devices? Or is it a problem you are seeing when developing your app?

I have seem a similar case. It grows up to 3GB.
We have 4 entities, and only one 1-to-n relationship between two entities.
In a similar user journey for another user, the file size is as small as 200MB only.
Some of our users have been using the app since our early versions embedding Realm 0.98.x, and upgrade to recent Realm along the way.

头疼。

@Jinxiansen Are you able to download the Realm file and use Realm Browser for Mac to open it?
試一下用 Realm Browser 開啟 App 中的 Realm file

看看是不是这原因

@Xiahaiquan We stored contents using these types.
For instance, in one Realm file. Simply doing compact reduce the file size from 671MB to 295KB.
While I look at @Jinxiansen case, I have the same error message of bottleneck at memory size:<PHONE_NUMBER>
I'm worried that there is a corruption to the Realm file, and thus not able to open it again.
Since I don't have the file on hand, would appreciate if @Jinxiansen can try it out.
Thanks

@harryworld 是在 iPhone 真机上面的数据，无法使用Realm Browser  打开啊。
@Xiahaiquan 我是美妙都会对 Realm 更新一个 model 的，可能因为写入太频繁。

@Jinxiansen I am having the case in device as well, what I do is to enable iTunes File Sharing, so that I can download the realm file in iTunes.
File Sharing allows you to read the app's Documents folder. In case you are not saving realm into default location, you can use FileManager to copy the item back to Documents.

@harryworld  在手机上它实际上只占用了5MB 左右的空间，但是在 Xcode 控制台却提示是<PHONE_NUMBER> ，大于3G 的容量，我想应该是 Realm 分配了这么大的逻辑空间，但是实际上没有这么大的，你说的用 iTunes 打开这个办法我找不到的.realm 。
面前暂时的解决办法只能减少写入次数了。

In our case, the disk size can be more than 3GB

@harryworld 忧桑啊。

Hi all, it's unclear what you need from us to help you at this point.
In general I think it would help you to know that setting breakpoints in places like RLMCacheRealm or in realm core's SlabAlloc::resize_file() is a great way to help debug why you might be creating lots of separate Realm instances at different versions, or why Realm might be aggressively growing the database file.

@jpsim Thanks for reply. In practice, I would like to know why it is happening and how to prevent the realm file getting bloated. No one would want their users waking up one day and crashing the app in every launch. Will try your tip to debug why it's growing fast.

In practice, I would like to know why it is happening and how to prevent the realm file getting bloated.

Have you read our docs on File size & tracking of intermediate versions? That might help explain things.

@Jinxiansen: Do you require anymore assistance?

@istx25 无人能够解决这个问题，想关就关了吧。
我在 issues 里搜索 “ Cannot allocate memory size:”，这个问题多次被人提及，然而似乎最后的解决办法都是不了了之，这让我感到有点失望，也对贵团队的能力表示怀疑。

Have you read our docs on File size & tracking of intermediate versions? That might help explain things.

@jpsim Does it mean I should call realm.invalidate() whenever I don't need to access the results anymore?
For instance, I may retrieve some objects and copy them into array. Once the copy is done, I should already invalidate realm instead of reusing it?

@Jinxiansen, we're sorry that you're still having issues with Realm. Would you be willing to send us the Realm file that is causing the issue, so we can examine it ourselves? You can email it to<EMAIL_ADDRESS>

@harryworld can you file a new ticket so we can better track your issues? As for your question, you can call realm.invalidate() if you don't plan on using that Realm again or any of the object instances you got from the Realm.
More specifically, you want to avoid keeping Realms that won't be used again open. You can ensure that these Realms don't live longer than they should by calling invalidate(), or by wrapping them in an autoreleasepool block so that they will be properly destroyed and their resources freed. Note that the implicit autorelease pools that are present on threads with runloops (like the main thread) only drain once per runloop iteration, so if you have (e.g.) a complicated loop that opens many Realms, you may end up keeping many versions of the Realm active even if you nil out your local Realm variables when you're done using them.
You can read this document on autorelease pools for more information. Although it's written using Objective-C examples it applies equally well to Swift's ARC-based memory management.

Hi @harryworld, I'm just following up on @austinzheng's last comment. Were you able to adjust your code to avoid holding on to too many older Realm versions?

@jpsim @austinzheng Our current app structure makes it hard for me to switch in using realm.invalidate() at the moment, feel free to close this ticket first. As @austinzheng I will open another issue later if needed. Thanks


Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot
Dear adapter developer,
I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter alpha-ess for common errors and appropiate suggestions to keep this adapter up to date.
Please see the result of the check below.
ioBroker.alpha-ess
   -

ERRORS:

[ ] :heavy_exclamation_mark: [E142] logo is too big. It must be less or equal than 512x512

WARNINGS:

[ ] :eyes: [E851] .npmignore found but "files" is used at package.json. Please remove .npmignore.
[ ] :eyes: [W034] @iobroker/adapter-core 3.1.4 specified. 3.1.6 is recommended. Please consider updating dependencies at package.json
[ ] :eyes: [W040] "keywords" within package.json should contain "ioBroker"
[ ] :eyes: [W115] "common.tier" is required in io-package.json. Please check https://github.com/ioBroker/ioBroker.docs/blob/master/docs/en/dev/objectsschema.md#adapter.
[ ] :eyes: [W181] "common.license" in io-package.json is deprecated. Please define object "common.licenseInformation"
[ ] :eyes: [W184] "common.main" is deprecated and ignored. Please remove from io-package.json. Use "main" at package.json instead.

Please review issues reported and consider fixing them as soon as appropiate.
Errors reported by repository checker should be fixed as soon as possible. Some of them require a new release to be considered as fixed. Please note that errors reported by checker might be considered as blocking point for future updates at stable repository.
Warnings reported by repository checker should be reviewed. While some warnings can be considered as a suggestion and be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
@mcm1957 for evidence

Thanks for processing and closing this issue.
I will recheck for new issues later. So it's no problem if this issue has been closed premature.
You may start a new check at any time by adding the following comment to this issue:
@iobroker-bot recheck
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.  Let's work together for the best user experience.
your
ioBroker Check and Service Bot


Incompatibility with 'Slight' GUI Modifications

Game crashes on startup when using 'Slight' GUI Modifications and MinimalMenu together
Crash report: https://pastebin.com/H5ih40xD

https://github.com/TomB-134/MinimalMenu/blob/f46aa7c23be059d25f8580a28341e64e5f2d5f41/src/main/java/minimalmenu/mixin/TitleScreenMixin.java#L59

Not designed to work together, one or the other.


Problem with map alignment by exporting pose estimations

Hi,
First, thanks for making this code public !
I run the code through a log and I see a crisp map being generated in rviz.
Now, for the same log, I am trying to export the pose estimation into a txt file to then offline use a C++ program outside of ROS to stitch together all the point clouds. But, I see that my point clouds don't align well when I stitch them after transforming them by the motion estimates.
I am exporting transformAftMapped (to get EulerAngles) from publishTF() in mapOptimization.cpp using:
odomTimeFile << odomAftMapped.header.stamp << "\n";
odomFile << odomAftMapped.pose.pose.position.z << "," // x pose
<< odomAftMapped.pose.pose.position.x << "," // y pose
<< odomAftMapped.pose.pose.position.y << "," // z pose
<< transformAftMapped[2] << ","                        // roll
<< transformAftMapped[0] << ","                        //pitch
<< transformAftMapped[1] << "\n";                     // yaw
since I saw that the incoming cloud in adjustDistortion() in featureAssociation.cpp is also like the following in the code:
point.x = segmentedCloud->points[i].y;
point.y = segmentedCloud->points[i].z;
point.z = segmentedCloud->points[i].x;
I am saving all point clouds in pcd files by adding the following lines in copyPointCloud() in imageProjection.cpp:
pcl::io::savePCDFileASCII(, *laserCloudIn);
pcdTimeFile << cloudHeader.stamp << "\n";
So, in total I have 3 things:

pcd folder : with all point cloud files in .pcd
odomFile : with nx6 matrix of poses in CSV
odomTimeFile and pcdTimeFile : containing the respective timestamps to find the correspondences between transforms/pose and point clouds.
I use PCL transform function as well as transformPointCloud() provided in mapOptimization.cpp in my patch-the-point-clouds code.

I am aware that there could be two problems here:

Coordinate systems - I am finding them confusing here.
Timestamps
but, I don't know where exactly the problem is.

Can you please help me out here? Any help is much appreciated !

Figured it out. Thank you :)

Glad you figured out!
For those who might need this, line 754 to 759 in mapOptmization should be the right place for exporting the point cloud.

Sure Tixiao. Since I needed intensity information too, I used raw point clouds and exported just the laser odometry estimation from LeGO-LOAM using laserOdometry2 (lines 202-210 in transformFusion.cpp). It works.