Backup and Restore Resources

This concerns the page https://cert-manager.io/next-docs/tutorials/backup/
This issue is related to https://github.com/jetstack/cert-manager/issues/2112.
I'm sorry, but the backup/restoration process does simply not work as advertised, and conveys a false sense of security. I'd argue it should be removed or, at the very least, augmented with a warning of some kind.

This procedure is really misleading and does not work like that...  Luckily I did it on staging environment first...

I could manage to restore my backup using the following (suboptimal/error prone/bizarre) procedure:

Take a 2nd backup from the created resources that we wanna overwrite:

kubectl get -o yaml \
     --all-namespaces \
     issuer,clusterissuer,certificates,certificaterequests > cert-manager-backup-2.yaml

Just to play safe: please don't forget to version your 1st backup YAML file before continuing...

Put your 1st backup (let's say: cert-manager-backup-1.yaml) side by side with the 2nd backup (cert-manager-backup-2.yaml) on the text editor...

On the 1st backup file, make sure to replace the following fields using the values from the 2nd backup on their equivalent code regions:

creationTimestamp
resourceVersion
uid
lastTransitionTime

Apply the changes you made on top of your 1st backup file:

kubectl apply -f cert-manager-backup-staging.yaml

It worked for me and I hope that helps while we don't have a "clean" backup/restore procedure that we can follow...

Hey @ailox
Thanks for the bug report. There are a bunch of similar issues in the cert-manager repo too.
We need to document (and test) an improved process for restoring cert-manager backups:

Hey @ailox
Thanks for the bug report. There are a bunch of similar issues in the cert-manager repo too.
We need to document (and test) an improved process for restoring cert-manager backups:

/priority important

/priority important

In https://github.com/cert-manager/website/issues/397#issuecomment-755345251 @meyskens wrote:

Is it better to backup these secrets, or let LE re-issue?

Probably better to backup the secrets too unless you think the storage medium of your backups is compromised/easy to infiltrate.
It will allow to:
restore certificates before everything us online to solve the ACME challenges
not hit the LE rate limits

If you are sharing the backup on something like a Git repo, Slack, shared computer,... I would avoid it as it will leak your private key.

In https://github.com/cert-manager/website/issues/397#issuecomment-755345251 @meyskens wrote:

Is it better to backup these secrets, or let LE re-issue?

Probably better to backup the secrets too unless you think the storage medium of your backups is compromised/easy to infiltrate.
It will allow to:
restore certificates before everything us online to solve the ACME challenges
not hit the LE rate limits

If you are sharing the backup on something like a Git repo, Slack, shared computer,... I would avoid it as it will leak your private key.

In https://github.com/jetstack/cert-manager/issues/2112#issuecomment-619076005 @munnerz  wrote:
As noted above, I don't think it's trivial for us to create an entirely 'restorable' resource that can be applied during the restore phase.
I think we can take this issue and turn it into one of two things:
Documenting how to perform the backup/restore process with something like Velero
Extending our own CLI tool to have a dedicated backup and restore subcomannd.

I think (2) would be really interesting/useful for users, although in a lot of cases (1) may be more appropriate if you're running backups across a large number of clusters/regularly.

In https://github.com/jetstack/cert-manager/issues/2112#issuecomment-619076005 @munnerz  wrote:
As noted above, I don't think it's trivial for us to create an entirely 'restorable' resource that can be applied during the restore phase.
I think we can take this issue and turn it into one of two things:
Documenting how to perform the backup/restore process with something like Velero
Extending our own CLI tool to have a dedicated backup and restore subcomannd.

I think (2) would be really interesting/useful for users, although in a lot of cases (1) may be more appropriate if you're running backups across a large number of clusters/regularly.


Can you please add support for a translation plug-in?

The specific usage scenario is as follows. When writing code, files like i18n are often added. I would like to ask if there is a plug-in that can use shift+v to select and use :Translate to automatically translate the selected text into the configuration language?

hey man, sadly i don't have such a use case so i won't be adding it to the codebase
but you might wanna checkout one of these:

vim-translator
translate.nvim

hey man, sadly i don't have such a use case so i won't be adding it to the codebase
but you might wanna checkout one of these:

vim-translator
translate.nvim

Thank you very much for your reply. I will try these two plugins and then try to integrate them~


OrderSettings order assertions

Closes #381

Codecov Report

Merging #404 (4369d0b) into main (69f7284) will decrease coverage by 3.23%.
The diff coverage is 40.81%.

@@            Coverage Diff             @@
##             main     #404      +/-   ##
==========================================
- Coverage   97.64%   94.40%   -3.24%
==========================================
  Files          44       44
  Lines        3604     3629      +25
==========================================
- Hits         3519     3426      -93
- Misses         85      203     +118

Impacted Files
Coverage Δ

robotidy/transformers/OrderSettings.py
31.76% <29.26%> (-68.24%)
:arrow_down:

robotidy/decorators.py
83.33% <100.00%> (+12.50%)
:arrow_up:

robotidy/exceptions.py
100.00% <100.00%> (ø)

robotidy/cli.py
85.38% <0.00%> (-12.87%)
:arrow_down:

robotidy/app.py
81.52% <0.00%> (-8.70%)
:arrow_down:

robotidy/transformers/ReplaceBreakContinue.py
91.11% <0.00%> (-6.67%)
:arrow_down:

robotidy/transformers/__init__.py
92.81% <0.00%> (-6.08%)
:arrow_down:

robotidy/transformers/RenameKeywords.py
95.14% <0.00%> (-2.92%)
:arrow_down:

robotidy/transformers/ReplaceReturns.py
95.74% <0.00%> (-2.13%)
:arrow_down:

... and 8 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Intl

hey.
u use Intl in your code, but this is not accessible in standard node compilition. it is really necessery in this project? maybe u can use external version of intl module?

It's available in node >= 0.12 so I've documented that in the package.json. The Collation is tricky stuff to get right which I think is the reason it's not available in most polyfills.


Hide irrelevant columns

Close #1560

I have absolutely no idea how I managed to juggle the celery commit into this branch, lol.
Consider it a nice bonus


CHANGELOG: Add

I think we should maintain a change log for users. This is generated by https://github.com/github-changelog-generator/github-changelog-generator
github_changelog_generator -t  _____ -u kubeflow -p tf-operator --exclude-labels community/discussion,cmmunity/question,duplicate,question,invalid,wontfix --bug-labels kind/bug,problems/bug --enhancement-labels improvement/optimization,kind/enhancement,improvement/enhancement,addition/feature,kind/feature --enhancement-label "**Features and improvements:**"

Signed-off-by: Ce Gao<EMAIL_ADDRESS>

This change is

Coverage increased (+2.6%) to 61.654% when pulling c33c1e8f81b799d91343d7170d561746354fff59 on gaocegege:changelog into 38b886a0af6e08c31d93c1db6b49f4f79ab8de1e on kubeflow:master.

/assign @jlewi

Can you put the relevant command in a script and add instructions somewhere so its easy for people to redo?
This is certainly an improvement over the current situation but it looks like the changelog will need further refinement to make it truly useful.
I wonder if we should follow the approach of explicitly requiring PR descriptions to include text that will be included in the changelog.

OK, I will do it soon.

@gaocegege Just a reminder this is still pending. I think this would be useful and hopeful its not much additional work to make the requested changes.

@jlewi Sorry for the late reply, I will try to finish the task these days.

It is hard to add PR description into the changelog using the existing tool. And I think it is redundant. We use the tool to generate accurate CHANGELOG, while we should not use it as release note for Kubeflow tf-operator. Thus personally, I think it works for me.
WDYT @jlewi

/retest

/lgtm
/approve


Support running as Windows service

Hello,
I'm having a hard time trying to write a Windows service that works once compiled with Nuitka.
The standard way of creating a Python service works with win32serviceutil, but relies on an executable (pythonservice.exe) to load python code.
Once compiled, my code cannot be loaded by pthonservice.exe anymore since it doesn't expect to load executables, but plain python code.
From what I have read, a Windows executable needs to have a SvcMain function that is called from the Windows service manager, as in https://docs.microsoft.com/fr-fr/windows/desktop/Services/svc-cpp
I know this is a (very) long shot, but....
Do you know any way to write python code that will create such a function once compiled with Nuitka?
Best regards.

@kayhayen I know your time is valuable, but did you get any time to look into this ?

Not yet @deajan but I did remember it last week as a promise I didn't yet keep. But I will make I sure I get to it. I am currently all caught up in the pefile/depends.exe final merge, and this will then be my next non-optimization task, OK ? (I tend to make one like these and one like that in parallel, mostly so when I get fed up with one type of work, I have another one where it works smoother) :-)

@kayhayen Sorry to bug you again, but it would help me so much being able to run nuitka compiled programs as windows services... I'd sponsor this personnaly if needed :)
Any chance you'll have a look someday ? Best regards.

So, I looked at the example, and I think, we need new abilities for a plugin, so this can work.

Plugins need to be allow to provide arbitrary C files to be included in the final result. That is normally
a no-go, as Nuitka is not intended to be friendly to inclusion of C++ codes. People frequently want to call their libraries this way, and that is not going to work.
Similarly, linking against Advapi32 library needs to be enabled by such a plugin, to be able to use the DLL to register the service.
With this, we can inject the service code. The install command for normal execution, is something we ought to be able to intercept, so injecting code very early in main() to be allowed to handle arguments would be sweet. The multiprocessing code already has its hardcoded hooks there. It would be sweet to make that re-usable.
It's unclear, when your __main__ code should be run, and how stopping the service should interact it, do we throw a SystemExit exception much like KeyboardInterupt into it and allow some cleanup, is it a separate process, or a thread. I assume in SvcInit we get to wait for the stop in a thread, and can launch __main__ in another. It may well be cleaner, to let the process go as a separate process from there, because that has less implications on Python thread handling, monitoring exit, Python signal handling, etc. In this case, we could also be talking of a wrapper binary, but I don't think we need to go there.

Extending the plugin API in this way. I am tagging @JorjMcKie as he should keep an eye, on what I do with the plugin API there.
That sounds like a plan, where no step is really hard, lets see it. For naming, how about windows-service  for the plugin.

Interesting stuff! I need a bit of time to better understand what this all is about.
Will do my best to support ...

This is basically about making the command line handling of the program intercept stuff, and add a way to install it as a Windows service. I am still researching some things. I am adding the infrastructure for the plugin right now.
I got side tracked by looking at the layout of C files in the build folder. I want plugins to have their own namespace in terms of a dedicated folder, for C files they create. Noticed how and why ccache usage is so broken, and fixed it. See gitter community chat. But that's the next thing I am doing. I added link libraries for now.

So adding link libraries, adding code files, is on factory branch now, didn't test it yet, I guess, this leaves the command line stuff out in the open, but I am going to try that out next. Should it work, I guess, command line handling needs to become something collectively composed by plugins in the dynamic part instead of MainProgram.c which is static now.
My understanding right now, is that in main() the code has to register service entry points. The SrvMain is not exposed by the executable directly, or is it? I will have check this with an actual compilation.

I got the code to actually do what it promised. Plugin code filenames are now namespaced actually included in the compilation, and the extra code feature actually usable.
Also, the example from Microsoft was using ANSI filenames, with which I have very bad experience on Python2 at least, with unicode paths, so I migrated it all to unicode paths, which should make it more robust.
Now the command line handling issue is most pressing. I am a bit at loss, how the "install" actually works, I guess the installer calls it with install at the end, and then it makes itself known, and then only gets called? I am a little without knowledge on that side of things. I guess, I will play around a bit, and maybe later understand.
@deajan how do you install the service right now, is there an InstallShield that does it or what?

There are multiple ways to install a service, the easiest being the use of windows service utilities themselves.
sc create "myPythonService" binpath= "c:\myapp\my_servicex.exe" type= share start= auto
Please note that the spaces after equal signs are mandatory.
You can then use sc to query the service, start or stop it.

Hi @kayhayen I am so happy that I have come across this thread as we are currently having lots of issues with Pyinstaller built windows service exe's and various client Antivirus quarantining the service. Nuitka seems to be working in our dev environment on our non "windows service" exe's so getting it to successfully compiling windows services will be great.  Happy to assist with any testing etc and also happy to make a financial contribution to help get it across the line.

@jasonbrown-helios can you in touch with me via private email, this is certainly an option

@kayhayen Please also give me the instructions so I can play with the service ;)

@kayhayen do you plan to release this great feature in the near future? It's been a year since your last comment...

Thanks to @jasonbrown-helios and @deajan this has been sponsored and is part of the Nuitka commercial offering at https://nuitka.net/pages/commercial.html


Native review for coreytrampe/elm-vendor

https://github.com/coreytrampe/elm-vendor
Thanks :)

Exactly what i need for a major update on flex-html. As it's such a small module, it should hopefully not take too long to review & publish it :) Looks god to me, great job :+1:

This line should be this:
return elm.Native.Vendor = { prefix: vendorPrefix };

Also, to set expectations, this will not be the recommended way of doing things in the future. For the sake of making the CSS stuff work, I think it is worth it to make an exception here, but in the next months I think we well need to redo a bunch of the native modules out there. Are you okay with doing this work at some point in the future?

@evancz, are there plans to make it possible to have external CSS code published along modules? Or how would the recommended way solve modules that require heavily on CSS features?
I'm ok to help out @coreytrampe for stuff like this btw, if he needs a helping maintaining hand :)

Right now folks just distribute CSS alongside the generated Elm. Put a class in the Elm code. I don't have anything fancier than that planned, and I have a feeling the community can come up with better things than me on this question.

Ok, fixed that. Thanks, Evan.
I'll be happy to update when the time comes.

Did you edit it based on an email notification? I edited the code snippet, I got it wrong at first. It needs to have the .values part.
I looked at docs a bit. Does it make sense to return a string? If so, what are all the possible strings? How should I find it out? Would it make sense to represent it as a union type?
type Vendor = Moz | Webkit | MS | Opera

Something like that? You can decide for yourself what is the right tradeoff, but I just want to make sure to ask :)

Lol, yeah. Glad you noticed.
That seems like a good idea. The usage example becomes:
import Vendor

displayValue : String
displayValue =
    if Vendor.prefix == Vendor.Webkit
    then "-webkit-flex"
    else "flex"

Same code, but with a much stronger contract. Dig it.

LMK when it's updated

Alright, whenever you have the chance, buddy.
Sorry about the churn!

I quite like this, thanks for the work @coreytrampe  :+1:

Okay, should be publishable! Thanks for going through the review process!


Mutiple listener

moved main metrics  to metrics/main.go
Added event listener events/main.go
3.updated readme
Added ability to read configuration from external files

The CI build is failed because you change main.go. You need to

Install requirement go packages for events/main.go and metrics/main.go and
(previously 'go get .' picks dependent go package of main.go of top directory, not child directory)
add .travis.yml to build events/main.go and metrics/main.go (otherwise CI does not check both!).

Please change .travis.yml for that.

Tomo, fixed travis. But I  have one  command not fixed in travis.yaml.
go vet . is running only at top level directory
if you change it to go vet ./... , to run at all sub directory level then  you get  following error.
tools/sa-bench/main.go:241: possible formatting directive in Fprintln call
when yo fix it  please update travis.yaml


add lab 8

thoughts / feedback? proofreading would be appreciated, I've re-read this enough times to start missing any obvious mistakes I may have made.

lgtm, good lab


[Feature Request] Add mechanism to bypass reserve requirements when closing channel

When closing a channel, if sufficient funds have passed between the two peers there will always be multiple outputs on the cooperative close transaction due to the reserve requirement. From a chain efficiency perspective this is suboptimal: if funds could be shuffled off-chain before closing then only 1 output would be required.
Allowing for temporarily and cooperatively lifting the reserve requirement in the context of a channel close would allow for this use-case. The reserve is there to protect the security of the channel but in the case of a cooperative end of the channel the risk is minimized and can be compared against the cost of consolidating outputs.
The design space for how this would surface to the API is open and technically this would contravene the spec which makes no allowance for this scenario, so to keep this functionality scoped it can be limited:

Only allow for reserve cancelation request as part of the close channel stream
Make the extended cooperative close functionality opt-in or interactive
Allow for forfeiting minimal output funds into fees

Allowing for temporarily and cooperatively lifting the reserve requirement in the context of a channel close would allow for this use-case. The reserve is there to protect the security of the channel but in the case of a cooperative end of the channel the risk is minimized and can be compared against the cost of consolidating outputs.

How's this compare to the old idea of doing a rebalance before you close out a channel so you have a balance near or below dust? This saves you that extra output depending on the interplay w/ the dust params (?).

Allowing for temporarily and cooperatively lifting the reserve requirement in the context of a channel close would allow for this use-case. The reserve is there to protect the security of the channel but in the case of a cooperative end of the channel the risk is minimized and can be compared against the cost of consolidating outputs.

How's this compare to the old idea of doing a rebalance before you close out a channel so you have a balance near or below dust? This saves you that extra output depending on the interplay w/ the dust params (?).

Yes this is that idea

Allow for forfeiting minimal output funds into fees

If the channel's reserve value is close to dust, your output could be trimmed to dust. Wouldn't work in a case where reserve >> dust though.  I believe this would work even in the cooperative case, but would have to double-check


[Bug]: flatten form field with text inside. Text is lost.

Installation Method
None
The Problem
When I flatten a pdf with lots of form fields.
I expect the text inside the forms to be saved and only form field removed.
Stirling remove all. No text visible after.
Is this a bug or design and how can I save the text inside the form field?
Version of Stirling-PDF
0.29
Last Working Version of Stirling-PDF
No response
Page Where the Problem Occurred
No response
Docker Configuration
No response
Relevant Log Output
No response
Additional Information
No response
Browsers Affected
No response
No Duplicate of the Issue

[X] I have verified that there are no existing issues raised related to my problem.

Will work on this. Waiting for pdf

I've just run it again and I ticked the box "flatten form fields only"
this time it worked it preserved the form but there's a partial corruption of the file meaning when I open the pdf in my pdf editor (pdf xchange)
it reports red flag warning
"ERRORS DETECTED IN THE XREF TABLE"
is this something expected or simple? i know it's not a big deal and could be ignored but i wish to find a way to clear this.
i will provide a sample pdf asap for you to test with yourself.

sample file. so if you tick "flatten form fields only" it works & preserves the text.
but
need to resolve the errors XREF after flattening.
STIRLINGPDF_SAMPLE_FORM.pdf

@Frooodle can you assign me?

Separate question.
I want to use this as a web api but I cannot load the api documentation on swagger it is stuck on loading page.
Can you tell me what is the web api command to do flatten + form fields only?

@Frooodle this works https://stackoverflow.com/a/71159599.
editing pdfDocToWebResponse
        document.save(baos, CompressParameters.NO_COMPRESSION);

Is it worth it?

hi team is there an update i can download with the above code change?

@Frooodle this works https://stackoverflow.com/a/71159599.
It happens with every pdf returned by this method pdfDocToWebResponse.
Solution
        document.save(baos, CompressParameters.NO_COMPRESSION);

Is it worth it?

Sorry for not getting back, if the compression size difference isn't huge then we can certainly go with this

Can you please compile a build I can test today and give feedback?

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

@Frooodle warning comment above me from @ummm288 looks like a virus can you please ban/delete.
Also any update on this :)
Can you provide a test build release?
I tried many other functions of Stirling to see if I can fix the xhref issue but it won't work.

Hi @Frooodle @iib0011 could we implement the suggestion fro @iib0011 please to fix the Red XHREF WARNING errors?


Access component method in

I want to have a right button in navigation bar that calls a function in scene component.
Is it possible?

No. They are different components. Read React Native docs how to communicate between different components.


Cannot use  and  to navigate in Telescope/Fzf

Describe the bug
A clear and concise description of what the bug is.
From dashboard, if I open fzf/telescope for fuzzy finding files, the only way for me to move my cursor in fzf/telescope is using the arrow, which is normal done by  and
To Reproduce
Steps to reproduce the behavior:

Enter Neovim (dashboard open)
From the "recent projects" section, cmd require('fzf-lua').files / or Telescope find_files

Expected behavior
A clear and concise description of what you expected to happen.
Should be able to navigate files in the project's directory using  and
Screenshots
If applicable, add screenshots to help explain your problem.

In this screenshot, when I typed  (shown in the bottom right of the terminal), instead of moving cursor up one file, it shows "?" in the search bar

Sorry that was a mistake.


Node.js  TypeScript team Meeting 2024-08-28

Time
UTC Wed 28-Aug-2024 15:30 (03:30 PM):

Timezone
Date/Time

US / Pacific
Wed 28-Aug-2024 08:30 (08:30 AM)

US / Mountain
Wed 28-Aug-2024 09:30 (09:30 AM)

US / Central
Wed 28-Aug-2024 10:30 (10:30 AM)

US / Eastern
Wed 28-Aug-2024 11:30 (11:30 AM)

EU / Western
Wed 28-Aug-2024 16:30 (04:30 PM)

EU / Central
Wed 28-Aug-2024 17:30 (05:30 PM)

EU / Eastern
Wed 28-Aug-2024 18:30 (06:30 PM)

Moscow
Wed 28-Aug-2024 18:30 (06:30 PM)

Chennai
Wed 28-Aug-2024 21:00 (09:00 PM)

Hangzhou
Wed 28-Aug-2024 23:30 (11:30 PM)

Tokyo
Thu 29-Aug-2024 00:30 (12:30 AM)

Sydney
Thu 29-Aug-2024 01:30 (01:30 AM)

Or in your local time:

https://www.timeanddate.com/worldclock/fixedtime.html?msg=Node.js+Foundation+TypeScript team+Meeting+2024-08-28&iso=20240828T1530
or https://www.wolframalpha.com/input/?i=03PM+UTC%2C+Aug+28%2C+2024+in+local+time

Links

Minutes Google Doc: https://docs.google.com/document/d/1rP3ZjfXYfM4hpGZjqZj_p37eiEtL6cGR73fjBkvUTYg/edit

Agenda
Extracted from typescript-agenda labelled issues and pull requests from the nodejs org prior to the meeting.
nodejs/loaders

Roadmap for experimental TypeScript support #217
Import specifiers in --experimental-strip-types #214

Invited

Typescript team: @nodejs/typescript

Observers/Guests
Notes
The agenda comes from issues labelled with typescript-agenda across all of the repositories in the nodejs org. Please label any additional issues that should be on the agenda before the meeting starts.
Joining the meeting
https://zoom.us/j/95749675148

link for participants: <>
For those who just want to watch We stream our conference call straight to YouTube so anyone can listen to it live, it should start playing at https://www.youtube.com/c/nodejs+foundation/live when we turn it on. There's usually a short cat-herding time at the start of the meeting and then occasionally we have some quick private business to attend to before we can start recording & streaming. So be patient and it should show up.
youtube admin page: https://www.youtube.com/my_live_events?filter=scheduled

Invitees
Please use the following emoji reactions in this post to indicate your
availability.

:+1: - Attending
:-1: - Not attending
:confused: - Not sure yet

@mhdawson sorry to ask, was the meeting recorded? I can't find it on youtube 😅

@mhdawson sorry to ask, was the meeting recorded? I can't find it on youtube 😅

It was recorded but not uploaded, the link is in the minutes PR

@mhdawson sorry to ask, was the meeting recorded? I can't find it on youtube 😅

It was recorded but not uploaded, the link is in the minutes PR.
I have to look into why I was not able to stream it on youtube

thank you so so much to take the time answer me :heart: I'd be interested to watch it once it's uploaded

I have to look into why I was not able to stream it on youtube

Possibly related: I was not able to stream the previous Loaders meeting either (I had to manually record + upload).


Doesn't work on a pirated version or maybe even a license

How to fix?

Yes this does not work on empress version. Do you have a fix?

It doesn't work :(

Rename winmm.dll to d3d11.dll
Probably something to do with the Epic emu


Emit error when missing comma

Currently, this extension will silently accept items without comma

while the builtinjson mode will show a prominent error
How about implementing this by using a simple sementic highlight or some textmate rules like:
{
    "match": "\\}\\s*\\{",
    "name": "invalid.illegal.xxx"
}

Or perhaps you'd like to wait for the official VS Code Team to support using custom textmate rules together with the builtin mode together (As I've seen in your other issues)

yeah, same as in #3
I'm waiting on VSCode to allow custom extensions to enable the builtin json extension
https://github.com/microsoft/vscode/issues/198025
https://github.com/microsoft/vscode/pull/198583
if you want
there is code ready for displaying Treesitter parse errors
you'll just need to import the file and enable it
it wont show what type of error, other than it being an error
(reports on false postive json errors is welcomed)
https://github.com/RedCMD/TmLanguage-Syntax-Highlighter/blob/bcb5d1045fb14393be3a30a5c7320b8e9315c868/out/extension.js#L5-L6
const DiagnosticCollection_1 = require("./DiagnosticCollection");

https://github.com/RedCMD/TmLanguage-Syntax-Highlighter/blob/bcb5d1045fb14393be3a30a5c7320b8e9315c868/out/extension.js#L20 (0, DiagnosticCollection_1.initDiagnostics)(context);

https://github.com/RedCMD/TmLanguage-Syntax-Highlighter/blob/bcb5d1045fb14393be3a30a5c7320b8e9315c868/out/DiagnosticCollection.js#L33
and prob disable the regex errors (many false postives)
https://github.com/RedCMD/TmLanguage-Syntax-Highlighter/blob/bcb5d1045fb14393be3a30a5c7320b8e9315c868/out/DiagnosticCollection.js#L49
I could look into making it a config option to enable/disable error reporting
tho I'll prob have it disabled by default for now

or the other way is manually enabling the builtin json-language-features extension
\extensions\json-language-features\client\dist\node\jsonClientMain.js
just involves adding the languageId to the document selector list "jsonc","json-textmate"

and "activationEvents"
\extensions\json-language-features\package.js
"onLanguage:json-textmate"

Thanks, I turned on the builtin feature, though I think it might be better with a config option in this extension

Now available in the full release 2.3.0 for VSCode 1.87.0


Decompose the Pepr Module Interface

Describe what should be investigated or refactored
We use the ModuleConfig in Pepr build, but the problem is that this is not a type that exists organically. It must be build. So when typing and reducing complexity extra types must be read for the actual PeprConfig object that is a field in the module config.
This would be better if it were decomposed into a ModuleConfig object, with the top level fields from Package.json and then another PeprConfig which has only the Pepr fields.
/** Global configuration for the Pepr runtime. */
export type ModuleConfig = {
  /** The Pepr version this module uses */
  peprVersion?: string;
  /** The user-defined version of the module */
  appVersion?: string;
  /** A unique identifier for this Pepr module. This is automatically generated by Pepr. */
  uuid: string;
  /** A description of the Pepr module and what it does. */
  description?: string;
  /** The webhookTimeout */
  webhookTimeout?: number;
  /** Reject K8s resource AdmissionRequests on error. */
  onError?: string;
  /** Configure global exclusions that will never be processed by Pepr. */
  alwaysIgnore: WebhookIgnore;
  /** Define the log level for the in-cluster controllers */
  logLevel?: string;
  /** Propagate env variables to in-cluster controllers */
  env?: Record<string, string>;
  /** Custom Labels for Kubernetes Objects */
  customLabels?: CustomLabels;
  /** Custom RBAC rules */
  rbac?: PolicyRule[];
  /** The RBAC mode; if "scoped", generates scoped rules, otherwise uses wildcard rules. */
  rbacMode?: string;
};

Links to any relevant code
src/lib/module.ts

Closing this for now, I am not sure this would actually be a good idea as the code is currently


[AutoPR monitor/resource-manager] fix package tag for new API version

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5378

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/4563


docs(guide/Providers): clarification about Service

Сlarification for completeness of information about Service.
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Docs update.
What is the current behavior? (You can also link to an open issue here)
Docs says that Service object isn't available in config phase, but it's available by adding "Provider" suffix to service name. Then $get function can be used then and it's caused extra call of this function if same service, for example, has also been injected in controller.
What is the new behavior (if this is a feature change)?
Docs says that Service object is available in config phase, but it not the right way and Provider should be used instead in case a configuration is required.
Does this PR introduce a breaking change?
Nope.

I signed it!

Injecting providers not registered via .provider() (as this docs change mentions) is both bad practice and not officially supported. I think adding this to the docs (even if explicitly mentioning it is wrong) is more confusing than helpful.
Thx for taking the time to submit a PR, though 👍

Ok, perhaps you are right.


Added support for multiple events and new event types & event description

Added support for "Departure" and "Arrival" event types

Sorry, for missing these PRs ...


Update README.md

can you create 1 PR for all this? thanks.

Will do when I get home.
On 05 June 2016 1:34:27 AM SAST, Jeff<EMAIL_ADDRESS>wrote:

can you create 1 PR for all this? thanks.

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/majestrate/nntpchan/pull/94#issuecomment-223784209

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Done. Merge PR 95.
On 05 June 2016 9:39:45 AM SAST, "Tristan B. Kildaire"<EMAIL_ADDRESS>wrote:

Will do when I get home.
On 05 June 2016 1:34:27 AM SAST, Jeff<EMAIL_ADDRESS>wrote:

can you create 1 PR for all this? thanks.

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/majestrate/nntpchan/pull/94#issuecomment-223784209

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Convert CommonVoice tartar training file from mp3 to wav (44.1kHz)

Used 'sox -i  ' with default 14.4.2 options
soxi output for the wave file I created:
Input File     : 'assets/CommonVoice/cv-corpus-4-2019-12-10/tt/clips/common_voice_tt_00000000.wav'
Channels       : 1
Sample Rate    : 44100
Precision      : 16-bit
Duration       : 00:00:05.00 = 220500 samples = 375 CDDA sectors
File Size      : 441k
Bit Rate       : 706k
Sample Encoding: 16-bit Signed Integer PCM

I wasn't sure about whether we need to change Line 111 of torchaudio/datasets/commonvoice.py.
class COMMONVOICE(Dataset):
    """
    Create a Dataset for CommonVoice. Each item is a tuple of the form:
    (waveform, sample_rate, dictionary)
    where dictionary is a dictionary built from the tsv file with the following keys:
    client_id, path, sentence, up_votes, down_votes, age, gender, accent.
    """

    _ext_txt = ".txt"
    _ext_audio = ".mp3"
    _folder_audio = "clips"

Hi @engineerchuan
Thanks for working on this.
Looks like waves_yesno/0_1_0_1_0_1_1_0.wav and one more file (not sure which one but the one used for test_gtzan) are actually used by test, which I overlooked. Could you put them ?

I wasn't sure about whether we need to change Line 111 of torchaudio/datasets/commonvoice.py.

We should be only changing test, so torchaudio/datasets/commonvoice.py should stay the same. Did you have an issue that way?

Also, can you try reduce the sampling rate of the new wav file (assets/CommonVoice/cv-corpus-4-2019-12-10/tt/clips/common_voice_tt_00000000.wav.) to 8000 Hz? The quality of the audio should not matter to tests and we would like to keep them as small as possible.

Followup: Remove https://github.com/pytorch/audio/blob/master/test/test_datasets.py#L51 and https://github.com/pytorch/audio/blob/master/test/test_datasets.py#L49 to see if this test works on Windows.
@engineerchuan If you have time, would you like to try ^ ?

Followup: Remove https://github.com/pytorch/audio/blob/master/test/test_datasets.py#L51 and https://github.com/pytorch/audio/blob/master/test/test_datasets.py#L49 to see if this test works on Windows.
@engineerchuan If you have time, would you like to try ^ ?

Yes I will try.


appease rubocop

Reduce violations from 41 to 3

Generally I'm :+1: for Rubocop as the changes are minor and don't affect actual code that does anything :ice_cream:. Why not fix the last three?

(we addresses the last three warnings)

:rocket: :cake:


Issue parsing MigMigration phase updates:  'Something went wrong'

I think the issue is we need to tweak the phase strings in below
https://github.com/fusor/mig-ui/blob/master/src/app/home/components/DataList/Plans/MigrationsTable.tsx#L90
Expected strings for phase:
https://github.com/fusor/mig-controller/blob/migration-with-pv-copy/pkg/controller/migmigration/task.go#L21-L44
// Phases
const (
	Created                  = ""
	Started                  = "Started"
	WaitOnResticRestart      = "WaitOnResticRestart"
	ResticRestartCompleted   = "ResticRestartCompleted"
	InitialBackupStarted     = "InitialBackupStarted"
	InitialBackupCompleted   = "InitialBackupCompleted"
	InitialBackupFailed      = "InitialBackupFailed"
	StageBackupStarted       = "StageBackupStarted"
	StageBackupCompleted     = "StageBackupCompleted"
	StageBackupFailed        = "StageBackupFailed"
	CreateStagePodsStarted   = "CreateStagePodsStarted"
	CreateStagePodsCompleted = "CreateStagePodsCompleted"
	WaitOnBackupReplication  = "WaitOnBackupReplication"
	BackupReplicated         = "BackupReplicated"
	StageRestoreStarted      = "StageRestoreStarted"
	StageRestoreCompleted    = "StageRestoreCompleted"
	StageRestoreFailed       = "StageRestoreFailed"
	DeleteStagePodsStarted   = "DeleteStagePodsStarted"
	DeleteStagePodsCompleted = "DeleteStagePodsCompleted"
	FinalRestoreStarted      = "FinalRestoreStarted"
	FinalRestoreCompleted    = "FinalRestoreCompleted"
	FinalRestoreFailed       = "FinalRestoreFailed"
	Completed                = "Completed"
)

Sample of controller logs to see what the phase strings are.

$ oc logs controller-manager-79bf7cd7d-99sbr

{"level":"info","ts":1562796545.0980382,"logger":"migration|mvv6n","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":""}
{"level":"info","ts":1562796545.2073212,"logger":"migration|btndl","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"Started"}
{"level":"info","ts":1562796545.497043,"logger":"migration|sj5h4","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"Prepare"}
{"level":"info","ts":1562796548.602678,"logger":"migration|smqth","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"AnnotateResources"}
{"level":"info","ts":1562796550.2975218,"logger":"migration|smqth","msg":"PVC annotations/labels added.","ns":"mysql-persistent","name":"mysql"}
{"level":"info","ts":1562796550.4976387,"logger":"migration|smqth","msg":"Pod annotations/labels added.","ns":"mysql-persistent","name":"mysql-1-x26sf"}
{"level":"info","ts":1562796550.7030776,"logger":"migration|smqth","msg":"PV annotations/labels added.","name":"vol21"}
{"level":"info","ts":1562796550.997516,"logger":"migration|878sp","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"EnsureStagePods"}
{"level":"info","ts":1562796553.3974576,"logger":"migration|878sp","msg":"Stage pod created.","ns":"mysql-persistent","name":"mysql-1-x26sf"}
{"level":"info","ts":1562796561.6027858,"logger":"migration|f66rl","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StagePodsCreated"}
{"level":"info","ts":1562796567.9523482,"logger":"migration|vxgn9","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StagePodsCreated"}
{"level":"info","ts":1562796571.0025575,"logger":"migration|wdcln","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"RestartRestic"}
{"level":"info","ts":1562796573.1972775,"logger":"migration|s4r26","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"ResticRestarted"}
{"level":"info","ts":1562796578.1074245,"logger":"migration|cvn4z","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"ResticRestarted"}
{"level":"info","ts":1562796582.4004169,"logger":"migration|t5m9l","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"QuiesceApplications"}
{"level":"info","ts":1562796582.5095086,"logger":"migration|wlq4w","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"QuiesceApplications"}
{"level":"info","ts":1562796582.6073208,"logger":"migration|8lq5s","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"EnsureStageBackup"}
{"level":"info","ts":1562796599.4024584,"logger":"migration|fzvtg","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageBackupCreated"}
{"level":"info","ts":1562796614.6201847,"logger":"migration|vrfgl","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageBackupCreated"}
{"level":"info","ts":1562796622.1969802,"logger":"migration|8ft7s","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"EnsureStageBackupReplicated"}
W0710 22:10:24.905287       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: watch of *v1.Restore ended with: The resourceVersion for the provided watch is too old.
{"level":"info","ts":1562796626.2971382,"logger":"migration|6tzxl","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"EnsureStageBackupReplicated"}
{"level":"info","ts":1562796627.8970518,"logger":"migration|shrml","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"EnsureStageRestore"}
{"level":"info","ts":1562796632.4973018,"logger":"migration|qs2ss","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"EnsureStageRestore"}
{"level":"info","ts":1562796638.3094,"logger":"migration|g5cjj","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562796641.797754,"logger":"migration|gjt74","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562796654.6974547,"logger":"migration|77rnj","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562796715.543296,"logger":"migration|79zrb","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
W0710 22:12:16.642042       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:196: watch of *v1.ImageStream ended with: The resourceVersion for the provided watch is too old.
{"level":"info","ts":1562796775.99737,"logger":"migration|z8pnn","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
W0710 22:13:45.597011       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: watch of *v1.VolumeSnapshotLocation ended with: The resourceVersion for the provided watch is too old.
{"level":"info","ts":1562796832.6166527,"logger":"migration|zvnnt","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562796839.5057797,"logger":"migration|thdjk","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562796893.9112713,"logger":"migration|xglx8","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
W0710 22:15:32.307345       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: watch of *v1.Secret ended with: The resourceVersion for the provided watch is too old.
{"level":"info","ts":1562796942.106262,"logger":"migration|hftm5","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562796955.4062016,"logger":"migration|4cwkf","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
W0710 22:16:27.403137       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:196: watch of *v1.DeploymentConfig ended with: The resourceVersion for the provided watch is too old.
{"level":"info","ts":1562797014.5097957,"logger":"migration|sx2h4","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
W0710 22:17:20.605251       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: watch of *v1.Namespace ended with: The resourceVersion for the provided watch is too old.
W0710 22:17:30.202321       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: watch of *v1.PersistentVolume ended with: The resourceVersion for the provided watch is too old.
{"level":"info","ts":1562797052.0974562,"logger":"migration|rvd4b","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562797063.731415,"logger":"migration|vkf7r","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562797070.497456,"logger":"migration|h4l5n","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562797081.9364996,"logger":"migration|7f298","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
W0710 22:18:21.455607       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: watch of *v1.PersistentVolumeClaim ended with: The resourceVersion for the provided watch is too old.
{"level":"info","ts":1562797110.9062626,"logger":"migration|s2hps","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562797134.7017295,"logger":"migration|7ckcq","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
W0710 22:19:53.171628       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: watch of *v1.BackupStorageLocation ended with: The resourceVersion for the provided watch is too old.
{"level":"info","ts":1562797193.852607,"logger":"migration|dnh4f","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562797202.8054626,"logger":"migration|98bst","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562797253.6973243,"logger":"migration|lmckl","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562797315.097403,"logger":"migration|5dnvv","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562797376.605397,"logger":"migration|vq2jm","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
W0710 22:23:38.698163       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: watch of *v1.VolumeSnapshotLocation ended with: The resourceVersion for the provided watch is too old.
W0710 22:23:45.197115       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: watch of *v1.Backup ended with: The resourceVersion for the provided watch is too old.
{"level":"info","ts":1562797426.5969393,"logger":"migration|4zn8v","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562797434.917146,"logger":"migration|k79tv","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562797442.417899,"logger":"migration|n7lvt","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562797495.2032287,"logger":"migration|zvh9p","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
W0710 22:25:10.825003       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: watch of *v1.Namespace ended with: The resourceVersion for the provided watch is too old.
{"level":"info","ts":1562797518.3098772,"logger":"migration|kk2gm","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
W0710 22:25:29.849059       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:196: watch of *v1.DeploymentConfig ended with: The resourceVersion for the provided watch is too old.
{"level":"info","ts":1562797554.3974226,"logger":"migration|h6rvm","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
W0710 22:26:34.317150       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: watch of *v1.Restore ended with: The resourceVersion for the provided watch is too old.
W0710 22:26:52.997100       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: watch of *v1.PersistentVolumeClaim ended with: The resourceVersion for the provided watch is too old.
{"level":"info","ts":1562797615.097406,"logger":"migration|dlttp","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562797624.1080282,"logger":"migration|ljtxf","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562797629.0210848,"logger":"migration|8tlds","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562797675.4026332,"logger":"migration|286rk","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
W0710 22:28:39.911972       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: watch of *v1.Secret ended with: The resourceVersion for the provided watch is too old.
W0710 22:28:43.622506       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:196: watch of *v1.ImageStream ended with: The resourceVersion for the provided watch is too old.
{"level":"info","ts":1562797733.4973755,"logger":"migration|p2qbr","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562797739.797506,"logger":"migration|dntpk","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
W0710 22:29:17.514675       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: watch of *v1.PersistentVolume ended with: The resourceVersion for the provided watch is too old.
{"level":"info","ts":1562797767.6056058,"logger":"migration|cr8mz","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562797776.2020292,"logger":"migration|ctf4x","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562797793.796985,"logger":"migration|tzvnl","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
W0710 22:30:02.711532       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: watch of *v1.VolumeSnapshotLocation ended with: The resourceVersion for the provided watch is too old.
{"level":"info","ts":1562797811.7055976,"logger":"migration|r4f2l","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562797855.4111822,"logger":"migration|qmnfk","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
{"level":"info","ts":1562797916.9055614,"logger":"migration|5x4hp","msg":"Migration [RUN]","name":"54985200-a35f-11e9-a81b-a514154a7515","stage":true,"phase":"StageRestoreCreated"}
W0710 22:32:42.584313       1 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:126: watch of *v1.BackupStorageLocation ended with: The resourceVersion for the provided watch is too old.

#324 addressed the immediate issue, but we need to file another issue that correctly describes the expected behavior and strings for our statuses.


TypeError: _effect is not a function

I'm testing an offline-first implementation with this awesome library and feathersjs.
My basic test-store is like:
import { createStore, applyMiddleware, combineReducers, compose } from 'redux'
import { offline } from '@redux-offline/redux-offline'
import offlineConfig from '@redux-offline/redux-offline/lib/defaults'
import client from './feathers'

const config = {
  ...offlineConfig,
  effect: (effect, action) => {
    console.log('EFFECT: ', effect)
    console.log('ACTION: ', action)
    return effect()
  }
}

const ADD_TODO = 'ADD_TODO'
const SET_TODOS = 'SET_TODOS'

export const loadTodos = todos => ({
  type: SET_TODOS,
  payload: todos
})

export const addTodo = todo => ({
  payload: todo,
  type: ADD_TODO,
  meta: {
    offline: {
      effect: () => client.service('todos').create(todo)
    }
  }
})

const todoReducer = (state = [], action) => {
  switch (action.type) {
    case SET_TODOS:
      return action.payload
    case ADD_TODO:
      return [...state, action.payload]
    default:
      return state
  }
}

const reducer = combineReducers({
  todos: todoReducer
})

const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose

const Store = createStore(
  reducer,
  {},
  composeEnhancers(
    applyMiddleware(),
    offline(config)
  )
)

export default Store

client.service('todos').create(todo) returns a Promise, and in fact when my app is online everything was fine, the effect was executed. When my app is offline a todo is added to the store and the effect is enqueued, and if I go back online without refresh the page everything works. But if in the meantime I refresh the page, the 'offline' branch store is rehydrated but the 'offline' meta field of the action is empty, like so.

causing this error:

I can't figure out the problem, any suggestion?
UPDATE
I tried to remove redux devtools, but still not works.

Functions are not serializable. There is no way to save them between sessions, so this will never work through a refresh. This is why the default is to explain requests as objects.

ok thanks, can be closed.


Update maven/properties for JIB Image Build

Please provide a proper description, lots of XML formatting makes the changes not understandable.
Please fix the CR on the application properties file using the UNIX format.


Failed to Load Stable.Art on MAC Book Pro M1

Hi! I got this problem on my mac and cannot fix it much.
I grant access to "Accessibility" because i saw that someone just reseted firewall. I don't have firewall so i don't think that's the problem. Can you please help?

Could you open https://stable.art/plugin-code/js/app.js in the browser, does it work? Also, are you sure that firewall is disabled in the settings (maybe you disabled it, but there was something like a bug, and your new settings did not apply)?


Tweaks to adding a newly created domain to the cache

Follow on research to https://github.com/octodns/octodns-dnsmadeeasy/pull/18, intended to be merged there, if anything.
/cc See https://github.com/octodns/octodns-dnsmadeeasy/pull/18 for more details

Added some bits
Unsure why this is failing, if I remove the one above it it works fine. Do the context handlers not reset the mock?
        # Non-existent zone doesn't populate anything
        with requests_mock() as mock:
            with open('tests/fixtures/dnsmadeeasy-no-domains.json') as fh:
                mock.get(f'{base}/', text=fh.read())

            zone = Zone('unit.tests.', [])
            provider.populate(zone)
            self.assertEqual(0, len(zone.records))

        # No diffs == no changes
        with requests_mock() as mock:
            with open('tests/fixtures/dnsmadeeasy-domains.json') as fh:
                mock.get(f'{base}/', text=fh.read())
            with open('tests/fixtures/dnsmadeeasy-records.json') as fh:
                mock.get(f'{base}/123123/records', text=fh.read())

                zone = Zone('unit.tests.', [])
                provider.populate(zone)
>               self.assertEqual(14, len(zone.records))
E               AssertionError: 14 != 0

Unsure why this is failing, if I remove the one above it it works fine. Do the context managers not reset the mock? Will need to come back to this later this weekend.

Maybe it's the domains and/or records cache on the provider instance?

Closing this in favor of #21


Could you give me a hand?

I am sorry that this is a bug of our original code. I have fixed it. Please reinstall the repo with git install --editable ., and follow the commands in README. It should work fine.

@Zhihan1996
Hi, Zhihan
I reinstalled the  repo but another error exists:
<class 'transformers.tokenization_dna.DNATokenizer'>
Traceback (most recent call last):
  File "run_pretrain.py", line 885, in <module>
    main()
  File "run_pretrain.py", line 789, in main
    tokenizer = tokenizer_class.from_pretrained(args.tokenizer_name, cache_dir=args.cache_dir)
  File "/home/malab14/Research/DeepTFBS/DNABERT/src/transformers/tokenization_utils.py", line 377, in from_pretrained
    return cls._from_pretrained(*inputs, **kwargs)
  File "/home/malab14/Research/DeepTFBS/DNABERT/src/transformers/tokenization_utils.py", line 479, in _from_pretrained
    list(cls.vocab_files_names.values()),
OSError: Model name 'dna6' was not found in tokenizers model name list (dna3, dna4, dna5, dna6). We assumed 'dna6' was a path, a model identifier, or url to a directory containing vocabulary files named ['vocab.txt'] but couldn't find such vocabulary files at this path or url.

This error happens when it can not access to the following vocab file https://raw.githubusercontent.com/jerryji1993/DNABERT/master/src/transformers/dnabert-config/bert-config-6/vocab.txt. Does your server have network access?

Will mark this as closed for now and please feel free to let us know if there is any follow-up questions!


OS X: Workbench server not found after Hibernating, needs Wi-Fi reset.

After I move my OS X (10.10) laptop from one to another known Wi-Fi network, the workbench cannot be found. The usage scenario is this:

Start OS X.
Connect to Wi-Fi network.
Start Workbench and use it normally. It can be found by the client app.
Close lid of laptop, at which it goes to sleep and eventually Hibernation mode.
Open the lid of the laptop, waking it from sleep.
OS X automatically connects to the (same or different) Wi-Fi network.
The workbench server cannot be found by the client app, even after restarting the workbench.
Turn off and turn on Wi-Fi.
The workbench server can now be found again.

The Workbench computer doesn't receive the broadcast packets from the client, evident by looking at the traffic captured by CocoaPacketAnalyzer. This issue is therefore considered to belong to OS X internals and cannot likely be corrected in ETC or ETS other than through workarounds. I will keep this issue open to raise awareness.


Support status code on java responses

Allow status code to be set on java template responses.
Description
Add get/set methods for response status code.
Process status code in java app entrypoint.
Motivation and Context
When attempting to handle any abnormal situation(4xx/5xx) in a java fn there are two options.

200 with a message.
Throw an exception which results in a 500 Internal Server Error.

These new methods allow for a more granular handling of error scenarios.

[ ] I have raised an issue to propose this change (required)

Which issue(s) this PR fixes

Fixes #
How Has This Been Tested?

Types of changes

[ ] 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 change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Thanks for this, I'm actually really surprised this wasn't in the first cut.
How are you finding using the template? Would you like an invite to Slack?


Fixup warnings

This is just a warning clean-up, shouldn't have any behavioral changes.

@mortoray: Math.Round with float and float{2,3,4} as argument, as well as Random.NextInt(x) are deprecated, yes.

Do note that the Math.Round overloads aren't deprecated in the uno-version we're using in fuselibs yet. But they are on uno master.


Script.py should not have references to AML SDK 1.x, only to our libraries and ML frameworks such as Scikit-Learn, etc.

Script.py should not have references to AML SDK 1.x, only to our libraries and ML frameworks such as Scikit-Learn, etc.
Code like the following should be positioned in the NOTEBOOK:
def get_training_dataset():
    from azureml.core import Dataset, Workspace, Run

    ws = Run.get_context().experiment.workspace
    dataset = Dataset.get_by_id(workspace=ws, id='02e66846-1b8c-452a-9a48-b1d46dbde4c0')
    return dataset.to_pandas_dataframe()

Not using AML Datasets in the Script.py, but instead only functions using Pandas DataFrame in the script.py.
REASON:
Script.py should be agnostic as much as possible to specific AML SDK versions so if it's decoupled we'll be able to migrate CodeGen easily to AML SDK vNext, later on...

The user's input data must be retrieved from somewhere. The alternative to this implementation would be to download the data when running the notebook and then reupload that same data as part of the script run by placing it in the project folder. If the dataset is large, this is not ideal.

@CESARDELATORRE, should this ask be applicable to the environment yml that will be used for model deployment instead of the script?

@rtanase Possibly, we should also use environments targeting what's needed for that model, not for all the dependencies.
But my point is simple, I mean to put the following lines in the Notebook, not in the Script.py:
    ws = Run.get_context().experiment.workspace
    dataset = Dataset.get_by_id(workspace=ws, id='02e66846-1b8c-452a-9a48-b1d46dbde4c0')
    pandas_df = dataset.to_pandas_dataframe()

Then pass the "pandas_df" to the functions in "Script.py" as a Pandas DF parameter, so that Script won't have direct code dependencies to AML SDK (AML Dataset, in this case), if possible.


http://w2ui.com/web/ database connection problem

There is a warning thrown by PHP:
Warning: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5432? in /var/www/web20boom/web/libs/phpDB.php on line 50 ERROR: Cannot connect to postgres.

FIxed


CARLA 0.9.15: Agent Collision at Junction with Mitsubishi FusoRosa

I'm encountering an issue with agent behavior in CARLA version 0.9.15 on Windows 10. While running manual_control.py with the --sync -a flags in the Town02 map, the following behavior is observed:
Collision at Junction: When the agent is controlling a specific vehicle model (e.g., Mitsubishi FusoRosa) and approaching a particular junction, it tends to make a turning error. While attempting a left turn, the agent often turns prematurely, resulting in a collision with a street lamp located at the junction (as shown in the provided image).

Expected Behavior: The agent should successfully navigate the left turn at the junction without causing a collision with the street lamp.
Reproduction Steps:
Execute python manual_control.py --sync -a in the Town02 map.
Spawn a vehicle (preferably the Mitsubishi FusoRosa) near the specified location in the image.
Allow the agent to control the vehicle and observe its behavior as it approaches the junction.
Witness the potential collision between the vehicle and the street lamp during the left turn maneuver.
Additional Information:
It's worth noting that this collision also occurs with NPC vehicles controlled by the agent when using generate_traffic.py --filterv vehicle.mitsubishi.fusorosa.

Hello, this is a known problem of Carla from the old towns, very tight turns were made, and later when long vehicles were modelled it was seen that they had problems to turn in such small curves, that's why a label was created, to know which vehicles were suitable to drive without problems in those maps. Greetings.

Hello, this solved your question? the issue will be closed, in any case if something happens feel free to reopen the issue


Add options to change outputFile and filter coverage files

closes https://github.com/istanbuljs/puppeteer-to-istanbul/issues/15
Adds two options to PuppeteerToIstanbul.prototype.writeIstanbulFormat
Note: This doesn't change default behaviour
Usage
pti.write(coverage, options)
Options

option
Description
Default Value

outputFile
Output coverage will be saved at this file path (can be relative to project root dir or an absolute path)
./.nyc_output/out.json

filter
Function to filter coverage files. Coverage will only be saved if it returns true for give filePath
(filePath) => true

Additional changes
Added tests for lib/puppeteer-to-istanbul.js with 100% coverage 🚀

Any updates on whether and when this might be merged?

Knock Knock! Someone?


az interactive stop working after last upgrade

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az interactive
Errors:
Error loading command module 'iot': progress_patch() got an unexpected keyword argument 'det'
Error loading command module 'network': progress_patch() got an unexpected keyword argument 'det'
Error loading command module 'resource': progress_patch() got an unexpected keyword argument 'det'
Error loading command module 'sql': progress_patch() got an unexpected keyword argument 'det'
Error loading command module 'vm': progress_patch() got an unexpected keyword argument 'det'
'public-ip' is misspelled or not recognized by the system.

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az interactive

Expected Behavior
Environment Summary
Linux-5.4.0-72-generic-x86_64-with-debian-bullseye-sid
Python 3.6.10
Installer: DEB

azure-cli 2.22.1

Extensions:
interactive 0.4.4

@jiasli for awareness

Duplicate of #17740


fix: drone now running bootstrap instead of migrate before apply

fixes #814

Can we have both?
I am planning to leverage migration triggered within drone pipeline so it automatically migrates values on otomi version tag change.


Removing unused parameters from method signature

Description
I have worked on the following class removing the unused parameters from method signature.
Tracking

[Removing Unuse parameters from method signature] https://sonarcloud.io/project/issues?resolved=false&rules=java%3AS1172&id=apache_camel

Folks, I've been giving some ideas/help for @lhsribas on his first contribution to Camel. Please, feel free to step in and provide more comments.

Hi,
I would like to suggest using method overload to createBaseDescription and turning the method with unused parameters deprecated. Thus, you can change the call to the need method in many other PRs. I think it is more secure approach.

This one has stalled, therefore closing.


gh-887 - moved the core-library into a types module in core

Codecov Report

Merging #895 into develop will increase coverage by 1.01%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop     #895      +/-   ##
=============================================
+ Coverage      62.45%   63.46%   +1.01%
- Complexity       859      902      +43
=============================================
  Files            455      455
  Lines          13053    13053
  Branches        1478     1478
=============================================
+ Hits            8152     8284     +132
+ Misses          4315     4178     -137
- Partials         586      591       +5

Impacted Files
Coverage Δ
Complexity Δ

.../gchq/gaffer/binaryoperator/FreqMapAggregator.java
100% <ø> (ø)
4 <0> (?)

...gchq/gaffer/serialisation/TypeValueSerialiser.java
67.5% <ø> (ø)
10 <0> (?)

...v/gchq/gaffer/serialisation/FreqMapSerialiser.java
79.16% <ø> (ø)
14 <0> (?)

.../java/uk/gov/gchq/gaffer/types/IntegerFreqMap.java
13.33% <ø> (ø)
1 <0> (?)

...affer/binaryoperator/IntegerFreqMapAggregator.java
100% <ø> (ø)
4 <0> (?)

...ov/gchq/gaffer/serialisation/DoubleSerialiser.java
40% <ø> (ø)
4 <0> (?)

...ava/uk/gov/gchq/gaffer/types/TypeSubTypeValue.java
52.5% <ø> (ø)
13 <0> (?)

.../gov/gchq/gaffer/serialisation/AvroSerialiser.java
65.11% <ø> (ø)
7 <0> (?)

...gov/gchq/gaffer/serialisation/FloatSerialiser.java
40% <ø> (ø)
4 <0> (?)

...rc/main/java/uk/gov/gchq/gaffer/types/FreqMap.java
13.33% <ø> (ø)
1 <0> (?)

... and 14 more

Continue to review full report at Codecov.

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


Indentation of files inside a folder in file browser

I'd like to see the files contained inside a file browser indented slightly for and for more clarity between files and folders. This is because I and some colleagues have trouble working on larger projects in navigating the file browser. Often losing track of what folder we are looking in or what files belong to a folder.

Does https://github.com/microsoft/vscode/issues/102025#issuecomment-656366713 help?

Actually it does. It's exactly what I was looking for
On Mon, 22 Feb 2021, 00:07 John Murray<EMAIL_ADDRESS>wrote:

Does #102025 (comment)
https://github.com/microsoft/vscode/issues/102025#issuecomment-656366713
help?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/117192#issuecomment-782956539,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABF2VWYCG3O4JDNJELIGCPDTAGN5BANCNFSM4X7QGTPQ
.

Great, let's close then


Set default value for optional param.

It should be possible to invoke the method without having to explicitly set the 2nd parameter as null.

Thanks @alexsegura !


test(prow-dev): enable ti-community-blunderbuss on test-dev repo

/merge

@wuhuizuo: Updated the following 2 configmaps:

plugins configmap in namespace prow at cluster default using the following files:

key plugins.yaml using file configs/prow-dev/config/plugins.yaml

external-plugins-config configmap in namespace prow at cluster default using the following files:

key external_plugins_config.yaml using file configs/prow-dev/config/external_plugins_config.yaml

In response to this:

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Migrated the CPF validation library

The current CPF validation library has a shoddy construction and does not recognise repeated digit CPF numbers as invalid (e.g. 999.999.999-99). Migrated to a better one, and improved readability.
Local tests are passing.

Coverage decreased (-0.003%) to 98.042% when pulling a30feb8e94c744128c2051916ee8841edf2b4e49 on luizberti:cpf-library-migration into c599dc73298fdc5c1ceb4077fa1553c75358e90c on datasciencebr:master.

Hmm, coveralls seems to think that test coverage has decreased but I think it just got confused over the fact that I deleted more code than I added, so it seems to believe it's testing less things than before.
What should I do about this?

Hmm, coveralls seems to think that test coverage has decreased

Coverage decreased (-0.003%) — I wouldn't bother about it ; )


Add Ion Text parser (compatible with upstream Ion implementations)

This parser is similar to how ion-go parses, and as such, exhibits similar behavior (confirmed via unit-tests). It should be compliant to the Ion text parsers upstream -- but will require further testing with the ion-tests repo to fully confirm.
Feature list:

[x] tokenizer (split the characters in the input range into independent tokens)
[x] skippers (skip over values within the input range)
[x] readers (read the contents of tokens within the input range)
[x] unit-tests (validate functionality with upstream Ion implementations)

This PR depends on #147 being merged.

@9il if you could review this -- I don't think that it's ready to merge as-is, but I'd love any and all input. It should be relatively trivial to fully connect Ion text and attaching it to the binary representation.
I can minimize GC usage in this if requested -- just let me know.

Awesome! That is really great. I will do a proper review. Few nitpicks for now:

Please use spaces instead of tabs. Sometimes there are tabs. There are additional leading spaces in the comments.
Please reduce the number of std.* imports. For example, if cast a char to ubyte, just cast(ubyte) can be used. See also what std modules are used by other mir-ion and mir-algorithm code.
We should support UTF-8, support for the other encodings is optional. It is very desired to support it without using Unicode tables and/or std.utf. However, for the first release, we can use std.utf/std.uni if required for simplicity.
Please add the information about the author to each module you have added.
std.format is undesired. See also mir.format and mir.exception. Mir exceptions and mir.format can format the arguments using the stack memory.

Thank you!

I believe I've addressed 1, 2, 4, and 5 with those commits above.
Would you mind clarifying for 3 -- where should UTF-8 support exist (if not already present)?

Thanks! I need to finish #146 and rebase your PR on it. I plan to work on it this weekend.

@hatf0 I have added you to the gihub libmir organization.  The PR review is in #153


importmagic converts multiline imports using parenthesis to slashed

It should keep whatever style is in use.
Thanks for your amazing work! :)

Agreed.

@birkenfeld are you planning on working on this anytime soon?
If not, I will try to do it when I have some spare time.

Sure, go ahead :)

Is it OK if the default is to group by parentheses when there are neither backslash nor parentheses grouped imports?
Thats the proposed way in PEP0328

Hm, this is probably something we want to have an option for. Something like
Imports.set_style(multiline='parenthesis') # or 'backslash' or 'many'

More kwargs could be added (ordering by alphabet or by module name length, handling of newlines between imports, ...)


How to use Javafx mediaview with this library?

I'd love to use this library because it wraps webrtc which takes care of my needs. I'm trying to build a Javafx project but i have been kinda lost.  How do i get javafx mediaview to play video from the peerconnection

you need to review the demo abit

i see that it uses a VideoView, but i'm not sure how to get that in my project
i just use this artifact to get webrtc-java in my project, not exactly sure how to get the things from the demo
<dependency>
    <groupId>dev.onvoid.webrtc</groupId>
    <artifactId>webrtc-java</artifactId>
    <version>0.6.0</version>
</dependency>

I'm new to this whole java space, so bear with me

Okay, i found the artifact for the demo
 <dependency>
            <groupId>dev.onvoid.webrtc.demo</groupId>
            <artifactId>webrtc-java-demo-javafx</artifactId>
            <version>0.1.0</version>
        </dependency>

I'm going to go tinker around and see what happens. Thanks @kinsleykajiva ..  Will close the issue if i get something working

I have made a demo that uses Janus please review here I hope it will be helpful     https://github.com/kinsleykajiva/javafx-webRTC-desktop-app

@kinsleykajiva thank you. i will review as soon as i get a chance

Closing this here as for questions please use the discussions feature.


in-place update to 0.8.1 gives  blank goal stats graphs, manually reindexing is helping

After updating from version 0.8 to 0.8.1, I encountered a problem with the sidebar graph displaying a single goal and the tab showing all goals. Following the update, these graphs appeared blank, displaying no data (I had them open before update) .
Resolution Steps:
To resolve this issue, I attempted the following:

Went to the settings menu.
Initiated a reindexing process (I explicitly added the "md" option, although this may not be necessary).
After reindexing, both the sidebar graph and the tab displaying all goals began displaying the expected data.

My thought:  You likely reindex when initially starting Obsidian or explicitly trigger a reindex, but it appears that reindexing doesn't automatically occur when you simply reload/reinstall  the plugin or isn't initiatlised somehow when moving from earlier version.

Full reload of goals and stats added on first plugin load in release 0.8.2

@lynchjames  This behaviour repeated after updating to 9.0,  updating to 9.0 resulted in blank panes, reindexing helped


stricter authority validation

Authority validation currently checks to see if the total weight (total_weight) over all keys and accounts in an authority is greater than or equal to the specified threshold. Besides an upper limit on the total number of keys/accounts in the authority, there is no other validation check. This means it is possible to provide an authority with no keys or accounts, which makes the authority unsatisfiable.
To prevent users from accidentally running into this situation (which can actually easily happen using cleos if you give it a JSON without the appropriate field names), the authority validation should also check that total_weight > 0.
ATC:
Verify new unittest for this condition passes.

pull request #2369 created for this


⚠ Bofrost.es has degraded performance

In 5ff12be, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1525 ms

Resolved: Bofrost.es performance has improved in 0ba61b5.


backward search shows duplicated lines(garbled display) with set cursorline and scrolloff=3

Describe the bug
Duplicated lines seen on screen after backward search, when set cursorline and set scrolloff=3(or any value bigger than the default of 0), thus needing a refresh via Ctrl+L
To Reproduce
Detailed steps to reproduce the behavior:

Run vim with a ~/.vimrc containing only these two lines:

set cursorline
set scrolloff=3

Edit this file https://gist.github.com/temporaryrespite/c4a47ab0a6e02a57f436254f89ce1d50/raw/7ce2abb67ea8bcd16eaa6364733385e84549e3c5/dd.c
Type /ltell (lowecase L)
type shift+n to search backward
repeat step 4 until you see duplicated lines

Expected behavior
no garbage or duplicated/overwritten lines on screen: ie. as if Ctrl+L (to refresh screen) was pressed after every backward search.
Screenshots
See this animation made by <nickspoons>(irc) here: https://asciinema.org/a/gujdxPYBI3xYSVgQFf5a9ujpR
See this screenshot which shows 3 consecutive (on-screen)lines being duplicated:

Those 3 lines starting with "urned." are duplicated, and the last line still has the underline! (if testing in TERM=linux, the last line has blue color instead)
EDIT: Made a .gif (I thought I couldn't upload it, but it worked now)

Environment (please complete the following information):

Vim version [e.g. 8.1.1234] (Or paste the result of vim --version.)

$ vim --version

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Mar  1 2020 17:21:03)
Included patches: 1-343
Compiled by Arch Linux
Huge version without GUI.  Features included (+) or not (-):
+acl               -farsi             -mouse_sysmouse    -tag_old_static
+arabic            +file_in_path      +mouse_urxvt       -tag_any_white
+autocmd           +find_in_path      +mouse_xterm       +tcl/dyn
+autochdir         +float             +multi_byte        +termguicolors
-autoservername    +folding           +multi_lang        +terminal
-balloon_eval      -footer            -mzscheme          +terminfo
+balloon_eval_term +fork()            +netbeans_intg     +termresponse
-browse            +gettext           +num64             +textobjects
++builtin_terms    -hangul_input      +packages          +textprop
+byte_offset       +iconv             +path_extra        +timers
+channel           +insert_expand     +perl/dyn          +title
+cindent           +job               +persistent_undo   -toolbar
-clientserver      +jumplist          +popupwin          +user_commands
-clipboard         +keymap            +postscript        +vartabs
+cmdline_compl     +lambda            +printer           +vertsplit
+cmdline_hist      +langmap           +profile           +virtualedit
+cmdline_info      +libcall           +python/dyn        +visual
+comments          +linebreak         +python3/dyn       +visualextra
+conceal           +lispindent        +quickfix          +viminfo
+cryptv            +listcmds          +reltime           +vreplace
+cscope            +localmap          +rightleft         +wildignore
+cursorbind        +lua/dyn           +ruby/dyn          +wildmenu
+cursorshape       +menu              +scrollbind        +windows
+dialog_con        +mksession         +signs             +writebackup
+diff              +modify_fname      +smartindent       -X11
+digraphs          +mouse             -sound             -xfontset
-dnd               -mouseshape        +spell             -xim
-ebcdic            +mouse_dec         +startuptime       -xpm
+emacs_tags        +mouse_gpm         +statusline        -xsmp
+eval              -mouse_jsbterm     -sun_workshop      -xterm_clipboard
+ex_extra          +mouse_netterm     +syntax            -xterm_save
+extra_search      +mouse_sgr         +tag_binary
   system vimrc file: "/etc/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L. -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.30/core_perl/CORE  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -L/usr/local/lib -Wl,--as-needed -o vim        -lm -ltinfo -lelf -lnsl    -lacl -lattr -lgpm -ldl   -Wl,-E -Wl,-rpath,/usr/lib/perl5/5.30/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/perl5/5.30/core_perl/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc   -L/usr/lib -ltclstub8.6 -ldl -lz -lpthread -lm

OS: [e.g. Ubuntu 18.04, Windows 10 1809, macOS 10.14]
ArchLinux 64 bit, up to date(rolling release, not on testing branch)
Terminal: [e.g. GNOME Terminal, mintty, iTerm2, tmux, GNU screen] (Use GUI if you use the GUI.)
xterm, xfce4-terminal, or TERM=linux (alt+ctrl+f2)

Additional context
Tested in 80x24 (stty size - thanks <Viking667>)
In ctrl+alt+F2 terminal (aka TERM=linux) I was able to set 80x24 via stty rows 24 cols 80 and then execute the repro. steps.

Searching is not relevant (although is a simple way to trigger the issue in this case). Here's a way to trigger it with the same file, without searching, in a 83:40 terminal:

Open vim with this command: vim --clean -c 'set cul so=5' -c '1278' -c 'normal zt' file.c
Navigate to line 1272: 1272G

a couple workarounds:
/usr/share/vim/vimVERSION/plugin/matchparen.vim
change the following line
autocmd! CursorMoved,CursorMovedI,WinEnter * call s:Highlight_Matching_Pair()
to
autocmd! CursorMoved,CursorMovedI,WinEnter * call s:Highlight_Matching_Pair() | redraw!
alternatively, in one's vimrc:
augroup MyAutoCmd
       autocmd!
       autocmd CursorMoved * execute 'redraw!'
augroup END

One may wish to debug Highlight_Matching_Pair() to identify the root cause, if indeed it is there. I have just started learning vimscript in the last couple days so this should serve as a launching point more than a complete workaround solution I think.

Very cool workaround <irced> ! (also Thank you for your time on irc helping me debug this issue even before I created it here!)
If I understand it correctly, this workaround is like a refresh that doesn't flicker?!
Nicely added it to my .vimrc with the proper credits.
Cheers, my friend!
PS: <nickspoons> you cool repro. steps work with xfce4-terminal in 80x24 also! Verr nice!
 I don't know how to use irced's fix with your repro. steps though, tried:
$ vim --clean -c 'set cul so=5' -c '1278' -c 'normal zt' -c 'autocmd! CursorMoved * execute "let s:temporaryBool = v:hlsearch" | execute "let v:hlsearch = 0" | execute "let v:hlsearch = s:temporaryBool"' /tmp/dd.c

or pasting the autocmd! line after 'vim' started at a : prompt
but both variants yields this:
"/tmp/dd.c" [noeol] 2617L, 86859C
Error detected while processing CursorMoved Autocommands for "*":
E461: Illegal variable name: s:temporaryBool
Press ENTER or type command to continue

weird

@temporaryrespite you can't use s: variables outside of a script. Just call the variable temporaryBool instead of s:temporaryBool.

Compared with redraw, no flicker that I can see, and no side effects that I have encountered since I myself added it to my vimrc. The light of the stellar creation that is VIM should not be obscured by such a grotesque bug! I couldn't vim without doing something to help address it! Hopefully my kludge sheds some light to expedite a proper patch! Thanks for making it so easy to reproduce the bug. I'm sure it will help the developers immensely in remedying this.


make logging explicit when fetching tokens from other namenodes

Pull Request Test Coverage Report for Build 4565

0 of 3 (0.0%)  changed or added relevant lines in 1 file are covered.
2198 unchanged lines in 54 files lost coverage.
Overall coverage increased (+0.6%) to 38.549%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

azkaban-hadoop-security-plugin/src/main/java/azkaban/security/HadoopSecurityManager_H_2_0.java
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

az-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/SparkJobArg.java
1
0.0%

azkaban-hadoop-security-plugin/src/main/java/azkaban/security/HadoopSecurityManager_H_2_0.java
1
0.0%

azkaban-common/src/main/java/azkaban/user/XmlUserManager.java
2
66.46%

az-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/JavaJob.java
5
0.0%

azkaban-exec-server/src/main/java/azkaban/execapp/JobRunner.java
5
76.45%

az-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/javautils/Whitelist.java
6
82.86%

az-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/javautils/ValidationUtils.java
6
42.42%

az-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/javautils/FileUtils.java
7
78.79%

azkaban-common/src/main/java/azkaban/trigger/builtin/ExecuteFlowAction.java
8
58.24%

azkaban-common/src/main/java/azkaban/jobExecutor/AbstractJob.java
10
37.93%

Totals

Change from base Build 4562:
0.6%

Covered Lines:
11279

Relevant Lines:
29259

💛  - Coveralls


[network] Implement point-to-point authenticated networking

We need a networking library that offers the following primitives:

any over-the-wan connection is authenticated cryptographically, thereby reducing the chance of an impersonation attack (external attacker looks like an internal node), or masquerade attack (internal node in one role looks like an internal node with a distinct role) -- roles here are e.g. primary or worker.
in a second step, the authentication primitives for each message should be accessible to the protocol.

The current plan of attack is a p2p library using QUIC, which comes with built-in TLS:
https://docs.google.com/presentation/d/1NTfb_i29b5VUGAlM7k7aOfsPIoNIRzqjfATEeWA8cfE/edit?usp=sharing
The approach also has the ambition of serving the needs of both Narwhal & FastNFT.

MystenLabs/narwhal#200

Yep this is completed, we use TLS via QUIC. All narwhal links are now authenticated and encrypted.


Test request: Hetzner AX52

Starting to play with this one.
So far depenguin.me does not start properly (doing a plain run.sh):
KVM acceleration can be used
Starting qemu...
Please wait, booting... 30s
Please wait, booting... 25s
Please wait, booting... 20s
Please wait, booting... 15s
Please wait, booting... 10s
Please wait, booting... 5s
Waiting for sshd to become available...
Waiting for sshd to become available...
Waiting for sshd to become available...
Waiting for sshd to become available...
Waiting for sshd to become available...
Waiting for sshd to become available...
Waiting for sshd to become available...
Waiting for sshd to become available...
Waiting for sshd to become available...
Waiting for sshd to become available...
Waiting for sshd to become available...
Waiting for sshd to become available...
Waiting for sshd to become available...
Waiting for sshd to become available...
Waiting for sshd to become available...
Waiting for sshd to become available...
Waiting for sshd to become available...
Waiting for sshd to become available...
...

Switching to 13.2 made it boot immediately:
MFSBSDISO="https://depenguin.me/files/mfsbsd-13.2-RELEASE-amd64.iso"

not working for me on ax42 either. recent change shouldn't have broken anything, but seems to

qemu-system-x86_64: -net user,hostfwd=tcp::1022-:22: Could not set up host forwarding rule 'tcp::1022-:22'

think it might be python39/python311 issue inside mfsbsd?

I rebuilt the 14.0 image with fresh ISO download (didn't see any file difference), and in testing it seems to be working normally now

Thank you.
As for the AX52:

I installed 13.2-RELEASE, then upgraded to 13.3-RELEASE
It has a kind of weird Intel 2.5GBit NIC (so you need `ifconfig_igc0_name=untrusted')
Did not need to disable uarts

closing as resolved, and AX52 is in supported server list


pegpermutation.py and pegpermset.py should probably constitute their own subpackage.

This has been addressed in https://github.com/cheyneh/permpy/pull/26.


excessive force not working properly#2

in other mission this issue sometimes happens too
at the begining of the mission alot of normal cops are spawned
then after a few mintues it only keeps spawning cloaker  (sometimes tazer  )and normal cops and nothing else different come out in the whole mision
and sometimes it only came out like 5 or 6 special enemy from the begining to the end

This is the same issue as the other one you created, it doesn't need to be reported twice.


Implement language selection in speech regocognizer

.. also a block to get the available languages
see
https://stackoverflow.com/questions/10538791/how-to-set-the-language-in-speech-recognition-on-android

I think that Taifun's extension can do that.


Some styles not getting typescript definitions

https://github.com/GoogleChromeLabs/squoosh/tree/components-merge I've started trying to merge components in here.

src/components/app/style.scss - definitions generated
src/components/output/custom-els/PinchZoom/styles.css - definitions generated
src/components/output/style.scss - no definitions generated

I can't figure out why definitions are missing for that last resource. Any ideas?

This should work as of the prerendering branch. The issue was that ts-loader was running prior to the typings-for-css-modules-loader.

It isn't working in https://github.com/GoogleChromeLabs/squoosh/pull/22, which is based on preloading.

I've uncommented the line in #22 that triggers the build error.

https://github.com/GoogleChromeLabs/squoosh/pull/22/commits/552beb5fb8d57f1a3d890388697b763b21034a5a

Update: It's only working if you use the import, and even then it fails the first time.


g.sib.sum not able to handle recordings where no sustained inactivity bouts can be detected

this seems to have emerged after commit:
https://github.com/wadpac/GGIR/commit/fb11409ef9736aeeef3a794e6c48fbc1c400f2c6

Now fixed in master branch