Get Undo/Redo working

This first MVP should include

At least CTRL-Z + CTRL+SHIFT+Z should work (proper OS-specific shortcuts are stretch)
Main state changes should be revertable if possible (deleted objects are stretch)

Shortcuts work and editable elements (editbox / codearea) support undo/redo.


html encode ascii

in the clonesf.py file has line 23:  "new_html.write(html.encode('ascii','ignore').Decode('ascii')" would it be possible to change the encoding of the page because in ASCII it does not take accents into account?


Correct required lib for virtualalloc2

Required lib was wrong. I have no idea whether the dll is correct.

@BarabasGitHub : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Happy to help!


Move swift-bindings into libx10.so

Should we remove the x10_c_wrappers target from the cmake script then?

done.

@googlebot: rescane


update

Hey @priyanshusingh305 , thanks for your contribution!
Have merged your PR.
Don't forget to follow me or this organization for future updates to this repo. Thanks and take care 😄


Where can I find the Deployments API?

Hello,
I try to use Deployments, but can't find the right subpackage?
I'm really confused about which package implements which set of APIs. Where are the extension, alpha and beta  API-Objekts implemented?
When should I use:
/kubernetes
/ai
/api/v1
/unversioned
/rest
Thank your very much!

Deployments are under pkg/apis/extensions/v1beta1.
/kubernetes includes the clients, they depend on the API objects defined in pkg/api/v1 and pkg/apis/XXX/vY and pkg/api/unversioned. I think it will be your entry point when writing code, because you will use this package to talk to the api server.
pkg/api and pkg/apis/ are for internal versions of objects, used by kubernetes API server. In theory, they should NOT exist in the client-go repo, but because our api machinery is closely tangled with them, we cannot get rid of them at the moment.
You should be using the versioned API, e.g., objects defined in pkg/api/v1 or pkg/apis/extensions/v1beta1, etc.
In kubernetes 1.6, pkg/api/unversioned will be refactored to follow the same versioning machinery. Tracking issue is https://github.com/kubernetes/kubernetes/pull/36121.

@caesarxuchao : Thank you very much. You really helped me!
Maybe this information should be in the readme. I could imagine that I'm not the only one who struggles with the package structure.


pre formatting deleted when applied

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

I’m closing this issue because it has been inactive for a few months. This probably means that it is not reproducible or it has been fixed in a newer version.
Please reopen if you still encounter this issue with the latest stable version. You can also contribute directly by providing a patch. :)
Thank you!


Add coverage bage

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@6e4f701). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             main        #8   +/-   ##
========================================
  Coverage        ?   100.00%
========================================
  Files           ?         2
  Lines           ?        27
  Branches        ?         0
========================================
  Hits            ?        27
  Misses          ?         0
  Partials        ?         0

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 6e4f701...fa8113f. Read the comment docs.


Clicking links in calendar events causes the calendar tab to go blank

Reproduction steps

use this extension
create event in proton calendar with a link in either the location or description field  (such as a zoom link)
open the calendar event and click the link
if prompted, click confirm on the dialog box asking if you are sure you want to open the link

Expected behavior:
the addon will detect the link being opened and trigger the system link handler to open the link in the users default browser
Actual Behavior:
The addon tab seems to go blank and freeze up
Proton Calendar Toolbar Button 1.1
Thunderbird 115.11.0 (64-bit)

dove pretty deep with this. seems like Proton is doing something... different.... with how they handle link clicks on that confirm button of their modal (seems like theres security reasons behind it). Theyre essentially constructing an <a> tag in JS and calling .click() on that, so its hard to intercept.
Also they seem to be using React or something, which apparrently doesnt have a devtools extension for thunderbird so thats fun.

it appears as though the Proton's webapp is going all blank screen because it tries to access Services.dirsvc.get("ProfD", Ci.nsIFile); (seems to be something for getting the profile folder) but for some reason it fails with the error NS_ERROR_FILE_NOT_FOUND: Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIProcess.init] at the time proton goes to use it (but seemingly running that in the console at other times seems to return a result just fine)

changing the confirm button on the link confirmation dialog box from type="submit" to type="button" seems to make it do nothing. so maybe thats a clue about how this is all working (it seems to be using <dialog> somehow)


Per-site "experimental-site-" setting for rooms.yml

In rooms.yml under msg_types:

Change experimental to experimental-all-sites, which indicates that reports with only experimental reasons will be sent to the room for all sites.
Add experimental-site-<site domain> (e.g. experimental-site-stackoverflow.com). This is similar to the format of the site-<site domain> entries which already exist.
Change all to all-sites, so it's clearer the setting indicates the room accepts reports for all sites. "All sites" is the current actual meaning of all. Unfortunately, all within msg_types could be interpreted in various ways. Personally, when I see just all, I assume it means that the room should receive every single chat message type, not that it means just "all sites".

Implements #3768

Looks very straightforward to me. Thanks in particular for the added comments.


Go-no-Go Mainnet 1.4.3

Mainnet Release Acceptance Criteria.
Please go though the release acceptance criteria (here) for the upgrade of v1.4.3 to the mainnet of the Casper network.

Mainnet Release Acceptance Criteria.
Please go though the release acceptance() criteria for the upgrade of v1.4.3 to the mainnet of the Casper network.

CasperHolders is updated and live for 1.4.3

Civic confirmed : "we are using Casper-js-sdk v2.7.3. This is the only casper library we are using."

Metacask confirmed "Ready, on 2.7.x"

Make Software and CSPR.live are ready for 1.4.3


Refactor loader clean api

Changelog Description
The goal is to define a clean and unified API for the loaders. The main idea is to split pure blender operations, like dealing with the datablocks, and OP operations, like containerization.
Most of code changes is about structure and not about logic, so don't dig into the detailed behaviour of moved functions, as they've been refined since a long time. The expected review is mostly about clarity of the structure, functions' purpose...
The only changed function's logic is _load_library_as_container.
Currently it deals only with the Blend files, other formats loaders currently supported by OP (fbx, abc...) will be dealt with in a following PR.
datapath has been renamed to datacol to be more explicit, as it is about the blender collection concept (close to a list).
Testing notes:

Start from empty scene
Regular loading usage for base geo families : Model, Rig and Setdress mainly

During load error happened on Subset: "setdressMain" Representation: "blend" Version: 5

Error message: getattr(): attribute name must be string

Traceback (most recent call last):
  File "/home/sharkitty/work/normaal/repos/openpype-for-normaal/openpype/tools/loader/widgets.py", line 1590, in _load_representations_by_loader
    load_with_repre_context(
  File "/home/sharkitty/work/normaal/repos/openpype-for-normaal/openpype/pipeline/load/utils.py", line 308, in load_with_repre_context
    return loader.load(repre_context, name, namespace, options)
  File "/home/sharkitty/work/normaal/repos/openpype-for-normaal/openpype/hosts/blender/api/plugin.py", line 276, in wrapper_exec_process
    return process_func(*args, **kwargs)
  File "/home/sharkitty/work/normaal/repos/openpype-for-normaal/openpype/hosts/blender/api/plugin.py", line 648, in load
    container, datablocks = self.load_library_as_container(
  File "/home/sharkitty/work/normaal/repos/openpype-for-normaal/openpype/hosts/blender/api/plugin.py", line 1111, in load_library_as_container
    return load_func(*args, **kwargs)
  File "/home/sharkitty/work/normaal/repos/openpype-for-normaal/openpype/hosts/blender/api/plugin.py", line 974, in _link_blend
    container, all_datablocks = self._load_blend_datablocks_as_container(
  File "/home/sharkitty/work/normaal/repos/openpype-for-normaal/openpype/hosts/blender/api/plugin.py", line 930, in _load_blend_datablocks_as_container
    datablocks = load_blend_datablocks(
  File "/home/sharkitty/work/normaal/repos/openpype-for-normaal/openpype/hosts/blender/api/utils.py", line 611, in load_blend_datablocks
    loaded_datablocks = list(getattr(data_from, data_collection_name))
TypeError: getattr(): attribute name must be string

Failed to load AuntieCuisine_004_B_JOUR setdress v005.

@Sharkitty This bug is because your setdress loader is overriden and tries to load the World type. Either you disconnect your normaal addon or comment the bl_type frow the LinkWoollySetdressLoader

@Sharkitty This bug is because your setdress loader is overriden and tries to load the World type. Either you disconnect your normaal addon or comment the bl_type frow the LinkWoollySetdressLoader

It's as I suspected. Then the issue I encountered is not related to this PR. All other tests passed for me.


Language change

First of all to congratulate you for the great initiative that has been taken, recently I walked that not crazy looking for open source projects, and here in Angola almost nothing is found (as far as I could get).
But precisely because it is an Angolan community, perhaps we could rethink the language we are using. English is an international language, yes. But maybe we should really change the language to Portuguese because of "globalization here."
However, if English is kept, we will still be here to contribute, thanks!

Hello @euotiniel sounds interesting. I am moving this to discussion so that we can talk about it further.


⚠ Bofrost.de has degraded performance

In 2c8fd2b, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2246 ms

Resolved: Bofrost.de performance has improved in ad4212d after 8 minutes.


Add callback function for poll events to client api

This PR addresses the issue raised, https://answers.launchpad.net/libdrizzle/+question/233212,
in which the removal of event_watch_fn meant that a client could no longer
suscribe to and get notified about poll events

LGTM

Generally LGTM but perhaps it would be best to add an entry to the release notes about this change.

Agree on https://github.com/sociomantic/libdrizzle-redux/pull/5#issuecomment-162860691
though should the first "release" simply be the officieal libdrizzle redux v5.1.4

You can assume the official v5.1.4 was already released and call next release v5.2.0 for example, so the release notes includes all changes between the official v5.1.4 and v.5.2.0.

ping @andreas-bok-sociomantic once this has the release notes I am happy to rebase it.

@ben-palmer-sociomantic, added release notes.

Added documentation for drizzle_set_event_watch_fn to the libdrizzle manual

Apart from my comment about the whitespace seems to be looking good, can you squash together any commits that need it before I rebase?

Squashed commits. Left whitespace fix out of this commit to keep the history more clean.

LGTM, @mathias-baumann-sociomantic any other comments?

No comments.

This pull request has been rebased via git hub pull rebase. Original pull request HEAD was 7ad230ede5dab4b56fe066be384a966a28553447, new (rebased) HEAD is 0034b383f72f15c340c94a8b6ed8e1ebd0d12715


Establish best practice for re-weighting sentinel-bound symbols

Hansel relies on pairwise data, but we throw away perfectly reasonable (and important) information about sequences of symbols if we discard reads that cover just one symbol. A recent patch to Gretel now adds a sentinel symbol for all observations that fall on the end of a read, but these are never reweighted because a sentinel is never permitted to be on a path.
To counter-act this I've added a pretty naive check to make sure sentinel information is reweighted somewhat too.

I've dropped sentinel support for now, so this is moot


keybase / Github / Stellar

To participate to xlm rewards on Keybase, my Github accompt is unreachable to validate it.
I've opened my  Github accompt on May 21, 2019 so before 9/9/19 and Keybase don't find it.
Why? because that i can jointhe Airdrop!!!

that's working !!!! thanks


Move the project up a directory (to www) for friendlier access

I thought this might actually be a little bit nicer to use. This moves the whole project up into the www directory, leaving json.cgi in the cgi-bin directory. Also renamed switcher.html to index.html. So now you need only browse directly to the address of the switch (without the ugly cgi-bin on the end). Also keeps the rest of the files out of a directory that can execute things.
@mattjoyce Can you review and merge this please?  :smile:

Merged so I can keep working on it this evening  :smile:

yup, makes sense.  all good.


Authentication breaks when accessing JSM issue without permission

We conducted an experiment to test the behavior of user permissions on Jira Software (JSW) and Jira Service Management (JSM) projects on MS Teams. We found that when the user “vwong-sd-demo” was part of the “jira-software-users” group, we are able to edit the issue SCRUM1-10 in MS Teams.
However, when the same user was not a licensed JSM user, we were not able to edit the issue ITSM1-10 in Teams, which was the expected behavior (due to lack of permission), but we get in an infinite loop of Teams asking for authentication.

The following was confirmed by @vhensorskyi:

If the user is not a member of jira-servicedesk-users an infinite loop of the login page or the unhandledRejection error appears. Depending on what role is assigned to the user.
if the user belongs to the group but doesn’t contain any role in the project the unhandledRejection error shows on the task module.
if the user belongs to the group and either Service Desk Team or Administrator role is applied then user is able to edit issues in MS Teams.

Issue has been fixed and now permissions should be handled properly for Jira Service Management projects.
If user do not have an access to the project and proper license we will show the next screen if user is trying to edit ticket

If user has an access to the project, but do not have JSM license  fields will be disabled:

If user has an access to the project and proper license:


chore: remove the text-based long file linter

It is superseded by the longFile syntax linter now.

[x] depends on: #15610

bors merge


adding users.getPresence method

More info about users.getPresence method on https://api.slack.com/methods/users.getPresence

Check are failing because of guzzle 6.0, everything works fine with 5.3.0.

@carsso Sorry for the late reply. I will be checking guzzle compatibility asap and merge your PR after that.

Could you rebase this PR? I've merged some other PRs today that made the ApiClient work with v6, so if you can make yours compatible with that I can merge this one too.

done ;)

@carsso Awesome thanks again!


fix: dep update

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


How to implement HTTP/1.1 long-poll responses?

Hi, I'm trying to implement a long-poll endpoint (a-la Server-Sent Events) but I can't seem to be able to figure out how to flush each individual response chunk. Using Response::channel()'s send_data appears to buffer data until the Sender is dropped (or buffer full).
What would be the best way to implement this?

hyper will automatically flush the write body data. Is it possible the chunks are tiny and Nagle's is slowing down the flush?

I don't think that's it... I have tcp_nodelay set to true. Even so, I see no bytes on the client side until I send multiple chucks of 1000 bytes (even over several seconds -- the delay doesn't matter). I can provide a short example later tonight.

Here's a stripped down demonstration of the issue: https://github.com/pnehrer/hyper-flush-demo
On nightly toolchain:
RUST_LOG=debug cargo run
Then curl -i localhost:3000/ and in another terminal:
(for i in {0..400}; do echo -n<PHONE_NUMBER>; done) | curl -i localhost:3000/ -d @-
You should see content in first terminal only after running the second curl at least twice (I asume to fill the 8k buffer?). You will also see the remaining buffered content when terminating the process.

Ah, I think you might be seeing an issue due to a different problem: the Body::channel uses a channel with only 1 buffer slot, and you're calling sender.try_send_data, which won't wait for the channel to have a free slot.
Consider: (for i in {0..400}; do echo -n $i; done) | curl -i localhost:3000/ -d @-. Depending on the order that the tasks are scheduled, you may have not receive all 400 numbers.
To fix your example, you try a few things:

Use tx.send_data(chunk).await, which will wait until there is space in the body channel. However, since you have a lock on the mutex, you'll likely start to see problems at scale.
Create a channel with a bigger buffer. This would solve some of the issues, though you'd still need to accept that if the client isn't reading on the TCP stream, eventually some events would need to be lost (unless you used an unbounded channel, I suppose).


[BUG]: Use get_user_model function on backends.py

Description of the bug
Currently models.Wallet is used in backends.py, but if AUTH_USER_MODEL is a customized model the authenticate function doesn't work.
Steps To Reproduce

Additional Information
https://github.com/giovaborgogno/siwe-auth-django/blob/664b3b38a099fa243f9acc770f0c4037e0895de1/src/siwe_auth/backends.py#L105-L114
+ from django.contrib.auth import get_user_model
# ...
+ WalletModel = get_user_model()

# ...

-     try:
-         wallet = models.Wallet.objects.get(ethereum_address=siwe_message.address)
+     try:
+         wallet = WalletModel.objects.get(ethereum_address=siwe_message.address)
# ...
-     except models.Wallet.DoesNotExist:
-         wallet = models.Wallet(
+     except WalletModel.DoesNotExist:
+        wallet = WalletModel(
# ...

Resolved in develop branch waiting for new release.


Duane/nosshkeys to nokeys phase 2

Finalize the nosshkeys to nokeys rename project.
(I guess I forgot to submit this PR before because it was still in my sandbox)

I'm confused. Isn't this already in main? I think it was this PR that added it:
https://github.com/vertica/vertica-kubernetes/pull/359
Maybe main on your fork is stale?

I'm confused. Isn't this already in main? I think it was this PR that added it: #359
Maybe main on your fork is stale?

Why is it showing changes from my fork to main?  Was my change reverted?  I think it's just my misunderstanding, so I will probably just retract this PR once I figure it out.


Support CHEBI

http://www.ontobee.org/ontology/CHEBI

Note that CHEBI is a subset of PubChem (#20)


GEODE-9418: Add Rolling Upgrade Tests for Tomcat 9

We have these tests for Tomcat 8, but never added them for Tomcat 9.
Some warnings were fixed in these tests, but larger improvements and refactors will be covered in a different ticket (GEODE-9423)

this PR appears to be abandoned, can it be closed?

Closing this out due to age.


[Metrics] ROUGE

🚀 Feature
Implement ROUGE

@SeanNaren you could take this at some point, as you already have a working implementation relying on https://pypi.org/project/rouge-score/

Copy implementation from here:
https://github.com/PyTorchLightning/lightning-flash/blob/master/flash/text/seq2seq/summarization/metric.py

A word of caution, the PyTorchLightning implementation of Rouge does not give the same results as the original PERL script. See here: https://github.com/google-research/google-research/issues/239. We also encountered this issue internally at Facebook.

@ananyahjha93 any update here? :rabbit:

@Borda if I am not wrong, @karthikrangasai would like to work on this issue when his Bleu PR has landed

@SkafteNicki yeah sure. I would like to work on this issue.


danish extension breaks cspell

When I enable the danish dictionary everything in the spell checker stops working for all enabled dictionaries, this does not happen if I try any of the other dict extensions, eg. I tried using the dutch dict and that does not stop cspell from working. I've tried with both "da" and "da-DK", am I maybe doing something wrong?

Thank you. I'll take a look.

I believe the issue has been fixed. Would you please update the extension and try again?

Works as intended now, thank you very much.


image format upgrade

Currrently the forensic image format uses an index file to figure out where the frames start, this index allows the seek/find functionality within the lz4 compressed portion.
I need to move the index file elements into skippable frames, so it is all contained in the image. This will be need to be implemented in the imager, fuse, and verify tools.
Also, i use the sector size to create the image, and i need to use a larger size, called blocksize and make it a multiple of the sectorsize, so maybe 10,240 (20*512) or some number for a larger blocksize for more efficient images. i will have to work on what to do when errors are encountered if i do this method.

upgrade image format to include the index file using the skippable frame of lz4. wombatimager works, wombatinfo, wombatverify, and integration with wombatforensics works. wombatfuse is almost there it appears to display all the content, but the hash doesn't come out correctly.
when i manually convert the wfi to lz4 and then use lz4 to decompress, the hash of the raw file works properly.

look into seeing if i can build the frame list on my own and bypass the skippable frame.

removal of skippable frame works. image format has been updated as has all the other tools and the only issue is still with wombatfuse, which doesn't seem to display all the content, i think the last 65536/2 bytes or so, so i need to investigate this and get it working, then the wombat forensic image and its tools will be ready for the v0.1 release and i can get back to getting v0.4 of wombatforensics finished and out the door.

tools are updated.


incompatible types: int[] cannot be converted to int n

For this error we need to convert
int n = new int[10];

into
int n[] = new int[10];

But autocompiler just writes second char as 'n'

I'm thinking following way for doing it
//get all the errors which are not expected errors.
List<Tuple<String>> otherErrors = list.stream()
        .filter(e -> !e.getThird().endsWith("expected"))
        .sorted(Comparator.comparing(Tuple::getSecond))
        .collect(Collectors.toList());
    // then manually handle them
        for (Tuple<String> tuple : otherErrors) {

            String error  = tuple.getThird();
            if(error.equals("incompatible types: int[] cannot be converted to int n"))
            {
                //manually handle the case when square bracket is missing
            }
        }

@tauseefansari  Any Ideas ?

I have tried to replace n with new int[] and try with a new file
But it won't works for me 😔

We need to handle it manually ! so parse the line then put the [] then it will work .

I have solved it .

Steps I have done

RandomReader class which return nth line from the file (thanks to @tauseefansari )
RandomWriter class with a method to write at nth line in file
comment the error line (@Afif79 )
append the [] to stringBuffer .insert then writer the line to the original source file.

Solved !

See my latest commit


Expand System.tmp_dir!() path by default

Since System.tmp_dir!/0 on Windows returns the path with backslashes instead of
frontslash it is piped to Path.expand/1 to normalize it to frontslashes.
This fixes autosave errors on windows.

Thanks!


[$250] mWeb - Tag - Without parent, if child category is entered it is displayed after lot of space

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

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

Go to https://staging.new.expensify.com/
Tap profile icon - workspaces - workspace
Tap category -- add a category
Enter : 3 and save it
Navigate to LHN
Tap workspace chat
Tap plus icon - submit expense
Enter an amount and tap next
Tap show more
Tap category

Expected Result:
Without parent, if child category is entered it should not be displayed after lot of space in dropdown
Actual Result:
Without parent, if child category is entered it is displayed after lot of space in dropdown
Workaround:
Unknown
Platforms:

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

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

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/user-attachments/assets/24fbdcf9-31ad-4ed3-b643-d6721b8dbb1a
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01bb005751f09bf94d
Upwork Job ID:<PHONE_NUMBER>766091276
Last Price Increase: 2024-07-29

Issue OwnerCurrent Issue Owner: @hoangzinh

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

We think that this bug might be related to #vip-vsp

Proposal
Please re-state the problem that we are trying to solve in this issue.
If we have colon (:) in the name but not text before colon, example -  : category we are getting extra space in categories list
What is the root cause of that problem?
We are using getCategoryOptionTree function to build the category tree. This function uses colon as separator between parent and child.
It uses split method to distinguish between child and parent,
Example - Parent : children.
If we give string - : children it will take empty string as parent and a hierarchy as well. This results in empty space.
https://github.com/Expensify/App/blob/fa738c641e7d2b289850da7b4be11369c33b96d6/src/libs/OptionsListUtils.ts#L1109-L1130
What changes do you think we should make in order to solve the problem?
We shall add check for valid parent in the same function.
Similar to this ->
...
 option.name.split(CONST.PARENT_CHILD_SEPARATOR).filter(optionName => optionName.trim().length > 0).forEach((optionName, index, array) => {
...

We will filter out all empty strings and only get correct nodes in the tree.
This solution works for multiple empty colons.
https://github.com/user-attachments/assets/bf9d85dc-4f88-47b9-a046-610fa9d9468a
There is one question from my end -

If we have something - Parent: : : : : children then what should be considered?

What alternative solutions did you explore? (Optional)

Proposal
Please re-state the problem that we are trying to solve in this issue.

Without parent, if child category is entered it is displayed after lot of space in dropdown

What is the root cause of that problem?

When we has a category named : child, this function:
https://github.com/Expensify/App/blob/f3a8f736208166286e6f7da3562f1503d5ef2a3d/src/libs/OptionsListUtils.ts#L1088
will return something like:

[
   {
      "text":""
   },
   {
      "text":"    child"
   }
]

So in category picker, there is a option with empty name as the behavior of this bug.

What changes do you think we should make in order to solve the problem?

In OldDot, we do not display the category option if its name is empty:

We should do it in NewDot by updating this:
https://github.com/Expensify/App/blob/f3a8f736208166286e6f7da3562f1503d5ef2a3d/src/libs/OptionsListUtils.ts#L1132

What alternative solutions did you explore? (Optional)

Proposal
Please re-state the problem that we are trying to solve in this issue.
Category with parent:child pattern but the parent is empty is still shown as a parent-child structure in the categories page which shows an empty row and an indented child.
What is the root cause of that problem?
The current code simply splits the name with a colon (:), so if we split (:child), the result will be ['', 'child'] and the empty string will be the parent of 'child'.
https://github.com/Expensify/App/blob/e3ebeffb55c2a20ee890061f23e3e0f37d32290e/src/libs/OptionsListUtils.ts#L1109-L1129
What changes do you think we should make in order to solve the problem?

We can use a non-regex or a regex solution.
Non-regex solution:
For non-regex solution, we split the name with a colon first. Then, we check if there is an empty string from the split result. If there is an empty string, then we process the category name as it is without creating the parent-child structure. Otherwise, we use the split-ted result.
const optionNames = option.name.split(CONST.PARENT_CHILD_SEPARATOR);
const names = optionNames.some(optionName => !optionName) ? [option.name] : optionNames;
names.forEach((optionName, index, array) => {

Regex solution:
For regex solution, we test the category name first whether it follows the parent:child pattern or not. If yes, then we split it, otherwise, we use the full category name.
const optionNames = /^[^:\s]+([^:]*:[^:]*[^:\s]+)+$/g.test(option.name) ? option.name.split(CONST.PARENT_CHILD_SEPARATOR) : [option.name];
optionNames.forEach((optionName, index, array) => {

This is harder to understand because of the regex. The regex will match if the first few characters are anything other than colon or whitespace. Then, followed by a colon which the before and after colon can be anything other than a colon. Ends with anything other than colon or whitespace.

Yeah I think that's how we should move forward - the indent to show it's a child-category, but remove the spacing from the top.
Happy to consider alternatives if you have any in mind.

Extension to my proposal above
Proposal
Please re-state the problem that we are trying to solve in this issue.
If we have colon (:) in the name but not text before colon, example -  : category we are getting extra space in categories list
What is the root cause of that problem?
We are using getCategoryOptionTree function to build the category tree. This function uses colon as separator between parent and child.
It uses split method to distinguish between child and parent,
Example - Parent : children.
If we give string - : children it will take empty string as parent and a hierarchy as well. This results in empty space.
What changes do you think we should make in order to solve the problem?
as @VictoriaExpensify Mentioned that we want to have space to indicate that it's a child. We can add following logic -
        const track = option.name
            .split(CONST.PARENT_CHILD_SEPARATOR)
            .reduce(
                (acc, child) => {
                    if (child.trim().length === 0) {
                        acc.emptyCount += 1;
                        return acc;
                    }
                    const addSpace = acc.emptyCount > 0;
                    const effectiveChild = addSpace ? `${CONST.INDENTS}${child.trim()}` : child.trim();
                    acc.vals.push(effectiveChild);
                    acc.emptyCount = 0;
                    return acc;
                },
                { emptyCount: 0, vals: [] },
            )

also if we want to show the indent we will need to make change here as well -
https://github.com/Expensify/App/blob/df69c80229acdc510064d2671e2fdde8095a93a7/src/components/SelectionList/RadioListItem.tsx#L25
remove the check for isMultilineSupported
If we have empty string between colons, that will count for adding indent.
https://github.com/user-attachments/assets/3795e9b3-9eb8-458b-8538-1b6d183fdc4d
@VictoriaExpensify @hoangzinh But there's a catch with adding indent approach,
in case of sorting, if our category comes below the category with parent: child, it will look as child of another parent.
example -
In the shared picture, child is different category but it's showing as child of 1->2.

What alternative solutions did you explore? (Optional)

Decided we'd do nothing here, closing.


Removes all the workbox documentation and redirects to the new docs.

What's changed, or what was fixed?

Removes all Workbox content from d.g.c.
Redirects /web/tools/workbox/ to the new workbox docs.

Target Live Date: 2022-05-25

[ ] This has been reviewed and approved by (@jeffposnick, @petele).
[x] I have run npm test locally and all tests pass (@malchata).
[ ] I have added the appropriate type-something label (@jeffposnick, @petele).
[x] I've staged the site and manually verified that my content displays correctly (@malchata).

CC: @petele, @jeffposnick

@jeffposnick, I added redirects for the following URLs:
/web/tools/workbox/reference-docs/v5
/web/tools/workbox/reference-docs/v4
/web/tools/workbox/reference-docs/v3
/web/tools/workbox/reference-docs/v2

Are there any others I missed?


Terminal Console Not Working in Visual Studio Code - Exit Code:<PHONE_NUMBER>

Hi team,

Run down of issue
I am currently coding a Discord Bot and had not seen this error until about a month ago which was when it showed the first time (unfortunately that's how long I have been trying to research and troubleshoot this issue).
I at first thought it was possibly an issue with my code within my scripts so I reverted all files and the folder to before I got the error and it somehow still shows the error message, additionally I have followed several help articles, google searches and even a list of issues already posted about this type of issue and nothing seems to work or fix the issue.

As I have been unsuccessful in resolving this issue on my own, I am now requesting your assistance to resolve this.
I have attached an image below of the error message along with other information that I thought you might need.
Please let us know if you require any more information and if so, what you would like me to provide.
Issue Type: Performance Issue
This issue when happened when going to "Terminal" and clicking "New Terminal".
It opens the Terminal displaying this message:
Windows PowerShell terminated with the following error:
 Could not load file or assembly 'System.Management.Automation, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The module was expected to contain an assembly manifest.

Which a split second later it closes and shows the pop up window saying:
The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe" terminated with exit code:<PHONE_NUMBER>.

VS Code Information
Version: 1.64.2 (system setup)
Commit: f80445acd5a3dadef24aa209168452a3d97cc326
Date: 2022-02-09T22:02:28.252Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19044
No Extensions Installed or Active.

List of file extensions used

File Extensions

node_modules

.gitattributes

.gitignore

.png

.json

.js

.md

Error Image

As you can see in the image it talks about some type of System.Management.Automation failing to contain an assembly manifest which I am unsure of.

Computer/System Info

Item
Value

OS Name
Microsoft Windows 10 Pro

Version
10.0.19044 Build 19044

Processor
AMD Ryzen 5 2600 Six-Core Processor, 3400Mhz, 6 Core(s), 12 Logical Processor(s)

GPU
NVIDIA GeForce RTX 2060

Total Physical Memory
16.0 GB (6.31 GB Available)

Total Virtual Memory
34.0 GB (17.3 GB Available)

I have found and tried to follow all the below articles/issue reports for help plus documentation and googling online for more but nothing seems to have worked thus far;

https://github.com/microsoft/vscode/issues/114830
https://github.com/microsoft/vscode/issues/113268
https://github.com/microsoft/vscode/issues/109927
https://github.com/microsoft/vscode/issues/109342
https://github.com/microsoft/vscode/issues/106838
https://github.com/microsoft/vscode/issues/107371
https://github.com/microsoft/vscode/issues/113440
https://github.com/Microsoft/vscode/issues/57803#issuecomment-449495423

Please let me know if I need to provide anything and if so, what you would like me to provide.
Thanks for your help in advance, look forward to your support.

Apologies about the 3 edits, It somehow posted before I was ready to post it.
Still requiring assistance.

Does it work if you launch PowerShell directly? (Run -> powershell.exe)
Does it work in an old version of Visual Studio Code? (You can download them from release note page on https://code.visualstudio.com)

Does it work if you launch PowerShell directly? (Run -> powershell.exe)
Does it work in an old version of Visual Studio Code? (You can download them from release note page on https://code.visualstudio.com)

Hi @yume-chan,
Thanks for your reply, I have just attempted to open powershell by itself and is not working, it's in fact immediately closing.
I will see first if maybe a uninstall of powershell, a restart of my computer and then a re-install of powershell will fix the issue.
Will update this issue once I have done the following and have an update.

Does it work if you launch PowerShell directly? (Run -> powershell.exe)
Does it work in an old version of Visual Studio Code? (You can download them from release note page on https://code.visualstudio.com)

Hi @yume-chan, Thanks for your reply, I have just attempted to open powershell by itself and is not working, it's in fact immediately closing. I will see first if maybe a uninstall of powershell, a restart of my computer and then a re-install of powershell will fix the issue.
Will update this issue once I have done the following and have an update.

Hey @yume-chan,
I have initially attempted to reinstall PowerShell, which was unfortunately unsuccessful on the first attempt, though on the second attempt after a restart of the computer it seemed to have worked, though the issue still persisted where the PowerShell Window would show but instantly close on starting up. I attempted to start and open PowerShell multiple different ways and even with admin privileges.
I performed a DISM.exe /Online /Cleanup-image /Restorehealth command in an admin command prompt window and it seemed to have fixed and resolved multiple issues.
With this result, I performed a sfc /scannow command in the command prompt which stated there was no issues or violations.
So I went ahead and started PowerShell normally though this unfortunately still did not seem to fix the issue.
I am currently performing a full system deep security scan with my Anti-Virus Software and will possibly soon perform a full wipe of my computer if PowerShell still does not work after all these steps are completed.
In the meantime, would you suggest anything I should try before doing a full computer wipe and if so, what would you recommend I perform to see if the issues can be resolved?
Thanks in advance for further help and appreciate your help earlier.

Maybe you can try PowerShell Core,you can install it from Microsoft Store or PowerShell's GitHub page, it should support your Windows version.
It installs side-by-side with the old Windows PowerShell, but it's newer and more feature-riched. Code can also use it in the integrated terminal.

Hey mate,
My system is still doing the deep scan but I have installed the PowerShell Core from the Github .MSI file and installed the extension into VS Code and it seems to be working, though I do get a warning message I don't believe this message would be a huge deal at this time.
Thank you for all your help @yume-chan.
The warning message I am getting is:

Hope you have a wonderful day!
Peace to you.

This issue has been resolved thanks to help from @yume-chan
If anyone else reads this message and they also get the warning message and would like to get rid of it (worked for me):
Warning: PowerShell detected that you might be using a screen reader and has disabled PSReadLine for compatibility purposes. If you want to re-enable it, run 'Import-Module PSReadLine'.
I suggest you do the command Import-Module PSReadLine in the PowerShell window you have the message in and then close that window and go to your "Registry Editor" and change the following key:

Windows Registry
Computer\HKEY_CURRENT_USER\Control Panel\Accessibility\Blind Access\On

In the 'On' Registry, Right-Click and edit the value from 1 to 0 and reboot your computer.
This will stop this message from popping up (It worked for me though be aware it may not work for you).
Thanks for all the support on this issue.
Hope you all have a wonderful day!


FlowersintheSun-Aryan

[yes] I have read the steps to getting a blot

[ yes] I am submitting art that...

[ yes] is algorithmically generated (will change each time the program is run)
[ yes] is drawable on a blot (fits in the work area & doesn't overlap too much)
[ yes] is original (not copied from somewhere else)

[ ] Optional, if you used a tutorial or based your art on something else, please include the link here:

[ ] Optional, if you remixed this from something else, mention it here:

This is my project, which creates a randomly generated sun and a randomly generated field of flowers. You can change the number of rays on the sun and the number of flowers on the field easily using constants at the top of the code. The sun changes size and location on each run of the code, and the location and order of the flowers changes with each run of the code, both randomly. This was a fun project to code, and it would be even cooler to see it drawn with blot.

Hi! I made several changes over the past several hours. First, the flowers looked kind of "smooshed," so I made a little algorithm to make sure that they were always separated. I added a horizon, an

d also added a little forest with a variable number of trees that are green. I'd only used turtle thus far, and I decided to try and use the drawlines function for the trees, and it turned out to be quite a lot easier. Anyways, I'm proud of what the code is!
here's a share link: https://blot.hackclub.com/editor?shareId=bed87419-d029-467f-a898-4c3fc4ad0616
I've attached a few images

Hi!
It took me a moment to figure out how to scale the trees, but I was able to figure it out! I had originally made the trees evenly spaced apart to look cleaner, but I randomized their x-placements as well. By the way, instead of randomizing only the heights of the trees, I randomized the size of the entire tree by the same amount to make sure that the trees didn't look skinny or stubby. Thanks!
Here's the share link: https://blot.hackclub.com/editor?shareId=52591f09-8914-4bda-bd45-287e850a39e2
Here are some pictures:

Seeing as this hasn't been updated in over a month, I'm going to close the PR for now. You're free to make a new one in the future with the same artwork if you'd like! Reach out to me @ alexren on the slack if you have any questions!


Event list only loads once after clicking on Tick

When I click one of the tick boxes, the div slides down with the events for that day as expected.  When I click outside it closes.  At this point the Tick boxes never re-appear.

It happens to you on demo website?


Some question about outdoor rendering results

Thanks for your exciting work! I'm learning outdoor reconstruction recently and I'm really interested in your rendering results in Fig.9. Could you please tell me what is the real size of an outdoor scene in your paper? It is really surprising to achieve such accurate and detailed rendering results only with the resolution of 1801805 in driving scenes.

Thanks for your interest! The rendered results were achieved by the resolution of 12812821 in our early experiments, where we found that a larger height dimension was essential for better rendering results.

Thanks for your detailed reply! It seems that the resolution of the depth images is larger than 1600*900 in the paper? Second, my intuition tells me that it may be easier to cause the result in the left figure while the grid resolution is smaller than lidar? That's an interesting finding.

Thanks for your interest! The rendered results were achieved by the resolution of 12812821 in our early experiments, where we found that a larger height dimension was essential for better rendering results.
Thanks for your detailed reply! It seems that the resolution of the depth images is larger than 1600*900 in the paper? Second, my intuition tells me that it may be easier to cause the result in the left figure while the grid resolution is smaller than lidar? That's an interesting finding.

Thanks for your interest! The rendered results were achieved by the resolution of 12812821 in our early experiments, where we found that a larger height dimension was essential for better rendering results.

Thanks for your detailed reply! It seems that the resolution of the depth images is larger than 1600*900 in the paper? Second, my intuition tells me that it may be easier to cause the result in the left figure while the grid resolution is smaller than lidar? That's an interesting finding.

Hi, the resolution of the depth image is the same as 1600 * 900 in the paper (the 2560 * 1318 pixel in the figure may be caused by plt.figure(figsize=(xx,xx))).

Hi, the resolution of the depth image is the same as 1600 * 900 in the paper (the 2560 * 1318 pixel in the figure may be caused by plt.figure(figsize=(xx,xx))).

OK. Thanks for your patient explanation.


test cov bot.

Codecov Report

Merging #1 (c47f6fc) into testcase (a445432) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           testcase       #1   +/-   ##
=========================================
  Coverage     40.13%   40.13%
=========================================
  Files            26       26
  Lines          1891     1891
=========================================
  Hits            759      759
  Misses         1132     1132

Flag
Coverage Δ

unittests
40.13% <ø> (ø)

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


Create sex_inference_stand_alone.py

Successful run: https://batch.hail.populationgenomics.org.au/batches/432416


gamescope: 3.11.39 -> 3.11.48

wayland: 1.20.0 -> 1.21.0
Description of changes
Fixes #189464
The makePkgconfigItem doesn't appear to exist in the release branch so instead I just made a stb pkgconfig file manually.
This is a custom patch for this branch as the master build is already working and up to date.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Does https://github.com/NixOS/nixpkgs/issues/189464#issuecomment-1298817192 work for 22.05 (I'd much prefer such a much simpler fix)?

No that is not enough, and a cherry-pick isn't applicable since the master branch uses makePkgconfigItem which doesn't exist in 22.05.
The wayland bump is required to update but we could maybe go to the latest version that still support 1.20.0.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/nvidia-users-testers-requested-sway-on-nvidia-steam-on-wayland/15264/65

Unfortunately NixOS 22.05 has reached its end-of-life status on 2022-12-31, one month after the release of NixOS 22.11.
I'm closing this pull request, since we do not accept any changes to its branches anymore.

Okay but like... 22.11

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/what-does-it-mean-for-an-old-nixos-release-to-be-deprecated/28765/5


[Event Request] Table 167 "Job" - procedure "TestBlocked" - "OnBeforeTestBlocked"

As the Blocked-Field is an Enum now, we need to handle different values separately at procedure "TestBlocked". Please enlarge the existing Event "OnBeforeTestBlocked" to use a Handled-Pattern.
OLD CODE:
procedure TestBlocked()
begin
    OnBeforeTestBlocked(Rec);

    if Blocked = Blocked::" " then
        exit;
    Error(TestBlockedErr, TableCaption, "No.", Blocked);
end;

NEW CODE:
procedure TestBlocked()
var
    // start kvspsa - New Variable added
    IsHandled: Boolean;
    // stop kvspsa
begin
    // start kvspsa - Insert Handled Pattern
    IsHandled := false;
    OnBeforeTestBlocked(Rec,IsHandled);
    if IsHandled then
        exit;
    // stop kvspsa

    if Blocked = Blocked::" " then
        exit;
    Error(TestBlockedErr, TableCaption, "No.", Blocked);
end;

OLD PUBLISHER:
[IntegrationEvent(false, false)]
local procedure OnBeforeTestBlocked(var Job: Record Job)
begin
end;

NEW PUBLISHER:
[IntegrationEvent(false, false)]
// start kvspsa - New Parameter "IsHandled" added
local procedure OnBeforeTestBlocked(var Job: Record Job; var IsHandled: Boolean)
// stop kvspsa
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Create it.json

Added Italian Localization based on en.json

Can you combine your two changes into one PR :) It.json and the change in the module.json ;)

Ant thx for the translation :)

Ant thx for the translation :)

Thank you for your good module!
it.json
module.json

I can download them and add them tomorrow :)   If you want to do it via a PR, then merge your two patch branches and create a PR with that one.
But i can do add your changes manually, thats fine too :)

I can download them and add them tomorrow :) If you want to do it via a PR, then merge your two patch branches and create a PR with that one.
But i can do add your changes manually, thats fine too :)

I won't be at my PC till next Saturday, so manual change is a good and fast option :)
PS: my italian friends with a poor english (or german) reading will enjoy your module more than ever!

Great to hear that it helps you and your friends :)


Developer guide overhaul

🚀 Pull Request
Description

Overhaul of the Developers Guide section in the documentation.  Notable changes include:

New sections:

Continuous Integration (CI) Testing
Getting Involved
Running the tests

Updated sections:

Contributing (github convention) now points to the docs
Code Formatting
Graphics tests
Pull request check list
Reworking of the existing git guide  (gitwash)
Excluded some git urls from the linkcheck to avoid hitting the domain too many times and being blocked
PR template (points to new PR checklist)

Various spelling and layout updates

For the lifetime of this PR you can view the rendered html here:

https://iris-test-doc.readthedocs.io/en/latest/

If you wish to read the changes as rendered, I suggest starting from the Getting Involved section and hitting Next to review the entire Developers Guide section:

https://iris-test-doc.readthedocs.io/en/latest/developers_guide/contributing_getting_involved.html

[ ] What's new entry primed in a separate PR: https://github.com/SciTools/iris/pull/3854

Consult Iris pull request check list

Hi @rcomer.  I have addressed all your suggestions, the updated docs should be present in a few minutes (see it building: https://readthedocs.org/projects/iris-test-doc/builds/11893698/)

Thanks @tkknight, all the changes look good to me.  Think this still needs a review from somebody who understands all the technical ins and outs.  In that context, I'm a nobody!

@trexfeathers Thanks for the pair review to see this over the line... over to you now.

🎉🎉

Awesome work y'all!


count_scalar() -> scalar(count())

fixes issue #6

I checked this one on my local installation with percona plugin - it works. Yo guys, is this repo dead or something?

same issue. Wondered the same. Which relation to https://github.com/percona/grafana-dashboards?
Why is an old version provided in Grafana plugin "store"?


Use abacus-urienv to resolve URLs for dashboard

This change enables the use of abacus-urienv to resolve the application URIs for dashboard

Coverage increased (+0.6%) to 89.358% when pulling 3eabab3788f04d74d355c7d908d5ac345ce08450 on abh1kg:dashboard-urienv into dcc981bbe81ef1531cc49bb2378841a5cc3428e2 on cloudfoundry-incubator:master.


fix: updates node version in circle.yml to match .node-version

FS-4407

this was for circleci 1, but we've upgraded to 2.


Questions about idle_timeout_sec of server

If the server side executes a rpc request for more than idle_timeout_sec, and the connection does not transmit any other rpc during this period, will the connection be closed in this case, causing the rpc request to fail?
Does brpc have other mechanisms like keep alive to clean up unavailable connections instead of using idle_timeout_sec?
related issue: https://github.com/apache/brpc/issues/731

In this case, the connection will be closed until all rpc requests are completed. Idle timeout mechanism only release the additional reference.


Dead link from https://github.com/microsoft/ApplicationInsights-dotnet/blob/develop/.github/CONTRIBUTING.md

This page contains a link to https://github.com/Microsoft/ApplicationInsights-Home/blob/master/CONTRIBUTING.md, which does not exist.
The only one I could find is https://github.com/MohanGsk/ApplicationInsights-Home.
How should this be fixed?
Thanks

Fixed with #2621


[MetaSchedule] PyDatabase Complete Function Reload Support

This PR follows up #12520 and completes the functions in PyDatabase class and make sure we can override the query_tuning_records, query_schedule and query_ir_module function. Meanwhile, user can also use query function or use PyDatabase as a context.

Tests added for both default & overrided function case. Ready for review!


Only build jobs with label expression matching this node

I'd like to have an (openstack) agent reserved for special kind of jobs. This is why I use labels. But there are jobs without label specification that can be executed on any agent except the special one. For this, permanent agents have a setting switching between:

"Use this node as much as possible"
"Only build jobs with label expression maching this node"

It seems that openstack cloud plugin is always creating nodes with the first option and there is no way to switch to the second one. As a result, unlabeled jobs are executed even on the special agent.
As an example, after some googling, I've found that Oracle Cloud plugin provides this feature:
https://github.com/jenkinsci/oracle-cloud-infrastructure-compute-plugin/blob/master/README.md#add-new-template

I guess this needs to be configurable to make this other use-case working.
https://github.com/jenkinsci/openstack-cloud-plugin/commit/7aa9e7bfa7896f50d74aedfb9affa683558fb8c6
https://issues.jenkins.io/browse/JENKINS-29998


How do I proxy a smtp server?

I'm using hydroxide to use protonmail with smtp and I can't seem to make it work. Maybe I understood wrong how to use this module
My layer4 config is this:
	layer4 {
		<IP_ADDRESS>:993 {
			@secure tls
			route @secure {
				proxy localhost:1025 # hydroxide address
			}
		}
	}

But when I try to send an email with smtp it fails to work
Nov 19 15:11:21 ubuntu caddy[369383]: {"level":"debug","ts":1732029081.9104574,"logger":"layer4","msg":"matching","remote":"<IP_ADDRESS>:54809","error":"consumed all prefetched bytes","matcher":"layer4.matchers.tls","matched":false}
Nov 19 15:11:24 ubuntu caddy[369383]: {"level":"warn","ts":1732029084.9107566,"logger":"layer4","msg":"matching connection","remote":"<IP_ADDRESS>:54809","error":"aborted matching according to timeout"}
Nov 19 15:11:24 ubuntu caddy[369383]: {"level":"debug","ts":1732029084.910865,"logger":"layer4","msg":"connection stats","remote":"<IP_ADDRESS>:54809","read":0,"written":0,"duration":3.000585675}

If you want to handle anything inside TLS, you have to put the tls handler before the proxy handler:
	layer4 {
		<IP_ADDRESS>:993 {
			@secure tls
			route @secure {
				tls
				proxy localhost:1025 # hydroxide address
			}
		}
	}

But I don't use SMTP over TLS in Caddy or hydroxide, so I can't check whether it works or not.

My understanding is that STARTTLS of SMTP isn't a simple SMTP wrapped by TLS. It follows a specific state machine within SMTP protocol to initiate the TLS connection. In other words, the server/client has to be STARTTLS/SMTP aware.

If you want to handle anything inside TLS, you have to put the tls handler before the proxy handler:
	layer4 {
		<IP_ADDRESS>:993 {
			@secure tls
			route @secure {
				tls
				proxy localhost:1025 # hydroxide address
			}
		}
	}

But I don't use SMTP over TLS in Caddy or hydroxide, so I can't check whether it works or not.

This for some reason hanged any requests made to the port. Anyway, I've managed to host a smtp server for my needs :)
And about the layer4 config, docker-mailserver seems to take care of tls, and startssl, with a little help from caddy's auto generated ssl certificates.
So my candy files looks like this:
{
	layer4 {
		<IP_ADDRESS>:587 {
			route {
				proxy localhost:1587
			}
		}
		<IP_ADDRESS>:993 {
			route {
				proxy localhost:1993
			}
		}
	}

}

mail.example.com {
  tls internal {
    key_type rsa2048
  }

  # Optional, can be useful for troubleshooting
  # connection to Caddy with correct certificate:
  respond "Hello DMS"
}

And the certificates are mounted in docker:
      - /var/lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mail.example.com/mail.example.com.crt:/etc/letsencrypt/live/mail.example.com/fullchain.pem
      - /var/lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/mail.example.com/mail.example.com.key:/etc/letsencrypt/live/mail.example.com/privkey.pem

For what matters, @secure tls will block the traffic, unless the client is told to use tls instead of startls


Request Update page  displays Metadata as text

Subject of the issue
The Request Update page displays Text
Looks like the meta element is displayed as text

please add malayalam text here https://github.com/IEEEKeralaSection/rescuekerala/blob/master/mainapp/templates/mainapp/request_update.html#L86

you might need to modify here as well https://github.com/IEEEKeralaSection/rescuekerala/blob/master/mainapp/templates/mainapp/request_update_success.html#L7
Please raise a PR

I can see that it is reflecting in the portal

Can I take this up ??

@7vikpeculiar Issue is closed and the fix is live


Does pinpoint captures the request header of the profiled JVM

Hi All,
Environment -
Web server - Apache Httpd server
App server - Tomcat container with spring boot
Platform - Linux
Issue Statement - Does pinpoint captures the request header of the profiled JVM
whether we are capturing request headers as part of our JVM tracing

I see the request pattern is getting captured, but how about the request headers getting captured and presenting it in the console

Lets say we have 100's of request hit in your JVM and we if want to track specific request then there should be some unique value would be getting passed as part of each request from the web server to JVM through request headers

To give context In our apps we see the unique id being passed is correlationId and sessionId as part of each request call that comes in the headers

can we get the complete http request headers through the following option in pinpoint.config
Hide pinpoint headers.
profiler.tomcat.hidepinpointheader=true
URLs to exclude from tracing
profiler.tomcat.excludeurl=/aa/test.html, /bb/exclude.html
profiler.tomcat.tracerequestparam=true
original IP address header
https://en.wikipedia.org/wiki/X-Forwarded-For
#profiler.tomcat.realipheader=X-Forwarded-For
nginx real ip header
#profiler.tomcat.realipheader=X-Real-IP
optional parameter, If the header value is ${profiler.tomcat.realipemptyvalue}, Ignore header value.
#profiler.tomcat.realipemptyvalue=unknown
Or else we need to have some custom header method in pinpoint to get it traced for tomcat JVM
Kindly let me know if I have misinterpreted anything here

Hi @dinesh4747
We don't trace http headers currently, although you could probably modify our existing plugins to achieve what you're looking for.
Also, the headers you'd like to trace should be configurable at the agent level so as to not collect everything.

This would be very useful, although in our case we are using jetty.


Unhandled rejection RequestError: Invalid module param  in  Client.AccountPhoneCreator

this method works 2 month age but now it returns
Unhandled rejection RequestError: Invalid module param  in  Client.AccountPhoneCreator
var accountcreator = new Client.AccountPhoneCreator(session)
        .setPhone("+" + number)
        .setUsername(username)
        .setPassword("password"))
        .setName(profileName)
        .setPhoneCallback(function () {
            return new Promise(function (resolve, reject) {
 });
        })
        .register()
        .spread(function (account, discover) {
});

I encountered same problem,Could you show me how to solve it please. @adplaygit

@zeegb, @adplaygit: you have to (temporarily) disable 2FA to login to instagram. Once you have a session cookie, you can re-enable 2FA.

@patrickclery how can i do it?

You have to disable two factor authentication on your Instagram account then login with the library, then re-enable it.
Sent from my iPhone

On Jul 4, 2018, at 14:35, igorMIA<EMAIL_ADDRESS>wrote:
@patrickclery how can i do it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@patrickclery but this exception is raised when registering new account.

Oh. Maybe a Captcha?

@patrickclery how to check it?


Issue with 1.4.0 release.

Environment details

OS: Ubuntu 18.4
Node.js version: 10.x
npm version: 6.9.0
@google-cloud/kms version: 1.4.0

Steps to reproduce
Dont really have any steps to reproduce, but I do have a stack trace. This started at 9 PM UTC+2 on our production environment after upgrading from 1.3.2 to 1.4.0.
Only other thing i can say is that we have pinned @grpc/grpc-js to 0.5.2, because 0.5.3 has a memory leak https://github.com/grpc/grpc-node/issues/1027.
TypeError: Cannot read property 'length' of undefined
    at Root.load (/srv/functions/node_modules/protobufjs/src/root.js:192:44)
    at Root.loadSync (/srv/functions/node_modules/protobufjs/src/root.js:235:17)
    at Object.loadSync (/srv/functions/node_modules/@grpc/proto-loader/build/src/index.js:230:27)
    at GrpcClient.loadFromProto (/srv/functions/node_modules/google-gax/src/grpc.ts:162:40)
    at GrpcClient.loadProto (/srv/functions/node_modules/google-gax/src/grpc.ts:190:17)
    at new KeyManagementServiceClient (/srv/functions/node_modules/@google-cloud/kms/src/v1/key_management_service_client.js:130:28)
    at Object.<anonymous> (/<obfuscated>/index.ts:10:13)
    at Module._compile (internal/modules/cjs/loader.js:701:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
    at Module.load (internal/modules/cjs/loader.js:600:32)

For reproducability. Line 10 of our source code is:
const kms = new KeyManagementServiceClient();

👋 @mad-it we've actually been seeing this issue all over the place. It looks like there is an issue with an older version of one of our dependencies being installed. A lot of users have fixed this issue by deleting their node_modules and package-lock.json files then reinstalling.

:wave:
Thanks for the update.
For the time being i just pinned to 1.3.2 until this is resolved :)

Greetings!  Just checking in. If you unpin both this library and @grpc/grpc-js, do you still see the issue?

We are currently running on the latest version without @grpc/grpc-js pinned without any issues.
The proposed solution by @callmehiphop also worked.


Positioning goes weird if the Label element is wrapped around the Input element

AFAIK, there are two valid ways to use the html Label element.
The first is to have a label element with a for="id" attribute pointing to the input element. That seems to work fine.
The second is to have the Label element simply wrapping the input element. When I tried that the positioning was all screwy.

I'd like to +1 this issue.
I have the same problem after doing a clean
bower install  better-dateinput-polyfill
The versions installed are:
better-dateinput-polyfill#2.0.0 bower_components/better-dateinput-polyfill
├── better-dom#3.0.0-rc.1
├── better-emmet-plugin#1.0.0-rc.1
├── better-i18n-plugin#2.0.0-rc.2
└── better-time-element#1.0.0-rc.5

My HTML looks like this:

        Availability End Date
            <input type="date"
                name="endDate"
                required="required"
                data-polyfill="desktop"
                data-format="MM/dd/yyyy"
                autocomplete="off" />

The rendered calendar looks like this:

And when the date is picked, the inserted date looks to be just hanging in the air:

I have not tested on any Windows browsers, but this is occurring on Chrome 52, Firefox 48, and Safari 9.1 on OS X 10.11
If I change my markup so that the input box is not wrapped in the label, the calendar renders as expected.

Having the same issue

The cause of problem is that the picker adds extra
 which is a block element. And  is an inline element. It could be tricky to fix this issue...

There is also another problem - since the DIV for the calendar is absolutely positioned, this requires that the wrapping container must be relatively positioned. Otherwise you will see the following


Roc curve

hello
thanks for nice source.
I have some suggestions as follows:

report.csv has roc columns with blanks between each row, which makes it difficult to be used.
for example 1
blanck
1
blank
1                 etc.
roc length is too big more than 600,000. So even opening csv takes time.
i cannot even copy or past or do anything in the csv file because roc is too large then
csv file get no response.
in that case how about you resize the roc file by shrinking it into length of 100 or something.
thank you

Hi, first of all, thanks for using the PyEER package. I hope it is being useful to you. Having said that, here are my comments regarding your suggestion:

I have never experienced my self the blank rows between FMR or FNMR values. Nevertheless, I agree that this is an issue that needs to be fixed. I would deeply appreciate your help to accomplish that. Can you provide me with a simplified version of the CSV file at which you are referring?. In general, any details that you can share with me that allows me replicating this issue will be very helpful. I will also be helpful to know in which operating system and with which software are you opening the CSV file.

I agree that when the length of the ROC curve is too big, manually handling the CSV file could turn into a nightmare. For a while back I was thinking about to save the ROC curve in a separated file so it becomes a lot easy to handle at least automatically from a script. Sincerely, it never crosses my mine to shrink the ROC curve since this could not be a desired effect for every user. However, I think that you have made a valid suggestion so I will think about which are the best strategies to follow in order to optionally shrink the ROC curve. Do you have any suggestion regarding the best strategies to shrink the ROC curve?

Yes can you please send me your email let me send you the CSV files and txt files.
I am using widows 10 and i open it with csv and excel.
pyeer is the last version i have installed.
There are several methods to shrink (resize, sample), simply you can have average like d=[1,2,3,4,5]=> d=[1.5, 2.5, 3.5, 4.5]) it is up to you.
but in my case my curve is too big, so for simplicity i have just skipped between numbers (d=[1,2,3,4,5]=> d=[1,3,5])

I deeply sorry about the delayed answer, I was at a scientific event. My email es manuelaguadomtz_at_gmail.com
best!

Since I have not heard any more from you from an extended period of time, I am closing this issue. Feel free to reopen it if you needed. best!


Expose inter-/histopolation matrices in GlobalProjector, add unit tests

Addresses issue #346.
The inter-/histopolation matrices are now exposed in GlobalProjector as KroneckerStencilMatrix or BlockLinearOperator (for vector-valued spaces).
The unit tests in feec/tests/test_commuting_projections.py have been enhanced: they now also test the new LinearOperator in GlobalProjector.imat_kronecker by computing its inverse using GMRES and comparing to the original BlockDiagonalSolver solution. 3D tests are commented out for the moment as they take too long (better solution)?

Hi @yguclu, it seems I cannot see why the latest test failed, do you have an idea? Also, did you have time to think about this PR yet?

Python 3.11 tests passed upon relaunching test, without changes.

@spossann It seems that the code could be simplified with these steps:

Use the function array_to_psydac in module psydac.linalg.utilities to convert the 1D matrices from Numpy arrays to a StencilMatrix format (not distributed);
Create a distributed 3D KroneckerStencilMatrix object from the serial 1D StencilMatrix objects;
If needed, call the method KroneckerStencilMatrix.tostencil() to obtain a distributed 3D StencilMatrix object.

Before making any of these changes, could you please add a parallel test to this PR?

@spossann It seems that the code could be simplified with these steps:
1. Use the function `array_to_psydac` in module `psydac.linalg.utilities` to convert the 1D matrices from Numpy arrays to a `StencilMatrix` format (not distributed);

The function array_to_psydac converts numpy arrays into Stencil/BlockVector only (not Matrix).

Pushed with the 3D tests uncommented to ensure they all go through.


Fix CHANGES

Fix the last release version number in CHANGES

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

Pushed.


Requirements using PEP 508 direct references ignore the URL

Specifying a requirement with a PEP 508 direct reference -- that is, "foo @http://example.com/pkg/foo.tar.gz" and then installing with easy_install will ignore the URL specified and go and find foo from pypi.
Hacking a local copy of unittest2 to contain an extra dependency on bzr with a direct reference:
Processing dependencies for unittest2==1.1.0
Searching for bzr@ http://example.com/foo/bzr-2.7.0.tar.gz
Reading https://pypi.python.org/simple/bzr/
Downloading https://pypi.python.org/packages/62/3a/81325e34bcc78f67cc33dfac64f44e7c8329d4481dec1b789267b98644c3/bzr-2.7.0.tar.gz#md5=a601e465d323b916dcf025d05486e604
I'm not quite certain what setuptools with out benefit of easy_install does in this case.

Just ran into this issue. Support for PEP 508 would be really aprreciated!

Hello, I suppose we can close this issue now that easy_install has been deprecated and widely replace by other installation means, such as pypa/pip.
If anyone would like to reopen this issue, please feel free to write a new comment with more information or other use cases that we might be missing 😄.


not all tokens get successfully imported after using --andotp-backup

Only 3 out of 7 got imported successfully. Using --show-qr and manually adding the missing ones work (like for Google), except for one: Steam (Invalid QR code).

Note that the Steam entry in the backup is the fourth one, and I've just read that Steam support is not enabled by default, so the issue might just be with andOTP and bad error handling/reporting.

Thanks for all the help. AndOTP can't actually import Steam codes even when experimental support for them is enabled. Instead, it stops the backup when an unknown code type is encountered.

It works after setting some missing fields and changing the type from steam to STEAM, see #21.


Fixed missing or invalid props being passed to some react components

Summary
fixed missing or invalid props being passed to some react components
Checklist

[x] make test Ran test cases and ensured they are passing
[x] make check-style Ran style check and ensured both webapp and server components comply the style guides

This fixes #11.


Streamline documentation

Formatting changes and condensing the component text.

Any thoughts? @ryanewei

Thank you for the PR.
looking...


Potential panic calling poll_flush after poll_shutdown on HyperStream

https://github.com/compio-rs/compio/pull/234

@valpackett would you like to try cyper-core 0.1.0-beta.3?

Yep, that does seem to be fixed.


Add input/outputShape information to all KDocs of layers

We need to have better documentation for our layers.
A few layers have inputShape/outputShape information in the KDocs, copied from Keras documentation, for example
GlobalAvgPool2D
Please add the same documentation section to all the following layers:

[ ] ELU
[ ] LeakyReLU
[ ] PReLU
[ ] ReLU
[ ] Softmax
[ ] ThresholdedReLU
[ ] DepthwiseConv2D
[ ] SeparableConv2D
[ ] Dense
[ ] Input
[ ] BatchNorm
[ ] AvgPool1D
[ ] AvgPool2D (should be in one format)
[ ] AvgPool3D
[ ] GlobalMaxPool1D
[ ] GlobalMaxPool2D
[ ] GlobalMaxPool3D
[ ] MaxPool1D
[ ] MaxPool2D
[ ] MaxPool3D
[ ] Flatten
[ ] ZeroPadding1D
[ ] ZeroPadding2D
[ ] ZeroPadding3D

Hey, I'd like to contribute a bit again. Could do this one.
One question I have, in some cases Keras specifies different shapes depending upon the data_format being channels_first or channels_last.  I do see we have this implemented for the ZeroPadding.. layers but not for any others.
From what I understand the default implementation uses the channels_last format.

There are two conventions for shapes of images tensors: the channels-last convention (used by TensorFlow) > and the channels-first convention (used by Theano).

Deep Learning with Python - François Chollet
(https://stackoverflow.com/a/54967450/12089702)
So I guess for now we just omit the part about the data_format and only take the channels_last part?


Standar

@misc{AmericanPetroleumInstitute2001,
address = {Washington},
author = {{American Petroleum Institute}},
mendeley-groups = {SPs ITB/Arkanty},
publisher = {API Publishing Service},
title = {{Recommended Practice for Analysis, Design, Installation, and Testing of Basic Surface Safety Systems for Offshore Production Platforms (API RP 14C)}},
year = {2001}
}

Seharusnya:
American Petroleum Institute (penulis), (2001): Recommended Practice for Analysis, Design, Installation, and Testing of Basic Surface Safety Systems for Offshore Production Platforms (API RP 14C), Washington: API Publishing Service (penerbit).
Tidak ada di CSL

CSL-JSON:
[{"publisher-place":"Washington","author":[{"literal":"American Petroleum Institute"}],"publisher":"API Publishing Service","title":"Recommended Practice for Analysis, Design, Installation, and Testing of Basic Surface Safety Systems for Offshore Production Platforms (API RP 14C)","type":"article","citation-label":"AmericanPetroleumInstitute2001","id":"AmericanPetroleumInstitute2001","issued":{"date-parts":[[2001]]}}]


[Android] Fix ClassCastException, TintContextWrapper cannot be cast to ThemedReactContext

I tried to tackle #840 due to ClassCastException in setSrc() method.
Context -> ContextWrapper -> ReactContext -> ThemedReactContext
Context -> ContextWrapper -> TintContextWrapper

So TintContextWrapper cannot be casted to ThemedReactContext. The two have ContextWrapper as a common base class.
This pull request introduces a logic to check if the object is an instance of ReactContext before casting.

Hi @DylanVann, can you have a look into this?

According to this discussion, ContextWrapper's getBaseContext() can be used for extracting Activity and ReactContext.
As a result, I have updated my PR so this time, not only it will prevent CastCastException from the current codebase but also try its best to recover ReactContext!


ChatTongyi class  use  _generate method as async call and result in replying text dispeared

System Info
langchain 0.0.327
Who can help?
No response
Information

[ ] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[X] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
it is easy to reproduction
use AsyncIteratorCallbackHandler() to get ChatTongyi stream data,
it only get warning:
/venv/lib/python3.10/site-packages/langchain/chat_models/tongyi.py:365: RuntimeWarning: coroutine 'AsyncCallbackManagerForLLMRun.on_llm_new_token' was never awaited   run_manager.on_llm_new_token(chunk.content, chunk=chunk)
and the reply text dispeared
I look into the code , and find the problem is in the _agenerate() with only using _generate()

we can see, the stream functionality in _generate() is incomplete and problematic. One of them is the questionable support for asynchronous callback,

and this is where error happens

it should use _astream()
pls, fix it , thx
Expected behavior
return stream data

no, it should add  await on run_manager.on_llm_new_token
if run_manager:             run_manager.on_llm_new_token(chunk.content, chunk=chunk)

could anybody deal with the issue ?

yes, I think so

oh my god. no one care about it .

I tried a quick way to fix it.(May not a good solution)
`import asyncio
from typing import List, Optional, Any, Iterator
from langchain.callbacks.manager import AsyncCallbackManagerForLLMRun
from langchain.chat_models.tongyi import ChatTongyi, _convert_delta_to_message_chunk
from langchain.schema import BaseMessage
from langchain.schema.messages import AIMessageChunk
from langchain.schema.output import ChatGenerationChunk
class SelfChatTongyi(ChatTongyi):
def _stream(
    self,
    messages: List[BaseMessage],
    stop: Optional[List[str]] = None,
    run_manager: Optional[AsyncCallbackManagerForLLMRun] = None,
    **kwargs: Any,
) -> Iterator[ChatGenerationChunk]:
    message_dicts, params = self._create_message_dicts(messages, stop)
    params = {**params, **kwargs, "stream": True}
    # Mark current chunk total length
    length = 0
    default_chunk_class = AIMessageChunk
    for chunk in self.stream_completion_with_retry(
        messages=message_dicts, run_manager=run_manager, **params
    ):
        if len(chunk["output"]["choices"]) == 0:
            continue
        choice = chunk["output"]["choices"][0]

        chunk = _convert_delta_to_message_chunk(
            choice["message"], default_chunk_class, length
        )
        finish_reason = choice.get("finish_reason")
        generation_info = (
            dict(finish_reason=finish_reason) if finish_reason is not None else None
        )
        default_chunk_class = chunk.__class__
        chunk = ChatGenerationChunk(message=chunk, generation_info=generation_info)
        yield chunk
        if run_manager:
            asyncio.run(run_manager.on_llm_new_token(chunk.text, chunk=chunk))
        length = len(choice["message"]["content"])`


Add frontend for search

WHY are these changes introduced?
Fixes #0000

WHAT is this pull request doing?

How to test your changes?

Post-release steps

Measuring impact
How do we know this change was effective? Please choose one:

[ ] n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
[ ] Existing analytics will cater for this addition
[ ] PR includes analytics changes to measure impact

Checklist

[ ] I've considered possible cross-platform impacts (Mac, Linux, Windows)
[ ] I've considered possible documentation changes

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#4821  👈
#4820
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @isaacroldan and the rest of your teammates on  Graphite


fixes #9561 canGetProperty and canSetProperty on ActiveRecord checks attributes

Maybe need to add more tests for readonly/writeonly properties and "related"?

Thanks, would be great if you could add more tests.

This has been fixed by https://github.com/yiisoft/yii2/commit/75439d367d2d1270bb61642f236df6a552acf29e alredy, but I have merged your test, thank you!


Add a method to remove tags from an asset by id.

works for both api v2 and v3

add a tag please

done!


Logs spammed with TaskOOM event and ps aux freezes

Description
Sometimes I have a kubernetes node that seems to not be able to terminate pods, it just hangs on the terminating state.
To force the pod delete I would ssh into the node and manually kill the pod using crictl commands.
However after multiple times of this happening I dug into the problem some more and it seems like running a ps aux hangs, it lists some processes but then stops and doesn't return with no way to exit the ps process.
 I am thinking it is containerd causing it due to the log output but it could just be a symptom of the problem. I am not really sure where to debug from here.
# kubelet --version
Kubernetes v1.13.4

# uname -a
Linux apvrp22581 4.20.10-1.el7.elrepo.x86_64 #1 SMP Fri Feb 15 08:52:17 EST 2019 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)

Steps to reproduce the issue:

No idea? It just randomly starts

Describe the results you received:
Endless spam of TaskOOM event in the logs and ps aux hanging
Describe the results you expected:
This not to happen
Output of containerd --version:
# containerd --version
containerd github.com/containerd/containerd v1.2.2<PHONE_NUMBER>f7fe2f4e74d43e2fc7ccd237edcbce

# crictl version
Version:  0.1.0
RuntimeName:  containerd
RuntimeVersion:  v1.2.2
RuntimeApiVersion:  v1alpha2

I found this issue that may or may not be related https://github.com/containerd/cgroups/issues/74 per the last comment it was fixed in 4.20.2-1 however I am running 4.20.10-1.

Just an update. It seemed to be due to a bug in thanos https://github.com/improbable-eng/thanos I've since updated that and I haven't had this issue since.


This is out of date and suggests an unsupported action.

This is a source of frustration to UWP developers. This page reads "Do this" and then after much searching elsewhere we discover "This is no longer supported".  Why is this page allowed to remain?!

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

ID: f2bdc2e7-dd4e-723d-ed1e-bd9cdcb503ee
Version Independent ID: 6510f160-a666-0942-8180-e7ba71a3bfe5
Content: Launch Feedback Hub from your app - Windows UWP applications
Content Source: windows-apps-src/monetize/launch-feedback-hub-from-your-app.md
Product: uwp
Technology: publish
GitHub Login: @hickeys
Microsoft Alias: hickeys

I can confirm this approach actually does work in :

Visual Studio 2017 v15.9.6 and Visual Studio 2019 v16.2.5
Microsoft.NETCore.UniversalWindowsPlatform v6.2.9
Microsoft.Services.Store.Engagement v10.1901.28001
Microsoft Engagement Framework Universal Extension v10.0

Sample syntax:
private async void Page_Loaded(object sender, RoutedEventArgs e)
{
    if (Microsoft.Services.Store.Engagement.StoreServicesFeedbackLauncher.IsSupported())
    {
        var launcher = Microsoft.Services.Store.Engagement
            .StoreServicesFeedbackLauncher.GetDefault();
        await launcher.LaunchAsync();
    }
}

Sample project attached.
App12.zip


Adds support for platform specific monit config directory

The OpsWorks cookbook  opsworks_agent_monit provides us with platform specific configuration directories attribute for monit.
Making use of this attribute in the setup recipe prevents the following error from occurring
================================================================================
Error executing action `create` on resource 'template[/etc/monit/conf.d/sidekiq_my_app.monitrc]'
================================================================================

Chef::Exceptions::EnclosingDirectoryDoesNotExist
------------------------------------------------
Parent directory /etc/monit/conf.d does not exist.

opsworks_agent_monit cookbook reference

:+1:

LGTM
Sorry this has taken so long for us to get to. Merging this into master.


error report

Error message
Paste the error message in the area below:
Traceback (most recent call last):
  File "maidfiddler\ui\maids_list.py", line 114, in maid_selected
  File "maidfiddler\util\pipes.py", line 109, in <lambda>
  File "maidfiddler\util\pipes.py", line 56, in __call__
  File "maidfiddler\util\pipes.py", line 103, in try_invoke
maidfiddler.util.pipes.RemoteError: System.FieldAccessException: Field `MaidStatus.Status:bonusStatus' is inaccessible from method `COM3D2.MaidFiddler.Core.Service.Service:ReadMaidData (Maid)'

  at COM3D2.MaidFiddler.Core.Service.Service.SelectActiveMaid (System.String guid) [0x00000] in <filename unknown>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0

To Reproduce
Write a small description of what you tried to do (in GUI or the game).
After launching the game, we loaded saved data and started the program, but when I clicked the screen, an error log appeared.
Version information:

Game version [e.g. 1.191]
Maid Fiddler version [Version <IP_ADDRESS>]

Additional context
Add any other context about the problem here if there is any.

Thank you for the report!
Do you have Mono.Cecil.Inject.dll in your Sybaris folder?

Thank you for your reply.
I did not introduce that file.
I just introduced it, it started normally.
Thank you very much!

Thank you for the information!
I will add the file into the next version of Maid Fiddler so this will not happen again.
Sorry for any inconvenience!


The VITE_PRELOAD still existed in transformIndexHtml bundle argument

Describe the bug
The __VITE_PRELOAD__ placeholder has been wiped from the final js file. But still existed in transformIndexHtml bundle argument.
Reproduction
https://stackblitz.com/edit/vitejs-vite-quurn6?file=vite.config.ts&view=editor
Steps to reproduce
Open reproduction link. Run vite build in terminal. Check the bundle js content. There is something like this at the end of js bundle:
__vitePreload(() => import("./counter.19249c4c.js"), true ? "__VITE_PRELOAD__" : void 0)

But in the assets/index.xxx.js it like this:
__vitePreload(() => import("./counter.19249c4c.js"), true ? [] : void 0)

System Info
System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 7.17.0 - /usr/local/bin/npm
  npmPackages:
    vite: ^3.1.8 => 3.1.8

Used Package Manager
npm
Logs
__vitePreload(() => import("./counter.19249c4c.js"), true ? "__VITE_PRELOAD__" : void 0).then(
  ({ setupCounter }) => setupCounter(document.querySelector("#counter"))
);

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

@cncolder
This is an expected behavior because __VITE_PRELOAD__ is injected by transform hook and replaced by generateBundle hook.
What is your root problem with this?

Closing due to lack of response.


Add toggle for blinking text and bell sound support

Add a menu item as well as world configuration option for disabling/enabling blinking text in the console.

Add the same for the bell sound.

Support for the settings in a world configuration are present and functional now.  Next I just need to add menu toggles for adjusting the settings on a currently open terminal.


🤖 Meca frontmatter

This is the frontmatter part of the MECA export. It adds a new export format meca as well as requirements and resources to project frontmatter to list corresponding files to each of those categories.

@fwkoch how does the meca: export relate to the project-wide export of a single meca bundle?
i.e. if i want to build and deploy a site, and want a meca bundle to be built for it (i.e. the root article in the _tcc.yml) would be the entrypoint, where would I specify that I want the meca built?
is this a case of adding exports.format: meca to the root article's fromtmatter? and if so will everything in the toc be included?

also validateProjectFrontmatter (https://github.com/executablebooks/mystjs/blob/92fd39dfee982edbeb51008cbbe37cda41cf09ab/packages/myst-frontmatter/src/frontmatter/validators.ts#L853) doesn't seem to be ever called in myst-cli, the only usage of the validation is when checking page frontmatter and via the validateProjectFrontmatterKeys functon.
So it seems like there is no point currently where project frontmatter from myst.yml is validated?

@fwkoch there are some new changes in main that are likely needed for tests to pass -- SPDX released a new license list that we test against, and the jtex template download has been given a larger timeout.

Superseded by #431


Update coffee.nl

Some fixes in the Dutch translations

Coverage increased (+0.007%) to 55.833% when pulling e267b4d7ff2004ff15d9040b08ddb8740b71e627 on FilipStappers:patch-1 into 3665a8a1011828d1af7ac9d1a40cd0bf23e093a8 on codecombat:master.

Hello, @FilipStappers! Thank you for contributing. Can you sign our CLA so that we can merge your pull request?

Thanks, @FilipStappers


Relayer js test

instead of trying to fix the current relayer's reliability, i thought i'd try write a new simpler one.
it uses a stateless, idempotent, functional approach and is intended to be run, completed and then restarted every few seconds or so.
i'm fairly optimistic that this is probably the right thing to pursue for parachain -> ethereum channel relays, even after we add the data for MMRs and parachain merkle proofs. (though could continue in a golang script rather than JS)
thoughts? should we consider pursuing this path further?
to test it out:

checkout this branch
run everything as usual (the original relayer is now limited to eth -> parachain mode only)
wait for everything to start, including parachain block production
run this new relayer with run.sh
run the e2e tests
watch the new relayer do its thing
all e2e tests should pass

instead of trying to fix the current relayer's reliability, i thought i'd try write a new simpler one.
it uses a stateless, idempotent, functional approach and is intended to be run, completed and then restarted every few seconds or so.

I'm all for discussing new algorithm designs for the substrate listener, and we should judge them on their individual merits.
That said, I think there are many good reasons to implement those ideas in the existing relayer. For one, its better to think of the relayer as a monotholic service container. In that role, it handles cross-cutting concerns such as configuration, logging, metrics, service lifecycle. If we split out parts of the relayer into tasks/microservices, those concerns would need to be re-implemented, and that's something we should not consider lightly. Especially at this late stage in the project.
The relayer is warty yes, and that's due to technical debt. To address that, in each milestone we should strive to address a small amount of that debt. My own view is that we need to troubleshoot and understand the reliability issues, and then improve the relayer iteratively. This is what I've done with https://github.com/Snowfork/polkadot-ethereum/pull/349.

I'm all for discussing new algorithm designs for the substrate listener, and we should judge them on their individual merits.

ofc, agree

That said, I think there are many good reasons to implement those ideas in the existing relayer. For one, its better to think of the relayer as a monotholic service container. In that role, it handles cross-cutting concerns such as configuration, logging, metrics, and service lifecycle. If we split out parts of the relayer into tasks/microservices, those concerns would need to be re-implemented, and that's something we should not consider lightly. Especially at this late stage in the project.

yes agree, i wrote the js as a proof of concept, not to imply that it should replace the existing relayer. i think the service container approach is great.
having said that, i do think the following goals should apply to the service container as well as each service being run by the container:

idempotent
stateless
functional
capable of crashing and restarting and recovering gracefully

Additionally, I think having both the service container, and all services running together all on a single thread could be a good idea. The NodeJS event loop is great for this which is why I wrote the proof of concept, though agree it likely makes most sense to continue in our Golang service and to consider that in the context of our existing service.

The relayer is warty yes, and that's due to technical debt. To address that, in each milestone we should strive to address a small amount of that debt. My own view is that we need to troubleshoot and understand the reliability issues, and then improve the relayer iteratively. This is what I've done with #349.

i think good error detection/crashing, restart and graceful recovery is the most important thing, and we should get that in asap, with further reliability improvements/debt being less important. even if there are lots of weird edge cases where the relayer fails that we leave out, that's totally fine as long as we can keep up graceful recovery.


Check table mata regularly

Ⅰ. Describe what this PR did
check the table meta regularly when rm client initialized.
Ⅱ. Does this pull request fix one issue?

#1350
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #1365 into develop will decrease coverage by 0.01%.
The diff coverage is 47.36%.

@@              Coverage Diff              @@
##             develop    #1365      +/-   ##
=============================================
- Coverage       48.6%   48.58%   -0.02%
- Complexity      1645     1647       +2
=============================================
  Files            331      331
  Lines          11535    11554      +19
  Branches        1430     1432       +2
=============================================
+ Hits            5607     5614       +7
- Misses          5306     5316      +10
- Partials         622      624       +2

Impacted Files
Coverage Δ
Complexity Δ

...n/java/io/seata/rm/datasource/DataSourceProxy.java
68.75% <100%> (+8.75%)
7 <2> (+1)
:arrow_up:

...seata/rm/datasource/sql/struct/TableMetaCache.java
46.83% <16.66%> (-2.48%)
10 <1> (+1)

...server/store/file/FileTransactionStoreManager.java
45.99% <0%> (-1.05%)
19% <0%> (ø)

...very/registry/zk/ZookeeperRegisterServiceImpl.java
64.56% <0%> (+0.78%)
24% <0%> (ø)
:arrow_down:

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 3665aec...608c74c. Read the comment docs.

The test found that when the table structure is not changed, it is judged as not equal

Finally I found that when the table structure not change but the index meta cardinality will change

The test found that when the table structure is not changed, it is judged as not equal

I will provide some unit test there days.

@l81893521 Cardinality is a statistic.


Create README for examples

Folks unsure about how to run the examples would benefit from a README, I'll send a PR for exactly that.

Addressed in #23