Use cc crate to build instead of make

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 57.14286% with 9 lines in your changes missing coverage. Please review.

Project coverage is 45.52%. Comparing base (b54976f) to head (c0b708f).
Report is 30 commits behind head on master.

Files with missing lines
Patch %
Lines

src/interpreter.rs
60.00%
8 Missing :warning:

src/backend.rs
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##           master       #7       +/-   ##
===========================================
+ Coverage   14.40%   45.52%   +31.11%
===========================================
  Files           8        9        +1
  Lines        1166     1241       +75
===========================================
+ Hits          168      565      +397
+ Misses        998      676      -322

Flag
Coverage Δ

unittests
45.52% <57.14%> (+31.11%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Tesseract4 version confirmation

Tesseract.zip
Please find the below link and confirm us is this "Tesseract version 4 " or below version 4
https://github.com/charlesw/tesseract/tree/feature/321-Tesseract-4
In source it is metioned as
TesseractVersion = "3.04.01";
Eg:
using Tesseract.Internal;
namespace Tesseract
{
///
/// The tesseract OCR engine.
///
public class TesseractEngine : DisposableBase
{
private const string TesseractVersion = "3.04.01";
private static readonly TraceSource trace = new TraceSource("Tesseract");

@zdenop  Please close this.


Unknown file extension ".css" with swiper

preview
https://stackblitz.com/edit/vitejs-vite-mpqpqd?file=src/App.vue
when i use vite-ssg plugin to build html
it return some error
(node:20) UnhandledPromiseRejectionWarning: TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".css" for /home/projects/vitejs-vite-mpqpqd/node_modules/swiper/swiper.min.css

uhmm, not a good example, but we can fix it: vite-ssg requires a lot of work, I have it working on local but will fail since you cannot mount the app on client side, preparing a vitesse repo with swiper on default layout.

preview https://stackblitz.com/edit/vitejs-vite-mpqpqd?file=src/App.vue
when i use vite-ssg plugin to build html
it return some error
(node:20) UnhandledPromiseRejectionWarning: TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".css" for /home/projects/vitejs-vite-mpqpqd/node_modules/swiper/swiper.min.css

The trick is to add a plugin to load the css, here the repo https://github.com/userquin/vite-ssg-swiper:

change import 'swiper/css' to import 'swiper.css' (import)
add vite plugin with enforce: 'pre' (plugin):

    {
      name: 'fix-swipper-css',
      enforce: 'pre',
      resolveId(id) {
        if (id === 'swiper.css') return 'fix-swiper.css'
      },
      async load(id) {
        if (id === 'fix-swiper.css') {
          return await fs.readFile(
            './node_modules/swiper/swiper.min.css',
            'utf-8',
          )
        }
      },
    },

https://streamable.com/g904qv

great idea !!
💯  it works :)
thank you very much!!!!
i feedback to swiper author this Issues..........
And then Closing as not related to Swiper hahaha 😭


Consider to change proxy software

I've been using this project to deliver Chevereto demos and while it works, it also gets very odd issues that I need to determine if is nginx related.
Some instances won't resolve (try with short subdomain, numbers only).

It stopped happening!


AttributeError: 'NoneType' object has no attribute 'encode' with load_file

Bug Report
Since v0.12.0 I seem to get this sort of backtrace when loading certain .pdf files:
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\py_pdf_parser\loaders.py", line 41, in load_file
    return load(in_file, pdf_file_path=path_to_file, la_params=la_params, **kwargs)
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\py_pdf_parser\loaders.py", line 75, in load
    for page in extract_pages(
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\pdfminer\high_level.py", line 197, in extract_pages
    for page in PDFPage.get_pages(
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\pdfminer\pdfpage.py", line 151, in get_pages
    doc = PDFDocument(parser, password=password, caching=caching)
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\pdfminer\pdfdocument.py", line 744, in __init__
    self._initialize_password(password)
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\pdfminer\pdfdocument.py", line 771, in _initialize_password
    handler = factory(docid, param, password)
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\pdfminer\pdfdocument.py", line 358, in __init__
    self.init()
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\pdfminer\pdfdocument.py", line 366, in init
    self.init_key()
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\pdfminer\pdfdocument.py", line 379, in init_key
    self.key = self.authenticate(self.password)
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\pdfminer\pdfdocument.py", line 428, in authenticate
    password_bytes = password.encode("latin1")
AttributeError: 'NoneType' object has no attribute 'encode'

Not sure why it only happens with certain files -- has to hit if "Encrypt" in trailer: in pdfdocument.py of pdfminer.six which only happens with certain files? -- but < v0.12.0 is fine. The problem seems to be with: password: str = None that was added in py_pdf_parser/loaders.py for load(...) as part of 02f92cef2905a9d05783f4cfbf90598e2e60236a. I guess this needs to be changed to password: str = "" to match what pdfminer.six has as its default (see pdfpage.py, get_pages) and then everything should be fine again.

to fix your trouble check this solution click
maybe this will solve your problem.


Some hyperintense T2 lesions are not labeled

sub-zh11_ses-01_sag-T2:

sub-zh11_ses-01_ax-T2:

In light of these observations, I'm thinking two avenues:

The 'missing' labels are a mistake and these hyperintense voxels should in fact be labeled. If this is the case, we should discuss with the collaborators who generated these labels to ask for some corrections of the labels.
The 'missing' labels are not a mistake, and the reason the hyperintense voxels were not labeled is due to particular context, which are missing here. We should discuss with the collaborators to understand better how labeling is done, so that we could incorporate prior contextual information that would help with model training.

I checked the images of this patient.

sagittal: the hyperintense voxels on top represent an anatomical structure at the border of the spinal cord (some other tissue). The problem here is that the top or bottom of the image is sometimes shifted laterally and we do not always see the midsagittal slice there but rather the edge of the spinal cord.
axial: these hyperintense voxels you highlighted are very likely caused by metal artefacts (screws and plates) and not by the lesion itself

@dpfyffer thank you very much for chipping in. I agree about your interpretation for the sagittal scan (but still, it makes it extremely challenging for an AI agent to distinguish a pathological hyperintense signal from a partial volume effect). That's something we should discuss.

axial: these hyperintense voxels you highlighted are very likely caused by metal artefacts (screws and plates) and not by the lesion itself

I'm not sure I agree, because a field offset (induced by metal hardware) would translate to rapid dephasing and hence lower (not higher) T2*w magnitude signal.

You are right, I need to double-check and have a closer look. In the meantime, is there any other example of inconsistence labeling that I could have a look at?

@naga-karthik will put together an exhaustive overview of all images with ground truth labels, so we can conveniently QC both the images and labels

I can imagine that it is really challenging for an AI agent to distinguish the lesion from other hyperintense signal areas, just based on the signal intensity.
Would it be helpful if we add some additional information, e.g. saying that the lesion does not expand further than one or two segments? You could then maybe use a more restrictive mask (not the whole cord, but only a part of it with regard to the cranio-caudal axis)?
That means that we would manually check and exclude very large lesions and also cases with more than one or diffuse cysts.

@dpfyffer Thank you for getting the discussion going! I am working on getting a visual inspection of all the subjects. I'll share it with you once it is ready (it will be before our meeting next week). I also wanted to follow up on one of your suggestions:

You could then maybe use a more restrictive mask (not the whole cord, but only a part of it with regard to the cranio-caudal axis)? That means that we would manually check and exclude very large lesions and also cases with more than one or diffuse cysts.

So the reason we were working with the whole cord is that the location of the lesions is also quite variable - some are near the top of the image, some are lower, etc. The restrictive mask, in that case, would have to be tailored depending upon the subject (so that only the lesion is in focus) which is not quite good for generalization purposes. However, I agree with your idea of excluding large lesions (I think there are 1-2 subjects like that), which could definitely help.

Yes, that's a great point indeed! I just checked and can confirm that we have the axial T2w scan for all the subjects.

@jcohenadad very good point! And yes, that should definitely be the case, the axial T2*w images should always cover the lesion.

@dpfyffer Referring to your comment above, I have prepared a presentation containing the images and labels for all the subjects. You can access it here. We went over the slides with our team and added comments wherever we had doubts, found some ambiguities, and highlighted potential sources of confusion for the ML model. We also tried categorizing the subjects according to their lesion sizes with the aim of using a simpler dataset to train our model. It would be great if you could please have a look at it at your convenience so that we can discuss this in our next meeting!

I was going through the updated dataset with more subjects and found an issue with one of the subjects (sub-zh56). It seems that there has been a mis-labeling in this case. I think that the lesion should be in the encircled red region (see the attached figures.

 sub-zh56_ses-01
 |

@dpfyffer Could you please confirm whether this is the case? Also, tagging @jcohenadad just to be aware of this latest finding.

Hi @naga-karthik ,
Yes, that definitely seems to be slightly shifted.
I will double check and give you an update asap.

@naga-karthik and @jcohenadad
I just corrected the labeling and updated the .zip folder on Google Drive.

thank you Dario, and thank you for carefully checking everything Nag
On Tue, Mar 22, 2022 at 5:06 AM dpfyffer @.***> wrote:

@naga-karthik https://github.com/naga-karthik and @jcohenadad
https://github.com/jcohenadad
I just corrected the labeling and updated the .zip folder on Google Drive.
—
Reply to this email directly, view it on GitHub
https://github.com/ivadomed/model_seg_sci/issues/15#issuecomment-1074907873,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAS57FYF3YO2REI3HJGMK2TVBGER7ANCNFSM5NJPH6SA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Julien Cohen-Adad, PhD
Canada Research Chair in Quantitative Magnetic Resonance Imaging
Associate Professor, Polytechnique Montreal
Associate Director, Functional Neuroimaging Unit, University of Montreal
Associate Member, Mila - Quebec AI Institute
Phone:<PHONE_NUMBER> (office: 2264)
Web: https://www.neuro.polymtl.ca/team/faculty/julien-cohen-adad

I suggest going through all ground truths (again)-- help with scripting: https://github.com/ivadomed/model_seg_ms_mp2rage/issues/56

@jcohenadad Just to make sure that we are on the same page, could you please confirm the following:

We (I and @kiristern) go through all the GTs and make modifications to those if necessary. These modifications will be stored in a new file with the suffix _lesion-manual_hard.nii.gz, and NOT replace the existing segmentation, right?
For the .json sidecars, we modify it by adding which of us edited the segmentation along with the original author.

We (I and @kiristern) go through all the GTs and make modifications to those if necessary. These modifications will be stored in a new file with the suffix _lesion-manual_hard.nii.gz, and NOT replace the existing segmentation, right?

No. Your segmentations will replace the current ones. Otherwise we will end up with two different segmentations, some good, and some incomplete, and new students working with the dataset in the future will be completely confused.

For the .json sidecars, we modify it by adding which of us edited the segmentation along with the original author.

yes. Concrete example:
"Bob Dylan" --> "Bob Dylan, Paul Simon"

@jcohenadad Here (GSlides) are some examples of corrections to the GT lesions that I have been doing. Note that I am regularly adding gifs to these slides so that document is being updated. I am only going over the 2nd half of the dataset and @kiristern is going over the 1st half.
Do we want to have such gifs for all the subjects? Annotating them and creating gifs out of them is taking a lot of time so please let me know if this should be repeated OR we should get an expert look at the final version of the dataset together with all the corrections !

Here (GSlides) are some examples of corrections to the GT lesions that I have been doing. Note that I am regularly adding gifs to these slides so that document is being updated. I am only going over the 2nd half of the dataset and @kiristern is going over the 1st half.

This is excellent! I've added some comments. We would need confirmation from @dpfyffer and Patrick Freund.

Do we want to have such gifs for all the subjects? Annotating them and creating gifs out of them is taking a lot of time so please let me know if this should be repeated OR we should get an expert look at the final version of the dataset together with all the corrections !

Good question. I would suggest to have an expert looking at the final version.

Thank you for going over the corrections, @jcohenadad !
Sounds good then, I will keep the screenshots just in case for the subsequent corrections (will not be creating the gifs) and let you know when we're done with the entire dataset.

Ahh I have been making gifs as well, indeed it is time consuming. I have finished my annotations but haven’t completed putting the slides with gifs

Simon Schading and I have gone through your annotations, @kiristern and @naga-karthik .
Great work @jcohenadad and team, thank you very much! We really appreciate your time-consuming work.
We carefully checked all corrections. Please find our comments here:
Comments_lesion_segm_corr_Schading_Pfyffer.docx

Simon Schading and I have gone through your annotations, @kiristern and @naga-karthik .
Great work @jcohenadad and team, thank you very much! We really appreciate your time-consuming work.
We carefully checked all corrections. Please find our comments here:
Comments_lesion_segm_corr_Schading_Pfyffer.docx

Thank you for the thorough check of all corrections, @dpfyffer and Simon Schading!
Based on the comments in the Word document, @naga-karthik and I corrected the lesions for problematic subjects. Here is the G Slides presentation with our corrections.
The second thing; Naga's original presentation did not list all subjects he corrected. Here is the updated G Slides presentation with all subjects.
Could you please take a look at the slides and tell us if further corrections are needed?

Sorry for my delayed response due to conference travel.
Great job, @valosekj and @naga-karthik !
I checked both G Slides and left my comments here:
Comments_lesion_segm_corr_Pfyffer_v2.docx

@dpfyffer Thank you very much for your comments! We went through all of them and fixed the lesion annotations.

After a few rounds manual correction and verification, all the lesions are labeled to the best of our knowledge, hence closing this issue


Add ability to turn off trace logging

CloudConfigurationManager always writes to Trace when loading settings. This can clutter trace logs, and it cannot be turned off... until now.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Hi @BrianMcBrayer, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.azure.com.

TTYL, AZPRBOT;

@BrianMcBrayer, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, AZPRBOT;

@azuresdkci test this please

Please re-target this to dev branch.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Hi @BrianMcBrayer, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, AZPRBOT;

@BrianMcBrayer, Please ignore my previous comment.

@hovsepm sure thing. Let me know if this needs to be reworked to fit your coding conventions. I tried to match it as best as I could.

@BrianMcBrayer thanks for your contribution. This changes will be available in the Microsoft.WindowsAzure.ConfigurationManager package starting from version 3.2.0.

@hovsepm You do realize that adding an optional parameter to a method in public API is a breaking change, right? It is when you start getting MissingMethodException in some cases

@DixonD-git I should overload the method then. I'll rework it.

Another thing is that using shared static property WriteToTrace makes method CloudConfigurationManager.GetSetting not thread-safe. Consider two calls to this method from different threads passing different values to outputResultsToTrace. In result, you can get random value in WriteToTrace because of concurrency.


Add method spoofing when submitting forms

By default, method spoofing is disabled in test cases. As a result, when trying to submit a form with a method other than GET or POST, you're gonna end up with a 405 response, and in my case, too much time lost in figuring out why.
This adds a setup method using an annotation, enabling method spoofing. I think it'll also prevent some future issues/laracasts posts from others wondering about this.

You need to sleep Jeffrey!


Use local calendar data

This PR follows on work done in #61
In order to avoid the processing of calendar data that resulted in data sync bugs this PR aims to use exported WebCal data directly in the templates.
Benefits

Calendar pages now fall within the native methodology of Hugo
There is no need to run a second script to update calendar code during development
Changes to calendar templates/data live reloads in development
There is less code complexity in the code
We have more control over the templates (calendar can be made wider than other pages)
Github can trigger rebuilds only when calendar data changes
Translations of the interface should be easier to implement

Drawbacks

There has not been optimisation since I do not know Hugo well enough to know how to do this

Deploying preview to https://xHain-hackspace-xhain-website-pr-62.surge.sh

Checked on the calendar and it looks super accurate. The bug I was aware of is also resolved. Relying on the jcal export from Nextcloud seems to be really elegant. Thanks for providing this approach.

Rerolled this PR and adjusted slightly in #63.


Mailgun

Hello,
I write to standart hesk possibility to send mail's via mailgun api, to protect real IP of my server.
Do you can merge this with mods ?
I modified inc/email_functions.inc.php and i can give you that file.
Cheers
Coinwall

If you would like to share the file with me, that's fine. Feel free to email it to me or upload the file as a GitHub Gist

Thanks for fast replay.
I send to you file via email.
Cheers


Client Allocation Request for: Guazi Dynamic

Client Allocation Questions
Core Information

Name: Guazi Dynamic
Website / Social Media: guazi.io
Region: Asia excl. Greater China
DataCap Requested: 5TiB
Addresses to be Notarized: f3qaipvxrz2gxexc7mcvjsxifmscfiw7c7zfhrmq76j5ee4hcbvg3gbtpea7wgz72kkjcjmwzhm5uo2onxyocq
Notary Requested: MasaakiNawatani

Hello, @MasaakiNawatani san,
We have previously applied for datacap before. Information on the general questions can be found here and here. Thank you!

@MasaakiNawatani bump.

Hi @Fatman13 , due to the ongoing re-election of Notaries, I have to wait for it to conclude in order to receive more DataCap Allocation from Root Key Holders. Once the re-election is done in about 2 weeks, I will message back here. Thank you.

@MasaakiNawatani Got it. Thank you for the update!

@github-actions how to reopen?

Hello, @MasaakiNawatani, do you know if we can still keep this open? Thank you!


Only clear the reset password token if the model has already been persisted

If a new user is created with a reset password token, the previous behavior would automatically clear the token even when it were desired for setting the password for the first time.

@josevalim, can you review this? Thank you.

Friendly ping: @carlosantoniodasilva @josevalim, can one of you review?

@stanhu can you please expand on your use case for this fix? When it makes sense to call send_reset_password_instructions with an unpersisted user?

@lucasmazza, this is the flow of events in GitLab:

Create new user.
Set the e-mail of new user.
Set the reset token so that user can change the password for the first time.
Save user.
Send an e-mail to the user with the password reset link.

The problem is that Devise insists on clearing the reset token since step 2 occurred, so the reset token is no longer valid.

It looks like others are running into this use case:
See: #3787, #3782, #3673

Thanks for the extended report, sounds like a reasonable fix to make :+1:.

:+1: for this.

Done!

@josevalim, can you take a look?

Why doesn't the HMAC just include the email address under the reset token HMAC when it's generated?
That way if the email doesn't match what was present when the token was generated, the calculated HMAC won't match the stored value and reset fails. We avoid all the logic around tracking the changes, and while it's probably still wise to clear the reset token when the email address is modified, it might not be strictly necessary.

@stanhu thanks! :heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:

@jjarmoc I guess it would make sense to use the email address on the token but I wonder if I guess we would have to deal with supporting the tokens that were generated without the email - but @josevalim might know better about this piece of the codebase.

Thaks, @lucasmazza! When will a new release for devise be available?

@stanhu I'll cut 3.5.3 later today.

@lucasmazza, thanks! Looking forward to 3.5.3.


Add Getting Started to README

README Update
Please add a getting started section to the README so folks know how to start with this project.

Added Getting Started section in README file.


CASSANDRA-18275 Harry model and in-JVM test for partition-restricted 2i queries

Moving back to https://github.com/apache/cassandra/pull/3044


Resizing text field glitch

I have this glitch when pressing Enter or erasing space on a text written in the Research Item text field and also on any card on the Idea Board. The following link has a video showing the problem.
Quoll version: 2.6.7
Java version: 1.8.0_131-b11
https://streamable.com/kiwye

Thanks for the video, it helps a lot and sorry for the delay in responding, I've been out of the country for a couple of weeks.  I thought I'd solved that problem in 2.6.7.  I'll have another look at it.
If you are interested in tinkering with the code yourself you can have a look at class: quollwriter/src/com/quollwriter/ui/TextArea.java which provides a wrapper around QTextEditor.


New package: Line6.Line6Monkey version 1.77; Fix package: ArobasMusic.GuitarPro.7

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree

Sorry for accidentally combining two unrelated commits in a single pull request.

I will rewrite my fork's history and  make new pull requests.


Update logs-to-metrics.md

Purpose of this pull request
This pull request is to add information about how to convert Logs to metrics for the flex data that is excluded from the default scope.
Select the type of change

[ ] Minor Changes - Typos, formatting, slight revisions
[x] Update Content - Revisions, updating sections
[ ] New Content - New features, sections, pages, tutorials
[ ] Site and Tools - .clabot, version updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

Ticket (if applicable)
Update Logs-to-Metrics doc

@JV0812, can this PR be published?


Error in python server "module 'gym.envs.box2d' has no attribute 'LunarLander'"

Did you do pip install gym[box2d]?

Understand/ but no time till
Write about results on next week
пт, 18 окт. 2019 г. в 21:34, Isaac Poulton<EMAIL_ADDRESS>
Did you do pip install gym[box2d]?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Omegastick/pytorch-cpp-rl/issues/17?email_source=notifications&email_token=AHKUU2MUWDONVYFATQMFUOLQPH6UJA5CNFSM4JCJ6LVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBVO4NA#issuecomment-543878708,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHKUU2N4RPDUAGRPWVQUQFLQPH6UJANCNFSM4JCJ6LVA
.

Understand/ but no time till Monday
Write about results on next week

works! )


Update audio-conferencing-subscription-dial-out.md

Adding more detailed information

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.


chore(vertexai): clean up chat example

Description
Change the chat example to use more idiomatic Go.
Checklist

[x] I have followed Contributing Guidelines from CONTRIBUTING.MD
[x] Tests pass:   go test -v ./.. (see Testing)
[x] Code formatted:   gofmt (see Formatting)
[x] Vetting pass:   go vet (see Formatting)
[ ] These samples need a new API enabled in testing projects to pass (let us know which ones)
[ ] These samples need a new/updated env vars in testing projects set to pass (let us know which ones)
[ ] This sample adds a new sample directory, and I updated the CODEOWNERS file with the codeowners for this sample
[ ] This sample adds a new Product API, and I updated the Blunderbuss issue/PR auto-assigner with the codeowners for this sample
[ x] Please merge this PR for me once it is approved

/cc @eliben

@muncus suggestions?


Maybe http3 related bug or not?

Try to use mbart50_m2m model and when I pass 1 000+ chars, sometimes it can be 1000, sometimes 3000, I got 504 error from my CF and next trace in logs:
[2022-06-08 11:22:59 +0000] [21] [ERROR] Exception in ASGI application
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/h11/_state.py", line 249, in _fire_event_triggered_transitions
    new_state = EVENT_TRIGGERED_TRANSITIONS[role][state][event_type]
KeyError: <class 'h11._events.ConnectionClosed'>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/uvicorn/protocols/http/httptools_impl.py", line 372, in run_asgi
    result = await app(self.scope, self.receive, self.send)
  File "/usr/local/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 75, in __call__
    return await self.app(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/fastapi/applications.py", line 269, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/applications.py", line 124, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/usr/local/lib/python3.8/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.8/site-packages/starlette/middleware/cors.py", line 84, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/exceptions.py", line 93, in __call__
    raise exc
  File "/usr/local/lib/python3.8/site-packages/starlette/exceptions.py", line 82, in __call__
    await self.app(scope, receive, sender)
  File "/usr/local/lib/python3.8/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
    raise e
  File "/usr/local/lib/python3.8/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/routing.py", line 670, in __call__
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/routing.py", line 266, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.8/site-packages/starlette/routing.py", line 65, in app
    response = await func(request)
  File "/usr/local/lib/python3.8/site-packages/fastapi/routing.py", line 227, in app
    raw_response = await run_endpoint_function(
  File "/usr/local/lib/python3.8/site-packages/fastapi/routing.py", line 160, in run_endpoint_function
    return await dependant.call(**values)
  File "/app/main.py", line 105, in translate_post
    return await translate(**data)
  File "/app/main.py", line 55, in translate
    x = await async_client.post(BACKEND_URL+'/translate', json=data, timeout=3600)
  File "/usr/local/lib/python3.8/site-packages/http3/client.py", line 392, in post
    return await self.request(
  File "/usr/local/lib/python3.8/site-packages/http3/client.py", line 541, in request
    response = await self.send(
  File "/usr/local/lib/python3.8/site-packages/http3/client.py", line 140, in send
    response = await self.send_handling_redirects(
  File "/usr/local/lib/python3.8/site-packages/http3/client.py", line 177, in send_handling_redirects
    response = await self.dispatch.send(
  File "/usr/local/lib/python3.8/site-packages/http3/dispatch/connection_pool.py", line 130, in send
    raise exc
  File "/usr/local/lib/python3.8/site-packages/http3/dispatch/connection_pool.py", line 120, in send
    response = await connection.send(
  File "/usr/local/lib/python3.8/site-packages/http3/dispatch/connection.py", line 59, in send
    response = await self.h11_connection.send(request, timeout=timeout)
  File "/usr/local/lib/python3.8/site-packages/http3/dispatch/http11.py", line 58, in send
    http_version, status_code, headers = await self._receive_response(timeout)
  File "/usr/local/lib/python3.8/site-packages/http3/dispatch/http11.py", line 130, in _receive_response
    event = await self._receive_event(timeout)
  File "/usr/local/lib/python3.8/site-packages/http3/dispatch/http11.py", line 161, in _receive_event
    event = self.h11_state.next_event()
  File "/usr/local/lib/python3.8/site-packages/h11/_connection.py", line 439, in next_event
    exc._reraise_as_remote_protocol_error()
  File "/usr/local/lib/python3.8/site-packages/h11/_util.py", line 72, in _reraise_as_remote_protocol_error
    raise self
  File "/usr/local/lib/python3.8/site-packages/h11/_connection.py", line 422, in next_event
    self._process_event(self.their_role, event)
  File "/usr/local/lib/python3.8/site-packages/h11/_connection.py", line 238, in _process_event
    self._cstate.process_event(role, type(event), server_switch_event)
  File "/usr/local/lib/python3.8/site-packages/h11/_state.py", line 238, in process_event
    self._fire_event_triggered_transitions(role, event_type)
  File "/usr/local/lib/python3.8/site-packages/h11/_state.py", line 251, in _fire_event_triggered_transitions
    raise LocalProtocolError(
h11._util.RemoteProtocolError: can't handle event type ConnectionClosed when role=SERVER and state=SEND_RESPONSE
[2022-06-08 11:22:59 +0000] [16] [WARNING] Worker with pid 160 was terminated due to signal 9
[2022-06-08 11:22:59 +0000] [962] [INFO] Booting worker with pid: 962
[2022-06-08 11:23:19 +0000] [962] [INFO] Started server process [962]
[2022-06-08 11:23:19 +0000] [962] [INFO] Waiting for application startup.
[2022-06-08 11:23:19 +0000] [962] [INFO] Application startup complete.

I found similar PR in another library - https://github.com/encode/httpx/issues/1478 and found that you also use http3 in requirements.
Can you help with this?

One more update - its happens when request executed more than one minute, is it limit for request in 1 minute? Default timeout should be 120 sec (https://github.com/UKPLab/EasyNMT/tree/main/docker#environment-variables)


refactor: rustc beta is stricter again wrt imports and unused code

Description
Some more unused code and duplicate imports detected by the beta
compiler.
Notes & open questions

Change checklist

[ ] Self-review.
[ ] Documentation updates if relevant.
[ ] Tests if relevant.

beta ci run: https://github.com/n0-computer/iroh/actions/runs/8686497011


[DE-554] serverId query param (GET/PUT /_admin/log/level)

Introduced in: v3.10.2
The GET /_admin/log/level and PUT /_admin/log/level endpoints support a new query parameter serverId, to forward log level get and set requests to a specific server.
This makes it easier to adjust the log levels in clusters because DB-Servers require JWT authentication whereas Coordinators also support authentication using usernames and passwords.
Introduced: https://github.com/arangodb/docs/pull/1209
Documentation: https://www.arangodb.com/docs/devel/release-notes-api-changes310.html#log-level-api

Codecov Report

Merging #262 (7a8e328) into main (8b09e07) will increase coverage by 0.36%.
The diff coverage is 91.37%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #262      +/-   ##
==========================================
+ Coverage   98.58%   98.95%   +0.36%
==========================================
  Files          26       26
  Lines        3899     3937      +38
==========================================
+ Hits         3844     3896      +52
+ Misses         55       41      -14

Impacted Files
Coverage Δ

arango/collection.py
98.48% <50.00%> (+2.00%)
:arrow_up:

arango/client.py
98.30% <75.00%> (-1.70%)
:arrow_down:

arango/database.py
99.59% <80.00%> (-0.28%)
:arrow_down:

arango/aql.py
95.04% <100.00%> (+0.04%)
:arrow_up:

arango/cursor.py
100.00% <100.00%> (ø)

arango/http.py
100.00% <100.00%> (ø)

@dothebart will also have to trouble you with a review on this PR when you get the chance


mgmt, local generation for Container Service - 2024-07-01

https://github.com/Azure/sdk-release-request/issues/5461

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
com.azure.resourcemanager:azure-resourcemanager-containerservice


time randomly skips forward

sometimes during game play time will seemingly skip forward 30 seconds
the camera shakes and the timer jumps by 30 seconds
it happens randomly and im unable to reproduce it consistently. it can also happen to cut scenes breaking them completely

For how long have you been playing the game at that point?

For how long have you been playing the game at that point?

like 10-15 minutes

What OS?

What OS?

linux
sorry for not including that in the original post

Might be fixed now.

yup hasn't happened again

This happened to me last night while playing on Steam Deck (Windows version through Proton). Randomly occurred on Combat Simulator Challenge 26.
Didn't lag or anything, it was seemingly random, time skipped and I got killed. After this, the hill kept respawning on the same corner. Not sure if crazy good RNG or just it breaking after the time skip. When this happened I maybe played 5 other challenges. Kept playing with no more issues.

The Windows version can freeze if the window is dragged. Not sure if that somehow happened through SteamOS magic or it's something different. Was it exactly at midnight by any chance?

Shouldn't be possible to drag it, I play with the fullscreen option and in gaming mode. It was past midnight.
It's too bad that I find these on a place where I can't record what just happened...

Just happened again while playing A51 Escape. After Jonathan broke the wall, I fell off the ramp and died. May be related to microstutters? This was once again on Proton / Steam Deck.

Something else's probably overflowing.


Add support for additinal prometheus metric types - not only gauge

Support for Counters was added already. Preparation was made to include Histograms, but this still needs more coding.

@ronensc is working to add Histograms (we already have counters and gauges)

support for histogram was added in PR #164


Delete unnecessary spaces

When copying from the web page, there is an unnecessary space after the code.

@changeworld : Thanks for your contribution! The author, @vhorne, has been notified to review your proposed change.

@changeworld @vhorne - We're in the process of pulling these commits to the private repo, so we can verify the content on staging. We'll post a new PR # shortly and then close this PR.


Supporting Dark Mode

Hello,
Thanks for your awesome repo.
I need to use this repo. to support Dark Mode. I tried to use it with AnimatedTabBarAppearance.shared but it is not working.
I also tried, Custom Behaviors as following:
NotificationCenter.default.addObserver(self, selector: #selector(updateTabBarItem), name:NSNotification.Name(rawValue: "ThemeUpdateNotification"), object: nil)

@objc func updateTabBarItem() {

        if UserDefaultsManager.shared.isNightMode {
            AnimatedTabBarAppearance.shared.backgroundColor = .red

        } else {
            AnimatedTabBarAppearance.shared.backgroundColor = .white
        }
 }

Can you please tell me how to do it?

Problem solved by installing it manually instead of using pod :(
Then, simply change this line:
tabBar.backgroundColor = AnimatedTabBarAppearance.shared.backgroundColor
With:
tabBar.theme_backgroundColor = ..
Icons are another story 💪🏼


Nice to have: Chat tab is kinda unnecessary since chats are only displayed if you are friends with someone. And the chat preview could also be easily added in the friend tab overview

due to time constraints im leaving it like that for now


provide automatic color generation from tokens

This patch generalizes assignment of colors from token names. I added a special module for that purpose and a bunch of unit tests (not that useful though as they are not branched in cabal).

Looks great, thanks! I'll test it right now and then upload to hackage.

Thanks. I fiddled a bit with the cycling routine and am not totally happy with the result. Feel free to change the numbers to provide sharper differentiation between colors.

I did a few corrections (fixed an indentation bug and introduced a more contrast default color scheme) and uploaded 0.2.5 to hackage. I immediately used the new feature on one of my logs and I must say that it really simplifies quite a few things that I was doing with scripts before. Thanks again!

You are welcomed!
I do not understand how this typo crept in though... Missing some unit tests I guess :-)


fix: make stkxprt staking respect and update global liquid staking cap

1. Overview
Replaced direct calls to stakingKeeper with a wrapper that does updates on global liquid stake accounting and checks the caps.

should we also add it to the rebalancing (i don't think so), auto compounding (yes)..

autocompounding uses k.LiquidDelegate already, so just handling the error better


chore(deps): Bump chromium-bidi to 0.5.12

0.5.12 (2024-02-29)
Features

implement storage.deleteCookies (#1915) (18d3d4f)

Bug Fixes

implement less flaky network module (#1871) (4ec8bad)
parse browser.RemoveUserContextParameters (#1905) (a50821b)

Not sure if this description is OK, or I have to wait for dependabot to pick this dependency up.


TypeScript server/chat formatter.js

Not sure why Travis got cancelled or how to kick it to build again, but I patched locally and ran the tests


Change color

how can i change the color of the interface? I didn't quite understand how it works.

See https://docs.filegator.io/development.html for project setup, and  https://docs.filegator.io/configuration/basic.html#frontend-tweaks for colors


Gridsome Build Symlink Issue

Summary
Would be nice if gridsome build process could process images which are referenced via symlink. Or any other resource for that matter.
Motivation
I've got a Laravel project with a /public directory where I store images. I didn't find a way to configure gridsome to use this directory to process my images. Therefore I have to copy them to to /static folder. Manually. Every single time. I've created a symlink in /static folder but gridsome build did crash with an error message: Error: EPERM: operation not permitted, symlink .... It would be really handy if gridsome could process symlinks. Btw, Laravel has a system for file uploads (images etc.) into a /storage folder which is symlinked to the (laravel's) /public folder by default.
Thank you.

One more comment on this. The reason I used a symlink is, I couldn't find any way to configure a way to pull the images from a different location than the /static folder. I had a quick skim through the gridsome source files and it looks to me that it is not possible at the moment to configure it.
So the problem here is not a symlink per se, it's rather the issue of not being able to configure where my assets are sitting, if elsewhere than /static folder.

Thank You!


Restic fails to read password file

Output of restic version
restic 0.16.5 compiled with go1.22.4 on linux/amd64
What backend/service did you use to store the repository?
Ceph rados gateway (s3)
Problem description / Steps to reproduce

I have a wrapper for running backups:
#!/bin/sh

#exec restic --password-command "pass show restic/workstation" \
exec restic -p /tmp/restic \
        -r s3:rgw-backup.home.heisenbug.com/workstation/restic "$@"

Note that it normally uses the output of pass to supply the password, but as I'm debugging and I want it to be identical in both environments I'm using a password file.
This works fine from machine A:
> restic-rgw snapshots
repository 42b59b1c opened (version 1)
ID        Time                 Host           Tags        Paths
----------------------------------------------------------------------
...

Machine A and machine B are running identical versions of restic.
On machine B, where I am trying to restore this backup, it does not work. After an extremely long delay I get:
Fatal: unable to open config file: Stat: Access Denied.
Is there a repository at the following location?
s3:rgw-backup.home.heisenbug.com/workstation/restic

I understand from https://github.com/restic/restic/issues/1671 that this is just a bad error message which means: something credentials-related happened.
Running strace reveals that the extremely long delay is due to it attempting to contact the AWS metadata service. Machine A does not do this.
strace also reveals that, unlike Machine A, Machine B never attempts to open /tmp/restic to read the password.
Adding -vv adds no additional logging. strace is the logging of last resort, and apart from telling me that restic seems to ignore the argument -p /tmp/restic on machine B but not machine A, I have nothing to go on.
Expected behavior

Honestly I'm expecting this issue to be environmental. Assuming that to be the case, I need restic to give me some logs. I need it to tell me why it is ignoring the -p /tmp/restic. I need it to log what it is doing so I don't need strace and google to determine that it's attempting to get credentials from AWS metadata.
Actual behavior

strace -f -eopenat -o /tmp/strace -- restic-rgw snapshots

I observe that the working machine reads /tmp/restic, but the non-working machine does not.
Do you have any idea what may have caused this?

I'm attempting to restore to a new machine, so any number of things could be different.  The new machine obviously doesn't have any stored state from previous restic invocations.
Did restic help you today? Did it make you happy in any way?

The underlying reason was that I hadn't put s3 credentials on the target machine, as opposed to the restic password.
My immediate issue is resolved, but the problem of a lack of logging and comprehensible error messages remains.

The slowness while selecting the S3 credentials is already by solved in restic 0.17.0 via https://github.com/restic/restic/issues/4707 . In your case it would now fail with no credentials found. Use '-o s3.unsafe-anonymous-auth=true' for anonymous authentication.

Let's track improving the error messages in https://github.com/restic/restic/issues/1671 .


Add a initial "splash" page on first login

We need to add a "splash" page so to speak upon first login to describe what the user should do.  It should include a description what Rancher is (Services and Infrastructure).  Perhaps include some buttons to add your first host.
Text to add:

Adding Your First Host

Before adding your first service or launching a container, you must add at least a single Linux host that supports Docker 1.6+ and be able to reach the Rancher server via HTTP.   Rancher supports adding Linux hosts in the form of a virtual or physical machine from any public cloud providers, privately hosted clouds, or even baremetal servers. Learn More
[Getting Started Add Host Button]

Adding your First Service

A service is simply a group of containers created from the same Docker image but extends Docker's "link" concept to leverage Rancher's lightweight distributed DNS service for service discovery.  A service also is also capable of leveraging other Rancher built-in services such as load balancers, health monitoring, upgrade support, and HA. Learn More
[Getting Started Add Service Button]

Build from machine - June 13th
-- requested he remove extra "also" in Service Get Started text
Verified fixed.


Bug: addition of stratification variables resets other selections (like range)

Bug: when I add a stratification variable, this resets the x-axis range graph parameters, so I have to go back to reset the range … this is annoying, and forces user to wait to reload again (doesn’t reset bin controls, which is good).
This is especially problematic when looking at large datasets like UMSP

Poss relevant to https://github.com/VEuPathDB/web-eda/issues/1338

Looks good!


Linux updates

Split Linux tutorial into smaller sections.   Shifted the discussion of pulling the tutorial materials into the introduction.

I made minor wording changes to the following files.

linux-compile-and-run.rst
linux-filesystem.rst
linux-intro.rst

There may be a missing exercise in linux-filesystem.rst. The exercise 6 references a copy of test.txt in the backups directory but we have not asked the students to copy the file there. Likewise, I think there is a missing list of shortcuts in lines 43 and 44 of linux-tip-tricks.rst.

Victors changes are good.  I addressed the issues raised by Victor: (1) I fixed the reference to the copy of test.txt and (2) I added the missing shortcuts.

I've pushed a few small changes, but this looks overall good to me. That said, I didn't work through the tutorial or proofread it carefully (I just checked that the general structure looked good, that links were working, that nothing looked out of place, etc.), so it might not be a bad idea to find someone (who isn't already involved in the student guide) to work through it in case they spot any issues in any of the steps, etc.
I don't think we have to block on this, though, so I'll go ahead and approve the PR and deploy the changes.

The updated tutorial should now be available at https://uchicago-cs.github.io/student-resource-guide/


Uncaught TypeError: Cannot read property 'null' of undefined

[Enter steps to reproduce below:]

Open typescript file (I used atom . in terminal to open the project folder)

errors keep getting generated even when close all
Atom Version: 1.8.0
System: Mac OS X 10.10.5
Thrown From: atom-typescript package, v9.0.0
Stack Trace
Uncaught TypeError: Cannot read property 'null' of undefined
At /Users/Dave/.atom/packages/atom-typescript/node_modules/react/lib/ReactMount.js:636

TypeError: Cannot read property 'null' of undefined
    at Object.ReactMount.findReactContainerForID (/Users/Dave/.atom/packages/atom-typescript/node_modules/react/lib/ReactMount.js:636:50)
    at findParent (/Users/Dave/.atom/packages/atom-typescript/node_modules/react/lib/ReactEventListener.js:39:30)
    at handleTopLevelImpl (/Users/Dave/.atom/packages/atom-typescript/node_modules/react/lib/ReactEventListener.js:74:16)
    at ReactDefaultBatchingStrategyTransaction.Mixin.perform (/Users/Dave/.atom/packages/atom-typescript/node_modules/react/lib/Transaction.js:134:20)
    at Object.ReactDefaultBatchingStrategy.batchedUpdates (/Users/Dave/.atom/packages/atom-typescript/node_modules/react/lib/ReactDefaultBatchingStrategy.js:66:19)
    at Object.batchedUpdates (/Users/Dave/.atom/packages/atom-typescript/node_modules/react/lib/ReactUpdates.js:110:20)
    at ReactEventListener.dispatchEvent (/Users/Dave/.atom/packages/atom-typescript/node_modules/react/lib/ReactEventListener.js:174:20)

Commands
     -1:50.8.0 editor:newline (atom-text-editor.editor.is-focused)
  2x -1:46.7.0 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
  5x -1:44.6.0 core:move-down (atom-text-editor.editor.is-focused.autocomplete-active)
     -1:43.6.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
  3x -1:40 core:backspace (atom-text-editor.editor.is-focused.autocomplete-active)
  2x -1:38.6.0 core:move-right (atom-text-editor.editor.is-focused.autocomplete-active)
     -1:36.7.0 core:save (atom-text-editor.editor.is-focused)
  2x -1:36.3.0 linter:lint (atom-text-editor.editor.is-focused)
  2x -0:19.6.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:18.2.0 core:save (atom-text-editor.editor.is-focused)
     -0:18 linter:lint (atom-text-editor.editor.is-focused)
  2x -0:03.7.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:01.9.0 core:save (atom-text-editor.editor.is-focused)
     -0:01.7.0 linter:lint (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "allowPendingPaneItems": false,
    "closeEmptyWindows": false,
    "disabledPackages": [
      "auto-update-packages",
      "symbols-view",
      "SFTP-deployment",
      "linter-scss-lint",
      "omnisharp-atom"
    ],
    "themes": [
      "one-dark-ui",
      "dracula-theme"
    ]
  }
}

Installed Packages
# User
atom-beautify, v0.29.9
atom-jshint, v2.0.0
atom-ternjs, v0.14.2
atom-typescript, v9.0.0
compare-files, v0.6.2
dracula-theme, v1.2.8
file-icons, v1.7.16
json-schema, v0.1.15
linter, v1.11.14
linter-csslint, v1.3.2
linter-htmlhint, v1.2.1
linter-jshint, v2.1.0
linter-less, v2.5.0
linter-xmllint, v1.3.5
minimap, v4.24.7
remote-sync, v4.1.2
tabs-to-spaces, v1.0.2
trailing-spaces, v0.3.2

# Dev
No dev packages

I am getting this same issue.  Would love to hear if there is a fix, but will be disabling typescript in atom for the time being.  Thanks in advance!

Strange - I thought typescript was all working fine on my machine apart from this issue, and updated it a few days ago to 10.1.5 (was 8.11.0) to see if that would resolve this issue, but no change.
Then read @RyanCCollins's note above and tried to uninstall, and got the same Failed to delete atom-typescript: Does not exist issue (see attached).

Re-installed with apm and I will see if that's resolved the Cannot read property 'null' of undefined issue (but it's intermittent, so may take a week or so before I'm sure).

I've since uninstalled (via rm -rf... but w/e) and reinstalled via apm at version 10.1.7 and haven't had an issue since.
It looked as though ownership was messed up on a few packages (typescript included) as atom couldn't update through the interface. Probably an ill-advised sudo apm install on my part some point in the past. Not sure if it contributed to the issue reported, but since updating it's all been rosy.


templateImage doesn't update

Take for example Mustafa's coinbase prices script. If you change it to cycle through the different prices, with their different icons. The icon doesn't update, even though you specify a different templateImage

seems like this is a duplicate of #717 - still a problem though

duplicate of #717 - but yes, it's annoying.


Creating Multiple Buttons - Different Content

I am struggling with creating multiple buttons in the same document and allowing each one to have its own content. Any ideas?

I have the same problem when using edit buttons in datatable.I want to popup a page filling row data when click the edit button in datatable and I don't know how to do it

I have this working locally, but it does not fuction very well (spontaniously?!) once behind a reverse proxy (nginx). Still tinkering...


Tests depend on Prometheus

So #103 is currently failing as we are depending on prometheus/prometheus for tests and a change broke the compatibility.
While for now the hack works, we ideally need to remove the dependency.
/cc @fabxc @brian-brazil

Closed in: https://github.com/prometheus/tsdb/pull/226


Stuttering and stalling with Gemini and G11

Sometimes for no apparent reason when attempting to track with Gemini the G11 mount will stutter violently, sometimes badly enough to induce motor stalls. This makes practical tracking impossible and is probably hard on the motors. There is no known reliable way to recover from this issue, including power cycling Gemini. Yet, somehow, the issue will then spontaneously vanish and smooth performance returns. This has happened on multiple occasions while testing the software indoors and as of 8 June 2018 has also cost us a 80-degree elevation ISS pass when it started happening just when the hybrid_track program was started up to track ISS.
Some ideas for what might be going on:

Our software (either point or track) is doing something wrong. Malformed commands, commanding erratic slew rates with high accelerations, long pauses between slew commands, etc.
Gemini firmware has a bug or has some behavior we don't understand. On 8 June while attempting to track ISS I tried to recover from this problem by power-cycling Gemini and that did not seem to help which should rule out some classes of bugs.
Gemini software/firmware is fighting our software for control of the slew rate. It is not entirely clear to me how we know what is in control of the slew rate at any given moment. For example, if we leave the tracking mode as "sidereal," does that mean Gemini is going to periodically try to override our divisor commands?

Things that have been ruled out:

Errant detections in the guidescope camera. This behavior has been observed when using blind_track, when the camera is not involved at all.
Hardware problem, such as damage to the servo motors, gears, or wiring. This almost certainly is not the case because when the mount is symptomatic, the problem vanishes when performing a goto using the hand controller. The problem also goes away when slewing in the problem direction after going back the other way and then returning.
Hardware dynamics (gears too loose or too tight, not lubricated properly, unbalanced load). This seems unlikely based on the symptoms unless something really counter-intuitive is going on, like lubrication being redistributed after moving one direction in RA and thereby reducing friction on subsequent passes of that part of the gear. I took pains to test on 9 June with very minimal load on the RA axis. Inspection of the worm did not reveal anything concerning. The drivetrain upstream of the worm is fully exonerated because it turns multiple full revolutions with the issue and without the issue.
Errant detection of RA axis limit. I enabled debug messages in the gamepad program and did not see any evidence that the axis limit was tripped when it should not have been.

As part of the resolution of this issue, it might be prudent to detect and handle motor stalls (if possible). When Gemini detects a motor stall the following things seem to happen:

Motion on that axis stops (not sure about other axis)
Beep sound
Get NACKs on UDP interface for some stupid reason
Track program is unaware and keeps trying to command potentially high slew rates which causes further motor stalls

The appropriate response is probably to reset the loop filter integrator on the affected axis to 0 to sync up with the fact that motion on the axis has stopped. This will hopefully allow that axis to accelerate smoothly back up to full rate without causing further stalls.

Some observations based on testing on 9 June:

Both today and on the 8th, I have only observed the problem affecting the RA axis. The DEC axis seems unaffected.
The problem only seems to affect the RA axis when moving in one direction but not the other. The problem direction is when the RA axis is moving clockwise as seen when standing on the north side of the mount. This is the same direction the mount moves to track sidereal motion.
The stuttering seems to occur at all slew rates.
The stutter seems to disappear after traversing a certain span of physical position the first time. In other words, after slewing with stutter in the RA axis to a certain point, then backing up several degrees in RA and then proceeding again in the problem direction, the motion will be smooth in the problem direction until reaching the same point in hour angle. Then stuttering resumes. After slewing with stuttering all the way to the RA limit, then it is possible to slew back and forth in RA across the entire range completely smoothly.

I have started performing additional experimentation. This time rather than using higher level control software or the gamepad_control program I am invoking the slew() method on the LosmandyGeminiMount class in the track package. This should (I think) only be sending a single native Gemini command (451 or 452) to the mount per invocation. I have observed the following:

Additional confirmation that only the RA axis seems to be affected.
After setting the slew rate on the RA axis to a value such as +1 or -1, the mount will slew for some time and then stop. Inspection of the Gemini State webpage shows that the slew rate has not actually stopped but has instead changed to a very slow rate. The slow slew rate always continues in the same direction as the original slew. If the slew rate is explicitly set to 0, the mount motion will actually come to a stop.
The issue is present even when the tracking mode is set to "Comet/User Defined". René had recommended using Comet tracking mode to make sure our divisors are preserved.

These observations suggest that the stuttering behavior is in fact resulting from something in the Gemini firmware setting the RA divisor to values that are in conflict with the values we are trying to set using our software. I attempted to confirm this by reading the divisors but the native 451 and 452 commands are evidently write-only.
I also ruled out the hand controller by performing the same experiments with the hand controller disconnected from Gemini 2. I did not observe any change in behavior with the hand controller disconnected.

I think I figured it out. I saved my SRAM settings to a file and then performed a factory reset of the configuration. After rebooting, the problem behavior went away. I did a diff of the settings in my configuration file against the factory reset file. I found a suspicious setting that was enabled only in my file named "Activate PEC at boot". I have mostly ignored the PEC settings and never intended to enable PEC of any kind, so I was surprised that it was enabled.
After the factory reset, I enabled only the the "Activate PEC at boot" setting and left everything else the same to make sure this was the real setting of importance and not a red herring. After a reboot, the problem behavior returned. I think this confirms with fairly high confidence that this is the source of the problem.
The outstanding mystery is how this feature became enabled. My guess is that I either enabled it by mistake using the hand controller or the web interface or that it was enabled by a malformed serial command. This is perhaps good motivation for adding checks on Gemini configuration during startup in track programs.

During observing session on 7 August 2018 this issue reoccurred, even though the "Activate PEC at boot" setting was disabled in the stored configuration (unless I made a mistake).
Another theory is that this issue also manifests when a model is loaded, either from a file or by performing an alignment.

During unrelated testing on 3 Aug 2019 the stuttering was happening frequently, with all the same symptoms as usual (RA axis only, usually only in one direction, and only over range of angles not traversed yet). I found to my surprise that PEC was active and "Activate PEC at Boot" was checked in the hand controller menus. I did A/B tests with PEC enabled and disabled via the hand controller and confirmed again that disabling PEC made the problem go away.
I wonder if Gemini is somehow re-enabling PEC without being asked. I'm pretty confident that I have never intentionally enabled it. Other settings like IP addresses were preserved.

Haven't seen this in a while. #98 covers checking Gemini PEC configuration at startup.


Scrollbar is not a function

Hello, I'm building a app in Node.Js with Electron, I couldn't get it working in there. So I brought a example to CodePen and used the CDNs for the library (both the min css and min js) along with jQuery but I keep getting the error $(...).scrollbar is not a function, why is this? Thanks in advance.
Here's the pen: http://codepen.io/ErraticFox/pen/JKqYdq

You didn't set CSS height/max-height for you scrollbar container

I updated it, it seems to work a bit but I don't see the scroll bar. Sorry, I'm kinda new to this stuff. 😞

add max-height via class to your container

I'm confused, the CSS in the CodePen is the exact same as your first Basic Demo. Shouldn't that include the CSS for the height and max-height for the scrollbar container?

Finally got it to work, thanks for the plugin!


Invoices list for add payments

Notion card
https://www.notion.so/saeloun/User-should-be-able-to-add-a-payments-entry-against-an-invoice-b0777f8eb0b54b0e87a51393bebf32bc
Summary

Preview

Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to
not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?

Checklist:

[ ] I have manually tested all workflows
[ ] I have performed a self-review of my own code
[ ] I have added automated tests for my code

@akhilgkrishnan @harshaanNihal @keshavbiswa @gowsik-ragunath Please review this PR as soon as possible.

@akhilgkrishnan Merging this PR for now.


⚠ Bofrost.lu has degraded performance

In 9df0fb7, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 926 ms

Resolved: Bofrost.lu performance has improved in fe90f0d after 307 days, 3 hours, 24 minutes.


Unable to initialize location module

Any help for this error?
W/WebEngage(18471): Unable to initialize location module
W/WebEngage(18471): Unable to initialize location module
I/TRuntime.CctTransportBackend(18471): Making request to: https://firebaselogging-pa.googleapis.com/v1/firelog/legacy/batchlog
D/WebEngage(18471): Events successfully Logged to server, scheduling next sync
I/TRuntime.CctTransportBackend(18471): Status Code: 200
W/WebEngage(18471): Unable to initialize location module
W/WebEngage(18471): Unable to initialize location module
W/WebEngage(18471): Unable to initialize location module
I/chatty  (18471): uid=10155(****) identical 2 lines
W/WebEngage(18471): Unable to initialize location module
W/WebEngage(18471): Unable to initialize location module

I can't find .setDebugMode(..) method in the api reference. Can you please tell what exactly needs to be done to not get these logs?


Strassens_Algorithm

Submission Title
Strassens_Algorithm
Submission Type
Algorithm
Submission Description
In linear algebra, the Strassen algorithm, named after Volker Strassen, is an algorithm for matrix multiplication. It is faster than the standard matrix multiplication algorithm and is useful in practice for large matrices, but would be slower than the fastest known algorithms for extremely large matrices.
Folder Related To
Maths_And_Stats => Algebra => Strassens_Algorithm => Strassens_Algorithm.ext
Contributors

[x]  C++ -
[ ]  C -
[x]  Python -
[x] Java -
[ ] JavaScript -
[ ] TypeScript -
[ ] Golang -
[ ] Ruby -
[ ] php -
[ ] Swift -
[ ] C# -

Can you assign this to me for C++.?

Please assign this to me for python

Please Assign this to me For Java

would like to work on this in c++,
Kindly assign

would like to work on this in c++ or python whichever needed,
Kindly assign

Hi @DhruvaG2000 :wave: ,
Both of them have already been done.
Please opt a different language/issue.
:v:

thanks everyone :v:


fixed the opacity in the disabled reward state

What ❓

Fixed the opacity for the reward disabled state.

See 👀

 Reward Disabled State

 Disabling sold out Rewards


(AzureCXPCommunity) Update how-to-export-certificate.md

Fixes MicrosoftDocs/azure-docs#62215

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

Updated in MicrosoftDocs/azure-docs-pr/pull/128783


New version voidtools.Everything.Alpha version <IP_ADDRESS>9a

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @mrjcap,

This PR's version number voidtools.Everything.Alpha <IP_ADDRESS>9a has 6 parameters (sets of numbers between dots - major, minor, etc), which is greater than the current manifest's version <IP_ADDRESS>7a, which has 4 parameters.

Does this PR's version number exactly match the version reported in the Apps & features Settings page? (Feel free to attach a screenshot.)
(Automated response - build 855)


Utility Lib missing

Hello, I am not able to find the utility_lib resource, hence it is required to use the ammohud.

You can find it here https://github.com/utility-library/utility_lib

Thanks 🙏
Xenos.exe @.***> schrieb am Mo. 3. Jan. 2022 um 13:27:

You can find it here https://github.com/utility-library/utility_lib
—
Reply to this email directly, view it on GitHub
https://github.com/XenoS-ITA/utility_ammohud/issues/1#issuecomment-1004059097,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGXVKCNGH6DOZM6O2OABVZDUUGIZ5ANCNFSM5KUUB6AQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Liebe Grüße,
Lennox


anonymous contest results to a crush(contest without name)

When you mistakenly click the save button on the contest page, it result to anonymous contest to be created which results to system crush

Already fixed and working in both staging and develop


[v1.14] ipcache: Fix orphaned ipcache entries when mixing Upsert and Inject

[x] #33120 (@squeed)

Once this PR is merged, a GitHub action will update the labels of these PRs:
 33120

@squeed The commit message contains two [ upstream commit ] blocks, which one is it? :wink:


scroll method in WidgetExt

From my limited experience, I sometimes wished I could just add a .scroll to the end of a widget definition. Wrapping a widget in a scroll isn't too annoying but it does, at least to me, make things a bit more difficult to read. The function definition would look like this
// I don't know if this definition is the correct one, specifically for the return type
pub fn scroll(self, direction: ScrollDirection) -> Scroll<T, Self> {
 // within here there can be some matching on the `ScrollDirection` which would
// create the Scroll appropriately
}
pub enum ScrollDirection {
    Horizontal,
    Vertical,
    Both,

Would this sort of change be welcome in WidgetExt?

Oops, missed this one!
yes, this would totally be a welcome addition.
I don't even think we need the direction argument; once you get the Scroll widget back, you can call vertical() or horizontal() on it as you wish, like:
my_widget.padding(8.0)
    .scroll()
    .vertical()

Can someone mark this issue as good first issue. I think this should be easy for someone to do who is new to druid.

@arthmis I've sent you an invite for 'triage' access to this repo, so you can add tags and do other things like that as you see fit. :)


Support gradle 8+

Add namespace to build.gradle to support building in Android with gradle 8+. Otherwise build fails.

@KennyHuRadar Can you merge to support Gradle 8+?


Allow opting out of SQLite support

burn-dataset includes a bundled copy of SQLite by default, which proves problematic - it doesn't allow us to use a system libsqlite if we'd like, and our usage of 'bundled' conflicts with burn-dataset's usage of 'bundled-full', resulting in databases that can't be opened.
Rusqlite's docs have the following to say:
bundled causes us to automatically compile and link in an up to date
version of SQLite for you. This avoids many common build issues, and
avoids depending on the version of SQLite on the users system (or your
system), which may be old or missing. It's the right choice for most
programs that control their own SQLite databases.
That said, it's not ideal for all scenarios and in particular, generic
libraries built around rusqlite should probably not enable it, which
is why it is not a default feature -- it could become hard to disable.
I've assumed you'd like to keep this functionality on by default, so I've just added a feature flag so that we can opt out of it.
Pull Request Template
Checklist

[x] Confirm that run-checks script has been executed.

Testing
Standard tests, and confirmed this fixes the problem for us.

Before we make this change, we should attempt to fix the actual problem. The solution opts out completely from using SQLite. Some might actually want a system installed SQLite but use SQLite dataset functionality. It sounds like this will work for you as well.
I was actually who introduced this functionality and familiar with its history. Initially we used the system based SQLite but someone had trouble ( it could have been a windows user). So we switched to bundle, easy way to fix.

Would you be open to both approaches? We don't need the functionality, and disabling it removes the risk that a future burn update will add an incompatible feature flag to its rusqlite, and removes any risk of one of our crates being a version ahead or behind the other's rusqlite.
If so, I can remove the bundled/bundled-full flags in this PR as well if you'd like. If you'd prefer not to add this feature flag, I can put through a new PR that just removes the bundled features instead.

@dae @antimora I think both of you are right 😅. We should have a way to disable the dependency altogether, especially if you don't plan to use anything else than the in-memory dataset. So I propose multiple feature flags:
sqlite: Enable the SQLite dataset source.
sqlite-system: Enable the SQLite dataset with the system SQLite.
huggingface: Assume either sqlite or sqlite-system is activated.
I think those feature flags can help have smaller binaries and add more flexibility. What are your thoughts?

Did you mean a separate feature for huggingface? I can think of how to require either feature using #[cfg], but didn't know there's a way to declare that one feature requires either of two other features.
Which of the two sqlite features do you think should be the default? If @antimora is on board too, I can update this PR to do so.

@dae, I don't think we can enforce two features, but it's often the case where one feature needs another one, and the project will not compile if you don't activate both features. There are a lot of examples with the std features in many crates that support no_std.
I think I would use the sqlite feature by default, since it's probably the one that will cause fewer problems when trying out Burn.

Did you mean a separate feature for huggingface? I can think of how to require either feature using #[cfg], but didn't know there's a way to declare that one feature requires either of two other features.
Which of the two sqlite features do you think should be the default? If @antimora is on board too, I can update this PR to do so.

Yes, I am totally fine with introducing the new feature flags: sqlite (or sqlite-bundled) and sqlite-system. I was going to mention this, in my initial response, as an option. I agree we should enable sqlite-bundled (or sqlite) by default. And add #[cfg] on modules if either features are enabled, then enable the modules.
Since, these flags are mutually exclusive (and the feature flags are usually additive), we cannot enforce it for dependency (maybe with compile_error!( but not sure if this work for dependencies). Perhaps, that's why we should just rename sqlite to sqlite-bundle, so that there is a little conceptual overlap with sqlite-system.
Hope this is not a lot of work/change! And maybe you also might benefit from the system installed option too =) We all will benefit from your PR.

Does the updated version work for you guys? I updated the description too.

Looks good, but there is one issue, which had to do how dataset was reexported from burn-core, which was reexported in burn package. I have discovered that the default features were off when I was testing mnist example:
[burn/examples/mnist]$ cargo run --example mnist --release --features tch-gpu

Here is the diff on fixing it in burn/burn-core/Cargo.toml:
-burn-dataset = { path = "../burn-dataset", version = "0.9.0", default-features = false, optional = true }
+burn-dataset = { path = "../burn-dataset", version = "0.9.0", optional = true }

But one consequence of this is that fake feature is enable in the core now. Is this okay, @nathanielsimard ?
Once this is fixed, it's approved. It works on Mac M1.


Port to Python 3

There are two changes needed to make the code run on Python 3.
One is using configparse instead of ConfigParse and the other is using items() instead of iteritems() (it should work on Python 2 too.)
Unfortunately the new code won't run on Python 2.
Maybe it can become cross platform by following the advice at http://python-future.org/compatible_idioms.html#configparser

I  really appreciate this, but I don't have the time to continue work on this. I mean, I've done nothing to it for months. More than a year now.  But thank you for the effort!

And I do really appreciate your work! I agree that WHOIS is far from ideal. Probably there is no incentive for registrars to stick to a standard output format.


read('<??.csv>') does not work as expected on Scenario Outline.

Hello,
While writing my tests on Karate, I found an issue that it does not work as expected.
This is my Feature File:
Feature: scenario outline using a dynamic table
from a csv file
Scenario Outline:
* url
* multipart file myFile = { read: '', filename: '', contentType: 'multipart/form-data' }
* multipart field message = 'hello world'
* method post
* status 200
Examples:
| read('data.csv') |
And my data.csv file content is below too:
|URL	|fileName|
|http://localhost:8080/VIN/input/telemetry/division_vin_2019_01_12_22_56_01_telemetry.json	|telemetry_19_01_12_22_56_01.json.bz2|
|http://localhost:8080/VIN/input/media/vinId_1012_2019_01_12_22_55_55_10_c4.jpeg|	c4_wm.jpeg|
|http://localhost:8080/VIN/input/media/vinId_1012_2019_01_12_22_55_55_10_c5.mp4|	c5_wm.mp4|
|http://localhost:8080/VIN/input/media/vinId_1012_2019_01_12_22_55_55.json.bz2|	media_19_01_12_22_55_59.json.bz2|
When I ran my test, it does not read the csv file nor running the Scenario Outline and giving the result of:
0 Scenarios
0 Steps
0m0.000s
on my IDE (IntelliJ) and terminal if I ran it with command line using maven
Abdullah Uzundere

sorry you haven't followed this process, try again: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue


[2.6] "Invalid argument" when DB is not available

When the database is not available (e.g. when I didn't start the server :), there comes up a following warning:
Symphony Warning: Invalid argument supplied for foreach()

An error occurred in .../symphony/lib/boot/func.utilities.php around line 193
...
(193) foreach ($_SESSION as $contents) {
...

Maybe there should be another type of warning or check?

I've added the "Fix found" label in order to "tag" issues as fixed but let them open until the commits gets merged into master. It this ok ?

Nice idea :) We should release a 2.6.1 shortly.

We should release a 2.6.1 shortly.

Great! Jens as a nice PR that would fit 2.6.1.

Fix tested, is OK.
Thanks a lot!


Not full data series

Explanation About What Code Achieves:

Add support for not full data series.
Fix NaN errors in bezierCommand.

Screenshots/GIFs:

Pull Request Test Coverage Report for Build 148

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

Totals

Change from base Build 141:
0.0%

Covered Lines:
29

Relevant Lines:
62

💛  - Coveralls


Frigate Error - Connection already opened

After i have finally a Double Take instance work, thanks to Jako, i now come in this scenario.
My Frigate docker container inside the "homeassistant OS" after some time (2/3 hours) seems freezed, looking to the container logs i can see a lot of message like:

2021-08-03T11:21:16Z {'REMOTE_ADDR': '<IP_ADDRESS>', 'REMOTE_PORT': '40420', 'HTTP_HOST': 'ccab4aaf-frigate', (hidden keys: 24)} failed with OperationalError Traceback (most recent call last):   File "/usr/local/lib/python3.8/dist-packages/flask_sockets.py", line 40, in __call__     handler, values = adapter.match()   File "/usr/local/lib/python3.8/dist-packages/werkzeug/routing.py", line 1945, in match     raise NotFound() werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/usr/local/lib/python3.8/dist-packages/gevent/pywsgi.py", line 999, in handle_one_response     self.run_application()   File "/usr/local/lib/python3.8/dist-packages/geventwebsocket/handler.py", line 87, in run_application     return super(WebSocketHandler, self).run_application()   File "/usr/local/lib/python3.8/dist-packages/gevent/pywsgi.py", line 945, in run_application     self.result = self.application(self.environ, self.start_response)   File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2464, in __call__     return self.wsgi_app(environ, start_response)   File "/usr/local/lib/python3.8/dist-packages/flask_sockets.py", line 48, in __call__     return self.wsgi_app(environ, start_response)   File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2450, in wsgi_app     response = self.handle_exception(e)   File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1867, in handle_exception     reraise(exc_type, exc_value, tb)   File "/usr/local/lib/python3.8/dist-packages/flask/_compat.py", line 39, in reraise     raise value   File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2447, in wsgi_app     response = self.full_dispatch_request()   File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1952, in full_dispatch_request     rv = self.handle_user_exception(e)   File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1821, in handle_user_exception     reraise(exc_type, exc_value, tb)   File "/usr/local/lib/python3.8/dist-packages/flask/_compat.py", line 39, in reraise     raise value   File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1948, in full_dispatch_request     rv = self.preprocess_request()   File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2242, in preprocess_request     rv = func()   File "/opt/frigate/frigate/http.py", line 89, in _db_connect     database.connect()   File "/usr/local/lib/python3.8/dist-packages/peewee.py", line 3061, in connect     raise OperationalError('Connection already opened.') peewee.OperationalError: Connection already opened.

This kind of problem seems something related to Frigate and DoubleTake as i can read from this issue https://github.com/blakeblackshear/frigate/issues/920.
@jakowenko What do think about it?
Thanks so much

Hey @dimitribellini, what is your frigate.attempts.snapshot set to? If you're running Frigate v0.8.X I'd recommend setting it to 0, which it should be by default. There did seem to be a connection issue with the Frigate API that would cause it to crash. Setting snapshots to 0 fixed that for me. I'm running the beta version of Frigate v0.9.0 and that issue seems to be fixed, so you can safely increase the snapshot count if desired.

Hi Jako,
thanks so much, as i usually i made a wrong configuration... :-)
below my original conf of DoubleTake:
  attempts:     latest: 5     snapshot: 5
I have add "snapshot to 5" only because i have notice that some camera do not receive "snapshot" from Frigate, have you never saw that case?
Thanks so much

Remove snapshots for now from your config and that should stop Frigate from crashing.
There's three types of images Double Take will process from Frigate.
The MQTT snapshot image, which is different than the one we are talking about above and then the latest.jpg and snapshot.jpg image which comes from the actual event.
Frigate seemed to have a connection bug when processing that snapshot.jpg image. Just remove it from your config for now and it'll default to 0. Once Frigate v0.9.0 is released, I'll increase the default back to 5.

Ok, i follow your suggestions :-)
What about the problem of not receiving all "events" coming from Frigate? Is probably related to the "connection" problems?
Thanks

Have you verified that Frigate is publishing to the snapshot topics for the cameras that are missing? Double Take just watches for messages on those topics and then will process the image.

Yes the snapshot is coming from Frigate, i use this command:
mosquitto_sub -h <IP_ADDRESS> -u xxxx -P xxxx -v -t frigate/<CAMERA>/person/snapshot
but on DoubleTake i did not see all the "snapshots" image, sometime yes sometime no :-)

Is there a chance that no person was found in that image so it was never saved by Double Take?

You should be able to look at the raw logs and see if MQTT messages are being processed for those cameras. They logs are in `/.storage/messages.log'

Hi Jako, i have checked:
[root@ai-vm ~]# tail -f .storage/messages.log|grep ufficio
21-08-04 13:24:44 info: processing ufficio:<PHONE_NUMBER>.127387-oi99t2
21-08-04 13:24:44 info: processing ufficio: defd7c46-478d-436c-8f97-611ae569df35
21-08-04 13:24:44 info: done processing ufficio: defd7c46-478d-436c-8f97-611ae569df35 in 0.09 sec
  camera: 'ufficio',
21-08-04 13:24:44 info: done processing ufficio:<PHONE_NUMBER>.127387-oi99t2 in 0.51 sec
  camera: 'ufficio',
21-08-04 13:24:48 info: processing ufficio:<PHONE_NUMBER>.127387-oi99t2
21-08-04 13:24:49 info: done processing ufficio:<PHONE_NUMBER>.127387-oi99t2 in 0.4 sec
  camera: 'ufficio',

But on DoubleTake frontend i did not see some snapshots of these specific events.

Is there a chance no person was found in the image?

Yes the message seems "void":
21-08-04 13:26:45 info: done processing ufficio:<PHONE_NUMBER>.123101-fms3tm in 0.5 sec
21-08-04 13:26:45 info: {
  id: '1628083601.123101-fms3tm',
  duration: 0.5,
  timestamp: '8/4/2021, 3:26:45 PM',
  attempts: 8,
  camera: 'ufficio',
  zones: [],
  matches: []
}

But it's strange because i was moving in front of the camera...

Try doing it again and look at the camera for a few moments just to see if it gets you. It's not going to be perfect 100% of the time, but I'm surprised Frigate's MQTT snapshot image didn't have a better picture of you.

Try doing it again and look at the camera for a few moments just to see if it gets you. It's not going to be perfect 100% of the time, but I'm surprised Frigate's MQTT snapshot image didn't have a better picture of you.

Me too, but seems Frigate do not send all the snapshots of an "event"

That's also a tiny image, is that just the thumbnail for Frigate event?

Yes correct, is the image of the Frigate thumbnail

Try turning on "live reload" on the UI as well so images come in without needing to refresh while you are testing.

Ok i will test it

Thanks so much


unable to restart debugging session

Which OS: macOS
Which extension version: 0.8.9
Which LLDB version: lldb-1<IP_ADDRESS> Swift-4.2
Which VSCode version: 1.27.2
What is the problem and how did you get there:
The "Restart" button in the debugging toolbar doesn't seem to wait for the process to exit before attempting to attach to it again; I get an error like so from VSCode:

I'm running a build of Node.js against a JS test, e.g., /path/to/node/out /Debug/node /path/to/test.js
What did you expect to have happened instead:
No error; debugging session restarts.

This is all of the log output I get:
Starting new session with:
{ type: 'lldb',
  request: 'launch',
  name: 'Launch',
  program: '/Users/boneskull/projects/node/out/Debug/node',
  args: [ 'test/parallel/test-fs-rmdir-recursive.js' ],
  cwd: '/Users/boneskull/projects/node',
  debugServer: 54638,
  _displaySettings:
   { showDisassembly: 'auto',
     displayFormat: 'auto',
     dereferencePointers: true,
     containerSummary: true },
  __sessionId: 'da675196-0a0e-40dd-90b6-fb1afadb2472' }

Fixed in 1.0


Consider allowing to specify another DbContext for the .Include method

It may happen that we store data in different databases and that we would like to do JOINs, load collections of objects, etc...
What about allowing to specify a DbContext when including? Something like:
var owner = await _Context.Users.Where(u => u.Name == "John").IncludeExternal<CarsDbContext>(u => u.Cars).FirstOrDefaultAsync();

Or by providing the DbContext instance to the method, foreign key information or whatever is required.

That seems like a very niche requirement. Why not just write a join between the two or store that kind of data in a denormalized schema or document format?

Dealing with several database is really a niche?
Anyway, this could also be used in order to specialize DbContexts, and have "unit contexts" instead of multiplying contexts for each use cases or building a single huge DbContext.
For example, an event database would have different units

Authentication
Users data
Places data
Events data
Images data

And depending on the complexity of each unit, it may require a number of tables/views/functions/... to be handled.
By using a combination of 5 DbContext, it would be possible to handle any case. It may not be always optimal in DB query, but it does not matter if it is not the objective.
That is a suggestion.
In case of a same database, an option to share the connection by registering several dbcontext at once could also be a nice optimization.

Dealing with several database is really a niche?

No, just the include overload. There would also need to be model logic bridging the two contexts and their models. Change tracking would also need to get involved or be explicitly disallowed. It’s a fair amount of complexity for something that could be easily done without it.

Duplicate of #6089

Indeed seems it is the same problematic. This case is not so much a "niche feature"...


Thanks! The optimizer again messes up something :-) If you compile with --optimize=false, it works.


ci: convert ci to github actions

Proposed behaviour
Add Github Actions workflows for running the unit tests on PRs and running semantic-release on merge to master.
I've added in the GPG signing of the semantic release commits, copied from Carbon.
Current behaviour
Currently the CI runs on Travis rather than Github Actions
Checklist

[ ] Release notes (Conventional Commits)
[ ] Unit tests
[ ] Readme updated

:tada: This PR is included in version 1.10.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


🎨 Add alternative color versions

Some logos have been optimized, additional color versions added for:

Apple
Arc
Astro
Bash
Copilot
Deno
Documenso
ExpressJS
Fastify
Framer
GoDaddy
Go
Instagram
Instatus
jQuery
OpenAI
Patreon
Payload
PHP
Planetscale
Prisma
R
Railway
Roblox
Rust
shadcn/ui
Stately
Threads
Udemy
Unity
Unreal Engine
Vercel
X
XState

Amazing 😍
Thank you very much!! 🚀✨


How to get legend svg in px-vis-timeseries?

At present, while using getCombinedImage() or getImage() function, then inside callback the encoded chart svg has come but the legend image which is shown just above the chart is not coming with the chart svg. How do I grab the legend svg also with that chart image.

getCombinedImage: function(callback,  renderLegend)
getCombinedImage takes two args, a callback function run on success and a bool specifying if you want to render the legend. Pass true in for the second arg and it should work.

Thanks nonmetalhail.. It's very useful. Now the legend is coming properly.


relation summary

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#911  👈 (View in Graphite)
#909
dev

This stack of pull requests is managed by Graphite. Learn more about stacking.

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

Project coverage is 90.67%. Comparing base (b4fefbf) to head (4816a4a).

Files with missing lines
Patch %
Lines

...rover/src/constraint_framework/relation_tracker.rs
0.00%
29 Missing :warning:

Additional details and impacted files
@@                  Coverage Diff                  @@
##           ohad/relationeval     #911      +/-   ##
=====================================================
- Coverage              90.96%   90.67%   -0.30%
=====================================================
  Files                     94       94
  Lines                  13486    13313     -173
  Branches               13486    13313     -173
=====================================================
- Hits                   12268    12071     -197
- Misses                  1107     1129      +22
- Partials                 111      113       +2

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

Merge activity

Dec 2, 4:45 AM EST: A user started a stack merge that includes this pull request via Graphite.

crates/prover/src/constraint_framework/relation_tracker.rs line 192 at r1 (raw file):
Previously, ohad-starkware (Ohad) wrote…
the relation tracker could sit with the logup stuff under some "lookup_utils" folder in the constraint(air) framework

oh if you meant unifying to a single struct then no, this represents multiple entries that are not even from the same trace


Update testing / sync with other mixlib repos

Bump rake
Simplify the rake setup
Test on modern rubies with the latest rubygem / bundler
Signed-off-by: Tim Smith<EMAIL_ADDRESS>

Ping @chef/client-core


Find out what proportion of Whitehall assets are attachments vs non-attachments

The following shows breakdowns of disk usage on the NFS mount on integration:
/mnt/uploads$ du -h --max-depth=1
36G	./asset-manager
649G	./whitehall
7.6M	./publisher
18G	./support-api
16K	./lost+found
703G	.

/mnt/uploads/whitehall$ du -h --max-depth=1
4.0K	./asset-manager-tmp
4.0K	./bulk-upload-zip-file-tmp
4.0K	./attachment-cache
4.0K	./draft-infected
4.0K	./draft-clean
4.0K	./incoming
4.0K	./fatality_notices
4.0K	./draft-incoming
709M	./infected
649G	./clean
116M	./carrierwave-tmp
649G	.

/mnt/uploads/whitehall/clean$ du -h --max-depth=1
643G	./system
5.3G	./uploaded
104M	./government
649G	.

/mnt/uploads/whitehall/clean/system/uploads$ du -h --max-depth=1
522G	./attachment_data
55G	./feature
145M	./consultation_response_form_data
2.0G	./classification_featuring_image_data
58G	./image_data
523M	./edition_world_location_image_data
3.2M	./organisation
4.6M	./consultation_response_form
19M	./take_part_page
1.4G	./edition_organisation_image_data
269M	./default_news_organisation_image_data
1.9G	./attachment
2.1G	./person
45M	./topical_event
37M	./news_article
14M	./promotional_feature_item
643G	.

It looks as if approx 80% (522 / 649 x 100) of Whitehall assets are attachments, i.e. approx 127GB are non-attachments and approx 522GB are attachments.

Given that I've obtained the data, I'm going to mark this as closed. Any decisions based on this data can be documented elsewhere.


Implement hitMiss()

https://homepages.inf.ed.ac.uk/rbf/HIPR2/hitmiss.htm

Currently we don't see any application for this so it is not on the priority list.


add arm64 support and build target

ping? @philwo

Thank you! And sorry for the delay.

I will create a new Bazelisk release on Monday that incorporates this.

@philwo did you have a chance to make a release? we're waiting to switch to official bazelisk

@lizan Bazelisk v1.6.0 with this feature included is out: https://github.com/bazelbuild/bazelisk/releases/tag/v1.6.0 - sorry for the delay!


Token out of vocabulary at train_gpt2.cu:675

I'm trying to follow https://github.com/karpathy/llm.c/discussions/481 but I'm getting this error:
evaluating HellaSwag: 30/79
evaluating HellaSwag: 40/79
evaluating HellaSwag: 50/79
evaluating HellaSwag: 60/79
evaluating HellaSwag: 70/79
Writing state to log124M/state_00019560_00002.bin
Error: Token out of vocabulary at train_gpt2.cu:675
Error details:
  File: train_gpt2.cu
  Line: 675
  Token: -1149026846
  Position: 0
  Vocab: 50257
generating:
---
--------------------------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

  Process name: [[20376,1],0]
  Exit code:    1
--------------------------------------------------------------------------

Happens at the end of training. I don't end up getting the final model weights.
Running:
nice nohup bash -c 'echo "start $(date)" && mpirun -np 8 ./train_gpt2cu \
    -i "dev/data/fineweb10B/fineweb_train_*.bin" \
    -j "dev/data/fineweb10B/fineweb_val_*.bin" \
    -o log124M \
    -e "d12" \
    -b 64 -t 1024 \
    -d 524288 \
    -r 1 \
    -z 1 \
    -c 0.1 \
    -l 0.0006 \
    -q 0.0 \
    -u 700 \
    -n 5000 \
    -y 1 \
    -v 250 -s 20000 \
    -h 1 && echo "end $(date)"' &

You can find the 1500 model checkpoint + state here:
https://huggingface.co/aidando73/repro-gpt-2-124M/tree/086c8895ae49f2472bcde14c7866e792b0a330f1/8x_A100_40GB/log124M
Commit hash I checked out: 7ecd8906afe6ed7a2b2cdb731c042f26d525b820
Note that I didn't run python train_gpt2.py beforehand.
Anyone else getting this error?

Note that I didn't run python train_gpt2.py beforehand.

When I was using traing_gpt2.cu for inference, I ran into the same issue. But if I ran python train_gpt2.py beforehand I no longer ran into the issue.
My hypothesis is that the -1149026846 is the end of file token that we're not setting correctly for the case where we don't run python train_gpt2.py.


move dependencies to be closer to devDependencies

see diff

Hey @pravdomil
Thank you for opening this. We've moved our official starters over to our monorepo to help ease maintenance (https://github.com/gatsbyjs/gatsby/pull/10310). Closing this since this repo is now a read-only mirror.
Please reopen this PR against the monorepo if you'd like.