"Self hosted" excalidraw exports SVG with non standard path

Hi, I'm the developer of the IntelliJ plugin that integrates Excalidraw.
I recently upgraded excalidraw, I noticed that SVG files have now the "wrong" URL for some assets like the fonts.
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0<PHONE_NUMBER>762792 296" width="875.8067673525584" height="592">
    ...
    <defs>
      <style class="style-fonts">
        @font-face {
          font-family: "Virgil";
-         src: url("https://excalidraw.com/Virgil.woff2");
+         src: url("https://excalidraw-jetbrains-plugin//dist/excalidraw-assets/Virgil.woff2");
        }
        @font-face {
          font-family: "Cascadia";
-         src: url("https://excalidraw.com/Cascadia.woff2");
+         src: url("https://excalidraw-jetbrains-plugin//dist/excalidraw-assets/Cascadia.woff2");
        }
      </style>

    </defs>
    ...
  </svg>

It appears this is related to this change.

https://github.com/excalidraw/excalidraw/issues/5063

I am actually interested by the opposite. In order to interface the webapp with IntelliJ (and to work offline), Excalidraw is self hosted in the IJ process.
However I would like the SVG files to keep the standard assets path, i.e. the one that goes to excalidraw.com. I looked at the change and I'm not sure it is possible to work around it.
I do understand the original issue, but maybe there should be an option to use the standard paths ?

It would be great to have a way to define an own url prefix when an svg file is exported.

For now I'm working around this by patching the SVG string myself. But this is less than optimal.

Even better might be to also allow a locally-installed font:
src: url("https://my-url/Cascadia.woff2"),  local("Cascadia"), url("https://excalidraw.com/Cascadia.woff2");

Hi there, I would like some help regarding this ? This could help the VSCode extension and the JetBrains plugin, which are self-hosted, but still living under the Excalidraw name (as opposed to an hosted app hosted on a different website living under a different name).
Nerd snipping @dwelle :)

@Mrazator @dwelle now that the new font picker (and font embedding) has been published in https://github.com/excalidraw/excalidraw/pull/8012, how easy would it be to fix font paths for "self-hosted" Excalidraw?
Specifically, I mean the usage of Excalidraw in the Excalidraw VS Code extension by @pomdtr:

https://github.com/excalidraw/excalidraw-vscode/issues/100

how easy would it be to fix font paths for "self-hosted" Excalidraw?

Since the fonts are now inlined as dataurl, this and related issues with incorrect font paths in SVGs should disappear. Recently we've also shipped glyph subsetting (https://github.com/excalidraw/excalidraw/issues/8300), which keeps the data URL as small as possible (containing only glyphs for the used codepoints).

Since the fonts are now inlined as dataurl, this and related issues with incorrect font paths in SVGs should disappear.
Recently we've also shipped glyph subsetting (https://github.com/excalidraw/excalidraw/issues/8300), which keeps the data URL as small as possible (containing only glyphs for the used codepoints).

So if I'm reading this correctly, the next Excalidraw release that can we can package in our plugins (either for VSCode, JetBrains, or else) will use the window.EXCALIDRAW_ASSET_PATH to use "plugin local" fonts, but the saved files will use a base 64 url like this ?
@font-face {
  font-family: "Cascadia";
  src: url(data:font/opentype; base64, [Cascadia glyphs in base64]);
}

Yup

I tried to pull the changes in the VS Code extension, but I encountered a bunch of issues:
https://github.com/excalidraw/excalidraw-vscode/issues/100#issuecomment-2383705504
Might be worth taking a look

I'm waiting on the next excalidraw release, latest was 0.17.3. I know I may miss on new features, but I'm not in capacity to handle any trunk or perform a snapshot release myself.

Alright, closing as completed. Thanks!


Roadmap to go to Pilot - Candidate - Stable maturity

Hi do you have any roadmap for the maturity state ?
By swisstopo in Switzerland we are interested to implement this extension, but only for the file:checksum field. But we would like to avoid any breaking change regarding this field.
Best regards.
Brice

The maturity of this extension is Candidate now.


Bring back all wildcards to "Armed" event

Checklist

[x ] I checked for similar existing requests (both open and closed) before posting.
[x ] My request is generic, other users may benefit from it too.

Kind of similar to #845 but not really.
Proposal
Typing the wildcard manually used to work, now it doesnt. It's okay if you want the wildcard use to be streamlined in the UI, but please consider bringing it back to YAML.

Additional info
I have sensors that are "Allow to be open initially", they dont appear as bypassed, and I dont want them to stop the alarm from arming. I just want to know about them.

I also find this request important. Also very good is adding wildcards UI or manually also for "Exit delay started" as I want to know which sensors are open and close them in the exit delay time.


Manipulation of associations without persisting

Tested on Ecto 2.0.2, will test on master later.
I would like to test manipulation of associations without persisting it in the database. If I insert item first, and then run the test, it does work, however as specified below it does error. I do not know if this is correct behaviour for some technical reason or it's a bug. Anyway the error message is very cryptic for me.
defmodule EctoAssociationsManipulationTest do
  use ExUnit.Case, async: true

  defmodule User do
    use Ecto.Schema
    import Ecto.Changeset

    schema "users" do
    end

    def changeset(struct, params \\ %{}) do
     struct
     |> cast(params, [])
    end
  end

  defmodule ItemUser do
    use Ecto.Schema
    import Ecto.Changeset

    schema "item_users" do
      belongs_to :item, Item
      belongs_to :user, User
    end

    def changeset(struct, params \\ %{}) do
      struct
      |> cast(params, ["user_id"])
    end
  end

  defmodule Item do
    use Ecto.Schema
    import Ecto.Changeset

    schema "items" do
      has_many :item_users, ItemUser
    end

    def changeset(struct, params \\ %{}) do
      struct
      |> cast(params, [])
    end
  end

  test "put_assoc should work correctly" do
    item = %Item{
      item_users: [%ItemUser{user_id: 1}]
    }

    item_users =
      Item.changeset(item)
      |> Ecto.Changeset.put_assoc(:item_users, [%{user_id: 2}])
      |> Ecto.Changeset.get_field(:item_users)

    assert item_users == [%ItemUser{user_id: 2}]
  end
end

Yields:
  1) test put_assoc should work correctly (EctoAssociationsManipulationTest)
     test/models/ecto_associations_manipulation_test.exs:46
     ** (RuntimeError) cannot insert related %EctoAssoicationsManipulationTest.ItemUser{__meta__: #Ecto.Schema.Metadata<:built, "item_users">, id: nil, item: #Ecto.Association.NotLoaded<association :item is not loaded>, item_id: nil, user: #Ecto.Association.NotLoaded<association :user is not loaded>, user_id: 1} because it is already associated to the given struct
     stacktrace:
       (ecto) lib/ecto/changeset/relation.ex:320: Ecto.Changeset.Relation.check_action!/2
       (ecto) lib/ecto/changeset/relation.ex:141: Ecto.Changeset.Relation.do_change/4
       (ecto) lib/ecto/changeset/relation.ex:284: Ecto.Changeset.Relation.map_changes/7
       (ecto) lib/ecto/changeset.ex:891: Ecto.Changeset.put_relation/5
       test/models/ecto_associations_manipulation_test.exs:53: (test)

@jfrolich I tried reproducing on master, but failed. Could you try with master?

Yes, will do today.

Ok tested with master. Still same error. By the way I fixed a typo in my assert code but anyway it does not even reach the assert because of the error.
Did you test with the same code?

To be extra clear, it is this line that is causing the error:
      |> Ecto.Changeset.put_assoc(:item_users, [%{user_id: 2}])

So changing an association that has not persisted before, errors. If we do persist first and then run put_assoc it works as expected.
The use case for this to work is:

we might have a postprocessing on the associations
we might have a default state when creating a new item, that can be overridden by params in the changeset.

I improved the test case to show that with the metadata :loaded instead of :built the error occurs. When you first insert the item user the metadata will be :loaded instead of :built as the only difference.

@jfrolich thank you. I will look at this again later today.

Any progress yet? Anywhere I can help out?


[AMBARI-24350] UI service configs page hangs.

What changes were proposed in this pull request?
Resolved service configs loading issues.
How was this patch tested?
19979 passing (16s)
46 pending

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3266/
Test FAILed.
Test FAILured.


WIP: Add gfile api shim to remove tensorflow dependency for basic IO.

WIP for review: add very simple native shims to remove tensorflow.io.gfile dependency for checkpoint writing.
(Still need to add tests to have checkpoint code run with and without shim.)

Bump. We would like to use flax checkpointing in NetKet to avoid rewriting it ourselves, but we don't want to require Tensorflow so we would really be happy if this got merged.

What do other libraries do to get extendible file IO? e.g.: to support the standard cloud providers

In NetKet we don't really do that.
Personally this is a very 'extra' feature, so I think it makes sense to require some extra package to be installed to support cloud providers.
what you could do is check if the path .startswith("**://) where ** is not file, and if that's the case require tensor flow or any other library to be installed?

@jheek since this was approved, can it be merged?

Would love to remove TensorFlow as a dependency. Thanks @PhilipVinc for working on this!

This PR is based on flax 0.4.1 and we have some conflicts since Apr 2022. @levskaya Would you be available to continue working on this and rebase? If busy, I can provide some help or take it over.

Taken over by #2586


Error on default swiss events

Creating a swiss tournament with default values and then later starting the event will throw the below error. I think the problem is due to a spelling mistake in Challonge.Objects.Enum.cs.
The value for TieBreak.MedianBucholz is "median bucholz" - but Buchholz has two h's in it (https://en.wikipedia.org/wiki/Buchholz_system), so the value coming back from Challonge can't match an enum.

Hey David, thanks for raising this issue and providing a fix. I'll make the suggested change and add a test within the next few days.

Thanks for a great API wrapper, I use it heavily (https://afifthofgaming.com/). My users are requesting Swiss events so here we are!

Thanks for the PR and apologies for not getting to it myself! The fixed version (3.0.1) has been uploaded to NuGet and should be available soon. Glad it's been mostly useful for you otherwise.


Getting error The dependency Elmah.Io.Framework.Logging 1.0.18-beta does not support framework DNXCore,Version=v5.0.

Getting the following error for DNX 4.5.1 and DNX 5.0
NU1002 The dependency Elmah.Io.Framework.Logging 1.0.18-beta in project xyz does not support framework DNX,Version=v4.5.1.
NU1002 The dependency Elmah.Io.Framework.Logging 1.0.18-beta in project xyz does not support framework DNXCore,Version=v5.0.
I have upgraded to Asp.Net Beta8.  Not sure if there is a check in the elmah code looking for a specific version or earlier.

We've just started playing around with this. Elmah.Io.Framework.Logging works from a console app at the moment. We are working on a version supporting DNX 4.5.1 at the moment, but it requires some work. We would love some help if you're up for it?

Hmm, not sure my level of confidence in being helpful.  Will take a peek.


[Question] upsert support

Hi!
Thank you for an excellent library.
I'm curios if upsert is supported and specifically if the Repo.insert!(changeset, on_conflict: :nothing) should be working?
Br
Mats

https://sqlite.org/lang_conflict.html instead of :nothing try :ignore

@sweco-semtne I'm going to close this since it has not had any movement.


First cut at unified-build split recipe with Qt support

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

Jinja2 variable references are suggested to take a {{<one space><variable name><one space>}} form. See lines [159, 161].

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

I built and tested this locally on Linux, it looks good to me!

OK, I've added some deps for the poppler-qt build hash. @xhochy how does this look to you?

Well, I think this is about as good as this PR is going to get. Let's merge and see what happens downstream!


COMP: fix warning triggered by setjmp

The warning was triggered by GCC 7.4.1
warning: variable ‘num_comp’ might be clobbered by ‘longjmp’ or ‘vfork’
[-Wclobbered]
See
https://my.cdash.org/viewBuildError.php?type=1&buildid=2111692

PR Checklist

[x] No API changes were made (or the changes have been approved)
[x] No major design changes were made (or the changes have been approved)
[ ] Added test (or behavior not changed)
[ ] Updated API documentation (or API not changed)
[ ] Added license to new files (if any)
[ ] Added Python wrapping to new files (if any) as described in ITK Software Guide Section 9.5
[ ] Added ITK examples for all new major features (if any)

Refer to the ITK Software Guide for
further development details if necessary.

@issakomi Please review, I don't really understand this code... (I've never used setjmp).

I don't really understand this code... (I've never used setjmp).

I think the idea of volatile is to prevent writing variable to register, setjmp/longjmp (a kind of nonlocal goto) clobbers registers. Never using it is a good practice, IMHO, at least with C++.

Thanks for the explanation. I have added the const qualifier, as suggested.

Interesting! It seems to me that it might warn when a variable is declared before a setjmp, and this variable is then being used after the setjmp. Using C++ exceptions, constructors, destructors, and dynamic memory allocation in combination with low-level C setjmp calls might also be risky. 🤔  Anyway, I hope your volatile does the job, @SimonRit !

Anyway, I hope your volatile does the job, @SimonRit !

If getting rid of the warning is "the job", yes! Thanks for your comment.

Interesting that GCC 7 warns about num_comp and doesn't warn about nearby width and height. There is
const auto rowbytes = num_comp * width;
later. I believe that nothing bad can happen here, because that point is reached only once, if setjmp returns 0, otherwise the function exit. Theoretically jumping between setjmp and longjmp can happen many times, so the warnings make sense in some scenarios, by the 2nd or whatever jump num_comp could be clobbered.
#include <cstdio>
#include <csetjmp>

int main(int, char**)
{
  jmp_buf env;
  volatile int x = 0;
  if (setjmp(env))
  {
    ++x;
    if (x <= 5)
    {
      printf("%d\n", x);
    }
    else
    {
      printf("return point 1\n");
      return 0;
    }
  }
  longjmp(env, 1);
  printf("return point 2\n");
  return 0;
}

r@deb:~$ ./a.out
1
2
3
4
5
return point 1
r@deb:~$

If some compiler warns about height and width, they could be set const volatile too, IMHO.


6.0.0-beta.7 Change Log

Initial draft of the Beta.7 change log. Please review and leave comments.

Please fix the build failure as well.


XFA - Fix layout issues

PR #13554 is buggy, so this patch aims to fix bugs.
check if a component fits into its parent in taking into account the parent layout.
introduce method isSplittable for template nodes to know if a component can be splitted in case of overflow.

/botio test

Something is wrong on firefox-xfa_imm1295e-page3.

/botio test

/botio test

/botio test

/botio makeref


Erik the Outgolfer: Watch freewallet.org

Erik the Outgolfer requests the watch of the watch_keyword freewallet\.org. See the MS search here and the Stack Exchange search here.

freewallet\.org has been seen in 1 true positive, 2 false positives, and 0 NAAs.

I want to add these 6 posts as well, I haven't provided feedback since I did the batch report myself.

Coverage remained the same at 66.384% when pulling 4bf0d293a74cc772b5f02af5b22e98b45678d85d on auto-blacklist-1534438203 into bd10b4f4dbd189a3d447325d555b5352c0962bb4 on master.

!!/approve


Fix error when quitting a scene

After updating, I'm getting an error every time I debug a scene, when I quit() it complains that the tree is null.
This is the modified code I'm using to avoid the issue.

@ramokz It took some fiddling, turns out it only happens when nodes are in certain order. I was able to reproduce it here: error-reproduction.zip

Thanks for sharing the reproducible project, can replicate and see the issue now.
Think there's a more elegant solution where it checks whether if the scene tree still exists further down the stack, so it doesn't do a series of needless checks. More so if other things were to rely on the scene tree at some point between then and where the issue occurs.
Reckon a more ideal solution would be to just do a simple check and then return the function before it kicks off any more of the logic:
(Line 569 in phantom_camera_host.gd)
func _find_pcam_with_highest_priority() -> void:

  if not get_tree(): return

  # Rest of the function
  for pcam in _pcam_list:
    if not pcam.visible: continue # Prevents hidden PCams from becoming active
    if pcam.get_priority() > _active_pcam_priority:
      _assign_new_active_pcam(pcam)
      pcam.set_tween_skip(self, false)
      _active_pcam_missing = false

yeah, blocking it earlier is a better idea, since the scene is despawning anyways, no need to execute all the logic.
one thing though, using if not inside_tree(): (on self, so no arguments) seems to be slightly faster.
sorry for not being around earlier! thankfully i wasn't the only one with this issue.
thanks
note: switching the scene from a singleton seems  to workaround the issue altogether. but it's better to have the plugin fixed and have it work on every situation rather than hack a way through!

Yes, is_inside_tree works nicely and it's just one line, I've updated the branch.

Looks good, thanks all!


Switch to AppSrc instead of URIDecodeBin

On macOS the URIDecodeBin seems to ignore the system certificate store. I can't reproduce this on windows or linux, but for more control we should just fetch the track in Go and buffer it to gstreamer instead. See https://github.com/notedit/gst-go-demo/blob/master/appsrc/main.go for an example.

Had lots of trouble getting this working with the existing bindings, https://github.com/tinyzimmer/go-gst looks promising, might be able to do it with those bindings instead.

API-Wise https://github.com/tinyzimmer/go-gst looks way better, but I can't get it to build on windows with either msvc or mingw builds of gstreamer 1.18.4:
mingw:
# command-line-arguments
C:\Program Files\Go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgio-2.0
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgobject-2.0
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lglib-2.0
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lintl
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgstreamer-1.0
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgobject-2.0
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lglib-2.0
c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lintl
collect2.exe: error: ld returned 1 exit status


More binding vote on PR309

There was a vote on the call two weeks ago not to merge #309 , but in the interest of a more broader and better-documented consensus, we are asking implementers and spec editors to vote yay or nay and, if they like, add suggestions for how to [else] to move forward/address the use-case of PS-ignoring implementations if not merging.
Please vote by next week so we can move forward either way and think about next steps.
@csuwildcat  @brentzundel @rado0x54 @kimdhamilton @dtmcg @dwaite @decentralgabe @OR13 @wyc @David-Chadwick @nklomp

The pull request in question: https://github.com/decentralized-identity/presentation-exchange/pull/309
It would be smart to get arguments documented in github before attempting to resolve this further.

The thread on the PR is dominated by @csuwildcat and @David-Chadwick would you mind doing your best to give the "most generous" interpretations of each-others arguments?

In a nutshell my position is one of simplification of PE. Don't make it mandatory to implement Presentation Submissions. This is because PSs are not needed for the vast majority of transactions as the RP can determine which VC matches which input descriptor.  For those rare transactions where the returned VCs cannot deterministically be matched with the input descriptors, the RP can always send multiple requests so that each one is deterministic.

My perception is that PEX defines a data model as well as rules based on the data model for processing requests and responses. But as it does not define a transport, it does not get to define the rules by which a transport sends (or generates) those messages.
This is similar to how it uses JSON Path to specify the requirements for verifiable credentials, even when formats such as JSON-LD, CBOR-LD, VC-JWT, mDL, etc. do not actually work reliably with JSON Path. You have to get to predictably structured JSON for software to evaluate requirements, even if that JSON is nothing like what will be ultimately presented.
As such, it is inappropriate in PEX level to say that Presentation Submission is optional - it is required. On the flip side, PEX doesn't get to dictate that its Presentation Submission format is sent over the transport in a particular form. For example, presentation submission information may be added to the actual presentation, or may be omitted and generated dynamically if only one thing is being presented.
That latter example would be more interesting as a PR for PEX - what does a presentation submission need if only one credential was requested? Then transports can say they default to that (without sending bytes on wire) in that case.

My answer is a belabored, guilt-ridden "do not merge" but with much ♥
I believe I understand the intent behind #309, and agree with that intent, but not with the fix.
We've previously made progress towards layering/detangling this spec, and we knew it would be a windy, tortured path. I think there's another way to achieve this goal, but need to mull it over.
Unfortunately, the only way to describe my hesitations right now are from an imprecise, touchy-feely, design-aesthetic angle: "feels like a blunt hammer". I hope to articulate this more constructively soon.
(sorry to be late to this party. I will be able to attend meetings regulatory next week -- have had an ongoing conflict the last 2 months)

Do not merge. To me it is quite clear that the only valid response to a Presentation Definition wrapped in a request is a Presentation Submission.
I can see why one might want to implement half the spec, but it leaves open a great deal of uncertainty and puts an onus of processing difficulty on the verifier that is wholly unnecessary.

Apologies for the long response. Ive tried to keep it concise.
(TLDR dont merge)
Why I want the spec to specify the a required response.
It defines an output for the processing of a given input. Both of which are defined.

If you ignore the response you are ignoring a lot of the request.

It empowers the holder/wallet (SSI FTW)

The wallet gets to declare what it is submitting for what reason. It strips ambiguity & doest leave grey areas for verifiers to hold onto more data than they need to.
The reason for response descriptor map is to handle query responses of heterogeneous data types, which allows discrimination across the typing and instance data dimensions.
The worst case scenario would be if verifiers needed to infer the submission.

In this case if you don’t have the descriptor map the Verifier/RP need to have some inference logic to decide what is submitted for which request item in the request.
This may be different fro each verifier & lead to non-determinism from the POV of the wallet, pushing wallets to be more promiscuous with sharing or forcing them to be aware of Verifier implementation details.

Simplifies Verifier/RP logic
- No inference engine/mechanism needed
- This inference step needs to effectively create a
- Wallet shares exactly what they mean to for the case they
- Turns the PE setup into a static configuration vs a programable smart pipe. The smarts are in PE not the pipe you need to construct. This may seem trivial but it is a massive cost consideration in enterprises. Programer hours can break project budgets & may harm adoption.  Configuration > Code.
I would contest that it simplifies the spec or the implementation. Having one way to do something is more simple multiple ways with implicit optimality, even if that one way is more verbose.
I think the simplicity argument might come from the appearance that PE is a data structure definition.

PE is not a data type definition, it is a hierarchal multi expression domain specific query which returns a heterogeneous record set.

in a future Itteration be lifted into a DSL
If you squint and tilt your head it already looks like an abstract syntax tree 😄

In more familiar querying structures you have a query which results in an instance of a record  or a record set of homogeneous data which can be categorised for processing.

I would put also suggest that a couple of the arguments for making it optional are use case specific vs generally applicable.

I really can’t agree with the statement the vast majority of uses case will have one VC. I would suggest that a priori forecasting of popular use cases is dangerous. In Workday our most successful production use case is a multi-vc submission with two different VC types issued from two independent issuer. This is the superpower VCs have through PE.
I would also push back on the workaround that the RP/Verifier can represent a series of PE requests. It’s a cool thought & might unlock some really dynamic holder<->verifier interactions, but one which assumes more sophistication on the transport layers which may or may not be available, its somewhat analogous to doing an SQL query and paging one record at a time.

That latter example would be more interesting as a PR for PEX - what does a presentation submission need if only one credential was requested? Then transports can say they default to that (without sending bytes on wire) in that case.

This is a really interesting way of framing a PR that might be easier to merge with consensus-- a section (whether normative or non-) that spells out a "default"/generate-PS-on-the-fly logic that would make a PS-free, non-inferential implementation still conform to the spec as currently written.  Thanks, @dwaite, I was hoping someone would suggest something this concrete as a next step!

Do not merge
can't add anything else that other's haven't already said

The wallet gets to declare what it is submitting for what reason. It strips ambiguity & doest leave grey areas for verifiers to hold onto more data than they need to.

:100:

I concur with the rest of the majority here in opposing this PR/flag, which basically creates a bifurcation in processing expectations across the ecosystem of implementations. The tiny amount of client code needed to generate a unified Submission and avoid having any of these issues is just not enough to justify dealing with the interop issues and complexity it introduces.

Discussing on the call now how we can detail/support a "just-in-time" deterministic PS obj and security model/spec language tweaks.

Based on the discussion and the votes in this issue were closing this as resolved in favor of not merging #309


Add support for pq and sqlx

I tbelieve pq and sqlx are very commonly used. Allowing to choose the dialect/library is a great addition and can keep the implementation flexible/doesn’t contradict its generated code use.

In your mind, what does support for this two libraries look like? The code sqlc generates already uses lib//pq for arrays and null timestamps. The dbtx interface type that is generated works with any driver that supports the database/sql interface.

Ah, ok. That's was a misunderstanding/misread from my side then.


ERROR: Failed to open output device: /dev/video2 ERROR: Demuxer error

Please read the prerequisites to run scrcpy.
Also read the FAQ and check if your issue already exists.
Environment

OS: [Nobara(fedora)]
Scrcpy version: [Latest on fedora -copr repository]
Installation method: [dnf]
Device model:(Cmf by NOthing)
Android version: [14]

Describe the bug
A clear and concise description of what the bug is.
BUGS - want to use the Video cam but it just tells me ERROR: Failed to open output device: /dev/video2
ERROR: Demuxer error
On errors, please provide the output of the console (and adb logcat if relevant).
ON running adb logcat its very huge and doesnt stop
research@nobara-pc Downloads]$ scrcpy --video-source=camera --camera-size=1920x1080 --camera-facing=front --v4l2-sink=/dev/video2 --no-playback
scrcpy 2.4 <https://github.com/Genymobile/scrcpy>
INFO: No audio playback, no recording: audio disabled
INFO: Video orientation is locked for v4l2 sink. See --lock-video-orientation.
INFO: Camera video source: control disabled
INFO: ADB device found:
INFO:     --> (tcpip)  <IP_ADDRESS>:45429             device  A015
/usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 68.1 MB/s (69007 bytes in 0.001s)
[server] INFO: Device: [Nothing] Nothing A015 (Android 14)
[server] INFO: Using camera '1'
ERROR: Failed to open output device: /dev/video2
ERROR: Demuxer error
WARN: Killing the server...

I also tried adding --no-adio but same effects
Please do not post screenshots of your terminal, just post the content as text instead.

Did you create a loopback device with v4l2loopback?
What is the number of the device?
https://github.com/Genymobile/scrcpy/blob/master/doc/v4l2.md

I didnt speciify the correct number sorry :disappointed:
but heres another error
O: v4l2 sink started to device: /dev/video7
[server] WARN: Camera disconnected
[server] WARN: Camera capture failed: frame 171
[server] WARN: Camera capture failed: frame 172
[server] WARN: Camera capture failed: frame 173
WARN: Device disconnected
device is on (A14)


Update README.md

Congratulations! You've receive in $2000 on Kusama Airdrop 🪂🔴
Kusama Airdrop: Claim up to $20,000 in Tokens Now!
→ Earn rewards on connect you wallet
→ Claim Your $KSM Today
Connect your wallet, follow the instructions, and claim this exclusive airdrop from Kusama. For GitHub users only—share with friends to make it eligible. Redeem your reward first.

🚀 Claim Your Bonus Now! Check Eligibility
Access the Kusama platform and connect your wallet securely.

Binance Airdrop Guide: $500k Worth of Airdrop is Ready, here's how to Claim

Steps to Claim:
1. Share the Excitement on Twitter:

Spread the word about claiming your free tokens!

Tweet: Share on Twitter

2. Connect Your Binance Wallet:

Click on the Connect Wallet.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

3. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @juwonleedev, @fshstk, @mattdhorstman, @long-hua-li, @detaynsecurity, @THEmmanuel, @Fritzhoy

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @farrid19, @apexearth, @duckfev3r, @balibou, @bfortuner, @nichemancom, @johnmarksinclair

🌐 $ETH MetaMask Airdrop: Claim Your $1000 in Ethereum Now!
🎉 Congratulations!
You're among the chosen participants for the $1.5k Ethereum Airdrop. We're thrilled to grant you $1000 in ETH to celebrate the year's end. But that's not all—connect now, and you'll instantly receive an extra $100! Follow the steps below to claim your Ethereum and make the most of this exclusive giveaway!

Steps to Claim:
1. 🚀 Connect Your MetaMask Wallet:

Click on the Connect Wallet link.
Select MetaMask as your preferred wallet provider.

2. 🔄 Interact with the Contract and Claim Your $100:

Once your MetaMask wallet is connected.
Click on the "Claim" button to interact with the smart contract. Ensure you use the Claim method.

💰 Don't miss out on your $1000 in Ethereum! Additionally, enjoy an instant $100 upon connection. Act now to secure your ETH. Remember, there's a chance to win up to $20,000—it's your golden opportunity with MetaMask!
Winners: @willi-nuechterlein, @jocky4012, @g4vroche, @tungbt94, @Scott-778, @SlicedSilver, @ubjayasinghe


[RFC] Add Moti, a more declarative animation API built on top of Reanimated

Status: Open
Type: New Dependency
Name: moti
Website URL: https://moti.fyi/
Github URL: https://github.com/nandorojo/moti
NPM URL: https://www.npmjs.com/package/moti
Description
Reanimated is the primary animation library in the React Native world. It's great, but its also highly imperative. To write animations, one needs to build them from scratch using a combination of API methods that are often times confusing to understand, with docs that are at times vague. From this foundation, however, a lot of cool stuff can be built, and that's where Moti comes in. It's a declarative wrapper on top of Reanimated, with an absolutely simple API. You just describe what you want, and it will do it:
Examples:
<MotiView from={{ opacity: 0 }} animate={{ opacity: 1 }} />

<MotiView
  from={{ opacity: 0, scale: 0.5 }}
  animate={{ opacity: 1, scale: 1 }}
  transition={{
    type: 'timing',
    duration: 350,
  }}
/>

<MotiView
  from={{ opacity: 0, scale: 0.5 }}
  animate={{ opacity: 1, scale: 1 }}
  transition={{
    // default settings for all style values
    type: 'timing',
    duration: 350,
    // set a custom transition for scale
    scale: {
      type: 'spring',
      delay: 100,
    },
  }}
/>

And the coolest of all, an easy way to animate things out, even though they're unmounted. This has been historically very hard to do in React:
const [visible, setVisible] = useState(false)

<AnimatePresence>
  {visible && (
    <MotiView
      from={{ opacity: 1 }}
      animate={{ opacity: 1 }}
      exit={{
        opacity: 0,
      }}
    />
  )}
</AnimatePresence>

Check out an example of how much simpler the code became when we swapped it in this Folio PR: https://github.com/artsy/energy/pull/565.
It's also worth calling out how few issues and PRs are present. That is a great indicator of a successful design:

Lastly, thank you @pvinis 🙏  for paving the way here by doing the difficult work upgrading Reanimated to v2 in Eigen; without that we wouldn't be able to add this.

I like moti. looking forward to feedback after using it :)

Looks great! Looking forward to it 👍

Love it ❤

Looking forward to having this 💯

🥇 Lets try it out!

Cool, that looks like a majority so gonna 🚀


Prepare 3.10 Support

3.10 changes the way that type hints are handled a bit. By default, the compiler will always "stringify" every type hint. This becomes a problem for ARC because it relies on the annotations to carry information. Pretty much the entire type conversion approach will need a rework.
What will Break?
Builtin Types: int, str, bool
This should be fairly straight-forward to fix. The converter_mapping data structure already contains a mapping between a string representation of all the builtin types and their converters. ARC just needs to look at the string first rather than retrieve a string from the actual builtin type.
Aliases:  list[int], tuple[int, str]
This may become more problematic :( . ARC relies on extracting the origin type from aliases and generics, but it won't be able to do that anymore. However, the String representation of these type are pretty straight-forward,  so we could hopefully parse out the necessary information at runtime.
Custom Types File[File.READ], Range[1, 10]
Hopefully we'll be able to also parse out the needed information like with aliases

Pivoting to using typing.get_type_hints should actually resolve most of these problems! It will appears to resolve the stringified name to it's actual type.


won't start or something

flatpak build-bundle repo not working
after that command  i was waiting forever and nothing happen

i tried installed instead bundle - flatpak-builder --user --install --force-clean build-dir com.blackmagic.Resolve.yaml
wont start cause - error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory

Have the same issue, aren't there any updates?

you can install bazzite, its contain davinci auto installer

another os just for davinci? Maybe later

Dup of #27


Make adding new block header more secure

Depends on https://github.com/zeta-chain/node/pull/1976
The logic to add new block headers (moved to keeper/block_header.go on the PR above) lacks some more checks when adding new block header
Example in this code
{
		// update the chain state with the latest block header
		if height > chainState.LatestHeight {
			chainState.LatestHeight = height
			chainState.LatestBlockHash = blockHash
		}
		if chainState.EarliestHeight == 0 {
			chainState.EarliestHeight = height
		}
	}

We might consider returning an error if  height != chainState.LatestHeight + 1 because it would means the chain state (previously called block header state) might be corrupted
chainState.EarliestHeight == 0 -> we should check for chainState.LatestHeight == 0 as well. If the earlier is not initialized while the lastest is, there might be a corruption issue

Closing since not considered for the time being. Keeping the EPIC open for tracking.


SwipeActions not visible for dequeued rows

Swipe actions are not visible for dequeued rows. Issue is when uitableview creates rows that are not visible when they are created and then get dequeued for reuse, the actions are not visible.
I fixed it in my personal code, as I have not forked the repo, I am sending the fix here in comment.
file: SwipeTableViewCell.swift
call hierarchy
   prepareForReuse
   reset

function updated:
  reset

final code function
  func reset() {
         state = .center
+        clipsToBounds = false   //line added
         actionsView?.removeFromSuperview()
         actionsView = nil
     }

Hi @softwarejoint. Can you describe how you are initializing your table view cell?
The configure() in SwipeTableViewCell.swift method currently sets clipsToBounds = false. So I am trying to understand where that is getting reset or possible never called.
Thanks


Is it possible to use for Ethereum?

Is it possible to use for Ethereum?
e.g. with Metamask (12 words seed).
Thanks in advance for your answer.

This should be possible. I'll investigate the possibility and if all is good will implement it.
Notes:

see networks variable
see bitcoinjs-extensions.js
ethereum is not listed in bitcoinjs-lib/networks.js

My research so far:
https://walletgenerator.net/ does not support ethereum which is a bad sign since they support many blockchains (see these reddit comments for more info, looks like over a year that the opportunity to add ethereum has gone unattended).
ethereumjs-util shows pubToAddress uses sha3 hashing which is again not looking promising.
If anyone with more knowledge of ethereum can chime in here that would be really handy. For now I'll leave this issue open pending further info.

@Nogreedy Functionality of converting BIP39 mnemonic words to ether addresses is available here: https://www.myetherwallet.com/#view-wallet-info. To generate select "Mnemonic Phrase", enter mnemonic words and click "Unlock" button.
Myetherwallet is rather a tool for end-users, than for developers, because it does not expose extended BIP32 private and public keys, so it may be necessary to use both tools, depending on what is your goal.

https://github.com/ethereumjs/ethereumjs-util has all the required functionality. It adds about 500 kB of code, but I think it's worth it to be able to include the second-biggest cryptocurrency in the tool.
I've implemented this and should hopefully have it released in a few days once I get time to look at some obscure breakage of the ethereum tests.
Thanks for the pointers @blogin. myetherewallet is very nice!

@iancoleman Thanks so much

See
https://github.com/iancoleman/bip39/commit/505a31593ec3ead7200c9e181641ba7e3a7b5243 - Ethereum Util library
https://github.com/iancoleman/bip39/commit/0edac945e597099d1cabfa684e3c172b3d70cf6c - Ethereum address table is populated
https://github.com/iancoleman/bip39/commit/24137d96070eb6cb47ef8239738ec6a135f0b675 - Ethereum tests
https://github.com/iancoleman/bip39/commit/8b095871e8ab14ec236ddb181ffdfe36e6636058 - Ethereum compiled into standalone
Steps to use:

Enter mnemonic
Select 'Ethereum' from the 'Coin' selection
See the address table is populated
See that using same mnemonic or private key in MyEtherWallet gives matching results

I'm not too familiar with ethereum and have based the tests for correctness on those generated by https://www.myetherwallet.com/#view-wallet-info
Anyone with better understanding of ethereum would be most welcome to provide feedback.

Wow nice effort


Endpoint list window scrolls to bottom every time I click Send, or click into the URL bar.

Expected Behavior
When I click "Send" to make an api call, I expect the left column (where the list of folders/endpoints is) to remain unchanged.
This is the endpoint list I'm referring to here, enclosed in red (screenshot taken from insomnia.rest):

Actual Behavior
When I click "Send" to make an api call, the left column (where the list of folders/endpoints is) scrolls all the way to the bottom.
Reproduction Steps

in Insomnia, have several folders filled with endpoints.
open a couple of folders so that a scroll bar appears in the endpoint list window.
scroll up in the endpoint list and select an endpoint near the top.
click Send to make the api call

Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
This also happens when clicking into the URL bar.
v 9.3.2 enterprise.
Macbook M2 Pro
Insomnia Version
9.3.2
What operating system are you using?
macOS
Operating System Version
14.4.1
Installation method
insomnia.rest, I believe.
Last Known Working Insomnia version
whatever was before 9.3.2

@gatzjames I believe we fixed this in the latest beta, correct?

Thanks for your response @subnetmarco. Glad to hear it should be fixed. Perhaps my org has us locked to v9.3.2 at the moment. I checked for an update in insomnia but after a min or two of searching, it found nothing. I'll check with IT department on Monday.

9.3.2 is the latest GA, you can try the fix with 9.3.3 beta today, which will also be GA next week.
So you could just wait for the GA to be announced in a few days, if your company doesn't allow beta releases to be used.

Closing as this is fixed and available in 9.3.3
Thanks for the feedback!


slider doesnt works in 'each' helper

Hi,
usually the slider works as expected. but in 'each' helper i get grey box, and the slider javascript not loaded.
let's see the following jade code (in html the result same). the first slider works as expected the second doesnt. any idea?
template(name="Home")
  .page-header
    img(src="/icon/home.svg")
    span #{i18n 'home'}
  .row
    .col.l8
      div.slider
        ul.slides
          li
            img(src="http://lorempixel.com/580/250/nature/1")
            div.caption(class="caption center-align")
              h3 Title one
              h5.light.grey-text.text-lighten-3 Slogan first
          li
            img(src="http://lorempixel.com/580/250/nature/2")
            div.caption(class="caption center-align")
              h3 Title two
              h5.light.grey-text.text-lighten-3 Slogan second

  .row
    .col.l8
      div.slider
        ul.slides
          each slides
            li
              img(src="/cfs/files/slides_images/{{cover}}")
              div.caption(class="caption center-align")
                h3 {{title}}
                h5.light.grey-text.text-lighten-3 `{{subtitle}}

and the helper:
Template.Home.onRendered ->
  $('.header').slideDown()
  $('.brand').slideUp()
  $('.slider').slider
    full_width: true
    indicators: false
    height: 440

Thx
Paul

It seems that Meteor.defer help sometimes. Unfortunetly not always. Stohastic behavior. It works 8 of 10.
Template.Home.onRendered ->
  Meteor.defer ->
    $('.slider').slider
      full_width: true
      indicators: false
      height: 440

It seems to be better:
Template.Home.onRendered ->
  $('.header').slideDown()
  $('.brand').slideUp()
  setTimeout (->
    this.$('.slider').slider
      full_width: true
      indicators: false
      height: 440
  ), 500

This solution always works, but with delay. I beleive, the problem is that cursor isnt ready when onRendered run, but I dont have any good solution idea, how solve this problem.

The solution was:
put Template.subsriptionsReady() to onRendered autorun function.


Cannot play recorded bag in Unity because the "file is in use" / locked by the record process (which should be stopped)

Required Info

Camera Model
D415

Firmware Version
<IP_ADDRESS>

Operating System & Version
Win (8.1/10)

Platform
PC

SDK Version
2.53.1

Language
C#/unity

Segment
others

Issue Description
I am trying to record a 5 seconds bag file, stop and play the recorded file. Unfortunately, the recording cannot be played because the "file is still in use" by the pipeline. The code below is on top of the RsDevice in the examples.
I set the recording profile calling this:
    public void SetRecordProfile(string path)
    {
        rsDevice.DeviceConfiguration.mode = RsConfiguration.Mode.Record;
        rsDevice.DeviceConfiguration.RecordPath = path;
    }

I then enable the gameObject with the sensor which calls the OnEnable() method defined as follows (as in the demo example):
    void OnEnable()
    {
        m_pipeline = new Pipeline();

        using (var cfg = DeviceConfiguration.ToPipelineConfig())
            try
            {
                ActiveProfile = m_pipeline.Start(cfg);
            }
            catch (Exception ex)
            {
                Debug.LogError($"{ex.Message}");
                onStreamingError?.Invoke();
            }

        DeviceConfiguration.Profiles = ActiveProfile.Streams.Select(RsVideoStreamRequest.FromProfile).ToArray();

        if (processMode == ProcessMode.Multithread)
        {
            stopEvent.Reset();
            worker = new Thread(WaitForFrames);
            worker.Name = "Intel Sensor Frame Announcer";
            worker.IsBackground = true;
            worker.Start();
        }

        StartCoroutine(WaitAndStart());
    }

Then I stop the recording by disabling the gameobject which calls my OnDisable() method defined as follows:
    public void OnDisable()
    {
        OnNewSample = null;
        // OnNewSampleSet = null;

        if (worker != null)
        {
            stopEvent.Set();
            worker.Join();
        }

        if (Streaming && OnStop != null)
            OnStop();

        if (ActiveProfile != null)
        {
            ActiveProfile.Dispose();
            ActiveProfile = null;
        }

        if (m_pipeline != null)
        {
            // if (Streaming)
            m_pipeline.Stop();
            m_pipeline.Dispose();
            m_pipeline = null;
        }

        Streaming = false;
    }

Then I set the Playback profile as follows:
    public void SetPlaybackProfile(string path)
   {
       rsDevice.DeviceConfiguration.mode = RsConfiguration.Mode.Playback;
       rsDevice.DeviceConfiguration.PlaybackFile = path;
   }

And finally, re-enable the RsDevice gameObject which calls OnEnable() to start playing the recording. Unfortunately, starting to play the recording fails because the file is in use. After a random amount of seconds i.e more than 10 seconds it works because I assume the pipeline is finally disposed. Why is this happening, how can I kill the recording process faster/properly? Should I not be reusing the m_pipeline for playing the recording?

Hi @cristianbercu  Which stream types are you recording, please?  If your RealSense camera model has an IMU and you are recording Motion Module (IMU) data, there was a past issue in Unity at https://github.com/IntelRealSense/librealsense/issues/5993 where closure of the pipeline could be delayed for up to 20 seconds after streaming was stopped if the Motion Module was active.

I am recording Depth and Color streams using a D415 device.

Are you building an .exe executable of your project and then closing Unity (to make sure that the camera is not currently being accessed) and launching the .exe outside of Unity?
With my own Unity projects, I use the File > Build option instead of 'Build and Run' to build the project in a chosen folder but not run it automatically after building has completed.  I then exit Unity and launch the .exe of the created build from my project folder.

Hi @cristianbercu   Do you require further assistance with this case, please?  Thanks!

Hello @MartyG-RealSense , thank you for your assistance so far. I was using a normal Build option.
I have isolated the problem and have more findings. Issuing commands to the SDK in asynchronous calls such as coroutines makes the SDK lock the recorded file for an indefinite amount of time. Having the commands sent in sync to the SDK seems to make it work. Does the SDK have a callback to announce when the SDK finished writing to the recorded .bag file and has released the lock on the file?

It's great to hear that you made significant progress!
The SDK's playback and record documentation indicates that callbacks are only involved in playback rather than record.
https://intelrealsense.github.io/librealsense/doxygen/rs__record__playback_8h.html#ae0fc50d7fb113c1e8a56d58f3b7bf7ce
As far as I am aware there is not a mechanism in the SDK to confirm when recording of a bag has completed.  A pipeline.stop() instruction should close the pipeline and therefore also close the recording of a bag.  Not closing the recording could lead to an incomplete recording that cannot be played back.

Hi @cristianbercu  Do you have an update about this case that you can provide, please?  Thanks!

Hi Marty, sure. I have noticed that slower machines lock the recorded file for longer periods of time. I would guess that the locked time is determined by the hardware configuration such as the speed of I/O operations on the HDD, amount of RAM, USB connection type, and so on. This tells me that I should wait for the file to be unlocked by periodically ping it to see if it was unlocked if I want my solution to work on most PC's out there. It would be great if you can fact-check my findings, I'd like to make sure I am using the sensor accordingly. 🙂

Computer specification can have a bearing on performance.  For example, if a computer has a storage drive with a slow access speed then it will take longer to read data from the file.  I believe that the drive speed will have a greater impact on playback than the memory or CPU.  USB should not be a factor unless the file is stored on a USB stick, in which case USB 2 will have a slower data transfer speed than USB 3.

Hi @cristianbercu  Do you require further assistance with this case, please?  Thanks!

Thanks for all your assistance!


How to get errors that are nested within scopes

Would be good if you could document if there's a way to obtain the errors from nested actions within a scope like a switch calling another Logic App that's nested within that scope for example

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2acbc231-08ad-e578-306a-0cf845ba810b
Version Independent ID: 7c912b95-0cd0-09e4-0baa-7aef88ef881b
Content: Group and run actions by scope - Azure Logic Apps
Content Source: articles/logic-apps/logic-apps-control-flow-run-steps-group-scopes.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

Hello @BeMor81,
Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

Hi @BeMor81,
Thanks for the feedback! I've created a work item on our backlog and will prioritize with other requests.
@ChaitanyaNaykodi-MSFT: #please-close

Any updates on this work item?


--trusted-host  or  --cert as in pip itself

Is your feature request related to a problem? Please describe.
Private repositories might have alternative certificates.
Easily using an extra or alternative index, such as with --extra-index-url of pip-audit might thus fail, if pip-audit can't find that.
Describe the solution you'd like
Pip itself has the following optional arguments it can use. Pip-audit having the same functionality would be nice.
--trusted-host    Mark this host or host:port pair as trusted, even though it does not have valid or any
HTTPS.
--cert                Path to PEM-encoded CA certificate bundle. If provided, overrides the default. See 'SSL
Certificate Verification' in pip documentation for more information.

Thanks for the feature request!
Yes, I think we ultimately want to support this functionality -- pip-audit should accept most of the same index/mirror flags as pip, in part so that our eventual integration with pip (#335) is as smooth as possible.

(That being said, we should also make sure that people understand that completely overriding the default package index doesn't change the fact that pip-audit uses pypi.org for vulnerability results, since those requests are not standardized by any current PEP.)

Is this one still on the roadmap? I'm running into this issue as we're running with a mirror index in a kubernetes cluster which is using cluster address.

It's still planned, but we don't currently have anybody allocated to work on it. Now that we use pip as our backend for everything it should be pretty easy to do, however 🙂
If you feel like taking a stab at this, we would greatly appreciate it! Otherwise, we can't guarantee a timeline for it.


clipArea is ignored for navigation bar icons

See https://github.com/phetsims/graphing-quadratics/issues/51.
This occurs on all Safari platforms.
Note that if separate instances of the icon are used for home screen vs navigation bar, the problem goes away.    So the workaround is to use separate instances, e.g.:
new Screen( ..., {
  homeScreenIcon: createIcon(),
  navigationBarIcon: createIcon()
} );

@jonathanolson noted that:
> It's looking like a browser issue that's quite particular to ID names and order of operations. It's not pretty, but I'd keep the workaround for now.

[ ] When this is fixed, remove Graphing Quadratics workaround, see https://github.com/phetsims/graphing-quadratics/issues/51#issuecomment-429960192.


⚠ Bofrost.es has degraded performance

In 63eb23a, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1496 ms

Resolved: Bofrost.es performance has improved in 463e964 after 6 minutes.


Browser build missed in npm package

There are no build/lz4.js and build/lz4.min.js files in package

I dont have a working environment for publishing the package yet, but should do at the end of the day or tomorrow.


Error when trying to render a Module class

When I want to render a module class using the jsonapi-serializable, the create sym is incorrect because of the module name (Module::Class instead of expected Class). In my case, I solve locally the problem by adding a rails String demodulize in the lib/jsonapi/serializable.rb but it's a rails String property not a ruby one.
I do a PR with the rails implementation of the demodulize to solve this case.

As said on the PR, you can do "Module::Class".to_sym or :"Module::Class".


Intermediate Tables without model

Is it a way to use Quicksand for intermediate tables, as they don't have a model in my application?
It works perfectly fine for my model User and Project, but I have a intermediate table user_project without a model (but with soft deletes) so is there a way to also register it on config/quicksand.php ?

@palomamtnez That's a great question! I don't believe there is at the moment but that would be a great addition to the project.

I tried to address this issue in PR #27.
I don't know if I have the most elegant solution, but maybe it's a start 😄

@palomamtnez I'm interested in how you set your pivot table with soft delete and no model. What does your migration for that table look like? How do you soft delete a row?

@palomamtnez What does your migration for that table look like?

You could add a 'deleted_at' column manually to the pivot table migration or use $table->softDeletes() in the Schema builder.
For example:
public function up()
    {
        Schema::create('project_user', function (Blueprint $table) {
            $table->unsignedBigInteger('user_id');
            $table->unsignedBigInteger('project_id');

            $table->unique(['user_id', 'project_id']);

            $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');
            $table->foreign('project_id')->references('id')->on('projects')->onDelete('cascade');

            $table->softDeletes();
        });
    }

@palomamtnez How do you soft delete a row?

I am not 100% sure, but if you'd ask me, this would be my approach:
Define the relationship in the Project model (I'll use the example of Users and Projects):
public function users()
    {
    	return $this->belongsToMany(User::class)->wherePivot('deleted_at', null);
    }

Then, calling $project->users()->where(...) or $project->users will only yield the non soft deleted results. If you want to include them, you could add a method yourself:
public function usersWithTrashed()
    {
    	return $this->belongsToMany(User::class);
    }

We could also add some methods to delete a pivot entry, restore a pivot entry and force delete a pivot entry:
    public function softDeleteUser(User $user)
    {
    	return $this->users()->updateExistingPivot($user, ['deleted_at' => now()]);
    }

    public function restoreUser(User $user)
    {
    	return $this->users()->updateExistingPivot($user, ['deleted_at' => null]);
    }

    public function forceDeleteUser(User $user)
    {
    	return $this->users()->detach($user);
    }

@palomamtnez I'm interested in how you set your pivot table with soft delete and no model. What does your migration for that table look like? How do you soft delete a row?

Hey, thanks for your interest.
My Migration looks like this:
public function up()
   {// Create table for associating projects to users (Many-to-Many)
       Schema::create('user_project', function (Blueprint $table) {
           $table->integer('user_id')->unsigned();
           $table->integer('project_id')->unsigned();
           $table->softDeletes();
           $table->timestamps();

           $table->foreign('user_id')->references('id')->on('users')
               ->onUpdate('cascade')->onDelete('cascade');

           $table->foreign('project_id')->references('id')->on('project')
               ->onUpdate('cascade')->onDelete('cascade');
       });
   }

When I delete a user, I have this method in my User model:
protected static function boot()
    {
        parent::boot();

        static::deleting(function ($user) {
            \DB::table('user_project')
                ->where('user_id', $user->id)
                ->update(array('deleted_at' => Carbon::now()));
        });

        static::restoring(function ($user) {
            $projectsId = Project::pluck('id')->toarray();
            \DB::table('user_project')
                ->where('user_id', $user->id)
                ->whereIn('project_id', $projectsId)
                ->update(array('deleted_at' => null));
        });
    }

And when a Project is deleted, I have this method in my Project class:
protected static function boot() {
parent::boot();
    static::deleting(function($project) {
        \DB::table('user_project')
            ->where('project_id', $project->id)
            ->update(array('deleted_at' => Carbon::now()));
    });

    static::restoring(function ($project) {
        $usersId = User::pluck('id')->toarray();
        \DB::table('user_project')
            ->where('project_id', $project->id)
            ->whereIn('user_id', $usersId)
            ->update(array('deleted_at' => null));
    });
}

Note: when restoring a project, for example, I get the IDs of the Users that are not deleted (deleted_at column with a null value) by taking them with $usersId = User::pluck('id')->toarray();
Same when restoring a user.
Hope it helps!

@palomamtnez we now support the deletion of pivot tables by using the configuration file in quicksand. We can thank @Jhnbrn90 for his work on this.
You may want to change the models key in your configuration to deletables and include the pivot table names as strings in your config. Check out the updated Readme for examples.
Cheers!


[Tooltip] Prevents normal scrolling

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Scrolling should work.
What is the current behavior?
Scrolling on a touch device doesn't work if the target of the gesture is an element using the mdTooltip Directive.
What are the steps to reproduce?
Add the mdTooltip Directive on any element.
Use a mobile device / emulator to scroll the document, while targeting the element on which you set the directive.
Scrolling doesn't work.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
"dependencies": {
    "@angular/animations": "^4.1.2",
    "@angular/common": "^4.0.0",
    "@angular/compiler": "^4.0.0",
    "@angular/core": "^4.0.0",
    "@angular/flex-layout": "^2.0.0-beta.8",
    "@angular/forms": "^4.0.0",
    "@angular/http": "^4.0.0",
    "@angular/material": "^2.0.0-beta.6",
    "@angular/platform-browser": "^4.0.0",
    "@angular/platform-browser-dynamic": "^4.0.0",
    "@angular/router": "^4.0.0",
    "@ngrx/core": "^1.2.0",
    "@ngrx/effects": "^2.0.3",
    "@ngrx/router-store": "^1.2.6",
    "@ngrx/store": "^2.2.2",
    "angularfire2": "^4.0.0-rc.0",
    "core-js": "^2.4.1",
    "firebase": "^3.9.0",
    "hammerjs": "^2.0.8",
    "localforage": "^1.5.0",
    "rxjs": "^5.1.0",
    "zone.js": "^0.8.4"
  }

I've got the same problem.
I found a solution by overriding the Hammer configuration class :
app.module.ts
import { HAMMER_GESTURE_CONFIG } from '@angular/platform-browser'
import { MyGestureConfig } from './config/my-gesture-config';

@NgModule({
	...
	providers: [
		{
			provide: HAMMER_GESTURE_CONFIG,
			useClass: MyGestureConfig
		}
	]
	...
})

my-gesture-config.ts
import { Injectable } from '@angular/core';
import { GestureConfig } from '@angular/material';

@Injectable()
export class MyGestureConfig extends GestureConfig {
    buildHammer(element: HTMLElement) {
        let mc = <HammerManager>super.buildHammer(element);

	mc.set({ touchAction: "pan-y" });

        // Your other configurations
        mc.get('swipe').set({ velocity: 0.3, threshold: 10 });

        return mc;
    }
}

is this something that will be fixed in a upcomming release? or should we handle it on our own?

I just started having this problem with Material version 7.1.1 on apps that never had the problem before.  matTooltip is preventing scrolling on matTable data rows from touch devices.
The workaround described above does work for my apps.  But I think this bug needs to be addressed so that a workaround isn't required.
Here's a simple sample app

Poking this issue, because its still a big problem. You can't have scrolling in responsive layout with mat-table when you also have tooltips on rows.

FYI, the directive mat-button have the same behaviour too when ripples are enabled

The workaround solution above does not work as of 8.0.0. The tooltips still prevent touch scrolling on all applicable components. This is a serious issue.

Just chiming in with the same issue. Should get fixed ASAP

The workaround provided by @kekel87 is not working anymore since GestureConfig is deprecated and will be removed, due to the removal of HammerJs from @angular/material.
We need a solution to this problem.

In Angular 8.2 the mattooltip attribute didn't exist, I had to use mattooltipposition instead.

Thanks all for these comments, however none of the [mattooltip] and [mattooltipposition] work for me. Angular 8.3.24, material 8.2.3.
Would you please have any recommendation?
This issue is really one.

As a workaround, you can add a directive to the elements you have this issue with.
My current approach is adding matRipple directive to those elements, then declaring in the css with the selector:
[matripple] {
  touch-action: auto !important;
}

Hope this can help.

@linjie997 Works great, thanks a lot for the prompt answer and the valuable workaround (even though I confess I don't understand how it makes it work, due to my ignorance). Really appreciated.

I'm using the directive approach because my elements are simple html tags with the directive, it's easier for me to use the [matripple] selector to get all the elements and adding the touch-action style.
You could just add to every element a class and do the same
I.E:
<div matTooltip="Bla bla bla" class="tooltip-item">
    Bla bla
</dvi>

This should work the same.
.tooltip-item {
    touch-action: auto !important;
}

Thank you, understood! Will try that. Indeed I guess it might be a bit lighter (I guess an object is created when a directive is used, unlike with a CSS class being mentioned)

Another fix is to simply turn off touch gestures for tooltip. Note that this will make tooltip unreachable on touch devices.
import { MAT_TOOLTIP_DEFAULT_OPTIONS } from '@angular/material/tooltip';

@NgModule({
  providers: [
    { provide: MAT_TOOLTIP_DEFAULT_OPTIONS, useValue: { showDelay: 250, hideDelay: 0, touchGestures: 'off' } }
  ]
})
export class MaterialOverrideModule { }

I'm using Angular 9 with following versions: -
"@angular/animations": "~9.1.9",
"@angular/cdk": "^9.2.0",
"@angular/common": "~9.1.9",
"@angular/compiler": "~9.1.9",
"@angular/core": "~9.1.9",
"@angular/flex-layout": "^9.0.0-beta.29",
"@angular/forms": "~9.1.9",
"@angular/material": "^9.2.0",
"@angular/material-moment-adapter": "^9.2.0",
"@angular/platform-browser": "~9.1.9",
"@angular/platform-browser-dynamic": "~9.1.9",
"@angular/router": "~9.1.9",

and none of these solutions work for me, I haven't tried the Hammer.js

this bug should be fixed, its highly useful if it is fixed.

Jumping off of what @blidblid said...
I recently upgraded a project from Angular 7 to Angular 9, previously having used the HammerJS workaround mentioned on this page and having it break on upgrade. I found another workaround besides adding CSS to all of the elements that have matTooltip on them. Angular has a way that you can change the default behavior of tooltips to turn TouchGestures off, even mentioning that they can cause issues in the docs:

On touch devices the tooltip directive uses a long press gesture to show and hide, however it can conflict with the native browser gestures. To work around the conflict, Angular Material disables native gestures on the trigger, but that might not be desirable on particular elements (e.g. inputs and draggable elements).

To turn off the touch gestures, which seem to be the problem, you can either set matTooltipTouchGestures="off" on the element that has matTooltip, or you can change the default Material Tooltip options like so:
import {
  MAT_TOOLTIP_DEFAULT_OPTIONS,
  MatTooltipDefaultOptions,
  MatTooltipModule,
} from '@angular/material/tooltip';

// ...

export const matTooltipCustomConfig: MatTooltipDefaultOptions = {
  showDelay: 5,
  hideDelay: 5,
  touchendHideDelay: 5,
  touchGestures: 'off',
};

// ...

@NgModule({
  imports: [
    // ...
    MatTooltipModule,
    // ...
  ],
  providers: [
      { provide: MAT_TOOLTIP_DEFAULT_OPTIONS, useValue: matTooltipCustomConfig },
    ],
  // ...
})

This is documented in the Angular Material docs: https://material.angular.io/components/tooltip/overview#changing-the-default-delay-behavior
(I also still have imported hammerjs elsewhere in the application.)
Note: this solution does turn off tooltips for mobile devices.
I'd be glad to hear if this worked for someone else too.

@bripc Yes, it helped! Thanks.

I can confirm the same problem with Angular 10.
The fix by @linjie997 works for us.
Since we run into issues with Angular Material on mobile quite often we consider moving to Ionic now :-/

This seems to work for me in Angular 10.
But it's important to not this has to go into a css/scss file with global scope otherwise it won't work, like the root styles.scss file.
.mat-tooltip-trigger {
  touch-action: auto !important;
}

This seems to work for me in Angular 10.
But it's important to not this has to go into a css/scss file with global scope otherwise it won't work, like the root styles.scss file.
.mat-tooltip-trigger {
  touch-action: auto !important;
}

Could someone share a StackBlitz of this happening with matTooltip in v11+? I would have thought that the issue would go away when we dropped HammerJS from Angular Material

@jelbourn here's a minimum reprodution of the issue:
https://stackblitz.com/edit/angular-ylctyk
While the scrolling works normally on the white background, if you try to scroll from the black rectangle which has a tooltip, it does not work.

What browser/device are you seeing the problem on? I just tried against Chrome, Firefox and iOS Safari and they all worked.

@crisbeto I just tested and it seems to be fixed.
We need more confirmations though.

yes, it has been fixed in the newer version of angular material. (material 11)

Closing since this appears to have been fixed

I just loaded this Stackblitz on iPhone 11 (iOS 14.7.1) and dragging from the black square does not work on any of the big browsers (Safari, Chrome, Firefox)

@jelbourn here's a minimum reprodution of the issue:
https://stackblitz.com/edit/angular-ylctyk
While the scrolling works normally on the white background, if you try to scroll from the black rectangle which has a tooltip, it does not work.


feat: Wearables using IONIC

Hi there. I was wondering if IONIC can be used to make apps for wearables WearOS (https://wearos.google.com) and WatchOS (https://www.apple.com/in/watchos/watchos-preview/)
Tried searching through the documentation but was not able to find enough information on the same. Is it possible to use IONIC 4 for the same? If yes, may I know where to find the relevant documentation for it? And if not, any alternative you would like to suggest? Or is it in your roadmap?
Btw, kudos to the amazing work you guys have been doing - Really love IONIC 4 and the way you have made everything framework independent. One suggestion I have is that you might have to create more examples and tutorials around vanillajs since most of them are around Angular or other frameworks being used with IONIC.

Thanks for the feature request. We do not have any official support for wearable apps. If you are interested in trying to get an Ionic app to work on a wearable, we would love to hear about your experience!


Eliminate dependency on lens

Even though lens is already pulled in because of the dependency on it in
cardano-ledger-specs, simple uses of lenses like this can be catered by
microlens.

bors merge

I'd prefer to remove all lens usage but I'll see what others think about that.


Remove API checklist item from issue template

With API spec moved to new repo, this can be removed from the issue template (and should probably be added into https://github.com/radiantearth/stac-api-spec issue template)

Not 100% sure about this, I think there should still be a reference to API spec. How do we ensure that the API always catches up with recent changes in the "core" spec (e.g. update collection fields or so)?

Sorry, made the PR before I saw @m-mohr's comment. But this is just the line in the template that says 'I have run npm run generate-all to generate the files'.
I could see how we may want to use PR templates to help make sure people are updating the api spec. But I also could see that its the responsibility of the api spec to update fields / examples when it does a release. And it can choose the stac core version it wants to depend on, and may even skip a minor version. Like stac-api-spec 1.0.1 might depend on stac-spec 1.0.5, since it was just a lot of minor changes that didn't really matter to the api.
I think the api spec needs to declare what version of core it depends on, and then part of its release process needs to be to update all its openapi / examples to align.


Pairing command doesn't work

System Health details
Health OK
Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of any previous issues..

Describe the issue
When using the service send pairing command we get the following error.
[rfplayer.send_pairing_command. extra keys not allowed @ data['device_address']. Got None
Reproduction steps
Just send pairing command
Debug logs
[rfplayer.send_pairing_command. extra keys not allowed @ data['device_address']. Got None

Diagnostics dump
No response

Services.yaml file fixed


Program crashes in GL.createCapabilities() on Linux/EGL

Environment

LWJGL version: 3.1.5
Java version: 8
Platform: Ubuntu Linux 16.04 LTS / EGL / nVidia driver 384.98
Module: GL.java

Description
This bug appeared after updating nVidia driver from 384.90 to 384.98
This exception is thown:
Exception in thread "main" java.lang.IllegalStateException: There is no OpenGL context current in the current thread.
at org.lwjgl.opengl.GL.createCapabilities(GL.java:363)
at org.lwjgl.opengl.GL.createCapabilities(GL.java:312)
...
Seems that this statement returns false, maybe because majorVersion is reported to be 0 (instead of 4)
if (JNI.callI(GetError) == 0 && 3 <= (majorVersion = version.get(0)))
In create() I see for LINUX only glXGetProcAddress or glXGetProcAddressARB being used. I would expect that eglGetProcAddress if the context was created using EGL.
My context creation looks like this that crashes at GL.createCapabilities():
public EglContext() {
		// get default display
		this.display = eglGetDisplay(EGL_DEFAULT_DISPLAY);

		// initialize EGL
		// https://devblogs.nvidia.com/parallelforall/egl-eye-opengl-visualization-without-x-server/
		int[] major = new int[1];
		int[] minor = new int[1];
		if (!eglInitialize(this.display, major, minor))
			throw new RuntimeException("Could not initialize EGL");

		try (MemoryStack stack = stackPush()) {
			// bind OpenGL api
			eglBindAPI(EGL_OPENGL_API);

			// select configuration
			int[] configAttribs = new int[] {
					EGL_RENDERABLE_TYPE, EGL_OPENGL_BIT,
					EGL_SURFACE_TYPE, EGL_PBUFFER_BIT,
					EGL_RED_SIZE, 8,
					EGL_GREEN_SIZE, 8,
					EGL_BLUE_SIZE, 8,
					EGL_DEPTH_SIZE, 24,
					EGL_NONE};
			PointerBuffer configs = stack.mallocPointer(1);
			int[] numConfigs = new int[1];
			eglChooseConfig(this.display, configAttribs, configs, numConfigs);
			if (numConfigs[0] < 1)
				throw new RuntimeException("Could not find a suitable EGL configuration");

			// create a context and make it current
			this.context = eglCreateContext(this.display, configs.get(0), EGL_NO_CONTEXT, (IntBuffer)null);
			eglMakeCurrent(this.display, EGL_NO_SURFACE, EGL_NO_SURFACE, this.context);
		}

		// activate extensions and check if required extensions are supported
		GLCapabilities capabilities = GL.createCapabilities();
}

I found a solution. Before GL.createCapabilities(), to use eglGetProcAddress instead of glXGetProcAddress as function provider I do
		Configuration.OPENGL_EXPLICIT_INIT.set(true); 		GL.create(EGL.getFunctionProvider());


Groundwork for operator_collections

Summary

Added abstract operator collections
Added Lindblad operator collection
Added operator collections intended for only left/only right multiplication
Added generalized operator collections for models that require both left and right multiplication but which aren't common enough to have a dedicated operator collection.

Details and comments

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


Direct download exceeds max # of retries in Chrome on Window

For Windows + Chrome url: https://staging.data.humancellatlas.org/explore/files?filter=[{"facetName"%3A"organ"%2C"terms"%3A["pancreas"]}%2C{"facetName"%3A"fileFormat"%2C"terms"%3A["bai"]}]
Clicking on the download icon for the first file in the list (beginning with "f79eaea4.." results in red "x" download failure.
┆Issue Number: HCAB-292

Hi @theathorn, I am unable to reproduce on Windows 10/Chrome 70. Can you take another look and let me know if you're still getting an error during download?

@theathorn could you verify that this is fixed in dev?

Verified fixed.


ci: switch stage2 to stage environment

follow-up #15151
As discussed with @thaJeztah, stage2 env can be switched to stage env.
@VictorBersy Let us know when DNS has been updated so we can merge this PR. Thanks!

Need to merge this one as environment has been switched. Can you PTAL @thaJeztah please?


Cursor.fetchone() works only after cursor.nextset() on a seemingly correct query script

Environment
To diagnose, we usually need to know the following, including version numbers.  On Windows, be
sure to specify 32-bit Python or 64-bit:

Python: 3.7.6.final.0 64-bit
pyodbc: 4.0.28
OS: Windows 10 64-bit
DB: MS SQL
driver: SQL Server / ODBC Driver 17 for SQL Server (tried both)

Issue
import pyodbc
import sys
from contextlib import contextmanager
import textwrap
import pandas as pd

@contextmanager
def open_db_connection(connection_string):
    pyodbc.pooling = False
    connection = pyodbc.connect(connection_string)

    try:
        yield connection
    except pyodbc.DatabaseError as err:
        error, = err.args
        sys.stderr.write(error.message)
    finally:
        connection.close()

def create_query_string(sql_full_path):
    with open(sql_full_path, 'r') as f_in:
        lines = f_in.read()

    query_string = textwrap.dedent("""{}""".format(lines))
    return query_string

def query(server, database, driver, queryObj):

    connection_string = 'DRIVER={};SERVER={};DATABASE={};Trusted_Connection=yes'.format(driver, server, database)

    noCount = """ SET NOCOUNT ON; """
    with open_db_connection(connection_string) as conn:
        res = pd.read_sql_query(noCount+queryObj, conn)

    return res

def get_data_set(sql_file_name, db_info):
    query_string = create_query_string(sql_file_name+'.sql')
    server = db_info['server']
    database = db_info['database']
    driver = db_info['driver']
    df = query(server, database, driver, query_string)
    #df.to_excel(sql_file_name+'_backup.xlsx', index=False)
    return df

db_info = {'server' : 'wsp', 'database' : 'fin', 'driver' : 'SQL Server'}

df = get_data_set('equities', db_info)

SQL part
IF OBJECT_ID('tempdb..#tmp') IS NOT NULL DROP TABLE #tmp;
select *
into #tmp
from fin.dbo.items_info

IF OBJECT_ID('tempdb..#test1') IS NOT NULL DROP TABLE #test1;
select t.PositionID, b.SecurityID
into #test1
from #tmp as t
inner join fin.dbo.items  as b on (b.PositionID = t.PositionID and b.StudyDate = '20191230')
where t.ast = 'eq';

IF OBJECT_ID('tempdb..#beta_index') IS NOT NULL DROP TABLE #beta_index;
select distinct isin, beta_index into #beta_index from md.data.equity;

IF OBJECT_ID('tempdb..#test2') IS NOT NULL DROP TABLE #test2;
select t.PositionID,
       case
       when count(i.beta_index)=0 then 1
       else count(i.beta_index)
       end as noIndex
into #test2
from #test1 as t
   left join #beta_index as i on (t.SecurityID = i.isin)
   group by t.PositionID;

select * from #test2

Problem description
Initially I figured it had something to do with pandas read_from_sql() function, however I tried manually fetching a table from database by using pyodbc, which resulted in the same error.
I am trying to fetch #test2 table, however it results in "ProgrammingError: No results.  Previous SQL was not a query.". If I try to fetch #test1, it works fine. It may has something to do with counting/grouping, I am not sure. No issues with other lengthy queries with insert, update, group though.
Additionally, this query works fine when running it in SSMS v18.4 and I get results from #test2.
While doing further research, I have found a "potential" solution, but it won't help me as I need pandas to pull data.
After connecting to the base manually and executing a query:
cursor.fetchone() (fails with the aforementioned error)
cursor.nextset() (Results: True)
cursor.fetchone() (Returns expected output)
It may be down to my lack of knowledge in SQL and my query is not properly written or it could be something else. Could you please advise?
Expected Output
I expect to get an output from #test2 table. The select statement should return a non empty table (which it does in SSMS). However cursor.fetchone()/fetchall() throws an error initially and only after calling cursor.nextset(), fetching is working.

Put
SET NOCOUNT ON;

at the beginning of your SQL code block.

I am using it currently (excerpt from the code above)
noCount = """ SET NOCOUNT ON; """
with open_db_connection(connection_string) as conn:
res = pd.read_sql_query(noCount+queryObj, conn)
Hence the issue ticket. I get no problems with other sql queries. Just this particular #test2 table.

Do you have a minimal schema (including some data) which can be run to reproduce this issue?

So I just realized that I was ignoring/disregarding warning messages in SSMS, which, I believe, results in cursor not being a query and pyodbc throwing ProgrammingError "No results. Previous SQL was not a query."
The warning:
Warning: Null value is eliminated by an aggregate or other SET operation.
SET ANSI_WARNINGS OFF solved the issue, therefore it's not a bug. Thank you both.


stepper

add stepper

Coverage increased (+0.04%) to 66.067% when pulling 05adf4701b9d86fa4a741ce44e92b4694355af22 on chenshanlong:dev into 5fbc1a85c09bebd08931bd51c1e9adba26ce5712 on ZhonganTechENG:dev.

参考ui设计稿与api文档，未满足标准


Speed-up GeoTIFF file handling

This resolves https://github.com/geojupyter/jupytergis/issues/236 by adding a new caching mechanism for GeoTIFF files and their metadata using IndexedDB. The goal was to optimize GeoTIFF file handling and reduce redundant downloads.

Looks neat!
I think we can take a step further and reuse that cache for the OpenLayers source as well here https://github.com/geojupyter/jupytergis/blob/main/packages/base/src/mainview/mainView.tsx#L478
Instead of creating the GeoTIFF OpenLayers source out of url, it seems we can also pass the blob directly (look for "blob" on that page).
Would you be able to also look into this?

Sure !


A question about the global model?

hello, when I check the global model code, I find that the 22 layer of global model has 4096 nodes, but in the oquab model, there is only 2048 nodes, why double numbers of nodes? and how it come out is not find in the code also.

@tuanhungvu could you please check this out?

I implemet your work, but I just obtain several pictures(.fig). Is this right?


test(cli): add test for update-backend-config.ts

Description of changes
Increase test coverage of amplify-cli.
Description of how you validated changes

lerna --scope @aws-amplify/cli run test

Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[x] Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #7167 (bf76cdd) into master (3b00f56) will increase coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #7167      +/-   ##
==========================================
+ Coverage   56.31%   56.37%   +0.06%
==========================================
  Files         445      445
  Lines       21806    21806
  Branches     4363     4363
==========================================
+ Hits        12280    12294      +14
+ Misses       8711     8697      -14
  Partials      815      815

Impacted Files
Coverage Δ

...xtensions/amplify-helpers/update-backend-config.ts
100.00% <0.00%> (+73.68%)
:arrow_up:

Continue to review full report at Codecov.

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


[sliders] larger slider handle in medIntParameter and medDoubleParameter

According to this issue https://github.com/Inria-Asclepios/medInria-public/issues/56 the manips wanted a larger handle in sliders. That's the goal of this Pull Request.
:m:

Can you show us a "Before vs After" ? So that we can see what you propose and compare with the current sliders.

I have 2 comments.
The first one is aesthetic: couldn't we keep a round handle?
Then, isn't it possible to change the style of the handle directly in the css? (In order to do it just once)

Oh and finally (it may be the answer to my previous question) why just in med**Parameters ?

Concerning the first point, we can, but the sliders become huge vertically, it's not ergonomic :/.
And for the second point, indeed, it's because i did not want to change every slider in the whole app. I see med**Parameters as small dedicated tools, and wanted to change these. For instance, it can happen that we want specific sliders in medInt and others in medDouble.


Debugger feature request - execution line colored differently

The cursor is in sufficient to show the next line of code that will be executed because you can position the cursor anywhere.
GoLand and Xcode both highlight the entire line with a color and a lot of transparency using a different color than for the line that the cursor is on. I don't use "depth color" so highlighting the entire line would be nice but Gide just marks/colors the narrow number line column so a different color marker in the number line would be fine.

will do this one tomorrow -- need to make sure we track where we are properly and clear etc.

done


[SILGen] Move non-trivial none-ownership values.

All non-trivial values which correspond to VarDecls must be marked appropriately so that they can be found by the relevant checker.  Here, values with none ownership are marked.

@swift-ci please test

@swift-ci please apple silicon benchmark

@swift-ci please test source compatibility

@swift-ci please test

@swift-ci please test source compatibility

@swift-ci please apple silicon benchmark

@swift-ci please test macos platform


removing rest of the references to jim's repo

found some more doing a grep on repo.

@julienstroheker can you take a look? I'm pretty sure this is why we are getting both repos in our go.mod/go.sum


Implement missing X-SMTPAPI support

In addition to the existing category support, this adds support for the remaining X-SMTPAPI options supported by smtpapi-ruby:

filters
send_at
send_each_at
section
sub
asm_group_id
unique_args
ip_pool

I think ideally, we'd just pass the X-SMTPAPI header through verbatim, so sendgrid-actionmailer wouldn't need to explicitly support any individual options (because it also feels a little overkill to be serializing, deserializing, and then re-sereializing this JSON). However, the current versions of sendgrid-ruby and smtpapi-ruby don't seem to support this. It sounds like there's a rework of those libraries possibly in progress, so rather than trying to address that kind of usage upstream, we'll just work with the current library APIs and be a little repetitive. But I think this should cover all the options smtpapi-ruby supports.

This is awesome, @GUI! Thanks a ton for the work.


Add metadata validator

Command-line JSON schema validator is useful utility when developing and debugging.
Example: https://github.com/equinor/fmu-metadata-validator (Equinor-internal)

I think that we can close this due to Pydantic generally making these pains easier. We can quite easily add a CLI endpoint if the need arises but I think we can wait for that issue to come when the need is great enough


Add documentation for developers

Use the gotype tool to print the go AST:
cd $GOROOT/src/go/types/
go build gotype.go
# (optional) copy gotype to your bin directory
gotype -ast main.go

Alternatively, replace src variable by your program in https://play.golang.org/p/b5UvM8Ye8V
--
Use c2go ast main.c to print the clang AST.

http://goast.yuroyoro.net/ - online show Go ast tree

Print some case of clang ast tree:
https://github.com/elliotchance/c2go/blob/769de31b59436c55f110921feafbc9df320e69ce/ast/util.go#L40-L42

@yulvil I'm not clean on what this ticket is for?

@elliotchance I would like to create a CONTRIBUTE.md where we could put those tools, a checklist of things to do before submitting a pull request, the code formatter for C programs ...

Sounds great. I know that github has been suggesting I do that as well.

Before start of working, need to install clang.

May be also, simply note about:

install Go
forking
go get addition libs


Events (maybe Groups, Spaces, etc too) covers aren't shown in Timeline

Cover was added later, so it's cache problem

Issue was fixed here: #4467


pomodoro timing set to 60 minutes , bar graph shows 30 minutes

The pomodoro timing is set to 60 minutes, but the auto bar graph shows it to be 30 minutes.

Confirm,
If you will try to change the graph to 15 mins, or 60 mins, it will show it as 15 mins or 60 mins Distributions.
and bare in mind that I its not even 16:00 in the example, so It generating "future" data


ci: test-auth  is flaky

I guess we can start with a couple retries and see if that's enough

I guess we can start with a couple retries and see if that's enough

that could be enough actually. i'll see if GHA has it


Download mdk-sdk from a more reliable source

I tried to build gyroflow on Linux, and the build failed because I somehow can't connect to sourceforge. The connection just timed out.
$ wget -v https://master.dl.sourceforge.net/project/mdk-sdk/nightly/mdk-sdk-linux.tar.xz\?viasf\=1
--2022-05-26 01:36:08--  https://master.dl.sourceforge.net/project/mdk-sdk/nightly/mdk-sdk-linux.tar.xz?viasf=1
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving master.dl.sourceforge.net (master.dl.sourceforge.net)... <IP_ADDRESS>
Connecting to master.dl.sourceforge.net (master.dl.sourceforge.net)|<IP_ADDRESS>|:443... connected.
GnuTLS: The TLS connection was non-properly terminated.
Unable to establish SSL connection.

I managed to manually download the file from the GitHub release page, extract to designated path and finish the build. Is it possible to change download source to github, or at least provides a way to configure it?

Github is generally more reliable, with faster download speed.
Compare to nightly build, it's more reliable to use a versioned stable release.

It seems that nightly build includes some critical bug fixes. So, closing for now. I do hope there will be a better mechanism for obtaining the compiled mdk library, though.


programManager cleanup

It is becoming obvious to me that programManager should be split into multiple external modules. Also the interfaces for inter-process communication I am using should just be interfaces of the arguments / returns of program manager.
Also the query functions in parent.ts could potentially move into programManager right next to the function that actually gets called by child. But that might confuse people in understanding what is child and what is parent so I need to think about this more. Open to suggestions.
Also more Async:

[x] goto definition
[x] format code

I’d like to help out describing an architecture, but you seem more available than I am to move forward on this over the next week. Do you want to just keep moving forward for now until things are reasonably stable and we can talk more seriously about a bigger cleanup at a later time?

Do you want to just keep moving forward for now until things are reasonably stable

The async stuff will be stable by the end of today.

we can talk more seriously about a bigger cleanup at a later time

I am on gitter right now if you want : https://gitter.im/TypeStrong/atom-typescript but whenever you want is okay :)

The async stuff will be stable by the end of today.

Done. Phew. programManager exports these sync functions : https://github.com/TypeStrong/atom-typescript/blob/a90bd067bba8656e41c6e1ed3c1bdea06118274f/lib/main/lang/programManager.ts#L228-L408
And all you need to do to make a function async is add it to the worker child's list of responders : https://github.com/TypeStrong/atom-typescript/blob/a90bd067bba8656e41c6e1ed3c1bdea06118274f/lib/worker/child.ts#L45-L56
And then add it to the parent : https://github.com/TypeStrong/atom-typescript/blob/a90bd067bba8656e41c6e1ed3c1bdea06118274f/lib/worker/parent.ts#L132-L142 where childQuery automatically takes a sync function and changes it signature to one that is async and promise based.
Gain : you only need to define the query/response interface once and its never out of sync from the function definition. Plus adding new functions is done is a typesafe using name only once manner.

we can talk more seriously about a bigger cleanup at a later time

@csnover just finished #63. See https://github.com/TypeStrong/atom-typescript/blob/master/CONTRIBUTING.md#architecture and raise a concern if there is anything you don't like / understand.


Trigger staging bundle properly

Issue #, if available:
Description of changes:
Testing (if applicable):
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
/approve

Presubmit failed with following validation error:
build/lib/validate_bundle_numbers.sh bundle development
Previous number (79) does not exist in https://beta-assets.eks-anywhere.model-rocket.aws.dev/releases/eks-a/manifest.yaml!
Double check that your new bundle number is +1 the previous release

This is because we had 79 for EKS-A v0.19.11 release
/override eks-anywhere-development-bundle-presubmit


Recover from teleop IK freeze

We want to allow a safe pos to be sent at the end of teleoperation if the IK is frozen.
We could also inform the user

Hello, we tried to solve the issue.
This is what we did:
Add new messages and RPC methods to handle safe position sending and IK frozen notification in the ArmService. This includes adding a SafePositionRequest message, an IKFrozenNotification message, and corresponding RPC methods in the ArmService.
You can review changes in this commit: https://github.com/jjyutm4532/pollen-robotics-reachy2-sdk-api-153/commit/c3a1eec5f7851877039a042b01ef896a84a0189d.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.


Cannot resolve parameter 'Reqnroll.IReqnrollOutputHelper reqnrollFlowOutputHelper'

Reqnroll Version
2.2.1
Which test runner are you using?
xUnit
Test Runner Version Number
2.8.1
.NET Implementation
.NET 8.0
Test Execution Method
Visual Studio Test Explorer
Content of reqnroll.json configuration file
No response
Issue Description
The dependency IReqnrollOutputHelper is not injected by default when using Autofac plugin. If you try to add it without registering it will result in the above exception. The other DI plugins seem to inject this by default but Autofac doesn't. The workaround is to inject it manually like so:
containerBuilder
    .Register<IReqnrollOutputHelper>(c =>
    {
        var threadContext = c.Resolve<TestThreadContext>();

        var outputHelper = threadContext.TestThreadContainer.Resolve<IReqnrollOutputHelper>();

        return outputHelper;
    });

Steps to Reproduce
Try to use IReqnrollOutputHelper in your project anywhere in your project while using Autofac plugin.
Link to Repro Project
No response

@Antwane Could you please send a pull request for this?