Road width

Hi, a colleague just pointed me to this project! I'm super excited to watch it progress. I'm curious if the current pipeline could extract the total width of roads? If this could work in urban / suburban areas and eventually match up to existing tagged center-lines, it'd be incredibly for some use cases that @robinlovelace and I have.
(One of those cases: https://github.com/a-b-street/osm2lanes, an easier way to reason about and edit lane tagging. Many roads in the US and UK and likely elsewhere have street parking, but it's rarely mapped. And even when it is, knowing the existing kerb-to-kerb width is useful for road-space reallocation planning.)

Agreed, this could really help out with to generate strong evidence to support cost effective active travel interventions

Great thing about osm, we could use roads that have plausible width tags on OSM as the training dataset?

Hey there! Sorry it took me a while to get to this.
No, the current pipeline doesn't have the capability, and I fear a CNN might not be the best solution for extracting geometric information like this; at least not directly. With that said, part of the pipeline is the decoder, which is meant to replicate the mask that is fed to the network (to force the network to identify the road of interest). I'm hoping to leverage that to teach the network to identify which pixels correspond to the road as opposed to the background or any obscurations (typically trees, but also underpasses and tunnels). If the decoder works as expected, I could see extraction of geometric info from this using typical image processing techniques, given a known ground sample distance in m/px.
One thing that's related that a CNN could definitely help with your goal is identifying number of lanes and/or presence of sidewalks and street parking, as these are the typical "features" that CNNs are designed to encode. I'd love to build in something like this! This idea seems to align with the mission of osm2lanes pretty well.
Regardless, thanks for reaching out! I'll keep these thoughts in the back of my mind as this project continues to grow. Don't hesitate to contact me here or via email if you want to continue discussion related to this, or wish for updates about the project.

Heads-up on this @jdalrym2 my current thinking is that the segmentation step in this repo may be enough. After segmentation you can use another bit of code to compute width, e.g. by:

Selecting one OSM way
Sampling points along the segment
Drawing lines perpendicular to the sampled points
Calculating the length of the lines that intersect with pixels labelled as road (or sidewalk or other things from the segmentation stage)
Post-process, e.g. to remove incorrect values messed-up by trees and to provide confidence intervals

Seem reasonable? See here: https://github.com/Robinlovelace/roadwidths happy to chat over this at some point? Many thanks!

Happy to discuss but busy times for me so v. little capacity to pick up on the technical side, plus limited experience in this space. Do you know anyone who would like to pick on this? I'm wondering about doing a bit of a shout out on social media, Fosstodon and Twitter primarily, to see if we can crowd source some interest. There are some people I could ask also... Sorry for non-commital reply, glad you like the idea, let's do it!

Hi @jdalrym2 did you get close to a final model on this? Thanks and no worries if not, lots of options out there..

Hey @Robinlovelace! Sorry for the delay. No I haven't gotten around to a final model on this yet. I'm happy with the model architecture and weights, but still looking into how best to inference it on real-world OSM data (e.g. you can inference multiple times on the same road in different places to build up confidence). Happy to keep you in the loop as things continue.


TimoutException after few searches

Before submitting a bug report...

[X] This bug wasn't already reported.
(I have checked every bug report on GitHub)

[X] I've cleared the sessions folder.

Title

[X] The title is no longer "Title" and I edited it with the right error name.

Branch
develop
Commit
750fa7a
Describe the bug
The first searches work as expected, but after a few searches, I get the error below. The browser is on the rewards dashboard, loading forever, resulting in a TimeoutException after about 5 minutes of waiting. It seems like it tries to go to the page of the last search term ("hertha bsc") to start the next search but fails to do so for some reason. Manually refreshing the page returns it to the rewards dashboard, crashing the program.
Copy and paste your error
2024-08-21 02:06:47,423 [INFO] [BING] Remaining searches=24
2024-08-21 02:06:57,884 [DEBUG] terms=['hertha bsc', 'hertha', 'hertha wiesbach', 'hertha bsc news', 'hertha news', 'hertha bsc tickets', 'hertha feiler', 'hertha bsc shop', 'hertha tickets', 'hertha bsc berlin', 'hertha bsc transfermarkt', 'hertha bsc news aktuell']
2024-08-21 02:06:57,885 [DEBUG] rootTerm=hertha
2024-08-21 02:06:58,271 [DEBUG] term=hertha bsc
2024-08-21 02:07:26,005 [INFO] [BING] Remaining searches=23
2024-08-21 02:12:40,238 [DEBUG] terms=['energie cottbus homepage', 'energie cottbus vs dynamo dresden', 'energie cottbus tabelle', 'energie cottbus live', 'energie cottbus tickets', 'energie cottbus pinwand', 'energie cottbus live stream heute', 'energie cottbus news', 'energie cottbus shop', 'energie cottbus fanshop', 'energie cottbus spielplan', 'energie cottbus vs dynamo dresden 2024']
2024-08-21 02:12:40,238 [DEBUG] rootTerm=energie cottbus
2024-08-21 02:13:00,274 [DEBUG] in __exit__ exc_type=<class 'selenium.common.exceptions.TimeoutException'> exc_value=Message:
Stacktrace:
#0 0x5ed8acad26ca <unknown>
#1 0x5ed8ac7a3600 <unknown>
#2 0x5ed8ac7f2bcb <unknown>
#3 0x5ed8ac7f2eb1 <unknown>
#4 0x5ed8ac836b24 <unknown>
#5 0x5ed8ac8158cd <unknown>
#6 0x5ed8ac83404a <unknown>
#7 0x5ed8ac815643 <unknown>
#8 0x5ed8ac7e5d31 <unknown>
#9 0x5ed8ac7e679e <unknown>
#10 0x5ed8aca9a25b <unknown>
#11 0x5ed8aca9e1f2 <unknown>
#12 0x5ed8aca87615 <unknown>
#13 0x5ed8aca9ed82 <unknown>
#14 0x5ed8aca6c25f <unknown>
#15 0x5ed8acac1e68 <unknown>
#16 0x5ed8acac2040 <unknown>
#17 0x5ed8acad149c <unknown>
#18 0x712972494ac3 <unknown>
 traceback=<traceback object at 0x709248ee3640>
2024-08-21 02:13:01,403 [ERROR]
Traceback (most recent call last):
  File "/home/dev/MRFarmer-dev/main.py", line 40, in main
    earned_points = executeBot(currentAccount, args)
  File "/home/dev/MRFarmer-dev/main.py", line 249, in executeBot
    searches.bingSearches()
  File "/home/dev/MRFarmer-dev/src/searches.py", line 129, in bingSearches
    self.bingSearch()
  File "/home/dev/MRFarmer-dev/src/searches.py", line 162, in bingSearch
    searchbar = self.browser.utils.waitUntilClickable(
  File "/home/dev/MRFarmer-dev/src/utils.py", line 74, in waitUntilClickable
    return WebDriverWait(self.webdriver, timeToWait).until(
  File "/home/dev/MRFarmer-dev/.venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 105, in until
    raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
#0 0x5ed8acad26ca <unknown>
#1 0x5ed8ac7a3600 <unknown>
#2 0x5ed8ac7f2bcb <unknown>
#3 0x5ed8ac7f2eb1 <unknown>
#4 0x5ed8ac836b24 <unknown>
#5 0x5ed8ac8158cd <unknown>
#6 0x5ed8ac83404a <unknown>
#7 0x5ed8ac815643 <unknown>
#8 0x5ed8ac7e5d31 <unknown>
#9 0x5ed8ac7e679e <unknown>
#10 0x5ed8aca9a25b <unknown>
#11 0x5ed8aca9e1f2 <unknown>
#12 0x5ed8aca87615 <unknown>
#13 0x5ed8aca9ed82 <unknown>
#14 0x5ed8aca6c25f <unknown>
#15 0x5ed8acac1e68 <unknown>
#16 0x5ed8acac2040 <unknown>
#17 0x5ed8acad149c <unknown>
#18 0x712972494ac3 <unknown>

Screenshots

Value of dashboard variable
N/A

I was getting this same error (though only on mobile searches), and this fix worked for me in searches.py (lines 171-173):
                try:
                    searchbar = self.browser.utils.waitUntilClickable(
                        By.ID, "sb_form_q", timeToWait=40
                    )
                except TimeoutException:
                    logging.debug("TimeoutException")
                    self.browser.utils.goToSearch()
                    return

The idea is to just gracefully fail when this happens - the self.browser.utils.goToSearch() was necessary to somehow reset the webpage so the next waitUntilClickable won't just timeout again.

I did something similar to try and fix it. Unfortunately I was getting http2 errors after a few errors got caught. Disabling http2 with the --disable-http2 flag in chrome options fixed that and everything works smoothly now.

Me too. I first tried increasing timetoWait, but did not help. I will try both of these solutions. Suggest doing a PR if they work.

I was getting this same error (though only on mobile searches), and this fix worked for me in searches.py (lines 171-173):
                try:
                    searchbar = self.browser.utils.waitUntilClickable(
                        By.ID, "sb_form_q", timeToWait=40
                    )
                except TimeoutException:
                    logging.debug("TimeoutException")
                    self.browser.utils.goToSearch()
                    return

The idea is to just gracefully fail when this happens - the self.browser.utils.goToSearch() was necessary to somehow reset the webpage so the next waitUntilClickable won't just timeout again.

This works, the script is not crashing with the mentioned error(s). However, as @jdeath said, it just creates a loop of a search attempt at some point, trying the same search term over and over again while failing it every single time.

I finally had it complete all searches on first try and successfully continued through a timeout exception. It is based on @mshancock code. Making a new window is what allowed it to not get stuck in an endless timeout loop. Could close the old tab, but I did not bother.  I did not need to add --disable-http2 but did add --headless=new , not sure if necessary
Only worked once, but I will keep testing, I'll do a PR if keeps working
searches.py:
                try:
                    searchbar = self.browser.utils.waitUntilClickable(
                        By.ID, "sb_form_q", timeToWait=40
                    )
                except TimeoutException:
                    logging.debug("TimeoutException - Making New Tab")
                    self.browser.utils.createAndVisitNewTab()
                    self.browser.utils.goToSearch()
                    return

utils.py, add a function:
def createAndVisitNewTab(self, timeToWait: float = 0) -> None:
        self.webdriver.switch_to.new_window('window')

I also added to browser.py browserSetup, but I am not sure if it was necessary.
 options.add_argument("--headless=new")

Function names should probably be changed. I first tried to make a new tab using the existing functions in utils.py, but did not work. I then found the line of code I needed in the selenium documentation. Could change 'window' to 'tab' to see if still works.


Cross-realm bots lack avatars in /register response

On /register when the realm_user event type is included, we return the data for certain users in cross_realm_bots.
This is fine and dandy, but they're missing certain information. Most notably, avatar_url:
$ curl -s https://TESTORG.zulipchat.com/api/v1/register -u [...] \
  -d 'event_types=["realm_user"]' | jq .cross_realm_bots
[
[...]
  {
    "full_name": "Welcome Bot",
    "is_admin": false,
    "is_bot": true,
    "email"<EMAIL_ADDRESS>    "user_id": 100007
  },
[...]
]

In fact, these bots do have avatars set, at least on my test org on zulipchat.com which I used above (on chat.zulip.org, they seem to just have gravatars):

This actually fools the mobile app into not showing these bots' avatars in certain places, though we do in the message list:

We should just start including the avatar_url.
(More broadly, perhaps the cross-realm bots should just be folded into the realm_users field of the response; I'm not sure any client benefits from getting them separately. In the mobile app, the separation has been a source of confusion in the code and small bugs; @roberthoenig 's https://github.com/zulip/zulip-mobile/pull/2830 is cleaning some of that up, and will probably end up just folding the cross_realm_bots data into the same place we store what we get from realm_users. See also #5414.)

The other missing fields are timezone and date_joined, both of which are sorta meaningless for this class of user, but we can pass through, and that's probably the right approach.

I'm going to do the quick solution of fixing the format for these.  The webapp's administrative UI does need to distinguish these from normal bot users in the realm, because a realm administrator can't administer them.
I think there's a good chance that we'll eliminate this structure in the future by just splitting these cross-realm bot users into N bots, one per realm.  But until we do that, having the structure have the right shape seems right.


KAFKA-6718 / A Rack awareness for Kafka Streams

KIP-708 implementation.
Notable changes:

Added required configuration options in StreamsConfig. Configurations are guarded by the validation rules and corresponding unit tests are present in StreamsConfigTest.
SubscriptionInfo version bump to 10 and added necessary fields for encoding client tags.
Moved standby task assignment logic behind StandbyTaskAssignor abstract class.
StandbyTaskAssignorInitializer decides which of the StandbyTaskAssignor implementations to use based on AssignmentConfigs
When AssignmentConfigs#rackAwareAssignmentTags is present, new ClientTagAwareStandbyTaskAssignor will be chosen which distributes the standby tasks based on client tags and configured rackAwareAssignmentTags

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Call for review @vvcephei @cadonna @ableegoldman

@lkokhreidze Thank you for the PR!
 Could you split it up into smaller PRs that are easier to review?
One option could be to have a separate PR for:

standby task assignor
config changes
subscription info changes
...

Opening small PRs usually increases the review quality and decreases time to the first review.

Hi @cadonna
Thanks for the reply and suggestion. Will it be okay to have smaller PRs merged into trunk without having full functionality in place? Afair, when I worked on https://github.com/apache/kafka/pull/7170, it was one of the motivations to have full functionality in trunk in one go.
If having partial implementation in trunk is OK, I can split this PR into smaller chunks.

As far as I can see from skimming the PR, you could have a PR for the standby task assignors with corresponding unit tests without changing any existing public functionality and without adding any partial public functionality. So I guess, it would be fine to have a PR for the standby task assignors. To give context to the reviewers, you should motivate the change in the PR description.
Maybe you can do similar with the subscription changes and with some other aspects of this PR. Probably, it would be good to have the config PR that makes the functionality available to the public last, so that the functionality is never partly publicly available.
I do not know the details of  #7170, but most people with which I have talked about PR sizes agree that if it is possible to split them into smaller pieces, we should do it.
Note, that the title of the PR should start with the issue ID of the JIRA tickets which in this case would be KAFKA-6718. In this way a link to the PR will show up on the ticket. You can also open multiple PRs whose title starts with KAFKA-6718. A link for each PR will then show up in the ticket.

Sounds good, will try to split the PR into smaller chunks.

Closing this one as the PR is split into multiple smaller PRs.


Docker node-throughput job addition

Adding new job : docker-node-throughput
frequency set at 6h
Test run logs - https://storage.googleapis.com/ppc64le-kubernetes/logs/periodic-kubernetes-docker-node-throughput-perf-test-ppc64le/1437727193609277440/build-log.txt

Hi @mkumatag , there is no specific motive behind adding docker runtime. The only reason why I added it was because we use it sometimes and its present upstream.
I will close this PR and start with the crio work.


Appointment not visible in manage booking in impfservice.de

U have to enter the vaccination center name and then check


package.json missing socket.io-client

when trying to perform a grunt build it craps out because of missing socket.io-client
npm install socket.io-client --save fixes this

Thanks, I will add it to package.json.
On Tue, 5 Jan 2016 at 22:41 jmls<EMAIL_ADDRESS>wrote:

when trying to perform a grunt build it craps out because of missing
socket.io-client
npm install socket.io-client --save fixes this
—
Reply to this email directly or view it on GitHub
https://github.com/rabchev/brackets-server/issues/12.

Done


screenshot() on ArchLinux in Python 3.6 not overwriting existing file

If I enter a filename, it takes a screenshot just fine. But if I take another screenshot with the same filename, it doesn't overwrite the existing one, instead it creates a new one with a filename like "Blabla_000.png".
I've read that it uses Scrot on Linux, and that Scrot has "overwrite" disabled as default.
But I've run "Scrot -o" in terminal, which according to its description, would turn "overwriting" on, but it's still not doing so for me.

The code you're interested in is in https://github.com/asweigart/pyscreeze, there is a function _screenshot_linux and it doesn't pass -o flag.

The code you're interested in is in https://github.com/asweigart/pyscreeze, there is a function _screenshot_linux and it doesn't pass -o flag.

Thanks a lot, it works now as intended! My mistake was that I was only looking into files from PyAutoGui, which obviously isn't the source to the function in question.


CNL-Decryptor doesn´t install on Mypal68 Browser for XP, XP64 & Vista systems (based on Firefox68)

Hello Andreas !
CNL-Decryptor doesn´t install on Mypal68 Browser for XP, XP64 & Vista systems (based on Firefox68).
What is the minimum Firefox version to install CNL-Decryptor ?
And can anything be done, to install CNL-Decryptor on a lower Firefox version?
I really would like to try it out, but i don´t know how to do :-(
If you don´t mind, can you try it yourself with Mypal68 Browser, if there is a way?
(there is no install-setup, the install rar will unzip to a folder, which can easily be deleted and removed)
The creator of Mypal68 is Feodor2 here on Github.
Many thanks for considering.

The "minimum supported Firefox version" is the latest currently supported official Firefox version by Mozilla. Mypal68 seems to be a very outdated browser based on a release from 2019 and lacks the necessary APIs. Running such outdated browser is a major security risk and I would strongly recommend not to do it. So nothing I can do.


Droplet ID must be Powered Off Error

When I do a backup I get:
Droplet id: 6378264 must be Powered Off!
Which interrupts the backup and let the droplet offline... No snapshot taken.
The command I use:
do_snapshot -p 2 --only 6378264 -k 2 -c -m to:$TO from:       $FROM -t address:$HOST user_name:$LOGIN password:$PASSWORD port:587 -v
When I am at the backend at DO I see, t hat the droplet is getting powered off. But it takes a while until it shows, that the droplet is offline. In the meantime the script interrupts and I have to power on it by hand.

Yeah, this is DigitalOcean API bug. I can add option for checking droplet by shutdown status, instead of waiting for shutdown event.
DigitalOcean API sometimes answers that event finished, but it still alive.

Starting from version 0.4.1 you will able to use option: --stop-by-power

That works perfect. Thanks a lot!

I was looking for this option ;) Thanks


GetFileById listItemAllFields returning different formats of data

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details
No response
Describe the bug / error
When hitting this endpoint
https://tenant.sharepoint.com/sites/mysite/_api/web/getFileById('uniqueId')/listItemAllFields
The return type is not consistent, sometimes it is an object with all of the property listed
{
    "odata.metadata": "",
    "odata.type": "SP.Data.Controlled_x0020_DocumentsItem",
      .....................
}

and sometimes it is an object with
{
    "d": {
        "__metadata": {
            "type": "SP.Data.Controlled_x0020_DocumentsItem"
        }
    }
}

all of them has the same Request Headers

Steps to reproduce
Please note that I can't replicate this consistently.
Add managed metadata column to a library and get the unique ID of the document uploaded.

Go to https://tenant.sharepoint.com/sites/mysite/_api/web/getFileById('uniqueId')/listItemAllFields
Compare it with other files

Expected behavior
The return type is consistent

Update:
https://tenant.sharepoint.com/sites/mysite/_api/web/lists/getByTitle('ListName')/items(ListItemId) will return inconsistent result too. Sometimes this can be replicated by updating the managed metadata value from the properties panel and hitting the endpoint again

Update2:
Sometimes it will also return an XML object


fix: Updating SwaggerGen version as there are vulnerabilities

📲 What
Updating SwaggerGen Version
🤔 Why
There are vulnerabilities
🛠 How
More in-depth discussion of the change or implementation.
👀 Evidence
Screenshots / external resources / links / etc.
Link to documentation updated with changes impacted in the PR
🕵 How to test
Notes for QA
✅ Acceptance criteria Checklist

[ ] Code peer reviewed?
[ ] Documentation has been updated to reflect the changes?
[ ] Passing all automated tests, including a successful deployment?
[ ] Passing any exploratory testing?
[ ] Rebased/merged with latest changes from development and re-tested?
[ ] Meeting the Coding Standards?

@paulholiday Thanks for this, will there be a PR after for the main dotnet repo to upgrade the package to this one once it's published?

@paulholiday Thanks for this, will there be a PR after for the main dotnet repo to upgrade the package to this one once it's published?

Yeah, I'll work my way through them. I'm not a .Net guy though so not sure if the change will fully work

It looks like the API key has expired... Nice.

/amp run


src/lib: feature(never_type) no longer required in nightly

It is stabilized for 1.41.0. It currently generates a warning in nightly.

Codecov Report

Merging #59 into master will increase coverage by 0.18%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #59      +/-   ##
==========================================
+ Coverage   94.94%   95.12%   +0.18%
==========================================
  Files          11       11
  Lines        1008     1006       -2
==========================================
  Hits          957      957
+ Misses         51       49       -2

Impacted Files
Coverage Δ

src/lib.rs
100% <ø> (+9.09%)
:arrow_up:

tests/api_call.rs
98.98% <0%> (+0.25%)
:arrow_up:

Continue to review full report at Codecov.

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

bors r=@davidor p=1


Improve intellisense documentation experience for parity with C# and C++/CX

Visual Studio's Intellisense has built-in support for parsing documentation from xML files. For C# and C++/CX, this lights up more or less automagically when it finds an XML next to a .NET dll or winmd, respectively. Also, the object browser shows this documentation when browsing .NET dlls and winmds (provided an appropriate XML is found in the same directory).
Here's the Object Browser showing the XML documentation (see highlighted text at lower right)

Here's C++/CX showing the XML documentation in code

When it comes to C++/WinRT, there's less magic happening behind the scenes, which is lots of goodness. But we use cppwinrt to generate headers from the winmds, so the IDE isn't aware of the connection between the projected types and the winmd which spawned them. Because of this, it doesn't open the XML documentation.
Let's improve this tooling/experience gap.
Possible approaches:

We could work with Visual Studio to see if their Intellisense model allows us to associate the projection with the winmd and/or XML docs.

I have no idea if this is plausible, let alone feasible, but this would be attractive if this ability exists.
One possible advantage if this works is that if localized XML files exist, the correct one will be automatically used by Intellisense.

Enhance cppwinrt to read an XML file, extract the documentation, and insert it as Intellisense-friendly comments in the projection headers.

The upshot of this is that we wouldn't be dependent on a Visual Studio feature that may not exist, and the documentation would be more self contained.
One downside is that because the documentation is directly inserted into the generated headers, it won't automatically localize. This can be partially worked around by pointing cppwinrt at the user's desired localized XML. For example, the Windows SDK doesn't ship with a "default" XML, but ships with several localized XMLs under subfolders (e.g. References\10.0.18362.0\Windows.Foundation.FoundationContract\<IP_ADDRESS>\en\Windows.Foundation.FoundationContract.xml. However, I'm not sure how to extract the current user's localization settings in MSBuild so it can be passed to the cppwinrt command line.

As an experiment for the second approach, I added some formatted comments to some generated projection headers, and ended up with the expected experience:
// In winrt\impl\Windows.Foundation.0.h ...

    template <typename D>
    struct consume_Windows_Foundation_IUriRuntimeClass
    {
        /// Gets a fully canonical RFC-compliant representation of the current URI.
        /// <returns>The canonical URI.</returns>
        [[nodiscard]] WINRT_IMPL_AUTO(hstring) AbsoluteUri() const;
...
    };

// In winrt\impl\Windows.Foundation.2.h ...

    /// Defines an object that represents a Uniform Resource Identifier (URI) value and parses it into components. The Uri object is used by many other Windows Runtime APIs that are not necessarily confined to web browser scenarios.
    struct __declspec(empty_bases) Uri : Windows::Foundation::IUriRuntimeClass,
        impl::require<Uri, Windows::Foundation::IUriRuntimeClassWithAbsoluteCanonicalUri, Windows::Foundation::IStringable>
    {
...
        /// Initializes a new Uri object from the specified Uniform Resource Identifier (URI) string. Initializing the Uri also parses the string and populates the Uri properties that represent Uniform Resource Identifier (URI) components.
        /// <param name="uri">The string from which the new Uri object is created.</param>
        explicit Uri(param::hstring const& uri);

        /// Initializes a new Uri by combining a base Uniform Resource Identifier (URI) and a relative Uniform Resource Identifier (URI). Initializing the Uri also parses the combined string and populates the Uri properties that represent Uniform Resource Identifier (URI) components.
        /// <param name="baseUri">The base Uniform Resource Identifier (URI).</param>
        /// <param name="relativeUri">The relative Uniform Resource Identifier (URI).</param>
        Uri(param::hstring const& baseUri, param::hstring const& relativeUri);
...
    };

(Hover over type with cursor)

(Autocomplete a member)

(Autocompleting params in a constructor)

Feel free to reopen if this is something you plan to work on.

@kennykerr @DefaultRyan Did anything ever happen in this space? Lack of auto doc generation is a real bummer for API work. I was hoping I could stick xml comments in the IDL, but I read the different issues here and found out that's a hard "no" right now.

IDL has no support for XML docs at the moment. I was thinking of leveraging https://github.com/asklar/midl-langserv from @asklar at some point to generate a separate XMLdoc file from comments on the IDL (though my intent was to make these light up in C#, not C++, in which case this was the only thing needed. C++ light up would require cppwinrt codegen support)

at one point I did have the start of changes to MIDL to support outputting an xmldoc file, but sadly had to put it in the back burner. @jonwis / kenny perhaps we can work together to find someone who can take it over the finish line?

@Psychlist1972 Using attributes in IDL is an option where you can then write a tool to reflect on the generated WinMD and create an XML comments file but localisation is harder with this and the size of the WinMD can get large.

@JaiganeshKumaran that's a good idea. I probably don't have time to write any sort of tool right now (unless it saves significant time immediately). But it would be good for there to be solutions which work for all the /WinRT projects (C++, CS, RS). Agreed on loc.

Another person had mentioned doxygen on my repo, but I dismissed it because I didn't think it worked with MIDL 3.0. However, I see it does understand IDL. Has anyone used it with C++/WinRT IDL files?

The solution is xmldocs... But only C# and C++/CX support them. C++/WinRT has no kind of doc gen/consumption support.

another solution is to define your API in C# - where you can use XDC, and use CsWinMD (*) to produce the metadata and consume it from C++.
To use cswinmd:

create a C++ library project where your api implementation will live
add a C# file to it, e.g. cppcomponent.cs, where you define the api
in your C++ project:

  <ItemGroup>
    <CSharpCppComponent Include="CppComponent.cs" />
  </ItemGroup>

(*) we need to publish that nuget, it lives here: https://github.com/microsoft/CsWinRT/blob/master/nuget/Microsoft.Windows.CsWinMD.nuspec and the pipelines are set up but they are dependent on someone setting _PublishCsWinMD in the pipeline. @manodasanW could you run the pipeline with that so that we get it published to nuget.org?

@asklar definitely an interesting approach. But that ship has sailed here. All the API code here is C++/WinRT and the IDL is part of the C++/WinRT solutions. I did original prototypes in C# (where I'm more proficient anyway), but it had too many limitations for this. C++/WinRT has a ton of magic going on which requires the IDL in the project.

To be clear, you would still use C++/WinRT. This just gets rid of the MIDL compiler step. Instead of IDL, you define the interface in C#. The implementation in both cases stays the same, in C++/WinRT.


Battle transition issue in 16:9

Black bars flash on the top and bottom during the battle transition in 16:9. 21:9 didn't have the issue for me.

Did you start the game in 21:9 then switch to 16:9? If so, that's the problem. The render texture is created on startup and doesn't get recreated when you change aspect ratio. To fix that you need to restart the game after you change aspect ratios.

Was definitely launching the game in 16:9 and still having the issue

Was definitely launching the game in 16:9 and still having the issue

Can you post your SMTVFix.log file please?

Was definitely launching the game in 16:9 and still having the issue

Can you post your SMTVFix.log file please?

I can after I get home

Actually I think I know what the issue is. As a backup, I calculate aspect ratio from the desktop resolution first, then try to read the game resolution. The render texture must be created with that starting aspect ratio instead of the one pulled from the game. This is only manifesting for you because of the unique setup of wanting to play at 16:9 on a non-16:9 display.

Hmm the render texture is created before I can even read the game resolution from memory. So having it pre-written with your desktop resolution means that you'll always be limited to your desktop resolution's aspect ratio. The ideal solution to this would be to recreate the render texture but I'm not sure how to do that 🤔.

So I think for now the best option is having a toggle for this part of the fix. If, like you, someone is trying to run the game at a 16:9 when their desktop resolution is not 16:9, they can just disable that part of the fix and have it remain 16:9.
Not a proper and complete fix but as I said before that would take updating the render texture on the fly to fix.

Okay, I've added a toggle for this in v0.8.7. To fix this specific issue for you, you'll need to disable this part of the fix in SMTVFix.ini:
[Fix Battle Transition]
; Set to true to enable native (desktop) resolution sized 2D render textures.
; This affects the battle transition primarily. With this disabled it will remain 16:9.
Enabled = true

Okay, I've added a toggle for this in v0.8.7. To fix this specific issue for you, you'll need to disable this part of the fix in SMTVFix.ini:
[Fix Battle Transition]
; Set to true to enable native (desktop) resolution sized 2D render textures.
; This affects the battle transition primarily. With this disabled it will remain 16:9.
Enabled = true

Thanks, really appreciate it!


added pause() and resume() methods to $ref

Hi!, I'm working with the browser camera and found your library. The only think that would make it awesome it that has "pause()" and "resume()" methods.
Here is my attempt to add them.

@MrXploder Thank You. this has been merged, documented and tagged v1.7.1.


[tool_crash] Invalid argument(s): Cannot find executable for C:\Users\User\Desktop\Flutter v1.9\Flutter\bin\cache\dart-sdk\bin\pub.bat.

Command
flutter run --machine --target lib\main.dart -d emulator-5554 --track-widget-creation --start-paused

Steps to Reproduce

...
...
...

Logs
ArgumentError: Invalid argument(s): Cannot find executable for C:\Users\User\Desktop\Flutter v1.9\Flutter\bin\cache\dart-sdk\bin\pub.bat.
#0      _getExecutable (package:process/src/interface/local_process_manager.dart:127:5)
#1      LocalProcessManager.start (package:process/src/interface/local_process_manager.dart:43:30)
#2      _DefaultProcessUtils.start (package:flutter_tools/src/base/process.dart:413:27)
#3      _DefaultProcessUtils.stream (package:flutter_tools/src/base/process.dart:431:35)
#4      _DefaultPub.batch (package:flutter_tools/src/dart/pub.dart:259:33)
#5      _DefaultPub.get (package:flutter_tools/src/dart/pub.dart:176:15)
#6      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:604:17)
<asynchronous suspension>
#7      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:516:33)
<asynchronous suspension>
#8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:146:29)
#9      _rootRun (dart:async/zone.dart:1126:13)
#10     _CustomZone.run (dart:async/zone.dart:1023:19)
#11     _runZoned (dart:async/zone.dart:1518:10)
#12     runZoned (dart:async/zone.dart:1465:12)
#13     AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
#14     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:506:20)
#15     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#16     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:333:21)
<asynchronous suspension>

[✓] Flutter (Channel dev, v1.13.0, on Microsoft Windows [Version 10.0.18362.535], locale en-US)
  • Flutter version 1.13.0 at C:\Users\User\Desktop\Flutter v1.9\Flutter
  • Framework revision 09126abb22 (9 days ago), 2019-12-03 17:43:00 -0800
  • Engine revision<PHONE_NUMBER>
  • Dart version 2.7.0 (build 2.7.0-dev.2.1 a4d799c402)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
  • Android SDK at C:\Users\User\Desktop\Android Studio
  • Android NDK location not configured (optional; useful for native profiling support)
  • Platform android-29, build-tools 29.0.2
  • ANDROID_HOME = C:\Users\User\Desktop\Android Studio
  • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
  • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
  • All Android licenses accepted.

[✓] Android Studio (version 3.5)
  • Android Studio at C:\Program Files\Android\Android Studio
  • Flutter plugin version 41.0.2
  • Dart plugin version 191.8593
  • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[✓] Connected device (1 available)
  • Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)

• No issues found!

Flutter Application Metadata
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Since the update my every app, even the ones working fine before ,is showing this error.

Hi @AsadAslamm
in this issue you mentioned that
among others your app uses these packages
cloud_firestore
firebase_auth
firebase_auth_web
firebase_core
firebase_core_web
firebase_database

and you were getting an error on flutter packages get
is that correct?
could you please try this solution?
let me know if the issue persists
thank you

I don't think this is an issue with the FlutterFire plugins. @AsadAslamm this issue looks like a Framework one, maybe better to file it in the flutter/flutter repo?

Closing due to inactivity. Please let us know if you still have issues on the latest versions of Flutter & the plugins.


wrap_comments sometimes introduces trailing whitespace into rustdoc

This is related to (but I believe separate from) #5420
Whatever situation that rustfmt finds itself in after failing to detect a cfg_attr-declared code block, rustfmt then randomly introduces trailing whitespace (which afaik should never happen for regular code, regular comments, regular rustdoc, rustdoc tests/examples).
Input, processed with wrap_comments = true:
//! This is a rustdoc comment that goes past the default allowed width of eighty characters. rustfmt will re-wrap this comment when run with `wrap_comments`
//! enabled.
//!
//! The preceding line does not have any whitespace and is a total of three backslashes followed by a new line (`\n`). This does not change after a
//! `rustfmt` run.
//!
//! Some examples of supported mathematical operations:
#![cfg_attr(not(feature = "std"), doc = "```ignore")]
#![cfg_attr(feature = "std", doc = "```")]
//! use size::Size;
//!
//! // No trailing whitespace is introduced on the line above
//! let s1 = Size::from_mib(13) / 2;
//! assert_eq!(s1, Size::from_mib(6.5_f32));
//!
//! // Nor is any trailing whitespace introduced on the line above or the line below, even though this comment exceeds the maximum supported width
//! let s3 = Size::from_mib(12) - Size::from_mib(14.2_f64);
//! assert_eq!(s3, Size::from_kib(-2252.8));
//! ```
//!
//! In this section of the module documentation, `rustfmt` will introduce a trailing whitespace on the line above after
//! it is executed with `wrap_comments = true`.
//!
//! `rustfmt` does not introduce trailing whitespace on the line above this comment, even though it too is rewrapped from its long length.

Output:
//! This is a rustdoc comment that goes past the default allowed width of eighty
//! characters. rustfmt will re-wrap this comment when run with `wrap_comments`
//! enabled.
//!
//! The preceding line does not have any whitespace and is a total of three
//! backslashes followed by a new line (`\n`). This does not change after a
//! `rustfmt` run.
//!
//! Some examples of supported mathematical operations:
#![cfg_attr(not(feature = "std"), doc = "```ignore")]
#![cfg_attr(feature = "std", doc = "```")]
//! use size::Size;
//!
//! // No trailing whitespace is introduced on the line above
//! let s1 = Size::from_mib(13) / 2;
//! assert_eq!(s1, Size::from_mib(6.5_f32));
//!
//! // Nor is any trailing whitespace introduced on the line above or the line
//! below, even though this comment exceeds the maximum supported width let s3 =
//! Size::from_mib(12) - Size::from_mib(14.2_f64); assert_eq!(s3,
//! Size::from_kib(-2252.8)); ```
//!
//! In this section of the module documentation, `rustfmt` will introduce a trailing whitespace on the line above after
//! it is executed with `wrap_comments = true`.
//!
//! `rustfmt` does not introduce trailing whitespace on the line above this comment, even though it too is rewrapped from its long length.

It doesn't actually show on GitHub, but the second to last instance of an empty //! line has trailing whitespace after formatting that was not there before formatting.
This is the diff between the two with their spaces replaced with an interpunct for visibility into what's happening:
1c1,2
< //!·This is a rustdoc comment that goes past the default allowed width of eighty characters. rustfmt will re-wrap this comment when run with `wrap_comments`
---
> //!·This is a rustdoc comment that goes past the default allowed width of eighty
> //!·characters. rustfmt will re-wrap this comment when run with `wrap_comments`
4c5,6
< //!·The preceding line does not have any whitespace and is a total of three backslashes followed by a new line (`\n`). This does not change after a
---
> //!·The preceding line does not have any whitespace and is a total of three
> //!·backslashes followed by a new line (`\n`). This does not change after a
16,20c18,22
< //!·// Nor is any trailing whitespace introduced on the line above or the line below, even though this comment exceeds the maximum supported width
< //!·let s3 = Size::from_mib(12) - Size::from_mib(14.2_f64);
< //!·assert_eq!(s3, Size::from_kib(-2252.8));
< //!·```
< //!
---
> //!·// Nor is any trailing whitespace introduced on the line above or the line
> //!·below, even though this comment exceeds the maximum supported width let s3 =
> //!·Size::from_mib(12) - Size::from_mib(14.2_f64); assert_eq!(s3,
> //!·Size::from_kib(-2252.8)); ```
> //!·

I believe we also need format_code_in_doc_comments=true to trigger this

No, I didn’t have that option set in the .rustfmt.toml, unless it is implicitly set somehow.

Apologies. You're correct. You don't need  format_code_in_doc_comments=true to trigger this.
Just ran rustfmt --check --config=wrap_comments=true and got
error[internal]: left behind trailing whitespace
  --> <stdin>:22:22:4
   |
22 | //!
   |    ^
   |
   = note: set `error_on_unformatted = false` to suppress the warning against comments or string literals

error[internal]: line formatted, but exceeded maximum width (maximum: 100 (see `max_width` option), found: 119)
  --> <stdin>:23:23:101
   |
23 | //! In this section of the module documentation, `rustfmt` will introduce a trailing whitespace on the line above after
   |                                                                                ^^^^^^^^^^^^^^^^^^^
   |
   = note: set `error_on_unformatted = false` to suppress the warning against comments or string literals

error[internal]: line formatted, but exceeded maximum width (maximum: 100 (see `max_width` option), found: 138)
  --> <stdin>:26:26:101
   |
26 | //! `rustfmt` does not introduce trailing whitespace on the line above this comment, even though it too is rewrapped from its long length.
   |                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: set `error_on_unformatted = false` to suppress the warning against comments or string literals

warning: rustfmt has failed to format. See previous 3 errors.

I think the trailing whitespace issue would be resolved when we backport #4304 in #5288


Log exception when parsing callback URL fails

Hello,

In send_callback_http_request, if URI.parse raises an exception (on invalid callback URL), seems the method will quit silently. When this situation happens, the logs could lead to a confusing conclusion that the status checking is stuck. Do you think if it would be ideal to catch the exception and report the error, helping locate the problem? This pull request is an attempt to explain the situation.

Not related to this pull request, wondering if it's possible to make send_callback_http_request support Docker compose-like names in the domain of the callback URL, like http://compose_straight_1:8080? Actually we were feeding URI.parse such a Docker compose URL, and it led to the problem above. Made a quick fix which involved an external library "Addressable" though, changes not included in the commit but being pasted below.
require "addressable/uri"

...

begin
  uri = Addressable::URI.parse("#{url}#{url.include?('?') ? '&' : '?'}#{order.to_http_params}#{callback_data}")
rescue => ex
  StraightServer.logger.warn "Parse callback URI failed with #{ex.inspect}"
  return
end

...

Thank you!

Hello! Thanks a lot for your pull request.

Could you also please provide unit tests for this exception?
I couldn't reproduce this exception with the following URL 'http://compose_straight_1:8080'.

2.2.2 :012 > require 'uri'
=> true
2.2.2 :013 > url = "http://compose_straight_1:8080"
=> "http://compose_straight_1:8080"
2.2.2 :014 > uri = URI.parse(url)
=> #<URI::HTTP http://compose_straight_1:8080>
2.2.2 :015 > uri.host
=> "compose_straight_1"
2.2.2 :016 > uri.port
=> 8080

Which ruby version do you use?

Hello!
The version here is not the latest but ruby 2.1.2p95 (2014-05-08) [x86_64-linux-gnu].
Took a look at the Ruby changelog, found this commit on Jun 22, 2014,  which added RFC3986 support. RFC3986 allows _ in host, could be the reason 2.2 accepts the URL.
Maybe the doc can be revised a little bit for the 2.2 requirement, if user want enhanced URI parsing support (the current requirement is 2.1), and catching URL parsing exception can still provide helpful log info, just in case true invalid URL is fed.
Thank you!
[References attached below]

>> require 'uri'
=> true
>> url = "http://compose_straight_1:8080"
=> "http://compose_straight_1:8080"
>> uri = URI.parse(url)
URI::InvalidURIError: the scheme http does not accept registry part: compose_straight_1:8080 (or bad hostname?)
	from /usr/lib/ruby/2.1.0/uri/generic.rb:214:in `initialize'
	from /usr/lib/ruby/2.1.0/uri/http.rb:84:in `initialize'
	from /usr/lib/ruby/2.1.0/uri/common.rb:214:in `new'
	from /usr/lib/ruby/2.1.0/uri/common.rb:214:in `parse'
	from /usr/lib/ruby/2.1.0/uri/common.rb:747:in `parse'
	from (irb):3
	from /usr/bin/irb:11:in `<main>'
>>

A little bit spec on host in RFC3986.
host        = IP-literal / IPv4address / reg-name

reg-name    = *( unreserved / pct-encoded / sub-delims )

unreserved    = ALPHA / DIGIT / "-" / "." / "_" / "~"


Lambda hanging when using local (rather than external) collections/environments

Refs: https://github.com/byu-oit/hw-fargate-api/issues/242

So, two things likely need to change:

[ ] We need a try/catch around the S3 bits so that CodeDeploy gets notified if there's a failure (instead of hanging)
[ ] We need to fix the S3 bits so that they grab the correct objects


Garden page

Related to:
Resolves: #31
Description:
Implemented all of the basic functionality of the Gardens component to the Garden component, identifying the Garden by URL query string, rendering a form to add a Bed to this Garden and a BedList of its already-existing Bed children. When a new bed is added, the list is immediately updated with the new data. I see potential for a reusability refactor down the road, but wanted to get this functionality up and running.
Added SINGLE_GARDEN_QUERY to 'queries' and CREATE_BED_MUTATION to 'mutations', along with their respective mocks to 'mocks/handlers'.
Tests:
New components are tested for proper rendering and static functionality, as well as proper handling of the new query and mutation. Integration testing in the Garden component is not possible due to not using live data, definite possible use case for doing some e2e testing eventually - at the moment I can assert that it works as expected.
Checklist:
Please put an x in each box that you have completed

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code in any hard-to-understand areas
[x] My changes generate no new warnings or errors
[x] I have added test instructions that prove my fix is effective or that my feature works

Went ahead and cleared out the MockComponent and corresponding server mocks, as there are plenty of real-use examples now.

@paytonagreen sorry I didn't merge this back when. At this point the project has changed quite a bit, does it make more sense to scrap this or try to merge?


Fix return type in example code snippets

Some IDEs (e.g. intelliJ) complain about the return type of the vec! macro not matching the declared return type.
Even though it compiles and runs successfully this is confusing for rust-newbies (like me).

Closing because this is an issue with the IntelliJ Rust plugin, and that's being fixed here: https://youtrack.jetbrains.com/issue/IDEA-304495/nostd-is-ignored-when-resolving-macros
https://github.com/intellij-rust/intellij-rust/pull/9552

Closing because this is an issue with the IntelliJ Rust plugin, and that's being fixed here: https://youtrack.jetbrains.com/issue/IDEA-304495/nostd-is-ignored-when-resolving-macros intellij-rust/intellij-rust#9552

Thank you for looking into this!


quarto can't build mixed Python and R documents due to rPackages.reticulate not finding the Python interpreter

Describe the bug
See title.
Steps To Reproduce
git add the following flake.nix to a fresh git repo and run nix build.
{
  description = "Demonstration of `reticulate` being broken unable to find Python interpreter in Quarto";

  outputs = { self, nixpkgs }:
    let pkgs = nixpkgs.legacyPackages.x86_64-linux; in rec {
      packages.x86_64-linux.default = pkgs.stdenv.mkDerivation rec {
        pname = "mixed-python-and-R-quarto-documents-broken";
        version = "0.0.1";

        working = pkgs.writeText "working.qmd"
          ''
          ```{python}
          import numpy as np
          ```
          '';

        alsoWorking = pkgs.writeText "also-working.qmd"
          ''
          ```{r}
          2 + 2
          ```
          '';

        broken = pkgs.writeText "broken.qmd"
          ''
          ```{python}
          import numpy as np
          ```
          ```{r}
          2 + 2
          ```
          '';

        src = pkgs.hello;

        buildInputs = with pkgs; [
          (quarto.override {
             extraRPackages = with pkgs.rPackages; [ reticulate ];
             extraPythonPackages = ps: with ps; [ numpy ];
           })
        ];
        preBuild = ''export HOME=$(mktemp -d)'';
        buildPhase = ''
          runHook preBuild
          quarto render ${working} --to html -o working.html
          quarto render ${alsoWorking} --to html -o also-working.html
          quarto render ${broken} --to html -o broken.html
          runHook postBuild
        '';

        installPhase = ''
          runHook preInstall
          mkdir $out
          cp *html $out
          runHook postInstall
        '';
      };
    };
}

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/calling-python-via-reticulate-in-an-r-markdown-document/43557/2


i do not have config file

i tried finding or downloading config file but i cant find it, im new to linux so i may just be stupid, but can sb tell me what can i do?

hiya! mommy works fine without a config file, she'll just use the default settings. if there are any settings you want to change, you can create a new file at ~/.config/mommy/config.sh. (the ~ is an abbreviation for your home directory, so for me it would be /home/florine/.config/mommy/config.sh.) you can create a new file using a program like KWrite, Gedit, nano, Sublime Text, vim, VS Code, or something similar~
if you have a config file at ~/.config/mommy/config.sh, then mommy will first load the defaults, and then any settings defined in ~/.config/mommy/config.sh will override the defaults~
i hope this helps. please let me know if you're stuck somewhere or have other questions :-)

Hi! how to create new file at ~/.config/mommy/config.sh ? I also tried to go to .config, I made a mommy file with > (there wasn't any), but i can't create another config in it. I know I have nano because i used it to modify zshrc to make mommy apear automaticaly but idk how to make a new file in it. I tried to log in ssh (ssh user_name@host_ip_address, but it denys me connection, do you think I should try other programs you mentioned or to do sth else?
Thank you for help, sorry for the trouble :)

using nano, you can just write nano ~/.config/mommy/config.sh and then add your configuration in the file. for example, add the following line:

and press CtrlX, type Y, and press Enter to save the file.
if you then run mommy echo test you'll see that her text is in a pink-ish colour~
you mentioned using >. instead of using nano you could also do
echo 'MOMMY_COLOR="163"' > ~/.config/mommy/config.sh

and you will also end up with a config file containing only the line MOMMY_COLOR="163". but note that using > this way will overwrite the file, so if you had made any other changes those would be lost. for config files i'd just use nano if i were you~
you also mentioned ssh. ssh is for connecting to a different computer over the network. unless you're trying to set up mommy remotely, you don't need it here~

Thank You, but I have [Error writing ~/.config/mommy/config.sh: Not a directory] (instead of ~ i have /home/nosacz, but i think that this doesn't change much) and i can't save it.

ok i made with mkdir (so it is directory) all files named in command and ill try now

OK I GOT IT
I had to create these files as directory except for the config.sh, which was made by nano command.
Thank You again, I couldn't do it without your help. I wish you have a great day :D

oh of course, i'm sorry, i should have noticed that. but i'm glad to hear you got it working! cheers! feel free to reopen the issue, open a new issue, or leave another comment if you have more questions ^^


Subdirectories at Madokami

I noticed some series have subdirectories for certain releases. Attempting to follow a series based on the subdirectory URL doesn't work, and it is normally skipped when cum scrapes those series.
I guess this is a feature request. I was looking at the code myself, and was wondering what would be better, allowing users to follow based on the subdirectory URL or giving them a parameter to specify the URL used to grab chapters.

Where is that being done?
Why is that being done?
Is this actually in line with the staff's organization rules?

It would also be interesting to see how the site would even cope with that when you look at the RSS feed by adding ?t=rss to the end of the URL. If that is broken (i.e. the releases don't show up), then I'm assuming having subdirectories in a series folder is probably not what the admins wanted.

Closing due to inactivity.

I realize that this issue is very old, and I'm hoping that this is still maintained.
It doesn't seem to be working with https://manga.madokami.al/Manga/B/BE/BERS/Berserk/%21Berserk%20%5Bdanke-Empire%5D%7BHD%7D
at least for me, cum isn't displaying any chapters.


failing to convert from JH7100 / VisionFive 1 DTS in U-Boot

I'm trying to get an SVD from https://github.com/starfive-tech/u-boot/blob/07eac31890155be6005237cecdc1871d471c86c7/arch/riscv/dts/jh7100-visionfive.dts - failing in any of the following ways:
Passing the DTS to cmsis-svd-generator errors when facing the #include statements, yielding parser errors.
So I tried preprocessing with cpp, which errors when encountering & characters.
So I compiled again to a flat tree using dtc, and then got parser errors again for the / in the beginning already (/ { is how a tree starts).
For details, please see the Gist with more notes:
https://gist.github.com/orangecms/2d014eb3a21123b4da89d13f974f7c6b

Note: Similar to #15, it does work when I take the VisionFive DTS from Linux. However, the result is useless, almost empty:
<?xml version="1.0" encoding="utf-8"?>
<device schemaVersion="1.3" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="CMSIS-SVD.xsd">
  <name>StarFive VisionFive V1</name>
  <version>0.1</version>
  <description>From StarFive VisionFive V1,model device generator</description>
  <addressUnitBits>8</addressUnitBits>
  <width>32</width>
  <size>32</size>
  <access>read-write</access>
  <peripherals>
  </peripherals>
</device>

@orangecms This tool is pretty specific to SiFive stuff, and looks up regmap SVD definitions based on the base name in DTS.
Educated guess is that because the name in the DTS is "StarFive" and not "SiFive", none of the regmaps are found.
The tool also looks up entries based on the reg-names child node, so if that is not present in the DTS, no peripheral entry is created.
Currently working on a fix to have this tool parse DTS for boards based on SiFive SoCs, and hopefully generalize to work with regmaps for non-SiFive based products.
Probably going to mean manually, or some other way, building those regmap SVD files, and adding them to the lookup path.
That DTS in your original post also doesn't contain a soc child node, which is what this tool uses to build the peripherals entry.

I also had better luck by running the C preprocessor over the DTS file before passing to generate_svd.py:
cpp -E -P -Wp,-I<include-dir> /path/to/some.dts > processed.dts

-E tells it to only run the preprocessor
-P for it not being a C file
-Wp,-I<include-dir> to point to the include directory for any C headers included by the DTS

Still going to run into issues with DTS files used in Linux, since they seem to use the ranges; field before peripheral entries, instead of a reg-names child node. May just have to make a manual edit, and keep/update the patched file, though it would be nicer to do all of this automatically.

Still working on regmap definitions. Basically, for DTS that include a SoC DTSI file with register definitions, we should be able to directly create the register map from the /cpu path.

Hi @rmsyn! Is there any progress with that? :)

Helllo @grinux, there is progress. You can follow my current work in either the open PR: https://github.com/sifive/cmsis-svd-generator/pull/19, or the fork branch I try to update similarly: https://github.com/rmsyn/cmsis-svd-generator/tree/dev
Currently, I am debugging an issue with the generated jh71xx-pac library blowing up the binary size of a relative simple flashloader crate: https://github.com/rmsyn/starfive-flashloader
So, it works, but still working out some errors from parsing spec sheets, and driver implementations in other projects. :grimacing:


Add implementations for DataFrame Algebra.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. What kind of performance improvements would you like to see with this new API?
Inspired by #2656. Now that we've begun refactoring the Modin Dataframe to include the algebra operators, we need to implement them. Each operator has its own issue. The operators are:

[ ] concat
[x] explode
[ ] groupby
[ ] infer_types in progress
[ ] join [Not started](https://github.com/modin-project/modin/issues/656, https://github.com/modin-project/modin/issues/1356)
[ ] filter [In Progress](https://github.com/modin-project/modin/pull/2744, https://github.com/modin-project/modin/issues/1360)
[ ] filter_by_types In Progress
[ ] map In Progress
[ ] mask [In Progress](https://github.com/modin-project/modin/pull/2744, https://github.com/modin-project/modin/issues/1359)
[ ] reduce In Progress
[ ] tree_reduce In Progress
[ ] from_labels In Progress
[ ] to_labels In Progress
[ ] rename In Progress
[ ] sort_by
[ ] transpose
[ ] window

@RehanSD, @mvashishtha, any plans on this?


I want to add merge sort  algorithm

I want to add a merge sort algorithm based on divide and conquer.

Are you a LGMSOC or Devincept participant? @AlexAdvent

yes, I'm a Devincept participant.

How would I know if you are, only if you follow the guidelines i could  right? Kindly read the README and CONTRIBUTING GUIDELINES. There are templates provided to follow for issue, PR and README. Add the issue template here in comments, fill the details appropriately along with your approach. I could then assign the issue to you. @AlexAdvent

And also you can work on only 1 issue at a time @AlexAdvent

Title: Merge Sort Algorithm
About: Sorting Algorithm time Complexity O(logn)
Name: Rajpurohit Vijeshkumar
Label: Feature Request
Assignee: ''

Define You:

[*] DevIncept Participant
[ ] Contributor

Is your feature request related to a problem? Please describe.
No. I want to add a new feature.

Describe the solution you'd like...
Merge Sort is based on the divide and conquer algorithm it divides the input array into two halves and called itself.

Approach to be followed (optional):

Additional context

Issue assigned. @AlexAdvent


Trigger Suggestions (Ctrl + space) not showing info on imported libraries

From @sameervk on issue #10023

tried version 1.43. IntelliSense still does not display the info for imported libraries such as numpy. For example, I was using numpy.apply_along_axis function, Ctrl+Space showed lots of options for arguments along with the original ones, but did not show any info like in the original jupyter notebook where info is shown when Shft+Tab is hit. Seems to work fine with default python functions as info was displayed properly for the print function.

I believe this would happen regardless of using notebooks or just a python file.

Hi @sameervk,
Can you provide the following information:

Extension version (available under the Extensions sidebar)
OS and version
Python version (& distribution if applicable, e.g. Anaconda)
Type of virtual environment used (N/A | venv | virtualenv | conda | ...)
Relevant/affected Python packages and their versions (in your case, which versions of keras and numpy)
The value of your "python.jediEnabled" and python.languageServer settings

Along with the output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python).
Thanks!

similiar to #1109

Similiar to #10973

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off.


Serving an app with basic interactivity fails

(Disclaimer: this is one of those "This is so simple it can't possibly be a bug; I must be doing something wrong" issue, but since discourse had nothing to say, I'm reporting it here)
This simple code:
using Bonito, Bonito.Observables
import Bonito.TailwindDashboard as D

app = App(DOM.div(D.Slider("nsamples", 1:200, value=100)), title="hello world")

port = 9384
url = "<IP_ADDRESS>"
server = Bonito.Server(app, url, port)

Works fine on http://localhost:9384/

but the interactivity fails and the visual aspect is off on http://my_ip:9384

@etpinard reports that

pops up in the dev tools. When served, the app should not look up anything in localhost.

You need to set the proxy_url:
https://simondanisch.github.io/Bonito.jl/stable/deployment.html#Proxy-Julia-Hub

Thank you for the answer. I tried today for the second time to follow this advice, and I'm still stuck with the same behaviour. I tried adding the
server.proxy_url = ".../$(server.port)"
line, no luck. I don't understand why a proxy is involved if I'm entering my own IP address. It looks from my searches online that the request does not leave my computer at all in that case.  Furthermore, I tried:
C:\Users\abcde>netsh winhttp show proxy

Current WinHTTP proxy settings:

    Direct access (no proxy server).

Though apparently it's not that reliable.
Genie works out-of-the-box for me, even on my own IP, with no proxy configuration. Is it using a different technology?


Support changing line thickness when drawing

We are experimenting with basic PDF editing features.
This issue tracks implementing support for changing line thickness when drawing.

Please also support the equivalent of lineJoin in canvas.


ApexChart Time Series bad rendering in the browser

Hi,
I tried the default ApexChart Time Series in a view.
The rendering is fine in the Designer but once in the browser (Firefox and Chrome) the graph is upside down, the axes are inverted:

Designer

Browser

This was tested on Ignition 8.1.33 with version 1.0.16 of the module.

Closing and reopening the view the Designer actually gives the same rendering issue:

It turns out that the axes are inverted due to alphabetical order. The value field name "realistic0" of the data is alphabetically before the timestamp field name "t_stamp". Changing the value field name to for example "u" makes the rendering work.

Yeah I found this out today as well. ApexCharts is looking for the x and y to be in the correct order. We can fix this by either changing the keys to be alphabetical or use arrays:
[   {     "data": [       [<PHONE_NUMBER>040,         92.3197320886076       ],       [<PHONE_NUMBER>040,         98.8357416786906       ],       [<PHONE_NUMBER>040,         99.4074424536611       ],       [<PHONE_NUMBER>040,         99.6698195001376       ],       [<PHONE_NUMBER>040,<PHONE_NUMBER>76185       ],       [<PHONE_NUMBER>040,<PHONE_NUMBER>01713       ],       [<PHONE_NUMBER>040,         93.349219953394       ],       [<PHONE_NUMBER>040,         92.7936729937542       ],       [<PHONE_NUMBER>040,         96.6358322466636       ],       [<PHONE_NUMBER>040,         98.1983313815347       ],       [<PHONE_NUMBER>040,         99.3663180104998       ],       [<PHONE_NUMBER>040,         99.582413164017       ],       [<PHONE_NUMBER>040,         99.9615378800733       ],       [<PHONE_NUMBER>040,         99.8290075001451       ],       [<PHONE_NUMBER>040,         99.8311252090699       ],       [<PHONE_NUMBER>040,         99.858724430026       ],       [<PHONE_NUMBER>040,<PHONE_NUMBER>34537       ],       [<PHONE_NUMBER>040,         99.966327143606       ],       [<PHONE_NUMBER>040,<PHONE_NUMBER>38819       ],       [<PHONE_NUMBER>040,         99.8460475205365       ]     ]   } ]
I updated the default example accordingly.


TypeError: this.generateMXMLAttributes is not a function

Project Details are :
https://paste.apache.org/cpo8y
Test case is available on VDI.
File Name : dbzGainLossMasterSetup
Test Module: Feasibility
Setups->Gain/Loss

@aharui  Please look into this issue . Thanks in Advance
Go to Feasibility from Select in Menu
then, Go to Gain/Loss from  Setups in Menu

Was fixed in b8fbdc40d30cdfcd02766b1255b5e0c852ee667c which was incorrectly attributed to #516.


Missing trailing / in URL

I can't use this plugin because the trailing / in many URLs is missing.
"GET /blogwp-content/themes/museo/css/font-awesome.min.css HTTP/1.1" 404 13165 "-" "StaticHTMLOutput.com"
"GET /blogwp-includes/css/dashicons.min.css HTTP/1.1" 404 13165 "-" "StaticHTMLOutput.com"
"GET /blogwp-includes/js/jquery/jquery-migrate.min.js HTTP/1.1" 404 13165 "-" "StaticHTMLOutput.com"
"GET /blogblog/2020/ HTTP/1.1" 404 13165 "-" "StaticHTMLOutput.com"
"GET /blogfavicon.ico HTTP/1.1" 404 13165 "-" "StaticHTMLOutput.com"
"GET /blogwp-admin/ HTTP/1.1" 404 13165 "-" "StaticHTMLOutput.com"

Hi @myfirstnameispaul please grab 6.6.21 from statichtmloutput.com/thanks-for-donating/
The issue you've hit is in latest source code here, awaiting a fix from me

Hi @myfirstnameispaul please grab 6.6.21 from statichtmloutput.com/thanks-for-donating/
The issue you've hit is in latest source code here, awaiting a fix from me

Thank you. I switched to 6.6.21 and it's working as expected.

Thank you. I switched to 6.6.21 and it's working as expected.


remove first request

Details

Fix remove first request

Fixed Issues

$ https://github.com/Expensify/App/issues/19640
PROPOSAL: https://github.com/Expensify/App/issues/19640#issuecomment-1565632028
Tests

Open the same account on 2 devices or browser
Open preferences on both
Click "Force offline" on device 1
Click 3 times on Notifications toggle
Click on "Force offline" toggle to go online
verify that the settings of both are the same

[x] Verify that no errors appear in the JS console

Offline tests
The same test

QA Steps
The same test

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://github.com/Expensify/App/assets/39086067/53a88e49-3fa5-4858-96f8-2d6b0ff79308

Mobile Web - Chrome
https://github.com/Expensify/App/assets/39086067/bd396ef2-b5f7-428e-8827-7e58d66e9a8b

Mobile Web - Safari
https://github.com/Expensify/App/assets/39086067/c241d79b-0c6f-4819-b8da-df5bc3b5f6b7

Desktop
https://github.com/Expensify/App/assets/39086067/72871d9a-6353-47b2-88c3-48e10bbfd54c

iOS
https://github.com/Expensify/App/assets/39086067/1e3c4e2e-2db8-487b-ac7c-826127cd6a68

Android
https://github.com/Expensify/App/assets/39086067/a12a53ec-4f25-4ebe-9b80-943fd35313b8

Let's hope second time's a charm!

🚀 Deployed to staging by https://github.com/puneetlath in version: 1.3.47-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

Working well on staging!! 👍

🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.47-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/puneetlath in version: 1.3.49-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.49-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


refactor: use fastify/rate-limit, drop express

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

I was looking into migrating Fastify to V5 and noticed we're still using an express plugin. This removes express entirely.
It did mean I had to "patch" the rate limit store, since their incr signatures were different, so there's more code than I'd like. However, when we use redis (see: https://github.com/freeCodeCamp/freeCodeCamp/issues/50631) all the custom code can be dropped, since fastify/rate-limit supports redis out of the box.

For discussion: Are we purposefully prioritising redirectToLearnIfSignedIn over the rate limit?

Yep! The idea is to provide an extra layer of protection to the mobile-login endpoint. If, for whatever reason, it's possible to spam this endpoint to get logged in, this mitigates that. However, if they're already signed in, that's irrelevant (nothing changes about their login status). They should just be redirected.


No lock protection around client conn during reconnect

After #2149 the client conn can be updated, however services are created using this client conn with no lock protection. We should protect this with a lock and document that these client instances of the services should not be kept around in scope for an extended period of time, since the connection may die.

What do you mean by client instances of services?

For example https://github.com/containerd/containerd/blob/v1.1.0/client.go#L455
No read lock when accessing and the created instance could end up using a connection different from the client it was created from after a reset.


Add Vite #284

Added basic Vite configuration
The script.js file goes from 8KB to 3KB

Conflicting files
index.html
Resolve the conflicts in the mentioned files. Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!


Add TypeScript definitions

I've been using this library in one of my projects, and ended up writing these on the way.  It allows typechecking and editor auto-completion in TypeScript projects.
Are there any objections against keeping the definitions in this repo?

Hey @AluisioASG I like this! Yep, I'll give it a pass over when time allows and merge it in.


SA1602: EnumerationItemsMustBeDocumented

http://www.stylecop.com/docs/SA1602.html

grabbed

I think this issue can be closed.

Yes. This one's on me; I should have closed the issue at the same time as I set the label to "fixed". In the future you can make sure all related issues get closed by using one "Fixed #xxx" line for each issue fixed by a pull request, as opposed to using a comma-separated list like #370 used.


docs: enabling/disabling individual argocd core components

What type of PR is this?
/kind documentation
What does this PR do / why we need it:
Documentation for the feature of enabling/disabling the individual ArgoCD core components.
Have you updated the necessary documentation?

[ ] Documentation update is required by this PR.
[x] Documentation has been updated.

Which issue(s) this PR fixes:
Fixes https://issues.redhat.com/browse/GITOPS-3470

Ignore my comment, trying out cherry-pick bot...
/cherry-pick release-0.9

/cherry-pick release-0.9

/cherry-pick release-0.8

/cherry-pick operator-redesign


Launchers won't appear in library anymore

got my steam deck a couple of weeks ago and had no issues with the launchers until they recently disappeared from my steam library   .   i have tried restarting the console and uninstalling and reinstaling the launchers. the download works and steams reload but they don't appear

@abyxgail can you upload your log it's in the downloads folder

@abyxgail could you send your log? It's in the downloads folder, also just sent in a small fix let me know if it works

That seems to have fixed it ! Thank you so much I was so bummed out !!


[Google] Not possible to provide extra config for authorization

When authorizing with google, these params are hardcoded
response_type: "code",
client_id: config.clientId,
redirect_uri: redirectUrl,
scope: config.scope.join(" ")

However, several other options can be provided here. See https://developers.google.com/identity/protocols/oauth2/web-server#httprest_3
What is currently blocking me is access_type that allows you to specify offline, which is the only way to get a refresh_token, which is the only way to keep the user logged in for more than 1 hour (when they need to access Google APIs).
Maybe an option like useRuntimeConfig(event).oauth.google.authorizationParams
config: {
    redirectUrl: '/auth/google',
    scope: [
      'https://www.googleapis.com/auth/userinfo.email',
    ],
    authorizationParams: {
      prompt: 'consent',
      access_type: 'offline',
    },
  },

Closing as duplicate of #22


Last 10 html videos

🛠 Fixes Issue  #430

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

The 10 videos in these topics

Basic Tags
Images
Styles and Semantics
@arpit456jain


Build failed when try to update via Carthage with Xcode 7.3

I get a build failed when i try to update via carthage
carthage update --platform iOS --no-use-binaries
*** Building scheme "Decodable-iOS" in Decodable.xcodeproj
** BUILD FAILED **

The following build commands failed:
	PhaseScriptExecution Run\ Script /Users/marvinnazari/Library/Developer/Xcode/DerivedData/Decodable-bcceucalbtetbifrlcjcisqcisfe/Build/Intermediates/Decodable.build/Release-iphoneos/Decodable-iOS.build/Script-8F0062441C81F26B007BCF48.sh
(1 failure)
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/include/sys/cdefs.h:707:2: error: Unsupported architecture
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'; did you mean 'uint64_t'?
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/include/sys/_types/_intptr_t.h:30:9: error: unknown type name '__darwin_intptr_t'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/include/_types.h:42:9: error: unknown type name '__uint32_t'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/usr/include/sys/_types/_size_t.h:30:9: error: unknown type name '__darwin_size_t'; did you mean '__darwin_ino_t'?
<unknown>:0: error: too many errors emitted, stopping now
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:11:10: error: could not build module 'Darwin'
<unknown>:0: error: could not build Objective-C module 'CoreFoundation'
A shell task failed with exit code 65:
** BUILD FAILED **

The following build commands failed:
	PhaseScriptExecution Run\ Script /Users/marvinnazari/Library/Developer/Xcode/DerivedData/Decodable-bcceucalbtetbifrlcjcisqcisfe/Build/Intermediates/Decodable.build/Release-iphoneos/Decodable-iOS.build/Script-8F0062441C81F26B007BCF48.sh
(1 failure)

Ran into the same issue, but it looks like it's fixed with v0.4.2.
Thanks @Anviking for the quick fix!

Noticed a similar problem with Generator.swift failing in Xcode targeting watchOS and tvOS devices. With 446fe20c4a2fdf96a7d14a4367ab47304d6999a8 I got those builds and your command to work. Initially couldn't get carthage to build for all platforms, but realized just now it was because I just deleted all of my simulators.
Thanks for reporting @MarvinNazari! Also force updated v0.4.2 :smiling_imp:

@kommen :smile:


Links in sidebar not styled

The links in the sidebar are not styled as hyperlinks.

Should be blue in color.
Cursor should change on hover.

See this SS.

Hey @tarunnsingh, can I take this issue? Thanks!!

Yes Sure @priyanshu0405 go ahead. I'm assigning it to you.


Prepare for Reverse Proxy

To prepare the CTFPad to be used with a reverse proxy (including TLS handling) the following tasks need to be done:

[ ] Allow the usage with http (behind the reverse proxy). See upstream changes.
[ ] Make listen host configurable. CTFPad should only listen on localhost.
[ ] Support custom etherpad locations. E.g. domain/etherpad instead of domain:1235. The proxy can still use 1235, because the reverse proxy can handle this. But the UI should handle this option.

Allow the usage with http => merge from upstream (mind our changes)
Make listen host configurable => bottom server.listen of ctfpad.coffe ?
Support custom etherpad locations => top lines in web/js/etherpad.js


[TE-7-5] chip-tool pairing is flaky

Problem
Hi,
so I'm trying to pair a accessory over ble-thread to the matter. And in 1 / 10 attempts I succeed. I also see different error behaviours. So I have attached some log files with different error cases.
My setup is the Raspberry Pi 4 with the TE-7-5 image. I just us the "shipping" chip-tool which is present at connectedhomeip/out/debug/standalone/chip-tool.  I'm also using as suggested by the test description document the connectedhomeip:te7 docker image.
Here are 3 attempts to pair.
chip-tool-log-0.txt
chip-tool-log-1.txt
chip-tool-log-2.txt

I got the same issues


AddResourceHeader: Add test configuration

nps side of https://github.com/pagespeed/mod_pagespeed/pull/1200

LGTM


[WIP] Organize azure blob outputs with year/month/day folders

Description
Describe what changed in this PR at a high level.
Issue
#1523
Checklist

[ ] I have added tests to cover my changes
[ ] I have added logging where useful (with appropriate log level)
[ ] I have added JavaDocs where required
[ ] I have updated the documentation accordingly

/review


belle-sip: 5.1.55 -> 5.2.16

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/belle-sip/versions.
meta.description for belle-sip is: Modern library implementing SIP (RFC 3261) transport, transaction and dialog layers. Part of the Linphone project.
meta.homepage for belle-sip is: https://linphone.org/technical-corner/belle-sip
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.2.16 with grep in /nix/store/xdkas8jw3g9m1q73bn6873rh9cdj02np-belle-sip-5.2.16
found 5.2.16 in filename of file in /nix/store/xdkas8jw3g9m1q73bn6873rh9cdj02np-belle-sip-5.2.16

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath
belle-sip
liblinphone
lime
linphone

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/xdkas8jw3g9m1q73bn6873rh9cdj02np-belle-sip-5.2.16 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A belle-sip https://github.com/r-ryantm/nixpkgs/archive/2b9695bc790d44cdeebef2a5e36d09ff4f2f55ce.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/xdkas8jw3g9m1q73bn6873rh9cdj02np-belle-sip-5.2.16
ls -la /nix/store/xdkas8jw3g9m1q73bn6873rh9cdj02np-belle-sip-5.2.16/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages built:

belle-sip
liblinphone
lime
linphone

Maintainer pings
cc @jluttine for testing.

@ofborg build lime linphone liblinphone belle-sip


Broken example for ChunkedDownloadAsync

When I run this on our environment. The filesize I retrieve is 1750 on the first chunk.
However the bytearray length in response.Content.ReadAsByteArrayAsync() is 2494
So the line responseContent.CopyTo(downloaded, from) breaks as the responseContent is bigger then the downloaded array.

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

ID: 85c3eac9-b083-b974-0938-3e8fd19bbb58
Version Independent ID: 2c6dfac6-25b8-876c-2b94-fa9d466007df
Content: File attributes (Microsoft Dataverse) - Power Apps
Content Source: powerapps-docs/developer/common-data-service/file-attributes.md
Service: powerapps
GitHub Login: @phecke
Microsoft Alias: pehecke

My bad, There was an error in the URL.


Add pyproject.toml for Custom Node Registry

We are building a global registry for custom nodes (similar to PyPI). The registry makes using custom nodes more reliable by reserving globally unique names for each custom node, and supporting semantic versioning.
Here’s some more information on the registry.
Action Required:

[ ] Go to the registry. Login and create a publisher id. Comment it here and we will update the PR (or just merge it and change it yourself).
[ ] Write a short the description.
[ ] Merge the separate Github Actions PR and run the workflow.

If you want to publish the node manually, install the cli and run comfy node publish
Please message me on Discord if you have any questions!

hey @choey, wanted to send a small nudge and ask if you had any questions!

Hi @haohaocreates, thanks for the nudge and apologies for the delayed response!
The comfydocs.org link times out for me, but https://docs.comfy.org/registry/overview#introduction works.
I'll merge and update 👍

Confirming that running the workflow published https://registry.comfy.org/publishers/choey/nodes/comfy-topaz.

Sweet! And yea we have to update that link we rerouted the docs page 2 days
ago oops
On Thu, Jun 20, 2024 at 9:56 AM Suk-Hyun Cho @.***>
wrote:

Confirming that running the workflow published
https://registry.comfy.org/publishers/choey/nodes/comfy-topaz.
—
Reply to this email directly, view it on GitHub
https://github.com/choey/Comfy-Topaz/pull/5#issuecomment-2180774625, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BG3AD2I22S7CW3FPWZIGGELZILNSDAVCNFSM6AAAAABJKEDDJ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBQG43TINRSGU
.
You are receiving this because you were mentioned.Message ID:
@.***>


Unable to suppress the pem file during scan

I'm submitting a ...
As the project requirement we need to suppress the pem file for testing purpose. but no option allowed as such.

What is the current behavior?
We dont want to balckilist on file base using paremeters like --exclude-files --exclude-secrets because its hectic and developer can misuse by including sensitive data in this files. Its a compliance issue.

What is the expected behavior?
We want to use the --word-list flag for this requirement but its only working while single string in one line like AWS secrets. When we are trying to use this for PEM key and read it in output its considering every line of PEM key as new one hence it not suppressed.

Need some solutions for such cases.

Any update here team?

Hi @prathamesh199728, thank you for opening this issue!
I'm trying to understand what the use-case would be here. Based on

As the project requirement we need to suppress the pem file for testing purpose.

and

We dont want to balckilist on file base using paremeters like --exclude-files --exclude-secrets because its hectic and developer can misuse by including sensitive data in this files.

I suppose you'd like detect-secrets to check PEM files in prod, but not in your testing env? Otherwise, could you tell us a bit more about what you're trying to do? I admit I'm a bit confused at the moment.

For testing purpose some PEM key required which we don't want to highlight during scan. Whitelist this test pem and provide in some file using extension --exclude-files is not feasible solution for us because dev team can pass sensitive material other than PEM also.
To avoid this case we need to control those file at command level. Where regex pattern will work for each line of PEM. For example in regex pattern will mention first 2 line of PEM and pass using --exclude-secrets or using --words-list extension where will mention whole file. I tried this at my side but its not working. I am more prefer to go with --words-list extension.

--words-list  this extension only working for single line secret and not for PEM file.

Have you considered splitting the secrets in two different files and excluding the one used specifically for testing purposes?

No I guess some confusion here.
I have PEM file with below content:
--pemfile--
ok I am test PEM data
----end----

Now I want to ignore above PEM file while scanning so I created one file same as wordlist and put above data in it
wordlist.txt
--pemfile--
ok I am test PEM data
----end----

I use this command now:-
detect-secrets scan --word-list wordlist.txt
But above command is not working because logic return in code is scan happened on the basis of each line not for whole content. So need any alternate solution to suppress test pem file content while scanning.

So you'd like to ignore all data that matches the content of that PEM file?

correct.

Sorry, I just would like to make sure I understood this correctly. You have a PEM file containing multiple keys and you'd like to ignore a specific one, thus you created a file containing the key that you ignored and want to pass that file to filter out those keys from the results. Correct?

Yes this is correct.

Would the keys you'd like to ignore be present in multiple files, or there'd be just one file containing those keys?

its multiple files (with same PEM file content) present in different projects and we integrated this tool in CI/CD pipeline so during git push all code get scanned.

Thank you for the clarification! We'll keep you posted on this issue.

@lorenzodb1 any update here?

@prathamesh199728 sorry for the delay in replying. We have accumulated a bit of a backlog and we're trying to get through it. You're more than welcome to open a PR and propose a solution yourself in the meantime :)