auto-complete case-insensitive

Codecov Report

Merging #270 into master will not change coverage.
The diff coverage is 66.66%.

@@           Coverage Diff           @@
##           master     #270   +/-   ##
=======================================
  Coverage   86.61%   86.61%
=======================================
  Files          50       50
  Lines        3078     3078
=======================================
  Hits         2666     2666
  Misses        284      284
  Partials      128      128

Impacted Files
Coverage Δ

openapi/commando.go
80.86% <66.66%> (ø)

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 2b75fd9...9f53aa1. Read the comment docs.


Hold window and switch workspace

Hold window from workspace and switch workspace, and then be able to drop it down to a new workspace, along with an animation.

bind=SUPER,P,togglefloating
bind=SUPER,P,pin

This will alow you to make a window floating and pin it at the same time. Then you can switch to any workspace (observe how the window stays in its place) finally it animates back into the tiling.

bind=SUPER,P,togglefloating
bind=SUPER,P,pin

This will alow you to make a window floating and pin it at the same time. Then you can switch to any workspace (observe how the window stays in its place) finally it animates back into the tiling.
@vaxerski one small ux-issue though. Can we haz a setting for make pinned window stay focused when switching workspaces?

Maybe i missspoke, but i ment holding the window with the mouse and when you switch workspaces while doing this, you can have the window in your grasp and also be able to drop it into a new workspace.

can't you do that by just adapting the mouse bindings according to my example?

bind=SUPER,P,togglefloating
bind=SUPER,P,pin

This will alow you to make a window floating and pin it at the same time. Then you can switch to any workspace (observe how the window stays in its place) finally it animates back into the tiling.
@vaxerski one small ux-issue though. Can we haz a setting for make pinned window stay focused when switching workspaces?

Maybe i missspoke, but i ment holding the window with the mouse and when you switch workspaces while doing this, you can have the window in your grasp and also be able to drop it into a new workspace.

Well I can do this normally with my bindings...
I use this to grab/move the window:
bindm = SUPER, mouse:272, movewindow
I use this to change workspaces:
bind = SUPER, mouse_up, workspace, e+1
bind = SUPER, mouse_down, workspace, e-1
If I hold super and grab a window then scroll the mouse while, it carries the window together just fine
But it won't work if I directly change to a workspace with eg:
bind = SUPER, 1(...9), workspace, 1
Only using the e+1/e-1 switches

Is this issue still relevant? Doesn't movetoworkspace do the same thing, essentially?

@fufexan It gets the same thing done in a different way yeah.
Interesting enough in my config it works if I use the mousewheel to switch workspaces, period and comma doesn't allow me to keep dragging the window:
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
bind = $mainMod, period, workspace, e+1
bind = $mainMod, comma, workspace, e-1

bindm = $mainMod, mouse:272, movewindow

tested a bit more, any keypress disrupts the movewindow, resizewindow too, if mouse used.


Dropdowns close when embedded Input becomes the focus

Steps
Dropdowns are closing when an embedded Input becomes the focus. This issue is visible on the website in the following example code:
https://codesandbox.io/s/mj215rmnvx?module=/example.js
Expected Result
You should be able to enter text into the Input without the Dropdown closing.
Version
0.87.1

We are going to drop support of Children API in Dropdown because we can't properly handle such situations.
Workaround
onClick={e => e.stopPropagation()} // on Input

https://codesandbox.io/s/semantic-ui-react-example-fr6u3


[RESOLVED] High ICMP ping response time

Problem started at 09:02:16 on 2023.05.25
Problem name: High ICMP ping response time
Host: ST-FG
Severity: Warning
Operational data: Value: 741ms
Original problem ID: 22430
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23135&eventid=22430

Problem has been resolved in 9m 0s at 09:11:16 on 2023.05.25
Problem name: High ICMP ping response time
Host: ST-FG
Severity: Warning
Original problem ID: 22430


Rename TensorFunction

The name for this class is not very informative nor intuitive about what the class does. Maybe a name like TensorSymbol is better.

I've been contemplating a similar issue for a while now, and I'm actually tempted to argue the opposite direction here. Since the introduction of Dimension objects we now have two distinct types of "symbol": functions and indices - and our original naming convention does not make this difference very clear. I'd go as far as argue that, since we ultimately want to be a mathematical DSL, using the term "function" to denote symbols that we can take derivatives of seems much more intuitive. This would mean that TensorFunction is actually quite a good name, while terms such as DenseData and TimeData might need a re-think.

The term TensorFunction still implies it is a function that operates on a tensor. That is not what it is. The name is still incorrect.

Ok, having thought about this some more, I believe the "function working on a tensor" is not the right way to classify this, and neither is "TensorFunction" the correct term for what the class notates: a temporary array.
In fact, looking at other PDE languages, I believe the convention used (and please correct me if I'm wrong), is to have a "Function" denote a "mapping of a value to a point in a grid" - ie. the symbolic object that (discretized) represents a multi-dimensional array. Along the same line of reasoning, a VectorFunction maps a vector of value to each point in the physical domain (eg. coordinates or a velocity vector), while a TensorFunction maps a tensor value (3x3 in 3D)  to each point. This also aligns well with the idea of a "Function" denoting a symbol I can take a derivative of.
In light of this, I'm bound to agree that "TensorSymbol" (or "TensorValue") is probably slightly more appropriate than "TensorFunction" for the current temporary array symbol. Similarly I would argue thought that "DenseData" should really be "ScalarFunction" (not "Function" to avoid SymPy aliasing for now), while we might build Vector/TensorFunction classes later to replace or specialise CoupoundData.
However, I think our current nomenclature is ultimately quite bad, and we should revamp it. I propose to create a clean API where we only provide ScalarFunction, TimeFunction and SparsePoint, as well as Grid/Staggered classes, while having data and/or shape attached to symbols is optional (although by default provided through the grid). This also entails that we don't need a separate class for temporaries that do not carry data in the user space.
Thoughts? @navjotk @mloubout @FabioLuporini @ggorman
@navjotk I can file a new issue for this if you feel a a complete re-naming is beyond this issue.

I agree that DenseData is not a very good name, however I find ScalarFunction quite odd. It hides its space dependency as scalar would mean constant (to me).
I'll do some digging to see if there is some better way to name it (when I find time).
I am also not a big fan of Tensor names personally and would raser avoid it (can be misinterpreted from some fields).

Well I think the rigorous term is "scalar-value function", as opposed to "vector-valued function" or "tensor-valued function". I believe that distinction will become very important for staggered grids. The problem I have with the current names is that we should not conflate data/CS terminology in what ultimately should be a math language. Since we are not the first ones to tackle this problem though, I would look to other PDE DSLs - and here this nomenclature is common. More digging required though to be sure...
One idea here would be to alias also alias "Function" -> "ScalarFunction", so that our devit.Function becomes, at least in the symbolic part, a near drop-in replacement for sympy.Function, but our constructor API is quite different, so actual overloading won't work.

@mloubout Also, I think the space-depency is implied by the term "Function" in all cases, at least in a PDE-solving context.

I agree current names are bad. I also think we should simplify everything. How about this:

Function (yes, we'll have to alias SymPy's Function, ...) to replace both DenseData and TimeData. Function's new method can then return an actual Function or a time-dependending Function, if this distinction needs to be maintained through two different objects (probably simpler)
PartialFunction would be the equivalent of SparsePoint
Constant to replace the current ScalarFunction
Tensor to replace the current TensorFunction

I generally agree, and I have no problem starting to alias sympy.Function, if it is well documented - I'll see if I can make the constructor more compatible once we implement this change. Exceptions:

Unsure about PartialFunction, although I can probably be persuaded
Scalar seems sensible to me, but tensor seems very ambiguous in that case. Are these supposed to be for (DSE) temporaries only, or are we planning to use them in the user API at some point too? If the former, I'd be inclined to say TemporaryScalar/TemporaryFunction; if the latter how about Constant and SymbolicFunction (probably need to rename something else)?

Unsure about PartialFunction, although I can probably be persuaded

A mathematician should shed some light on this

Scalar seems sensible to me, but tensor seems very ambiguous in that case. Are these supposed to be for (DSE) temporaries only, or are we planning to use them in the user API at some point too? If the former, I'd be inclined to say TemporaryScalar/TemporaryFunction; if the latter how about Constant and SymbolicFunction (probably need to rename something else)?

The way I see it, only in the DSE, but who knows... the reason I chose Scalar and Tensor was precisely that: to be usable by users too.
I agree about Constant; how about Constant and Array? "array" is a lower level name, like a "temporary". I don't like very much "Temporary"


Relax poetry-core version and prepare for 2.0.1 release

Resolves: #289

Can we please split the two commits? One to change the requirements, another to prepare the release.

Done


RWA-2044-remove unnecessary spaces from dmn response

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/RWA-2044
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[X] No

Very stale and the build is broken.


Support sorting dictionary encoded primitive integer arrays

Which issue does this PR close?

Closes #2679.
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

The C++ building error is known issue. I will merge this once other CI tasks pass.

Thanks.


deployment.yaml - don't use template extra-vars.yml

deployment.yaml should not use template/extra-vars.yml but rather create our own, like we do in case of vars/dev.yml
See https://github.com/packit/deployment/pull/136

The testing extra-vars.yml is now generated from a separate template:
https://github.com/packit/packit-service/blob/master/files/deployment.yaml#L31 ->
https://github.com/packit/deployment/blob/master/roles/generate-secrets/tasks/generate-configs.yml#L11 ->
https://github.com/packit/deployment/blob/master/roles/generate-secrets/templates/extra-vars.yml.j2


Extracting quantum-resistant keys and classical keys from a composite key.

Hello,
Given a composite key, is there any way to programmatically extract quantum-resistant keys and classical keys from a composite key the same way we do for hybrid key using  OQS_HYBRID_PKEY_PARAM_*  ?
It seems that the provider can do it when parsing an input key or certificate.

Then a question to @maroueneboubakri : Are you saying that https://github.com/open-quantum-safe/oqs-provider/issues/372 is resolved then? Would you be willing to share there how to do that so it can be closed?

Tagging @feventura for advice on separating classic from composite keys.
Then a question to @maroueneboubakri : Are you saying that #372 is resolved then? Would you be willing to share there how to do that so it can be closed?

@baentsch that works for hybrid keys, but seems not for composite keys, if that thread/PR is supposed to support both hubrid and composite then I need to double-check for potential bug ?

I need to double-check for potential bug

I'm afraid so: The solution by @thb-sb in #372 pre-dates the integration of composite keys, so there may indeed by something fishy. That's why I tagged the author/contributor of composite sigs, @feventura to possibly also take a look. And while we're at it, maybe also tapping @praveksharma for ideas knowing his interest in composite keys, too.

I'm not sure if this feature is something we desire in the composite, but regardless should be an interesting discussion. @maroueneboubakri Can you bring this to the WG, either through the mailing list or a git issue?

Hi @maroueneboubakri .
Could you explain a bit more about what you are trying to accomplish by extracting the component keys?
I have two conflicting opinions about this:
On the first side, the whole purpose of a composite is to treat the whole thing as a single key. If you start extracting the components and using them for cryptographic operations (sign, encrypt) outside of the composite, then that completely undermines the security properties of the composite. The Internet Draft is very clear to never re-use component keys. So in that regard, the API you ask for is quite dangerous and can be easily mis-used.
On the other hand, I could see people wanting to extract the component keys to perform checking on them -- ex.: key size, modulus, checking for Debian Weak Keys style RNG problems, etc. And in that regard, such an API seems useful.
@baentsch It's probably reasonable to have an API to split a composite public or private key into its parts, but we should probably put some strong wording in the oqs/openssl documentation that you open yourself up to downgrade attacks if a verifier or decryptor is willing to use the same key both in a composite and by itself, so reuse of composite component keys is strongly discouraged.

Hi @maroueneboubakri .
Could you explain a bit more about what you are trying to accomplish by extracting the component keys?
I have two conflicting opinions about whether an API to break a composite into pieces is a good idea:
On the first side, the whole purpose of a composite is to treat the whole thing as a single key. If you start extracting the components and using them for cryptographic operations (sign, encrypt) outside of the composite, then that completely undermines the security properties of the composite. The Internet Draft is very clear to never re-use component keys. So in that regard, the API you ask for is quite dangerous and can be easily mis-used.
On the other hand, I could see people wanting to extract the component keys to perform checking on them -- ex.: key size, modulus, checking for Debian Weak Keys style RNG problems, etc. And in that regard, such an API seems useful.
@baentsch It's probably reasonable to have an API to split a composite public or private key into its parts, but we should probably put some strong wording in the oqs/openssl documentation that you open yourself up to downgrade attacks if a verifier or encrypter / decrypter is willing to use the same key both in a composite and by itself, so reuse of composite component keys is strongly discouraged.

@ounsworth Thanks for the explanation !


Update sbt-scalajs, scalajs-compiler, ... to 1.4.0

Updates

org.scala-js:sbt-scalajs
org.scala-js:scalajs-compiler
org.scala-js:scalajs-library
org.scala-js:scalajs-test-bridge

from 1.3.1 to 1.4.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-js" } ]

labels: library-update, semver-minor

Codecov Report

Merging #411 (100f1cd) into master (f4909d3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #411   +/-   ##
=======================================
  Coverage   62.37%   62.37%
=======================================
  Files          38       38
  Lines        1289     1289
  Branches        8        8
=======================================
  Hits          804      804
  Misses        485      485

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 f4909d3...100f1cd. Read the comment docs.

Codecov Report

Merging #411 (100f1cd) into master (f4909d3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #411   +/-   ##
=======================================
  Coverage   62.37%   62.37%
=======================================
  Files          38       38
  Lines        1289     1289
  Branches        8        8
=======================================
  Hits          804      804
  Misses        485      485

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 f4909d3...100f1cd. Read the comment docs.


Migrators: Update example migrator to demonstrate cross-collection operations

For example:

creating a document in a collection, using values from an existing document in a different collection

This ticket will be closed once https://github.com/microbiomedata/nmdc-schema/pull/1772 (awaiting review) has been merged into main.

@turbomam is this review done yet?

@eecavanna this has been in review for a while. Since you're out can you update it and add it to the next sprint Monday if it's still an active issue.  Thanks!
I'm removing from the board.

Status (from my perspective):

Implementation is done
Awaiting review/merge

@turbomam, I'll check in with you about it next week. As far as I'm concerned, it can be merged in.


Contacts and Messages "Date" should be "DateTime"

On both the Contacts list screen and (after clicking on a Contact) the Message list screen for a specific content, the date appears in the list.  Please change the display from being a date, to a date/time so we can see when the Contacts and Messages are updated.
Screenshots:

@cvarjao  Has the development for this ticket been done? I notice that the contacts screen doesn't have a date now, and the chat screen has date time as requested.

Checked. messages are timestamped.


Unending Bowl filling tanks right after right-click, making singularities in AE worthless

General Information
Describe the bug:

This might be a FEATURE, but it truly breaks the balance from the perspective of a Modpacker. We have Actually Addition, which provides the fluid laser relay which can transfer fluid immediately, and we have Blood Tank Tier 16, which can contain 524288000 mB of any available fluid. When right click those tanks, tested ones in Mekanism, Blood Magic, Thermal Expansion, Embers Rekindled and Extra Cells 2, the Bowl will fill it to full immediately. But what is weird is that when testing this to the drums in Extra Utilities 2, the Bowl will just give 1000mB to the drum. The feature breaks the balance as when cooperate with the Fluid Laser Relay and the Matter Condenser, it makes the Singularity worthless. And if other Modpacks has something which requires a huge amount of Water or something else related to water to operate, it will be a disaster to the balance.
To Reproduce:

Described above.
Expected behavior:

Give 1000mB (or a little more is okay) to water containers per right-click.

Environment Versions

3.0.13
Mystic Mods Versions

MysticalLib: 1.3.7

Other Versions:

Conflicting mod (if regarding mod integration): null
Other mods you think could cause issues: null
Forge: 2847
Minecraft: 1.12.2
Modpack (if available): EnigTech 2

Logging Information
Please Use gist, paste.ee, pastebin or some other log sharing service
Crash Report (if available):

Latest Log (if necessary):

Additional Information
Screenshots (if available):

Additional context (optional):

As far as Extra Utilities 2 drums go, those things do not play by the rules and actually argue with a lot of modded fluid-holding items. I just wanted to let you know that.
A config option for the bowl sounds like a reasonable suggestion on this front.

I'll have to look into this but if you are so concerned about the item there is always the possibility of using CraftTweaker to remove the recipe from the game.
Part of the issue is that some mods enforce their own limits on how much fluid can be transferred at a time (like XU2), while others rely on on the input/output conduits to determine how much fluid can be transferred.  If I were to artificially limit to 1000mb that would prevent conduits that transfer more than 1000mb at a time from transferring more than 1000mb.
Honestly, I'm more likely to add an option to disable the ItemStack fluid capability than one to actually limit the fluid input.
If you are also concerned about infinite water sources, you should check out Cooking for Blockheads' sink as another potentially problematic area.

And if other Modpacks has something which requires a huge amount of Water or something else related to water to operate, it will be a disaster to the balance.

Emphasis mine. "If". Can you actually identify any areas where this is actually problematic, or are you just expressing concern the possibility that it might be problematic?

Okay, so, there hasn't been any response in five weeks, so I'm closing this as "I have no idea what you want me to do".


Implemented GetCpuUsage() function

This pull request relates to the issue #6
The GetCpuUsage() method in cpu.go was implemented using gopsutil library's cpu.Percent function. The result is displayed by ResultPrinter function as a percentage of overall CPU usage.
Apologies for second PR, it seems that I still have some trouble finding my way around GitHub

@DarthBenro008 This PR is now properly set up. I am sorry that I accidentally closed the previous one, hope everything is ok with this one.

@S-Maciejewski LGTM! Just a small change, could you limit the output to two decimal places only, feel that would be great


colors module in version 0.2.0-RC1

colors module dependency is not available in package.json. Should be added.
without it getting error as below
Error: Cannot find module 'colors'

Arg!! Thanks, @vermaslal. I'll fix it...


[new-arch] Progressbar misbehaves when too long

@graphicore If you run fontbakery on a family with enough fonts that can cause the number of checks to exceed a single-line progressbar, then the whole output is messed up by the gradual redrawing of the progressbar.
Please try to see the output of:
fontbakery check-googlefonts ~/gfonts/ofl/firasans/*.ttf

It is ugly during execution and the end-result is unreadable because the actual log result messages are chopped in the terminal buffer by snippets of the partial results summary and progressbar content.

I'll look into this soon. Thanks for reporting.

This is better, but I still see some glitches from time to time. But the output does not get corrupted and the glitches I see are really minimal, so they are not a major concern anymore. I think I'm ok to close this issue now. Feel free to reopen the issue if you think the minor aesthetical problem is unbearable.

The glitches are because the TTY is not updating fast enough. I added some controls to throttle the output one time based, one input count based. But, it's not straight forward to print asynchronously in python, so we're always waiting for something that wants to print to then decide whether to flush the logs or not. Thus, to much can't be done with the throttles, because it often means we're waiting for a long running test, while we already collected some logs from tests before.

The output corruption and the glitches are different things as well.

thanks for the clarification!


*: Replace 'array' with 'array of {type}'

Covering all cases turned up by:
$ git grep '\*array'

runtime-spec does this pretty consistently, and the first such usage appeared in image-spec with f3d0f78 (config: reformat and add optional/required, 2016-09-20, #333).  And before that, c22ca799 (serialization: docker v1 image format media type, 2016-04-04, #6) had landed some:
array of strings

LGTM

lgtm, thank you


Use serialize-error for auth errors mutations

Hey!
This is kinda related to https://github.com/feathers-plus/feathers-vuex/pull/60. Errors for the auth module where not set correctly. I used the same logic from the service module mutations.

Ah.  Very nice.  Thanks!


caps disappear time to 15 minutes

fixes #219 and #220
per the recommendation here, these anomalies are in the scope of the consumer to fix
https://github.com/AeonLucid/POGOProtos/pull/184

this is the wrong fix... this way you get wrong disappear times into your database.

Okay, that does sound like a better approach. @seikur0, have you confirmed that those sightings eventually show the correct time?

Not for 1x60 spawns, that spawn every hour one pokemon for one hour. These have a wrong tth at all times and won't get detected at all. But that's the design decision of modrzew. I'm not using pokeminer, just saw that issue and fixed it, so the map will have exactly the same behavior as before the overflow.

@seikur0 will 60 min spawns not appear like 15 min pokemon when time_till_hidden_ms is below 15 minutes?

No, they won't. If you want some kind of explanation, I'd say this: time_till_hidden_ms is the time until the spawn point is empty and only sent as a valid time, if it's below 15 min. Since a 1x60 spawn point is never empty, it never gets a valid tth.

@seikur0 isn't time_till_hidden_ms related to a Pokemon and not to a spawn point? Won't 60 minute spawn send proper time_till_hidden_ms when there's less than 15 minutes for it to disappear?

You'd think so, but no. 60 minutes spawns never send a proper tth.


Add the ability to filter product by product slugs.

Maybe I'm overlooking this feature but I would like to filter products in the following way;
/api/v1/products?filter[url][slug]=product-slug

This should actually be possible. We are calling the endpoint exactly like this on the product detail page.
Am I right @kreejzak ?


Integrating Arch with Microsoft Word through a local Word Add-in

Is there any document or sample code for the following? I'd like to create a demo on how to integrate Arch with Microsoft Word for personalized agent through my local Word Add-in (GPTLocalhost). The demo may attract users to test out both Arch and GPTLocalhost, whether the agent is in a hosted environment or runs locally.

Today, the function calling LLM (Arch-Function) designed for the agentic and RAG scenarios is hosted free of charge in the US-central region. To offer consistent latencies and throughput, and to manage our expenses, we will enable access to the hosted version via developers keys soon, and give you the option to run that LLM locally. Pricing for the hosted version of Arch-Function will be ~ $0.10/M output token (100x cheaper that GPT-4o for function calling scenarios).

Hi @GPTLocalhost, thanks for creating the issue. We have the model card for the Arch-Function model at
Arch-Function model card, you can choose the size appropriates with your local hardware and use vllm/ollama to host it locally.

Thank you for the pointer. Is there any example of "arch_config.yaml" for using "vllm/ollama"?

Right now we are working on an update to let the user host the model locally with vllm/ollama unfortunately :(.  However, the gateway uses the public endpoint defined at https://github.com/katanemo/archgw/blob/970db685754d2e4681c85a7f4f8649800636378f/model_server/app/commons/constants.py#L14 and the model server is at the port defined at the yml file https://github.com/katanemo/archgw/blob/970db685754d2e4681c85a7f4f8649800636378f/demos/hr_agent/arch_config.yaml#L21. You can try it out as is right now or modify https://github.com/katanemo/archgw/blob/970db685754d2e4681c85a7f4f8649800636378f/model_server/app/commons/constants.py#L14 with localhost url.


Fix self-generated content action

What this PR does / why we need it

Towards https://github.com/giantswarm/giantswarm/issues/30464
Things to check/remember before submitting

If you made content changes

Run make dev to render and proofread content changes locally.
Bump last_review_date in the front matter header if you reviewed the entire page.

It works like a charm! -> https://github.com/giantswarm/docs/actions/runs/8850138492/job/24303705812


Added TC Aspects for more mobs

This PR includes the following updates:

Reworked and completed the aspects for mobs from SpecialMobs.
Added aspects for the Witchery Hellhound.
Added aspects for mobs from BiomesOPlenty.
Added aspects for mobs from Ender Zoo.

Related PR about updating the generated configs: https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/pull/16943

Hey @GTNewHorizons/developers would anyone be willing to review this?

Thanks Caedis, I'll look at that now

Should be all resolved in 820e6001484cb4ffa2cb5c247b7fd35e3a13fc07. I have also updated the other config PR


Add support Cloudflare Provider

https://www.terraform.io/docs/providers/cloudflare/index.html

https://github.com/cloudflare/cf-terraforming/issues/61


Better background colour for homepage splash

If we set a dark background colour as well as the image it’ll show while the image is loading (or if the image fails to load). This colour is picked from the background of the image to reduce impact when it loads.
Here’s a screenshot with the main image purposefully toggled off.

Good idea, thanks!


Closes: #1

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

a review comments
it's a  amazing course
thanks


DB.rollbackTo may cause inconsistencies between checkpoints and other data

Context

Information
-

Version

Platform

Installation

Steps to Reproduce
If our DB stores:
Checkpoints: cpA                cpB
TxMeta:          m1
Certs:                     c1
--------------------------------------> Increasing slotId
                              |
                              |
                              + p, rollback to here

And we rollback to some point p between c1 and cpB.
Expected behavior

We rollback to cpA, and make sure all other data is consistent with that checkpoint.

Actual behavior
We rollback to cpA
We don’t remove txMeta1 and cert1 because they are earlier than the requested rollback point p.
And our new state is:
Checkpoints: cpA
TxMeta:          m1
Certs:                     c1
--------------------------------------> Increasing slotId

The wallet will continue restoring from cpA. m1 is a txMeta from a different chain, and shouldn't exist.

Example test 1
Example test 2

Resolution

Clear certs, txMeta etc based on the actual rollback point instead of the requested rollback point #1579

QA

Golden test in DB close which is almost a "mockchain" that illustrates problem
Adjusted both Sqlite DB, and Model DB
Also had to tweak an existing property test

lgtm.


deepsparse support for numpy > 1.21.6 ?

Hello,
I would like to be able to use deepsparse with a numpy > 1.21.6 . Is it just a setup.py problem or is there a real incompatibility with numpy > 1.21.6 ?
thanks

Hey @SmartAudioTools . Yes, there is a bit of a problem with the fact that newer numpy versions when creating ragged nested sequences. We are currently working on the solution as we speak and in a matter of days, we should be supporting the latest numpy version.

Hi @SmartAudioTools latest Numpy support landed on nightly yesterday!You could try that.


feat: generate schema from example message

The generator has been implemented assuming that all message objects include a payload with properties. This is used when generating Java classes to be able to create attributes that matching the expected message properties.
This causes the generator to fail with AsyncAPI documents that don't include payload properties. Some such documents will provide a sample message instead. For these documents, we can attempt to derive a schema from the sample, and use that schema to generate a usable set of properties.

/au

/rtm


code: 3050003, name: "eosio_assert_message_exception"

when i push transaction to node by http rpc, return the error:
{"error": "http://<IP_ADDRESS>:8888/v1/chain/push_transaction: status code=500, body={\"code\":500,\"message\":\"Internal Service Error\",\"error\":{\"code\":3050003,\"name\":\"eosio_assert_message_exception\",\"what\":\"eosio_assert_message assertion failure\",\"details\":[]}}"}
why?

We haven't received any follow up from this.

If you still have the problem and wish to discuss further, please post it in https://eosio.stackexchange.com. To keep things organized, Github issues are intended for bugs reporting and features tracking, and Stack Exchange is the right place for any technical support discussions. Thanks!


model_web download

Do you have a link to the model_web.zip file? I'd like to take a look at the structure, label.json file etc. Many thanks.

I don't have one handy at the moment, but the labels.json is super simple (just an array):
["label 1", "label2", "label3", "..."]


Create main.yml

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Test comment

Test Comment

Test

Another test


Fixed bug with uni test launch option not working from vscode

[ ] Does the PR description accurately reflect the changes made?
[ ] Do the commit messages accurately reflect the changes made?
[ ] Is the changelist for this pull request under ~200 lines? (Excepting automatically generated code and package installations)
[ ] Does the code follow the coding style guidelines that we have set up?
[ ] Does the coder include unit tests for his functions?
[ ] Does the QA who reviews the code include his unit tests for all the functions?
[ ] Is there a documentation in place if the functions is related to how users build, test, interact with, or release code?

Codecov Report

Merging #53 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #53   +/-   ##
=======================================
  Coverage   64.09%   64.09%
=======================================
  Files           7        7
  Lines         220      220
  Branches       30       30
=======================================
  Hits          141      141
  Misses         56       56
  Partials       23       23

Flag
Coverage Δ

#unittests
64.09% <ø> (ø)

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 44151c0...30c8e2a. Read the comment docs.

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


Formatter line wrap imprecision

My config file specifies uses 100 as a value to split lines:
However, in some cases the formatter produces output that contains lines with more than 100 characters. For instance:
public class RPCBlockWriteRequest extends RPCRequest {
  private final long mUserId;
  private final long mBlockId;
  private final long mOffset;
  private final long mLength;
  private final DataBuffer mData;

  public RPCBlockWriteRequest(long userId, long blockId, long offset, long length, DataBuffer data) {
    mUserId = userId;
    mBlockId = blockId;
    mOffset = offset;
    mLength = length;
    mData = data;
  }
}

The constructor method is 101 characters long and the formatter does not wrap it.
I tried playing with the value of the line split and indentation and it seems that the formatter treats each level of indentation as a single space (as opposed to however many spaces there are).
Is this something that can be fixed in the formatter itself? Or is there another property in the config I could set to resolve this? Any help would be appreciated. Thanks.

@calvinjia

Have you tried it in Eclipse itself?

Just tried this with a newly installed Eclipse 4.5. Setting the maximum line width to 100, indentation policy to "spaces only" and indentation size and tab size to 2. It wraps the lines properly.

I just tried it in Eclipse 4.5.2, and it behaves exactly like with the plugin. I would need to have your config file....


job-table: sort stages by id

Actually, this is not working properly. Java doesn't sort numbers in the natural order (10 is coming before 1). I'll raise another PR for the same.


Couldn't access IPv6.

Please provide IPv4 source. The 1st link m3u couldn't access from Malaysia.

The current support is only available for access in China.


Improve handling of missing message attribute

Description of changes:
Improve handling of missing message attribute on virtual queue receive and delete the message
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: Java-Temporary-Client-CI
Commit ID: 2c0eb81f5d4fb138211a4f0bc72317c76f044363
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: Java-Temporary-Client-CI
Commit ID: 9d3adeb45de10d53e490f8b6202aec86f70d6187
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: Java-Temporary-Client-CI
Commit ID: b10028f5fe157a1e6348b89a900baa77529277ae
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Temurin 23 binary builds not accessible through API

Describe the bug
Looking at https://github.com/adoptium/temurin23-binaries/releases/ I see jdk-23+2-ea-beta being present, however when trying to get it using:
wget https://api.adoptium.net/v3/binary/latest/23/ea/linux/x64/jdk/hotspot/normal/eclipse

I get a 404 error.
To Reproduce
$ wget https://api.adoptium.net/v3/binary/latest/23/ea/linux/x64/jdk/hotspot/normal/eclipse

--2023-12-20 11:40:34--  https://api.adoptium.net/v3/binary/latest/23/ea/linux/x64/jdk/hotspot/normal/eclipse
Resolving api.adoptium.net (api.adoptium.net)... <IP_ADDRESS>
Connecting to api.adoptium.net (api.adoptium.net)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-12-20 11:40:35 ERROR 404: Not Found.

Expected behavior
Get an EA build of JDK 23.
Device (please complete the following information):

OS: Linux
Browser: GNU Wget
Version: 1.21.3 built on linux-gnu

** Additional context **
Last time we faced this issue with JDK 22 it was a matter of redeploying the API endpoint with -DLATEST_JAVA_VERSION=22.
cc @johnoliver @jerboaa

Last time we faced this issue with JDK 22 it was a matter of redeploying the API endpoint with -DLATEST_JAVA_VERSION=22

Yes. Probably needs a re-deploy with -DLATEST_JAVA_VERSION=23. /cc @sxa

FYI @andrew-m-leonard

@sxa @jerboaa @johnoliver I seem to remember the API does not currently support returning "tip" version assets, as I remember handling that condition on the daily Slack status code: https://github.com/adoptium/ci-jenkins-pipelines/blob/cb030764501de888c05ebbf6ac1a030731a3e72a/tools/nightly_build_and_test_stats.groovy#L245

I'm not sure that's true. See the comments in #720 where we faced this last time. A redeploy of the API endpoint server with -DLATEST_JAVA_VERSION=23 should do the trick. At least it did it last time.

should be there now

@johnoliver Can you clarify what was done to fix this? We should have this documented as part of https://github.com/adoptium/temurin-build/wiki/Setting-up-new-build-jobs,-mirrors,...-when-a-new-openjdk-version-is-branched-from-jdk(head)

@johnoliver Looks like we need the same fix for JDK 24 now. See #1077.

@johnoliver Is there a way we can make this code dynamic? https://github.com/adoptium/api.adoptium.net/blob/9b536a207a01db1e8d3be0585504391bf439d03a/adoptium-models-parent/adoptium-api-v3-models/src/main/kotlin/net/adoptium/api/v3/models/Versions.kt#L5
eg.

by querying openjdk/jdk git "tags"
make Versions.version a dynamic list rather than a fixed Array
ditto Versions.ltsVersions

@johnoliver Is there a way we can make this code dynamic?
https://github.com/adoptium/api.adoptium.net/blob/9b536a207a01db1e8d3be0585504391bf439d03a/adoptium-models-parent/adoptium-api-v3-models/src/main/kotlin/net/adoptium/api/v3/models/Versions.kt#L5
eg.
* by querying openjdk/jdk git "tags"

* make Versions.version a dynamic list rather than a fixed Array

* ditto Versions.ltsVersions

I've created #1083 to track this work.

I'm closing this. If we need some documentation, we should use the newest one, which is #1077.


Added browserlist settings to development documentation

Adds a note to append browserlist to the development package.json.

After some discussion with @sukhrajghuman we've agreed that in this context browserlist is only relevant to autoprefixer.


mac-9 low on disk space.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
mac-9 low on disk space.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Removing old Caches directories under path below to free up disk space.
Library/Containers/com.apple.CoreDevice.CoreDeviceService/Data/Library/Caches/AppInstallationBinaryDeltas


apostrophe-cli uses create-project instead of create

apostrophe create test-project fails when creating new project. Updated to use apostrophe-cli create-project
$ apostrophe create test-project

 Apostrophe  create  Running the task [1/1]

 Apostrophe  Unable to locate an app.js in this directory. You need to be in the root directory of an Apostrophe project to run this command.  Failed

🙇   Just updated via PR https://github.com/punkave/apostrophe-documentation/pull/56.


Failed to connect to raw.githubusercontent.com port 443: Connection refused

help me please.
I am in China.

Hello,
if you are in China, from your PC with proxy download this:
https://github.com/cryptopoo/hiveos_gddr6x_temps/archive/refs/tags/v1.2.0.tar.gz
and upload it somewhere in China.
Then with "Run command" in HiveOS use:
wget -O - "<URL of file uploaded in chinese server v1.2.0.tar.gz>" | tar -C /tmp -xzf - && cd /tmp/hiveos_gddr6x_temps-1.2.0 &&
./install.sh

Make sure to replace <URL of file uploaded in chinese server v1.2.0.tar.gz> with the URL of the file uploaded in a server reachable in China.
Hope it helps :crossed_fingers:


GeoIP cannot be imported

I've followed instructions from Python package index  and when I started server it gives me ImportError: cannot import name 'GeoIP', \easygeoip\views.py, line 3
When I run "pip install GeoIP" it gives me error, I managed to use GeoIP2 and after it can't import GeoIPException.

It would be nice to have the logs pasted here or elsewhere. I don't have enough information.


digital inverter notebook does not work in Colab ([ERROR]: Flow failed.)

When I executed digital-inverter-openlane.ipynb in Colab, the following error occurred:
env: PDK=sky130A
OpenLane 2023.03.01_0_ge10820ec-conda
All rights reserved. (c) 2020-2022 Efabless Corporation and contributors.
Available under the Apache License, version 2.0. See the LICENSE file for more details.

[INFO]: Using configuration in 'config.json'...
[INFO]: PDK Root: /content/conda-env/share/pdk
[INFO]: Process Design Kit: sky130A
[INFO]: Standard Cell Library: sky130_fd_sc_hd
[INFO]: Optimization Standard Cell Library: sky130_fd_sc_hd
[INFO]: Run Directory: /content/runs/RUN_2023.03.05_10.06.04
[INFO]: Preparing LEF files for the nom corner...
[INFO]: Preparing LEF files for the min corner...
[INFO]: Preparing LEF files for the max corner...
[STEP 1]
[INFO]: Running Synthesis (log: runs/RUN_2023.03.05_10.06.04/logs/synthesis/1-synthesis.log)...
[STEP 2]
[INFO]: Running Single-Corner Static Timing Analysis (log: runs/RUN_2023.03.05_10.06.04/logs/synthesis/2-sta.log)...
[STEP 3]
[INFO]: Running Initial Floorplanning (log: runs/RUN_2023.03.05_10.06.04/logs/floorplan/3-initial_fp.log)...
[INFO]: Floorplanned with width 23.46 and height 35.36.
[STEP 4]
[INFO]: Running IO Placement...
[STEP 5]
[INFO]: Running Tap/Decap Insertion (log: runs/RUN_2023.03.05_10.06.04/logs/floorplan/5-tap.log)...
[INFO]: Power planning with power {VPWR} and ground {VGND}...
[STEP 6]
[INFO]: Generating PDN (log: runs/RUN_2023.03.05_10.06.04/logs/floorplan/6-pdn.log)...
[STEP 7]
[INFO]: Performing Random Global Placement (log: runs/RUN_2023.03.05_10.06.04/logs/placement/7-global.log)...
[STEP 8]
[INFO]: Running Placement Resizer Design Optimizations (log: runs/RUN_2023.03.05_10.06.04/logs/placement/8-resizer.log)...
[STEP 9]
[INFO]: Running Detailed Placement (log: runs/RUN_2023.03.05_10.06.04/logs/placement/9-detailed.log)...
[STEP 10]
[INFO]: Running Placement Resizer Timing Optimizations (log: runs/RUN_2023.03.05_10.06.04/logs/cts/10-resizer.log)...
[STEP 11]
[INFO]: Running Global Routing Resizer Timing Optimizations (log: runs/RUN_2023.03.05_10.06.04/logs/routing/11-resizer.log)...
[STEP 12]
[INFO]: Running Detailed Placement (log: runs/RUN_2023.03.05_10.06.04/logs/routing/12-diode_legalization.log)...
[STEP 13]
[INFO]: Running Global Routing (log: runs/RUN_2023.03.05_10.06.04/logs/routing/13-global.log)...
[INFO]: Starting OpenROAD Antenna Repair Iterations...
[STEP 14]
[INFO]: Writing Verilog (log: runs/RUN_2023.03.05_10.06.04/logs/routing/13-global_write_netlist.log)...
[STEP 15]
[INFO]: Running Fill Insertion (log: runs/RUN_2023.03.05_10.06.04/logs/routing/15-fill.log)...
[STEP 16]
[INFO]: Running Detailed Routing (log: runs/RUN_2023.03.05_10.06.04/logs/routing/16-detailed.log)...
[INFO]: No DRC violations after detailed routing.
[STEP 17]
[INFO]: Checking Wire Lengths (log: runs/RUN_2023.03.05_10.06.04/logs/routing/17-wire_lengths.log)...
[STEP 18]
[INFO]: Running SPEF Extraction at the min process corner (log: runs/RUN_2023.03.05_10.06.04/logs/signoff/18-parasitics_extraction.min.log)...
[STEP 19]
[INFO]: Running Multi-Corner Static Timing Analysis at the min process corner (log: runs/RUN_2023.03.05_10.06.04/logs/signoff/19-rcx_mcsta.min.log)...
[STEP 20]
[INFO]: Running SPEF Extraction at the max process corner (log: runs/RUN_2023.03.05_10.06.04/logs/signoff/20-parasitics_extraction.max.log)...
[STEP 21]
[INFO]: Running Multi-Corner Static Timing Analysis at the max process corner (log: runs/RUN_2023.03.05_10.06.04/logs/signoff/21-rcx_mcsta.max.log)...
[STEP 22]
[INFO]: Running SPEF Extraction at the nom process corner (log: runs/RUN_2023.03.05_10.06.04/logs/signoff/22-parasitics_extraction.nom.log)...
[STEP 23]
[INFO]: Running Multi-Corner Static Timing Analysis at the nom process corner (log: runs/RUN_2023.03.05_10.06.04/logs/signoff/23-rcx_mcsta.nom.log)...
[STEP 24]
[INFO]: Running Single-Corner Static Timing Analysis at the nom process corner (log: runs/RUN_2023.03.05_10.06.04/logs/signoff/24-rcx_sta.log)...
[STEP 25]
[INFO]: Creating IR Drop Report (log: runs/RUN_2023.03.05_10.06.04/logs/signoff/25-irdrop.log)...
[STEP 26]
[INFO]: Running Magic to generate various views...
[INFO]: Streaming out GDSII with Magic (log: runs/RUN_2023.03.05_10.06.04/logs/signoff/26-gdsii.log)...
[INFO]: Generating MAGLEF views...
[STEP 27]
[INFO]: Streaming out GDSII with KLayout (log: runs/RUN_2023.03.05_10.06.04/logs/signoff/27-gdsii-klayout.log)...
[ERROR]: during executing: "python3 /content/conda-env/share/openlane/scripts/klayout/stream_out.py --output /content/runs/RUN_2023.03.05_10.06.04/results/signoff/inverter.klayout.gds --tech-file /content/conda-env/share/pdk/sky130A/libs.tech/klayout/tech/sky130A.lyt --def-layer-map-file /content/conda-env/share/pdk/sky130A/libs.tech/klayout/tech/sky130A.map --props-file /content/conda-env/share/pdk/sky130A/libs.tech/klayout/tech/sky130A.lyp --top inverter --with-gds-file /content/conda-env/share/pdk/sky130A/libs.ref/sky130_fd_sc_hd/gds/sky130_fd_sc_hd.gds --input-lef /content/runs/RUN_2023.03.05_10.06.04/tmp/merged.nom.lef /content/runs/RUN_2023.03.05_10.06.04/results/routing/inverter.def |& tee /dev/null /content/runs/RUN_2023.03.05_10.06.04/logs/signoff/27-gdsii-klayout.log"
[ERROR]: Exit code: 1
[ERROR]: Last 10 lines:
Unable to open file: /content/conda-env/share/pdk/sky130A/libs.tech/klayout/tech/sky130A.map (errno=2) in Layout.read
child process exited abnormally

[INFO]: Saving current set of views in 'runs/RUN_2023.03.05_10.06.04/results/final'...
[INFO]: Generating final set of reports...
[INFO]: Created manufacturability report at 'runs/RUN_2023.03.05_10.06.04/reports/manufacturability.rpt'.
[INFO]: Created metrics report at 'runs/RUN_2023.03.05_10.06.04/reports/metrics.csv'.
[INFO]: Saving runtime environment...
[ERROR]: Flow failed.

I suspect that the source of the problem is the change in the environment because the same version of the same notebook did work previously.

FYI - @proppy

Looks like this is due to https://github.com/RTimothyEdwards/open_pdks/commit/1683283a55ace46a24193f37b39cf271a5ab1808
You can workaround this by selecting a different version for open_pdks_version in the first cell:
1.0.397

We should probably pin dependencies, and have a bot similar to https://github.com/regro/cf-scripts that bump package versions.


Update version of cartodb-postgresql to 0.14.3

Includes a commit of table_spec.rb in which a test has been commented as it represented legacy behavior -- I'm not deleting it directly in order to keep track of information that might be interesting in the future for further changes on the extension. This test is no longer needed because incorrect data in the cartodb_id column will not generate a new invalid column, but it will suppose an error in the import process.

New user in staging mr-importer-ded-07 has been created correctly with the new version.

@rafatower could you approve? Tests are running right now as I had to commit a change in NEWS.md because of conflicts but they passed previously.

:+1:


Undefined symbols Linker command failed with exit code 1.

Today decided to give InlineSnaphotTesting a shot. Everything was working great until I run into the following error when building my app.
First, I am integrating this library via SPM.
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "TestingToolkit",
    platforms: [
        .iOS(.v15)
    ],
    products: [
        .library(
            name: "XCTestsUtilities",
            targets: ["XCTestsUtilities"]
        )
    ],
    dependencies: [
        .package(url: "https://github.com/pointfreeco/swift-snapshot-testing.git", .upToNextMajor(from: "1.14.0"))
    ],
    targets: [
        .target(
            name: "XCTestsUtilities",
            dependencies: [
                .product(name: "SnapshotTesting", package: "swift-snapshot-testing"),
                .product(name: "InlineSnapshotTesting", package: "swift-snapshot-testing")
            ]
        )
    ]
)

The logs gives me this error
ld: Undefined symbols:
  XCTest.XCTAssertEqual<A where A: Swift.Equatable>(_: @autoclosure () throws -> A, _: @autoclosure () throws -> A, _: @autoclosure () -> Swift.String, file: Swift.StaticString, line: Swift.UInt) -> (), referenced from:
      XCTestsUtilities.(assertiOSVersionAndPhoneModel in _AF6BB3D00A42C26606B62A9C8B5236F7)() -> () in XCTestsUtilities.o
  XCTest.XCTFail(_: Swift.String, file: Swift.StaticString, line: Swift.UInt) -> (), referenced from:
      (extension in XCTestsUtilities):__C.XCTestCase.assertRawSnapshot<A where A: SwiftUI.View>(view: A, record: Swift.Bool, file: Swift.StaticString, testName: Swift.String, line: Swift.UInt) -> () in XCTestsUtilities.o
      (extension in XCTestsUtilities):__C.XCTestCase.assertNil(_: Swift.AnyObject?, after: () -> (), file: Swift.StaticString, line: Swift.UInt) -> () in XCTestsUtilities.o
      (3) suspend resume partial function for (extension in XCTestsUtilities):__C.XCTest.XCTAssertThrowsError<A where A: Swift.Sendable>(_: @autoclosure () async throws -> A, _: @autoclosure () -> Swift.String, file: Swift.StaticString, line: Swift.UInt, _: (Swift.Error) -> ()) async -> () in XCTestsUtilities.o
      SnapshotTesting.assertSnapshot<A, B>(of: @autoclosure () throws -> A, as: SnapshotTesting.Snapshotting<A, B>, named: Swift.String?, record: Swift.Bool, timeout: Swift.Double, file: Swift.StaticString, testName: Swift.String, line: Swift.UInt) -> () in SnapshotTesting.o
      SnapshotTesting._assertInlineSnapshot<A>(matching: @autoclosure () throws -> A, as: SnapshotTesting.Snapshotting<A, Swift.String>, record: Swift.Bool, timeout: Swift.Double, with: Swift.String, file: Swift.StaticString, testName: Swift.String, line: Swift.UInt) -> () in SnapshotTesting.o
      InlineSnapshotTesting.assertInlineSnapshot<A>(of: @autoclosure () throws -> A, as: SnapshotTesting.Snapshotting<A, Swift.String>, message: @autoclosure () -> Swift.String, record: Swift.Bool, timeout: Swift.Double, syntaxDescriptor: InlineSnapshotTesting.InlineSnapshotSyntaxDescriptor, matches: (() -> Swift.String)?, file: Swift.StaticString, function: Swift.StaticString, line: Swift.UInt, column: Swift.UInt) -> () in InlineSnapshotTesting.o
      InlineSnapshotTesting.assertInlineSnapshot<A>(of: @autoclosure () throws -> A, as: SnapshotTesting.Snapshotting<A, Swift.String>, message: @autoclosure () -> Swift.String, record: Swift.Bool, timeout: Swift.Double, syntaxDescriptor: InlineSnapshotTesting.InlineSnapshotSyntaxDescriptor, matches: (() -> Swift.String)?, file: Swift.StaticString, function: Swift.StaticString, line: Swift.UInt, column: Swift.UInt) -> () in InlineSnapshotTesting.o
      InlineSnapshotTesting.assertInlineSnapshot<A>(of: @autoclosure () throws -> A, as: SnapshotTesting.Snapshotting<A, Swift.String>, message: @autoclosure () -> Swift.String, record: Swift.Bool, timeout: Swift.Double, syntaxDescriptor: InlineSnapshotTesting.InlineSnapshotSyntaxDescriptor, matches: (() -> Swift.String)?, file: Swift.StaticString, function: Swift.StaticString, line: Swift.UInt, column: Swift.UInt) -> () in InlineSnapshotTesting.o
      InlineSnapshotTesting.assertInlineSnapshot<A>(of: @autoclosure () throws -> A, as: SnapshotTesting.Snapshotting<A, Swift.String>, message: @autoclosure () -> Swift.String, record: Swift.Bool, timeout: Swift.Double, syntaxDescriptor: InlineSnapshotTesting.InlineSnapshotSyntaxDescriptor, matches: (() -> Swift.String)?, file: Swift.StaticString, function: Swift.StaticString, line: Swift.UInt, column: Swift.UInt) -> () in InlineSnapshotTesting.o
      InlineSnapshotTesting.assertInlineSnapshot<A>(of: @autoclosure () throws -> A, as: SnapshotTesting.Snapshotting<A, Swift.String>, message: @autoclosure () -> Swift.String, record: Swift.Bool, timeout: Swift.Double, syntaxDescriptor: InlineSnapshotTesting.InlineSnapshotSyntaxDescriptor, matches: (() -> Swift.String)?, file: Swift.StaticString, function: Swift.StaticString, line: Swift.UInt, column: Swift.UInt) -> () in InlineSnapshotTesting.o
      ...
  XCTest.XCTAssert(_: @autoclosure () throws -> Swift.Bool, _: @autoclosure () -> Swift.String, file: Swift.StaticString, line: Swift.UInt) -> (), referenced from:
      closure #1 () -> () in (extension in XCTestsUtilities):__C.XCTestCase.assertNil(_: Swift.AnyObject?, after: () -> (), file: Swift.StaticString, line: Swift.UInt) -> () in XCTestsUtilities.o
  static (extension in XCTest):__C.XCTContext.runActivity<A>(named: Swift.String, block: (__C.XCTActivity) throws -> A) throws -> A, referenced from:
      SnapshotTesting.verifySnapshot<A, B>(of: @autoclosure () throws -> A, as: SnapshotTesting.Snapshotting<A, B>, named: Swift.String?, record: Swift.Bool, snapshotDirectory: Swift.String?, timeout: Swift.Double, file: Swift.StaticString, testName: Swift.String, line: Swift.UInt) -> Swift.String? in SnapshotTesting.o
      SnapshotTesting.verifySnapshot<A, B>(of: @autoclosure () throws -> A, as: SnapshotTesting.Snapshotting<A, B>, named: Swift.String?, record: Swift.Bool, snapshotDirectory: Swift.String?, timeout: Swift.Double, file: Swift.StaticString, testName: Swift.String, line: Swift.UInt) -> Swift.String? in SnapshotTesting.o
      SnapshotTesting._verifyInlineSnapshot<A>(matching: @autoclosure () throws -> A, as: SnapshotTesting.Snapshotting<A, Swift.String>, record: Swift.Bool, timeout: Swift.Double, with: Swift.String, file: Swift.StaticString, testName: Swift.String, line: Swift.UInt) -> Swift.String? in SnapshotTesting.o
  _OBJC_CLASS_$_XCTAttachment, referenced from:
       in SnapshotTesting.o
  _OBJC_CLASS_$_XCTContext, referenced from:
       in SnapshotTesting.o
  _OBJC_CLASS_$_XCTWaiter, referenced from:
       in SnapshotTesting.o
  _OBJC_CLASS_$_XCTestExpectation, referenced from:
       in SnapshotTesting.o
  _OBJC_CLASS_$_XCTestObservationCenter, referenced from:
       in SnapshotTesting.o
  __swift_FORCE_LOAD_$_XCTestSwiftSupport, referenced from:
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_XCTestsUtilities in XCTestsUtilities.o
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_SnapshotTesting in SnapshotTesting.o
      __swift_FORCE_LOAD_$_XCTestSwiftSupport_$_InlineSnapshotTesting in InlineSnapshotTesting.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Has anyone any idea why this error happens? Keep in mind that running tests works as expected and without errors.
Also SnapshotTesting product works well and problem showed up when I introduced the InlineSnapshotTesting product.
I have tried cleaning derived data, clean project but did not resolve issue. Also when I remove the dependency to InlineSnapshotTesting it build succesfully.
Am I missing something?

Hi @Nikoloutsos, I'm not sure why this is happening. We are using the library in a few places with no troubles so far. Can you share a minimal project that reproduces the behavior you are seeing?
Also, I am going to convert this to a discussion because it's most likely not an issue with the library itself.


(Seahorn) Handle panic earlier

This allows Seahorn to handle std::assert!, and other cases of panic as abort.

@alastairreid, I pushed a big fix, please review again.


Bug in Angular codegen for GraphQL API subscriptions

Describe the bug
I'm just getting started with AWS and am currently setting up an angular project that makes use of the 'APIService', which is code-generated by the Amplify cli from my local schema.graphql file.
Im an trying to use the APIService to subscribe to the creation of a new database obj (i.e. 'Country').
Generated code:
  OnCreateCountryListener: Observable<
    OnCreateCountrySubscription
  > = API.graphql(
    graphqlOperation(
      `subscription OnCreateCountry {
        onCreateCountry {
          __typename
          id
          name {
            __typename
            value
            languageCode
          }
          createdAt
          updatedAt
        }
      }`
    )
  ) as Observable<OnCreateCountrySubscription>;

...

export type OnCreateCountrySubscription = {
  __typename: "Country";
  id: string;
  name: Array<{
    __typename: "MultiLangInfo";
    value: string;
    languageCode: LanguageCode;
  } | null> | null;
  createdAt: string;
  updatedAt: string;
};

My issue is, that when I subscribe to the generated subsription method, incoming events are expected to be of type 'OnCreateCountrySubscription'. However, when I try to access for example the property 'name', it results as undefined.
By logging the incoming event I noticed that the object is structured as follows:
Google Chrome console output:
{provider: AWSAppSyncRealTimeProvider, value: {…}}
  provider: AWSAppSyncRealTimeProvider {_config: {…}, socketStatus: 1, keepAliveTimeout: 300000, subscriptionObserverMap:
  Map(2), promiseArray: Array(0), …}
    value:
      data:
        onCreateCountry:
          createdAt: "2020-10-31T12:48:10.879Z"
          id: "00a86220-4d62-4746-b6c0-7f24d64c85d5"
          name: [{…}]
          updatedAt: "2020-10-31T12:48:10.879Z"
__typename: "Country"
__proto__: Object
__proto__: Object
__proto__: Object
__proto__: Object

When I access the object as follows:
APIService.OnCreateCountryListener(c: OnCreateCountrySubscription  => {
  const createdCountry = c .value.data.onCreateCountry;
  // those properties do not exist on the type  'OnCreateCountrySubscription'
  // -> results in TSError
}

... I get the object in a structure as it would be expected from the type 'OnCreateCountrySubscription' itself. But obviously the typescript compiler sees this as an error.
For me it seems like the type conversion for incoming events is not set up properly in the code generator.
Amplify CLI Version
4.32.0
To Reproduce
GraphQL schema that is used by the angular code generator:
enum LanguageCode {
  DE
  EN
}

type Country @model {
  id: ID!
  name: [MultiLangInfo]
}

type MultiLangInfo {
  value: String!
  languageCode: LanguageCode!
}

Expected behavior
Incoming events are epxtected to actually be of type 'OnCreateCountrySubscription'.
Desktop (please complete the following information):

OS: Windows
Node Version v12.19.0

Additional context
Add any other context about the problem here.

For now OnCreateCountryListener from generated angular service code  is an Observerable<OnCreateCountrySubscription> variable type. Have you tried another way by adding a .subscribe()? The full code snippet is as following.
APIService.OnCreateCountryListener.subscribe({
next: (data) => {const createdCountry = data.onCreateCountry;},
error: (error) => console.error(error)
});

For now OnCreateCountryListener from generated angular service code  is an Observerable<OnCreateCountrySubscription> variable type. Have you tried another way by adding a .subscribe()? The full code snippet is as following.
APIService.OnCreateCountryListener.subscribe({
next: (data) => {const createdCountry = data.onCreateCountry;},
error: (error) => console.error(error)
});

Sorry this is a typo here. The actual code looks like this:
this.apiService.OnCreateCountryListener.subscribe(c => {
       const country = (c as unknown as IWorkaround).value.data.onCreateCountry;
}

with
interface IWorkaround {
   value: {
     data: {
       onCreateCountry: OnCreateCountrySubscription;
     };
   };
}

I have not used subscriptions since the creation of this issue, this might have been already fixed in the meantime, i do not know.

Sorry this is a typo here. The actual code looks like this:
this.apiService.OnCreateCountryListener.subscribe(c => {
       const country = (c as unknown as IWorkaround).value.data.onCreateCountry;
}

with
interface IWorkaround {
   value: {
     data: {
       onCreateCountry: OnCreateCountrySubscription;
     };
   };
}

I have not used subscriptions since the creation of this issue, this might have been already fixed in the meantime, i do not know.

I just checked my code-generated API service.
The return type changed from
Observable<OnCreateCountrySubscription>>
to
Observable<SubscriptionResponse<OnCreateCountrySubscription>
and SubscriptionResponse seems to have the structure of the Workaround I used. Looks like this was fixed now.

I just checked my code-generated API service.
The return type changed from
Observable<OnCreateCountrySubscription>>
to
Observable<SubscriptionResponse<OnCreateCountrySubscription>
and SubscriptionResponse seems to have the structure of the Workaround I used. Looks like this was fixed now.


fix: argument categories name in example code for view

Issue: https://github.com/logdna/terraform-provider-logdna/issues/57

@logdnabot test this

@logdnabot test this

@robbyhorvath Could you amend your commit with a new commit title, it should be in next format fix: <the actual title>. We need this clarification to bump a version.

@seeruyy Done


Provide example using Less

For people getting started with bootstrap it would be great to have one working sample which is not based on bootstrap CSS but on the LESS version, to see how you best use and customize it. Probably mentioning that mixing CSS (for customization) with LESS (bootstrap lib) will not work out.

This isn't really an issue with Bootstrap. Have you checked out the LESS site? It contains all the examples you need to get started. http://lesscss.org/

This isn't really an issue with Bootstrap. Have you checked out the LESS site? It contains all the examples you need to get started. http://lesscss.org/

yep - we provide a less portion in our docs - but anything beyond that should be looked up on lesscss.org.


Unable to build on Centos (math/bits issue)

Hi,
I'm unable to build your exporter on Centos 7.
Here is output :
[root@VM18 postgres_exporter]# go run mage.go
Error: failed to check types in directory: magefile.go:23:2: could not import math/bits (cannot find package "math/bits" in any of:
	/root/go/src/github.com/wrouesnel/postgres_exporter/vendor/math/bits (vendor tree)
	/usr/lib/golang/src/math/bits (from $GOROOT)
	/root/go/src/math/bits (from $GOPATH))
exit status 1

This library exists on system on this path /usr/lib/golang/src/math/bits.go
So in order to help Mage I tried to create bits subfolder and copied bits.go file within it but this do not seems to help :
[root@VM18 postgres_exporter]# ll /usr/lib/golang/src/math/bits/bits.go
-rw-r--r--. 1 root root 1835 May 24  2017 /usr/lib/golang/src/math/bits/bits.go
[root@VM18 postgres_exporter]# go run mage.go
Error: failed to check types in directory: magefile.go:149:39: undeclared name: bits
exit status 1

The only thing I need is a binary, could you please provide it ?
Best regards,
Fred

I update golang to 1.9.4 version and this error are fixed.

Hello,
I too have the problem.
$ go version
go version go1.8.3 linux/amd64
$ cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)

How would you upgrade to go 1.9 ?
Thanks
Marc

Just download the new compiled version - https://golang.org/dl/


expose files

Right now, our instances are looking deep into @nymdev/amphora/lib/files in our gulp scripts, because we need to get names / directories for components.
Move files up to services and expose them in the main entrypoint, so this becomes an actually-supported part of the module.

Are files something people use our library for?

Yeah. Gulp is using them to see where components are.

That's not what I meant.  :p
Finding what components are available should probably be in the components' service, and if that's the only thing being used, we should just expose that.  People shouldn't be using our library to read from files instead of the node fs library, I think.

Yeah, agreed.


Updated Dismount-DiskImage to handle PassThru

Dismount-DiskImage doesn't support -PassThru in newer PowerShell versions. I added logic to test whether the -PassThru parameter is supported and if not, remove the -PassThru parameter from the command.

Can I get an update on the status of this PR?

Why is this issue still not resolved?  The latest module published to PSGallery is 10.0 released in 2016.  Your public documentation for Azure Stack HCI SDN uses this cmdlet, but the command fails on Windows 11.


tech(wmg): update py.init_buffer_bytes for WMG v2 API

py.init_buffer_bytes was initially chosen with the expectation that query would be returning a user-selected set of tissues.
With WMGv2 API, all tissues will be returned per query. This dramatically increases the memory required by queries and may exceed the 500 Mb currently allotted for the Tiledb buffer.
The goal of this ticket is to update py.init_buffer_bytes to be large enough to contain typical WMG v2 API queries.

After some initial benchmarking, a typical query for WMGv2 needs only a 10Mb buffer to contain all the results from expression_summary. So it appears that the initial allocation of 500Mb is much too large.


Fix/swap button missing

fixes: https://github.com/vultisig/vultisig-windows/issues/588 + minor fix for Send form

This PR doesn't fix issue #588  , I still didn't see "swap" button on the vault detail screen


IFtpClient not included in projects

Commit 75eb65cdf1c5e7eb8c298cb4b3464f76f175360c added an IFtpClient interface which FtpClient implements, however this interface has not been included in any of the projects, this means the projects do not currently build.

This may only affect FluentFTP.csproj

Published to nuget - https://www.nuget.org/packages/FluentFTP/18.0.1


turn on debug logging

extremely weird timings. the test probably sometimes stopped after creating a cluster

running transactions test	{"from": 46, "stop sending": 54, "expected transactions": 710}
TestSmeshing	watching layer between	{"first": 28, "last": 43}

bors try

bors try

bors try

bors try

bors try

bors try

bors try

bors merge


[BEAM-3884] Use Impulse primitive for Read.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.

R: @angoenka

Currently only the Flink runner understands the impulse transform, so I can't really write tests for it.

Run Python Dataflow ValidatesRunner

Run Python Dataflow ValidatesRunner

I believe this is causing the python postcommit to fail with:
ERROR: test_wordcount_fnapi_it (apache_beam.examples.wordcount_it_test.WordCountIT)
Traceback (most recent call last):
File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/examples/wordcount_it_test.py", line 79, in test_wordcount_fnapi_it
on_success_matcher=PipelineStateMatcher()))
File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/examples/wordcount_fnapi.py", line 128, in run
result = p.run()
File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/pipeline.py", line 395, in run
self.to_runner_api(), self.runner, self._options).run(False)
File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/pipeline.py", line 408, in run
return self.runner.run_pipeline(self)
File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/runners/dataflow/test_dataflow_runner.py", line 48, in run_pipeline
self.result = super(TestDataflowRunner, self).run_pipeline(pipeline)
File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py", line 350, in run_pipeline
super(DataflowRunner, self).run_pipeline(pipeline)
File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/runners/runner.py", line 170, in run_pipeline
pipeline.visit(RunVisitor(self))
File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/pipeline.py", line 436, in visit
self._root_transform().visit(visitor, self, visited)
File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/pipeline.py", line 791, in visit
part.visit(visitor, pipeline, visited)
File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/pipeline.py", line 791, in visit
part.visit(visitor, pipeline, visited)
File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/pipeline.py", line 791, in visit
part.visit(visitor, pipeline, visited)
File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/pipeline.py", line 794, in visit
visitor.visit_transform(self)
File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/runners/runner.py", line 165, in visit_transform
self.runner.run_transform(transform_node)
File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/runners/runner.py", line 208, in run_transform
return m(transform_node)
File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py", line 586, in run_ParDo
input_step = self._cache.get_pvalue(transform_node.inputs[0])
File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_Verify/src/sdks/python/apache_beam/runners/runner.py", line 286, in get_pvalue
return self._cache[self.key(pvalue)]
KeyError: (u'read/Read/Impulse', None)

Looking into it. Surprised this was not run as part of "Python Dataflow ValidatesRunner."

Yes, I also forgot about the postcommit that runs wordcount and got bit by this on a different PR.


PoweredBy and utmz

To be able to easily track where the users are coming from when clicking PoweredBy link, we should:

enhance the searchBox options to allow configure the PoweredBy Component to provide utmz parameters: source, campaign, ad content. So that we can configure community integrations
default to source: instantsearch,js canpaign: poweredby, ad content: current domain name

:+1:

Could we do it through a redirect as we're doing with https://www.algolia.com/console ? I'd be really less enclined to click a link where I see utm parameters.

Could we do it through a redirect as we're doing with https://www.algolia.com/console ?

It would require us to create redirects for each poweredBy implem, why won't you be good with clicking an utm link?

No, it just requires us to create a route that will check the referer.

The fact that I'll be the product of a company I don't know yet (or I wouldn't click the link).

Yes but you will be in the end even with a redirect, so hiding it might make it look worse?

Furthermore, as a webmaster, I'd be more willing to accept to have a link to another website on my website without marketing content in it.

I am not sure this has been an issue with our previous poweredBy implems, you got free search, you accept a logo, then a link yes that's the "contract" we can force people to without any friction I think

Yes but you will be in the end even with a redirect, so hiding it might make it look worse?

I agree on this. I remember it didn't shock me when I first clicked http://algolia.com/console (although I do remember it).
About the contract, why not.

I agree with @Jerskouille. I always check the url of the logo links I click. If I see some marketing elements in it, I might avoid clicking it, or copy-pasting the like, remove the tracking and going on.
I agree that in the end this is the exact same thing, but I'd rather we go the /console (or any other route) way, and funnel the analytics through the referer. If we can do it back-end, on our side, this is better than doing it client-side.

Really not seeing this as an issue, we should do the simplest thing for now by being transparent to everyone and not hiding the fact that yes we are tracking people: utmz etc..

I'm also thinking about that :)

implemented the default poweredBy link computation, not passing options. Not worth it


Doesn't work with programs that have custom system menus

Some programs, such as Discord, Chrome, Firefox, Sticky Notes, etc have custom system menus at the top that prevent the usage of this tool. There should be a way to use MenuTools in these applications.

This works for Win 10 Firefox.

You can also use the shortcut Alt + Space which will bring up this menu. It works on most of these type applications (have not tested chrome), except sticky notes, unfortunately.


Suggested improvement: Send button

Suggested improvement:
The Send button should not be pink while the lock is still closed.

Hi @RobinTorque , thanks for the feedback, please give us time to investigate the issue.

Hi @RobinTorque , when user clicks on send wallet it'll follow up with a prompt for user to unlock wallet. It's the designated flow at the moment. If we grey it out, some users may think that there's an error. I'll be closing this issue, thank you for your feedback.


Support different resume modes for the paging state for enriched queries

In the Bridge QueryHandler in case of the enriched queries we are always resuming with the ResumeMode.NEXT_ROW:
https://github.com/stargate/stargate/blob/18c16b3fc501f874f534db388d2651596cb16f40/bridge/src/main/java/io/stargate/bridge/service/QueryHandler.java#L156-L165
However, we need to be able to specify in the query parameters what resume mode we want. If the resume mode not specified, we should not get the page state at all.
I don't know if there will be additional ResumeModes added in the future. I am fine in both designing the query parameter as the boolean or the enum.

Fixed in #1863.

@EricBorczuk Need to reopen, as I can not set the resume mode to be null. If I omit setting it, the QueryParameters will use the value 0 as default, and this resolves to the NEXT_ROW.. The hasResumeMode method does not exist..
@mpenick can you advise here on enum being a null? Seems when it's omitted, you end up with the NEXT_ROW.. Will try to fix myself..

Fixed and tested in #1870.


Autodiff updates for enabling accessor derivatives …

This corresponds to https://github.com/apple/swift/pull/32614
Update gyb-generated files.

Kicking off the swift testing now.

Yes, ready!  (Hi BTW, look at me I'm contributing to swift-syntax :). The commits for https://github.com/apple/swift/pull/32614 need to be squashed at merge.

Hi BTW, look at me I'm contributing to swift-syntax :)

Welcome back to Swift! 😀


transform & jacobian weights

Hi,
I see that the example script learns how to fit jammy_flows to characters (conditional on the character as the label).
But I am a bit confused how to do the simpler unconditional case, with Gaussianization flow. The notebook does not seem to use any samples, the visualisations just come after initialisation of the structure.
I'd also like to know how to use the pdf object. Specifically, if I have a coordinate in the "basis" space (where the PDF is a unit gaussian), how do I transform to the target space and obtain the jacobian weight for that location/transformation? If I understand correctly, forward() is the other direction?
Cheers,
Johannes

Hi Johannes,
yes that is a good point I will add a script where no conditional distribution is fitted in some future commit.
Regarding your second question:
Forward evaluates the PDF in the target space and automatically takes care of the jacobian factor and calculates all involved quantities.
It requries the target space point on which you want to evaluate the PDF, and it then returns the log_pdf of that target-space point, the log_pdf of the corresponding base space point, and the corresponding base space point.
Internally, forward calculates f^-1(x_target), the inverse function.
Is there any reason or use case you would want to have explicitly just the Jacobian weight?
For sampling you call "sample", and it calculates the target and base space point, and also the target and base log_pdfs.
I was hoping the description in the README somehow made that clear, I wanted to add a more thorough documentation once all intended features are there.
Best,
Thorsten

I want to do something a little weird, which involves running a sampler in the base space, and back-correcting for the space distortions. Essentially this is about using the PDF for proposal efficiency, without using it as a prior. I'll look into the forward function. Thanks!

Ok, so maybe you can modify the "sample" function, such that it also returns the jacobian factor. Intrenally, the sample function samples in base space, and then calculates f(z_base)=x_target and the jacobian factor - but in the end combines the result such that it returns x_target, z_base, log_pdf(x_target), log_pdf_base(z_base) - by changing the return values you might get something that suits you.

Ok, thanks, I will have a look at that. Just to clarify, I want to do the walking on the base space myself externally, I don't want to (importance) sample from the Gaussian. But that information sounds like exactly what I need.