Unresolved reference: ActivityCompat

I jsut added it to my project and getting the following error hen trying to compile:

Unresolved reference: ActivityCompat
Unresolved reference: content
Unresolved reference: ContextCompat
Unresolved reference: ActivityCompat
Unresolved reference: ActivityCompat 87 actionable tasks: 5 executed, 82 up-to-date
Any clue about what could possibly going wrong?
Obs.: my project was completely migrated to androidx packages.

@shinayser from what I am seeing is that AndroidX packages are not yet supported on Flutter (see also the issue Flutter/Flutter#23586).
Until this is supported correctly by Flutter we won't be able to fix this issue (at the moment we have to depend on the "old" Android Support packages). I am am wrong please let me know since I am no Android expert.


fix: Limit ability to go minus on mass mint drop

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix

Needs QA check

@kodadot/qa-guild please review

Context

[x] Closes #9761
[x] Closes #9779

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[x] My fix has changed UI

Copilot Summary
copilot:summary
copilot:poem

✅  Fixed another issue #9779 on current PR
cc @exezbcz

lets go, frontrunning
i have one request tho, you cannot input 3 by overriding it
https://github.com/kodadot/nft-gallery/assets/90852205/b1579201-373a-4eba-a8c3-503c6fdfb13f

lets go, frontrunning
i have one request tho, you cannot input 3 by overriding it
Screen.Recording.2024-03-14.at.17.48.27.mov

oh, its true, chrome only tho

lets go, frontrunning
i have one request tho, you cannot input 3 by overriding it

✅ Fixed
enable overriding number on input

✅ Fixed
enable overriding number on input

@exezbcz have some points but he will articulate in video soon :D probably follow up
Thanks!
pay 30 usd

😍 Perfect, I’ve sent the payout
💵 $30 @ 11.43 USD/DOT ~ 2.625 $DOT
🧗 16SjUbGKSdjCdWTy3NNT3JxbRVGGqD4mwkHpc6BD9U2Rp29Z
🔗 0xb43a174a6d525687256c6165a6ae81b05dcdd424bbd16fa87506cdb0a21fe016
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


[MINOR][SQL]Added a conf to control subqueryReuse

What changes were proposed in this pull request?
Subquery Reuse and Exchange Reuse are not the same feature， if we don't want to reuse subqueries，and we just want to reuse exchanges，only one configuration that cannot be done.
This PR adds a new configuration spark.sql.subquery.reuse to control subqueryReuse.
How was this patch tested?
N/A

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/8577/
Test PASSed.

Merged build finished. Test PASSed.

Test build #103116 has started for PR 23998 at commit d468c7f.

Test build #103116 has finished for PR 23998 at commit d468c7f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/103116/
Test PASSed.

Could you please file a jira cuz this pr adds a new config?

Could you please file a jira cuz this pr adds a new config?

Ok,thanks

Could you please file a jira cuz this pr adds a new config?

Ok,thanks

thanks, merging to master!


♻ Refactor dev container

This pull request:

Replace's Data Platform's monolithic dev container with the new pattern we've deployed into repositories that have been spun out from monorepo components, for example

https://github.com/ministryofjustice/analytical-platform-runbooks
https://github.com/ministryofjustice/analytical-platform-user-guide
https://github.com/ministryofjustice/analytical-platform-actions-runner
https://github.com/ministryofjustice/analytical-platform-visual-studio-code
https://github.com/ministryofjustice/analytical-platform-ingestion-scan
https://github.com/ministryofjustice/analytical-platform-ingestion-transfer
https://github.com/ministryofjustice/analytical-platform-ingestion-notify

Removes reference to Cloud Platform because that has its own dev container (https://github.com/ministryofjustice/cloud-platform-environments/blob/main/.devcontainer/README.md)

Signed-off-by: Jacob Woffenden<EMAIL_ADDRESS>

Deferring until https://github.com/ministryofjustice/.devcontainer/pull/72 is complete


Could you share the hyper-parameters of a2c with different discrete action space

I tried default settings with discrete action space Discrete(6), but it doesn't work when size of action space is 16, 26, and even 41. So, could you provide some tips or your hyper-parameters when training games with larger action space?
Thanks so much!!!

I think these methods might not scale well to high dimensional spaces.


numeric string gives "ใน" as output in some length of string.

Describe the bug
I used correct module in spell package. It gave incorrect outputs where the input-strings have length-string less than or equal 2 of its.
To Reproduce
Steps to reproduce the behavior:

from pythainlp.spell import correct.
try give inputs in this set ->  {'0', '1', '2', ..., '99'} or whatever numeric-strings which have length <= 2.

Expected behavior
Should return output same as the input where the inputs are numeric.
Desktop (please complete the following information):

OS: Linux
Python Version 3.6.8
Version pythainlp 2.0.7

#288 I just submitted the PR

Fixed by #288


macOS nswag webapi2swagger errors with System.IO.FileNotFoundException

Hi there,
I'm on a mac with dotnet 2.1.4 installed. I publish my app with
dotnet publish --self-contained -r osx-x64 -c Release -o ./release ./MyApi
(I've also tried specifying the linux-x64 runtime). Then I run
nswag webapi2swagger /assembly:MyApi.dll /output:TestSwag.json /runtime:NetCore20
(I've also tried specifying the referencePaths to /.nuget/packages) But it always errors with
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.Mvc.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the path specified.

I can see that dll is in the folder from which I run nswag so I don't know what's going on or how to direct it to find the file. Thanks so much for the help in advance, really grateful to have found this project, just need to get past this last thing.

I think this is fixed in the next release

See https://github.com/RSuter/NSwag/issues/1162#issuecomment-362341106

Hi @RSuter ,
Thanks so much for the quick reply. I've been using the npm nswag package which is at <IP_ADDRESS>, seems to be the same version from the NSwagStudio artifacts in the comment linked. So it would be the version after that? Thanks again.

You can download the ci version and install it even if it has the same version, otherwise it will be released as the next version

I downloaded the NSwag.zip artifact, extracted and used its NetCore20 dotnet-swag.dll to run like so:
dotnet ~/Downloads/NSwag/NetCore20/dotnet-nswag.dll webapi2swagger /assembly:MyApi.dll /output:TestSwag.json
but unfortunately got the same error as before.
Thanks again for the help @RSuter , really appreciate it.

Ok, it seems that the problem is, that some required DLLs are missing. Possible solutions here: https://github.com/RSuter/NSwag/wiki/Assembly-loading#net-core

Hi @RSuter ,
Sorry for the delay getting back. I tried with both the ReferencePaths arg on nswag and <PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest> set in the project when publishing and made sure that the Microsoft.AspNetCore.Mvc.Core dll did exist in the directory when I ran the nswag webapi2swagger but still got the same thing. I'm inclined to think it is a macos/linux (I tried on a dotnet linux container as well) issue because I ran the same process (publish then nswag) on windows and it runs correctly, generating the spec without issue. Is that possible? Thanks again.

Yes, this can be a problem with MacOS/Linux. The problem is that there are extremely many different ways to use NSwag (platforms, tools, .net versions, etc.) so it is very hard to test everything. Have you tried:

Use latest version (11.13.3) - it has a improved DLL loader (looks first for correct version)
Use ~/.nuget/packages as ReferencePaths (macos)

I just updated my npm nswag package to 11.13.3 and tried again (also with /referencePaths:~/.nuget/packages) but unfortunately still got the same error (can't find Microsoft.AspNetCore.Mvc.Core, Version=<IP_ADDRESS>) on mac. Thanks again for the quick response and help, I know it's difficult to manage all of these platforms.

maybe you have to try with quotes :-) /referencePaths:"~/.nuget/packages"

But I think that reading a DLL version is not possible in Linux/MacOS and thus using ~/.nuget/packages is not a good idea as it would just load the first Microsoft.AspNetCore.Mvc.Core which is found...
If you set /referencePaths to the output directory where the correct DLL is available?

I originally ran it with an absolute since I didn't think it'd interpret the ~ correctly but also tried it with the quotes (had my fingers crossed that quotes would do it haha). I also had tried by setting the referencePaths to the release directory (instead of ~/.nuget/packages) where both my assembly dll and Microsoft.AspNetCore.Mvc.Core dll but still no luck (reran it again just now to be sure).

Can you post the complete NSwag cmd line output?

Of course, here's the full error output
NSwag NPM CLI
NSwag command line tool for .NET Core NetCore20, toolchain v<IP_ADDRESS> (NJsonSchema v<IP_ADDRESS> (Newtonsoft.Json v<IP_ADDRESS>))
Visit http://NSwag.org for more information.
NSwag bin directory: usr/local/lib/node_modules/nswag/bin/binaries/NetCore20
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.Mvc.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the path specified.

File name: 'Microsoft.AspNetCore.Mvc.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'
   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at NSwag.SwaggerGeneration.WebApi.WebApiToSwaggerGenerator.GetControllerClasses(Assembly assembly) in C:\projects\nswag\src\NSwag.SwaggerGeneration.WebApi\WebApiToSwaggerGenerator.cs:line 50
   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
   at System.Linq.Enumerable.SelectEnumerableIterator`2.ToArray()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.OrderedEnumerable`1.ToArray()
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at NSwag.Commands.SwaggerGeneration.WebApiToSwaggerCommand.GetControllerNames(AssemblyLoader assemblyLoader) in C:\projects\nswag\src\NSwag.Commands\Commands\SwaggerGeneration\WebApiToSwaggerCommand.cs:line 261
   at NSwag.Commands.SwaggerGeneration.WebApiToSwaggerCommand.<RunIsolatedAsync>d__88.MoveNext() in C:\projects\nswag\src\NSwag.Commands\Commands\SwaggerGeneration\WebApiToSwaggerCommand.cs:line 185
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NSwag.Commands.IsolatedCommandBase`1.IsolatedCommandAssemblyLoader`1.Run(String commandType, String commandData, String[] assemblyPaths, String[] referencePaths) in C:\projects\nswag\src\NSwag.Commands\Commands\IsolatedCommandBase.cs:line 59
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NSwag.Commands.IsolatedCommandBase`1.<RunIsolatedAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NSwag.Commands.IsolatedSwaggerOutputCommandBase.<RunAsync>d__4.MoveNext() in C:\projects\nswag\src\NSwag.Commands\Commands\IsolatedSwaggerOutputCommandBase.cs:line 24
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NConsole.CommandLineProcessor.<ProcessSingleAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NConsole.CommandLineProcessor.<ProcessAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at NConsole.CommandLineProcessor.Process(String[] args, Object input)
   at NSwag.Commands.NSwagCommandProcessor.Process(String[] args) in C:\projects\nswag\src\NSwag.Commands\NSwagCommandProcessor.cs:line 54

child_process.js:611
    throw err;
    ^

Error: Command failed: dotnet "/usr/local/lib/node_modules/nswag/bin/binaries/NetCore20/dotnet-nswag.dll" webapi2swagger /assembly:MyApi.dll /DefaultPropertyNameHandling:CamelCase /output:MyClient/MyApiSwagSpec.json /runtime:NetCore20 /referencePaths:/Users/MYUSER/Projects/MyApi/MyApi/release/
    at checkExecSyncError (child_process.js:568:13)
    at Object.execSync (child_process.js:608:13)
    at c.exec (/usr/local/lib/node_modules/nswag/bin/nswag.js:53:19)
    at ChildProcess.exithandler (child_process.js:244:7)
    at emitTwo (events.js:125:13)
    at ChildProcess.emit (events.js:213:7)
    at maybeClose (internal/child_process.js:887:16)
    at Socket.stream.socket.on (internal/child_process.js:340:11)
    at emitOne (events.js:115:13)
    at Socket.emit (events.js:210:7)

v11.14.0:
We improved the assembly loader (mainly for .NET Core) so that it runs in a more isolated space and the loaded DLLs should better match the requested versions. Please test this with your projects to ensure that we didnt introduce regressions.
Important if you have DLL loading problems:

Check that the DLL in question is available in the output directory (where the selected assembly is located) or in ReferencePaths
Check that you selected the correct runtime: Either in NSwagStudio UI, as /runtime parameter in the NPM CLI or execute the correct exe binary

For more information regarding assembly loading: https://github.com/RSuter/NSwag/wiki/Assembly-loading
Main commit: https://github.com/RSuter/NSwag/commit/04576e4d1b714ac5bd9b5df11d72469a23f7c0ff#diff-14dafe6661bab407ae5c0d7095ccd1f4

Hey @RSuter ,
Thanks so much! 11.14.0 seems to have resolved this issue. The spec is now generated properly on mac. Thanks again for awesome work and the quick turn-around, really appreciate it.


after update google map

Hi
after update google map not show still bing working
regards

You need to refresh the page.


ht ssh remote_host. show prompt and show us a way to feed input

raw terminal gave a lot of garbed characters.  I wish this ht may make ssh interactive session cleaner.
ht ssh username@remote-host
launching command "ssh username@remote-host" in terminal of size 120x40
it waited there forever,  actually in normal terminal,  it prompts to as ask password,  how do I get prompt and feed my input?

When you run ssh username@remote-host, this command already runs inside a virtual terminal, so you need to input your password with ht's input API, e.g.:
{ "type": "sendKeys", "keys": ["my-secret-password", "Enter"] }

(sendKeys has been added in v0.2)


Add PDDL lexer.

I've added a PDDL lexer (requested in #2616).
Any feedback is appreciated.

Hmm... One of the tests failed (after 6 hrs), everything else passed.
I doubt it has anything to do with my changes. I don't see a way to re-run the tests.
What should I do now?


Is there a way to force enclosing certain (or all) fields?

As far as I know, by CSV standard you may enclose fields even if there is no real or obvious need.
In my case I'm dealing with a field for a German 5-digits postal code that may start with a zero (e.g. "01234"), but must always be interpreted as a string. Importing the CSV file with software such as Excel, the value is interpreted as number (1234) if it's not enclosed.
I tried a CallbackCollection and cast all values to string, but that didn't make any difference.
I could add a whitespace to numeric values, but then the CSV data contains whitespaces, which isn't great either.
Is there an option to force enclosing a field? Or at least a better trick than adding a whitespace?

Hi,
u can use this approach  to deal with your problem
private function addLine($line)
{
    $csv = implode(";", $line) . PHP_EOL;

    file_put_contents($this->_file, $csv, FILE_APPEND);
}


Headset Support And Color Wave Based On Sound

Could it be done via Aurora like the SoundBlaster headsets, pulsating with tone type of thing? Or/And for keyboard and mouse?

if you are talking about an equalizer then that is already in Aurora. Add a layer to your Profile and under Layer type choose equalizer.
settings working best for me are: Power Spectrum,Max amplitude 9, Alternating colors,and set to Rainbow

Not equalizer, what in my mind is, selecting the headset peripheral (or keyboard or mouse for that matter) and make it colors go bright or dim depending on the sound that is currently playing.  I'll see if I can include some effects to the music beat.

I also have the SteelSeries Arctis 5 and have been looking into controlling the color on my headset with game integrations such as overwatch so the color changes with my hero. I haven't seen how this can be done so far in the current software version so I assume this isn't a thing but I would love some support for this in the future.


Filename change in Kobo profiles

Hi, I've been encountering this issue where with an input of a file with spaces and hyphens, those are deleted in the output file. For example : "One Piece - Chapter 4.cbz" will be named "OnePieceChapter4.kepub.epub".
This happens with any Kobo profile set as an option, maybe the kepub conversion does this. With a Kindle profile it works well and the filename is preserved (but not kepub).

I don't have a Kobo to test, but looks like intentional behavior.
       if 'Ko' in options.profile and options.format == 'EPUB':
            path = srcpath.split(os.path.sep)
            path[-1] = ''.join(e for e in path[-1].split('.')[0] if e.isalnum()) + tomenumber + ext
            if not path[-1].split('.')[0]:
                path[-1] = 'KCCPlaceholder' + tomenumber + ext
            filename = os.path.sep.join(path)

https://github.com/ciromattia/kcc/blob/master/kindlecomicconverter/comic2ebook.py#L675

The code explicitly special cases Kobo Epubs

Looks like this can't be fixed to maintain compatibility with older devices. I don't have a Kobo however and can't confirm.

For compatibility with older reading systems, file names SHOULD NOT contain SPACE (U+0020) characters.

https://www.w3.org/TR/epub-33/#sec-container-filenames
The Kindle case is different since Kindles don't read EPUB natively, it's an intermediate format fed into KindleGen.
I think just removing or replacing special characters is the only option.

My Kobo reads .epub files just fine, also no problems with spaces whatsoever. I haven't read anything about kobo's not being able to read files with spaces especially as they run on pretty much the same software.
Where did you see this ?

Looks like this renaming code was added in response to

#141

However, the discussion doesn't seem to blame the filename for the underlying issue so it might be safe to remove.
Which Kobo do you have?

I own the Kobo Clara HD

Want to create a PR with that code section deleted and testing that it works fine? I really don't see any indication that spaces cause problems on Kobo.


Error: read ECONNRESET

Sails version:0.12.0
Node version:4.4.0
NPM version:2.14.20
Operating system:Ubuntu 14.04

Sometimes I am receiving a ECONNRESET error and the application restarts. I have found a related issue: https://github.com/balderdashy/sails/issues/2296
But the thing is that is it happening to me quiet often, let's say when I update some records in the database, it could happen in couple of minutes so inactivity is not related.
Error I can see in the std out:
2016-06-13T20:19:38.969198402Z events.js:141
2016-06-13T20:19:38.969213839Z       throw er; // Unhandled 'error' event
2016-06-13T20:19:38.969217495Z       ^
2016-06-13T20:19:38.969220472Z
2016-06-13T20:19:38.969223440Z Error: read ECONNRESET
2016-06-13T20:19:38.969227196Z     at exports._errnoException (util.js:870:11)
2016-06-13T20:19:38.969230552Z     at TCP.onread (net.js:550:26)

Is there any way to see what part of the code caused this? There are no any information in the logs also, just it is lowering sails.
Many thanks

Ok, fixed!
This one is not applicable:

Verify "I can provide steps to reproduce this issue that others can follow."

Ok, fixed!

This is now happening even if I just start the app.

Just for an update. The issue happened because we are connecting to a remove service and the remote end closed the connection.
So one question comes. Is there any way in Sails to prevent the restart of the application if such a low level error is thrown?

@zoell This looks like it's coming from the outgoing requests you're making to the 3rd party application.  Be sure to check out the details of whatever module you're using (e.g. request) and to take the appropriate steps to handle errors.  In my experience, this problem comes from not binding an on('error', ...) handler when writing code that uses streams.
(check out http://stackoverflow.com/a/17637900/486547)
I'm going to go ahead and close this issue since it's related to an issue with a module from outside of Sails.  Hope that helps, and best of luck!


preloadComponent and prefetchComponent not working

Environment

Operating System: Darwin
Node Version:     v20.12.2
Nuxt Version:     -
CLI Version:      3.16.0
Nitro Version:    -
Package Manager:  unknown
Builder:          -
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-xtvkuvqm?file=app.vue
Describe the bug
Calling preloadComponent or prefetchComponent doesn't prefetch the component JS. I would expect calling either preloadComponent or prefetchComponent to download the component JavaScript when it is called. (Perhaps I misunderstand what these functions do.)
Thanks!
Additional context
No response
Logs

Here is a video to help clarify
https://github.com/user-attachments/assets/7ec52e5d-6586-409e-b44d-d73aa2b1df2f

Apologies I ran info from the wrong directory. Here is the proper environment info:

Operating System: Darwin
Node Version:     v20.12.2
Nuxt Version:     3.14.1592
CLI Version:      3.16.0
Nitro Version:    2.10.4
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      default
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

They only preload/prefetch components that have been globally registered


fix: always execute the gather variables task

For each role, the task "include_vars ░ Gather OS specific variables" MUST be executed whatever the selection of tags.
Otherwise, other tasks in the role will fail because required variables are not defined.
Example (before this change):
# ansible-playbook playbooks/managements.yml -l management1 --tags firewall
[WARNING]: Unable to parse /etc/bluebanquise/internal as an inventory source

PLAY [managements playbook] ******************************************************

TASK [Gathering Facts] ***************************************************************
Tuesday 20 October 2020  19:22:09 -0400 (0:00:00.067)       0:00:00.067 *******
ok: [management1]

PLAY [managements playbook] ******************************************************
TASK [Gathering Facts] ***************************************************************
Tuesday 20 October 2020  19:22:11 -0400 (0:00:02.622)       0:00:02.689 *******
ok: [management1]

TASK [repositories_server : firewalld █ "Add services to firewall's public zone"] *
Tuesday 20 October 2020  19:22:13 -0400 (0:00:01.753)       0:00:04.443 *******
fatal: [management1]: FAILED! =>
  msg: '''repositories_server_firewall_services_to_add'' is undefined'

PLAY RECAP **************************************************************************
management1 : ok=2 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

Indeed, repositories_server_firewall_services_to_add is not defined since the role did not gather the variables.
I use this PR to add coherency between roles: use same task name, same tags, etc.

Dear @btravouillon
Thank you for this PR 🙂
You are right, this is an issue that must be solved.
I think in my side that I would prefer to add tags these include are related of.
For example in a role containing packages, services, and firewall related tasks (tagged) then I would add tags package, service and firewall.
Having always for each of these includes may result in some kind of overhead when executing only a single role (which happen much more time on my side than executing the whole playbook or a specific task tag).

Dear @btravouillon
Thank you for this PR 🙂
You are right, this is an issue that must be solved.
I think in my side that I would prefer to add tags these include are related of.
For example in a role containing packages, services, and firewall related tasks (tagged) then I would add tags package, service and firewall.
Having always for each of these includes may result in some kind of overhead when executing only a single role (which happen much more time on my side than executing the whole playbook or a specific task tag).

Agree with this solution

@btravouillon Do you want me to update the PR with this solution ?

No I will.

I wrote a quick & dirty helper script yesterday evening to ease the maintenance of these tags.
For each role, the logic is:

Search for any variable in vars/*.yml
For each variable, search any usage in templates or tasks
If found, collect the tags of the relevant tasks (including the template task if any)
Compare the tags with the list of tags of the first task "include_vars ░ Gather OS specific variables"
Report an error if some tags are missing for include_vars.

I added this script to the static code analysis in the CI, current result below: https://github.com/bluebanquise/bluebanquise/pull/434/checks?check_run_id=1295868755
I may have forgotten some use cases, feel free to comment.

BTW, can we remove (or rename) the file roles/core/pxe_stack/tasks/Ubuntu_18.yml?

You can remove it. Ubuntu 18.04 should not be supported any more, and the 20.04 is a mess to deploy, so no way currently to use it.

Dear @btravouillon
Thanks a lot for this PR. I will need few days to review it entirely with the python code. 🙂


What theme is used in Voyager?

Just curious to know what is the theme used in Voyager. It looks great and I would like to use it in my laravel application.

custom theme : https://github.com/the-control-group/voyager/blob/master/publishable/assets/css/voyager.css

Am I free to use the theme?

@yeshwanthvshenoy I think you can, Voyager has MIT license

Thanks! 👍

For reference, here's an outline of what the MIT license allows/restricts: http://choosealicense.com/licenses/mit/


Show unencrypted content in mkdocs serve

I think a enhancement to editors using this plugin would be to be able to see the page content directly without entering a password while serving the site with mkdocs serve.

You can set remember_password: true. This Way the user only need to enter his credentials once in a serve session. Initially we had the option to save credentials to local storage, but local storage can be read from anyone who got access to the browser, which is not really secure.
Other way would be to copy the "mkdocs.yml" and disable the plugin there completely and then run mkdocs serve -f test_mkdocs.yml

Yeah. I've thought of remember_password: true, but I don't want to accidentally enable this feature on production.
At the moment, I am just commenting the password in the page.meta section. Again, there's a risk I forget to enable it again.
I'd like to be able to see the content in development mode without changing the configuration.
I've thought of:

Check if we are building/serving the site (on_startup) and save it.
If we are serving, append the unencrypted content in the template.

I will implement this on my fork, but if you think this is useful to more users, maybe we can discuss how do you want to approach this.

I think when a user does mkdocs serve he wants to have the same result as mkdocs build but with automatic rebuild on change.
That is not 100% accurate, as mkdocs injects some javascript to make the browser auto-reload on change, but nevertheless I wouldn't override the plugin.
If you use two different versions "mkdocs.yml", then you can easily separate development from production.

I get your point. But, if you're mantaining multiple projects, having different mkdocs would increase the efforts considerably.
In that sense, a option show_on_serve (or something similar) could be added (defaulting to False) that would allow rendering the page without a password.

I got a prototype going in https://github.com/joapuiib/mkdocs-encryptcontent-plugin/tree/feature/show-serving.
The changes are specified here: https://github.com/joapuiib/mkdocs-encryptcontent-plugin/commit/44f5acaec7fa0210d315a42ca5b425fad7e0796c

I'd rather concentrate on slimming down the plugin of features most people won't need. It is as complex as it is because it grew in features over a long time.
Another idea would be to use environment variables to enable/disable the plugin ompletely if needed. We just need to add a switch in the plugin configuration.

Do you want me to try to implement this toggle?

I found an issue on the mkdocstrings plugin where someone had suggestion. It lead to some changes which were also discussed in the markdown-exec plugin. And there I found the information that this functionality is already implemented.


generate not respecting the inline styles, inline templates, specs in .angular-cli.json

Bug Report or Feature Request (mark with an x)
- [ X ] bug report -> please search issues before submitting
- [ ] feature request

Versions.
macOS Sierra 10.12.6
@angular/cli: 1.4.3
node: 6.11.3
os: darwin x64
@angular/animations: 4.4.3
@angular/common: 4.4.3
@angular/compiler: 4.4.3
@angular/core: 4.4.3
@angular/forms: 4.4.3
@angular/http: 4.4.3
@angular/platform-browser: 4.4.3
@angular/platform-browser-dynamic: 4.4.3
@angular/router: 4.4.3
@angular/cli: 1.4.3
@angular/compiler-cli: 4.4.3
@angular/language-service: 4.4.3
typescript: 2.3.4
Repro steps.
ng new ignite --minimal
cd ignite
ng g c heroes --flat

The log given by the failure.
This creates 4 files.
heroes.component.html
heroes.component.scss
heroes.component.spec.ts
heroes.component.ts

Desired functionality.
I expected only 1 file, heroes.component.ts, to be created.
Mention any other details that might be useful.
The .angular-cli.json contains the proper settings.
Also, if I run ng g c heroes --flat --it --is --spec false then I get one file.
It appears that the commands are not checking the json file's settings.

I see now that ng g c foo is broken, but ng g component works. Same for the other aliases I tried.
@Brocco is aware and on it.

Is there an estimated fix date on this? @Brocco

We fixed this with the new workspace and the way the flags are used and propagated. Closing this as fixed.


UniswapError: chainId can not be found on the provider

node version
v14.18.0
npm version
v6.14.15
issue
running npm run-script dev results in
UniswapError: chainId can not be found on the provider
...
at Sniper.<anonymous> (pool-sniper/src/sniper.ts:88:43)

Closing kudos to @joshstevens19's help on native support for Polygon!
@MohitKumar1991 the approach did work—please feel free to use the code in any way.


A blog without syndication? (RSS)

All the issue is in the title...

Checkout out https://blog.jabref.org/, especially http://blog.jabref.org/feed.xml


Reworked weak target

Fixes #883
Fixes #882
Checklist

[x] I have added tests

@pokey Tests added. Some test or not currently possible. For example "inside funk". I also don't have "funk wrap and "snip funk" wired up. Could you please add those tests?

okay updated

@pokey Tests added. Some test or not currently possible. For example "inside funk", or modifiers after range. I also don't have "funk wrap and "snip funk" wired up. Could you please add those tests?

sure happy to record the snippet ones.
For "inside funk", we're actually looking for a scope type that doesn't have an "inside" to ensure that it doesn't expand, right?  I don't see why we can't test that today.  Would just be an error test

I think I've added all the test I can now

The function scope doesn't really have inside boundaries or proper leading/trailing delimiters
Our test recorded doesn't record breakpoints
The implementation of that mark is the same as cursor.


How can i get leafletMarker from PruneCluster.Marker class object?

var marker = new PruneCluster.Marker(latitude, longitude);
var leafletMarker = marker.getLeafletMarker(); - can you do such function?

Hi,
No you can't because a PruneCluster.Marker doesn't necessarily contain a LeafletMarker. The LeafletMarkers are created on the fly when needed, and are recycled.


Send Application bug

Send Application for Client (logged in as Admin) leads to server failure when I input correct login info for Client.

this is still not done i believe. We will have someone work on this


Missing apex class SObjectUtil

Hello @iampatrickbrinksma - is the class SObjectUtil missing?
For the LWC objectDetails.

Thanks for flagging this! I've added the class to the repo.


Test details component has JS

Because the <details> tag is supported natively in all modern browsers it is hard to know when adding the GOVUK Frontend details component if you've forgetten to add the JS for it.
As well as polyfilling <details> in older browsers, the JS also adds the correct aria roles, both of which are important but hard to spot when testing the visual design in Chrome/Firefox.
This adds a check for this scenario, to ensure all the code needed is present.
Part of https://www.pivotaltracker.com/story/show/177597156

Hey, would it be useful to add to the commit message what those details are that we are testing, why we need them, and what happens if we don't have this accompanying JS script?

I've rewritten the last commit to include this information. It should help explain it better (and provide a place for that information to live) but do say if it doesn't make sense or I've missed anything.


Add new .text-break-all utility for applying word-break: break-all

Builds off of #27863 by adding an additional text-break utility that forces line breaks regardless of word spacing.  I feel that this utility would be useful for situations where an element's content may dynamically generate a long string, such as displaying a username.

Sorry for postponing this so long. It would indeed make sense to have this utility class.
We should use word-wrap for this (See https://github.com/twbs/bootstrap/pull/29325#issuecomment-570803307). And we 're using the utility API nowadays, so this PR needs to be adjusted.

Forked repo is deleted, unable to rebase this. Since this is the only request for this utility, I'm not gonna create a new PR for this yet.


Add omitempty to dnsmanagementpolicy

Signed-off-by: Thejas N<EMAIL_ADDRESS>

/lgtm
/assign @deads2k for approval
This was discussed on slack, the lack of omitempty causes the default to be set by openapi which then won't pass validation. With omitempty, validation passes and then the default is set

I've been experimenting with this and as far as I can tell this makes things works as they stand today with client-side and server-side validation
We want to have the correct default in the openapi.json, and to achieve this, we need to add omitempty and the default tag.
There's an open question about optional vs required for defaulting but I think that can be handled separately as this resolves the validations for server side (which means anything using client-go should work) and client-side validation is also happy right now.
/lgtm

/hold
cc: @Miciah

/approve

/unhold

/label docs-approved

/label qe-approved

/label px-approved


dependency upgrade to clear vulnerability

Bumped versions of some dependencies that have vulnerabilities during a scan.

You apparently broke some tests, can you roll back the swagger webjar dependency? It might be the culprit and there is no need to update it

Thanks @emmajiugo, all tests pass now! It seems there are some .DS_Store files that accidentally got committed, could you update the PR to remove them?

The .DS_Store has been removed.

Great, thank you very much @emmajiugo !


The STFT results of single channel wav don't match with the results of librosa.stft

As mentioned, I set frame_size = 512, and shift_size = 256, and compare your results with that of the librosa.stft. However, I can't find the  good match.

Can you provide a better test.c file please?

Since I usually work on STFT to match with my MATLAB algorithms, this code fits with MATLAB routines.
I don't have better test code for librosa.stft .
But as I remember it matched with librosa.stft as well, with modification on args.
There are a few options for librosa.stft.  Might be delay problem from padding options.

@kooBH
Could you please provide your m file so I can check my codes?

Or can you provide the args modification of librosa.stft so I can check the data please?

Hey @kooBH
I find there are lots of padding mode in the librosa.stft, such as constant, edge, linear_ramp, reflect, warp etc. Which one do you use? Does the 'Copy and Shift' part mean padding?

manually shifted index due to differences in padding.
https://github.com/kooBH/STFT/blob/main/valdation/validation.ipynb

Hey @kooBH
I have seen your validation codes, where the center option of librosa is false. How can I add the padding codes to match the results of librosa when the center option is true?

Well, when I set shift_size = 256, the error become a little bit. Why will you set cpp_stft = cpp_stft[:,7:-1] under the shift_size = 128?

cpp_stft is for real-time processing
where samples for STFT are like
 0  0  0  0
 0  0  0  s1
 0  0  s1 s2
 0  s1 s2 s3
 s1 s2 s3 s4
 s2 s3 s4 s5
...

buf most of STFT routines are for wav reading processing where samples for STFT are like
s1 s2 s3 s4
s2 s3 s4 s5
...

for frame_size = 512, shift_size = 128.
when you set padding options on librosa.stft there will be zero samples in initial sequences.
and cpp_stft = cpp_stft[:,7:-1] is just skipping initial sequences where samples are different.

wo~ Thank you for your reply! That's a little sophisticated.

  const int ch = 1;
  const int rate = 16000;
  const int frame = 512;
  const int shift = 256;

  STFT process(ch,frame,shift);

rs_stft = rs.stft(input_wav, n_fft=512, hop_length=256, win_length=512, window='hann', center=True, pad_mode="reflect")

Hi @kooBH
Thank you very much for your patient reply!
I find the difference between your validation and mine.  You can always find the right slice of cpp_stft, while I can't.
BTW, I find the part below can be removed to get the smaller error rate:
for (i = 0; i < frame_size; i++)
tmp += hann[i] * hann[i];
tmp /= shift_size;
tmp = std::sqrt(tmp);
for (i = 0; i < frame_size; i++)
  hann[i] /= tmp;

Hi @kooBH
Thank you very much for your patient reply!
I find the difference between your validation and mine.  You can always find the right slice of cpp_stft, while I can't.
BTW, I find the part below can be removed to get the smaller error rate:
for (i = 0; i < frame_size; i++)
tmp += hann[i] * hann[i];
tmp /= shift_size;
tmp = std::sqrt(tmp);
for (i = 0; i < frame_size; i++)
  hann[i] /= tmp;


[Twitch] Add support for collections as per #20414

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

Description of your pull request and other information
Explanation of your pull request in arbitrary form goes here. Please make sure the description explains the purpose and effect of your pull request and is worded well enough to be understood. Provide as much context and examples as possible.
Trying to download a Twitch collection (example) would result in an error: the url would fall to the TwitchStream regex and it would report that 'collections' is offline as if it were a streamer. I created TwitchCollectionsIE, a new extractor to retrieve the collection items as a playlist. Information on the Collections API can be found here.

Fixes #20414

I think you have to write that into the description to work

@dstftw Can you please merge this one?

Thanks

I just looked through a bunch of collections and verified that this should work now

Pls merge it


Version supported?

I am using the latest built. Can't open data.unity3d
Error message : This doesn't seem to be an assets file or bundle
Unity version : 2022.3.19f1
Is this version supported?
Thanks

2022 is a supported version. If you're getting that message, the file (probably the header or the entire bundle) is encrypted.


api: generate whole directory and sync

Description:
Better tracking new / deleted files. such as aggregate_cluster v3alpha isn't needed.
Risk Level: Low
Testing: CI
Docs Changes:
Release Notes:

@htuch this supercedes #9373


inserting issues

Laravel Version: #.#.#
PHP Version: #.#.#
Database Driver & Version:

Description:
Fatal error: Uncaught Error: Class 'Illuminate\Support\Facades\Route' not found in C:\wamp64\www\frank\routes\web.php:35 Stack trace: #0 {main} thrown in C:\wamp64\www\frank\routes\web.php on line 35
this is the error i got please can anybody help me with these issues?
Steps To Reproduce:

Please completely fill out the template.
I would advise closing this issue as this isn't a bug with the framework directly. Please check Laracasts, Laravel.io/forum, or the Laravel Discord channel for support.


Clarify table locality behavior on 'Choosing' page

Hey I forgot about this while on vaca - I'm gonna merge it b/c I think it's an improvement over the existing text
Feel free to shout at me later if needed :-)


Specify class attributes directly for overlay nodes

Specifying a .class parameter when creating an overlay decoration now applies that CSS class to the created atom-overlay element:
decoration = editor.decorateMarker(marker, {type: 'overlay', item: element, class: 'my-overlay'})

Usually, this isn't necessary, because you can apply styles to the item's view instead. I hit a problem with that when I tried to apply positioning styles to the item, though, because the overlay element's absolute positioning interfered with the positioning I was trying to apply. I've had a workaround in place for a while, but being able to apply styles to the overlay element itself would make it a bit more graceful, I think. It would also make overlay parameters a bit more consistent with those accepted by the other decorations.

This looks good to me. I just kicked Travis again to hopefully get a green build. Not sure what's going on with that failure.

@benogle I'm okay merging this because it does feel consistent with aspects of the API and provides something that's awkward to do otherwise (add a class to the overlay wrapper). Any objections?

Nope, let's do it.

:heart: :heart: @smashwilson

Excellent, thanks! :bow:
I was seeing a few other spec failures in my local apm test too, by the way (on master, too). I'll have a deeper look at those when I get the chance.


Error when importing metrics on Windows without DDP support

🐛 Bug
When loading the new metrics the following AttributeError is raised:
AttributeError: module 'torch.distributed' has no attribute 'ReduceOp'.
The problem is the use of torch.distributed.ReduceOp in the type hints and some functions of pytorch_lightning.metrics.converters.py.
A similar (identical?) issue was discussed on the NVIDIA/apex github. The issues seems to be due to the fact that Windows does not support certain distributed features, and as a result the ReduceOp class is completely missing in the Windows binaries. Their approach was to guard those imports with if torch.distributed.is_available().
To Reproduce
import pytorch_lightning.metrics

Expected behavior
Metrics should only raise an error if I try to use DDP on a machine without the necessary support.
Environment

CUDA:

GPU:

GeForce GTX 1050 Ti with Max-Q Design

available:         True
version:           10.2

Packages:

numpy:             1.18.4
pyTorch_debug:     False
pyTorch_version:   1.5.1
pytorch-lightning: 0.8.1
tensorboard:       2.2.1
tqdm:              4.46.0

System:

OS:                Windows
architecture:

64bit
WindowsPE

processor:         Intel64 Family 6 Model 158 Stepping 10, GenuineIntel
python:            3.7.4
version:           10.0.17763

I also got this when running tests locally. Your suggestion sounds good to me.


Highlight matching parentheses/brackets not working in latex math mode

Pretty much said it in the title : matching parentheses/brackets are not highlighted when editing a .tex document when inside one of Latex's math modes : $ $, \begin{equation}, etc....
Is there any setting that I missed ?

VSCode has no built-in support for latex, but I verified that when opening a latex in Plain Text mode the bracket matching works.
I guess you are using an extension for latex , and likly that extension has changed regarding the bracket matching.
Can you file the issue against the latex extension that you are using? Also, I'd suggest adding a full sample code to illustrate the problem.

The Latex extension is "LaTeX-Workshop" by James Yu; it seems that this issue has already been mentioned several time on the extension dedicated github (see here and here) but to quote the author (see second link) it seems to him that :

this is more a textmate/vscode upstream problem which disables brackets pairing in latex.math environments. Sorry it is not a problem that can be fixed from my side. I would recommend you submit an issue on vscode's repo.

Any comments ?

Ok, I see. The problem is that the Latex grammar from 'LaTeX-Workshop'  uses the scope string.other.math.block.environment.latex inside the  \begin blocks.
Surrounding pairs are disabled inside strings.
It's a bit strange to use that scope for a whole block, so I'd suggest to file an issue against 'LaTeX-Workshop' to improve that.
The request to allow or configure bracket matching inside strings is https://github.com/Microsoft/vscode/issues/12388


mock-service-host: configurable excludedValidationPath

The oav exclude azurestack and dataplan path by default.
This PR make the excluded pattern as configurable and default as empty.

/check-enforcer override

/check-enforcer update

/check-enforcer evaluate


Always suffix indented code block with a newline

Currently
    codeblock\n

(where \n represents a trailing newline) renders differently to
    codeblock

(no trailing newline).
The former renders to

codeblock

and the latter to

codeblock

This PR makes the two examples render to the same HTML by always adding a trailing newline to code block content.
The spec is not overly clear about this corner case, but this PR makes

the behavior in line with how the reference implementation parses and renders https://spec.commonmark.org/dingus/?text=    codeblock
makes it so that any indented code block can be reformatted as code fence (useful for markdown formatters)

Merged, thanks!
Is code block the only place where the absense of trailing newline in original input matters?

Is code block the only place where the absense of trailing newline in original input matters?

This I don't have an answer to right now, I haven't tested. I found this issue while fuzzing mdformat and if there are other similar issues with other syntax then the fuzzer should find them when I have the time to get back into it.


typing error ;-)

Hi @bb-froggy, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

@bb-froggy : Thanks for your contribution to the Azure documentation! The author, @cabailey, has been notified to review your proposed change.

#sign-off


GitHub/linguist PR

I've created a new PR using this grammar (https://github.com/github/linguist/pull/5817) - and once this grammar is stable enough to use, I can go ahead and re-run tests and such to update this grammar then mark as ready for review.
Few things to note:

Classifier does work, see check logs.
This grammar does in fact get recognized by linguist and does work on a multi-lingual repository.

If any of you want/need to change anything please let me know and I can either add these changes myself or add you to my fork.

(cc: @Moderocky)


DRAFT: Update one-sdk to v2.2.0

Description

This PR updates @superfaceai/one-sdk to version v2.2.0.
This is DRAFT PR and must not be merged into main until stable version of v2.2.0 is released.
Motivation and Context

We need update version of OneSDK with binary support to upload CVs in  ATS vertical.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I haven't repeated the code. (DRY)
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

@janhalama sorry didn't see this PR and opened #327.

@janhalama sorry didn't see this PR and opened #327.

OK no problem.


Focus trees sometimes reset on reloading the save

Including scrapping all previous progress/completed focuses.
Reported multiple times on the forums now.

I kind of suspect it's due to minor issues throughout the focuses. Those are being resolved as I refactor, so I'm removing this from the milestone for now.

Not fixed by the existing solutions, so added back to the milestone.

Not fixed by the existing solutions, so added back to the milestone.

The new change has been confirmed to fix this.


Fix few documentation issues, add content

This PR aims at resolving some documentation issue.
Changes:

Added header in scripts.rst to generate navigation menu.
Changed index.rst to avoid warning on wrong file name
Changed indentation in multiple file (warning appeared)
Add model name example to RTD

fixes: #340
fixes: #336

Table can accept bold text (in rst ** test **) directly in the table. Not sure about highlighting a cell in the table though.
You can try to see what it looks like by building documentation locally.

Can we merge it? The sooner we merge, the less conflict we accumulate with other branches.

If the table suits you yes. (comparison with other projects) We can still update it later if I made a mistake.s


Add support to 0x5f36 devices

Add a header for 0x5f36 devices

It works like a charm for me ! Thanks 🙏

works like a charm for me, please merge :)

Got my 5f36 working as intended, hopefully, will merge soon

@rafaelncarvalho I've added these changes to (401Unauthorized/broadlinkjs-rm) which is being maintained to include some other advances, including the ability to connect new devices to a WiFi network. Thanks!

@401Unauthorized nice! Glad to know :)


Could  chaquopy be used for desktop application

I am tring to integrade chaquopy with desktop by Intellij Idea, but failed. I am not sure if this library could be used for other application such as JavaFx or TornadoFx.

Chaquopy currently only supports Android. For integrating Python and Java components on desktop platforms, have look at the following projects:

Pyjnius
Jython
Jpy


HW1 (ea2905): adding proposal for custoplayer, adding jotai project

lgtm

Is there something else that you want me to do?


Bump Misk-Web 0.1.19-2 and remove deprecated APIs

Rename loader tab to admin-dashboard
Update ducks file imports to use unified simpleRedux
Use simpleSelectorGet everywhere instead of simpleSelect
Remove /_tab/* React routes

Promises and mapper functions coming in a follow up Misk-Web PR. The simpleSelectorGet and simpleMergeData functions are also documented in the Misk-Web code base. Discoverability of documentation on the Misk-Web docs site will eventually help a lot with providing context for these larger API changes.


'GenericForeignKey' object has no attribute 'related'

Hi,
When I add a new export for my model, I get:-
'GenericForeignKey' object has no attribute 'related'

on line 64 of forms.py.
Any idea why that might be?

What version of Django are you using?
What does your model look like?

Closing this for now, until more information is given.


Store routes mapping entries in db and provide CRUD operations via REST

Currently, we are reading mapping from JSON file during startup:
routesMappingConfiguration <- Resource.eval(Task.evalOnce(
        ujson.read(Source.fromResource(appConfiguration.gateway.mappingFile).mkString)))
      routesMappingInitializationEntries = RoutesMappingInitDto.of(routesMappingConfiguration)
      routesTrees = RoutesTrees.construct(routesMappingInitializationEntries)

The desired approach is to load them only if there is nothing in the database (the same approach as with users), otherwise, construct RoutesTrees based on the database content.
Add Rest support for creating, reading, updating, and deleting entries. Mappers can be recognized based on paths, and prefixes based on the group names.
Trees are ALWAYS constructed in memory, we want to store getMappers, postMappers and prefixes - I'm not forcing any data model. However, keep in mind there will be much more reads than writes and we need to easily transform results into RoutesMappingInitDtos  - we are constructing trees based on them.
There should be an extra endpoint that expects JSON like sampleGatewayMapping.json and replaces the whole document(mongo table) content.
To access the endpoints the authentication is required (auth mechanism is already implemented)

I will take care of that.


[Super Token Listing Request] DAIx on Base

Project infos and contact (Website, Email, Telegram and/or Twitter handle):
https://makerdao.com/
Link to the verified Super Token contract on a Block Explorer:
https://basescan.org/address/0x708169c8c87563ce904e0a7f3bfc1f3b0b767f41#code
Link to a logo of the token in SVG (preferred) or PNG format:
https://basescan.org/token/images/daistablecoin_32.png
Link to the coingecko entry of the token:
https://www.coingecko.com/en/coins/dai/

listing done: https://console.superfluid.finance/base-mainnet/supertokens/0x708169c8C87563Ce904E0a7F3BFC1F3b0b767f41?tab=streams


New github workflow for nginx-tests/nginx-tests

cases in https://github.com/alibaba/tengine/tree/master/tests/nginx-tests/nginx-tests ( inheret from https://github.com/nginx/nginx-tests at the time when nginx released 1.8.0)
compiled script, for example: https://github.com/chobits/tengine/blob/test_action/genmake.sh

Tengine added new feature to some nginx-core module and put them into modules/, when we test nginx-tests, we should compile orignal nginx module instead of tengine-modified module( e.g. keepalive module)

result of the test cases: https://github.com/chobits/tengine/blob/test_action/test.txt

todo: fixed skipped cases (may need to install some perl lib （sudo cpan -T -i xx)
todo: fixed failed cases
tests/nginx-tests/nginx-tests/http_location_win32.t ................ skipped: not win32 (currently we do not test windows

For env:
sudo apt install libperl-dev
sudo apt install memcached
sudo cpan -T -i Cache::Memcached::Fast

has been reresolved in https://github.com/alibaba/tengine/pull/1721


ability to query and see joined records

Description
We used to have this feature in the early stages of the product, it allows us to see joined records:
store.head(n=10, joined_columns=True)
Can this be integrated into the product or at least provide us the ability to query the stores with a where close so we can troubleshoot the joined data in case it does not show up.

Hi Nida, we don't plan to add back this option as it was only half-working. You can use:

session.stores.schema to check that the joins are the ones you expect
cube.query() to query a measure coming from a joined column on the levels you like


Make migration table name "schema_migrations" configurable

Follow up from https://github.com/elixir-lang/ecto/issues/566
Something like config :app, App.Repo, migration_table: "my_migrations" ?

Yes, that would be it. :) Thank you!


[ui] 'Add a host' link in notification bar when no hosts are present after adding environment does not work

Rancher Versions:
Server: 1.3.3
healthcheck:
ipsec:
network-services:
scheduler:
kubernetes (if applicable):
Docker Version:
n/a
OS and where are the hosts located? (cloud, bare metal, etc):
n/a
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
single node
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
n/a
Steps to Reproduce:
Follow up on: https://github.com/rancher/rancher/issues/7283
This also occurs after adding a new environment (in my case, kubernetes environment)

@superseb - Duplicate of #7488 and will be fixed in next release


Errors when running npm run dev

$ npm run dev

><EMAIL_ADDRESS>dev /home/mpm/dev/dark-nova
> tsc --project ./tsconfig.json && node index --env development

src/server.ts:68:61 - error TS2769: No overload matches this call.
  Overload 1 of 6, '(port: number, hostname: string, backlog: number, callback?: (...args: any[]) => void): Server', gave the following error.
    Argument of type 'Function' is not assignable to parameter of type 'number'.
  Overload 2 of 6, '(port: number, hostname: string, callback?: (...args: any[]) => void): Server', gave the following error.
    Argument of type 'Function' is not assignable to parameter of type '(...args: any[]) => void'.
      Type 'Function' provides no match for the signature '(...args: any[]): void'.

68         this.server = this.app.listen(this.port, this.host, callback);
                                                               ~~~~~~~~

src/server.ts:76:31 - error TS2345: Argument of type 'Function' is not assignable to parameter of type '(err?: Error) => void'.
  Type 'Function' provides no match for the signature '(err?: Error): void'.

76             this.server.close(cb);
                                 ~~

Found 2 errors.

Additional info:
node v8.10.0
npm  v6.11.3
Using WSL (Linux on Windows)
I also ran into this  error, but I bypassed that by setting skipLibCheck true in tsconfig.json, and I assume that wasn't relate to this issue.

I don't know, did you run npm install before npm run dev? I just did it in a fresh directory and it just worked fine...

I guess I didn't. I read the note about node-pre-gyp dependencies then installed some stuff and I might have assumed I installed everything? Not sure. Anyway sorry for the issue. It works fine.


Added Home page and styles

Hi there,
This is Rahul Sinha. This is my first pull request and contribution to the open source. I have added the home page with home.js file in the pages folder and also added styles for that page to the Home.modules.css. This page can be accessed at '/home'. I have also added an svg image for the app.
thanks.

Hello There,
Thank you for your contribution but i have already created home page which you can see in e0d0b0a7a64d1174d8acd3f91058eb077cfc2f0a.
Also please read README before making contribution.
Thanks 😄


jose: 13 -> 14

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/latchset/jose/releases.
meta.description for jose is: C-language implementation of Javascript Object Signing and Encryption
meta.homepage for jose is: https://github.com/latchset/jose
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 14 with grep in /nix/store/cvr230f3gqb1bxdidrmf567jigh2yim4-jose-14
found 14 in filename of file in /nix/store/cvr230f3gqb1bxdidrmf567jigh2yim4-jose-14

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

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath

autofs5
clevis
freeipa
jose
sssd
tang

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/e4a9014095bee9805f4fd62ea9c02e0eef8b7eb9#jose

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

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

1 package marked as broken and skipped:

freeipa

9 packages built:

autofs5
clevis
clevis.man
jose
jose.dev
jose.man
sssd
tang
tang.man

Maintainer pings

Result of nixpkgs-review pr 313754 run on x86_64-linux 1

1 package marked as broken and skipped:

freeipa

9 packages built:

autofs5
clevis
clevis.man
jose
jose.dev
jose.man
sssd
tang
tang.man


[SUPPORT] please rollback greater commits first

hudi 0.5.3 is giving this error (first time using 0.5.3), all of the data before was written by hoodie 0.4.6.
2 Qs:

is this new error something introduced in new version? is there some config I can use to disable that error check?
I assume hive/presto.etc when querying this COW table does not see any data from the inflight files? can I safely delete the inflight files manually without risk of data loss/corruption (I'm talking about data that is currently queryable, not data that failed to be inserted in the past and was never queryable anyway)

2020-07-02 18:46:45,130 [main] INFO  org.apache.hudi.common.table.timeline.HoodieActiveTimeline - Loaded instants [[==>20190928011208__commit__INFLIGHT], [==>20190928034716__commit__INFLIGHT], [==>20190928200315__commit__INFLIGHT], [==>20190930151449__commit__INFLIGHT], [20191001132843__clean__COMPLETED], [20191001132843__commit__COMPLETED], [20191001132911__clean__COMPLETED], [20191001132911__commit__COMPLETED], [20191001133118__clean__COMPLETED], [20191001133118__commit__COMPLETED], [20191001133148__clean__COMPLETED], [20191001133148__commit__COMPLETED], [20191001133355__clean__COMPLETED], [20191001133355__commit__COMPLETED], [20191001133427__clean__COMPLETED], [20191001133427__commit__COMPLETED], [20191001133631__clean__COMPLETED], [20191001133631__commit__COMPLETED], [20191001133659__clean__COMPLETED], [20191001133659__commit__COMPLETED], [20191001133901__clean__COMPLETED], [20191001133901__commit__COMPLETED], [20191001133931__clean__COMPLETED], [20191001133931__commit__COMPLETED], [20191001134052__clean__COMPLETED], [20191001134052__commit__COMPLETED], [20191001134120__clean__COMPLETED], [20191001134120__commit__COMPLETED], [20191001134247__clean__COMPLETED], [20191001134247__commit__COMPLETED], [20191001134319__clean__COMPLETED], [20191001134319__commit__COMPLETED], [20191002120546__clean__COMPLETED], [20191002120546__commit__COMPLETED], [20191002120745__clean__COMPLETED], [20191002120745__commit__COMPLETED], [20191002122157__clean__COMPLETED], [20191002122157__commit__COMPLETED], [==>20191002122317__commit__INFLIGHT], [20191002122537__clean__COMPLETED], [20191002122537__commit__COMPLETED], [20191002122618__clean__COMPLETED], [20191002122618__commit__COMPLETED], [20191002123141__clean__COMPLETED], [20191002123141__commit__COMPLETED], [==>20191002123247__commit__INFLIGHT], [20191002132703__clean__COMPLETED], [20191002132703__commit__COMPLETED], [20191002132746__clean__COMPLETED], [20191002132746__commit__COMPLETED], [20191003112112__clean__COMPLETED], [20191003112112__commit__COMPLETED], [20191003112202__clean__COMPLETED], [20191003112202__commit__COMPLETED], [==>20191202224953__commit__INFLIGHT], [20191202225507__clean__COMPLETED], [20191202225507__commit__COMPLETED], [20191202230001__clean__COMPLETED], [20191202230001__commit__COMPLETED], [20191202231318__clean__COMPLETED], [20191202231318__commit__COMPLETED], [20191202231401__clean__COMPLETED], [20191202231401__commit__COMPLETED]]
Exception in thread "main" org.apache.hudi.exception.HoodieRollbackException: Found commits after time :20191202224953, please rollback greater commits first
at org.apache.hudi.client.AbstractHoodieWriteClient.doRollbackAndGetStats(AbstractHoodieWriteClient.java:358)
at org.apache.hudi.client.AbstractHoodieWriteClient.rollbackInternal(AbstractHoodieWriteClient.java:322)
at org.apache.hudi.client.HoodieWriteClient.rollback(HoodieWriteClient.java:716)
at org.apache.hudi.client.HoodieWriteClient.rollbackPendingCommits(HoodieWriteClient.java:1017)
at org.apache.hudi.client.HoodieWriteClient.startCommit(HoodieWriteClient.java:846)

Actually this behavior of rolling back inflight before starting the best commit has been there forever in hudi..
Do you have any idea how you wrote these commits?
[==>20191202224953__commit__INFLIGHT], [20191202225507__clean__COMPLETED], [20191202225507__commit__COMPLETED], [20191202230001__clean__COMPLETED], [20191202230001__commit__COMPLETED], [20191202231318__clean__COMPLETED], [20191202231318__commit__COMPLETED], [20191202231401__clean__COMPLETED], [20191202231401__commit__COMPLETED]]

As for upgrading, the data should not queryable as long as these commits were on the active timeline. So you should be able to do a manual rollback (I recommend using the cli to rollback to be safe)

http://hudi.apache.org/releases.html Has all the changes for upgrading . Please read thru and We can take questions you may have around this

@vinothchandar changing true to false on https://github.com/apache/hudi/blob/release-0.5.3/hudi-spark/src/main/java/org/apache/hudi/DataSourceUtils.java#L195 fixes this for me. Any issues from this change?

@vinothchandar changing true to false on https://github.com/apache/hudi/blob/release-0.5.3/hudi-spark/src/main/java/org/apache/hudi/DataSourceUtils.java#L195 fixes this for me. Any issues from this change?

Setting false to this ensures the ingestion path does not bother about rolling back inflight commits before starting a new commit. That will certainly get rid of the above exception. But, the inflight commits will still need to be cleaned up manually using the cli.

@bhasudha what if i don't clean them up? ie if i just leave them there then what is the issue?

@bhasudha what if i don't clean them up? ie if i just leave them there then what is the issue?

It shouldn't have any impact on queries. since  inflight commits are not visible to queries anyways.

@bhasudha what if i don't clean them up? ie if i just leave them there then what is the issue?

@tooptoop4 : You should be cleaning these files before we archive to prevent reading partially written parquet files which were written during the failed commit.

closing this ticket. @tooptoop4 : if you have any more questions, please open a new ticket or contact in slack.


Prolonged high CPU usage

I'm using rust-analyzer with this project at the moment:
https://github.com/jminer/zaffre
and I'm seeing ra_lsp_server maxing out two or more cores on my machine all the time. For example, I just opened up the folder in VS Code, and in vk_util.rs, I did Go to Definition on ImageLayout near the end of the file. After that, I switched from VS Code to another program, but ra is keeping two cores maxed out (it's currently been 10 minutes and seems to be indefinite). I wonder if the CPU usage might be related to Ash, as it contains a large 60,000 line generated file (vk.rs) with the Vulkan API.
I'm using the newest rust-analyzer d5a1a5e with default settings and rust-i686-pc-windows-msvc on Windows 10 64-bit. Zaffre probably only builds on Windows at the moment. I have seen ra max out all four cores on my machine for hours when I left VS Code open, but that was with a version of ra from Dec 21 (before I updated today).

try switching to client watching if it's not already - that solved it for me.

It would be useful to get a stack trace of rust-analyzer spinning on the CPU.

@gilescope I'm using client watching as far as I know. It is the default now, and I haven't changed it.
I recorded a trace with VS Code just sitting open in the background, and I hadn't used it in over 15 minutes. It looks like it is 25 seconds long. I think one thread used 15.7s of CPU time and the other 15.4s during the trace. Here are a couple of call stacks on thread 1:

And here are a couple on thread 2:

Are these helpful any?

@jminer Are you still getting this issue?

I can't seem to reproduce this, but note that vk.rs is a 60 600 LOC file.

I haven't been working on that project for a while, but I just tried it with the current rust-analyzer and can't reproduce the issue. I can open the project and use go-to-def and rust-analyzer goes to zero CPU after a short time. It must have been fixed at some point.
Thinking back, rust-analyzer has improved a lot in many ways since I opened this issue. Thanks everyone working on it!


prisma.dmmf missing @db.varChar(20) info

We generate Zod validator out of Prisma scheme but unfortuntely best we can do with
name String @db.VarChar(20)

is validator
name: z.string()

because DMMF doesnt have info about native DB filed type. Generating automatically
name: z.string().max(20)

would be more ergonomic.
Would it be possible to add info about @db field type to prisma.dmmf?
https://github.com/chrishoermann/zod-prisma-types/issues/214

Thanks for opening an issue, this is a duplicate of https://github.com/prisma/prisma/issues/10252


edits for circular_ncRNA SO:0002291

Hi SO,
There are a few tweaks needed for the entry for circular_ncRNA, originally discussed on #490.
http://www.sequenceontology.org/browser/current_svn/term/SO:0002291

For synonyms, convert "circRNA" to "INSDC_qualifier:circRNA" and add "INSDC_feature:ncRNA". Compare to Y_RNA SO:0000405 for an example
four of the PMIDs have a leading underscore

That's it. Thanks!
-Terence

Also for SO:0002292
http://www.sequenceontology.org/browser/current_svn/term/SO:0002292

edit the synonyms to be "INSDC_feature:mRNA" and "INSDC_qualifier:circular_RNA"
two of the PMIDs have a leading underscore


list configurations command

Build all configs when no context is provided

Codecov Report
Base: 74.90% // Head: 75.51% // Increases project coverage by +0.61% :tada:

Coverage data is based on head (a4b5a83) compared to base (963a331).
Patch coverage: 76.74% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #40      +/-   ##
==========================================
+ Coverage   74.90%   75.51%   +0.61%
==========================================
  Files          10       11       +1
  Lines         793      866      +73
==========================================
+ Hits          594      654      +60
- Misses        153      163      +10
- Partials       46       49       +3

Impacted Files
Coverage Δ

pkg/builder/csolution/builder.go
56.70% <71.42%> (+4.64%)
:arrow_up:

cmd/cbuild/commands/list/list_configurations.go
76.00% <76.00%> (ø)

cmd/cbuild/commands/list/list.go
100.00% <100.00%> (ø)

pkg/utils/utils.go
86.52% <100.00%> (+1.14%)
:arrow_up:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Need an upper bound for criterion on GHC 7.6.3

Build failures like this happen: https://travis-ci.org/Gabriel439/Haskell-Turtle-Library/builds/176922407

Fixed by 07e36a50a898c66925974d4ad26d3545f87bbba5


Mobile query param not toggling, seems to be sticky

The mobile query param seems to be sticky somehow. For example, if I start up a new instance of rendertron without any caching enabled and pass the ?mobile onto the end of the url, the target page will render as mobile correctly. However if I then remove the ?mobile and refresh the page it is still mobile. In fact if I hit any other url they will all be rendered as mobile. If I stop the server and restart and then hit the pages without ?mobile they will show as desktop, however now the opposite occurs in that if you add ?mobile onto the urls they still will not render as mobile until the server is restarted.
I am using rendertron v3.1.0 and here is my config:
{
    "puppeteerArgs":[
        "--disable-web-security",
        "--no-sandbox",
        "--disable-setuid-sandbox"
    ],
    "port":"3000",
}

Any help would be appreciated... thanks.

Ok so apparently if I add closeBrowser:true to my config it solves the issue... although I am unsure if this is expected behavior.

In general, as we're deprecating the project, you should look into alternative approaches to rendering on the web.


Cant get MediaStream twice

Getting the MediaStream for the first time is no problem at all and adding it to a PeerConnection. The second time I add the same stream to another PeerConnection it says the Camera is already in Usage. Is there an Method to disable the camera? To dispose the Stream doesn't work out for me.

It Works Fine on Any device out of Android x86 with an Epson Moverio bt-300

Can you provide some sample code? I can't really understand what you are doing

@rostopira `Future createStream() async {
print("Getting Stream");
if(_localStream != null) {
  return _localStream;
}

final Map<String, dynamic> mediaConstraints = {
  'audio': true,
  'video': {
    'mandatory': {
      'minWidth': '720',
      'minHeight': '480',
      'minFrameRate': '21'
    },
    'facingMode': 'environment'
  },
  'facingMode': 'environment',
  'optional': []
};

MediaStream stream = await navigator.getUserMedia(mediaConstraints);

if(this.onLocalStream != null) {
  this.onLocalStream(stream);
}

return stream;

}`
First time the Stream is getting created and added to a PeerConnection everything is fine. But the second time I try to connect it says the camera is already is used and the RTCVideoRenderer Image is also frozen after this action. But this doesn't make any sense to me, because it is the same stream...

Are you trying to establish multipeer connection? If yes, you should use single localStream object (hold it in static variable, dispose only when both connections are closed)
If not, I don't see, where you disposing localStream.

I assign it it _localStream and then return it if it is present. I already tried disposing it but the camera wasn't disabled for a strange reason.

Have you seen something strange in logcat? Some disposing errors?
And I didn't really understood, what is that:

It Works Fine on Any device out of Android x86 with an Epson Moverio bt-300

Only error that is showing is that the camera is already in use. Android x86 is only supported by the debug version, but that shouldnt make a impact or?

Here is part of GetUserMediaImpl class
    void removeVideoCapturer(String id) {
        VideoCapturer videoCapturer = mVideoCapturers.get(id);
        if (videoCapturer != null) {
            try {
                videoCapturer.stopCapture();
            } catch (InterruptedException e) {
                Log.e(TAG, "removeVideoCapturer() Failed to stop video capturer");
            }
            mVideoCapturers.remove(id);
        }
    }

That's why I'm asking for logcat, filter it and search for that message, if there is error in closing camera, print exceptions stack-trace and post it

Android x86 is only supported by the debug version

Not really, x86 actually supported
It's blocked in build.gradle, to avoid stupid issues "OMG your plogin is brken, fix it ASAP" caused by bug in flutter build system
I'm going to replace it with more elegant solution to support any arch

Wait you say you can run a release Version. I couldnt find that could you please tell me how? Trying to get the Logs but the test device is not at my side right now, will try later this day.

Okay, if you really want to do so, I've commited workaround https://github.com/cloudwebrtc/flutter-webrtc/commit/7860e3baa7aa6159fc86c36ff76be38fe7e0f307
Flutter allows to build apk with only one arch, specified explicitly
Try that
flutter run --release --target-platform=android-x86

Yeah thats why I was suprised. Im a little bit disappointed about that and I might even change to Ionic for this one ;(

Closing due to inactivity


build: change TS api generator

Why is this pull request needed?
This pull request is needed because the old ts api generator does not (yet) support OpenAPI v3.1, which FastAPI now generates in Swagger. That means that the generator would either crash or possibly generate wrong output, which isn't desirable.
I first made this change on de4rm (https://github.com/equinor/de4rm/pull/2209), and although it hasn't been merged yet, it seems to work quite well. I prefer it to the old one in most/all manners.
What does this pull request change?

Replaces the generating tool, and then makes use of it (also adds it to pre-commit).
Makes necessary code changes to allow the new tool and its generated code to integrate nicely with the template's code.

Issues related to this change:
None.

Notice that I changed the eslint-config and the eslint pre-commit config, to fix a pipeline issue. If anyone have any ideas on how to fix it without making those changes, feel free to comment on that!

Replaces the generating tool, and then makes use of it (also adds it to pre-commit).

@sebastianvitterso which one did you switch to? 😅

Replaces the generating tool, and then makes use of it (also adds it to pre-commit).

@sebastianvitterso which one did you switch to? 😅

Haha oops, this one: https://github.com/ferdikoomen/openapi-typescript-codegen

https://github.com/ferdikoomen/openapi-typescript-codegen

Is it built on openapi-typescript? I've been working with it today, looks similar.


Inconsistent identifier with lesson/chapter

The pointer for chapter id in table topics is named 'lesson'.

Fixed in e9c17877f8ad3dfb9318b236c4925197c19f765b.


add logger name on hook

Lookin' good!

nope, I changed things around, better put a DefaultLoggerName in go-raven because we'll need it there too when reporting panics
so this will become only adding the error as culprit (i'll open a new branch + MR)


[Bug] dfx auto-gen <canister>.d.ts wrong naming

Creating an issue to track user reported bug.
https://forum.dfinity.org/t/bug-report-dfx-auto-gen-canister-d-ts-wrong-naming/4468

According to forum post this is resolved.


Metachaser24: Initial Docs

are u able to deploy to render.com or have a specific build command i can put there?

Run git rebase main

hey @isidroamv can you please fix my run_unit_and_e2e_tests errors. I am trying to merge and this keeps failing

have u fully rebased main?
These still seem to conflict:
package.json
packages/twitter-verifier-contracts/src/test/TestTwitter.t.sol
yarn.lock

@Divide-By-0 I have. This afternoon i went through the whole process

Ok this is getting ridiculous lol. theres no reason any of these other random files should change rn; can we just isolate out the docs again into just docs/, get that merged, then figure the rest of these moves out?


1.1.0: Not supported by requested GStreamer version

Hi,
I was trying to compile the WebRtcSendRecv java sample using
compile "org.freedesktop.gstreamer:gst1-java-core:1.1.0"
I had to change some imports and a call to getCurrentCaps(), but it seems to not work at all. This is what I see in VSCode:

[gstreamer service thread 1] INFO WebrtcSendRecv - Pipe state changed from NULL to new READY
[gstreamer service thread 1] INFO WebrtcSendRecv - Pipe state changed from READY to new PAUSED
[gstreamer service thread 1] INFO WebrtcSendRecv - Pipe state changed from PAUSED to new PLAYING
[GCallback] INFO WebrtcSendRecv - onNegotiationNeeded: sendrecv
Jul 03, 2019 10:06:25 AM com.sun.jna.Native$1 uncaughtException
WARNUNG: JNA: Callback org.freedesktop.gstreamer.Promise$1@73a4df16 threw the following exception
org.freedesktop.gstreamer.GstException: Not supported by requested GStreamer version
	at org.freedesktop.gstreamer.Gst.checkVersion(Gst.java:609)
	at org.freedesktop.gstreamer.Promise.<init>(Promise.java:54)
	at org.freedesktop.gstreamer.webrtc.WebRTCBin.setLocalDescription(WebRTCBin.java:196)
	at WebrtcSendRecv.lambda$0(WebrtcSendRecv.java:281)
	at org.freedesktop.gstreamer.webrtc.WebRTCBin$3.onChange(WebRTCBin.java:146)
	at org.freedesktop.gstreamer.Promise$1.callback(Promise.java:67)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.sun.jna.CallbackReference$DefaultCallbackProxy.invokeCallback(CallbackReference.java:520)
	at com.sun.jna.CallbackReference$DefaultCallbackProxy.callback(CallbackReference.java:551)

[EventThread] INFO WebrtcSendRecv - CONNECTED

That's a bug in gstreamer-java, please report it there. Something seems to be broken with its version checking code in https://github.com/gstreamer-java/gst1-java-core/blob/bcc292eff820b5aae3aa8b63a8ffdef48f409260/src/org/freedesktop/gstreamer/Promise.java#L54 and https://github.com/gstreamer-java/gst1-java-core/blob/bcc292eff820b5aae3aa8b63a8ffdef48f409260/src/org/freedesktop/gstreamer/Gst.java#L607-L611

Tnx

Wow, that was fast. Got a very fast answer https://github.com/gstreamer-java/gst1-java-core/issues/167#event-2463268648 and indeed, it works:
Gst.init(new Version(1,14));


Make sensu server not merge check data when the check is stand_alone

I just want to spark the conversation, if approved I'll try to add tests. (I don't know much ruby)
I have this situation with @bobtfish where we have lots of standalone checks in a multi-tenant environment. (also, the default configuration when the puppet module is uses, standalone => true)
But, in the situation where a client sends in a check result from the standalone check, and it is "missing" a critical piece of metadata, say pagerduty_api_key, the server gleefully fills in this data with this merge.
In my particular situation this results in lots of pages going to a the team that owns the sensu server (Ops), and not to the team that owns the client (not Ops).
Can we make the sensu server not perform this merge when the check is standalone? It seems like a standalone check should have all settings it needs to do its job, and the server shouldn't be filling in the blanks just because it also happens to have the same check defined for itself, with different settings.
Or, let me know if this is not the design you want sensu to take, and I can come up with a different workaround (prepend all checks with the hostname so the check names never merge?)

This doesn't appear to be working for me. All clients/servers are running 0.16.0. I upgraded the sensu servers first (from 0.12.6), flushed redis, then upgraded the clients.
On the sensu server:
{
  "checks": {
    "check_load": {
      "command": "/etc/sensu/plugins/check-load.rb -w 10,10,10 -c 12,12,12",
      "handlers": [
        "default",
        "sns",
        "logevent",
        "graphite_event"
      ],
      "standalone": true,
      "interval": 90,
      "refresh": 300,
      "occurrences": 2
    }
  }
}

On another node:
{
  "checks": {
    "check_load": {
      "command": "/etc/sensu/plugins/check-load.rb -w 12,12,12 -c 14,14,14",
      "handlers": [
        "default",
        "sns",
        "logevent",
        "graphite_event"
      ],
      "standalone": true,
      "interval": 90,
      "refresh": 300,
      "occurrences": 2
    }
  }
}

What's shown on Uchiwa for the latter node:
command     /etc/sensu/plugins/check-load.rb -w 10,10,10 -c 12,12,12

Yes, in the API (and uchiwa) the check definition is for whatever the server is.
At event processing time, the server will use the standalone-version that the client provided.

:disappointed: Sigh. Yeah, that's what I thought. I knew the checks were being executed properly, but if you think of it from a new user perspective, this doesn't make any sense.
It should be noted somewhere that "hey, that command definition you're looking at is false because you decided to use 'standalone' ". Just my 2 cents.

I agree that it is confusing, but it isn't "false".
How about submit a PR on the FAQ page in the docs repo?
The API is returning the information requested, which is "what server-side checks are defined", even if that api endpoint is just "/checks" :(

Well, maybe false was a poor word choice. One would think that if standalone then the client is the source of truth, otherwise the server knows the check definition. Yeah, I'll draft up something for the docs.


refactor: merge webhook and recovery service into longhorn manager

Ref: longhorn/longhorn#5590
Update Note:

start conversion webhook service and wait until it is ready in longhorn-manager

change to use port 9443 (so there is no need to update crd webhook field)

start adminssion webhook service and wait until it is ready in longhorn-manager

change to use port 8443

start recovery backend service in longhorn-manager
remove webhook and recovery deployment related code in pdb controller
remove webhook and recovery deployment related code in uninstall controller
delete webhook/recovery backend deployments in upgrade path

2023-04-07T15:12:32.689034879Z time="2023-04-07T15:12:32Z" level=debug msg="2023/04/07 15:12:32 http: TLS handshake error from <IP_ADDRESS>:52886: EOF"
2023-04-07T15:12:42.688616470Z time="2023-04-07T15:12:42Z" level=debug msg="2023/04/07 15:12:42 http: TLS handshake error from <IP_ADDRESS>:47850: EOF"
2023-04-07T15:12:52.695363407Z time="2023-04-07T15:12:52Z" level=debug msg="2023/04/07 15:12:52 http: TLS handshake error from <IP_ADDRESS>:35264: EOF"
2023-04-07T15:13:02.693107730Z time="2023-04-07T15:13:02Z" level=debug msg="2023/04/07 15:13:02 http: TLS handshake error from <IP_ADDRESS>:54574: EOF"
2023-04-07T15:13:12.702013551Z time="2023-04-07T15:13:12Z" level=debug msg="2023/04/07 15:13:12 http: TLS handshake error from <IP_ADDRESS>:34160: EOF"

just found out in local test that there are bunch of tls error, need to do some survey

2023-04-07T15:12:32.689034879Z time="2023-04-07T15:12:32Z" level=debug msg="2023/04/07 15:12:32 http: TLS handshake error from <IP_ADDRESS>:52886: EOF"
2023-04-07T15:12:42.688616470Z time="2023-04-07T15:12:42Z" level=debug msg="2023/04/07 15:12:42 http: TLS handshake error from <IP_ADDRESS>:47850: EOF"
2023-04-07T15:12:52.695363407Z time="2023-04-07T15:12:52Z" level=debug msg="2023/04/07 15:12:52 http: TLS handshake error from <IP_ADDRESS>:35264: EOF"
2023-04-07T15:13:02.693107730Z time="2023-04-07T15:13:02Z" level=debug msg="2023/04/07 15:13:02 http: TLS handshake error from <IP_ADDRESS>:54574: EOF"
2023-04-07T15:13:12.702013551Z time="2023-04-07T15:13:12Z" level=debug msg="2023/04/07 15:13:12 http: TLS handshake error from <IP_ADDRESS>:34160: EOF"

just found out in local test that there are bunch of tls error, need to do some survey but all the functions work fine, weird...

Oh I found the reason, it is caused by the readiness probe every 10 sec, kubelet use http instead of https to probe the pod

Will the old and unused webhook and recovery-backend pods be cleaned up after upgrade?

Will the old and unused webhook and recovery-backend pods be cleaned up after upgrade?

Yes, it is implemented in upgrade path
https://github.com/longhorn/longhorn-manager/pull/1805/files#diff-54e77ae1d9149f7ea519019af64a71e75f8029573fbb71ee209c944508a11502R25

Will the old and unused webhook and recovery-backend pods be cleaned up after upgrade?

Yes, it is implemented in upgrade path https://github.com/longhorn/longhorn-manager/pull/1805/files#diff-54e77ae1d9149f7ea519019af64a71e75f8029573fbb71ee209c944508a11502R25

Got it. Thank you.
BTW, can you help update the port 9600 to the new value?
https://github.com/longhorn/nfs-ganesha/blob/longhorn-ganesha-v4/src/SAL/recovery/recovery_longhorn.c#L42

BTW, can you help create a PR for updating the port 9600 to the new value?
https://github.com/longhorn/nfs-ganesha/blob/longhorn-ganesha-v4/src/SAL/recovery/recovery_longhorn.c#L42

@innobead I have removed the webhook/recovery upgrade path change in 1.3.x -> 1.4.x

BTW, can you help create a PR for updating the port 9600 to the new value? https://github.com/longhorn/nfs-ganesha/blob/longhorn-ganesha-v4/src/SAL/recovery/recovery_longhorn.c#L42

Hi @derekbit , here is the PR: https://github.com/longhorn/nfs-ganesha/pull/6
thanks!


How to disable auto-adjust in command line?

Is there a way to disable auto-adjust of contrast when running from command line? Thank you.

yes please use --no_norm


Error from watch

While running large numbers of pods on our kubernetes cluster we are seeing:
replication_controller.go:143] error from watch during sync: 401: The event in requested index is outdated and cleared (the requested history has been cleared [3047769/3039389]) [3048768]
We see this in the replication controller and apiserver logs

@lavalamp

Will look

I looked at this together with folks from Redhat yesterday. This log is printed as error is misleading since it doesn't cause any real issue. Both replication controller and apiserver already handled such watch error.

When we get this error, we should re-list and try again and everything should Just Work (tm). I will double check that it does that and make a PR to clarify the message in the log.
One additional possibility is that processing the result of the list takes so long that the watch window has expired by the time we're finished. In that case this should degrade to just polling, and the error still shouldn't be a problem.

Actually the replication controller's use of the list/watch pattern is incorrect, although not catastrophically so. I will fix.

Don't like fixing this all the time, so I'm going to do this and #4877 at the same time. About half done.

Reducing priority since these errors are not a problem in practice.

I think this issue is covered by our other performance related issues (e.g., #7162). Additionally, this specific error message shouldn't exist after #6866 is done.

This problem occurs when:

Client receives change via watch
1000 other non-interesting changes happen in etcd
Watch connection breaks (every 5 min)
We try re-establish connection but fail with this error so we need to list all objects again.

As @lavalamp mentioned this doesn't cause any real issues. It will be fixed with new etcd 3.0 api.
Closing as "Working as intended".