Allow using dart:mirrors

It's known that reflection is a really good tool but truly increases binary size, but why don't leave that decision to the final developer?
A similar issue was opened 6 years ago, its time to reopen and propose a serious command line argument to allow using mirrors.
For example, when running build or run commands pass the flag --allow-mirrors

Please see https://github.com/flutter/flutter/issues/1150#issuecomment-254056512 for the way to proceed if you are looking to solve a specific use case.
Since this is the same as the initial request that was closed, with no additional information or use case, I'm going to close it as a duplicate. We don't re-open resolved discussions purely because a certain amount of time has elapsed.


require.resolve usage?

Hello!
Sometimes it's quite handy to use require.resolve for getting absolute paths of some non-script files (databases, images, etc). Unfortunately it seems that tsconfig-paths does not support such resolving. Do you have any plans for adding it though?

The primary scope of this project is to resolve what tsc resolves. Could you give an example of how you would like to use it? AFAIK resolving images etc. could only be done if you are using webpack with a loader or something like that?

@jonaskello "What tsc resolves" is an open set, really. For instance, I do here and there import * as someSchema from "app/some-schema.json" which tsc is completely happy with, so long as there is something that defines a TypeScript type for the module app/some-schema.json. The module loader or bundler just needs to be configured so as to produce a result concordant with the module declared in TypeScript when this module is loaded. While .json might possibly be the most common case, the same could be done with any other extension.
It so happens that I use your package to allow my Mocha tests to find the modules it needs to find, and Node supports loading .json files directly. If in the test suite I try to load a .json file which is part of the tested application with the currently released version of your package (2.2.0), it fails. If I try with the code on master, it works. Node does not support doing a require call on .gif files, but it would be possible to add a package that allows Node to load .gif files as modules.

I actually came across this issue while running into a problem related to this one. I have an application that is pre-compiled to AMD modules before Mocha runs. I get Node to load the AMD modules by using the amd-loader package. However, I discovered that with 2.2.0 the transformations done by tsconfig-paths were invisible to amd-loader. Then when I tried with the code on master, it worked fine.
"Problem solved", as far as I can see it.

Yes i wrote this code a while ago. Haven't released it yet because i forgot about it :) Will do that ASAP.

Fixed in version 2.3.0 which is now published.


small minecraft fixes

adds fabric download link
small tweaks to the default profile

I was going to replace the background layer as well but honestly i think the effect is specific enough to the game that I'm going to leave it in. It's a bit messy to reproduce the full transition effect with overrides.


New Themes - Dracula for Archive of Our Own

New Theme
I don't know if you're accepting themes for things that aren't code editors, but I have created a series of themes for the fan-work website Ao3, Archive of Our Own. Thank you for your consideration.
Link to repository:  https://github.com/dhampir-damsel/draculathemes_ao3

Hey @grazer,
I just sent you an invitation to join the organization.
I also cloned your repository for Dracula's organization, so you can go ahead and delete or archive yours:
Your repository.
New repository.
https://draculatheme.com/archive-of-our-own 🎉🎉🎉


VSCode in WSL Fails to Open New Window for Folders with Case-Sensitive Names

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:

Open a terminal in WSL.
Navigate to the folder /home/username/code/abcde.
Run the command code . to open the folder in VSCode. VSCode opens the folder as expected in a new window.
In the same or a new terminal, navigate to a different folder at the path /home/username/code/ABCDE, where the folder name differs only in case from the first folder.
Run the command code . to open this second folder in VSCode.

Expected Behavior
VSCode should open a new window for the second folder (/home/username/code/ABCDE), recognizing it as a different directory due to the case sensitivity of Linux file systems.
Actual Behavior
VSCode brings focus to the already open window of the first folder (/home/username/code/abcde) instead of opening a new window for the second folder. This also happens if i open the folder from inside VSCode.
Environment

VSCode Version: 1.91.1
OS: Windows Subsystem for Linux (WSL) Ubuntu 22.04 (Linux VU-IMC-7245333 <IP_ADDRESS>-microsoft-standard-WSL2)

Additional Information

This issue seems to be related to how VSCode handles case sensitivity in folder names on Linux file systems.
No relevant output in the Developer Console (Help > Toggle Developer Tools) was observed.

Suggested Labels

bug
linux
wsl
file-system

It's a known issue that we have with all types of remote windows (WSL, SSH, ...). On open, we don't know yet what OS the remote window has and treat the filesystem as case insensitive.
Duplicate of https://github.com/microsoft/vscode/issues/123421


Add pytz as a requirement

Needed for the date_hierarchy in the APIRequestLogAdmin

It could technically be an optional dependency since someone might not be using the admin though

Coverage remained the same at 40.765% when pulling 29cc1e253a1d1d6c0b49c0673f16058500e01bf9 on jameshiew:fix/pytz-requirement into ec6b3779a645159fac76d5d138c3d3335c97dde7 on aschn:master.

Coverage remained the same at 40.765% when pulling 29cc1e253a1d1d6c0b49c0673f16058500e01bf9 on jameshiew:fix/pytz-requirement into ec6b3779a645159fac76d5d138c3d3335c97dde7 on aschn:master.

@jameshiew Thanks for catching this.


⚠ Samsung has degraded performance

In e146f15, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2661 ms

Resolved: Samsung performance has improved in a4fa3b9.


Notebooks Area Shortcuts

Type: Feature Request
Hello,
why there are not short cuts for " Run current and above cell"?
There are a " Restart Kernel, Run current and above cell"
But I want to do it without restarting kernel.
Would be great
VS Code version: Code 1.91.1 (f1e16e1e6214d7c44d078b1f0607b2388f29d729, 2024-07-09T22:06:49.809Z)
OS version: Windows_NT x64 10.0.22631
Modes:

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


[ENHANCEMENT]

Is your enhancement request related to a problem? Please describe.
Users will find difficulties in distinguishing between the selected part and the unselected one
What are you suggesting as an enhancement
A clear and concise description of what you want to happen.
Describe alternatives you've considered
I have attached a screenshot of my perception of the redesign.
you can create more variations of the range slider as well (Ex: a slider with defined steps  0,10, 20, 30 ... 100 ) which can be useful if users have to select specific steps.

The range slider - as the default version - will only use the native <input type="range"> and style it. Hence, the style applied in the design system is for the default browser range.
It is part of the roadmap to include a ranger slider that is JavaScript based. A JavaScript Range Slider will include the ability to have a dual tracker, changes in colour between the tracked section, hover based information on value and more.
Closing this issue as this would be a new component and not related to the native range.


Handle execution mode inside of annote and inspect

Update the annotate and inspect commands to handle the new executionMode metadata attribute.
This fixes https://github.com/kubewarden/kwctl/issues/57

@ereslibre I've just pushed a commit which implements the Backend enum and the BackedDetector struct.
Once you're fine with it, I'll squash the commits around and merge it


Interest gauge in GitHub Actions

I realize that a lot of work as went into porting CI to azure recently so I'm hesitant to ask but, would there be any interested in here in experimenting with moving towards GitHub actions?
Here's a few reasons why I think this could be useful

It runs on top of azure pipelines so you get equivalent performance
tighter integration with the GitHub product

it's more than CI for pushes to branches. it's CI for any interaction with GitHub (as well as cron jobs)

it supports linux + macos + windows vms
secrets management is tied into the product

you manage secrets in your repository settings rather than a separate site
GITHUB_TOKENS are transparently provided for you (and scoped to the repository, something you can't do with personal access tokens)

likely going to become a defacto standard for projects hosted on github repos because its built in

Things to consider. It's still under beta invite until a target GA of November 13.

It's worth a test drive. It could fix https://github.com/rusoto/rusoto/issues/1549 for us.
Hopefully the underpinning VMs/containers have more space so we can run Windows builds on github actions instead of AppVeyor. See https://github.com/rusoto/rusoto/pull/1418 for an attempt that failed. 😄
Revisit this after GHAs are generally available?

Sure I've been in the beta since basically its been possible to be in the beta so I've built up a lot of knowledge around this I should share. I've been setting it up for all my crates as I need to make changes to them. It works pretty swell though I don't have anything as big as this project. It'd be an interesting challenge for me. It feels great once you have it set up.

I signed up this org for the beta if someone wants to give it a spin.

I'll can start taking a look this weekend

https://github.com/rusoto/rusoto/pull/1821 has GitHub Actions (GHA) working! 🎉
Checklist to do after merging that:

[ ] update build badges to point to GHA: READMEs, maybe http://rusoto.org
[ ] remove build badges from Cargo.toml files. See https://github.com/rust-lang/crates.io/issues/2436 .
[ ] allow rustc nightly builds to fail without stopped stable and beta channel jobs
[ ] remove unused files/folders for previously used build systems: Azure Pipelines, SemaphoreCI, Appveyor
[ ] turn off Rusoto build jobs in the above three providers

I've disabled the web hooks for Appveyor (replaced by github actions), TravisCI (unused) and SemaphoreCI (which was failing due to changes to get us on github actions and jobs are covered by github actions now).
Azure Pipelines is still running as far as I know.

I've finished off everything else in the checklist. Thanks for doing the bulk of the work @matthewkmayer!


chore(Order.Grade): protect GradedOrder.grade

In #10496, a better fix was suggested in the comments by @Ruben-VandeVelde: make GradedOrder.grade protected to freely use grade for _root_.grade. This implements that fix.

maintainer merge


Cant extract Forza Horizon 5 save

Xbox version isnt installed but the save is still in the right location

The folder that's in your screenshot should contain containers.index. It seemingly doesn't, so I'm assuming that when you uninstalled the game, it got removed. The saves should come back if you reinstall the game.

Since i dont have game pass anymore i instead found an older save from almost 2 years ago (i havent played it in a while) that had that file, and copied that into the right directory
Now i got a permission error (could be from the backup i found, but i checked permissions and it should be fine)

Try to run the extractor exe from a folder your user account can access, for example the Downloads folder or the Documents folder.

The issue was that i forgot to paste it into the save folder


Can't lsof of processes

Hi! First, thank for snaping this!
Second: I've seen that when I try to list the open files of a process (using 'l') I get this message:
Could not execute 'lsof'. Please make sure it is available in your $PATH.
I guess the solution would be as easy as adding lsof to the stage-packages, but I'm not sure.
Thanks again!

Hey, thanks for the report! I've published a new revision to candidate which now includes the lsof binary; but still fails due to snap security/sandboxing. This is being tracked in this snapcraft forum topic.
A proper fix will probably need updated security policies in both snapd and the htop snap. In the meantime, please make sure to connect htop with all interfaces (sudo snap connect htop:<interface>, for all interfaces listed on snap interfaces htop); and if you feel like debugging apparmor profiles, this topic might help you hack a local fix.

Great! Now I see that the error is a lack of permissions and not that lsof cannot be executed: let's wait till they solve it then.

I've just refreshed core with the version available in the beta channel (2.33):
snap refresh core --channel=beta
And it now works!

Thanks for the update. I'm unfortunately unable to reproduce, i.e. it's not working for me :-(. Maybe I'm missing something? Can you double check htop is actually /snap/bin/htop?
$ snap list core htop
Name  Version  Rev   Tracking  Developer  Notes
core  16-2.33  4830  beta      canonical  core
htop  2.2.0    381   stable    maxiberta  -

$ snap interfaces htop
Slot              Plug
:mount-observe    htop, ...
:process-control  htop, ...
:system-observe   htop, ...

Well, you're completely right, I was running the deb installed version... :(

This is now working as of:
snap    2.36.3
snapd   2.36.3
series  16
ubuntu  18.10
kernel  4.18.0-11-generic

Track    Arch     Channel    Version            Revision
latest   amd64    stable     2.2.0              1066
                  candidate  2.2.0              1066
                  beta       2.2.0-18-gb7b4200  1055
                  edge       3.0.0beta5         1059
         arm64    stable     2.2.0              1070
                  candidate  2.2.0              1070
                  beta       2.2.0-18-gb7b4200  1064
                  edge       3.0.0beta5         1062
         armhf    stable     2.2.0              1071
                  candidate  2.2.0              1071
                  beta       2.2.0-18-gb7b4200  1063
                  edge       3.0.0beta5         1061
         i386     stable     2.2.0              1069
                  candidate  2.2.0              1069
                  beta       2.2.0-18-gb7b4200  1054
                  edge       3.0.0beta5         1056
         powerpc  stable     2.2.0              1068
                  candidate  2.2.0              1068
                  beta       2.2.0-18-gb7b4200  1060
                  edge       3.0.0beta5         1037
         ppc64el  stable     2.2.0              1067
                  candidate  2.2.0              1067
                  beta       2.2.0-18-gb7b4200  1057
                  edge       3.0.0beta5         1058
         s390x    stable     2.2.0              1065
                  candidate  2.2.0              1065
                  beta       2.2.0-18-gb7b4200  1053
                  edge       3.0.0beta5         1052

Thank you for your patience!
Please feel free to re-open if this is not working as expected.

It seems to be failing still over here, but I'm using different distro version:
$ snap --version
snap    2.36.3
snapd   2.36.3
series  16
ubuntu  18.04
kernel  4.15.0-42-generic

Right, it seems to be working on Ubuntu 18.10 only...

Posted a question in the snapcraft forum topic.

This was fixed in snapd a long time ago.


Add e2e test for CNI network teardown

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion.

tests/e2e/cni_test.go, line 55 at r1 (raw file):
Previously, ivan4th (Ivan Shvedunov) wrote…
In order to be sure that we're doing the right thing, I'd also add the check that the netns is visible before the pod is deleted.

Good point, I will add it

Comments from Reviewable

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


⚠ Spryr has degraded performance

In 5cf8184, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 7070 ms

Resolved: Spryr performance has improved in 40864e8 after 15 minutes.


Worksheet fails saving on big plots.

When I tried to save a sheet with a fairly large plot (8 MiB the svg alone), it just told me Failed to save 'sheet-name.clj'. When I (finally) looked in the browser console it was more informative:
Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)

I guess it is before entering the save handler in gorilla-repl.core already happening in http-kit, but I am not sure. Either the error should be more informative by being shown in the failed message or probably it should still work with large attachments (the size already hurts scrolling and browser performance, but this is more intuitive imo.)

Oh dear, that's not a good thing at all! I'm guessing there's some config in http-kit - I'll take a look.

The parameter is :max-body and it defaults to 8 MiB.
http://www.http-kit.org/server.html


Update sql-data-warehouse-load-from-azure-data-lake-store.md

Add additional steps required to complete the setup of the Azure Application and link to documentation.

Hi @tonio-lora, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

@tonio-lora : Thanks for your contribution to the Azure documentation! The author, @ckarst, has been notified to review your proposed change.

@ckarst, @barbkess would you please review this PR and approve or close?

#sign-off
@tonio-lora thank you for contributing this and making the documentation better!


Optimize intervals

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

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.01%) to 99.115%

Totals

Change from base Build<PHONE_NUMBER>1:
-0.01%

Covered Lines:
175

Relevant Lines:
176

💛  - Coveralls


Further update Shanghai PR table, add new columns

I noticed the PR table hadn't been updated with new columns, so I went ahead and did that (including any PRs I could find for these columns).  I also added new PRs in the existing columns that weren't listed.  Note that Besu appeared to have two PRs open for 3860?  So I listed them both.  Again, I have no affiliation with any of these projects and have no clue which of these PRs might be preferred.
This table's getting pretty big, maybe it would be a good idea to reorder the columns so as to put the included ones before the ones that are merely CFI?  Or split it into two tables, or something?  Well, feel free to make edits to this before merging.

@haltman-at thanks! will merge as is, but agreed it probably makes sense to split between CFI and Included tables. Might wait until after the next ACD to do so, though, given the set of Included/CFI'd EIPs will probably change.


[1.16] Mob Capturing Tool does not work on llamas

Industrial Foregoing Version:
industrial-foregoing-1.16.5-<IP_ADDRESS>-16
Titanium Version:
titanium-1.16.5-<IP_ADDRESS>-22
Mob Capturing Tool does not work on llamas, both wild and wandering trader's

I second this bug, I have also encountered it in Industrial Foregoing version industrial-foregoing-1.16.5-<IP_ADDRESS>-14 with Titanium version titanium-1.16.5-<IP_ADDRESS>-10


entropy: Bluetooth HCI entropy source added

Implements an entropy source that utilizes the Bluetooth HCI command LE_RAND as its randomness source.
Changes to the xoshiro128 driver are required as the HCI interface is not available until after the application calls bt_enable, which is unlikely to be before PRE_KERNEL_2, where the random drivers are initialized.
Implements #37186

What are the implications of this to the bt_rand() API? Not related, or could that API now be dropped in favor of using some system-wide random number generation API?

What are the implications of this to the bt_rand() API? Not related, or could that API now be dropped in favor of using some system-wide random number generation API?

In particular, the pure Bluetooth host version of bt_rand() as implemented in https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/bluetooth/host/crypto.c is kind of similar, in that it uses this same HCI command to do seeding, and then uses a TinyCrypt PRNG to generate random data.

What are the implications of this to the bt_rand() API? Not related, or could that API now be dropped in favor of using some system-wide random number generation API?

It does seem that, at a minimum, bt_rand() could just redirect to the system rand(). But this is were you need to determine if the BT rand values are cryptographic values or just random numbers to determine which rand to connect with

Why is only the xoshiro128 driver impacted by this? Can you not use this entropy source for rand32_ctr_drbg.c (assuming the entropy generated is cryptographically secure)?
It actually presents problems for the ctr because you can't just give that rand function some static values while you wait on the entropy source to be ready.

What are the implications of this to the bt_rand() API? Not related, or could that API now be dropped in favor of using some system-wide random number generation API?

It does seem that, at a minimum, bt_rand() could just redirect to the system rand(). But this is were you need to determine if the BT rand values are cryptographic values or just random numbers to determine which rand to connect with

bt_rand has the advantage of a fixed PRNG implementation, so the Bluetooth stack can be sure that (most of the time) the calls will be fast, which is not necessarily the case with the system RNG. I don't know whether fast RNG is required for the correct operation of the host however.

In particular, the pure Bluetooth host version of bt_rand() as implemented in https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/bluetooth/host/crypto.c is kind of similar, in that it uses this same HCI command to do seeding, and then uses a TinyCrypt PRNG to generate random data.

That implementation was the inspiration for this driver. It cannot be used directly as an entropy device as it is already a PRNG output.

bt_rand has the advantage of a fixed PRNG implementation, so the Bluetooth stack can be sure that (most of the time) the calls will be fast, which is not necessarily the case with the system RNG. I don't know whether fast RNG is required for the correct operation of the host however.

Some implementations use the HW entropy device as their RNG source and when entropy is exhausted it has to regenerate more entropy... which can take a bit of time. On those platforms, we have tied the entropy to provide seed to Xoro and the ctr algorithms which have a fairly constant rate of supplying RNG values.
But I'm still wondering if this target platform ever needs cryptographically secure RNG values?

Why is only the xoshiro128 driver impacted by this? Can you not use this entropy source for rand32_ctr_drbg.c (assuming the entropy generated is cryptographically secure)?

AFAICT this can "almost" be used with rand32_ctr_drbg as is. ctr_drbg is only initialized when it is first called, so it's behavior is the same as the updated xoshiro. It doesn't appear to handle failed initialization properly, but I will add a commit to fix that.

I still need some input on how to configure the tests to run correctly. Is it even possible to test again a HCI controller in CI?

I still need some input on how to configure the tests to run correctly. Is it even possible to test again a HCI controller in CI?

@carlescufi @aescolar any input here?

I still need some input on how to configure the tests to run correctly. Is it even possible to test again a HCI controller in CI?

Yes. The nrf52_bsim can be compiled with the bt controller. If you do not need any BT peers, it should be practically as easy as other ztests (if you don't need a BT network you can just run it detached from a babblesim simulation, it will look very similar to a native_posix run from the usage point of view).
Take a look here: https://docs.zephyrproject.org/2.7.0/boards/posix/nrf52_bsim/doc/index.html .

@JordanYates can you address the compliance failure?

@JordanYates I'm still seeing compliance failures

@JordanYates I'm still seeing compliance failures

That was unrelated to this PR (fixed in #43355). Hopefully the rebase fixes it

I still need some input on how to configure the tests to run correctly. Is it even possible to test again a HCI controller in CI?

@carlescufi @aescolar any input here?

No, unfortunately not easily unless we use native_posix + bsim. But I think that's overkill right here.

@JordanYates  could you please rebase this?

@JordanYates could you please rebase this?

Why do you want a rebase? It doesn't seem to have any conflicts, and if you want to run the tests on newest main, the tests should be rerun instead. Rebasing will risk dismissing all the approvals :(

@JordanYates this is failing CI


Assorted JSON schema questions...

...that I may or may not ask an LD4P2 participant at some point, but which I'm leaving here for the time being
In PT constraints:

Why not constrain the value of defaults/defaultURI using "format": "uri"?

Constraints for valueDataType/dataTypeURI use this constraint (as seen here). Why not do the same for defaults/defaultURI (here)?

Closing this~


ENH: support str translate for StringMethods

as a part of https://github.com/pydata/pandas/issues/9111
note that this handles both py2 and py3 as the signature for str.translate has changed from py2 to py3
@sinhrks @jreback

I don't know if I find it a good idea to have different behaviour for python 2 vs 3. Why not just going with the python 3 signature?

the thing is it's more than the signature that changed from python 2 to 3. The meaning of table in str.translate also changed. If we only have the python 3 signature, users of python 2 would lose functionality with this method. In particular, users of python 2 would not be able to delete characters with StringMethods.translate, because there's no way to specify that in the python 2 structure of table.

Correct, but I think single internal func is better for API doc on the website to show both python 2 and 3 info. How about:

Merge to single function to accept both table and deletechar.
Ignore deletechar in python 3 with warning, and describe it in docstring.

If the change between python 2 and 3 is that big, I think even more reason for us to choose one behaviour (and thus, python 3 behaviour is of course the most logical). Users of python 2 will eventually have to change their code for python 3, so if they start using the pandas string method, they can already adapt (and otherwise they can always use the apply approach). We should follow the behaviour of the standard string methods as much as possible, but here I would personally deviate.
I would just put a warning in the docstring that it follows python 3 behaviour.
Do you know if there is a reason the behaviour changed? Did the functionality goes elwewhere?

so first of all, don't get me wrong - I think the python 3 signature is better and I'm a big advocate for using python 3. It's just that sticking with the python 3 signature in our implementation means that python 2 users will lose some functionality. And I'm open to making that tradeoff.
@jorisvandenbossche just to be clear, no functionality of the standard str.translate() has gone somewhere else from python 2 to python 3. The deletechars kwarg gets dropped in python 3 because the python 3 table format is flexible enough to let users specify deletions.

so, python 2 users won't really lose some functionality, but just have to adapt their code somewhat?
I also understand the reasons to go for python 2/3 dependent behaviour, but as this is a 'new' feature for pandas, I would lean towards making a choice for 'one way', as we have the choice to do that

@jorisvandenbossche if we make the signature StringMethods.translate(table) for both python 2 and python 3, then users of python 2 will lose the ability to pass deletechars. Users of python 2 can't specify deletions in the python 2 table format.

Ah, sorry, I didn't really look in detail to the str.translate method. I thought the table was just a normal argument, instead of a special string you can generate with a function. OK, no problem then!

I think the suggestion of @sinhrks is good then, having one docstring that has information for both python 2 and 3 (as we don't have separate docs)

I haven't used str.translate before, so I don't have a strong opinion here. I think we agree that we want to be forwards compatible with Python 3 as much as possible while retaining functionality. In this case, it seems like have two function signatures is a pretty reasonable solution -- there's not too much in the way of duplicated code and it is relatively straightforward to document. But @sinhrks's solution would also be fine by me.

I agree here @sinhrks seems reasonable.

Sounds good thank you all for the feedback! Will update shortly.

updated, please take a look

Can you update the docstring here as well?

@jorisvandenbossche do you mean the release note?

yes, of course .. :-)

yes definitely :) the only thing is that this would be on the same line as the PR for index(), rindex(), but I'll update here anyway

@mortada this was passing before yes? and you just changed docs right?

yes this was passing before

@mortada ok, this needs a rebase now that I merged the other. pls ping when ready.

ok cool i'll rebase

ok rebase is done, updated

@mortada ok thank you!

sure thanks a lot!


ferdium-nightly: Add version 6.0.0-nightly.7

Closes #494

[x] I have read the Contributing Guide.

I've accepted all suggestions, thank you for taking some time to look through the manifest.


HD Map Creator

I want to create apollo open drive from open drive (.xodr file) . How can I do that with this package ? Any suggestion?

As I know, there is a xml opendrive reader in "apollo/modules/map/hdmap/adapter/xml_parser". You can transform ".xodr" to ".xml" then use the .xml file in apollo.

Yes I know but I really didnt understand how apollo convert open drive to apollo open drive. Any clear document about it?

It would be better to read the code. I did not find the relevant doc.

1. Open drive to Apollo hd map
I found a way to change open drive(.xodr) to apollo hdmap, which need a little modfiy the code.
https://github.com/ApolloAuto/apollo/blob/01062c85b5c731963eff8dfdf220025f49c25c13/modules/map/tools/sim_map_generator.cc#L106-L126
2. How to

put the .xodr file into dir "/apollo/modules/map/data/demo/"
rename the .xodr file to "base_map.xml" (the .xodr file is just a xml file but with different file name suffix)
modify the sim_map_generator.cc and remove
https://github.com/ApolloAuto/apollo/blob/01062c85b5c731963eff8dfdf220025f49c25c13/modules/map/tools/sim_map_generator.cc#L121
run "./apollo.sh build " to build apollo
run "./bazel-bin/modules/map/tools/sim_map_generator"
the generate hd map file is "/tmp/sim_map.bin" and "/tmp/sim_map.txt"

Thanks for your answer . I need to build apollo in docker looks like . Which release of apollo do you use for this process?

The 5.5 is ok, other version will ok if have sim_map_generator

Is there any way to convert Apollo .xml files to .xodr format ？

Hello,everyone!
where can i get apollo opendrive sample data?

1. Open drive to Apollo hd map
I found a way to change open drive(.xodr) to apollo hdmap, which need a little modfiy the code.
https://github.com/ApolloAuto/apollo/blob/01062c85b5c731963eff8dfdf220025f49c25c13/modules/map/tools/sim_map_generator.cc#L106-L126
2. How to
1. put the .xodr file into dir "/apollo/modules/map/data/demo/"

2. rename the .xodr file to "base_map.xml" (the .xodr file is just a xml file but with different file name suffix)

3. modify the sim_map_generator.cc and remove
   https://github.com/ApolloAuto/apollo/blob/01062c85b5c731963eff8dfdf220025f49c25c13/modules/map/tools/sim_map_generator.cc#L121

4. run "./apollo.sh build " to build apollo

5. run "./bazel-bin/modules/map/tools/sim_map_generator"

6. the generate hd map file is "/tmp/sim_map.bin" and "/tmp/sim_map.txt"

base on above, how to generate "routing_map.bin" and "routing_map.txt",please?
I found below cmd that could genereate "routing_map.bin" and "routing_map.txt",but it is based on "base_map.txt".
i only have "base_map.xml(.xodr file rename)".
./bazel-bin/modules/map/tools/sim_map_generator --map_dir ./modules/map/data/demo/

1. Open drive to Apollo hd map
I found a way to change open drive(.xodr) to apollo hdmap, which need a little modfiy the code.
https://github.com/ApolloAuto/apollo/blob/01062c85b5c731963eff8dfdf220025f49c25c13/modules/map/tools/sim_map_generator.cc#L106-L126
2. How to
1. put the .xodr file into dir "/apollo/modules/map/data/demo/"

2. rename the .xodr file to "base_map.xml" (the .xodr file is just a xml file but with different file name suffix)

3. modify the sim_map_generator.cc and remove
   https://github.com/ApolloAuto/apollo/blob/01062c85b5c731963eff8dfdf220025f49c25c13/modules/map/tools/sim_map_generator.cc#L121

4. run "./apollo.sh build " to build apollo

5. run "./bazel-bin/modules/map/tools/sim_map_generator"

6. the generate hd map file is "/tmp/sim_map.bin" and "/tmp/sim_map.txt"

base on above, how to generate "routing_map.bin" and "routing_map.txt",please?
I found below cmd that could genereate "routing_map.bin" and "routing_map.txt",but it is based on "base_map.txt".
i only have "base_map.xml(.xodr file rename)".
./bazel-bin/modules/map/tools/sim_map_generator --map_dir ./modules/map/data/demo/

You cannot directly use a opendrive map format in apollo. The Apollo opendrive format is a bit different than normal, you can find some help in https://github.com/ApolloAuto/apollo/issues/3005

You cannot directly use a opendrive map format in apollo. The Apollo opendrive format is a bit different than normal, you can find some help in https://github.com/ApolloAuto/apollo/issues/3005

@daohu527 thank you for point me a correct direction.  thank you !

@daohu527 thank you for point me a correct direction.  thank you !

You're welcome, I have always wanted to write a conversion tool, but time is limited, maybe you can write and publish it

You're welcome, I have always wanted to write a conversion tool, but time is limited, maybe you can write and publish it

@daohu527   I would like to write this tool,but I don't have "apollo opendrive specification" which may be useful for comparing the difference between normal opendrive file and apollo's opendrive file. I have left email on apollo's github 3005  ,but haven't got it.  if you have it,could you send it to 814565668@qq.com,please? thank you !

@daohu527   I would like to write this tool,but I don't have "apollo opendrive specification" which may be useful for comparing the difference between normal opendrive file and apollo's opendrive file. I have left email on apollo's github 3005  ,but haven't got it.  if you have it,could you send it to 814565668@qq.com,please? thank you !

I also don't have the spec, I think you can just see the protobuf in modules\map\proto. I wrote some introduction about it link

I also don't have the spec, I think you can just see the protobuf in modules\map\proto. I wrote some introduction about it link

@daohu527  I compared normal opendrive and apollo's opendrive. It is quite diffenent. The tags is not one-to-one relationship. I 've also seen your note(Dig into Apollo - Map),that's really great help. but I still have no idea about how to convert(even manually).Do you find any rule about it ?
the below is code about generating base_map.txt ,if we could extract data from tags in normal opendrive,and call this function. maybe we could generate base_map.txt .  is it right(my idea) ?
gen base_map.txt

@daohu527  I compared normal opendrive and apollo's opendrive. It is quite diffenent. The tags is not one-to-one relationship. I 've also seen your note(Dig into Apollo - Map),that's really great help. but I still have no idea about how to convert(even manually).Do you find any rule about it ?
the below is code about generating base_map.txt ,if we could extract data from tags in normal opendrive,and call this function. maybe we could generate base_map.txt .  is it right(my idea) ?
gen base_map.txt

@daohu527  Hello, thank you for your detailed answer. When I recitify my code, I meet some questions.

Which the version of apollo do you use? I currently use apollo 2.5.
How to cite asbl header files？
Whether any xodr file can be converted to sim_map?

Your answers are very important for me. Thankyou for your help.

Which the version of apollo do you use? I currently use apollo 2.5.

apollo 5.0

Whether any xodr file can be converted to sim_map?

I made some mistakes before. sim_map is not a hd map, but it is used by dreamview. The tool from xodr to hdmap needs to be adapted, because apollo's own xml_parse is apollo custom format

Yes, the base_map is hd map. When I use sim_map_generator and proto_map_generator in the tools， I meet the error. The base.xml is the file that I copy from the VTD.
E0415 18:24:53.355163 12055 opendrive_adapter.cc:52] []fail to parse opendrive road, Error parse lane uid F0415 18:24:53.356544 12055 sim_map_generator.cc:117] Check failed: OpendriveAdapter::LoadData(map_file, &map_pb) []
I also look the issue about converting Fromat. But I have no idear doing this.

There is currently no good solution to this problem but do some adapt in "modules\map\hdmap\adapter\xml_parser"

Hi，@wangzhensuo
Do you have "apollo opendrive specification", could you please send it to<EMAIL_ADDRESS>thank you !

Hi，@wangzhensuo
Do you have "apollo opendrive specification", could you please send it to<EMAIL_ADDRESS>thank you !

the specification might be obsolete sometimes. please check the modules/map/proto for latest definition.

Hi，@ntutangyun
Thank you for your prompt, but I still don't know how to using these .proto files.
My final goal is creating my own HDmap which can be used in Apollo. But what I have now is standard OpenDrive HDmap, so do you konw how to change standard OpenDrive HDmap to base_map.xml or base_map.txt or base_map.bin?

Hi，@wangzhensuo
Do you have "apollo opendrive specification", could you please send it to<EMAIL_ADDRESS>thank you !

I also have not got the   "apollo opendrive specification" since several mouth passed. I joined the apollo automotie topic wechat group,and ask for the SPEC, but no one replay.  If you got it,   please share here.  thank you.

You can ref this one, convert osm to apollo opendrive.
https://github.com/CWGran/osm2opendrive

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.


Sharing: UNET or Sharing service

Recently I'm learning Hololens development from Hololens Academy. I notice that both holograms-240 and holograms-250 have sharing demo, but 240 is using SharingService.exe, however 250 is using UNET.  I am a little confused that what's the difference between two technologies?

240 is using a server written by JPL back in the day and is based off of RackNet.  The source code is hosted in the MixedRealityToolkit and is cross platform.
250 is using the built in Unity Networking services UNET.
The Sharing Service is free, where UNET may have some cost incurred depending on the usage.

@StephenHodgson   Thank you.


use lib static tensorflow-core.a error when build

undefined reference to 'google::protobuf::internal::fixed_address_empty_string' ....
i think my program can't find lib protobuf to used. Even I have already lib protbuf.a and protobuf.so. Before i use lib tensorflow-core.a I have used lib dynamic: tensorflow_cc.so and lib tensorflow_framework.so i build with bazel, and lib protbuf.so include. I don't know ho to fix this error. Can anyone help me?

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

the  Issue about TensorFlow installed from source lib static for my program have problem.

This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.
If you think we've misinterpreted a bug, please comment again with a clear explanation, as well as all of the information requested in the issue template. Thanks!


Send page formatting in dark mode and text update

Update Send page to say "Destination Address" instead of just "Address".
Additionally, the page rendering is not correct in dark mode for the send page:

Switching from light to dark mode and then light mode back;

the max button is still in dark mode
the next button is still in dark mode
typing a text in the amount input field doesn't show the amount being inputted(it's white)


go.mod: replace seahash with a valid github repo

What problem does this PR solve?
Issue Number: close #10673
What is changed and how it works?
Use a cloned repo to replace the official seahash, because the original seahash repo has been removed.
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
[x] No code

Release note
None

/cc @3AceShowHand  @asddongmen

/run-check-issue-triage-complete

@YangKeao please sign CLA

@YangKeao please sign CLA

Done

/retest

/retest


Add more CI workers

We are splitting the test suite more (#716). For that to have any effect, we will need more GitHub Actions workers.
Acceptance Criteria

Improve how we run the workers (systemd server) so they come up after something bad happens
Add at least 2 more workers (because we will have 1 more parallel task to run on each PR).

Splitting happening here: #716

on compute3.paas.suse.de there could live like 12 VMs (8/16/32 VCPUs, 18 GB RAM).
Will do that in 3 phases ...

add/redo 9 runners with 16 VCPUs, 24 GB RAM each (with setup-runner script and tmux) - DONE!
document access and action-runner/tmux restart in confluence
look into https://docs.github.com/en/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service

Updated confluence page for ~kwk/Self+hosted+github+runners with information on reconnect runners offline.
Of course, one of those runners - e.g. "tf6-gha-runner-2" could also be used to test with https://docs.github.com/en/actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service

I switched all runner to use the systemd service. I added this to the service template:
[Service]
Restart=always
RestartSec=5s

so the service will restart if something goes wrong or if someone accidentally kills it. Also I "enabled" it with systemctl enable service_name_here to make sure starts when the VM is re-started. I updated the confluence page with instructions on how to debug and re-create the setup.
I think this issue is done now.


'Download All...' is disabled for one blob under the context view 'Active blobs (default)/Active and soft deleted blobs'

Storage Explorer Version: 1.31.0-dev
Build Number: 20230726.3
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Ventura 13.4.1 (Apple M1 Pro)
Architecture: x64/x64/arm64
How Found: From running test cases
Regression From: Previous release (1.30.2)
Steps to Reproduce

Expand one storage account -> Blob Containers.
Create a blob container -> Right click it -> Click 'Open in React'.
Upload one blob -> Right click the blob -> Click 'Download'.
Check whether the action 'Download All...' is enabled.

Expected Experience
The action 'Download All...' is enabled.

Actual Experience
The action 'Download All...' is disabled.

Additional Context

'Download All' is disabled under the context view 'Active blobs (default)/Active and soft deleted blobs' if at least one item is selected.
'Download All' is enabled under the context view 'Active blobs and blobs without current version/All blobs and blobs without current version'.

Verified this issue on the main build 20230727.4. Fixed. So, we are going to close it.


Case sensitivity when changing username

Username in other capitalization not available
When updating username in account settings to a new one, using different capitalization of letters, an error pops up informing the user that this username is not available.
To Reproduce
Steps to reproduce the behavior:

Go to account settings area
Change username "JohnDoe" to "johndoe"
Scroll down and press Update button
See error in red

Changing the username in account settings
User should be able to change capitalization of their username.
Contexts

Browser: Chrome

Fixed


Plugin not working with PyCharm 2020.1

After upgrading PyCharm 2020.0 to 2020.1, launching the application gives the following event log entry:

Plugin Error: Plugin "Python Security" is incompatible (until build 193.SNAPSHOT < PY-201.6668.115)

Thanks, this is a bug in IDEA but I'm releasing a new version now. https://youtrack.jetbrains.com/issue/IDEA-237113
My understanding is that by releasing another version (with no changes), it will show as compatible

Should be fixed in 1.16.0, will take a few hours for this to appear in the marketplace https://github.com/tonybaloney/pycharm-security/releases/tag/1.16.0

Confirmed as fixed in PyCharm 2020.1 for Windows, Linux and MacOS


Testing Framework

Context:
Issue created to track discovery work. @psiemens to fill in more details.
Definition of Done:

Stale, closing

Stale, closing


TMux: import all the settings from NixOS

This pull request proposes the options offered by NixOS's programs.tmux module.

@rycee I'm trying to add some tests for this module, but I'm running into an issue attempting to run the tests:
This is on master:
$ nix-build . -A tests.run.all
these derivations will be built:
  /nix/store/c7yfx278aizvzbhafhvk73n9sl88rpdl-nmt-run-all-tests.drv
building '/nix/store/c7yfx278aizvzbhafhvk73n9sl88rpdl-nmt-run-all-tests.drv'...
builder for '/nix/store/c7yfx278aizvzbhafhvk73n9sl88rpdl-nmt-run-all-tests.drv' failed to produce output path '/nix/store/grh5m04lqpaciccsh3hdxmvscdczbwzj-nmt-run-all-tests'
error: build of '/nix/store/c7yfx278aizvzbhafhvk73n9sl88rpdl-nmt-run-all-tests.drv' failed

I'm getting the exact same thing when I try to install, not really sure how to debug this:
$ nix-build . -A install
these derivations will be built:
  /nix/store/gdwy4s1xwpgf950ngfjsxn7xn4jqrzxy-home-manager-install.drv
building '/nix/store/gdwy4s1xwpgf950ngfjsxn7xn4jqrzxy-home-manager-install.drv'...
builder for '/nix/store/gdwy4s1xwpgf950ngfjsxn7xn4jqrzxy-home-manager-install.drv' failed to produce output path '/nix/store/lpgcjj5hj9z4jg827nj6kmi8adw5klqg-home-manager-install'
error: build of '/nix/store/gdwy4s1xwpgf950ngfjsxn7xn4jqrzxy-home-manager-install.drv' failed

You need to use nix-shell instead of nix-build. That is, nix-shell -A tests.run.all and nix-shell -A install.

It's a bad idea to duplicate the code. You should modify nixpkgs so that the module can be exposed to home-manager instead. I am currently doing this for neovim config in fact.

@teto it would be ideal if we can do that, I did not think that's possible given the current module implementation (I'm a noob-ish when it comes to modules). How to do that?

you can have a look here https://github.com/NixOS/nixpkgs/pull/55635.
The module can be imported and called
Le mer. 13 févr. 2019 à 01:41, Wael Nasreddine
<EMAIL_ADDRESS>a écrit :

@teto it would be ideal if we can do that, I did not think that's possible given the current module implementation (I'm a noob-ish when it comes to modules). How to do that?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I understand the desire to avoid code duplication but I'm quite weary of sharing module definitions with NixOS because there is no notion of "stable API". So the module may change in Nixpkgs at any time in a way that is incompatible with Home Manager, potentially causing a working Home Manager configuration to not even evaluate. This is why HM at the moment just pulls two modules from NixOS, misc/assertions.nix and misc/meta.nix, which are very simple and stable. I recall HM pulling some module more from NixOS but eventually I just copied it over due to breaking changes happening in Nixpkgs.
Of course, it would work if we grab the modules from a pinned Git commit of Nixpkgs but that would force HM users to download a whole Nixpkgs just for a module or two. I'm thinking that wouldn't be very popular 🙂
It would be good to have more code sharing but I think it will have to be done in an organized way that offers some form of guarantee about the interface. I don't have any good ideas for a solution, though.

@rycee so should I continue fixing this pull request with the copied code?

@kalbasit Unfortunately yes I think the only option for now is to copy over the options.

@rycee PTAL.

Duplicating work is not sustainable, surely we can do better. Isn't the goal to have user environments native in nix(os) ? While it might be nice to have home-manager in a different repo, we should find ways to have nixpkgs and HM work together. Like adding some capability to ofborg to warn/check when a nixpkgs change may impact home-manager.
In the end, it's just about where to write the file.

Thanks! Squashed and rebased to master in 2093cf425ff6af786a2effc776d3ac89b6787c0a.
@teto Yeah, I agree that copying is unsustainable in the long run and I don't think solving this would be particularly difficult. It's mainly a matter of finding time and opportunity to have such cross project discussion and coordination. Perhaps it could be done around a Nix RFC. If I find the time to go to NixCon this year then this is something I hope could be discussed.


feat: added BigBlueButton bbb icon in repo

Description
Added big blue button svg icon to utilize it in different MFEs as required.
A related ticket is inf-207
Figma link  from where svg is exported : https://www.figma.com/file/SeNpRff5HxzdpCgoD5pmlQ/Apps-and-resources-landing-page?node-id=6598%3A80282
Merge Checklist

[ ] If your update includes visual changes, have they been reviewed by a designer? Send them a link to the Netlify deploy preview, if applicable.
[ ] Does your change adhere to the documented style conventions?
[ ] Do any prop types have missing descriptions in the Props API tables in the documentation site (check deploy preview)?
[ ] Were your changes tested using all available themes (see theme switcher in the header of the deploy preview, under the "Settings" icon)?
[ ] Were your changes tested in the example app?
[ ] Is there adequate test coverage for your changes?
[ ] Consider whether this change needs to reviewed/QA'ed for accessibility (a11y). If so, please add wittjeff and adamstankiewicz as reviewers on this PR.

Post-merge Checklist

[ ] Verify your changes were released to NPM at the expected version.
[ ] If you'd like, share your contribution in #show-and-tell.
[ ] 🎉 🙌 Celebrate! Thanks for your contribution.

I believe it might be missing an export of Bbb from icons/es5/index.js, as the new icon is not appearing on the PR deploy preview: https://deploy-preview-1414--paragon-openedx.netlify.app/foundations/icons

Thanks for the review @adamstankiewicz , I have fixed this thing can you please approve changes now


LLVM built application crash

Describe the bug
hello_world built with llvm crashes.
To Reproduce

export ZEPHYR_TOOLCHAIN_VARIANT=llvm
west  build -b qemu_x86 samples/hello_world/ -t run

[117/118] To exit from QEMU enter: 'CTRL+a, x'[QEMU] CPU: qemu32,+nx,+pae
SeaBIOS (version rel-1.12.1-0-ga5cab58-dirty-20200625_115407-9426dddc0a1f-zephyr
)
Booting from ROM..FAILED: zephyr/CMakeFiles/run
cd /home/nashif/Work/zephyrproject/zephyr/build && /home/nashif/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/qemu-system-i386 -m 9 -cpu qemu32,+nx,+pae -device isa-debug-exit,iobase=0xf4,iosize=0x04 -no-reboot -nographic -net none -pidfile qemu.pid -chardev stdio,id=con,mux=on -serial chardev:con -mon chardev=con,mode=readline -icount shift=5,align=off,sleep=off -rtc clock=vm -kernel /home/nashif/Work/zephyrproject/zephyr/build/zephyr/zephyr.elf
ninja: build stopped: subcommand failed.

Expected behavior
it should run
Impact
All llvm built applications are crashing.
Environment (please complete the following information):

OS: Linux
Toolchain  host clang/llvm

i9:zephyr(master): clang --version
clang version 10.0.1 (Fedora 10.0.1-2.fc32)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

Commit 82dbda3b57dca0729334a20e2024fdbb2a564e4f

Additional context
Bisected tree and found this commit to be the cause:
commit bb99422c8a5f97d250e3e7c956c57ec78fae0e77
Author: Peter Bigot<EMAIL_ADDRESS>Date:   Sun Nov 8 19:57:52 2020 -0600

    lib/os: replace z_vprintk with cbprintf

    Using the same implementation as the rest of Zephyr reduces code size.

    Update options and expected results for formatting test.

    Signed-off-by: Peter Bigot<EMAIL_ADDRESS>

This appears to be an LLVM code generation bug.
The problem goes away with this patch:
diff --git a/lib/os/cbprintf_complete.c b/lib/os/cbprintf_complete.c
index df3692e5d8..ee6bbb8df2 100644
--- a/lib/os/cbprintf_complete.c
+++ b/lib/os/cbprintf_complete.c
@@ -1351,6 +1351,10 @@ static int outs(cbprintf_cb out,
        return (int)count;
 }

+static union argument_value value = (union argument_value){
+       .uint = 0,
+};
+
 int cbvprintf(cbprintf_cb out, void *ctx, const char *fp, va_list ap)
 {
        char buf[CONVERTED_BUFLEN];
@@ -1456,7 +1460,7 @@ int cbvprintf(cbprintf_cb out, void *ctx, const char *fp, va_list ap)
                        = (enum specifier_cat_enum)conv.specifier_cat;
                enum length_mod_enum length_mod
                        = (enum length_mod_enum)conv.length_mod;
-               union argument_value value = (union argument_value){
+               value = (union argument_value){
                        .uint = 0,
                };

The observable impact of this is that without it llvm generates the following object:
 .rodata..L__const.cbvprintf.value
                0x0000000000104174        0xc zephyr/libzephyr.a(cbprintf_complete.c.obj)

rather than placing the union that holds the values read from the arguments onto the stack.  Presumably it mostly replaces the va_arg() material with pointers to what's on the stack, but fails to substitute all of them leaving some reference that pulls data out of the const zero object, resulting in a fault.
Do we want to move the stack variable into RAM to accommodate LLVM?  I'd be concerned the underlying problem would show up somewhere else....
tirzah[170]$ clang --version
clang version 11.0.0 (git@github.com:llvm/llvm-project.git 279922f108c26fe09667ba2525ab18b4735b28b2)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/local/bin

@pabigot thanks for looking into this. We need a workaround for this until llvm is fixed, if this turns to be the culprit. We should file a bug against llvm for this.


VLCPlayerView not working, white screen only showing

Dear xuyuanzhou,
I used VlCPlayer and it run ok. But i try use VlCPlayerView is not working. Phone display white screen. Below is my code:
<VlCPlayerView
autoplay={true}
url="http://cdn.goluk.cn/video/t1_2.mp4"
Orientation={Orientation}
//BackHandle={BackHandle}
ggUrl=""
showGG={false}
showTitle={true}
title="Test video"
showBack={true}
onLeftPress={()=>{}}
startFullScreen={() => {
this.setState({
isFull: true,
});
}}
closeFullScreen={() => {
this.setState({
isFull: false,
});
}}
/>

Dear xuyuanzhou,
I try again, reason is i place VLCPlayerView into container view. I remove container view and make VLCPlayerView is parent view, then run ok.
Thanks very much :)


HOW TO : Inserting timestamp key values

I have a event, and i want to store the date time the event happened as a timestamp, currently(v1.5) the key values only can be floats, integers, strings, or Booleans
usecase : to store start time , end time of a event, one of these can go as time, but how to store the other one

Hi! We try and keep GitHub Issues for  actionable bug reports or feature requests. Please post general questions on the InfluxData community site: https://community.influxdata.com
Thanks.


Fixed formatting of documentation

Fixed #52446

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

#sign-off


How to "Create Type Stub" for something that is not a library

I want to create stub files for my project, not for an existing library (described in https://github.com/microsoft/pyright/blob/master/docs/type-stubs.md). Part of the project is aimed to be published as a library, eventually, with these typings.
The project is designed for Django. The simplified layout looks like:
root
|_ .env
|_ manage.py
|_ .vscode\
|_ typings\
|_ mysite\
   |_ __init__.py
   |_ settings.py
   |_ myapp\
      |_ __init__.py
      |_ models.py

The goal is to create stubs for myapp.
The manage.py is used to temporary host the import instruction, but any other py file would be fine.
import mysite.myapp doesn't raise an error.
import myapp raises an expected error: Import "myapp" could not be resolved
So, we need to make the module visible. How?

I tried the setting of PYTHONPATH in .env, but it doesn't help (seems to have no effect for the purpose)
I tried to set Python › Analysis: Extra Paths. It works too much, in the sense that the module could be found and there is no "Stub file not found for ..." error.

My solution is to add a python path file: D:\Python37\Lib\site-packages\tmp.pth, containing D:/root/mysite.
After a "Restart Language Server", I finally have the wanted error:
Stub file not found for "myapp" Pylance (reportMissingTypeStubs)
with the Quick Fix: Create Type Stub For "myapp".
The question is: is there a smoother way to generate the typings?

The "create stub" feature is intended for installed packages. If you plan to make your package into an installable package, you could do an editable install into your current Python environment. Then Pylance will be able to create stubs from it.
However, if you plan to ship your library as Python source code, I recommend simply annotating your Python code and including a "py.typed" file (as described in PEP 561) in your package. That would save you the effort of creating and maintaining a separate set of type stubs.


io.swagger.v3.oas.annotations.headers.Header annotations seems to be ignored

Trying to define custom response header with oas annotation io.swagger.v3.oas.annotations.headers.Header  like:
@Operation(summary = "Operation description")
  @ApiResponse(responseCode = "200", description = "Success", headers = {@Header(name = "custom-header", description = "Custom header description", schema = @Schema(implementation = String.class))})
  @GetMapping(produces = MediaType.APPLICATION_JSON_VALUE)
  public SomeObject myMethod(...)

But no header information is generated to swagger JSON (in responses section for the given operation).

I think the problem is in the OpenApiResponseReader. It's isSuccessful method always returns false when I debug it, so the headers aren't added. I think the String code needs to be parsed to an int.
HttpStatus.Series.SUCCESSFUL.equals(HttpStatus.Series.valueOf(Integer.parseInt(code)));

@michalaron As a workaround, you can copy and paste the OpenApiResponseReader class into your source, so that it will be registered as a Spring bean (you'll have to change its name, e.g. to MyOpenApiResponseReader).
You'll also need to add an empty content to your @ApiResponse annotation (which I think is another defect - you shouldn't need to do this):
@ApiResponse(
        responseCode = "200",
        description = "Success",
        content = @Content,
        headers = @Header(name = "custom-header",
                description = "Custom header description"))


New php extensions

I've started using devilbox to work on symfony projects because I find it easy since it comes with blackfire implemented but today when I tried to install a simple packages ( twig-ext ) I noticed I don't have the ext-http extension. Took me around 4 hours to figure it out how to install the package.
Would be great if we would have by default installed the following extensions : http.so, propro.so raphf.so.
Thank you.

Hello @bogdaniel
As Cytopia seems to be very busy, I'll try to explain how you can  add your own extension easily !
Probably a new chapter in awesome documentation will be greatly appreciated by the community.
By default, the Devilbox used php container (Docker image mods https://github.com/devilbox/docker-php-fpm#image-mods) to enable/disable php modules (extensions).
If you want to build your own php images, have a look on the build helper and especially on build/ansible/group_vars/all/mods.yml
As you can see, the php modules you hope to see are not defined in list, but you can add it and rebuild docker images locally.
Uses the Makefile of the project.
Then once each php images (base, mods, prod, work) will be generated, follow official documentation to know how to overwrite existing docker image.
As current project cannot be built since a long time now (https://github.com/devilbox/docker-php-fpm/issues/195), I suggest to read also my proposition and fork version (https://github.com/devilbox/docker-php-fpm/issues/199) to build your own versions.
Hope this introduction will help you !

Notice, for http extension you need:

for PHP 8, version 4.0.0 or greater + raphf ext (*propro no more required)
for PHP 7, version 3.2.4 + raphf and propro ext

That means, you must also configure extension definition in build/ansible/group_vars/all/mods.yml file.
Something like (this patch)
diff --git a/build/ansible/group_vars/all/mods.yml b/build/ansible/group_vars/all/mods.yml
index 934482c..f7d182c 100644
--- a/build/ansible/group_vars/all/mods.yml
+++ b/build/ansible/group_vars/all/mods.yml
@@ -658,6 +658,19 @@ extensions_available:
       type: pecl
       build_dep: [unixodbc-dev]
       run_dep: [unixodbc]
+  pecl_http:
+    disabled: [8.1]
+    7.2:
+      type: pecl
+      version: 3.2.4
+    7.3:
+      type: pecl
+      version: 3.2.4
+    7.4:
+      type: pecl
+      version: 3.2.4
+    all:
+      type: pecl
   pgsql:
     all:
       type: builtin
@@ -720,11 +733,19 @@ extensions_available:
       build_dep: [libssl-dev]
   posix:
     already_avail: "{{ php_all_versions }}"
+  propro:
+    disabled: [8.0, 8.1]
+    all:
+      type: pecl
   pspell:
     all:
       type: builtin
       build_dep: [libpspell-dev]
       run_dep: [libaspell15]
+  raphf:
+    disabled: []
+    all:
+      type: pecl
   readline:
     already_avail: "{{ php_all_versions }}"
   recode:

As pecl_http extension requires some dependencies, the previous patch should be upgrade to:
diff --git a/build/ansible/group_vars/all/mods.yml b/build/ansible/group_vars/all/mods.yml
index 934482c..d87a1d0 100644
--- a/build/ansible/group_vars/all/mods.yml
+++ b/build/ansible/group_vars/all/mods.yml
@@ -658,6 +658,28 @@ extensions_available:
       type: pecl
       build_dep: [unixodbc-dev]
       run_dep: [unixodbc]
+  pecl_http:
+    disabled: [8.1]
+    7.2:
+      type: pecl
+      version: 3.2.4
+    7.3:
+      type: pecl
+      version: 3.2.4
+    7.4:
+      type: pecl
+      version: 3.2.4
+    all:
+      type: pecl
+      build_dep:
+        - zlib1g-dev
+      run_dep:
+        - libcurl4-openssl-dev
+        - libbrotli-dev
+        - libevent-dev
+        - libicu-dev
+        - libidn11-dev
+        - libidn2-0-dev
   pgsql:
     all:
       type: builtin
@@ -720,11 +742,19 @@ extensions_available:
       build_dep: [libssl-dev]
   posix:
     already_avail: "{{ php_all_versions }}"
+  propro:
+    disabled: [8.0, 8.1]
+    all:
+      type: pecl
   pspell:
     all:
       type: builtin
       build_dep: [libpspell-dev]
       run_dep: [libaspell15]
+  raphf:
+    disabled: []
+    all:
+      type: pecl
   readline:
     already_avail: "{{ php_all_versions }}"
   recode:

WARNING I'm working to include it in my fork version: should be available soon ...

FYI: my fork is ready to enable http extension on platforms PHP 7.2, 7.3, 7.4 and 8.0

Thank you everyone for the answers solved the issues somehow based on some docs I found to load from mods folder and cfg folder, but I will read every comment and do it your way. Also thank you for the fork :D


Modified bowmen and infantry textures

Fixed two different problems in both textures

Cool, accepted. However next time please comment on the problem on the PR.


Add link to YouTube channel?

Why not add a link to the devopera  YouTube channel ?

@andreasbovens, it could be easily added here _data/links-main.yml, what do you think?


Add tests for unsigned data types

Given the fact that TiDB is also incorrect on this issue, This PR also modifies the test framework to compare our result with pre-calculated answers rather than TiDB/Spark-JDBC output.

/run-all-tests

/run-all-tests

PTAL @ilovesoup @Novemser


Inquisition branding/versioning

Should we do more "branding" changes here?

README updates? (cf knots)
announce inquisition via the subversion (cf knots)
other changes?

Longer term I think the more important thing is establishing guidelines for when soft fork proposals can be added to bitcoin-inquisition. I'm already starting to lose track on the status of various soft fork proposals being enabled on bitcoin-inquisition. A benevolent dictator (AJ, AJ and Kalle?) maintainer model seems fine to me but even with that some guidelines and some prerequisites would prevent AJ from being hounded to merge weak and/or unfinished proposals. It is less of a concern than on mainnet (especially with custom signets available) but over time this is going to get harder and harder to manage effectively.

On branding, "bitcoin-inquisition" hats and hoodies :)

I guess one question "announce inquisition via the subversion" might help answering is "how do I know if my node is connected to any peers running inquisition, so that txs that use new features have any chance of propagating and getting mined?"

See #36


Search field for PVR TV/Radio channels and Recordings.

In the views Music, TV Shows and Movies there is a magnifier icon after tipping on which you can input a search term filtering the lists.
I'd like to implement a search field like this for PVR secions:
TV Channels
Radio Channels
Recordings.
As Kodi JSON API does not seeme to support filtering parameters for PVR data, the filtering would need to be implemented within the app after the full list of items has been received from the server.
Some PVRs have a large number of Channels (especially when used with SAT) and recordings. Even though recordings can now (eventually) be sorted (#385 if PR gets merged ) a search field would help to find desired recordings (and channels) even faster.
I'm ready to prepare a PullRequest.

The search input functionality is implemented in AbstractCursorListFragment but it would not be viable to extend from AbstractCursorListFragment with PVRRecordingsListFragment as no database is queried by PVRRecordingsListFragment.
Should search functionality (menu item + SearchView) instead be pulled up into AbstractListFragment so that PVRRecordingsListFragment can extend AbstractListFragment ?


Consistently handle inline elements with spaces

This resolves some odd situations that can occur when there are inline
elements that contain spaces in sentences.
The first situation is when there is an element that includes a space
between words, for example Test<span> </span>content. This would
previously have produced a two space result: Test  content because
this element would have matched both leading and trailing whitespace
tests.
The second situation is when there is an element that includes a space
outside the tests, which is the case of a non-breaking space character
(unicode U+00A0), then the space is removed. An example of this is
Test<span> </span>content which would result in Testcontent as
this wouldn't match the tests for leading/trailing whitespace.
This resolves these problems by changing the whitespace tests to use \s
rather than a subset of space characters (which is consistent with the
blank test 1) and only allows a leading space if the test for both
leading and trailing whitespace passes on a blank element.

Thanks for tracking this down!


Update AZ400_M16_Deploying_multi-container_application_to_Azure_Kuber…

…netes_Services.md
Replace issue name M00-LAB00:QUICK_DESCRIPTION, for example "M01-LAB01: My new issue" (or same name as linked Issue)
Related Issue
Link related Github Issue 🢂 Fixes # . (Include issue number after #)
Checklist
Mark completed with "x" between brackets, "[x]":

[ ] Has related GitHub Issue 💥 Create Issue 📝
[ ] Tested it
[ ] Read the PR collaboration guide 👓 Collaboration Guide 📝

Changes proposed in this pull request:

Submitted by garjen55 on behalf of MOC Labs Review

This fixes and other ones included in this PR already :)
https://github.com/MicrosoftLearning/AZ400-DesigningandImplementingMicrosoftDevOpsSolutions/pull/167


Add a proper error message when no hosts available

This patch adds a proper error message when no hosts
are available instead of the "list object has no element 0"
message and stop the importing of storage domains for the
DC.
Signed-off-by: Benny Zlotnik<EMAIL_ADDRESS>

@mwperina you approved the PR and the CI seems to have passed. What else is needed to merge this PR?

@maorlipchuk Can you please review and merge if OK?

Looks good to me


fix: The receiver can't be null, so the null-aware operator '?.' is u…

…nnecessary. (Documentation)  Try replacing the operator '?.' with '.'.

感谢 PR，但修改可能引起非 3.0 的用户报错， 已经做了兼容性的修改


JWT token

Hi,
How do I get access to the JWT token payload within in an endpoint?
Thanks

endpoints have a User property which is the ClaimsPricipal with all the claims already loaded.
however if you wish to decode the token yourself, you can do that too like so:
var authHeader = HttpContext.Request.Headers.Authorization.ToString();
var parts = authHeader.Split(' ');
var accessToken = parts[1];
var handler = new JwtSecurityTokenHandler();
var token = handler.ReadJwtToken(accessToken);
var payload = token.Payload;

Thanks.
Are you aware of any logging middleware that will allow us to monitor the number of requests for each user where we can identify a user by claim?
For example, Auth0 has a claim user_id which is an identifier for a user and wants to log how many requests from the user.

sorry can't remember anything like that off the top of my head.

Write one yourself, that's like what, 5 lines of code? 😜


Arch Linux link not found on installation wiki page

From<EMAIL_ADDRESS>on 2013-07-10T04:28:40Z
The Arch Linux link on https://code.google.com/p/spyderlib/wiki/Installation is wrong or out-of-date.
A correct link is: https://aur.archlinux.org/packages/?K=spyder
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1483

From<EMAIL_ADDRESS>on 2013-07-18T13:31:57Z
Fixed, thanks for reporting!
Status: Fixed


Update AIOps gateway plugin to update model-training-parameters Nats Jetstream kv storage.

AIOps gateway plugin has been updated to create the model-training-parameters bucket. https://github.com/rancher/opni/tree/gateway-aiops-kv.

Rolled over to sprint 4.


SList implementation improvements

Optimize implementation of opBinary

~Allow concatenation of lists with different element types, if both
element types have a common base type.~ (this change has been removed from the PR)

Use separate common logic from insertFront and insertAfter, and use it in both of them.

Explicitly forbid shared element types (did not work anyway, and would be bad usage of shared as well).

Oof. It would have been better to split these changes into different PRs. Can you at least separate these changes into different commits?

Okay, split it up, and reduced the diff a bit by leaving out some code styling changes. Both changes for opBinary and opBinaryRight are not easily separated, so I left them in a single commit.
The opBinary optimization comes down to this change:

originally the list was copied, then walked to find the last node, and then rhs was being inserted at the end.
I changed that to: first chain ranges this[] and rhs (no list walking required for that), then use that combined range as the source for the new list.

Also removed the one-line change in the unittest for concatenation, as it turns out that didn't prove anything. Actually, the relaxed typing for concatenation would need a more complex test case. I can add that later, no time for that now.

While working on the unittest I discovered that the relaxed typing for opBinary might have unwanted side effects, especially with stucts that have an alias this, so I ended up removing this change. I'll push the new commits in a few minutes.

Hmm, later I'm going to have to add to the docs that none of this works with transient ranges.

Ping @ZombineDev

Test failed after squashing fixup commits. Failure does not seem to be related to this PR.

Yep, the Jenkins failure is unrelated -> https://github.com/dlang/ci/issues/190

@thaven thanks again for you PR and sorry that it got a bit lost in the queue. We're trying to give each PR enough attention, but this one clearly could have received more.

You can also reach us on #phobos at dlang.slack.com (it currently requires an invitation, but feel free to ping me with your email address if you want to join.)


RSDK-3124 - Board server side

This PR adds the server side for Board.
Testing will be added in a follow up and is tracked here https://viam.atlassian.net/browse/RSDK-3283

CI will fail till https://github.com/viamrobotics/viam-flutter-sdk/pull/27 is in.


[7.x] Add Attribute Validation to Models

Hello! This PR is for an adaptation of a feature which I developed for my job, and I thought it might be useful to the larger Laravel community. We have been using and improving this feature for almost a year, and now it's in a place where I'm pretty happy with it.
Benefit To Users
TLDR: It's easy and decreases the likelihood of invalid data being saved to the database.
This feature gives users the ability to validate data automatically at the model level, rather than manually at the controller.
Laravel's validation system is already pretty robust, but it requires a lot of code to validate every incoming request, either by manually creating a validator in-line, or by creating an entirely separate request object class. Plus, once the request is validated, there's still a danger of storing invalid data if you have code that modifies the payload in any way before it gets saved into the database.
By declaring an array of validation rules directly on your model class, not only do you cut out all of the boilerplate traditionally required to run Validation in Laravel, but you also ensure that all of your data is validated just before it gets saved to the database, meaning that you're safe from errors that might be caused by working with the data before it gets saved.
Non-Breaking
This addition will not break existing eloquent models or the current Laravel framework at large. Although $validatesOnSaving is enabled by default, the default array of validation rules is empty. For models which do not set the protected $validationRules array, validation is effectively disabled.

IMHO such a think should not be by default in Laravel. Tying any kind of default validation to a model is a bad architecture.
It might look good for simple cases but in reality, validation for models depends on the context and can easily have different requirements depending on the application domain.
The same reasoning is why models should be kept slim (especially in ActiveRecord) and should not be overloading with lots of specialized methods unless absolutely necessary (custom getter/setter, relations), everything else should be done "outside".
👎 on the concept / PR

@mfn Thanks for your feedback. I would, however, like to argue my case.
The reason we wrote this trait at my job is safety. The only way you can guarantee that a model's data is valid, according to your app requirements, is to validate it at the last possible second. If you validate when the request first comes in, there's a danger of the data being mutated by other processes and becoming invalid before getting saved. If there was ever any additional behavior that should happen at the model level, I think validation is one of them.
In regards to your comment about validation rules being context specific - this is handled. To provide conditional validation rules, you can simply override the public function getValidationRules() function.

I thought about it some more, and slept on it a bit. I think there's a fundamental disagreement in philosophies here - that is, skinny models vs heavy models. I can see why this addition isn't compatible with the skinny model philosophy, but I think I might have a solution:
Would you consider allowing me to develop a HeavyModel extends Model class for developers who prefer more model-facing logic? This is the first of many model-heavy traits I've developed for my team, but again, I can see why those don't belong on the base Model class. I think including a HeavyModel class in the framework would be a great way to appeal to developers of both philosophies.
Some examples of other behaviors that could be included in a HeavyModel class:

HasDefaultOrderings - by default, include a global scope which orders model queries by a certain column, or columns (specified in a protected $defaultOrderings array - created_at by default). This is especially useful for models which use UUID ids, since the default ordering by id is essentially random.
HasEnums - enforce specified attributes as being an enum value. This is a default language construct of many other languages, but since PHP doesn't have an enum type, such behavior must be enforced manually. Enum attributes would be specified in a protected $enums array, where the key is the attribute, and the value is an array of enum values.
FillableOnCreate - only allow certain attribute columns to be fillable when the object is first created, but not on update. Pretty self-explanatory.

There are also several others I've built, but those tend to get a little more custom for my team's needs. Those that I just listed though seem pretty generic, and could be very useful to the larger community, but again, I see how they break the "skinny model" philosophy. Again, I'd like to discuss adding this option to appeal to developers with both philosophies.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Still an active library?

Forgive the impertinent question. I've just stumbled onto this library, and it looks really impressive, but it hasn't seen a release since early 2017. Is this still in active development? I'd like to roll it into the app I'm working on, but obviously wouldn't want to use it if it's dormant.
Thanks! (and sorry)

It's not actively developed here, but is in React Native. There is nothing inherently wrong with it. Hopefully we can get the gap bridged and take all the improvements from react native and bring them here

@browniefed will React 16 be supported? I saw in the other thread that someone's already solved the issue in react-native-web but here it'll become a liability.  Can we expect this (really nice) library to be supported for the foreseeable future? Would I be safe in using it for a production site? "No" would be a perfectly acceptable, though mildly depressing, answer.
Happy fourth!

It would work, and people use it in production. Will it continue to work into the future: yes. There may need to be some work done to make it work with React 16 as I haven't tested it.
Would I personally use it in production, probably not.

Okay, so you guys still see this as an experimental library that one day may be production-ready in your view, but is not currently at that stage, and you have no fixed timetable for if or when that might happen. All totally fine--I just want to make sure I understand your intent.

For the web that is an accurate statement.
For React Native it's very stable, just no one is really currently actively working on the web version besides when I occasionally get a few moments to attempt a PR/migrate some code which isn't often. This library isn't a priority for me.

Understood, and thanks. I think, given how well it seems to work, you'd have a lot of fans if you or a compatriot decided to focus on the web. Erosion at some point. React + animations on the web is still a tough nut to crack.


Update shortcodes.md

Zola no longer bundles shortcodes, they must be added to themes as needed.
Currently you cannot clone this repo and zola build with the latest version of zola.
It errors out because of the missing shortcodes.
This pull request allows the theme to build again.

I've tested the changes in this PR and verify that it does not build before the change and does afterwards.

thank you!


Option to disable harmonic flagging

The current riptide pipeline set up have harmonic flagging being run all the time. For my case of having a large number of candidates (10000+) with little candidates being flagged (<100), it is not useful to take ~1 hour to run the flagging. So I think there should be an option to disable the harmonic flagging process.

Hi @chiamintan,
This would be a good addition. There is no way to skip harmonic flagging at the moment. Currently, the harmonic filter parameters are set like so in the config file:
https://github.com/v-morello/riptide/blob/90f23860d416bd718d70c9e19a9be2ad55856cfe/riptide/pipeline/config/example.yaml#L177-L181
I suggest adding the following key and adding a check for it in the flag_harmonics method of the pipeline:
harmonic_flagging:
  # Skip harmonic flagging if false
  enable: true

I can do this easily when I have an opening (soon-ish), but it could also be a good exercise for a student in your group to get more familiar with the code and get some git / GitHub MR / Python experience. Your pick.


The map is not visible

I am using the plugin but at the moment of wanting to visualize it it is not seen, I have everything as the documentation but really the map is not visualized, when I build it does not mark me error and allows me to install it perfectly, I use framework7 with svelte

I guess some element(s) covers on map with background color.
The map is not a HTML element, so the map is placed under <html> (outside of browser)

Supongo que algunos elementos cubren en el mapa con color de fondo.
El mapa no es un elemento HTML, por lo que se coloca debajo <html>(fuera del navegador)

woow is correct, I have played something with css and the map is displayed perfectly, thank you very much seriously, then it is not an html element, now everything is clear to me

Congratulation!


correction of LabelContractor blog post

You are creating a new draft instead of fixing the actual post
Please, modify only the existing file

I made a second commit where the changes are made in the _post folder


Uncorrect display memory

In system monitor:

In htop:

In hyperline:

Whats going on? :cold_sweat:

Linux Ubuntu 16.04.
hyperline 0.6.0

Noticed this too (me being on mac). It is taken from os.freeMem (core node.js function).
There seem to be more reports of it being incorrect:
https://groups.google.com/forum/#!topic/nodejs/R1mJgyqzaTY
https://github.com/Unitech/keymetrics.io/issues/24

You have dependency is systeminformation. I checked, it seems this module correctly displays the memory. You can use the mem function to get correct memory.
And another thing, can show the usual active / total memory? Or is it better just to make a custom show active or available memory, in config in .hyper.js.

@Arttse feel free to PR it 😄 any help is welcome.

@timneutkens thank you. I think we should wait, when #40 is merged.

@arttse That one will be open for a while. I'm doing a total rework of the core code again to implement classes instead of inline styling.

@timneutkens I already did it for me. It worked, but looks ugly and without settings. If you want, I can create PR with these changes.

That's ok 👍


oao equivalent of yarn upgrade-interactive?

Both yarn outdated and yarn upgrade-interactive return Outdated lockfile. Please run yarn install and try again., likely do to the oao dependencies.
oao upgrade seems to bail with an error on the 1st outdated package.
 ❯ oao all "yarn upgrade-interactive"
2017-08-30T15:44:00.857Z           storyboard INFO  ┌── ROOT STORY: null, SB 3.1.1 [CREATED]
2017-08-30T15:44:00.858Z           storyboard INFO  Log filter: *:DEBUG
2017-08-30T15:44:01.168Z                 main INFO  ┌── Run cmd yarn upgrade-interactive at examples/with-404 [CREATED]
2017-08-30T15:44:01.393Z                 yarn INFO  yarn upgrade-interactive v0.27.5
2017-08-30T15:44:01.527Z                 yarn ERROR error Outdated lockfile. Please run `yarn install` and try again.
2017-08-30T15:44:01.527Z                 yarn INFO  info Visit https://yarnpkg.com/en/docs/cli/upgrade-interactive for documentation about this command.
2017-08-30T15:44:01.537Z                 yarn INFO
2017-08-30T15:44:01.541Z                 main ERROR Command 'yarn upgrade-interactive' failed at examples/with-404
                                         main ERROR   name: 'Error'
                                         main ERROR   message: Command failed: /bin/sh -c yarn upgrade-interactive
                                         main ERROR   message: error Outdated lockfile. Please run `yarn install` and try again.
                                         main ERROR   message: yarn upgrade-interactive v0.27.5
                                         main ERROR   message: info Visit https://yarnpkg.com/en/docs/cli/upgrade-interactive for documentation about this command.
                                         main ERROR   message:
                                         main ERROR   stack: Error: Command failed: /bin/sh -c yarn upgrade-interactive
                                         main ERROR   stack: error Outdated lockfile. Please run `yarn install` and try again.
                                         main ERROR   stack: yarn upgrade-interactive v0.27.5
                                         main ERROR   stack: info Visit https://yarnpkg.com/en/docs/cli/upgrade-interactive for documentation about this command.
                                         main ERROR   stack:
                                         main ERROR   stack:     at Promise.all.then.arr (/Users/eric/.config/yarn/global/node_modules/execa/index.js:210:11)
                                         main ERROR   stack:     at process._tickCallback (internal/process/next_tick.js:109:7)
2017-08-30T15:44:01.543Z                 main INFO  └── Run cmd yarn upgrade-interactive at examples/with-404 [CLOSED]

Instead of yarn outdated, you may want to check out oao outdated.
Regarding oao all "xxx", by default it bails out on the first error. You can use oao all --ignore-errors "xxx" to avoid that.
Finally, regarding yarn upgrade-interactive, I don't think it is or will be compatible with oao, unless you switch to Yarn Workspaces, for which support is included in the latest version of oao. Have you considered this? Under workspaces:

There is a single yarn.lock file, at the root
oao bootstrap becomes equivalent to yarn install
package.json files are untouched by oao during bootstrap or dep add/remove/upgrade
All other yarn subcommands (outdated, upgrade-interactive, etc.) should work as expected

@guigrpa Thanks for the writeup.  I'll check out the latest version of oao then.  Closing in the meantime :)

I was able to get workspaces working, but it has it's own set of issues unrelated to oao:

#4442
#4469


Do not assume  tags are all in

Ran into a strange issue today on a site with unusual markup. They have their  tag with the favicon in the  tag (don't ask me why!) which causes Tinycon to fail in removeFaviconTag() at load because it is trying to remove a link-node that is not a child of head.
The fix is fairly straight forward: https://github.com/dvdplm/tinycon/commit/7e8b2078680b7967d1f43ac6cdcfaaceb92d5b44

Hey @dvdplm - makes sense, want to put in a PR?

@tommoor will do. (Our fork has diverged a little but will redo against master)

closed by 3a60dfea4c9f218bcb18096d6821a1ccaf495b74


asctime() etc. do not make adjustments for local time

The documentation page says "The converted character string is also adjusted according to the local time zone settings. ".  However, the functions (asctime() etc.) make no such adjustment - they simply print a formatted version of the numeric values stored in the tm structure.
Regards,
Mike.

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

ID: 66cc47e7-1a13-2113-b6bb-bc3d9d0ba663
Version Independent ID: 67ab5660-be1c-03aa-526d-c2e843d8ae61
Content: asctime, _wasctime
Content Source: docs/c-runtime-library/reference/asctime-wasctime.md
Product: visual-cpp
Technology: cpp-ucrt
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

@darjeeling-uk, you are quite right. I have fixed the topic and it should be live by EOD Tues, 12/22
Thank you for pointing this out.


Add RPI Pico SDK mutex and locking to multithread(.h|.c)

Implemented locking for rpi pico sdk per our discussion here:
https://github.com/micro-ROS/micro_ros_raspberrypi_pico_sdk/issues/795

Build status:

Linux
Windows


vibration on Modal !?

💬 Question
I have a strange problem:
My modal code is like:
<Modal
animationType="slide"
transparent={true}
visible={modal2Visible2}
onBackdropPress={() => setModal2Visible(!modal2Visible)}
backdropStyle={styles.backdrop}
onRequestClose={() => {
setModal2Visible(!modal2Visible);
}}
>
<KeyboardAvoidingView      behavior={Platform.OS === "ios" ? "padding" : "height"}    >
<Animated.View style={{opacity: values, transform: [{ scaleY: values }], backgroundColor: "#ffefbf", borderRadius: 20, minWidth: 312}}>
<ImageBackground    source={require('../../Image/honeycomb2.png')} resizeMode="repeat" style={styles.image}   imageStyle={{ borderRadius: 20}}>

///// other staf

</Animated.View>

and on some devices (Note 8, android 9), when I have {minWidth: 300} on my Animated.View, (or even as a simple View), I see a strange vibration (as little as a pixel!) in opened modal!
if I set it to my minWidth: 312 or 299 or 301, or anything except 300, It does not vibrate!
I upgraded and downgraded RN and UI Kitten and every thing. Nothing changes.
Why is this happening?
My current setup:
"react-native": "0.70.5",
"@eva-design/eva": "^2.1.1",
"react-native-ui-kitten": "^4.4.1",
"@ui-kitten/eva-icons": "^5.1.2",

@pooryamd we've merged the fix for the issue, it will be delivered in next release. I'm closing it for now


Drill to detail by not support Presto

this function can generate Presto SQL like：select * from xxx LIMIT 50 OFFSET 50；
but Presto does support  SQL like：select * from xxx  OFFSET 50 LIMIT 50 ；
Is there anyone who can help me modify this sentence?

Closing since this is not a bug. Please feel free to start a Q&A thread on Github Discussions or join us on Superset Slack for community support.

Sorry, I misinterpreted your question when I closed this.
Is this still an issue in Superset 3.x?

CC @bkyryliuk as a resident Presto afficionado.

@PenneyHuang can you confirm that you still see the issue? We don't have offset enabled on our cluster - it's hard to test.


Implement proof of concept

This is a working proof of concept for an auto login via a generated token.

@jonathan-neugber In my opinion, this should be included in the App Template to prevent an again bloated cktools version. @felixkempf @wolfgang-braun

@cleptric What criteria do you use to decide this?

@cleptric I think it does not belong in the app template as this might change/receive updates and fetching changes from the app template is annoying at least.

this will move into cake-auth-actions cc: @wolfgang-braun

Sounds good to me to include it into the auth actions 🙂


启动失败

node v16.17
npm run dev
(node:12339) ExperimentalWarning: Custom ESM Loaders is an experimental feature. This feature could change at any time
(Use node --trace-warnings ... to show where the warning was created)
Error: Invalid environment: global fetch not defined
at file:///usr/local/ChatGPT-wechat-bot-master/node_modules/chatgpt/src/fetch.ts:6:9
at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:533:24)
at async loadESM (node:internal/process/esm_loader:91:5)
at async handleMainPromise (node:internal/modules/run_main:65:12)

Ok


Auto Runtime Dependencies always installs fallback version of FuncCoreTools

Describe the Bug with repro steps
When Auto Runtime Dependencies Validation And Installation is enabled and the Azure Functions Core Tools have never been downloaded, it always installs version 4.0.5455. However, the latest version of the Core Tools is 4.0.5907
Reproduction steps:

Go to the Azure Logic Apps (Standard) extension settings and make sure Auto Runtime Dependencies Validation And Installation is checked
Close VSCode
Remove directory %UserProfile%\.azurelogicapps\dependencies\FuncCoreTools
Start VSCode again: Validating Runtime Dependency: Functions Runtime should start and download version 4.0.5455 instead of the latest version
Observe its progress in the output window for Azure Logic Apps (Standard)

What type of Logic App Is this happening in?
Standard (VSCode)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos

Browser
N/A
Additional context
Extension version: v4.31.7

Issue is solved in above PR


Today Extension getting Error @ runtime using<EMAIL_ADDRESS>

issue faced : EXC_BAD_ACCESS at
runtime = [[TNSRuntime alloc] initWithApplicationPath:[NSBundle mainBundle].bundlePath];
on TodayWiget's main.m
Need to achive : want to create a Today's extension for iOS and update the label with the string which is saved in application-settings.
Approaches i have made :
My main application is in nativeScript, which i have built and created the extension from .xcodeproj in Xcode.
Approach 1 : I have followed this article (https://github.com/NativeScript/ios-runtime-docs/blob/d548447067a87ba7ed9af0b91bd8dc2ee1f486bb/extensions/TodayExtension.md) in Which i am getting this runtime error which is mention above. while following this article there was a line mentioned  Under Setting up the MYTodayExtension Target Saying that  "From the 'MYTodayApp' target's 'Build Phases' copy 'Generate Metadata' to the 'MYTodayExtension' target's 'Build Phases'."  which i couldn't find in the xCode.
Approach 2 : I have created the TodayExtension as we create for normal iOS application. Which works perfectly. But i am unable to figure it out "How to get data from NSUserDefault". As i have also added the app-group compatibility, still i am facing the issue.
Did anyone else got it worked or faced same issue?
which above approach is advisable? or do we have some other approach?

Hello, @ravindraNS,
I've made some update to the article. Let me know if this works for you :smile:

Hi @jasssonpet,
Thanks, now its working good. Now my only concern is to update the label of widget with the data which is saved to application-settings from app.js. I tried using this
var userDefaults = NSUserDefaults.standardUserDefaults().objectForKey("key");
and this var appSettings = require("application-settings");  var strShares = appSettings.getString("key", "Dummy String"); approach inside viewDidLoad() method. But still i am unable to get the data.
Can anyone help me with this?

I'm not quite familiar with iOS extension development, but did you take a look at this SO question.

ya i had looked into this SO link previously. But it couldn't help me solve my issue.


Dowloads Humvee fat jar only if local checksum doesnt match repository latest

Dowloads Humvee fat jar only if local checksum doesnt match repository latest

LGTM Thank you this is very helpful for local incremental change testing