WIP token: Extension state packing

Problem
Extensions need to be read / written in a way that's simple for the program processor and clients.
Solution
Implement a Pack-like interface for the TLV entries.  Please start with the test, which is meant to show how the processors would use this similarly to the previous Pack on Mint and Account.  After that, feel free to read through the rest to see how you like the approach.  There are also some TODOs sprinkled around with questions.  There may also be an overuse of generics.
There are some test cases missing:

multiple extensions
failing multisig-length accounts
entire test cases for Account

I moved over to bytemuck, which certainly simplifies some bits.  Biggest annoyance: there's no native support for enums to be treated as Pods, so we have to resort to manually impl'ing the unsafe Pod and Zeroable traits on them.  Since they're not carrying values and their repr size is declared, this seemed ok.  Let me know if you have a better idea though.
There's also how to deal with options.  After testing around, it seems like it'll be easiest to just impl Pod and Zeroable on COption, but we may need to explicitly set the size on it, ie. through `#[repr(C, u32)]. Again, I'm open to suggestions! I put a few other possibilities out there.

Biggest annoyance: there's no native support for enums to be treated as Pods, so we have to resort to manually impl'ing the unsafe Pod and Zeroable traits on them.

Here's what I did for the instruction type enum in zk-token: https://github.com/solana-labs/spl-zk-token/blob/0f758e8d5537677aee9caa6384a1b90e3b7fb377/program/src/instruction.rs#L301
Options are a bit of a struggle too. Will think about that and respond more tomorrow morning

Yeah, I noticed that, it's a clever way to create rust-style enums as Pods  I'm not sure how we can apply that to the opposite case of doing in-place encoding of the enum into a buffer.
I've been thinking about it more, and as long as the enum uses #[repr(C)] or #[repr(Int)], I can't see a situation where we'll get screwed with Pod or Zeroable.  They're essentially just wrappers to make transmute safe, so we're telling the compiler, "it's ok, we want to transmute this type". In our case, we can be sure that the rust-style enum will look more like a union, which means we always reserve the greatest size, which is much more useful than the borsh-style compressing.
https://github.com/rust-lang/rfcs/blob/master/text/2195-really-tagged-unions.md#guide-level-explanation gives the best background I've found so far

We're back to forbid(unsafe_code) :tada:

I've addressed your points @CriesofCarrots -- as for the tests, I added one for multisig length, which revealed a bug. so if you want to risk the current implementation, feel free to add a multi-extension test :smile: otherwise, I'll be happy to add it

I ended up adding the last few tests recommended, so this is finally ready by my book!

Oh shoot, sorry I let you beat me to that test!

Oh shoot, sorry I let you beat me to that test!

I mainly wanted to spare you from troubleshooting one of my bugs :sweat_smile:


fix: small fixes to get scripts/scaffold.py working

updated the way some prompt_toolkit resources are imported
changed regex to match double-quotes in BACKENDS of backends.py

most of the requirements for the scaffold script aren't in requirements.txt or anything, so I assumed there wasn't any venv typically used to run it.  Was able to generate scaffolding for rekognition to test.
thanks for the awesome mocking library, hope to contribute to coverage now that this works for me

Coverage decreased (-0.02%) to 94.026% when pulling d06a5d3a2b2947e029f544ebbd84eca43e1f6eb5 on ptdel:minor-scaffold-fixes into d596560971ae289f102b9aecb9939b3c49a56ac5 on spulec:master.


[Android] Creating A Password Strength Checker Using Kotlin in Android

Creating A Password Strength Checker Using Kotlin in Android
Introduction
As an Android developer, one of the most important things to remember is to protect your app. It's necessary to double-check user inputs and raise awareness about the need of using a strong password. In this article, I'll show the reader how to develop a Password Strength Checker in your app,  which will check user inputs, and provide information on how the user may enhance their password strength.
Key takeaways

Importance of password strength checker in an android app
How to create a single class that will handle checking of password strength as the user types in the password

Article quality
In this article, I will not use any third-party libraries to check the strength as it is done in most articles. I will also use Kotlin language since it is the preferred android development language in 2021
References

https://developer.android.com/

How will your article differ from other existing documentations such as https://codesource.io/create-a-password-strength-calculator-using-kotlin/

@WanjaMIKE i am going to do it in a simpler way for better understanding. This will be beginner friendly to those who have understanding of kotlin language

Hello @WanjaMIKE

@WanjaMIKE @ahmadmardeni1 @louisefindlay23  I never got a response about this issue

@essy-shiro, your article still needs to have some unique value. Is there any adjacent topics you can cover to round out your article or any valuable perspective you can bring or tips to add?

Thank you for your response and we thank you for submitting your topic. After some careful consideration it struck us that this topic may be a bit over saturated throughout other blog sites and official documentations as previously mentioned on your topic form by our content moderator.
We typically refrain from publishing content that is covered widely on the net or other blogs. As we're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.


Validate usage of 8- and 16-bit types with only storage capabilities

Fixes #2669

Validates use cases for 8- and 16-bit types when only storage capabilities are present

OpVariable - specific capability check for storage class
OpLoad - only scalar vector and matrix (and pointers)
OpStore - only scalar vector and matrix (and pointers)
Conversions - width-only conversions
Constants - only pointer null
Composites - none

Unified some conversions tests to cover more cases
Some new helper functions in ValidationState_t to identify the right types and use cases

The failing glslang tests are all generating 8- or 16-bit constants with just the storage capabilities.


Gulp: migrate baseline target from make.js

Fixes a part of #7062 (which belongs to the ES6 modules project).
Testing steps:

Run gulp baseline and verify that an error is thrown since the BASELINE variable is missing.
Run BASELINE=bc3bceb gulp baseline and verify that the success message is shown and that the build/basline directory is a Git repository at commit bc3bceb.
Run BASELINE=bc3bceb gulp baseline again and verify that it finishes sooner because it only does a fetch (print initializeCommand when in doubt).
Run BASELINE=foobar gulp baseline and verify that an error is thrown since foobar is not a valid commit hash.
Run BASELINE=bc3bceb node make mozcentralbaseline mozcentraldiff and verify that a diff is created (issue #7743).

Thank you for the review!


solve some minor mistakes in the blog

Signed-off-by: Yuaninga<EMAIL_ADDRESS>

pass

@Yuaninga @caofujiang Just a question, what do code pass and pass mean?

@Yuaninga @caofujiang Just a question, what do code pass and pass mean?
I mistakenly think that comments are necessary. Sorry for your confusion.

Don't worry. You can write more to express your ideas.
Thank you for your contribution and I look forward to more from you.


Unable to find project root. Expecting to find one of host.json, local.settings.json in project root.

Error with new project after following steps at https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-your-first-function-visual-studio
"host.json" file exists in VSCode open folder.   Same as Terminal current working folder.
Any suggestions welcome.  Thank you.

Repro steps:

Action: azureFunctions.pickProcess
Error type: Error
Error Message: Functions host is no longer running.
Version: 0.20.1
OS: win32
Product: Visual Studio Code
Product Version: 1.41.1
Language: en

Call Stack
extension.bundle.js:353:84157extension.bundle.js:353:84157
o extension.bundle.js:353:81769

What is your default terminal? If it's Powershell - do you by chance have a profile that is running Set-Location to use a different default folder? We had people run into that problem as mentioned here


Is there a migration guide for 1.15?

Expected Behavior
I am upgrading my site's Django implementation and need to upgrade django-two-factor-auth. However, it looks like the phonenumbers portion, which I use, has been separated into a plugin. I'm trying to see how this will impact my site and the stored phone numbers.
Current Behavior
The initial migrations for this appear to delete all existing phone devices and force everyone to set up 2FA again. At least, I don't see any alternative to doing this. I am not sure what code I may need to change and what other impacts there could be. I don't know if trying to copy PhoneDevices to the new table manually will result in invalid authentication and lock everyone out.
The changelog does not explain what I need to do to upgrade safely. Various issues like https://github.com/jazzband/django-two-factor-auth/issues/611 make me very nervous about upgrading and potentially messing up my migration history or clearing the stored devices. I may be missing a migration guide somewhere.
Possible Solution
I need to know how to safely upgrade my version. Without any guidance my only alternative is to fork this project and fix the few issues with newer Django releases manually.
Thanks

(In case anyone is in my boat, it looks like you just have to replace SuccessURLAllowedHostsMixin in views/core.py with RedirectURLMixin. No guarantees though)

There is no migration guide apart what is written in release notes. And no, the 0008_delete_phonedevice.py is not deleting anything at all, as it's a state only operation. If you put the phonenumber plugin explicitly in the installed apps, it should happily reuse the same table with the same data. Anyway, you should test a migration with a copy of the data before doing it in production.


[sigh] Set new app identifier prefix in Info.plist

This fixes an issue when AppIdentifierPrefix entry
is not updated in the resigned app Info.plist
As a result app store build can still have enterprise app prefix in plist
Fix typo in spelling of IDENTIFIER
#4287

Thanks @mgrebenets 👍


nan_color does not work for GLMakie.image

I have a matrix "x" containing floating point values. It also contains invalid values, all set to NaN. According to documentation of GLMakie.image, there is this nan_color atribute. By default the NaN values are rendered fully transparent when displayed. However, this does not work. I am using GLMakie 0.4.0.
x = rand(50, 50)
x[15:25, :] .= NaN
image(x)

If I try heatmap(x) instead, then yes, I do get the desired transparency.

Update: NaN were initially displayed as black, but now the same code gives an error:
x = rand(50, 50)
x[15:25, :] .= NaN
image(x)

Error showing value of type Makie.FigureAxisPlot:
ERROR: Looking up a non-finite or NaN value in a colormap is undefined.

What backend is this?

It's GLMakie

Just tested today with the 0.16.5 release and NaN are rendered transparent by image(). nan_color property also works.
@SimonDanisch thanks :)


Execute transaction on past state

Describe the feature
Have the ability to execute transactions on past state. More like utility if somebody wants to execute solidity getters on past state, this can potentialy be useful (mostly for inspection of past state).
I don't know how useful this would be but it shouldn't be a big problem to add and have.
Additional context
Blocked by HistoryProvider: https://github.com/paradigmxyz/reth/issues/816

What do we need here, given we now have #816 and historical state factories? @rakita @mattsse

Mostly to define how a user can call it. and glue all parts together.

I think we have this

Yes - it's in the Historical providers


Support for multi-scene keypads

I have this Pico 4-button remote that triggers four different scenes. The associated scenes are defined from within the device settings in the app, not from the "Scenes" tab. They are also backed by a different smart bridge response format:
{
	'href': '/vbutton/4',
	'ButtonNumber': 1,
	'ProgrammingModel': {
		'href': '/programmingmodel/125'
	},
	'Parent': {
		'href': '/area/6'
	},
	'IsProgrammed': True,
	'Category': {
		'Type': 'Kitchen',
		'SubType': 'Bright'
	}
}

This causes the following error when loading scenes:
2019-09-08 01:58:38 ERROR (MainThread) [homeassistant.setup] Error during setup of component lutron_caseta
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 168, in _async_setup_component
    hass, processed_config
  File "/usr/src/homeassistant/homeassistant/components/lutron_caseta/__init__.py", line 53, in async_setup
    await bridge.connect()
  File "/usr/local/lib/python3.7/site-packages/pylutron_caseta/smartbridge.py", line 40, in connect
    yield from self._login()
  File "/usr/local/lib/python3.7/site-packages/pylutron_caseta/smartbridge.py", line 285, in _login
    yield from self._load_scenes()
  File "/usr/local/lib/python3.7/site-packages/pylutron_caseta/smartbridge.py", line 351, in _load_scenes
    scene_name = scene['Name']
KeyError: 'Name'

Also, the /vbutton/N numbers conflict with the /virtualbutton/N numbers of my normal lighting scenes, so in order to fully fix, I need to modify activate_scene to be aware of whether it's dealing with a vbutton or a virtualbutton and pass the corresponding URL.
I'm happy to make a pull request for this if desired! If making the full change is undesirable for some reason, at minimum I'd like to add a try/catch to skip scenes that cause this KeyError.
PS: The smart bridge unit tests all fail for me under Python 3.7. Updating them to async/await syntax makes them pass. Should I make a PR for that as well?

See #40 for the fix to this.


Support more OSC color formats

I was surprised when j4james told me in another bug that WT supports OSC 4/10/11 because that wasn't what I experienced. And just when I was about to respond to him, I realized:
WT supports OSC 4/10/11, but only with a very limited syntax for the values.
xterm's ctlseqs refers to the XParseColor manual page for supported syntax – IMHO an unfortunate choice for an OS-independent protocol to refer to an OS-specific library method, nevermind.
So the supported formats, in xterm, are at least these nine:

rgb:R/G/B
rgb:RR/GG/BB
rgb:RRR/GGG/BBB
rgb:RRRR/GGGG/BBBB
#RGB
#RRGGBB
#RRRGGGBBB
#RRRRGGGGBBBB
hundreds of English names, like orange, lightblue2 etc.

WT only supports the second one of these.
The first syntax is recognized, but R/G/B is interpreted as shorthand for 0R/0G/0B instead of RR/GG/BB, thus always resulting in a pretty much black color.
I especially expected the fourth format, rgb:RRRR/GGGG/BBBB to be supported, because this is the one in which these OSCs respond in xterm and VTE, if the color is replaced by a ?. (This isn't supported by WT either, but that's for another bug.)
Note 1: The XParseColor documentation says the # formats are discouraged. I would, however, encourage their use as this is the standard notation on the web and other places too. Also, presumably plenty of forum posts (e.g. on the Stack Exchange suite) already provide answers using these.
Note 2: The XParseColor documentation says that #RGB is equivalent to #R000G000B000, and xterm implement this. In VTE it is equivalent to #RRGGBB a.k.a. #RRRRGGGGBBBB instead, as on the web. This is only for the # notation, for the rgb: notation the doc says and both of these impementations go with RR/GG/BB a.k.a. RRRR/GGGG/BBBB.
Note 3: The 12-bit variants RRRGGGBBB repeat the first digit at the end, e.g. #123456789 becomes #123145647897, and same for the rgb: notation. This probably doesn't really matter since at the end it's probably chopped to 8 bits per channel anyway.
Note 4: If Windows provides any library that converts popular English names to colors, I think it would be great to use that, IMO it doesn't matter if the exact supported names and their exact values aren't the same as on Linux. If not, you might want to copy an equivalent of rgb.txt to your source; hopefully there are no licence constraints preventing this.
Note 5: As per the linked manual, xterm also supports rgbi:rfloat/gfloat/bfloat whereas the mapping from the 0.0 .. 1.0 float range to 0x00 .. 0xFF is not linear; and sure those CIELab and friends as well. These are not supported by VTE.

Yea you're definitely right - we should support these too :)

Yeah sorry, I should have been clearer about the limits. There was actually a follow up issue raised for this at the time the original OSC code was implemented (see #942). So I think this is essentially a dup of that, although it doesn't have as much info as you've got here. If this is closed as a dup, it would be good to copy those details across.

I'm setting #942 as the megathread to track all these requests, including the other new ones @egmontkob filed. They were all tracked as bullets on that issue before, but they should frankly each be individual tasks.

My bad, I saw #942 but then only read its title "support for multi-param OSC" and it looked different.
@zadjii-msft Please copy-paste over my bits and close this as dup, or leave it here, whichever you prefer.

I'll leave this one here as an "attached" issue. :smile: Thanks @egmontkob


German index.js

Adds a German version for index.js.

Ausgescheiznet! (lol I hope that's right) Thank you!!


Cert-manager not renewing certificates

Describe the bug
It seems like cert-manager just stops working sometimes for unknown reasons.
kubectl get certificate x -oyaml
...
renewalTime: "2021-11-12T11:07:34Z"

Notice the renewal time.
From that date there are no logs from cert-manager trying to renew the certificate.
All it logged was
W0823 10:58:10.909309       1 warnings.go:70] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress
W0823 11:07:45.909987       1 warnings.go:70] networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unavailable in v1.22+; use networking.k8s.io/v1 Ingress

I could not find any relevant error messages in cert-manager to figure out why this behaviour occurrs.
To Reproduce
Not sure if reproducable.
Expected behavior
Cert-manager should complain that it cannot renew certificates.
Screenshots
If applicable, add screenshots to help explain your problem.
Version (add all relevant versions):

Compliant kubernetes apps version [e.g. v0.8.0]

Additional context
Add any other context about the problem here.

Related:
https://cert-manager.io/docs/faq/troubleshooting/
https://cert-manager.io/docs/faq/acme/


fix: add fill attribute in SVG

In some icons, we could not change the color, so in this PR, I added a fill attribute to the SVG file to solve that problem.

Thanks for the pull request, @milad-emami!  Please note that it may take us up to several weeks or months to complete a review and merge your PR.
Feel free to add as much of the following information to the ticket as you can:

supporting documentation
Open edX discussion forum threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.
Please let us know once your PR is ready for our review and all tests are green.
:warning: We can't start reviewing your pull request until you've submitted a     signed contributor agreement     or indicated your institutional affiliation. Please see the CONTRIBUTING     file for more information.     If you've signed an agreement in the past, you may need to re-sign.  See     The New Home of the Open edX Codebase     for details.
Once you've signed the CLA, please allow 1 business day for it to be processed.  After this time, you can re-run the     CLA check by editing the PR title.  If the problem persists, you can tag the @openedx/cla-problems team in a     comment on your PR for further assistance.

In some icons, we could not change the color, so in this PR, I added a fill attribute to the SVG file to solve that problem.

@milad-emami Thanks for the contribution! Curious, though, what version of @edx/paragon are you running in your application?
We recently resolved this style issue for all the icons from material-ui via this PR (https://github.com/openedx/paragon/pull/1821), where we added the following to the icons/.svgrrc.js file:
https://github.com/openedx/paragon/blob/ac5c0ac0302947acb802aba61046a0e47d0746ee/icons/.svgrrc.js#L41-L57
As a result, all the SVGs get processed when running npm run build and get the appropriate fill attribute, e.g.:
https://github.com/openedx/paragon/blob/ac5c0ac0302947acb802aba61046a0e47d0746ee/icons/jsx/Groups.jsx#L9-L14
When you import icons from @edx/paragon/icons, it imports the transformed *.js file in the output ./es5 folder, which already has the correct attributes at the latest versions of Paragon (v20.21.3+).

Hi @milad-emami! Thanks for your submission! In addition to the comments/questions above, you will need to fill out a CLA form in order to get this PR pushed through. Please let me know if you have any questions.

Hi @milad-emami! Tests have been enabled for this PR, but it looks like some of the checks failed.
We also need a completed CLA form from you to get this PR through. If you've already submitted one, once the checks are re-run, the CLA check should turn green.

Hi @milad-emami! Tests have been enabled for this PR, but it looks like some of the checks failed.
We also need a completed CLA form from you to get this PR through. If you've already submitted one, once the checks are re-run, the CLA check should turn green.

Hi @milad-emami! Friendly follow-up on my message above.

I'm inclined to close this PR as the bug was resolved on a later version of Paragon. The icons modified in this PR are confirmed to be styled correctly as can be seen on this documentation page (e.g., replace the src={Close} with src={Groups} in the code block).
@milad-emami I'd recommend ensuring you're on the latest version of Paragon. Feel free to re-open if you're still having issues.

@milad-emami Even though your pull request wasn’t merged, please take a moment  to answer a two question survey so we can improve your experience in the future.


Output divergence JIT-DebugIA32 vs. JIT-ReleaseX64

DIVERGENCE 1.1:394528055 : JIT-DebugIA32 vs. JIT-ReleaseX64
out1:
Q
throws
[4294967297, 43, -99, 45]
[1,<PHONE_NUMBER>,<PHONE_NUMBER>, 67]
true
-10
0.5183401471273743
[-46]
{0: eh, 1: ♥p0, 2: }
out2:
Q
true
throws
[4294967297, 43, -99, 45]
[1,<PHONE_NUMBER>,<PHONE_NUMBER>, 67]
true
-10
0.5183401471273743
[-46]
{0: D+Ov8N}

Different OOM point due to padLeft.
Same as:
https://github.com/dart-lang/sdk/issues/34688


Generated bridge transaction failing

Hey there :)
I am trying to use the generate_unsigned_bridge_txn endpoint in the synapse-api to build a script which will send JEWEL from DFK Chain to Harmony in Python.
I believe this API uses the buildBridgeTokenTransaction function.
I am working in Python 3.9 with web3py
I am doing the following:
1) I send a request to the generate_unsigned_bridge_txn endpoint
'fromChain': 53935,
'toChain':<PHONE_NUMBER>,
'fromToken': 'JEWEL',
'toToken': 'JEWEL',
'amountFrom': '1000000000000000000',
'addressTo': '0x919d17174Fb22CC1Cfc8748C208104EC62341791'

In plaintext, the above would translate to:
Send 1 JEWEL from DFK Chain to Harmony for JEWEL on Harmony.
2) This is the response I get back from the API is the following (I have shorted unsigned_data so I dont make a mess 🙂):
{
    'unsigned_data': '0xa9fd8c57000000000000000000000000919d17174f...',
    'to': '0x75224b0f245Fe51d5bf47A898DbB6720D4150BA7',
    'chainId': 53935,
    'value': '1'
}

3) So then I create a transaction object:
transaction = {
    'nonce': w3.eth.getTransactionCount(walletAddress),
    "chainId": bridgeTransaction["chainId"],
    'to': bridgeTransaction["to"],
    'gas': 100206,
    'gasPrice': w3.eth.gas_price,
    'data': bridgeTransaction["unsigned_data"]
}

which looks like
{'nonce': 6,
 'chainId': 53935,
 'to': '0x75224b0f245Fe51d5bf47A898DbB6720D4150BA7',
 'gas': 100206,
 'gasPrice': 40000000,
 'data': '0xa9fd8c57000000000000000000000000919d17174f...'}

4) I then sign it using sign_transaction
signedTransaction = w3.eth.account.sign_transaction(transaction, privateKey)
5) and send the raw transaction using https://web3py.readthedocs.io/en/stable/web3.eth.html?highlight=sign_transaction#web3.eth.Eth.send_raw_transaction
sentTransaction = w3.eth.send_raw_transaction(signedTransaction.rawTransaction)
6) The problem is the transaction get sent but it fails
Heres the failing transaction of the above example: 0xa799782030cdf5c1e5e927f5624ae42e0e3e1cc2ff9ac71013168482d018474b

I am just wondering why my transaction is failing.
One thing I did notice is there is a difference in the content of the data sent in my failed bridge transaction versus a successful bridge transaction
As highlighted with the two green rectangles - it looks like there are two missing chunks in the data. Not sure if this is the cause but wanted to offer some help.

Here is the full data sent by the failed transaction:
0xa9fd8c57000000000000000000000000919d17174fb22cc1cfc8748c208104ec623417910000000000000000000000000000000000000000000000000000000063564c4000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000062974fae
I also noticed that the value of my transaction was 0 JEWEL which is odd as the successful transaction had a value of 108.2 JEWEL

I tried to add this value param to the transaction and it didn't like it 🤔
{'nonce': 9,
 'chainId': 53935,
 'to': '0x75224b0f245Fe51d5bf47A898DbB6720D4150BA7',
 'gas': 100206,
 'value': '1000000000000000000',
 'gasPrice': 40000000,
 'data': '0xa9fd8c57000000000000000000000000919d17174fb22cc1cfc8748c208104ec623417910000000000000000000000000000000000000000000000000000000063564c40....'}

TypeError: Transaction had invalid fields: {'value': '1000000000000000000'}

Create this twice, you can delete this ticket.


[material-ui][Popover] Convert to support CSS extraction

[X] I have followed (at least) the PR section of the contributing guide.

The reason the hover popover isn't working is because due to the sx not working, since it needs pointerEvents: 'none' for it to work on hover.
https://github.com/mui/material-ui/assets/44305048/0ec85b95-6198-4a0d-aa6d-9746d868ff21
@siriwatknp

Awesome 👏


Passing generator to NumPy vstack warning

When trying to run the following line in the raster notebook
listings['brightness_rasterio'] = numpy.vstack(brightnesses)
I received this warning:

FutureWarning: arrays to stack must be passed as a "sequence" type such as list or tuple. Support for non-sequence iterables such as generators is deprecated as of NumPy 1.16 and will raise an error in the future.

Would the solution be to convert the generator to a list?
This is an extremely useful resource.   Thanks so much for making it available!

I think the best solution of this problem is as follow.
listings['brightness_rasterio'] = numpy.vstack([brightnesses])

or
listings['brightness_rasterio'] = numpy.vstack(list(brightnesses))


colors: Konsole not supported?

Hi
When I'm using konsole as terminal then use wal to change colors it doesn't appear to change all the colors as it should?
I've used to wal to change blue/whie coloring
Then it should change to dark/dark violet coloring but leaves some areas still blue/white
does this just mean that Konsole terminal is not supported or am I doing something wrong?

I just tested in konsole and can confirm that the escape sequences don't work. Only the background color is changed when I use wal.
I'll do some digging and see if there's an alternative sequence or a reason for it not working.

This link implies that konsole only supports setting the background and foreground colors using escape sequences. It's from 2009 so we can't be sure that the info is still correct.
http://kde.6490.n7.nabble.com/Konsole-escape-codes-td1259043.html

...For the whole display, Konsole supports the control sequences for
changing the 'text foreground color' and 'text background color'...

Edit: I can't seem to find anything else online. The fact that it doesn't work makes me think it isn't supported altogether. I'll look into getting wal to generate konsole colorscheme files directly. This way you can load the colors as a regular scheme.

wal now generates a Konsole colorscheme in the cache directory (~/.cache/wal/colors-konsole.colorscheme). This file can be imported into Konsole to apply the colorscheme. This unfortunately can't be done automatically by wal but it's better than nothing.
I tried symlinking the file to Konsole's theme directory but from my findings Konsole doesn't reload the colorscheme until you reopen it so that won't work.

I've just made the switch to Konsole myself, and in the theme script I've written, copying the colorscheme to either of Konsole's theme directories (not sure which one is the silver bullet) does the trick. This might be because i3 is refreshed, but I'm not sure. Konsole seems like a formidable choice for a terminal now that this is possible.

Are you able to write a little something explaining this in the wiki entry for Konsole? It'll get lost here in the closed issue.
https://github.com/dylanaraps/pywal/wiki/Customization#konsole

Alright, I'll add that in sometime today. On 29 Aug 2017 12:01, Dylan Araps<EMAIL_ADDRESS>wrote:Are you able to write a little something explaining this in the wiki entry for Konsole? It'll get lost here in the closed issue.
https://github.com/dylanaraps/pywal/wiki/Customization#konsole
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.


Microsoft video-playback is broken

The video does not show video with the addon enabled, sound plays normally.
https://www.microsoft.com/en-us/videoplayer/embed/RWfonD?pid=ocpVideo1-innerdiv-oneplayer&jsapi=true&maskLevel=20&market=en-us

Hi, thanks for reporting. This is a known issue from the Chrome extension (e.g. https://github.com/igrigorik/videospeed/issues/936). It occurs on sites that use :first-child selector to style video because the controller node is inserted before it. It would be best to have an upstream fix in https://github.com/igrigorik/videospeed.
I might implement a workaround: e.g. have a list of domains where the controller should be inserted after the video.

Hi,
I pushed a workaround. Please update (0.7.4) and let me know if it works and if it breaks something else.


Adding explicit message to alert users to empty input files during segment generation

Codecov Report

Merging #3788 into master will increase coverage by 0.12%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #3788      +/-   ##
============================================
+ Coverage     67.13%   67.26%   +0.12%
  Complexity        4        4
============================================
  Files          1027     1027
  Lines         50819    50819
  Branches       7091     7091
============================================
+ Hits          34118    34181      +63
+ Misses        14371    14303      -68
- Partials       2330     2335       +5

Impacted Files
Coverage Δ
Complexity Δ

...t/creator/impl/SegmentIndexCreationDriverImpl.java
89.45% <100%> (ø)
0 <0> (ø)
:arrow_down:

...er/validation/BrokerResourceValidationManager.java
47.36% <0%> (-26.32%)
0% <0%> (ø)

...r/validation/RealtimeSegmentValidationManager.java
57.14% <0%> (-23.81%)
0% <0%> (ø)

...pache/pinot/core/util/SortedRangeIntersection.java
83.82% <0%> (-7.36%)
0% <0%> (ø)

...a/org/apache/pinot/common/config/TagNameUtils.java
64.1% <0%> (-5.13%)
0% <0%> (ø)

...e/operator/dociditerators/MVScanDocIdIterator.java
60.6% <0%> (-3.04%)
0% <0%> (ø)

...mpl/dictionary/DoubleOffHeapMutableDictionary.java
74.54% <0%> (-1.82%)
0% <0%> (ø)

.../core/realtime/PinotLLCRealtimeSegmentManager.java
71.38% <0%> (-1.65%)
0% <0%> (ø)

...ot/core/query/pruner/ColumnValueSegmentPruner.java
85.91% <0%> (-1.41%)
0% <0%> (ø)

...g/apache/pinot/common/utils/helix/HelixHelper.java
54.43% <0%> (-1.19%)
0% <0%> (ø)

... and 17 more

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 103bc78...5168cc3. Read the comment docs.


Add a compareV2Json static method for generating a diff of JsonNodes

Intended to address #7. I'm happy to hear any feedback that you might have.

Pull Request Test Coverage Report for Build 30

7 of 7 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 93.868%

Totals

Change from base Build 29:
0.07%

Covered Lines:
597

Relevant Lines:
636

💛  - Coveralls


"Code" Examples and correct vs code image

:x: Validation status: errors

File
Status
Preview URL
Details

api/overview/azure/index.yml
:x:Error

Details

:x:Error

Details

api/overview/azure/index.yml

[Error] Error transforming model "W:\33x5-o-unknown\raw-\noipj4fn.fqw\rawmodel\api\overview\azure\index.raw.json" generated from "api/overview/azure/index.yml" using "ManagedReference.html.primary.js". Error running Transform function inside template preprocessor:

[Error] Error transforming model "W:\33x5-o-unknown\raw-\noipj4fn.fqw\rawmodel\api\overview\azure\index.raw.json" generated from "api/overview/azure/index.yml" using "ManagedReference.html.primary.js". Error running Transform function inside template preprocessor:

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


Longest Common Subsequence in C++

Hey! i would like to work on this

Hey @sumana2001 ! I would like to contribute in this problem too. Kindly assign it to me.

Sure! Go ahead😄


Measurement Client Generator | Unary and non-pin-based measurement support

[x] This contribution adheres to CONTRIBUTING.md. (Required)
[ ]  Automatically post PR comments with images for G code changes? (Recommended for small changes)

What does this Pull Request accomplish?
User story 2738651: [LabVIEW] As a user, I want to interact with the non-streaming & non-pin-based measurement service

Added template client library Measurement Client Template.lvlib to Measurement Generator Template.lvproj. This library holds the measure.vi template for non-streaming measurement client support.

The measure.vi exposes an optional input pin map id to support pin-based measurements. This input will be supported after the deployment of Register Pin Map.vi.
The pin_map_context.sites in measure.vi is set with a default value (=0), thus multi-sites concept is not supported.

Implemented Measurement Plug-In Client creation from the template for the selected V2 measurement services.

Int32, Int64, UInt32, UInt64, Float, Double, Boolean, String and 1D arrays of the base datatypes are supported by the client.
Enum datatype is also supported by the client.
Path and IOResource datatypes are supported as string type specializations.
DoubleXYData and DoubleXYDataArray1D are supported only as output datatypes.

Implemented error handling to handle the errors during client creation.

Client will be created and added to the Active project only if all the steps in the process are successful. Else, the client will be removed from both the project and folder, to ensure the user does not receive a broken client.
The error messages for each client are populated at the end of client creation process, for the user to review.
The status is displayed to the user only if any of the client creation fails, else the dialog will be closed at the end of the process, skipping the status review step.

Updated the Measurement Plug-In SDK Generator.vipb to deploy the template client library in a folder _Measurement Plug-In Client Template parallel to the Create Measurement Client.vi under the project folder.

Why should this Pull Request be merged?

Add template client library Measurement Client Template.lvlib to Measurement Generator Template.lvproj, as it is a dependency for the Measurement Plug-In Client Generator.
Implemented measure.vi creation from the template for the selected V2 measurement services.
To update the Measurement Plug-In SDK Generator.vipb to deploy template client library as part of the package as it is a dependency for the Client generator.

What testing has been done?

Generated package for Measurement Plug-In SDK Generator for the new changes and tested.
Created clients for the example measurements and tested.

Error Handling:

User can view the error message after the completion of client creation process, in case of any failure during the process.
Else, this step is skipped, and the dialog will close.

List Available Measurements.vi
Diff image:
Before:

After:

Validate Selected Client Names.vi
Diff image:
Before:

After:

Raised a separate PR to fix an issue with loading the gRPC client API library Measurement Service Client.lvlib as dependency for the tool generated measurement plug-in client in a new LabVIEW project.

I noticed this VI though it's not included in the PR.

Change the name to something like Get Font Color.vi
Use 'color' for the spelling
Use a button instead of an LED for the boolean input
I prefer using 'is valid' for the input name as opposed to 'valid?' especially for inputs.  For example, use buttons for Boolean controls and LEDs for Boolean indicators."

Can you include a screenshot or video showing the process and result of the client generation?

Hi Joel,
I've fixed all the comments and am awaiting your review to proceed with this PR.


Install dependencies for tests via mamba

[ ] Closes #147
[ ] Tests added
[ ] Changes are documented in docs/releases.rst
[ ] New functions/methods are listed in api.rst

Amazing!

@maxrjones this seems to have worked nicely! Ready to merge?

@maxrjones this seems to have worked nicely! Ready to merge?

Yep, go for it!


sysutils/monit: path in custom tests doesn't allow parameters

According to PROGRAM STATUS TEST the 'PATH' option should accept parameters.
But the validation fails due to the space between program and parameter.

@fichtner do you migrate the plugin already?

no, if you want to work on a bug just let me know when it's safe to merge :)


Allow generating structs with inner struct properties staying .NET references instead of pointers (optimally only for some methods)

Describe the solution you'd like
I'd like to write code like the following:
var myStruct = CreateStruct();
PInvoke.MyMethod(..., myStruct, ...);
[...]
OUTER_STRUCT CreateStruct ()
{
    INNER_STRUCT is;
    // fill is

    OUTER_STRUCT os;
    // fill os
    os.Inner = &is; // unfortunately pointer type instead of a C# reference type

    return os;
}

That doesn't work though, as the address &is is invalid once I return from CreateStruct.
Is your feature request related to a problem? Please describe.
I'm frustrated when I can't write it like that but instead have to write code like the following as a workaround:
var disposers = new List<Action>();
try
{
    var myStruct = CreateStruct(disposers);
    PInvoke.MyMethod(..., myStruct, ...);
}
finally
{
    foreach(var disposer in disposers)
        disposer();
}

[...]
OUTER_STRUCT CreateStruct (List<Action> disposers)
{
    INNER_STRUCT is;
    // fill is
    INNER_STRUCT* isPinned = GCHandle.Alloc(is, GCHandleType.Pinned);
    disposers.Add(() => isPinned.Free());

    OUTER_STRUCT os;
    // fill os
    os.Inner = (INNER_STRUCT*) is.AddrOfPinnedObject();

    return os;
}

Describe alternatives you've considered
None so far.
Additional context
See also discussion around https://github.com/microsoft/CsWin32/discussions/1002#discussioncomment-6568325
Best regards,
D.R.

Can you give a concrete example of a pair of structs that are problematic for you so we can test the solution?

Here are some examples from my current SignerSignEx2 call:

SIGNER_SUBJECT_INFO & SIGNER_FILE_INFO
SIGNER_CERT & SIGNER_CERT_STORE_INFO
SIGNER_SIGNATURE_INFO & SIGNER_ATTR_AUTHCODE

Best regards,
D.R.

Oh, those all use explicit layout unions, so either C# or the runtime will likely not allow what you're asking for. Can you try declaring the structs yourself with the proposed modifications and see if it works? You can start by copying out the CsWin32 generated ones into your own code. If you use the same namespace and type names, CsWin32 will gracefully stop emitting the types that you yourself define.


Yosegi-65 It becomes an array of NULL when decoding Snappy.

What is the necessity of this update? What is updated?
Added Snappy.
How did you do the test? (Not required for updating documents)
This class performs common unit tests.

LGTM


net: l2: openthread: join thread mcast addrs added to zephyr

Modifies openthread shim layer to automatically join multicast
addresses as they are added to zephyr from openthread, unless the
address is interface-local or link-local. This allows incoming
openthread multicast group messages to avoid being filtered by
zephyr ipv6 recv.
Fixes #31085
Signed-off-by: Joel Frazier<EMAIL_ADDRESS>

Nice catch, thanks for submitting the PR. I think it's a fine solution for the issue reported, just commented on some nits.

No problem. I updated the branch to reflect your comments. Thanks for reviewing.

Nice catch, thanks for submitting the PR. I think it's a fine solution for the issue reported, just commented on some nits.

No problem. I updated the branch to reflect your comments. Thanks for reviewing.


⚠ Bofrost.lu has degraded performance

In 1b0cd53, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1417 ms

Resolved: Bofrost.lu performance has improved in f75918a after 53 minutes.


Mouse Force Pass Scroll Events is not working on Emulate Touch from Mouse

Tested versions
Reproducible in: v4.2.1.stable.mono.official [b09f793f5], v4.3.beta2.mono.official [b75f0485b]
System information
Godot v4.3.beta2.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1650 (NVIDIA; <IP_ADDRESS>14) - Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 Threads)
Issue description
mouse_force_pass_scroll_events seems not working. As far as I understand, mouse_force_pass_scroll_events should force mouse filter Pass to its parent even if it set to stop so that the scroll container can scroll.
Steps to reproduce
I enabled emulate_touch_from_mouse before testing it. I used ScrollContainer, followed by VBoxContainer and fill it with ColorRect to test it. During Enabling mouse_force_pass_scroll_events while putting stop on mouse_filter, scrolling with mouse drag does nothing, except for the small gap between the ColorRects. As a reference for my own, I set pass on mouse_filter and it works fine.
Minimal reproduction project (MRP)
scrollcontainer.zip
Edit:
I've done a little bit more testing on android (for Godot v4.2.1) with both enabling/disabling emulate_mouse_from_touch. During Enabling mouse_force_pass_scroll_events while putting stop on mouse_filter, it gives similar result. As another reference for my own, I set pass on mouse_filter and it works fine, but doesn't work when I disabled emulate_mouse_from_touch.

Can confirm this is a problem for our app as well. We have a mobile app and scroll events are not propagating. Tried it on 4.3dev5 / 6 / beta2 and RC1.

Any way I can do to help resolving this issue? It's making parts of my application very hard to use on mobile phones which is our primary deployment target.

The issue is that mouse_force_pass_scroll_events fails to set its children/grandchildren's mouse filter to PASS. So, we need to do that when giving the input, and set it back to STOP when releasing it. So you can do something like this.
public partial class CustomScrollContainer : Godot.ScrollContainer
{
    public override void _Input(InputEvent @event)
    {
        if (@event is InputEventScreenTouch eventTouch) {
            Vector2 _pos = eventTouch.Position;
	    if (eventTouch.IsPressed()) _ForcePassScrollPressed(_pos);
	    else _ForcePassScrollUnpressed();
        }
    }

    private Godot.Collections.Array<Godot.Control> _stopFilterControl = new();

    /**
     * Get Controls Children/GrandChildren that has 'Stop' Mouse Filter
     * Set 'Stop' Filter to 'Pass'
     */
    private void _ForcePassScrollPressed(Vector2 _pos)
    {
        if (!MouseForcePassScrollEvents || !GetGlobalRect().HasPoint(_pos)) return;

        _stopFilterControl = new Godot.Collections.Array<Godot.Control>(_GetGrandchildrenControl(this).Where(x => x.MouseFilter == MouseFilterEnum.Stop).ToArray());
	foreach (var each in _stopFilterControl) {
            each.MouseFilter = MouseFilterEnum.Pass;
        }
    }

    /**
     * Revert controls which had set 'Pass' back to 'Stop'
     */
    private void _ForcePassScrollUnpressed()
    {
        // Delay by One Frame, to give time to complete Unpress Event from Godot
        GetTree().CreateTimer(double.NegativeInfinity).Timeout += () => {
	    foreach (var each in _stopFilterControl)
	    {
	        each.MouseFilter = MouseFilterEnum.Stop;
	    }
        };
    }

    private Godot.Collections.Array<Godot.Control> _GetGrandchildrenControl(Godot.Control parentNode) {
        var _array = new Godot.Collections.Array<Godot.Control>(parentNode
            .GetChildren()
            .Where(x => x is Godot.Control xControl)
            .SelectMany(x => _GetGrandchildrenControl((Godot.Control)x))
            .ToArray());
        if (!GodotObject.Equals(this, parentNode)) _array.Add(parentNode);
		return _array;
    }
}

Hope this helps


Running the bin script fails with "env: node\r: No such file or directory"

This is on mac and linux.
Looks like the ./bin/ts-cleaner.js file was published to npm with DOS CRLF newlines.
Running dos2unix on the file fixes the problem locally.
I think it needs to be republished with unix newlines.

Hey @royra,
Thanks for informing me, I indeed have written and tested it only on windows. Is there any chance you could make a pull request, such that we're sure it works on mac/linux? I can try to correct it myself if you aren't able to, but I won't be able to verify whether it fixes the issue myself.

The code at GitHub has unix newlines, so I don't see how it's fixable with a PR.
Looks like it's a known NPM issue. Maybe you should publish a new version with fixed newlines?

Aah alright, my bad.
I will look into it when I have time.

I tried changing out the CRLF for LF, and published a new version to npm.
I haven't tested anything yet however. I would very much appreciate it if you could verify whether or not this fixed the issue. It also contains your fixes for the async problem.

Fixed in published version 1.0.4. Thanks!


Fix: return value 0 if ByNumber returns nil

Alright, in #123  i said i couldn't think of a case where ByNumber would return nil with the way it was done in this code path.
Turns out i didn't fully understand enums.
enums in golang and various other languages treat enums as open https://protobuf.dev/programming-guides/enum/#definitions
Meaning that if you pass a value e.g. 1337, golang will report the field being set and instead of a nice enum value just represent it as 1337, then when using BynNmber i get nil and .Name() fails due to nil pointer.
This fixes that to set unknown values to value 0.
Sorry about that.

Thanks @JacobSMoller!


.NET Core 3.0 apps failed to run with static files in folders published as a single file

Describe the bug
Static files included in project but in FOLDER structure(with at least one underlying subfolder) failed to run after published as a single file, eg. you Included a wwwroot folder with a css subfolder in your project and set all individual files to be copied to output folders under VS which are assumed to be packed into the single executable.
running the output executable shows following messages:

Failure processing application bundle; possible file corruption.
Invalid FileEntry detected.
A fatal error was encountered. Could not extract contents of the bundle

These messages were gone when abovementioned all subfolders (such as /wwwroot/css) were removed.
Static files in project root, or in first level folder don't yield this problem.
To Reproduce
Steps to reproduce the behavior:
1.Inlucde folders with subfolders of files in project (such as "/wwwroot/css/”)
2.Publish with PublishSingleFile=true
3.Run the output executable,you get the message.
Expected behavior
Launch as usual since the packed folders structure should be extracted to the temporary path properly.
Relevant Issue:
https://github.com/aspnet/AspNetCore-Tooling/pull/820
https://github.com/aspnet/AspNetCore/issues/12020
@DamianEdwards @davidfowl @glennc @anurse

Why did you move it from ASP.NET Core?

I encountered this problem during publishing a console program which deosn't depend on asp.net core at all, though i did get some information on similar situation from some asp.net threads, i think it is more proper to discuss it here.

@nguerrera @dsplaisted @elinor-fung

Is single-file publish supposed to work for ASP.NET apps with content files, etc?

@swaroop-sridhar
Single-file publish should still work properly for subfolders with subfolders.
I wasn't able to repro with:

Create a console app with a folder structure like so:│   helloWorld.csproj
│   Program.cs
└───subfolder
    └───sub
            test1.txt
            test2.txt

Set <Content Include="subfolder\sub\**" CopyToOutputDirectory="Always"/> in the .csproj.
dotnet.exe publish /p:Configuration=Release /p:PublishSingleFile=true /p:RuntimeIdentifier=win10-x64
bin\Release\netcoreapp3.0\win10-x64\publish\helloWorld.exe

@xiaoyuvax, did I miss a step for the console app repro? Is this with the official 3.0 release?

Yes single-file publish is expected to package all published files (except for some special files like PDBs) including sub-directory structure into the app.

If you publish without the PublishSingleFile option, are the sub-folders in the publish directory?
If so, when you run the app, please check the extraction location (typically <tmp-directory>/.net/<app-name>/<some-hash>) to see if the content files were extracted.

Thanks.

First of all, I did more trials by setting off all extra configurations such as TierCompilation and PublishTrimmed and reproduced the same result:

Failure processing application bundle; possible file corruption.
Invalid FileEntry detected.
A fatal error was encountered. Could not extract contents of the bundle
As i've described in the first post.

@swaroop-sridhar

Without PublishSingleFile option, subfolders are there in the publish folder
Once run after PublishedSingle-File with message above shown, only see a four-digits random numbered folder created in the temp folder without any contents inside, nothing.

@elinor-fung
I created a new console project with following config. still got the same problem.
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp3.0</TargetFramework>
    <PublishSingleFile>true</PublishSingleFile>
    <RuntimeIdentifier>win10-x64</RuntimeIdentifier>
    <ApplicationIcon />
    <StartupObject />
  </PropertyGroup>

  <ItemGroup>
    <None Remove="wwwroot\css\app.css" />
    <None Remove="wwwroot\css\chunk-0bcfab7e.css" />
    <None Remove="wwwroot\css\chunk-4a31f3fb.css" />
    <None Remove="wwwroot\css\chunk-56450eb9.css" />
    <None Remove="wwwroot\css\chunk-5b4909b2.css" />
    <None Remove="wwwroot\css\chunk-8d0177ea.css" />
    <None Remove="wwwroot\css\chunk-a456f024.css" />
    <None Remove="wwwroot\css\chunk-ad0b3224.css" />
    <None Remove="wwwroot\css\chunk-edce5902.css" />
    <None Remove="wwwroot\favicon.ico" />
    <None Remove="wwwroot\index.html" />
  </ItemGroup>

  <ItemGroup>
    <Content Include="wwwroot\css\app.css">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Include="wwwroot\css\chunk-0bcfab7e.css">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Include="wwwroot\css\chunk-4a31f3fb.css">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Include="wwwroot\css\chunk-56450eb9.css">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Include="wwwroot\css\chunk-5b4909b2.css">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Include="wwwroot\css\chunk-8d0177ea.css">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Include="wwwroot\css\chunk-a456f024.css">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Include="wwwroot\css\chunk-ad0b3224.css">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Include="wwwroot\css\chunk-edce5902.css">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Include="wwwroot\favicon.ico">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
    <Content Include="wwwroot\index.html">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </Content>
  </ItemGroup>

</Project>

@dsplaisted Please read the relevant issues attached concerning contents folders in  asp.net core.

@xiaoyuvax https://github.com/aspnet/AspNetCore/issues/12020 is a different (understood) issue -- in that the content files end up in the extraction directory (rather than beside the host) when bundled into a single file.
In this case, looks like the bundle extraction failed -- I'll try to repro the failure now, and look into it.


the directory of checkpoints is empty

Hello Sha Li,  according to your code，I found that the checkpoint directory is still empty after the execution of code，which made it impossible to test the model on test set. Have you ever met this problem and could you give me some clue to fix it?

I was unable to reproduce this problem for a long time but now I have finally discovered the reason 😅 . It is caused by the difference in the pytorch-lightning version.
See this https://pytorch-lightning.readthedocs.io/en/latest/common/trainer.html#checkpoint-callback for details, but the key is that the checkpoint_callback should be passed in the Trainer as part of the list of callbacks instead of being an individual argument.


Exported project doesn't use correct app icon in Windows File Explorer

Godot version
3.4-stable
System information
Linux, GLES3
Issue description
In the Godot Editor I selected a custom app icon for Windows. When launching my app, the window header shows the correct icon, but in the Windows File Explorer there is still the default Godot icon.
EDIT: I use embedded PCK for export.
Steps to reproduce
Export a project with custom app icons for Windows. Then go to the file explorer and you will see that the .exe file uses still the default Godot icon.
Minimal reproduction project
No response

Maybe a duplicate of https://github.com/godotengine/godot/issues/36629 or https://github.com/godotengine/godot/issues/47240

I suppose you should read this -  https://docs.godotengine.org/en/stable/getting_started/workflow/export/changing_application_icon_for_windows.html

EDIT: I use embedded PCK for export.

That's why it broke: https://github.com/godotengine/godot/issues/33466


Create an overview doc of Ex. 21 formats/layouts

As a first step in the extraction process we need to scope the different formats that the Ex. 21 documents come in so we can have a better understanding of what layouts to try to extract from first. Create a document with the following:
### Tasks
- [ ] Screenshots of each common layout
- [ ] Rough distribution of documents to each layout
- [x] Target variables and which ones we can access through each layout
- [ ] Available formats for the documents: XBRL, HTML, scanned PDF, text based PDF etc.

Once we've conducted this overview, we'll have a better idea of how to create a representative sample of documents to begin extracting from, or which layout to start with.

Began creating a google doc to track this, so far main issue is that sometimes Ex. 21 tables are within an HTML table while other times they're part of a HTML body. Even when using pandas read_html to read in from an HTML table there needs to be some serious reformatting to get the schema right. This might require categorizing into the different formats/schemas.


don't trigger releases on withdrawn images

It's needlessly wasteful to trigger a (no-op) release of every image when we change README.md or withdraw images or repos.

Ironically, merging this will trigger a release 🙃


Deserializing string with newlines into HashMap<&str, &str> fails but HashMap<String, String> works

I'm not sure what is going on here, but it seems that deserializing into HashMap<&str, &str> fails if the value contains a newline, whereas HashMap<String, String> works just fine.
This fails:
use std::collections::HashMap;

fn main() {
    let json = r#" { "foo": "bar\nbaz" } "#;

    let map: HashMap<&'static str, &'static str> =
        serde_json::from_str(&json).expect("deserialize");

    dbg!(map);
}

$ cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.01s
     Running `target/debug/i18n-test`
thread 'main' panicked at 'deserialize: Error("invalid type: string \"bar\\nbaz\", expected a borrowed string", line: 1, column: 20)', src/libcore/result.rs:999:5
stack backtrace:
   0: backtrace::backtrace::libunwind::trace
             at /Users/vsts/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.29/src/backtrace/libunwind.rs:88
   1: backtrace::backtrace::trace_unsynchronized
             at /Users/vsts/.cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.29/src/backtrace/mod.rs:66
   2: std::sys_common::backtrace::_print
             at src/libstd/sys_common/backtrace.rs:47
   3: std::sys_common::backtrace::print
             at src/libstd/sys_common/backtrace.rs:36
   4: std::panicking::default_hook::{{closure}}
             at src/libstd/panicking.rs:200
   5: std::panicking::default_hook
             at src/libstd/panicking.rs:214
   6: std::panicking::rust_panic_with_hook
             at src/libstd/panicking.rs:477
   7: std::panicking::continue_panic_fmt
             at src/libstd/panicking.rs:384
   8: rust_begin_unwind
             at src/libstd/panicking.rs:311
   9: core::panicking::panic_fmt
             at src/libcore/panicking.rs:85
  10: core::result::unwrap_failed
             at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/libcore/macros.rs:18
  11: core::result::Result<T,E>::expect
             at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/libcore/result.rs:827
  12: i18n_test::main
             at src/main.rs:8
  13: std::rt::lang_start::{{closure}}
             at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/libstd/rt.rs:64
  14: std::rt::lang_start_internal::{{closure}}
             at src/libstd/rt.rs:49
  15: std::panicking::try::do_call
             at src/libstd/panicking.rs:296
  16: __rust_maybe_catch_panic
             at src/libpanic_unwind/lib.rs:82
  17: std::panicking::try
             at src/libstd/panicking.rs:275
  18: std::panic::catch_unwind
             at src/libstd/panic.rs:394
  19: std::rt::lang_start_internal
             at src/libstd/rt.rs:48
  20: std::rt::lang_start
             at /rustc/eae3437dfe991621e8afdc82734f4a172d7ddf9b/src/libstd/rt.rs:64
  21: i18n_test::main

This works:
use std::collections::HashMap;

fn main() {
    let json = r#" { "foo": "bar\nbaz" } "#;

    let map: HashMap<String, String> = serde_json::from_str(&json).expect("deserialize");

    dbg!(map);
}

$ cargo run
   Compiling i18n-test v0.1.0 (/Users/davidpdrsn/Desktop/i18n-test)
    Finished dev [unoptimized + debuginfo] target(s) in 0.39s
     Running `target/debug/i18n-test`
[src/main.rs:8] map = {
    "foo": "bar\nbaz",
}

Any idea what could be going on here?

After deserialization of that JSON, the value associated with the key "foo" would need to contain a newline character (U+000A, or '0x0a'). Your input string does not contain a newline character anywhere. Thus there isn't any substring of the input that can be borrowed as &str in the output that would have the correct value.

Hm alright. Not quite sure I understand, but I take your word for it 😊
Is there anyway to deserialise that JSON without creating new Strings?

If what you want is for the escape sequence to be kept as two characters \ n in the output, you could use HashMap<&str, &RawValue>. https://docs.rs/serde_json/1.0/serde_json/value/struct.RawValue.html

I'll give that a shot. Thanks!


limit bundle size

default around 7 is good I think, but there should be an option to change it

Outputs are already limited, but inputs not. So that we still can transfer funds from many addresses we should do internal transfers to merge funds from multiple addresses (for some cases it might be useful to split them)

https://github.com/iota-pay/iota-payment-module/commit/3898bcb6eebf432cd3b322131a182bf64fe33278

https://github.com/iota-pay/iota-payment-module/commit/791aea9ebf496bc1c3db20b60651fef767b70699


Output is written after streaming is finished

Hi, thank you for this great repo. I am not really familiar with RTMP and streaming.
Managed to start the server (as described in README), then stream a file to rtmp://<IP_ADDRESS>:1935/test/sample  . It works for both .mp4 and .flv input and output .flv
Also, tested on having a stream started in OBS Studio. It works and the output .flv is written only after the stream is stopped. Can you give some hints on how we can change this into writing the files even if the stream is not completed?
Thank you in advance!

It seems that I picked the wrong example to test. Using demo_ffmpeg.py solve the problem.
@Eittipat  may I know more of difference between demo_ffmpeg.py and demo_flvdump.py? Thank you!


Add When You Find Me (Low Pitch) by Wist8nGD

Song Name
When You Find Me (Low Pitch)
Artist Name
Wist8nGD
Source
Youtube
Youtube Link
https://youtu.be/nFePbe03800?si=RQ3ZMYlSvqzgqM8i
Direct File Link
No response
Song ID
30
Extra
Created from Auto Nong.

accept


Immich v1.118.0

New api update specifically "/api/people/:id/assets" have been removed. Wondering if it is safe to update to Immich v1.118.0

Immich 1.118.0 will indeed break the script but upon inspection it appears that while this script is making an API call to /api/people/:id/assets that the results aren't being used?
Not sure what's going on there. Maybe it was accidentally left in or something?

Thanks @jbrechtel for the heads up, I've removed the dead code, as well as added a --verbose flag in the latest release !
@derpderpington : The latest release should be compatible with v1.118.0 (at least its working fine on my end), thanks for the question !

@romainrbr just updated and all is working! Thanks!


oopsy: Add job specific oopsy triggers

Summary
Add in job specific oopsyraidsy triggers to get a more real time sense of how you're playing.
Initial examples off the top of my head:

Counting SF/WW in demi windows for SMN
Counting GCDs in a Hypercharge window MCH

I've got hypercharge GCDs working, and a rudimentary SF/WW tracker working as well.
I'm going to see if I can get the combatant stuff to also work so that colliding SF/WWs from other SMNs don't get counted incorrectly.

@quisquous sorry been swamped with work but not sure if this is necessary anymore. Will look at what's now in jobs and close this out if jobs now manages this.
Otherwise, I might push out the hypercharge change for review. The SF/WW tracker seems to work on Dummies but falls apart in actual instances for some reason.

Very belatedly, I have some local "positional" oopsy triggers, but they're a lot of work to maintain and I don't want to commit to doing that for everything for all time.
I think if somebody is interested in job-specific oopsy and wants to contribute that work I'm happy to take it, but I don't have time to maintain it over time, so am going to close this.


feat: Fintype (Finpartition s) for s : Finset α

This instance will be useful in formalising Bell and Stirling-2 numbers.
Co-authored-by: Yakov Pechersky<EMAIL_ADDRESS>

This looks like it was ported from code I wrote in the Xena discord, without credit.

Thanks!
bors merge


ENH: Adds table_len method to BcolzMinuteBarReader

To get the length of the underlying table for a given sid.

Coverage decreased (-0.005%) to 86.389% when pulling 2ea30a19c53a5d25eb24971bd43660022e3ecad5 on minute-table-len into 4a5d6e41dfdb2ca8c5ca859dd37fb4da68c8ef40 on master.

Coverage decreased (-0.005%) to 86.389% when pulling 2ea30a19c53a5d25eb24971bd43660022e3ecad5 on minute-table-len into 4a5d6e41dfdb2ca8c5ca859dd37fb4da68c8ef40 on master.

Coverage decreased (-0.005%) to 86.389% when pulling 2ea30a19c53a5d25eb24971bd43660022e3ecad5 on minute-table-len into 4a5d6e41dfdb2ca8c5ca859dd37fb4da68c8ef40 on master.


Flip angle maps to nT/V conversion needs better documentation

From the original analysis pipeline written by @dpapp86 :
https://github.com/shimming-toolbox/rf-shimming-7t/blob/a576fb3a0d49582e9ea11ddfbfbc2a286d828eec/Analysis.ipynb#L367-L382
I would like to get clarifications/references about:

"The costants sum up to 130.492": What is the justification for this?
"VoltageAtSocket = RefVol * 10**-0.095": Where does the "10**-0.095" come from?
"it has to be divided by 10 (to get it back into units of FA)": Can we get a justification for this? (eg: reference to the sequence, article, forum post, etc.)

The code comes from Kyle Gilbert, as per:
https://gitlab.com/cfmm/siemens/matlab/common/-/blob/master/b1maps/readsiemensb1maps.m?ref_type=heads
The TFL_B1map output is in units of 10*Flip Angle. This is, as far as I know, only properly documented in the WIP documentation of the sequence the product TFL mapping sequence was developed from, specifically:


ParseException.getErrorLineNumber gives NullPointerException

Under some situations, ParseException is constructed
with a null "currentToken" member variable.
A call to ParseException.getErrorLineNumber therefore
fails with a NullPointerException.
The exception message has however been correctly
populated:
Parse error at line 35, column 20.  Encountered: (
The source code line that caused this problem is:
response.setContent(server.processTemplate("_search.html",templateVars,"text/html");
That is, there is a missing ")".
Reported by: jlohrey
Original Ticket: "beanshell/bugs/257":https://sourceforge.net/p/beanshell/bugs/257

Completed with test see #576


Event triggering after selecting the cast

Hello, I was just wondering if there is an event to catch the exact moment when the user choose the cast device and then get connected.
I would like to put some sort of loading during this time period, letting the user know that the action he just did is doing something.
Is there some sort of thing to do that?
Thank you for your time

Will provide an example this week


How to configure this for editing neovim's configuration files?

I wish to use this mainly to edit the config files for neovim. However with my current configuration, whenever I save the file, it does "Diagnose Workspace x/817", which takes ages.
I don't understand which files it is trying to diagnose and why. The lua files I'm editing are in ~/.vim
My current config file is this
    "Lua.addonManager.enable": true,
    "Lua.codeLens.enable": true,
    "Lua.completion.enable": true,
    "Lua.completion.keywordSnippet": "Both",
    "Lua.completion.displayContext": 10,
    "Lua.format.enable": true,
    "Lua.workspace.library": [
        "/usr/share/nvim/runtime/lua",
        "/usr/share/nvim/runtime/lua/vim",
        "/usr/share/nvim/runtime/lua/vim/lsp",
        "~/.vim/plugged/**/lua/"
    ],
    "Lua.workspace.ignoreDir": [
        ".vscode",
        "plugged",
        ".git"
    ],
    "Lua.diagnostics.globals": [
        "vim"
    ],
    "Lua.diagnostics.workspaceRate": 100,
    "Lua.doc.privateName": [
        "m_*"
    ],
    "Lua.hint.enable": true,

I found out why it was taking forever. It tried parsing every file in ~/.vim/ including subdirectories, which also had my backup, swap files and undo files. I moved all the files I source from my vim config into their own config directory and it loads a lot faster now.
However I can't seem to get it to recognize the members when I use require(). For example require('neo-tree') would be pulled from ~/.vim/plugged/neo-tree.nvim/lua/neo-tree.lua. But I just get an unknown type back from the LSP.
My updated config
    "Lua.addonManager.enable": true,
    "Lua.codeLens.enable": true,
    "Lua.completion.enable": true,
    "Lua.completion.keywordSnippet": "Both",
    "Lua.completion.displayContext": 10,
    "Lua.format.enable": true,
    "Lua.workspace.library": [
        "/usr/share/nvim/runtime/lua",
        "/usr/share/nvim/runtime/lua/vim",
        "/usr/share/nvim/runtime/lua/vim/lsp",
        "~/.vim/plugged"
    ],
    "Lua.workspace.ignoreDir": [
        ".vscode",
        ".git"
    ],
    "Lua.diagnostics.globals": [
        "vim"
    ],
    "Lua.runtime.path": [
        "?.lua",
        "?/init.lua",
        "?/lua/?.lua",
        "?.nvim/lua/?.lua"
    ],
    "Lua.diagnostics.workspaceRate": 100,
    "Lua.doc.privateName": [
        "m_*"
    ],
    "Lua.hint.enable": true,


Support for detached work trees

Is your feature request related to a problem? Please describe.
I manage my dotfiles with a bare git repo setting  --work-tree to $HOME but --git-dir to a different directory.
I interact with the repo with this command:
git --git-dir=$HOME/.cfg/ --work-tree=$HOME
Gitsigns does not work on my dotfiles ( it doesn't detect that $HOME is git repository).
Describe the solution you'd like
Expose a variable that allows providing extra arguments to the git command used by gitsigns.
Gitgutter does this, and I'm able to do something like:
if getcwd() == $HOME
    let g:gitgutter_git_args = '--git-dir=$HOME/.cfg/ --work-tree=$HOME'
else
    let g:gitgutter_git_args = ''
endif

I don't think customizing arguments passed to git is the way to go. Gitsigns works quite differently to gitgutter and issues several git commands, one of them is to determine the gitdir which is then use for all subsequent git commands. We just need to improve that to accommodate what is essentially "detached gitdirs".
Proposal 1
Modify config.on_attach to allow pre-polulation of gitsigns buffer state:
local home = vim.fn.expand('$HOME')
require('gitsigns').setup{
  ...
  on_attach = function()
    if vim.fn.getcwd() == home then
      return {
        gitdir = home..'/.cfg'
      }
    end
  end
}

Proposal 2
Add config.detached_trees (or similar), to specify additional git checkouts to look at when attaching to a buffer. This could be a map of working tree to gitdir:
local home = vim.fn.expand('$HOME')
require('gitsigns').setup{
  ...
  detached_trees = {
    -- working tree -> gitdir
    [home] = home..'/.cfg'
  }
}

Personally I think proposal 2 is the way to go, but we may end up doing proposal 1 if we ever need to prepopulate other fields.

Both proposals seem reasonable to me.
Regarding the second proposal, can't we support other fields this way?
    -- working tree -> {  gitdir, otherFields }
    [home] = { gitdir = home..'/.cfg' , possiblefield = '' , ...

Yes we could do that. What kind of fields could we possibly have? Also, it is possible to support both in a polymorphic way.

I don't have anything specific on mind regarding other fields.
My point was that should the need for other fields arise, it would be easy to support them with the second proposal.

Ok sure, we can go with that then.

Hi,
I too manage my dotfiles with a bare git repository and was looking to implement this with gitsigns.
I however found a very easy solution to the problem, using the GIT_* enviroment variables:
local gs = require("gitsigns")

local jid = vim.fn.jobstart({ "git", "rev-parse", "--git-dir" })
local ret = vim.fn.jobwait({jid})[1]
if ret > 0 then
    vim.env.GIT_DIR = vim.fn.expand("~/.dotfiles.git")
    vim.env.GIT_WORK_TREE = vim.fn.expand("~")
end

gs.setup()

I first check if git finds a git repository on it's own and if not, I set the enviroment variables. These variables get later used when gitsigns spawns it's git subprocesses. (I haven't tried if we can change the enviroment variables after setting up gitsigns, but this way is probably safer.) I used the "old" neovim job controll feature, instead of the "newer" event loop, since it is easier to work with. (Mainly because the event loop doesn't have a jobwait equivalent.)
On another note: if you still want to implement a feature to do this, I think your first proposal would be preferable. This is because, the second proposal would not work with subdirectories. (E.g. when I edit a file like ~/foo/bar, but my cwd is not ~ but instead ~/foo.) Or at the very least it would be very hard to implement.
Anyway, I hope my workaround is helpful to you all!

Hi,
I too manage my dotfiles with a bare git repository and was looking to implement this with gitsigns.
I however found a very easy solution to the problem, using the GIT_* enviroment variables:
local gs = require("gitsigns")

local jid = vim.fn.jobstart({ "git", "rev-parse", "--git-dir" })
local ret = vim.fn.jobwait({jid})[1]
if ret > 0 then
    vim.env.GIT_DIR = vim.fn.expand("~/.dotfiles.git")
    vim.env.GIT_WORK_TREE = vim.fn.expand("~")
end

gs.setup()

I first check if git finds a git repository on it's own and if not, I set the enviroment variables. These variables get later used when gitsigns spawns it's git subprocesses. (I haven't tried if we can change the enviroment variables after setting up gitsigns, but this way is probably safer.) I used the "old" neovim job controll feature, instead of the "newer" event loop, since it is easier to work with. (Mainly because the event loop doesn't have a jobwait equivalent.)
On another note: if you still want to implement a feature to do this, I think your first proposal would be preferable. This is because, the second proposal would not work with subdirectories. (E.g. when I edit a file like ~/foo/bar, but my cwd is not ~ but instead ~/foo.) Or at the very least it would be very hard to implement.
Anyway, I hope my workaround is helpful to you all!

Thanks this is really useful to know.

Thanks this is really useful to know.

Implemented a form of proposal 2.
Feedback welcome 😄

Hi,
I came across this issue a short while ago and have the same dotfiles in bare repo problem.
I have tested your pr and have some feedback on it.
Currently, the changes don't work correctly for object information (no signs):
run_job: git --no-pager --literal-pathspecs --git-dir /home/marwin/.dotfiles --work-tree /home/marwin rev-parse --show-toplevel --absolute-git-dir --abbrev-ref HEAD
run_job: git --no-pager --literal-pathspecs --git-dir=/home/marwin/.dotfiles -c core.quotepath=off ls-files --stage --others --exclude-standard --eol /home/marwin/.config/nvim/lua/user/setup/gitsigns.lua
attach(1): Empty git obj

You can see in the debug log above that you currently don't pass --work-tree to this command but you do to in the one above when testing the detached work tree. Passing the toplevel as cwd instead of the argument doesn't appear to work for me even when running manually in the shell. I was able to locally fix this by setting the --work-tree option instead of setting the cwd in git.lua (I don't have teal but the change should translate).

Whoops, my local fix has the side effect that the every file I open outside the toplevel dir now shows up as all new lines (probably because git's cwd is toplevel and the filename passed to git is relative to neovim's cwd. Also files from other git repos (for example gitsigns.nvim appear to also be diffed against the toplevel dotfiles entry instead of the current git repo.

Well from my testing this works.
run_job: git --no-pager --literal-pathspecs --git-dir /Users/lewrus01/projects/dotfiles/.git --work-tree /Users/lewrus01 rev-parse --show-toplevel --absolute-git-dir --abbrev-ref HEAD
run_job: git --no-pager --literal-pathspecs --git-dir=/Users/lewrus01/projects/dotfiles/.git -c core.quotepath=off ls-files --stage --others --exclude-standard --eol /Users/lewrus01/.bashrc
try_worktrees(1): Using worktree {
  gitdir = "/Users/lewrus01/projects/dotfiles/.git",
  toplevel = "/Users/lewrus01"
}

Adding --work-tree to ls-files doesn't seem to be needed:
> git -C $HOME --git-dir=$HOME/projects/dotfiles/.git ls-files --stage --others --exclude-standard --eol $HOME/.bashrc
100644 163042adb51c8f7544f8785a0d886d424ed9ccaf 0       i/lf    w/lf    attr/                   .bashrc

Also, just to check is /home/marwin/.dotfiles your actually gitdir, or should it be /home/marwin/.dotfiles/.git?

If I run the ls-files command logged by gitsignes.nvim (without the --work-tree set) I get the following output:
~/.config/nvim/lua/user/setup > git --no-pager --literal-pathspecs --git-dir=$HOME/.dotfiles -c core.quotepath=off ls-files --stage --others --exclude-standard --eol gitsigns.lua
fatal: this operation must be run in a work tree

The same happens when I pass -C $HOME.
If I add --work-tree I get the expected output:
~/.config/nvim/lua/user/setup > git --no-pager --literal-pathspecs --git-dir=$HOME/.dotfiles --work-tree=$HOME -c core.quotepath=off ls-files --stage --others --exclude-standard --eol gitsigns.lua
100644 53d1a1ecbbad8ca2bc885bbeed5e1a10f0c98b77 0       i/lf    w/lf    attr/                   gitsigns.lua

And $HOME/.dotfiles is in fact my actual git dir as this is initialized as a bare repository that I manage with a dotfiles shell alias:
~/.config/nvim/lua/user/setup >  which dotfiles
dotfiles: aliased to git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME

From this alias I know that all git operations work as expected when I add --git-dir and --work-tree to absolutely every command and don't change cwd for git manually.
I don't know if this difference comes from git working differently under macos (apple patches?) or maybe this just comes from a version mismatch of git (I'm running version 2.37.1) but this command doesn't work for me.

Hmm, I've gone ahead and added the --work-tree argument to all commands. Hopefully that works.

With 9b09c553a686127bbac6bd86b79f669076869cd7 (the latest) I now get an error when launching neovim in a situation in which a worktree is tried (e.g. outside a 'normal' git repository):
Error executing luv callback:
...e/pack/packer/start/gitsigns.nvim/lua/gitsigns/async.lua:67: The coroutine failed with this message: ...ite/pack/packer/start/gitsigns.nvim/lua/gitsigns/git.lua:293: attempt to concatenate field 'toplevel' (a nil value)
stack traceback:
        ...ite/pack/packer/start/gitsigns.nvim/lua/gitsigns/git.lua: in function 'get_repo_info'
        ...ite/pack/packer/start/gitsigns.nvim/lua/gitsigns/git.lua:368: in function 'new'
        ...ite/pack/packer/start/gitsigns.nvim/lua/gitsigns/git.lua:594: in function 'new'
        ...im/site/pack/packer/start/gitsigns.nvim/lua/gitsigns.lua:235: in function 'fn'
        ...ack/packer/start/gitsigns.nvim/lua/gitsigns/debounce.lua:76: in function 'attach_throttled'
        ...im/site/pack/packer/start/gitsigns.nvim/lua/gitsigns.lua:316: in function 'attach'
        ...im/site/pack/packer/start/gitsigns.nvim/lua/gitsigns.lua:474: in function <...im/site/pack/packer/start/gitsigns.nvim/lua/gitsigns.lua:433>
stack traceback:
        [C]: in function 'error'
        ...e/pack/packer/start/gitsigns.nvim/lua/gitsigns/async.lua:67: in function 'callback'
        ...ite/pack/packer/start/gitsigns.nvim/lua/gitsigns/git.lua:195: in function 'callback'
        ...k/packer/start/gitsigns.nvim/lua/gitsigns/subprocess.lua:66: in function <...k/packer/start/gitsigns.nvim/lua/gitsigns/subprocess.lua:52>
Press ENTER or type command to continue

with this debug_log (after defining signs):
attach(1): Attaching (trigger=setup)
run_job: git --no-pager --literal-pathspecs config user.name
run_job: git --no-pager --literal-pathspecs rev-parse --show-toplevel --absolute-git-dir --abbrev-ref HEAD
Press ENTER or type command to continue

Yes, probably best to wait for a CI pass before testing yourself. Should be ok now. Maybe best move this discussion to the PR as well.


[dotnet] RASP command injection system tests

Motivation
This PR enables the .Net RASP command injection system tests.
Changes

Workflow

⚠ Create your PR as draft ⚠
Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
Mark it as ready for review

Test logic is modified? -> Get a review from RFC owner. We're working on refining the codeowners file quickly.
Framework is modified, or non obvious usage of it -> get a review from R&P team

:rocket: Once your PR is reviewed, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist

[ ] If PR title starts with [<language>], double-check that only <language> is impacted by the change
[ ] No system-tests internal is modified. Otherwise, I have the approval from R&P team
[ ] CI is green, or failing jobs are not related to this change (and you are 100% sure about this statement)
[ ] A docker base image is modified?

[ ] the relevant build-XXX-image label is present

[ ] A scenario is added (or removed)?

[ ] Get a review from R&P team

Thanks for your reviews!


Question: are the headings bound to any key?

I can't find any key command to set the current line to a particular style. It would be really useful to do so. Thanks!!!

No.


Nuget Package not up date

just discovered that the newest version of the repository is not deployed to nuget.
Any change to start the deploy or any hint how to do this.

I need to provide some PSake script for build, but yes, I can do this by the end of a week. This project doesn't have a build server behind so it requires manual builds but with some scripting, it can be easily done.

thanx a lot.

I've just pushed the latest build. It contains gzip fix and more.
There's one missing: https://github.com/Scooletz/NGitLab/pull/9 but it would take me a while to make it ergable. If you could make it an easy merge and review it, I'd be more than happy to accept this.


Documentation not available

Hello,
I just saw Spring Social GitHub listed on Spring Projects and was interested in it.
I wanted to inform myself what Spring Social GitHub can do but unfortunately the documentation links to pages which are not available.
I tried:

1.0.0 M4
1.0.0

:+1:

Are there any fresh links?

it seems that this project is dead


Reorganize docs

I don't like GitHub's wiki feature because it's hard to give fine-grained write permission to people.
How about we just move *.md into a docs/ folder and check them into the repo directly? The top-level README can just point to foo.md in the docs/ folder?
That way we keep docs + code in the same repo, preserving history, etc.
Thoughts?

docs/*.md can solve the problem of write permission.
Maybe an up-to-date Wiki is more user friendly?
Is it easy to make linkages between *.md?

@Peilin-Yang Yes, we can add links using relative paths. So this isn't any different from Wiki, especially since GitHub gives you in-place md updates now.
Check out: https://github.com/lintool/Anserini/tree/reorganize-docs

@lintool this is much better now!

Okay, I will shipit then.


Make test check for errorCount of 0

The config validation code wasn't passing (foo is defined but never used) so I added code to make it pass and made the test check that errorCount === 0.

Looks good!


Adds vs benchmark WasmEdge and splits compile from instantiate

This adds WasmEdge-go to the list of benchmarks and also extracts out compile from instantiate as users like wapc-go instantiate the same module multiple times.
Right now, only wazero is the only option that can do this without crashing, but we can update the code for the alternatives if the bugs are ever fixed.
BenchmarkFac_Compile/wasmtime-go-16         	  120554	      8508 ns/op	       8 B/op	       1 allocs/op
BenchmarkFac_Compile/wazero-interpreter-16  	   79351	     14140 ns/op	    9661 B/op	     320 allocs/op
BenchmarkFac_Compile/wazero-jit-16          	   10000	    100324 ns/op	   59818 B/op	    1203 allocs/op
BenchmarkFac_Compile/wasm3-go-16            	  447822	      2637 ns/op	      48 B/op	       3 allocs/op
BenchmarkFac_Compile/WasmEdge-go-16         	 5915394	       205.5 ns/op	      24 B/op	       2 allocs/op
BenchmarkFac_Compile/wasmer-go-16           	  201061	      6744 ns/op	       8 B/op	       1 allocs/op
BenchmarkFac_Instantiate/WasmEdge-go-16     	   30994	     33484 ns/op	     146 B/op	      14 allocs/op
BenchmarkFac_Instantiate/wasmer-go-16       	    2368	    468641 ns/op	    1400 B/op	      38 allocs/op
BenchmarkFac_Instantiate/wasmtime-go-16     	    2632	    452265 ns/op	     711 B/op	      29 allocs/op
BenchmarkFac_Instantiate/wazero-interpreter-16         	  505310	      2304 ns/op	    2241 B/op	      41 allocs/op
BenchmarkFac_Instantiate/wazero-jit-16                 	  532336	      2246 ns/op	    2193 B/op	      39 allocs/op
BenchmarkFac_Instantiate/wasm3-go-16                   	  306972	      4264 ns/op	     384 B/op	      10 allocs/op
BenchmarkFac_Call/wasmer-go-16                         	  884352	      1402 ns/op	     176 B/op	      12 allocs/op
BenchmarkFac_Call/wasmtime-go-16                       	  579540	      2833 ns/op	     247 B/op	      18 allocs/op
BenchmarkFac_Call/wazero-interpreter-16                	  144517	      7470 ns/op	    2096 B/op	     129 allocs/op
BenchmarkFac_Call/wazero-jit-16                        	 1000000	      1067 ns/op	    1216 B/op	       5 allocs/op
BenchmarkFac_Call/wasm3-go-16                          	  656781	      1848 ns/op	      56 B/op	       5 allocs/op
BenchmarkFac_Call/WasmEdge-go-16                       	  119894	      9818 ns/op	     128 B/op	       8 allocs/op

cc @wuhuizuo as I think you'll find this interesting


Revert "fix: remove make requirement"

Reverts conda-forge/scikit-build-core-feedstock#5

Hi! This is the friendly automated conda-forge-webservice.
It appears you are making a pull request from a branch in your feedstock and not a fork. This procedure will generate a separate build for each push to the branch and is thus not allowed. See our documentation for more details.
Please close this pull request and remake it from a fork of this feedstock.
Have a great day!

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Hi! This is the friendly automated conda-forge-webservice.
It appears you are making a pull request from a branch in your feedstock and not a fork. This procedure will generate a separate build for each push to the branch and is thus not allowed. See our documentation for more details.
Please close this pull request and remake it from a fork of this feedstock.
Have a great day!

Oops, auto revert makes the PR from the main repo.


Add trouble shooting about metadata loading error at quorumengineering/tessera:23.4.0 Image

Although this error does not occur often,
When the error occurs, it becomes an "Building" state indefinitely,
so I think it would be embarrassing if it happened at the first run

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hello @mingi3442 ,
Thanks for the submission but I'd rather we solve this at the root - could you raise this on the tessera  repo please? This will affect any usage of tessera and not just here.
Cheers


⚠ Fetchers has degraded performance

In 3766ee7, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 259 ms

Resolved: Fetchers performance has improved in 68b7ffb.


[Bug] Undoing parented object causes others to disappear temporarily

If you use the Parent tool (in sandbox terms, weld) a bunch of props together and then undo one of the props, the others that were welded to the undone prop will temporarily vanish, before returning a few seconds later.
This could be an issue with S&Box itself but since it doesn't happen with the remove tool I assume it's related to undo.
I should say that the props don't actually dissapear, they still exist and can be collided with and even shot, though the phys and gravity guns cannot seem to interact with them.

Probably worth closing this as the undo system has been rewritten. Happy to reopen if still relevant in the parenting tool (not implemented in pending MR)


Update cairo-vm version

Codecov Report

Merging #690 (5e081e2) into main (9aea3ba) will decrease coverage by 0.06%.
The diff coverage is 88.34%.

@@            Coverage Diff             @@
##             main     #690      +/-   ##
==========================================
- Coverage   92.15%   92.10%   -0.06%
==========================================
  Files          52       52
  Lines       11251    11319      +68
==========================================
+ Hits        10368    10425      +57
- Misses        883      894      +11

Impacted Files
Coverage Δ

...calls/deprecated_business_logic_syscall_handler.rs
89.93% <ø> (ø)

src/syscalls/syscall_handler.rs
80.00% <62.50%> (-3.34%)
:arrow_down:

src/syscalls/deprecated_syscall_handler.rs
98.38% <91.78%> (-0.60%)
:arrow_down:

src/execution/execution_entry_point.rs
97.35% <100.00%> (+0.03%)
:arrow_up:

src/runner/mod.rs
80.97% <100.00%> (+0.45%)
:arrow_up:


Spreadsheet editing view for BOM

Currently too many mouse actions required
Flatten into a spreadsheet view
Don't push changes until "Save" is pressed? MAybe?

This is kind of achieved in the BOM import feature - https://github.com/inventree/InvenTree/pull/411


Request for Content Update: Defender URLs

[Hello Team, would it be possible to confirm if the following URL's should be in the macOS section in the "Defender URL's" tab.
*.smartscreen-prod.microsoft.com + *.smartscreen.microsoft.com
A customer highlighted that when they were testing with macOS they received the following error:
"Testing connection with https://nf.smartscreen.microsoft.com/api/network/mac... [Error]"
"Expected a 200 Response from Proxy, received: 407"

Should https://officecdn.microsoft.com also be in the list for the connectivity checks for macOS because uses it for Defender updates
]

*.smartscreen-prod.microsoft.com

]

*.smartscreen-prod.microsoft.com
*.smartscreen.microsoft.com

]

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

ID: 28a4997c-0029-be57-24a3-7aa10dadda53
Version Independent ID: 98227b02-39e2-03f6-c947-23317abb818f
Content: Configure device proxy and Internet connection settings
Content Source: microsoft-365/security/defender-endpoint/configure-proxy-internet.md
Service: microsoft-365-security
Sub-service: mde
GitHub Login: @mjcaparas
Microsoft Alias: macapara

pls contact support


Functionality to store and apply styles

Hi,
This implements the changes we discussed in https://github.com/jam1garner/owo-colors/issues/3.
The code is working but docs and tests need to be updated later (if my approach is okay). The current tests always fail and are only there to see generated output for manual testing.
Please feel free to tell me about any problem you see. My main goal with this PR is to improve my Rust skills, so any feedback is very much welcome – even if the feedback is "this code is unusable, I'll do this myself" or "that can be done in 1/3 of the code"  :)
I put a few questions into the source code for you. These comments are all marked with "XXX" and in dyn_styles.rs or lib.rs. I recommend starting with my changes to lib.rs because there is an important comment that explains one of my biggest design choices.
I'm planning to add a style method to OwoColorize later (I just realized, that I forgot it).

Add method to OwoColorize

My commit message was "Add style method to OwoColorize", but it turned out that my shell interpreted the text 'style' in some other way 😅
I thought about something:
At the moment, Style is copy and its builder functions take mut self and return Self.
As far as I can see, this basically means Style is 'copy-on-write', so an existing style can never be updated.
Is this what you meant with "owned builder"?
Personally, I don't see any problem with the above (in the very rare case when someone whats to change an existing style, there are easy ways to archive this).
But if you think the above is a problem, I could change Style, of course.

Hi @d4h0 ! Haven't had time to review this yet, but to answer your question, yes that's what I meant by "owned builder". The difference basically being whether you use mut self or &mut self for the builder methods. And honestly, the in-place modification problem isn't too bad, iirc something like...
let mut style = Style::new().underline();
style = style.red();

Should work! I'll try to get around to reviewing next time I have some free time.

Thanks for the response, @jam1garner! Don't worry, I still have much work regarding the other PRs for color_eyre that I'm working on.

Ok so from a brief glance over it (will try and review more later) -- I see you are doing multiple "clear style" ANSI sequences, you only need one, no matter how complex the current styling is. The only reason most of owo-colors does multiple is because it's kinda hard to prevent that under my current design without specialization :(
On the grander scheme of things, would you mind explaining the reasoning behind DynStylesColor and get_fg/get_bg? It seems to be a bit unnecessary? Perhaps there is something I'm missing.

Thanks for your feedback, @jam1garner!
I can now see, that some things I did make no sense (to say it mildly).
I will fix these problems now.

I see you are doing multiple "clear style" ANSI sequences, you only need one, no matter how complex the current styling is.

Ah! I was assuming \x1b[0m is a closing sequence (I probably should have learned a bit how ANSI escape sequences work...).

On the grander scheme of things, would you mind explaining the reasoning behind DynStylesColor and get_fg/get_bg? It seems to be a bit unnecessary? Perhaps there is something I'm missing.

Yes, thank you, now I realized this as well. I will simplify my code now and restore the trait I changed to its previous state.
I'll let you know when I'm finished.

Also sorry that my commits and so on are so messy. This is basically the first time I use Git for more than a simple pull/commit/push. Please let me know if there is something I should or shouldn't do! :)

@jam1garner: Hi, do you have any idea when you will have some time to review my new commits? My PRs for color_eyre and color_spantrace are now basically complete.

Looks good! I can implement the fg_rgb and bg_rgb for you, although there's no need for unsafe

Oh, wow, that was fast – thanks! :)
Did you see anything that could have been significantly better?
Also, I think the docs of most methods/functions need to be updated or added. I wanted to wait until I know if the code is usable or not. Do you want to do this (English is, obviously, not my native language), or should I do that? If I should do it, can I still send commits to this PR as before or do I need to create a new PR?
Lastly, the tests are all bogus and need to be converted to proper tests or removed. And there are my "XXX" comments that need to be removed.
Let me know if I should do this.

Also, what I've forgotten to say: If there is anything you want to rename or remove, please do so. As I wrote, English is not my native language, so my naming could be off a bit. And a potential candidate for removal could be my "effect" methods. In theory, this functionality could be offered with a single method (I had it like this in the beginning).
If you want to change anything of the API, it just would be good if you would tell me now, so I can update my other PRs if the changes influence them :)

Oh, and what do you think about this:

sometimes, sequences are switched (in the form of the output of ansi_parser, the old version produces Escape(SetGraphicsMode([1]), Escape(SetGraphicsMode([37]) and my version produces Escape(SetGraphicsMode([37]), Escape(SetGraphicsMode([1]). Somehow only "1" and "37" are switched. This doesn't seem to be a problem.)

That's not a problem, right? The visual output is the same.


Added (Mbps) to the Traffic widgets

Based on feedback from AMAG, added an explicit reference to the units shown in the titles of the dashboard widgets for Traffic.

Thank you 👍


Match combobox to experimental spec

Related:
https://github.com/IBM/carbon-components/issues/2186
https://github.com/IBM/carbon-components/issues/2210
#1763
depends on:
https://github.com/IBM/carbon-components-react/pull/2093
https://github.com/IBM/carbon-components/pull/2241

feedback from @carmacleod: https://github.com/IBM/carbon-components-react/issues/1763#issuecomment-476252889

Some notes:

[ ] delete tabindex="0" from both of the outer divs, i.e. only the input should take focus. So all keyboard events need to be on the input.
[ ] the role="button" needs to go on the div containing the triangle icon. Do not add a tabindex. Mouse events can go on this, but not keyboard events.
[ ] the div.bx--list-box__field should have role="combobox" and aria-haspopup="listbox", aria-expanded="true/false", and aria-owns="unique-id-of-div.bx--list-box__menu" (note: if using component-user-provided label for id, make sure id does not have spaces).
[ ] the div.bx--form-item.bx--combo-box.bx--list-box should not have any role or any ARIA related markup - it's just a generic container.
[ ] the input could have role="textbox" (which is the default for an input type="text", so technically, you can leave the role off), and it needs aria-controls="unique-id-of-div.bx--list-box__menu" (same id as for the aria-owns on the combobox div), aria-autocomplete="list" (because typing in the input filters the list), and aria-label="Choose an item" (delete aria-label="ListBox input field"). The input also needs aria-activedescendant, but your code there seems good.  :)
[ ] the div.bx--list-box__menu needs role="listbox" and the same aria-label as the input (i.e. aria-label="Choose an item").