Broken doc link

Problem description
Starting page
https://docs.docker.com/install/linux/docker-ce/fedora/
Bottom of page
Next Steps
"Continue to Post-installation steps for Linux"..... Link broken.
https://docs.docker.com/install/linux/linux-postinstall.md
Problem location

I saw a problem on the following URL: https://docs.docker.com/install/linux/docker-ce/fedora/

I couldn't find the information I wanted. I expected to find it near the following URL:

Other:

Project version(s) affected

Suggestions for a fix
It's just a broken page to a github style MD README file.

Thanks for reporting; this link was fixed, and now correctly leads to https://docs.docker.com/engine/install/linux-postinstall/


Remove feature to save autotune basal profile to pump

Based on this issue report on iAPS, this feature is buggy and potentially dangerous anyway.

Is this a proposed bandaid while a true fix for the issue is worked on, or are you proposing killing this altogether?

Is this reproducible in trio? I used this feature somewhat often when I first started iAPS and it was nice to save time - I imagine that was the intent when it was introduced.


[NoQA] Add fast-equals as dependency

Details

When we use the npm link command, it creates a symlink to the globally installed package. This can sometimes cause issues with module resolution, especially if the linked package (in this case, Onyx) has its own dependencies.
Fixed Issues

$ https://github.com/Expensify/App/issues/43997
PROPOSAL: -
Tests

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

Offline tests

QA Steps

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

General App testing using the LHN, which is where the fast-equals is being used

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: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb 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 either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[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 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(theme.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 the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[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.

Screenshots/Videos

Android: Native

https://github.com/Expensify/App/assets/1676818/f08e9cc6-a26e-42f9-9954-235e9c98568a

Android: mWeb Chrome

https://github.com/Expensify/App/assets/1676818/b814de69-6fff-44b6-8013-85cd933d1753

iOS: Native

https://github.com/Expensify/App/assets/1676818/b51bba15-d28a-405a-9280-ce27adbe8dfe

iOS: mWeb Safari

https://github.com/Expensify/App/assets/1676818/e0ab6976-b3a6-4529-b2b5-203777967d16

MacOS: Chrome / Safari

https://github.com/Expensify/App/assets/1676818/0aa9d7f5-7f34-4c69-ba4e-a6b357776cd3
https://github.com/Expensify/App/assets/1676818/f9e21abd-c47a-4532-b876-9ed94f6216f5

MacOS: Desktop

https://github.com/Expensify/App/assets/1676818/45657e57-fecb-4d2a-8cc9-7adb1fce6d3a

@gedu can you please add more details to the PR description? thanks

Details Updated

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/roryabraham in version: 9.0.2-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.3-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Fix the minion repositories for SLE15 systems (all SPs)

What does this PR change?
This PR fixes few issues on the repository definition for SLE15 (all SPs) minions:

Set the right SP repository for the SLE modules (not always SP1)
Add "SLE-Modules-Desktop-Applications" repository which is required by already added "SLE-Module-Development-Tools"

This PR should fix issues due a mix of SP1 and SP2 repos on SLE15SP2 minions, and also the issues on the Uyuni:Master testsuite regarding "applying highstate on build host".

Thanks!


Use option for mutable static

Replaces the [0; 3] check for MACHINE_BYTES with an Option check.
Also implements Clone for Errors by manually cloning io::Error. Not sure why io::Error doesn't implement Clone, but it inhibits the functionality and usability of structs that have owned Error fields like Cursor in the mongo driver.

Why Error has to be Clone?

On second thought, you're right. Structs with err fields can be implemented / used in ways to work around the cloning restriction; reverting the second commit.

One more "Rusty" suggestion:
if let Some(bytes) = MACHINE_BYTES.as_ref() {
    return bytes.clone();
}

Good catch.


feat: refactor telemtrics device SOFIE-2496

About the Contributor
This pull request is posted on behalf of the NRK.
Type of Contribution
This is a: Code improvement
New Behavior
Refactors the Telemetrics device to the new structure
Testing Instructions

Other Information

Status

[x] PR is ready to be reviewed.
[ ] The functionality has been tested by the author.
[ ] Relevant unit tests has been added / updated.
[ ] Relevant documentation (code comments, system documentation) has been added / updated.

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

Project coverage is 55.47%. Comparing base (1d433f3) to head (30e0ab2).

Files
Patch %
Lines

...ate-resolver/src/integrations/telemetrics/index.ts
91.66%
2 Missing :warning:

...ges/timeline-state-resolver/src/service/devices.ts
33.33%
2 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##           release51     #335      +/-   ##
=============================================
- Coverage      55.55%   55.47%   -0.08%
=============================================
  Files            129      129
  Lines          10135    10117      -18
  Branches        2483     2409      -74
=============================================
- Hits            5630     5612      -18
  Misses          4132     4132
  Partials         373      373

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


Allow TeslaMate to temporarily switch off the access to Tesla API

What would you like to be added:
Just on/off switch for temporarily disabling the access to Tesla API would be nice.
Why is this needed:
My car has spent quite a lot of time at the Tesla service center due to a software glitch in the recent months. Each time the car was handed over to technicians for monitoring they have always complained about 3rd party software accessing the Tesla API and therefore causing to keep the car alive/on-line. It was impossible to explain them that the TeslaMate has no connection to the glitch.
I needed to get to console to access TeslaMate running environment and shut it down. I wasn’t able to show them the graphs from TeslaMate afterwards, because Grafana was shut down as well. So it was inconvenient. If there was a switch to enable/disable API access from within the TeslaMate setting page, it would be much easier to control the access to Tesla API and it would allow me to continue to display the graphs through Grafana even when the access has to be switched off.

Seems like a reasonable ask, but also sort of niche. If nothing happens, and you’re running the Docker install method, you can always stop just Teslamate container and leave Grafana and the Database containers running. Then you can access all the reports and stuff without the Teslamate container connecting to the Tesla API.

So far, if I stop the Docker with suggested “docker-compose down”, it stops everything. I also need a console/ssh access to do that. I am not telling it is not doable, it is just inconvenient. Having the option directly in the TeslaMate settings would work much better, is easily reachable through a web browser and as far as I understand, it should not be as complicated for implementation.

Instead of down, use “stop” and include the name of the container afterward.
docker-compose stop teslamate

Thank you, this works to split the shutdown between TeslaMate/Grafana, however, the access to console/ssh is still required.

Being able to suspend polling without shutting it down would be nice in general, regardless of the specific reason.

I could see a toggle in the setting useful - and in other reasons - e.g. parked long term when travelling (airport for example) - of course when things go back to normal(ish).

I could see a toggle in the setting useful - and in other reasons - e.g. parked long term when travelling (airport for example) - of course when things go back to normal(ish).

I could not see a reason why I would stop logging when parked. Teslamate does not wake the vehicle only, so no additional consumption. Benefits like vampire drain and so on if logging all time

@JakobLichterfeld unfortunately, this is true only in the ideal case when everything works perfectly. If something fails and you have to debug, you realize that TeslaMate for example extends the on-line period of the monitored car from 4 minutes to approx. 15 minutes, therefore causing higher vampire drain too. I can prove it from my experience and it has been confirmed by @adriankumpf, see the bug 571.

If something fails and you have to debug, you realize that TeslaMate for example extends the on-line period of the monitored car from 4 minutes to approx. 17 minutes, therefore causing higher than necessary vampire drain too.

For sure, in older realeases you can change settings for time before sleeping. In newer there is no such a setting when using streaming api. So car wakes up every 2 days or so to recharge 12V battery, this is not teslamate it is Tesla powernet design. Teslamate can extend the wake period a little, no real influence on milage

@JakobLichterfeld you probably did not read the issue #571 . The car can behave in a way that it repeatedly wakes up and therefore the vampire drain from extending the on-line period from 4 minutes to 17 minutes can be very significant (about 2-3x). As I wrote, what you state is only true, if everything works perfectly. Once you face any issues, the situation with vampire drain can change a lot.

I read it, so extension by 3 minutes. When not a WiFi or key nearby nor a dead 12 V battery I do not see the need of such a switch. If someone really want to stop teslamate you can do it with docker-compose stop teslamate

It wasn't the extension of the on-line state by 3 minutes, but from 3 minutes to 17 minutes, which had caused 2-3 times higher drain.
Why do I ask for a switch? Because it would be convenient for some people in some scenarios. I understand that much more things can be always done just with the console commands. Why do we use TeslaMate? Because we can learn more about the car and it makes our life with it easier and more convenient. If I didn't get the philosophy behind TeslaMate right, you can always leave this idea behind.
Adding this API access on/off switch to TeslaMate settings would take the programmer shorter time than our discussion here ;-).

Adding this API access on/off switch to TeslaMate settings would take the programmer shorter time than our discussion here ;-).

So Pull Request are always welcome by @adriankumpf  ;)

Moreover, it will not harm people who do not want to use it :-).
I do predict some open issues why is teslamate not logging ;)

My days of programming are long over and I do not want to put a mess into Adrian's code :-)


PHF Map should own values

Right now, the phf::Map struct doesn't actually own it's values, but instead stores a static slice of the values. This means that if V doesn't implement Copy, it can't be used as a value type, even when it is totally possible to use it as a value type if we made the Map struct store entries as Box<[(K, V)]>, instead of &'static [(K, V)]. Is there a reason a static slice is used instead of an owned array?

Types that don't implement Copy can be used as value types. What is the behavioral difference you expect between storing a Box<[(K, V)]> instead of a &'static [(K, V)]?

Is there a reason a static slice is used instead of an owned array?

You can't put a Box in a static.

What is the behavioral difference you expect between storing a Box<[(K, V)]> instead of a &'static [(K, V)]?

You can't use a String as a value type in a PHF map. You can't create a &'static [String], even using lazy_static!, but you can create a Box<[String]> just fine. You can't use Box<T> as a value type either (I think).

You can't put a Box in a static.

I forgot about that! lazy_static! is a workaround, but that would require V to implement Sync.

The reason you can't use String has nothing to do with Copy-ness - like Box, you can't construct a String in a static. The entire purpose of phf is to create a statically initialized map. If you're willing to use lazy_static you should just have a lazy_static HashMap. You can use &'static str rather than String in a phf map.

The reason you can't use String has nothing to do with Copy-ness - like Box, you can't construct a String in a static.

You're right, I was mistaken in thinking that was related to incompatibility with the PHF map. I was testing usage of this map inside of a lazy_static! macro, and when I got the error value does not live long enough with values that can't be constructed in a static (like a String), I thought it was related to their lack of the Copy trait (because it worked fine with, say, a u32), forgetting that I was using lazy_static! in the first place.
I'll close this issue, as it's obviously not relevant to the crate, but I was wondering: the point of a PHF map is to create an immutable static map with pre-hashed fields to speed up runtime, right? I was thinking about making a lazy-phf crate that implemented a PHF map with owned values, made for maps with values that can't be initialized at compile time. Sort of like a regular PHF map, but wrapped in a lazy_static! definition and with a Box<[(K, V)]> instead of a &'static [(K, V)]. Do you think there would be any worthwhile speedup from this compared to a lazy_static HashMap?

the point of a PHF map is to create an immutable static map with pre-hashed fields to speed up runtime, right?

Lookups in a PHF map should be roughly the same speed as lookups in a normal HashMap - the main point is to have a statically allocated map.

Lookups in a PHF map should be roughly the same speed as lookups in a normal HashMap - the main point is to have a statically allocated map.

Thanks for the clarification.


wip: custom property graph retriever

doesn't quite work yet
(getting errors on neo4j construction)
but this should hopefully provide an example of how to define a custom property graph retriever!

Closing because git history is no bueno, whoops (adding in another PR)


Upgrade cryptography to version 42.0.0

A moderate flaw was found in the python-cryptography package. This issue may allow a remote attacker to decrypt captured messages in TLS servers that use RSA key exchanges, which may lead to exposure of confidential or sensitive data.
Upgrade the package to >= 42.0.0

CI build passed.

Dependabot alter confirmed to be resolved post merge


Label Above Text Field Not Disappearing on Enter Press

Bug type
Component
Component name
MudTextField
What happened?
When typing in a MudBlazor text field and pressing Enter, the label above the text field does not disappear as expected.

Expected behavior
The label above the text field should disappear when typing in the field and pressing Enter.
Reproduction link
try.mudblazor.com
Reproduction steps

Create a new project based on MudBlazor web app.
Replace the existing code in the Home.razor by [https://mudblazor.com/components/form#simple-form-validation](any example) file with the provided code snippet.
Run the application.
After following these steps, you should be able to observe the behavior where the label remains above the text field even after typing and clicking Enter. This is the issue we want to report.

Relevant log output
N/A

Version (bug)
8
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Same problem here in .Net 8 Blazor Server app. Floating label covers input.

Can you recreate the issue in a try.mudblazor? If not could you provide a full project? It's pretty difficult to help you without this.

@Conman-123 try.mudblazor seems to run on .Net7 according to their github. Works fine there.

This might be due this: https://github.com/MudBlazor/MudBlazor/issues/7774

I have the same bug.
I just create new and fresh Blazor web app (server, .net 8).
install the newest version of Mudblazor  (6.16.0)
and the label above the text field does not disappear as expected.
I tried the exact same thing with .net 7 and it works great.

Hi All,
I have a problem with lack of popup after selecting components like  or  or < or  etc... there's no errors. On MudSelect the label value moves up to but no dropdown element. Please note  pops up only if in every component  is added individually, regardsless if it exists already in App.razor or MailLayout.
Anyone faced the issue and could share advice?

Please guys, this issue still persists in Mudblazor 7.5.0 and Blazor Server/.NET 8.
I've tried adding @rendermode = "InteractiveServer" to the  bit (and others like it) in the Layout page (as someone here suggeted) to no avail.
Please help, if you've found a solution to this.

@digitalkingsley please provide a github repo that proves your reported bug, thanks!

@digitalkingsley please provide a github repo that proves your reported bug, thanks!

Alright. I'll do that as soon as I can.
In the interim, I've resorted to using the "Placeholder" property instead of the "Label" property.
Thanks.


regenerated thrift code based on latest thrift compiler and go thrift lib

There have been some changes to the Go thrift library that are incompatible with the existing generated thrift code. The code has been regenerated with the latest thrift compiler and latest Go thrift library

cool green build!

Can you tag this commit with patch version? 0.3.2, for example.


Wrap hostfxr.dll directly instead of interfacing with .NET CLI

Details
https://docs.microsoft.com/en-us/dotnet/core/tutorials/netcore-hosting
Instead of running the target app as a separate process through the .NET CLI, execute it in the same runtime context by using functions provided by hostfxr.dll.
This will allow the target app to reference native resources stored in the entry point exe file, which will solve #4.

Relevant bits for locating hostfxr.dll (as hinted by Rick Brewster in #11):
https://github.com/dotnet/runtime/blob/57bfe47451/src/native/corehost/fxr_resolver.cpp#L55-L123


Add support for Nest Protect (smoke alarm)

Looks like the Python library we use has API support - and the recent HA Nest recent restructure would make it easy to add as a few sensors.

Closing this issue as feature requests should be posted in the forum.


[WIP]Add translations for keybindings

Summary of the Pull Request
Add localisation support to keybindings.
PR Checklist

[x] Closes: #9482
[x] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Currently supported languages:

German
French
Spanish
Italian
Portoguese
Dutch

To-Do:

[ ] Move logic in seperate class
[ ] Make the same for keyboard manager

My main source was this help article in the different languages:
https://support.microsoft.com/en-us/windows/keyboard-shortcuts-in-windows-dcc61a57-8ff0-cffe-9796-cb9706c75eec
Validation Steps Performed

@niels9001 You speak dutch right? I don't get if space in dutch is "Mellemrumstast" (used in Microsoft help articles) or "spatiebalk" (used on Wikipedia).

Mellemrumstast

I have now idea what Mellemrumstast means... :)..
But yeah, should be "Spatiebalk"!

Mellemrumstast

I have now idea what Mellemrumstast means... :)..
But yeah, should be "Spatiebalk"!

Ok Thank you!

@Aaron-Junker

Can't we use our translation system for that?
Please check the list of supported langs against our docs page. I think Chinese is missing.

@Aaron-Junker

Can't we use our translation system for that?

Technically yes, but I think the translations won't be very reliable

Please check the list of supported langs against our docs page. I think Chinese is missing.

I know, this is still in draft.

@Aaron-Junker what's the source you are using? You are using Danish in stead of Dutch.

🙈Oh, you're right. I'm so sorry. As I said I used this help article in different languages

@crutkas I want your opinion on this. Should this be something the localization team should do?

Hi @Aaron-Junker ,
Thanks for opening the PR.
I think the way to doing this would be to rely on Resource files to have the localization team handle it.

Answer was these should go through translation service and we should add a comment such as "The string of the "Ctrl" part of the shortcuts in tooltips, (Ex: Ctrl+V)" if we were translating Ctrl

I changed the concept to resource files.
@crutkas @jaimecbernando Is there someone that could make the keyboard manager part of this?
All that would have to be done is taking the keyboardLayoutMap list from https://github.com/microsoft/PowerToys/blob/eeca3014e7841263cdc36a5c83f57a7d57728aec/src/common/interop/keyboard_layout.cpp and loop over every entry and replace it with the result of  ManagedCommon.GetLocalisation().

@jaimecbernando I reworked everything. There's just one thing that needs to be fixed and I don't know how. The Keyboard Manager Editor is using it's own resource file instead of the PowerToys interop one.

@jaimecbernardo I reworked everything. There's just one thing that needs to be fixed and I don't know how. The Keyboard Manager Editor is using it's own resource file instead of the PowerToys interop one.

I see what the problem is with KBM. In theory, it should be possible to include 2 .rc files, although we don't have an example for that in our code.

@jaimecbernardo I reworked everything. There's just one thing that needs to be fixed and I don't know how. The Keyboard Manager Editor is using it's own resource file instead of the PowerToys interop one.

I see what the problem is with KBM. In theory, it should be possible to include 2 .rc files, although we don't have an example for that in our code.

I don't even get how the first one is included. I have no idea how I could do this.


Prevent repeated crashes with socket activation

If an application shoves invalid input into the socket, the following input might be invalid as well.
systemd will, by default, send all pending input to the restarted process, in case the service crashed before.
We don't really want that, as it might cause wob to crash yet again. Therefore, systemd should just flush/discard all pending data and move on.

Thanks, looks good.
One little note: please reword it to not say "crash", use "exit on invalid input" or something along these lines. Also the line with the comment in service file seems to be broken:
 If wob crashes from an input systemd should NOT shove it right back into it after it resta>

Done! Also updated the commit message

Thanks :+1:


Windows desktop app using VS 2017 or VS 2019 for Windows 10(directxtk_desktop_win10)

what does the win10 mean?the development  OS enviroment? or the release target OS enviroment?

i got that from the blog https://walbourn.github.io/github-2020/
thanks

It's also documented here on the wiki


Try run it

Pull Request Test Coverage Report for Build 351452674

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 73.11%

Totals

Change from base Build 351415540:
0.0%

Covered Lines:
590

Relevant Lines:
807

💛  - Coveralls


Spike: Context-aware caching

Expected outcome
Originally, the CachedDeliveryClient had stored data in memory cache for a fixed period of time. As the boilerplate now purges cache entries via web hook push notifications, the timeout defined in settings is no longer important. The CacheTimeoutSeconds appsettings.json value is therefore set to a generous value of 24 hours. Still, the situation is not ideal. The app may appear in a memory pressure condition where the MemoryCache logic may start an uncontrolled cache eviction process.
Find ways of setting the level of importance of various sorts of data in cache. This value should then be used by the framework code to prioritize the cache entries for the purpose of eviction.
Also, identify factors that most often affect the levels of importance. If such factors stem from the state of the app and could be computed, design an implementation (in a high-level fashion).
Reference

https://github.com/Kentico/cloud-boilerplate-net/blob/master/src/content/CloudBoilerplateNet/Services/ReactiveCacheManager.cs
https://github.com/Kentico/cloud-boilerplate-net/blob/master/src/content/CloudBoilerplateNet/appsettings.json
https://docs.microsoft.com/en-us/dotnet/api/system.web.caching.cacheitempriority

I would say that this is out of the scope for our SDK. If someone wants a more complex logic for cache eviction, it's up to them to implement a custom IDeliveryCacheManager / inject a custom implementation of IMemoryCache (or IDistributedCache in the future).


Add Docs to Header & Footer

Add a link to https://docs.metricsdao.xyz/ to the header and footer of the homepage with a relevant icon (book, document).
I am not sure of the icon set.
It can be placed to the right end in the header:

It can be placed on the bottom of the list in the footer:

The words can be "Docs"

Hello, I'll take this issue.

I started a new branch but I can't make a pull request. Can someone give me access? Thanks


Override font colors

Is it possible to override the font colours? They are very pastaly and I would like to use more vibrant colours. Thanks

+1


Is filter implemented?

the JSON-API is a bit brief on the syntax of filtering so I was wondering if this was an implemented feature in this serializer.

The JSON API spec is agnostic on what filter should do, and currently it's not implemented here yet. Fortune.js supports exact matches, ranges, and existence in its adapter, so a few filter queries can be done.

Sure makes sense. I hope to get to a point where I can contribute to this effort soonish but right now it's just questions. Sorry and thanks for the prompt replies.

For the queries which are supported, is there somewhere I can refer to for syntax?

There's the implementation: https://github.com/fortunejs/fortune-json-api/blob/482fbd044c6181171cfc1984584b4fc5735a5c9a/lib/helpers.js#L268
And the tests: https://github.com/fortunejs/fortune-json-api/blob/482fbd044c6181171cfc1984584b4fc5735a5c9a/test/index.js#L207
Actually exact match is implemented, but not range and existence yet, so there is already a starting point.

I'll close this for now unless you feel its better to keep open.

Keep it open, I would like to keep track of this.

I have a need for an IS [NOT] NULL query, and I anticipate also needing ranges in the future. I'm thinking:

?filter[field][exists]=true&filter[field][min]=5&filter[field][max]=10

(where min and max map to {range: {field: [min, max]}} with null if one is unspecified).
Does this look good to you? If it does I'll implement this and submit a PR.

@wolfgang42 that looks fine, since the spec is open to anything I'll entertain any PR.


Add feedback when computing a large graph

Follow up of https://github.com/jodigiordano/gg/issues/18
When a large graph is computed, there is currently no feedback to the user.

Not necessary anymore as computing large graphs is way faster. May re-open in the future.


Breaking change check: New request required default param on existing path

This check will notify a breaking change if a new required default param was added to a request on an existing modified path.

Hi @Jonathan-Rosenberg and thanks for the nice contribution.
I haven't reviewed the code yet but I noticed that the new check isn't being run by the oasdiff cmd-line.
To make it run you need to add it to the defaultChecks function:
https://github.com/jonathan-rosenberg/oasdiff/blob/e3b94fcb8f4b9a163072fd49dcc0262c2956e3ec/checker/default_checks.go#L61

Hi @reuvenharrison,
Forgot to git add it.
Thanks!

It seems like this test produces a false-positive when there are no endpoints under the path.
For example, comparing the two specs below reports a breaking-change error which in fact isn't breaking since there are no endpoints.
While this is a rare case, I still think we should take it into considration.
info:
  title: Tufin
  version: 1.0.0
openapi: 3.0.3
paths:
  /api/test:
    parameters:
      - in: header
        name: param1
        required: false

To:
info:
  title: Tufin
  version: 1.0.0
openapi: 3.0.3
paths:
  /api/test:
    parameters:
      - in: header
        name: param2
        required: true

Hi @reuvenharrison,
Added a check and a test for the edge case.
Thanks


tslib and utility-types should be devDependencies?

I think these should be devDependencies, as they have no use after compilation. Is that right?
https://github.com/simontonsoftware/s-libs/blob/055a94d9f18baf900dbbb7a86ea23499fe6dd946/projects/micro-dash/package.json#L13

End-users of the library will need to have them available while they are compiling their projects. If they were devDependencies npm would not include them for end-users, then builds would fail.
For applications, where the end user does not need to compile anything, these would be dev dependencies. But because this is a library where my end-users WILL need to have them installed, they are regular dependencies.

I'm not sure I understand, aren't these build-time deps? If micro-dash ships as esm, where in the toolchain are end users referencing these deps?

Sorry for my delay. These dependencies can be used at build time by end users, if they are using Typescript. For a little test I just created a fresh ng new project, added micro-dash, and used isMatch() in a console.log. npm build - everything is great.
Then I deleted node_modules/utility-types. Now building gives a few errors like this:
Error: node_modules/@s-libs/micro-dash/lib/array/compact.d.ts:1:24 - error TS2307: Cannot find module 'utility-types' or its corresponding type declarations.

1 import { Falsey } from 'utility-types';


How to hook cpuid ?

How to hook cpuid ? any way

CPUID is an unconditionally exiting instruction; a handler for CPUID is required and always causes a trap. You can add a switch statement or otherwise in the handler to adjust results based on the input function id in eax.
Review the source code, and locate the CPUID exit handler.

Thanks


Swarm Desktop not working on Ubuntu 20.04.4 LTS

I've installed Swarm Desktop from swarm-desktop_0.15.1_amd64.deb.
When I start it, it stucks in the "Initializing..." phase.
Is there any log anywhere where I can find more info about the problem?

Yes, there are logs in ~/.local/share/Swarm Desktop or $XDG_DATA_HOME/Swarm Desktop.

~/.local/share/Swarm Desktop exists, but empty

After some tries, it started, but could not connect to the bee client.
I tried to start bee by ~/.local/share/Swarm\ Desktop/bee start, but it throws this error:
got error init chain: dial eth client: dial tcp <IP_ADDRESS>:8546: connect: connection refused, shutting down...
Error: init chain: dial eth client: dial tcp <IP_ADDRESS>:8546: connect: connection refused

After some tries, it started, but could not connect to the bee client.
I tried to start bee by ~/.local/share/Swarm\ Desktop/bee start, but it throws this error:
got error init chain: dial eth client: dial tcp <IP_ADDRESS>:8546: connect: connection refused, shutting down... Error: init chain: dial eth client: dial tcp <IP_ADDRESS>:8546: connect: connection refused

If you start manually you need to specify the config file as well:
~/.local/share/Swarm\ Desktop/bee start --config ~/.local/share/Swarm\ Desktop/config.yaml

I started the node by ~/.local/share/Swarm\ Desktop/bee start --config ~/.local/share/Swarm\ Desktop/config.yaml and now it's running, but no peer is connected.
There are some WARNs and ERRORs on the console:
...
WARN[2022-08-06T15:44:13+02:00] kademlia: discover to bootnode /dnsaddr/mainnet.ethswarm.org
...
ERRO[2022-08-06T15:44:17+02:00] cannot get chequebook balance


Taking the values of "alt" child image

I use Magnific Popup in the template for Wordpress. I use the following settings for the pop-up initialization for attachments.

SOME TEXT

    $('.wp-caption').magnificPopup({
        delegate: 'a',
        type:'image',
        gallery: {
            enabled: false
        },
        image: {
            titleSrc: '';
        },
        fixedContentPos: false
    });

How to specify the option "titleSrc", that it was taking the values of "alt" child image.

Hi there, I am trying to achieve something similar with the plugin on wordpress and pull a caption of the image. Could I ask you if you had any luck in sorting this out?
Thank you


Fixed Evac Visual and Sound

Fix evac intro visual, flying sound and leaving visual

Tested using Gecko's PR testing kit.
Works and there do be sound playing.

https://user-images.githubusercontent.com/22678145/182105798-b377221d-e4b0-472e-b399-ea00c93be7ce.mp4

Fix evac intro visual, flying sound and leaving visual

Just so I can check as well (and for documentation reasons), what is the issue with it currently? ^^

Just so I can check as well (and for documentation reasons), what is the issue with it currently? ^^

It was missing that blue light beam in the first screenshot I sent.
It was also very silent ( no jet noises at all ).
I think this PR fixes some visual changes, but those are harder to tell without comparison.
Hiding the dropship when it spawns is one of the changes here, as before there was a split second where you see the dropship at the arrival location before it switched to it's animation.

Spoon's requested changes were resolved with 7b1e727cf95ae7f0fb3e2cb5439c64ae18479bf6.

Finally no more dropship teleporting across the entire map.


Bump up max metaspace for sample instructions, otherwise you'll end up with an OutOfMemoryError

Summary
Fixes sample command to run leiningen sample.
Use Cases
Sample app fails with an OOME when using the previous command.
Checklist

[X] I have viewed, signed, and submitted the Contributor License Agreement.
[X] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[X] I have added an integration test, if necessary.
[X] I have reviewed the styleguide for guidance on my code quality.

The failing test is broken for other unrelated reasons. I will fix it later. Merging this now.


Low rates of throughput cEOS

Hi,
I am testing a topology with 10 cEOS (Arista) and regarding througput I am getting low rates over the scenario, has this been tested?, would you know what can be related to such a low througput?.

I would check with Arista for ceos specific questions, we do not do any performance testing to validate KNE as a platform

kne is never meant as a hardware replacement.  All forwarding is done in software.  What throughput are you expecting from a performance standpoint? for testing we are generally only looking for the order of 1000 packets per second per flow

kne is never meant as a hardware replacement. All forwarding is done in software. What throughput are you expecting from a performance standpoint? for testing we are generally only looking for the order of 1000 packets per second per flow

I have observed that the performance tends to decrease when the pods are hosted on different nodes. Ideally, we would like to achieve a throughput to 1 Gbps per second, for example.


Inability to handle large datasets on large nodes

Describe the bug
Traceback (most recent call last):
  File "/tmp/ray/session_2024-09-29_14-48-32_270438_4696/runtime_resources/working_dir_files/_ray_pkg_5cf0d8f0f4230160/random_task.py", line 109, in <module>
    main()
  File "/tmp/ray/session_2024-09-29_14-48-32_270438_4696/runtime_resources/working_dir_files/_ray_pkg_5cf0d8f0f4230160/random_task.py", line 30, in main
    df.into_partitions(1).write_parquet("/data/arxiv_research_code/")
  File "/tmp/ray/session_2024-09-29_14-48-32_270438_4696/runtime_resources/pip/d41a075b3fe5ff91ac6a6ade853b52f399540f57/virtualenv/lib/python3.9/site-packages/daft/api_annotations.py", line 26, in _wrap
    return timed_method(*args, **kwargs)
  File "/tmp/ray/session_2024-09-29_14-48-32_270438_4696/runtime_resources/pip/d41a075b3fe5ff91ac6a6ade853b52f399540f57/virtualenv/lib/python3.9/site-packages/daft/analytics.py", line 198, in tracked_method
    return method(*args, **kwargs)
  File "/tmp/ray/session_2024-09-29_14-48-32_270438_4696/runtime_resources/pip/d41a075b3fe5ff91ac6a6ade853b52f399540f57/virtualenv/lib/python3.9/site-packages/daft/dataframe/dataframe.py", line 554, in write_parquet
    write_df.collect()
  File "/tmp/ray/session_2024-09-29_14-48-32_270438_4696/runtime_resources/pip/d41a075b3fe5ff91ac6a6ade853b52f399540f57/virtualenv/lib/python3.9/site-packages/daft/api_annotations.py", line 26, in _wrap
    return timed_method(*args, **kwargs)
  File "/tmp/ray/session_2024-09-29_14-48-32_270438_4696/runtime_resources/pip/d41a075b3fe5ff91ac6a6ade853b52f399540f57/virtualenv/lib/python3.9/site-packages/daft/analytics.py", line 198, in tracked_method
    return method(*args, **kwargs)
  File "/tmp/ray/session_2024-09-29_14-48-32_270438_4696/runtime_resources/pip/d41a075b3fe5ff91ac6a6ade853b52f399540f57/virtualenv/lib/python3.9/site-packages/daft/dataframe/dataframe.py", line 2416, in collect
    dataframe_len = len(self._result)
  File "/tmp/ray/session_2024-09-29_14-48-32_270438_4696/runtime_resources/pip/d41a075b3fe5ff91ac6a6ade853b52f399540f57/virtualenv/lib/python3.9/site-packages/daft/runners/ray_runner.py", line 324, in __len__
    return sum(result.metadata().num_rows for result in self._results.values())
  File "/tmp/ray/session_2024-09-29_14-48-32_270438_4696/runtime_resources/pip/d41a075b3fe5ff91ac6a6ade853b52f399540f57/virtualenv/lib/python3.9/site-packages/daft/runners/ray_runner.py", line 324, in <genexpr>
    return sum(result.metadata().num_rows for result in self._results.values())
  File "/tmp/ray/session_2024-09-29_14-48-32_270438_4696/runtime_resources/pip/d41a075b3fe5ff91ac6a6ade853b52f399540f57/virtualenv/lib/python3.9/site-packages/daft/runners/ray_runner.py", line 1225, in metadata
    return self._metadatas.get_index(self._metadata_idx)
  File "/tmp/ray/session_2024-09-29_14-48-32_270438_4696/runtime_resources/pip/d41a075b3fe5ff91ac6a6ade853b52f399540f57/virtualenv/lib/python3.9/site-packages/daft/runners/ray_runner.py", line 1247, in get_index
    return self._get_metadatas()[key]
  File "/tmp/ray/session_2024-09-29_14-48-32_270438_4696/runtime_resources/pip/d41a075b3fe5ff91ac6a6ade853b52f399540f57/virtualenv/lib/python3.9/site-packages/daft/runners/ray_runner.py", line 1243, in _get_metadatas
    self._metadatas = ray.get(self._ref)
  File "/home/ray/anaconda3/lib/python3.9/site-packages/ray/_private/auto_init_hook.py", line 21, in auto_init_wrapper
    return fn(*args, **kwargs)
  File "/home/ray/anaconda3/lib/python3.9/site-packages/ray/_private/client_mode_hook.py", line 103, in wrapper
    return func(*args, **kwargs)
  File "/home/ray/anaconda3/lib/python3.9/site-packages/ray/_private/worker.py", line 2639, in get
    values, debugger_breakpoint = worker.get_objects(object_refs, timeout=timeout)
  File "/home/ray/anaconda3/lib/python3.9/site-packages/ray/_private/worker.py", line 864, in get_objects
    raise value.as_instanceof_cause()
ray.exceptions.RayTaskError(DaftCoreException): ray::ReduceMerge-WriteFile [Stage:1]() (pid=15965, ip=<IP_ADDRESS>)
  File "/tmp/ray/session_2024-09-29_14-48-32_270438_4696/runtime_resources/pip/d41a075b3fe5ff91ac6a6ade853b52f399540f57/virtualenv/lib/python3.9/site-packages/daft/runners/ray_runner.py", line 513, in reduce_pipeline
    return build_partitions(instruction_stack, partial_metadatas, *ray.get(inputs))
ray.exceptions.RayTaskError(DaftCoreException): ray::ScanWithTask [Stage:2]() (pid=31117, ip=<IP_ADDRESS>)
  File "/home/ray/anaconda3/lib/python3.9/site-packages/ray/cloudpickle/cloudpickle.py", line 1479, in dumps
    cp.dump(obj)
  File "/home/ray/anaconda3/lib/python3.9/site-packages/ray/cloudpickle/cloudpickle.py", line 1245, in dump
    return super().dump(obj)
  File "/tmp/ray/session_2024-09-29_14-48-32_270438_4696/runtime_resources/pip/d41a075b3fe5ff91ac6a6ade853b52f399540f57/virtualenv/lib/python3.9/site-packages/daft/table/micropartition.py", line 364, in __reduce__
    return MicroPartition.from_pydict, ({name: self.get_column(name) for name in names},)
  File "/tmp/ray/session_2024-09-29_14-48-32_270438_4696/runtime_resources/pip/d41a075b3fe5ff91ac6a6ade853b52f399540f57/virtualenv/lib/python3.9/site-packages/daft/table/micropartition.py", line 364, in <dictcomp>
    return MicroPartition.from_pydict, ({name: self.get_column(name) for name in names},)
  File "/tmp/ray/session_2024-09-29_14-48-32_270438_4696/runtime_resources/pip/d41a075b3fe5ff91ac6a6ade853b52f399540f57/virtualenv/lib/python3.9/site-packages/daft/table/micropartition.py", line 45, in get_column
    return Series._from_pyseries(self._micropartition.get_column(name))
daft.exceptions.DaftCoreException: DaftError::ArrowError External format error: Operation would exceed memory use threshold

To Reproduce
import daft

def main():
    daft.context.set_runner_ray()
    df = daft.read_parquet('hf://datasets/AlgorithmicResearchGroup/arxiv_research_code/')
    df.repartition(1).write_parquet("/tmp/ray/llm_algo/data/arxiv_research_code/")

if __name__ == "__main__":
    main()

on Ray
Expected behavior
Expected successful writes with bigger worker nodes and bigger memory.
Entire dataset is 9GB in parquet.
Pods of 20 cores and 200GB memory were available but tasks are assigned with single cores.
Perhaps if it fails it should retry with more cores? Or allow specification of the required memory like UDFs?
Component(s)
Ray Runner
Additional context
No response

Thanks @MisterKloudy
I think this might actually just be because we we parse parquet data as 32 bit offsets instead of 64...
We'll take a look to see if this is a quick fix on our end

Interestingly, this seems to be an issue because we have a safeguard in a bunch of places in our code (to avoid zip-bomb explosions of data) when reading data from Parquet:

It's a safeguard, but maybe we need a better strategy here.

Ah, maybe we should expose max_page_size to the user as a kwarg or execution config?

Sounds promising! I would though need more explanations in the docs on what max_page_size is and how it works 😅 and also what's the consequences of unleashing a zip bomb?
This dataset is so small I wouldn't have imagined I would have needed to tweak anything to read it though.
Maybe some kind of dataset profiler function would solve some of these problems whereby the data requires some special treatment.

So imagine if your parquet data contains 100 quadrillion strings "a", but it was encoded as: "a"100quadrillion
Naively reading all that into memory as 100 quadrillion strings would explode the machine 😭
That's why we have a sanity guard here to prevent these kinds of problems. We can either increase the default (which might be reasonable given the type of data we work with) or make it configurable.

Makes sense! I wonder if seeing OOM might have been more decipherable haha but another idea I've been wondering about was if it was possible to scale the guard together with the size of the machine. Then it would be a true guard instead of an arbitrary one.

Yes it would be great to have the max_page_size configurable via execution config or so, while defaulting it to a percentage of system memory, much like JVM's heap size property MaxRAMPercentage that defaults to 25% of system memory and is configurable via -XX:MaxRAMPercentage= option.


Rename env vars TEMPORAL_CLI.. to TEMPORAL..

What was changed

renamed env variables
Why?

Consistency of env names. Shorter in --help output
Checklist

Closes

How was this tested:

Any docs updates needed?

@feedmeapples Are you aware of any follow up action to update the doc too?
https://docs.temporal.io/cli#environmental-variables

@feedmeapples we need to revert this change, it broke the usage in admintools. We rely on these env vars in too many samples.

This has broken the CLI in admin-tools/1.21.1. Need to export variables without CLI in VarName as a workaround.

No, we’re staying with this new convention.
Why?


Parameters are using Compile-Time Expressions in Conditions but should be using Runtime Expressions

Take this C# code:
If.Equal(parameters["restore"], "true")

This produces the following YAML:
 ${{ if eq('${{ parameters.restore }}', 'true') }}:

This is incorrect.
A valid syntax would be:
 ${{ if eq(parameters['restore'], 'true') }}:

Also sort of related to this: https://github.com/sharpliner/sharpliner/issues/125

I see the problem. This is not about runtime/compile time as the syntax should not matter (based on https://docs.microsoft.com/en-us/azure/devops/pipelines/process/runtime-parameters).
I think the problem is having ${{ inside of another one

@thomhurst can you please confirm that it works with 1.4.1?

Yes that worked!


fix: displaying pure EIP-6963 wallets

Description
This PR stops checking if a wallet is installed for EIP-6963 connectors. checkInstalled relies on window.ethereum internally, which shouldn't necessarily be defined according to the EIP-6963 spec. This causes a bug when a pure EIP-6963 (no window.ethereum injection) wallet is not displayed in the list.
Type of change

[ ] Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Associated Issues
For Linear issues: Closes APKT-xxx
For GH issues: closes https://github.com/WalletConnect/web3modal/issues/2769
Showcase (Optional)
Tested with the repro steps in my minimal reproducible example: https://github.com/ExodusMovement/web3modal-eip6963-bug/tree/master?tab=readme-ov-file#steps-to-reproduce. I can finally see the Example Wallet (pure EIP-6963) in the list with no enabled ethereum extensions.
Checklist

[ ] Code in this PR is covered by automated tests (Unit tests, E2E tests)
[x] My changes generate no new warnings
[x] I have reviewed my own code
[x] I have filled out all required sections

@glitch-txs Hey could you review this one?

Hey there 👋  Is there anything I can do to help get it rolling?


Routing errors in Kubernetes Cluster

I have a Kubernetes configured with etcd 2.2.3 and flannel 0.5.5.  All components seem to be working fine, yet I'm seeing some odd messages in the flannel logs, including potential issues with etcd.  This surfaced when I am trying to access the Kube-Dashboard at a flannel defined <IP_ADDRESS>.  I can access that endpoint from the node running the pod, but not on the master.  I saw #87 but the subnet values are the same across both Flannel and Docker configs.
One detail to note is that I am fronting a 3 node etcd cluster with a load balancer.  I do see the subnet values there so I don't think there is an issue but am stumped and want to ensure there are no other overlay network issues lingering.  Is there something I am missing?  All other Kubernetes components are working with this configuration, and I have attempted to restart the flannel service on the master.
Recent Log Messages with the same problem
Aug 12 21:50:15 ip-10-178-153-240.us-west-2.compute.internal flanneld[23636]: I0812 21:50:15.638181 23636 vxlan.go:340] Ignoring not a miss: 4e:0b:a2:80:c2:5a, <IP_ADDRESS>
Aug 12 21:50:44 ip-10-178-153-240.us-west-2.compute.internal flanneld[23636]: I0812 21:50:44.670424 23636 vxlan.go:232] Subnet added: <IP_ADDRESS>/24
Aug 12 21:50:44 ip-10-178-153-240.us-west-2.compute.internal flanneld[23636]: I0812 21:50:44.670470 23636 device.go:164] calling NeighAdd: <IP_ADDRESS>, 4e:0b:a2:80:c2:5a
Aug 12 21:50:54 ip-10-178-153-240.us-west-2.compute.internal flanneld[23636]: I0812 21:50:54.063505 23636 vxlan.go:232] Subnet added: <IP_ADDRESS>/24
Aug 12 21:50:54 ip-10-178-153-240.us-west-2.compute.internal flanneld[23636]: I0812 21:50:54.063546 23636 device.go:164] calling NeighAdd: <IP_ADDRESS>, b6:8b:c7:22:d3:6a
Aug 12 21:51:53 ip-10-178-153-240.us-west-2.compute.internal flanneld[23636]: E0812 21:51:53.730677 23636 watch.go:41] Watch subnets: client: etcd cluster is unavailable or misconfigured
Aug 12 21:52:53 ip-10-178-153-240.us-west-2.compute.internal flanneld[23636]: I0812 21:52:53.446228 23636 vxlan.go:340] Ignoring not a miss: 4e:0b:a2:80:c2:5a, <IP_ADDRESS>
Aug 12 21:52:54 ip-10-178-153-240.us-west-2.compute.internal flanneld[23636]: E0812 21:52:54.730620 23636 watch.go:41] Watch subnets: client: etcd cluster is unavailable or misconfigured
Aug 12 21:52:56 ip-10-178-153-240.us-west-2.compute.internal flanneld[23636]: I0812 21:52:56.452213 23636 vxlan.go:340] Ignoring not a miss: 4e:0b:a2:80:c2:5a, <IP_ADDRESS>
Aug 12 21:52:57 ip-10-178-153-240.us-west-2.compute.internal flanneld[23636]: I0812 21:52:57.454180 23636 vxlan.go:340] Ignoring not a miss: 4e:0b:a2:80:c2:5a, <IP_ADDRESS>
Aug 12 21:52:58 ip-10-178-153-240.us-west-2.compute.internal flanneld[23636]: I0812 21:52:58.456185 23636 vxlan.go:340] Ignoring not a miss: 4e:0b:a2:80:c2:5a, <IP_ADDRESS>
Aug 12 21:53:55 ip-10-178-153-240.us-west-2.compute.internal flanneld[23636]: E0812 21:53:55.730815 23636 watch.go:41] Watch subnets: client: etcd cluster is unavailable or misconfigured
Aug 12 21:54:31 ip-10-178-153-240.us-west-2.compute.internal flanneld[23636]: I0812 21:54:31.462456 23636 vxlan.go:345] L3 miss: <IP_ADDRESS>
Aug 12 21:54:31 ip-10-178-153-240.us-west-2.compute.internal flanneld[23636]: I0812 21:54:31.462518 23636 device.go:187] calling NeighSet: <IP_ADDRESS>, 4e:0b:a2:80:c2:5a
Aug 12 21:54:31 ip-10-178-153-240.us-west-2.compute.internal flanneld[23636]: I0812 21:54:31.462724 23636 vxlan.go:356] AddL3 succeeded
Aug 12 21:54:56 ip-10-178-153-240.us-west-2.compute.internal flanneld[23636]: E0812 21:54:56.731028 23636 watch.go:41] Watch subnets: client: etcd cluster is unavailable or misconfigured

API Server route tables
core@ip-10-178-153-240 ~ $ ip route show
default via <IP_ADDRESS> dev eth0  proto dhcp  src <IP_ADDRESS>  metric 1024
<IP_ADDRESS>/24 dev eth0  proto kernel  scope link  src <IP_ADDRESS>
<IP_ADDRESS> dev eth0  proto dhcp  scope link  src <IP_ADDRESS>  metric 1024
<IP_ADDRESS>/12 dev flannel.1  proto kernel  scope link  src <IP_ADDRESS>
<IP_ADDRESS>/24 dev docker0  proto kernel  scope link  src <IP_ADDRESS>

Minion (where pod lives) route table
core@ip-10-178-153-57 ~ $ ip route show
default via <IP_ADDRESS> dev eth0  proto dhcp  src <IP_ADDRESS>  metric 1024
<IP_ADDRESS>/24 dev eth0  proto kernel  scope link  src <IP_ADDRESS>
<IP_ADDRESS> dev eth0  proto dhcp  scope link  src <IP_ADDRESS>  metric 1024
<IP_ADDRESS>/12 dev flannel.1
<IP_ADDRESS>/24 dev docker0  proto kernel  scope link  src <IP_ADDRESS>

etcd Values
{
"action": "get",
"node": {
"key": "/cluster.local/network/subnets",
"dir": true,
"nodes": [
{
"key": "/cluster.local/network/subnets/<IP_ADDRESS>-24",
"value": "{\"PublicIP\":\"<IP_ADDRESS>\",\"BackendType\":\"vxlan\",\"BackendData\":{\"VtepMAC\":\"aa:2a:a0:5f:7c:3c\"}}",
"expiration": "2016-08-04T17:46:28.057217514Z",
"ttl": 86362,
"modifiedIndex": 359108,
"createdIndex": 359108
},
{
"key": "/cluster.local/network/subnets/<IP_ADDRESS>-24",
"value": "{\"PublicIP\":\"<IP_ADDRESS>\",\"BackendType\":\"vxlan\",\"BackendData\":{\"VtepMAC\":\"fa:a4:a1:87:c7:59\"}}",
"expiration": "2016-08-04T11:31:46.084852299Z",
"ttl": 63880,
"modifiedIndex": 354496,
"createdIndex": 354496
},
{
"key": "/cluster.local/network/subnets/<IP_ADDRESS>-24",
"value": "{\"PublicIP\":\"<IP_ADDRESS>\",\"BackendType\":\"vxlan\",\"BackendData\":{\"VtepMAC\":\"f6:63:5f:c0:8b:73\"}}",
"expiration": "2016-08-04T15:29:02.032076936Z",
"ttl": 78115,
"modifiedIndex": 357385,
"createdIndex": 357385
}
],
"modifiedIndex": 23,
"createdIndex": 23
}
}

Bridge output
core@ip-10-178-153-240 ~ $ bridge fdb
33:33:00:00:00:01 dev eth0 self permanent
01:00:5e:00:00:01 dev eth0 self permanent
33:33:ff:6a:a6:39 dev eth0 self permanent
fa:a4:a1:87:c7:59 dev flannel.1 dst <IP_ADDRESS> self permanent
f6:63:5f:c0:8b:73 dev flannel.1 dst <IP_ADDRESS> self permanent
33:33:00:00:00:01 dev docker0 self permanent
01:00:5e:00:00:01 dev docker0 self permanent
33:33:ff:26:a4:b4 dev docker0 self permanent
02:42:38:26:a4:b4 dev docker0 master docker0 permanent
02:42:38:26:a4:b4 dev docker0 vlan 1 master docker0 permanent
da:ac:b2:c4:62:2a dev vethefb8da5 master docker0 permanent
02:42:ac:10:06:02 dev vethefb8da5 master docker0
da:ac:b2:c4:62:2a dev vethefb8da5 vlan 1 master docker0 permanent
33:33:00:00:00:01 dev vethefb8da5 self permanent
01:00:5e:00:00:01 dev vethefb8da5 self permanent
33:33:ff:c4:62:2a dev vethefb8da5 self permanent

Curl pod endpoint from the master
core@ip-10-178-153-240 ~ $ curl -L <IP_ADDRESS>:9090 -vvv
* Rebuilt URL to: <IP_ADDRESS>:9090/
*   Trying <IP_ADDRESS>...
* connect to <IP_ADDRESS> port 9090 failed: Connection timed out
* Failed to connect to <IP_ADDRESS> port 9090: Connection timed out
* Closing connection 0
curl: (7) Failed to connect to <IP_ADDRESS> port 9090: Connection timed out

My apologies for the false alarm on this; it was actually an inadvertent firewall restricting traffic.


Extra margin space added in printed version of pdf

PDF.js with Firefox is adding 0.5cm to the left and top margin and shrinking the page elements
PDF.js with Chrome is adding 0.8cm to the top margin - elements are the correct size but are shunted down the page.
Tested on Windows, FF 40.0.

Do you have a screenshot? Does it happen with every PDF or just particular ones? In that case, please link one.

It's not in the display, it's on the final hard copy after printing.

I encountered the bug in old versions (v1.0), but v1.1.215 is ok in chrome (v44)

To update you, we've tested the viewer at https://mozilla.github.io/pdf.js/web/viewer.html, using this file (https://www.dropbox.com/s/6lves3ge8s2u48g/bedcard.pdf?dl=0).  It works perfectly in Chrome, and the extra page issue (https://github.com/mozilla/pdf.js/issues/6461#issuecomment-141939466) is also fixed.
However, in Firefox both these issues are still present.

Hi, any update on this issue?  Is it in the queue to be fixed/tested?

Closing as fixed by #7005.

I know this is an old thread but this issue is still causing me grief.
We print labels , 4 per sheet this adding anything to the margins of the final print is a critical fault/bug.
Now forced to go with the latest vesion of FF due to continuous addon issues.
Heres the problem:
FF v52.2.1esr Win 7 : Added ~0.5" to Left and Top margins (possibly R & B also).
FF v67.0 (latest) Win 7 : Added ~0.5" to Left margins
FF v67.0 MX Linux : No added margins, however cannot use due to another bug with the Linux version of PDF.js .
I have tried/checked:

Set in about:config , all magins for the printer to 0 (print.printer_4100DN_USB.print_margin_top etc)
Ensure there are no additional Gutter or Margins added by the Printer properties.
Ensure the Application adds no add'l margin
Symptoms:
Preview in Firefox  - No margins added and looks as it should.
Paper printout and Print Preview - Added extra Margin.
We are forced to use the FF Preview in FF because there is no Adobe Acrobat Reader plugin sopport since v57. With the old v52.2.1 FF with Acrobat Plugin everything works perfectly.


An Error implement about nms

These two lines should not add 1 for compute areas:
https://github.com/Pilhyeon/WTAL-Uncertainty-Modeling/blob/ea630d41e2fc92d523257524690cc6de921e4773/utils.py#L101
https://github.com/Pilhyeon/WTAL-Uncertainty-Modeling/blob/ea630d41e2fc92d523257524690cc6de921e4773/utils.py#L111
Reference the implement of temporal nms in mmaction2
https://mmaction2.readthedocs.io/en/latest/api.html#id26

The implementation of mmaction2 might be slightly different from ours.
In ours, the temporal intervals are determined in an inclusive way, so we need to add 1 to compute areas (e.g., the interval [1, 1] has its area of 1.)

yeah, I have noticed that, and I think if we want to compute the real temporal area, for example, [1, 2], the time lasted 1 second maybe more intuitive, and such as [1, 1], the time lasted 0 second.

Yes, I agree with you: it is more intuitive as the temporal slicing in python also works in that way.
I will consider representing the intervals in that way in future work.
Thanks for the suggestion.


Feature/ctv2

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Rerun the SLO resource as it was failing, had to delete some parameters as they do not appear in dynatrace api docs anyways, rerun: execution


POST Redirect Could do with Being Templated

Just trying out omnipay with and found Helcim running with AuthorizeNet_SIM. The POST redirect page looked pretty fugly, being unstyled.
It would also help to be able to provide more information on the POST redirect page about what that page is for in case the redirect does not work or the remote payment gateway site is slow to respond.
On top of that, the page is in English, and not translated.
Anyway, the redirect page is all hard-coded in Omnipay\Common\Message\AbstractResponse ::getRedirectResponse()
I think that HTML needs to be easily overridable. Since omnipay is not using DICs that would allow us to swap in an overridden version of that class, the template could should at least be put into a property that can be overridden.
Okay, PSR4 can in theory allow you to override any class you like, just by registering your own version in the same namespace before the core omnipay package is registered with composer, but that's a tricky thing to do.
So, does the POST redirect page need some templating love?

Any updated on this?
Is it possible in someway to hide the redirectpage, or does it have to be a self-submitting form?

The option to construct your own redirect page is always there. It would be great not to have to, but if you want to give the redirect page your own branding (since it will flash up even if momentarily) then you you have to write your own.

I see. So it has to use a html self-submitting form to post the data? Would it be possible to skip a visible redirect by using php cURL or something?

There are different gateways that need different types of redirect. A page to auto-POST a form is just one method, so not all gateways will need it. The logic for it is here:
https://github.com/thephpleague/omnipay-common/blob/master/src/Omnipay/Common/Message/AbstractResponse.php#L170
This is used when getting a response from OmniPay that requires a redirect to the remote gateway,  i.e. for the user to be sent to the gateway using their browser. There is no way around that - the user MUST go to that remote site. Some redirects used GET, and they are easy to do with a HTTP redirect (unless going from local SSL to remote non-SSL, which should never happen). Some gateways require the user to be sent there with POST data. That can only happen in a browser by submitting a form.
The POST can all live in an iframe, but the issue is the same - if a POST is expected by the remote gateway, then a form has to be constructed and submitted using JavaScript on behalf of the user, with a button as a fallback in case the JavaScript does not work.

My gateway also requires POST data, so I guess it will have to be submitted with a form then like you said.
Thank you very much for the explanation! :)

Just use the built-in non-templated redirect (linked above) to start with, to get your gateway working. Once you have done that, then you may want to think about writing your own POST redirect if you are not keen on what it looks like.


[Feature request] Make Scoop a bug report manager

In Android's Developer's settings there's an option to select the bug reporting manager. I csn imagine that having the right flags and asking for right permission would get Scoop into that list, solving the permission's problem (root/adb usage) and maybe save battery for users.
Unfortunately I still didn't have time to do enough research, so for now it's just an idea or suggestion.

Hi @TacoTheDank, I've been requested to investigate if this exact feature can also be added in App Manager (it can't right now). However, it might be possible for Scoop to have this feature. Looking at the framework source for Shell (here's a starting point for you), it appears that bug report handler relies on a system protected broadcast receiver com.android.internal.intent.action.BUGREPORT_REQUESTED (might vary among Android versions) which is sent to the selected bug report handler when triggered. Everything is good on that part (you can copy the exact behaviour from Shell, I think). The primary issue for Scoop would be to become the default bug report handler. The selection activity is available in settings or can be set directly via Global settings table. But it wouldn't work even if you select Scoop as the default bug report handler because you'd need your app to be whitelisted under bugreport-whitelisted (which you can do systemless-ly using Magisk or may get ActivityManager to return you package name using Xposed).
If you're really interested in this feature, I suggest first try whitelisting and selecting Scoop as a bug report handler and check if the broadcast receiver is actually called by the system and then proceed further. Good luck :wink:


On project pages, looks like the About Image is stretched/distorted vertically

This wasn't specific to any one project but a problem that affected all project pages.

Fixed.


Add details to AboutUs Page

Resolves #2

looks ok but idt stuart do yet, i think should let stuart resolve the issue?

Sure i will resolve it


Fixed Component manager exportation

Changes
The Component Manager could not be used by other extensions because of the way types were exported.
This PR fixes this, allowing other extension to actually contribute components to Code for i.
It also adds an .npmrc file to avoid issues when npm is ran with a proxy npm repo defined locally.
How to test this PR

Run the test cases
Open connection settings
Check all Components are listed correctly

Checklist

[x] have tested my change

Thanks @worksofliam !

Please see my alternative PR: #2381


Cache Elm dependencies.

This is an attempt at setting up an Elm dependencies cache strategy in CI & CD contexts.

Note: this will work when this Github incident is resolved and Elm dependency package zipballs are reverted to match their expected checksum.


Create a seeder script to populate the database

Create a seeder script to populate the database
The database needs to be populated with some pre-defined data, to allow querying by id or routes.
TASKS

[x] Seed the database
[ ] Write endpoints to retrieve products by their ids

[ ] Also add endpoints to get all products.

✅ All done


Integrating PoS proposal: Weighted Round Robin proposers selection

Fix #475

Implement weighted round robin algorithm based on the proposer staking for proposer selection
changeCurrentProposer will be based on this new proposer selection
Define first approach with a set of parameter numbers for testnet (minimum stake, proposer count, number of springs in a span, ...) that we should analyze the suitable numbers for mainnet.

Closing because a new PR to feature POS will replace it


Hung up remote session keeps running at 100% CPU

Summary
It's hogging up the CPU.

Extension version
v24.4.0
VS Code version
1.88.1
Ansible Version
ansible [core 2.14.9]
  config file = None
  configured module search path = ['/home/peter/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3/dist-packages/ansible
  ansible collection location = /home/peter/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.11.6 (main, Oct  8 2023, 05:06:43) [GCC 13.2.0] (/usr/bin/python3)
  jinja version = 3.1.2
  libyaml = True

OS / Environment
Ubuntu 23.10
Relevant log output
No response

It's just a normal apt-get install code on Ubuntu 23.10.
But thanks for the hint about code is installed in an uncommon location (I didn't notice that).
It was a remote ssh session that got a hang-up from remote.
So to reproduce:

install Remote development on some client machine (I do remote from my laptop into my home desktop computer)
open a remote session to the machine with an Ansible project
the remote session will then automatically install a separate copy of vscode to /usr/share/code (that's why the unusual installation path above)
once you have remote session established, you an install vscode extensions on either local or remote machine, so install vscode-ansible extension on remote machine
hanging up the remote connection (in my case, putting laptop to sleep) leads to the fore mentioned issue. The 100% CPU case may not happen every time, but in a few retries, it will eventually happen.

Maybe there's some documentation in the vscode community about that.
I recall having similar problems with remote Jupyter notebooks, a while ago, but eventually the Juypter folks managed to fix that issue.

We've also experienced this issue last week. Two users remotely connected to a RHEL server, using the Ansible extension had their redhat.ansible-24.4.0 process using all server's CPU.
When I asked them what they were doing, they told me that they weren't even working on Code at that moment.
I had to kill thoses processes because even after "Closing remote connection" and "Kill Vs Code server on remote" .. the processes would still be running at 100%.

@pkese @djobin Can you please share the ansible extension settings and size of the workspace folder opened in editor, this might help to narrow down the problem.
Some of the resource intensive operation that I think of is

Running ansible-lint with execution environment enabled

Lightspeed AI setting enabled and a large workspace opened in the editor. When a new workspace is opened in editor the extension parsed the workspace file to identify identify Ansible files and store the variables and role names in memory which acts as additional context for AI completion requests.

Also for debugging you can monitor the extension logs by looking as Ansible Support and Ansible Lightspeed output channels after turning on the verbose logging.

Additonally in case Lightspeed is enabled you can monitor the additional logs by opening Developer: Toggle Developer Tools from command palette.

cc @ssbarnea @TamiTakamiya @goneri


Text highlight also in comments

I have seen, at least with SQL, that it also highlights text when it is in comments, distorting the display of them.

A picture is worth a thousand words


UnfilteredStackTrace: AttributeError: 'UnspecifiedValue' object has no attribute '_parsed_pspec'

I also encouter this problem since a day or 2. Crashes everytime I run it with this error message:
UnfilteredStackTrace: AttributeError: 'UnspecifiedValue' object has no attribute '_parsed_pspec'
The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

The above exception was the direct cause of the following exception:
AttributeError                            Traceback (most recent call last)
/usr/local/lib/python3.8/dist-packages/jax/_src/prng.py in threefry_seed(seed)
824     # TODO(jakevdp): in X64 mode, this can generate 64-bit computations for 32-bit
825     # inputs. We should avoid this.
--> 826     k2 = convert(jnp.bitwise_and(seed, np.uint32(0xFFFFFFFF)))
827   return lax.concatenate([k1, k2], 0)
828
AttributeError: 'UnspecifiedValue' object has no attribute '_parsed_pspec'

Can confirm. I get the exact same error

will take a look thx for reporting. 😄

Can confirm its not running as it was previously. I got it "running" by restarting runtime after all the installs, but it was very very slow. There was a new release of jax recently (Feb 16th), so I assume that's causing it. Maybe need to either:

downgrade jax or
perhaps just need to change the tpu_driver_20221011 value we used in the notebook to a newer one.

I have no clue. @charlielito you mind having a look at this?

I got this to work last night by doing the following:

Just using jax that comes with colab (version 0.3.25)
changing setup to not specify build number, since they update it with the release jax.tools.colab_tpu.setup_tpu()

Still would prefer to wait for @charlielito to weigh in before I make any changes to colab

Thanks this seems to work indeed!

I got this to work last night by doing the following:

Just using jax that comes with colab (version 0.3.25)
changing setup to not specify build number, since they update it with the release jax.tools.colab_tpu.setup_tpu()

Still would prefer to wait for @charlielito to weigh in before I make any changes to colab

I was on vacation :p I'll take a look this week

All good @charlielito I hope you enjoyed your time off ❤ . No rush here - let me know if I should merge my hotfix or if you think there's a better way whenever you get the chance.

For me it doesn't work.
I get:
RuntimeError: jaxlib is version 0.3.25, but this version of jax requires version >= 0.4.4.

For me it doesn't work. I get: RuntimeError: jaxlib is version 0.3.25, but this version of jax requires version >= 0.4.4.

Yeah, the new release of jax is not compatible with the TPU API we are using. I'll work on the versions needed to run it again


ParseError: 172:3 : Message type "object_detection.protos.TrainConfig" has no field named "fine_tune_checkpoint_version"

Issue type
Others
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
v2.15.0-rc0-8-g2a4ec940bac 2.15.0-rc1
Custom code
Yes
OS platform and distribution
MacOS 14
Mobile device
No response
Python version
Python 3.9.12
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I tyr to run this script on Jupyter notebook to set my training model:
config = config_util.get_configs_from_pipeline_file(files['PIPELINE_CONFIG'])
Standalone code to reproduce the issue
I am using the popular tensor flow object detection course in 5 hours

when I try to run
config = config_util.get_configs_from_pipeline_file(files['PIPELINE_CONFIG'])

Relevant log output
---------------------------------------------------------------------------
ParseError                                Traceback (most recent call last)
Cell In[11], line 1
----> 1 config = config_util.get_configs_from_pipeline_file(files['PIPELINE_CONFIG'])

File ~/Desktop/Jupyter/TFODCourse/tfod/lib/python3.11/site-packages/object_detection/utils/config_util.py:98, in get_configs_from_pipeline_file(pipeline_config_path, config_override)
     96 with tf.io.gfile.GFile(pipeline_config_path, "r") as f:
     97   proto_str = f.read()
---> 98   text_format.Merge(proto_str, pipeline_config)
     99 if config_override:
    100   text_format.Merge(config_override, pipeline_config)

File ~/Desktop/Jupyter/TFODCourse/tfod/lib/python3.11/site-packages/google/protobuf/text_format.py:719, in Merge(text, message, allow_unknown_extension, allow_field_number, descriptor_pool, allow_unknown_field)
    690 def Merge(text,
    691           message,
    692           allow_unknown_extension=False,
    693           allow_field_number=False,
    694           descriptor_pool=None,
    695           allow_unknown_field=False):
    696   """Parses a text representation of a protocol message into a message.
    697
    698   Like Parse(), but allows repeated values for a non-repeated field, and uses
   (...)
    717     ParseError: On text parsing problems.
    718   """
--> 719   return MergeLines(
    720       text.split(b'\n' if isinstance(text, bytes) else u'\n'),
    721       message,
    722       allow_unknown_extension,
    723       allow_field_number,
    724       descriptor_pool=descriptor_pool,
    725       allow_unknown_field=allow_unknown_field)

File ~/Desktop/Jupyter/TFODCourse/tfod/lib/python3.11/site-packages/google/protobuf/text_format.py:793, in MergeLines(lines, message, allow_unknown_extension, allow_field_number, descriptor_pool, allow_unknown_field)
    768 """Parses a text representation of a protocol message into a message.
    769
    770 See Merge() for more details.
   (...)
    787   ParseError: On text parsing problems.
    788 """
    789 parser = _Parser(allow_unknown_extension,
    790                  allow_field_number,
    791                  descriptor_pool=descriptor_pool,
    792                  allow_unknown_field=allow_unknown_field)
--> 793 return parser.MergeLines(lines, message)

File ~/Desktop/Jupyter/TFODCourse/tfod/lib/python3.11/site-packages/google/protobuf/text_format.py:818, in _Parser.MergeLines(self, lines, message)
    816 """Merges a text representation of a protocol message into a message."""
    817 self._allow_multiple_scalars = True
--> 818 self._ParseOrMerge(lines, message)
    819 return message

File ~/Desktop/Jupyter/TFODCourse/tfod/lib/python3.11/site-packages/google/protobuf/text_format.py:837, in _Parser._ParseOrMerge(self, lines, message)
    835 tokenizer = Tokenizer(str_lines)
    836 while not tokenizer.AtEnd():
--> 837   self._MergeField(tokenizer, message)

File ~/Desktop/Jupyter/TFODCourse/tfod/lib/python3.11/site-packages/google/protobuf/text_format.py:967, in _Parser._MergeField(self, tokenizer, message)
    964         tokenizer.Consume(',')
    966   else:
--> 967     merger(tokenizer, message, field)
    969 else:  # Proto field is unknown.
    970   assert (self.allow_unknown_extension or self.allow_unknown_field)

File ~/Desktop/Jupyter/TFODCourse/tfod/lib/python3.11/site-packages/google/protobuf/text_format.py:1042, in _Parser._MergeMessageField(self, tokenizer, message, field)
   1040   if tokenizer.AtEnd():
   1041     raise tokenizer.ParseErrorPreviousToken('Expected "%s".' % (end_token,))
-> 1042   self._MergeField(tokenizer, sub_message)
   1044 if is_map_entry:
   1045   value_cpptype = field.message_type.fields_by_name['value'].cpp_type

File ~/Desktop/Jupyter/TFODCourse/tfod/lib/python3.11/site-packages/google/protobuf/text_format.py:932, in _Parser._MergeField(self, tokenizer, message)
    929       field = None
    931   if not field and not self.allow_unknown_field:
--> 932     raise tokenizer.ParseErrorPreviousToken(
    933         'Message type "%s" has no field named "%s".' %
    934         (message_descriptor.full_name, name))
    936 if field:
    937   if not self._allow_multiple_scalars and field.containing_oneof:
    938     # Check if there's a different field set in this oneof.
    939     # Note that we ignore the case if the same field was set before, and we
    940     # apply _allow_multiple_scalars to non-scalar fields as well.

ParseError: 172:3 : Message type "object_detection.protos.TrainConfig" has no field named "fine_tune_checkpoint_version".

@JT-Studios Could you please make sure that you are using the latest version of OD api and try to remove the "fine_tune_checkpoint_version" field from your configuration file ?
In order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here.
Thank you!

I have resolved the issue

@JT-Studios Thank you for the update!
Could you please move this issue to closed status if it is resolved ?
Thank you!

@sushreebarsa
Thanks for the help!

Did a few things and this error is appearing again. Same error.

Ok update: I'm not completely sure what the problem is but I think it could be the my protobuf version and OB api version is not compatible. I can't change my protobuf version because it fails when I use import tensorflow as tf. Is there anything I can do?

 Thanks for the advice again

@shravani1115  Yeah Could you please share the code that you are using as well as a shortned version of the error

@shravani1115 Yeah Could you please share the code that you are using as well as a shortned version of the error

Yes Sure!
This is the error I am facing
ParseError                                Traceback (most recent call last)
Cell In[23], line 1
----> 1 config = config_util.get_configs_from_pipeline_file(CONFIG_PATH)
File ~\AppData\Local\Programs\Python\Python310\lib\site-packages\object_detection\utils\config_util.py:98, in get_configs_from_pipeline_file(pipeline_config_path, config_override)
96 with tf.io.gfile.GFile(pipeline_config_path, "r") as f:
97   proto_str = f.read()
---> 98   text_format.Merge(proto_str, pipeline_config)
99 if config_override:
100   text_format.Merge(config_override, pipeline_config)
File ~\AppData\Local\Programs\Python\Python310\lib\site-packages\google\protobuf\text_format.py:719, in Merge(text, message, allow_unknown_extension, allow_field_number, descriptor_pool, allow_unknown_field)
690 def Merge(text,
691           message,
692           allow_unknown_extension=False,
693           allow_field_number=False,
694           descriptor_pool=None,
695           allow_unknown_field=False):
696   """Parses a text representation of a protocol message into a message.
697
698   Like Parse(), but allows repeated values for a non-repeated field, and uses
(...)
717     ParseError: On text parsing problems.
718   """
--> 719   return MergeLines(
720       text.split(b'\n' if isinstance(text, bytes) else u'\n'),
721       message,
722       allow_unknown_extension,
723       allow_field_number,
724       descriptor_pool=descriptor_pool,
725       allow_unknown_field=allow_unknown_field)
File ~\AppData\Local\Programs\Python\Python310\lib\site-packages\google\protobuf\text_format.py:793, in MergeLines(lines, message, allow_unknown_extension, allow_field_number, descriptor_pool, allow_unknown_field)
768 """Parses a text representation of a protocol message into a message.
769
770 See Merge() for more details.
(...)
787   ParseError: On text parsing problems.
788 """
789 parser = _Parser(allow_unknown_extension,
790                  allow_field_number,
791                  descriptor_pool=descriptor_pool,
792                  allow_unknown_field=allow_unknown_field)
--> 793 return parser.MergeLines(lines, message)
File ~\AppData\Local\Programs\Python\Python310\lib\site-packages\google\protobuf\text_format.py:818, in _Parser.MergeLines(self, lines, message)
816 """Merges a text representation of a protocol message into a message."""
817 self._allow_multiple_scalars = True
--> 818 self._ParseOrMerge(lines, message)
819 return message
File ~\AppData\Local\Programs\Python\Python310\lib\site-packages\google\protobuf\text_format.py:837, in _Parser._ParseOrMerge(self, lines, message)
835 tokenizer = Tokenizer(str_lines)
836 while not tokenizer.AtEnd():
--> 837   self._MergeField(tokenizer, message)
File ~\AppData\Local\Programs\Python\Python310\lib\site-packages\google\protobuf\text_format.py:967, in _Parser._MergeField(self, tokenizer, message)
964         tokenizer.Consume(',')
966   else:
--> 967     merger(tokenizer, message, field)
969 else:  # Proto field is unknown.
970   assert (self.allow_unknown_extension or self.allow_unknown_field)
File ~\AppData\Local\Programs\Python\Python310\lib\site-packages\google\protobuf\text_format.py:1042, in _Parser._MergeMessageField(self, tokenizer, message, field)
1040   if tokenizer.AtEnd():
1041     raise tokenizer.ParseErrorPreviousToken('Expected "%s".' % (end_token,))
-> 1042   self._MergeField(tokenizer, sub_message)
1044 if is_map_entry:
1045   value_cpptype = field.message_type.fields_by_name['value'].cpp_type
File ~\AppData\Local\Programs\Python\Python310\lib\site-packages\google\protobuf\text_format.py:932, in _Parser._MergeField(self, tokenizer, message)
929       field = None
931   if not field and not self.allow_unknown_field:
--> 932     raise tokenizer.ParseErrorPreviousToken(
933         'Message type "%s" has no field named "%s".' %
934         (message_descriptor.full_name, name))
936 if field:
937   if not self._allow_multiple_scalars and field.containing_oneof:
938     # Check if there's a different field set in this oneof.
939     # Note that we ignore the case if the same field was set before, and we
940     # apply _allow_multiple_scalars to non-scalar fields as well.
ParseError: 172:3 : Message type "object_detection.protos.TrainConfig" has no field named "fine_tune_checkpoint_version".
this is the code
import tensorflow as tf
from object_detection.utils import config_util
from object_detection.protos import pipeline_pb2
from google.protobuf import text_format
CONFIG_PATH = MODEL_PATH+'/'+CUSTOM_MODEL_NAME+'/pipeline.config'
config = config_util.get_configs_from_pipeline_file(CONFIG_PATH)
please help me out

@shravani1115 Yeah Could you please share the code that you are using as well as a shortned version of the error

Any Update?

Okay, find your pipeline.config and deleate the line that says fine_tune_checkpoint_version v2 or something along those lines. If this dosn't fix the issue make sure you have the right pipeline.config open as something there can be muytiple. By the where did this code come from?

Thank you error solved!! I am referring the youtube video

can you tell me how to solve this problem please


how to use tensorlayer birnn split_input ?

I would like to use tensorlayer realize neon inside the function of Birnn, neon inside the BiRnn you can set split_input, the meaning of this parameter is: split_inputs (bool): to expect the input coming from the same source of separate Sources, but tensorlayer which birnn inside, I do not know how to set up this parameter? ?? This parameter from the code inside the neon see, assuming that the input is [32,1000,2304], respectively, on behalf of the [batch_size, n_step, hidden_size], then how split_input parameter is set to true, the function is running, [32,1000,1152] is used for forward propagation operations, and [32,1000,1152] is used for backward propagation operations. Then tensorlayer inside how to set up?

it is hard to understand what you are trying to do.

@guoying1030 https://github.com/zsdonghao/tensorlayer/blob/master/example/tutorial_ptb_lstm_state_is_tuple.py
just simply change tl.layers.RNNLayer to tl.layers.BiRNNLayer , it automatically do bidirectional staff for you.


WebView doesn't close on extension (but not window) reload

Summary
Some actions can cause extensions to be reloaded without the whole window being reloaded. This results in WebViews opened by extensions to remain open. On its own not a problem, except should these use the message API to "talk" to their extension, since it got reloaded/terminated. Expected behavior is to close all WebViews, similar to what happens when the window is reloaded, e.g. using the Developer: Reload Window command.
Steps to reproduce on your own

Have an extension launch a WebView
Change the "main workspace folder" without triggering a window reload
I discovered this by my extension using updateWorkspaceFolders to go from 0 to 1 folders.
Having a multi-folder workspace, rightclicking the first folder, and using Remove Folder from Workspace also triggers this effect. So does pressing Reload after installing a (new) .vsix for an already installed extension, but that results in an empty WebView?
The WebView remains, working, but the extensions reloaded, "breaking" onDidReceiveMessage

With example extension to easily replicate
(source code available by opening the file as an archive, or doing step 4 below)

Open a new window (and install the extension if you haven't yet)
Run the ISSUE: Open a test WebView command
Click Send message and notice how you get a response from the extension
Run the ISSUE: Add/remove the first workspace folder to trigger the semi-reload command
If you had folders in your workspace, the first one gets removed. If your workspace is empty, it'll add the extension's folder (with source code) as workspace folder.
Click Send message and notice how you don't get a response anymore

VSCode versions tested:

1.32.3 (user setup) (a3db5be9)
1.33.0-insider (user setup) (5a88160c)

OS Version: Windows 10 Version 1803 (OS Build 17134.407)

If the first workspace folder is added, removed or changed, the currently executing extensions (including the one that called this method) will be terminated and restarted so that the (deprecated) rootPath property is updated to point to the first workspace folder.
From the documentation of vscode.workspace.updateWorkspaceFolders

We do not automatically destroy webviews on extension reloads as not all webviews require their backing extension to stick around. Does your extension have a deactivate method that calls dispose on the webviews it creates or add its webview to the context.subscriptions list?

I haven't. I've seen dispose() being mentioned in the Webview API guide, but it didn't mention anything about disposing-on-extension-reload in regards to onDidReceiveMessage.
As an alternative, I've been trying to use the WebviewPanelSerializer, but with no luck:
  // inside my exported activate method
  vscode.window.registerWebviewPanelSerializer('sshfs-settings', {
    async deserializeWebviewPanel(panel, state) {
      // Breakpoint here, although I've also tried console.log to be safe
      const { initiateWebviewPanel } = await import('./settings');
      await initiateWebviewPanel(panel, state);
    },
  });

The deserializing only happens on window reload, but not when extensions get reloaded (by changing the first WorkspaceFolder), although reloading the window afterwards does trigger the deserializer. Although me not disposing of the webview during deactivate isn't a bug then, the WebView not being deserialized on extension reload might be?
Perhaps always triggering the deserializer, or having it check whether a deserializer is registered (or a deserializeOnReload flag in WebviewOptions) might be helpful here. Right now, when the first WorkspaceFolder changes, the WebviewPanel would have to be disposed (which would be weird towards the user), since after the extension reloads, there's no way to "reconnect" the Webview from the extension.

Yes, you can use dispose if you want to clean up webviews on extension unload and then re-create them on reload.
We should probably support serialization on extension reload, although it needs some thought

We face the same issue in our extension and I can add to this that even if I try to explicitly dispose the webviews on deactivate  it does not work, since deactivate itself is not called in this case. A new instance of the extension is activated without the old being deactivated!

We have a similar problem with a custom editor.
The extension get reloaded after adding a folder resulting into new workspace.
After deactivation /activation of the extension has NO access to the editor but the webview is still open.
Closing the editor on deactivate is no solution as it shall stay open like on window reload.
To reproduce

Open the PawDraw editor from the extensions.
Add folder to workspace (before there is only a folder open - no workspace).
Paw draw visible but not functional

thomas

Is there any update on this issue?
My webivew panel is still not disposed properly when a new folder is added to the workspace. Even when I try and manually dispose of it during deactivate().
Using console.log + the debugger, I see upon adding a new folder to the workspace deactivate() is called, in which I explicitly call dispose() on my webview panel. But the webview remains open and the webview panel is left dangling.

We're also experiencing this problem. Related issue https://github.com/microsoft/vscode/issues/188257
Indeed disposing a webview during deactivate does not actually dispose it unfortunately. console.log also sometimes doesn't so it looks like deactivate does't get called but it does.

I was hoping I could work around it by sending pings from the extension to the webview, and having the webview close itself when no pings are received but window.close() doesn't work either :(


We should export the type and TypeBox under different names?

Library version: 1.6.2
JSON schema version: draft-07
I am willing to contribute to fix the issue 💚
The current behavior
The exported code includes the same name for both the type and the object.
export type CollectorSchema = Static<typeof CollectorSchema>;
export const CollectorSchema = Type.Object({
  name: Type.String({ title: "Name" }),
  taskDefinition: Type.String({ title: "Taskdefinition" }),
});

This makes using validation not possible since I cannot export both from a file.
interface ValidationFactoryReturn<T> {
  schema: TObject;
  verify: (data: T) => T;
}

export const validationFactory = <T>(schema: TObject): ValidationFactoryReturn<T> => {
  const ajv = addFormats(new Ajv({}), [
    'date-time',
    'time',
    'date',
    'email',
    'hostname',
    'ipv4',
    'ipv6',
    'uri',
    'uri-reference',
    'uuid',
    'uri-template',
    'json-pointer',
    'relative-json-pointer',
    'regex',
  ]);

  const C = ajv.compile(schema);
  const verify = (data: T): T => {
    const isValid = C(data);
    if (isValid) {
      return data;
    }
    throw new Error(JSON.stringify(C.errors));
  };

  return { schema, verify };
};

const validateCollector = validationFactory<CollectorSchema>(Collector);

The expected behavior
I would think it would be better to be able to name these differently, one representing the type and one representing the object.
export type CollectorSchema = Static<
  typeof Collector
>;
export const Collector = Type.Object({ ... })

Why does it happen? What/How to fix the issue?
The code currently just uppercases the first character and uses that as the type name.
Content of minimal json schema file which causes the problem
I will provide a more concrete example to this ticket

This makes using validation not possible since I cannot export both from a file.

Works without issues for me, can you provide a reproduction repo?


scripting: expose icon in config

Allows to get/set built-in icons
iconURL is URL in UTMConfig, but stored as string in config.plist, same is done for scripting interface.

Usage:
tell application "UTM"
  set vm to virtual machine named "OpenBSD"
  set config to configuration of vm
  set icon of config to "openbsd"
  update configuration of vm with config
end tell

Say hi to puffy!

For reference :
All available icons are in https://github.com/utmapp/UTM/tree/main/Icons
corresponding icon keys in https://github.com/utmapp/UTM/blob/8ef19ff661c628f3e9075de81f3051471d54de10/Platform/Shared/VMConfigInfoView.swift#L321

Fixes #6914
For future :
If you want to allow custom icons through scripting,

Take icon as URL from scripting,
Expose isIconCustom field in config
Take care of sandbox permissions of the given icon file
Copy icon file to VM bundle, set URL in config accordingly
...

not worth it


The error was: "Cannot set headers once the content has being sent"
The solution seems to let the middleware to handle the error itself, as well as a better SuperAgent call handling, using then/catch too in getAPIResourceWithAuth.

@tiberiuichim
I tried this too, but it does not work... it definitely doesn't like the closure solution :( My hunch continues to be that the requests get messed up and the resp/res being used are not from the same thread.
(server.js L75)
server.use(function (err, req, res, next) {
  if (err) {
    const { errorHandler } = req.app.locals;
    errorHandler(err);
  }
});


Jsonb data and metadata

Hi, Ben:
Thanks for creating Commanded! I've known about it a long time and finally started building a proof-of-concept using it a few weeks ago. Working well for us so far. Really appreciate all the time you've put into this project.
One thing we would like is the ability to store the data and metadata command audit fields as JSONB, rather than BYTEA. This PR doesn't change the default settings but enables JSONB (and default Postgres indexing of those fields) as a configurable option.
Please let me know if you have any concerns, suggestions, or ideas.
Cheers,
James

Thanks for the pull request James its useful to have support for both bytea and jsonb column data types.


[patch v2] jacobee: Allow compilation of code with cuda

There is a bug in Makefile when specifying LD flags.
Fixing the same in this patch. This patch also addresses CUDA 9 and Volta.
Signed-off-by: Devesh Sharma<EMAIL_ADDRESS>

Will post a rev, due to unsupported gencode sm_20 on Cuda 9.0 +.


fixed scrolling past headings of sections on clicking navbar.

Fixed the issue I opened.
On clicking navbar headings to visit different sections of the website, it scrolls past the headings of the sections, or cuts them in half, and the fade-down animation can't even be seen. happening especially on the Events, Blogs and FAQ headings. Fixed that. Please accept this with the hacktoberfest tag.
📷 Screenshots

The page is not responsive!