text:
Android version

Please! I hope that an Android version of SDC will be very useful !
thank you so much in advance!

There is already an official Android flashable .zip file.

Your'e a bit wrong((( , that's a server only...It needs other Android apps((
My request is about a client ,SDC for Android!!!
So with that proxy it will be the ONE!

@D0ve sorry but Simple DNSCrypt is only for Windows. :)

@bitbeans
But isn't really exist any/some .NET compillers for Android?

authors: CHEF-KOCH D0ve bitbeans

repo: bitbeans/SimpleDnsCrypt


text:
Introduce and Use NetworkIndicator component

Signals to the user when they are running on a network other than main.
Closes https://github.com/bitcoin-core/gui-qml/issues/233
Light

testnet
signet
regtest

Dark

testnet
signet
regtest

Updated from bcb3aee to dd76b6e, compare

Changes: I've been informed by @GBKS that the text should always be white

Rebase?

ACK 932622e674b6e2476f635e901b2b00cbc58b7e6a
Changes look good and match figma spec.

Updated from 932622e to 01b3909, compare
changes: addressed indenting issue but also removed the id for the block clock component since its not being used here.

Sorry for the late feedback. A couple of details don't match the design. The font should be 15px, and vertical spacing should be 2 (horizontal remains 7). As is right now, the indicator looks slightly too big compared to everything else.

source: gharchive/pull-request

authors: GBKS hebasto jarolrod johnny9

repo: bitcoin-core/gui-qml

license: MIT

license_type: permissive

license_source: github-api


text:
wallet: Detect DuplicateAddress earlier

This PR makes check for DuplicateAddress error easier and earlier.

which requires the wallet to be locked

Do you mean "unlocking" using WalletModel::UnlockContext?

Inside SendCoinsDialog ::PrepareSendText, before calling WalletModel::prepareTransaction, we are looping over all the entries to load up the recipients list --> Line 257 of SendCoinsDialog.

Would it make logic a bit messier?

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts
Reviewers, this pull request conflicts with the following ones:

#149 (Intro: Have user choose assumevalid by luke-jr)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

Going to leave this PR up for grabs.
cc @furszy

authors: DrahtBot hebasto

repo: bitcoin-core/gui


text:
Update main.css: design improvement #222

Extra fix for PR #222.
Removed table align.

Brilliant thanks!

repo: bitcoin-only/bitcoin-only


text:
Help always falling over to local help

The help being shown is always the locally stored help.
For instance the 'How to install' article has been updated but isn't shown.
This is even after a 'repair wallet' to update the SSL cert
Seeing the error:
[2015-02-05 15:30:27,586] WARN  [AWT-EventQueue-0] o.m.h.u.v.s.h.HelpScreenView - Problem with MultiBit.org so switching to internal help ! javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
! at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) ~[na:1.7.0_72]
! at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1884) ~[na:1.7.0_72]
! at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:276) ~[na:1.7.0_72]
! at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:270) ~[na:1.7.0_72]
! at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1439) ~[na:1.7.0_72]
! at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:209) ~[na:1.7.0_72]
! at sun.security.ssl.Handshaker.processLoop(Handshaker.java:878) ~[na:1.7.0_72]
! at sun.security.ssl.Handshaker.process_record(Handshaker.java:814) ~[na:1.7.0_72]
! at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016) ~[na:1.7.0_72]
! at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312) ~[na:1.7.0_72]
! at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339) ~[na:1.7.0_72]
! at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323) ~[na:1.7.0_72]
! at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563) ~[na:1.7.0_72]
! at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[na:1.7.0_72]
! at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1300) ~[na:1.7.0_72]
! at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) ~[na:1.7.0_72]
! at org.multibit.hd.core.managers.SSLManager.getContentAsString(SSLManager.java:197) ~[multibit-hd.jar:na]
! at org.multibit.hd.ui.views.screens.help.HelpScreenView.createBrowser(HelpScreenView.java:249) [multibit-hd.jar:na]
! at org.multibit.hd.ui.views.screens.help.HelpScreenView.initialiseScreenViewPanel(HelpScreenView.java:194) [multibit-hd.jar:na]
! at org.multibit.hd.ui.views.screens.AbstractScreenView.getScreenViewPanel(AbstractScreenView.java:112) [multibit-hd.jar:na]
! at org.multibit.hd.ui.views.DetailView.onShowDetailScreen(DetailView.java:113) [multibit-hd.jar:na]
! at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_72]
! at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_72]
! at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_72]
! at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_72]
! at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [multibit-hd.jar:na]
! at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [multibit-hd.jar:na]
! at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [multibit-hd.jar:na]
! at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [multibit-hd.jar:na]
! at com.google.common.eventbus.EventBus.post(EventBus.java:275) [multibit-hd.jar:na]
! at org.multibit.hd.ui.events.view.ViewEvents.fireWizardHideEvent(ViewEvents.java:334) [multibit-hd.jar:na]
! at org.multibit.hd.ui.views.wizards.AbstractWizard$8.run(AbstractWizard.java:453) [multibit-hd.jar:na]
! at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312) [na:1.7.0_72]
! at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) [na:1.7.0_72]
! at java.awt.EventQueue.access$200(EventQueue.java:103) [na:1.7.0_72]
! at java.awt.EventQueue$3.run(EventQueue.java:694) [na:1.7.0_72]
! at java.awt.EventQueue$3.run(EventQueue.java:692) [na:1.7.0_72]
! at java.security.AccessController.doPrivileged(Native Method) [na:1.7.0_72]
! at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) [na:1.7.0_72]
! at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) [na:1.7.0_72]
! at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) [na:1.7.0_72]
! at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) [na:1.7.0_72]
! at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) [na:1.7.0_72]
! at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) [na:1.7.0_72]
! at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) [na:1.7.0_72]
! at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) [na:1.7.0_72]
Caused by: ! sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
! at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:385) ~[na:1.7.0_72]
! at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292) ~[na:1.7.0_72]
! at sun.security.validator.Validator.validate(Validator.java:260) ~[na:1.7.0_72]
! at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326) ~[na:1.7.0_72]
! at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231) ~[na:1.7.0_72]
! at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:126) ~[na:1.7.0_72]
! at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1421) ~[na:1.7.0_72]
!... 41 common frames omitted
Caused by: ! sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
! at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196) ~[na:1.7.0_72]
! at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268) ~[na:1.7.0_72]
! at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380) ~[na:1.7.0_72]
!... 47 common frames omitted

Would also be useful practice to update the internal help (see README) to the latest from the release-4.0.0 branch of the website repo.

Just tried to reproduce this error without success - got the correct online help (e.g. new install page).

I was seeing the same PKIX errors so it was genuine. Perhaps modify the internal help to trigger a refresh of the CA certs in the background if the MultiBit.org fails?

I've added the need to update the local help to the multibit-installer README checklist.
Also added a background refresh of the SSL certs if the browser cannot reach multibit.org and has to fallback to the local help.
You can test this by either deleting the cert store or putting in an old one (e.g. one with the pre-wildcard subdomain multibit.org cert).
Live image resizing - not sure we can do much about that using the JEditorPane "browser".
Awaiting review and closing

Regarding the image resizing we could:

do something similar to HelpScreenView.populateImageCache when the HTMLEditorKit is managing its InputStreams.
adjust HTML <img> tags on the fly to contain inline style="width:20%; height: auto" entries.
add some simple CSS rules in createEditorKit
finally, force the screenshot images to be "internal help" size from the server and not have a "supersize" version for people with large screens browsing the help in an external browser (this is the more correct approach but will involve regularly running a resize script before pushing content to the site repo)

It's worth a little experimentation in this class just to add that extra polish.

OK, we'll leave the image resize for another day. Observed the download from the main site working correctly.
Closing.

In MBHD 0.0.7beta the help is STILL falling over to the local help.
In the logs you can see it falling over with the SSL connection and it correctly redownloads all the SSL certs. But then if you open it up again it STILL falls over to the local help

The fix for this should include taking a copy of the Windows Java 8 cacerts and using them as the basis for the MultiBit HD trust store. This will ensure that a common set of CAs is available for BIP 70 signature verification.

Copying the Windows Java 8 cacerts is raised as: #477 so marking this as 'Awaiting issue'.
It's also dependent on us getting better SSL certs - we have EV certs from digicert on the way (still in the verification stage though which is causing a delay).

Now that #477 is done I retested the help.
I can see in Little Snitch that (once it repairs certs) it is hitting the multibit.org server for help.
Closing.

source: gharchive/issue

authors: bitcoin-solutions gary-rowe jim618

repo: bitcoin-solutions/multibit-hd

license: mit

license_source: bigquery


text:
怎么用手机向电脑传输文本

如题，怎么用手机向电脑传输文本
用手机传文本时，电脑端不会刷新成手机端的文本，反而手机端的文本会自动刷新成电脑端的文本，即使电脑端的文本框清空时，手机端也会刷新成空白

手机版已发布


text:
write checks

Enable dependabot to write test report.

Pull Request Test Coverage Report for Build 3179070888

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.308%

Totals

Change from base Build 3166574212:
0.0%

Covered Lines:
59

Relevant Lines:
63

💛  - Coveralls

Pull Request Test Coverage Report for Build 3179070888
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.308%

Totals

Change from base Build 3166574212:
0.0%

Covered Lines:
59

Relevant Lines:
63

💛  - Coveralls

authors: bitfaster coveralls


text:
Order update request through websocket

Send an order update request through the websocket.
Read more at:
https://docs.bitfinex.com/v2/reference#update-order

Moving to 'review/qa' while this is verified.
Thank you.

authors: herenow jvatianou

repo: bitfinexcom/bitfinex-api-go


text:
Use the new AutoInject attribute to remove all constructor injections in the components projects

After developing the attribute and Source Generator, it is required to use this new feature in the components projects (such as BlazorUI and Playground and ...).

This issue is not valid anymore. So I close it.

This issue is not valid anymore so I'll close it.

authors: maryamhdr msynk

repo: bitfoundation/bitplatform


text:
PDF History Page Text change

Wrong text this is not restore but reshare and we are not using the term Keeper

-Verified this issue on staging app v1.6.0(277)

authors: cakesoft-devika cakesoft-nikhita

repo: bithyve/hexa


text:
Link for XD feedback

Need it to share with the design team and otherwise...

https://xd.adobe.com/view/fae14752-50e4-414f-9fb4-a768627b6833-afb2/

I have shared it with the community. Look out for comments on it @summikhan11


text:
Issue raised by Swan User

Message from Reed in Hexa + Swan Channel (that a user sent him):
We have a new bug report from user  ID: ba71d6aa-e4c0-4477-ba8c-db3e49afb3b5
“Hi!
By the way, I’m a seed investor in Hexa wallet.
I am unable to connect my Swan account to my Hexa wallet through the link provided within in Hexa.
Here’s the background. I’ve been doing weekly buys on Swan for 1-1/2 years and already had auto-withdrawals set up at the 0.05 threshold to other wallets. I tried the instructions provided within Hexa to link my Swan account and was unable to do so. I deleted all addresses within Swan and turned off auto-withdrawals and still was unable to succeed. I assumed the Hexa link would auto-fill the wallet address into Swan, but I’m unable to see what the address even is. Of course, I do know that I could “manually” connect my “checking account” within Hexa to Swan by using a Receive address from within the app....but newbies might be frustrated that Swan is not automatically linking to Hexa with the designated Swan wallet. By the way, I am using an older iPhone 6S which may be a factor. Let me know if you need any other info.”
Anant: "Yes, would like to know what happens on the Swan side when someone disconnects or deletes old address and then tries to connect Hexa wallet"
Reed has tagged Pablo. Reply expected from Pablo next.

No further update, already sent a msg https://bithyve-workspace.slack.com/archives/C02H7PTBXQX/p1641471750000400?thread_ts=1639168951.100100&cid=C02H7PTBXQX

Asked again, not reply

No further updates from swan.Closing this issue for now.


text:
automate deploy

new commits to main should auto deploy on fly.io

TODO: Check to see if this actually works
You can set up continuous deployment from GitHub to Fly.io by following these steps:

Create a Fly.io app and note down the app name and region.
Connect your Fly.io account to your GitHub account.
Create a new GitHub repository for your app if you haven't already done so.
Create a Dockerfile and a fly.toml file in your app repository. The Dockerfile should describe how to build your app into a Docker image, while the fly.toml file should contain the configuration for your Fly.io app. Here's an example Dockerfile:

FROM node:14

WORKDIR /app

COPY package*.json ./
RUN npm install

COPY . .

CMD ["npm", "start"]

And here's an example fly.toml file:
app = "your-app-name"

[[services]]
  internal_port = 3000

  [services.concurrency]
    hard_limit = 10
    soft_limit = 10

  [[services.ports]]
    handlers = ["http"]

Note that you'll need to replace your-app-name with the name of your actual Fly.io app.

In the Fly.io dashboard, click on the app you created earlier and go to the "Deploy" tab.
Under "Deployment method", select "GitHub".
Choose your repository and branch, and click "Connect".
Select the folder that contains your Dockerfile and fly.toml files, and click "Save".
Enable automatic deploys if desired.
Click "Deploy".

From now on, every time you push changes to your GitHub repository, Fly.io will automatically build a new Docker image and deploy it to your app. You can monitor the progress of your deployment in the Fly.io dashboard.

fixed with https://github.com/bitkarrot/dca-calculator/commit/d5d328f1229cffdf5a13f8614a009ea60791473e

repo: bitkarrot/dca-calculator


text:
Can't select a folder

When trying to create a gallery, my only option under "Folder" is Add folder, but I can never select a folder.

use arrow <

repo: bitlabstudio/cmsplugin-image-gallery


text:
wip: Added initial version migration system

I think this is an ok way to make sure vaults are always upgraded to the latest version.
Pro's:

vault are automatically upgraded to the latest version if not done already
no manual intervention needed.

Cons:

we must make sure we are always able to migrate to the newer vault (what about new values?)
We must keep the old structures in the code (like AccountInfoV1 etc). We can move this aways into migration files or something.

Fixes #145
Fixes #144

Fixes #145
Fixes #144

repo: bitmaelum/bitmaelum-suite


text:
Integration with Typetalk?

Hi,
How about adding integration with Typetalk? If that's acceptable, I'd like to create PR.

Hi @is2ei, I hope there are no restrictions with handler integrations(to my knowledge). you could proceed with Typetalk integration.

repo: bitnami-labs/kubewatch


text:
Cannot view anything without permission to list namespaces.

From @bharris47 on December 31, 2016 20:22
My company's cluster currently does not provide access the namespace resource. As a result, I can't select the namespace that I have access to and cannot view anything. It would be nice if a cluster could be configured with a default namespace (akin to kubectl contexts).
Copied from original issue: skippbox/cabin-issues#20

This is interesting, when you have a restricted access to a specific namespace, a "all-namespace" returns nothing, I thought kubernetes would still allows you to query all-namespace but only return those you have access to.
Anyway we need a way to manually set the namespace.
Some ideas would be:

show an input instead of the list-picker when we cannot fetch namespaces - this might be annoying if we have access to multiple namespace
show "Custom namespace" instead of "Create namespace" on the action sheet list, the user would be able to add locally every namespace he has access to - This might need some refactor for persistence/flexibility.

authors: kemcake sebgoa

repo: bitnami/cabin


text:
Accessing children

Let's say I have this webcomponent
<my-component>some text I want access to in react</my-component>

I assumed the text would be available as children in the react component, but it's not as far as I can tell. Can I access this.textContent somehow instead?

We explored a few options for direct access, but the only option we found entailed crawling the DOM children and turning them into React nodes; while functional, it was very messy and create a lot of React key errors, so it wasn't really a viable solution.
If you just want to render that text, and don't need access to the value, slots are what you want. Given how you've written the above component, you can render that text anywhere you want by rendering <slot></slot> (as many times as you want). If you want "fallback" content to show if they use doesn't provide a value, you can put that inside the slot tag. If you want multiple of these user-defined content blocks, you can use named slots, too.
<my-component>
  some text I want access to in react

some other content I want access to in react

</my-component>

Then render these with <slot name="content1"></slot> and <slot name="content2"></slot>.
If you need direct access to the value, I would suggest putting it in an attribute on the WC, or setting it on a property after the component is mounted.

If you think this would benefit from further discussion, or if not, I'd invite you to join our community discord. There are quite a few threads there about R2WC, and t's become a really great spot to ask questions, share knowledge, and connect about other interests too.

Thanks so much. I actually ended up solving it with a slot although not exactly what I wanted.

If you can explain your needs a bit more, I might be able to incorporate something into a future version that solves the problem better.

I solved as follow:
this code worked in react component.
const slotName = 'children' //  set a slot name id whatever you like.
const {children} = props; // this children is comes from React children property original.
useEffect(function() {
    // pick all children from custom element and set a slot property for them.
    const children: HTMLElement[] = props.container?.host?.children;
    if(children){
      for(let i=0; i<children.length; i++){
        children[i].setAttribute('slot', slotName)
      }
    }
  },[])

  return (

       {children}
      // set a slot for html element.
       <slot name={slotName}></slot>

  )

how about put this logic into  React-to-web-component?
i think it won't cause some issue like React key error?

I have got the reason in this code. it's not a limit by custom element but React.
React render need a root element as the root. so you provide this(custom-element) as its root. so after render, the origin children element by html will be replaced.

if (options.shadow) {
    this.container = this.attachShadow({
      mode: options.shadow,
    }) as unknown as HTMLElement
  } else {
    this.container = this
  }

this[contextSymbol] = renderer.mount(
      this.container,
      ReactComponent,
      this[propsSymbol],
    )

To avoid prevent this issue. how about select or create a root instead of this?
like bellow:
let rootContainer = this;
const thisCustomElement = this;

// 1. check if `thisCustomElement ` has a some children
const hasChildren = this.CustomEelement.children.length > 0;
if(hasChildren){
  const childRoot = document.createElement('div');
  thisCustomElement.appendChild(childRoot);
  rootContainer = childRoot;
}

I have got the reason in this code. it's not a limit by custom element but React.
React render need a root element as the root. so you provide this(custom-element) as its root. so after render, the origin children element by html will be replaced.

if (options.shadow) {
    this.container = this.attachShadow({
      mode: options.shadow,
    }) as unknown as HTMLElement
  } else {
    this.container = this
  }

this[contextSymbol] = renderer.mount(
      this.container,
      ReactComponent,
      this[propsSymbol],
    )

To avoid prevent this issue. how about select or create a root instead of this? like bellow:
let rootContainer = this;
const thisCustomElement = this;

// 1. check if `thisCustomElement ` has a some children
const hasChildren = this.CustomEelement.children.length > 0;
if(hasChildren){
  const childRoot = document.createElement('div');
  thisCustomElement.appendChild(childRoot);
  rootContainer = childRoot;
}

@christopherjbaker check this please.

replace all origin children or create a new child root node maybe could be a property choice when using custom html.
both of then are useful.
one is need keep origin node as children.
another don't need keep it can be used as a fallback on connected error or custom html not work.

I started conversation on this topic a while ago on Discord as well, here is the link for the thread for reference: https://discord.com/channels/1007137664606150746/1113836418716942358/1113836418716942358

I have also encountered this problem. This problem is too critical. If children cannot include nested components, and do this in attributes, the converted components will be quite troublesome to use.

My solution is to pass container's innerHTML when I want to re-use DOM.
const Markup = React.memo(({ value }) => {
  const ref = React.useRef()
  React.useEffect(() => (ref.current.outerHTML = value), [])
  return html`<div ref=${ref} />`
})

That's a usecase we would need as well for web-components. An Accordeon-Component for example doesn't need to know it's children beforehand and it would be necessary to just be able to drop other components/content in.
Is there a workaround that works in the meantime?

authors: TheRarita christopherjbaker duoduoObama guenyoo jacobjuul nesterow rowthan

repo: bitovi/react-to-web-component


text:
How to use it in Vue

Doc says we can utilise the custom elements in other Frameworks. But I don't find any example how to refs/achieve it. Please provide an Example usage of custom elements generated using React-to-web-component in other Frameworks.

did you find solution?

did you find solution?

still waiting for their response

I've done it yesterday for react, had to read few answers, their blog post, check 5 repositories. Check other questions and answers here, there are bits and pieces and need to collect them.
I am using vite. Gist is, you have to build component it as umd.cjs module with vite build, it will be in dist folder. Then you take that umd.cjs file and put it in your vue project and include it in main index.html file in script tag, like you would normal vanilla javascript package. After that you should be able to use it wherever with

Sorry, I missed this conversation. I set a reminder to check here more thoroughly.
We are planning to write a guide on exactly this in the near future. It will work out of the box with frameworks, but we are also planning to investigate if we can directly improve interactions with both Vue and Angular.
@tombohub Has it right though. Create a React project with Vite and update your index.ts to create the Web Component instead of mounting it directly. When you make a build, it should create a single javascript file. Include that file on any HTML page, and you can use the web component on that page. You won't need to modify your parent build system, just drop it in..

We are planning to write a guide on exactly this in the near future. It will work out of the box with frameworks, but we are also planning to investigate if we can directly improve interactions with both Vue and Angular.

Thanks for the explanation. Can we expect it anytime soon?

Do you have a specific solution now?

authors: ZhouJiahao228 christopherjbaker laxmangaian tombohub


text:
dist folder is missing from 0.4.0 release

We just received a PR to update to latest Syn package (noflo/noflo-ui#677) that fails in CI. Looking at it, it appears that the package downloaded from NPM doesn't contain the dist folder.

Sorry about that @bergie, we’ll get a fix out today.

0.4.2 is out and has the dist folder. Thanks for your patience!

authors: bergie chasenlehara

repo: bitovi/syn


text:
swiftlint 0.4.0

Adds Swiftlint --strict flag
New Pull Request Checklist
Please mark the points which you did / accept.

[x] I read the Step Development Guideline
[x] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[x] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[x] I read and accept the Abandoned Step policy

Quick question @viktorbenei ! 😄
Will the step be available when it is merged or ? 😄

Sure, it's already available ;)
If you can't see it on bitrise.io in the editor just reload it a few times, the browser might cache the steplib data/spec.
But if you run it via the CLI (also applies for the build VMs as those run the CLI) then the steplib spec/data is fetched directly from git, so it's available right after the PR is merged :)

authors: kimdv viktorbenei

repo: bitrise-io/bitrise-steplib


text:
Update option step and create new option for select build system with…

…out arguments

Checklist

[x] I've read and followed the Contribution Guidelines
[x] step.yml and README.md is updated with the changes (if needed)

Version
2.0.0
Context
I have created a new option within the steps so that the user can decide if he wants to use the legacy system or the new system, I have taken advantage of the same thing that the "options" option occupies to be able to send the arguments but in a more friendly way
Resolves: #50
Changes
Changes have been made to the step.yml and main.go to be able to use this new option that allows the user to switch between xcode build systems.
Investigation details

Decisions

Thank you for the contribution @manuelabarca! The changes look good, I just left a few minor comments about versioning and naming things. Looking forward to merge this PR!

The changes have been applied, thank you very much.

PR it's ok ? Or wait other check ?

repo: bitrise-steplib/steps-cordova-archive


text:
Added new constructor to SwarmAddressPicker

There are 3 important changes in this PR:

Removed shading for docker-client since it causes AbstractMethodError when used in another project.
Updated dependencies to their latest version
Added a new constructor to SwarmAddressPicker so that it's possible to pass swarm properties without the need for JVM properties. Otherwise one has to define both hazelcast.xml properties (as DefaultDiscoveryService forces this) and JVM properties.

Thanks, if you are going to remove the shaded jar, please ensure the project has a separate build task for your uses case, because this works for some folks and I don't want to break the existing functionality.

@bitsofinfo Do you mean I need to keep it as shaded? It causes me the following error:
Caused by: java.lang.AbstractMethodError
       at org.glassfish.jersey.model.internal.CommonConfig.configureAutoDiscoverableProviders(CommonConfig.java:624)
       at org.glassfish.jersey.client.ClientConfig$State.configureAutoDiscoverableProviders(ClientConfig.java:364)
       at org.glassfish.jersey.client.ClientConfig$State.initRuntime(ClientConfig.java:399)
       at org.glassfish.jersey.client.ClientConfig$State.access$000(ClientConfig.java:90)
       at org.glassfish.jersey.client.ClientConfig$State$3.get(ClientConfig.java:122)
       at org.glassfish.jersey.client.ClientConfig$State$3.get(ClientConfig.java:119)
       at org.glassfish.jersey.internal.util.collection.Values$LazyValueImpl.get(Values.java:340)
       at org.glassfish.jersey.client.ClientConfig.getRuntime(ClientConfig.java:733)
       at org.glassfish.jersey.client.ClientRequest.getConfiguration(ClientRequest.java:286)
       at org.glassfish.jersey.client.JerseyInvocation.validateHttpMethodAndEntity(JerseyInvocation.java:135)
       at org.glassfish.jersey.client.JerseyInvocation.<init>(JerseyInvocation.java:105)
       at org.glassfish.jersey.client.JerseyInvocation.<init>(JerseyInvocation.java:101)
       at org.glassfish.jersey.client.JerseyInvocation.<init>(JerseyInvocation.java:92)
       at org.glassfish.jersey.client.JerseyInvocation$AsyncInvoker.method(JerseyInvocation.java:629)
       at com.spotify.docker.client.DefaultDockerClient.request(DefaultDockerClient.java:2576)
       at com.spotify.docker.client.DefaultDockerClient.listNetworks(DefaultDockerClient.java:2322)
       at org.bitsofinfo.hazelcast.discovery.docker.swarm.SwarmDiscoveryUtil.discoverContainers(SwarmDiscoveryUtil.java:268)
       at org.bitsofinfo.hazelcast.discovery.docker.swarm.SwarmDiscoveryUtil.discoverSelf(SwarmDiscoveryUtil.java:124)
       at org.bitsofinfo.hazelcast.discovery.docker.swarm.SwarmDiscoveryUtil.<init>(SwarmDiscoveryUtil.java:118)
       at org.bitsofinfo.hazelcast.discovery.docker.swarm.SwarmAddressPicker.initialize(SwarmAddressPicker.java:77)
       at org.bitsofinfo.hazelcast.discovery.docker.swarm.SwarmAddressPicker.<init>(SwarmAddressPicker.java:57)
       at com.foo.bar.config.HazelcastConfig.getNodeContext(HazelcastConfig.java:135)
       at com.foo.bar.config.HazelcastConfig.awsConfig(HazelcastConfig.java:92)
       at com.foo.bar.config.HazelcastConfig$$EnhancerBySpringCGLIB$$f803a015.CGLIB$awsConfig$1(<generated>)
       at com.foo.bar.config.HazelcastConfig$$EnhancerBySpringCGLIB$$f803a015$$FastClassBySpringCGLIB$$e1da177f.invoke(<generated>)
       at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
       at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)
       at com.foo.bar.config.HazelcastConfig$$EnhancerBySpringCGLIB$$f803a015.awsConfig(<generated>)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:498)
       at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
       ... 119 more

Do you think that this plugin will work (as taken from bintray repository) for the majority without this issue? If not, we could try to add a task to include docker-client as shaded although I currently don't know how to achieve that.

It worked when I added an exclusion to my project for jersey-common:
            <dependency> <!-- We can remove this when our changes are merged & released -->
                <groupId>org.bitsofinfo</groupId>
                <artifactId>hazelcast-docker-swarm-discovery-spi</artifactId>
                <version>1.0-RC2</version>
                <exclusions>
                    <exclusion>
                        <groupId>org.glassfish.jersey.core</groupId>
                        <artifactId>jersey-common</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

CommonConfig.java comes from both this plugin and docker-client which caused that stacktrace. Do you think we can sort it out in this repo?

Maybe we can change dependency declarition like the following?
    compile('com.spotify:docker-client:8.9.0:shaded') {
        exclude module: 'jersey-common'
    }

Would this work for you?

Please just do this, in the README, add a new section "troubleshooting" and add your note about "if you get this kind of exception...." with instructions on that exclusion workaround and links to this PR etc.

@bitsofinfo Here you go! 👍

thx!

authors: bitsofinfo tunix


text:
🛑 Luogu Ti is down

In fbf66b2, Luogu Ti (https://ti.luogu.com.cn/problemset) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Luogu Ti is back up in 8cafdb9 after 18 minutes.

repo: bitsstdcheee/luogu-status


text:
🛑 Codeforces (Mirror) is down

In 60da903, Codeforces (Mirror) (https://mirror.codeforces.com) was down:

HTTP code: 502
Response time: 560 ms

Resolved: Codeforces (Mirror) is back up in 9c49435 after 1 hour, 43 minutes.


text:
Running with the exmaple errors

@bittremieux
Im trying to run the example with the following command:
 python3.4 qc_analysis.py --k_neighbors 2 ../data/qc/PNNL_velos_QuaMeter.tsv ../exampple.html

Im receiving the following error.
Traceback (most recent call last):
  File "qc_analysis.py", line 143, in <module>
    run(parse_args())
  File "qc_analysis.py", line 132, in run
    data = load_metrics(args.file_in, args.min_var, args.min_corr, args.scaling_mode)
  File "qc_analysis.py", line 22, in load_metrics
    data, variance, cor = preprocess.preprocess(data_raw, min_variance=min_var, min_corr=min_corr, scaling_mode=scaling)
  File "/Users/yperez/IdeaProjects/github-repo/BDP/py-pgatk/qc/preprocess.py", line 20, in preprocess
    data, variance = remove_low_variance_features(data, min_variance)
  File "/Users/yperez/IdeaProjects/github-repo/BDP/py-pgatk/qc/preprocess.py", line 31, in remove_low_variance_features
    return data[np.where(variance_threshold.variances_ > min_variance)[0]], variance_threshold.variances_
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pandas/core/frame.py", line 2133, in __getitem__
    return self._getitem_array(key)
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pandas/core/frame.py", line 2177, in _getitem_array
    indexer = self.loc._convert_to_indexer(key, axis=1)
  File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pandas/core/indexing.py", line 1269, in _convert_to_indexer
    .format(mask=objarr[mask]))
KeyError: '[ 0  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23\n 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 42 43] not in index'

Any advice?
BTW, can you give me a default parameter for this --k_neighbors

The number of neighbors should be considerably higher than 2 -- the local neighborhoods should consist of a sufficient number of observations to be able to accurately detect outliers.
Consequently, this also means that you should have a high enough number of runs to apply this on (>100); just a handful is insufficient.
Values around 50 for the number of neighbors should work in most cases. For the analyses reported in the manuscript 50 was used for the TCGA dataset, and the optimal performance (in terms of AUC) was obtained with a neighborhood size ~50–60 for the different instruments in the PNNL dataset (see supporting figure S5).
As a rule of thumb it's better to set the neighborhood size too high than too low.
I'll need to debug the code a little bit tomorrow to find out why it isn't working anymore.

Ok, there were some API changes in pandas between three years ago and now that I've fixed. Were you using the pandas version listed in the previous requirements.txt or not?
I've updated all dependencies to the latest versions and adapted the code. I recommend to use conda, you can create a suitable environment from the environment.yml file. That should work to run all the code.

Thanks a lot. I will let you know about my results

About the n neighbors parameters. What happen if you have 20 samples?

Yes, that's going to be too few samples to get a reliable result.

authors: bittremieux ypriverol


text:
Consider using giscus

Hey there,
I see that you're using utterances for comments. As we know, it utilizes GitHub Issues, which (given enough time) would flood your repository's issues with comments.
I've been developing an alternative: giscus, a similar project that utilizes GitHub Discussions instead. It has support for replies and other cool stuff from GitHub Discussions. The big advantage is the fact that it uses your repository's Discussions, which is more suitable for comments. I would really appreciate it if you tried it. Feedback is welcome, the code is open source.
You can convert existing issues into discussions, as described here.
Thanks!

Looks like a cool project. I am currently in the process of switching my site from chakra-ui to styled components but after I finish that I'll look into giscus.


text:
Bump SDK for Linux v5.15 and OpenSBI v1.0

This PR simply bumps the BP SDK for the latest version of Linux kernel and OpenSBI. Confirmed working on Pynq Z2.
A small fix to the software Makefile is included to properly collect and filter .riscv files for the NBF archive creation.

@farzamgl any comments on this PR?

I'm just going to merge this to avoid staleness

authors: dpetrisko muwyse

repo: black-parrot-hdk/zynq-parrot


text:
Adds grouping

@davis @manju review

ship it

authors: Refefer manjuraj

repo: blackbirdtech/merlin-python


text:
Links not being indexed

Description
Hi, I don't know if this is expected behaviour: No links are ever indexed into the Obsidian graph.
Desktop

Windows 10 x64
Obsidian 0.12.15
Dataview 0.4.5

Additional context
While in this example dataview is being hosted in admonition, I found that it makes no difference for the indexing.

``` ad-dataview
title: Latest notes
collapse: open
``` dataview
list file.cday
FROM "Notes/Inbox"
WHERE !contains(noteclass, "moc") AND file.name != this.file.name
SORT file.mtime asc

The obsidian graph view only shows static links in the text - dataview queries operated by dynamically fetching links in the preview window, after the graph view has actually checked text for links. It is not simple to actually make this work properly - the closest thing would be to properly implement "static views" which generate and directly embed markdown tables / csv / whatnot in the document, which could then be indexed.
To avoid duplicates, I'm tracking this issue in #63.

Duplicate of #63

authors: blacksmithgu veradrawer

repo: blacksmithgu/obsidian-dataview


text:
[bug] when i cancel completed task, the task still is completed!

Describe the bug
when i cancel completed task on dataviewjs, the task still is completed!
Screenshots

To Reproduce
- [x] TODO1
- [x] TODO2
- [ ] TODO3
- [ ] TODO4
```dataviewjs
dv.taskList(dv.current().file.tasks)
```

Steps to reproduce the behavior:

cancel completed task TODO2 on dataviewjs
See error，the real task TODO2 still completed!

Expected behavior
cancel completed task TODO2 on dataviewjs
the real task TODO2 is uncompleted
Desktop (please complete the following information):

OS: Windows
Obsidian Version 0.12.15
Dataview Version 0.4.10

I'm not 100% sure when this broke, but it's fixed in the upcoming release 0.4.11.

authors: blacksmithgu fangjj


text:
Error text shown above and in top bar; top and bottom bars transparent

I am assuming that #21 was referencing this problem as well though it was not expanded upon. I have posted a screenshot for clarity:

Interestingly, for some reason, the bottom bar does not show up in the screenshot. It looks similar to the top bar except that there is no error text and only a power off symbol shown in the center with nothing else. The picture was cropped when I was looking at it; the bottom bar does show up in the image above.
I installed Übersicht through its desktop installer (I can't find the Homebrew package...) disabled my desktop using the provided command, and installed supernerd through cloning the repository to the Übersicht widgets folder as outlined in the README. Other widgets are working properly, so this doesn't seem to be an installation method issue or one with Übersicht itself, I believe. I have disabled all other Übersicht packages for the moment for troubleshooting and that has not helped.
I use Little Snitch for network monitoring. I tried to disable this to ensure it wasn't breaking any connections which caused downstream errors in supernerd. After disabling network monitoring and both restarting and refreshing Übersicht, the error persisted.
The animations are functional (mousing over the volume icon reveals volume percentage, etc.) but are likely not properly styled.
No modifications were made to the provided scripts. I am not certain whether the error text visible in the interface contains the entire error or only part of it (probably the latter).
Assistance would be much appreciated!

Thank you for the quick response!
I had used the brew install ubersicht command instead of brew cask install ubersicht before, which is why I could not find the package. I uninstalled the old Übersicht package installed from the desktop installer through CleanMyMac to (hopefully) get rid of any configuration files as well and have reinstalled Übersicht through the brew cask install ubersicht command.
I then checked the Übersicht widgets folder (default location at $HOME/Application\ Support/Übersicht/widgets) and confirmed that it was empty. I issued the provided git clone command from the README to clone the repository to this directory. Here is a screenshot of the git clone command and tree on the Übersicht directory:

(note: username redacted, but the path is simply the expansion of $HOME)
Even after all of this, the errors persist, unfortunately. However, there now seems to be overlapping text at the very top-left corner of the screen instead:

(note: the bottom bar remains the same as in the initial screenshot post so I have only posted the relevant top portion of the screen)
OS & app versions:

macOS 10.13.4
Übersicht Version 1.2

I notice in the error at the top-left of the top bar that it mentions: chunkc: connection failed! Is chunkwm required to run this widget? I have it installed (also through homebrew) but disabled it until I could work out some conflicting keyboard shortcuts.
P.S. Your last README commit seems to have creates a huge code chunk object of all text after your modified brew cask install ubersicht command! Just wanted to point that out here instead of bothering you with another issue :+)

Thank you for the quick response!
No worries. I live for this shit actually.

Ok so thanks for getting that tree, it definitely rules out a bunch of possible issues with the file positioning. So this brings us to something you mentioned...

I notice in the error at the top-left of the top bar that it mentions: chunkc: connection failed! Is chunkwm required to run this widget? I have it installed (also through homebrew) but disabled it until I could work out some conflicting keyboard shortcuts.

Yes! That's where it gets the focused desktop information. And I'm going to go ahead and assume that all of the other errors might just be referencing scripts you are not running. So, for instance, it seems that you are running the widget that controls mpd through mcp – if you are not running either, that could be the cause of the error. So to sum up:

chunkwm is required to get the focused desktop indication
mpd and mcp are required to get the music indicator. If you don't use mpc/mcp you should disable apps-and-music.coffee (for instance by renaming it to apps-and-music.coffee.optional) and enable apps-and-itunes.coffee.optional (by renaming it to apps-and-itunes.coffee).

With regards to the disappearing bars, the issue seems to be that you are not using wal, but your css-loader.coffee is looking for wal's output to gather colors from it. If you don't want to use wal, you should open up css-loader.coffee and change this line:
    @import url(supernerd.widget/styles/colors-wal.css);
to this:
   @import url(supernerd.widget/styles/colors.css);
Then you can edit the colors by editing colors.css.
Let me know if it works!

P.S. Your last README commit seems to have creates a huge code chunk object of all text after your modified brew cask install ubersicht command! Just wanted to point that out here instead of bothering you with another issue :+)

Ah fuck yeah thanks, I'm gonna fix that right away

Okay, that's really helpful information!
I disabled apps-and-music.coffee, enabled apps-and-itunes.coffee, made the suggested changes to css-loader.coffee, and started skhd and chunkwm.
Colors work now, yay! I'll get around to tinkering with wal later but it's good to know it works without it.
There seems to be some build error with apps-and-itunes.coffee. No modifications were made to this file other than removing the trailing ".optional" portion of the original name to activate the module. While the module is active, a text error persists in the top-left corner as pictured in the previous screenshots but with some nondescript error (but here's a picture, just in case):

Disabling apps-and-itunes.coffee results in that error text disappearing. Even while the above error is showing, playing a song in iTunes results in unformatted plain text displayed after the error message as [artist name] - [track name].
Similarly, enabling time-date.coffee gives the following error, while disabling it results in that error disappearing from the top-left of the screen:

Ok, so, mixed response here.

time-date.coffee: I'll have to do a mea culpa here. I did not maintain this at all because I maybe maybe might have completely forgotten that this widget existed at all. I'm actually going to remove it because it makes no sense to have it in given how everything else is set up, until I can actually work out a more modular system that let's users mix and match every indicator exactly how they want to. I recommend you use date-weather.coffee instead.

apps-and-itunes.coffee: Weird, because my apps-and-itunes works fine. So now I'm wondering if it might depend on whether you have or not all of the apps installed. Do you not have Spotify installed? If that's the culprit I will have to split it in two separate widgets, one for iTunes, one for Spotify...

I think there might be an issue upstream here – I don't know how to handle errors because it seems like the ubersicht code shits itself before the issue can be handled by my code.
So I was messing around with different frameworks, and I got a bit carried away so I remade the entire bar as a npm module. This handles error extremely well. If you have the time I'd love for you to check it out, I'm now evaluating if I should consider switching development altogether.

authors: blahsd paanvaannd


text:
macOS notifications steal focus

as the title says, there s a bit of an usability issue with this on macOS, it steals focus from whatever window is active when a notification is displayed.
no combination of flags yielded anything useful for me, but i am very much scratching the surface of all this stuff.
thank you for a lovely package

Fixed by #11

thanks for adding the request. unfortunately, even with focusable false it still steals the focus on mac os
if i find anything more related to this, i ll post it here
cheers

It's not stealing focus for me. In the playbook I did a settimeout to open a notification in 2 seconds, then I started typing in the textarea and I could still type after it opened.

not sure i understood the test exactly, but i probably have not explained myself correctly.
i type in another app altogether, like messages or slack on macOS and when the notification pops, the electron app that popped the notification gets focus so i can t continue writing in the prev app.
thanks

authors: blainesch tzapu

repo: blainesch/electron-notifications


text:
DOC: Readthedocs doesn't work automatically?

Latest build looks 2 weeks ago, and doc for v0.7.2 is not built.
https://readthedocs.org/projects/dask/builds/

I've triggered a build manually.  I'm not sure why it's not building on every push.  After a brief look at the settings I don't see anyplace to ask readthedocs to build automatically.

@mrocklin you should see ReadTheDocs listed under Services on this page: https://github.com/blaze/dask/settings/hooks

Indeed.  I do.  Everything seems to be fine there.

Thanks, DataFrame API looks not rendered properly. Maybe caused by #733, but not sure as it works on local.
http://dask.pydata.org/en/stable/dataframe-api.html

Perhaps your local sphinx version differs from the sphinx version used on readthedocs?
@sinhrks do you have an account on readthedocs?  I would be happy to give you access to the dask projects there if so.

Thanks, my account is "sinhrks".
About build problem, I'll check it using my own repo.

authors: mrocklin shoyer sinhrks

repo: blaze/dask


text:
Add FlowLayout from code

I want to add some features to FlowLayout so I create a custom class and extends it from FlowLayout. then I need to instantiate it and add it to FrameLayout with addView. Is this possible or I should only use xml? I tried and nothing appeared in my screen. Thanks in advanced.

@mohgh This should work as expected. If you see example app provided in this repo you will see example where app is adding and removing views.

authors: blazsolar mohgh

repo: blazsolar/FlowLayout


text:
Vue 文档风格的 Typora 主题 | 闪烁之狐

https://blinkfox.github.io/2018/11/19/ruan-jian-gong-ju/vue-wen-dang-feng-ge-de-typora-zhu-ti/
typora-vue-theme 是 Typora Markdown 文档编辑器中一款类似Vue文档风格的主题。
简介Typora是一款支持实时预览的 Markdown 编辑器和阅读器，支持Windows、macOS、Linux三大平台

如何初始化创建lssues

不错不错

博主是怎么做到让百度收录托管在github的网站的呢

@link9596 我并没有特意去做，我的这个主题里面对站点和每篇文章做了 keywords 和 description 的设置。所以，搜索引擎是能爬去到的，百度可能现在可以爬 Github 上的了吧。

@blinkfox 可是我试了一下，伪装成百度爬虫的ua访问github，全都是拒绝访问

好吧，那就不晓得了，我对 SEO 这块儿不太熟悉。

authors: blinkfox link9596 mapcme zhaowensheng


text:
feature - recent

Github Issue URL/Tags (required)
What's this PR do? Please give a technical summary (required)

[x] recent done

Any references (stackoverflow …) (optional)

:+1: There are no linter violations.

authors: at-bienle at-daiho


text:
feat: add PlutusV3 constructor in ScriptType

Done to correctly parse protocol parameters

It could also be the case that if a UTxO has a PlutusV3 script attached, then an error is thrown by this SDK if this change is not incorporated.

Thank you!

Released as blockfrost-api-0.11.0.0

authors: sorki sourabhxyz

repo: blockfrost/blockfrost-haskell


text:
doPublicKeysMatchUsername returns CORS error

I am getting this error when attempting to use the signUserIn function.
From what I can trace, I see a somewhat related bug on line 50 of authApp.js:
if (verifyAuthResponse(authResponseToken)) {
    ...
} else { ... }

The function verifyAuthResponse defined on line 146 of authVerification.js returns a Promise. A promise is an object, which is truthy, so this line above will always return true. Also the callback function parameter in that function is not being used correctly. The code below would be a correct implementation, converted to use Promises instead of callbacks for consistency with the rest of the library.
export function signUserIn() {
    const authResponseToken = getAuthResponseToken()

    return verifyAuthResponse(authResponseToken)
        .then(isValid => {
            if (isValid) {
                const tokenPayload = decodeToken(authResponseToken).payload
                const userData = {
                    username: tokenPayload.username,
                    profile: tokenPayload.profile,
                    authResponseToken: authResponseToken
                }
                window.localStorage.setItem(
                    BLOCKSTACK_STORAGE_LABEL, JSON.stringify(userData))
            }

            return isValid;
        });
}

I can look through your guidelines and submit this as a pull request if you like.
The CORS issue when calling https://core.blockstack.org/v1/names/xxxx is more likely an issue with the core api, should I make another issue there for that? Thanks in advance for the help!

Yes, the CORS issue is indeed an issue with the Core API. I went ahead and added the correct header to the API, so that part should work okay now.

I still seem to be getting a 404 response back. Although the warning about CORS is gone now.

Okay so I think the issue is that I am attempting to log in with a user that I have not yet purchased a user id for yet. The client library seems to be using the "address", but I'm guessing the API doesn't actually accept addresses instead of ids. Does that sound right?
Example: https://core.blockstack.org/v1/names/15hY9DPZHixmR6SXZLqoemWHyURaMzskHq

@scott-martin great find! A PR would be great!

Okay so I think the issue is that I am attempting to log in with a user that I have not yet purchased a user id for yet. The client library seems to be using the "address", but I'm guessing the API doesn't actually accept addresses instead of ids. Does that sound right?

The API doesn't accept addresses, that's correct. You've actually found a problem with the Browser!
We have an error where when logging in without a username on a profile, it sends the address as the username. It should not send a username. I've open an issue here and will fix it in our next release which should ship tomorrow. https://github.com/blockstack/blockstack-browser/issues/548
Thank you @scott-martin so much for reporting this! Sorry about sending you down a rabbit hole.

Great, glad to help! I will also make a pull request with those JavaScript issues I pointed out above then.

Thank you again for your help with this @scott-martin

authors: kantai larrysalibra scott-martin


text:
Improve running testnet instructions

Right now we ask users to cargo install --path ./testnet/stacks-node. This will pull in dependencies from crates.io. To avoid discrepancies and dependency issues, we should instead instruct users to build how we do. Something like:
$ cargo build --workspace --bin stacks-node
# binary will be in target/debug/stacks-node
$ ./target/debug/stacks-node krypton
# release build
$ cargo build --workspace --release --bin stacks-node
# binary will be in target/release/stacks-node

The markdown page impacted by this is this: https://github.com/blockstack/docs/blob/master/src/pages/stacks-blockchain/running-testnet-node.md

May I jump in and work on this?

Absolutely @LowNightSnack. Please make your changes in a new branch and submit a PR. We require lint checks to pass before commit. Let me know if you have questions or anything else.

authors: LowNightSnack agraebe diwakergupta

repo: blockstack/docs


text:
Fix React rules of hooks issues

Our code breaks the React rule of hook in a few components.
https://reactjs.org/docs/hooks-rules.html
This task is to fix those and add the eslint-plugin-react-hooks to enforce it in the future.
Fixing this will help prevent bugs and React re-render issues.

Can you list the components that break these rules @beguene?

stacks-wallet-web/src/common/hooks/account/use-account-names.ts
stacks-wallet-web/src/common/hooks/use-onclickoutside.ts
stacks-wallet-web/src/components/asset-item.tsx
stacks-wallet-web/src/components/link.tsx
stacks-wallet-web/src/components/tooltip.tsx

authors: beguene kyranjamie

repo: blockstack/stacks-wallet-web


text:
Casting Contents in OperationHeader from Operations data type to TransactionOp data type

Hi,
this is what we have been looking for. Nice work.
Can you provide us an example how to cast ? We want to process the contents as transactions not endowment. Hence, we need to cast it to TransactionOp.
Thank you

Hi,
found it!
					transactionOp := content.(*rpc.TransactionOp)

whereas content is rpc.Operations

repo: blockwatch-cc/tzgo


text:
Support Request:

Describe Your Problem:
I'm installing this Homebridge plugin on a Synology DS218 NAS. Homebridge has loaded correctly and is running one other plugin (LIFX). This plugin appears to install correctly, however it doesn't seem to operate. The configuration UI just presents a spinning cog. This is a fresh install of Homebridge two hours before installing this plugin. Is there something I need to alter in order to use this plugin?
Thanks in advance.
Expected behavior:
No response
Logs:
[1/7/2023, 9:59:45 PM] [Homebridge UI] [homebridge-xfinityhome] /volume1/homebridge/node_modules/homebridge-xfinityhome/homebridge-ui/server.js:30
            (((_c = config._bridge) === null || _c === void 0 ? void 0 : _c.username) ? ('.' + ((_e = (_d = config._bridge) === null || _d === void 0 ? void 0 : _d.username) === null || _e === void 0 ? void 0 : _e.split(':').join(''))) : '');
                           ^

TypeError: Cannot read properties of undefined (reading '_bridge')
    at new PluginUiServer (/volume1/homebridge/node_modules/homebridge-xfinityhome/homebridge-ui/server.js:30:28)
    at /volume1/homebridge/node_modules/homebridge-xfinityhome/homebridge-ui/server.js:270:8
    at Object.<anonymous> (/volume1/homebridge/node_modules/homebridge-xfinityhome/homebridge-ui/server.js:270:29)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47
[1/7/2023, 9:59:45 PM] [Homebridge UI] [homebridge-xfinityhome] Child process ended
[1/7/2023, 9:59:47 PM] [Homebridge UI] [homebridge-xfinityhome] Terminating child process...

Config:
{
    "bridge": {
        "name": "Homebridge CCFB",
        "username": "0E:DA:B1:78:CC:FB",
        "port": 51775,
        "pin": "392-19-053",
        "advertiser": "ciao",
        "bind": [
            "eth0"
        ]
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "auto",
            "tempUnits": "f",
            "lang": "auto",
            "platform": "config"
        },
        {
            "name": "Lifx Plugin",
            "duration": 0,
            "brightnessDuration": 300,
            "colorDuration": 300,
            "default": "0.0.0.0",
            "broadcast": "255.255.255.255",
            "lightOfflineTolerance": 3,
            "messageHandlerTimeout": 45000,
            "resendPacketDelay": 150,
            "resendMaxTimes": 3,
            "updates": true,
            "debug": false,
            "autoDiscover": true,
            "platform": "LifxPlugin"
        }
    ]
}

Operating System:
Synology OS
Node Version:
16.16.0
NPM Version:
8.11.0
Homebridge Version:
1.6.0
Plugin Version:
3.0.4

I am having the same issue, and it won't finalize the installation and go into the configuration. The gear continues to spin.

I had the same issue, I installed an older version and was able to get it configured then update to the latest. Working perfectly ever since.

Fixed in 3.0.5


text:
Messenger Settings Not Loaded

Hello,
I have a problem with my Magento 2 shop, the Messenger Settings page is not loaded.
But the general settings page is working fine.

Hi there.
That's weird. What is your Magento version? Can you send me your log files?

Hello,
I didn't see any error about the application. I'm sending you the log files anyway.
Thanks,

log.zip
report.zip

the same thing happens with magento 2.2.2

I am using Magento 2.2.3 i extracted the chatbot zip in the magento root directory and did the four installation steps but I can not even see it in the store . Please help . I compiled the whole magento directory with [ sudo php bin/magento setup:di:compile  ] as the 4th step of installation. Please help.

@ntan-vixi  Can you please tell me the installation steps for this chatbot on magento 2 as there is no [ System > General Settings > Chatbot Settings ] to be found .

@itsmudassir You can follow the steps indicated in page 3 of this pdf https://www.mageworx.com/index.php/downloads/dl/file/id/124/product/0/woxy_user_guide_10_17.pdf

Hey guys. Just a quick update that I didn't forgot about this issue. I looked over at this on the weekend, but couldn't find any problems. I'll keep looking until I find a solution.

@ntan-vixi   same Messenger-setting disappearing error happens  when I use my server url as localhost/magento/admin  and its doesnt happen when i use server url as 127.0.0.1/magento .

@blopa  @ntan-vixi  how do you guys use it locally ? for other bots development Ngrok works for ssl problem . Do you guy use ngrok for local development?
I have tried to use ngrok but it doesnt work completely for me .

Looks like issue comes from app/code/Werules/Chatbot/etc/config.xml
It cannot read value for <commands_list>. I have commented that field in config.xml and get  all fields in backend config visible (Messenger Settings)

@xmav What version of Magento are you using?
@itsmudassir @ntan-vixi @syntaxisarg could you try @xmav solution? I'm still not able to reproduce the problem, but this seems like a good lead.

You guys cal also try running this command:
php bin/magento cache:flush;php bin/magento cache:clean;php bin/magento setup:upgrade;php bin/magento setup:static-content:deploy -f

@blopa I am testing it using Magento 2.2.2

Local machine? Windows or Linux?

local dev environment on Ubuntu with Apache and PHP 7.0.25

@blopa To reproduce issue make sure that you don't have value for "commands_list" field in database core_config_data table. In this case default values from config.xml will be used and I hope you will see the issue

Here is more info from me:
Looks like thats breaking changes in Magento 2.2 and 2.3
https://github.com/magento/magento2/commit/3f5494763b4d7095d51fac44b4cd4dc4a6ab4b92#diff-6b58c5ee8a358659b65e043f71bca51b
As you may see in 2.2 \Magento\Framework\Serialize\Serializer\Json used as serializer. Thats why it cannot unserialize your value from config.xml

I'm waiting for the others to confirm if that fixed their problem, and I'll release a new version.

Yes commenting the <commands_list> in config.xml solves the disappearing menu problem . but now the module is connected and my webhook url gives 404 error please take a look @blopa . I am using latest magento2 and the chatbox appears in home but the webhook doesnt work I tried to add a '/' at the end as well .

@xmav did  commenting the <commands_list> in config.xml  solve your problem ? for It does make the settings visible but the extension does not generate working facebook webhook   URL. If it worked for you please tel me your magento version and how did you host  it with SSL .

@itsmudassir Try http://mudassir.website/chatbot/webhook/messenger/endpoint/al1foqt1ts

Version 1.0.7 released! https://github.com/blopa/Magento-Chatbot/releases/tag/m2_v1.0.7

Hi,
this VEr will work on magento 2.3?

authors: babybeddingdesign blopa itsmudassir ntan-vixi syntaxisarg xmav

repo: blopa/Magento-Chatbot


text:
[BUG] Roblox no se puede ejecutar

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
version 2.8.1
What problem did you encounter?
Me sale un error de que ROBLOX no se puede ejecutar, encima de todo me sale que se va abrir en el navegador una pagina de ayuda y no abre, ns que hacer, esto me pasa después de cambiar de win 10 a win 11

Bloxstrap Log
N/A

por favor necesito ayuda yaa

repo: bloxstraplabs/bloxstrap


text:
Fix travis build and travis_install template

currently miniconda for Python2.x installs into miniconda2
by default which breaks this script

Thank you! I'll merge. Right now there is another small problem in the Travis build. I hope I'll have some time on the weekend to look into this.

authors: FlorianWilhelm cpaulik

repo: blue-yonder/pyscaffold


text:
Replace blst with blstrs

Blaster is a wrapper around blst that give nicer rust APR and is easier to consume: https://github.com/filecoin-project/blstrs/tree/master

can i take on this ?

authors: mahmudsudo rakita

repo: bluealloy/revm


text:
setError problems (or misusage)

First of all thanks for the great library!
We were using redux-forms intensively in our current project and now want to switch to hooks based solution. Yours works perfectly for most of the cases but there are still some things that require rethinking.
There was a special type of error thrown in submit handlers called SubmissionError. The object passed to it allowed setting an error of some type in case submit action failed. I tried to repeat that behavior but got a problem with setError. If I set error state for any existing field (or non-existing submission filed) I see that errors object in the form is changed accordingly but then rerender occurs (probably after validation?) and it returns to the previous empty state.
I use something like this:
export const withSubmissionErrorHandler = (
  onSubmit: Function,
  setError: SetError,
) => {
  return async (...args) => {
    try {
      await onSubmit(...args)
    } catch (err) {
      if (err instanceof SubmissionError) {
        setError('submission', 'submission', err.submissionMessage)
      }
    }
  }
}

that is used in form
<form
      onSubmit={handleSubmit(withSubmissionErrorHandler(onSubmit, setError))}
    >

and throw custom error in onSubmit method passed to the form.
Is there any better solution for that? Or how can I fix setError behavior? Or could it be I use it in a wrong way?
Thanks in advance.

Could u please provide a code sandbox? I could investigate into

looks like this is a bug.

could you please try this version? react-hook-form@3.18.9-beat.1

FYI for a custom Error message, you will have to clearError for success data
  try {
      await onSubmit(...args)
      clearError('submission')
    } catch (err) {
      if (err instanceof SubmissionError) {
        setError('submission', 'submission', err.submissionMessage)
      }
    }

fixed and published: https://github.com/bluebill1049/react-hook-form/releases/tag/3.18.9

Wow! Thank you!

thank you for report the issue @rkurbatov 🥃

Ehm... Just get to work and run the code with the new version - the problem remains. I'll try to create a simplified sandbox right now.

i tested with the following:
https://codesandbox.io/s/react-hook-form-basic-n53gm

And here is my example: https://codesandbox.io/s/seterror-problems-60ghf
errors object becomes empty again after the error

taking a look your example now

try this https://codesandbox.io/s/seterror-problems-hqhpo @rkurbatov

Works now!

published! thank you :)

Can we have something similar in the library? It would be nice to set error messages in the same manner:
throw new SumbissionError({ fieldname: 'message' })

in the onSubmit handler and some special handleSubmit version (or even modified one) without need to pass setError/clearError every time?

at the moment, react hook form doesn't have any throw API, curious the difference between setError vs throw new Error. Normally you wouldn't need clearError, probably only use it during async submission.

So what about that approach? If SubmissionError was thrown by onSubmit, handleSubmit catches that and sets errors internally according to error object?

Yea, I understand where you coming from: which are the all the goodies from redux-form.
but to be honest, I don't plan to implement throw errors at this stage. I am not seeing the value of throw error for submitting at validation that much (at this stage) and personally, I prefer to keep the API simple and primitive, however, I am open to changes if more people request similar features request.

@rkurbatov you happy to close this issue for now? 🙏

Oh, sure. Thanks!


text:
add support for darwin

minimum set of changes to support darwin (OS X)

I'm no longer convinced that this works reliably, mostly because of the way that ssh-agent is launched by launchd.  So, while I can reliably the the peer_pid and peer_uid of sockets I make, I'm finding that I cannot for ssh-agent which is launched by launchd.  Frustrating.

repo: blueboxgroup/sshagentmux


text:
Fix checks to look for quotes for kvm

The checks were failing because of quotes around the options
in libvirtd.conf. This fixes the checks to look for the quotes.

Sorry, I'm going to close this for now as I think we are going to skip the checks. I'll reopen it later.

ok it looks like we may want to do this....

repo: blueboxgroup/ursula-inspec


text:
fix mysql serverspec to avoid gcache.page by:

no serverspec scan for gcache related files
restart mysql

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

ok to test

ok to test

"add to whitelist"

"ok to test"

sensu-client no need to restart, because the serverspec_check.json file not changed.  The serverspec_check.json has command of /etc/sensu/plugins/check-serverspec.rb and this command will use mysql_spec.rb as config to run.   so next interval checking will use the latest mysql_spec.rb
the reason for mysql restart is to make sure existing gcache.pages file are unlocked.  All my test include steps to restart mysql.

I will add another test to see if it works without mysql restart.

in that case we should notify mysql restart only when (upgrade | default('False') | bool)

"add to whitelist"

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

"ok to test"

retest

ok to test

ok to test

remove serverspec mysql_config check for log-error file and log-warning level, which seems to connect to mysql to collect info and compare.

ok to test

I confirmed mysql_config does initiate a connection to the mysql server itself.
https://github.com/mizzy/serverspec/blob/377641274f9b9d418040353d7e4a1ed01219db85/lib/serverspec/type/mysql_config.rb#L4

authors: Xiaohua-Shen bbc-jenkins masteinhauser nirajdp76

repo: blueboxgroup/ursula


text:
Certificates metrics

Hey, is it possible to get certificate metrics? if its not supported by the exporter (at moment) but possible to get that metrics from the firewall i can send a PR to that, there's a "guide" to show where to implement the support for new metrics?
Thanks for that work :)

Hi!
Yes, this can be added for sure.
I have this script that I use to install certificates: https://github.com/bluecmd/fortigate/blob/master/update-fortigate-cert - so getting them using the API is possible. It needs to be parsed and then exported as a metric.
I am open for reviewing pull requests to add this!
There is no guide, but you might be able to look at older pull requests where people have successfully added metrics such as HA.

What kind metrics are you looking for regarding certificates?
The API endpoint returns a lot of data, so I don't think it makes sense to implement each and every detail. Below an example API response.
This is a to a single certificate shortened response.
# api/v2/monitor/system/available-certificates
{
  "http_method":"GET",
  "results":[
    {
      "name":"Fortinet_CA_SSL",
      "source":"factory",
      "comments":"This is the default CA certificate the SSL Inspection will use when generating new server certificates.",
      "range":"global",
      "exists":true,
      "is_ssl_server_cert":true,
      "is_proxy_ssl_cert":true,
      "is_general_allowable_cert":true,
      "is_default_local":false,
      "is_built_in":true,
      "is_wifi_cert":false,
      "is_deep_inspection_cert":true,
      "has_valid_cert_key":true,
      "key_type":"RSA",
      "key_size":2048,
      "is_local_ca_cert_strict":true,
      "is_local_ca_cert":true,
      "type":"local-ca",
      "status":"valid",
      "valid_from":1472285182,
      "valid_from_raw":"2016-08-27 08:06:22  GMT",
      "valid_to":1787904382,
      "valid_to_raw":"2026-08-28 08:06:22  GMT",
      "signature_algorithm":"SHA256",
      "subject":{
        "C":"US",
        "ST":"California",
        "L":"Sunnyvale",
        "O":"Fortinet",
        "OU":"Certificate Authority",
        "CN":"FGT61E4XXXXXXXX",
        "emailAddress":"support@fortinet.com"
      },
      "subject_raw":"C = US, ST = California, L = Sunnyvale, O = Fortinet, OU = Certificate Authority, CN = FGT61E4XXXXXXXX, emailAddress = support@fortinet.com",
      "issuer":{
        "C":"US",
        "ST":"California",
        "L":"Sunnyvale",
        "O":"Fortinet",
        "OU":"Certificate Authority",
        "CN":"FGT61E4XXXXXXXX",
        "emailAddress":"support@fortinet.com"
      },
      "issuer_raw":"C = US, ST = California, L = Sunnyvale, O = Fortinet, OU = Certificate Authority, CN = FGT61E4XXXXXXXX, emailAddress = support@fortinet.com",
      "fingerprint":"F9:96:25:CC:E0:E9:08:F7:1C",
      "version":3,
      "is_ca":true,
      "serial_number":"28:D7:XX:XX",
      "ext":[
        {
          "name":"X509v3 Basic Constraints",
          "data":"CA:TRUE",
          "critical":false
        }
      ],
      "q_path":"vpn.certificate",
      "q_name":"local",
      "q_ref":5,
      "q_static":true,
      "q_type":155
    }
  ],
  "vdom":"root",
  "path":"system",
  "name":"available-certificates",
  "status":"success",
  "serial":"FGT61E4XXXXXXXX",
  "version":"v6.2.3",
  "build":1066
}

I'd say that likely what people are looking for is certificates in use that will expire soon.
Thus, maybe we can start with something like:
fortigate_certificate_expiry{name="Xyz"} 169....
# I assume q_ref is the amount of things referencing the certificate
fortigate_certificate_references{name="Xyz"} 5

That way one could set up monitoring for certs expiring while avoiding false positives if they are not used.
It would probably also be nice to add a label if the certificate is manually added or Fortigate built-in - I'll see if I can look at my Fortigate to see what field is different for those.

q_ref has following description in the API documentation
The CMDB reference count for this certificate.
Therefore I would go with fortigate_certificate_cmdb_references.
Is fortigate_certificate_valid in your example simply an interpretation for the current time is bigger than valid_from and smaller than valid_to?  If yes I think it would be better to simply expose both unix timestamps and allow the users to write queries for those.
e.g. fortigate_certificate_valid_from_seconds{...} < time() || fortigate_certificate_valid_to_seconds{...} > time() + 24 * 60 * 60
to be alarmed if the certificate is not valid yet or will be no longer valid in the next 24h.
If I would see vdom="", the first thing I would think is that this is a bug or empty field in Fortinet.
What do you think about adding a scope label and filling vdom with <global>.
To summarize your example metrics would look like this:
fortigate_certificate_valid_from_seconds{name="Xyz",source="user", scope="global", vdom="<global>"} 169.....
fortigate_certificate_valid_from_seconds{name="Test",source="user", scope="vdom", vdom="bluecmd"} 169.....
fortigate_certificate_valid_to_seconds{name="Xyz",source="user", scope="global", vdom="<global>"} 169.....
fortigate_certificate_valid_to_seconds{name="Test",source="user", scope="vdom", vdom="bluecmd"} 169.....

fortigate_certificate_cmdb_references{name="Xyz",source="user",scope="global", vdom="<global>"} 5
fortigate_certificate_cmdb_references{name="Xyz",source="user",scope="vdom", vdom="bluecmd"} 2
fortigate_certificate_cmdb_references{name="Xyz",source="user",scope="vdom", vdom="root"} 0
fortigate_certificate_cmdb_references{name="Xyz",source="user",scope="vdom", vdom="something"} 2
fortigate_certificate_cmdb_references{name="Test",source="user",scope="vdom", vdom="bluecmd"} 1

This would allow for example count(fortigate_certificate_cmdb_references{scope="vdom}) to get number of certificates installed in vdoms. It would be possible with an empty vdom too, but I think this is more streamlined regarding the user experience.
Thoughts?

Good on the naming, I like it.
I also like the scope, I can see how an empty label can look odd without that. In PromQL a label set to nothing is the same as it not being present, so with the distinction of having "scope=global" I think we should either drop the vdom label for those, or have "vdom=''". I am not a huge fan of magic strings that can bite people.
Wdyt?

I haven't been aware that PromQL handles empty values like that. In that case I see no problem with vdom="".
For the status a info metric would be probably better fitting like nodue_uname_info from the node exporter.
e.g. fortigate_certificate_info{name="Xyz",source="user",scope="global", vdom="", status="pending", type="local-cer"} 1
Using joins then the user can query all expiry dates for CA certs for example

Indeed, the empty label is a bit of an advanced use case, but you can see examples like this: https://stackoverflow.com/questions/51293895/how-to-display-all-metrics-that-dont-have-a-specific-label or https://github.com/prometheus/prometheus/issues/494.
The _info seems like a good way to do this, I like it. That way we can hook on things like fingerprint and other stuff in the future if any users file feature requests for them.

authors: bluecmd renatomdg secustor


text:
Seems to not be working

Vaadin 7.7.5
Addon 1.0.0
Exclamation mark correctly not showing, but the tooltip is still there and the error is not displayed inline.

Code (not that I',m using Viritin) :
MDateField startDate = new MDateField("Start Date").withResolution(Resolution.DAY)
ValidationErrorDisplay.displayFor(startDate, ErrorMessagePlacement.RIGHT)

Thanks.

Fixed in https://github.com/blueinblue/valerrdisp-vaadin-addon/pull/4

repo: blueinblue/valerrdisp-vaadin-addon


text:
RTSP stream pulling Issue with specific camera model

Which version are you using?
v1.4.2 -> The issue also persists with the latest version
Which operating system are you using?

[ ] Linux amd64 standard
[X] Linux amd64 Docker
[ ] Linux arm64 standard
[ ] Linux arm64 Docker
[ ] Linux arm7 standard
[ ] Linux arm7 Docker
[ ] Linux arm6 standard
[ ] Linux arm6 Docker
[ ] Windows amd64 standard
[ ] Windows amd64 Docker (WSL backend)
[ ] macOS amd64 standard
[X] macOS amd64 Docker
[X] Other (macOs arm64 Docker)

Describe the issue
We are using an IDS Malibu Camera that provides an RTSP stream with h264 codec. However, when attempting to pull the stream directly from the camera (via Source-Property) using MediaMtx, the stream cannot be viewed and the screen remains black when consumed via HLS or WebRTC. We also did notice the error closed: received unexpected interleaved frame in the logs. However, other RTSP streaming servers work properly with this camera. As a workaround, we use the runOnInit parameter to execute an FFmpeg command that copies the stream and pushes it to the path. The issue with this workaround is that it adds a delay of approximately 300ms, which impacts our requirement for near-real-time streaming. The command used is:
ffmpeg -i rtsp://192.168.X.X:554/stream1 -c copy -f rtsp rtsp://localhost:8554/camera
This successfully copies the stream and makes it viewable by Mediamtx.
We have reported this issue to IDS, but they confirmed that the problem does not occur with other RTSP streaming servers, indicating that it is likely a specific bug in MediaMtx.
Describe how to replicate the issue
Replication of the issue might be challenging without an IDS Malibu camera. However, we have attached extensive logs to help diagnose the problem.
Did you attach the server logs?
MediaMtx Debug Logs:
working-camera-mediamtx-logs.txt
malibu-camera-mediamtx-logs.txt
These logs frome mediamtx include comparisons between another camera (working-camera-mediamtx-logs.txt) that works and the IDS Malibu camera (malibu-mediamtx-logs.txt) not working with MediaMtx.
Did you attach a network dump?
wireshark-logs-all-cameras.zip
The Wireshark logs include:

malibu-camera.pcapng: Logs from the IDS Malibu camera.
working-camera.pcapng: Logs from another working camera.
malibu-ffmpeg.pcapng: Logs from the IDS Malibu camera after processing through FFmpeg, as used in the runOnInit workaround.

Hello, as written in the instructions, in order to replicate the issue you need to provide a network dump that covers the time from the moment the server is started to the moment the error occurs. Instead, you provided different things:

malibu-camera.pcapng - a network dump of FFmpeg pulling the stream from the camera with the UDP RTSP transport protocol, that unfortunately does not include any interleaved frame (since they are not used with UDP)
malibu-ffmpeg.pcapng - a network dump of FFmpeg publishing to MediaMTX, that contains the healed video stream, not the original one
working-camera.pcapng - a network dump of FFmpeg pulling another stream from MediaMTX

None of this can be used to replicate the bug. All we need is a network dump of MediaMTX trying to pull the original stream from the original camera. I know that some time has passed but this kind of issues can be replicated only in the way described in the bug report instructions.

repo: bluenviron/mediamtx


text:
Unsupported algorithm error

I have created a feed using the documentation, and got all the way to publishing it onto Bluesky, but in Bluesky, it says Unsupported Algorithm.
Im successfully getting a feed over at
https://vrfurry-bsky.oasislab.co.uk/xrpc/app.bsky.feed.getFeedSkeleton?feed=at://did:plc:mkklr4smns2baynajhq3in6g/app.bsky.feed.generator/sfw-feed
on both HTTPS and HTTP using a Nginx reverse proxy.
I have barely made any changes to the algorithm. I'm using the base whats-alf.ts (renamed to sfw-feed.ts, and shortname changed to 'sfw-feed'), and I modified the subscription.ts to filter for a different word (a hashtag).
What could be causing this Unsupported Algorithm error?
Thanks!

Sounds like you may be calling app.bsky.feed.getTimeline (which is a special-case route for only reverse-chronological). You'll want to use app.bsky.feed.getFeed

Sounds like you may be calling app.bsky.feed.getTimeline (which is a special-case route for only reverse-chronological). You'll want to use app.bsky.feed.getFeed

Im not calling app.bsky.feed.getTimeline.
I've not modified any logic except the whats-alf.ts and subscription.ts, and searching through my files, the only references to app.bsky.feed.getTimeline is in src\lexicon\index.ts, and src\lexicon\lexicons.ts,

It's hard to say without seeing your code, but it may be worth adding some logs in https://github.com/bluesky-social/feed-generator/blob/main/src/methods/feed-generation.ts to see why it is throwing that error

It's hard to say without seeing your code, but it may be worth adding some logs in https://github.com/bluesky-social/feed-generator/blob/main/src/methods/feed-generation.ts to see why it is throwing that error

Okay, I put a console log before
if (       feedUri.hostname !== ctx.cfg.publisherDid ||       feedUri.collection !== 'app.bsky.feed.generator' ||       !algo     ) {       throw new InvalidRequestError(         'Unsupported algorithm',         'UnsupportedAlgorithm',       )     }
which printed out the feedUri.hostname, ctx.cfg.publisherDid, feedUri.collection and they match. But when I did console.log(algo), it returns undefined.

Okay, i figured it out. the shortname if the algo needs to match the recordName of the publishFeedGen.
That explains why i could see the feed manually but not via the bluesky app.
Thanks for your help!

sweet glad you got it working 🙌

authors: dholms stevenjwheeler

repo: bluesky-social/feed-generator


text:
Update blueskyweb.xyz links in README.md to bsky.social

This PR updates the two links in README.md that point to blueskyweb.xyz to the equivalent bsky.social URLs.
Also, I noticed that Line 13 still refers to 'Big Graph Service', should this be updated to 'Relay'?
https://github.com/bluesky-social/indigo/blob/c72ce2340db3cc99fc886c2284daf19e438c7b91/README.md?plain=1#L13

thanks!
yup, probably should be "Relay"

repo: bluesky-social/indigo


text:
Read user's appearance preferences to set theme color scheme

Is your feature request related to a problem? Please describe.
It is about App dark mode. Right now the App doesn't read the user's appearance preferences. Because of that the user needs to switch between dark and light mode manually each day.
Describe the solution you'd like
We can use the Appearance module of react-native to get system appearance preferences and set it as App theme.
In both App.web.tsx and App.native.tsx we can read the current colorScheme and subscribe its changes. Something like this:
const colorScheme = Appearance.getColorScheme()

useEffect(() => {
    const subscription = Appearance.addChangeListener(({colorScheme: mode}) => {
      rootStore.shell.setDarkMode(mode)
    })

    return () => {
      subscription.remove()
    }
  }, [rootStore?.shell])

Describe alternatives you've considered
The alternative solution which I recommend and like can be having a 3 mode for appearance: Dark, Light and Auto. We need a radio group element for this. Like the one we have in the content moderation modal.

FYI I put together a working implementation of this in https://github.com/bluesky-social/social-app/pull/688, it's not using a radio button but it cycles through system, light, and dark modes.

This was merged in #688

authors: ansh ericvolp12 snhasani

repo: bluesky-social/social-app


text:
Added InvalidData and MismatchedDataKeys exceptions

Fixes #151

That's a good question. I think that consumers and readers should not perform any proactive validation. If they hit an unrecoverable error, it's worth doing some extra investigation to provide a specific error message, as this PR does, but I think it is fair to assume that the documents they read are valid unless proven otherwise.
As I mentioned on Slack but will rehash here for the sake of a public record, I think we should validate when the documents are composed  (in event_model.compose_run) and maybe when they are persisted (in the suitcases). But any validation work that we do when the documents are accessed is needlessly repeated every time they are accessed, and the notice also comes too late. It's better to fail when the documents are first created and/or persisted because the user is immediately notified about the problem, and you only pay for the performance overhead once.
So, as far as the Filler and databroker are concerned, I think it's OK to have a situation where malformed documents lead to keys silently not being filled. As a separate matter, we should review our validation functions to ensure that they would flag malformed documents at compose/write time, and then we should comb the existing databases for irregularities and decide what to do about the invalid documents that we find.

The old databroker iterates the event['data'].keys() instead of descriptor['data_keys'].keys() (the way it is done here in event model)

The gut checks out.  Don't fully follow the last paragraph about the Filler though.

I think the code would be simpler if we included the keys of the descriptor, the data, filled, (and the timestamps) with the same text rather than doing the book keeping to raise just the rightly worded exception.   All we really know is that something that is consistent is not, but we can not really be sure which of the inconsistent things in right (and going with majority voting is not always correct).

authors: danielballan gwbischof tacaswell

repo: bluesky/event-model


text:
AddMapEntry with an empty ModTranslation crashes

The following code in a ModTile crashes/stalls the game:
ModTranslation name = CreateMapEntryName();
AddMapEntry(new Color(200, 200, 200), name);

The crash happens in LanguageManager.ProcessCopyCommandsInTexts when it comes across a null value for the value in localizedtext.
We need to either ensure that AddMapEntry throws a load error when it has a null value in the ModTranslation's dictionary, have CreateMapEntryName initialize to "" rather than null, or other solutions.

When the ModTranslation has a null value passed in AddMapEntry, change it to an empty string.

authors: JavidPack Jofairden

repo: blushiemagic/tModLoader


text:
New icons for the Mod Browser to replace placeholders

Description of the Change
New mod browser filter icons for all/client/server/nosync.
Alternate designs
https://i.imgur.com/YMqjfd7.png
Selection down to vote; question mark for no sync picked over red outlines because there wasn't a real leader in votes for that, and that design came first.
Why this should be merged into tModLoader
Graphic update should make it easier to tell what the filter actually does at a glance. Also I like shiny new icons.
Benefits
The mod browser filter icon will look slightly more fancy, maybe more intuitive.
Possible drawbacks
The mod browser filter icon will be slightly less readable for some, maybe less intuitive.

Why is 6f700b4 in this pull request

I think it is because you are still on the same branch of your fork and you didn't rebase. It doesn't matter though.

For this reason you should create a new branch for any PRs. If you commit to master, and then we update master, then they have different history. To fix your master (make it the same as ours) you'll need to reset your local branch to be a copy of remotes/upstream/master, and then push to remotes/origin/master with the --force flag

authors: Chicken-Bones Flashkirby JavidPack


text:
multiple target folder for minified css and js files

 Issue by leosignking
Friday Jan 13, 2017 at 22:32 GMT
Originally opened as https://github.com/samaxes/minify-maven-plugin/issues/136

I am working on a project where I need to minify multiple js and css files and copy to different directories. How do I achieve it? I used "cssTargetDir" but all the minified will be moved to one directory instead, I need the minified to copy to different folders.
src/main/resources/static/css/1.css
src/main/resources/static/css/2.css
src/main/resources/static/js/1.js
src/main/resources/static/js/2.js
Final out directory
target/web-resources/assets/js/1/1.min.js
target/web-resources/assets/js/2/2.min.js

To merge+minify some files to one target directory and some to another, you can use multiple executions.


text:
Don't require type

I've noticed publint has started suggesting "type": "commonjs" should be present in all packages because "type": "module" could become the default in the future. However, I don't think it's true that "type": "module" could become the default. When I read through the links in the message they don't actually say that and it seems pretty much impossible that it could be done as it would break so many projects.

Hi @benmccann , this was my suggestion in #83 regarding --experimental-detect-module - the recommendation from the Node.js team was the following:

Detection increases startup time, so we encourage everyone—especially package authors—to add a type field to package.json, even for the default "type": "commonjs".

I agree its very unlikely that "type": "module" will ever become the default, but I do think it's possible that Node will make ``--experimental-detect-module` enabled by default.

Ah, I see. Maybe we should update the message. Right now it says:

Environments may incorrectly identify a CJS file as ESM in the future.

But it sounds like that's not the risk that we're worried about, but rather that it increases startup time which makes more sense to me.

authors: benmccann lachlancollins

repo: bluwy/publint


text:
No Choice for Arduino MKR Wifi 1010

Sketch creator should present the choice of Arduino MKR Wifi 1010

still no choice for MKR WIFI 1010!
please help

authors: SeHeiSe tdwint

repo: blynkkk/blynk-sketch-generator


text:
Multiselect size

Hello, when I try to modify the size (and the max-width) of the MultiSelect.
When I apply the size='sm', it only decreases the height.
And when I force decrease the width, the toggle icon stays at the end and crosses other elements
Can someone help me to resolve this?
Thank you.
I have this :

and I want something like this :

pq tu fais du wseb

authors: SimonVanMello ligmaSec

repo: bmartel/chakra-multiselect