Add per-network zksync enabling flag

For everyones information why this PR isn't merged yet:
I asked @ly0va to update relevant tutorials' full examples so that they work with the new hardhat version out of box


export and import of site/bootstrap projects

This is something I'd noticed previously but just tested thoroughly.
Firstly: Creating a new site project in version 3 export and then re-import works fine.
However an existing bootstrap project created in 2.1 or an earlier revision of v3 exports ok but doesn't re-import because it's missing targetFolder="site" in template.xml. Actaully it imports but treats the imported project as a Nottingham project rather than a site project so doesn't work.
Adding targetFolder="site" manually to the template.xml and then re-zipping and re-importing works and I guess is a workaround for some but ideally we need to check for and add targetFolder="site"  when editing or during export.
Wondering if some of the code John has used to add editor version could be re-used for this?

BTW export and import of decision templates seems to work fine

sorry for the dual post as i am a newbie to this forum
attempted to export from bootstrap on v3.0 and it says it works with VLE but i want just the offline version like one can do in XOT so i can put on a website i am building with laravel
what do u suggest?

Hi this isn't really a discussion forum for this kind of question. Discussions about how to use Xerte etc are better posted on the forums on http://xerte.org.uk or via one of our mailing lists https://www.nottingham.ac.uk/xerte/contactus.aspx However to answer your question - exporting a version 3 bootstrap project and uploading to a web server rather than a vle should work fine. You don't need the offline export for the main xot project either if your requirement is to upload to a webserver just use the deployment export. The offline export you mention is more for extracting and viewing offline via a HDD or USB etc and isn't currently available for the bootstrap template. However even with the current export option you should still be able to view offline via Firefox or via IE after a security prompt.
HTH
Ron

I don't have any older installs or exports to test this with a genuine older project but I tested by removing targetFolder='site' from an export and it still imported ok so looks like this was probably directly or indirectly fixed.


Added transport package

Coverage decreased (-2.3%) to 90.019% when pulling dadafa1e3584f651c2854c2bb3da8bc8cb9c9c65 on dissoupov into ba2b6e5eb4dc9b5e9a31a57996ec64d2826e77ca on main.


Feature Request: Feed in to 360Radar

Feature Request to support feeding into 360Radar.co.uk (aka Low Flying Wales)
https://radar.lowflyingwales.co.uk/installing-the-mlat-client-on-a-raspberry-pi/
Thank you

@Thom-x, if you want, there is a docker example here: https://github.com/mikenye/docker-360radar
But, it was taking down as requested by the owners of 360radar.co.uk

If it was taken down by the owner, I don't really want to have it removed on my repo as well.


Update gatt-server.md

@mtbeaver,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


firefox: 79.0 -> 80.0, firefox-esr-78: 78.1.0esr -> 78.2.0esr, firefox-esr-68: 68.11.0esr -> 68.12.0esr

Motivation for this change
Security and bug fixes
firefox: 79.0 -> 80.0
https://www.mozilla.org/en-US/firefox/80.0/releasenotes/
https://www.mozilla.org/security/advisories/mfsa2020-36/
firefox-esr-78: 78.1.0esr -> 78.2.0esr
https://www.mozilla.org/en-US/firefox/78.2.0/releasenotes/
https://www.mozilla.org/security/advisories/mfsa2020-38/
firefox-esr-68: 68.11.0esr -> 68.12.0esr
https://www.mozilla.org/en-US/firefox/68.12.0/releasenotes/
https://www.mozilla.org/security/advisories/mfsa2020-37/
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Local build and testing is underway.

The 80.0 build failed for me, when I did these bumps, which is why I didn't open a PR. Haven't gotten around to debugging it yet, though.

/build/firefox-80.0/obj-x86_64-pc-linux-gnu/dist/include/mozilla/dom/IOUtils.h:17:10: fatal error: nspr/prio.h: No such file or directory
   17 | #include "nspr/prio.h"
      |          ^~~~~~~~~~~~~
compilation terminated.

We have ${nspr.dev}/include/prio.h... actually I don't understand why it's using so "ambiguous" include paths like <prio.h> directly.

Well... probably nothing important, as with the following patch it built fine:
--- a/pkgs/development/libraries/nspr/default.nix
+++ b/pkgs/development/libraries/nspr/default.nix
@@ -37,6 +37,7 @@ stdenv.mkDerivation {
   postInstall = ''
     find $out -name "*.a" -delete
     moveToOutput share "$dev" # just aclocal
+    ln -s . "$dev/include/nspr"
   '';

   buildInputs = [] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];

Well... probably nothing important, as with the following patch it built fine:

Thx!

Will build and then test firefox. Should we add nspr to the title? So this pr is easier to find if something breaks?

The change to nspr will trigger a mass rebuild, this should be avoided imho. I'm not very familiar with building firefox, so any help is welcome. :)
Currently looking into:

disabling --with-system-nspr
patching in an other path to the nspr includes firefox

Why does this occurs? Is it a packaging problem in nspr? Should it be fixed either way?

500--1000... isn't really a large rebuild.  That's way smaller than the usual FF updates where we had to bump nss.  But certainly, if you find a nice way of avoiding it, I won't mind.  My patch was a quick hack anyway; I don't understand why the problem started.

There already is a nspr and nss bump in staging right now, through #96185
That's probably unrelated to what we're seeing here, but just so everyone is aware in case it is related.

So maybe somehow include the nspr fix in staging? (Would be greate if FF 80 got into 20.09.
Firefox build on my side, and everything seems working.

Firefox has always been backported so far, so I expect it will make it in any case.

Firefox has always been backported so far, so I expect it will make it in any case. EDIT: current staging most likely won't make it to 20.09, BTW.

That's why I mentioned that i would like FF in 20.09. I'm currently trying to build it with the old nspr, and like 4 lines fixed in firefox.
But even my biggest machine takes some time building Firefox. So maybe I can report success tomorrow

Oh, I just noticed those errors, but it can be that they are from my config, which is kinda broken. This errors occur when right clicking an tab, trying to open it in another container (with the mozzilla container addon)
console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "https://github.com"
JavaScript error: resource://gre/modules/TelemetrySession.jsm, line 1166: Error: TelemetryStopwatch: finishing nonexisting stopwatch. Histogram: "FOG_EVAL_WINDOW_RAISED_S", key: ""
Gdk-Message: 20:16:16.192: Unable to load hand2 from the cursor theme
JavaScript error: resource://gre/modules/ExtensionChild.jsm, line 813: DataCloneError: The object could not be cloned.
JavaScript error: , line 0: AbortError: The operation was aborted.
Gdk-Message: 20:17:01.923: Unable to load hand2 from the cursor theme
Gdk-Message: 20:17:03.838: Unable to load hand2 from the cursor theme
Gdk-Message: 20:17:22.635: Unable to load hand2 from the cursor theme
Gdk-Message: 20:17:23.412: Unable to load split_h from the cursor theme
Gdk-Message: 20:17:23.412: Unable to load sb_h_double_arrow from the cursor theme
Gdk-Message: 20:17:23.429: Unable to load hand2 from the cursor theme
Gdk-Message: 20:17:23.495: Unable to load hand2 from the cursor theme
JavaScript error: resource://gre/modules/ExtensionChild.jsm, line 813: DataCloneError: The object could not be cloned.
JavaScript error: , line 0: AbortError: The operation was aborted.

Exactly tested your last commit (just build it my self). That firefox works for me, and also the error is not there anymore.

Did a substituteInPlace on IOUtils.{h,cpp}, this seems to work and avoids having to patch nspr. Rebuilding, and testing.
 postPatch = ''
    rm -rf obj-x86_64-pc-linux-gnu
  '' + lib.optionalString (lib.versionAtLeast ffversion "80") ''
    substituteInPlace dom/system/IOUtils.h \
      --replace '#include "nspr/prio.h"'          '#include "prio.h"'

    substituteInPlace dom/system/IOUtils.cpp \
      --replace '#include "nspr/prio.h"'          '#include "prio.h"' \
      --replace '#include "nspr/private/pprio.h"' '#include "private/pprio.h"' \
      --replace '#include "nspr/prtypes.h"'       '#include "prtypes.h"'
  '';

Anyone tested the Firefox esr updates?

Anyone tested the Firefox esr updates?

Did a very quick test of firefox-esr-68, firefox-esr-78 and firefox. All seem OK.

This needs a backport to 20.03, is anyone interested in preparing the PR and doing basic testing?

I can certainly do the builds and a few minutes of usage.

I can certainly do the builds and a few minutes of usage.

Should I help building/testing? I also have a buildfarm

Done.  Anyone can still continue testing and commenting, though in case of 20.03 the update is likely to hit channels soon (today), contrary to nixos-unstable that's blocked ATM.


Drag group to become a child of another group

Say I have this hirearchy.

Option A
Option B
Option C

Option D

I can freely drag option D into A and B and C inbetween A and B.  Is there any way I can allow dragging A under B (but not C under B), so basically I want to make top level items into second level ones if they don't have anything under them already.

I think you could achieve this by providing functions to the pull and put settings of the group option (see https://github.com/SortableJS/Sortable?tab=readme-ov-file#group-option). You can set this using the wire:sortable-group.options attribute on every group


feat: add underlinking/overlinking checks

This is emulating some Python code to determine the "nature" of a package for over and underlinking checks.
edit: closes #527

This code is supposed to do the following:

classify all the dependencies in the host environment (e.g. are they packages that contain only shared libraries?)
for all packages that contain shared libraries, check if we are linking against them
if we are linking against them, make sure that they are also included in the run dependencies (if they are not included in the run dependencies, it's an issue and we call it underlinking)
if there are some packages included in the run dependencies, that we are not actually linking against, then that is another issue that we are calling overlinking

So far I've implemented the same "classification" methods as are implemented in conda-build for the dependencies.
Now we need to resolve all the shared libraries that are linked by any of the dynamic objects included in our package and then emit warnings / errors based on this check.
One other step for this would be to add a resolve function to the dynamic object that resolves the shared library and takes into account the rpath.

uh oh: Failed to parse the ELF file: BadMagic(7955925836558921542)

damn, any idea what happened? can you run those tests locally?

I pushed a fix for the test issue (I think).

Thanks!
macos pipeline fails due to:
thread 'tests::test_underlinking_check' panicked at rust-tests/src/lib.rs:585:9:
assertion failed: output.contains(\"Linking check error: Underlinking against: libzlib\")

It is either because underlinking check does not work or libzlib is something else on macos...

what a wild ride... ready for review!


feat: Helm commands used to install the LMS

Hey team!
Here's a small change to make the helm commands a more obvious part of the LMS installation.

@codingconcepts Thank you for this! Adding @Jeremyyang920.


[DXVK][Unigine Valley Benchmark DX11] Benchmark silently crashes due to memory leak

Please describe your issue as accurately as possible.
If you use Windows, please check the following page: https://github.com/doitsujin/dxvk/wiki/Windows
System information
Test PC configuration :
CPU: Intel 12th Gen i7-12700K 12 Core Processer 3.60 Ghz
System Memory: 32 GB DDR 4
GPU: RTX 4070
Drivers: 551.76 https://www.nvidia.com/download/driverResults.aspx/221876/en-us/
OS: WIN 11 22H2 SV2
Mother Board: Asus Strix Z690-F Gaming WIFI
Monitor: Acer 4K GSYNC Monitor
Software information
Repro steps:

Install Win 11 SV2.
Install driver 551.76
Get the latest DXVK dll files from https://github.com/doitsujin/dxvk/releases
Install Unigine valley application https://benchmark.unigine.com/valley
Now copy all DXVK dll files present under x32 folder to the path where application exe is present - C:\Program Files (x86)\Unigine\Valley Benchmark 1.0\bin
Set the system environment variable: DXVK_HUD=1
Now launch the app and run it in 'DirectX 11' mode.
While benchmark is running minimize the benchmark with ALT+TAB & wait for a minute and observe the issue.

Observation:
Benchmark silently crashes pointing to nvoglv32.dll while minimized when DXVK dll's are loaded.

Wine version: N/A test on Windows
DXVK version: 2.3

Isolation
-no repro from dxvk-1.10.3
Apitrace file(s)
Cannot use trace file because the mermory leak takes time and too many frames.

Uginine valley  https://benchmark.unigine.com/valley

For instructions on how to use apitrace, see: https://github.com/doitsujin/dxvk/wiki/Using-Apitrace

This appears to be caused by descriptor sets. When you tab back in the number of descriptor sets is extremely high for a second (600k) before it is cut back down (20k). When the game is visible, the number of descriptor sets merely grows to 35k.

https://drive.google.com/file/d/1rGDzerAZUvyLgOz8LiHX1GnLdgTykf7S/view?usp=sharing
Apitrace of the minimized game. It can reproduce some level of descriptor set growth but I don't know if that's just the usual growth or if it reproduces the problem here.

This isn't actually leaking. It maxes out at 1.1GB on my system. The game keeps rendering when minimized but doesn't actually present.
The problem is that DXVKs heuristic of when to reset descriptor pools when the game isn't presenting aren't aggressive enough.
24576 sets * 8 pools * n active command lists
So if there are 3 command lists in flight, we get the 600k descriptor sets I saw earlier.

I agree it is not a leak, but the memory usage goes high enough to cause crashes. The peak memory usage varies per system. On the reported system the crash is due to memory allocation failure. At the time of the failure, msvc debugger reports 1.4GB used. The large allocations are from vkCreateDescriptorPool with the following.

   createInfo    {sType=VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO (0x00000021) pNext=0x00000000 flags=0x00000000 ...}    const VkDescriptorPoolCreateInfo &
  sType    VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO (0x00000021)    VkStructureType
  pNext    0x00000000    const void *
  flags    0x00000000    unsigned int
  maxSets    0x00006000    unsigned int
  poolSizeCount    0x00000008    unsigned int

The problem is that DXVKs heuristic of when to reset descriptor pools when the game isn't presenting aren't aggressive enough.

The descriptor allocation logic was never meant to handle scenarios where the game just keeps rendering frames without presenting, however relying on frame boundaries is the only way to implement any sort of per-frame resource reuse logic. We also need numbers to be high for real games to consistently hit the fast path, we've seen >100k descriptor sets used per frame in the wild.
It's not really surprising that this falls apart in a 32-bit app that a) doesn't present and b) likely runs into a CPU runaway scenario where even the number of queued frames might end up quite high, it's just a really dumb thing to do that makes things unnecessarily difficult for us.


Hosted Agent Image Repository hyperlink in issue template is broken

Looks like the Hosted Agent Image Repository hyperlink under the Having issue with software on Hosted Agent? section of the issue template is broken ...

Having issue with software on Hosted Agent?
Log an issue at Hosted Agent Image Repository. It contains the VM image used in the Azure Pipelines Hosted Agent Pool. If you're having Build/Release failures that seems like they are related to software installed on the Hosted Agent (e.g. the dotnet SDK is missing or the Azure SDK is not on the latest version) please log an issue there.

Hi @cookbr thanks for the information provided!
We've prepared a PR with a fix for this problem, please take a look: https://github.com/microsoft/azure-pipelines-agent/pull/3856

The related changes has been merged. Let me close this issue then


Improve asset handling, security, and code readability

Added security enhancements for input handling and sanitization.
Optimized asset loading with wp_register_style and wp_register_script.
Improved comments and formatting for better readability.
Updated settings fields rendering for consistency.

PR Approved


Transition to Cairo backend as primary backend

Still some issues to work out here, examples have yet to be rewritten and ellipse rotation solved, but the bulk of the refactor is done.

@FayCarsons can you please resolve the merge conflicts? We can merge this after that

Merge conflicts resolved, should be good to go!

Thank you very much! Merging. :tada:


mtools: fix build on darwin

Motivation for this change
mtools fails to build on darwin
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[x] macOS
[x] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

In future, I'd guard this on stdenv.cc.isClang than isDarwin, since I think that's the actual issue, right?

@copumpkin correct- had I known about cc.isClang function I would have used it to guard patch- don't know if X11 failure is due to clang or darwin though. Thanks.


[Epic] Readme update

Epic
NEXT Read me update

Epic Title
Read me update

T-shirt size default is L(arge)
L

Description
Improve read me from its existing state

Business Need (the why):
Build some syncs into the read me

Stakeholders
NEXT users; visitors, contributors

Details
All the details needed to accomplish the story. Tasks - can be linked

User Scenarios
names of user stories should suffice

Acceptance Criteria/Tests
The list of tests or criteria to be used to validate the story has been completed. May still need UAT or SIT / integration testing with other stories.

Failure
if any, fold in negative tests

Definition of Done
e.g.Passes all regression tests, Passes testing per acceptance criteria, Approved by UI team, Able to show feature in demo

UX/UI Details and/or mockups
if UI change, a mockup or description of what to change, attach image/file

Applications or Systems impacted
upstream/downstream applications/systems

Dependencies

Assumptions
if any

Performance Considerations
Will the work performed as part of this story impact system performance. If there is potential for a performance hit, where would you expect it to manifest in the system.

Security Considerations
E.g., does this story involve working with Personal Identifying Information (PII)? Note any such security sensitive aspects.

QA Considerations
what might be hard to test or test setup criteria

Acrhitectural/System or Component Impacts
if we're adding something new or significantly changing architecture flag for architect review

Reverse Engineering Required
to document areas not known well by dev team

Questions/Clarifications
Create new issue (add label: question) in this repo and link to this issue

Waiting for Chris' feedback on the current iteration to continue and update readme (11/28/2018)


Remove strongly type documents support from indexDocuments related operations

/azp run java - search - tests

/azp run java - search - tests

/azp run java - search - tests


Linking error against QT executable on Windows (MS VS 2013)

Follow all the instruction and build Google Protobuf and gRPC on MS VS 2013 to create .lib files.
Add .lib files to QT application (MS VC 2013).
You get the error:
error: LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease'

change the runtime library to match:
project properties - configuration properties - C/C++ - code generation - runtime library
normally Qt uses /MD because of LGPL, you can switch GRPC to match with no issues (I use it this way)


README: Fix uninstall step in contribute section

The text says to uninstall now-serve, but the command uninstalls list.
Thanks for the tool, it works really well :)

Hihi, whoopsie! ❤


Increase robustness of the release workflow

What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
It can happen that bintray API is unresponsive.
In this case, we may need to re-run the same CI job manually and to not be blocked by
already created versions for the given FALCO_VERSION env variable.
So, it may also be necessary to override already pushed packages.
Finally, we don't want stable releases (eg., 0.21.0) to be pushed into the *-dev repositories.
Which issue(s) this PR fixes:
Fixes #1106
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign leodido
You can assign the PR to them by writing /assign @leodido in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 9d88df2318e0e52da14202d2a7e310081595800d

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [fntlnz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [fntlnz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz, kris-nova
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [fntlnz,kris-nova]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


where is the unminified code for the main page?

does anyone know where the unminified code for the main page is located? It's a really great graph.

Refer to #54, there's now a link on the main page to the source.


UnqualifiedDesugaredType does not return an unqualified type

Example:
typedef int const* pcint;
pcint g();

Given the decl for g in variable gDecl, gDecl.ReturnType.CanonicalType.PointeeType.CanonicalType.UnqualifiedDesugaredType returns a BuiltinType that still represents const int.
Poking around in the sources suggests that the issue is in the fact that IsSugared returns false for qualified types. What I'd really like here is to be able to get a Type object for Handle.UnqualifiedType, which doesn't seem to exist at the moment.

IsSugared is just calling Ty->isSugared(): https://github.com/dotnet/ClangSharp/blob/f0501f7370c01064676f3e8100c4fe76dc3a7c62/sources/libClangSharp/ClangSharp.cpp#L5235-L5247
You'll note that UnqualifiedDesugaredType (https://source.clangsharp.dev/#ClangSharp/Types/Type.cs,2de64541a028759e) is itself just matching the behavior of Type::getUnqalifiedDesugaredType: https://clang.llvm.org/doxygen/Type_8cpp_source.html#l00605
In general ClangSharp tends to just mirror what Clang does and so you'll need to do whatever it is that Clang would expect you to do here.

I think the core issue here is that ClangSharp does not have a QualType equivalent; instead, a Type represents a full QualType, but only mirrors the API of Clang's Type*. As I mentioned, I think this is resolvable by simply exposing UnqualifiedType on Type.


Invalid interval value for a monthly frequency: Customized Monthly.

I have a schedule in Tableau Server which is set to run on a Monthly basis: Every 11ᵗʰ, 12ᵗʰ, 16ᵗʰ, 24ᵗʰ, 26ᵗʰ day of the month, at 5:05 PM.
When I use the below code to retrieve the specific schedule
with server.auth.sign_in(tableau_auth):     #print(id)     sch_item = server.schedules.get_by_id('xxx')     print(sch_item.name)
It results in an error:
ValueError: Invalid interval value for a monthly frequency: Customized Monthly.
I've used the Tableau REST API directly to see what the is output in the XML, where I see the interval monthDay is Customized Monthly.
<schedule id="f059d794-90dc-40d0-bfad-2ca78e437369" name="TEST MONTHLY SCHEDULE MAK" state="Active" priority="50" createdAt="2024-03-13T17:05:01Z" updatedAt="2024-03-16T16:05:14Z" type="Extract" frequency="Monthly" nextRunAt="2024-03-24T16:05:00Z" executionOrder="Parallel"><frequencyDetails start="17:05:00"><intervals><interval monthDay="Customized Monthly"/></intervals></frequencyDetails></schedule></tsResponse>
I'm assuming there isn't a way to display the actual dates for the schedule, but does the interval item code need to be updated to handle the value of "Customized Monthly"?
Versions
Details of your environment, including:

Tableau Server version 2022.1.20
Python version 3.11.4
TSC library version 0.30

We have an existing issue #1354 which has been fixed, but pending a new TSC release.

Closing as a duplicate


Repo's description says "jikan.me" (which is some sketchy page)

As the title says, jikan.me leads to some weird site.
The actual link is jikan.moe

Thanks, we forgot to change the description when the link got changed. @AWConant can you update the description?

Done. Good catch.
On Sun, Apr 21, 2019, 11:23 AM Abhinav Kasamsetty<EMAIL_ADDRESS>wrote:

Thanks, we forgot to change the description when the link got changed.
@AWConant https://github.com/AWConant can you update the description?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AWConant/jikanpy/issues/43#issuecomment-485272170,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADKOWGIFIFGGT4CUH72PZYDPRSWJXANCNFSM4HHMEW2Q
.


Add synthtool config for remaining clients

Adds the synth.py config for:

BigQueryDataTransfer
BigTable
Container
Dataproc
Debugger
Dialogflow
Dlp
ErrorReporting
Firestore
Iot
Language
Logging
Monitoring
OsLogin
PubSub
Redis
Spanner
Speech
Trace
Translate
VideoIntelligence

The other changes are the result of running each codegen operation. The only questionable one is the VideoIntelligence one which just went GA, but is adding the @experimental annotation back.

For GA client libs, we'll need to remove the experimental tags.
Michael did it in his PR:
https://github.com/GoogleCloudPlatform/google-cloud-php/pull/1097/files#diff-eb7396c0b88484aeca7af44b3205f2b2R192
Can you add something similar?

@tmatsuo Ah, I see. I didn't know if there was a gapic config I was missing. Will do the same.

I see Michael added the doc fix as a one-off too. Will do the same.

Note: Dlp and Logging both have legitimate changes, but we'll keep that separate from this PR.


[BUG]: Spelling and Grammar Issues in Innovation Backlog App

Describe the bug
Spelling and grammatical queries in Innovation Backlog Canvas App
Component (please tell us which flow or app you are experiencing issues with):

Solution Innovation Backlog
Version 1.17
Innovation Backlog Canvas App

To Reproduce
Steps to reproduce the behavior:

Launch Innovation Backlog Canvas App
Go to the Measure ROI page and add time
Go to the Complexity Score page

Expected behavior
For 2, Whose time rather than Who's time?
For 3
people rather than peoople
Is the data accessible only to the user who created it? rather than Is the data accessible only to the user to created it?
Screenshots
Document attached
Innovation Backlog.docx
Additional context
N/A

Can you please share screenshots so we know where you have spotted these?

Hi, screenshots are within the document which has been attached  to the issue already.

Can you please paste them within GitHub so they appear directly? We avoid opening attachments.

This is strange as there is no mention of this as the form says we can attach files.

Blocked from fixing by the bug described in #879 .

Alright, we have a workaround to the product bug and can release with these fixes. Marking local fixed.

Fixed with the current release, shipped today. Thank you for using the CoE!


Manager can invite contributors from indicator edit view

As a category manager
I want to invite new users, make them contributors, and assign them to an indicator, when editing an indicator

from an API perspective, same as #278, see https://github.com/impactoss/impactoss-client/issues/370


[SPARK-40391][SQL][TESTS] Test the error class UNSUPPORTED_FEATURE.JDBC_TRANSACTION

What changes were proposed in this pull request?
This pr aims to Add one test for the error class UNSUPPORTED_FEATURE.JDBC_TRANSACTION to QueryExecutionErrorsSuite.
Why are the changes needed?
Add one test for the error class UNSUPPORTED_FEATURE.JDBC_TRANSACTION to QueryExecutionErrorsSuite.
Does this PR introduce any user-facing change?
No.
How was this patch tested?

Manual test：

./build/sbt "sql/testOnly *QueryExecutionErrorsSuite*"

All tests passed.

cc @MaxGekk

@panbingkun Could you fix scala style failure:
[error] /home/runner/work/spark/spark/sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionErrorsSuite.scala:34:0: org.apache.spark.sql.execution.datasources.jdbc. is in wrong order relative to

Can one of the admins verify this patch?

@panbingkun Could you fix scala style failure:
[error] /home/runner/work/spark/spark/sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionErrorsSuite.scala:34:0: org.apache.spark.sql.execution.datasources.jdbc. is in wrong order relative to

Done.

+1, LGTM. Merging to master.
Thank you, @panbingkun.


VMagents doesn't scrap metrics after rolling update

Hi! we have current setups of vmagents
apiVersion: operator.victoriametrics.com/v1beta1
kind: VMAgent
metadata:
  name: vmagent-ha
spec:
  image:
    tag: v1.66.0
  vmAgentExternalLabelName: vmagent_ha_prod
  additionalScrapeConfigs:
    name: additional-scrape-config
    key: additional-config.yaml
  replicaCount: 2
  shardCount: 3
  extraArgs:
    promscrape.maxScrapeSize: 48MB
  podMetadata:
    labels:
      env: prod
  resources:
    requests:
      cpu: 4
      memory: 8Gi
    limits:
      cpu: 4
      memory: 8Gi
  readinessProbe:
    httpGet:
      path: /health
      port: 8429
    successThreshold: 1
    failureThreshold: 10
    periodSeconds: 5
    timeoutSeconds: 5
    initialDelaySeconds: 180

But after rolling update(for example bumping vmagent version) we have 30-60s gaps on the graphs.

Does VM HA work at all? I tried to have 3 replicas without shards, killed one pod and scrapes line dropped off?

The Scrape rate graph at the official dashboard for vmagent shows the summary scrape rate across all the vmagent instances by default (if a particular vmagent instance isn't selected at the top of dashboard). So, if a single vmagent is restarted, then it is expected that the summary scrape rate drops until the vmagent is returned back online.

@valyala it's related https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2013

Must be solved with v1.72.0 vmagent release.


[SSR Public Catalog] Create a 500 error page

Description
With the transition to using SSR for the I/O catalog pages, we now have the possibility to hit a 500 HTTP error on these pages.
Design Questions

[x] What is the preferred design for a 500 error given we can load most of our components (see below) but not the navigation or search given that will be powered by the catalog service & SSR.
[x] This is only for the I/O experience and doesn't really apply to the dev , docs or oss sites as those sites don't use the catalog service or SSR So we don't have to apply this solution to those sites.
[x] Review language with UI-Writing team for suggestions.

Design References 🎨
What components will load and fail to load in case of a 500

Mock Up 🧑🎨

Links

Gatsby 500 page docs

Error message content

We are currently experiencing technical issues loading the Instant Observability catalog. Please use the guided install tile below to start the install process.

Acceptance Criteria

[x] a design is provided that we can use
[ ] Ensure this approach works on mobile
[ ] a 500 page is visible when running yarn develop at localhost:8000/500
[ ] a 500 page is visible when the catalog service fails to load the navigation of I/O.

@jpvajda and @legnaleama, are these mocks still good post redesign?

👋  the last we spoke (if I recall)  it's totally fine to go with this for our initial approach as this page isn't expected to be visible often. we can always revisit the design in a second iteration as needed.

@jpvajda Our current site does not have the IO logo/blurb in the sidebar anymore. It's easy to re-add this just for the 500 page, or we could remove the sidebar on this page all altogether. Is there a preference? Here is my current local branch with both options. Let me know, and I can submit a PR!

@tabathadelane thanks for pointing that out. I think we should add it back, as without , it lacks context for the user. If we can also include the line divider, which is used to seperate the nav from the page content that would also be nice for separation.


TM1Py and Graphviz Integration?

Has anyone tried to integrate TM1PY with something like GraphViz?  I was watching a demo the other day for QubeDocs and thought it would be cool to develop a data flow chart using TM1PY and possibly Graphviz.  I started writing a script to see if I could access the rules, and so far it looks ok.
Here is what I have so far:
"""
Usage:
    gv <instance_name>
    gv -h
    gv --version

Arguments:
    <instance_name>     TM1 Instance Name

Options:
    -h                  Show this screen
    --version           Show version information
"""

from configparser import ConfigParser
from getpass import getpass
from time import time

import keyring
from TM1py.Exceptions import *
from TM1py.Services import TM1Service
from docopt import docopt
from keyring.backends import Windows

keyring.set_keyring(Windows.WinVaultKeyring())

def get_tm1_config():
    config = ConfigParser()
    config.read(r'config.ini')
    return config

def main(instance: str):
    config = get_tm1_config()
    user_name = config[instance]["user"]
    password = keyring.get_password(instance, user_name)
    if not password:
        password = getpass(f"Enter password for {user_name} on {instance}: ")
    keyring.set_password(instance, user_name, password)
    config[instance]["password"] = password
    try:
        with TM1Service(**config[instance]) as tm1:
            for cube in tm1.cubes.get_all_names_with_rules():
                if not cube.startswith('}'):
                    rul = tm1.cubes.get(cube_name=cube)
                    rules = rul.rules
                    for rule in rules:
                        if rule.__contains__('DB('):
                            print(rule)
                # TODO Graphviz integration
        return True
    except TM1pyRestException as t:
        print(t)
        return False

if __name__ == "__main__":
    cmd_args = docopt(__doc__, version='1.0.0')
    instance_name = cmd_args['<instance_name>']
    start_time = time()
    success = main(instance=instance_name)
    if success:
        end_time = time()
        print(f"Complete in {round(end_time - start_time, 2)} seconds.")
        pass
    else:
        pass

I got to this point and realized that there must be a better way.  Thoughts??
BTW: Big thanks to @rclapp  for turning me on to docopt.

Hi @harveyca307,
I don't we should include this feature in TM1py. To me, this looks more like a use case that you can do with TM1py.
I will move this topic to discussions and leave this an open discussion for people who want to engage in building this.


Feat: add Xoth mobile wallet

Description
Xoth Wallet is mobile wallet that support NEAR protocol & Octopus Network. You can read more information in here.
Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation

My changes generate no new warnings
Type of change.

[ ] FIX - a PR of this type patches a bug.
[x] FEATURE - a PR of this type introduces a new feature.
[ ]  BUILD - a PR of this type introduces build changes.
[ ]  CI - a PR of this type introduces CI changes.
[ ]  DOCS - a PR of this type introduces DOCS improvement.
[ ]  STYLE - a PR of this type introduces style changes.
[ ]  REFACTOR - a PR of this type introduces refactoring.
[ ]  PERFORMANCE - a PR of this type introduces performance changes.
[ ]  TEST - a PR of this type adds more tests.
[ ]  CHORE - a PR introduces other changes than the specified above.

Hey, @chezhe thank you for submitting this PR.
I had a look at the PR and to test the Xoth Wallet I forked the project from you and deployed it here temporarily:
https://kujtimprenkusqa.github.io/wallet-selector/
While I am on a mobile device the Xoth Wallet option shows in the modal but when I click the option it redirects to a website that is not working: https://wallet.testnet.xoth.app
Looking at the source code of this package it looks like a more or less "copy" of the MyNearWallet (I am not saying there's anything wrong with that):
https://github.com/NonceLabs/wallet-selector/tree/feat/xoth/packages/xoth
It's just that I am a bit confused and these are two questions I would like to clarify:
Does Xoth Wallet support NEAR without WalletConnect?
Is there a way to communicate with the wallet through the option which is shown in the modal?
Your wallet works fine with the WalletConnect option we have 👍
One suggestion would be that in Transactions with deposit/donation  it would be nice to show the amount of the deposit in the UI of the wallet before confirming or rejecting.

Yes, it copied from MyNearWallet. In fact, in Xoth Wallet, if you select MyNearWallet or NearWallet, it works too. But most of users won't know how to select a wallet from the selector, so I submit this pr to add Xoth wallet selector on the list, so that users know what to select on Xoth Wallet.
This url https://wallet.testnet.xoth.app/ isn't accessible which does not matter, Xoth Wallet will recognize if the dApp wants to connect or sign transactions.

Can we add a note on the WalletConnect modal to let users know they can connect with Xoth wallet?

One suggestion would be that in Transactions with deposit/donation it would be nice to show the amount of the deposit in the UI of the wallet before confirming or rejecting.

Nice suggestion. We will update on our next update.

Can we add a note on the WalletConnect modal to let users know they can connect with Xoth wallet?

Hi @chezhe , we are working on implementing the QR code (WalletConnect option for now) inside the Wallet Selector modal while following the already set design for it. Maybe in the future, we can add some info, as you suggested. Thanks!

You can test by this way.
Open a your test DApp in Xoth Wallet explorer, click "login" button, select Nearwallet or MyNearWallet, it will work well(including sign transaction), which means Xoth wallet support users login and sign with Nearwallet and MyNearWallet.

You can test by this way. Open a your test DApp in Xoth Wallet explorer, click "login" button, select Nearwallet or MyNearWallet, it will work well(including sign transaction), which means Xoth wallet support users login and sign with Nearwallet and MyNearWallet.

However, users may not know they can login and sign by selecting NearWallet or MyNearWallet in Xoth Wallet dApp browser, so I think a better way to add Xoth wallet to wallet-selector, so that event new users who don't know NEAR much can use it without questions.
The redirect to https://wallet.testnet.xoth.app/ just let Xoth wallet know the attempt to login or sign transactions.

@kujtimprenkuSQA I think you misunderstood this PR. This PR has nothing to do with WalletConnect, to login and sign desktop dApp, users can connect WC with Xoth Wallet.
This PR is for the users who open dApps on Xoth Wallet, they open a dApp, and click the wallet selector, then select Xoth Wallet icon to login.
This PR empower users interact with dApps on mobile and desktop with Xoth Wallet.

@kujtimprenkuSQA Do you still have questions?

However, users may not know they can login and sign by selecting NearWallet or MyNearWallet in Xoth Wallet dApp browser, so I think a better way to add Xoth wallet to wallet-selector, so that event new users who don't know NEAR much can use it without questions.

If the goal of this PR is to let the users know that Xoth Wallet has an in-built browser where there are different dApps listed that support NEAR Wallet Selector then I am afraid this PR can not be merged as it is.
When a wallet is added to the options in the Modal these are the expectations and  requirements:

Clicking the option initiates the signIn process.
When signed in you can call signAndSendTransaction(s) with different action types (which the wallet supports).
You can successfully call any other wallet method like (`verifyOwner, getAccounts etc.).

So the added wallet option must support all the API's described here in the docs:
https://github.com/near/wallet-selector/blob/main/packages/core/docs/api/wallet.md
At the current state of this PR none of the above steps are implemented.

The redirect to https://wallet.testnet.xoth.app/ just let Xoth wallet know the attempt to login or sign transactions.

We can not redirect users to a non-working website.

What is the purpose of this commit: use injected window.xoth?

How are you injecting the xoth property in the window object?
How are you interacting with window.xoth?
At the moment window.xoth always returns undefined which means the Xoth Wallet option will never show because of the if check in setup function.

window.xoth will be injected at Xoth Wallet v1.1.8 which is next version (still in review of stores).
Xoth Wallet works logic just like NearWallet, when the page redirects https://wallet.testnet.xoth.app/login, Xoth Wallet will return public key; https://wallet.testnet.xoth.app/sign, Xoth will sign the transaction in the search params.

I see we will wait until it's published in the stores.
In the meantime can you change the base branch of this PR to dev because we do not merge these PR's directly to main branch?
Have a look at the docs for more details:
https://github.com/near/wallet-selector/blob/main/CONTRIBUTING.md#branching
After the app has been approved in the stores let us know and if the call is still needed I will contact you for sure then.

OK。
Android version is already published.

iOS v1.1.8 published too.

Hey, @chezhe thank you for the update.
At the moment the Testnet RPC is having a Partial outage once it's back on I will test out the new version.

We're rebranding our wallet, will submit a new PR.


Fix URL Formatting to Prevent Double Slashes in Base URL and API Method Combination

(Filling out the following details about bugs will help us solve your issue sooner.)
I just notice that my last PR #1594 cause an error after I added the logic in the legacy_base_client.py due to a double slash in the api_url when concatenating the base_url with the api_method.py.

Reproducible in:
>pip freeze | grep slack
python --version
sw_vers && uname -v # or `ver`

Python 3.12.7
ProductName:            macOS
ProductVersion:         14.6.1
BuildVersion:           23G93
Darwin Kernel Version 23.6.0: Mon Jul 29 21:13:04 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6020

>./scripts/run_validation.sh

The Slack SDK version
(Paste the output of pip freeze | grep slack)
Python runtime version
(Paste the output of python --version)
Python 3.12.7
OS info
(Paste the output of sw_vers && uname -v on macOS/Linux or ver on Windows OS)
Steps to reproduce:
(Share the commands to run, source code, and project settings (e.g., setup.py))

source env_3.9.6/bin/activate
./scripts/run_validation.sh

Expected result:
Expected to pass all the tests

Actual result:
Test test_issue_690_oauth_v2_access from tests/web/test_web_client.py fails
Proposed solution:
Update the _get_url(base_url: str, api_method: str) -> str ensures that a properly formatted absolute URL is constructed from a base_url and an api_method, handling edge cases where redundant slashes might cause incorrect URLs.
def _get_url(base_url: str, api_method: str) -> str:
    """Joins the base Slack URL and an API method to form an absolute URL.

    Args:
        base_url (str): The base URL
        api_method (str): The Slack Web API method. e.g. 'chat.postMessage'

    Returns:
        The absolute API URL.
            e.g. 'https://slack.com/api/chat.postMessage'
    """
    if base_url.endswith("/") and api_method.startswith("/"):
        base_url = base_url.rstrip("/")

    return urljoin(base_url, api_method)

Apologies for the inconvenience and my lack of attention, I'm sending a PR to fix this issue ASAP.
Requirements
For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. :bow:
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

The changes were reverted by https://github.com/slackapi/python-slack-sdk/pull/1597


clang + ninja doesn't work

Hi, I am running clang 16 and cmake 3.26.3
> CC=clang CXX=clang++ cmake .. -G "Ninja"
-- The C compiler identification is Clang 16.0.1
-- The CXX compiler identification is Clang 16.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at CMakeLists.txt:15 (target_sources):
  CMake's C++ module support is experimental.  It is meant only for
  experimentation and feedback to CMake developers.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done (3.4s)
CMake Warning (dev):
  C++20 modules support via CMAKE_EXPERIMENTAL_CXX_MODULE_DYNDEP is
  experimental.  It is meant only for compiler developers to try.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done (0.0s)
-- Build files have been written to: /home/matwey/lab/CMake_Modules/build

> cmake --build .
[5/6] Building CXX object CMakeFiles/demo.dir/main.cpp.o
FAILED: CMakeFiles/demo.dir/main.cpp.o
/usr/bin/clang++   -std=gnu++20 -MD -MT CMakeFiles/demo.dir/main.cpp.o -MF CMakeFiles/demo.dir/main.cpp.o.d @CMakeFiles/demo.dir/main.cpp.o.modmap -o CMakeFiles/demo.dir/main.cpp.o -c /home/matwey/lab/CMake_Modules/main.cpp
/home/matwey/lab/CMake_Modules/main.cpp:1:8: fatal error: module 'MyModule' not found
import MyModule;
~~~~~~~^~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.

ubuntu 2022.04 | gcc 12 | cmake 3.26 |ninja 1.11| clang 17
I have the same problem. Cannot be allowed，Only MVSC available.


After erasing the logs, everything got back to normal...
Just sharing, and also brings me a new [ feature request ]:  give the ability (to admins)  to dump the whole history to a  file before erasing them.  (in case of further auditing needs).
I still got a backup (mysql dump).. but it's less convenient :)
Great work anyway! this version rocks

Hello,
I'm sorry you had this. We had not enough history to cover all possible outcomes.
Any feedback is welcome, thank you

Is it possible for you to share your sqldump?

I got a similar exception  with my history table from past Powerdnsadmin versions;   it seems that this module assumes entries in the  history table  contain valid JSON in the detail field.       However,    I had a few entries whose   detail value is at length  65535  characters and appears to be truncated,  so not valid JSON,
And many past history table entries referencing TXT records  contained JSON where quote symbol embedded in the TXT record seem to be not  escaped  such as
{"serial": "2019032201", "record": [{"record_name": "@", "record_type": "TXT", "record_status": "Active", "record_ttl": "600", "record_data": ""v=spf1 include:spf....com -all""}, {"record_name": "@", "record_type": "MX", "record_status": "Active", "record_ttl": "86400", "record_data": "10 smtpsnf.cust..."}, {"record_name": "@", "record_type": "SOA", "record_status": "Active", "record_ttl": "7200", "record_data": "ns..com. hostmaster..com.<PHONE_NUMBER> 28800 7200<PHONE_NUMBER>0"}, {"record_name": "@", "record_type": "NS", "record_status": "Active", "record_ttl": "604800", "record_data": "ns..com."}, {"record_name": "@", "record_type": "NS", "record_status": "Active", "record_ttl": "604800", "record_data": "ns2..com."}, {"record_name": "mail", "record_type": "CNAME", "record_status": "Active", "record_ttl": "86400", "record_data": "maila..."}, {"record_name": "maila", "record_type": "A", "record_status": "Active", "record_ttl": "86400", "record_data": "...106"}, {"record_name": "mailtest", "record_type": "A", "record_status": "Active", "record_ttl": "300", "record_data": ".._.108"}]}
MariaDB [powerdnsadmin]> select a.,b.,c.* from (select COUNT() AS count from
history) a, (select COUNT() AS invalid_count from history where json_valid(detail)=0) b,  (select COUNT(*) AS txt_related from history where json_valid(detail)
=0 and detail like '%"record_data": ""%""%') c;
+-------+---------------+-------------+
| count | invalid_count | txt_related |
+-------+---------------+-------------+
|  1174 |           913 |         909 |
+-------+---------------+-------------+
1 row in set (0.061 sec)
detailedHistories.append(DetailedHistory(histories[i], None))

File "/opt/web/powerdns-admin/./powerdnsadmin/routes/admin.py", line 767, in _
init_
detail_dict = json.loads(history.detail)
File "/usr/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.9/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 146 (char 145)

I am having the same issue, after upgrading I could not login anymore. Thanks for the hint regarding the history table, I deleted all entries (about 2k) and now I am able to login again. If I can provide any further information please let me know, I would like to help.

Hello, other "change" regarding history :
Compared to the previous version, I cannot see detailed info for apikeys anymore :
The line is present in database, also shown in history i.e
History page:
Changed by | Content |Time |Detail
apikey |  delete zone NS record of test.domain.fr|2021-01-13 14:55:26|  ( No Info button shown here)
For a user, everything works fine.

Same issue regarding history not showing up in UI
I have this in the logs
gunicorn[5132]:     detailedHistories.append(DetailedHistory(histories[i], None))
gunicorn[5132]:   File "/var/www/html/pdns/powerdnsadmin/routes/admin.py", line 767, in __init__
gunicorn[5132]:     detail_dict = json.loads(history.detail)
gunicorn[5132]:   File "/usr/lib/python3.8/json/__init__.py", line 357, in loads
gunicorn[5132]:     return _default_decoder.decode(s)
gunicorn[5132]:   File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
gunicorn[5132]:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
gunicorn[5132]:   File "/usr/lib/python3.8/json/decoder.py", line 353, in raw_decode
gunicorn[5132]:     obj, end = self.scan_once(s, idx)
gunicorn[5132]: json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)

After a bit more digging, the error I posted above stems from the /dashboard endpoint returning a 500 error.
I still can't see the history, but maybe these these 2 errors aren't related, I can't say, but seeing it complain about histories, I guess it does.
So the full error log, missing in the previous post
gunicorn[5132]: [2022-09-22 20:23:10,506] [app.py:1891] ERROR - Exception on /dashboard/ [GET]
gunicorn[5132]: Traceback (most recent call last):
gunicorn[5132]:   File "/var/www/html/pdns/flask/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
gunicorn[5132]:     response = self.full_dispatch_request()
gunicorn[5132]:   File "/var/www/html/pdns/flask/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
gunicorn[5132]:     rv = self.handle_user_exception(e)
gunicorn[5132]:   File "/var/www/html/pdns/flask/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
gunicorn[5132]:     reraise(exc_type, exc_value, tb)
gunicorn[5132]:   File "/var/www/html/pdns/flask/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
gunicorn[5132]:     raise value
gunicorn[5132]:   File "/var/www/html/pdns/flask/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
gunicorn[5132]:     rv = self.dispatch_request()
gunicorn[5132]:   File "/var/www/html/pdns/flask/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
gunicorn[5132]:     return self.view_functions[rule.endpoint](**req.view_args)
gunicorn[5132]:   File "/var/www/html/pdns/flask/lib/python3.8/site-packages/flask_login/utils.py", line 272, in decorated_view
gunicorn[5132]:     return func(*args, **kwargs)
gunicorn[5132]:   File "/var/www/html/pdns/powerdnsadmin/routes/dashboard.py", line 192, in dashboard
gunicorn[5132]:     detailedHistories = convert_histories(history)
gunicorn[5132]:   File "/var/www/html/pdns/powerdnsadmin/routes/admin.py", line 915, in convert_histories
gunicorn[5132]:     detailedHistories.append(DetailedHistory(histories[i], None))
gunicorn[5132]:   File "/var/www/html/pdns/powerdnsadmin/routes/admin.py", line 767, in __init__
gunicorn[5132]:     detail_dict = json.loads(history.detail)
gunicorn[5132]:   File "/usr/lib/python3.8/json/__init__.py", line 357, in loads
gunicorn[5132]:     return _default_decoder.decode(s)
gunicorn[5132]:   File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
gunicorn[5132]:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
gunicorn[5132]:   File "/usr/lib/python3.8/json/decoder.py", line 353, in raw_decode
gunicorn[5132]:     obj, end = self.scan_once(s, idx)
gunicorn[5132]: json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)

So I managed to fix the double quote issue by applying this SQL Query on the history table
UPDATE history
SET detail = replace(detail, '\'', '"');

But I still have issues on the actual history page of my master server. The error is the same as @mysidia's, the , delimiter.
I can't seem to find the issue in the table and I don't know how to dump the contents of the affected variable to better understand what is going on
[2022-09-22 21:08:39,167] [app.py:1891] ERROR - Exception on /admin/history_table [GET]
gunicorn[1782]: Traceback (most recent call last):
gunicorn[1782]:   File "/opt/web/powerdns-admin/venv/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
gunicorn[1782]:     response = self.full_dispatch_request()
gunicorn[1782]:   File "/opt/web/powerdns-admin/venv/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
gunicorn[1782]:     rv = self.handle_user_exception(e)
gunicorn[1782]:   File "/opt/web/powerdns-admin/venv/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
gunicorn[1782]:     reraise(exc_type, exc_value, tb)
gunicorn[1782]:   File "/opt/web/powerdns-admin/venv/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
gunicorn[1782]:     raise value
gunicorn[1782]:   File "/opt/web/powerdns-admin/venv/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
gunicorn[1782]:     rv = self.dispatch_request()
gunicorn[1782]:   File "/opt/web/powerdns-admin/venv/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
gunicorn[1782]:     return self.view_functions[rule.endpoint](**req.view_args)
gunicorn[1782]:   File "/opt/web/powerdns-admin/venv/lib/python3.8/site-packages/flask_login/utils.py", line 272, in decorated_view
gunicorn[1782]:     return func(*args, **kwargs)
gunicorn[1782]:   File "/opt/web/powerdns-admin/powerdnsadmin/decorators.py", line 48, in decorated_function
gunicorn[1782]:     return f(*args, **kwargs)
gunicorn[1782]:   File "/opt/web/powerdns-admin/powerdnsadmin/routes/admin.py", line 1238, in history_table
gunicorn[1782]:     detailedHistories = convert_histories(histories)
gunicorn[1782]:   File "/opt/web/powerdns-admin/powerdnsadmin/routes/admin.py", line 915, in convert_histories
gunicorn[1782]:     detailedHistories.append(DetailedHistory(histories[i], None))
gunicorn[1782]:   File "/opt/web/powerdns-admin/powerdnsadmin/routes/admin.py", line 767, in __init__
gunicorn[1782]:     detail_dict = json.loads(history.detail)
gunicorn[1782]:   File "/usr/lib/python3.8/json/__init__.py", line 357, in loads
gunicorn[1782]:     return _default_decoder.decode(s)
gunicorn[1782]:   File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
gunicorn[1782]:     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
gunicorn[1782]:   File "/usr/lib/python3.8/json/decoder.py", line 353, in raw_decode
gunicorn[1782]:     obj, end = self.scan_once(s, idx)
gunicorn[1782]: json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 97 (char 96)

@corubba Thanks for the snippet, it helped a lot narrowing down the issues.
It actually was 2 offending records containing badly escaped comments.
So I created an API key a while back and in the comments for that API key there was a single quote character. In the history table, that character wasn't escaped properly and was replaced by a double quote character which terminated prematurely the description attribute of the JSON object located in the detail column of the history table.
I was able to manually fix the issue, but I guess there is a bug in the code that is writing the history upon API key creation. Further inspection should be required to make sure the content is properly escaped.

Hello,
The problem is that the way that detailed history records were set in the database was not pure json at first. We merged a PR that changed python calls to use json but it raised a lot of errors due to the poor format of the old logs.
We intended to reduce the impact by adding a database patch that replaced quotes (you had to run "flask db upgrade" from the deployment's virtualenv to apply the patch) but there was still some buggy records left, sadly not in any of the maintainers history, still causing the bug.
Maybe including @corubba 's snippet is a good idea.


[esl-carousel]: missed tag declarations of elements for TSX

Missed tag declarations of elements for TSX, so we can not use carousel from strictly typed JSX
Originally posted by @dshovchko in https://github.com/exadel-inc/esl/pull/2185#discussion_r1559123753
Target: main-beta

:tada: This issue has been resolved in version 5.0.0-beta.37 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Handle cases where config.json is either empty or malformed.

Description
Given the case where a user deletes their config.json, the command zk config will not work. If we create an empty config.json, the CLI will still give errors that don't indicate how to move forward.
For cases where config.json is empty, we can fill in the scaffolded values being:
{
  "version": 1,
  "networks": {}
}

For cases where the json input is malformed, we can give a different error message which gives some hints on what is going wrong.

@MartinMinkov Reviewing issues with Yoni. I recall this was surfaced during a code review. But we haven't encountered this in the real world ever have we? If so, would consider closing this. Is that ok Martin?

Yep, feel free to close :+1:

Actrually this happened to me pretty often :D I think it should be possible to delete the config to start over, and not have the CLI fail after that


Paul

merged old js with new js we created for the animal api

merged updated to main

merged old js with new js we created for the animal api


clarify api usage limits in github actions

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration#usage-limits
What part(s) of the article would you like to see updated?
API requests - You can execute up to 1000 API requests in an hour across all actions within a repository. If exceeded, additional API calls will fail, which might cause jobs to fail.
It is not clear if it refers api calls to github api or general api calls to any service
The content comes from here: https://github.com/github/docs/blob/main/data/reusables/actions/usage-api-requests.md
Additional information
No response

@david-gang Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:

This refers to calls to the GitHub API. You or anyone else is welcome to open a PR to update https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration#usage-limits to say something like  "1000 requests to the GitHub API" instead of "1000 API requests".


Controll Somfy device by time

Hello,
Its possible in the future to control the Somfy device bei the Time?
for Example: 7:00 AM open, 1:30PM go to my 50%, 5PM open, 9PM Close. this will be nice if you can implement it.
its very nice Project, I used an old Remote control and connect it to my Arduino it work, but your project its much smarter. I love it
I used it only standalone
Thx for this Project!

You can use something like Home Assistant to automate it 😄

Yes but my apartment is not so smart, i used this esp32 StandAlone. :-)

While in theory this is feasible, it would never reach the level that you would find in any home automation system out there.  I will keep this in the enhancement list just in case though.

This is nice, If you will add it in the future :-)
i used long time this:
http://somfy-domotica.blogspot.com/2014/05/somfy-controller-operational.html
it work for me, but your system ich much much better :-)

Funny, I had been a long time Vera user but have since switched to Home Assistant.  If I still were using it I would have banged out a plugin.

I've already considered giving away more of these ESPSomfy-RTS to other families in my area.
However, most families do not have a smart home. So, in addition to this ESP, I would also have to give away a RaspberryPi etc. with HomeAssistant, which then does not stand for it.
From my point of view it would be ideal if the ESPSomfy-RTS could support Matter. Then you can integrate it into any ecosystem.

I've already considered giving away more of these ESPSomfy-RTS to other families in my area. However, most families do not have a smart home. So, in addition to this ESP, I would also have to give away a RaspberryPi etc. with HomeAssistant, which then does not stand for it. From my point of view it would be ideal if the ESPSomfy-RTS could support Matter. Then you can integrate it into any ecosystem.

I've developing an app as well to interact with the firmware and a scheduler would be just perfect.

any updates about this?

@prbtt how is your app going.  Do you need any help?

Maybe one could borrow some code from Tasmota to define time plans.
Is there some memory left on the esp or does espsomfy use it up?

I see two advantages over using Home Assistant:

simplicity (HA can be tricky for some users. You'll tell me that installing ESPSomfy is trickier but the end user doesn't need to do it himself);
reliability: it will keep working when HA doesn't.


Make it easier to run python tests

At the moment, the only source of the "complete" set of python tests seems to be in .github/workflows/main.yml, under the Python Tests step.
It would be nice if this were extracted into it's own standalone script, or similar, to enable easier running outside of github.  Also, I'm not clear on how github detects failure for many of these tests - ie, Scripts/generateshader.py seems to swallow many errors, and return 0, so I was forced to scrape output for Failed strings.

These are good suggestions, @pmolodo, and I'll note that the error reporting in generateshader should be improved by the recent merge of #1160.

Thanks for this original report, @pmolodo, and I believe there have been enough refinements to our Python tests that it makes sense to close this out, with additional requests for improvements being made in new GitHub Issues.


Reconcile() Error in ServiceDNS Controller is not logged. Document requirements for clusters for using ServiceDNS

What happened:
My example federatedservice with servicedns doesn't get any status updates and thus not creating any dns records. Track down see slack thread. The initial error is basically issue #1031 - the resource will not be processed - which might be reasonable. But this requirement is nowhere documented and additionally, because the error in reconcile is nowhere logged - I was basically blind of the cause - and I was unable to track down the issue without looking into the code and adding some debug output.
$ kubectl -n kube-federation-system logs kubefed-controller-manager-57b8cdbc95-9qft7 | grep "does not have Region or Zones Attributes"
<nothing>

@@ -305,9 +308,11 @@ func (c *Controller) reconcile(qualifiedName util.QualifiedName) util.Reconcilia
        // Iterate through all ready clusters and aggregate the service status for the key
        for _, cluster := range clusters {
                if cluster.Status.Region == nil || *cluster.Status.Region == "" || len(cluster.Status.Zones) == 0 {
+                       klog.Warningf("DEBUG: cluster.Status is not satisfied! Region: %v, Zones: %v", *cluster.Status.Region, cluster.Status.Zones)
                        runtime.HandleError(errors.Wrapf(err, "Cluster %q does not have Region or Zones Attributes", cluster.Name))
                        return util.StatusError
                }
+               klog.Warningf("DEBUG: cluster.Status is satisfied!")
                clusterDNS := dnsv1a1.ClusterDNS{
                        Cluster: cluster.Name,
                        Region:  *cluster.Status.Region,

W0816 14:43:30.090594       1 controller.go:301] DEBUG: c.serviceInformer.GetReadyClusters(): [0xc0003381a0 0xc000338000], <nil>
W0816 14:43:30.090698       1 controller.go:311] DEBUG: cluster.Status is not satisfied! Region: , Zones: []

# $ kubectl get kubefedclusters.core.kubefed.io -n kube-federation-system cluster1 -o json | jq -r '.status'
{
  "conditions": [
    {
      "lastProbeTime": "2019-08-16T15:14:06Z",
      "lastTransitionTime": "2019-08-16T14:43:18Z",
      "message": "/healthz responded with ok",
      "reason": "ClusterReady",
      "status": "True",
      "type": "Ready"
    }
  ],
  "region": ""
}

What you expected to happen:

The error thrown in the controller is actually output somewhere
The requirement for Cluster Region and Zone is documented and there are some example commands to validate prerequisites. (and/or kubefedctl join has this check too).

How to reproduce it (as minimally and precisely as possible):

setup the clusters with kubeadm (they won't have any region or zone info)
follow the user guide for multicluster service dns
check the status of your servicednsrecord - it will stay empty

Anything else we need to know?:
Nodes need to be labeled with failure-domain.beta.kubernetes.io/region and failure-domain.beta.kubernetes.io/zone, see Kubernetes documentation
Environment:

Kubernetes version (use kubectl version): 1.15.1
KubeFed version: canary (v0.1.0-rc5-36-g96ea200e-dirty)
Scope of installation (namespaced or cluster) cluster
Others

/kind bug

I had the exact same issue.
Would be great to have this documented!


Only one computer at a time?

Does this only work for one computer at a time, or does it also work for multiple?

No it works for any amount, the miners are all "decentralized" meaning that they all only connect only to the pool and never to each other.

So im using ethermine and I am trying to connect 2 pcs but only one is showing up

If you use the same worker name in both then they will just combine under the same worker name (so it will show their hashrates combined). You can enter {COMPUTERNAME} into the "Worker Name" field and it will use the computers name as the worker name.

ok, thanks sm


[T5A2][W11-B4] Ong Heng Le

@initialshl
Some comments added. Please ack & close the PR after reading comments.


BUG: Fix typo on check_frame_type

check_frame_typ → check_frame_type
check_frame_typ does not appear in the parameters, I think this is most likely to be a typo.
https://pandas.pydata.org/docs/reference/api/pandas.testing.assert_frame_equal.html
Currently the type hint incorrectly produces this error in mypy:
error: Unexpected keyword argument "check_frame_type" for "assert_frame_equal"; did you mean "check_frame_typ"?

Type hint added recently in:
https://github.com/pandas-dev/pandas-stubs/pull/78/files


⚠ SolarOscp has degraded performance

In 298990a, SolarOscp ($SOLAROSCP_URL) experienced degraded performance:

HTTP code: 200
Response time: 293 ms

Resolved: SolarOscp performance has improved in 222ba1b after 9 minutes.


RTL languages support?

It would be great to see RTL languages (Arabic, Hebrew etc.) support in MDL.
The official MD specs don't clarify on this either, but it will be a valuable feature for the web.

+1

+1

+1

+1

Ok, so the naive approach of just adding direction: rtl; obviously didn't work (had to give it a try :blush: ).
I'll try to build a simple example page with all elements in it (maybe just clone the getmdl.io site), and map all the places where rtl fixes should be inserted.

RTL support isn't something that can be boiled down to a few quick classes. We need to do research to make sure RTL fits into each component fluently and that we have a structure in place to continue supporting it with future updates.

@Garbee Fair enough. Let me know if there's anything I can help you with regarding this, I'm a native Hebrew speaker.

We will be updating this issue with information once we have some. Right now I simply tagged so it is categorized (not lost hopefully!) and the team can discuss further how this should get handled.

+1

:like:

just adding direction: rtl; obviously didn't work

RTL support isn't something that can be boiled down to a few quick classes.

What about some kind of logic where if the direction is ltr or rtl, then the other applicable selectors and properties would have their values set accordingly. Then, localizers would only need to indicate whether their local language is lrt or rtl, and the rest would be handled programmically? It may need some alpha and beta testers in rtl languages to catch everything.
Another possibility might be a supplemental rtl stylesheet that would load last and override the applicable ltr settings. It probably wouldn't be very big.

For bootstrap there is a rtl CSS file which can be loaded last and worked well in practice... In combination with flow layouts out should be a little easier still..
-----Original Message-----
From: "Inner Peace 0"<EMAIL_ADDRESS>Sent: 18.07.2015 01:24
To: "google/material-design-lite"<EMAIL_ADDRESS>Cc: "matthiasg"<EMAIL_ADDRESS>Subject: Re: [material-design-lite] RTL languages support? (#783)
just adding direction: rtl; obviously didn't work
RTL support isn't something that can be boiled down to a few quick classes.
What about some kind of logic where if the direction is ltr or rtl, then the other applicable selectors and properties would have their values set accordingly. Then, localizers would only need to indicate whether their local language is lrt or rtl, and the rest would be handled programmically? It may need some alpha and beta testers in rtl languages to catch everything.
Another possibility might be a supplemental rtl stylesheet that would load last and override the applicable ltr settings. It probably wouldn't be very big.
—
Reply to this email directly or view it on GitHub.

RTL design framework must be as core of framework. using less or sass it's must be a variable. patch of framework it's just ugly way. i guess the best way. Persian, Arabic and other languages need RTL

Does anyone have any opinions on tools like CSS Flip?
https://github.com/twitter/css-flip
Only played with it a little bit, but it seemed to work pretty well.

I think this way is better #1518
We start to fix these problems here

I'm working on rtl layouts more than 10 years on many project
And we have many research about it
I don`t use css flipping anymore because

As a rtl native user We hate flip all layout for example in android or gmail or etc. we usually prefer to use english version because of that.
In many case we want combined layout in our website and we prefer to use dir attribute for exception layout in some section
As a developer we prefer to change and develop in single project for all langs not separate css and layout file for rtl users

For example as a user I want to support rtl writing in google keep not flip all the website
Thank you in advance

Thanks for your input, @AliMD. As I said, we are still working on this and no final decisions have been made :)

Thank you, can I help you on it?
On Wed, Sep 9, 2015, 5:59 PM Surma<EMAIL_ADDRESS>wrote:

Thanks for your input, @AliMD https://github.com/AliMD. As I said, we
are still working on this and no final decisions have been made :)
—
Reply to this email directly or view it on GitHub
https://github.com/google/material-design-lite/issues/783#issuecomment-138908985
.

as @addyosmani said in https://github.com/google/web-starter-kit/issues/181

After spending a few weeks investigating RTL and i18n/l10n for our other project Material Design Lite (getmdl.io) ...

@addyosmani @surma @gauntface
Whats news ?
Could you please make a separate branch for RTL support and share your working result then we can work on it as a separate milestone and you can merge it to master when its ready to use.
As I said before I'm RTL native and I'll do my best.
Thank you in advance.

Closing as we are addressing this incrementally within all of our v2 components.


How can I read localStorage in test?

I want to check localStorage in test how Can I do that?

Am I able to access the window object?

How can run this with Headless

Thanks

Hello uttarwarsandesh33, your questions have little to do with this package and are answers are eaisly found on google, but let me help you:

API doesn't provide a way to directly read/write the local storage, but it can be done with execute_script:
let value = await driver.executeScript("return window.localStorage.getItem(arguments[0]);", key)
or
driver.executeScript("window.localStorage.setItem(arguments[0], arguments[1]);", key, value)

The same way as above - by manipulating it with executeScript.

Due to many possible configurations the best way would be to create customDriver.js file in your home directory:

'use strict';
var { Builder } = require('selenium-webdriver');

/**
 * Creates a Selenium WebDriver using Selenium grid with Chrome as the browser
 * @returns {ThenableWebDriver} Selenium web driver
 */
module.exports = function() {

const screen = {
  width: 640,
  height: 480
};

let driver = new Builder()
    .forBrowser('chrome')
    .setChromeOptions(new chrome.Options().headless().windowSize(screen))
    .setFirefoxOptions(new firefox.Options().headless().windowSize(screen))
    .build();
}

and run it with:
node ./node_modules/selenium-cucumber-es6/index.js -s ./step-definitions -b customDriver.js

getting this error while using
let value = await driver.executeScript("return window.localStorage.getItem(arguments[0]);", key)
JavascriptError: SecurityError: The operation is insecure.
at Object.throwDecodedError


[SPARK-19320][MESOS] Allow guaranteed amount of GPU to be used when launching jobs

Reference PR#23
What changes were proposed in this pull request?
Currently, Spark only allows specifying overall GPU resources as an upper limit, this adds a new conf parameter to allow specifying a hard limit on the number of GPUs for each executor while still respecting the overall GPU resource constraint.
Does this PR introduce any user-facing change?
No
How was this patch tested?

Unit Test Added

This PR is just for reference, so final and effective change has been moved to #69.


Configure Azure Pipelines

This configuration builds the application and produces builds for both Debug and Release configurations.

 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: pranavtiwari09 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

This configuration builds the application and produces builds for both Debug and Release configurations.

NOne.


should we add a contributors page to highlight community contributors to the project?

https://neurodesk.github.io/developers/contributors/

Looking good. Should we move this to the documentation section. Probably weighted to the bottom

Yes, that's a good idea, too - but waite for now on moving it, otherwise the link I sent in the email will be invalid :)

Looks great, thanks Steffen!


[SDL 0274] Add preferred FPS to VideoStreamingCapability

Proposal: Add preferred FPS to VideoStreamingCapability

This proposal extends SDL video streaming feature by adding preferred FPS to VideoStreamingCapability, so that frame rate of video streaming can be adjusted per OEM.

Review: https://github.com/smartdevicelink/sdl_evolution/issues/913
Steering Committee Decision:

The Steering Committee voted to accept this proposal with revisions.  The revisions will include the items listed in this comment from the author.

The proposal .md file was updated to reflect these revisions on 2/10/2020.

This implementation issue is actually covered by PR for SDL 0292 at smartdevicelink/sdl_java_suite#1389. The PR for SDL 0292 actually includes prefferred FPS feature.


Add Toasted Marshmallow Benchmark

https://github.com/lyft/toasted-marshmallow
As said in the README of this project :
Toasted Marshmallow implements a JIT for marshmallow that speeds up
dumping objects 10-25X (depending on your schema). Toasted Marshmallow
allows you to have the great API that Marshmallow provides without
having to sacrifice performance!

Awesome, thanks.


Add eScholarship link

If a citation has a link to a eScholarship entry, add this to the RIS export. We need to decide which field.

Merged with #258


Add Maildev

Now this is a bit different service from others, since it's a development tool to be used typically at localhost.
http://djfarrelly.github.io/MailDev/
https://github.com/djfarrelly/MailDev#configure-your-project
Thoughts on adding this here?

I'm not really happy with this as anyone can use localhost ports as they wish to. I merged the PR because I do see some value in it, mostly when you want to keep the same configuration structure in dev and production, where in dev you have service=maildev and in production you have, for example, service=mailgun.

Thanks, yep, I also have mixed feelings about this. :-) That's why I wanted to hear your opinion.

where in dev you have service=maildev and in production you have, for example, service=mailgun.

Precisely my situation.


Error: Downloaded File is corrupt.

Hi!
And Happy New Year.
I have a problem with the launcher. I get an error about a corrupted file.

=== 01/09/2020 19:02:48 ===
...Retrieving version info...
...Checking if files are up-to-date...
Preferred patch method InstallerPatch: 44.29MB
Preferred patch method RepairPatch: 44.45MB
Applying installer patch
...Calculating new or changed files...
...Downloading patch: Installer.patch...
CorruptDownloadError: ERROR: downloaded file Installer.patch is corrupt
Applying repair patch
...Calculating new or changed files...
...Calculating files to download...
...Downloading 20 new or updated file(s)...
...Updating 20 file(s)...
1/20 Downloading: chrome_100_percent.pak (0.15MB)
CorruptDownloadError: ERROR: downloaded file chrome_100_percent.pak is corrupt
ERROR: downloaded file chrome_100_percent.pak is corrupt

Files are at this adress, with nginx for web server: http://play.exoway.net/oxem-quest/
I have try to re-generate and re-upload the VersionInfo but unsuccessfully.
The client use NET Core 3.1 and WPF for the frontend in x64 bits. (Not in "Any CPU")

Your BaseDownloadURL is missing a / at the end of the url (just before </BaseDownloadURL>).


Optimize multi delete of multi executor

What this PR does:
Which issue(s) this PR fixes:

Fixes #483
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Codecov Report

Merging #505 (d21324d) into master (39d8977) will decrease coverage by 0.40%.
The diff coverage is 22.79%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master     #505      +/-   ##
==========================================
- Coverage   39.05%   38.65%   -0.40%
==========================================
  Files         152      152
  Lines       10218    10246      +28
==========================================
- Hits         3991     3961      -30
- Misses       5905     5959      +54
- Partials      322      326       +4

Impacted Files
Coverage Δ

pkg/datasource/sql/exec/at/multi_executor.go
0.00% <0.00%> (ø)

pkg/datasource/sql/tx.go
43.75% <0.00%> (ø)

pkg/datasource/sql/types/executor.go
0.00% <0.00%> (ø)

...kg/datasource/sql/exec/at/multi_delete_executor.go
29.68% <44.11%> (-15.77%)
:arrow_down:

...atasource/sql/exec/at/insert_on_update_executor.go
38.41% <100.00%> (ø)

pkg/datasource/sql/exec/at/base_executor.go
37.94% <0.00%> (-1.19%)
:arrow_down:

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


show warning for supported and unsupported images when doing odo create/push

[kind/Enhancement]

Which functionality do you think we should update/improve?
We need to add a warning when the users tries to create or push the component if the component is fully supported or not. full support would mean debugger support and hot reload and more advanced features.
Why is this needed?
To set expectations of the user
output -
 $ odo create nginx
 ✓  Validating component [90ms]
 Warning:  nginx is not fully supported by odo, and it is not guaranteed to work.
           Advanced commands like `odo debug` are not going to work.
 Please use `odo push` command to create the component with source deployed

considering showing warning in the odo push section as odo create also has interactive mode and showing the warning while the user goes through that might not look that great


Links to files in Literate programming doc are broken.

They all return "404 Not Found".
http://tpetricek.github.io/FSharp.Formatting/literate.html

This is now fixed.


Fix minor typo in relay guide docs

Hello strawberry team!
This pull request fixes a very very minor typo in relay.mdx docs.
Thanks for your review in advance!
Description
Before
It can be defined **in in** the `Query` objects in 4 ways:

After
It can be defined **in** the `Query` objects in 4 ways:

Types of Changes

[ ] Core
[ ] Bugfix
[ ] New feature
[ ] Enhancement/optimization
[x] Documentation

Issues Fixed or Closed by This PR

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] I have tested the changes and verified that they work and don't break anything (as well as I can manage).

Summary by Sourcery
Fix a minor typo in the relay guide documentation.
Documentation:

Correct a minor typo in the relay guide documentation, changing 'in in' to 'in'.

Thanks for contributing to Strawberry! 🎉 You've been invited to join
the Strawberry GraphQL organisation 😊
You can also request a free sticker by filling this form: https://forms.gle/dmnfQUPoY5gZbVT67
And don't forget to join our discord server: https://strawberry.rocks/discord 🔥


Invalid fee computing???

It seems you forgot about priority multiplier when computing newNeededFee
https://github.com/mymonero/mymonero-core-js/blob/b4b52b63d5b2b8b25c105ddf925afb86d6414350/monero_utils/monero_sendingFunds_utils.js#L348
so it should be like
var newNeededFee = new JSBigInt(Math.ceil(monero_utils.estimateRctSize(usingOuts.length, mixin, 2) / 1024)).multiply(feePerKB_JSBigInt).multiply(fee_multiplier_for_priority(simple_priority))

Yes, looks to me like you're right. I missed those.

Thanks @SergeyAnkarenko


What is the real size of the files?

http://gianlucaguarini.github.io/jquery.html5loader/examples/demo-circular.html
Just like this demo. I checked the json file and found that file size is not equal bytes.  How to exchange that difference?
http://gianlucaguarini.github.io/jquery.html5loader/src/files.json

It could be that the size of the demo files was changed during the several versions, you can send a pull request updating the size.


Add query_id as optional to SQLQueryStatus proto + class

resolves #
docs dbt-labs/docs.getdbt.com/#

Problem

Solution

Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have run this code in development, and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc.) or this PR has already received feedback and approval from Product or DX

closing as duplicate of #342


integration test TestBatchGatewayNameDeployment skipped with no available nodes found

trying to run this integration test on devnet but skipped with couldn't find any available nodes with filters:
var nodeFilter = types.NodeFilter{
	Status:  &statusUp,
	FreeSRU: convertGBToBytes(5),
	FreeHRU: convertGBToBytes(2),
	FreeMRU: convertGBToBytes(1),
	FarmIDs: []uint64{1},
	Rented:  &falseVal,
	Domain:  &trueVal,
}

the test needs two nodes to be able to run

It's fine, mark the tests as skipped with this issue ticket

Now there are two nodes with gateway, the resources shouldn't be a problem anymore

Verification

It is working now 👍🏻

2024/01/16 11:10:27 network: dev
11:10AM INF starting peer session=tf-784793 twin=81
--- PASS: TestBatchGatewayNameDeployment (98.02s)
PASS
ok      github.com/threefoldtech/tfgrid-sdk-go/grid-client/integration_tests    98.032s


Add 1lowbelchatowie

https://lo1.pol.pl/

@XE-Ksenon Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

Hello @philipto,

Official website URL: https://lo1.pol.pl/
School address: ul. 1 Maja 6, 97-400 Bełchatów, Poland
IT course URL: https://lo1.pol.pl/lib/ckm0x5/REKRUTACJA-2023-2024-poprawione-lgaygfm3.jpg
Proof of domain: The screenshot from my microsoft account. You can see organisation name and the domain. I think it is enough.

@XE-Ksenon Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Revise section on Richards growth function

In light of the findings of Arni and Ian analyzing the Richards growth function in Stock Synthesis (draft vignette) and a related question by Larry Jacobson on the Gompertz growth function (forum message), I would like to propose a revised text for the Richards growth function in the User Manual.
This pull request makes the following changes:

Refer to "Richards" rather than "Schnute/Richards" growth function, to simplify and acknowledge that the Schnute parametrization (1981, Eq. 15) produces the same curves as other Richards parametrizations. Also to prevent confusion with the five-parameter Schnute-Richards (1990) growth function, which is quite different.

Replace the rather old and vague text that "when this function was first introduced, it was required that the A0 parameter be set to 0.0" with similar guidance that "when A1 is greater than the youngest age in the model, some combinations of Richards growth parameters can lead to undefined (NaN) predicted length for the younger ages".

No longer refer to b<0 as the "Richards" model and b>0 as the "generalized von Bertalanffy" model. In modern parlance, all values of b are the Richards model. The models referred to as Richards growth models by Tjorve and Tjorve (2010) and the FSA package produce the same curves as the Schnute (1981, Eq. 15) function that is used in Stock Synthesis.

Guide the user that b should not be set to precisely 0 and that to use the Gompertz growth function, the user can fix the Richards shape parameter at a small value such as b=0.0001. The main Richards equation still applies and there is no real need for showing the equivalent Schnute (1981, Eq. 16) case 2 (Gompertz) function that is not implemented in Stock Synthesis.

Omit the somewhat unclear guidance that it might be necessary to constrain b to "different ranges". In practice, b will probably be somewhere between -3 and +6, as shown by the corresponding growth curves in the vignette.

Last, but not least, mention that the SS3 website includes a vignette providing further technical insights for using the Richards growth model in Stock Synthesis.

Thanks much Arni for this excellent contribution.
Rick


Typo in your main screen

Hello,
I can see a typo over there, at least, I believe it's a typo. :wink:
 =====================
    Report Creation
 =====================
Creating tarball and cleaning the thrash.
Script execution completed.

A common metalhead typo...Thanks for noticing, fixed 👍


Fix get worker node logic for Kubelet config e2e

Issue #, if available:
Description of changes:
Fix get worker node logic for Kubelet config e2e. Tinkerbell tests had a different naming for nodes which caused failures for Kubelet config e2e tests.
Testing (if applicable):

e2e

Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/cherrypick release-0.20


Add object subscripting to links.

Hey @getaaron - before we release this to 0.2.1, could you sign our CLA? Sorry for the inconvenience but it's a necessity when maintaining open source code as a company :)
https://docs.google.com/forms/d/1WHFWnzz5OL8c9o49KgpgyERzQUQajX5p8_80YLCghds/viewform?usp=send_form

@chrismaddern Done.

Awesome! Thanks @getaaron!
I actually love this now :D

@chrismaddern  You also need to reflect the change in DPLDeepLink.h. The comment still describes the old behavior.

Great catch! Thanks!

Glad you came around haha :)


Explicit public visibility on methods

Awesome, thanks @dmx374!
I rebased and merged manually (b395b06).

if we take into account the solidity style-guideline (http://solidity.readthedocs.io/en/develop/style-guide.html#function-declaration)
"The visibility modifiers for a function should come before any custom modifiers." but that's just a detail


Raiden-cli gets gevent timeout

Description
The current raiden-cli version is fully compliant with the raiden APIs and protocol.
While running the SP with the raiden-cli these steps are executed which enables raiden-cli to run with the SP.
The SP invariably faces the gevent.timeout.Timeout: 2000 seconds after any scenario run
Expected Behavior
The scenario player should be able to run the scenarios with raiden-cli which is fully API compliant with the raiden protocol and the python client.
The associated issue keeping track of SP runs for raiden cli in the light-client repo is
https://github.com/raiden-network/light-client/issues/2091

From the traceback it looks like the light client nodes don't properly start:
2020-09-04 09:43:03.971319 [debug    ] Waiting for the REST APIs      [scenario_player.runner] greenlet_name=orchestration
2020-09-04 10:16:23.997188 [warning  ] Process did not exit cleanly   [raiden.utils.nursery] communicate=(None, None) exit_code=-2
2020-09-04 10:16:23.998305 [warning  ] Process did not exit cleanly   [raiden.utils.nursery] communicate=(None, None) exit_code=-2
2020-09-04 10:16:23.999152 [warning  ] Process did not exit cleanly   [raiden.utils.nursery] communicate=(None, None) exit_code=-2
2020-09-04 10:16:23.999901 [warning  ] Process did not exit cleanly   [raiden.utils.nursery] communicate=(None, None) exit_code=-2
2020-09-04 10:16:24.000564 [warning  ] Process did not exit cleanly   [raiden.utils.nursery] communicate=(None, None) exit_code=-2

The 2000 s timeout is the max waiting time for the nodes to become available.
I'd suggest to check the logs of the light client nodes from this run.

Will investigate more from the raiden-cli side

Seems to be related to webRTC in the light client.


Management IDs not retrieved

Despite being able to successfully retrieve a bearer token and determine the serial numbers of Macs in a given smart or static group, the script is currently unable to parse the Management IDs of Macs and therefore is unable to successfully issue Recovery Lock commands.
I'm working independently to debug and will share my findings, but you may be able to solve more quickly :)

I believe the problem has to do with returning raw JSON via plutil on lines 418 and 445.
If I add some debug echoing to see the value of the $mid variable before it is used in command substitution to evaluate for error, we see the following response:
Property List error: Unexpected character { at line 1 / JSON error: Garbage at end around line 6770, column 1
Try replacing lines 418 and 445 with this:
mid=$(curl -s $url/api/v1/computers-inventory-detail/$id -H accept: "application/json" -H "Authorization: Bearer $token" | jq -r '.general.managementId')

Interesting! I can replace it, but in my testing is the plutil is getting an error it's generally because there weren't any computer records returned. (The same would happen with jq -r.)


Added Solutions to Leetcode 443

Related Issue
Closes #1102
Description
This PR adds the solution to leetcode problem 443 - (String Compression)
Type of PR

[ ] Bug fix
[ ] Feature enhancement
[X] Documentation update
[ ] Security enhancement
[ ] Other (specify): _______________

Screenshots / Videos (if applicable)

Checklist

[X] I have performed a self-review of my code.
[X] I have read and followed the Contribution Guidelines.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] I have followed the code style guidelines of this project.
[X] I have checked for any existing open issues that my pull request may address.
[X] I have ensured that my changes do not break any existing functionality.
[X] Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently.
[X] I have read the resources for guidance listed below.
[X] I have followed security best practices in my code changes.

Additional Context
N/A

@shreyash3087, you need to add something to this file to count its score on your leaderboard. Then, you can try it at the bottom.
---

Authors:

{['github_username'].map(username => (
 <Author key={username} username={username} />
))}

for your author profile in docs