[Component Proposal] Marketplace: Product item in cart - detail

Is this an extension to an existing component, pattern, or a brand new asset?
Item from the EDS.
What is the rationale for this contribution.

This component stands to support marketplace type patterns with a 'cart' step.
Currently the only identified exmaple of this is the digital twin marketplace, and as such this may receive lower core PAL priority than more general sibling issues.
The concept rational behind this contribution is to provide a semi-expanded view of a resource that a user is considering purchasing in order to 'review' before checking out.
Detail the intended behavior
This appears in a list format on certain pages to review selected resources from a marketplace/catalog pattern. It provides key information and 2 primary interactions (a dropdown...) and a remove action styled as a link.

This may make sense to be another variant of the other 'resource tile' component styles, such as [Contribution] Marketplace: Featured Product Tile #133

Inspiration from other products

It can be found as an item at this link: https://ibm.invisionapp.com/share/U2NYW8D7DFV#/screens/319196743

And can be seen in usage in the PAL as shown below:

Is this an extension to an existing component, pattern, or a brand new asset?
Item from the EDS.
What is the rationale for this contribution.

This component stands to support marketplace type patterns with a 'cart' step.
Currently the only identified exmaple of this is the digital twin marketplace, and as such this may receive lower core PAL priority than more general sibling issues.
The concept rational behind this contribution is to provide a semi-expanded view of a resource that a user is considering purchasing in order to 'review' before checking out.
Detail the intended behavior
This appears in a list format on certain pages to review selected resources from a marketplace/catalog pattern. It provides key information and 2 primary interactions (a dropdown...) and a remove action styled as a link.

This may make sense to be another variant of the other 'resource tile' component styles, such as [Contribution] Marketplace: Featured Product Tile #133

Inspiration from other products

It can be found as an item at this link: https://ibm.invisionapp.com/share/U2NYW8D7DFV#/screens/319196743

And can be seen in usage in the PAL as shown below:

This seems like a layout repeater that is better maintained at the app level rather than PAL


jslint-core.js crashes with spidermonkey 1.8.5

jslint-core.js:5655: ReferenceError: assignment to undeclared variable exports
using spidermonkey 1.8.5 2011-03-31
The fix is easy; just add a var statement to the declaration on that very row. I'm not sure how kosher that is, but it makes it work.

This happens also to me using nodejs 0.6.6-3
Thanks for the quickfix. It seems to work.

Fixed in the latest version of the plugin.  Thanks for the report!


implement PATCH /session/account/profile

The /session/account/profile route is for accessing and changing non-sensitive user data

[ ] claim this issue (comment below)
[ ] start a pull request
[ ] write tests for PATCH /session/account/profile in tests/integration/routes/account-test.js
[ ] implement PATCH /session/account/profile
[ ] update README
[ ] review & merge

Ping me in the Hoodie Chat or on Twitter if you have any questions

What's the difference between this and PATCH /session/account?include=profile, @gr2m ?

PATCH /session/account?include=profile updates account, but response includes profile. PATCH /session/account/profile updates profile. JSON API currently cannot update both at once, they are working on a spec / extension

I would love to give a try :) (I don't want to block someone if this person if faster than me).

Give it a shot @antoinelyset, you are not blocking anyone :) Let me know if you have any questions

That's fine @antoinelyset, I hadn't started - was just curious! Good luck :+1:

Oh sorry @Jameskmonger, I didn’t meant to take it away from you, I didn’t know you planned to work on it. I’m happy to find something else for you to work on, ping me anytime in our hood.ie/chat or on twitter.com/gr2m

No @gr2m it wasn't sarcasm - I didn't plan to work on it! I was just looking into the code and trying to see what the difference between the two parts was :stuck_out_tongue: I hadn't planned to work on it at all :smile:


[BUG] lombok.config files aren't read in when compiling with sbt 1.4

Describe the bug
Since about sbt 1.4, there's an incremental compilation thing happening with sbt which is causing the sourcefile field of javac's CompilationUnits to report a virtualized URI, which lombok cannot turn into a file path, thus causing lombok to just give up on trying to find the directory to start the chain of looking for lombok.config files.
To Reproduce
Compile 'Hello, World!' in a java file with sbt while you have a lombok.config file present; lombok will completely ignore that config file.
Additional context
The URI reported by sbt is something like vf://tmp/$%7BBASE%7D/src/main/java/example/Main.java
See also Pull Request 2643

Thanks for fixing this up. Can I ask if there is a release scheduled that would contain this change some time soon?

@rzwitserloot You fix for this issues is not complete: We ran into problems when using sbt subprojects. I provide a patch here: #2668 Please have a look (and merge :wink) before the next release, thanks!

Any estimate when a new release will be published? This is currently blocking me from upgrading sbt 1.3.12 to 1.4.5. Thanks!

@domdorn are you looking for an edge release or lombok v1.18.18?

The edge release does not yet contain my fix for sbt subprojects (#2668). But it does work already for projects where Lombok is NOT used in a sub-project.

@rzwitserloot Would be nice if you could update the edge release to latest master :wink:

Tonight probably.


Response should have field "embedding" per vector

The response of http://localhost:3000/v1/embeddings is
{
"object": "list",
"model": "Xenova/all-MiniLM-L6-v2",
"data": [
[
0.08858765661716461,
0.02421238273382187,
0.011026180349290371,
0.07446031272411346,
but this is not really compatible with OpenAI:
https://platform.openai.com/docs/guides/embeddings/what-are-embeddings
{
"object": "list",
"data": [
{
"object": "embedding",
"index": 0,
"embedding": [
-0.006929283495992422,
-0.005336422007530928,
... (omitted for spacing)
-4.547132266452536e-05,
-0.024047505110502243
],
}
],
"model": "text-embedding-3-small",
"usage": {
"prompt_tokens": 5,
"total_tokens": 5
}
}

Thanks @michaelwechner, should be fixed now with fa454e57881f19bda632f09530afcbaded2bec28
Just reopen the issue, if further adaptions are needed :)


 I discussed this a bit more
on google/oss-fuzz#3944 and this is intended to sync Rust's cargo fuzz
with the default C++ fuzzing there. Apparently the prune-blocks and
trace-geps options aren't used by libFuzzer and are either
experimental or disable too many optimizations.

+1 from me too -- gonna merge this as three people signing off seems like plenty :)
I can cut a new release as well.

Thanks for investigating and following up, Alex!

https://crates.io/crates/cargo-fuzz/0.7.5


Update history feature

[ ] Update SubQuery endpoints:
New projects url part with /nova-${project_name} was replaced by /nova-wallet-${project_name}
You can find here all of them:
⁃ Polkadot https://explorer.subquery.network/subquery/nova-wallet/nova-wallet-polkadot
⁃ Kusama https://explorer.subquery.network/subquery/nova-wallet/nova-wallet-kusama
⁃ Westend https://explorer.subquery.network/subquery/nova-wallet/nova-wallet-westend
⁃ Edgeware https://explorer.subquery.network/subquery/nova-wallet/nova-wallet-edgeware

[ ] Update history feature with Subsquid endpoint for Polkakdot, Kusama

[ ] Decrease number of history requests

Only request in the first time request
Check the last time request time and avoid request too much by reload extension or web-runner

Wait #868

New SubSquid endpoints
https://squid.subsquid.io/moonbeam-explorer/graphql
https://squid.subsquid.io/moonriver-explorer/graphql
https://squid.subsquid.io/astar-explorer/graphql
https://squid.subsquid.io/polkadot-explorer/graphql
https://squid.subsquid.io/kusama-explorer/graphql
To be updated...

With the above endpoints:

The data of polkadot and kusama have been taken
Astar no data yet
Moonbeam and moonriver  not enough data, some addresses found transactions
The returned data is missing the fee and eventIdx fields

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./923-merge-build-0.7.4-1670991709152.zip
Please check issues:

[ ] Do not show the transaction's fee

[ ] Show incorrect some transaction

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./930-merge-build-0.7.5-1671274596162.zip
Validation passed for cases:

Showing transaction for some chain: Polkadot, Kusama, Rococo)

Continuing follow-up.


DSD-624: Adding additionalStyles prop to Breadcrumbs

Fixes JIRA ticket DSD-624
This PR does the following:

Adds additionalStyles prop to the Breadcrumbs component.

How has this been tested?

Checklist:

[ ] I have updated the Storybook documentation accordingly.
[ ] All new and existing tests passed.

Front End Review:

[ ] View the example in Storybook

Tugboat has finished building the preview for this pull request!
Link:

https://pr783-fntoswfujfcjviq9uq6fbdwoeckiuz12.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/61a69002aee91cfa02c18f04

Tugboat has finished building the preview for this pull request!
Link:

https://pr783-fntoswfujfcjviq9uq6fbdwoeckiuz12.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/61a69002aee91cfa02c18f04

Tugboat has finished building the preview for this pull request!
Link:

https://pr783-fntoswfujfcjviq9uq6fbdwoeckiuz12.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/61a69002aee91cfa02c18f04


If I use ESM to import an image that have .gif extension, the animated image didn't work [🐞]

Which component is affected?
Qwik Rollup / Vite plugin
Describe the bug
I tried to follow the instruction in this warning, but if I use ESM to import an image that .gif extension, the animated image didn't work. So i have to use img tag and the warning still remain in the console.

Reproduction
https://pako.vercel.app/test/
Steps to reproduce
No response
System Info
System:
    OS: macOS 13.1
    CPU: (8) arm64 Apple M1
    Memory: 72.72 MB / 8.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 21.1.0 - ~/.nvm/versions/node/v21.1.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v21.1.0/bin/yarn
    npm: 10.2.0 - ~/.nvm/versions/node/v21.1.0/bin/npm
  Browsers:
    Chrome: 119.0.6045.105
    Safari: 16.2
  npmPackages:
    @builder.io/qwik: ^1.2.15 => 1.2.17
    @builder.io/qwik-city: ^1.2.15 => 1.2.17
    undici: ^5.26.0 => 5.27.2
    vite: ^4.4.11 => 4.5.0

Additional Information
No response

Thanks for reporting the issue, I will look at it.

@gioboa I published a new version with a simple img tag with srcset="image.gif" and it works.
You can check at this url https://deluciapasquale.it/test
The problem I saw is that using the plugin the image was converted in a file with the format .webp

srcSet could be valid if you wanted to serve several sizes of .gif images. But the problem is that the plugin should detect that it's a multi-frame gif and then convert it to an animated webp image.

another problem is that the plugin outputs webp but that's only supported in safari since 2022, so older ipads and iphones will not see the images.
Ideally qwik-city (in non-SSG mode) generates image URLs without extension and it serves the images in the format that the browser supports.
See for example https://www.cap.be/_img/bigstock--129318500_k.jpg@mid, depending on your browser's Accepts header, you'll get AVIF, WebP or JPEG.


Export smart contracts as zip file instead of just files

Export smart contracts as zip file instead of just files

Fixed in https://github.com/TIBCOSoftware/dovetail-cli/pull/26


Div with overflow scroll ignored

I have a pdfjs canvas embedded in a overflow-scroll div, it renders without being clipped.

Tried the same contraption with a simple image inside a div and the problem is the same.


BTC/TUSD is not supported by ccxt

BTC/TUSD is not supported by ccxt, find a workaround and implement it in trueval.
Edit: I have obtained the price of BTC/TUSD from an IP address located outside the US via ccxt. If the IP address used is within the US, it might not be able to fetch the BTC/TUSD ticker. However, I have not tested this yet.

This could impact the infra/requirements to deploy pdr-websockets.
@kdetry @KatunaNorbert


Add pretty print support for JSON

This leaves the default for producing JSON as is (compact form),  but provides an optional 'pretty' parameter so that more readable JSON can be produced.
Includes updated unit tests.

Thank you!


Aggregate Utilization Incorrect

Issue type: bug report
Python version: Python 2.7
**NetBox version: netbox-2747806021-n03qx (v2.0-beta1) **
Hello Digital Ocean!
It appears that in netbox version 2.0-beta1 that the "Utilization" calculation within the "Aggregates" tab includes prefixes even if they are marked as "Container".
(The Utilization graph in the RiR calculates correctly)
Thank you for netbox!

Yes, this is intended behavior. Container prefixes are considered to be allocated space.

netbox version 2.0-beta1

This release is very out of date. The current release is v2.1.0.

Thank you!
Ah, I didn't catch the version out of date. I was using the latest image you have on docker hub. No issue, just built my own container.


MS COM-less Future Plans - and how they impact twinBasic

All,
I've been "away from tB" for a while - something that started with a workstation meltdown and OS-reinstall thanks to DELL's "support" (or, would they be more aptly labelled "hinder"?) folks.
However, in the interim, I've been immersing myself in various other subjects for a while, and that - combined with a bit of imaginative "tea-leaf reading", perhaps - has led me to an unsettling possible conclusion. That is: Microsoft seems to be planning a COM-less future, and that future will include complete removal of the existing Windows Registry and all COM-related support infrastructure from "future OS" architectures (perhaps not even named "Windows" anymore?).
Digest, for a moment, what that thought will mean to any sort of future for twinBasic.
No COM or ActiveX support from the OS because there will be no registry - and no underlying "Jet-Blue" database engine.
Therefore, everything built in the past based on COM - including twinBasic applications of the future, will no longer work. at all.
So, perhaps we need to consider a "COM/Registry Replacement Project" of our own to help "future-proof" this twinBasic platform's future (or perhaps I mean "destiny"?). Considering that kind of potential path forwards now opens entirely new avenues for "Cross-platform" development considerations as well.
Let's assume, for the sake of discussion here - that we craft a "New-COM" (inevitably shortened to "NCOM") support system to replace the Windows Registry-based COM's historical system architecture with a new one of our own. Well, being makers of that new "NCOM" architecture, we could build in cross-platform capabilities into the specification. So, those Android- and Apple- and Linux- and "Windows"- apps of the future being enabled with an installable "NCOM Core" in the Android OS (and other) environment(s).
Now, that I've derailed some of your thinking process, consider this: what if we DON'T consider this possibility - and I'm right in predicting a "COM-less Windows OS" of the future. Where will we, as twinBasic folks, be should that "COM-less future OS" day actually arrive?

I'm not sure about COM-less when Windows Runtime is built on top of COM (and can indeed be used from VBx/tB, if you're patient enough to dig through the heavy obfuscation).
I'd assume tB's cross-platform implementation would work on Windows too; so I think just targeting whatever that uses should be sufficient in the future.

Perhaps I wasn't clear enough. By COM-less, I mean totally and complete COM-less - INCLUDING the core re-write of a future (non?-)Windows OS. Suppose they base this Future-Windows core architecture on .Net core concepts instead? I'm sensing a real desire to "shed their past's limitations" as heavily influencing the thoughts of senior-level MS Management types in their desire to "move forward". I could be very wrong here, but at this point, I think it's irresponsible (for me, at least) to not at least posit this question and consider it seriously.

My dream is that tB will eventually grow to include support for Android and iPhone/iPad and so will have a future regardless of what Microsoft might choose to do.


[Fabric 1.20.1] Unable to find modded biomes with a biomewhitelist in KubeJS

Ive been unable to find modded biomes with a biomewhitelist in KubeJS, I believe im doing it correctly but havent had much success with it. Ive been attempting specifically to get a Terralith biome (Yellowstone).
If I simply use minecraft:in_overworld I am able to get all those modded biomes, just not individually.
event.recipes.createoreexcavation.vein('{"text": "Calcite"}', 'minecraft:calcite').placement(128, 64, 5552352).veinSize(3, 8.5).biomeWhitelist('terralith:yellowstone').id("kubejs:calcite_vein")

Create a custom biome tag with a single biome and use that in the recipe.
ServerEvents.tags('worldgen/biome_source', event => {
	event.add('kubejs:yellowstone', 'terralith:yellowstone')
})

event.recipes.createoreexcavation.vein('{"text": "Calcite"}', 'minecraft:calcite').placement(128, 64, 5552352).veinSize(3, 8.5).biomeWhitelist('kubejs:yellowstone').id("kubejs:calcite_vein")

Thank you, I suppose I shouldve looked more deeply into the kubejs documentation first. Sorry to bother!


fix and shorten miner wrap-around

For me (TM) without this miner dies after the first iteration when executing:
warcli scenarios run miner_std --allnodes --interval=2

@pinheadmz if this is an issue for you too (and this patch fixes it) then send it

Hm this is not an issue for me on main at fe031c7bfb0549df0a74455f7de2da7dab02c782
How could we be getting different behaviors here? Are you sure you were running on top of this commit? which fixed self.num_nodes

Yep, still dies on current main @ 215f4ca for me. So odd...

I see you have a netem setting for node 0. Could that be delaying the RPC responses?


passing class X into generic class does not return expected instance of class X

I created a stackoverflow question for this, but now that I've thought about, this might actually be a bug.
I am trying to pass a class X into a class Y to return an instance of class X, when using class Y methods.
class FakeClass {}

const fakeClass = new FakeClass()

class Selector <X> {
  model: x;
  constructor(model: X){
    this.model = model
  }
  getModel = () : X => {
    return this.model
  }
}

const selector : Selector<FakeClass> = new Selector(fakeClass)

const result : FakeClass = selector.getModel()
//Error

61: const result : FakeClass = selector.getModel()
                                ^^^^^^^^^^^^^^^^^^^ X. This type is incompatible with
 61: const result : FakeClass = selector.getModel()

                ^^^^^^^^^ FakeClass

Or maybe this just isn't allowable type, although I dont understand why

I got an answer on Stackoverflow. http://stackoverflow.com/questions/42301017/passing-class-x-into-generic-class-does-not-return-expected-instance-of-class-x/42303737#42303737
I guess I'll let the flowtype gods figure this one out.

It you change
getModel = () : X => {
to a normal method as
getModel() : X {
it will work.
It appears Flow's scoping means that the arrow function does not pick up the X in the class template itself, but rather expects a global type definition X to exist.
I don't know if this would be considered a Flow bug or not though.

I'm not sure, but this might be a bug


60 missing thrift

Added support for items in #60, need review of it, some things still not done:

Version Bump Tests is not done for map.
Documentation is not updated for the hazelcast chapter.
Might wan't to add support for Map of Map as well, but that is another ticket, when that is there we should be able to nest map, list, set until we hit the MAX_INT temp variable threshold.

Codecov Report

Merging #62 into master will decrease coverage by 0.45%.
The diff coverage is 5.52%.

@@             Coverage Diff              @@
##             master      #62      +/-   ##
============================================
- Coverage     41.49%   41.04%   -0.46%
- Complexity     1637     1645       +8
============================================
  Files           175      176       +1
  Lines         12584    12776     +192
  Branches       1756     1758       +2
============================================
+ Hits           5222     5244      +22
- Misses         6669     6839     +170
  Partials        693      693

Impacted Files
Coverage Δ
Complexity Δ

...providence/generator/format/java/utils/JField.java
28.34% <0%> (-1.17%)
33 <0> (ø)

...ages/extras/HazelcastPortableMessageFormatter.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...gram/extras/HazelcastPortableProgramFormatter.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...ekta/providence/util/hazelcast/HSerialization.java
41.5% <41.5%> (ø)
8 <8> (?)

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 fcec57a...a2c7c6f. Read the comment docs.


Couldn't find @openzeppelin/contracts/...

When executing the tool I am getting the following error msg.
❯ yarn natspec-smells
yarn run v1.22.19
$ /home/whitehat/project/node_modules/.bin/natspec-smells
CompileInferenceError: Couldn't find @openzeppelin/contracts/utils/math/SignedMath.sol
    at findAllFiles (/home/whitehat/project/node_modules/solc-typed-ast/dist/compile/inference/imports.js:113:23)
    at async compileSol (/home/whitehat/project/node_modules/solc-typed-ast/dist/compile/utils.js:160:9)
    at async getProjectCompiledSources (/home/whitehat/project/node_modules/@defi-wonderland/natspec-smells/lib/utils.js:29:27)
    at async /home/whitehat/project/node_modules/@defi-wonderland/natspec-smells/lib/main.js:16:25

I am also especifing the remappings inside foundry.toml
remappings = [
    "@openzeppelin/=lib/openzeppelin-contracts/",
    "@chainlink/=lib/chainlink/",
    "v3-core/=lib/v3-core/contracts/"
]

@magnetto90 any chance we can see the code and try to reproduce the issue?

@magnetto90 any chance we can see the code and try to reproduce the issue?

@gas1cent sure, I am working in this project/tree

@magnetto90 thanks! Try to put this into a remappings.txt file and let me know if it helps:
@openzeppelin/=lib/openzeppelin-contracts/
@chainlink/=lib/chainlink/
v3-core/=lib/v3-core/contracts/

The issue is essentially due to the tool looking for remappings in the wrong place. We will fix that asap.

@gas1cent Works! Some feedback...

Consider that latest version of foundry doesn´t need remappings.txt for common libraries such as OZ or Solady.
In my case the extension of the result of running the tool, since we weren't using natspec, is too long, maybe is a good idea to add an output file option in the config file.

Appreciate the feedback 👍🏻
I'm closing this issue since it's resolved, but feel free to open a new one if you find something else.


How to detect disconnection with pubsub

Is there a proper method to detect disconnections when connected to a remote redis server and using the subscribe method?
In case the redis server is remote it is important that if the communication is cut and even may be closed by in-between firewalls that it is detected using some kind of read/write timeout.
I've tested this with several other async redis library for python and I haven't been able to setup a reliable method to rapidly detect those disconnections. In all cases the connection appear to be still connected indefinitely even though no pubsub messages published on the redis server are coming anymore from the channel.wait_message()

You can check Channel's is_active attribute — it will be False if channel is closed (either from server or client side) (see the test from PR)

You can check Channel's is_active attribute — it will be False if channel is closed (either from server or client side) (see the test from PR)

Hello! ch.iter() in your test actually block until message received and it will never happened if connection close. As solution, we can use other task where is_active checks will call periodically, but it doesn't seems good solution.
As I understand, ch.get() will waits for message and raise ChannelClosedError on connection close, so we can write something like this
while 1:
  try:
    msg = await ch.get()
  except ChannelClosedError:
    #on connection close operations

But I don't understand, why than we need to use  ch.iter() or ch.wait_message()?


Add resize service

Adds a service to handle resize events.
Implementation as loosely dictated by https://github.com/yewstack/yew/issues/541.
If you want to make this a full-blown window service instead of just focusing on resizes, let me know the other events this service should handle and I'll try to add them.

Sorry about that, I've had this service lying around for the greater part of a year and I just copied+pasted them into Yew without doing a proper check first. Coding before coffee leads to these mistakes :smile:.

Haha no worries, thanks for addressing the feedback with lightning speed 👍

bors r+


Change the votes so that they contain the hash of the voting key

We lookup stake by hash key, so to avoid having to hash the key every time we should have votes being cast with the hash of the voting key.
Proposed solution:

[ ] Remove Cardano.Ledger.Spec.State.ProposalsState.updateBallot in favor of updateBallot'.
[ ] Change the votes of ideation and implementation to contain a the hash of the voting key, instead of its key (see for instance Cardano.Ledger.Spec.STS.Update.Approval.Data.vAuthor.

With the refactoring done in #143 the update mechanism doesn't know anything about hashes:
updateBallot
  :: Proposal p
  => (Vote p)
  -> ProposalState p
  -> ProposalState p
updateBallot v ps =
  updateBallot' (voter v) (Proposal.confidence v) ps

Herevoter returns an id, which might be the actual hash in a concrete implementation.


It's getting old

This project is a very good idea.
But the content is getting old.
Can you update it for the new product version like vRA 7.2.

Thanks for taking the time to comment Tim. With the Swagger definitions shipping with the vRA 7.2 appliance and VC 6.5, is it valuable for us to put them here also? We can do it, but hadn't for that reason. Very interested in your thoughts.

I don't have always a vRA or vCenter Installation at hand to get the original Swagger files.
It would be very convenient to have them in this repo and let me browse the REST Api while I'm travelling.

Thanks Tim, that's good feedback. Will get this updated based on your response.

Since this was written we have added some fairly significant features to this project.  A completely new API explorer that gives you access to all VMware APIs, both ones local in the Platypus project and the complete set that are available on https://code.vmware.com/apis .    The VMware {code} team has been busy trying to get all VMware APIs published on the site, but it is taking some time to work our way through the product line.  For some products this is tough because there are no Swagger docs that are officially supported yet.
One good point that Lapawa makes here is that the remote API access to API content on code.vmware.com doesn't work when you are offline.  One possible feature we could consider adding to Platypus would be a server back-end component that could be called by the GUI to select a set of remote APIs to cache locally.  When this happens, the remote contents are fetched and then cached locally.  This means that the API content would be available offline or on isolated networks.  Right now the API Explorer in Platypus is a pure browser-side component.  If we were going to add something in the server that could be run to populate the cache, it would make it a bit more heavy weight, though perhaps we can think of some light weight way to do it.  The API Explorer is downloading all of the API reference docs and such in the browser anyway.  There is no doubt that we could actually have it as a build time option, where at build time it called web services and downloaded everything locally.   (I actually have scripts that can do this now though I have to piece them together.  Hmm)

Sorry I know this is a stale issue, but it doesn't appear that the NSX-V swagger/openapi is actually published anywhere. I see what clearly looks like swagger generated html here - https://code.vmware.com/apis/329/nsx-for-vsphere, but the swagger definition itself is not available for download in NSX-V (as far as I can tell) and not part of the vmware-code repo. Any chance we could get nsx-v-6.4.json uploaded? Or publish all the .json files on vmware-code also?

Ah I see its all in RAML now - https://github.com/vmware/nsxraml/blob/master/nsxvapi.raml

Yeah, we asked the NSX team about getting accurate Swagger and were told that NSX-V is not likely to ever have anything other than RAML.  There are also some legal issues that prohibit us from redistributing SmartBears RAML viewer unfortunately, so we are sort of stuck with the API reference for NSX-V being HTML generated from RAML, which is what the https://github.com/vmware/nsxraml/blob/master/nsxvapi.raml link is.  In any case, if what you are wanting is to generate client libraries or something, can you use the RAML link you pasted above to do so?

Thanks for the quick reply, Im currently trying https://github.com/mulesoft/oas-raml-converter with the RAML provided to get to swagger and then generate a client using swagger (its for a language other than one of the official SDKs). I got all the endpoints and everything but the schema for the XML didn't come through. I'm looking into that now but this looks pretty promising. Its likely I'll have a halfway decent swagger API for NSX-V by the time I'm done

In light of Microsoft's announcement today, I think it would be awesome for VMware to revisit this project and bring it up to the current versions!!
https://devblogs.microsoft.com/powershell/cmdlets-via-autorest/

Hey there @BlueArcherX , thanks for the comment.  I am curious what you are thinking with respect to this project.  Are you asking for Swagger3 UI support in Platypus?  Or are you asking for a better way to get access to OpenAPI/Swagger specs for VMware APIs in general?  Note that for every API that has a Swagger spec you can download them from https://code.vmware.com/apis today...


flac

Zipscript bug and don't want create the to announce check sfv.
The server allow me to fxp the sfv he can send the first flac found but after that the second flac send just block on fxp :/

I don't understand your first sentence.
As for the second sentence, you can enable debug in zsconfig.h and check the output in the debugfile for why the zipscript is blocking, if it is the cause.

Closing due to inactivity.


Problems when using SendInput

My knowledge of C is limited so I can't really figure out what problem I have,
I'm basically trying to Virtually press a key on the keyboard.
That's the code I have:
var ffi = require('ffi');
var ref = require ('ref');
var struct = require ('ref-struct');

var keyboardInput = struct({
    'type': 'int',
    'wVK': 'int',
    'wScan': 'int',
    'dwFlags': 'int',
    'time': 'int',
    'dwExtraInfo': 'int64'
});

var keyboardInputPtr = ref.refType(keyboardInput);
var keyboard = new keyboardInput();
keyboard.type = 1;
keyboard.wVK = 0x41;
keyboard.wScan = 0;
keyboard.dwFlags = 2;
keyboard.time = 0;
keyboard.dwExtraInfo = 0;

var user32 = ffi.Library('user32', {
    'SendInput': [ 'int', [ 'uint', keyboardInputPtr, 'int' ] ]
});

setInterval(function(){
    var r = user32.SendInput(1, keyboard.ref(), 40);
    console.log(r);
}, 500);

It logs me a "1" in the console, shouldn't that mean it works?

By the way, I just posted a solution to this question on StackOverflow: https://stackoverflow.com/a/50412529/2441655
It took several hours of fiddling around, but eventually I discovered that by adding an extra "filler slot" between the "type" field and the fields after it, the scan-code approach begins to work. (Discovering this was... confusing, involving a couple dozen runs with seemingly random results, I think it was even acting non-deterministically at one point!)
There were some other things I had to change as well. For example, I switched from using the virtual key-code approach above to instead using the scan-code approach. You'll see in my answer that it includes both approaches, but defaults to the scan-code one since it's the only one I've tested so far.
Another change was setting the "wVK" and "wScan" fields to the "short" type, as listed in the function definition on MSDN. (https://msdn.microsoft.com/en-us/library/windows/desktop/ms646271(v=vs.85).aspx)
Anyway, hopefully it works for you as well.


dspace

https://github.com/DSpace/DSpace/releases/download/dspace-6.3/dspace-6.3-src-

Closing as this ticket seems to be accidental. No information has been provided.


ns-eval eyefultower dataset issue

When using ns-eval on a instant-ngp model trained on the eyeful dataset office_view2, this error shows. I can find the splits.json file in the folder above the quality of image folder from eyeful tower dataset but it does nothing, even when moved.
The error:
raise RuntimeError(f"The dataset's list of filenames for split {split} is missing.")
RuntimeError: The dataset's list of filenames for split test is missing.

When using ns-eval on a instant-ngp model trained on the eyeful dataset office_view2, this error shows. I can find the splits.json file in the folder above the quality of image folder from eyeful tower dataset but it does nothing, even when moved.
The error: raise RuntimeError(f"The dataset's list of filenames for split {split} is missing.") RuntimeError: The dataset's list of filenames for split test is missing.

Were yo uable to train on fisheye scenes like table?

Yes there was nothing wrong with the training. I figured out what the issue was. The eyefultower dataset transforms.json does not include "test_filenames:{...}", however in the splits.json file the test filenames are given and they are the same as the "val_filenames:{...}" in transforms.json so I just copied the val section and renamed it and it worked.


Cant Find detours.lib

i might be stupid but ive been looking in this file for over 30 minutes but i cant find the library to use in here i might just be blind but if you can help me out a little that would be great.

I think you have to build.

I think you have to build.

how to compile for x86?

I think you have to build.

how to compile for x86?

Choose "Win32 Console Application"


A question please

For the the is_animated query do I do something like this ?is_animated=true or is there another way to use this

That parameter was for when the API had GIFs, but they were removed due to really bad cropping so that parameter is useless.


Error in sd_boot.bif files for standalone for RPU on VCK190-ES1

The SD_BOOT.bif files that are provided for building standalone for the RPU (R5) on the VCK190-ES1 are incorrect.
ie. /docs/Introduction/Versal-EDT/ref_files/ES1/vck190/standalone/cips_noc/rpu/sd_boot.bif
and
/docs/Introduction/Versal-EDT/ref_files/ES1/vck190/standalone/cips_/rpu/sd_boot.bif
Line10 should read
{core=r5-0, file=helloworld_r5.elf }

This is resolved in the 2021.2 update. You can find the updated design files here: https://github.com/Xilinx/Embedded-Design-Tutorials/tree/master/docs/Introduction/Versal-EDT/ref_files


[KYUUBI #4546] Fully exclude metrics dir from git

Why are the changes needed?

Follow our attitude towards other excluded folders, exclude the entire metrics folder.
Like in .gitignore
embedded_zookeeper/

metrics dir will be created in source code when run KyuubiServer in local IDE.
Close #4546
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Thanks, merged to master


rm -rf could not delete the crgoup directory

When I use Rust std::fs::remove_dir_all(cgroup_path) it not works , report permission denied.

std::fs::remove_dir works well
Here is why:

https://unix.stackexchange.com/questions/693659/why-rmdir-can-work-well-when-delete-cgroup-directory-but-rm-rf-can-not
https://forum.linuxfoundation.org/discussion/857485/lab-2-1-can-t-delete-mycgroup
https://lxc-users.linuxcontainers.narkive.com/L4ibi70k/can-t-remove-cgroup

Fixed commit: https://github.com/AlexiaChen/rocker/commit/c86b918e86c189baf227c9dfa14c9aa3238f5fc3


Marketplace doesn't show updated README.md

Issue Type: Bug
Not sure if this is the right place to submit this bug, but here it is.
I have an extension for Visual Studio Code:
https://marketplace.visualstudio.com/items?itemName=Valentin.beamdasm
I have changed my main branch from "Master" to "Main". README.md has local links (not absolute for the media and the license). It looks like README.md is cached on the Marketplace and shows absolute links pointing to the old "Master" branch:
The folowing two links:
https://github.com/scout119/beamdasm/raw/master/media/main.gif
https://github.com/scout119/beamdasm/raw/master/media/highlight.png
should be:
https://github.com/scout119/beamdasm/raw/main/media/main.gif
https://github.com/scout119/beamdasm/raw/main/media/highlight.png
Same for the license link at the bottom:
https://github.com/scout119/beamdasm/blob/master/LICENSE.md
should be:
https://github.com/scout119/beamdasm/blob/main/LICENSE.md
Thank you
VS Code version: Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4, 2021-02-11T11:48:04.245Z)
OS version: Windows_NT x64 10.0.19042

Related:

https://github.com/microsoft/vscode-vsce/issues/504
https://github.com/microsoft/vscode-vsce/issues/514

For now you must pass --githubBranch to VSCE when publishing your extension.


Caching

For the gradient descent to be fast, we'll need caching which would need some hashing of Xarray datasets. (We can hack something here and just assume that in our case, the data on disk don't change between calls.)

Partly done in 6e13b0670247b6d5f52b1738b6de37f5531cd7bb.


wip: add cert-manager demo

Summary
Add cert-manager demo script.

@njhale out of curiosity, how are you deploying cert-manager. We're the team responsible for integrating it to openshift 🤓 cc @slaskawi

@njhale out of curiosity, how are you deploying cert-manager. We're the team responsible for integrating it to openshift 🤓 cc @slaskawi

@s-urbaniak check out #763 for a working demo deploying cert-manager. TL;DR, I believe the manifests used in that branch are the result of evaluating the Helm chart provided in cert-manager's docs + an image containing a kcp aware cert-manager fork.

Superseded by #763


JWM 2.4.0 crash at startup with floating point exception

JWM 2.4.0 immediately crashes back to the console for me with startx. Also see this Arch bug report: https://bugs.archlinux.org/task/73049
The crash occurs in DrawButton. Might be a division by zero if height==0: https://github.com/joewing/jwm/blob/master/src/button.c#L148
JWM 2.3.7 works fine for me...
(gdb) bt 10
#0  0x00005638e59cca95 in DrawButton (bp=0x7ffcd80d8bf0) at button.c:148
#1  0x00005638e59f2d23 in Draw (cp=0x5638e705e848) at traybutton.c:294
#2  0x00005638e59f18af in StartupTray () at tray.c:145
#3  0x00005638e59c83a3 in Startup () at main.c:526
#4  main (argc=1, argv=<optimized out>) at main.c:191

Full crash dump:

           PID: 409419 (jwm)
        Signal: 8 (FPE)
     Timestamp: Fri 2021-12-17 13:32:39 CET (1min 11s ago)
  Command Line: jwm
    Executable: /usr/bin/jwm
 Control Group: /user.slice/user-1000.slice/session-17.scope
          Unit: session-17.scope
         Slice: user-1000.slice
       Session: 17
     Disk Size: 779.5K
       Message: Process 409419 (jwm) of user 1000 dumped core.

                Found module linux-vdso.so.1 with build-id: 980acba0dcf14f87ddb76843985ce6057470bd1c
                Found module libgvfscommon.so with build-id: 90d1858292300e4e1ee3fbe84ab06079af840ec6
                Found module libgvfsdbus.so with build-id: dcb9d652f2e5c65154517fe6934215ec6bd1c29c
                Found module libXfixes.so.3 with build-id: 0a05c7e8714522bfbdd7c0027c3e2a94965664b0
                Found module libXcursor.so.1 with build-id: eb6315bcd7526aaf51b0a1307efdc587cea0a152
                Found module libuuid.so.1 with build-id: 832a09e0d9568cc6dbe699472218ea2f79dc0f34
                Found module libbrotlicommon.so.1 with build-id: a4ba3f4b4571c8272343b621da812a6e24a202a7
                Found module libstdc++.so.6 with build-id: 9b5eeeb149bf3c4efe787fb398b44f00507aec87
                Found module libicudata.so.70 with build-id: e1dcc2a88cfaafed882d09c90c668af0eed4efed
                Found module librt.so.1 with build-id: 75484da2d6f1515189eefa076e0a40328834cd16
                Found module libblkid.so.1 with build-id: f03a24e92c9852272bd0049b5bcb7ed6cf0e664f
                Found module libzstd.so.1 with build-id: 4b10444c1560ebc574af4d5f488b7408b22d450e
                Found module libICE.so.6 with build-id: af53458a64fe1e62a4d95606f7b03c210b2b098c
                Found module libSM.so.6 with build-id: ac7b055fd3f16b4f29373285ab04ed52eebb632d
                Found module libdatrie.so.1 with build-id: 6fe3b6ece2c8e7d11869fa051375128d8f808f58
                Found module libgraphite2.so.3 with build-id: 47761dc11e553f519cde97ed9ee985be12ccdae2
                Found module libbrotlidec.so.1 with build-id: 45defc036e918e0140a72f1fbce6e7692d38241d
                Found module libbz2.so.1.0 with build-id: 919597c477c9b2cb9cdbb7745ed6494ac0e6da60
                Found module libexpat.so.1 with build-id: 8850138eae6d9d4d43c5c4b2ac48393bc4279037
                Found module liblzma.so.5 with build-id: 8b615460aa230708c5183f16bede67aa0437d95e
                Found module libicuuc.so.70 with build-id: 2e245c2bf12f95fd8ab79b3a4be99524677cbd70
                Found module libresolv.so.2 with build-id: c915c72668282861a813f7ea3c0780f37b681dc0
                Found module libmount.so.1 with build-id: ff9a1d99d35cf640d0bfdaba294854372672c29b
                Found module libtiff.so.5 with build-id: e8d89a0fb0847641ddb75c5f03fa89d68155a75d
                Found module libgmodule-2.0.so.0 with build-id: 34cabbd12d9baf397a0255f174e4c96165bc329b
                Found module libXdmcp.so.6 with build-id: 8ca0792d23c8b8b4c0864297512349292bea5955
                Found module libXau.so.6 with build-id: 1c67764663e07bec24d8951e5fd93f4d165979ff
                Found module libXt.so.6 with build-id: c4806824af11e75838db4101f35e67e8284eaaf3
                Found module libthai.so.0 with build-id: 3fdce1a7db2b94d9168eea540dbf5ff5caa3b8ad
                Found module libfribidi.so.0 with build-id: 79124bad061c2aab4ec89f25d067363d5b781114
                Found module libharfbuzz.so.0 with build-id: 1d9dee49dd99162c3f83eb3259c3c88c6b4cd7fe
                Found module libpixman-1.so.0 with build-id: 341f793dcada3a48a306a793d265a517e3f2e7d6
                Found module libxcb-shm.so.0 with build-id: fb797f299a446f559a95afcc168227482cc800d1
                Found module libxcb-render.so.0 with build-id: a37bdb37744b508be9dd29fd9ccb9bb0170d43e5
                Found module libfreetype.so.6 with build-id: 26c5f833068ff72660d1975cbc2074c3eb47fad8
                Found module libfontconfig.so.1 with build-id: 1103a641395c7d3b42e49b793d3a9ea927c77bf6
                Found module libpthread.so.0 with build-id: 07c8f95b4f3251d08550217ad8a1f31066229996
                Found module libpcre.so.1 with build-id: 845483dd0acba86de9f0313102bebbaf3ce52767
                Found module libffi.so.8 with build-id: f90d8b734f6de9b25faedb8cbfab7054dafc0a42
                Found module ld-linux-x86-64.so.2 with build-id: 040cc3dd10461562f177df39e3be2f3704258c3c
                Found module libgcc_s.so.1 with build-id: 7f8508bb914546ada778809b64b99d234337d835
                Found module libpangocairo-1.0.so.0 with build-id: 820de243a3ad1d1d9e12ebc2b6073b19d620d744
                Found module libxml2.so.2 with build-id: 6e67981c9b7528a3502824bf183423a0a02e1075
                Found module libgio-2.0.so.0 with build-id: fc7ccd9c7c26cbb1e938b1c0879f078c2f47d803
                Found module libgdk_pixbuf-2.0.so.0 with build-id: ca4beb15a30de8d8767f7bca8222038c61b58b36
                Found module libcairo-gobject.so.2 with build-id: abbf5a8a182ea1b8b7d68540df5c2e25c0bdae0c
                Found module libm.so.6 with build-id: 2b8fd1f869ecab4e0b55e92f2f151897f6818acf
                Found module libz.so.1 with build-id: 81bf6e728a6d6f5b105b0f8b25f6c614ce10452a
                Found module libdl.so.2 with build-id: 5abc547e7b0949f89f3c0e21ab0c8331a7440a8a
                Found module libxcb.so.1 with build-id: 0d1ef11740a5daad2ee331e812a51aa6574af222
                Found module libc.so.6 with build-id: 4b406737057708c0e4c642345a703c47a61c73dc
                Found module libXinerama.so.1 with build-id: dbb6adece34ea2766d3efcd628af8f9757344dd6
                Found module libXmu.so.6 with build-id: cabffb2fe6d67ed4f260317ca2738ad2a5d3fe85
                Found module libXext.so.6 with build-id: d70f24beb4fad748d6becffdcc13e51be0a2ebfa
                Found module libXpm.so.4 with build-id: 069e7dac32459567d3e9a6d852ec904c399558e1
                Found module libpango-1.0.so.0 with build-id: 5229ea1aff3e7b71fa0f5cceb94cc006311af996
                Found module libpangoft2-1.0.so.0 with build-id: dd01b945fe2134068e5991a7aae05d33ea6b964d
                Found module libpangoxft-1.0.so.0 with build-id: 43e255b0431339d12e0948072cf694517ad97a4b
                Found module libXrender.so.1 with build-id: 97e0b9ab6ba96ebc86527cc2b3c3078aad8616b3
                Found module libXft.so.2 with build-id: 21aed1dfa73fa7301e280e3a573cc2523a1f7ff2
                Found module libjpeg.so.8 with build-id: 879ca18a2f58c25d77ba881db3a44a5676ef6c7d
                Found module libcairo.so.2 with build-id: 06820af9cf79c2deb207d9533a61caf04e67a8ad
                Found module libglib-2.0.so.0 with build-id: 8214b56e554b7cbead4034b6ba32c90bc8c674da
                Found module libgobject-2.0.so.0 with build-id: 3e451709a0a5772b9550d3a4c28dcb37a87028fa
                Found module librsvg-2.so.2 with build-id: 386351f79d7a10d84fa858631fc4b92d1cbd24f2
                Found module libpng16.so.16 with build-id: 2dc0bce07f199bf983c07a05fb95a6f4af83a9b3
                Found module libX11.so.6 with build-id: 5ba5798d193c0065014b8c6252a0678671c8d478
                Found module jwm with build-id: 92728edc96400606239cd0c1456ac26bf41bc010
                Stack trace of thread 409419:
                #0  0x00005638e59cca95 DrawButton (jwm + 0xca95)
                #1  0x00005638e59f2d23 Draw (jwm + 0x32d23)
                #2  0x00005638e59f18af StartupTray (jwm + 0x318af)
                #3  0x00005638e59c83a3 Startup (jwm + 0x83a3)
                #4  0x00007fa4a45c4b25 __libc_start_main (libc.so.6 + 0x27b25)
                #5  0x00005638e59c85ee _start (jwm + 0x85ee)

                Stack trace of thread 409430:
                #0  0x00007fa4a4690b2f __poll (libc.so.6 + 0xf3b2f)
                #1  0x00007fa4a4abd749 n/a (libglib-2.0.so.0 + 0xa8749)
                #2  0x00007fa4a4a66c11 g_main_context_iteration (libglib-2.0.so.0 + 0x51c11)
                #3  0x00007fa4a4a66c62 n/a (libglib-2.0.so.0 + 0x51c62)
                #4  0x00007fa4a4a97d51 n/a (libglib-2.0.so.0 + 0x82d51)
                #5  0x00007fa4a3fc3259 start_thread (libpthread.so.0 + 0x9259)
                #6  0x00007fa4a469b5e3 __clone (libc.so.6 + 0xfe5e3)

                Stack trace of thread 409431:
                #0  0x00007fa4a4690b2f __poll (libc.so.6 + 0xf3b2f)
                #1  0x00007fa4a4abd749 n/a (libglib-2.0.so.0 + 0xa8749)
                #2  0x00007fa4a4a68ab3 g_main_loop_run (libglib-2.0.so.0 + 0x53ab3)
                #3  0x00007fa4a42fd598 n/a (libgio-2.0.so.0 + 0x103598)
                #4  0x00007fa4a4a97d51 n/a (libglib-2.0.so.0 + 0x82d51)
                #5  0x00007fa4a3fc3259 start_thread (libpthread.so.0 + 0x9259)
                #6  0x00007fa4a469b5e3 __clone (libc.so.6 + 0xfe5e3)

P.S. The culprit seems to be the jwm-blue.svg icon.
If I replace
<TrayButton icon="jwm-blue">root:1</TrayButton>
with
<TrayButton label="J">root:1</TrayButton>
then JWM 2.4.0 starts successfully.

Thanks for reporting this! I think the root of the problem has to do with the the way JWM was using the new API for rsvg. This should be fixed in master and in the next release.

Great, thanks!
I have also noticed a line of corrupted pixels at the bottom of the screen with 2.4.0 when returning from fullscreen, e.g. after watching a YouTube video. This does not happen with 2.3.x.
It's not important enough to start a separate GitHub issue about I think, but it does look a bit ugly and buggy, so if you have any ideas what could cause this...

Same issue on archlinux, thanks for fixing.

@jmandawg This whole thread is about Arch Linux...


Add aws rds event subscription resource type support

Could you add some Specs? Thanks

@bcall-r7 there aren't any complex resource properties here so I'm going to go ahead and merge without adding specs (they'd only be adding line coverage not useful testing).


Refactor job application employment history

Jira ticket URL
https://dfedigital.atlassian.net/browse/TEVA-1905
Changes in this PR

Drop job application details
Remove job application details component
Create employments table for job applications
Allow jobseekers to add employments to their job application (a la references)
Add a date validator (which I think cleans up how we deal with and validate dates a little bit)

NB: if a date is invalid it won't be in the value of the input when the error renders, but this is resolved here

Review app deployed to https://teaching-vacancies-review-pr-3202.london.cloudapps.digital

Nice work, the only missing bit I guess is having these extra tables in analytics and analytics-pii YAML files

Yeah I agree, I want to chat with Steven to understand more what we think is PII for all the job applications stuff


Missing github.com/distribution/reference Go package

Hi @shahar-h! Thanks for reporting this issue. The missing module is now available in deps.dev, although it'll take a few hours for derived data, such as dependencies, to be computed.


intel realsense 3d Fail after showing 3d image for less than a minute in realsenseviewer. while 2D still works pretty well.

librealsense
2.44.0 RELEASE

OS
Windows

Name
Intel RealSense D435

Serial Number
017322072137

Firmware Version
<IP_ADDRESS>

Advanced Mode
YES

Camera Locked
YES

Usb Type Descriptor
3.2

Product Line
D400

Asic Serial Number
017523021869

Firmware Update Id
017523021869

Please provide a description of the problem

this happends after i install the latest firmware on the depth sensor. But if i use virtualbox ubuntu realsense viewer. i am still able to reliably obtain data from realsense 3d

Hi @asterC97  Could you try installing on Windows the previous 2.43.0 SDK using the Intel.RealSense.SDK-WIN10-<IP_ADDRESS>13.exe installer file in the Assets file list and see whether 3D performance is more stable, please?
https://github.com/IntelRealSense/librealsense/releases/tag/v2.43.0

I have installed that sdk file. its only the window version of realsense viewer that has that kind of issue. I tested in my virtualbox in ubuntu. no issue. I also tried using external software like opencv on windows to access 3d image, no issue with that. It occur recently when i tried to update my camera firmware. The window version for realsense viewer started with normally, but after a minute or so, the 3d image will begin to rapidly flicker till it blank out

I have followed according to what you have stated. but the bug still persist.

And depth streaming worked normally in the Viewer until you upgraded to firmware <IP_ADDRESS>?

The Viewer works fine before i upgrade the firmware to <IP_ADDRESS>. but the main issue is, if I use VirtualBox Ubuntu and use the Realsense viewer from ubuntu. I am able to stream the video without issue. I even tried using OpenCV on window 10 to obtain 3D data, and i am able to receive and process the data accordingly. The only thing i cant do is using Realsense Viewer 3D view for a long duration, when the Realsense Viewer turn on for the first time, i am able to stream for a minute before it begins to blink violently and turn blank which the 3D viewer stop streaming data

Could you try disabling the two GLSL options in the Viewer's Settings interface please to see whether it makes a positive difference to the 3D point cloud rendering?  You can access this interface with the following steps.
STEP 1
Left-click on the gear-wheel in the top corner of the Viewer and select Settings from its menu to open the Settings overlay.

STEP 2
Left-click on the Performance tab on top of the Settings window and left-click on the blue boxes beside the two GLSL options to turn their boxes black (Off).

When done, left-click on the Apply button at the bottom of the Settings overlay.
STEP 3
Enable the depth stream.

After following your step, it works nicely.

Great to hear, @asterC97 - you are very welcome, and thanks for the update!

Hi again @asterC97   After discussion with Intel, we are re-opening this case so that we can file a bug-fix report to look at the problem of the point cloud image disappearing for a small number of RealSense users when GLSL is enabled.
This case should be kept open whilst the bug-fix investigation is active.  You do not need to do anything further.  Thanks again!


custom ruleset is not picked up during build in VS2015 and 2017. The StyleCop.Analyzers are running the default rules and throwing warnings.

Could you supply a simple project file which behaves in this way?

Have you added the ruleset and json to your migrated csproj
I found the migrate didn't do this.
https://github.com/DotNetAnalyzers/StyleCopAnalyzers/issues/2310

i think i've fixed this issue by adding a custom build.props and pointing the ruleset. All projects are now using the ruleset.

I didn't know you could set it globally.  That would be great
I always added it to each project.
Could you share the config.

Similar here, I think. In csproj we have
<PropertyGroup>
  <CodeAnalysisRuleSet>..\..\dotnetrdf.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>

<ItemGroup>
    <AdditionalFiles Include="..\..\stylecop.json" />
  </ItemGroup>

Analysis works fine with dotnet test but building with VS2017 doesn't run it.


How to change Date Time Format?

Now that dates are finally working I want to change it to dd-MM-yyyy but I just can't find the option n_n

Hello,
Did you check the Filename wiki page?
There's documentation on how to change the filename date format.
In your case something like:
%date:format=dd-MM-yyyy%

whoops


update FastCopy v4.0.5

update FastCopy v4.0.5
Microsoft Reviewers: Open in CodeFlow

I've updated FastCopy to 4.0.5 in https://github.com/microsoft/winget-pkgs/pull/45316, so you can close this pr.


No file OMLntxmi.fd.  ! LaTeX Error: This NFSS system isn't set up properly.

Hi - I have the following question when I used the elsevier-book template in Ctex.
Looking forward to your reply. Thank you very much.
LaTeX Font Warning: Font shape T1/ntxtlf/m/n' undefined (Font)              using T1/cmr/m/n' instead on input line 39.
(C:\Users\13686823249\Music\Desktop\elsevierbook-project-template\book.aux)
No file OMLntxmi.fd.
! LaTeX Error: This NFSS system isn't set up properly.
See the LaTeX manual or LaTeX Companion for explanation.
Type  H   for immediate help.
...

Hi, - thank you for the issue report. I'm afraid, I know nothing about ctex. I won't be able to help you much.
I tried to load {ctex} package (\usepackage[UTF8]{ctex})and it did compile fine with lualatex compiler, but not with pdflatex .
I'm using the latest TeXlive distribution (TeXive 2022) on Linux. Inspecting .fls file (set  --recorder option to get  it)
I can see that latex found   omlntxmi.fd (not OMLntxmi.fd) file
INPUT /usr/local/texlive/2222/texmf-dist/tex/latex/newtx/omlntxmi.fd
The  same for kpathsea. $ kpsewhich omlntxmi.fd command can find the file, but not  $ kpsewhich OMLntxmi.fd.
My suggestion would be to try to update the LaTeX distribution you are using (or use the latest one) and use
lualatex compiler.  Alternatively, you can drop the elsevierbook template altogether,
and use the one you are most comfortable working with or  one that works with {ctex}.
best regards, - deimi

Thank you very much.

Hi - I have another question when I use the template.
I use the code:
\section{The model \eqref{A} for the model \eqref{B}}
However, the results display that
"THE MODEL (??) FOR THE MODEL (??)"
So why does the code \eqref{} has no effect in the code \section{}? How to tackle it?
Looking forward to your reply. Thank you very much.

\eqref{A} is a reference to am equation with a label \label{A}.  You have to label equation(s) first in order to get a reference to it. E..g, the following works as expected:
\section{The model \eqref{A} for the model \eqref{B}}

\begin{equation}
  x + y \label{A}
\end{equation}

\begin{equation}
  x + z \label{B}
\end{equation}

best regards, - deimi

Thanks for your helpful suggestion.
I have defined \label{A} first, but it is still an error.
Code:
\section{Primal-dual extension of the ADMM \eqref{Eq-ADMM} for the model \eqref{Problem-IneC}}
Display:
PRIMAL-DUAL EXTENSION OF THE ADMM (??) FOR THE MODEL (??)


Add #68: hSupportsANSIWithoutEmulation

Utility hSupportsANSIWithoutEmulation :: Handle -> IO (Maybe Bool) is added, as described in its Haddock documentation in Common-Include.hs. The Haddock documentation of existing hSupportsANSI is updated, to clarify the difference between the two functions. A key benefit of the new utility is that, on Windows 10 and a native terminal and with a writable Handle, it 'turns on' the processing of 'ANSI' control characters sent to output.
As the new utility is likely to be used outside of the rest of the ansi-terminal package (as it is of most use where the existence of the package's emulation layer on legacy Windows is not being relied upon), the utility expressly checks that the Handle is actually 'writable'. That is not done by hSupportsANSI, so hSupportsANSI stdin is True while hSupportsANSIWithoutEmulation stdin is Just False.
Most of the work is done in module System.Windows.Console.ANSI.Detect, which is refactored to break out the code that is re-purposed for export (as well as continuing to be used for the internal 'choice' between emulation or not). The key new helper function (not exported) is handleToTerminal :: HANDLE -> IO Terminal, where Terminal (not exported) is the terminal on Windows. In module System.Windows.Console.ANSI.Emulator, the testing (if need be) of the environment variable TERM is added to the heuristic.
In passing, the stack resolver is bumped from 12.0 to the latest (12.8).
Some testing has been done on Windows 7 (native and mintty terminals), Windows 10 (native and mintty terminals) and macOS - but I am relying in part on the CI tests that occur when this pull request is created.

Thank you. I'm going to 'stress test' it by using it in my local forks of the stack and hlint applications for a while, before I release it on Hackage.


The model is not clear in orthogonal camera.

I've already set engine.setHardwareScalingLevel(0.4), but when I set camera.mode = BABYLON.Camera.ORTHOGRAPHIC_CAMERA, The model becomes extremely small。
I want to make the model bigger. How do I do that?
I tested it at palyground. Link：https://playground.babylonjs.com/#UKNERM#403。
var createScene = function () {
    var scene = new BABYLON.Scene(engine);
    engine.setHardwareScalingLevel(0.4);

    //Adding a light
    var light = new BABYLON.PointLight("Omni", new BABYLON.Vector3(20, 20, 100), scene);

    //Adding an Arc Rotate Camera
    var camera = new BABYLON.ArcRotateCamera("Camera", 0, 0.8, 100, BABYLON.Vector3.Zero(), scene);
    camera.attachControl(canvas, false);

    camera.mode = BABYLON.Camera.ORTHOGRAPHIC_CAMERA;
    // camera.orthoTop = 10
    // camera.orthoBottom = 10
    // camera.orthoLeft = 10
    // camera.orthoRight = 10

    // The first parameter can be used to specify which mesh to import. Here we import all meshes
    BABYLON.SceneLoader.ImportMesh("", "scenes/", "skull.babylon", scene, function (newMeshes) {
        // Set the target of the camera to the first imported mesh
        camera.target = newMeshes[0];
    });

    // Move the light with the camera
    scene.registerBeforeRender(function () {
        light.position = camera.position;
    });

    return scene;
}

Please, ask the question in the forum, as Github issues are reserved for bugs that have been validated on the forum first (for your question, try to set a negative value for orthoBottom and orthoLeft).


The barcode is marked with 0, but the identification barcode is not marked with 0

The barcode is marked with 0, but the identification barcode is not marked with 0

What platform is this occurring on? This could be an MLKit issue, which we can't really fix ourselves.

this there any workaround to manage zero's?


Fix Direct Method bug where a formatting error occurs after 10 succes…

After 10 messages the [rid] in the received message method changes to text [a], not [10]. The conversion instruction then fails when passed a non-numeric value.
Description
The int-hex conversion has been corrected.
When returning a response, a hex format value for [rid] also needs to be returned. A int- hex text reverse conversion has also been added to correct this.
Motivation and Context
Correcting a problem where it was impossible to send more than 10 Direct Messages during the same connection session.

Fixes a non-raised issue

How Has This Been Tested?
Tested on own sample project
Screenshots
Shown below is the exception raised after 10 successfull transmissions:

Types of changes

[ ] Improvement (non-breaking change that improves a feature, code or algorithm)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[ ] Dependencies (update dependencies and changes associated, has no impact on code or features)
[ ] Unit Tests (work on Unit Tests, has no impact on code or features)
[ ] Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Ready for review

I'm sorry I cannot help much with this. I do not have any documentation that I can reference. All I noticed when debugging was that the value appears to be hex once I reached values greater than 10. And when I corrected it, it all started to work.
Regarding Azure IOT versions, the ESP32 registers direct methods with an Azure IOT Hub  I've created approx 2 months ago. I do not know where to get its version.
For testing I've triggered the direct methods using Azure Iot Explorer (preview) <IP_ADDRESS>, as well as with an Android app using Xamarin Forms package [Microsoft.Azure.Devices 1.36.0]


Compatibility with High Sierra

I tested the script update against 10.13.5 and it creates a bootable .dmg file, but the installer process doesn't start.

I just tried this with what I think is 10.13.6 and I get the apple logo boot, but then I just get a grey screen that never goes anywhere. Is there no solution for 10.13+ for ESXi/vSphere?


Fix snake-case titles

There are ca 90 more occurrences, all in data-access/api-reference/restful/. This is generated reference, thus we should fix it in the tool.
You can use regex title: \w+_ to find them.

Done


Update Xamarin.Android.Tools to latest

Xamarin.Android.Tools is going to be shipped in a future version of Xamarin.Android. They've made several API changes up to this point, such as making AndroidSdk non-static, improved logging events, and removed MonoDroidSdk.
We should keep Embeddinator on the latest Xamarin.Android.Tools, as it has several fixes, and will continue to get fixes as more projects rely on it.
I included the source for the now absent MonoDroidSdk in external/MonoDroidSdk, as it was used for locating Xamarin.Android.
Other changes:

TargetSdkVersion should be 24 to match "v7.0" - down the road we could add a command line switch for users to specify API level or bump to 26 and "v8.0"
Added some .gitignore for Windows users
Fixed paths in premake.lua for Xamarin.Android.Tools and Xamarin.MacDev

Hmm, the failure looks like it is related to not finding an Android SDK. I guess Travis doesn't have it?
Due to the code here: https://github.com/xamarin/xamarin-android-tools/blob/master/src/Xamarin.Android.Tools.AndroidSdk/AndroidSdkInfo.cs#L24
I guess this is an issue as Generate-Java should be able to work without an Android SDK.

Looks like we are using XamarinAndroid.JavaSdkPath to get the Java SDK path even in non-Android code path. The issue is that this now seems to trigger Android SDK lookup inside Xamarin.Android.Tools:
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'Embeddinator.XamarinAndroid' threw an exception. ---> System.InvalidOperationException: Could not determine Android SDK location. Please provide `androidSdkPath`.
 at Xamarin.Android.Tools.AndroidSdkInfo..ctor (System.Action`2[T1,T2] logger, System.String androidSdkPath, System.String androidNdkPath, System.String javaSdkPath) [0x00082] in /home/travis/build/mono/Embeddinator-4000/external/Xamarin.Android.Tools/src/Xamarin.Android.Tools.AndroidSdk/AndroidSdkInfo.cs:28
 at Embeddinator.XamarinAndroid..cctor () [0x000ae] in /home/travis/build/mono/Embeddinator-4000/binder/Utils/XamarinAndroid.cs:26

Yeah the code that is throwing an exception here doesn’t seem like it should behave that way. I’m going to ask today and see if I should fix Xamarin.Android.Tools or maybe add a new ctor that doesn’t throw.

@tritao I think this one is good. It seems everyone wants AndroidSdkInfo to throw, but if you are using only java Lazy<T> fixes this like you suggested.


Forecasting custom dataset

Can we use this model for forecasting on our custom data as of now?

Can we use this model for forecasting on our custom data as of now?

Yes!
You can follow the following example to convert your CSV file (here the CSV file has 2 columns; the first column is "time" which includes time stamps, and the second column is "value" which includes the values of the target variable):
context_length = 32
prediction_length = 48
freq = "1H"

# Read the CSV file
df = pd.read_csv('.\Test.csv', parse_dates=['time'], index_col='time')

df.index = df.index.to_period(freq)

time_series = df['value'].values

# Assuming a single time series for simplicity; for multiple series, adjust accordingly
start = df.index[0]

train_ds = ListDataset(
    [{'target': time_series[:-prediction_length], 'start': start}],
    freq=freq
)

test_ds = ListDataset(
    [{'target': time_series, 'start': start}],
    freq=freq
)

for import ListDataset function;
from lag_llama.gluon.estimator import LagLlamaEstimator

Example full code here

Thanks

Hi! Thank you for the issue, and thank you @turkalpmd for the efforts! We'll be adding a tutorial soon with options to load datasets in several formats (such as CSV). We appreciate your patience; thanks!

Hi @ArchanaNarayanan0210  @ArchanaNarayanan843 , we uploaded a new Colab demo with a tutorial to use a CSV dataset.
Please check it and let us know if your dataset fits into one of the categories explained there.

Hello, I appreciate your sharing the codes of your work. Could you please elaborate on how you prepared the dataset regarding requests per minute (for the Huawei dataset) for this predictor? Thank you.

Closing this issue since it's stale. Feel free to open it if required.
Thanks,
Arjun


Question about gpt-neox parallel parameter partition

I run with summit-1-3B model with pipeline parallel 2 model parallel 3.
It got OOM when I run it on 1 node(6gpus) while everything is fine on 4 nodes (24gpus).
I change nothing but the request node number for the job.
Log shows that paramter partition count of one gpus in 24 gpus case indeed smaller than 6 gpus case, and exactly 4 times smaller.
This is strange to me as I think they should keep the same.
Here are part of logs and pls check the full log in attach files:

n1(6gpus)
MPU DP: [0]
MPU DP: [1]
MPU DP: [2]
MPU DP: [3]
MPU DP: [4]
MPU DP: [5]
MPU PP: [0, 3]
MPU PP: [1, 4]
MPU PP: [2, 5]
MPU IO: [0, 3]
MPU MP: [0, 1, 2]
MPU MP: [3, 4, 5]
Rank: 0 partition count [1, 1] and sizes[(665871872, False), (483840, False)]
Rank: 1 partition count [1, 1] and sizes[(665871872, False), (483840, False)]
Rank: 2 partition count [1, 1] and sizes[(665871872, False), (483840, False)]
Rank: 3 partition count [1, 1] and sizes[(31850496, False), (62208, False)]
Rank: 5 partition count [1, 1] and sizes[(31850496, False), (62208, False)]
Rank: 4 partition count [1, 1] and sizes[(31850496, False), (62208, False)]
n4(24gpus)
MPU DP: [0, 3, 6, 9]
MPU DP: [1, 4, 7, 10]
MPU DP: [2, 5, 8, 11]
MPU DP: [12, 15, 18, 21]
MPU DP: [13, 16, 19, 22]
MPU DP: [14, 17, 20, 23]
MPU PP: [0, 12]
MPU PP: [1, 13]
MPU PP: [2, 14]
MPU PP: [3, 15]
MPU PP: [4, 16]
MPU PP: [5, 17]
MPU PP: [6, 18]
MPU PP: [7, 19]
MPU PP: [8, 20]
MPU PP: [9, 21]
MPU PP: [10, 22]
MPU PP: [11, 23]
MPU IO: [0, 3, 6, 9, 12, 15, 18, 21]
MPU MP: [0, 1, 2]
MPU MP: [3, 4, 5]
MPU MP: [6, 7, 8]
MPU MP: [9, 10, 11]
MPU MP: [12, 13, 14]
MPU MP: [15, 16, 17]
MPU MP: [18, 19, 20]
MPU MP: [21, 22, 23]
Rank: 0-11 partition count [4, 4] and sizes[(166467968, False), (120960, False)]
Rank: 12-23 partition count [4, 4] and sizes[(7962624, False), (15552, False)]

n1_log.txt
n4_log.txt

Oh, This is because we are also using zero stage 1 optimizer, which distributly partitaion the optimizer state.
And the  may just stand for the optimizer state paramter.
Therefore there exists exactly 4 time relationship.


Update get.py

Update request timeout to 30 seconds from 10 seconds because most api requests take longer than 10 seconds.
Also update exception message from paramaters to str(paramaters) to prevent TypeErrors.

Great work. Thanks for spotting these two issues.
Merged.


fix: switches from flexbuffer to flexbuffer2

@kuba-kubula is correct in #821 that we shouldn't use the package without a license. However, linking directly to a git repo has added a new dependency on git.
As an alternate solution, I've forked flexbuffer and created a modernized drop-in replacement.

Wow @kerihenare, thanks for that. It looks as the final solution.

Although it's distributed as TS library. Shouldn't it be distributed as both, the lib (TS pre-built) and .ts

@kuba-kubula You mean the npm package doesn't include the source files? I've now republished with them.

Thanks for the pull request! However, given the pr has already changed the major code of the original flexbuffer, and it may potentially introduce inconsistent results to the module interface, I prefer to implementing the related part of flexbuffer in ioredis directly instead of requiring an additional module. What do you think?

@luin Makes sense. @kerihenare has already started the work on the removal of flexbuffer–as–dependency, see https://github.com/luin/ioredis/issues/824#issuecomment-477446881

@luin flexbuffer2 is purely a port to ES6 and TS, no logic has really changed. It passes all of the original flexbuffer and ioredis tests.
However, I agree it might be better to just reimplement (or port) the functionality that ioredis requires. I've been considering that in this branch.

@kerihenare Hi, are you planning to continue on integrating flexbuffer to ioredis?

Closed via https://github.com/luin/ioredis/pull/856.


move away from nodejs v4.3 and use nodejs v6.10 as default

:white_check_mark: coverage increased from 0% to 46.72%


[EN DateTimeV2] Incorrect range result resolving of "starting on Sep 2019" + incorrect modifier

Describe the bug
The system cannot correctly resolve "starting on Seq 2019".
Here is the current result that "start: 2019-10-01" that is not correct.
{
"Text": "starting on sep 2019",
"Start": 0,
"End": 19,
"TypeName": "datetimeV2.daterange",
"Resolution": {
"values": [
{
"timex": "2019-09",
"Mod": "after",
"type": "daterange",
"sourceEntity": "datetimerange",
"start": "2019-10-01"
}
]
}
}
To Reproduce
Steps to reproduce the behavior:
input "starting on Sep 2019"
Expected behavior
It should be:
{
"Text": "starting on sep 2019",
"Start": 0,
"End": 19,
"TypeName": "datetimeV2.daterange",
"Resolution": {
"values": [
{
"timex": "2019-09",
"Mod": "after",
"type": "daterange",
"sourceEntity": "datetimerange",
"start": "2019-09-01"
}
]
}
}

the Timex is interpreting starting on as being after the date range, hence it is only surfacing the 2019-10-01 date (Hence the mode After). will need to check when the mod is set to after (vs before or simply a date range

@nawanas I believe the modifier here is the issue. It should be "since", not "after".

Will somebody merge the PR fix for this issue?

@tellarin , how can this fix be merged soon?

@gooooloo @substill The PR is missing a spec that shows the fix cover the case described in the issue. I'll test it ASAP and add the missing spec, if it works.


WebhookQueueEvent class returning wrong objects for "getWebhookQueue" and "getWebhook" methods

The app/bundles/WebhookBundle/Event/WebhookQueueEvent.php class' "getWebhookQueue()" method is returning $this->getWebhookQueue() which should be returning $this->entity and "getWebhook()" method is returning $this->getWebhook() which should be returning $this->webhook;
Please fix this issue as it is throwing errors recursively. Thanks

Can you link where it is in the documentation?

Closing as this is not an issue with the documentation


Enable containerized VAST instances to be used in Python bindings

This PR adds support for utilizing containerized VAST instances with pyvast.

VAST() checks binary on system first then fallbacks to container runtime.
Default container options container={"runtime":"docker", "name":"vast"} . Runtime can be specified like Docker, Podman etc.
Fixes a bug with having "--iter-" gets added to self.call_stack

Tests (test_vast.py) on local system passes.
:memo: Checklist

[ ] All user-facing changes have changelog entries.
[ ] The changes are reflected on docs.tenzir.com/vast, if necessary.
[ ] The PR description contains instructions for the reviewer, if necessary.

:dart: Review Instructions

I just added d32208d7607cb4b2f6d1d22f4898f43bb2ac82d7 to make CI happy.


codecov added

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@1feb052). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 85abb11 differs from pull request most recent head f7123bf. Consider uploading reports for the commit f7123bf to get more accurate results

@@           Coverage Diff           @@
##             main      #16   +/-   ##
=======================================
  Coverage        ?   64.91%
=======================================
  Files           ?        5
  Lines           ?       57
  Branches        ?        0
=======================================
  Hits            ?       37
  Misses          ?       20
  Partials        ?        0

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 1feb052...f7123bf. Read the comment docs.


feat: Merge Main and Frontier

It should also filter assets in the assets page

#1576 should handle this

@JoseRFelix thoughts on an optional query param to override the setting? Something like unverified_assets=true or the like?
Could be useful for redirecting frontier.osmosis.zone to the frontend with them visible. Thoughts?

@JoseRFelix thoughts on an optional query param to override the setting? Something like unverified_assets=true or the like?
Could be useful for redirecting frontier.osmosis.zone to the frontend with them visible. Thoughts?

I think it's a good idea! It shouldn't be too hard to implement. Let me get on this

@JoseRFelix thoughts on an optional query param to override the setting? Something like unverified_assets=true or the like?
Could be useful for redirecting frontier.osmosis.zone to the frontend with them visible. Thoughts?

I think it's a good idea! It shouldn't be too hard to implement. Let me get on this

Notice:
https://app.clickup.com/t/863guc4ez

On hold for now until we get CL and multiple wallets out

@JoseRFelix https://app.clickup.com/t/86781jr1w
Left some comments

@JoseRFelix hey can you add the banner only on frontier in this PR? Great work!

@JoseRFelix hey can you add the banner only on frontier in this PR? Great work! I know you removed the env var, but perhaps we can make one last reference to it for the banner while the frontier deployment is up for a week or to.

@jonator This PR effectively removes the commands to build frontier and all its theme values. If we want to do this we have two options:

Revert all style changes to still support Frontier and remove it in another PR once the deployment is down.
Branch off master, add the banner, and change the Vercel deployment branch. I believe this one would be the easiest but will become outdated that maybe is not an issue since it's deprecated.

I would prefer 2., but would appreciate to hear your thoughts

I think we decided on a 3rd option in slack:

Redirect fronter.osmosis.zone to app.osmosis.zone, but use a setting query param and a referrer query param (from frontier.osmosis.zone) to display a modal explaining what happened. Then, we can completely remove everything related to frontier, and have the redirect live at the infra layer.


Evaluate Build UI from Fabric8

Review the Build UI and start to plan on how this integrates into the Planner navigation and workflow.

Pete and I have discussed how this will come into the Platform.  Navigation is still being debated separately.  We have agreed on two pages for summit:  Pipelines, Environments.
Initial designs for the Pipelines and Environments page can be found here:  https://redhat.invisionapp.com/share/93AWY455Y

Pete has provided input on the Environments page captured in the wireframes.  Wireframe updates required.


26.x WFLY-16300 Intermittent failures in StopFromDifferentNodeTestCase

https://issues.redhat.com/browse/WFLY-16300
Port https://github.com/wildfly/wildfly/pull/15469 to 26.x branch.

Thanks, @chengfang


Column names are not being preserved when they are annotated as qualifiers

Archive.zip
Steps to reproduce:

create a dataset: TESEthMarket

Import this KGTK Edge exploded file: kgtk-edges.tsv (from the attached files)

Notice that one of  the qualifier labels is Attack context which is same as the column name in attached zip file

/datasets/TESEthMarket/variables/ingo returns data

Notice that Attack context is now Attack_context and Means of attack is Means_of_attack

Run this url /datasets/TESEthMarket/variables?variable=ingo, this returns an error

[2020-08-04 14:30:08,723] ERROR in app: Exception on /datasets/TESEthMarket/variables [GET]
Traceback (most recent call last):
  File "/Users/amandeep/Github/datamart-api/datamart_env/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 4411, in get_value
    return libindex.get_value_at(s, key)
  File "pandas/_libs/index.pyx", line 44, in pandas._libs.index.get_value_at
  File "pandas/_libs/index.pyx", line 45, in pandas._libs.index.get_value_at
  File "pandas/_libs/util.pxd", line 98, in pandas._libs.util.get_value_at
  File "pandas/_libs/util.pxd", line 83, in pandas._libs.util.validate_indexer
TypeError: 'str' object cannot be interpreted as an integer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/amandeep/Github/datamart-api/datamart_env/lib/python3.6/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Users/amandeep/Github/datamart-api/datamart_env/lib/python3.6/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/Users/amandeep/Github/datamart-api/datamart_env/lib/python3.6/site-packages/flask_restful/__init__.py", line 468, in wrapper
    resp = resource(*args, **kwargs)
  File "/Users/amandeep/Github/datamart-api/datamart_env/lib/python3.6/site-packages/flask/views.py", line 89, in view
    return self.dispatch_request(*args, **kwargs)
  File "/Users/amandeep/Github/datamart-api/datamart_env/lib/python3.6/site-packages/flask_restful/__init__.py", line 583, in dispatch_request
    resp = meth(*args, **kwargs)
  File "/Users/amandeep/Github/datamart-api/api/variable/main.py", line 29, in get
    return g.get(dataset)
  File "/Users/amandeep/Github/datamart-api/api/variable/get_all.py", line 56, in get
    _ = self.reshape_canonical_data(_, generic_qualifiers)
  File "/Users/amandeep/Github/datamart-api/api/variable/get_all.py", line 73, in reshape_canonical_data
    row['{}_QUALIFIER_{}'.format(row['variable_id'], q)] = row[q]
  File "/Users/amandeep/Github/datamart-api/datamart_env/lib/python3.6/site-packages/pandas/core/series.py", line 871, in __getitem__
    result = self.index.get_value(self, key)
  File "/Users/amandeep/Github/datamart-api/datamart_env/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 4419, in get_value
    raise e1
  File "/Users/amandeep/Github/datamart-api/datamart_env/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 4405, in get_value
    return self._engine.get_value(s, k, tz=getattr(series.dtype, "tz", None))
  File "pandas/_libs/index.pyx", line 80, in pandas._libs.index.IndexEngine.get_value
  File "pandas/_libs/index.pyx", line 90, in pandas._libs.index.IndexEngine.get_value
  File "pandas/_libs/index.pyx", line 138, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/hashtable_class_helper.pxi", line 1619, in pandas._libs.hashtable.PyObjectHashTable.get_item
  File "pandas/_libs/hashtable_class_helper.pxi", line 1627, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'Attack context'

This is happening because the code changes the qualifier names and replaces ' ' with '_'. Another issue is the variable metadata endpoint /metadata/datasets/TESEthMarket/variables returns original names like so ,
[
  {
    "name": "INGO",
    "variable_id": "ingo",
    "description": "INGO in TESEthMarket",
    "corresponds_to_property": "PVARIABLE-QTESEthMarket-003",
    "qualifier": [
      {
        "name": "Location",
        "identifier": "PQUALIFIER-QTESEthMarket-006"
      },
      {
        "name": "Attack context",
        "identifier": "PQUALIFIER-QTESEthMarket-005"
      },
      {
        "name": "Means of attack",
        "identifier": "PQUALIFIER-QTESEthMarket-004"
      },
      {
        "name": "City",
        "identifier": "PQUALIFIER-QTESEthMarket-002"
      },
      {
        "name": "stated in",
        "identifier": "P248"
      },
      {
        "name": "point in time",
        "identifier": "P585"
      }
    ]
  }
]

Which I use to know what were the qualifiers associated with this variable. Obviously the name from metadata does not match the column names returned.
This is the cause of the bug. Please work on this as priority as this is a blocker.

There is actually no reason qualifier columns can't have spaces in them, this is indeed a bug. I will fix it so that the query returns column names as the original qualifier names (keeping the case, too, although I think Postgres is case insensitive, and the columns a and A are identical).

Qualifiers now appear without _ in the query. Both variable queries work well without failing.

I will update this issue when I have the root cause of the new bug: label:= 'location in administratice....' for P131

Sorry, still no updates on this one.

The issue reported in this issue is fixed. I will open a new issue for any other problem. Closing this issue


called Option::unwrap() on a None value - Event::KeyUp

version from master branch (dd40dc4)
Mac OS 10.13.6

It crashes after starting and typing few characters (probably even after first keypress)
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:345:21
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at src/libstd/sys/unix/backtrace/tracing/gcc_s.rs:39
   1: std::sys_common::backtrace::_print
             at src/libstd/sys_common/backtrace.rs:70
   2: std::panicking::default_hook::{{closure}}
             at src/libstd/sys_common/backtrace.rs:58
             at src/libstd/panicking.rs:200
   3: std::panicking::default_hook
             at src/libstd/panicking.rs:215
   4: <std::panicking::begin_panic::PanicPayload<A> as core::panic::BoxMeUp>::get
             at src/libstd/panicking.rs:478
   5: std::panicking::continue_panic_fmt
             at src/libstd/panicking.rs:385
   6: std::panicking::try::do_call
             at src/libstd/panicking.rs:312
   7: core::char::methods::<impl char>::escape_debug
             at src/libcore/panicking.rs:85
   8: core::char::methods::<impl char>::escape_debug
             at src/libcore/panicking.rs:49
   9: sdl2::keyboard::Mod::from_bits
             at /rustc/2aa4c46cfdd726e97360c2734835aa3515e8c858/src/libcore/macros.rs:10
  10: sdl2::event::WindowEventId::from_ll
             at /Users/kolen/.cargo/registry/src/github.com-1ecc6299db9ec823/sdl2-0.21.0/src/sdl2/event.rs:811
  11: sdl2::event::poll_event
             at /Users/kolen/.cargo/registry/src/github.com-1ecc6299db9ec823/sdl2-0.21.0/src/sdl2/event.rs:1173
  12: <alloc::borrow::Cow<'a, str> as alloc::string::ToString>::to_string
             at /Users/kolen/.cargo/registry/src/github.com-1ecc6299db9ec823/sdl2-0.21.0/src/sdl2/event.rs:1219
  13: <rustzx::app::events::events_sdl::EventsSdl as rustzx::app::events::EventDevice>::pop_event
             at src/app/events/events_sdl.rs:113
  14: rustzx::app::rustzx::RustzxApp::start
             at src/app/rustzx.rs:109
  15: rustzx::main
             at src/main.rs:54
  16: std::rt::lang_start::{{closure}}
             at /rustc/2aa4c46cfdd726e97360c2734835aa3515e8c858/src/libstd/rt.rs:64
  17: std::panicking::try::do_call
             at src/libstd/rt.rs:49
             at src/libstd/panicking.rs:297
  18: panic_unwind::dwarf::eh::read_encoded_pointer
             at src/libpanic_unwind/lib.rs:92
  19: <std::panicking::begin_panic::PanicPayload<A> as core::panic::BoxMeUp>::get
             at src/libstd/panicking.rs:276
             at src/libstd/panic.rs:388
             at src/libstd/rt.rs:48
  20: std::rt::lang_start
             at /rustc/2aa4c46cfdd726e97360c2734835aa3515e8c858/src/libstd/rt.rs:64
  21: rustzx::main

Unwrap occurs in sdl2/event.rs in sdl2 crate.
                    keymod: keyboard::Mod::from_bits(event.keysym._mod as SDL_Keymod).unwrap(),

It does not occur in branch with latest version of sdl2. Probably fixed by this PR in sdl2: https://github.com/Rust-SDL2/rust-sdl2/pull/780

Figured out that it's unrelated to https://github.com/Rust-SDL2/rust-sdl2/pull/780, "safe unwrap" was added here only for keydown, not keyup. It was fixed in some other commit in sdl2, probably related to C wrapping and struct alignment.

@kolen
I think this issue can be closed after merge of the latest sdl2?

Yes, it was happening in sdl2::keyboard::Mod::from_bits and no longer occurs with newer sdl2.


Flyway is not injected in SubCommand

On the spring boot startup I get the following error
Parameter 0 of constructor in com.aaa.SpringBootApp$FlywayCommand$MigrateCommand required a bean of type 'org.flywaydb.core.Flyway' that could not be found.
    @Component
    @Command(name = "migrate")
    static class MigrateCommand implements Runnable {

        private final Flyway flyway;

        public MigrateCommand(Flyway flyway) {
            this.flyway = flyway;
        }

Am I mssing something in terms of config?

Can you take a look at the example in the https://github.com/remkop/picocli/tree/master/picocli-spring-boot-starter README and see if that answers your question?


x/crypto/acme/autocert: fix panic in renew

No description provided.

2604857975

No description provided.

https://www.cryptocaptrades.com

This PR (HEAD: e58c533) has been imported to Gerrit for code review.
Please visit https://go-review.googlesource.com/c/crypto/+/364994 to see it.
Tip: You can toggle comments from me using the comments slash command (e.g. /comments off) See the Wiki page for more info

https://www.cryptocaptrades.com

Message from Go Bot:
Patch Set 1:
Congratulations on opening your first change. Thank you for your contribution!
Next steps: A maintainer will review your change and provide feedback. See https://golang.org/doc/contribute.html#review for more info and tips to get your patch through code review.
Most changes in the Go project go through a few rounds of revision. This can be surprising to people new to the project. The careful, iterative review process is our way of helping mentor contributors and ensuring that their contributions have a lasting impact.
During May-July and Nov-Jan the Go project is in a code freeze, during which little code gets reviewed or merged. If a reviewer responds with a comment like R=go1.11 or adds a tag like "wait-release", it means that this CL will be reviewed as part of the next development cycle. See https://golang.org/s/release for more details.
Please don’t reply on this GitHub thread. Visit golang.org/cl/364994. After addressing review feedback, remember to publish your drafts!

https://www.cryptocaptrades.com


[core] forward connection reset from backend to client

Let's add option to reset connection when backend connection is reset.
Useful when need to abort file download with failure indication (e.g. in web browser).

I see no other way to communicate error back to client other than connection reset. May be you know any?

Modern versions of lighttpd mod_proxy use HTTP/1.1 to connect to backend.  If your backend returns Transfer-Encoding: chunked, and uses chunked encoding on the response, then lighttpd will return the same to HTTP/1.1 clients, and those clients can detect a truncated response that did not receive an end-chunk.

I see no other way to communicate error back to client other than connection reset. May be you know any?

Answered above.  HTTP/1.1 clients will receive Transfer-Encoding: chunked for a streamed response from the backend (when lighttpd.conf is configured with server.stream-response-body = 2), and the clients should be able to detect a truncated response.


feat: use streaming + cache for cart [experimental]

What/Why?
After doing some research from @christensenep's PR #724, we are not caching our cart request. We also discussed this a bit in #647. I am proposing to add this PR into main for a bit to see from Vercel's side what Data Cache implications are if we cached this request. We are mostly curious to see if our cache will be evicted more heavily now that we are caching user-specific requests.
Testing
Doing some testing, most requests seemed to be sub-400ms with an item added to the cart. I want to measure for a week if that is the case in prod + identifying the Data Cache implications.

It's too slow still


System crash on MacOS

Output of restic version
restic 0.16.4 compiled with go1.21.6 on darwin/arm64
What backend/service did you use to store the repository?
Local, NTFS HDD to APFS (encrypted) nvme SDD
Problem description / Steps to reproduce

Using Restic on a Macbook M1 Max 2021 with 32 Go of RAM, running Sonoma 14.5
During the backup, the system freeze then reboot itself, likely after a kernel panic. Panic Log after booting below:
panic_log.txt
Commands executed for the local backup
restic init --repo "/Volumes/Medias SSD/storage-backup"
restic -r "/Volumes/Medias SSD/storage-backup" --verbose backup /Volumes/Storage --exclude-file=/Users/[username]/Documents/excludes.txt

tested with --compression max before going back to default compression when I thought this was causing the issue
Last line the terminal displayed was [1:18:55] 17.84%  568368 files 155.847 GiB, total 883977 files 873.807 GiB, 1 errors ETA 356:06:49 with at least 1.2 To of space left on the SSD before initializing the backup, so unlikely caused due to a lack of space
Expected behavior
Exit properly with an error  without causing the system to crash.
Actual behavior
The system freeze then reboot. All backup progress is then lost.
Do you have any idea what may have caused this?
Maybe CPU or memory related

A whole system crash is a problem of the underlying operating system and/or drivers. It is not a bug in restic.
From the panic log:

  Kernel Extensions in backtrace:
     com.paragon-software.filesystems.ntfs(160.1.16)[F7D5D6FD-A571-3352-AC45-B7BB18CDF667]@0xfffffe0015868000->0xfffffe00158a8b6b

It looks like your ntfs driver crashed. This must be fixed there.


Add Universidad San Marcos new domain

@YurgenAG First stage of verification passed, official domain for Universidad San Marcos is usanmarcos.ac.cr as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@YurgenAG Thank you for your patience while waiting for a review and processing your request. Pull request merged.
Please start requesting the licenses in about an hour, to let the changes to propagate through our system.


README: Past package exceptions do not provide a precedent for current and future registrations

From time to time, people will attempt to justify a new package registration by saying "we already have packages that do X".
For example, from time to time, someone wants to register a package that begins with a lowercase letter. This does not meet the AutoMerge requirement that all packages should start with an uppercase letter. In such situations, sometimes people will point out some examples of packages (currently registered in General) that begin with a lowercase letter.
Another example would be package name length. From time to time, someone tries to register a three-letter package name, and when AutoMerge reports that the name-length-guideline fails, the package author (or someone else) points out that there are currently packages in General that have three-letter name.
In my opinion, we need to clamp down on this. As I see it, just because a certain decision was made in the past, that doesn't mean that registry maintainers should be bound by it in the future. Some of those past decisions might (in retrospect) have been mistakes, and it doesn't make sense to force us to repeat those same mistakes.
With this PR, we write something explicitly in the README of General explaining that if your package registration does not meet AutoMerge guidelines, then the presence of previous exceptions to those guidelines does not justify an exception for your package, and registry maintainers will not consider past packages to be any kind of precedent that applies to current and future registrations.

I discussed this with General registry maintainers in August, and the consensus was in support.


Reconciliation interface

Change use of Aliases to embedded documents instead of references
Create dummy duplicates based on CH dummy import
List duplicates with some details in the reconciliation interface (including Angular controller, etc.)
-Provide following functions for each duplicate (where the word “parent” is a shorthand for the XY property above):
Use the parent entity instead: the new information is a pure duplicate. The name is added to that parent entity as an Alias and the Duplicate is marked as isDuplicate: true. All references to the entity (Links, Facts?, ImportSources) should be changed.
“Merge” - (N.B. - this may need some further discussion, not included in the time estimate: what is the workflow for updating entites with newly discovered info?)
“Not a duplicate” - mark the duplicate as resolved optionally with some notes. The duplicate entity remains so that future imports do not require new admin action.
Update GS and CH imports for duplicates model (GS: Remove duplicate creation, CH: mainly adding search for existing duplicates)
Test entire workflow especially usage of Aliases

Task breakdown:

Change use of Aliases to embedded documents instead of references - 0.5 days
Create dummy duplicates based on CH dummy import combined with one GS import - 0.5 days
Interface functions (api functionality) - 1.5 days
Update GS and CH imports for duplicates model (GS: Remove duplicate creation, CH: mainly adding search for existing duplicates) - 1 day
Test entire workflow especially usage of Aliases - 1 day
“Mark cleaned” function for pipeline work above, including consideration of duplicates removal - 1.5 days

To be performed by Frontend developer:

List duplicates with some details in the reconciliation interface (including Angular controller, etc.)
Interface functions (UI)

More precise explanation of frontend task:

A reconciliation interface (prototype is here: /public/app/admin/etl/reconcile.jade)
This should use this endpoint to get (/api/duplicates GET) the current duplicates. They are structured according to the server/models/Duplicates.js
Actions that can be taken are "resolve" (-> not a duplicate), setasalias (set the duplicate's name as an alias of the parent but don't do anything with the data), update (move the info from the duplicate into the "parent"). I think for now just offer resolve and update (i.e. not a duplicate or is a duplicate), I think we will end up combining setasalias with update.

To generate some duplicates: just run an import (e.g. one of the google sheets) and then call the endpoint /api/identifyduplicates - it will find some things.