Is an option to make disable default keymaps planned?

I noticied default keymap gt conflicts neovim's one that works as :tabnext, so now  I overwrote my navigator's keymaps setting for avoiding this problem.
But it seems a bit wierd that gt is set for neovim's default behaviour in navigator.
I think that there are two choices against this.

Remove gt mapping from navigator's default keymaps. But this is a breaking change.
Add an option to disable (or remove) navigator's keymaps on demand.

Are there any plans about this?
If I can do that already, I apologize for my fault.
Thanks for this remarkable masterpiece plugin.

There are two options you can use
  default_mapping = true,  -- set to false if you will remap every key
  keymaps = {{key = "gK", func = vim.lsp.declaration, desc = 'declaration'}}, -- a list of key maps to override default

There are two options you can use
  default_mapping = true,  -- set to false if you will remap every key
  keymaps = {{key = "gK", func = vim.lsp.declaration, desc = 'declaration'}}, -- a list of key maps to override default

This is my config:
    keymaps = {
        {key = "gt", func = nil, desc = 'goto tab'},
        {key = "g0", func = nil, desc = 'symbol outline'},
    }, -- a list of key maps

gt works as expected, but g0 dosen't.
This is output of map g0
n  g0          *@<Lua 373: ~/.local/share/nvim/lazy/navigator.lua/lua/navigator/symbols.lua:20>
                 document_symbols

When replacing one of the current mappings, the code check if func is binded in navigator keymaps, not the key.
e.g.
if you want to map gr to open symbole outline you can do it anywhere in your config. If you want to change navigator func = require('navigator.reference').async_ref key map to gg , you override it in navigator config.


Remove ambiguity about info.version

In OpenAPI.next versions/3.0.md info.version is marked Requried, then the second sentence starts "While not required, ". Some may be confused and think this starts a contradiction. I suggest not adding this sentence at all, as it only raises additional questions (is "application API === "API definition"?) I propose more concise rephrasing.

Thanks for opening this @DavidBiesack.
I'm tagging @fehguy to take a look.  I'm not sure if the original text was a typo (required ... not required) or was explaining that the versions were not required to be consistent.

I feel the revised text is a little too concise.  The point I was hoping to make here was that the version property identifies the API Definition, not the API implementation.

Yes, as @darrelmiller stated, the version value is required.  It is suggested but not required that the value of the version is the version of the API definition as opposed to the API implementation.

I've suggested another revision, which I think addresses all the comments. Note: I understand version is required; I am suggesting removing the clause "While not required, " which would add confusion. Proposed:
Required The version of the API definition (which is distinct from the OpenAPI specification version or the API implementation version which may evolve at different rates.)

I find that even more confusing - it suggests that the OAS version and API implementation may evolve at different rates (different than the original intent).

but the OAS version and the API implementation version can evolve at different rates. The API definition may be version: "v2", and OAS may be version "2.0" then the document updated to OAS "3.0" in april, then in June the implementation version may change to 2.1.0 to 2.1.1 to 2.1.2 to 2.2.0

I'm happy to simplify:
Required The version of the API definition (which is distinct from the OpenAPI specification version or the API implementation version.)

@DavidBiesack if you can use your last suggested wording, we'll merge. Thanks.

updated, thx


Add satisfiesAllOf to AbstractAssert

Summary
AssertJ already has support for soft assertions. However, that feature might be difficult to discover as it's not part of the main API and also a bit error-prone considering that you have to remember to call assertAll in the end.
AbstractAssert already contains a satisfiesAnyOf method, so this proposed method would be a nice complement to that. It would be easy to discover and would be less error-prone.
Example
TolkienCharacter frodo = new TolkienCharacter("Frodo", HOBBIT);

Consumer<TolkienCharacter> isHobbit = tolkienCharacter -> assertThat(tolkienCharacter.getRace()).isEqualTo(HOBBIT);
Consumer<TolkienCharacter> isElf = tolkienCharacter -> assertThat(tolkienCharacter.getRace()).isEqualTo(ELF);
Consumer<TolkienCharacter> isFrodo = tolkienCharacter -> assertThat(tolkienCharacter.getName()).isEqualTo("Frodo");
Consumer<TolkienCharacter> isBoromir = tolkienCharacter -> assertThat(tolkienCharacter.getRace()).isEqualTo("Boromir");

// assertion succeeds:
assertThat(frodo).satisfiesAllOf(isHobbit, isFrodo);

// assertion fails reporting all failures:
assertThat(boromir).satisfiesAllOf(isElf, isBoromir);

If the proposal is accepted I would be happy to contribute.

I think what you are looking for is allSatisfy, it was named like this to follow the Java APi allMatch, anyMatch, ...

allSatisfy serves a different use case. It is part of AbstractIterableAssert and executes the same assertions on all elements of an Iterable.
satisfiesAllOf would be part of AbstractAssert and would execute multiple assertions on the same object in a soft manner.

You are right, I read your summary too quickly, my bad.
We can certainly add this, just wondering if we should just make satisfies to accept a vararg or go with satisfiesAllOf.
And thanks for wanting to contribute, I'm assigning this to you.

I would prefer not as the API is already quite big


Chrome not reachable error.. but only after many runs

This is a strange one, and I'm honestly not sure if the problem is with this wonderful library or AWS.  Posting here in case it's something to do with the former - thank you so much for any help!
Steps to repro:

Run the setup commands, including the invocation, exactly from the README (I used us-west-1). Everything works great.
Set up an EventBridge rule to run your new Lambda function every 2 minutes.
Wait 30 minutes

Result:
Per CloudWatch logs, the function successfully executes ~14 times, and then begins to fail consistently with one of the following errors:
[ERROR] WebDriverException: Message: chrome not reachable
and, sometimes:
[ERROR] WebDriverException: Message: unknown error: cannot create temp dir for unpacking extensions
Screenshot:

@greattypo
Thank you for reporting. AWS Lambda tries to reuse container, and it's known behavior that sometimes /tmp files remain the same as previous one. This could be buggy reason for Chrome because Chrome cache many files there.
My another repository pythonista-chromeless had to deal with the issue. These links below are my solution that. I hope these modifications could help your situations too.

wipe /tmp always when start
randomize the storage location

(BTW, I want this repository code short and simple as much as possible, then people can read my entire code instead of trusting me, so I'm not planning to insert these advanced modifications)

Wow, thanks for such a helpful response. I've implemented the first one and already notice that the amount of memory used has stopped increasing after each run. Will play around with the storage location next. Really appreciate the suggestion!

I changed my mind and modified a little bit. I think this is enough theoretically and we'll see. #31


Add SmartThings Scene platform

Description:
Adds the SmartThings Scene platform which allows execution of scenes defined within SmartThings. A scene entity is created for each scene as defined in SmartThings
Pull request in home-assistant.io with documentation: home-assistant/home-assistant.io#8718
Checklist:

[X] The code change is tested and works locally.
[X] Local tests pass with tox. Your PR cannot be merged unless tests pass
[X] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[X] Documentation added/updated in home-assistant.io

If the code does not interact with devices:

[X] Tests have been added to verify that the new code works.

This PR will need to be rebased to fix new tests added by previous PRs.  I'll get that done tonight.

This PR will need to be rebased to fix new tests added by recently merged PRs. I'll get that done tonight.

Ready for review!


No subscriptions found.

Hi. I try migrate on - https://docs.microsoft.com/ru-ru/power-bi/developer/migrate-tool
after login i get message: No subscriptions found.
How fix it ?

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: buzzgamesnews sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Problem with the database

node:events:368
throw er; // Unhandled 'error' event
^
TypeError: Cannot read properties of null (reading 'numberPlayer')
at /home/runner/RPG-Discord-Bot/commands/createplayer.js:66:13
at /home/runner/RPG-Discord-Bot/node_modules/mongoose/lib/model.js:5074:18
at processTicksAndRejections (node:internal/process/task_queues:78:11)
Emitted 'error' event on Function instance at:
at /home/runner/RPG-Discord-Bot/node_modules/mongoose/lib/model.js:5076:15
at processTicksAndRejections (node:internal/process/task_queues:78:11)
exit status 1

Hi, indeed you have this error, because you must remove the comments on the
creation of the model 'STATS' (the variable statsBot in the file
createplayer.js) and put it before the creation of the model 'PLAYER'. You
launch the bot, you type the command 'start', and then you put in
comment the model 'STATS' not to create several times the statics of the
bot.
Le sam. 3 sept. 2022 à 02:48, Listlessness @.***> a
écrit :

node:events:368
throw er; // Unhandled 'error' event
^
TypeError: Cannot read properties of null (reading 'numberPlayer')
at /home/runner/RPG-Discord-Bot/commands/createplayer.js:66:13
at /home/runner/RPG-Discord-Bot/node_modules/mongoose/lib/model.js:5074:18
at processTicksAndRejections (node:internal/process/task_queues:78:11)
Emitted 'error' event on Function instance at:
at /home/runner/RPG-Discord-Bot/node_modules/mongoose/lib/model.js:5076:15
at processTicksAndRejections (node:internal/process/task_queues:78:11)
exit status 1
—
Reply to this email directly, view it on GitHub
https://github.com/thomasperge/RPG-Discord-Bot/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATHFPQ36MGW7OUSRKLDDW2TV4KN7XANCNFSM6AAAAAAQDVYSTI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I also have this issue and I dont get your point, can you elaborate


muparser: 2.2.3 -> 2.3.2

While at it fixed home page.

On macos 10.15:
builder for '/nix/store/hgbfbh7mx3dsklx15pq5g16bqvxdxgil-muparser-2.3.2.drv' failed with exit code 1; last 10 log lines:
    Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
  Call Stack (most recent call first):
    /nix/store/gcinad2bdm3fkyxjs73vwqy0pq3wr25m-cmake-3.21.2/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
    /nix/store/gcinad2bdm3fkyxjs73vwqy0pq3wr25m-cmake-3.21.2/share/cmake-3.21/Modules/FindOpenMP.cmake:544 (find_package_handle_standard_args)
    CMakeLists.txt:27 (find_package)

  -- Configuring incomplete, errors occurred!
  See also "/tmp/nix-build-muparser-2.3.2.drv-0/source/build/CMakeFiles/CMakeOutput.log".
  See also "/tmp/nix-build-muparser-2.3.2.drv-0/source/build/CMakeFiles/CMakeError.log".

Looks like it just needs llvmPackages.openmp supplied to buildInputs in the darwin case.

Great catch! Also reproducible on linux when clang is enabled:
$ nix build --impure --expr 'with import ./.{}; muparser.override { stdenv = clangStdenv; }' -L
...
muparser> CMake Error at /nix/store/q2lj6pxd6sn75fa9pjx9x3jpgxnr6zld-cmake-3.21.2/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
muparser>   Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)

Added openmp from default llvmPackages version. Once https://github.com/NixOS/nixpkgs/issues/79818 is fixed we should update it not to pull potentially mismatching openmp.

Does not seem to happen.


Fix the flatpickr-time border-top bug

.flatpickr-time
  border-top 0

.flatpickr-days + .flatpickr-time
  border-top 1px solid $calendar_border_color

Hello,
Thanks for reporting the issue!
The proposed solution works perfectly.


Tutorial 4 - Synaptic current and potential go to +inf

snntorch version: 0.9.1
Python version: 3.11.2
Operating System: Debian WSL, but reproduced on Colab

Description
I ran the first few code blocks in Tutorial 4 "2nd Order Spiking Neuron Models". At the part where we step through the Synaptic simulation and record the synaptic current and potential, these values go off to + infinity. This is labeled section 1.2 in the notebook.
I haven't looked closely enough to see what the problem is, just that it is blowing up. Could I be doing something wrong?
What I Did
I ran the code as it exists in examples/tutorial_4_advanced_neurons.ipynb on Google Colab, so it should be reproducible.

i just realized this is a duplicate of #320


Column unknown exception raised from ON CONFLICT statement when column name in upper case

CrateDB version: 4.0.7
Problem description:
Exception 'ERROR: ColumnUnknownException: Column ... unknown' raised from ON CONFLICT (..) DO UPDATE SET when column name wrote in upper case.
Steps to reproduce:
create table test (a int, b int, primary key(a)) ;
>> Table TEST created.
insert into test (a, b) values (1, 2) ON CONFLICT (A) DO UPDATE SET b = excluded.b
>> ERROR: ColumnUnknownException: Column A unknown
insert into test (a, b) values (1, 2) ON CONFLICT (a) DO UPDATE SET b = excluded.b
>> 1 row inserted.

Thank you for reporting, I created a fix for that.

Closing this, the fix will be released as part of 4.0.9. (https://github.com/crate/crate/pull/9352)


Can't select an icon when keyboard is shown

Hello there, when trying to either delete or archive a note in the PWA on Android 12, if the keyboard (Gboard) is shown, the selection isn't working and the keyboard is hidden then displayed again. I have to minimize the keyboard and then press the selection so that the selection is registered.
Is it standard behavior?
Please see attached video for more context.
Thanks!
https://user-images.githubusercontent.com/24906799/163738515-b485d687-f887-49b7-954d-1f71fcc2e5a6.mp4

Well that's an annoying bug, thanks for reporting it. I usually use iOS and it doesn't happen there, so I didn't notice. However I have reproduced it so that means I can work to fix it. I'll try to get on it soon.


Draft: Add mode to read consolidated ZARR datasets

This changes add a mode option mode=consolidated (perhaps best to do it by default when reading and fallback if fails) that will fetch a possibly existing .zmetadata file from the root of the dataset. That could serve as unified representation to be used whenever needing group or variable metadata further down the code path.
This is a WIP motivated by #2987 and lacks (at least):

[ ] Unit testing
[ ] Functional testing
[ ] Support Zarr V3
[ ] Robustness when open consolitaded not available

The way I planned to do the consolidated metada (aside: would like a shorter term than "consolidated")
for netcdfd is to create another dispatch layer for accessing various metadata pieces.
So for v2, this would wrap read/write of .zroup .zarray and .zattrs.
For v3, this would wrap access to zarr.json.

How about using csd as a shorthand for consolidated (maybe even make both variants legal options)?
Personally, I would prefer to make consolidated the default, and fall back to unconsolidated, if no .zmetadata file is available (or the user explicitly asks for unconsolidated), but I would also understand if you prefer not to change existing behavior of libnetcdf...

It occurs to me to ask. Why is the consolidated metadata in a separate .zmetadata rather than in the root groups' zarr.json?

No idea why, but it is handled that way in zarr python for zarr2 ...
See your question here: https://github.com/zarr-developers/zarr-python/issues/720

You mean adding a block of function pointers to NC_Dispatch

No, I was thinking of an internal dispatch table. When I added support
for Zarr version 3, I created a dispatch table discriminated on the version.
I then constructed some code to look at the URL and the Zarr dataset
to infer which version to use. I would do the same for the metadata
dispatcher but discriminating on consolidated or not.

I finally understood you're referring to the implementation in the branches of your fork! I'm taking  a look into zarrv3b.tmp, is this the branch you envision to merge?
Just to clarify, what we'd like to have is that, when opening a consolidated dataset (without authentication), one could point to a "vanilla HTTP" server. This means that, HTTP-S3-specific requests like method=list-bucket-v2 would be avoided (when data is consolidated) or delayed (when not). Is this a sensible requirement?


Incorrect Windows.Foundation.Metadata.Static attributes throughout docs

Throughout docs, WinRT classes are either documented as hosting multiple copies of the Windows.Foundation.Metadata.Static attribute. This appears to affect most classes.
Examples
SharedStorageAccessManager
Documentation (18362):
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Static(typeof(Windows.ApplicationModel.DataTransfer.ISharedStorageAccessManagerStatics), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Static(typeof(Windows.ApplicationModel.DataTransfer.ISharedStorageAccessManagerStatics), 65536, "Windows.Foundation.UniversalApiContract")]
public static class SharedStorageAccessManager

Actual metadata (18362):
[Static(typeof(ISharedStorageAccessManagerStatics), 65536U, "Windows.Foundation.UniversalApiContract")]
[ContractVersion(typeof(UniversalApiContract), 65536U)]
public static class SharedStorageAccessManager

StorageFolder
Documentation (18362):
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Static(typeof(Windows.Storage.IStorageFolderStatics), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Static(typeof(Windows.Storage.IStorageFolderStatics), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class StorageFolder : IStorageFolder, IStorageFolder2, IStorageItem2, IStorageItemProperties2, IStorageItemPropertiesWithProvider, IStorageFolderQueryOperations

Actual metadata (18362):
[ContractVersion(typeof(UniversalApiContract), 65536U)]
[Static(typeof(IStorageFolderStatics), 65536U, "Windows.Foundation.UniversalApiContract")]
public sealed class StorageFolder : IStorageFolder, IStorageItem, IStorageFolderQueryOperations, IStorageItemProperties, IStorageItemProperties2, IStorageItem2, IStorageFolder2, IStorageItemPropertiesWithProvider, IStorageFolder3

@riverar Please submit feedback by clicking on the button at the doc's bottom.

@rootsmusic Why?

@riverar That's how you submit feedback that's specific about a doc, which will alert the doc's author about your issue.  If you don't do so, then the author won't know you have an issue about the author's doc.

@rootsmusic Are you a Microsoft rep?


NoSuchElementException when testing touch-input chrome's device-mode

Hi,
I'm getting this exception, when trying to test touch-events in chrome's device-mode (in the devtools):
NoSuchElementException: List is empty.
    at last (webpack-internal:///./kotlin/kotlin-kotlin-stdlib-js-ir.js:1784:13)
    at touchMove (webpack-internal:///./kotlin/littlekt-core.js:47478:51)
    at HTMLCanvasElement.l (webpack-internal:///./kotlin/littlekt-core.js:47747:7)

I think the origin is this last call: https://github.com/littlektframework/littlekt/blob/master/core/src/jsMain/kotlin/com/lehaine/littlekt/input/JsInput.kt#L104
In the chrome-debugger, I can see, that $this.touchedPointers_1.array_1 is empty.
I got this error in a basic very basic setup, even without any inputProcessors.
Edit: When remote-debugging chrome on my android-device, I got the same error. (JVM on my desktop is working.)

Interesting. I'll check it out!


Handle SNS JSON format

Handles the case where a message is published to an SNS topic and received by an SQS queue by handling the HessianFormatException and deserializing the relevant part of the JSON message.

Fixes #105


[ci][tvmbot] Enable re-run for GitHub Actions

This adds the right permissions so anyone associated with the repo can trigger a re-run (GitHub hasn't flagged all committers as repo COLLABORATORS for some reason so it's difficult to determine from a username who has commit rights) and makes it so @tvm-bot rerun also re-runs all the Actions on a PR.
cc @Mousius @areusch

@tvm-bot merge


.NET 6 support

Hey @DubyaDude,
This is a great library, however, using it on .NET 6 gives the following error:
WindowsMediaController.dll cannot be referenced because it uses built-in support for WinRT, which is no longer supported in .NET 5 and higher.
An updated version of the component supporting .NET 5 is needed. For more information, see https://aka.ms/netsdk1149

Do you think it would be possible to achieve this functionality without WinRT?
Thanks!

Yes, I did notice this when testing, however, haven't had time to quite dig into it. Taking a quick look at it there does seem the be a 'replacement' way to do this for NET5+, but to be frank it's quite jank:
https://docs.microsoft.com/en-us/dotnet/core/compatibility/interop/5.0/built-in-support-for-winrt-removed#recommended-action
I'll look into making a port for NET6, not sure how free I'll be for some time.

Update: it seems that by just using Windows.Media.Control, a lot is still possible. Quick 'n crude code:
var sessionManager = await GlobalSystemMediaTransportControlsSessionManager.RequestAsync();
var sessions = sessionManager.GetSessions();

foreach (var session in sessions)
{
    var mediaProperties = await session.TryGetMediaPropertiesAsync();

    Log.Information("Session state: {state}", session.GetPlaybackInfo().PlaybackStatus);
    Log.Information("{artis} - {title}", mediaProperties.Artist, mediaProperties.Title);
}

Thanks for the fast response! Take your time, this should be ok for now :)

Good to hear, I'll keep this open until I get it out to the NuGet package

NET5/NET6 support added in 2.2.0
And added documentation of hurdles some may face here

Impressively fast, thanks @DubyaDude!


Create 4/5 part dimming button

Would be awesome to get a quick-access buttion that either cycles between pre-set brightness levels, ie

25%
50%
75%
100%
Off

Or the reverse order as set by the user.
It could also swap between user-set brightness levels rather than pre-set ones

Do you think the best way would just be adding a second quick settings tile with these cycles or adding this functionality to the current quick settings tile?
I personally prefer adding a seperate tile.

Definitely a second/seperate tile, better to have more options than less for users.

Definitely a second/seperate tile, better to have more options than less for users.


HyperX Cloud Alpha Wireless not detected

Hey, the HyperX Cloud Alpha Wireless seems to no get detected. https://github.com/Sapd/HeadsetControl Is able to detect and control this headset. Would be greatly appreciated, if someone could make this work. Thx!

Hi, can you post the output of upower -d please?
This extension can only show devices detected by upower. upower can only show devices that are managed by the kernel / bluetooth stack. If HeadsetControl can control the device, it's possible to write a driver, someone just needs to do it. Sadly, that's way out of scope for this project.

Closing, since there's no driver for this headset in the kernel, so this project can't really support it


Warnings when mapping bools with mapProps

The Problem
I'm mapping touched and focus to determine if i should put a prop on my Input component. But this is results in warnings, telling me that the prop should be a string.
Steps to Reproduce
Apply mapProps
Reproducible Code Example
https://codesandbox.io/s/ol5ky04o46 check console

Do you know the fix, and would like to make a PR?

Hello @davidkpiano,
Did some digging, and it would seem that this is enforced by react. Adding touched={ false } to a vanilla input field will yield the same result.
So i'm a bit unsure how to handle this, i could convert forth and back in my own application. Or this could be handled by react-redux-form, i would assume by casting certain boolean values to string, that react actually render to the dom. Could be somewhere in here https://github.com/davidkpiano/react-redux-form/blob/master/src/components/control-component-factory.js#L229.
I would love to make a pull request, if that is desired road. But would love some input.
Thank you :-).


Current IAPP Site tab

Add current IAPP site tab and allow optional access without id param in URL
Include monitored column in IAPP record set and API
Error check id variable on IAPP page to avoid fetching with undefined

Overview
This PR includes the following proposed change(s):

#1816
New tab in header that brings user to current IAPP site
IAPP site endpoint still functions without id in URL by grabbing id and type from application storage or displaying similar message to activity page

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Refactoring / Documentation
[ ] Version change

if your change is a breaking change, please add breaking change label to this PR
How Has This Been Tested?

Manually on local

Screenshots
Please add any relevant UI screenshots if applicable.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] New and existing unit tests pass locally with my changes

/rebase


tests: use random port for import integration tests

Signed-off-by: Yilin Chen<EMAIL_ADDRESS>
What is changed and how it works?

Issue Number: Close #10549
What's Changed:

If running sst_import tests concurrently, different tests will use the same
default listening address <IP_ADDRESS>:20160. And during resource cleanups,
one test may close the connection of another test. This is probably the
cause of #10549.

So, this commit changes the listening address in tests to <IP_ADDRESS>:0.
The operating system unlikely uses the same port after the change.

Check List
Tests

Integration test

I've tried running all tests in test_sst_service several times. Before the change,
I always get similar errors in #10549. But now, it never fails.
Release note
None

How does client know the server listen port when it is connecting to server?

How does client know the server listen port when it is connecting to server?

The server addr is got from the grpc listening address:
https://github.com/tikv/tikv/blob/4cabf515b3a642048a1544181778bdd893f5dbb5/components/test_raftstore/src/server.rs#L490

/merge

/run-check-issue-triage-complete

/test


Fixing highlightjs problem

Hi!
I was having a problem with highlightjs and found the solution. This PR fixes it.
Thanks!

Can you elaborate a bit on what problem you were having?

See tighten/jigsaw-blog-template#75, looks like we forgot to change this when we bumped highlight.js to v10. Thanks @saulsolorzano!

Awesome! :) no problem!


refactor(error): drop classvar in error.py

Description:
fix non class var
Related Issue:
resolve #174
Type of change:
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] All code follows the project's coding style and conventions.
[x] I have performed a self-review of my own code.
[x] My changes generate no new warnings or errors.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding updates to the documentation.

:tada: This PR is included in version 1.2.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Scanning a tag -> card homepage

If you are authenticated and scan a tag that you own, it should take you directly to the card's maintenance page. This implies we need to associate a tag with an app on a specific pico

duplicate of #138


Async helpers called synchronously fail silently

Sails version: 1.1
Node version: v10.15.1
NPM version: 6.4.1
DB adapter name: N/A
DB adapter version: N/A
Operating system: OSX

Observed
Normal (async) helpers called without await keyword fail silently in production environments.
When process.env.NODE_ENV !== 'PRODUCTION', parley prints the following warning to stderr:
WARNING: A function that was initially called over 15 seconds
ago has still not actually been executed.  Any chance the
source code is missing an "await"?

To assist you in hunting this down, here is a stack trace:
...

Expected
Helper code should run without blocking the caller.
A parallel with normal javascript would be that an async function called from synchronous code will still execute.  From the node REPL:
> (async () => console.log('hi'))()
hi

Recreating
Example project at https://github.com/alxndrsn/sailsjs-helper-silent-fail; see README for usage details.
Notes
It is actually stated in the helper docs that async helpers called without the await keyword will not run.  Despite this, I still find the behaviour surprising.

@alxndrsn While a bit unusual, this is intentional for compatibility with past versions of Sails that existed before promises had been fully standardized in ECMAScript -- parley methods return a Deferred, not a promise. Using await or then actually executes the thing.
This works because await is designed to work with "thenables", not just promises.
Here's an example of backgrounding an invocation, adapted from a project I worked on recently:
// Delete our phantom transaction.
sails.log.verbose('Deleting the phantom transaction…');
sails.helpers.fooBar.deleteFooBarTransaction.with({
  fooBarTransactionId: phantomTransactionId,
  fooBarContextId: freshFooBarContextId
})
.exec((err)=>{
  if (err) {
    sails.log.error('Background instruction failed:', err);
  } else {
    sails.log.verbose('Background instruction completed successfully.  Deleted the phantom transaction.');
  }
});//_∏_

console.log('more code here');

We've considered adding something to parley (an alternative to .exec()) that'll just do this automatically, and also guarantee that your log messages are consistent (so that it's easier to set up log alerts, e.g. in Papertrail, to get notified when a background instruction fails), but for now the strategy above example is the best go-to.
We set up our logs for all of our projects to notify us in Slack any time a 5xx response is sent and any time the words "Background instruction failed" are logged.

We've considered adding something to parley (an alternative to .exec()) that'll just do this automatically

👍 that would be very handy

and also guarantee that your log messages are consistent (so that it's easier to set up log alerts, e.g. in Papertrail, to get notified when a background instruction fails)

I'm not sure I understand this - in what way could log messages be inconsistent?

@alxndrsn
Potentially inconsistent logs between the logger and the notification app (e.g. Papertrail and Papertrail notifications).

@johnabrams7 ok, understood.  To me this inconsistency looks like it's caused by multi-line log entries.  We've got around this using a custom sails logger - in production we use fluentd, and wrap log entries as JSON.  This means a call like sails.log.error('Background instruction failed:', err); will appear as a single entry in our logs.

@alxndrsn Good to know! Will have to try that out. 👍

Just encountered this issue when trying to run Promise.all on an array of calls to a helper. Not sure I can use exec() as that requires a callback which doesn't fit with the whole async/await thing.
Does this bug mean there's no way for me to do this? Will I have to go back to defining a Sails service instead?


Remove jcenter repository

Description
JCenter has been turned off and should be removed as a referenced repository.
Please Remove any direct dependency on jcenter() within a repositories block in gradle files.
Related: https://github.com/opensearch-project/opensearch-build/issues/1456

We removed JCenter from Data Prepper sometime ago. And we fixed issues related to the Gradle Plugin portal's dependency on JCenter in #859 today.


[Feature request] low level cpp & python API for generation

Currently chatglm.cpp provides Pipeline for users. The Pipeline class provides a method called chat, which handles the system prompt, chat history, output formatting and more.
This is awesome. But for better flexibility, a low level API generate is also needed for integrate chatglm.cpp with other systems like text-generation-webui, LangChain, and Xinference.
Here are some detailed needs for the method generate (in Python):
def generate(
    self,
    prompt: str,  # the full prompt passed directly to the model
    stop: Optional[Union[str, List[str]]] = [],  # stop words
    max_tokens: int = 128,
    temperature: float = 0.8,
    top_p: float = 0.95,
    top_k: int = 40,
    **other_generate_kwargs
) -> Completion:
    pass

class Completion(TypedDict):
    text: str
    index: int
    prompt_tokens: int
    completion_tokens: int
    total_tokens: int
    finish_reason: Optional[str]  # "stop" for eos met and "length" for max_tokens reached

@li-plus Hi, do you have any comment on this issue? I'll be glad to implement it if you don't mind :)

@UranusSeven Hi, sorry for the late reply. Integration into popular frontends is indeed one of the TODOs. I just read the code of llama-cpp-python: https://github.com/abetlen/llama-cpp-python/blob/6d8892fe64ca7eadd503ae01f93fbcd9ff3806dd/llama_cpp/llama.py#L1229-L1251. How about we call it create_completion instead of generate to align with them. It'll be awesome if you would help implement it. If you don't have time, I'll handle it. Anyway, thanks for you advice!

@li-plus Totally agree! Having similar interface with llama-cpp-python is awesome!
I'll try to resolve this issue this weekend :)


Code sig ver note for Outset download

Added note about code signature verification for the Outset download recipe:
pkgutil --check-signature /Users/USERNAME/Downloads/outset-2.0.3.pkg
Package "outset-2.0.3.pkg":
   Status: no signature

What advantage does this bring?
Sent from my iPhone
On Fri, Jul 8, 2016 at 10:30 PM +0100, "A.Y. Siu"<EMAIL_ADDRESS>wrote:
Added note about code signature verification for the Outset download recipe:
pkgutil --check-signature /Users/USERNAME/Downloads/outset-2.0.3.pkg
Package "outset-2.0.3.pkg":
Status: no signature
You can view, comment on, or merge this pull request online at:
https://github.com/grahamgilbert/autopkg-recipes/pull/1
Commit Summary
Code sig ver note for Outset download
File Changes
M
outset/outset.download.recipe
(3)

Patch Links:
https://github.com/grahamgilbert/autopkg-recipes/pull/1.patch
https://github.com/grahamgilbert/autopkg-recipes/pull/1.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I think so if people are worried about there being no code signature verification (something that's come up in the AutoPkg mailing list), they can at least know the recipe maintainer isn't being negligent (i.e., there is a code signature but no verification).


1019 message values

I have an own ntrip client module and crc check procedure. ı use pyrtcm library for parsing the messages only.
ı made a test at the same time with bnc and and the code for the checking values because when ı try to calculate satellite positions ı see some mistakes.
20:27 UTC time for savings on BCEP00BKG0
PYRTCM OUTPUT:
{1019: {1: [{'DF002': 1019,
'DF009': 1,
'DF071': 94,
'DF076': 257,
'DF077': 2,
'DF078': 1,
'DF079': 1.5234036254696548e-11,
'DF081': 79200,
'DF082': 0.0,
'DF083': 1.9326762412674725e-12,
'DF084': 9.948620572686195e-05,
'DF085': 564,
'DF086': 104.3125,
'DF087': 6.610889613511972e-10,
'DF088': 0.5653691641055048,
'DF089': 1.8753111362457275e-05,
'DF090': 0.11786648875568062,
'DF091': 1.8104910850524902e-06,
'DF092':<PHONE_NUMBER>4833984,
'DF093': 124496,
'DF094': -4.526972770690918e-05,
'DF095': 0.23730699252337217,
'DF096': -3.166496753692627e-07,
'DF097': -0.9107646332122386,
'DF098': -0.125,
'DF099': 0.315432685893029,
'DF100': 1.125490598496981e-07,
'DF101': -2.60770320892334e-08,
'DF102': 21,
'DF103': 0,
'DF137': 1}],
and the ephemeris data at the same time with same satellite on bnc.
G01 2024 03 10 22 00 00 1.733088865876e-04 1.932676241267e-12 0.000000000000e+00
 9.400000000000e+01 3.434375000000e+01 3.595864067886e-09 1.481153980717e+00
 1.810491085052e-06 1.286328351125e-02 1.449324190617e-05 5.154014831543e+03
 7.920000000000e+04-3.166496753693e-07-2.861251480849e+00-7.450580596924e-09
 9.909610087036e-01 1.208437500000e+02 1.000954582462e+00-7.641746880859e-09
 4.785913638228e-11 1.000000000000e+00 2.305000000000e+03 0.000000000000e+00
 4.000000000000e+00 6.300000000000e+01 5.122274160385e-09 9.400000000000e+01
 9.999000000000e+08 4.000000000000e+00

 so ı am crius about the data ı collect is wrong or the parsing part. ı am not a professional on this job ı need to find the problem for fixing it for more detailed conversation please mail me

HI @EgehanYaglici
I'm unclear which specific pyrtcm data field(s) you believe to be incorrect and why.
Can you share your complete code script please, and clarify what you believe the correct output should be?

Hi,  you can find more different values when try to check all (etc i_dot is
different). my main objective is calculate satellite positions base on the
rtcm data, ı send you a ipynb its include all code script some run example
and satellite positions in the below cells you can see the position when we
try to make a basic visual. I am not very familiar with this type datas.
Actually if ı can get help it would be greatful ı add the same message same
data in same time.  ı make the multiplications in the code for semi-circle
values.
If you notice a something wrong in the code or the calculation part ı am
really glad to hear it, ı am a geomatics engineering student and ı try to
make a real time gnss data monitoring project your helps mean a lot to me.
Sorry for bothering you.
*RINEX *

PRN = 1 (G01 uydu için)
Toe = 79200 (GPS Week Seconds)
i_0 = 0.5653691641055048 (radian)
IDOT = 6.610889613511972e-10 (radian/second)
Cuc = 1.8753111362457275e-05 (radian)
Crs =<PHONE_NUMBER>4833984 (meter)
e = 0.11786648875568062 (eccentricity)
Cic = -4.526972770690918e-05 (radian)
Crc = 0.23730699252337217 (meter)
Delta_n = 1.8104910850524902e-06 (radian/second)
Cus = 1.449324190617e-05 (radian)
OMEGA_0 = -0.9107646332122386 (radian)
omega = 0.315432685893029 (radian)
M_0 = 0.11786648875568062 (radian)
sqrt_a = 5154.014831543 (sqrt meter)
Cis = -3.166496753692627e-07 (radian)
OMEGA_DOT = 9.909610087036e-01 (radian/second)

RTCM :

DF009 (GPS Satellite ID) = 1
DF081 (GPS toe) = 79200
DF097 (GPS i0) = -0.9107646332122386
DF079 (GPS IDOT) = 1.5234036254696548e-11
DF089 (GPS Cuc) = 1.8753111362457275e-05
DF086 (GPS Crs) = 104.3125
DF090 (GPS e) = 0.11786648875568062
DF094 (GPS Cic) = -4.526972770690918e-05
DF098 (GPS Crc) = -0.125
DF087 (GPS Delta n) = 6.610889613511972e-10
DF091 (GPS Cus) = 1.8104910850524902e-06
DF095 (GPS OMEGA_0) = 0.23730699252337217
DF099 (GPS omega) = 0.315432685893029
DF088 (GPS M0) = 0.5653691641055048
DF092 (GPS sqrt A) =<PHONE_NUMBER>4833984
DF096 (GPS Cis) = -3.166496753692627e-07
DF100 (GPS OMEGA_DOT) = 1.125490598496981e-07

SEMU Admin @.***>, 11 Mar 2024 Pzt, 00:07 tarihinde
şunu yazdı:

HI @EgehanYaglici https://github.com/EgehanYaglici
I'm unclear which specific pyrtcm data field(s) you believe to be
incorrect and why.
Can you share your complete code script please, and clarify what you
believe the correct output should be?
—
Reply to this email directly, view it on GitHub
https://github.com/semuconsulting/pyrtcm/issues/50#issuecomment-1987362812,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVKFN62P4MUZRXURTEZCTV3YXTDRPAVCNFSM6AAAAABEPHYN2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXGM3DEOBRGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Saygılarımla / Best Regards
Egehan Yağlıcı
Hacettepe University ( Ankara / Turkey )
Geomatics Engineering Department
E-mail: @.**
*Phone Number: *+90<PHONE_NUMBER>

@EgehanYaglici
I'm happy to assist as best I can but please appreciate that I am not myself a geomatics expert and may not be in a position to explain why your RTCM 1019 values differ from the RINEX values in this case. I have simply endeavoured to implement the RTCM payload definitions in accordance with the RTCM3 specification.

I've double checked the RTCM 1019 payload definition in pyrtcm and as far as I can see it matches the specification in the RTCM 10403.2 Standard, though it's entirely possible I may have overlooked something.
Could you please provide:

the provenance of both the RTCM and RINEX data - where has the raw data come from?
a complete copy of your Python code, or at least as much of it as is necessary to see exactly how you are invoking the pyrtcm.RTCMReader parser and handling its output.
a copy of the raw binary RTCM data that you are attempting to parse (i.e. the input to pyrtcm.RTCMReader.parse(raw)).
a complete unedited copy of the actual output from the pyrtcm.RTCMReader parser (i.e. print(parsed) where parsed is the RTCMMessage instance).

Do you have access to a copy of the RTCM 10403.2 Standard referenced above? It contains more detailed information on the format and dimensions of these data fields which may be useful for correct interpretation and comparison. Unfortunately the specification is proprietary so I'm not at liberty to post ia copy here.
Thanks

Hi,  the data source is products.igs-ip.net and mount point is the BCEP00BKG0 for getting the all navigation data from gps satellites.
In the code the  class CustomRTCMReader(RTCMReader) is the where ı use the RTCMReader.
I can't give you the binary version of 1019 data actually the whole code based on the class ı create.
Now ı will tell you the codes part and the logic maybe this way you can understand the problem part.
navigation and observation organizer save the datas with their satellite id numbers and update them.
the reason ı use the custom class rtcm is when ı began the use pyrtcm reader it gives me some CRC failed output too and ı dont want to see them so ı create this.
The code gives you the option for the choose what do you want to see (message types) and multi mouonpoint connection.
In the beginning of the code you will see a function for calculate the satellite positions. when a 1019 message arrives and save on masterdict it goes for this function and make the calculations of the satellite on ecef.
ı live a mindblow right now ,
CODE.ipynb.zip
in the base code just do this. ı add the whole code with ipynb format you can see yourself everything.

issue solve the problem is customrtcm class now  had a new problem :D

Now the new version should read the 32 satellite messages but , it reads 3 6 9 12 15 18... to 30
I can't find the reason its RTCMReader part the code.
If you can check the this code and find the problem why it behave like that ı would be appreciate. the code below here
CODE_1.ipynb.zip


Error

C:\Users\LENOVO\Desktop\vcpkg-master> .\vcpkg install pcl
Computing installation plan...
The following packages will be built and installed:

boost-algorithm[core]:x86-windows -> 1.75.0
boost-align[core]:x86-windows -> 1.75.0
boost-any[core]:x86-windows -> 1.75.0
boost-asio[core]:x86-windows -> 1.75.0#1
boost-atomic[core]:x86-windows -> 1.75.0#1
boost-bimap[core]:x86-windows -> 1.75.0
boost-build[core]:x64-windows -> 1.75.0.beta1#1
boost-chrono[core]:x86-windows -> 1.75.0#1
boost-circular-buffer[core]:x86-windows -> 1.75.0
boost-container[core]:x86-windows -> 1.75.0#1
boost-container-hash[core]:x86-windows -> 1.75.0
boost-context[core]:x86-windows -> 1.75.0#3
boost-conversion[core]:x86-windows -> 1.75.0
boost-coroutine[core]:x86-windows -> 1.75.0#1
boost-date-time[core]:x86-windows -> 1.75.0#1
boost-dynamic-bitset[core]:x86-windows -> 1.75.0
boost-endian[core]:x86-windows -> 1.75.0
boost-exception[core]:x86-windows -> 1.75.0#1
boost-filesystem[core]:x86-windows -> 1.75.0#1
boost-foreach[core]:x86-windows -> 1.75.0
boost-format[core]:x86-windows -> 1.75.0
boost-function[core]:x86-windows -> 1.75.0
boost-function-types[core]:x86-windows -> 1.75.0
boost-functional[core]:x86-windows -> 1.75.0
boost-fusion[core]:x86-windows -> 1.75.0
boost-graph[core]:x86-windows -> 1.75.0#1
boost-integer[core]:x86-windows -> 1.75.0
boost-interprocess[core]:x86-windows -> 1.75.0
boost-intrusive[core]:x86-windows -> 1.75.0
boost-io[core]:x86-windows -> 1.75.0
boost-iostreams[core]:x86-windows -> 1.75.0#1
boost-iterator[core]:x86-windows -> 1.75.0
boost-lambda[core]:x86-windows -> 1.75.0
boost-lexical-cast[core]:x86-windows -> 1.75.0
boost-math[core]:x86-windows -> 1.75.0#1
boost-modular-build-helper[core]:x64-windows -> 1.75.0#8
boost-move[core]:x86-windows -> 1.75.0
boost-mp11[core]:x86-windows -> 1.75.0
boost-mpl[core]:x86-windows -> 1.75.0
boost-multi-array[core]:x86-windows -> 1.75.0
boost-multi-index[core]:x86-windows -> 1.75.0
boost-multiprecision[core]:x86-windows -> 1.75.0
boost-numeric-conversion[core]:x86-windows -> 1.75.0
boost-optional[core]:x86-windows -> 1.75.0
boost-parameter[core]:x86-windows -> 1.75.0
boost-phoenix[core]:x86-windows -> 1.75.0
boost-pool[core]:x86-windows -> 1.75.0
boost-predef[core]:x86-windows -> 1.75.0
boost-property-map[core]:x86-windows -> 1.75.0
boost-property-tree[core]:x86-windows -> 1.75.0
boost-proto[core]:x86-windows -> 1.75.0
boost-ptr-container[core]:x86-windows -> 1.75.0
boost-random[core]:x86-windows -> 1.75.0#1
boost-range[core]:x86-windows -> 1.75.0
boost-ratio[core]:x86-windows -> 1.75.0
boost-rational[core]:x86-windows -> 1.75.0
boost-regex[core]:x86-windows -> 1.75.0#2
boost-serialization[core]:x86-windows -> 1.75.0#1
boost-signals2[core]:x86-windows -> 1.75.0
boost-smart-ptr[core]:x86-windows -> 1.75.0
boost-sort[core]:x86-windows -> 1.75.0
boost-spirit[core]:x86-windows -> 1.75.0
boost-system[core]:x86-windows -> 1.75.0#1
boost-test[core]:x86-windows -> 1.75.0#1
boost-thread[core]:x86-windows -> 1.75.0#1
boost-tokenizer[core]:x86-windows -> 1.75.0
boost-tti[core]:x86-windows -> 1.75.0
boost-tuple[core]:x86-windows -> 1.75.0
boost-type-index[core]:x86-windows -> 1.75.0
boost-typeof[core]:x86-windows -> 1.75.0
boost-unordered[core]:x86-windows -> 1.75.0
boost-utility[core]:x86-windows -> 1.75.0
boost-uuid[core]:x86-windows -> 1.75.0
boost-variant[core]:x86-windows -> 1.75.0
boost-winapi[core]:x86-windows -> 1.75.0
boost-xpressive[core]:x86-windows -> 1.75.0
bzip2[core]:x86-windows -> 1.0.8#1
eigen3[core]:x86-windows -> 3.3.9
flann[core]:x86-windows -> 2019-04-07#1
liblzma[core]:x86-windows -> 5.2.5#2
libpng[core]:x86-windows -> 1.6.37#14
lz4[core]:x86-windows -> 1.9.3
openssl[core]:x86-windows -> 1.1.1j
pcl[core]:x86-windows -> 1.11.1#2
qhull[core]:x86-windows -> 8.0.2
xxhash[core]:x86-windows -> 0.8.0#1
zlib[core]:x86-windows -> 1.2.11#9
zstd[core]:x86-windows -> 1.4.9
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
Detecting compiler hash for triplet x86-windows...

-- Using cached C:/Users/LENOVO/Desktop/vcpkg-master/downloads/boostorg-build-boost-1.75.0.beta1.tar.gz
-- Cleaning sources at C:/Users/LENOVO/Desktop/vcpkg-master/buildtrees/boost-build/src/75.0.beta1-4371cdd5cf.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/LENOVO/Desktop/vcpkg-master/downloads/boostorg-build-boost-1.75.0.beta1.tar.gz
-- Applying patch fix_options.patch
-- Using source at C:/Users/LENOVO/Desktop/vcpkg-master/buildtrees/boost-build/src/75.0.beta1-4371cdd5cf.clean
-- Using cached C:/Users/LENOVO/Desktop/vcpkg-master/downloads/boost_LICENSE_1_0.txt
-- Using cached C:/Users/LENOVO/Desktop/vcpkg-master/downloads/boost-1.75.0.beta1-boostcpp.jam
-- Installing: C:/Users/LENOVO/Desktop/vcpkg-master/packages/boost-build_x64-windows/share/boost-build/copyright
-- Installing: C:/Users/LENOVO/Desktop/vcpkg-master/packages/boost-build_x64-windows/tools/boost-build/boostcpp.jam
-- Bootstrapping...
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:105 (message):
Command failed: C:/Users/LENOVO/Desktop/vcpkg-master/packages/boost-build_x64-windows/tools/boost-build/bootstrap.bat msvc
Working Directory: C:/Users/LENOVO/Desktop/vcpkg-master/packages/boost-build_x64-windows/tools/boost-build
Error code: 1
See logs for more information:
C:\Users\LENOVO\Desktop\vcpkg-master\buildtrees\boost-build\bootstrap-x64-windows-out.log
C:\Users\LENOVO\Desktop\vcpkg-master\buildtrees\boost-build\bootstrap-x64-windows-err.log

Call Stack (most recent call first):
ports/boost-build/portfile.cmake:58 (vcpkg_execute_required_process)
scripts/ports.cmake:142 (include)
Error: Building package boost-build:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: boost-build:x64-windows
Vcpkg version: 2021-01-13-d67989bce1043b98092ac45996a8230a059a2d7e
Additionally, attach any relevant sections from the log files above.

Maybe #13348 solves this

It doesn't work
autoantwort @.***>, 15 Nis 2021 Per, 15:22 tarihinde
şunu yazdı:

Maybe #13348 https://github.com/microsoft/vcpkg/issues/13348 solves this
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vcpkg/issues/17304#issuecomment-820380315,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQWRWOL33JAMMOGIHXMZUPLTI3LBBANCNFSM427KYWMQ
.

See logs for more information:
C:\Users\LENOVO\Desktop\vcpkg-master\buildtrees\boost-build\bootstrap-x64-windows-out.log
C:\Users\LENOVO\Desktop\vcpkg-master\buildtrees\boost-build\bootstrap-x64-windows-err.log

What should i do next?
autoantwort @.***>, 15 Nis 2021 Per, 16:29 tarihinde
şunu yazdı:

See logs for more information:
C:\Users\LENOVO\Desktop\vcpkg-master\buildtrees\boost-build\bootstrap-x64-windows-out.log
C:\Users\LENOVO\Desktop\vcpkg-master\buildtrees\boost-build\bootstrap-x64-windows-err.log
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vcpkg/issues/17304#issuecomment-820423008,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQWRWOMHUE2CS3BAOOEV26DTI3S5HANCNFSM427KYWMQ
.

@Erva-Naz ,please provide the log files
C:\Users\LENOVO\Desktop\vcpkg-master\buildtrees\boost-build\bootstrap-x64-windows-out.log
C:\Users\LENOVO\Desktop\vcpkg-master\buildtrees\boost-build\bootstrap-x64-windows-err.log

@Erva-Naz ,please provide the log files

@Erva-Naz, please reopen this issue and provide us failure logs if it still be a problem for you.


Nameerror: trainer is nit defeined

🐛 Describe the bug

Versions
I have followed all the steps correctly, but it still shows me this error message!

Hello, could you please share the source of this example?
It looks like trainer was not initialized (missing trainer = Trainer(...))

I am working on this example for a private project, so the Trainer is already present.

To call train(...) you need to hold an instance of Trainer.
For example:
...
trainer = Trainer(experiment_name=cfg.experiment_name,
                      ckpt_root_dir=get_param(cfg, 'ckpt_root_dir', default_val=None))
...
trainer.train(
        model=model,
        train_loader=train_dataloader,
        valid_loader=val_dataloader,
        training_params=training_hyperparams,
    )
...


Add a note about headless and init

I spent some time trying to run an init file in headless mode and I just
discover that this feature is not implemented yet.
So I think it is reasonable to add this note to make it more clear for
other people that are trying to do the same.
In second, I would like to have this feature even in headless mode so, I
will open an issue to track it down.
Signed-off-by: Gianluca Arbezzano<EMAIL_ADDRESS>

An issue about this feature already exists, sort-of: https://github.com/derekparker/delve/issues/952

refreshed


Composing stateful and parallelizable transducers

@tkf wrote

Unfortunately, stateful transdcuers like Unique cannot be used after parallelizable transdcuer like ReducePartitonBy. It’s kind of a cost of parallelizability. There can be a better design to allow this but it’s a bit tricky to do ATM.

I think it would be useful to be able to compose these transducers, so I'm requesting that feature here.

I run examples/meanvar.jl  in foldxt , have error:
ERROR: LoadError: Stateful transducer MeanVar() does not support combine
I have some Custom op to combine, but Stateful op not support combine.
I think it would be useful to be able to compose these transducers, I'm requesting that feature too.

I think it would be useful to be able to compose these transducers, so I'm requesting that feature here.


component_min and component_max

I had to write my own min and max functions that take in two &Vector3 and compute a new vector containing the minimum components of the two vectors (and the max for the max function). Is there something like this already in nalgebra? max/min and partial_max/partial_min did not seem to do what I want. If this is something that would be beneficial to the library I would be happy to add it.

Hi! There are currently two ways of doing this in nalgebra:

Using zip_map, i.e., vector1.zip_map(&vector2, |a, b| a.min(b))
nalgebra::inf(&a, &b) for componentwise min or nalgebra::sup(&a, &b) for componentwise max. The inf and sup operations are what is called the supremum and the infimum.

I agree it wouldn't hurt to have component_min and component_max too for clarity (in the base/componentwise.rs file).

Thanks! I'll get on it.


Speedup docs build

Drop 3.7 on ubuntu (we are already building with 3.7 on window)
Drop 3.8 (we both test with 3.7 and 3.9 so this is very unlikely to break)

bors merge

bors merge

Bors merge


Setting enabled: false not working

Summary
One of the properties of a KongPlugin is its enabled state (true/false). However, this setting isn't followed. It's always the default (true).
Kong Ingress controller version
1.0.0
Kong or Kong Enterprise version
<IP_ADDRESS>
Kubernetes version
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.2", GitCommit:"f5743093fd1c663cb0cbc89748f730662345d44d", GitTreeState:"clean", BuildDate:"2020-09-16T21:51:49Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"17+", GitVersion:"v1.17.9-eks-4c6976", GitCommit:"4c6976793196d70bc5cd29d56ce5440c9473648e", GitTreeState:"clean", BuildDate:"2020-07-17T18:46:04Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Environment

Cloud provider or hardware configuration: EKS
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools: Helm
Others:

What happened
I've an otherwise working EKS deployment. When I define new plugin definitions and apply them to the Ingress, they show up.
However, I need to validate quickly behavior with the plugin enabled and disabled. This doesn't seem possible with KIC.
Expected behavior
Setting enabled: false should work
Steps To Reproduce

Add a plugin, configure it, setting enabled: false
kubectl apply -f <config.yaml>
Look at it in your Kong Manager
Notice that the plugin is still enabled

See https://github.com/Kong/kubernetes-ingress-controller/blob/main/docs/references/custom-resources.md#kongplugin
Unsure of the history behind why we chose a different name, but the setting should be disabled: true.
That inconsistency is admittedly confusing, and we should consider aligning terminology with the proxy in a future version of the CRD--breaking change however, so unfortunately not something we can handle easily.


Rename rpi3 64bits

Rename rpi3 64 bit device to Raspberry Pi 3 (using 64bit OS)

Fixed by https://github.com/balena-os/balena-raspberrypi/pull/324


Update gRIBI and gNMI ports to official numbers for lemming

per https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=gnmi
What else is missing to get the ports automatically to be these numbers when testing lemming? @DanG100

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

7 of 7 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.009%) to 61.27%

Totals

Change from base Build<PHONE_NUMBER>:
0.009%

Covered Lines:
2702

Relevant Lines:
4410

💛  - Coveralls

per https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=gnmi
What else is missing to get the ports automatically to be these numbers when testing lemming? @DanG100

As of recently, Ondatra use kne as library, so you may be need to go mod replace kne with your local changes.

@alexmasi Could you merge it please? I don't have write permission.


Escapes link url string to avoid nil of NSURL

Sorry for lately update about issue detail.
My dynamic links is
https://kkboxkids.page.link/?link=https://itunes.apple.com/tw/app/kkbox-kids-%25E8%25A6%25AA%25E5%25AD%2590%25E4%25BA%25AB%25E6%25A8%2582%25E6%2599%2582%25E5%2585%2589%252D%25E8%2588%2587%25E5%25AF%25B6%25E8%25B2%259D%25E4%25B8%2580%25E8%25B5%25B7%25E6%2588%2590%25E9%2595%25B7/id1459755337&apn=com.kkbox.kids&isi=1459755337&ibi=com.kkbox.kids&utm_campaign=aug_kol&utm_source=column
when SDK start parsing url by FIRDLDictionaryFromQuery, the output will transforms link query parameter into NSString https://itunes.apple.com/tw/app/kkbox-kids-親子享樂時光-與寶貝一起成長/id1459755337
Use this url string to instantiation NSUrl will get nil result.

@showang Thanks for the PR. We'll investigate. In the meantime, would you run the script at https://github.com/firebase/firebase-ios-sdk/blob/master/scripts/style.sh to fix the long line.

Thanks for notice.
Long line problem was fixed.

The 4-space indent should be fix in the last force-push update.
I can't run style.sh because My maxOS is 10.15 Beta, some brew package can't be install successfully.

Done.

Done, sorry for bother you many times!

Thanks, now that the unit tests ran, they show a resulting failure. See https://travis-ci.org/firebase/firebase-ios-sdk/jobs/578151725:

    - NOTE  | [iOS] xcodebuild:  /Users/travis/build/firebase/firebase-ios-sdk/Example/DynamicLinks/Tests/FIRDynamicLinksTest.m:565: error: -[FIRDynamicLinksTest testDynamicLinkFromUniversalLinkURLWithEncodedCharacters] : ((kDecodedComplicatedURLString) equal to (deepLinkURLString)) failed: ("https://www.google.com%2Fmaps/place/Tokyo+American+Club/@35.658578,139.741588,3a,75y,90t/data=!3m8!1e2!3m6!1s4266698!2e1!3e10!6s%2F%2Fstorage.googleapis.com%2Fstatic.panoramio.com%2Fphotos%2Fmedium%2F4266698.jpg!7i640!8i480!4m2!3m1!1s0x0000000000000000:0x1b8b8130c79148e1!6m1!1e1") is not equal to ("https://www.google.com%252Fmaps/place/Tokyo+American+Club/@35.658578,139.741588,3a,75y,90t/data=!3m8!1e2!3m6!1s4266698!2e1!3e10!6s%252F%252Fstorage.googleapis.com%252Fstatic.panoramio.com%252Fphotos%252Fmedium%252F4266698.jpg!7i640!8i480!4m2!3m1!1s0x0000000000000000:0x1b8b8130c79148e1!6m1!1e1") - ddl url parameter and deep link url should be the same
    - NOTE  | [iOS] xcodebuild:  /Users/travis/build/firebase/firebase-ios-sdk/Example/DynamicLinks/Tests/FIRDynamicLinksTest.m:549: error: -[FIRDynamicLinksTest testDynamicLinkFromUniversalLinkURLWithSpecialCharacters] : ((kDecodedComplicatedURLString) equal to (deepLinkURLString)) failed: ("https://www.google.com%2Fmaps/place/Tokyo+American+Club/@35.658578,139.741588,3a,75y,90t/data=!3m8!1e2!3m6!1s4266698!2e1!3e10!6s%2F%2Fstorage.googleapis.com%2Fstatic.panoramio.com%2Fphotos%2Fmedium%2F4266698.jpg!7i640!8i480!4m2!3m1!1s0x0000000000000000:0x1b8b8130c79148e1!6m1!1e1") is not equal to ("https://www.google.com%252Fmaps/place/Tokyo+American+Club/@35.658578,139.741588,3a,75y,90t/data=!3m8!1e2!3m6!1s4266698!2e1!3e10!6s%252F%252Fstorage.googleapis.com%252Fstatic.panoramio.com%252Fphotos%252Fmedium%252F4266698.jpg!7i640!8i480!4m2!3m1!1s0x0000000000000000:0x1b8b8130c79148e1!6m1!1e1") - ddl url parameter and deep link url should be the same
    - NOTE  | [iOS] xcodebuild:  /Users/travis/build/firebase/firebase-ios-sdk/Example/DynamicLinks/Tests/FIRDynamicLinksTest.m:986: error: -[FIRDynamicLinksTest testHandleUniversalLinkWithLongLink] : ((expectedResolvedLink) equal to (dynamicLink.url)) failed: ("https://www.google.com%2Fmaps/place/Tokyo+American+Club/@35.658578,139.741588,3a,75y,90t/data=!3m8!1e2!3m6!1s4266698!2e1!3e10!6s%2F%2Fstorage.googleapis.com%2Fstatic.panoramio.com%2Fphotos%2Fmedium%2F4266698.jpg!7i640!8i480!4m2!3m1!1s0x0000000000000000:0x1b8b8130c79148e1!6m1!1e1") is not equal to ("https://www.google.com%252Fmaps/place/Tokyo+American+Club/@35.658578,139.741588,3a,75y,90t/data=!3m8!1e2!3m6!1s4266698!2e1!3e10!6s%252F%252Fstorage.googleapis.com%252Fstatic.panoramio.com%252Fphotos%252Fmedium%252F4266698.jpg!7i640!8i480!4m2!3m1!1s0x0000000000000000:0x1b8b8130c79148e1!6m1!1e1") - Resolve short link returned unexpected link

Sorry, i find out why this problem will happened.
The input link have to double escape url link.
I'm so sorry about bother you.


UofT-DSI | Sampling - Assignment 1

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

I am attempting to modify the code in whitby_covid_tracing.py to improve its reproducibility. This involves setting a seed for random number generation, or, saving results to ensure consistent output across multiple runs.

What did you learn from the changes you have made?

From setting a seed or saving results, I learned that these adjustments are important for achieving reproducibility in simulations. This ensures that the random sampling and subsequent analyses produce consistent results each time the script is run.

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

Alternative approaches could include using a different random number generator.

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

The main challenge was the lack of initial seed setting, leading to varying results between runs. This was resolved by implementing a seed for random number generation or saving results to ensure consistency in the generated plots.

How were these changes tested?

Changes were tested by running the modified script multiple times with the same seed and checking if the outputted plots remained consistent across runs. Additionally, saving results to disk and loading them for subsequent runs helped verify reproducibility.

A reference to a related issue in your repository (if applicable)

N/A

Checklist

[x] I can confirm that my changes are working as intended

A1: PASS

Thanks Amanda.


Upgrade urllib3 to 1.26.12 due to critical CVEs

What changes were proposed in this pull request?
Upgrade urllib3 to 1.26.12 due to critical CVEs
CVE-2018-20060
CVE-2019-11236
CVE-2019-11324
CVE-2020-26137
CVE-2021-33503
How was this patch tested?
performed manual tests. Hue comes up and works fine.
Please review Hue Contributing Guide before opening a pull request.

urllib3 package might have a dependency on cryptography package.

Was this package tested E2E on a Py2 cluster since we are changing it in ext-py directory?

urllib3 package might have a dependency on cryptography package. @ranade1 @wing2fly @amitsrivastava - Will changing this package to latest version have any effect on the existing cryptography package changes in Py2 Hue?

Upgrading cryptography on IBM PPC is a problem. Which version of cryptography package does it need?

Yes, I have tested it on a secure cluster. (The cluster was created from the gbn generated with this change).
Both the older version urllib3-1.25.8 and the new version urllib3-1.26.12 have the same requirement for a cryptography package. The cryptography version should be greater than 1.3.4.

Both Urllib3 versions 1.26.12 and 1.25.8 require "cryptography>=1.3.4". There is no dependency version change of the cryptography package in Urllib3 1.26.12.
Tested the basic hue functionalities on the IBM-PPC platform as well and it works fine.


Deeplab V3+ MobileNetV2 training error

when use downloaded MobileNet v2,
got flops and params error: Given groups=1, weight of size 182 728 3 3, expected input[1, 96, 64, 128] to have 728 channels, but got 96 channels instead
and then in mobilenet.py line 134, in forward: x = self.conv1(x),
got UnboundLocalError: local variable 'total_ops' referenced before assignment
Other models such as use xception65 as backbone are doing fine

I can not reproduce your error by using configs/cityscapes_deeplabv3_plus_mobilenet.yaml

Hello Sir,
I tested your code using my datasets (image resolution : 256).
I was succeed deeplabv3_plus based on mobilenet_v2.
but I was failed deeplabv3_plus based on hrnet_w18_small_v1.
What can I do check file this problems??
Thanks.

I meet the same problem, this is due the process:
https://github.com/LikeLy-Journey/SegmenTron/blob/master/tools/train.py
if get_rank() == 0:
    try:
        show_flops_params(self.model, args.device)
    except Exception as e:
        logging.warning('get flops and params error: {}'.format(e))

function show_flops_params add some hooks which lead to the error.
Just comment it out.


Improve readability

Improve readability. Resolves #137. Resolves #134. Resolves #133.
Improve readability for:

[x] check.py
[x] chgrp.py
[x] create.py
[x] extract.py
[x] hpss.py
[x] hpss_utils.py
[x] ls.py
[x] main.py
[x] parallel.py
[x] settings.py
[x] update.py
[x] utils.py

Also:

[x] Check output of git grep -in FIXME for remaining problems
[x] Check output of git grep -in TODO for remaining problems
[x] Check output of git grep -n Exception for overly general exceptions
[x] Address comments on #136.

@tomvothecoder This is ready for review. It passes all 46 tests on Cori in ~325 seconds (5m 25s).
Notes:
$ git grep -in FIXME
extract.py:270:        # FIXME: error: Cannot infer type argument 1 of "heappush"
extract.py:315:# FIXME: C901 'extractFiles' is too complex (33)
hpss_utils.py:119:    # FIXME: error: "TarFile" has no attribute "offset"
hpss_utils.py:158:                # FIXME: error: "TarFile" has no attribute "offset"

The first line we decided on #136 to just keep # type: ignore. The complexity error will be addressed in #139 -- it was getting a bit unwieldy to do as part of this PR. I don't know why the two "offset" errors are occurring.
$ git grep -in TODO
create.py:73:    # TODO: Verify that cache is empty
parallel.py:53:        # TODO: worker has type `ExtractWorker`
parallel.py:83:        # TODO: worker has type `ExtractWorker`
parallel.py:120:        # TODO: failure_queue has type `multiprocessing.Queue[FilesRow]`

The first line was a todo before this PR but wasn't marked as such. The other three lines won't let me specify the type without causing an error.
$ git grep -n Exception
extract.py:479:        except Exception:
hpss_utils.py:71:        except Exception:
parallel.py:11:class NotYourTurnError(Exception):
utils.py:55:        raise Exception(error_str)

The first two lines really should catch all exceptions. The third line is forming a subclass. The last line is raising an exception because running a shell command failed -- I wasn't really sure what Error type would apply as it could be a number of things.
Re: code review comments on #136:

Removing the config.maxsize blocks from extract.py and update.py cause tests to fail, so I kept them in.
I kept the tar.fileobj block as it was because I like having a typed variable defined.


no need to pass client where buffer context is known

Some request like update-semantic-highlighting, rust-analyzer/inlayHints and textDocument/semanticTokens/full produce eval -buffer ... command which gets concatenated with eval -client ... so end result is recursive eval command, like for example:
eval -client client0 -verbatim -- eval -buffer '/Users/vbauer/projects/tmp/inlay-test/src/main.rs' -verbatim -- set buffer rust_analyzer_inlay_hints 1 '2.15+0|{InlayHint}{\}: String', module: kak_lsp::editor_transport:84

Having commands like eval -client ... eval -buffer .. is redundant despite it works. I think client information is not necessary as long as there is known buffer in context.
So removing client parameter from aforementioned requests will produce single eval command which works as before, but avoids recursion:
eval -buffer '/Users/vbauer/projects/tmp/inlay-test/src/main.rs' -verbatim -- set buffer rust_analyzer_inlay_hints 1 '2.15+0|{InlayHint}{\}: String', module: kak_lsp::editor_transport:84

I think the "textDocument/didChange" request also doesn't need the client because text_document_did_change does not use it.
Should we only pass the client when it is needed? Seems cleaner.


Tags are being encoded twice

It looks like the tags are being encoded twice, because tags like -rating:explicit should be -rating%3Aexplicit. Instead the tag used in the URL looks like this -rating%253Aexplicit which implies that the % symbol is being encoded which is in fact %25.
I believe this happens, because the function that's supposed to construct the query string is encoding the already encoded tags again, but I didn't have the time to confirm this yet.

ah damn, that's what I get for not writing a querystring function the first time around
fixed in<EMAIL_ADDRESS>


question about ssl training

I found in trainer_sessd.py, line334-339, you comment the unlabeled data, Have you try to add the unlabeled data to your training process to finish the semi-supervised training? How's the effect of SSL？

@JayYangSS I tried it but the results were not better....I guess it needs more work to attain further improvement.

I try the SSL training, it seems that the unlabel data does not contribute the performance gain. I think pseudo filter need to be designed for a further improvement


Tan11389/style wms layers update

Bug: Zoom out slowly until you see a "stretchy WMS layer"
Resolution:

Update sample to set a MinScale of 7,000,000 - avoids zooming to polar regions
Update sample to use SR 26915
Update sample to use no basemap

Added a change to the title of the C++ sample. QML and other APIs (QML, Java, Android) refer to this sample as "Style WMS layer", but C++ and .NET refer to it as "Style WMS layers".
With the difference between the two, we can't use the nifty C++/QML code switcher in the samples docs. We should update one of them for consistency.


Fix regress line failures

These two tests will print the line no of functions in regress test. But it will get different results in Linux and Kylin.
So just remove the line no output in tests.

Change logs
These two tests will print the line no of functions in regress test. But it will get different results in Linux and Kylin.
So just remove the line no output in tests.
Why are the changes needed?
Describe why the changes are necessary.
Does this PR introduce any user-facing change?
If yes, please clarify the previous behavior and the change this PR proposes.
How was this patch tested?
Please detail how the changes were tested, including manual tests and any relevant unit or integration tests.
Contributor's Checklist
Here are some reminders and checklists before/when submitting your pull request, please check them:

[ ] Make sure your Pull Request has a clear title and commit message. You can take git-commit template as a reference.
[ ] Sign the Contributor License Agreement as prompted for your first-time contribution.
[ ] List your communication in the GitHub Issues or Discussions (if has or needed).
[ ] Document changes.
[ ] Add tests for the change
[ ] Pass make installcheck
[ ] Pass make -C src/test installcheck-cbdb-parallel
[ ] Feel free to @cloudberrydb/dev team for review and approval when your PR is ready🥳

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.roseduan seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

The commit message are repeated, please simplify it.
These two tests will print the line no of functions in regress test.
But it will get different results in Linux and Kylin.

So just remove the line no output in tests.

Fix Task&exttable regress failures
These two tests will print the line no of functions in regress test.
But it may get different results in different OS like CentOS and Kylin.

So just remove the line no output in tests.

After merge it, I can rebase master to pass the related tests since I'm going to revert my fix.

The commit message seems a little problem, I will create a new PR for this.


Updated README.md to indicate state of project

Updated the README.md file to represented the sad reality of this once amazing entirely free API. Thank you for everything.

Really?


[nit] remove an useless line

Sorry, I left the useless line in #8...

Oops, I've just released 0.0.4 yesterday 😱

sorryy :bow: :sweat_drops:


Question about HyperDecoder Architecture

*Joint Autoregressive and Hierarchical Priors for Learned Image Compression
I just noticed that HyperDecoder (h_s) of JointAutoregressiveHierarchicalPriors is different from the paper.
self.h_s = nn.Sequential(
            deconv(N, M, stride=2, kernel_size=5),
            nn.LeakyReLU(inplace=True),
            deconv(M, M * 3 // 2, stride=2, kernel_size=5),
            nn.LeakyReLU(inplace=True),
            **conv(M * 3 // 2, M * 2, stride=1, kernel_size=3)**
        )

Is there a reason for this? Am I something missing?

Sorry, but which difference exactly are you referring to?

The HyperDecoder is consisted of 3 deconv layer, but h_s in code is consisted of 2 deconv layer and 1 conv layer.

but the last stride is 1, so the difference should not have any impact on performances.

I thought it might be a mistake. :)  Thank you for the reply.


Coreference Resolution custom training model

Hi NeuroSYS,
Congratulations on the great work with Coreference Resolution model.
Unfortunately, I do not have Ontonotes dataset and am using my .txt file. I am unable to find any useful link to convert .txt file into conll 2012 format. I tried using conll u format for training but did not succeed. It would be great if you can answer the following questions:
1.) Which tool can be used to annotate the text to match the coreferences
2.) Can your packages handle custom training
Looking forward to your response.
Thanks and Regards
Marur Srikanta

Hi Marur!
Thanks for checking out our Github.
Answering your first question, we used the complete datasets and didn't annotate them by ourselves. However, you can check Prodigy (it's a paid solution). The rel.manual strategy (https://prodi.gy/docs/recipes#rel-manual) could be especially useful in matching the coreferences.
Regarding custom training, the presented strategies operate on already trained models. But, you can use any model you want by replacing the declaration in utils.load_models(). So, I'd recommend checking the AllenNLP and Huggingface's NeuralCoref documentation to perform custom training.


The configured proxy backend is not supported

First of all I just found this repo and I think it's a very cool project.

I'm trying to access the admin ui on localhost.
The configuration that I m using is this one https://github.com/zankhq/astro-starter/tree/chore/sveltia/public/admin
Probably is just me not reading the full documentation but do you have an idea of what I am doing wrong?
I get the error with both local_backend property set or not

Thanks for checking out Sveltia CMS! I think it’s a simple bug in Sveltia. WIll take a look now.

@kyoshino thanks if you need help to debug or test I have the repo open I can try help you

The fix deployed! Please reload the app and try again.

Awesome it worked thanks, you should add a donation button

Thanks for your confirmation! I’ve just added a sponsor link (again) to the repo 😆

Thank you 🙏🏼 🙏🏼 🙏🏼

@zanhk Great repo! Is Astro working well with SveltiaCMS and content in markdown, especially with images? It seems that your images are optimized by Astro right? But they don't have a relative path in your markdown but still working?

@eur2 thanks, was about to open an issue about that, it works great with decap cms but seem there is a problem here where the image get prepended by a "/", I've created this issue https://github.com/sveltia/sveltia-cms/issues/72

@zanhk Good to know because with netlify-cms, the image wasn't using relative path in markdown. So Astro couldn't optimize them.


[BugFix] Throw error only for non-empty function definitions.

During Function Serialization and Deserialization with Saved Models there can be Node ops with type func with default values that have no associated name. In such cases, we shouldn't look for undefined empty strings in Function Library. This is a trivial change and helps with how Saved Models are loaded.

@reedwm what do you think ?

Thanks for the PR! Quick question,

there can be Node ops with type func with default values that have no associated name.

When does this happen?

@k-w-w we tried to register an OP that can define or not an optional func.

I see, can you add this as a comment in the code? (# Custom ops may contain a func attr with an empty fname)


About FAQ: Windows Defender marking the addon as virus

Isn't there a way that defender to stop marking it as virus? The thing it keeps deleting my file over and over each time. I want to keep defender active while preventing it to mark this as virus since it's not.

Open Windows Security > Virus and threat protection > Manage settings > Add or remove exclusions > Add a process "autoortho_win.exe" should work. This removed a lot of CPU overhead from MsMpEng.exe as well for me.


Edit context of a scratch

I'm not certain if this problem is relevant to a scratch that the user has made, however, at least when editing other users' scratches, if you modify the context, once you begin editing the source, the editor resets all changes, restoring the original context and source. I tested and can replicate this on Chromium 95.0.4638.69 and Edge 95.0.1020.40.

Hi - yes, this is a known issue with the site and affects the compiler options / other fields as well, not just the context unfortunately. We're working on a fix, but we're short-staffed, so tp speak, so it may take some time. I'll leave this issue open to track the bug.

Fixed in #199 ! We'll re-open if we find this again :)


Update Stable to v2.21.0 on staging

Description

v2.21.0 was released on 09/11/2020
update stable on integtration (for dev.cncf.ci)
passed manual pipeline build on dev.cncf.ci: https://gitlab.dev.cncf.ci/prometheus/prometheus/pipelines/50093

Issues:
https://github.com/vulk/cncf_ci/issues/71
How has this been tested:

[ ]  Covered by existing integration testing
[ ]  Added integration testing to cover
[x] Manual pipeline build test on dev.cncf.ci
[ ]  Tested with trigger client against

[ ]  cidev.cncf.ci
[ ]  dev.cncf.ci
[ ]  staging.cncf.ci
[ ]  cncf.ci (production)

[ ]  Browser tested on staging.cncf.ci
[x]  Have not tested

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 not work as expected)
[x] Version update

Checklist:

[ ]  My change requires a change to the documentation
[ ]  I have updated the documentation accordingly
[x]  No updates required

Confirmed, I see v2.21.0 on dev.cncf.ci as expected, merging PR


File sync status overlay icons (woah.. mouthful!)

I'd love to see this feature in
It would pretty identical with how Dropbox does it with overlay icons on files which are synced, to be synced etc
How it would look like:

https://msdn.microsoft.com/en-us/library/windows/desktop/ff521690(v=vs.85).aspx
Thoughts @canton7 ?

I was thinking about this the other day. Remember that I can't tell when a file's been uploaded to the cloud (or is being uploaded). I can only tell when a file is being downloaded (currently shown in the tray), or is about to be downloaded (and there's typically only a couple of seconds between this state and the "currently downloading" state).
Also, shell icons take at least a few seconds to update anyway....
So all we would really be able to provide would be some out-of-date information on what's currently downloading :stuck_out_tongue: Does that still sound useful?

Well yeah sorta, whenever I browse my files it feels better if an icon tells me its synced/to be synced/failed :smile:
Perhaps an upstream patch is necessary? (to tell if an file is synced/to be synced/failure) @calmh @AudriusButkevicius

This has come up a few times, and "Synced with the cloud" is a very woolly term: synced with just one device? All devices? All online devices? Any decision is going to mislead someone.

In my mind (seen from the local client) icons would only change whenever the local client is out of sync with the rest of the connected devices/cloud (on a per file basis). Anyhow this information should be available in (and from) Syncthing since it needs to consider it when syncing with connected clients
So IMO you would only need to consider the local file state (is it up-to-date, and if not then its syncing or has failed)
IDK if I'm approaching this the wrong way?

Again, it's this definition of "the rest of the connected devices/cloud" that's woolly. Is that a single other device? All connected devices? All other devices, whether connected or not?

With Dropbox it's easy, since there's only one other device: the Dropbox server. For us it's a log more hazy...

IDK if it's really a problem, since Syncthing needs to keep track of if an file is up to date or not. SyncTrayzor could just inherit that, no? (the information would need to be available from Syncthing)
Anyway it would need to consider all connected devices, as we can't get the state from an offline device :smile:

Syncthing keeps track of whether its local files are up-to-date with the "global" state. It does not keep track of whether the global state is up-to-date with its local files. That is, it only cares that it has the latest version of a file: it doesn't care whether anything else has the latest version of a local file.

Yeah but thats pretty much what need need is it not?
Syncthing keeps track of whether its local files are up-to-date with the "global" state == green checkmark icon
Syncthing keeps track of whether its local files are up-to-date with the "global" state != blue "sync" icon
And obviously a third state for failure

I think you're missing my point still:
If we modify a file locally, we do not know whether anyone else has acquired that file. That is not tracked. We have no way of knowing whether a modification made to a local file as been acquired by anyone else.

Ah right, sorry. Now I get what you mean, slow thinking today :smile_cat:
But perhaps an feature request is in order then? @ syncthing
I'm willing to submit it if you agreed

I've discussed it with Jakob and Audrius before. In essence it's a pretty large change, and a shift in the current model. You can ask again by all means, but don't stack your hopes on it for the short or medium term :smile:

Thats to bad, it's a nice little feature to have as it gives "instant" feedback on a files state makes it quite handy
Anyhow, if you already tried then I obviously wont waste anymore of your (or thires) time on this subject
Thanks for takeing your time tho :-)

Yeah, it's a pain, but I can understand why it is the way it is.
SyncTrayzor rotates its tray icon when data is being transferred, and that's really the best I can do.

I'm sorry for bumping in, but - aren't we able to know when a file is being uploaded? I haven't delved into how i's implemented, but at some point the data has it be uploaded, or not?
I understand that it may be impossible to know if someone else has a completely up-to-date copy of our file, but don't we know whether we have at least communicated all the data to the 'web'?
Thank you for a very nice program. I'm in the process of setting up a syncthing-based solution again, after having been held back by an unusable internet connection.

At least it would be great if the synced folder had an overlay icon, maybe:

orange: there are no other nodes connected
blue: data is being transferred to all connected nodes
half green / half blue: at least one connected node is idle and at least another is exchanging data
green: all other connected nodes are idle for this folder

I think this would be useful and eye-candy - just so we know there is something going on. But maybe it's too much work for little gain?

I'm sorry for bumping in, but - aren't we able to know when a file is being uploaded?

This comes up again and again: no, there's no concept of a "file being uploaded" in Syncthing. When a Syncthing device downloads a file, it will fetch bits of that file from multiple other devices, and potentially re-use bits of different files, on other devices.

I get that. I do. But don't we know when we're providing bits over the network to some other node? That's what I meant, not 'we decided to upload this file on our own'.
The UI does show other nodes and whether they're receiving data from us and/or sending it. My proposal above was to have a per sync folder colour indicator of that same data.

No. If someone requests a block with hash abc123, Syncthing doesn't report that to us, and it certainly doesn't report which file it decided to grab that block from.
Folder overlays are a lot of work, never mind the fact that they are no longer recommended, so the likelihood of this being implemented without a contribution by you, a user, is very low I'm afraid.


Feature Request: Caddy--HTTP/2 web server with automatic HTTPS

Hi,you geniuses.
I have been using Caddy for a long time.It is a great web server,easy to use and with automatic HTTPS.
So can u guys add it into plugins?
The FreeBSD port is here:
https://www.freshports.org/www/caddy/

the nginx plugin can also serve content and supports HTTPS and HTTP/2.
You should give it a try (I has many features so expect big configuration forms).

@mimugmail It seems to have a nice feature: TLS tamper (MITM) detection. The rest should be possible in nginx as well. If we really need it, I could write a C extension for it but such a feature would probably lock out enterprise users because it is quite common to intercept HTTPS for AV scanning.

@mimugmail I created a ticket in the nginx bug tracker:
https://trac.nginx.org/nginx/ticket/1690#ticket

@fichtner @mimugmail @mervynsword Should we close this one, since all features should be in the nginx and the acme.sh plugin now?

I think in haproxy is HTTP/2 now too


Numeric value in the text box changes with up & down and zoom in & out

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
In the current(older version) GUI, the concept_id (or any numeric value) increases/decreases with up and down arrow and zoom in and out using the mouse pad.
Expected Behavior
The numeric value entered should not change. Mouse pad / up down keys are used very frequently especially with copy pasting and scrolling.
Steps To Reproduce
No response
Environment
- OS:
- Other environment details:

I'm part of a Project Team
No response
Anything else?
No response
Are you willing to contribute to resolve this issue?
None

Interestingly @armando-mv was showing us this the other day - given this bit of the UI has not changed in years, I wonder if browser updates have provoked this into an issue.
So yes - this looks annoying, we are really hoping to have the new UI again very very soon, but if we have to keep the legacy UI much longer we will fix this.

@AndyRae could be, as I don't remember this happening before.

We're comfortably using the new UI now, so closing this issue.


July 8th, 2024 Community Meeting

Please add a topic in this thread and add a link to the GitHub issue associated with the topic.
Please make sure you give folks enough time to review/discuss the topic offline on GitHub before coming into the meeting
(optional) Paste the image of an animal 😸

Meeting minutes:

@karanibm6 will open a PR on the website, regarding Vulscan with Shipwright
@qu1queee showed a quick overview on the LFX Insights Dashboard


replaced MavenRepository.deployArtifact with MavenRepository.installA…

…rtifact (#449)
This fixes the current build failures.
CC @mariofusco @mswiderski

ah you beat me to that, was about to do the changes. thanks a lot @psiroky
+1 once the build completes

test failure not related to this PR, +1 to merge to fix other builds and PRs


[video_player] Crashing while trying to play network video.

Demo video working fine but custom url giving the following error:
E/ExoPlayerImplInternal(13874): Playback error
E/ExoPlayerImplInternal(13874):   com.google.android.exoplayer2.ExoPlaybackException: Source error
E/ExoPlayerImplInternal(13874):       at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:554)
E/ExoPlayerImplInternal(13874):       at android.os.Handler.dispatchMessage(Handler.java:103)
E/ExoPlayerImplInternal(13874):       at android.os.Looper.loop(Looper.java:214)
E/ExoPlayerImplInternal(13874):       at android.os.HandlerThread.run(HandlerThread.java:67)
E/ExoPlayerImplInternal(13874):   Caused by: com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 401
E/ExoPlayerImplInternal(13874):       at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:336)
E/ExoPlayerImplInternal(13874):       at com.google.android.exoplayer2.upstream.StatsDataSource.open(StatsDataSource.java:84)
E/ExoPlayerImplInternal(13874):       at com.google.android.exoplayer2.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:1013)
E/ExoPlayerImplInternal(13874):       at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:415)
E/ExoPlayerImplInternal(13874):       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/ExoPlayerImplInternal(13874):       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/ExoPlayerImplInternal(13874):       at java.lang.Thread.run(Thread.java:919)
E/flutter (13874): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: PlatformException(VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: Source error, null, null)

Any help would be greatly apperciated

Firstly I should ask questions about player in the video player repository.
Secondary You can’t download video because you need to do authorization. How you can notice server returns 401(Unauthorized)

@Lafannn official plugin issues are submitted in this repository

@Lafannn I guess this is the repository where we are supposed to post issues related to the video player since the package on pub.dev directs to this page. Also, the link for the video is working fine on a browser, not sure why I am getting 401 with the pluggin.

@pratikbaid3 ok, sorry I didn’t know that issues to official plugins now is submitting to this repository.
Can you provide link to the video?

@pratikbaid3
Main error is Unhandled Exception: PlatformException(VideoError, Video player had error com.google.android.exoplayer2.ExoPlaybackException: Source error, null, null)
Please follow-up in https://github.com/flutter/flutter/issues/75995.
Closing this as duplicate.


building from source fails

root@server:/opt/karma# make
go build -trimpath -ldflags "-X main.version=v0.93-60-g3a593203-dev -s -w" ./cmd/karma
build github.com/prymitive/karma/cmd/karma: cannot load embed: malformed module path "embed": missing dot in first path element
make: *** [make/go.mk:13: karma] Error 1
root@server:/opt/karma#

Sounds like you’re using old go version, most likely <1.16 since embed package was added in 1.16

Working now, thanks.
Was using go from Ubuntu repo in 20.04.
Had to update manually