Print terminal output character by character

Adding a slight delay to the terminal printing, so that it prints character by character, is a nice touch.
IMO the commands should print a little slower than the output (as though the agent were actually typing). In both cases it should be pretty speedy.

Hi @rbren so for the commands that get printed at the terminal how much delay would be right.
Like delay between each character printed in the terminal, IMO 50ms delay between characters looked good.

Check this PR for reference #295

Haven't tried it yet, but 50ms seems like a lot--it'd take almost 1m to print 1000 characters. I'd probably suggest something closer to 5ms, but I'll take a look.

Yeah ok

To be clear, I'm hoping to see behavior like this

To be clear, I'm hoping to see behavior like this

ok noted

opendevin typing.webm
I have it working locally after some tinkering.
I'm facing challenges with the backend setup, so I've implemented workarounds.
Is this okay ?
I plan to create a pull request soon and also It would be helpful if someone could test it before merging it.

faster typing.webm

That looks great!
I'll test locally--we should figure out what's up with your server. There's also a mock server: https://github.com/OpenDevin/OpenDevin/tree/main/opendevin/mock

There's also a mock server:
⢀⡀
⢻⣿⡗⢶⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣠⣄
⠀⢻⣇⠀⠈⠙⠳⣦⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⠶⠛⠋⣹⣿⡿
⠀⠀⠹⣆⠀⠀⠀⠀⠙⢷⣄⣀⣀⣀⣤⣤⣤⣄⣀⣴⠞⠋⠉⠀⠀⠀⢀⣿⡟⠁
⠀⠀⠀⠙⢷⡀⠀⠀⠀⠀⠉⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⡾⠋
⠀⠀⠀⠀⠈⠻⡶⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣠⡾⠋
⠀⠀⠀⠀⠀⣼⠃⠀⢠⠒⣆⠀⠀⠀⠀⠀⠀⢠⢲⣄⠀⠀⠀⢻⣆
⠀⠀⠀⠀⢰⡏⠀⠀⠈⠛⠋⠀⢀⣀⡀⠀⠀⠘⠛⠃⠀⠀⠀⠈⣿⡀
⠀⠀⠀⠀⣾⡟⠛⢳⠀⠀⠀⠀⠀⣉⣀⠀⠀⠀⠀⣰⢛⠙⣶⠀⢹⣇
⠀⠀⠀⠀⢿⡗⠛⠋⠀⠀⠀⠀⣾⠋⠀⢱⠀⠀⠀⠘⠲⠗⠋⠀⠈⣿
⠀⠀⠀⠀⠘⢷⡀⠀⠀⠀⠀⠀⠈⠓⠒⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⡇
⠀⠀⠀⠀⠀⠈⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣧
⠀⠀⠀⠀⠀⠈⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠁

I'm having issues with docker specifically.
I will try few more things ;  I will ping in slack for help.

This is the code we used in production to mimic the live typing effects "
function appendBotResponse() {
let typingIndicator = document.getElementById('typing-indicator');
if (typingIndicator) {
typingIndicator.remove(); // Remove typing indicator
}
    const replyText = data.reply;
    let currentIndex = 0;
    const typingSpeed = 50; // Milliseconds between characters

    function typeNextChar() {
      if (currentIndex < replyText.length) {
        chatBox.innerHTML += replyText.charAt(currentIndex);
        currentIndex++;
        setTimeout(typeNextChar, typingSpeed);
      } else {
        // Once complete, add any additional handling, e.g., process citations
        chatBox.innerHTML += '
'; // Add a line break after the message
        processCitations(data);
      }
    }

    // Start typing the first character
    chatBox.innerHTML += '
Your Medical Assistant: '; // Open tag for the reply
    typeNextChar();
  }"

closing this, but we still have https://github.com/OpenDevin/OpenDevin/issues/476

@rbren I will try to push something for this , soon.


VSCode not attaching to ES6 files from sourcemaps when debugging mocha

VSCode Version: 1.8.1
OS Version: Windows 8.1

I have an odd structure in my app which looks like this:
${workspaceRoot}/Controls/src         --  My Source files (ES6)
${workspaceRoot}/Controls/test        -- My Tests (ES6)
${workspaceRoot}/.tmp/tests              -- Temporary Output directory for webpack bundle for testing with mocha
launch.json Entry:
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch Mocha",
            "type": "node",
            "request": "launch",
            "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
            "stopOnEntry": false,
            "args": [
                "${workspaceRoot}/Controls/test/setup.js",
                "${workspaceRoot}/.tmp/tests/bundle.js"
            ],
            "cwd": "${workspaceRoot}",
            "sourceMaps": true,
            "outDir": "${workspaceRoot}/.tmp/tests",
        },

Webpack config for building test package:
module.exports = {
    devtool: 'source-map',
    entry: './tests.webpack.js',
    externals: {
        'cheerio': 'window',
        'react/addons': true,
        'react/lib/ExecutionEnvironment': true,
        'react/lib/ReactContext': true
    },
    output: { path: path.join(__dirname, '.tmp/tests/'), filename: 'bundle.js' },

I have confirmed that after building the webpack, these files exist:
${workspaceRoot}/.tmp/tests/bundle.js
${workspaceRoot}/.tmp/tests/bundle.js.map
The tests execute properly, but no breakpoints are hit when I place them in test files. If I search through the JS bundle and place a breakpoint in there, it will hit the break point in ES6 code saying "read-only inlined content form source map" in the tab.
Any thoughts I what I have wrong here?
Thanks!

Hey all,
I found my issue, I needed to use type: node2 to properly handle the webpack:// in the source maps.  I noticed this in your documentation, also removed outDir since it's not relevant here, this is the working launch config:
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch Mocha",
            "type": "node2",
            "request": "launch",
            "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
            "stopOnEntry": false,
            "args": [
                "${workspaceRoot}/Controls/test/setup.js",
                "${workspaceRoot}/.tmp/tests/bundle.js"
            ],
            "cwd": "${workspaceRoot}",
            "sourceMaps": true
        },


error occurs "Dataset 'voc_2007_trainval_base1' is not registered!"

Thanks for your interesting work. Unfortunately i found a error on training code like below.
dataset_dicts = [DatasetCatalog.get(dataset_name) for dataset_name in dataset_names]   File "py36/lib/python3.6/site-packages/detectron2/data/catalog.py", line 59, in get     name, ", ".join(DatasetCatalog._REGISTERED.keys()) KeyError: "Dataset 'voc_2007_trainval_base1' is not registered! Available datasets are: coco_2014_train, coco_2014_val, coco_2014_minival, coco_2014_minival_100, coco_2014_valminusminival, coco_2017_train, coco_2017_val, coco_2017_test, coco_2017_test-dev, coco_2017_val_100, keypoints_coco_2014_train, keypoints_coco_2014_val, keypoints_coco_2014_minival, keypoints_coco_2014_valminusminival, keypoints_coco_2014_minival_100, keypoints_coco_2017_train, keypoints_coco_2017_val, keypoints_coco_2017_val_100, coco_2017_train_panoptic_separated, coco_2017_train_panoptic_stuffonly, coco_2017_val_panoptic_separated, coco_2017_val_panoptic_stuffonly, coco_2017_val_100_panoptic_separated, coco_2017_val_100_panoptic_stuffonly, lvis_v0.5_train, lvis_v0.5_val, lvis_v0.5_val_rand_100, lvis_v0.5_test, lvis_v0.5_train_cocofied, lvis_v0.5_val_cocofied, cityscapes_fine_instance_seg_train, cityscapes_fine_sem_seg_train, cityscapes_fine_instance_seg_val, cityscapes_fine_sem_seg_val, cityscapes_fine_instance_seg_test, cityscapes_fine_sem_seg_test, voc_2007_trainval, voc_2007_train, voc_2007_val, voc_2007_test, voc_2012_trainval, voc_2012_train, voc_2012_val"
Is there anything to do with your data setting?

Thank you for your interest.
I tried installing the framework from scratch and running the training, and I did not run into this issue. Can you give me some more details about your setup? Do you have an existing Detectron2 installation? There might be a conflict between the two frameworks.

I've just renamed Detectron2 to fsdet to avoid conflict with existing Detectron2 installations. Please try rebuilding the repository and seeing if it works.
To rebuild:

Make sure you have the latest code
Remove existing build files by running rm -rf build/ **/*.so
Rebuild by running python setup.py build develop

I fixed the error. As you said, there was conflict with existing Detectron2. I built the codes with another conda env and it was successful. Thanks!

Hi I run into the same error. I set up a fresh conda env with pytorch 1.7.1 and CUDA 10.1. I installed detectron2 using python -m pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu101/torch1.7/index.html. But when I try to train the model python -m tools.train_net --num-gpus 1 --config-file configs/PascalVOC-detection/split1/faster_rcnn_R_101_FPN_base1.yaml after copying the voc dataset and few shot files I get the same error as above. Somehow the few-shot datasets don't get registered it seems...
Traceback (most recent call last):
  File "/scratch_net/clariden/chmayer/conda_envs/simpledet/lib/python3.6/site-packages/detectron2/data/catalog.py", line 51, in get
    f = self[name]
  File "/scratch_net/clariden/chmayer/conda_envs/simpledet/lib/python3.6/collections/__init__.py", line 991, in __getitem__
    raise KeyError(key)
KeyError: 'voc_2007_trainval_base1'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/scratch_net/clariden/chmayer/conda_envs/simpledet/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/scratch_net/clariden/chmayer/conda_envs/simpledet/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/scratch_net/clariden/chmayer/conda_envs/simpledet/lib/python3.6/site-packages/tools/train_net.py", line 169, in <module>
    args=(args,),
  File "/scratch_net/clariden/chmayer/conda_envs/simpledet/lib/python3.6/site-packages/detectron2/engine/launch.py", line 82, in launch
    main_func(*args)
  File "/scratch_net/clariden/chmayer/conda_envs/simpledet/lib/python3.6/site-packages/tools/train_net.py", line 151, in main
    trainer = Trainer(cfg)
  File "/scratch_net/clariden/chmayer/conda_envs/simpledet/lib/python3.6/site-packages/detectron2/engine/defaults.py", line 381, in __init__
    data_loader = self.build_train_loader(cfg)
  File "/scratch_net/clariden/chmayer/conda_envs/simpledet/lib/python3.6/site-packages/detectron2/engine/defaults.py", line 541, in build_train_loader
    return build_detection_train_loader(cfg)
  File "/scratch_net/clariden/chmayer/conda_envs/simpledet/lib/python3.6/site-packages/detectron2/config/config.py", line 192, in wrapped
    explicit_args = _get_args_from_config(from_config, *args, **kwargs)
  File "/scratch_net/clariden/chmayer/conda_envs/simpledet/lib/python3.6/site-packages/detectron2/config/config.py", line 229, in _get_args_from_config
    ret = from_config_func(*args, **kwargs)
  File "/scratch_net/clariden/chmayer/conda_envs/simpledet/lib/python3.6/site-packages/detectron2/data/build.py", line 316, in _train_loader_from_config
    proposal_files=cfg.DATASETS.PROPOSAL_FILES_TRAIN if cfg.MODEL.LOAD_PROPOSALS else None,
  File "/scratch_net/clariden/chmayer/conda_envs/simpledet/lib/python3.6/site-packages/detectron2/data/build.py", line 227, in get_detection_dataset_dicts
    dataset_dicts = [DatasetCatalog.get(dataset_name) for dataset_name in names]
  File "/scratch_net/clariden/chmayer/conda_envs/simpledet/lib/python3.6/site-packages/detectron2/data/build.py", line 227, in <listcomp>
    dataset_dicts = [DatasetCatalog.get(dataset_name) for dataset_name in names]
  File "/scratch_net/clariden/chmayer/conda_envs/simpledet/lib/python3.6/site-packages/detectron2/data/catalog.py", line 57, in get
    ) from e
KeyError: "Dataset 'voc_2007_trainval_base1' is not registered! Available datasets are: coco_2014_train, coco_2014_val, coco_2014_minival, coco_2014_minival_100, coco_2014_valminusminival, coco_2017_train, coco_2017_val, coco_2017_test, coco_2017_test-dev, coco_2017_val_100, keypoints_coco_2014_train, keypoints_coco_2014_val, keypoints_coco_2014_minival, keypoints_coco_2014_valminusminival, keypoints_coco_2014_minival_100, keypoints_coco_2017_train, keypoints_coco_2017_val, keypoints_coco_2017_val_100, coco_2017_train_panoptic_separated, coco_2017_train_panoptic_stuffonly, coco_2017_train_panoptic, coco_2017_val_panoptic_separated, coco_2017_val_panoptic_stuffonly, coco_2017_val_panoptic, coco_2017_val_100_panoptic_separated, coco_2017_val_100_panoptic_stuffonly, coco_2017_val_100_panoptic, lvis_v1_train, lvis_v1_val, lvis_v1_test_dev, lvis_v1_test_challenge, lvis_v0.5_train, lvis_v0.5_val, lvis_v0.5_val_rand_100, lvis_v0.5_test, lvis_v0.5_train_cocofied, lvis_v0.5_val_cocofied, cityscapes_fine_instance_seg_train, cityscapes_fine_sem_seg_train, cityscapes_fine_instance_seg_val, cityscapes_fine_sem_seg_val, cityscapes_fine_instance_seg_test, cityscapes_fine_sem_seg_test, cityscapes_fine_panoptic_train, cityscapes_fine_panoptic_val, voc_2007_trainval, voc_2007_train, voc_2007_val, voc_2007_test, voc_2012_trainval, voc_2012_train, voc_2012_val, ade20k_sem_seg_train, ade20k_sem_seg_val"

@zzzzjx in case you are still looking for a solution. For me the problem was that I had detectron2 v0.5 installed with lacking support. So I uninstalled and forced to install v0.4 and now it works.

where is setup.py? I can not find it.


Support segregated witness

Add segregated witness support.

Looks like BitcoinJ hasn't quite finalized their segwit implementation yet but the wallet should continue to operate in a nonsegwit mode of operation and all transactions sent or received will be standard "legacy" transaction format.
I'm still poking around to get my local test environment of floj to sync on testnet to verify how it responds to segwit


[impl] printf function call for printing test

A useful function call should impl as fast as can.

Use way:
implement an extern "C" declare
extern "C" {
  i32 printf(i8*, ...)
}

support external syntax
allow declaration in extern block

#[extern("C")]
fn printf(i8*, ...) -> i32

Wait array

complete at commit: 82dc79b0d0998ddba8415346cd072bee504900d3


ElementalArea gridfield performance issues

Version: ^3.0.0 (5334f5709878a3502e1cee431c58a28c36f9a843)
It seems that elemental area gridfield does not scale well with the number of blocks contained inside it. I tested this on a page with 56 blocks. Here are the results:

28.4s CMS page load with ElementalArea field removed
51.6s CMS page load with ElementalArea field removed

That's quite a difference. It's probably worth investigating why is the difference so large.

For reference, I'm testing this (in CWP 2.1) on a page with 100 blocks in one ElementalArea.
Response times: 11.2s, 11.5s, 11.18s
It's a long way off what you're reporting, but that could be because you're using container blocks like layout blocks/the list block.
It's still too slow.

Ok so 50% of the request time when loading the CMS page edit form is calling ElementalArea::getOwnerPage() - I've made a PR at #376 to use a cacheable call to do this which reduces that by 50% - a good start.

Ok I've tried a few other things:

Partial caching on the editor preview's icon
Internal instance caching for:

BaseElement::getPage()
ElementalArea::getOwnerPage()
BaseElement::getAreaRelationName()
BaseElement::CMSEditLink()

None of these have made a very significant change in response time at all.
The bulk of the remaining time is in BaseElement::getEditorPreview(), which generates the GridField UI for each element in the CMS (icon, title, type, summary). All of this is unique to each element, and aside from trying to cache the icon I don't think we can do much more with it.
@mfendeksilverstripe thoughts?

@robbieaverill Tried to test it out.  LEFT JOIN "Page_Localised" AS "Page_Localised_en_NZ" ON "Page"."ID" = "Page_Localised_en_NZ"."RecordID"
AND "Page_Localised_en_NZ"."Locale" = ? LEFT JOIN "BlockPage_Localised" AS "BlockPage_Localised_en_NZ" ON "BlockPage"."ID" = "BlockPage_Localised_en_NZ"."RecordID"
AND "BlockPage_Localised_en_NZ"."Locale" = ?

WHERE ("ElementalAreaID" = 534770) AND ("SiteTree"."ClassName" IN (?, ?, ?, ?))

ORDER BY "SiteTree"."Sort" ASC LIMIT 1

23000-1052: Column 'ElementalAreaID' in where clause is ambiguous

GET /admin/pages/edit/show/23
Line 64 in /var/www/mysite/www/vendor/silverstripe/framework/src/ORM/Connect/DBConnector.php

To be fair, I don't think this is related to your changeset, but I suspect something changed in Elemental code because this is more about Fluent and Elemental working together.
It would be great if we could either push your performance improvement to 3.0.0 release branch or if someone could look at this issue as a priority because we will need to have FLuent and Element modules working togethe rin the future too.

@robbieaverill @chillu
I did some further investigation into the query issue. The problem is how the page gets loaded from the database. Also, the query issue was introduced in Robbie's code.
I made following changes which remedy the query issue:
https://github.com/silverstripe-terraformers/silverstripe-elemental/commit/dc42675e81e169cd4e919952dd4102c960a7246b
I was finally able to test the actual performance improvements :). My test page load went from 50s down to 32s. Nice work!

Thanks @mfendeksilverstripe for the real-world example testing. Using get_one_by_stage should hopefully be a further performance improvement as DataObject::get_one is cached by default.
I might get a chance to look into it a bit this afternoon - if not I guess @robbieaverill will be able to come up with a solution.

@ScopeyNZ We had a little discussion about this issue within the team. Our guess is that the WHERE clause doesn't get picked up by the Fluent module in case of get_one_by_stage  as it's passed as a string. This is different in get_by_stage  where the values are passed via the filter($areaID, $this->ID).
This issue may be completely unrelated to elemental - it can be related to Core and Fluent interaction.
it's worth noting that if we currently upgrade to latest elemental, it will break our project.

Yes I think I've seen this issue with get_one_by_stage before - I think I should be able to find an example where it has been fixed while still using get_one_by_stage.
If you're talking about elemental master branch - this is in heavy development and is very unstable right now. The team is currently working on adding in-line editing to elemental (for elemental 4.0).

Oh I see, we need to add the model name prefix - my fault for being lazy =(

@robbieaverill Do you think there's more to action on in this issue? If not - feel free to close it. PRs have been merged 🙂

I think we've mostly done all that we can. I think that #347 would help too, but we've squeezed most of the low hanging fruit out of this ticket now. @mfendeksilverstripe feel free to reopen the issue if you think there's more that can be achieved here.

Thanks for the help all. The performance improvement is really helpful.

@mfendeksilverstripe How much is this improving performance for you? Are you still dependant on the RFC: Restructure data models from Robbie?

@robbieaverill @unclecheese Has either of you tested this on the codebase @mfendeksilverstripe is working on? Has it fixed the 30-50s load times which he described in the issue originally?

@chillu My test page load went from 50s down to 32s so it was definitely a big improvement. There is probably still room for improvement, though. Not sure how much of that is located in the Elemental module.

OK, reopening - 32s is still bad.

The thing is that "edit forms are slow" is tracked through this issue for the original reporter. And that is not fixed. If there's diminishing returns on elemental, then we need to identify other means to research, and highlight them to the reporter. But we can't have it drop off the radar completely. Maybe it'd be more efficient to have private issues with the highlevel problem statement in an area ("edit forms are slow"), and then branch out to specific issues. Note that we already have a "cms performance" epic on the Open Sourcerers board: https://app.zenhub.com/workspace/o/silverstripe/silverstripe-admin/issues/571

We have made a few caching PRs, including a piece of pseudo-wizardry from @unclecheese which optimistically caches elemental relationships to speed all of this up. Everything has been merged, but I'll leave this open for @mfendeksilverstripe and his team to validate.

Fixed in the project code


fix java redirects

@open-telemetry/docs-approvers et al: I think that we need to fine tune our PR review and merging process. I wasn't done reviewing #4554, and that PR wasn't ready to be merged IMHO. In particular (as some of you have noted) because more aliases were needed. I didn't comment on the need for aliases on my first review pass because in my first review pass I suggested some structural changes -- so it didn't make sense to suggest specific aliases until the section structure stabilized.
Any suggestions on how to improve our process? Maybe if on @open-telemetry/docs-approvers makes some suggested changes, wait for them (a reasonable amount of time) to give a final approval?
No big deal, and I'm really just hoping to make our contribution approval process smoother. Lemme know what y'all think.

I would propose some kind of disclaimer if reviews are being done in stages.
FWIW my general philosophy for this kind of stuff is to bias towards merging when content looks good and keep the flow of PRs going, but I missed that this re-org of pages would need redirects put into place as well.

Thanks for this PR @zeitlinger. I've submitted an alternative (simpler) fix, see #4563 -- by adding a single extra alias we can address the broken-link issue you faced, without having to introduce a wildcard redirect rule. Also #4563 drops some unnecessary aliases and includes some preliminary copyedits.
All: PTAL at #4563.

thanks @chalin - much simpler than my fix!


Players invisible

I've been trying to fix this issue for hours now but it seems from all my tests that this problem is because of Travertine.
I'm using the latest build #158 and the problem isn't when I login directly to the Minecraft server. I also used latest buuild of spigot. Normally I'm using Waterfall also the latest build.
What it all comes down to is that when I or other ppl logon we can't see each other. We can see chests opening, fireworks going off and arrows flying. Just not the player doing these things. It effects all players.
I don't see any abnormalities in the log file. But here it is:
[01:25:49] [main/INFO]: Using mbed TLS based native cipher.
[01:25:49] [main/INFO]: Using zlib based native compressor.
[01:25:49] [main/INFO]: Enabled Travertine version git:Travertine-Bootstrap:1.16-R0.4-SNAPSHOT:a24c106:158
[01:25:50] [main/INFO]: Not on Windows, attempting to use enhanced EpollEventLoop
[01:25:50] [main/INFO]: Epoll is working, utilising it!
[01:25:50] [main/INFO]: Discovered module: ModuleSpec(name=cmd_alert, file=modules/cmd_alert.jar, provider=JenkinsModuleSource())
[01:25:50] [main/INFO]: Discovered module: ModuleSpec(name=cmd_find, file=modules/cmd_find.jar, provider=JenkinsModuleSource())
[01:25:50] [main/INFO]: Discovered module: ModuleSpec(name=cmd_list, file=modules/cmd_list.jar, provider=JenkinsModuleSource())
[01:25:50] [main/INFO]: Discovered module: ModuleSpec(name=cmd_send, file=modules/cmd_send.jar, provider=JenkinsModuleSource())
[01:25:50] [main/INFO]: Discovered module: ModuleSpec(name=cmd_server, file=modules/cmd_server.jar, provider=JenkinsModuleSource())
[01:25:50] [main/INFO]: Discovered module: ModuleSpec(name=reconnect_yaml, file=modules/reconnect_yaml.jar, provider=JenkinsModuleSource())
[01:25:50] [main/INFO]: Loaded plugin reconnect_yaml version git:reconnect_yaml:1.16-R0.4-SNAPSHOT:a24c106:158 by WaterfallMC
[01:25:50] [main/INFO]: Loaded plugin cmd_find version git:cmd_find:1.16-R0.4-SNAPSHOT:a24c106:158 by WaterfallMC
[01:25:50] [main/INFO]: Loaded plugin cmd_server version git:cmd_server:1.16-R0.4-SNAPSHOT:a24c106:158 by WaterfallMC
[01:25:50] [main/INFO]: Loaded plugin cmd_alert version git:cmd_alert:1.16-R0.4-SNAPSHOT:a24c106:158 by WaterfallMC
[01:25:50] [main/INFO]: Loaded plugin cmd_send version git:cmd_send:1.16-R0.4-SNAPSHOT:a24c106:158 by WaterfallMC
[01:25:50] [main/INFO]: Loaded plugin cmd_list version git:cmd_list:1.16-R0.4-SNAPSHOT:a24c106:158 by WaterfallMC
[01:25:50] [main/WARN]: Forced host server pvp is not defined
[01:25:50] [main/INFO]: Enabled plugin reconnect_yaml version git:reconnect_yaml:1.16-R0.4-SNAPSHOT:a24c106:158 by WaterfallMC
[01:25:50] [main/INFO]: Enabled plugin cmd_find version git:cmd_find:1.16-R0.4-SNAPSHOT:a24c106:158 by WaterfallMC
[01:25:50] [main/INFO]: Enabled plugin cmd_server version git:cmd_server:1.16-R0.4-SNAPSHOT:a24c106:158 by WaterfallMC
[01:25:50] [main/INFO]: Enabled plugin cmd_alert version git:cmd_alert:1.16-R0.4-SNAPSHOT:a24c106:158 by WaterfallMC
[01:25:50] [main/INFO]: Enabled plugin cmd_send version git:cmd_send:1.16-R0.4-SNAPSHOT:a24c106:158 by WaterfallMC
[01:25:50] [main/INFO]: Enabled plugin cmd_list version git:cmd_list:1.16-R0.4-SNAPSHOT:a24c106:158 by WaterfallMC
[01:25:50] [Netty Boss IO Thread #0/INFO]: Listening on /<IP_ADDRESS>:25565
[01:26:16] [Netty Worker IO Thread #0/INFO]: [/<IP_ADDRESS>:57989] <-> InitialHandler has connected
[01:26:17] [Netty Worker IO Thread #0/INFO]: [Maiks86] disconnected with: Could not connect to a default or fallback server, please try again later: io.netty.channel.AbstractChannel$AnnotatedConnectException
[01:26:17] [Netty Worker IO Thread #0/INFO]: [/<IP_ADDRESS>:57989|Maiks86] -> UpstreamBridge has disconnected
[01:28:03] [Netty Worker IO Thread #1/INFO]: [/<IP_ADDRESS>:58004] <-> InitialHandler has connected
[01:28:04] [Netty Worker IO Thread #1/INFO]: [Maiks86|/<IP_ADDRESS>:58004] <-> ServerConnector [hub-1] has connected
[01:29:21] [Netty Worker IO Thread #2/INFO]: [/<IP_ADDRESS>:63711] <-> InitialHandler has pinged
[01:29:22] [Netty Worker IO Thread #3/INFO]: [/<IP_ADDRESS>:63712] <-> InitialHandler has connected
[01:29:23] [Netty Worker IO Thread #3/INFO]: [sheloves_drey|/<IP_ADDRESS>:63712] <-> ServerConnector [hub-1] has connected
[01:33:04] [Netty Worker IO Thread #3/INFO]: [/<IP_ADDRESS>:63712|sheloves_drey] -> UpstreamBridge has disconnected
[01:33:04] [Netty Worker IO Thread #3/INFO]: [/<IP_ADDRESS>:63712|sheloves_drey] <-> DownstreamBridge <-> [hub-1] has disconnected
[01:33:04] [Netty Worker IO Thread #4/INFO]: [/<IP_ADDRESS>:63780] <-> InitialHandler has pinged
[01:41:06] [Netty Worker IO Thread #1/INFO]: [Maiks86] disconnected with: Server closed
[01:41:06] [Netty Worker IO Thread #1/INFO]: [/<IP_ADDRESS>:58004|Maiks86] -> UpstreamBridge has disconnected
[01:41:06] [Netty Worker IO Thread #1/INFO]: [/<IP_ADDRESS>:58004|Maiks86] <-> DownstreamBridge <-> [hub-1] has disconnected
[01:47:18] [Netty Worker IO Thread #5/INFO]: [/<IP_ADDRESS>:58102] <-> InitialHandler has connected
[01:47:18] [Netty Worker IO Thread #5/INFO]: [Maiks86|/<IP_ADDRESS>:58102] <-> ServerConnector [hub-1] has connected
[01:48:42] [Netty Worker IO Thread #6/INFO]: [/<IP_ADDRESS>:63803] <-> InitialHandler has connected
[01:48:43] [Netty Worker IO Thread #6/INFO]: [sheloves_drey|/<IP_ADDRESS>:63803] <-> ServerConnector [hub-1] has connected
[01:49:59] [Netty Worker IO Thread #6/INFO]: [/<IP_ADDRESS>:63803|sheloves_drey] -> UpstreamBridge has disconnected
[01:49:59] [Netty Worker IO Thread #6/INFO]: [/<IP_ADDRESS>:63803|sheloves_drey] <-> DownstreamBridge <-> [hub-1] has disconnected
[01:49:59] [Netty Worker IO Thread #7/INFO]: [/<IP_ADDRESS>:63809] <-> InitialHandler has pinged

Appears to be a duplicate of PaperMC/Waterfall#564

99% of the time, this is due to plugins on the server sending data around with upsets bungee, with the information provided, we have 0 to go off
nonetheless, Duplicate of #564

All plugins are deleted!!!


require('fzf-lua').grep({search=''}) does not respect rg_opts

the same command called in different ways ^^
one follows rg options where I ask for the line / col
one doesn't
are these commands supposed to do the same thing? I can see even the results are different with one showing the search string explicitly one not?
this doesn't happen when you pass non empty string to lua call: require('fzf-lua').grep({search=' '}). this call follows rg_opts

These aren’t the same commands, as you with the first command you’re searching for '' and in the second you’re searching for an actual empty string.
When using the :FzfLua variant you don’t need to add quotes as it’s considered a string already (both are the same result below):
:FzfLua grep search=123
require('fzf-lua').grep({search=' 123'})

Not really sure how to send an empty lua string with the :FzfLua command, I’ll look into it but if that’s what you’re after why not run :FzfLua grep_project (shortcut to empty string grep)?

I see, but the functionality im looking for is the following:
utilsstatusline finds the match as status line in utils.lua file (option just one keypress up)...
so its kind of a filter through both file and content (the online line preview), and its more useful than you would think haha XD

ill switch to the use of FzfLua grep search= then, no need to duplicate functionality!

utilsstatusline finds the match as status line in utils.lua file

Another thing you can try is use live_grep_glob:
require('fzf-lua').live_grep_glob({ search='statusline -- utils.lua' })

I also added a new feature yesterday where you can “edit” the search/grep string, press <Ctrl-i>to toggle between grep and live_grep, so the workflow would be to toggle to live_grep, reduce the matches to roughly what you want and then switch back to grep (with the live grep string) for further refinement using fuzzy matching.


Fix deployment location referenced in the generated test results

Generated with a patched wptreport: https://github.com/w3c/wptreport/pull/29
Take 2.

Superceded by #229


Gradient Part 2a - Fix sharp gradients in SVG

Tracking issue: #2282
This fixes sharp gradients in SVG export as well as adding a test for the smoothness argument on gradient.sharp.
I have also noticed the following on which I would like your opinion: hue gradients (so gradients that involve hue rotations) can be... tricky, in some cases such as:
gradient.linear(
  color.hsl(0deg, 100%, 50%),
  color.hsl(359deg, 100%, 50%),
  color.hsl(0deg, 100%, 50%),
  relative: "parent",
  space: color.hsl
)

Will render as:

This is because it sees the part 0 -> 359 degrees as being a change of color, but the 359 -> 0 degrees as also being an increase, but so small that the color difference is literally zero. I was wondering whether I should annotate the doc to say that hsv and hsl gradients should use increase hue, or whether we could try and support this better? There is already a lot of code specifically for hsv and hsl gradients and I don't want to add potentially a lot, does anybody know how (others?) to handle that nicely?
Edit
As discussed on Discord, we will implement the ability to choose how to do hue interpolation, but that will be in part 6 as per #2282

@laurmaedje as @reknih and I discussed hue interpolation this morning on Discord, you can merge this as long as it passes your code review.

Thanks!


error: Uncaught (in promise) TypeError in jar file

I use the docker container docker pull ghcr.io/cyclonedx/cdxgen-deno:master.
I download the git repository and run docker run --rm -v /tmp:/tmp -e CDXGEN_DEBUG_MODE=debug -v /home/jenkins/dependency-track-cpp@2:/app:rw -t .../cdxgen-deno -r /app -o /app/bom.json
During execution the following error occurs (only .jar file), I would be grateful for any help.
00:16:38  Parsing /app/58/install/elastic_search/component/plugins/delete-by-query/delete-by-query-2.4.0.jar
00:16:38  error: Uncaught (in promise) TypeError: The "path" argument must be of type string. Received undefined
00:16:38      at assertPath (ext:deno_node/path/_util.ts:10:11)
00:16:38      at join (ext:deno_node/path/_posix.ts:77:5)
00:16:38      at file:///root/.cache/deno/npm/registry.npmjs.org/@cyclonedx/cdxgen/9.9.5/utils.js:6555:11
00:16:38      at Array.forEach (<anonymous>)
00:16:38      at getPomPropertiesFromMavenDir (file:///root/.cache/deno/npm/registry.npmjs.org/@cyclonedx/cdxgen/9.9.5/utils.js:6552:21)
00:16:38      at extractJarArchive (file:///root/.cache/deno/npm/registry.npmjs.org/@cyclonedx/cdxgen/9.9.5/utils.js:6680:31)
00:16:38      at createJarBom (file:///root/.cache/deno/npm/registry.npmjs.org/@cyclonedx/cdxgen/9.9.5/index.js:1084:21)
00:16:38      at createMultiXBom (file:///root/.cache/deno/npm/registry.npmjs.org/@cyclonedx/cdxgen/9.9.5/index.js:4868:21)
00:16:38      at Object.runMicrotasks (ext:core/01_core.js:790:30)
00:16:38      at processTicksAndRejections (ext:deno_node/_next_tick.ts:53:10)

Parsing /app/.../../tools/apache-ivy/jars/lib/jsch.agentproxy.usocket-nc-0.0.6.jar
03:25:23  error: Uncaught (in promise) TypeError: The "path" argument must be of type string. Received undefined
03:25:23      at assertPath (ext:deno_node/path/_util.ts:10:11)
03:25:23      at join (ext:deno_node/path/_posix.ts:77:5)
03:25:23      at file:///root/.cache/deno/npm/registry.npmjs.org/@cyclonedx/cdxgen/9.9.5/utils.js:6555:11
03:25:23      at Array.forEach (<anonymous>)
03:25:23      at getPomPropertiesFromMavenDir (file:///root/.cache/deno/npm/registry.npmjs.org/@cyclonedx/cdxgen/9.9.5/utils.js:6552:21)
03:25:23      at extractJarArchive (file:///root/.cache/deno/npm/registry.npmjs.org/@cyclonedx/cdxgen/9.9.5/utils.js:6680:31)
03:25:23      at createJarBom (file:///root/.cache/deno/npm/registry.npmjs.org/@cyclonedx/cdxgen/9.9.5/index.js:1084:21)
03:25:23      at Object.runMicrotasks (ext:core/01_core.js:790:30)
03:25:23      at processTicksAndRejections (ext:deno_node/_next_tick.ts:53:10)
03:25:23      at runNextTicks (ext:deno_node/_next_tick.ts:71:3)

I get a similar error for ghcr.io/cyclonedx/cdxgen:latest   image id - 792fc2bdbb61
00:08:04  Parsing /home/jenkins/**/62/install/elastic_search/component/plugins/delete-by-query/delete-by-query-2.4.0.jar
00:08:04  node:internal/errors:478
00:08:04      ErrorCaptureStackTrace(err);
00:08:04      ^
00:08:04
00:08:04  TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
00:08:04      at new NodeError (node:internal/errors:387:5)
00:08:04      at validateString (node:internal/validators:162:11)
00:08:04      at join (node:path:1172:7)
00:08:04      at file:///opt/cdxgen/utils.js:6555:11
00:08:04      at Array.forEach (<anonymous>)
00:08:04      at getPomPropertiesFromMavenDir (file:///opt/cdxgen/utils.js:6552:21)
00:08:04      at extractJarArchive (file:///opt/cdxgen/utils.js:6680:31)
00:08:04      at createJarBom (file:///opt/cdxgen/index.js:1084:21)
00:08:04      at createMultiXBom (file:///opt/cdxgen/index.js:4868:21)
00:08:04      at processTicksAndRejections (node:internal/process/task_queues:96:5) {
00:08:04    code: 'ERR_INVALID_ARG_TYPE'

The error message indicates that the path argument passed to the join function is undefined. This suggests that either groupDirEntry.path or groupDirEntry.name is undefined at some point during the execution of the code.
To fix this error, you can add some additional checks to ensure that the necessary values are defined before calling the join function.

I built a local Docker image cdxgen with node 20 - the problem was solved, thank you!
Regarding the versions in the new image, I was able to get this information

Yes, I'll check it myself
Is it possible to download a ready-made image or do I need to build it from a branch?


I think this could become slightly more higher level.

I mean you went all the way to abstracting it with attributes out of the messages it receives and sends and it remains in need of checking the documentation on the protocols in most cases.
What I mean is methods like "just turn off the messages of class X and ID Y"; or "turn on messages if their port type is USB"; it's already great just mentioning it feels it can be more.

Sorry @epigramx I'm not entirely clear what the issue is here?
pyubx2 is a UBX parser and generation utility library - it's not an end-user application. If you need higher level functionality - like for example the ability to turn on or off all UBX messages of a certain category - then it's a relatively simple matter to build this yourself using this library. There are plenty of examples in the /examples folder, but if you need specific guidance, raise a query in the Discussions channel and we'll do our best to assist.
PyGPSClient is an example of an end-user application which uses the pyubx2 library, and it does have the functionality your're describing as well as the ability to define custom command strings as 'presets'. See the following links for further information:
https://github.com/semuconsulting/PyGPSClient
https://github.com/semuconsulting/PyGPSClient#userdefined


possibility to add custom SCIM groups to UAA automatically

We'd like to add certain SCIM groups to the UAA automatically (without the manual task of creating it with uaac).
The cf-release UAA job allows specifying authorities - groups that are automatically created in the UAA db, but also always assigned to every user by default. We'd like to specify a set of SCIM groups in the config, that are automatically added to the UAA db, but not assigned to every user by default.
I saw the UAA config already allows specifying such groups in its config, but it's not yet possible in the cf-release templates.
This PR adds the possibility to specify these groups as job properties.

I'm not super familiar with UAA; @sreetummidi, @mbhave does this property change make sense?  Is groups a configurable thing UAA consumes, as a comma-separated list?

Hi Amit;
groups is indeed a configurable comma-separated list that the UAA consumes, see here a test example:
https://github.com/cloudfoundry/uaa/blob/bbea63986bbf2de9c42f231668e344a4a321184c/uaa/src/test/resources/test/profiles/mysql/uaa.yml#L16

@MatthiasWinzeler thanks for the PR. This is a configurable property that the UAA consumes.

@MatthiasWinzeler The UAA team will take care of merging this PR in.  You can view the status on tracker. https://www.pivotaltracker.com/story/show/105949634


UnhandledPromiseRejectionWarning: Error: Invalid JSON RPC response

We have to use try catch () for all web3 connection

high priority now, should make the service be stable
setup it and forget it


[Amazon S3] - Cannot open bucket and acces db file (The bucket you are attempting to access must be addressed using the specified endpoint.

OS : Win 10 enterprise 2016 - v1607
keepass version : v2.44 portable
KeeAnywhere version : v<IP_ADDRESS>
When i test the connection its OK. I can see my bucket but when in try enter in it to select the specific folder i have created inside (//bucket/keepass_folder/keepass_file.kdbx) i have an error : The bucket you are attempting to access must be addressed using the specified endpoint.
I am using my principal user on S3 with full access rights.

any idea ?
Thks, Fab.

@fab2bx
The Bucket "backup-foto-fab2" does not belong to the region you registered for this S3 account.


Update to modern tech

Updates every Pod to use public pods
makes everything support tvOS without my amazing and terrible hack - https://github.com/orta/cocoapods-expert-difficulty
Uses new features shows metadata
Updates to Moya, RxSwift, Alamofire, etc etc
Removes the test target, lets not pretend that's happening

WIP - cause it only compiles. Got a bit more to go before it runs and is solid.

Thanks past me

ok, given this a test run, I'm, alright shipping this

only works at xcode7 though


After adding Github Account, Other remote connections are anymore available

Maybe it is also because I have a lot of repositories and the others got shifted.

When accounts are available, the options to add a new account from the left pane is anymore possible. see changes in #319 close there the issue is found


getting there

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

enterprise-graph/quickref-conflation.md
81
41
6
link
:white_check_mark:

enterprise-graph/quickref-entities.md
73
48
10
link
:white_check_mark:

enterprise-graph/toc.yml
100
100
0
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

OPS Build status updates of commit 00824c2:
:warning: Validation status: warnings

File
Status
Preview URL
Details

breadcrumb/toc.json
:warning:Warning

Details

toc.json
:warning:Warning

Details

enterprise-graph/quickref-conflation.md
:white_check_mark:Succeeded

enterprise-graph/quickref-entities.md
:white_check_mark:Succeeded

enterprise-graph/quickref-sparql.md
:white_check_mark:Succeeded

enterprise-graph/sparql-queries.md
:white_check_mark:Succeeded

enterprise-graph/toc.yml
:white_check_mark:Succeeded

breadcrumb/toc.json

[Warning] Error happen when converting breadcrumb/toc.json to Pdf. Details: Could not find a part of the path 'T:\sgsu\breadcrumb\toc.json'.

toc.json

[Warning] Error happen when converting toc.json to Pdf. Details: Could not find file 'T:\sgsu\toc.json'.

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

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

enterprise-graph/enterprise-graph-use-cases.md
100
100
0
link
:white_check_mark:

enterprise-graph/quickref-conflation.md
81
41
6
link
:white_check_mark:

enterprise-graph/quickref-entities.md
73
48
10
link
:white_check_mark:

enterprise-graph/toc.yml
100
100
0
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

OPS Build status updates of commit f25969d:
:warning: Validation status: warnings

File
Status
Preview URL
Details

breadcrumb/toc.json
:warning:Warning

Details

toc.json
:warning:Warning

Details

enterprise-graph/enterprise-graph-use-cases.md
:white_check_mark:Succeeded

enterprise-graph/quickref-conflation.md
:white_check_mark:Succeeded

enterprise-graph/quickref-entities.md
:white_check_mark:Succeeded

enterprise-graph/quickref-sparql.md
:white_check_mark:Succeeded

enterprise-graph/sparql-queries.md
:white_check_mark:Succeeded

enterprise-graph/toc.yml
:white_check_mark:Succeeded

breadcrumb/toc.json

[Warning] Error happen when converting breadcrumb/toc.json to Pdf. Details: Could not find a part of the path 'T:\pwix\breadcrumb\toc.json'.

toc.json

[Warning] Error happen when converting toc.json to Pdf. Details: Could not find file 'T:\pwix\toc.json'.

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


No display name and no $DISPLAY environment variable

Hello I'm trying to run GAN script in gan\gan.py, but I'm getting an error that said
_tkinter.TclError: no display name and no $DISPLAY environment variable
and here's the screenshot

Is there any solution for this?

How did you run it?You can't run it by a ssh interface(or tty,etc.),because the $DISPLAY environment variable has not been set.Try running it after startx or on graphical termial(like lxterm).
(I'm sorry for my bad English because it isn't my native language :D)

I see, thank you very much for your solution. It worked now


Add Microsoft Image Composite Editor

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

Microsoft Reviewers: Open in CodeFlow

I seem to get a failure 1603 if admin or nonadmin.

@KevinLaMS I am unable to reproduce the error, the installation happens successfully from both admin and non-admin shells. Could you provide contents of the installer log mentioned in your screenshot?

Looks like the problem is missing dependency: Visual C++ 2013 Redistributable. This is thus blocked by https://github.com/microsoft/winget-cli/issues/163

Looks like Microsoft killed ICE before Microsoft could fix winget to be able to install ICE


Board member picture frame generator

What's your idea?
@jaasonw suggested that we have a dedicated web application to facilitate the creation of board member pictures that are used on /about.
Context:
6:06 PM]jasonw: nah, like imagine like a web app
[6:06 PM]jasonw: u upload a headshot
[6:06 PM]jasonw: and then u move the picture around to fit
[6:06 PM]jasonw: and then when u hit export, it's in the correct size and format
Related: #348

Related: https://github.com/EthanThatOneKid/acmcsuf.com/issues/348#issuecomment-1068831375
Comment from issue #349.


Handle abbreviated ISO8601 dates (resolves #2406)

Hmm, this can't handle inputs like 2015-10/11. Might need to do some more rewriting.

Hmm, this can't handle inputs like 2015-10/11. Might need to do some more rewriting.

What would you translate that into?

Sometime during October and November 2015, I think.

But I mean concrete values, how either the OpenStruct object or CollectingEvent attributes would look like.
====================
(Also reposting a misplaced comment here)
Also make sure this one works, originally parse_iso_date(:eventDate) returned empty array (or nil?).
2.7.4 :057 > parse_iso_date_str(nil)
Traceback (most recent call last):
        3: from (irb):56
        2: from (irb):57:in `rescue in irb_binding'
        1: from (irb):3:in `parse_iso_date_str'
NoMethodError (undefined method `with_index' for nil:NilClass)

It would be like[#<OpenStruct year=2015, month=10, day=nil, hour=nil, minute=nil, second=nil>, #<OpenStruct year=2015, month=11, day=nil, hour=nil, minute=nil, second=nil]

CollectingEvents can handle empty start and end days (or even months)


chore: added workflow for handling answerable discussions

Issue #, if available:
Description of changes:
This workflow will handle the discussions (posted in answerable category) and take appropriate action.
Whenever a discussion is replied with keyword @github-actions proposed-answer, is considered for action by this workflow and based on the responses/reactions received, appropriate action is taken.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report
Patch coverage: 62.85% and no project coverage change.

Comparison is base (e87baa2) 79.88% compared to head (699dec2) 79.88%.
Report is 6 commits behind head on main.

:exclamation: Current head 699dec2 differs from pull request most recent head 46bb8f2. Consider uploading reports for the commit 46bb8f2 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #586   +/-   ##
=======================================
  Coverage   79.88%   79.88%
=======================================
  Files          27       27
  Lines        5841     5847    +6
=======================================
+ Hits         4666     4671    +5
- Misses       1175     1176    +1

Files Changed
Coverage Δ

source/io.c
90.47% <ø> (ø)

source/s2n/s2n_tls_channel_handler.c
73.36% <44.44%> (ø)

source/posix/socket.c
73.91% <60.00%> (ø)

source/channel_bootstrap.c
72.49% <66.66%> (-0.23%)
:arrow_down:

source/exponential_backoff_retry_strategy.c
95.42% <100.00%> (+0.18%)
:arrow_up:

source/tls_channel_handler.c
62.96% <100.00%> (+0.15%)
:arrow_up:

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

close as https://github.com/awslabs/aws-c-io/pull/592 merged


Really lacks basic information for implementation.

[Enter feedback here]
The line "using Microsoft.AspNetCore.Headers" DOES NOT work for the standard VS 2019 project. Need information of what to link to and how to get it.

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

ID: 7c772b2a-5d37-84af-624c-9022efe0758b
Version Independent ID: b39594cc-9d1c-611c-e3e7-8755d74253a6
Content: HTTP Logging in .NET Core and ASP.NET Core
Content Source: aspnetcore/fundamentals/http-logging/index.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @jkotalik
Microsoft Alias: jukotali

I guess you meant "using Microsoft.AspNetCore.HttpLogging". BTW, which .NET version you are targeting? HTTP logging middleware was introduced in .NET 6 - so check your project's TargetFramework once.


Force some polyfill into de bundle

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

I need to support some older browsers, so I would like to always include some polyfills (Intl, Object.assign and Promise) in the app bundle and just execute them if need (I've tried to do it conditionally, but it fails in a lot of situations), but I can't figure out the way to do it. Has anybody did this o has an idea on how can I do it?

Add Babel-polyfill

What browsers are ? I thought that babel solved the problem of compatibility with browsers.

As I understand, Babel transpile es6 code to es5. That doesn't means that all browser support all functions. That's why they also provide babel-polyfill. The think is I don't want to load all babel-polyfill and I don't want the polyfills to overwrite native functions on browser that already support them

This is an interesting one, most people include it in the head using _document.js

Yes. I was using polyfill.io services, which is great and work fine. But the request to the service it's pretty slow even for browser that doesn't need any polyfill. So I think that if I'm going to penalize every user in favor of those with old browser, having the polyfill code inside of the bundle is a better option than adding an extra/external request before the bundle get loaded. What do you think?
NOTE: I've try to dynamically add the polyfill.io script when needed (using a small JS code that appends the script tag -with async=false- inside head, like the one that loads Google Analytics or similars) but for some reason in some browsers the next.js code was still executing before the polyfill is loaded so it failed 😞

Same issue for me. I need to add some polyfills but not language polyfills as Promises or Array functions but DOM/Render polyfills. Specifically IntersectionObserver and Smoothscoll.
Both require access to window, but it is not available in server side rendering. So i need to put it into separate script file. Any way how to force Webpack create new js file?
I don't want to use polyfill.io which is great service, but our project can't depend on 3rd party service.

It is pretty hacky, but the option it worked the best for me is to dynamically load the polyfill with a synchronous XMLHttpRequest() before next's js are loaded. I use a code like the following:
(function(undefined) {
  if (!('Promise' in this)) {
    var src = 'https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise&flags=always&unknown=polyfill';
    var xhr = new XMLHttpRequest();
    xhr.onreadystatechange = function() {
        if (xhr.readyState == XMLHttpRequest.DONE) {
          var f = new Function(xhr.responseText);
          f();
        }
    }
    xhr.open('GET', src, false);
    xhr.send();
  }
})
.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});

If you don't want to use Polyfill service, you can always get the code from them, save it in a local file and then loaded from some static url/CDN (polyfill is not a code that usually change)

@coluccini yes it is pretty hacky, but no other options because NextJS has not easy hooks to change generated files.
Where did you put this code ? Just for example in _document.js at begin of file?

@radeno, exactly: in _document.js inside <Head>

@coluccini does it work for you? I get and error XMLHttpRequest is not defined

Yes. But I'm not trying to executing directly in next. I'm print that code on SSR:
const polyfill = `THE_CODE`;

export default class baseDocument extends Document {
  render() {
    return (
      <html lang={locale}>
        //...
        <body>
          //...
          <script dangerouslySetInnerHTML={{ __html: polyfill }} />
          <NextScript />
        </body>
      </html>
    );
  }
}

I see, so you inlining requested script content, is it neccessary? Isn't this easies to use script tag with src attribute?
export default class baseDocument extends Document {
  render() {
    return (
      <html lang={locale}>
        //...
        <body>
          //...
          <script
            type="text/javascript"
            src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise&flags=always&unknown=polyfill"
          />
          <NextScript />
        </body>
      </html>
    );
  }
}

or just put script tag into  component. By testing performance is same and NextJS script is executed right after.
I made Self hosted Docker container of Polyfill.io together with Nginx request caching based on URL and User agent. In some cases it should faster than official because lower usage. https://hub.docker.com/r/smikino/polyfill-service/

Yes, you can do it that way for sure (you should remove &flags=always from the url, with it polyfill.io will add the polyfill even if the user's browser don't need it).
There are two bad thing about this approach:

You're adding a blocking request before requesting your app's js affecting every users, including those that doesn't need the polyfill (usually the vast majority) and not just users that need it.
I've seen a few user agent not getting any polyfill from polyfill.io service even they do need it.

If you are ok with those issues, this is the way to go.

If Next.js had a way of allowing the control of ReactDOM.render/ReactDOM.hydrate to be called asynchronously, then it would be possible to use polyfill.io effectively with the following pattern.
//
// You can achieve non-blockin polyfills with polyfill.io using the following
// event-pattern, assuming you can control when to start rendering.
//

// ·······························································
// 1) Consumer entry point, waits for polyfills before being executed.
//    (Single App or multiple separate components like Header, Footer, Modal)
// ---------------------------------------------------------------

// Each consumer listens for the custom event.
window.addEventListener('polyfills-loaded', function () {
  // Start up the application where imports and everything else can use polyfills
  require('./startApp');
}, false);

// ·······························································
// 2) Script at the bottom of the page, right before the body closing tag.
//    Loads the polyfills without blocking html render
// ---------------------------------------------------------------

// Initialize a custom event so that consumers can listen to it
var event = document.createEvent('Event');
event.initEvent('polyfills-loaded', true, true);

// Define what should happen once the polyfills have finished loading
window.__whenPolyfillsAreLoaded = function () {
  console.log('Polyfills are ready. Starting up...');
  // Dispatch the event to run the application components
  window.dispatchEvent(event);
};

// Add a script tag to the page to start loading the polyfills
const polyfillScript = document.createElement('script');
polyfillScript.src = 'https://cdn.polyfill.io/v2/polyfill.js?callback=__whenPolyfillsAreLoaded';
polyfillScript.type = 'text/javascript';
polyfillScript.async = true;
document.head.appendChild(polyfillScript);

I ran into an issue when creating an Outlook add-in, where window.history functions seem to be stripped, so Next crashes in the first file, which gets added before any children in Head. So I can't do something like
<Head>
  <script "/static/fix-window-history-for-outlook-add-in.js" />
</Head>

because that generates something like
<head>
  <script "/some-next-script-that-relies-on-window-history-working-properly.js" />
  <script "/static/fix-window-history-for-outlook-add-in.js" />
</head>

I'm not finding a good way to put the file at the beginning of the <head> tag.

That’s weird, cause Next usually puts their scripts at the end of the body tag. Have you try to use a _document.js file to generate the base html and the put your script ahead of the next ones?

Ah, no you're right - I misunderstood how <link rel="preload"... worked. I had the impression that since those preloads were at the top of <head> that that's where they were being loaded. It looks like the scripts required for office mess with history, so I just needed to load the office scripts first, then the history fix, then the Next scripts. Sorry to spam here, but yes, using a custom _document.js is the way to go for this situation.

To prevent blocking request in modern browsers you can add nomodule attribute (https://developer.mozilla.org/ru/docs/Web/HTML/Element/script#attr-nomodule) to <script /> tag, so browsers that support ES6 modules (if they supports modules — no polyfills is needed for them) will not even make a request.
Ex:
<script
  src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Promise"
  nomodule="nomodule"
/>

You can now use https://github.com/zeit/next.js/blob/canary/server/build/webpack.js#L48 in canary we still need to document this but if someone wants to make an example using it that'd be great.
// next.config.js
const path = require('path')
module.exports = {
     clientBootstrap: [
          path.join(__dirname, 'polyfill.js')
    ]
}

^ in this case you need to have polyfill.js in your main directory obviously.

That's great @timneutkens! I'll try it and, if I succeed, I'll add an example :)
I think we can close this ticket now 🍾

Thanks @coluccini!

@coluccini , did you get anywhere with a documented example?
I am trying to load an intersection observer polyfill using the clientBootstrap, but the trouble is I don't know how to hold now execution until my polyfil is completed loading. Anybody done something similar?

Sorry, I still didn't try this new configuration option. But as I understand if you achieve to bootstrap your polyfill file like proposed, it should be executed before next.js runs.
Seeing your code on #3449 I would said the problem is that you are running the polyfill asynchronously. I think you should have the polyfill code directly in the file you are bootstraping

@coluccini, Thanks for your reply, I was kind of hoping I could dynamically import the polyfil only when it is actually needed.

To do that I run this code inside the <head> of pages/_document.js:
(function(undefined) {
  if ('IntersectionObserver' in global) {
    var src = ROUTE_TO_POLYFILL_FILE;
    var xhr = new XMLHttpRequest();
    xhr.onreadystatechange = function() {
        if (xhr.readyState == XMLHttpRequest.DONE) {
          var f = new Function(xhr.responseText);
          f();
        }
    }
    xhr.open('GET', src, false);
    xhr.send();
  }
})
.call('object' === typeof window && window || 'object' === typeof self && self || 'object' === typeof global && global || {});

I'm using it on a site with a lot of user and seams to work pretty well.

@coluccini , thanks I think i'll have to give that a go.


make web + Browse a new pdf causes Download and Bookmark buttons disappear

I'm using Aurora 9a2 on Win7.

I first create a local webpage with 'make web'.
I observe that Download and Bookmark buttons are visible on the gh-pages.
If I then Browse a local pdf then these two buttons disappear.

That's intentional. There is nothing Download and Bookmark function can do when local file is loaded: file is already saved locally and viewer cannot open local file until Browse... is used again. Closing as invalid

Yeah, perhaps Download-button has no meaning here. Gray it out instead (unclickable)?
I think bookmarking local files is a valid use case. I could think of many cases where you would want to bookmark a certain page on a local file. And add it to your normal browser bookmarks. At least I would be happy to have such a feature.
Please, consider re-opening.

The Bookmark button is just a link to the PDF file for adding it to the favorites or opening in the new the window. None of this function will be available for the local file.
I'll change title to properly reflect your expectation, before re-opening

Ok, thanks! I was under the impression that you could bookmark a page on a pdf.. Oh well.

you can if file is on remote location


ESM1.5 ssp370

resolution_complete type_ScenarioMIP   |    by<EMAIL_ADDRESS>
10 additional ensemble members for SSP370
exp name: SSP-370-15 .. 24
branched from: HI-15..24
cmip6 exp name: ssp370

Issue migrated from trac:405 at 2024-01-31 18:38:46 +1100

<EMAIL_ADDRESS>changed status from new to closed

<EMAIL_ADDRESS>changed milestone from Run complete to Archived

<EMAIL_ADDRESS>set resolution to complete


postcss-px-to-viewport这个插件不能配置参数传入？

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

postcss-px-to-viewport这个插件在vue中可以通过配置postcss.config.js文件中的
module.exports = ({ file }) => {
const designWidth = file.dirname.includes(path.join('node_modules', 'vant')) ? 375 : 750;
return {
plugins: {
autoprefixer: {},
"postcss-px-to-viewport": {
unitToConvert: "px",
viewportWidth: designWidth,
}}将参数传入，但是nuxt中怎么配置？

@wlinglinux You should normally configure postcss plugins within your nuxt configuration like this:
https://nuxtjs.org/faq/postcss-plugins/#recommended-method
Does that hello?

这样配置在nuxt中是不能正常执行的，我想知道在nuxt中应该如何配置可以将file这个参数传入，并能正确执行，谢谢！！

@wlinglinux I do not know what the text in the image says. Could you write it in your comment?

@wlinglinux You can import path into your nuxt config, and you can access the directory with __dirname

const designWidth = file.dirname.includes(path.join('node_modules', 'vant')) ? 375 : 750;   这里的file.dirname是需要处理的css的文件，不是__dirname这个值；
这样配置   viewportWidth: __dirname.includes(path.join('node_modules', 'vant')) ? 375 : 750   得到的永远都是750；

@wlinglinux You should be able to pass a function as the config for the postcss loader - details here.

如果在nuxt.config.js中配置postcss-loader的rules属性，console就提示 ### You did not set any plugins, parser, or stringifier. Right now, PostCSS does nothing. Pick plugins for your case on https://www.postcss.parts/ and use them in postcss.config.js. 但是nuxt不是不支持在单独的文件中配置postcss属性？

@wlinglinux Seems to be working fine for me:
https://codesandbox.io/s/wizardly-cdn-ts7sq?file=/pages/index.vue

按照你给的配置显示的页面是第一个图，但是这个显示是不对的。
正确的显示如下图：

我测试的结果就是，通过参数传递 file的配置 显示是不对的。

@wlinglinux Would you provide a reproduction? Are you sure this is an issue with Nuxt?

https://codesandbox.io/s/runtime-wind-n31k1?file=/nuxt.config.js，你帮忙看看，我在nuxt.config.js注释掉的是传入file参数的配置，开启这个配置，页面转化的vw是不对的。

https://codesandbox.io/s/runtime-wind-n31k1?file=/nuxt.config.js，你帮忙看看，我在nuxt.config.js注释掉的是传入file参数的配置，开启这个配置，页面转化的vw是不对的。

https://codesandbox.io/s/runtime-wind-n31k1?file=/nuxt.config.js，你帮忙看看，我在nuxt.config.js注释掉的是传入file参数的配置，开启这个配置，页面转化的vw是不对的。

Speak english as much as possible so that others can help you.

@wlinglinux Would you provide a reproduction? Are you sure this is an issue with Nuxt?

i think this is not nuxt problem O(∩_∩)O

I just want to ask if NUXT doesn't support passing in parameters for postCSS-Px-to-Viewport? If not, can it be supported in the next release? Because the result of my test is that the parameters passed in are invalid, even if the configuration is correct.

The result of my test is that configuration in postcss.config.js is passable in the vue environment, but not in nuxt how it should be configured to work.

the same questions，file.dirname  ineffectiveness

Can this problem be fixed?

The postcss-px-to-viewport parameter only supports objects. In addition, the options of postcss can only be objects. Therefore, I created postcss.config.js and it seems to work well.

The configuration in the postcss.config.js file is incorrect, as shown in the figure

￼
Also, configuring in postcss.config.js will prompt the figure in console

The correct page displays as shown in the picture

The configuration in the postcss.config.js file is incorrect, as shown in the figure

￼
Also, configuring in postcss.config.js will prompt the figure in console

The correct page displays as shown in the picture

Is there a better solution?

请问这个问题最后解决了吗。

With 2.16.0 release with PostCSS 8 support, I think we can close this. Let me know if not and if it is still an issue for you.


Batch table tests

For #3177
Added tests for Cesium3DTileBatchTableResources. I also cleaned up an unrelated test for ModelInstanceCollection.

Just those trivial comments.  This looks good!

Updated.

Great!


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Improve query performance with HBase

Codecov Report
Patch coverage has no change and project coverage change: -20.02 :warning:

Comparison is base (9e4fb96) 68.68% compared to head (ff68641) 48.67%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@              Coverage Diff              @@
##             master       #3       +/-   ##
=============================================
- Coverage     68.68%   48.67%   -20.02%
+ Complexity      979      378      -601
=============================================
  Files           497      497
  Lines         40564    40564
  Branches       5662     5649       -13
=============================================
- Hits          27861    19743     -8118
- Misses        10011    18690     +8679
+ Partials       2692     2131      -561

Impacted Files
Coverage Δ

...e/hugegraph/backend/store/hbase/HbaseSessions.java
0.00% <0.00%> (-61.15%)
:arrow_down:

... and 198 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Idea: getindex method for ExceptionStack to select stack frames to display

Closing because Julia master uses getindex to select which stack trace of multiple may be selected.


Fix Language Selector

Fixed #1961
Screenshot:

This doesn't really address what was asked in the original issue, useState was already hooked up to changes on the dropdown. I gave a clarification comment in the original if you want to take another look, otherwise I'll close this PR next week


Fix regression 8.1.1491

Sorry, 8.1.1491 is not completed. Changes for misc2.c is not required. When the first command-name is quoted, system() fail. If revert change of misc2.c  ("c:\go\bin\go.exe" "env" "GOPATH") succeed.

Codecov Report

Merging #4519 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #4519      +/-   ##
==========================================
- Coverage   80.63%   80.62%   -0.02%
==========================================
  Files         111      111
  Lines      143817   143817
==========================================
- Hits       115971   115947      -24
- Misses      27846    27870      +24

Impacted Files
Coverage Δ

src/misc2.c
84.09% <100%> (ø)
:arrow_up:

src/if_xcmdsrv.c
83.84% <0%> (-0.72%)
:arrow_down:

src/gui_gtk_x11.c
48.62% <0%> (-0.5%)
:arrow_down:

src/gui_beval.c
62.5% <0%> (-0.44%)
:arrow_down:

src/ex_cmds.c
82.18% <0%> (-0.25%)
:arrow_down:

src/ex_cmds2.c
87.94% <0%> (-0.12%)
:arrow_down:

src/gui.c
58.05% <0%> (-0.06%)
:arrow_down:

src/message.c
76.84% <0%> (ø)
:arrow_up:

src/terminal.c
81.05% <0%> (+0.03%)
:arrow_up:

src/ui.c
55.67% <0%> (+0.07%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 38ea784...66c3d8c. Read the comment docs.

I think you are talking about 8.1.1492, not 1491.

Would it be possible to write a test for that system() command?

I'll write test in later.


Telegram download photos

I'm finished refactoring - finally! I hope it was worth it.

I'm finished refactoring - finally! I hope it was worth it.

Totally, this is way cleaner, I think! 😍

There’s just one thing I’ve been wondering.
What happens, if I send a message containing multiple photos with a different caption for each photo?

If I understood correctly, only the caption of the (last?) photo would be saved? And maybe it’d be totally fine to have a separate message per photo?

Best kitten.


Add SetDebugMode function in config.go

If we want to configure all debug capabilities for Beyla in places like
Alloy we would need to expose the whole eBPF config block to be public.
For now that seems not very necessary so this public method will allow
Alloy receive all debugging logs from Beyla.

Codecov Report
Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 51.02%. Comparing base (b28b9e1) to head (b4e29e4).

Files
Patch %
Lines

pkg/beyla/config.go
0.00%
4 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (b28b9e1) and HEAD (b4e29e4). Click for more details.
HEAD has 2 uploads less than BASE

Flag
BASE (b28b9e1)
HEAD (b4e29e4)

oats-test
1
0

k8s-integration-test
1
0

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1037       +/-   ##
===========================================
- Coverage   79.08%   51.02%   -28.07%
===========================================
  Files         137      137
  Lines       10923    10927        +4
===========================================
- Hits         8638     5575     -3063
- Misses       1760     4970     +3210
+ Partials      525      382      -143

Flag
Coverage Δ

k8s-integration-test
?

oats-test
?

unittests
51.02% <0.00%> (-0.04%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


fix(cli): set specific version of pnpm for monorepos

What?

Set specific version for pnpm in packageManager field in the package.json file when creating monorepos
Exclude yarn specific files from monorepos that do not use yarn

Why?
fixes #329

pnpm monorepo creation failed when pnpm is installed using Corepack. This issue was caused by the missing version of the packageManager in the package.json file
Even if the monorepo was created with a package manager other than yarn the yarn specific config files were copied to the target folder.

How to test? (optional)
I validated the corepack fix on my machine and tested monorepo creation with all package managers.
I expanded the test for monorepo creation to validate the yarn config file changes.

@all-contributors please add @hoersamu for bug and code.


add possibility to use custom buttons

As enhancement for #1387, #1388 and #1389 I would like to introduce this for buttons. You can now use a full namespaced view.
Should be non-breaking...

I close this - addButton() can be used for my purpose. I have overlooked that.
But maybe I will suggest a refactor pull request. In my eyes the code and comments are a bit confusing.

@tswonke @tabacitu
While I do agree that the addButton() has lots of various features that covers all aspects, but i kind of like the idea of adding a view namespace similar to the fields. I think we should look into adding it for custom columns as well. (i don't recall if you have submitted a PR for it or not yet). I kind of want to say lets go with it.

Hey @AbbyJanke,
I'm not quite sure what you mean. In #1388 I added view_namespace for custom columns. Is that it?
This PR #1556 was intended to "fix" the addButtonFromView() method, because you can't use a custom namespace there (and I needed it). Then I realized, that I can use addButton() for this in my Instant Fields package and this PR would only be a kind of patch and not triggering the real issue.
I think in the Buttons.php trait there are optimization possibilities to clean it up a bit, re-think the naming of some variables (as they are IMHO kind of misleading) and maybe some enhancements. But I first have to dig into it deeper, I didn't use buttons very often (till now).


Problem with "add\edit new post\product"

Error 500 - Internal Server Error - Whoops, looks like something went wrong. (1/1) ErrorException strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in Parser.php line 2492 at HandleExceptions->handleError(8192, 'strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior', 'C:\xampp\htdocs\microweber-master\src\Microweber\Utils\Parser.php', 2492, array('search' => 2, 'replace' => '
Type keywords that describe your content - Example: Blog, Online News, Phones for Sale etc
', 'subject' => '

hi @detector-v,
thanks for report. we haven't seen this bug until now. what is your PHP version ?

PHP 7.0 (built: Dec 6 2018)


back-merge hotfix from master

This PR merges back a hotfix in master which caused the LK public archive fail to load.
It also adds a cache on both public archives; this could be done straight to master as it won't be a problem if the list is an hour or 2 out of date. (In contrast to the private archive, in which it's actually pretty bad when that happens).

If I understand correctly, the non-inline ProposalSerializer exists for where we need a continue_url, and otherwise we use the inline version internally. (Maybe I'm missing something)
Is this just an optimisation or does a method like continue_url in the serializer fields break stuff?
Top job on the fix otherwise

It's a fix for a serializing problem, but it's not related to continue_url;
The non-inline version is the main serializer for a Proposal. As a proposal may have a parent proposal, which we sometimes need, we need to add a parent field. Normally you could just use the same serializer (which we accidentally did before this fix); however, some (older) proposals are kinda f-ed, and either directly or indirectly reference eachother. (In other words, two proposals have eachother as a parent). This causes an infinite recursion, thus the need for a second serializer which doesn't serialize it's parent.
As we don't really need to access the parent of a parent (yet), this actually also saves some processing as we limit the amount of objects to be serialized. So it's also optimization.
The continue_url field isn't part of the inline version mostly due to me not realizing I didn't add it, but I'll take your optimization explaination as it actually holds true :P It's an expensive call, and it's not needed for the parent.

Thanks for the explanation!


Performance for yalu102 (iphone 6)

Hey @kpwn, just wanted to ask if you think that the performance issues caused by the jb will be an easy fix? I know this is not freakin related to jb directly but still.

This isn't a bug with Yalu #162

Is it any significant? I don't think it is. Haven't seen this affect real-life usage outside of targeted microbenchmarks.

Can confirm that real-life usage has not been affected at all. Been using this for six or seven hours a little heavier than usual and nothing is out of the ordinary.
iPhone 6.
Also, this isn't a bug, please close the topic.

#162

@kpwn It is SUPER slow on my device. before this, it would run super smoothly, and now, every single thing lags.

That's very specific.

if it isn't supposed to hinder my usage, what should I do to get it running more smoothly? i have updated to the latest commit

lol i meant that all the apps would become laggy and say on snapchat when i double tap to reply to a snap, it would take forever to bring the picture screen up, same with messages, etc.

#162

I GET IT @timonline chill out. i am seeing what i can do to get my device running smoothly

hey did you compile the newest beta number 4 if yes send link of it in google drive to check it

@msamuel002 do you know the difference between issue and performance lag?

my iPhone 6 on ios 10.2 loads cydia and wont show any apps or tweaks. any ideas

@jsidnsiandsnfjnsf i use xcode since i dont want to keep signing it every 7 days

I know but did you compile the latest beta cuz there isn't an ipa made yet if u didn't do it now and try it if u already did and same issues put the ipa for beta 4 that u compiled in google drive and send link so we could check if its right or not

soo @kpwn what do u suggest i do? should i clear all unused dependencies, cache files, etc. using iCleaner Pro? maybe it still has many crash logs from before affecting the usage?

hes busy I'm here waiting for link, also he will just delete ur post cuz it isn't related to coding

oh i see @jsidnsiandsnfjnsf i cant compile the ipa cuz xcode says i have to be a developer even though i am a part of the free developer program

@msamuel002 no, you don't have to be a developer. The developer account is only useful for publishing the ipa

@timonline so i have to go to product > archive right?

and then the only option i get is "download dSYMs"

the "export" button is greyed out

@msamuel002 you can just build + run.
You sure you want to be messing with compiling beta code, i ask coz it seems you are just starting out

Dammit you sucked me in with your non-issues. @kpwn please close this

wait sorry for recommenting @kpwn but would installing yalu on xcode VS on impactor change the performance?

How you install the IPA won't change anything.

lol yea i figured. i reinstalled yalu from xcode, re did the jb, and now its perfect!

send me link of the beta 4 you compiled on google drive need it too lol

since the way i install it wont change anything, i used xcode still


Added RegionAssignee model to harvester app.

This change is

Coverage increased (+0.01%) to 68.354% when pulling db864e830691559e86c9daef2d63ff7cee526174 on ropable:master into 839b7f89b1880a3c627015fb7c688128edf82228 on parksandwildlife:master.


Provide option to export My List in ODS file format

As a F&E user
I want to export My List in Open Document Spreadsheet (ODS) format
So that I can use whichever spreadsheet application I prefer
ACCEPTANCE CRITERIA

A button should be added to the My List page, called 'Export to .ods file'.
It should be placed alongside the 'Export to .xlsx file' button.

Ran through these changes with Chris Douglass and Martin Johnson on 15/09/2020, which they agree constitutes UAT. So moving ticket to 'Ready for release'.

Deployed to production and tested successfully. Awaiting approval by PO, Gwen McGill, before closing the ticket.

PO has agreed that issue can be closed.


Payload example

More elaborate version of #24, which I use in my project.

Thanks a lot for the example! Could you please update the code so that it works in Python 3 (print as function), and use explicit new-style classes (inheriting from object). Then it should be good to go :)

Done!

Thanks for your contribution!


Added a shrinkwrap file for version locking

In response to https://github.com/roots/sage/issues/1423

:cop:

Was hoping to become top contributor in one commit

GH weighs commit numbers above diff amount ;)


TextArea throws errors in the console when adding line breaks

Bug Report
TextArea throws unexpected errors when adding line breaks.
Steps
Type any text in a TextArea and hit return/enter to add line breaks.
Expected Result
Line breaks are added without exceptions.
Actual Result
Line breaks are added, but the console throws errors:

Version
0.87.1
Testcase
Simply go to https://react.semantic-ui.com/addons/text-area/ type anything and try to add line breaks.

onloadwff.js is a third party extension...

Yep, taking a further look that's caused due to LastPass plugin being active. If you don't think that's something we should keep track here then I'm ok to close the issue!


BepInEx no longer working after patch 0.207.20

BepinEx support appears to be broken after Valheim patch 0.207.20.
This patch introduced full controller support and the errors (which come in 100s of times per second) are related to controller support (IsGamepadActive etc.). Disabling BepInEx causes the errors to go away and the container to be usable as normal.
Here is a snippet of my logs:
...
/supervisord: valheim-server NullReferenceException: Object reference not set to an instance of an object
/supervisord: valheim-server   at Console.Update () [0x00056] in <5a2a40741ab34a4fbe56a67fda3894e0>:0
/supervisord: valheim-server   at ZInput.GetButton (System.String name) [0x00000] in <df3d4d1b88a54036b84e64e3d77196d7>:0
/supervisord: valheim-server NullReferenceException: Object reference not set to an instance of an object
/supervisord: valheim-server   at UIGroupHandler.Update () [0x0009a] in <98f42f5c8bbc4ad38ddefbf5b1b7a0b1>:0
/supervisord: valheim-server   at ZInput.IsGamepadActive () [0x00000] in <df3d4d1b88a54036b84e64e3d77196d7>:0
/supervisord: valheim-server NullReferenceException: Object reference not set to an instance of an object
/supervisord: valheim-server   at Console.Update () [0x00056] in <5a2a40741ab34a4fbe56a67fda3894e0>:0
/supervisord: valheim-server   at ZInput.GetButton (System.String name) [0x00000] in <df3d4d1b88a54036b84e64e3d77196d7>:0
/supervisord: valheim-server NullReferenceException: Object reference not set to an instance of an object
/supervisord: valheim-server   at UIGroupHandler.Update () [0x0009a] in <98f42f5c8bbc4ad38ddefbf5b1b7a0b1>:0
/supervisord: valheim-server   at ZInput.IsGamepadActive () [0x00000] in <df3d4d1b88a54036b84e64e3d77196d7>:0
/supervisord: valheim-server NullReferenceException: Object reference not set to an instance of an object
/supervisord: valheim-server   at Console.Update () [0x00056] in <5a2a40741ab34a4fbe56a67fda3894e0>:0
/supervisord: valheim-server   at ZInput.GetButton (System.String name) [0x00000] in <df3d4d1b88a54036b84e64e3d77196d7>:0
/supervisord: valheim-server NullReferenceException: Object reference not set to an instance of an object
/supervisord: valheim-server   at UIGroupHandler.Update () [0x0009a] in <98f42f5c8bbc4ad38ddefbf5b1b7a0b1>:0
/supervisord: valheim-server   at ZInput.IsGamepadActive () [0x00000] in <df3d4d1b88a54036b84e64e3d77196d7>:0
/supervisord: valheim-server NullReferenceException: Object reference not set to an instance of an object
/supervisord: valheim-server   at Console.Update () [0x00056] in <5a2a40741ab34a4fbe56a67fda3894e0>:0
/supervisord: valheim-server   at ZInput.GetButton (System.String name) [0x00000] in <df3d4d1b88a54036b84e64e3d77196d7>:0
/supervisord: valheim-server NullReferenceException: Object reference not set to an instance of an object
/supervisord: valheim-server   at UIGroupHandler.Update () [0x0009a] in <98f42f5c8bbc4ad38ddefbf5b1b7a0b1>:0
/supervisord: valheim-server   at ZInput.IsGamepadActive () [0x00000] in <df3d4d1b88a54036b84e64e3d77196d7>:0
/supervisord: valheim-server NullReferenceException: Object reference not set to an instance of an object
/supervisord: valheim-server   at Console.Update () [0x00056] in <5a2a40741ab34a4fbe56a67fda3894e0>:0
/supervisord: valheim-server   at ZInput.GetButton (System.String name) [0x00000] in <df3d4d1b88a54036b84e64e3d77196d7>:0
/supervisord: valheim-server NullReferenceException: Object reference not set to an instance of an object
/supervisord: valheim-server   at UIGroupHandler.Update () [0x0009a] in <98f42f5c8bbc4ad38ddefbf5b1b7a0b1>:0
...

I just tested on a fresh install and don't see any issues in the log. I'm running
Apr  9 18:12:52 /supervisord: valheim-server [Message:   BepInEx] BepInEx <IP_ADDRESS> - valheim_server (4/9/2022 6:10:27 PM)

Has your container auto-updated to BepInEx <IP_ADDRESS>?
Generally speaking this container automatically keeps everything up to date. Chances are valheim-server got an update that was incompatible with the current version of BepInEx and it took the BepInEx authors a couple of hours or maybe days to update their code base to work with the latest Valheim server changes. Once they fixed their code everything resolved itself.

In a fresh container I still see the errors when I reuse my /config and /opt/valheim directories I have stored outside Docker. The logs indicate the latest version of BepInEx is being used, perhaps the configs are outdated and didn't get updated in the update process? I don't really know what to do if that is the case.

I also had same error and managed to fix it by editing BepinEx.cfg file (location: valheim/BepInEx/config/BepinEx.cfg) and restored all settings to defaults. You could probably archive this by just renaming the file and restarting the container. It should recreate the file with defaults already set.


Add basic workspace details view

Also fixes truncation for the panel title

#335 is ready to be integrated with this whenever it is ready. Will be some merge conflicts but nothing major.

Thanks @BenElgar for taking the initiative on this. Sadly, I think you're going to conflict with a bunch of stuff @jwmza is working on!
@jwmza would you mind taking this over from Ben after you land your other process list changes?

Yeah @brandonbloom  I'll merge #335 first and then conform this PR & merge it as well, if @BenElgar doesn't have other plans for it :)


ci/ipsec: Fix version retrieval for downgrades to closest patch release

Julian reports that the IPsec upgrade/downgrade workflow still has a flake that we expected to be gone, now that the fix is released patch version 1.13.11. As it turns out, the workflow does not pick and downgrade to the latest patch release, but to the one before that, because the script would decrement the value found in file VERSION. We don't need this, VERSION already contains the last patch release that was published, not the one to come.
Fixes: 56dfec2f1ac5 ("contrib/scripts: Support patch releases in print-downgrade-version.sh")
Fixes: https://github.com/cilium/cilium/pull/28815
Cc @pchaigno just FYI

/ci-ipsec-upgrade

cc @cilium/sig-clustermesh , as .github/workflows/tests-clustermesh-upgrade.yaml is also using the script.

/test

cc @cilium/sig-clustermesh , as .github/workflows/tests-clustermesh-upgrade.yaml is also using the script.

Thanks for the ping! The clustermesh workflow is not strictly affected because it only tests downgrades to the previous minor version, not to the patch one.


Vizard unable to load my spacecraft OBJ models (since 2.1.6 or <IP_ADDRESS>)

Describe the bug
Vizard is stuck to "Loading custom model from .obj with OBJ importer", does not show my OBJ model and does not allow starting the simulation.
To reproduce
Here's a stripped-down version of my code:
viz = vizSupport.enableUnityVisualization(scSim,
        dyn_task_name,
        scObject,
        saveFile=f'{scenario_name}.bin',
        liveStream=False,
    )

viz.epochInMsg.subscribeTo(epochMsg)

threed_model: str = self.spacecraft_config['3d-model']
model_path = (Path(self.scripts_folder) / '3d-models' / threed_model).resolve()
simBodiesToModify=[self.spacecraft_config["name"]]
print(model_path, simBodiesToModify)

vizSupport.createCustomModel(viz,
                             modelPath=str(model_path),
                             simBodiesToModify=simBodiesToModify,
                             )

This will print /home/yzokras/git/tbx20bsk/tbx20bsk/res/3d-models/queen_bsk.obj ['QUEEN'], which allowed me to verify that the path to the OBJ file is correct, and that the simBodiesToModify name matches the spacecraft name.
Steps to reproduce the behavior:

Add module '...'
Simulate with the configuration '....'
See error

Expected behavior
Vizard displays the following message in the top right of the window: "Loading custom model from .obj with OBJ importer". Vizard does not show my OBJ model (and instead the default BSK Sat) and does not allow starting the simulation (the last part being expected according to the Vizard 2.1.6 release notes).
Whereas in Vizard 2.1.5 it worked as expected, the model was loaded nearly instantly.
Desktop (please complete the following information):

OS: Ubuntu
Version 24.04
Python version 3.11
Basilisk version 2.5.0 (but also seems to be the case with 2.2.0)
Vizard version <IP_ADDRESS> and 2.2.0

Additional context
When loading the OBJ model and adding it to my spacecraft via "View>Model Inventory", the model is properly loaded (nearly instantaneously). However, it is still not possible to start the simulation because Vizard still tries "Loading custom model from .obj with OBJ importer".
** Files to reproduce the issue**
Here are the .obj and the viz .bin files, although it's not super useful as the path to the .obj file is absolute.
viz_obj_issue.zip
Side notes
One more question barely related to this issue: it looks like Vizard expects an absolute path to the OBJ model. I tried with a relative path too but Vizard didn't find the model (either in 2.1.5, <IP_ADDRESS> and 2.2.0). Is it possible to have Vizard load OBJ from relative paths as well? Where the path would be relative to the viz .bin file.

Great, thank you so much for the swift fix!


chore: Upgrade the repository configuration

Update the configuration files with respect to the latest standards: checks, workflows, change log, and documentation build .

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

Project coverage is 95.87%. Comparing base (ff4e82b) to head (986ebbf).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #97   +/-   ##
=======================================
  Coverage   95.87%   95.87%
=======================================
  Files          19       19
  Lines        2160     2160
  Branches      233      233
=======================================
  Hits         2071     2071
  Misses         72       72
  Partials       17       17

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


Remove md5 and use xxHash128 for hashing algorithm in debug infos

#294
Hello, i have choosen xxHash128 which is a non cryptographical hashing function and stay with the lenght of 128 bits to match the previous output with md5.
You can view the difference in term of performance bellow
Before :
https://rapier.rs/demos3d/index.html
https://rapier.rs/demos2d/index.html
After :
https://pi-univers.fr/rapier.js/testbed3d/dist/
https://pi-univers.fr/rapier.js/testbed2d/dist/

I realize on the website, md5 is advertised, so we might want to update that too for consistency.
But consider this outside of the scope of this PR, as this is outside of this repository + decision validation

Thanks!

Hello, does it will be backported to the website demo ?

Hello, does it will be backported to the website demo ?

Eventually, yes :+1: , but there's no strict schedule on doing so.


Fix index typo

This could either be "check out Hugo's themes" or "check out the Hugo themes". I think the latter reads better.

This is a simple typo fix. Looks like I missed the CLA bot message and that might be why it's been sitting, sorry!


[BUG]Jimmer can not work with JPA

When Jimmer works with JPA, even if the repositoys of Jimmer and JPA are subcontracted and named differently, the error repository bean duplication is reported。
Steps to Reproduction

Add both JPA and Jimmer dependencies in pom.xml

        <dependency>
            <groupId>org.babyfish.jimmer</groupId>
            <artifactId>jimmer-spring-boot-starter</artifactId>
            <version>${jimmer.version}</version>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-data-jpa</artifactId>
        </dependency>

write jimmer entity

@Entity
@Table(name = "products")
public interface Product {
    @Id
    int id();

    @NotNull
    String name();

    double price();

    @NotNull
    LocalDateTime createTime();

    @NotNull
    LocalDateTime updateTime();
}

write jimmer repository

public interface ProductRepository extends JRepository<Product, Integer> {
}

there are project dirs

![image](https://github.com/babyfish-ct/jimmer/assets/26754622/f24fd167-2163-4a81-a9b8-5c25fd467b78)

run application and get this error

***************************
APPLICATION FAILED TO START
***************************

Description:

The bean 'productRepository', defined in com.example.jimmerwithjpa.repository.jimmer.ProductRepository defined in @EnableJpaRepositories declared on JpaRepositoriesRegistrar.EnableJpaRepositoriesConfiguration, could not be registered. A bean with that name has already been defined in com.example.jimmerwithjpa.repository.jimmer.ProductRepository defined in @EnableJimmerRepositories declared on JimmerRepositoriesRegistrar.EnableJimmerRepositoriesConfiguration and overriding is disabled.

Action:

Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true

I'm absolutely sure that there is no repository with the same name in the project, and it starts successfully after removing the jpa dependency.

Cannot be reproduced in both SpringBoot-2.7.0 and SpringBoot-3.1.1


don't strip out custom properties, filter them as a option

It would be great if geojson-tidy had an option to keep properties and accept a array of properties to filter together with coordinates.
Also it would be nice that it would follow naming from W3C specs:
geometry.coordinates;
properties.timestamps;
properties.headings;
properties.accuracies;

Closing in favor of #6 and reiterating that W3C specs do not apply to GeoJSON.


[Bindings] Add missing derivative and multiplier commands

Add missing Java and Python bindings for getting/setting derivatives and multipliers.
Fixes issue reported by @rosshm16 on the user forum.
Brief summary of changes
Added to Java/Matlab bindings:

setDerivative()
getDerivativeMat()
getMultipliersTrajectoryMat()
getDerivativesTrajectoryMat()

Added to Python bindings:

setDerivative()
Updated tests

CHANGELOG.md (choose one)

[x] updated
[ ] no need to update because...

This change is

Should there be corresponding test changes for MATLAB too?


Feat/enable cloud io

Description

Motivation and context

Resolves #1072
How has this been tested?

Change log

Added upport for reading input files (ex yaml, sdf, pdbs) from AWS, GCP, and Azure. See the documentation for [cloudpathlib](https://cloudpathlib.drivendata.org/stable/authentication/) for how to setup authentication. Currently only reading the yaml from S3 is unit tested (ie `perses-cli --yaml s3://perses-testing/template_s3.yaml`), but other cloud providers and input files should work. Please report any issues on our issue tracker!

@ijpulidos I've updated the comment for the issue tracker if you want to give that a look as well.


Create 0000-01-02-farouk-allani.md

changes that have been made are nearly perfect

this is a comment


[#192] support multiple hosts for the PEM case

Add support for multiple hosts to be exposed via an ingress when the user selects several replicas. Each pod gets exposed and has its own url to get connected to.
The connectivity helper shows the url of the currently selected pod.
fixes #192

@gaohoward I had to rebase the PR, can you give it another check please?


Version 20H2 19042.1237 Not listening [Not supported]

Edition	Windows 10 Home
Version	20H2
Installed on	5/21/2021
OS build	19042.1237
Experience	Windows Feature Experience Pack 120.2212.3530.0
Wrapper state: Installed ver. RDP Wrapper Library v1.6.2
Listener state: Not listening [Not supported]
RDP checker Socket Connection Failed.

[10.0.19043.1237]
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=89D81
LocalOnlyCode.x64=jmpshort
SingleUserPatch.x64=1
SingleUserOffset.x64=0CB26
SingleUserCode.x64=Zero
DefPolicyPatch.x64=1
DefPolicyOffset.x64=19105
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x64=1
SLInitOffset.x64=1E98C
SLInitFunc.x64=New_CSLQuery_Initialize
[10.0.19043.1237-SLInit]
bInitialized.x64 =107108
bServerSku.x64 =10710C
lMaxUserSessions.x64 =107110
bAppServerAllowed.x64 =107118
bRemoteConnAllowed.x64=107120
bMultimonAllowed.x64 =107124
ulMaxDebugSessions.x64=107128
bFUSEnabled.x64 =10712C
以上放到rdpwrap.ini文件后，重启就可以了

Duplicate of https://github.com/stascorp/rdpwrap/issues/1509

#1509 is for r Windows 10 Version 21H1 for x64-based Systems (KB4023057)
10.0.19041.1081 and 10.0.19041.1202.
MInes is different. Does that matter?

MInes is different. Does that matter?

Yor Windows version doesn't matter. Version of termsrv.dll matter.
Attach the screenshot of rdpconf. Is it shows 19042.1237?

So, as you can see - your termsrv.dll version is 1202, as i said you here

So, as you can see - your termsrv.dll version is 1202, as i said you here

Thanks. After I append. What do I do?

So, as you can see - your termsrv.dll version is 1202, as i said you here

Thanks. After I append. What do I do?

You should to add the offsets to your rdpwrap.ini or replace whole file.
Better way to use autoupdate.bat or my modded version of rdpwrapper.
See official Telegram or my discord to have always working offsets
https://github.com/sebaxakerhtc/rdpwrap.ini/commit/7274f1a40f3293d21ed3383d1740e8b428fcae39#diff-9e5bbfbeae79b59b305dda13323ba2b041f30f4887a84120392c479e1f7bba33


revision of the memory subsystem initialization

Especially with a C-base user space the subsystem doesn't align GDT/IDT correctly. In addition, the initial page table wasn't correctly initialized and triggers sometimes page faults.

I merged Jens' changes. He seems to agree that this PR could be merged.

bors r+