[Bug]: Font Selection Menu Displays Identical Fonts when signing pdfs with text input on firefox

The Problem
While trying to sign a PDF with text input in Firefox, the font selection menu shows identical fonts. Logs indicate that the customFiles/static/fonts directory is missing. I checked the directory and it is indeed empty. However, despite receiving the same logs with Chrome, the fonts work there.
on Firefox (127.0.2):

on Chrome (126.0.6478.61):

Version of Stirling-PDF
0.26.2
Last Working Version of Stirling-PDF
No response
Page Where the Problem Occurred
/sign
Docker Configuration
No response
Relevant Log Output
22:08:48.212 [qtp556798624-56] INFO  o.s.c.i.s.PathMatchingResourcePatternResolver - Skipping search for files matching pattern [*]: directory [/home/rudraaa/.git/Stirling-PDF/customFiles/static/fonts] does not exist
22:09:10.962 [qtp556798624-100] INFO  o.s.c.i.s.PathMatchingResourcePatternResolver - Skipping search for files matching pattern [*]: directory [/home/rudraaa/.git/Stirling-PDF/customFiles/static/fonts] does not exist
22:09:58.814 [qtp556798624-56] INFO  o.s.c.i.s.PathMatchingResourcePatternResolver - Skipping search for files matching pattern [*]: directory [/home/rudraaa/.git/Stirling-PDF/customFiles/static/fonts] does not exist

Additional Information
No response
Browsers Affected
Firefox
No Duplicate of the Issue

[X] #1629

So looked more into this, i can reproduce the issue itself but not any of the logs or reasons you gave,
From my look into it seems like firefox doesn't support custom CSS for each single option box within the dropbown but still renders the font fine when its actually selected.
To resolve this we would need to design (or use) a custom select box instead of standard HTML one

This is unfortunately not fixable without implementing a custom dropdown, see:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option
and
https://developer.mozilla.org/en-US/docs/Learn/Forms/Advanced_form_styling

maybe we can just display the font names for firefox instead of showing how the text looks like in those fonts

Seems like a good workaround

maybe we can just display the font names for firefox instead of showing how the text looks like in those fonts

IMHO this would be a good change for all browsers, if you're using this feature often enough it's more beneficial to remember the font name that you use instead of your input text, which's most likely your name.
In fact, I'm not sure how feasible this is (should be doable with onmouseenter even if select doesn't have an onchange event) but if the input text box updates the font on option hover instead of select update, we could cover all bases without compromising convenience.


How to use the below element using webdriverIO

I have attached my application view for About tab displayed for not using winappdriver with WebdriverIO.
await (await (await $('//*[@automationId=\"AboutTb\"]')).shadow$('//RadioButton[@Name=\"About\"]')).waitForDisplayed();
I have written to detect the About link in my windows custom application, but it always failed to locate the element.
Am i doing something wrong.

diptilenka Per your screen it should be something like
await (await (await $('//[@automationId="AboutTb"]')).shadow$('//[@Name="About"]')).waitForDisplayed();

Now it shows this error

@diptilenka Sorry, github removed * char after "//*". I fixed code above, try one more time

@diptilenka Sorry, github removed * char after "//*". I fixed code above, try one more time

This now showing

diptilenka
Unfrotantly I don't work with webdriverIO.
Could you please post screen from Inspector.exe with the control that has this XPath: @automationId="AboutTb"
Why do you use @automationId but not @AutomationId

diptilenka Unfrotantly I don't work with webdriverIO. Could you please post screen from Inspector.exe with the control that has this XPath: @automationId="AboutTb" Why do you use @automationId but not @AutomationId

I post in webdriverIO Gitter channel too, but no response till now.
Whether it is automationId or AutomationId, it has same issues.

have you tried with any other locator?

have you tried with any other locator?

e.g ?

Unfortunately I have not worked wedriver.io but may be able to help you over the call

Thats fine for me, lets meet and try to solve it. how to connect with you ?

Send me a teams invite tomorrow at 8:30 PM IST.

sure

@anunay1 Can you have time in the morning today :)

No

No

ok on evening 5 PM IST

No only after 8 PM

ok
will ping you after 8 PM

@anunay1 are you available now?

@anunay1 are you available now?

yap

Could you please send me the invite ?

Could you please send me the invite ?

sent it to anunayathakur1@gmail.com(it is there in the profile)

check now

Could you please send me the invite ?

sent it to anunayathakur1@gmail.com(it is there in the profile)

Could you please send me the invite ?

sent it to anunayathakur1@gmail.com(it is there in the profile)

Could you please send me the invite ?

sent it to anunayathakur1@gmail.com(it is there in the profile)

Thanks for the help @anunay1 , but still in C# also am unable to get those elements to clickable. :(

What's the error? And what kind of application is it win32, wpf or uwp

Message:
Test method designerautomation.UnitTest1.TestMethod1 threw exception:
OpenQA.Selenium.WebDriverException: An element could not be located on the page using the given search parameters.
Stack Trace:
RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary2 parameters) RemoteWebDriver.FindElement(String mechanism, String value) AppiumDriver1.FindElementByXPath(String xpath)
UnitTest1.TestMethod1() line 43
@anunay1  The appp is x64 WPF application running on .NET framework 4.8
it uses MahApps.Metro 1.6.2 for the controls

Can you share the code? That's weird

`using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Appium;
using OpenQA.Selenium.Appium.Windows;
using OpenQA.Selenium.Remote;
using System;
using System.Threading;
namespace designerautomation
{
[TestClass]
public class UnitTest1
{
    //Appium Driver URL it works like a windows Service on your PC
    private const string appiumDriverURI = "http://<IP_ADDRESS>:4723";
    //Application Key of your UWA
    //U can use any .Exe file as well for open a windows Application
    private const string calApp = "XXXXXXXX/Composer.exe";

    protected static WindowsDriver<WindowsElement> calSession;

    [TestMethod]
    public void TestMethod1()
    {
        if (calSession == null)
        {
            var appCapabilities = new AppiumOptions();
           // DesiredCapabilities appCapabilities = new DesiredCapabilities();
            //appCapabilities.SetCapability("app", calApp);
            //appCapabilities.SetCapability("platformName", "Windows");
            appCapabilities.AddAdditionalCapability("app", calApp);
            appCapabilities.AddAdditionalCapability("platformName", "Windows");
            //Create a session to intract with Calculator windows application
            calSession = new WindowsDriver<WindowsElement>(new Uri(appiumDriverURI), appCapabilities);

            Thread.Sleep(15000);
            //Automate Button and Get answer from Calculator

            //find by Name
            // calSession.FindElement(By.XPath("//*[@AutomationId=\"AboutTb\"]")).Click();
            //calSession.FindElementByXPath("/Pane[@ClassName=\"#32769\"][@Name=\"Desktop 1\"]/Window[@ClassName=\"Window\"][@Name=\"Hyland RPA Designer\"]/Custom[@AutomationId=\"RecentProjectsDataControl\"]/RadioButton[@AutomationId=\"OpenOther\"]/Text[@ClassName=\"TextBlock\"][@Name=\"Open Other Document\"]").Click();

            //calSession.FindElementByName("About").Click();

        }
    }
}

}
`

Your code is ok can you get the page source.

Your code is ok can you get the page source.

Again i think we need to sit together at night ISt today to have another look ?
@anunay1


Accessing Symphony

Blocks #10
Stanford's Symphony Web Services run behind a firewall so there is limited access. This ticket is to coordinate with Ops to figure out a strategy to allow Airflow instance to access these web services.

however it’s coded, the info is basically this:
symws:
  url: https://symws-dev.stanford.edu/symws
  headers:
    sd-originating-app-id: SINOPIA_DEV
    x-sirs-clientID: SymWSStaffClient
  login_params:
    login: 'ask-libsys'
    password: 'ask libsys'

Thanks @jgreben! Closing this ticket with the creation of Sinopia user.

We were able to add the AKS Elastic IP for the cluster to the IP tables firewall for Symphony and connect successfully from a running Airflow pod to the Symphony web services.


Scope and relationship to other packages

Nice package!
I'm planning to implement a discrete spherical Hankel transform, also following the pattern of AbstractFFTs. Since you have the Hankel package name in the registry, would your package be a good place to contribute this (else I would create a SphericalHankel.jl)? It would be nice if the interfaces were similar.
I noticed you currently implement only the zero-order DHT. There's also @jagot's package https://github.com/jagot/Hankel.jl, which is stale but implements additional orders, seemingly following the same papers.

Thanks!
I've just spun this package out of a bigger project I'm working on, which only uses the 0th-order transform, hence the limited scope so far. Non-0 orders are mostly a matter of adding appropriate test cases, the algorithm is identical. I'd be very happy to make this a more general package implementing other approaches as well. Does the spherical DHT follow the same pattern as the QDHT of picking sampling points at zeros of the basis functions, etc?

Non-0 orders are mostly a matter of adding appropriate test cases, the algorithm is identical.

Yeah, I noticed that as well. I only myself need the 1/2-order transform for my project, but it's nice to generalize.

I'd be very happy to make this a more general package implementing other approaches as well.

Great! I'm not thinking of adding additional approaches (at least not yet). I'm more thinking of extending the approach you've implemented so it works for non-0 orders with convenient functions for the SHT.

Does the spherical DHT follow the same pattern as the QDHT of picking sampling points at zeros of the basis functions, etc?

The spherical DHT (DSHT) I'm thinking of is just a reparameterization of the usual DHT.
e.g. the usual HT is
$\tilde{f}_\nu(k) = \sqrt{\frac{2}{\pi}} \int_0^\infty f(r) J_\nu(r k) r dr$
The SHT as I define it is (there are different conventions; this one is chosen because forward and reverse are the same):
$\hat{g}_\nu(k) = \sqrt{\frac{2}{\pi}} \int_0^\infty g(r) j_\nu(r k) r^2 dr = \int_0^\infty g(r) \sqrt{\frac{r}{k}} J_{\nu + 1/2}(r k) r dr = \frac{1}{\sqrt{k}} \tilde{h}_{\nu+1/2}(k)$
where $h(r) = g(r) \sqrt{r}$
While the user can get the DSHT by pre- and post-multiplying the necessary factors, a DSHT implementation would simply modify T and the constants in mul! and ldiv! so that this isn't necessary.
I don't understand how integrateR and integrateK are derived, so I'm not certain if/how they need to be modified for non-0 orders or the DSHT.
It would probably also be good to release the Float64 type constraints, allowing a generic Real.
If this sounds good to you, I'll open a PR.

The spherical DHT (DSHT) I'm thinking of is just a reparameterization of the usual DHT.

Yes, I see now. That should be quite straightfoward then! The non-0 orders are nearly there already, I will just need to implement the test cases from the Guizar-Sicairos paper to make sure it works.

I don't understand how integrateR and integrateK are derived, so I'm not certain if/how they need to be modified for non-0 orders or the DSHT.

I have this written up somewhere, I will add it to the docs.

It would probably also be good to release the Float64 type constraints, allowing a generic Real.

Good point--turned out to be quite quick to do anyway.

If this sounds good to you, I'll open a PR.

Yes, sounds excellent. I should find some time later today to finish the non-0 order transform, but everything after that I will put into PRs as well so you're not trying to hit a moving target.

I have this written up somewhere, I will add it to the docs.

Thanks!

Yes, I see now. That should be quite straightfoward then! The non-0 orders are nearly there already, I will just need to implement the test cases from the Guizar-Sicairos paper to make sure it works.

Yes, sounds excellent. I should find some time later today to finish the non-0 order transform, but everything after that I will put into PRs as well so you're not trying to hit a moving target.

Great! Should have some time to to put it together near the end of the week.

Derivation for the integrals can now be found at https://chrisbrahms.github.io/Hankel.jl/dev/derivations/
Non-zero orders are now implemented and somewhat tested, though I'd suggest you add some test cases specifically for the 1/2-order transform just to make sure.

Closed by #6


New UI: Chart Sizing

Is your enhancement related to a problem? Please describe.
With the new UI the visualizations can be shown a lot bigger than before. As they are currently resizing according to the width of the browser window - in many cases- it leads to that the chart doesn't fully fit into the viewport of the browser window and that the bottom is cut off. (Especially the Scatterplot is out of proportion)
Describe the solution you'd like
Should the visualizations resize according to the height of the browser window instead of the width?
Describe alternatives you've considered
Or should we limit the height?
Usecases and impact
I guess in order to read the visualization at least the visualization and most of the legends should be within the viewport.
Additional context
https://user-images.githubusercontent.com/59613691/203276299-9ee2c27f-d416-400c-889c-fea9119c0dec.mp4

As this is an issue mostly in the edit mode, where chart takes all available space, it shouldn't be a problem in published (or embed) mode. I think it's important that we keep the "correct" aspect ratios of charts in published mode, but we already adjusted them in the edit mode recently, so this shouldn't be a problem anymore.


Added support for honoring NO_PROXY list

@havard Can you look into this anytime soon? I'd like to get this pulled and released to open the PR for passport-openid.

I second @jtblin in looking at request.

Totally agree. So maybe it even makes sense to actually use request here?

I assume that by 'here' you mean 'in this library'. Yes, I second that. It would remove handling (at least) proxies, redirects, some serialization, perhaps even more, from node-openid. I am all for it. :)

Did you land on anything?

Nope, sorry I had a look but that would touch (remove) a lot of code and I didn't have the bandwidth personally.

Christman ShipIT came early this year ;) This is now superseded by #135, which uses request to do the http requests.


Misc updates on testing hub server spawing of binderhubs and documentation

This is currently failing for unauthenticated binderhubs because of some issue with the token being passed to /user/api/kernelspecs or dropped. Seeing this in the notebook logs:
[I 2024-06-20 14:22:15.949 ServerApp] 302 GET /user/deployment-service-check/ (@<IP_ADDRESS>) 0.51ms
[W 2024-06-20 14:22:21.607 ServerApp] wrote error: 'Forbidden'
    Traceback (most recent call last):
      File "/srv/conda/envs/notebook/lib/python3.10/site-packages/tornado/web.py", line 1788, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/srv/conda/envs/notebook/lib/python3.10/site-packages/tornado/web.py", line 3289, in wrapper
        url = self.get_login_url()
      File "/srv/conda/envs/notebook/lib/python3.10/site-packages/jupyter_server/base/handlers.py", line 782, in get_login_url
        raise web.HTTPError(403)
    tornado.web.HTTPError: HTTP 403: Forbidden
[W 2024-06-20 14:22:21.608 ServerApp] 403 GET /user/deployment-service-check/api/kernelspecs (@<IP_ADDRESS>) 1.89ms referer=None

But in that get request, the token should be passed because it's done under the same session here
https://github.com/Quansight/jhub-client/blob/860dff7365bdccc5208724390529b00b8198ccef/jhub_client/api.py#L226
Which gets called by https://github.com/Quansight/jhub-client/blob/860dff7365bdccc5208724390529b00b8198ccef/jhub_client/execute.py#L87
so not sure what's that about.
Can it be because of https://github.com/aio-libs/aiohttp/issues/5783? I do see a 302 in the logs

Based on @yuvipanda's feedback in #4167 I've updated this PR to:

skip health tests for binderhubs that don't use authentication
updated the singleuser cmd to cover the cases when jupyter-lab is not installed in the image being launched (similar to what binderhub does) and updated the docs
updated the docs to mention that in the cluster.yaml we should enter the hub's domain rather than the binderhub's so that the tests work (for authenticated setups)


Add option to filter scopes when creating SBOM

Resolves #166

Thanks @stgrace - Overall, the PR looks good.  I am about to merge in a very large change to support SPDX 3.0 which will likely cause some merge conflicts - PR #171
Would it be OK if you rebased this after the SPDX 3 merge? I should have it merged in 2 or 3 days now that the SPDX 3.0.1 spex release is frozen.

Hi @goneall,
Definitely, could you let me know when you perform the merge?
If not, I'm happy to periodically check here again :).

@stgrace - I just finished PR #171 - I just need to get some reviews before it's merged.  If you have a few extra cycles, please feel free to review and comment.  It should also be stable enough to try out any changes against the v3 branch.


Cannot increase limit in alchemist settings.

Hi,
I am trying to modify an existing action and read it into alchemist.
After reading it to Occultlist I am trying to "Replace in Alchemist"
I got an error that alchemist can only show 150 items.
I changed: "maximumItems": 1500, in both:
c:\Users\chupi\AppData\Roaming\Adobe\UXP\PluginsStorage\PHSP*23*\Developer\2bcdb900\PluginData
&
c:\Users\chupi\AppData\Roaming\Adobe\UXP\PluginsStorage\PHSP*24*\Developer\2bcdb900\PluginData\
Restarted PS, reloaded alchemist and I get the same error.
I am running PS beta and I am loading alchemist using the UXP developer tool.
Where should I change those settings?
Thanks

Found it under PHSPBETA...

Hello, you could find it in settings

Please note: when you do change in Alchemist do not touch anything for 10 seconds and settings will be saved.
https://github.com/jardicc/alchemist/blob/4d971ce2aa9ce851cc115a082b110227cff3f322/src/inspector/classes/Settings.ts#L38

Thanks.
I did not see the "Settings" button...
BTW, thanks for the great job you did and for sharing it.
Without it it would have not been possible to migrate CEP plugins , not create new complex ones.

Do you have any ideas as how to debug an action which is not working once turned to a Batch Play function?
I have an old action which I am trying to 'fix'.
While I can use Occultlist  to generate batch ply functions for small action, which work, I was not able to get the same result with the large action which does not work.
Not working means that photoshop ended the action in the meddle complain something about a "command select is not currently available".
When I try to run it, after turning to batch play I get:

How can I know what causes this within the batch play function?
Thanks

Would continueOnError fix that? https://developer.adobe.com/photoshop/uxp/2022/ps_reference/media/batchplay/#continueonerror-default-false
Please note that this one is a recent addition and works only in the latest PS versions.

I'll give it a try.
Do you know how/where to set this option?


Library bundling

Library bundling needs ability to configure single Scala.js module to be bundled both for CJS and EMS, with different output directories assigned for each bundle.

https://www.sensedeep.com/blog/posts/2021/how-to-create-single-source-npm-module.html


runtime loading for user-created connection modules

We want to support dynamic expansion of the connections available in the connection registry. This is so user's can use the stock LMS7002m driver DLL/binaries and expand for their own creation.

[ ] support scanning runtime directory for user generated DLLs
[ ] hooks to control and modify runtime directory path (like env variable)
[ ] example connection module with cmake file

Closing old issue. Re-open if still relevant.


content needs updated to cover 2022

[Enter feedback here]
Please update this to cover Supported upgrade paths to server 2022
Especially around upgrades from Server 2012/R2

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

ID: 505fe07b-6fdd-4887-3c8b-15405c5d8308
Version Independent ID: 25645df2-0ffb-4cc3-a8d2-5466edd309fb
Content: Overview of Windows Server upgrades
Content Source: WindowsServerDocs/upgrade/upgrade-overview.md
Product: windows-server
Technology: upgrade
GitHub Login: @RobHindman
Microsoft Alias: robhind

Hi @garjam73
Thanks for your dedication to our documentation.  I appreciate it is frustrating we haven’t been able to provide this information sooner, I apologise for the delayed response and thank you for your patience. We've submitted a documentation change based, and the updated article should be live by tomorrow. Please let us know if there's anything more we can do for you. If you need to follow up on this issue, leave us a comment with an @mention.
#assign:robinharwood
#please-close


Question: is the onError on TCP Handler recoverable?  What does it mean?

Hi,
I am trying to understand if the onError on TcpHandler is recoverable or I would have to make a new connection to rabbitmq.   How do i know what was the error?

No it is not recoverable. Once the connection is in an error state, you must set up a new connection.


AndroidX and Kotlin 1.3 Upgrade

The current build is failing after upgradding to Kotlin 1.3 due to an unresolved Android Extensions namespace in Kotlinx.

Lessons Learnt: Never push code to the master without testing. Use a develop or feature branch


Bump boilerplate to v5.0.0

to enable https://github.com/openshift/configuration-anomaly-detection/pull/271

/close needs to be done with #271


Modal protected override void OnInitialized()  inconsistent after showing Modal

I am trying to create a dynamic modal
Debugger shows this is called every time. And the Modal is shown every time. But the protected override void OnInitialized() is not being called every time, only sometimes. What would cause that? I would expect it to be called every time I use await modal.ShowAsync, is that not right?
The code to show the modal is
await modal.ShowAsync(title: "Student Details", parameters: parameters);
and in the EditStudent.Razor I have the
protected override void OnInitialized(){}
But it is only being called on first time. After that the Initialized is never updated. I have checked all the parameters and they are being applied correctly, just the OnInitialized not being called after first use. Any guidance would be appreciated. Not sure if it is a bug or on my end.

Seems if I add
private async Task OnModalHidingAsync()
{
await modal.HideAsync();
}
It fixes the issue and OnInitialized is called every time after closing and opening the Modal. Not sure if that is by design to have to do that, but it works for me.

@pishah Can you share the sample code or GitHub repo with minimal steps for better understanding.

@pishah Thank you for using BlazorBoostrap. Modal's OnInitializedAsync will only be called the first time. If you call ShowAsync(...) a second time, OnInitialized will not be called because it is already initialized. This is Modal's internal implementation. What issue are you facing? You can update the parameters dynamically based on your requirements. If you see any issue with parameter assignment or anything else, please create a separate issue.


Timezones Could not be compiled [Bug]

Addon
Timezones
What happened?
An error was encountered while trying to load this plugin.
What Discord version do you have this issue on?
Stable
Logs
TypeError: Cannot read properties of undefined (reading 'default')
    at plugin (betterdiscord://plugins/Timezones.plugin.js:143:113)
    at eval (betterdiscord://plugins/Timezones.plugin.js:313:22)
    at eval (betterdiscord://plugins/Timezones.plugin.js:314:13)
    at eval (betterdiscord://plugins/Timezones.plugin.js:315:3)
    at N.requireAddon (betterdiscord/renderer.js:5:28601)
    at N.loadAddon (betterdiscord/renderer.js:5:6221)
    at N.loadAddon (betterdiscord/renderer.js:5:26269)
    at N.loadAllAddons (betterdiscord/renderer.js:5:9278)
    at N.initialize (betterdiscord/renderer.js:5:3093)
    at N.initialize (betterdiscord/renderer.js:5:25382)
    at Object.startup (betterdiscord/renderer.js:5:408589)

Code of Conduct

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

same happening here!

Same thing for me

Same

same

Same for this doggo.

same. +1

Happening here as well +1

same here

yeahh me too 😔

same here too

same here lmao

Same

is an update being worked on?

@TheCommieAxolotl

Just chiming in but having issues as well.

Fixed in https://github.com/TheCommieAxolotl/BetterDiscord-Stuff/commit/7fe997c2105bf265500fc6cf56e0bcaab504e7bf


Add intermediate HubConnection states in Java client

After looking at our locking and state transitions, we should add intermediate connection states Connecting and Disconnecting. This is for better handling potential races between starting and stopping a connection.
Context: https://github.com/aspnet/AspNetCore/pull/12078#issuecomment-511047445

Putting in preview 8 since this should help protect against potential races in the client.

Triage: We'll leave this in preview 8 but it's not a top priority. We have identified some races and knocked those down. Hardening this seems like a good 3.1 candidate.

Moving to backlog for 3.1

If we find specific bugs because of this, those are good candidates for 3.1. But just adding the intermediate states is for 5.0


Am I correct in thinking that there are no Code Tours currently?

Hello everyone, I've been looking over this project. Looking to see if this is a project that I'd like to contribute to. I learned of this project on both Dot Net Rocks and Runas Radio. (Hi @RichardCampbell!)
@codingbandit, I see that you've added a ApiTour.tour file to the project. Until I came across this, I'd never heard of CodeTour. I've installed the CodeTour VS Code extension. It looks to me that currently there are no tours yet. Am I correct?

Welcome @rfalanga ! Yes! we do have code tours. There is code tours for both UI and Api :) - find the UI code tours here: 2wr-app/code-tour/UITour.tour and the api code tours here: api/CodeTour/ApiTour.tour - if you open those in Visual Studio Code you can use your extension to go through the tours step by step ! Here is instructions on how to use the extension to get up to speed! https://marketplace.visualstudio.com/items?itemName=vsls-contrib.codetour#starting-tours

Welcome @rfalanga ! Yes! we do have code tours. There is code tours for both UI and Api :) - find the UI code tours here: 2wr-app/code-tour/UITour.tour and the api code tours here: api/CodeTour/ApiTour.tour - if you open those in Visual Studio Code you can use your extension to go through the tours step by step ! Here is instructions on how to use the extension to get up to speed! https://marketplace.visualstudio.com/items?itemName=vsls-contrib.codetour#starting-tours

You will also find readme documents in the root of both the UI and API folders with instructions on how to setup your environment

You will also find readme documents in the root of both the UI and API folders with instructions on how to setup your environment

Thank you very much!

Thank you very much!


remove table and make one view to select language and variant

I made small improvement to the UI as discussed in https://www.notion.so/agentaai/Endpoint-View-719f3b6ab26446678bb50087f29cdf1b?pvs=4
Old UI

Improved UI


feat: add docker and compose configs #64

Related Issue

Issue No. #64
Description
Implemented and configured the application containerization using Dockerfile and set up automation using compose for easier setup. Also the docs has been updated for the same.

Docker/Containers are the new standard for sharing development configuration as well as for easier deployment. It enables user to the share configuration between  dev, test and production environments easily.
Screenshots

@Sanchitbajaj02 Could you clarify what this Vercel check is and how it can be passed successfully?

You can ignore the vercel check as it deploy the changes you've made on vercel but you should have to pass the PR title checker


Bazel Build or-tools on Google Cloud VM

I am trying to run the following code to build the code on Google Cloud VM,
bazel build -c opt --cxxopt=-std=c++17 //examples/cpp:solve
I encountered the following errors.
/home/zhuyuting712/or-tools/ortools/pdlp/BUILD.bazel:330:11: Compiling ortools/pdlp/primal_dual_hybrid_gradient.cc failed: (Exit 1): gcc failed: error executing command
(cd /home/zhuyuting712/.cache/bazel/bazel_zhuyuting712/905693987ca429df71bd88b9e0121336/sandbox/linux-sandbox/855/execroot/com_google_ortools &&
exec env -
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/zhuyuting712/bin
PWD=/proc/self/cwd
/usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections -fdata-sections '-std=c++0x' -MD -MF bazel-out/k8-opt/bin/ortools/pdlp/objs/primal_dual_hybrid_gradient/primal_dual_hybrid_gradient.d '-frandom-seed=bazel-out/k8-opt/bin/ortools/pdlp/objs/primal_dual_hybrid_gradient/primal_dual_hybrid_gradient.o' -iquote . -iquote bazel-out/k8-opt/bin -iquote external/com_google_absl -iquote bazel-out/k8-opt/bin/external/com_google_absl -iquote external/com_google_protobuf -iquote bazel-out/k8-opt/bin/external/com_google_protobuf -iquote external/zlib -iquote bazel-out/k8-opt/bin/external/zlib -iquote external/eigen -iquote bazel-out/k8-opt/bin/external/eigen -isystem external/com_google_protobuf/src -isystem bazel-out/k8-opt/bin/external/com_google_protobuf/src -isystem external/zlib/zlib/include -isystem bazel-out/k8-opt/bin/external/zlib/zlib/include -isystem external/eigen -isystem bazel-out/k8-opt/bin/external/eigen '-std=c++17' -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE="redacted"' '-D__TIMESTAMP_="redacted"' '-D__TIME__="redacted"' -c ortools/pdlp/primal_dual_hybrid_gradient.cc -o bazel-out/k8-opt/bin/ortools/pdlp/_objs/primal_dual_hybrid_gradient/primal_dual_hybrid_gradient.o)
Configuration: 199fd8fc8c9c58cad850a0555a4a9abe5803fb71ad0b708aa7f36a7c4bd2c3e8
Execution platform: @local_config_platform//:host
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from ./ortools/glop/basis_representation.h:23:0,
from ./ortools/glop/revised_simplex.h:101,
from ./ortools/glop/preprocessor.h:31,
from ortools/pdlp/primal_dual_hybrid_gradient.cc:39:
./ortools/glop/rank_one_update.h: In member function 'void operations_research::glop::RankOneUpdateFactorization::RightSolve(operations_research::glop::DenseColumn*) const':
./ortools/glop/rank_one_update.h:195:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < end; ++i) {
^~~
./ortools/glop/rank_one_update.h: In member function 'void operations_research::glop::RankOneUpdateFactorization::RightSolveWithNonZeros(operations_research::glop::ScatteredColumn*) const':
./ortools/glop/rank_one_update.h:215:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < end; ++i) {
^~~
In file included from ./ortools/util/time_limit.h:34:0,
from ./ortools/glop/revised_simplex.h:119,
from ./ortools/glop/preprocessor.h:31,
from ortools/pdlp/primal_dual_hybrid_gradient.cc:39:
./ortools/util/running_stat.h: In member function 'void operations_research::RunningAverage::Add(int)':
./ortools/util/running_stat.h:116:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (values_.size() > window_size_) {
~~~^~
./ortools/util/running_stat.h: In member function 'bool operations_research::RunningAverage::IsWindowFull() const':
./ortools/util/running_stat.h:137:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return values_.size() == window_size_;
~^
ortools/pdlp/primal_dual_hybrid_gradient.cc: In function 'operations_research::pdlp::SolverResult operations_research::pdlp::{anonymous}::{anonymous}::ErrorSolverResult(operations_research::pdlp::TerminationReason, const string&)':
ortools/pdlp/primal_dual_hybrid_gradient.cc:1561:45: sorry, unimplemented: non-trivial designated initializers not supported
return SolverResult{.solve_log = error_log};
^
In file included from ./ortools/base/basictypes.h:20:0,
from ./ortools/base/hash.h:21,
from ./ortools/lp_data/lp_data.h:36,
from ./ortools/pdlp/primal_dual_hybrid_gradient.h:24,
from ortools/pdlp/primal_dual_hybrid_gradient.cc:14:
./ortools/base/logging.h: In instantiation of 'std::__cxx11::string* google::Check_NEImpl(const T1&, const T2&, const char*) [with T1 = long unsigned int; T2 = int; std::__cxx11::string = std::__cxx11::basic_string]':
./ortools/util/bitset.h:129:3:   required from here
./ortools/base/logging.h:638:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
DEFINE_CHECK_OP_IMPL(Check_NE, !=)  // Use CHECK(x == nullptr) instead.
^
./ortools/base/logging.h:99:53: note: in definition of macro 'GOOGLE_PREDICT_TRUE'
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
^
./ortools/base/logging.h:638:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL'
DEFINE_CHECK_OP_IMPL(Check_NE, !=)  // Use CHECK(x == nullptr) instead.
^
./ortools/base/logging.h: In instantiation of 'std::__cxx11::string* google::Check_NEImpl(const T1&, const T2&, const char*) [with T1 = unsigned int; T2 = int; std::__cxx11::string = std::__cxx11::basic_string]':
./ortools/util/bitset.h:184:3:   required from here
./ortools/base/logging.h:638:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
DEFINE_CHECK_OP_IMPL(Check_NE, !=)  // Use CHECK(x == nullptr) instead.
^
./ortools/base/logging.h:99:53: note: in definition of macro 'GOOGLE_PREDICT_TRUE'
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
^
./ortools/base/logging.h:638:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL'
DEFINE_CHECK_OP_IMPL(Check_NE, !=)  // Use CHECK(x == nullptr) instead.
^
./ortools/base/logging.h: In instantiation of 'std::__cxx11::string* google::Check_LEImpl(const T1&, const T2&, const char*) [with T1 = long unsigned int; T2 = int; std::__cxx11::string = std::__cxx11::basic_string]':
./ortools/util/bitset.h:287:3:   required from here
./ortools/base/logging.h:639:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
DEFINE_CHECK_OP_IMPL(Check_LE, <=)
^
./ortools/base/logging.h:99:53: note: in definition of macro 'GOOGLE_PREDICT_TRUE'
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
^
./ortools/base/logging.h:639:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL'
DEFINE_CHECK_OP_IMPL(Check_LE, <=)
^
./ortools/base/logging.h: In instantiation of 'std::__cxx11::string* google::Check_LEImpl(const T1&, const T2&, const char*) [with T1 = unsigned int; T2 = int; std::__cxx11::string = std::_cxx11::basic_string]':
./ortools/util/bitset.h:294:3:   required from here
./ortools/base/logging.h:639:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
DEFINE_CHECK_OP_IMPL(Check_LE, <=)
^
./ortools/base/logging.h:99:53: note: in definition of macro 'GOOGLE_PREDICT_TRUE'
#define GOOGLE_PREDICT_TRUE(x) (builtin_expect(!!(x), 1))
^
./ortools/base/logging.h:639:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL'
DEFINE_CHECK_OP_IMPL(Check_LE, <=)
^
In file included from ./ortools/util/time_limit.h:34:0,
from ./ortools/glop/revised_simplex.h:119,
from ./ortools/glop/preprocessor.h:31,
from ortools/pdlp/primal_dual_hybrid_gradient.cc:39:
./ortools/util/running_stat.h: In instantiation of 'void operations_research::RunningMax::Add(Number) [with Number = long int]':
./ortools/util/time_limit.h:570:70:   required from here
./ortools/util/running_stat.h:148:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (values.size() < window_size) {
./ortools/util/running_stat.h:172:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < values.size(); ++i) {
In file included from ./ortools/base/basictypes.h:20:0,
from ./ortools/base/hash.h:21,
from ./ortools/lp_data/lp_data.h:36,
from ./ortools/pdlp/primal_dual_hybrid_gradient.h:24,
from ortools/pdlp/primal_dual_hybrid_gradient.cc:14:
./ortools/base/logging.h: In instantiation of 'std::__cxx11::string* google::Check_EQImpl(const T1&, const T2&, const char*) [with T1 = long unsigned int; T2 = int; std::__cxx11::string = std::__cxx11::basic_string]':
./ortools/util/running_stat.h:158:3:   required from 'void operations_research::RunningMax::Add(Number) [with Number = long int]'
./ortools/util/time_limit.h:570:70:   required from here
./ortools/base/logging.h:637:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
==)  // Compilation error with CHECK_EQ(nullptr, x)?
^
./ortools/base/logging.h:99:53: note: in definition of macro 'GOOGLE_PREDICT_TRUE'
#define GOOGLE_PREDICT_TRUE(x) (__builtin_expect(!!(x), 1))
^
./ortools/base/logging.h:636:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL'
DEFINE_CHECK_OP_IMPL(Check_EQ,
^
ortools/pdlp/primal_dual_hybrid_gradient.cc: In function 'std::__cxx11::string operations_research::pdlp::{anonymous}::ToString(const operations_research::pdlp::ConvergenceInformation&, const operations_research::pdlp::RelativeConvergenceInformation&, operations_research::pdlp::OptimalityNorm)':
ortools/pdlp/primal_dual_hybrid_gradient.cc:129:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
ortools/pdlp/primal_dual_hybrid_gradient.cc: In function 'std::__cxx11::string operations_research::pdlp::{anonymous}::ToShortString(const operations_research::pdlp::ConvergenceInformation&, const operations_research::pdlp::RelativeConvergenceInformation&, operations_research::pdlp::OptimalityNorm)':
ortools/pdlp/primal_dual_hybrid_gradient.cc:155:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Target //examples/cpp:solve failed to build

which version of GCC ?

which version of or-tools ?

The version of or-tools is the latest. I just installed these two days. The version of GCC is 7.5.0.
Best,
Yuting
From: Laurent Perron @.>
Date: Sunday, October 23, 2022 at 4:20 PM
To: google/or-tools @.>
Cc: Yuting Zhu @.>, Author @.>
Subject: Re: [google/or-tools] Bazel Build or-tools on Google Cloud VM (Issue #3511)
which version of GCC ?
—
Reply to this email directly, view it on GitHubhttps://github.com/google/or-tools/issues/3511#issuecomment-1288048951, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYIDZP3NRSXJQHAATB33LWTWETYNHANCNFSM6AAAAAARME6LSA.
You are receiving this because you authored the thread.Message ID: @.***>

I believe you need 9 or above
Le dim. 23 oct. 2022, 14:29, zhuyuting712 @.***> a
écrit :

The version of or-tools is the latest. I just installed these two days.
The version of GCC is 7.5.0.
Best,
Yuting
From: Laurent Perron @.>
Date: Sunday, October 23, 2022 at 4:20 PM
To: google/or-tools @.>
Cc: Yuting Zhu @.>, Author @.>
Subject: Re: [google/or-tools] Bazel Build or-tools on Google Cloud VM
(Issue #3511)
which version of GCC ?
—
Reply to this email directly, view it on GitHub<
https://github.com/google/or-tools/issues/3511#issuecomment-1288048951>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/AYIDZP3NRSXJQHAATB33LWTWETYNHANCNFSM6AAAAAARME6LSA

.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/3511#issuecomment-1288101960,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3O2UXZYGNDOHUEICNTWEUVSXANCNFSM6AAAAAARME6LSA
.
You are receiving this because you commented.Message ID:
@.***>

My 2 cents,
Our current DCHECK() implem use references for arguments and it did not work well with nulltpr... On the contrary the new internal  implementation use a pass by value so when I export code from google3 to github we may have have tests which won't work (and need some patch/fixup).
I already see this kind of error, on my way to investigate !
BTW laurent is true, GCC 9 should be better to have a correct support for C++17 (e.g. STL filesystem)

My problem has been solved. Thank you!
From: Laurent Perron @.>
Date: Sunday, October 23, 2022 at 9:09 PM
To: google/or-tools @.>
Cc: Yuting Zhu @.>, Author @.>
Subject: Re: [google/or-tools] Bazel Build or-tools on Google Cloud VM (Issue #3511)
I believe you need 9 or above
Le dim. 23 oct. 2022, 14:29, zhuyuting712 @.***> a
écrit :

The version of or-tools is the latest. I just installed these two days.
The version of GCC is 7.5.0.
Best,
Yuting
From: Laurent Perron @.>
Date: Sunday, October 23, 2022 at 4:20 PM
To: google/or-tools @.>
Cc: Yuting Zhu @.>, Author @.>
Subject: Re: [google/or-tools] Bazel Build or-tools on Google Cloud VM
(Issue #3511)
which version of GCC ?
—
Reply to this email directly, view it on GitHub<
https://github.com/google/or-tools/issues/3511#issuecomment-1288048951>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/AYIDZP3NRSXJQHAATB33LWTWETYNHANCNFSM6AAAAAARME6LSA

.
You are receiving this because you authored the thread.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/3511#issuecomment-1288101960,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3O2UXZYGNDOHUEICNTWEUVSXANCNFSM6AAAAAARME6LSA
.
You are receiving this because you commented.Message ID:
@.***>

—
Reply to this email directly, view it on GitHubhttps://github.com/google/or-tools/issues/3511#issuecomment-1288109670, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYIDZP3SN3KYPDW3XS7KRR3WEU2INANCNFSM6AAAAAARME6LSA.
You are receiving this because you authored the thread.Message ID: @.***>


FAIL every time I run script

Aug 13 14:06:47 srsbsns monitorStaticFiles.sh[27121]: fluffy_set_max_user_watches fail
Aug 13 14:06:47 srsbsns monitorStaticFiles.sh[27121]: fluffy_set_max_queued_events fail

do I need to run with sudo?!

Ah, I may have forgotten to include this bit with an heads up in the Readme. Sorry about that.
sudo is required as these are privileged user actions along with certain others like opening a message queue.


Honda Bosch: Cruise faults with radar disabled

Describe the bug
To reproduce:

Install e2e_long branch
Set the DisableRadar_Allow  param to 1
Enable OP long (VOACC)
Attempt to engage a few times

It would usually fault on the second attempt to engage but not always. If you need more examples other than the route I provided I have a few.
What hardware does this issue affect?
comma three
Which car does this affect?
Honda Accord 2018
Provide a route where the issue occurs
3bac110059677809|2022-04-08--16-44-59--0
openpilot version
45c0ea754b6aa571a30de8a58a3070e757786c77
Additional info
No response

This happened to me as well. I have a 2019 Honda Accord 2019. Comma 3 as well running the latest version of e2e_long.

Here are the 3 segments from my related issue.
f1055ddb93ff2d3b|2022-04-12--17-30-13--4
f1055ddb93ff2d3b|2022-04-12--17-30-13--5
f1055ddb93ff2d3b|2022-04-12--17-30-13--6

Also happens in a 2017 CR-V.

Is this going to be fixed before 8.14 release? Does anyone have a recommendation for me to look at to fix this issue? This is an issue in master not just e2e_long to be clear.

So after the above merge request, there is now some new behavior to report. I can get OP to engage if I pressing on the gas pedal, engage, and then release the gas pedal. Every 2 or so engagements, I get a controls mismatch error while pressing the gas pedal, but then I am able to get it to engage immediately after while still pressing the gas. If I am not pressing the gas when I engage, it immediately cruise faults.

@redacid95 What commit did you get that behavior on? I tried cherry-picking the typo PR into the latest e2e_long and couldn't get any engagements without the mismatch.

@joelspiers15 this is happening on 0.8.14 not just e2e_long. I am on the latest master with this problem. I haven't tested e2e_long in months.

@redacid95 Tried on the latest master ( c677c6b164fc8e642ca75809213eca0678cf86ac ) as well which would show "waiting for controls to start" when I started the car with VOACC enabled. Maybe it's master 4 days ago I should try to get that behavior from.

@joelspiers15  oh no. Sounds like there might be a new issue happening. I haven't updated in about a week. I haven't used my C3 since this issue has started except to test fixes... VOACC is like the only reason why I use my comma.

Can confirm “waiting for controls to start”. Wasn’t like that a week ago. I’ll see if I can find what the cause is or submit an issue.

Found the controls start issue to be with commit #24311. Unrelated to this issue.

I fixed this issue by reverting panda commit
https://github.com/commaai/panda/commit/4acaebb62bbb5b7d77ef984b73ece6940cc1d28a


Website is broken again

Quill Website is broken again, likely as a result of the broken build reverted in #1373. Hopefully deploying 3.1.0 again will fix the issue.
@getquill/maintainers

Fixed via 3.1.0 release.


Record user choice in both old and new data format for compatibility

Summary
This PR adds a compatibility layer for migration of user choice format. In short, this PR:

does not change how requirement is computed
does not change how user choice that affects requirement computation is stored
instead, it only modifies the new format in user-overridden-requirement-choices in parallel.

With this setup, this diff can go into prod at any time. New user data can be recorded once we push, which gives us a lot of flexibility of when we want to run the migration script: run it after release to prod, then there will be no need to run the migration script in the future (since with this PR prod data will self-correct), we can replace the entire old choice infra with new choice infra.
Test Plan
After added MATH 4710 (won't change choice since it only connects to reqs that allow double counting), new user-overridden-requirement-choices appear in the DB:

Oh wait jk does it only generate when specific courses are added?

i know we cant test arbitraryOptIn rn
I was able to get a successful acknowledgedCheckerWarningOptIn by choosing from the add modal
How do I replicate an optOut?

Oh wait jk does it only generate when specific courses are added?

@hahnbeelee
Yes, this is triggered only when you are making a choice about requirement. i.e. when you are changing user-selectable-requirement-choices through the courseplan UI.

How do I replicate an optOut?

You can try to find a course that can satisfy two requirements (without checker warnings and do not allow double counting) at once.

I was able to replicate optOut by choosing "None" here :)


Bean implements multiple interfaces. How to inject only some of them?

There is a case:
interface Repo { interface RO {} interface RW: RO {} }
bean { RepoImpl() as Repo.RW}
class UserCaseA(val repoRW: Repo.RW)
bean {UseCaseA(get())} - Works
class UseCaseB(val repoRO: RepoRO)
bean {UseCaseB(get())} - Fails. It's clear why is fails.
But is there any simple way to get it's working?
The main point is to create and keep only ONE instance of RepoImpl().

Hello,
bean is a shortcut for provide keyword, but with restricted options. For more complete provided definitions, we must go back with provide. In your case, you should declare your bean with:
provide { RepoImpl() as Repo.RW } bind Repo.RO::class
This will allow binding on Repo.RW and Repo.RO

Thanks!


Added Perfect Number Unit Test

[x] Read the contribution guidelines
[x] Added unit tests (or unit tests have already been added)
[ ] Updated the Contents

Also, put a ✅ (by writing :white_check_mark:) in the Contents section to the right of the "Perfect number check"'s listing.

@aalawy Thanks a lot, and congratulations on your first open source contribution! 🎆


Identify Rocky and Alma

We had users reporting those distros got identified as RHEL or CentOS

@ydirson There are some issues with CI and Windows build need to be fixed, but I will try to fix all that next week.


Replace AnimationTiming with CurvedPerformance

Also, replace places that use the term "create performance" with
"create performance controller".

LGTM

if you think that's valuable?

I'd have to look at the code more closely to understand the trade-off.


"View on site" link in many admin change views causes server errors when clicked

Environment

Nautobot version (Docker tag too if applicable): 2.3.1
Python version: 3.11.5
Database platform, version:
Middleware(s):

Steps to Reproduce

Go to admin view (/admin)
Click on an section that uses the change_form.html template (e.g., Tokens, Users, File proxies, Job results, etc.)
Choose an individual item
Click the "View on site" link at the top right

Expected Behavior
I'm not sure what I expected, I just found the link and wanted to see what it did.

Observed Behavior
I clicked on a few different items and they all caused an error. I couldn't find what this link was supposed to link to.
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55, in inner
    response = get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/django/core/handlers/base.py", line 197, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/django/contrib/admin/sites.py", line 261, in wrapper
    return self.admin_view(view, cacheable)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/django/utils/decorators.py", line 134, in _wrapper_view
    response = view_func(request, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/django/views/decorators/cache.py", line 62, in _wrapper_view_func
    response = view_func(request, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/django/contrib/admin/sites.py", line 242, in inner
    return view(request, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/django/contrib/contenttypes/views.py", line 35, in shortcut
    absurl = get_absolute_url()
             ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/nautobot/core/models/__init__.py", line 88, in get_absolute_url
    raise AttributeError(f"Cannot find a URL for {self} ({self._meta.app_label}.{self._meta.model_name})")
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Exception Type: AttributeError at /admin/r/145/7d9a92ab-4750-40da-8654-f6cfa7b2efa2/
Exception Value: Cannot find a URL for admin (users.user)

There are some apps, such as ChatOps that do have admin-editable models that also have non-admin views, though I don't see any need for this link.


Add @scroll-timeline

Getting the ball rolling.

@argyleink asked if I have some tooling that would help with this PR, and the short answer is that http://mdn-bcd-collector.appspot.com/tests/api/CSSScrollTimelineRule is a test for this. But it sounds like this isn't enabled anywhere by default yet, and I can't find any docs on MDN or a BCD entry. Is someone working on that too? cc @jpmedley

what can I do to help this merge / move forward? 🙂

what can I do to help this merge / move forward? 🙂

@argyleink For support behind a flag the values should look like n d #1 (also note the space separation). I'd also suggest testing in other Chromium-based browsers as I imagine support there will be similar. Thanks!

@argyleink For support behind a flag the values should look like n d #1 (also note the space separation). I'd also suggest testing in other Chromium-based browsers as I imagine support there will be similar. Thanks!

Looking good, thank you! Have merged the PR. Will do further review shortly before it appears on the site.

Looking good, thank you! Have merged the PR. Will do further review shortly before it appears on the site.

Now available at https://caniuse.com/css-scroll-timeline

Now available at https://caniuse.com/css-scroll-timeline


Clean up and test prefix

Add comprehensive tests for prefix
Fix prefix detection method
Fix a couple bugs discovered during testing
Fixes #161

Coverage remained the same at 100.0% when pulling 982129be85239719baa78ed55d7930749bf47c14 on prefix-cleanup into 54af2e49d458c1c2dbfe00b3b9a56ec1d472d701 on master.

Coverage remained the same at 100.0% when pulling e9835d49d19358cff1f145988ed27eb0530ae28f on prefix-cleanup into 54af2e49d458c1c2dbfe00b3b9a56ec1d472d701 on master.

Coverage remained the same at 100.0% when pulling 48b31a7f17325ba61a17ccb9af3cd05d18dfa68f on prefix-cleanup into 54af2e49d458c1c2dbfe00b3b9a56ec1d472d701 on master.

Coverage remained the same at 100.0% when pulling 48b31a7f17325ba61a17ccb9af3cd05d18dfa68f on prefix-cleanup into 54af2e49d458c1c2dbfe00b3b9a56ec1d472d701 on master.

:shipit:


The Question about whether use FLOAT 16 or INT 8 when testing FPS.

In the tabular data mentioned in this paper, are the FPS of YOLO-RET model  all tested by FLOAT 16 quantification?You mentioned in your paper that "We also provide FPS values for TensorRT based INT8 optimizations, to provide a fair comparison against baseline models designed specifically for integer computations", do not understand what it means. Hope you can help me to solve my confusion,thanks!

Hi @cacheee
I can understand the confusion. All YOLO-ReT results in the paper are FP16 optimization with TensirRT. However certain baseline models like YOLONano were designed for INT8 optimization and thus we use the INT8 latency values of those baseline models to allow proper comparison. I hope that clarifies things

Therefore, FP16 of YOLO RET was compared with INT8 of YOLO NANO,right? I also want to ask, does FPS calculation only include network infer time, or also include post-processing and image input process?Does the size of the model refer to the quantized size of FP16?Thanks

Yes.
It includes all pre processing and post processing time too.
No. Original 32 bit model size for yolo-ret models. For the baseline models, the values were copied from respective papers

Thanks!You solved my problem very well.


Upgrade myuw-search Web Component to version 1.5.1

So the Travis CI build failed. I'm looking at this for the first time, but I think it is because the commit comments (or PR comments) don't follow the Conventional Commits standard. Are we intending to follow that standard or are we going to turn off that check?

https://github.com/uPortal-Project/uportal-app-framework/pull/958 would drop Conventional Commits. I think in practice Conventional Commits isn't worth the hassle and we should merge #958 .


No internet connection found

Hi,
After experimenting last weekend succesfully with kube-cluster (and kube-solo) I decided to demo kubernetes at work. Unfortunately both implementations complained about not being able to connect to the internet. I tried many possible ways of connecting to the internet (ethernet, wifi, vpn) but nothing helped.
Back at home, using my own wifi connection, everything seems to work again!
Is it true that kube-cluster and kube-solo only work with the internet connection used the first time? Can I configure this somewhere? Firewall rules?
Kind regards,
Peter

must be at work you have some firewall rules in place, as usually kube apps work fine with any unrestricted network.

We have the same issue. At work we are behind a proxy and

the UI is "not responding" since it tries to reach the update site.
the core-OS image is not starting since it checks for internet connection which is not given.

having proxy support would be highly appreciated.

It's quite a usual situation when you are working in corporate. Due to network policy all outbound connections must go through a corporate proxy. kube-cluster-osx, like all other dev oriented kubernetes projects does not work behind proxy. I've tried to add proxy variable to user-data, but this is not enough.

that's limitation of corectl tool , @AntonioMeireles is looking for a solution


regression: esp_hal::init() resets interrupts

Bug description

Since #2091, esp_hal::init() unconditionally disables all interrupts.
This broke our threading, as we set up the interrupt handler before, start threading, and then in a thread call esp_hal::init(). With #2091, this now disabled our scheduler interrupt again.
Resetting all interrupts might be actually acceptable behavior (probably most users call esp_hal::init() very early), but the PR#2091 decription only mentions an API rename, and the new behavior wasn't mentioned in the changelog.
(I'm slightly grumpy because we had to track this down but of course please don't read any blame. :wink:).
To Reproduce

...
...

Expected behavior

Environment

Target device: any xtensa
Crate name and version: esp-hal 0.21.1

Thanks, this will be fixed by https://github.com/esp-rs/esp-hal/pull/2377


time: since or time.Now().Sub(t) returns wrong when t is start date of the calender

What version of Go are you using (go version)?

$ go version
1.20.3

What did you expect to see?
I wanted to calculate the number of seconds that have passed since the start of the calendar.
fmt.Println(time.Now().UTC().Sub(time.Date(1, 1, 1, 0, 0, 0, 0, time.UTC)))

it returned the wrong answer.
2562047h47m16.854775807s

from the number of hours, we can calculate 292 years but we are in 2023 now.

it's unfortunate but int64 can only represent so much time at nanosecond resolution.


Need more detail information about 'What parts of the build get deleted'

If a build was linked to a work item, when this build is deleted, what will happen for this linked work item ? Will the link be removed?
Build record: You can choose to delete the entire build record or keep basic information about the build even after the build is deleted.
What are included in the 'Build record' ? Artifacts ?
Thanks.

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

ID: 43a285f9-738d-9f76-4de0-a4c4ecf6f5f5
Version Independent ID: 9581a043-4873-bf0a-138f-85f6a61ae950
Content: Build and release retention policies - Azure Pipelines
Content Source: docs/pipelines/policies/retention.md
Product: devops
GitHub Login: @andyjlewis
Microsoft Alias: alewis

Thank you for reporting this issue. I'm sorry for the long delay in response. I was out of the office for a long period of time earlier this year.

@thinkriver, thanks for the feedback. I've updated the documentation and will be live by tomorrow. What version of TFS/Azure DevOps are you using?

I'll be closing this issue for now. Feel free to open a new issue if you need more clarification :)


Findings from the Finnish pilot to be solved

Password complexity requirement Help Text missing.
Scrolling is not fluent. People appear bored while scrolling, and forget what they were doing. Seen anecdotally on Mozilla both in Mac and Android. Not on all browsers.
Users cannot intuitively find annotation. The mouseover activation is not familiar to all users. Maybe Replace mouseover with clicking the chapter?
Submit registration -button cannot be seen with a Windows Mobile phone with IE10.
Annotation is not saved with an enter-button.
Android 4.1.2 default browser would not respond when pressing the mobile menu-button.
When editing a comment, the button says “Edit” instead of “Save”.
When user adds a keyword, system announces “Keywords saved”, but when viewing keywords in keyword list, they are not visible. This suggests Notification Engine does not have keywords to consume, and cannot deliver value for the user.
Registration was caught by Hotmail spam filter.

@jaakkokorhonen

Password complexity requirement Help Text missing.

There's no password complexity check built into DOS; that would be additional development. Validation mechanisms are there, just not the complexity check.

Scrolling is not fluent. People appear bored while scrolling, and forget what they were doing. Seen anecdotally on Mozilla both in Mac and Android. Not on all browsers.

Performance depends a lot on the device/browser combination. I've seen this happen sometimes when there's a lot of participation in one topic; again it depends on the user stack.

Users cannot intuitively find annotation. The mouseover activation is not familiar to all users. Maybe Replace mouseover with clicking the chapter?

Aesthetics; a simple CSS intervention should do the trick.

Submit registration -button cannot be seen with a Windows Mobile phone with IE10.

I'm at a loss there; it probably has to do with some browser characteristic not being fully compatible with webkit; we never had windows phones to try DOS on.

Annotation is not saved with an enter-button.

Neither is commenting or replying; we aim to keep the same UX for all content inputs.

Android 4.1.2 default browser would not respond when pressing the mobile menu-button.

Yeah, Android default browsers are usually really lacking on modern web compatibilities; we know a lot of stuff doesn't work on Android default browsers. Probably why most Android users get Chrome. We don't have plans on providing support for that since every Android version seem to change their web-compatibility strategy.

When editing a comment, the button says “Edit” instead of “Save”.

Yes, that's by design. If you want to change it it's on the language file.

When user adds a keyword, system announces “Keywords saved”, but when viewing keywords in keyword list, they are not visible. This suggests Notification Engine does not have keywords to consume, and cannot deliver value for the user.

It works for me, and Francesca reportedly tested it and worked for her as well, so I'm not sure what you mean with this. Notifier does work only for existing system tags, not for any given string.

Registration was caught by Hotmail spam filter.
Sometimes happens; free mandrill tiers can do that. Using a paid account may solve this. Then again, it has a lot to do with the mail provider.

Well, Validation mechanism help text is missing. how to add? No point making every user guess the validation requirement, right?

Ok if scrolling is a node client performance issue, let's avoid scrolling. Do we know if this is for all node apps?

Maybe change the save-link to a save-button. Shouldn't be too hard, we'll have a look.

Let's try edit-change and see if they get it. Still a bit funny if it needs to be same text.

There are thousands of potential keywords when reading Decisions API data. Should we insert them all in forehand? Where are the instructions for this?

We'll see if there is window to change outgoing email to a @okf.fi address.

Well, Validation mechanism help text is missing. how to add? No point making every user guess the validation requirement, right?

I guess a simple validator in the form with a regex for the validation strategy should do the trick.

Ok if scrolling is a node client performance issue, let's avoid scrolling. Do we know if this is for all node apps?

It's not a node issue, its a client-side, javascript performance issue. Older devices and browser can get skippy on this.

There are thousands of potential keywords when reading Decisions API data. Should we insert them all in forehand? Where are the instructions for this?

It's by creating tags, which you have done already from /admin.

We'll see if there is window to change outgoing email to a @okf.fi address.

The outgoing email address is a notifier env variable: MANDRILL_FROM_EMAIL

it will not be feasible to insert thousands of keywords by hand. any better ideas?

Make a json dump of all available keywords and a script to load them in the tags collection in the DCENT database; always respecting the format that tags already have. This is all explained in the wiki

Great. We'll have a shot at these with @haphut.


I have no custom sky

Please help my sky is default here is the pack im using https://www.mediafire.com/file/4box7odtzfz0nql/%25C2%25A74Spawnplayer_%25C2%25A7bMashup_%25C2%25A7oRemake.zip/file

Unable to find/read namespaced identifier: minecraft:mcpatcher/sky/world0/sky2.png
Unable to find/read namespaced identifier: minecraft:mcpatcher/sky/world0/starfield03.png


nbdev_prepare TypeError exception when parsing pycaret import

not 100% sure this is due to nbdev.
With this simple cell:
#| export
from pycaret.regression import RegressionExperiment

nbdev_prepare or nbdev_docs fails with the folowwing stacktrace:
(pycaret_nbdev) explore@explore-ThinkPad-P53:~/git/guillaume/pycaret_nbdev$ nbdev_prepare
TypeError in /home/explore/git/guillaume/pycaret_nbdev/nbs/index.ipynb:
===========================================================================

While Executing Cell #2:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Input In [1], in <cell line: 1>()
----> 1 from pycaret_nbdev.core import *

File ~/git/guillaume/pycaret_nbdev/pycaret_nbdev/core.py:7, in <module>
      4 __all__ = ['foo']
      6 # %% ../nbs/00_core.ipynb 3
----> 7 from pycaret.regression import RegressionExperiment
      9 # %% ../nbs/00_core.ipynb 4
     10 def foo(): pass

[....]

File ~/miniconda3/envs/pycaret_nbdev/lib/python3.9/site-packages/IPython/core/magics/pylab.py:99, in PylabMagics.matplotlib(self, line)
     97     print("Available matplotlib backends: %s" % backends_list)
     98 else:
---> 99     gui, backend = self.shell.enable_matplotlib(args.gui.lower() if isinstance(args.gui, str) else args.gui)
    100     self._show_matplotlib_backend(args.gui, backend)

TypeError: enable_matplotlib() takes 1 positional argument but 2 were given

nbdev Tests Failed On The Following Notebooks:
==================================================
        00_core.ipynb
        index.ipynb

it looks like this call gui, backend = self.shell.enable_matplotlib(args.gui.lower() if isinstance(args.gui, str) else args.gui)
is analysed as providing 2 arguments (due to ','?)
I have setup a minimalist repo to illustrate:
https://github.com/castorfou/pycaret_nbdev
Just a plain new repo with nbdev_new and just added this pycaret import into 00_core.ipynb
As a workaround, I have tried with skip_exec: true in frontmatter. It works locally but not in CI/D (using gitlab not gh)

I think this is caused by an upstream issue tracked in https://github.com/fastai/execnb/issues/42. That should be fixed by https://github.com/fastai/execnb/pull/43.

I'll close this in the meantime and reopen if needed.

@jph00 could we please get an execnb release for https://github.com/fastai/execnb/pull/43?

@jph00 could we please get an execnb release for fastai/execnb#43?

Absolutely! :)


Deprecation warning over invalid escape sequences

Using raw string or escaping it would fix it.

./setup.py:299: DeprecationWarning: invalid escape sequence \d
  if result != 'master' and not re.match('^v\d+$', result):

#690 has been merged so this issue can be closed, I believe.

Closing. Thanks.


chore: release main

:robot: I have created a release beep boop
logger: 2.2.1
2.2.1 (2023-05-04)
Bug Fixes

bump @ungap/structured-clone from 1.0.2 to 1.2.0 (e9115b0)
bump pino from 8.12.0 to 8.12.1 (2dcafdd)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Financial-Times/dotcom-reliability-kit/releases/tag/logger-v2.2.1 :sunflower:


docs: skip changelog check for docs-only PRs

Recently we've had a few contributors submit docs-only PRs and go through the trouble of submitting a newsfragment.
This PR adds the ability for PRs with docs: as the start of the title to skip the changelog check. IMO this is a nice ergonomics improvement for non-maintainers because they cannot apply the CI-skip-changelog label.

Seems like this needs an #[allow(invalid_from_utf8)] on the unicode_decode_error test case.


✨ feat: Support for enabling the blog module in the website

add top folder blog
the sample blog in blog/2024-12-18-support-blog-post/index.md
by default, blogs sorted by time.

Does the blog support multiple languages?

Does the blog support multiple languages?

Yes. Open the PR Preview https://deploy-preview-17--project-hami.netlify.app/
switch Language, and you will see the chinese version.

/lgtm
The preview looks good.

/lgtm


Update active-directory-b2c-how-to-enable-billing.md

Found one typo - "tenent" instead of "tenant."

#sign-off


Feat -> Meetup Detail Page -> Desktop And Mobile Design Implementation -> Static Page

Desktop Design
Mobile Design -1
Mobile Design -2

I'd love to take this up ✋🏼

Hey @VinitSarvade any update on this?

I'd like to take this up

@Neha Can you tell me which desktop and mobile pages need to be created?
ex: Desktop - 17, 18
Android - 11, 12

?

@Ritesh0888 I would request you to write meaningful messages and have patience. I am away for a week for office work. I will respond once I will be back.

I just ask which pages need to be created

Ok mam

@Neha Can you tell me which desktop and mobile pages need to be created? ex: Desktop - 17, 18 Android - 11, 12

I didn't understood your question for desktop and android. Are you refering figma? or you want to know the resolutions?

Hi @Neha @ekas
I have created Meetups detail page. Please check this PR https://github.com/jslovers/jslovers-official-website/pull/99
Thanks!!


Warning: Failed prop type: Invalid prop children

I am facing the following warning when using "@react-keycloak/web" version "^1.0.5"
index.js:1 Warning: Failed prop type: Invalid prop `children` of type `array` supplied to `KeycloakProvider`, expected a single ReactElement.
    in KeycloakProvider (at App.js:15)
    in App (at src/index.js:7)

Here is my code
import React from 'react'
import { BrowserRouter as Router, Route } from 'react-router-dom'
import { KeycloakProvider } from '@react-keycloak/web'
import Keycloak from 'keycloak-js'
import Navbar from './components/misc/Navbar'
import Home from './components/home/Home'
import Movie from './components/movie/Movie'
import MovieWizard from './components/wizard/MovieWizard'

const keycloak = Keycloak('/keycloak.json', { onLoad: 'login-required', promiseType: 'native' })

function App() {
  return (
    <Router>
      <KeycloakProvider keycloak={keycloak}>
        <Navbar />
        <Route path='/' exact component={Home} />
        <Route path='/home' exact component={Home} />
        <Route path='/movies' exact component={Movie} />
        <Route path='/wizard' exact component={MovieWizard} />
      </KeycloakProvider>
    </Router>
  )
}

export default App

Hi @ivangfr ,
Thanks for your feedback, the warning being thrown is related to the fact that the KeycloakProvider component actually expects a single child component and not multiple ones since it is meant to be the outer-most component in the tree.
To fix it, just swap the position of Router and KeycloakProvider in the components tree, like this
...
function App() {
  return (
    <KeycloakProvider keycloak={keycloak}>
      <Router>
        <Navbar />
        <Route path='/' exact component={Home} />
        <Route path='/home' exact component={Home} />
        <Route path='/movies' exact component={Movie} />
        <Route path='/wizard' exact component={MovieWizard} />
      </Router>
    </KeycloakProvider>
  )
}
...

I hope this helps you.

Thanks @panz3r ! It worked!


Fuse.js for filtering

Instead of the custom filterItems fn, Fuse.js would be better. https://fusejs.io/
That is... if I know I want to find the term Collapse Sidebars I can usually just type something like col si into Fuse and it'll find the correct thing. Whereas with your custom filterItems fn, I'd have to type collapse si to get it over other Collapse ______ terms.

https://github.com/leeoniya/uFuzzy#a-biased-appraisal-of-similar-work


Sporadic freeze with getUserMedia

I have noticed a sporadic freeze when calling getUserMedia(). It happens rarely, but when it does, the app becomes completely frozen and getUserMedia never returns (in my case I'm using the promisified version, so I mean that then() or catch() are never called). Here's an example of the log where it worked for me:
iosrtc:getUserMedia [original constraints:] +5ms ~~~ {"audio":false,"video":{"width":{"min":640},"height":{"min":640},"frameRate":{"max":15},"deviceId":"com.apple.avfoundation.avcapturedevice.built-in_video:1"}}
iosrtc:getUserMedia [computed constraints:] +3ms ~~~ {"audio":false,"video":true,"videoDeviceId":"com.apple.avfoundation.avcapturedevice.built-in_video:1","videoMinWidth":640,"videoMinHeight":640,"videoMaxFrameRate":15}
iosrtc:getUserMedia getUserMedia() | success +177ms

Rarely, however, it will freeze before the final success log line is output (using same constraints as above). The app does not crash but appears totally frozen at that point.
Still working on finding a consistent repro.

Some more info here: Even when it doesn't freeze permanently, getUserMedia sometimes will temporarily freeze the safari event loop and block for several seconds before returning:
2017-03-13T14:44:02.163Z - iosrtc:getUserMedia [original constraints:{"audio":true,"video":true}] +4ms
2017-03-13T14:44:02.165Z - iosrtc:getUserMedia [computed constraints:{"audio":true,"video":true}] +2ms
2017-03-13T14:44:11.207Z - iosrtc:getUserMedia getUserMedia() | success **+9s**

Notice how even iosrtc recognizes that the call took 9 seconds.
Any ideas why this call would sometimes take so long? Also, even if it might be expected, is there a way to fix it so that it doesn't block the main thread? Big no no, obviously...
BTW, I can repro 100% on my side, but it's not a small enough test to share. I will continue to try to find a minimal repro, but if anyone has any suggestions for tests to do with my repro, let me know and I'll try...
Thank you.

I had the same problem and the way to not freeze the app when the userMedia was:

not making multiple call to the getUserMedia.
make the getUserMedia calls before or after a websocket events. In this case calls to the verto api (Freeswitch).
set the video parameters to: min width: 160; min height: 120; max width: 1920; max height: 1080.

I think the real issue was the getUserMedia inside websocket events but for now it's working.
Try it and see if it works.

Hmm... I'm definitely not making the calls directly in websocket events (always wrapped with timeouts if it happens at all), but I will play further...
Thanks for the suggestions! I will report back.

Ok, turns out the repro is exceedingly simple. Not sure how I didn't see it before. To repro the total freeze, just use the following self-contained page.  The second call to getUserMedia will freeze completely.
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
  </head>

  <body>
    <script>
    setTimeout(start, 2000);

    function start() {
      console.log('Starting....');

      window.top.cordova.plugins.iosrtc.debug.enable('iosrtc*');
      cordova.plugins.iosrtc.registerGlobals();

      getStream();

      function getStream() {
        //setTimeout(function() { // see notes re timeout
          console.log('Calling getUserMedia....');
          navigator.mediaDevices.getUserMedia({video:true, audio:true})
          .then(function(stream) {
            console.log('Success.');
            getStream();
          })
          .catch(function(e) {
              console.log('webrtcInit error - getUserMedia' + e);
          });
        //}, 1000);
      }
    }
    </script>
  </body>
</html>

Two important notes:

You'll notice a commented 1s timeout. If you uncomment this timeout, there is no more problem!

If you change the timeout from 1s to 500ms, getUserMedia blocks for ~9seconds but doesn't freeze forever. Weird!

I would be accepting of the timeout workaround, but the fact that it acts so weirdly depending on the timeout amount, leads me to believe that it's not 100% reliable. It would be great to at least understand what's going on here...

FWIW I've also seen this in React Native, seems like the native APIs are slow sometimes, specially when opening the camera more than once at a time.

@saghul If the native API can block sometimes (and this seems like a likely explanation), then iosrtc should be performing this operation in a worker thread, so as not to block the UI thread. Otherwise the required asynchronous nature of the webrtc call is broken...

then iosrtc should be performing this operation in a worker thread, so as not to block the UI thread.

Sure. I tried that in the past but did not get it working (but a crash instead).

@logidelic You can try to wrap the call here: https://github.com/eface2face/cordova-plugin-iosrtc/blob/master/src/iosrtcPlugin.swift#L819 with self.queue.async, not sure if there are limitations about what thread the capturer needs to be created though...

You can try to wrap the call [...] with self.queue.async

Oh, that's what I tried in the past, and that is what made the app crash :)
I know that, in that time I knew why, but now I cannot remember...

iosrtc:getUserMedia [original constraints:] +5ms ~~~ {"audio":false,"video":{"width":{"min":640},"height":{"min":640},"frameRate":{"max":15},"deviceId":"com.apple.avfoundation.avcapturedevice.built-in_video:1"}}
iosrtc:getUserMedia [computed constraints:] +3ms ~~~ {"audio":false,"video":true,"videoDeviceId":"com.apple.avfoundation.avcapturedevice.built-in_video:1","videoMinWidth":640,"videoMinHeight":640,"videoMaxFrameRate":15}
@logidelic  did you can switch the camera use the "videoDeviceId":"com.apple.avfoundation.avcapturedevice.built-in_video:0" on iOS?

@lvyibao Are you asking if I encountered the same issue with the other camera? I guess 0 is the front and 1 is the back? I was playing with the back camera in this case I believe...

@logidelic thanks, I can switch this,thanks.
ps:
com.apple.avfoundation.avcapturedevice.built-in_video:0: {label: "Back Camera", kind: "videoinput", deviceId: "com.apple.avfoundation.avcapturedevice.built-in_video:0", facing: "back"}
com.apple.avfoundation.avcapturedevice.built-in_video:1: {label: "Front Camera", kind: "videoinput", deviceId: "com.apple.avfoundation.avcapturedevice.built-in_video:1", facing: "front"}

I dont experience this on 5.0.0 after swift 4.2 changes.
You may re-open if you still experience the issue after release of 5.0.2


Allow setting message_size_limit

Currently this isn't in main.cf at all, and I'd like to allow slightly larger messages

I was able to fix this by adding override["postfix"]["main"]["message_size_limit"] = "20480000" to my attributes. Hadn't noticed the bit of the README that indicated the other settings were available, not just the ones with defaults


Weird wireframe behavior based on far away brush

So I just downloaded SabreCSG like half an hour ago and started playing around. It's been many years since I've used a level editor so it's kind of fun to relearn it.
Anyway I came across an odd issue, this is a screenshot of some mesh in a 'doorway'.

The black triangle is caused by overlapping faces from what I can surmise. This is the wireframe

The wall/corridor intersect is crated by having a large box with 2 smaller boxes. This is the entire end wall in wireframe

I was very confused by the circular wireframe until it struck me that it may be defined by a brush that's no where near it, and that turned out to be true.
In the following screenshot I've moved the camera back even further so it's as sort looking into the room it was inside before.

As you can see the circular wireframe makes sense for this doorway but for some reason the same structure is repeated on the next wall.
To clarify, I'm hollowing out a large cube to create an interior scene, this may be why it's acting out..?
Cause the same pattern is repeated on the wall at the very front of the cube as well even though that's it's even further away from the cyllindrical remove brush.

I'd be happy to upload the scene too if that's necessary.

Can you confirm which version of SabreCSG you're on and also if you have the CSG Model Optimize Geometry flag set

Certainly.
The changelog says 1.4.0, and so does the asset store.
However I really can't find the 'Model Optimize Geometry' flag.
I figured it would be on the "CSGModel" gameobject? This is all I see.

SabreCSG is now maintained on Github, you can download the latest version of it here

Ah, ok. I thought it was updated on the asset store too! :)


Get mons running any way possible

This PR is just to let everyone follow along as I try to get mons running. This
is never intended to be merged.
/hold

This PR was never meant to be merged and was only opened to allow people to follow my experimentation. I have opened #30 with some of the changes from this. There will be another change with the remaining changes.


Allow non-windows platforms (Mac and Linux)

Include shared libraries for other platforms
Detect 32-bit vs 64-bit python
Dynamically define function pointer callback type

I did some dewindowsificiation in revision 5b9279d18ee83caebef22ad77d6d7e46432bff52, but I have not tested on Mac nor Linux.

Hi! I am using on Ubuntu 14.04 and Python 2.7 and I've installed pyopenvr as instructed, but when I want to use it (import openvr), I get the following error:
Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "/usr/local/lib/python2.7/dist-packages/openvr/__init__.py", line 26, in <module>     _openvr = cdll.LoadLibrary(_openvr_lib_name)   File "/usr/lib/python2.7/ctypes/__init__.py", line 443, in LoadLibrary     return self._dlltype(name)   File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__     self._handle = _dlopen(self._name, mode) OSError: openvr_api_64: cannot open shared object file: No such file or directory
I tried adding appropriate paths where the libraries are to the PYTHONPATH and even changing the .so name so it matches openvr_api_64.so, but it still doesn't work.

Correct me if I'm wrong, but I think regular OpenVR might not be working on linux at the moment https://github.com/ValveSoftware/openvr/issues/213
If OpenVR is not working on linux, pyopenvr won't work either.
Are you able to run SteamVR on linux?

Yeah, it was pretty much a hassle to make it work, but this guide explains it well: http://www.vronlinux.com/articles/adventures-with-openvr-and-the-vive-on-linux.8
The Steam and SteamVR are installed and even though SteamVR GUI doesn't run, OpenVR works, I manage to run the test examples as in the link.
So what are the shared object libraries that come with pyopenvr (libopenvr_api_64.so)? Also, could you please tell me what is this https://pypi.python.org/pypi/openvr exactly and how is it different from Valve's OpenVR

Could you maybe tell me where can I find this "openvr_api_64" shared object file?

Hello,
I managed to solve the problem.
Namely, the directory where the "libopenvr_api_64.so" shared libraries are located has to be added to the $LD_LIBRARY_PATH. This can be done by typing
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib/python2.7/dist-packages/openvr"
or adding it to the bottom of the ~/.bashrc file, if you're using bash.
Secondly, in order to be able to load the library using ctypes it has to be done as cdll.LoadLibrary("libopenvr_api_64.so"), i.e. using the .so extension.
I'll try to make a pull request on github.
Cheers!

Thank you @nemanja-rakicevic for submitting pull request #22, which fixes the loading of the openvr shared library on linux, in revision cbf17c296c66b49240abd8e8bab16d07a79fefe8
Now that you got the shared library to load, I wonder whether you also succeeded in using the OpenVR API from pyopenvr? These python bindings for the OpenVR API are still a work in progress, so there are probably function calls that I have not tested and debugged that might not function correctly, even on Windows, where I have focused all my testing. I appreciate your effort to get pyopenvr working on linux, and I hope you will continue to contribute to this project and to this issue thread.

No problem :)
I am looking into some basics to understand the API, starting with the test code from README.md
I had problems at first with the openvr.init(openvr.VRApplication_Scene) as it didn't recognise the HMD (HmdPresent error), but at one point it just started working, so I'm trying to figure it out now and test stuff.
If I find any problems I'll try to fix them and send updates on to the repository.

Unless I'm missing something, openvr seems to generate only a 32-bit .dylib library so as a result I'm getting the error below when I try to run the sample code in the README.md
Traceback (most recent call last):
File "test.py", line 3, in
import openvr
File "/usr/local/lib/python2.7/site-packages/openvr/init.py", line 35, in
raise ValueError("Libraries not available for this platform: " + platform.system())
ValueError: Libraries not available for this platform: Darwin

Bringing this up since I'm not able to navigate past related errors on x64 Ubuntu Linux 16.04 LTS.
I've sorted out getting pip3, setuptools to install the pyopenvr module successfully without error
in my case it's get installed with python 3.5 to /usr/local/lib/python3.5/dist-packages/openvr-1.0.602a0-py3.5.egg/openvr
I've added the LD_LIBRARY_PATH as mentioned in the above comment
${LD_LIBRARY_PATH}:/usr/local/lib/python3.5/dist-packages/openvr-1.0.602a0-py3.5.egg/openvr
another view confirming that the /usr/local/lib/python3.5/dist-packages/openvr-1.0.602a0- py3.5.egg/openvr/libopenvr_api_64.so file exists

and the following error when trying to use pyopenvr from within the triad wrapper module

Something obvious that i'm missing?

@eric-schleicher Here are some things you could try to help investigate this problem on your linux machine:

On the linux command line, type "ldd libopenvr_api_64.so", to reveal what libraries libopenvr depends on. Perhaps some secondary library is missing?
Try manually loading the library in python, perhaps using various setting for LD_LIBRARY_PATH

  python -i
  >>> import ctypes
  >>> lib1 = ctypes.CDLL('/usr/local/lib/python3.5/dist-packages/openvr-1.0.602a0- py3.5.egg/openvr/libopenvr_api_64.so')
  >>> lib2 = ctypes.CDLL('libopenvr_api_64.so')
  >>> ctypes.cdll.LoadLibrary('libopenvr_api_64.so')

Hi @cmbruns-hhmi, I'm using Ubuntu 16.04-LTS and have a trouble to use pyopenvr. When I ran openvr.init(openvr.VRApplication_Scene), I always get Segmentation fault (core dumped) like this.
$ python hello.py
OpenVR test program
Runtime is installed
Segmentation fault (core dumped)

Then, I followed the comment at https://github.com/cmbruns/pyopenvr/issues/5#issuecomment-293251146. The followings are the output I got.
$ ldd ~/venv/lib/python3.5/site-packages/openvr/libopenvr_api_64.so
    linux-vdso.so.1 =>  (0x00007ffdf225a000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4a16d0a000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f4a16b06000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f4a16783000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4a16566000)
    /lib64/ld-linux-x86-64.so.2 (0x000055815cae1000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4a1619c000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f4a15f85000)

$ python
Python 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ctypes
>>> lib1 = ctypes.CDLL('~/venv/lib/python3.5/site-packages/openvr/libopenvr_api_64.so')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.5/ctypes/__init__.py", line 347, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: ~/venv/lib/python3.5/site-packages/openvr/libopenvr_api_64.so: cannot open shared object file: No such file or directory

I'm not sure what is the next step to move forward. Does the above output mean I have all the
libraries but have some problems with the PATH?

I also ran export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/home/user-name/venv/lib/python3.5/site-packages/openvr/libopenvr_api_64.so", but the result was same: Segmentation fault (core dumped) when running openvr.init.

@kazoo-kmt Are other non-python openvr apps working for you on your linux
computer?
On Wed, Jun 21, 2017 at 8:47 PM, kazoo-kmt<EMAIL_ADDRESS>wrote:

I also ran export LD_LIBRARY_PATH="${LD_LIBRARY_
PATH}:/home/user-name/venv/lib/python3.5/site-packages/
openvr/libopenvr_api_64.so", but the result was same: Segmentation fault
(core dumped) when running openvr.init.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/cmbruns/pyopenvr/issues/5#issuecomment-310244255, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AChuaYVyF9LXjya-aCII6BeEhiTYR2p1ks5sGbmggaJpZM4IdC5W
.

I'm running StreamVR in my Linux as well.

"Segmentation fault" does not sound like a link error to me. Can you identify the exact line in hello.py that triggers the segmentation fault? Unfortunately I have not yet got steamvr working on linux here. So I can provide advice, but not actual debugging on linux at the moment.

It happened on the line15 vr_system = openvr.init(openvr.VRApplication_Scene). I got openvr.isRuntimeInstalled() working.

You should definitely use SteamVR. I was just checking to make sure that you got SteamVR itself working correctly.
As I said, I'm not able to debug linux at the moment. Are you able to write and run a C or C++ program that would make these same calls?

I have some progress. I made a mistake to set the path. I set export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/home/user-name/venv/lib/python3.5/site-packages/openvr/libopenvr_api_64.so" but this should be export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/home/user-name/venv/lib/python3.5/site-packages/openvr".
After modifying above, I got the following error.
>>> openvr.init(openvr.VRApplication_Scene)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/user-name/venv/lib/python3.5/site-packages/openvr/__init__.py", line 5042, in init
    initInternal(applicationType)
  File "/home/user-name/venv/lib/python3.5/site-packages/openvr/__init__.py", line 5146, in initInternal
    _checkInitError(error.value)
  File "/home/user-name/venv/lib/python3.5/site-packages/openvr/__init__.py", line 5028, in _checkInitError
    raise OpenVRError("%s (error number %d)" %(getVRInitErrorAsSymbol(error), error))
openvr.OpenVRError: b'VRInitError_Init_VRClientDLLNotFound' (error number 102)

At this point it's painful to use Linux, but it is working. Mac is no longer supported by Valve so Mac is probably off the list.


Change structure reading to filter on _PRED columns to align with python

Additionally, no sanitization is performed on the structure tags (again, matching current python behavior). In addition to aligning behavior this is also simpler and more robust, but if we should instead be doing it differently in python (or something different that needs to be done with the sample files) let me know and I can adjust accordingly.
What most directly prompted this patch was the csvs from the python pipeline now eg include float columns which this code was treating as a structure since it included a ..

@luxaritas I still have a bunch of files around with legacy tags.
Can you add an option legacy_tags to this function:

Fine to have it which defaults to 0.  (though a line at the top like if ~exist('legacy_tags','var') legacy_tags = 0; end;
But when provided as 1 reverts to old behavior?
By default if no tags with PRED are found, can we have the script output a warning to tell user to either include PRED in the .csv file or try legacy_tags = 1?

Makes sense - changed!


Checkboxes

Resolves #60

styling comments:

I would round the edges of the checkboxes to match consistency of fields
bordering them with white instead of filling them with white could look nicer? but take this one w a grain of salt
change the font to match the color of the font on the rest of the page
include some padding / margins - it's very close to the left side of the page
for the links, maybe we could bolden the text (font-palanquinbold) to make it more readable

last adjustments

I would include a subheader saying "Last Step!"
change the font to palanquin regular, embed the links into the words so for example "Have you read and understood the MLH Code of Conduct?
https://static.mlh.io/docs/mlh-code-of-conduct.pdf" it could instead be "Have you read and understood the MLH Code of Conduct?"
and you can still have the hyperlink as green & bold, but the rest of the body text can be palanquin req


WIP: Numpydoc renderer

Ref: #247
In trying to get this nice and well done it has become bigger than I envisioned but I think it will be worth it.
The main source of the "scope creep" has been need to come up with a systematic way of generating markdown for pandoc elements. The benefits are Renderers do less funky string manipulations and that uniform markup is generated. This is the reason for the pandoc sub-package modelled after module-pandoc that underpins the lua-filters and the pandoc types.
Relate to the above, I have noticed some kind of duplication/conflict in the interlinks module. I have not looked into it, but in the end this should be harmonised.
In trying to ensure that we create valid markdown markup, we should rethink the use of backticks for intermediate links created for the interlink filter. i.e. [title](`target`). As backticks are markup for code snippets, using them for a second purpose means that we create markup that may be confusing. An alternative is [title](:target:).
This gist has code that you may use to test out this PR.

Thanks for this heroic PR! The new pandoc submodule seems like a useful layer (I can see how it cleans up renderer code!). Let me know if / when I can be helpful!
Note that quartodoc uses syrupy for snapshot tests, which should allow you to check bigger renderer outputs. All these tests with the snapshot fixture use syrupy to test rendering different things!

Thanks for working on this--let me know if there's anything I can do to help with the plotnine docs (linking below so I can find easily). Happy to help!
https://github.com/has2k1/plotnine/pull/706
Once the plotnine docs are deployed, I'm happy to work on refactoring the renderer back into quartodoc. I think it might be a bit tricky because it inherits the base renderer (vs this commit, which used MdRenderer), but I don't mind spending time refactoring the common parts back into the base Renderer. This numpydoc renderer is a super great addition!

@has2k1 I'm on board with merging in the pandoc work, and then a separate PR for the renderer, if that's useful. (We can also modify the pandoc work in the later PR as needed).
WDYT? If you're able to add tests for the pandoc module (say in tests/test_pandoc.py), or something similar, then seems useful to get merged!

@has2k1 I'm on board with merging in the pandoc work, and then a separate PR for the renderer, if that's useful.

I will do that.

Now,this PR only adds the pandoc module.


Add nncf and openvino nightly for basic tests

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Slider not available on touch device

This is what I see on a touch device. We should either show the popup dialog or the slider but not both.

On a touch device, a slider would allow to avoid the soft keyboard to popup --> much better experience.

Fixed, we decided to show the slider on touch devices.