text:
add Jensen-Shannon calculator for sources

Users will want to know the Jensen-Shannon divergence of their sources. The manuscript will allow users to relate the JSD between the sources and the accuracy/precision of the mixing proportions they get back. This is not a novel idea, based on the work in Dan's original paper.

I think this is related to #57.

source: gharchive/issue

license_type: permissive

license_source: bigquery


text:
mqtts protocol and a certificate for the authentication

Hi!
Is there a way to establish a connection with a broker who requires the mqtts protocol and a certificate for the authentication?
Thanks,
Michele.

Yup, you should be able to do this as is - just pass the useSSL: trueoption with your callback when you connect.
Bipol L. Alam
Phone: (850) 238-5476
On Tue, Mar 14, 2017 at 7:26 AM, Michele De Rose notifications@github.com
wrote:

Hi!
Is there a way to establish a connection with a broker who requires the
mqtts protocol and a certificate for the authentication?
Thanks,
Michele.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bipol/angular-paho/issues/2, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADTHm1jRTLmLSN1Hk27Rw_Sv7UGYdwRxks5rlnlqgaJpZM4Mccfy
.

authors: bipol miderose

repo: bipol/angular-paho

license: MIT

license_source: github-api


text:
🛑 Bangla Plex API is down

In dde1142, Bangla Plex API (https://banglaplexapi.bymirrorx.eu.org/popular/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bangla Plex API is back up in c05cf7d after 23 minutes.


text:
Could not load file or assembly 'System.Net.Http, Version=4.1.1.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'

I am building a bit framework sample but on line of "dependencyManager.RegisterDefaultWebApiConfiguration();" I get this error
System.IO.FileLoadException: 'Could not load file or assembly 'System.Net.Http, Version=4.1.1.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'
FileLoadException: Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

1- Which version of visual studio is being used here? 2015 or 2017?
2- Have you installed .NET Core SDK 2.0?
3- Do you use new csproj format or old csproj format?
Old csproj format starts wtih:
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0"  ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>

New csproj format starts with:
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net4.6.1</TargetFramework>

4- Do you use PackageReference or packages.config?
5- Which version of bit have you installed in your app?
6- Which platform have you targeted? .NET Core or .NET? which version?
7- What's a project type? ASP.NET | ASP.NET Core | Console ?

1-2017
2-yes
3-old csproj format
4-PackageReference
5-I do not know. i get them from github then i build
6-.Net
7-Console

You don't have to build bit framework's source code. We've released nuget packages. For example you can install Bit.WebApi & Microsoft.Owin.SelfHost and you're good to go as we showed in https://docs.bit-framework.com/docs/bit-server-side/web-api.html#getting-started
Our nuget packages's requirements such as System.Net.Http are described very well

Put following file next to your solution file, then open visual studio and in nuget package's manager, you can see bit too. https://github.com/bit-foundation/bit-framework/blob/master/Nuget.Config

Thanks a lot dear mr.Moradi. Put i want to trace bit framework. how can i do?

You can do that by resharper + we've a plan to add support for git link

By using latest version of visual studio & bit nuget packages, you can step into bit framework codes easily :-)
If you're using bit in full net framework based app, first check "Suppress JIT optimization on module Load." in visual studio settings.

authors: Salamesalehpour ysmoradi

repo: bit-foundation/bit-framework

license: mit


text:
chocolatey package for SimpleDnsCrypt is deprecated

I was the maintainer for the chocolatey package for SimpleDnsCrypt.
I am deprecating the chocolatey package for SimpleDnsCrypt because I no longer have time to maintain it.
I have requested for another package maintainer here: https://github.com/chocolatey/chocolatey-package-requests/issues/418
The chocolatey package page for SimpleDnsCrypt : https://chocolatey.org/packages/SimpleDnsCrypt
Sorry for all the inconvenience I have caused.
(This issue is created automatically, some of the links may be wrong, please inform me if You want me to change them.)

https://github.com/bitbeans/simplednscrypt-choco

authors: bitbeans chantisnake

repo: bitbeans/SimpleDnsCrypt


text:
Whitepaper section

This pull request merges in translated copies of the whitepaper from https://bitcoin.org/en/bitcoin-paper into the bitcoincash.org website for better accessibility to people around the world.
This PR also handles linking from:

Homepage > whitepaper
Footer > whitepaper
Getting Started > whitepaper

Could you also maybe rebase on the latest master? I'm not sure why the Sideshift change shows up in there, it seems unrelated.

Ah you're right, looks like english was missed. Same goes with rebase. I'll try to fight with that to tidy up this PR

source: gharchive/pull-request

authors: Mengerian maplesyrupsucker


text:
Compatibility data: bitcoin core wallet text standardization

This PR updates the Bitcoin Core wallet data files with some of the standard prefixes that we agreed upon since initial data file commits.

Untested ACK.

ACK. Thanks @bitschmidty

authors: bitschmidty harding jnewbery


text:
Newsletters: add 114 (2020-09-09)

[ ] Release and RCs @harding
[x] Bitcoin Core PR Review Club @jnewbery or @jonatack
[x] Bitcoin Core #19405 rpc, cli: add network in/out connections to getnetworkinfo and -getinfo @bitschmidty
[x] Bitcoin Core #19670 Protect localhost and block-relay-only peers from eviction @dongcarl

Looks good to me so far. I've reviewed and don't have anything to add to jon's review.

Added Bitcoin Core #19405

Read through the rendered version and checked some of the links. Looks good.

Quick final review and all looks good 🏄

Pushed a small change that I noticed in final review. Squashed and merged.

authors: bitschmidty harding jnewbery jonatack


text:
Updating migrations

Adds optional argument support to migrations as well and also escapes all of the input so that #11 is resolved.
Putting this in draft until I have a solution in place for ALTER statements as well and also until we have integration tests for migrations.

I was able to get the select migrations to work properly but I'm running into some weird issues with the ALTER migration. That may have to be pushed off into another PR.

repo: bitfo/timescale


text:
allow asynchronous blink/flashes

Hey, it would be great if you could add a second input field for the time.
One field is “On” and one is “Off” in ms, to provide asynchronous blink modes, e.g. flashes.
Maybe there is an option to be able to specify double-flashes.
Thanks.

Ok, I added this in v1.1.0 of the module

authors: josephdadams torowi

repo: bitfocus/companion-module-generic-blink


text:
eqMac set itself as the audio output source when the app wasn't running

eqMac was not running, but no audio would play from my computer. I went into Audio MIDI Setup on a hunch and somehow the selected source was eqMac. I opened eqMac and quit it, and it disappeared. This was not happening yesterday, and I haven't run eqMac since my last listening session, so it somehow spontaneously set itself as the source while not running since my last listening session.

Ah yes I know how that is happening. When you restart your Mac the device goes active at first. If you dont run eqMac on startup thats a problem. I just never restart my Mac so never came across this

Will fix in the next update

Makes sense, my computer had restarted after updating to 10.15.4.

@nodeful Just wondering if you were planning on open sourcing this. I'm interested in branching this to work on some issues / bugs in my spare time.

Hey everyone 👋
I will be open sourcing the new version of eqMac, therefore, I am closing this issue and repository as I will be transfering nodeful/eqMac2 repo to bitgapp/eqMac
Please bear with me for the next couple of days as I setup that new repo. The eqMac2 code will be living in the old-eqMac2 branch if anyone is interested in referencing it for whatever reason.
Please try out the new version and report bugs to the new repo.
Thanks for using eqMac.

authors: connorkutz gagank1 nodeful

repo: bitgapp/eqMac


text:
Content change on vault creation

User (seemingly) created a 2 of 3 vault. Then they created another vault with the same keys. that's when they got toast message shared below. The configuration is off.

@ASN-BitHyve to help Devesh try and reproduce.

Verified this issue on keeper app v 1.1.13(314)

repo: bithyve/bitcoin-keeper


text:
Issue with Single Sig Wallet with Jade.

Describe the bug

[ ] Unable to create single sig wallet with Jade.
[ ] Please check for other possible signers as-well.

We should also allow unlocking Jade directly from Keepr. Here's a JS exapmle of how to do it:
https://github.com/Blockstream/esp32_bc-ur/blob/emscripten/js/jadeqr.js
We should also update the instructions on how to import the Jade keys.

So in the add device we these instructions are outdated.
First for the unlock, we should instruct user (for now, untli we support it in Keeper), to choose: “QR Mode” -> “QR PIN Unlock” -> blkstrm.com/pn and follow the instructions until the device is unlocked.
Then for getting the multisig QR to scan in the add device, the correct instructions are: “Options” -> “Wallet” -> “Export Xpub” -> If it show multisig just scan the QR, if it shows Singlesig, go to “Options” -> Wallet: Singlesig -> Scroll once so it shows Multisig and confirm -> Click the back arrow -> Scan the QR code.

So for allowing both single sig and multisig, the user has to scan one QR, than go to options, change the type, and scan the other QR.
So on our side I'm not sure what would be the best UI.
Let's say the user scanned 1 QR, should the app immediately prompt the same scan QR screen with instructions to change the type to scan a new QR?
Or should it ask for both only in certain cases? (And what would be the best flow in terms of UI/ UX)

OK so after checking the code, I found the current way that we already have to have Jade.
Currently, the only path to add the single sig key for it (and I assume it's the same for other QR based devices), is to go to the new wallet, choose the single sig airgapped option, and click add new device. From there the QR scan will allow scanning the single sig option, and if the multisig device is already added it will just add the key to the same device.
This is extremely confusing UX though. We should think of what would be the best UI for this. I assume this is the same for all QR signers.

I will replace this issue with 3 new issues:

Allow unlocking Jade from Keeper #5246
Adding keys for a signer #5252
Update Jade instructions #5253

These should cover the various issues raised in the discussion within this one, which I'll close if favor of the other issues.

authors: ben-kaufman cakesoft-vaibhav


text:
API for Broadcast notification description

Need backend API to get what's new in this release.
Request. parameters would be
"iOSBuild": 34,
"androidBuild": 34,
Response:
{
"iOSReleaseNotes": "",
"androidReleaseNotes": ""
{

Now available as a part of Relay service.

authors: Parsh cakesoft-nikhita

repo: bithyve/hexa


text:
Allow for dynamic updates of email authorization file

Currently, it looks like the email file is only read at startup. It would be useful to allow this to be read at login so users could be added/deleted dynamically.

Yes, I was wondering if it was by design that a restart is required. However, searching around just now, it seems there isn't yet a standard file watching API. Now that https://github.com/go-fsnotify/fsnotify appears poised to go into the standard library, perhaps we could give that a spin? Happy to whip up a PR for this if no one else gets to it first.

Yeah, fsnotify would be a good approach to solving this. I'm not sure what that means for windows support, but i'm sure if needed that could be omitted via build tags.

authors: jehiah mbland razb


text:
Browser javascript installation

Hello I am trying to use it without cordova, as a simple javascript library with no success.
Following the readme intructions:
_"Or  alternatively, the library can be included in a page as-is, and the QRScanner will be made available at window.QRScanner.
"_
I cannot get it to work.
It may be a dumb question but, is "library.bundle.min.js" this file "src/browser/src/library.js" ?
Should I include some other javasript library?
I appreciate your cooperation.
Best regards

If using browserify, you need to do:
npm install cordova-plugin-qrscanner
And then in your code, you require it like this:
QRScanner = require 'cordova-plugin-qrscanner'
note: the docs says require 'QRScanner' - which doesn't work

I ran the npm install cordova-plugin-qrscanner command and don't see the dist folder

Are there any steps on how to use this in a browser? I am trying to use this in a mobile app and I have tried nearly every possible way that I came across but no luck with getting this plugin to work. I tried Browserify, then using the Cordova Plugin as it is (the app dev platform supports Cordova). When I use the Cordova Plugin, my app throws a bunch of unrelated errors (about other plugins!). Once I remove this plugin, then everything else works. I tried loading from the CDN as mentioned earlier here but nothing really happens no matter which method I try to invoke. I tried this on a Android 8 device and on a Android 9 as well - again nothing seems to work. It either nothing happens, or it is a bunch of errors that are generated which have no connection to this plugin. For example the moment I include this plugin, my screen orientation plugin throws some weird error (more details on this later).
It's never taken me this long to get any plugin working :). Any pointers will be greatly helpful. Thanks.

authors: chris833 m-menon mikeymckay noor-mohiuddin

repo: bitpay/cordova-plugin-qrscanner


text:
Have I lost my bitcoin? PLEASE HELP

I wanted to send btc from my wallet, but forgot my encrypted password, well miss placed it, so no matter what I couldn't find it.... So I deleted it and imported my old wallet through my 12 word  recovery, followed instructions imported my wallet, no btc in the wallet, stupid I know but where can I recover my coin from to get it back, what have I done wrong😢

@Jp381
if you haven't recovered your wallet, i can do it dm me : anywalletrecovery@gmail.com

repo: bitpay/wallet


text:
4.0.10 stopped fetching tags for PRs

Our build figures out the version name by using git describe and as of 4.0.10 it stopped fetching tags (for PRs at least) which causes git describe to fail. It would be great if it could either fetch tags automatically or if there could be an option for always fetching them.
For now we're using 4.0.9 which works just fine.

Thanks for reporting @ansman and sorry for the inconvenience! Created an internal issue report and linked this one.

No worries, it caused very little inconvenience and using the previous version was easy enough.

Glad to hear :) We'll discuss a long term solution, to provide options for those who need more git history as well as to those who need maximum optimization (fetch as little as possible).

Ran into this issue as well. We are also using git describe to look for a tag that indicates a version number to use for the build. Being able to pass --tags to the git fetch origin <branch> command in the clone step would work for our case.

The git clone step's responsibility is to get the source code. The git describe command relies on the fact that the most recent tag related to HEAD is there. Fetching all tags by default would fetch unnecessary refs resulting slower step execution for everybody who doesn't want to do anything with the tags just want to test the source code (which was the case before version 4.0.10).
I think we should consider to add an option for always fetch tags, but disable it by default.
I recommend to use the latest version of the step, because it can be much faster and then use the following command to get the version number:
git fetch --tags origin "$BITRISE_GIT_BRANCH" && git describe

Thanks for the explanation @kdobmayer !
@ansman & @powdahound : do you use git describe in your own scripts, where you can add the suggested git fetch --tags origin "$BITRISE_GIT_BRANCH" && git describe (or git fetch --tags && git describe), or do you need that for a specific tool?

Hi!
@viktorbenei,
I'm affected also.
If I get you right you propose put it to gradle script (Android in my case). If I put it there the fetch command will fire every time the build is requested (even local build).
The separate gradle task is a way out here but putting it to project gradle seems a bit hardcode for bitrise :)

@motorro thanks for the info! The suggested solution can be added as a Script step, e.g. right after the Git Clone step, with just git fetch --tags.
Adding it to the gradle task might still be a good idea though, to ensure that it works with up to date tags infos when you run git describe.

Well, I think you can put it as a build step. But it will increase the build time more than if clone synced them.

Are you sure @ansman ? I don't think there's a significant difference, but I might be wrong.

@ansman can you check the difference, v4.0.9 vs v4.0.10 + git fetch --tags script

@viktorbenei I'm ok with the extra step then.

@viktorbenei Yes, we are doing this in our own script so calling git fetch --tags there is not an issue. 👍

We are affected by this as well.  Testing v4.0.9 to confirm and then will explore pairing that with git describe in our build.gradle.  Note we are now using the option to set clone depth to 1000 (logs indicate depth is now 0) to maintain performance, but require the history for the describe command.

v4.0.9 works again for us, though it clones entire commit history so understand its undesirability.  We find pairing git fetch --tags with git describe to be undesirable as well, as fetch may have undesirable side effects on individual dev machines that prune branches aggressively.  Would prefer this behavior be confined to the CI/CD space as an option to prevent side effects.

git fetch --tagsfetches all branches, which can be slow, but git fetch --tags origin <branch> fetches only the tags, because the affected branch is already fetched by the git clone step.
An other workaround can be to get the latest tag from API. It's not as short as git describe, but it's more reliable, because working without even cloning the repository. In case of GitHub:
curl -fsSL https://api.github.com/repos/<owner>/<repository>/tags | jq -r '.[0].name'

If the tags are not using semantic versioning, the jq part is a little bit more complicated (in case of self hosted Git servers, or GitLab, Bitbucket, etc. the API url differs).
The most user-friendly solution is to add an additional option for the git clone step to fetch all tags, but if a project relies heavily on scripts I would recommend a more sophisticated solution to get the latest version than git describe.

@kdobmayer @viktorbenei omg thank you so much!  This is a great pointer, Hadn't look at it in some time, but yes the describe command was a poor hack to begin with.
I can produce something much more concise now.  An option for the git clone step is unnecessary.
Thank you!

Glad to hear & thanks for the feedback @spacemase ! ;)

Thanks for the benchmark @ansman !
The thing is, you did not measure one more thing, how much it takes to not to fetch the tags at all, as that's the most common use case.
E.g. when you're doing a pull request build you most likely won't need the tags at all. So even if for a release build it will add some time (how much depends on the number of tags) you save more time during the PR builds.

Also, for:

Since my repo is quite small the actual time difference isn't that large but in % it's quite a bit slower.

I wouldn't compare it in %, as quite a bit of the time is the network communication here, so it's more like "it adds a couple of seconds" vs +50%

The time to fetch tags were 1.56s, 1.36s and 1.28s respectively with an average of 1.4s

I agree, but regardless I would like an option to allow fetching tags in a single step

Definitely see your point @ansman , I'll keep this ticket open & discuss it with the team!

@viktorbenei: I ran into the same bug today. For now I worked around it by adding the script you mentioned above to all my workflows. Would be nice to get it fixed.

@paymand it's in our backlog to add an option to the step. In either case you'd have to do that for every workflow if you have git clone in separate workflows.
The best solution for this is to use a common workflow and have it as a before_run workflow in all workflows, so you don't have to repeat the same setup code. Something like this:
workflows:

  _setup:
    steps:
    - git-clone: {}
    - script: {} // to fetch the tags

  primary:
    before_run:
    - _setup
    steps: []

  deploy:
    before_run:
    - _setup
    steps: []

"Workflow chaining" docs: https://devcenter.bitrise.io/bitrise-cli/workflows/#chaining-workflows-and-reusing-workflows

authors: ansman kdobmayer motorro paymand powdahound spacemase viktorbenei

repo: bitrise-io/steps-git-clone


text:
Evaluate and add a linter

Available options

TSlint
lit-html specific linter?

(will be) resolved by #28

repo: bitrockteam/amber-components


text:
🛑 Luogu is down

In 068e87e, Luogu (https://www.luogu.com.cn) was down:

HTTP code: 523
Response time: 1034 ms

Resolved: Luogu is back up in 5d94437 after 8 minutes.

repo: bitsstdcheee/luogu-status


text:
Saving Journal Width

Currently you can resize the journal's width with the jewel in the corner, but it needs to be done each time you relog.

Pull-Request
https://github.com/bittiez/ClassicUO/pull/14

Added #19

authors: Auburok bittiez elderwyn

repo: bittiez/ClassicUO


text:
Where does setup-network-environment.service come from?

👋
Thank you for this example project. But I wonder, where does setup-network-environment.service come from? Is it https://github.com/kelseyhightower/setup-network-environment or is it some AWS-specific thing?
Is there maybe some other way of getting the IPv4 address for vm.args without the env vars exported by setup-network-environment.service?

Ah, it comes from templates/infra.yml.

Yes, if you aren't using setup-network-environment, then pre_configure_hooks and your own shell script which exports the IP address of the interface you want to listen on works. You can also write something like setup-network-environment yourself as a one-shot service.

This little script seems to have worked:
#!/usr/bin/env bash

export HOST_IPV4
export REPLACE_OS_VARS=true

HOST_IPV4=$(
  ifconfig \
    | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p' \
    | grep '^10\.' # only interested in private network
)

Yeah how you extract the IP can vary considerably depending on the host OS and environment, number of network interfaces, etc. - which is why I pulled in setup-network-environment for the example, but if you know your platform, then a little bit of shell magic is usually all you need :)

I would prefer to highlight different approaches to things like "how do I set the hostname for the node", rather than build out an entire guide just for Terraform, since the parts that differ from deployment to deployment are almost always going to be things you solve with hooks/custom commands (as far as Distillery is concerned anyway).
I'm also hesitant to add a Terraform guide to the docs, since I would be on the hook to support it, and I personally avoid Terraform when possible (though I do work with it on behalf of clients). The AWS guide is less about AWS or CloudFormation specifically, than it is about illustrating not only how to deploy releases as part of a CI/CD pipeline, but what infrastructure like that looks like and takes to set up to begin with. It's supposed to be a "big picture" guide - and given how much work I do with AWS, it makes it relatively easy for me to maintain. I hope that makes sense - normally I would never turn down offers for more documentation, but in the case of something specific like Terraform, it requires considerable effort to keep in sync with upstream changes.

Yes, completely agree. I'll probably write a

I personally avoid Terraform when possible

I've just started using it and I must say I quite like it. Are there some problems that I'd encounter down the road?

I've just started using it and I must say I quite like it. Are there some problems that I'd encounter down the road due to its limitations? Do you prefer using the provider's tools like CloudFormation?

There are certainly some nice things about it, though I find that it is more often than not a leaky abstraction. In particular with AWS it makes little sense to use it over CloudFormation, especially since you can write CF in YAML. CF is easy to work with across a team, just share the YAML, whereas Terraform stores a lot of secret information as well as hardcoded directory names in it's state, which has to be committed to the repository to even share across the team at all, or alternatively, use one of the remote store options. I've wired up the S3 remote store before, and ultimately I regretted it, since it didn't work very well anyway, and requires a bootstrapping process that can be very fragile if you want to automate everything.
The other part that is nice about working directly in CF is that you can do things like I do in this example project - deploy infrastructure as part of the deployment process itself. This means I can tweak the CF, push a new commit with those changes, and the resulting deployment will roll out those infrastructure changes. It just has a very nice integration with other AWS tools/services. While you might be able to achieve something similar with Terraform, it's just way easier using CF. You can also load up the CF in the designer in the CF console, and see all of the resources and how they connect, and make changes or export images, etc.
Outside of AWS, if something like CF is offered (e.g. CDM for GCP), I'll use that - otherwise I'd prefer to use something like Salt personally. That said, I don't think Terraform is terrible or anything, it's just not been worth the extra layer of abstraction in my experience.

authors: bitwalker kluufger

repo: bitwalker/distillery-aws-example


text:
How to download the Model_weights？

Nice Job and Thanks for Sharing.
But I am curious about where the original model weights are stored. Each file is .pth file is organized in the format as follows. (Only the decoder_epoch_20.pth file is original model 90M)
version https://git-lfs.github.com/spec/v1
oid sha256:36ef65985b425fd2068f1714b33c48068b4c2fe2c9ea8bb0af053e8bf23c6e0e
size 94853207

You may provide some information about how to get the model weights in your github repo.
Thanks again.

I've downloaded the files in the link provided in Model_weights but the same happens. The files contain the following:
version https://git-lfs.github.com/spec/v1',
oid sha256:f01d2fa7fa2f973b795f0130059abc14d07f2021cee50a86325a2093ab60a363',
size 94852697

authors: paudom sheep-for

repo: bjekic/WallSegmentation


text:
Address size_t narrowing warnings in MSVC by adding casts

Also adds some asserts to make sure the casts are safe.
I have not tested this patch beyond compiling it because I'm not sure how.

These changes fix all warnings on a dev-0.16 compile, except the one I mentioned in Matrix

graphics.c? Line 4530:
for (uint32_t side = 0; side <= thicc; side++, z *= -1.f, nz *= -1.f, angle = 0.f) {
The side <= thicc is making MSVC angry because it thinks this is a signed/unsigned mismatch, but this isn't even the real problem, the real problem is that thicc is a boolean, so the for loop makes no sense to start with. Is this a typo for the variable "c", set several lines above based on thicc?

Bjorn explained the mystery line so I fixed that plus a line in the Phonon code.

repo: bjornbytes/lovr


text:
Is there a reason why Transform3 isn't implemented for Matrix4?

Currently, as far as I know the only way to transform a Point3 with a Matrix4 is:
Pt::from_vec((transform * pt.to_homogeneous()).truncate())

But there's a perfectly good API for objects which can transform points, Transform3.
This would be useful for procedural geometry generation applications, where you want to produce vertices for the same shape, translated and rotated to your desired location.

Related - https://github.com/bjz/cgmath/pull/302#issuecomment-211168768

Agreed.

The original reason, as mentioned in the thread that @kvark linked to, was that it requires additional interpretation of a matrix to treat it as an affine transformation vs a rotation. I think that I need to revise this stance though, for simplicity.

Related: #324

I'm guessing we would have to incorporate One (and Zero for completeness) into the trait hierarchy to avoid collisions. concat would then become mul.

Stuff like this hurts the usability of cgmath for me. I just want to be able to make quaternions, matrices, and vectors, and have them all play nice with each other in the expected ways.

Closing in favor of #349

authors: bjz kvark mhintz

repo: bjz/cgmath


text:
use std::path::Path in gl/build.rs

Hey, was trying to build a project and got an error, so I updated this to fix it.
There are warnings when building, but im pretty sure they were there before this update. Do you want me to fix them?

Thanks

authors: sinistersnare tomaka

repo: bjz/gl-rs


text:
🛑 Plex is down

In 408c044, Plex ($PLEX_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Plex is back up in a9e2c9b.


text:
🛑 Portainer is down

In b95310c, Portainer ($PORTAINER_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Portainer is back up in f2e2fb6.


text:
Version number issue

Looks this repo has been promoted as official cookbook for blackfire.
But the version number has been reset. This is totally wrong.
See the versions published in supermarket (https://supermarket.chef.io/cookbooks/blackfire)
People which already is using this cookbook never will get the updates until a version greater than 1.0.5 is published.
No matter if you delete "old" versions from supermarket webpage, our local caches will still pointing to 1.0.5
So you should restore the version or publish a new mayor version (2.0.0)

Hello @Maks3w,
We were actually fixing that when you opened this issue.
We promoted a new major version (2.0.0) to avoid any trouble.
Thanks for the report :)

repo: blackfireio/blackfire-cookbook


text:
[Gally]: master <- dev

Automatically created by Git-Ally

:tada: This PR is included in version 1.10.129 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: blackflux/lambda-example


text:
🛑 Barker is down

In 544a033, Barker (https://barker.wemiller.com/) was down:

HTTP code: 502
Response time: 155 ms

Resolved: Barker is back up in 9fdda5b after 22 minutes.

repo: blaineam/statussi


text:
Remove Warning: ReactTestUtils has been moved to react-dom/test-utils

After I add this line to my Jest test setup file:
import 'jest-enzyme';
Every time I run my tests, I got follow warning for each test case:

console.error node_modules/fbjs/lib/warning.js:36
Warning: ReactTestUtils has been moved to react-dom/test-utils. Update references to remove this warning.

It seems like jest-enzyme have some old react dependence. Is it possible to remove these warnings?
"react": "15.5.3",
"enzyme": "2.8.2",
"jest-enzyme": "3.2.0",

After I run the 'npm ls' to verify the dependences, it's from the types:
 ├─┬ jest-enzyme@3.2.0
│  ├── @types/react@15.0.29

I found the issue - I need to upgrade "react-test-render" to "react-test-renderer". Once I done it, the warning is gone :)

repo: blainekasten/enzyme-matchers


text:
Whats the difference between jest-enzyme vs installing jest & enzyme

Hi,
I was wondering what the difference is between installing jest-enzyme vs. just installing jest and enzyme separately.
Thanks,
Derek

Hey @darewreck54
jest-enzyme compliments jest + enzyme. To explain a little more:
jest is a test runner.
enzyme is a utility library for testing React components.
jest-enzyme is a set of matchers which are added to jest to simplify using enzyme.
Here is an example with and without this library.
// without jest-enzyme
const wrapper = mount(<Component className="bar" />);

expect(wrapper.props().className).toBe('bar');

// WITH jest-enzyme
const wrapper = mount(<Component className="bar" />);

expect(wrapper).toHaveProps('className', 'bar');

I'm going to close this issue as there isn't anything for me to action on. Feel free to keep asking questions here though!


text:
Update Sylvania_72569.md with ZHA support.

Added confirmed support for ZHA. I have 3 of them joined to my ZHA Zigbee network for almost a year without issue.

thanks

authors: Nealtron blakadder

repo: blakadder/zigbee


text:
DetectorSpeedSensor entity not working if multiple detectors are defined (coral)

Version of the custom_component
4.0.0
Configuration

detectors:
  coral0:
    type: edgetpu
    device: pci
  coral1:
    type: edgetpu
    device: usb

Describe the bug
Hi, thanks for this work, awesome project. Now to the issue:
Having multiple coral detectors will cause Frigate Detector Name inference speed sensor in HA to not display any info.

Debug log

Not needed for this issue.

More info is going to be needed, I don't see this issue

This are two pci device (dual tpu ?), I have a mix of pci and usb at the moment. If debug logs are required I will create one of course.

I've tested with another usb coral as well and it works fine. Have you reloaded the ha integration since adding the coral?


text:
Put emotion recognition into own repository

Add some files so that the emotion recognition part can be installed via pip.
Then create a separate repository.

Emotion recognition can now be installed as package (https://github.com/blandfort/emotion_recognition).
So the code of mirror can be adjusted to use that package.

Emotion recognition can now be installed as package (https://github.com/blandfort/emotion_recognition).
So the code of mirror can be adjusted to use that package.

repo: blandfort/mirror


text:
timedelta improvements

I should be able to odo an interval into a timedelta.'
This also allows me to odo a timedelta into a pd.Timedelta

LGTM.

thanks!

authors: kwmsmith llllllllll

repo: blaze/odo


text:
Create issue and pull request templates

Check out this and let's discuss in this issue what we'd like these templates to look like.

https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/about-issue-and-pull-request-templates

Potential PR template:
## Overview

## Thought Process

## Testing Steps

## Risks


text:
手机上文章分类统计图显示有问题

如图，Linux只显示出了Linu，在手机chrome和edge上都显示如此。

跟 padding 有关系，内容太宽被挡住了。

repo: blinkfox/hexo-theme-matery


text:
Any function to disable swipe?

Is there any function or method to disable swiping of stacks?

Thank you

repo: blipinsk/FlippableStackView


text:
Instabilities sourcing

Add a context that exposes:
https://github.com/Invisi/gw2-fotm-instabilities
Likely included as a lambda on our l.blishhud.com API.

Best handled by modules directly if it's needed.

repo: blish-hud/Blish-HUD


text:
Adding spanish contributors

Hola!
Si quieren sumarse al equipo Español, coméntelo

Hola!
Me interesaría contribuir, por el momento no hay issues creadas en el repo ¿cómo se distribuiría el trabajo?
Gracias! :)

Hola!
Me interesaría contribuir, por el momento no hay issues creadas en el repo ¿cómo se distribuiría el trabajo?
Gracias :)

Hola!
Si quieren sumarse al equipo Español, coméntelo

Hola!
Me interesaría contribuir, ¿cómo se distribuiría el trabajo?
Gracias :)

@UchihaCFC mañana o pasado, cuando ya tengamos más gente, voy a asignar páginas a gente

Hola, quiero sumarme.

Yo quisiera ayudar

👋 Puedo ayudar si necesitan más gente

authors: JuanM04 UchihaCFC cherta gusgard peterpalau


text:
Updates GridPlus connector in anticipation of upcoming Lattice firmware release

This commit updates GridPlus-related modules to prepare for what will be
breaking changes in firmware. The updated packages are themselves backwards
compatible so current users will see no difference in functionality.

I went ahead and rebased against the develop branch.

I went ahead and rebased against the develop branch.

@alex-miller-0 Excellent, thank you!

@alex-miller-0 Excellent, thank you!

repo: blocknative/onboard


text:
Add additional field "description" to counter's endpoint

Tooltip texts for all number charts:

Average block time
Description: Average time taken in seconds for a block to be included in the blockchain

Total accounts
Description: Number of EOAs that sent at least 1 transaction

Total tokens
Description: Number of all token contracts

Completed txns
Description: Number of transactions with success status

Total blocks
Description: Number of blocks over all time

Total txns
Description: All transactions including pending, dropped, replaced, failed transactions

Number of deployed contracts today
Description: Number of deployed contracts today

Total contracts
Description: Number of contracts

Total verified contracts
Description: Number of verified contracts

Number of verified contracts today
Description: Number of contracts verified today

Total native coin transfers
Description: Number of transactions with the transfer of the native coin

Total addresses
Description: Number of addresses that participated in the blockchain

Testing stand avaliable on
https://blockscout-main.k8s-dev.blockscout.com/stats
https://stats-test.k8s-dev.blockscout.com/api/v1/counters

Frontend task https://github.com/blockscout/frontend/issues/1151 is ready for release and approved

authors: sevenzing yvaskov

repo: blockscout/blockscout-rs


text:
Determine process for publishing to the extension stores

We need to determine:

How we publish new releases to the FF and Chrome stores
What kind of automation we can utilize

Likely can automate a lot for Chrome, but FF still needs to be manual

Who owns this stuff? Who manually publishes new versions and handles reviewer conversations on the FF store?

@hstove Having trouble understanding what step in the GH workflow does the actual upload to the Chrome/FF store. Do the Chrome and FF stores reference our GCS bucket when users download the addon through their site?

https://github.com/blockstack/stacks-wallet-web/blob/main/.github/workflows/publish-extensions.yml#L35
https://github.com/blockstack/stacks-wallet-web/blob/main/.github/workflows/publish-extensions.yml#L59

Also, it doesn't seem like Chrome is requiring us to sign the plugin before uploading to GCS like Firefox does. If there is a signing step available for that process, I'd like to look into that as well.

The GCS bucket is not relevant to actually publishing on the stores - that's just our temporary workaround. Publishing to the stores will be a similar, but different process.
For Chrome, we can almost fully automate the publishing process from CI.
For Firefox, we already have the web-ext integration setup, and it's publishing to our "unlisted" channel. Publishing to the "production" version of the store requires simply changing a flag to --channel listed, but that still requires a human to log in and:

add a changelog
add review notes
add the raw source code (basically the zip)

So I'm less bullish on automating the FF process, since it might cause more hassle

Should we assign @CharlieC3 here if he's the one mainly looking in this at the moment?

@CharlieC3 Mind providing an update here when you have a chance?

@markmhx No update as of yet, but will start on this ticket this week.

@hstove Do we need to provide any justifications here for the Chrome listing?

authors: CharlieC3 hstove markmhx

repo: blockstack/stacks-wallet-web


text:
feat: Show icon for microblock in activity

Try out this version of the Stacks Wallet - download extension builds.

Add microblock indicator to activity list. See linked issue.
See
https://www.figma.com/file/8CaxP6TRWskoTO9cmlvX9M/Wallet-🌐-web?node-id=2221%3A14454

@jasperjansz Let me know if this is fine.
@aulneau @kyranjamie @fbwoolf
Any feedback are welcome (dev testing pending)

@markmhx We are getting close, I tested sending transaction and it works fine now, only the balance amount is not correct because the /accounts api v2 endpoint has not taken into account microblocks yet. I asked @zone117x if he can add it.

@markmhx We are getting close, I tested sending transaction and it works fine now, only the balance amount is not correct because the /accounts api v2 endpoint has not taken into account microblocks yet. I asked @zone117x if he can add it.

We use both endpoints, the v2 and the extended. for microblock balance, we might just need to use only the extended endpoint as the v2 are just proxies to the node and I don't think the unanchored param means anything at that level

@markmhx We are getting close, I tested sending transaction and it works fine now, only the balance amount is not correct because the /accounts api v2 endpoint has not taken into account microblocks yet. I asked @zone117x if he can add it.

We use both endpoints, the v2 and the extended. for microblock balance, we might just need to use only the extended endpoint as the v2 are just proxies to the node and I don't think the unanchored param means anything at that level

You mentioned this in the code,
// the raw account info from the v2/accounts endpoint, should be most up-to-date info (compared to the extended API)
Can we safely move to v1 without causing a delay in the balance update ?
If the is_unanchored is not planned for v2, then yes we must use v1 instead.

@markmhx We are getting close, I tested sending transaction and it works fine now, only the balance amount is not correct because the /accounts api v2 endpoint has not taken into account microblocks yet. I asked @zone117x if he can add it.

We use both endpoints, the v2 and the extended. for microblock balance, we might just need to use only the extended endpoint as the v2 are just proxies to the node and I don't think the unanchored param means anything at that level

You mentioned this in the code,
// the raw account info from the v2/accounts endpoint, should be most up-to-date info (compared to the extended API)
Can we safely move to v1 without causing a delay in the balance update ?
If the is_unanchored is not planned for v2, then yes we must use v1 instead.

Nevermind, I got the info. We must use v1 endpoint only.

@beguene this commit fixes the bug where the network switch caused in infinite hang/loop https://github.com/blockstack/stacks-wallet-web/commit/1a181a2c9dfc1ae72d9f6d51558de47d4cafca69
The underlying issue seems to be that the client was not updating when the network would switch, likely due to the dependent atom being too far deep down the tree.

@beguene this commit fixes the bug where the network switch caused in infinite hang/loop 1a181a2
The underlying issue seems to be that the client was not updating when the network would switch, likely due to the dependent atom being too far deep down the tree.

Awesome ! Thanks for the fix. I guess this is issue is also there on main branch.
I think we should have a 'heavy' account we can load to do some regression tests.
cc: @timstackblock @Eshwari007

Good work @beguene. Some of my comments extend beyond the scope of this PR, but nonetheless need to be discussed at some point.

Thanks for the review ! I will check them out and update the PR.
Indeed we should talk about this 'BigNumber' improvement as a team.

@kyranjamie I made an update taking into account your comments + added some unit tests.

authors: aulneau beguene


text:
resolution fix

support for different aspect ratio.
fixed a couple of problems with auto-fit window to screen (see comments in code)

set struct values recursively through the refchain

bug fix script editor could run example script instead of user script. (now user script is generated if user click button and is looked last).

sorry this review lasted some time so more changes are coming in.

repo: bloodypenguin/Skylines-ModTools


text:
Remove sudo from docker-related Makefile targets

According to #15.
Signed-off-by: Ivan Kalita kaduev13@gmail.com

@kaduev13 Could you modify the description to look like "Fixes #15" or "Resolves #15" so the issue closes automatically when this merges?

repo: bloomberg/goldpinger


text:
Implement demo mode

This PR implements demo mode, which is aimed at killing the busiest pods in the cluster in order to inflict the most chaos and demonstrate the effects of PowerfulSeal.
This PR is backwards-compatible with the last minor version.
The algorithm used is that the aggregate of CPU and memory usage per pod (across all of a pod's containers) calculated and pods are sorted descending (CPU, then memory). Then, depending on the aggressiveness (between 1 [weakest] and 5 [strongest] inclusive), the proportion of pods to kill is calculated, then pods are filtered even further based on probability. The result is that the busiest pods (in terms of CPU and memory) are killed with an element of randomness.
The implementation of this depends on Heapster, which is currently installed on the test cluster. cadvisor is also present on all nodes and was the initial intended service to query. However, cadvisor only exposes per-node metrics, whereas Heapster aggregates metrics across all nodes.
The approach taken is limited to CPU and memory (as opposed to disk + network) due to the way Heapster exposes metrics over HTTP: one way (used in this implementation) is to query an endpoint once which returns all CPU/memory; the alternative way is to make a single query per pod per metric, which doesn't appear to be the intended use of such an endpoint (for four metrics * ~70 pods on the test cluster).

I've added type=int and namespace filtering. If you're happy with this, can we merge this after #65? Thanks for the review!

repo: bloomberg/powerfulseal


text:
Fix spelling - Resolve #18

Resolve #18

Thank you


text:
[BUG] Game suddenly crashes within 5 minutes of joining a game or less

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
v2.8.1
What problem did you encounter?
When I open bloxstrap it's all fine on the main page but when I enter an experience it crashes either immediately or within 5 minutes even when I don't do anything and stay on the settings.
I also have everything on default and run nothing but bloxstrap so nothing else eats up performance. It also started having these issues overnight when it was working fine the previous day.
I've tried clearing cache and temp files, reinstalling, running it as admin/adding it to exception list on anti-virus, updating the GPU drivers/going back on a previous version.
Can someone tell me if this is a problem on my end?
Bloxstrap Log
2024-11-05T13:06:57Z [App::OnStartup] Starting Bloxstrap v2.8.1
2024-11-05T13:06:57Z [App::OnStartup] Compiled Wednesday, 30 October 2024 at 6:35:23 AM from commit 2be2f4d0d275e60eabf2f63ecbbe4e38b2aa0773 (tag/v2.8.1)
2024-11-05T13:06:57Z [App::OnStartup] Loaded from %UserProfile%\AppData\Local\Bloxstrap\Bloxstrap.exe
2024-11-05T13:06:57Z [App::OnStartup] Temp path is %UserProfile%\AppData\Local\Temp\Bloxstrap
2024-11-05T13:06:57Z [App::OnStartup] WindowsStartMenu path is %UserProfile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
2024-11-05T13:06:57Z [LaunchSettings] Identifier 'watcher' is active with data
2024-11-05T13:06:57Z [Logger::Initialize] Initializing at %UserProfile%\AppData\Local\Bloxstrap\Logs\Bloxstrap_20241105T130657Z.log
2024-11-05T13:06:57Z [Logger::Initialize] Finished initializing!
2024-11-05T13:06:57Z [JsonManager<Settings>::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\Settings.json...
2024-11-05T13:06:57Z [JsonManager<Settings>::Load] Loaded successfully!
2024-11-05T13:06:57Z [JsonManager<State>::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\State.json...
2024-11-05T13:06:57Z [JsonManager<State>::Load] Loaded successfully!
2024-11-05T13:06:57Z [FastFlagManager::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\Modifications\ClientSettings\ClientAppSettings.json...
2024-11-05T13:06:57Z [FastFlagManager::Load] Loaded successfully!
2024-11-05T13:06:57Z [FastFlagManager::SetValue] Setting of 'FLogNetwork' to '7' is pending
2024-11-05T13:06:57Z [FastFlagManager::SetValue] Setting of 'FFlagHandleAltEnterFullscreenManually' to 'False' is pending
2024-11-05T13:06:57Z [NotifyIconWrapper::NotifyIconWrapper] Initializing notification area icon
2024-11-05T13:06:58Z [ActivityWatcher::Start] Opened %UserProfile%\AppData\Local\Roblox\logs\0.649.0.6490878_20241105T130656Z_Player_F9C46_last.log
2024-11-05T13:06:58Z [ActivityWatcher::ReadLogEntry] Read 50 log entries
2024-11-05T13:07:01Z [ActivityWatcher::ReadLogEntry] Read 100 log entries
2024-11-05T13:07:10Z [ActivityWatcher::ReadLogEntry] Read 150 log entries
2024-11-05T13:07:10Z [ActivityWatcher::ReadLogEntry] Joining Game (4616652839/7f24a8e5-4521-478f-802c-1c842c2a6fc6)
2024-11-05T13:07:10Z [ActivityWatcher::ReadLogEntry] Server is UDMUX protected (4616652839/7f24a8e5-4521-478f-802c-1c842c2a6fc6)
2024-11-05T13:07:11Z [ActivityWatcher::ReadLogEntry] Joined Game (4616652839/7f24a8e5-4521-478f-802c-1c842c2a6fc6)
2024-11-05T13:07:11Z [DiscordRichPresence::SetCurrentGame] Setting presence for Place ID 4616652839
2024-11-05T13:07:11Z [HttpClientLoggingHandler::ProcessRequest] GET https://games.roblox.com/v1/games?universeIds=1511883870
2024-11-05T13:07:12Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://games.roblox.com/v1/games?universeIds=1511883870
2024-11-05T13:07:12Z [HttpClientLoggingHandler::ProcessRequest] GET https://thumbnails.roblox.com/v1/games/icons?universeIds=1511883870&returnPolicy=PlaceHolder&size=128x128&format=Png&isCircular=false
2024-11-05T13:07:13Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://thumbnails.roblox.com/v1/games/icons?universeIds=1511883870&returnPolicy=PlaceHolder&size=128x128&format=Png&isCircular=false
2024-11-05T13:07:13Z [DiscordRichPresence::UpdatePresence] Updating presence
2024-11-05T13:07:37Z [ActivityWatcher::ReadLogEntry] Read 200 log entries
2024-11-05T13:07:37Z [ActivityWatcher::ReadLogEntry] Read 250 log entries
2024-11-05T13:07:37Z [ActivityWatcher::ReadLogEntry] Read 300 log entries
2024-11-05T13:07:37Z [ActivityWatcher::ReadLogEntry] Read 350 log entries
2024-11-05T13:07:37Z [ActivityWatcher::ReadLogEntry] Read 400 log entries
2024-11-05T13:08:10Z [LaunchHandler::LaunchWatcher] Watcher task has finished
2024-11-05T13:08:10Z [Watcher::Dispose] Disposing Watcher
2024-11-05T13:08:10Z [NotifyIconWrapper::Dispose] Disposing NotifyIcon
2024-11-05T13:08:10Z [MenuContainer::Window_Closed] Context menu container closed
2024-11-05T13:08:10Z [DiscordRichPresence::Dispose] Cleaning up Discord RPC and Presence
2024-11-05T13:08:10Z [App::Terminate] Terminating with exit code 0 (ERROR_SUCCESS)

Can you confirm that this happens only when you use Bloxstrap? https://github.com/pizzaboxer/bloxstrap/wiki/Switching-between-Roblox-and-Bloxstrap

authors: WRTASD pizzaboxer

repo: bloxstraplabs/bloxstrap


text:
https://github.com/textlint-ja/textlint-rule-preset-ja-spacing 削除？

技術文書での使用を想定していないではないため、不要と思われる。

技術文書や、その他の分野ごとに規定がことなるため、校正さんでは spacing をチェックしないほうが良いかもしれません。

https://github.com/blue-hood/kohsei-san/commit/8b56b27e884e13824e2e6fe6bb0836d31905c56f

repo: blue-hood/kohsei-san


text:
Lmod role

Hi,
it looks like BB does not include anything related to Lmod module.
Such a tool would be really convinient to easily manage different version of same compilers or application.
Do you think you can integrate it in BB?

Dear @lemoinepierre
Thank you for this request.
Indeed, BB is missing the user side, and I find Environment Module a bit old. I know customers using Lmod, so I will have a look :-)
Give me few days to investigate this.

Also using Lmod.
+1 on this. Need to allow default and customs paths.

Moved to general dashboard.

authors: johnnykeats lemoinepierre oxedions

repo: bluebanquise/bluebanquise


text:
Hide Certain Prop Variant

First of, awesome framework! We have chosen Bluekit to showcase our React components to all the developers that will be working on our app. Is there a way to hide certain prop variant from the UI? Let's say I have a propType htmlFor which either contains a string or not, and I would like to hide that from UI.
Thanks in advance :)

@andrerecinto Thanks for the feedback! Could you explain why you'd like it hidden?
As the UX designer behind the project, I'd like to understand how people use it, so if you could find the time, I'd love to have a chat.

No problem! We have certain props that doesn't have offer any visual representation change to the end user and we feel seeing a variant for it is unnecessary. Because whatever value you put in the prop, doesn't change the look and feel. So when you see the variant section for that specific prop it looks identical and can clutter up the preview screen when you have a lot of these variant prop views with the same output.
I have a screen shot below that demonstrates that you don't see anything different with whatever value you put in the prop. I hope that make sense! :) Thanks again.

That's a good point! We'll try to solve it in upcoming release next week. Thanks for your idea!

Thanks so much :)

#75 this fixes your problem.

repo: blueberryapps/react-bluekit


text:
Restore required neutron alternatives

Following commit removed neutron-keepalived-state-change and neutron-rootwrap-daemon from neutron alternatives list in error.
https://github.com/blueboxgroup/ursula/commit/1ef46590d16474b9068f60e2dcb604a5a49dd73d
They are present in the commit from which this was cherry-picked from (https://github.com/blueboxgroup/ursula/commit/8cf09fc6e859374ddb473f02ee1e36d75a3459e1) and are required for neutron.

recheck

repo: blueboxgroup/ursula


text:
always trigger apply-sysctl in case failure in common role

sack=1 is configured in common role(networking.yml)
If task in common role fails, it may case that sack=1 is configured in sysctl config file, while it's not applied in OS. Because it can't trigger the apply sysctl handler.
Re-run will not be able to trigger apply sysctl, because sysctl configure files will not change in re-run, then sack=1 will never be applied until reboot or do sysctl -p manually.
As too many tasks are in common role, the failure probability of common
role is relative high. This patch is to make apply-sysctl triggered in every deployment.

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

add to whitelist

retest

authors: bbc-jenkins chengtcli j2sol


text:
[BUG] Swiping through gallery doesn't work sometimes

Describe the bug
When using photo_view to swipe through photos in a gallery, swiping (horizontal drag gesture) doesn't work sometimes. I enabled debugPrintGestureArenaDiagnostics and the logs gives an idea of what's happening internally.
When swiping works:
I/flutter (26426): Gesture arena 170  ❙ ★ Opening new gesture arena.
I/flutter (26426): Gesture arena 170  ❙ Adding: DoubleTapGestureRecognizer#b7996(debugOwner: PhotoViewGestureDetector)
I/flutter (26426): Gesture arena 170  ❙ Adding: PhotoViewGestureRecognizer#36e70(debugOwner: PhotoViewGestureDetector)
I/flutter (26426): Gesture arena 170  ❙ Adding: HorizontalDragGestureRecognizer#3afc9(start behavior: start)
I/flutter (26426): Gesture arena 170  ❙ Closing with 3 members.
I/flutter (26426): Gesture arena 170  ❙ Accepting: HorizontalDragGestureRecognizer#3afc9(start behavior: start)
I/flutter (26426): Gesture arena 170  ❙ Self-declared winner: HorizontalDragGestureRecognizer#3afc9(start behavior: start)

When swiping doesn't work:
I/flutter (26426): Gesture arena 169  ❙ ★ Opening new gesture arena.
I/flutter (26426): Gesture arena 169  ❙ Adding: DoubleTapGestureRecognizer#b7996(debugOwner: PhotoViewGestureDetector)
I/flutter (26426): Gesture arena 169  ❙ Adding: PhotoViewGestureRecognizer#36e70(debugOwner: PhotoViewGestureDetector)
I/flutter (26426): Gesture arena 169  ❙ Adding: HorizontalDragGestureRecognizer#3afc9(start behavior: start)
I/flutter (26426): Gesture arena 169  ❙ Closing with 3 members.
I/flutter (26426): Gesture arena 169  ❙ Accepting: PhotoViewGestureRecognizer#36e70(debugOwner: PhotoViewGestureDetector)
I/flutter (26426): Gesture arena 169  ❙ Self-declared winner: PhotoViewGestureRecognizer#36e70(debugOwner: PhotoViewGestureDetector)

So at times PhotoViewGestureRecognizer wins instead of HorizontalDragGestureRecognizer which is causing this issue.
To Reproduce
Use the example app (https://github.com/bluefireteam/photo_view/releases/tag/0.14.0) and go to "gallery". Open the first photo from the gallery and swipe to the next photo. The first swipe doesn't work, the second does. The bug comes up randomly too while swiping through photos.
What is the current behaviour?
Swiping (horizontal drag gesture) doesn't work sometimes.
Expected behaviour
Swiping will always work and shows next/prev photo.
Screenshots
https://github.com/bluefireteam/photo_view/assets/77285023/e8001129-3cd6-4399-a331-5103841b58bb
Which versions of Flutter/Photo View, and which browser / OS are affected by this issue? Did this work in previous versions of Photo View?
Flutter v3.10.6
photo_view v0.14.0
Reproducible on both Android and iOS.

Same error here, any solution?

Same issue. Every first swipe it doesn't work:
I/flutter (26851): Gesture arena 581  ❙ ★ Opening new gesture arena.
I/flutter (26851): Gesture arena 581  ❙ Adding: DoubleTapGestureRecognizer#2dfb4(debugOwner: PhotoViewGestureDetector)
I/flutter (26851): Gesture arena 581  ❙ Adding: PhotoViewGestureRecognizer#7fa14(debugOwner: PhotoViewGestureDetector)
I/flutter (26851): Gesture arena 581  ❙ Adding: HorizontalDragGestureRecognizer#d9dac(start behavior: start)
I/flutter (26851): Gesture arena 581  ❙ Closing with 3 members.
I/flutter (26851): Gesture arena 581  ❙ Accepting: PhotoViewGestureRecognizer#7fa14(debugOwner: PhotoViewGestureDetector)
I/flutter (26851): Gesture arena 581  ❙ Self-declared winner: PhotoViewGestureRecognizer#7fa14(debugOwner: PhotoViewGestureDetector)
Then on the second on it works:
I/flutter (26851): Gesture arena 582  ❙ ★ Opening new gesture arena.
I/flutter (26851): Gesture arena 582  ❙ Adding: DoubleTapGestureRecognizer#2dfb4(debugOwner: PhotoViewGestureDetector)
I/flutter (26851): Gesture arena 582  ❙ Adding: PhotoViewGestureRecognizer#7fa14(debugOwner: PhotoViewGestureDetector)
I/flutter (26851): Gesture arena 582  ❙ Adding: HorizontalDragGestureRecognizer#d9dac(start behavior: start)
I/flutter (26851): Gesture arena 582  ❙ Closing with 3 members.
I/flutter (26851): Gesture arena 582  ❙ Accepting: HorizontalDragGestureRecognizer#d9dac(start behavior: start)
I/flutter (26851): Gesture arena 582  ❙ Self-declared winner: HorizontalDragGestureRecognizer#d9dac(start behavior: start)
[GETX] CLOSE TO ROUTE /MyPhotoViewGallery

Is there a workaround ?

same issue

I think it's related to "android gesture navigation" because when this is disabled it works without issue.

look this issues https://github.com/bluefireteam/photo_view/issues/383


text:
fix mavlink codegen enum methods

Bug while calling the MarshalText method for enum
Example:
(common.MAV_SYS_STATUS_SENSOR_3D_GYRO | common.MAV_SYS_STATUS_SENSOR_3D_ACCEL).MarshalText()
an error occurs because this value is not in labels_{{ENUM}}
I propose to return the hex value of the number.

specifically requested by some users in order to convert strings into enums

If you need names, I can suggest this code:
type MAV_SYS_STATUS_SENSOR uint32

const (
	MAV_SYS_STATUS_SENSOR_3D_GYRO  MAV_SYS_STATUS_SENSOR = 1 << 0 // 0x01
	MAV_SYS_STATUS_SENSOR_3D_ACCEL MAV_SYS_STATUS_SENSOR = 1 << 1 // 0x02
)

var labels_MAV_SYS_STATUS_SENSOR = map[MAV_SYS_STATUS_SENSOR]string{
	MAV_SYS_STATUS_SENSOR_3D_GYRO:  "MAV_SYS_STATUS_SENSOR_3D_GYRO",
	MAV_SYS_STATUS_SENSOR_3D_ACCEL: "MAV_SYS_STATUS_SENSOR_3D_ACCEL",
}

func (e MAV_SYS_STATUS_SENSOR) MarshalText() string {
	var names []string
	for mask, label := range labels_MAV_SYS_STATUS_SENSOR {
		if e&mask == mask {
			names = append(names, label)
		}
	}
	return strings.Join(names, " | ")
}

func (e *MAV_SYS_STATUS_SENSOR) UnmarshalText(text []byte) error {
	labels := strings.Split(string(text), " | ")
	var mask MAV_SYS_STATUS_SENSOR
	for _, label := range labels {
		found := false
		for value, l := range labels_MAV_SYS_STATUS_SENSOR {
			if l == label {
				mask |= value
				found = true
				break
			}
		}
		if !found {
			return fmt.Errorf("invalid label '%s'", label)
		}
	}
	*e = mask
	return nil
}

func (e MAV_SYS_STATUS_SENSOR) String() string {
	return e.MarshalText()
}

Tests:
value := MAV_SYS_STATUS_SENSOR_3D_GYRO | MAV_SYS_STATUS_SENSOR_3D_ACCEL
fmt.Println(value.MarshalText()) // "MAV_SYS_STATUS_SENSOR_3D_GYRO | MAV_SYS_STATUS_SENSOR_3D_ACCEL"

value = MAV_SYS_STATUS_SENSOR_3D_GYRO
fmt.Println(value.String()) // "MAV_SYS_STATUS_SENSOR_3D_GYRO"

var sens MAV_SYS_STATUS_SENSOR
err := sens.UnmarshalText([]byte("MAV_SYS_STATUS_SENSOR_3D_GYRO | MAV_SYS_STATUS_SENSOR_3D_ACCEL"))
if err != nil {
// handle error
}
fmt.Println(sens.String()) // "MAV_SYS_STATUS_SENSOR_3D_GYRO | MAV_SYS_STATUS_SENSOR_3D_ACCEL"

It seems that with the update of mavlink, new Enums and Messages have been added.
#https://github.com/mavlink/mavlink/pull/1943

merged, thanks!

repo: bluenviron/gomavlib


text:
Make authentication prompt hookable

How we can able GUIs to use the Tiled Python client and authenticate with HTTP basic auth into OAuth2? Currently, Tiled prompts for a username and password using TTY input.
These lines
https://github.com/bluesky/tiled/blob/2459624dcf53e87e94299b439cf10b1d009f4e0a/tiled/client/context.py#L558-L559
can be factored into a global function:
def prompt_for_credentials(username=None) -> (username, password):
     "Accept optional default username, return username and password."
    ...

The Context.__init__ can grow an optional argument, default None that enables overriding this function. The constructor functions from_uri and from_profile can grow the same argument and pass it through.
We should also consider what might be needed to support login via a browser, where Tiled is providing a URL and polling (device code flow) for the user to complete login and authorization. This does not need to be solved in the same PR, but we have a sense of what the interface will be so that the API proposed above is consistent with that.

A possibility is to just modify the authenticate method and not the Context object.

  def prompt_for_credentials(username, password):
        if username and password:
            # Only keep u+p if both provided. In the rare case that someone provides a pwd and not username, reprompt.
            return username and password
        elif username:
            username_reprompt = input(f"Username [{username}]: ")
            if len(username_reprompt.strip()) != 0:
                username = username_reprompt
        else:
            username = input("Username: ")
        password = getpass.getpass()
        return username, password

  def authenticate(
      self,
      username=UNSET,
      provider=UNSET,
      prompt_for_reauthentication=UNSET,
      set_default=True,
      *
      password=UNSET, # Add password here, and tuck behind *
  ):
  ...
     if mode == "password":
          username, password = prompt_for_credentials(username, password)
          form_data = {
              "grant_type": "password",
              "username": username,
              "password": password,
          }
          token_response = self.http_client.post(
              auth_endpoint, data=form_data, auth=None
          )
          handle_error(token_response)
          tokens = token_response.json()
    ...

I like this. Much simpler than what I proposed, and I can't think of any downsides. If the session expires or is revoked, we want to make sure that this won't prompt for reauthentication. (See that parameter, prompt_for_reauthentication). I think that if it's False that will raise an exception that the GUI could catch, but that should be checked and tested.

authors: danielballan maffettone

repo: bluesky/tiled


text:
Loading Error "First Mod at Fault" detection

Currently we don't yet search the stack trace for detecting which mods are at fault for some of the less obvious exception scenarios. We can search the trace for mod assemblies and add them to the responsibleMods List.

3099d08920552a90f82305afd40ab8aab25e33ef

authors: Chicken-Bones JavidPack

repo: blushiemagic/tModLoader


text:
Add generic provider

The generic provider tries all interface actions via ipmitool as a catch-all for vendors that aren't implemented yet. Not all functionality is available yet. Functionality in this PR:

power on
power off
power status
setting the next boot device

This PR also puts out another way we could do the devices interface. smaller interfaces with stronger abstraction than the existing interfaces. It makes adding new providers easier as we don't have to implement so many interface methods but allows for expanding interface functionality without breaking the interface.

duplicate of https://github.com/bmc-toolbox/bmclib/pull/157 but https://github.com/bmc-toolbox/bmclib/pull/157 uses the use interfaces

repo: bmc-toolbox/bmclib


text:
Numerical Precision

To everyone, and Chris especially, what are some thoughts on ways to mitigate the numerical precision issues? I see a few things to take into account:

The scale of the polygons we operate on. If a polygon with a side of 20 px comes in the pipeline, should that be handled the same as one with a side length of 4,269 pixels?
Rotations of polygons to place them in a bounding box. This seems to introduce more error. Should the actual geometry of the input polygons and derived cuts be operated on, or should bounding boxes and "exact" shapes like rectangles represented by their dimensions rather than their vertices be used when possible.
Any ideas on what information should be produced/preserved from the** triangle-rectangle** and rectangle-rectangle cuts? Are their other ways of performing these cuts involving a "unit length side" for the canonical rectangle?

At the end of the day, I was wondering if there is a way push issues from numerical precision to the end of the pipeline. Part of my confusion is coming from what seems to be at least two different ways to approach the decomposition of a triangle to another triangle, based on reading Chris's notes and a Wikipedia article.

Hi Brooks,
That's a good question about the scale.  The dynamic range of the size of the pieces that you an get probably will be quite large, so you have to be careful
I'm not sure what you mean about rotations of polygons placing them inside of a bounding box.  But I like the idea of trying to keep track of exact things instead of storing intermediate vertices, when possible.  When I coded this up, I actually made new vertices for new pieces, but it might be better to see if you can find a way to do it that stores the cuts implicitly until the end where you need to use the Sutherland Hodgman algorithm or something else to make smaller pieces.  I definitely had issues with numerical precision at that step

authors: bmershon ctralie


text:
Диапазоны

Нужно добавить поддержку диапазонов как типа значений в формуле.
Пример использования: =CONCATENATE("Сумма: ", STRING(SUM(A1:A10)))

Добавляем токен : (COLON)
Создаём класс Spreadsheet._Range:

поле start типа Spreadsheet._CellReference — ссылка на первую угловую ячейку диапазона
поле end типа Spreadsheet._CellReference — ссылка на противоположную угловую ячейку
метод forEachCell(callback) вызвает функцию callback для каждой ячейки из диапазона, начиная с левой верхней и двигаясь справа налево, сверху вниз. callback(cell, row, column) вызывается с параметрами:

cell типа Spreadsheet._Cell — ячейка;
row, column -- координаты этой ячейки.

Обновлеяем парсер с учётом новой грамматики
В evaluate аналогично CellReference должна быть проверка, что все ячейки из диапазона существуют и определены
Пишем тестовую функцию SUM, код который примерно следующий:SUM(...args) {
    // Проверяем: количество args должно быть >= 1
    return args.reduce((sum, element) => {
          if (element instanceof Spreadsheet._Range) {
                let rangeSum = 0;
                element.forEachCell(cell => {
                      // Проверяем, что значение cell — number
                      rangeSum += cell.value;
                });
                return sum + rangeSum;
          } else if (typeof element === "number") {
                return sum + element;
          } else {
                // Ошибка
          }
    }, 0);
}

Выполнено


text:
python-numpy: drop now superfluous bbappend file

In the meta-ros commit b6080314 (commit date: 2013-11-17) [1], we
add python-numpy_1.7.0.bbappend to provide python-numpy as native
package, as the version update to cv-bridge 1.10.14 needs that.
Coincidentally, Ross Burton added native support to the
python-numpy recipe in the meta-openembedded commit c13c5f40
(commit date: 2013-11-18) [2]. However, the existing bbappend in
meta-ros was still required for use with releases before commit
c13c5f40.
On 2014-01-14, the python-numpy recipe was moved from meta-oe to
openembedded-core (commit a4415f89 and 9bf355cc [3, 4]).
Now, on 2015-12-16, the python-numpy recipe was updated to 1.10.1
(commit 3c3932f3 [5]), and hence, our version-specific bbappend
file fails to apply.
As the native package addition is now in the recipe for over two
years (commit date: 2013-11-18), and we assume all users to work on
versions where the change has been included, we simply drop our now
superfluous bbappend file.
[1] https://github.com/bmwcarit/meta-ros/commit/b6080314504be62c8fbfcb1d583e688448a2f023
[2] http://cgit.openembedded.org/meta-openembedded/commit/?id=c13c5f40160d289bb62538a16900fed30621cb22
[3] http://cgit.openembedded.org/meta-openembedded/commit/?id=a4415f89e533a59ba358f8575d56216d3650e59e
[4] http://cgit.openembedded.org/openembedded-core/commit/?id=9bf355cceaec6ebacdcbcc35f9713ff73e1c85da
[5] http://cgit.openembedded.org/openembedded-core/commit/?id=3c3932f3560c898e32287c8733b61180685ee539
Signed-off-by: Lukas Bulwahn lukas.bulwahn@oss.bmw-carit.de

@KristofRobot please review and merge.

repo: bmwcarit/meta-ros


text:
add example in sudo command

What type of PR is this? (check all applicable)

[ ] ♻ Refactor
[ ] ✨ New Chapter
[ ] 🐛 Bug Fix/Typo
[ ] 👷 Optimization
[ ] 📝 Documentation Update
[ ] 🚩 Other

Description
Related Tickets & Documents
Added to documentation?

[ ] 📜 readme
[ ] 🙅 no documentation needed

[optional] What gif best describes this PR or how it makes you feel?

@bobbyiliev please review I have added example in sudo command


text:
Link to User Manual from Landing Page and Edit Manifest View

Link to the user manual from the landing page, as well as from the edit interface and maybe the import canvases view

I have added links to the Home and Open views but not to the Edit view for now.

repo: bodleian/iiif-manifest-editor


text:
feat: extend highlights and locals and set indents

I extended the highlight.scm with builtins, filled locals.scm and added indents.scm.
These are most likely not complete this way but they are at least more complete than before. ;-)

So I'm still going to spend a little more time working on this, but there are definitely some changes here that don't work well with my preferred editor (neovim). Can I ask what you're using to test this?

I use it with neovim (nightly) and nvim-treesitter. ;-) What isn't working for you as expected?

The string highlighting is the only thing I've found that doesn't work, both for string literals and include paths. I'll probably trust you on the locals and indent queries, as I don't currently use those features.

I rechecked and found that I actually had a mistake for both of these. Should now be fixed.

Looks good. Thanks for the changes!

authors: bollian wilriker

repo: bollian/tree-sitter-openscad


text:
module video_capture not found

I'm running PopOS 20.10.  Howdy installed fine, but when I attempt to use it, the following error arises:
roycdavies@starlabtop:~$ sudo ls
Traceback (most recent call last):
File "/lib/security/howdy/compare.py", line 23, in
from recorders.video_capture import VideoCapture
ModuleNotFoundError: No module named 'recorders.video_capture'
Unknown error: 1
[sudo] password for roycdavies:

Try running "sudo howdy config" and set "device_path" to "/dev/video0".

yes, look for one of your camera devices with ls -l /dev/video*, you will get something like this:
crw-rw----+ 1 root video 81, 4 abr  3 22:33 /dev/video4
crw-rw----+ 1 root video 81, 5 abr  3 22:33 /dev/video5
crw-rw----+ 1 root video 81, 6 abr  3 22:33 /dev/video6
crw-rw----+ 1 root video 81, 7 abr  3 22:33 /dev/video7

and then do as @RedCoder09 said, open config file with sudo howdy config  and edit the line for device_path:
# before
device_path = /dev//dev/v4l/by-path/none
# after
device_path = /dev/video4

authors: RedCoder09 roycdavies tomasdisk

repo: boltgolt/howdy


text:
howdy add error No module named 'numpy'

$ sudo howdy add
Traceback (most recent call last):
File "/usr/local/bin/howdy", line 95, in
import cli.add
File "/usr/lib/security/howdy/cli/add.py", line 10, in
import numpy as np
ModuleNotFoundError: No module named 'numpy'
then
$ sudo howdy snapshot
Traceback (most recent call last):
File "/usr/local/bin/howdy", line 107, in
import cli.snap
File "/usr/lib/security/howdy/cli/snap.py", line 7, in
import snapshot
ModuleNotFoundError: No module named 'cv2'
File "/usr/lib/security/howdy/snapshot.py", line 4, in
import cv2
I've searched for similar issues already, and my issue has not been reported yet.
Linux distribution Ubuntu 20.10
Howdy 2.6.1

check if python-numpy and python-opencv are currently installed on your system

I don't know a good way to check, so for numpy I installed numpy-dice-hy. then tried howdy add.
Same result.
Could the path be different in 20.10?
c

$ pip3 show numpy
Name: numpy
Version: 1.19.4
Summary: NumPy is the fundamental package for array computing with Python.
Home-page: https://www.numpy.org
Author: Travis E. Oliphant et al.
Author-email: None
License: BSD
Location: /home/david/.local/lib/python3.8/site-packages
Requires:
Required-by: scipy, tifffile, scikit-image, PyWavelets, opencv-python, matplotlib, imageio, wxPython

pip3 install opencv-python
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: opencv-python in /usr/local/lib/python3.8/dist-packages (4.4.0.42)
Requirement already satisfied: numpy>=1.17.3 in /home/david/.local/lib/python3.8/site-packages (from opencv-python) (1.19.4)

Try sudo pip3 install opencv-python numpy to install the packages in system directories

$ sudo pip3 install opencv-python numpy
Traceback (most recent call last):
File "/lib/security/howdy/compare.py", line 17, in
import dlib
ModuleNotFoundError: No module named 'dlib'
Unknown error: 1
[sudo] password for david:
Requirement already satisfied: opencv-python in /usr/local/lib/python3.8/dist-packages (4.4.0.42)
Requirement already satisfied: numpy in /usr/local/lib/python3.8/dist-packages (1.19.4)

Then...
sudo howdy add
Traceback (most recent call last):
File "/usr/local/bin/howdy", line 95, in
import cli.add
File "/usr/lib/security/howdy/cli/add.py", line 10, in
import numpy as np
ModuleNotFoundError: No module named 'numpy'

Extremely weird, what you did should have fixed the issue. Have you tried reinstalling Howdy itself?

Uninstalled and reinstalled multiple times.
I wonder if it is to with the fact I am doing this on Ubuntu 20.10.
I asked Slimbook for help with Slimbook Face, before I found out it was just a GUI for Howdy, and they said it works on 20.04 but that they have no ideas about 20.10.

@boltgolt Everything worked fine for me on Ubuntu 20.10, but this problem came after updating to Ubuntu 21.04

david@pixie:~$ sudo pip3 install numpy
[sudo] password for david:
Requirement already satisfied: numpy in /usr/local/lib/python3.9/dist-packages (1.20.2)
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv
david@pixie:~$ sudo pip3 install opencv-python
Requirement already satisfied: opencv-python in /usr/local/lib/python3.9/dist-packages (4.5.1.48)
Requirement already satisfied: numpy>=1.19.3 in /usr/local/lib/python3.9/dist-packages (from opencv-python) (1.20.2)
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv
david@pixie:~$ sudo pip3 install dlib
Collecting dlib
Downloading dlib-19.22.0.tar.gz (7.4 MB)
|████████████████████████████████| 7.4 MB 2.5 MB/s
Building wheels for collected packages: dlib
Building wheel for dlib (setup.py) ... done
Created wheel for dlib: filename=dlib-19.22.0-cp39-cp39-linux_x86_64.whl size=4353319 sha256=9b48f6de28b42af522e3c249c25d2d89cca26ec18d7c78f095a7a00a640df4fc
Stored in directory: /root/.cache/pip/wheels/33/2c/16/6ceb1bda8e67571304aaf3cd80c8cb47dc8d5ab99e34bda88b
Successfully built dlib
Installing collected packages: dlib
Successfully installed dlib-19.22.0
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv
david@pixie:~$

david@pixie:~$ sudo pip3 install numpy
[sudo] password for david:
Requirement already satisfied: numpy in /usr/local/lib/python3.9/dist-packages (1.20.2)
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv
david@pixie:~$ sudo pip3 install opencv-python
Requirement already satisfied: opencv-python in /usr/local/lib/python3.9/dist-packages (4.5.1.48)
Requirement already satisfied: numpy>=1.19.3 in /usr/local/lib/python3.9/dist-packages (from opencv-python) (1.20.2)
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv
david@pixie:~$ sudo pip3 install dlib
Collecting dlib
Downloading dlib-19.22.0.tar.gz (7.4 MB)
|████████████████████████████████| 7.4 MB 2.5 MB/s
Building wheels for collected packages: dlib
Building wheel for dlib (setup.py) ... done
Created wheel for dlib: filename=dlib-19.22.0-cp39-cp39-linux_x86_64.whl size=4353319 sha256=9b48f6de28b42af522e3c249c25d2d89cca26ec18d7c78f095a7a00a640df4fc
Stored in directory: /root/.cache/pip/wheels/33/2c/16/6ceb1bda8e67571304aaf3cd80c8cb47dc8d5ab99e34bda88b
Successfully built dlib
Installing collected packages: dlib
Successfully installed dlib-19.22.0
WARNING: Running pip as root will break packages and permissions. You should install packages reliably by using venv: https://pip.pypa.io/warnings/venv
david@pixie:~$

Ubuntu 21.04
This is new.
Traceback (most recent call last):
File "/var/lib/dpkg/info/howdy.postinst", line 110, in
handleStatus(sc(["pip3", "install", "--upgrade", "pip"]))
File "/usr/lib/python3.9/subprocess.py", line 349, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.9/subprocess.py", line 951, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pip3'
dpkg: error processing package howdy (--configure):
installed howdy package post-installation script subprocess returned error exit
status 1
Processing triggers for man-db (2.9.4-2) ...
Errors were encountered while processing:
howdy
E: Sub-process /usr/bin/dpkg returned an error code (1)
david@pixie:~$

The problem was fixed for me by installing only the packages specified in my previous message.
I didn't invest more, but if you don't use python packages for other programs, you can uninstall all the python packages and howdy and try to reinstall the whole thing, or even take the opportunity to upgrade to the next version 21.04 of ubuntu

This is still a problem...

Maybe using the distribution's repo is a better idea than using pip: sudo apt install python3-numpy?

sudo apt install python3-numpy
Done long ago. I get the same with other python solutions though, so not your fault.

Wow, I didn't see that this issue was almost a year old.
Reinstalling Ubuntu (or better distro, yeah I don't like Ubuntu) would be a solution to consider :/

Same issue on Pop_OS 22.04

Hey @boltgolt are you still looking into this issue? I can confirm this is a problem on PopOS 22.04 too

It usually seems to be an issue where the python environment pip uses is not the one that Howdy will load into. Maybe:
python3 -m pip install numpy
python3 -m pip install opencv-python
python3 -m pip install dlib

Nope, that's still not it.
I believe howdy is looking in the wrong (old?) locations.
I'm on Ubuntu 22.10 now.

Howdy just imports like any other python3 script. Maybe you can look into similar issues with other python programs?

I think I can confirm that this happens after release upgrade. I upgrdaded from 22.04 to 23.04 and this happened

Disappointing.

Do you have multiple versions of Python installed on your system?

this work for me on debian 12:
$nano ~/.bashrc
in the end of this file(bashrc) write: export PATH="$HOME/.local/bin:$PATH"
save the file with ctrl+x, y, enter
source ~/.bashrc
reinstall te packages (numpy, opencv-python,dlib )

Linux Mint 23.1 has python 3.10 and default pip installs the package to python3.10 and not available to python3.11.
Reinstalling the packages for python3.11 fixed for me.

Do you have multiple versions of Python installed on your system?

The same problem, I think the reason is I use pyenv to install multiple versions of python along with python312 installed by pacman on arch linux. But how to solve this problem?

authors: EmixamPP Lyton505 NightMasterX VanVan boltgolt cloudsun9 erratic-c-programmer esseswann keetha1011 musikid rb58853 skewballfox yuyalun-allen


text:
Timeout limit

Hi! Thank you for this great piece of software. I have few questions:

Recognition fails a lot due to timeout. Would give it more time help? If secure preset needs more time, isn't a good idea at least in that case?
If I understood, several face models with the same name are all used for that particular id, or just the last one? If not, how many instances for a single face model would you recommend?
If I'm not wrong, some KDE / Evolution software is involved in the password managing right?
Thank you so much.

Thank you. Doubts solved.


text:
Add support for global interpreter lock

The current library assumes implicit locking of interpreter operations such as Exec, Eval, Get, Set, etc. While this may be convenient from a workflow developer's perspective, there are both performance and long-term maintenance implications of this choice which we should consider.

Because each operation acquires and releases the GIL implicitly, there is a performance cost to chaining a sequence of operations, even if they are guaranteed to be synchronous. For example, it is exceedingly common to use a combination of Set > Eval > Get as a simple idiomatic wrapper around a function call.
Starting from Python 3.12, it is possible to create sub-interpreters with their own independent per-interpreter GIL. While this feature is not supported yet in Python.NET, reading both the C API documentation and related discussions indicates that this feature is fundamentally incompatible with using the GIL for interop.

This suggests we might want to review our existing approach to implicitly acquire the GIL inside these operators, and instead consider introducing our own GIL operator which can be used to explicitly acquire the lock so we can work with current versions of Python.NET.
The current proposal is to implement a nested operator with close semantics to Defer (accepting zero or one arguments), to ensure the following:

The nested workflow is subscribed to only after the Python runtime has initialized, with subscription execution itself surrounded with a call to Py.GIL.
If an input is present, all notifications raised into the nested workflow are to be surrounded with a call to Py.GIL. Asynchronous operations inside the nested workflow will not be protected.

An outstanding question is re. naming of this operator, with three options currently under consideration:

PythonInterpreterLock
GlobalInterpreterLock
EnsureGIL

With the indications pointing that there will actually only ever be one GIL, I am currently leaning towards the latter two, since PythonInterpreterLock might leave the wrong impression that this operator would later be extended to work with individual sub-interpreter GILs. Instead, it looks like sub-interpreters will need to be accessed from within the thread that first created them, and this synchronization mechanism might be enough.
Between GlobalInterpreterLock and EnsureGIL, the former might be preferable, since EnsureGIL might also give the wrong impression that the entirety of the nested workflow runs under the lock, which is not the current design.
We are hoping to make this transition very soon with a draft implementation, but other naming suggestions are welcome.

An alternative implementation would be implementing a scheduling operator for protecting notifications of arbitrary sequences under the GIL:
public class ObserveOnGIL : Combinator
{
    public override IObservable<TSource> Process<TSource>(IObservable<TSource> source)
    {
        return RuntimeManager.RuntimeSource.SelectMany(runtime =>
            Observable.Create<TSource>(observer =>
            {
                var sourceObserver = Observer.Create<TSource>(
                    value =>
                    {
                        using (Py.GIL())
                        {
                            observer.OnNext(value);
                        }
                    },
                    observer.OnError,
                    observer.OnCompleted);
                return source.SubscribeSafe(sourceObserver);
            }));
    }
}

The advantages would be requiring less complexity than a nested operator, and making it more clear which exact sequences are protected. For subscription, we could conversely implement SubscribeOnGIL.

repo: bonsai-rx/python-scripting


text:
Incorporate svgo optimizations into babel plugin

Is there any particular reason why the optimization happens in rollup plugin / webpack loader and not while transforming the input file with babel?

The SVGO optimizations happen in those places (webpack loader, rollup plugin - which uses babel plugin) so that babel-parsing SVG as JSX works. Related discussion - https://github.com/boopathi/react-svg-loader/issues/140

The SVGO optimizations happen in those places (webpack loader, rollup plugin - which uses babel plugin)

Yeah, that I know. I'm more concerned about pure babel plugin though. Does svgo produce output that is not parseable as jsx?

I don't think it's possible to add svgo as a part of babel plugin - i.e. to transform before the parsing takes place. SVGO with (remove doctype, remove comments, remove style tags) is valid JSX (though not aware of other corner cases if they exist).
But if your SVG is already valid JSX, then you can simply include another plugin - something like -
module.exports = ({ template }) => ({
  visitor: {
    Program(path) {
      path.replaceWith(
        template(
          svgo.optimize(
            path.getSource()
          )
        )()
      )
    }
  }
})

and use it alongside babel-plugin-react-svg that converts other elements

Wouldnt it be nice to have this under the flag in the core plugin? I understand that not all SVGs (when they are not valid JSX) could benefit from it, but it would still allow some optimizations without need to alter the source file.
If you feel this should be a part of my custom workflow though, feel free to close the issue.

I want to solve for both cases -

SVGs parsed & transformed via SVGO so it could be valid JSX
SVGs which are already valid JSX

react-svg-core contains svgo transformations and runs svgo -> babel transform.
Now if babel-plugin is supposed to include svgo plugin (let's say under an option), now -

svgo will be dependency of both babel-plugin as well as react-svg-core. This seems unnecessary
It becomes easy to have a setup where svgo runs twice - once as a part of babel-plugin and once as a part of react-svg-core. This should be avoidable.

I'm open to other ideas.

svgo will be dependency of both babel-plugin as well as react-svg-core. This seems unnecessary

svgo can be made an optionalDependency of babel plugin, but overally this shouldnt be a problem - if you keep in sync svgo versions (if chosing the optionalDependency route i'd say it should be specified as MAJOR.x) they will be deduped across webpack loader and babel plugin

It becomes easy to have a setup where svgo runs twice - once as a part of babel-plugin and once as a part of react-svg-core. This should be avoidable.

Using svgo in babel transform should be an opt-in, running twice svgo in case of bad configuration also shouldn't be much of a problem (it won't make svg unusable). Don't know how we could guard people against configuring this in a wrong way..

@boopathi this could possibly be solved somewhat better (regarding range of SVGO optimizations) with introducing optional "inline" mode, just like in babel-plugin-inline-react-svg. That way we could load the svg source file on our own, apply svgo and transform then with the regular transform. WDYT? Ofc I'm willing to implement this.

I imagine it to look like this -

SVGO could be a peer dependency for babel-plugin
Babel plugin takes an option { svgo = false /*default false*/ } which runs the program node via svgo before applying other transforms ?

yeah?

I'm willing to implement this.

Sure. Thanks.

Have there been any updates on this?

authors: Andarist boopathi edahlseng

repo: boopathi/react-svg-loader


text:
Build errors with BOOST_ASIO_NO_EXTENSIONS defined

This needs investigation

Asio itself is not ready for BOOST_ASIO_NO_EXTENSIONS, see:
https://github.com/chriskohlhoff/asio/issues/362

We aren't doing this anymore

repo: boostorg/beast


text:
Serialize HTTP messages in websocket handshake and accept

The implementation could serialize the HTTP messages ahead of time and just send the one buffer

nice idea but not necessary.


text:
how to convert http response body to std::string?

`
http::response http::dynamic_body res;
    // Receive the HTTP response
    http::read(stream, buffer, res);

    // Write the message to standard out
    std::cout << res << std::endl;

    std::string s = res.body.data(); 	// error here!

i really dont understand the Buffer Types in beast ! orz
help me please

You can use std::string s = boost::asio::buffer_cast<const char*>(res.body.data());
If the body is of something like multi_buffer, the you need to iterate through the buffer sequence and append it to the string, something like:
for (auto seq : buf_sequence) {
auto* cbuf = boost::asio::buffer_cast<const char*>(seq);
s.append(cbuf, boost::asio::buffer_size(seq));
}

Thank you!
the dynamic_body is multi_buffer , how to decide to use string_body or dynamic_body?

Well, that depends upon what kind of performance characteristics you are looking for. In layman terms,  string_body would have all the data in a single heap block. So as and when you get more streamed data, more reallocations (and copy) would happen. multi_buffer is more like a linked list of allocated pools.

You have a few choices here.
First, you can use buffers_to_string like this:
std::cout << boost::beast::buffers_to_string(res.body.data()) << std::endl;

https://github.com/boostorg/beast/blob/885b9dfe0b6bfc7be6a9158d60f0760aa43e748a/include/boost/beast/core/buffers_to_string.hpp#L42
Or you can declare the message to use a string body:
boost::beast:;http::response<boost::beast::http::string_body> res;

Thanks for your help:)

@vinniefalco  I can`t find the   file beast/include/boost/beast/core/buffers_to_string.hpp in   beast include path.

@lls2wow Which version of Beast?

v84-1

I suggest using version 124, available here:
https://github.com/boostorg/beast/tree/v124
Or, wait until Boost 1.66.0 is released (in a few weeks) and use that.

You have a few choices here.
First, you can use buffers_to_string like this:
std::cout << boost::beast::buffers_to_string(res.body.data()) << std::endl;

Just a minute correction. It should be
std::cout << boost::beast::buffers_to_string(res.body().data()) << std::endl;


text:
Another hash_map implementation with peephole optimizations

I'm opening this PR so that we can discuss. This is related to #242 and #226. In fact, this is branched off of #242; I copied the design of the code and then optimized it iteratively.
This is a rough work in progress only.

This is way cleaner/better than what I had.
If we used something like take_while to get a run of elements whose keys couldn't possibly collide, we could construct a hash_table in one step and then use the fold approach when we encounter a run of one or more data types that might collide. I think 99.999% of the time it would take the whole sequence and make the hash_table in one step, significantly reducing that upfront cost.
This might make checking for dups slightly more complicated though.

If we used something like take_while to get a run of elements whose keys couldn't possibly collide

I don't understand how that might work? Indeed, if we were able to determine keys whose hashes won't collide, we could speed up the creation significantly. I just don't see how?

I guess that it might create a problem with efficiently checking for dups, but if the first n-keys were type, string, or int_c, there is no way their hashes could collide without them being also equal.
I'll see if I can get it to work on #242.

Now that you are injecting the HashTable, perhaps it could be more general and call it something like LookupTable. We could then have a special make_fast_map function that makes a map<TypeTable, Storage> where TypeTable looks up elements strictly by the type of the hash. Actually, it could even still be a detail::hash_table but would be built in one step inside make_fast_map. Just an idea

Do you mean adding a user-facing function make_fast_map that can be used to create a map by providing one's own HashTable and Storage? If so, it seems like it would be exposing too much of the guts of the map implementation, making it impossible for us to change anything in the future without breaking the API.

authors: ldionne ricejasonf

repo: boostorg/hana


text:
BTable no longer updates dynamically with newer versioning

Describe the bug. A clear and concise description of what the bug is.
I recently updated my package.json bootstrap-vue-next version from 0.9.20 to 0.9.26. BTable no longer renders with dynamically changing/updated/filtered data. I've had to move my version back down to 0.9.20 for the app to work.
To Reproduce. Steps to reproduce the behavior:
One of my tables is defined as follows :
    <b-table
      :fields="computedFields"
      :items="myProvider"
      no-provider-paging
      :per-page="pagination.perPage"
      :current-page="pagination.currentPage"
      v-model:sort-by="sortBy"
      v-model:sort-desc="sortDesc"
      class="jobs-list"
      hover
      @row-clicked="viewJob"
      :busy="isBusy"
    >
...
   </b-table>

My provider is defined as follows:
myProvider() {
      let sortedJobs = structuredClone(this.jobs || []);

      const start = new Date(this.timeFilter.start);
      const end = new Date(this.timeFilter.end);

      // If the start or end dates are not valid, fall back to no start/end date
      if (isNaN(start.getTime())) start.setTime(-Infinity);
      if (isNaN(end.getTime())) end.setTime(Infinity);

      return sortedJobs
        .filter((job) => {
          const updatedDate = new Date(job.created.seconds * 1000);
          // Check if searchString is present in the recipe
          let stringMatch = true;
          if (this.filterJob) {
            stringMatch = JSON.stringify(job.name)
              .toLowerCase()
              .includes(this.filterJob.toLowerCase());
          }
          return updatedDate >= start && updatedDate <= end && stringMatch;
        })
        .sort(this.dynamicSort(this.sortBy, this.sortDesc));
    },

while dynamic sort just sorts the data based on the sortBy and sortDesc data. Jobs needs to load, therefore is initially empty when the page loads. The table should update when Jobs is populated or changes, however this does not happen. This occurs with every table in my code that has a similar workflow.

OS: Mac Ventura 13.3
Package Version: 0.9.26
Npm: 8.19.4

A more robust example may help

I think, the cause of this issue is exact the same I already descripted here: https://github.com/bootstrap-vue-next/bootstrap-vue-next/issues/1331#issuecomment-1696443459

authors: VividLemon alexdohm mediaessenz

repo: bootstrap-vue-next/bootstrap-vue-next


text:
🛑 Hacker News is down

In e70b3af, Hacker News (https://news.ycombinator.com) was down:

HTTP code: 503
Response time: 302 ms

Resolved: Hacker News is back up in 19ace1b after 9 minutes.

repo: borestad/upptime