Simplify tests

@alexcrichton I think there is one bit of tests that could be simplified.
What do you think about writing this
test!(simple {
    pkg("foo", "0.0.1");

    assert_that(cargo_process("install").arg("foo"),
                execs().with_status(0).with_stdout(&format!("\
[UPDATING] registry `[..]`
[DOWNLOADING] foo v0.0.1 (registry file://[..])
[COMPILING] foo v0.0.1 (registry file://[..])
[INSTALLING] {home}[..]bin[..]foo[..]
",
        home = cargo_home().display())));
    assert_that(cargo_home(), has_installed_exe("foo"));

    assert_that(cargo_process("uninstall").arg("foo"),
                execs().with_status(0).with_stdout(&format!("\
[REMOVING] {home}[..]bin[..]foo[..]
",
        home = cargo_home().display())));
    assert_that(cargo_home(), is_not(has_installed_exe("foo")));
});

instead of this
test!(simple {
    pkg("foo", "0.0.1");

    assert_that(cargo_process("install").arg("foo"),
                execs().with_status(0).with_stdout(&format!("\
{updating} registry `[..]`
{downloading} foo v0.0.1 (registry file://[..])
{compiling} foo v0.0.1 (registry file://[..])
{installing} {home}[..]bin[..]foo[..]
",
        updating = UPDATING,
        downloading = DOWNLOADING,
        compiling = COMPILING,
        installing = INSTALLING,
        home = cargo_home().display())));
    assert_that(cargo_home(), has_installed_exe("foo"));

    assert_that(cargo_process("uninstall").arg("foo"),
                execs().with_status(0).with_stdout(&format!("\
{removing} {home}[..]bin[..]foo[..]
",
        removing = REMOVING,
        home = cargo_home().display())));
    assert_that(cargo_home(), is_not(has_installed_exe("foo")));
});

This PR has a proof of concept implementation of this feature applied to a couple of tests.
r? @alexcrichton

Sounds good to me! I like the idea of making these more ergonomic :)

Wanna tackle some more as part of this?

Wanna tackle some more as part of this?

Not sure what did you mean by this :( I want to change all the tests and probably to get rid of those statics and that would be all for this PR. substitute_macros fn does a horrible amount of useless coping, but I it should not matter performance-wise.

Ah yeah that's all I mean, applying this treatment to more tests. And yeah so long as the tests don't take days it's fine by me :)

Ok, I've removed about a third of this formatting constants. I hope to continue this work tomorrow, but it might be a good idea to merge the current work:

it already saves 250 lines of code
it will conflict with basically any other change to tests.

I'd be fine with an incremental approach, but looks like tidy is failing?

but looks like tidy is failing?

Ah, I've just cargo tested it locally, without ./test/check-style.sh. Updated the PR.
And indeed I am afraid that I can introduce a bit of bad formatting, because most changes here are done via regex search/replace (no structural search/replace in IntelliJ-Rust yet :( ). But in my opinion these tests are not exactly beautiful anyway :)

@bors: r+ 29cdad4f98e78e19ac94f479b126ca6c2bfd0276

:hourglass: Testing commit 29cdad4 with merge e3bc030...

:sunny: Test successful - cargo-cross-linux, cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64


throw subclass of RuntimeException if send fails

could you please throw a subclass of RuntimeException in the event a message fails to send? doing this makes it very difficult to distinguish between other RuntimeExceptions that may have been thrown in a larger block of code.
thanks!!

Hey, maybe you could provide a PR to show what you're looking for? Providing unchecked wraps for all the checked exceptions isn't great.
TBH I'd rather just re-write the whole API code to use the Jersey 2 client. What's currently there is pretty nasty.

i like that the library is lean on dependencies, using jersey would pull in a lot of extras.
jodd (http://jodd.org/) is pretty lightweight and offers http and json functionality that you could use and keep dependencies light and small.
i'll see about putting together a PR.

any chance a release could be cut to roll out this fix?

@jgangemi sorry for the delay
<dependency>
  <groupId>net.gpedro.integrations.slack</groupId>
  <artifactId>slack-webhook</artifactId>
  <version>1.1.2</version>
</dependency>


Subtitle and closed caption link

Hi, this looks like it could be a really useful resource, thanks for making it!
Should be an easy issue to fix - the TOC link to Subtitles and Closed Captions doesn't work.

Noticed this as well! I revamped the categories a bit and have approx 80 more links going up this evening. I think any link with a special character somehow. I’ll ensure the up this evening doesn’t have the same issue though!

Fixed!


Returned metrics are inconsistent and average crashes the service

I have the following config:
discovery:
  - region: us-west-2
    type: 'ec2'
    searchTags:
      - Key: 'aws:elasticmapreduce:instance-group-role'
        Value: 'MASTER'
    metrics:
      - name: CPUUtilization
        statistics:
        - 'Average'
        period: 300
        length: 60
      - name: StatusCheckFailed
        statistics:
        - 'Maximum'
        period: 300
        length: 60

My goal is to return all my EMR master nodes and get their CPU Usage as well as if they've had a status check fail.
Whenever I do this a couple of unexpected things happen:

YACE crashes with the following message

2018/10/22 17:27:38 Parse config..
2018/10/22 17:27:38 Startup completed
2018/10/22 17:27:41 Not implemented statisticsAverage

When I change the CPUUtilization statistic to Maximum it doesn't crash but sometimes it only returns one or two instances and sometimes it returns none(instead of 11 instances like I expect).

I've tested with both 0.6.1 and 0.7.0-alpha

Regarding the not implemented average statistics. This is something i can quite easy fix and implement. Will do it probably in the next seven days.
Nevertheless i am unsure why you get different instances after each try.
I will try to implement something into --debug flag which helps to find your error. Will do this on Friday probably.

Thanks. I get the aws_ec2_info lines back with what I expect, its just the individual metrics that aren't coming back for some reason.

@cullenmcdermott - Some metrics on cloudwatch are not exposing values if the value is 0. - They are just nil.
If you want that these metrics are showing just a 0 to make it easy to monitor on them, you can use nilToZero - I added this feature for the case of e.g. elbs which are returning nil in case 0 requests for e.g. 5xx status codes - Check README.md for an example.


Add the nmad metric to dem_mosaic

We already have this in point2dem, and it is helpful (and was requested by a user), to add it to dem_mosaic as well.

Added with a8a076229277eee509ebf7e96dbabb885ac76423


.asar not adding roles to .lsar

I type in .asar Rolename and check to see if it is added by typing in .lsar but I keep getting the message that there are 0 self assignable roles. All of my bots have Managing Roles enabled and are in a higher rank than the role I'm trying to add. What's happening?

works for me


 And I also tried to reinstall XCode and Homebrew package manager.

Nice, rm -rf /usr/local/include/* Also works for me when I have the same issue when run debugger in Goland IDE

This did not solve my problem. I removed /usr/local/include and I am getting the following errors:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/sys/resource.h:214:2: error: unknown type name 'uint64_t'
uint64_t ri_interrupt_wkups;

rm -rf /usr/local/include/* solved the issue I was having trying to install nitime


User CRUD

This PR creates:

GET /users
POST /users
GET /users/:id
PUT /users/:id
DELETE /users/:id

User collection https://www.getpostman.com/collections/518a575088c8431b7bf3

ok thank you @haydarai . i'll fix it later

@dwiajik I've fixed this PR, can you please re-check it once more?

wow it's closed -_-

lol, because it's just minor changes so I thought I'll fix it myself 😂


Made criteria consistent across phases.

Description

Urgency

[ ] Blocker
[ ] High
[ ] Medium

Requirements

Test all commands and procedures.
Build content locally and test for formatting/links.
Add redirects to dcos-website/redirect-files.
Change all affected versions (e.g. 1.7, 1.8, and 1.9).
See the contribution guidelines.

No strong feeling, but feels more consistent.

@joerg84 this content is owned by product and any changes to it must be reviewed by product (Yrieix).

@karlkfi could you review this? I don't have a gh handle of yrieix...

@joerg84 i have messaged yrieix directly.

@joerg84 talked to yrieix and he does not approve of this change. this content is going to be reworked in the near future by product. thanks.


Resolve namespaces in paths independently of 'uses'

In the test fixture:
Grammar:    DataElement 5.1
Namespace:  shr.test
Uses:       shr.core // This shouldn't be needed, but due to bug in importer, it is!

CodeSystem:     FOO = http://foo.org

EntryElement:   SpecialParent
Value:          0..1 string

EntryElement:   SpecialChild
Based on:        SpecialParent
1..1 _Value
0..0 _Entry.Version

Without an import on shr.core, the following error is raised due to an inability to resolve the namespace of SpecialChild's _Entry.Version:
AssertionError: Import Errors: Failed to resolve definition for Version. ERROR_CODE:11013: expected 1 to equal 0

The shr.core import should not be necessarily, as SpecialChild's _Entry.Version should be able to resolve the namespace from the parent element's (_Entry) dependencies.

OBE. No _x type keywords in Grammar 6.x


Alphabetically order the "prov/state" list in README for all countries.

Currently the following four countries' prov lists in the README file are not ordered alphabetically. It will be helpful to have them alphabetically ordered for the users of this library.

India
Brazil
Germany
NewZealand

=================== ========= =============================================================
Country             ISO code  Provinces/States Available
=================== ========= =============================================================
Brazil              BR/BRA    state = AC, AL, AP, AM, BA, CE, DF, ES, GO, MA, MT, MS, MG,
                              PA, PB, PE, PI, RJ, RN, RS, RO, RR, SC, SP, SE, TO
Germany             DE/DEU    prov = BW, BY, BYP, BE, BB, HB, HH, HE, MV, NI, NW, RP, SL,
                              SN, ST, SH, TH
India               IN/IND    prov = AS, SK, CG, KA, GJ, BR, RJ, OD, TN, AP, WB, KL, HR,
                              MH, MP, UP, UK, TN
NewZealand          NZ/NZL    prov = NTL, AUK, TKI, HKB, WGN, MBH, NSN, CAN, STC, WTL,
                              OTA, STL, CIT

I have already implemented this and will send a PR. So, please assign this to me (@sugatoray). Thank you.

Closed through #485 .. thank you! 👍


Application-scoped Argo instance fails to sync when a managed namespace is deleted

Describe the bug
When using an "Application-scoped" argocd (e.g. one that is not scoped to All Namepsaces in a cluster), the GitOps operator dynamically maintains a list of "managed namespaces", which are namespaces that include the argocd.argoproj.io/managed-by label. This list of namespaces gets cached in argocd (Settings > Clusters > "in-cluster" > NAMESPACES). However, if one of these namespaces gets deleted, the operator doesn't seem to notice, and the namespace remains in that list. This breaks both the "CONNECTION STATE" in that cluster config, and also all Sync attempts after the namespace gets deleted. The sync will show errors like <argo service account> does not have <random verb> on <random resource type> in namespace "the-namespace-you-deleted".
To Reproduce
Steps to reproduce the behavior:

Deply an application scoped ArgoCD via the CR:
apiVersion: argoproj.io/v1alpha1
kind: ArgoCD
metadata:
 name: argocd #name of the Argo CD instance
 namespace: foo #namespace where you want to deploy argocd instance
spec:
 server:
   route:
     enabled: true #creates an openshift route to access Argo CD UI

Create two new namespaces and label them
kubectl create namespace to-delete
kubectl label namespace/to-delete argocd.argoproj.io/managed-by=foo
kubectl create namesoace sample-app
kubectl label namespace/sample-app argocd.argoproj.io/managed-by=foo

Delete the first namespace
kubectl delete namepsace/to-delete

Apply an application to second namespace
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: sample-app #app CR name
  namespace: foo #argocd instance namespace
spec:
  destination:
    namespace: sample-app #namespace where app is deployed
    server: 'https://kubernetes.default.svc'
  source:
    path: app
    repoURL: 'https://github.com/redhat-developer/openshift-gitops-getting-started'
    targetRevision: HEAD
  project: default

Observe the following errors:

Continual sync errors under App Conditions for the sample app, complaining of permissions errors for the to-delete namespace

Connection errors under the cluster settings

Expected behavior
The namespace should be deleted from the list of manages namespaces in the cluster settings, and the app should sync successfully.

@shubhamagarwal19 can help us on this :)

Btw.. I have observed this behavior in both v1.2.0 and v1.2.1 of the operater (same instance before and after an upgrade)

https://issues.redhat.com/browse/GITOPS-1521

Upstream issue: https://github.com/argoproj-labs/argocd-operator/issues/478
Upstream PR: https://github.com/argoproj-labs/argocd-operator/pull/479


Boxing

Look at where we can eliminate boxing. (Due to generics, probably there is a lot going on; specialization should be benchmarked too.)

Moved to #11.


Wanted: new maintainer

This project is in need of an active maintainer. Please express if you're interested in working through some of the open PRs, issues, and/or getting a final 2.0 release out.

What needs to be done to push v2 out? The master branch is usable for years (use it everyday - thank @aqw !) - just want to help v2 make it into debian/ubuntu archive :smile:

@lestercheung That's a good question.
 Child shells don't always inherit I read
            bad idea, people will source core.sh, and we don't want to mess with IFS silently
        set it, unset it?
      building lists, don't use space
      make sure quoting passes through to actual ZFS commands, destroy, snapshot, recurseback, etc
      test for all allowed ZFS special characters
    use depth to limit destroy's snapshot list creation
    generate new html
    rename SkipPool, would be an API change
    rename ValidSnapshot to IsZFSNAPSnapshot
    use semi-colons where appropriate, rather than &&

But that's not to say that any of those are actual blockers.
My brain tells me that the concerns I had were:

IFS issues with datasets with spaces in the name (especially dangerous when playing with "destroy"
the language ("would" and "will")
following the above to: concern about whether zfsnap should follow, or break severely, with upstream's syntax. I have never been a fan that zfs destroy -rv dataset deletes without prompting. One must add -n to no-op it. zfsnap inherits this design decision; and I think it should be chnaged to: no-op by default; prompt to delete; add -y to force yes. However, that would be a huge break in expectation for users of zfsnap.
improving the tests further (arguably not a blocker, but always wanted when playing with data)

IMO, these are all decisions for the maintainer. If you're interested in working on this, and making measured decisions that respects users, then I say go for it. :-)

@awq I propose we archive this repository. Do you agree?

@graudeejs Sadly, I agree.
Thanks for having created this software. It's been fun to use and to hack on. I just havn't had the time for a long while now.

I am busy with other stuff, too. libarchive
But I guess we could release version 2.0 - OpenZFS did this yesterday.

I don't believe we should release anything, it's unmaintained. Whoever wants to use it can fork or use latest commit.
Or someone can find my contact info (on my homepage) and take over and move on.

Peter Preeper has been granted write access to repos as he's willing to become maintainer.
Good luck @ppreeper!

how's it going with all @ppreeper ? this project looks a bit stale. Are people using this or another project these days?

I have been pretty busy lately. Some clients have demanded more time, but I am trying to get my dev environment back, especially the vagrant support for the omnios and other os's supported but not on my normal stable of computer systems I have at my disposal.


feat(dojo-lang/macros): get by key macro

related #1431
fixes DOJ-163

I will close this one for now, as it's something that needs to be discussed at design level before attempting a new implementation.
@Doozers if you already are on the Dojo discord, could you reach out to me in a message please? Into the general chat. Thanks a lot for your time and will to contribute.


Revert "Add locale support to school and learner"

This reverts commit a6921f8ce1a1d85dcf79e58615a87b3174b1c13a.
Related to PR https://github.com/SchoolKeep/schoolkeep/pull/3267
[finishes #104730802]
[finishes #104730774]

@stevo is this still needed?

@stevo can this be removed?


[Package] Added DITA OT 4.2.3

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@SuperSandro2000 As you already review my previous PR for dita-ot, could you take a look on the reopened one? :)

@NixOS/nixpkgs-merge-bot merge


test portability

I created a thread on arduino forum

good resource to follow is libhydrogen

the DUE board uses an ARM chip: https://store.arduino.cc/usa/arduino-due


Fix CGL multithreading error

Multithreading tests fail with Err("CGLChoosePixelFormat") error  on a MacBook with a clean macOS sierra install.
It seems that CGLChoosePixelFormat can fail if multiple threads try to open a display connection simultaneously. Fixed the issue adding a static mutex guard.

Well, this is probably ok. Please use a StaticMutex.

Please use a StaticMutex.

It seems to have been removed from the std API, or do I need to use a nightly rust compiler? I'm testing with the latest stable 1.12.0

Hm... You're right, sorry. Can you use .lock().unwrap() instead of just .lock(), handle the error, or mention that you're explicitly ignoring it?

Done!

Thanks!


Android Swipe Bug

Device: Galaxy Note 3
Browser: Default
The first slider don't responds to the swipe gesture, but the sliders change automatically. In other android devices the swipe gesture works just fine.
Does anyone have the same issue, or some advice on how to solve this?
Thanks

There's a significant re-write in the process of browser testing under the v1 branch. If you're able, would you mind trying the new version and let us know how it goes? Keep in mind the classes, CSS and options are quite different, so refer to the readme.md for more info.

1.0 is now released. Please give it a shot and let us know if you still encounter this issue.


Pipe to set-dbamaxmemory not working

Bug Report
General Troubleshooting steps

[x] Verified running the latest release of dbatools?
[x] Verified errors are not related to permissions?
[x] Can duplicate in new/clean PowerShell session (clean = powershell -NoProfile)?

Version Information

Operating System (Name|Version): Windows 10 Enterprise 64-bit | 1709
PowerShell Version: 5.1
SQL Server (Edition|Version): SQL Server Standard/Enterprise 13.0.4466.4

Steps to Reproduce
When using Test-DbaMaxMemory to get RecommendedMB and then using pipe to get the values to Set-DbaMaxMemory you get an error message, see attached picture.
The command I'm running is:
Test-DbaMaxMemory -SqlInstance [instance] | Set-DbaMaxMemory

[x] Attach any screenshots (if possible/allowed)
[ ] Attach logs generated by dbatools (Get-DbatoolsLog)
[ ] Attach output from PowerShell console (if possible/allowed)

Yep, still not working, but worked some time ago...

This ha been fixed 👍 Thank you @ijeb


🦺[Tech Debt] Remove AnnounceView

Goal
Describe the work to be done

The AnnounceView was meant to encourage users to give and email. But, that is not a strategy we are pursuing.
Definition of Done

[x] Remove the view
[x] Test

Noted! @kcw-grunt

Done !


Review of scale-out blog post

https://github.com/ipfs-search/blog/blob/58f87fd413ce5e5b8cea2dfee6664b7da12ed1a8/_drafts/16-04-2022-Scaling-up-the-search.md?plain=1#L14
We never published anything about funding from Filecoin, nor is it clear that we are legally allowed to (see clause 7 of our contract with them. I already asked Aad to go after this.
In order to provide more clarity; we got funding:

From NLNet through NGI0 for the architecture/research to scale from 1 to 5 nodes (~ € 12k) and from 5 to 15 nodes (~ € 12k, again). We executed this around October last year (but were to busy to publish about it, or even claim the money). Feel free to check out our agreement with them.
From Filecoin, for the implementation (of the architecture) from 5 to 15 nodes (~ € 9k, haven't claimed it yet, 95% done), from 15 to 50 nodes (about 40% done, ~ € 24k)  and from 50 to   100 nodes (~ € 48k). Our agreement with them.

Please take a careful look at said agreements to see what exactly we're doing.
https://github.com/ipfs-search/blog/blob/58f87fd413ce5e5b8cea2dfee6664b7da12ed1a8/_drafts/16-04-2022-Scaling-up-the-search.md?plain=1#L17
There is no amount of servers with which we can grow exponentially, if our growth in terms of hits per second or indexing rate (documents per second added to our index) grow exponentially, this automatically implies that the amount of storage capacity and thus servers keeps growing exponentially. The current experiment is for us to learn how to scale our infrastructure (up and until 100 nodes, beyond 100 nodes we will likely have to completely rethink everything).
https://github.com/ipfs-search/blog/blob/58f87fd413ce5e5b8cea2dfee6664b7da12ed1a8/_drafts/16-04-2022-Scaling-up-the-search.md?plain=1#L23
Capacity is not clearly defined here. In this case it's the size of our index. We might also want to mention the amount of documents in our index (and how it scaled over time). The other indicator is the amount of user traffic we can handle (hits/second) and the amount of document we're indexing per second.
Note that, so far, I've focused almost exclusively on the indexing rate, because, frankly, we don't have users (don't tell anyone!).
https://github.com/ipfs-search/blog/blob/58f87fd413ce5e5b8cea2dfee6664b7da12ed1a8/_drafts/16-04-2022-Scaling-up-the-search.md?plain=1#L30
I was talking about reducing our marginal cost, to make it cheaper for us to index more things and serve more users.
https://github.com/ipfs-search/blog/blob/58f87fd413ce5e5b8cea2dfee6664b7da12ed1a8/_drafts/16-04-2022-Scaling-up-the-search.md?plain=1#L32
I don't know what live servers are, in this context.  A live server is a server that's actually working. I think you might mean to say bare metal here. I would definitely encourage you to actually link to resources for any concepts foreign to you, that would definitely make the article more accessible.
https://github.com/ipfs-search/blog/blob/58f87fd413ce5e5b8cea2dfee6664b7da12ed1a8/_drafts/16-04-2022-Scaling-up-the-search.md?plain=1#L35
run -> ran
https://github.com/ipfs-search/blog/blob/58f87fd413ce5e5b8cea2dfee6664b7da12ed1a8/_drafts/16-04-2022-Scaling-up-the-search.md?plain=1#L36
We're indexing files and directories, not pages (though some of the files are websites).
https://github.com/ipfs-search/blog/blob/58f87fd413ce5e5b8cea2dfee6664b7da12ed1a8/_drafts/16-04-2022-Scaling-up-the-search.md?plain=1#L37
Maybe refer to our previous blogpost about the refactor of the crawler (AFAIK, we made such a post, don't 100% remember).
https://github.com/ipfs-search/blog/blob/58f87fd413ce5e5b8cea2dfee6664b7da12ed1a8/_drafts/16-04-2022-Scaling-up-the-search.md?plain=1#L41
Actually, automated deployment is a solution to dealing with multiple servers. Instead of executing a million commands for every server manually, and checking the results, Ansible does this for us. But the architecture, what server does what, and telling that in the correct way to Ansible, was the challenge.
https://github.com/ipfs-search/blog/blob/58f87fd413ce5e5b8cea2dfee6664b7da12ed1a8/_drafts/16-04-2022-Scaling-up-the-search.md?plain=1#L46
have -> had
I think you might also want to mention the term redundancy here
https://github.com/ipfs-search/blog/blob/58f87fd413ce5e5b8cea2dfee6664b7da12ed1a8/_drafts/16-04-2022-Scaling-up-the-search.md?plain=1#L47
In the context of the previous sentence, this suggests that out of 3 servers 2 will perform badly, which of course is none sense. Let's refer back to my example; if a company has 3 cars, most of them will be running most of the time and only occasionally one of them is in the garage (unless in PT, where most of them will be in the garage most of the time). Now, if the company has 30 cars, it is very common that there are always 2 or 3 in the garage (just different ones, of course). Now, to stretch this analogy, if those cars are doing package delivery of very important deliveries that are so big they cannot be carried by a single car, to avoid the risk of the delivery not arriving completely, we would send the delivery 2 or even 3 times, spread over multiple cars, so that it is extremely unlikely that the 2 or 3 cars which are unavailable prevent the package delivery. Of course, where the metaphor breaks is that it is easy to copy data whereas in the physical world it's expensive to copy delivered articles.
https://github.com/ipfs-search/blog/blob/main/_drafts/16-04-2022-Scaling-up-the-search.md?plain=1#L48
Just to give some clarification; the master nodes take care of  deciding which shards (parts) of our data go to which servers, and making sure the servers know about each other. More background: https://opster.com/guides/elasticsearch/data-structuring/elasticsearch-dedicated-master-node/
https://github.com/ipfs-search/blog/blob/58f87fd413ce5e5b8cea2dfee6664b7da12ed1a8/_drafts/16-04-2022-Scaling-up-the-search.md?plain=1#L51
This is really clear!
https://github.com/ipfs-search/blog/blob/58f87fd413ce5e5b8cea2dfee6664b7da12ed1a8/_drafts/16-04-2022-Scaling-up-the-search.md?plain=1#L52
I would suggest explicitly telling that initially we were indexing 1 document at a time and that this proved to be problematic because the amount of coordination (what data lives where, etc.) increased as we scaled up our cluster. So explaining the transition.
https://github.com/ipfs-search/blog/blob/58f87fd413ce5e5b8cea2dfee6664b7da12ed1a8/_drafts/16-04-2022-Scaling-up-the-search.md?plain=1#L53
There's 2 types of redundancy, one of the service (are we always online) and one of the data (making sure we don't loose it, including backups etc.).
Lastly, there's my previous feedback (from the email) regarding the images:
"please note that the graphs are on different timescales, and that the ‘ES nodes’ starts with 3 nodes going to 30 whereas the schema’s for architecture are those for 1 and 3 nodes. I haven’t read the article so it might be intentional, just to make you aware."

hej, thanks a lot, I am moving my article to notion now.


value_t*! macros don't color output on error

There's not a clean way to do this without manually putting in ansi codes...which I'd like to avoid. Closing for now.


[Java client] Fix tb_client_release_packet usage.

The flaky test was indeed a bug:
The request's tb_packet_t was released by the background thread after notifying the application thread about the completion.
In most cases, it worked seamlessly, but under heavy contention (i.e tasks_qty == concurrency_max), it was possible for a request to finish and the immediately next one to fail with ConcurrencyMaxExceeded, because the background thread was still holding the packet that should have been released when the previous request completed.
~The fix was to expose release to the Java side, to be called by the JVM thread just before signaling completion.~
The fix was to change the responsibility of copying and releasing the packet to the JNI side. Java's side endRequest now deals with JVM-owned memory only.
Other minor non-related changes:

Reduce the number of iterations EchoTest processes.

Improve the way some tests expect an exception.

Improve comments.

I had to update the submodule jui to fix a simple typo and now our lint may fail due to zig fmt divergences between the zig version used by both repos.
I think it's time to strip out just the parts we use and merge into our repo.

Finally, it's passing CI tests 🎉

Thanks @cb22 for cleaning the self-hosted runner and solving the submodule drama!

Random CI timeouts were due to insufficient memory on Windows runners, after #790. The Maven test itself consumes >2GB of RAM, making the tests impossible to run in 20 minutes.
Setting --cache-grid=128MB for integration tests fixed the issue.

Still there's a flaky Go test here, not the focus of this PR.

cc @matklad

Thanks @matklad for the detailed review 🏆


How do I reading 3 decimal places result?

Hi, I would like to find how to read the result of weight by 3 decimal places (now 2). Anybody can help me?

Hi!
Floats prints with 2 decimals as default, you can change it to 3 decimals like this: Serial.println(i, 3);

Thank you, olkal.


Expose notification endpoint

Codecov Report

Merging #10 into master will increase coverage by 32.34%.
The diff coverage is 90.9%.

@@             Coverage Diff             @@
##           master      #10       +/-   ##
===========================================
+ Coverage   39.39%   71.73%   +32.34%
===========================================
  Files           4        6        +2
  Lines          33       46       +13
===========================================
+ Hits           13       33       +20
+ Misses         20       13        -7

Impacted Files
Coverage Δ

deeploy/app.py
100% <100%> (+100%)
:arrow_up:

deeploy/handle_request.py
87.5% <87.5%> (ø)

deeploy/parseRequest/__init__.py
100% <0%> (ø)

deeploy/middlewares/json_parser.py
33.33% <0%> (+33.33%)
:arrow_up:

deeploy/middlewares/__init__.py
100% <0%> (+100%)
:arrow_up:

Continue to review full report at Codecov.

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


Investigate testing booting RPi3 from USB

@agherzan believes booting RPi3 is not currently tested before releasing

[xginn8] This issue has attached support thread https://jel.ly.fish/#/support-thread~3547489e-5776-49ca-9cf0-77b96212ae1e


Trying to create a GroupScene and getting exception

Hi there,
I am trying to create a GroupScene and am getting an exception:

I assumed from the Phillips docs, that would be all I need to pass:

Can you please advise what I am missing?
Thanks :)
Guy
PS. Creating LightScenes like this works fine:

Thanks, that was a bug. Fixed in version 3.15.5, now on NuGet!

That worked. Thank you very much for the quick fix!! :)


No module named 'petals'

==> started with lollms_v6_cpu.exe
==> 3 x permisson error when creating shortcuts to the desktop
==> then this from the console:
Bindings zoo found in your personal space.
Pulling last personalities zoo
fatal: not a git repository (or any of the parent directories): .git
Personalities zoo found in your personal space.
Pulling last personalities zoo
fatal: not a git repository (or any of the parent directories): .git
Extensions zoo found in your personal space.
Pulling last Extensions zoo
fatal: not a git repository (or any of the parent directories): .git
Qlora found in your personal space.
Pulling last qlora code
fatal: cannot change to 'D:\LoLLMs_webUI\lollms-webui\personal_data\trainers\gptqlora': No such file or directory

Loading binding c_transformers. Please wait ...
Binding c_transformers loaded successfully.
No model selected
Personality  lollms mounted successfully but no model is selected
Checking discussions database... ok
Your personal data is stored here :D:\LoLLMs_webUI\lollms-webui\personal_data
Checking for updates from D:\LoLLMs_webUI\lollms-webui
debug mode:false
Please open your browser and go to http://localhost:9600 to view the ui

Serving Flask app 'Lollms-WebUI'
Debug mode: off
Client ipx-imaGk-pEEEqSAAAB connected
Lollms webui version : 6.5
Listing models

==> webserver up and running, trying binding zoo to install petals
then we get the uvloop error, but the installation reports as installed
it reports that a model is loaded
Collecting uvloop>=0.14.0 (from hivemind==1.1.10.post2->petals==2.2.0)
Using cached uvloop-0.17.0.tar.gz (2.3 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "D:\LoLLMs_webUI\installer_files\temp\pip-install-lwib385_\uvloop_44a06195732f4378a440654d16dec5da\setup.py", line 8, in
raise RuntimeError('uvloop does not support Windows at the moment')
RuntimeError: uvloop does not support Windows at the moment
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Installed successfully
Model loaded successfully
Configuration binding_name updated
Requested updating of setting model_name to None
Trying to set a None model. Please select a model for the binding
update_settings : New model selected
Configuration model_name updated
Listing models
Models:
[{'category': 'generic', 'datasets': 'unknown', 'icon': '', 'last_commit_time': datetime.datetime(2023, 9, 17, 17, 21, 17, tzinfo=datetime.timezone.utc), 'license': 'llama2', 'model_creator': 'bigscience', 'model_creator_link': 'https://huggingface.co/bigscience', 'name': 'petals-team/StableBeluga2', 'quantizer': 'None', 'rank':<PHONE_NUMBER>0.0, 'type': 'gptq', 'model_type': 'api', 'variants': [{'name': 'StableBeluga2', 'size':<PHONE_NUMBER>4}]}]
==> then i goto http://localhost:9600/settings/ to apply changes
configuration saved successfully
==> then i goto the models tab to select petals with stable beluga
it tries to load it, but fails and in the command prompt i see this:
OK
╔══════════════════════════════════════════════════╗
║           Building mounted Personalities         ║
╚══════════════════════════════════════════════════╝

generic/lollms
selected : 0
╔══════════════════════════════════════════════════╗
║                      Done                        ║
╚══════════════════════════════════════════════════╝
Requested updating of setting model_name to petals-team/StableBeluga2
Couldn't load model: [No module named 'petals']
Traceback (most recent call last):
File "D:\LoLLMs_webUI\lollms-webui\app.py", line 793, in update_setting
self.model = self.binding.build_model()
File "D:\LoLLMs_webUI\lollms-webui\personal_data\bindings_zoo\bs_petals_init_.py", line 120, in build_model
from petals import AutoDistributedModelForCausalLM
ModuleNotFoundError: No module named 'petals'

==> trying to restart backend, maybe then it picks up on what it installed?
==> trying to start a discussion, doesnt work, says i need to select a model
==> Model changed to petals-team/StableBeluga2 (frontend)
==> typing a message in a new discussion
Model not selected. Please select a model (webui)
Requested updating of setting model_name to petals-team/StableBeluga2
Couldn't load model: [No module named 'petals']
Traceback (most recent call last):
File "D:\LoLLMs_webUI\lollms-webui\app.py", line 793, in update_setting
self.model = self.binding.build_model()
File "D:\LoLLMs_webUI\lollms-webui\personal_data\bindings_zoo\bs_petals_init_.py", line 120, in build_model
from petals import AutoDistributedModelForCausalLM
ModuleNotFoundError: No module named 'petals'
==> (that was from the console/command prompt)
lets try to update the backend from the webui
╔══════════════════════════════════════════════════╗
║                Updating backend                  ║
╚══════════════════════════════════════════════════╝
Traceback (most recent call last):
File "D:\LoLLMs_webUI\lollms-webui\update_script.py", line 48, in
main()
File "D:\LoLLMs_webUI\lollms-webui\update_script.py", line 30, in main
run_git_pull()
File "D:\LoLLMs_webUI\lollms-webui\update_script.py", line 10, in run_git_pull
repo = git.Repo(".")
File "D:\LoLLMs_webUI\installer_files\lollms_env\lib\site-packages\git\repo\base.py", line 266, in init
raise InvalidGitRepositoryError(epath)
git.exc.InvalidGitRepositoryError: D:\LoLLMs_webUI\lollms-webui
==> trying to reinstall petals bindings from binding zoo, doesnt work
end result: model not loaded
== a few days ago, i tried to use a user input field to search something, and 90% of the body blanked out. so many bugs (for me)

Hi, if you want to install petals you need to use the petals installer it is the other exe.
petals uses uvloop which is a library that doesn't support windows :(
So the only way is to use the special installer. It installs ubuntu on windows through WSL then you can run petals.
Best regards


Do not wait when there is not log entry.

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
For changelog. Remove if this is non-significant change.
Category (leave one):

Bug Fix

Short description (up to few sentences):
https://github.com/yandex/ClickHouse/issues/3611
Empty ReplicatedMergeTree table breaks optimize final.
Detailed description (optional):
...

A test?

updated. Not sure if this fixes the original issue but at least it covers what @den-crane had reproduced.

Ok.
PS. It seems difficult to provide a good test.
(Integration test is possible but not worth.)

oops, do you mind revert this. I just pushed a refinement...


inlineKeyboard not working

I am trying to implement an inlineKeyboard  in my Telegram bot, but keep getting following error:

TelegramError: sendMessage failed: Bad Request: field "inline_keyboard" of the InlineKeyboardMarkup should be an Array of Arrays

I have tried with the example you provided in the docs, but keep getting the same error.
// People who are allowed to manipulate the volume
var ALLOWED_SENDERS = [ 8951984, 5091503, ... ];

bot.command("volumeknob", function (msg, reply, next) {
  reply.inlineKeyboard([
    { text: "↑  Turn up", data: JSON.stringify({ type: "volume", direction: true }) },
    { text: "↓  Turn down", data: JSON.stringify({ type: "volume", direction: false }) },
  ]);
  reply.text("Use the buttons below to modify the volume:");
});

bot.callback(function (query, next) {
  // Try to parse payload data as JSON. If we succeed, and `type` is set
  // to "volume" then the query is for us.
  var data;
  try {
    data = JSON.parse(query.data);
  } catch (e) {
    return next();
  }
  if (data.type !== "volume")
    return next();

  // Check sender is in whitelist
  if (ALLOWED_SENDERS.indexOf(query.from.id) === -1)
    return query.answer({ text: "Permission denied." });

  // Turn volume up or down
  if (data.direction) {
    system.volumeUp();
    query.answer();
  } else {
    system.volumeDown();
    query.answer();
  }
});

Hello,
just as the message says, the inline keyboard should be an Array of Arrays. Each array is a row of the keyboard with the corresponding buttons. Try i.e. this:
reply.inlineKeyboard(
  [
    [
      { text: "Turn up" },
      { text: "Turn down" }
    ],

    [
      { text: "Exit" },
      { text: "Reset" },
      { text: "Mute" }
    ]
  ]
);

Sorry about the example, there was a typo in it (it's pseudocode so I didn't check it extensively). The correct code should be an array with one row:
  reply.inlineKeyboard([ [
    { text: "↑  Turn up", data: JSON.stringify({ type: "volume", direction: true }) },
    { text: "↓  Turn down", data: JSON.stringify({ type: "volume", direction: false }) },
  ] ]);

instead of
  reply.inlineKeyboard([
    { text: "↑  Turn up", data: JSON.stringify({ type: "volume", direction: true }) },
    { text: "↓  Turn down", data: JSON.stringify({ type: "volume", direction: false }) },
  ]);

I'll correct that typo and add examples of inlineKeyboard

I was use this code:
reply.inlineKeyboard([ [     { text: "↑  Turn up", data: JSON.stringify({ type: "volume", direction: true }) },     { text: "↓  Turn down", data: JSON.stringify({ type: "volume", direction: false }) },   ] ]);
but there is error : TelegramError: sendMessage failed: Bad Request: can't parse inline keyboard button: Text buttons are unallowed in the inline keyboard

Whooops, again my bad. It was callback_data instead of data. I have corrected the example code in the docs, it should work now.
I've also added a functional delete_echo.js example, you can look at it as well.

Thanks, it works

Closing issue, then.
By the way, I added the actions.js example which also uses inline keyboards.


Fix some CRD fields

Make AnsibleSSHPrivateKeySecret Required
Remove NetworkAttachments from multiple places
Remove DeploymentSSHSecret which is now defaulted from samples

recheck


What commit was the apk built using?

❓ General Questions
@cyx-6 hello.
What was the original commit that was used to build the apk for android that ran the vicuna?
Somewhere in a commit/update, the android version stopped being able to initiate chat and the buttons stopped working.  But 1 of the commits had to have the secret sauce that allowed vicuna to run on a android mobile.
Please help

Hi @Lucyan11, thanks for reaching out. Actually, our Android APK released is kinda outdated. And we shall release a new version soon, and bring more information in release. :)

BAM!!!
Galaxy A52 5g running red pajama from source build!!!

So awesome!!!

@BarfingLemurs Yes, we shall integrate this update in new released apk.


Add /admin related migrations

Bringing up docker after making the migration:
backend-1   | 14:57:23 INFO Startup time:<PHONE_NUMBER>
backend-1   | Operations to perform:
backend-1   |   Apply all migrations: admin, auth, contenttypes, coreapp, sessions
backend-1   | Running migrations:
backend-1   |   Applying coreapp.0051_alter_compilerconfig_diff_flags_and_more... OK

:ok:


Fix SIL verification of findAccessedStorage for address phis.

The SIL verifier was asserting while attempting to prove that all
formal accesses are well-formed. This is necessary because
unrecognized access could lead to invalid whole-module optimization.
We would like to eliminate address-phis from SIL, but there are still
optimizer passes that produce them. For now, the best we can do is
hope to recover the original base of each phi value and prove they are
actually the same value. They should be because the optimizer
produced the phi through block cloning.
Fixes rdar://problem/46114512 SIL verification failed: Unknown
formal access pattern: storage

@swift-ci test.

@swift-ci test source compatibility.


Done in 0.66s.
~/src/minter
Environment: dev-sandbox
Docker stack: minter-dev-sandbox
Project root dir: /home/arthurb/src/minter
Sending build context to Docker daemon  7.168kB
Step 1/4 : FROM bash:4.4.12
 ---> 2c3838775cf0
Step 2/4 : MAINTAINER Cosmin Titei
 ---> Using cache
 ---> 75a804517c9c
Step 3/4 : RUN apk add --no-cache curl
 ---> Using cache
 ---> 510560cd19dc
Step 4/4 : CMD ["bash"]
 ---> Using cache
 ---> dfac2cc1fe6a
Successfully built dfac2cc1fe6a
Successfully tagged bashcurl:latest
error checking context: 'can't stat '/home/arthurb/src/minter/.pgdata''.
error Command failed with exit code 1.

Seems related to https://github.com/docker/for-linux/issues/380 - if you stop you system (yarn stop:<network>), you can run a script that will wipe local sandbox data including the .pgdata directory: bin/reset --confirm

problem persists after running bin/reset --confirm

sudo bin/reset --confirm works, but it's undocumented and a strange step to suggest.


No wifi after reflashing GammaOS RG 405V

I saw the videos detailing how GammaOS would be the go to software to use for the 405V so after flashing the firmware over to the device and starting it up I came across an issue where there were no wifi networks available to connect to during the set up process for GammaOS. Thinking I downloaded something wrong like the wrong firmware, I unbricked the device, verified that the wifi works just fine on the stock OS, and re-flashed over the proper software. Again when on Set Up it's infinitely searching for WIFI networks. I can't download any emulators off Gamma or utilize any of the online apps, so it was kind of a big bust.
Is there a work around for this? I've tried turning off the private DRN option with no luck, and tried using the command prompt to do it too but still nothing. I just got this thing from Anbernic not 3 days ago and I was hoping to use this software. Otherwise I'm going to have to go back to Retroarch.

https://github.com/TheGammaSqueeze/GammaOS/issues/89#issuecomment-1773807115

#89 (comment)

I didn't download the 405M firmware though I specifically downloaded the 405V so this doesn't make any sense to me unless the download links are just straight up incorrect.

I am having this same issue, flashed with Gamma 405v and Gamma 405v Lite, neither one will see Wifi.
Used the Unbricker with Firmware 1.23.pac to restore and try each time.

I have the same problem. I downloaded the RG405V firmware for the RG405V and the same thing.

https://github.com/TheGammaSqueeze/GammaOS/issues/167#issuecomment-2130061521
See the above
On Sun, 26 May 2024, 19:42 Don4vi, @.***> wrote:

I have the same problem. I downloaded the RG405V firmware for the RG405V
and the same thing.
—
Reply to this email directly, view it on GitHub
https://github.com/TheGammaSqueeze/GammaOS/issues/164#issuecomment-2132342007,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3ZOUJXZPH3GA6DUOX6J3YDZEIUJDAVCNFSM6AAAAABGMVYPQKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZSGM2DEMBQG4
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Thank you very much for the reply. I have tried the unbricker method twice but the same problem continues. With the original OS I can scan Wi-Fi networks, but not with GammaOS. I've had the 405V for a week. I don't know if this is related to the problem of being too new.


Stress test cases

Documentation issue

multiple deployments, expand the number of copies multiple times to see if the final steady state of the automatically expanded ippool is correct

#905
#904


Final Changes to 3.6 and 3.7

Added buttons that reveal the answers on our homework to be able to check answers! (Our unique addition to style)/
Fixed any small issues and improved content.

This branch has conflicts that must be resolved
Use the web editor or the  to resolve conflicts.
Conflicting files
_includes/nav/csp_units/csp_unit3_p3_fundamentals.html


⚠ Bofrost.at has degraded performance

In e1a0a31, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1646 ms

Resolved: Bofrost.at performance has improved in ddcbf9a.


Risengrød

Risengrød is part of the Nordic Christmas tradition as a dinner dish. Rice boiled with milk and a little sugar to form porridge. It is served warm with butter and cinnamon mixed with sugar.

I think it's called Rice Pudding in english. Alternatively "Traditional Norwegian Rice Pudding".


Create a null authentication on Scigateway

Get IMS plugins working in scigateway
Create a null authentication on scigatway  as IMS MVP doesn't require users
https://github.com/ral-facilities/scigateway/tree/develop/src/authentication

I believe this is closed as of ral-facilities/scigateway#1317 getting merged


Added macclesfield college

Added macclesfield college
Site link: https://macclesfield.ac.uk/

@b0ssbota First stage of verification passed, official domain is macclesfield.ac.uk as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@b0ssbota Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Update Humbledata signup deadline

Update the application deadline on the website from July 3rd to July 10th.

Apparently it is merged, but @laisbsc you can open another PR to change this: https://github.com/EuroPython/website/pull/352/files#diff-fab1501e38f5f2650bd1f8efc1b14f0990299afefa1a4025712045ba71d3ed2aR41 to 10th as well


847 - Hard Delete Booking

This adds an endpoint at DELETE /internal/booking/{booking id} that can only be called from localhost.
This will delete the Booking and all dependent entities such as arrivals, nonarrivals, extensions etc.

 Script to hard delete a booking


Add -o control=/path/to/control.sock option

again, stopping the listener times out, like before:

https://github.com/glensc/plex-fuse/pull/79#issuecomment-1974163378

I'm suspecting threading being. the problem


When connecting to ewelink an error occured during HTTP login

What issue do you have? Please be as thorough and explicit as possible.
When connecting to ewelink an error occured during HTTP login.
Whenever I try to connect to my eWeLink account, logs show [eWeLink] An error occurred during http login().
I had I working until friday, but Hoobs started acting weird and I updated all my plugins. Since I have a Raspberry Pi Zero W, I can't use the latest plugings (node.js and Hoobs version problems). Therefore I completely reinstaled Hoobs v3.3.12 and my old plugings.
Now I can't log on my eWeLink account.
Here is my configuration:
    "platforms": [
        {
            "mode": "lan",
            "multiDevices": [
                {
                    "ipAddress": "<IP_ADDRESS>",
                    "hideChannels": "0",
                    "deviceModel": "t",
                    "label": "Sala",
                    "deviceId": "100*****58"
                },
                {
                    "ipAddress": "<IP_ADDRESS>",
                    "hideChannels": "0",
                    "deviceModel": "t",
                    "label": "Cozinha",
                    "deviceId": "100*****32"
                }
            ],
            "password": "*****",
            "platform": "eWeLink",
            "name": "eWeLink",
            "plugin_map": {
                "plugin_name": "homebridge-ewelink"
            },
            "username": "*****",
            "language": "en"
        }

Details of your setup.
HOOBS v3.3.12 on a raspberry pi zero W

Which version of Homebridge/HOOBS do you have?
HOOBS v3.3.12
Node 12.19.0

Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Raspberry Pi Zero W
Node 12.19.0

Which version of this plugin (homebridge-ewelink) do you have? Has the issue started since upgrading from a previous version?
I have to use 8.15 since it is the latest to support my Raspberry Pi Zero on HOOBS 3 + Node 12

Which eWeLink devices do you have that are causing issues? Please include product models if applicable.
[eWeLink] An error occurred during http login().

Please paste any relevant logs below.
7/25/2022, 9:29:57 AM [7/25/2022, 9:29:57 AM] The plugin "homebridge-ewelink" requires Node.js version of ^14.19.1 || ^16.15.0 which does not satisfy the current Node.js version of v12.19.0. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF
7/25/2022, 9:29:57 AM Loaded plugin 'homebridge-ewelink'
7/25/2022, 9:29:57 AM [7/25/2022, 9:29:57 AM] Registering platform 'homebridge-ewelink.eWeLink'
7/25/2022, 9:29:58 AM Loaded plugin 'homebridge-sensibo-ac'
7/25/2022, 9:29:58 AM [7/25/2022, 9:29:58 AM] Registering platform 'homebridge-sensibo-ac.SensiboAC'
7/25/2022, 9:29:58 AM [7/25/2022, 9:29:58 AM] The plugin "homebridge-webos-tv" requires Node.js version of >=16.0.0 which does not satisfy the current Node.js version of v12.19.0. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF
7/25/2022, 9:29:58 AM Loaded plugin 'homebridge-webos-tv'
7/25/2022, 9:29:58 AM [7/25/2022, 9:29:58 AM] Registering platform 'homebridge-webos-tv.webostv'
7/25/2022, 9:29:58 AM Loading 3 platforms...
7/25/2022, 9:29:58 AM [SensiboAC] Initializing SensiboAC platform...
7/25/2022, 9:29:58 AM [webostv] Initializing webostv platform...
7/25/2022, 9:29:58 AM [eWeLink] Initializing eWeLink platform...
7/25/2022, 9:29:58 AM [eWeLink] Initialising plugin v8.15.0 | System linux | Node v12.19.0 | HB v1.5.0 | HAPNodeJS v0.10.2 | HOOBS v3...
7/25/2022, 9:29:58 AM [webostv] Init - initializing devices
7/25/2022, 9:29:58 AM [webostv] [Tevelisão] Init - got TV configuration, initializing device with name: Tevelisão
7/25/2022, 9:29:59 AM [eWeLink] Plugin initialised. Setting up accessories....
7/25/2022, 9:30:00 AM Tevelisão 61C6 is running on port 36523.
7/25/2022, 9:30:00 AM Please add [Tevelisão 61C6] manually in Home app. Setup Code: 031-22-021
7/25/2022, 9:30:00 AM Bridge is running on port 51826.
7/25/2022, 9:30:02 AM [eWeLink] Sending HTTP login() request.
7/25/2022, 9:30:06 AM [eWeLink] An error occurred during http login().
7/25/2022, 9:30:06 AM [eWeLink] ***** Disabling plugin. *****

Hi @Niklas31
Due to recent ewelink changes the only version of the plugin that works now is >=10
This also means the minimum node version required is 14.

You could look into installing this fork of the plugin by @0chil
https://github.com/bwp91/homebridge-ewelink/issues/385#issuecomment-1179642706
but how to install this on hoobs 3 i wouldn’t know.
The plugin only now supports hoobs 4.


Frame didn't arrive within 5000 - With two camera | c# D435

Hello everybody,
Since I'm using the D435 camera I'm encountering a problem. I use a configuration with two D435 cameras on the same pc. I use a DLL that I created to create the pipeline and the ProcessingBlock to apply filter. I identifying cameras with their serial number. But on one of the applications I have an error message that appears after a while. And before it crashes I see the image freezes a little bit from time to time, then once it appeared once it freezes even more and the message comes back regularly. The message is the following, the important part it's "Frame didn't arrived within 5000", before it's my message :

I tried to change the camera, change the usb cable, change the computer, nothing help. What surprises me is that in the application that crashes I removed absolutely all my code and it crashes anyway. The code just displays the stream video now. And I use exactly the same method for the other application and I have no problem.
Someone have any idea why I have my camera crashing?
Thanks a lot

@tchenus Could you please share your code snippet? Also could you please provide below information? Thanks!

Required Info

Camera Model
{ R200 / F200 / SR300 / ZR300 / D400 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ legacy / 2.. }

Language
{C/C#/labview/nodejs/opencv/pcl/python/unity }

Segment
{Robot/Smartphone/VR/AR/others }

@tchenus Could you please provide more information as previous list so that we can further support on this? Thanks!

@tchenus Could you please update? Thanks!

@tchenus Did you still need support on this? Please notice that we'll close it if no further update from your side for another 7 days. Thanks!

@tchenus Sorry we didn't hear from your for weeks. Will close it at this point. Please feel free to create new one if you still have any other questions or issues. Thanks!


link-updater: update repository links

🔄 Link Updates
📊 Summary

Total updates: 14 links
Files modified: 2 files

📝 Changes by File
📄 donate.js

View 2 changes

Original
Updated

https://github.com/sponsors/imavikshan
https://github.com/iamvikshan/mochi

https://github.com/sponsors/imavikshan
https://github.com/iamvikshan/mochi

📄 README.md

View 12 changes

Original
Updated

https://github.com/imavikshan/mochi
https://github.com/iamvikshan/mochi

https://github.com/imavikshan/mochi/issues
https://github.com/iamvikshan/mochi/issues

https://github.com/imavikshan/mochi/issues
https://github.com/iamvikshan/mochi/issues

https://github.com/imavikshan/mochi
https://github.com/iamvikshan/mochi

https://github.com/imavikshan/mochi.git
https://github.com/iamvikshan/mochi

https://github.com/imavikshan/mochi
https://github.com/iamvikshan/mochi

https://github.com/imavikshan/mochi/pulls
https://github.com/iamvikshan/mochi/pulls

https://github.com/imavikshan/mochi/graphs/contributors
https://github.com/iamvikshan/mochi/graphs/contributors

https://github.com/imavikshan/mochi/network/members
https://github.com/iamvikshan/mochi/network/members

https://github.com/imavikshan/mochi/stargazers
https://github.com/iamvikshan/mochi/stargazers

https://github.com/imavikshan/mochi/issues
https://github.com/iamvikshan/mochi/issues

https://github.com/imavikshan/mochi/blob/master/LICENSE
https://github.com/iamvikshan/mochi/blob/master/LICENSE

🤖 This PR was automatically generated by the Link Updater.

Summary by CodeRabbit

Documentation

Updated all project URLs in the README to reflect the new GitHub username.

Bug Fixes

Corrected the "Sponsor on GitHub" button URL in the donation feature.

🎉 This PR is included in version 1.0.0


IdentityServer4.AccessTokenValidation with Authority in the same project

Is your feature request related to a problem? Please describe.
One goal for our system is to make deployments to new production servers as simple a process as humanly possible.
Describe the solution you'd like
We want to embed an instance of IdentityServer4 in the same project as the API we wish to protect. In this setup the "Authority" URI for access token validation is the same URI as the API itself by default. How can we configure this automatically in Startup.cs without requiring that whoever is deploying the system should also manually specify the host URI in a configuration variable?
Describe alternatives you've considered
I looked into ways of programmatically retrieving the host URI inside Startup.cs (in order to configure it as the Authority for access token validation), but so far I couldn't find a reliable way to do that.
Help is greatly appreciated,
Yours,

Have a look what Microsoft is doing with their new IdentityServer integration. This is exactly what you want.

Thanks for your reply,
Yes! We just found out that ASP.NET Core 2.2 is shipping soon with exactly the feature we need. This is good news.

They didn't ship that feature after all :/

They didn't ship that feature after all

It will be included in an out-of-band release after 2.2 (along with the updates to VS for the templates) // @blowdart


Add cold -> :snowflake: emoji reaction

Add cold -> :snowflake: emoji reaction.
Making this PR so that scrappy can be redeployed once merged. Perhaps redeploying may fix the current issues in #scrapbook? I'm not sure.

Yay it worked. Scrappy is working again. 🗑


Create Test Function to Compare Unsorted Sequences

Nosetests fail if the sort order of the tables are different (which is common with hash joins). It's easy to recreate by simply changing the keys in a table to strings (e.g., 'one', 'two', etc.)
This affects all of the tests.
Should likely extend the nose test helpers to include some test similar to assertItemsEqual() (Py 2.x) or assertCountEqual() (Py 3.2+), wherein the test passes IFF all items are present in both sequences, regardless of sort order.
Once this functionality is added, we'll want to retrofit a lot of the existing unittests.

Thanks Roger. I remember hitting this once before in the _test_rightjoin_multiple() test, the workaround I put in at the time was to sort both the expected and actual tables with the petl sort() function before comparing with ieq. Using sort() like this would be another option.

I'm working on this.
I like the sort() approach - definitely easier to implement, and could easily wrap the call in a helper function (to handle lists vs. tuples).
@alimanfoo - I'm thinking of utilizing a single function that sorts and compares, but takes an optional argument to disallow sorting (to test methods where order does matter, e.g. petl.transform.sorts.sort).  Any objections to that approach?
In a sense, tests could stay as they are, but ieq is extended to handle the sorting and optional parameter.  Then we'd just need to refit the tests where order matters to include the optional parameter.

One possible problem arises - since ieq() utilizes iterators (izip_longest), sorting will force computation of the tables and eliminate the benefits of the iterators.
Options:

Ignore this problem, as the test cases are all small tables anyway, so little is gained from use of iterators
Create another function (or add a param to ieq) that does not use iterators, then refactor tests where order might affect outcome to utilize the non-iterator test.

@alimanfoo - any preference for the approach?

Hi @rogerkwoodley, couple of thoughts...
I'd rather not modify ieq(), this function operates at a lower level to test equality of iterables, and so is not aware of what type of iterables it is comparing. Also lots of existing tests depend on the fact that this function only iterates once, and we shouldn't change that. I think it would be better to create a higher level test function like assert_tables_equal which takes a param like 'sort' to control whether tables are sorted prior to comparison.
Also, I'd prefer to restrict any changes to just the test_joins module. I'd like to avoid doing anything that might modify the semantics of any of the tests in other modules, even if not intended.
Thanks.


Add Heroku Deployment Support

Fixed! worked for me!

@xhendrikg what are you talking about ? it's here https://github.com/dgtlmoon/changedetection.io/blob/master/heroku.yml


using the alternative outfit models?

For both male and female genders, this repo contains 4 personas with models, animations and textures.
It also contains, for both genders, a subfolder called 'alt_outfits' with hoodie/polo/tshirt models and textures.
How do we use those though? if i open the cristina model, it contains clothing and head etc but if i open the alternative hoodie model, it just contain the clothing. What are we supposed to merge both to dress her with that alternative outfit?

Thanks in advance.

Hey @mikaelwozniak, in order to use the assets in the alt_outfits folder you would need to manually swap out the desired assets with the ones currently on the characters (in a DCC software) and export/use the result.


DRAFT: Update Google Analytics Key for OS Hub

Update Analytics Key for OS Hub.
Consider updating to Google Analytics 4 since Google Google Analytics Universal Analytics tag is going to be deprecated next year.

We do have one set up for OS Hub. Property ID: 320730191. Is there any specific code or info you need?

@hlennett the value we need might be called Tracking ID in google analytics? it starts with UA-, followed by a string of numbers. Thanks!

How this: G-PFQY2JR2KH. I think with GA-4 the format may have changed.

Thanks, I'll give it a try!

@TaiWilkin here are the measurement IDs for each site:
OS Hub info: G-3N9248MR8P
OS Hub prod: G-GSLW5DLZQY
OS Hub staging: G-GS2XMYGRN9


tizen-platform-wrapper: fix resource leak

'sum' is free'd when it is not in use anymore
Signed-off-by: Imran Zaman<EMAIL_ADDRESS>

upstream patch: https://review.tizen.org/gerrit/47754

As the guilty author, I'd like to say that in principle tools aren't daemon and this tool is run one time in construction and it exits on error thus .... the problem is smaller than an electro.
Also why to release any memory when you exit? Why closing files? It isn't need in most cases. Only cases with side effect might need some clean up but frankly it is a lake of design. In theory any interdependent process should be aware that other processes can be defective.

in fact there is an organized leak in tizen-config but it is elsewhere and it is a shame. At first I implemented a scratch only buffer but most programmers dont understand the use of a global buffer so that unleaked implementation was removed. Nota bene that the scratch could have been set by thread using thread variables.

@pohly done.. thanks for reminder

@izaman: my comment was about the 0001-fix-resource-leak.patch file, not about the commit message for IoT OS. What's pending is that patch, not the meta-intel-iot-security change. Can you move it there?
@jobol: can you help getting  https://review.tizen.org/gerrit/47754 and https://review.tizen.org/gerrit/47663 reviewed or do we depend on Tizen maintainers for that?

@pohly done


Switch back to packed_simd dependency

packed_simd is now again being published under its original name.

Thanks so much @atouchet .
Do you know when they are going to standardize packed_simd under stable?

@atouchet do you mind adding this to Cargo.toml?  There is a build failure.
Downloaded libm v0.2.7
22
  Downloaded thiserror v1.0.49
[23](https://github.com/velvia/compressed-vec/actions/runs/6270624969/job/17377301791?pr=5#step:3:24)
error: failed to parse manifest at `/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-1.0.49/Cargo.toml`
[24](https://github.com/velvia/compressed-vec/actions/runs/6270624969/job/17377301791?pr=5#step:3:25)

[25](https://github.com/velvia/compressed-vec/actions/runs/6270624969/job/17377301791?pr=5#step:3:26)
Caused by:
[26](https://github.com/velvia/compressed-vec/actions/runs/6270624969/job/17377301791?pr=5#step:3:27)
  feature `edition2021` is required
[27](https://github.com/velvia/compressed-vec/actions/runs/6270624969/job/17377301791?pr=5#step:3:28)

[28](https://github.com/velvia/compressed-vec/actions/runs/6270624969/job/17377301791?pr=5#step:3:29)
  consider adding `cargo-features = ["edition2021"]` to the manifest


Rename strings to words

There are multiple occurrences where words (as in, sequences of symbols) are addressed by string: in user defined types, function names, local variables etc.
It has been decided that, for the matter of consistency, all such occurrences should be renamed to word. Furthermore, word does not collide with C++ string type.

I am no longer sure that we want to do this. I've check where word and string are used and it makes sense to distinguish between them within library. word is used in context of finite automata as a word of language. On the other hand, string is used for the cases where a string (i.e., a sequence of characters) is parsed from input and translated to a number, e.g. symbol or state dictionary.

You are right. This issue is no longer relevant, as all the original occurrences which I wanted to change were already fixed in the previous PRs or were otherwise modified. I am closing this issue now as fixed gradually over time.


[Web] Pub package google_sign_in crashes with v1.17.0

Steps to Reproduce

Upgrade Flutter from v1.15.17 to v1.17.0 on channel beta
Run flutter run -d chrome with an application that uses google_sign_in
Watch the errors spit out in the console

Logs

D:\Projects\Flutter\RIVAlumni-old>flutter run -d chrome
Downloading Web SDK...                                              0.8s
Running "flutter pub get" in RIVAlumni-old...                       0.9s
Launching lib\main.dart on Chrome in debug mode...
Running "flutter pub get" in flutter_tools...                       0.6s
Syncing files to device Chrome...

Compiler message:
/D:/Flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.8.3+2/lib/src/generated/gapiauth2.dart:26:3: Error: JS interop classes do not support non-external constructors.
Try annotating with `external`.
  GoogleAuth.fakeConstructor$();
  ^
/D:/Flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.8.3+2/lib/src/generated/gapiauth2.dart:216:3: Error: JS interop classes do not support non-external constructors.
Try annotating with `external`.
  SigninOptionsBuilder.fakeConstructor$();
  ^
/D:/Flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.8.3+2/lib/src/generated/gapi.dart:351:3: Error: JS interop classes do not support non-external constructors.
Try annotating with `external`.
  HttpRequestPromise.fakeConstructor$();
  ^
/D:/Flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.8.3+2/lib/src/generated/gapi.dart:378:3: Error: JS interop classes do not support non-external constructors.
Try annotating with `external`.
  HttpRequest.fakeConstructor$() : super.fakeConstructor$();
  ^
/D:/Flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.8.3+2/lib/src/generated/gapi.dart:402:3: Error: JS interop classes do not support non-external constructors.
Try annotating with `external`.
  HttpBatch.fakeConstructor$();
  ^
/D:/Flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.8.3+2/lib/src/generated/gapi.dart:440:3: Error: JS interop classes do not support non-external constructors.
Try annotating with `external`.
  RpcRequest.fakeConstructor$();
  ^
Syncing files to device Chrome...                               13,651ms (!)
Failed to compile application.

D:\Projects\Flutter\RIVAlumni-old>flutter doctor -v
[√] Flutter (Channel beta, v1.17.0, on Microsoft Windows [Version 10.0.18363.720], locale en-SG)
    • Flutter version 1.17.0 at D:\Flutter
    • Framework revision d3ed9ec945 (5 days ago), 2020-04-06 14:07:34 -0700
    • Engine revision c9506cb8e9
    • Dart version 2.8.0 (build 2.8.0-dev.18.0 eea9717938)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at D:\Android Studio SDK
    • Platform android-29, build-tools 29.0.3
    • ANDROID_SDK_ROOT = D:\Android Studio SDK
    • Java binary at: D:\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 3.6)
    • Android Studio at D:\Android Studio
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] Connected device (2 available)
    • Chrome     • chrome     • web-javascript • Google Chrome 81.0.4044.92
    • Web Server • web-server • web-javascript • Flutter Tools

• No issues found!

I experience similar issue, on all channels (except stable).
Target dart2js failed: Exception:
/C:/dev/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.8.2/lib/src/generated/gapiauth2.dart:26:3:
Error: JS interop classes do not support non-external constructors.
GoogleAuth.fakeConstructor$();
^
/C:/dev/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.8.2/lib/src/generated/gapiauth2.dart:216:3:
Error: JS interop classes do not support non-external constructors.
SigninOptionsBuilder.fakeConstructor$();
^
/C:/dev/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.8.2/lib/src/generated/gapi.dart:351:3:
Error: JS interop classes do not support non-external constructors.
HttpRequestPromise.fakeConstructor$();
^
/C:/dev/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.8.2/lib/src/generated/gapi.dart:378:3:
Error: JS interop classes do not support non-external constructors.
HttpRequest.fakeConstructor$() : super.fakeConstructor$();
^
/C:/dev/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.8.2/lib/src/generated/gapi.dart:402:3:
Error: JS interop classes do not support non-external constructors.
HttpBatch.fakeConstructor$();
^
/C:/dev/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in_web-0.8.2/lib/src/generated/gapi.dart:440:3:
Error: JS interop classes do not support non-external constructors.
RpcRequest.fakeConstructor$();
^
Error: Compilation failed.
C:\src\eliud\flutter_app>flutter doctor -v
[√] Flutter (Channel beta, v1.17.0, on Microsoft Windows [Version 10.0.18363.720], locale en-GB)
• Flutter version 1.17.0 at C:\dev\flutter
• Framework revision d3ed9ec945 (5 days ago), 2020-04-06 14:07:34 -0700
• Engine revision c9506cb8e9
• Dart version 2.8.0 (build 2.8.0-dev.18.0 eea9717938)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users\johan\AppData\Local\Android\sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
X Android license status unknown.
Try re-installing or updating your Android SDK Manager.
See https://developer.android.com/studio/#downloads or visit visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed
instructions.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 3.6)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 43.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[!] IntelliJ IDEA Community Edition (version 2019.2)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2019.2.4
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.dev/intellij-setup/#installing-the-plugins
[√] VS Code (version 1.43.2)
• VS Code at C:\Users\johan\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.9.1
[√] Connected device (3 available)
• Lenovo TB 8504F •<PHONE_NUMBER>ABCDEF • android-arm64  • Android 7.1.1 (API 25)
• Chrome          • chrome           • web-javascript • Google Chrome 81.0.4044.92
• Web Server      • web-server       • web-javascript • Flutter Tools
! Doctor found issues in 2 categories.

I experienced the same issue and found a solution that fixes this for me. Please find my answer here:
https://stackoverflow.com/questions/60911568/flutter-build-for-web-failed-to-compile-application/61167824#61167824
Basically you need to upgrade to google_sign_in_web 0.9.0. However, that conflicts with google_sign_in 4.4.1 which in itself conflicts with google_sign_in 0.8.2. So, clone google_sign_in, update dependency and use that temporarily, until they've upgraded google_sign_in

@eliudio Just to clarify, are you referring to the package google_sign_in or google_sign_in_web? Or are they both the same?

@taronaeo No, they are not the same. I'm referring to the 2 different packages google_sign_in and google_sign_in_web.
If your project has a dependency on both, then follow the instructions given.
If your project only depends on google_sign_in_web, then just upgrade to 0.9.0
If your project only depends on google_sign_in, then follow these instructions as well, although you can just depend on a local copy of google_sign_in which depends on google_sign_in_web 0.9.0.
I hope this helps. It's just temporary, until the project flutter fixes it. I've created a pull request for the fix.

Yikes. Alright, I'll leave this issue open until the problem is fixed, thanks :)

The plugins repo is red right now. I'll get this fixed as soon as the CI in the repo passes again.

I'm currently addressing this.

@eliudio 's PR has been merged. I'll publish the package to pub.dev on Monday.

Looks like the issue has been resolved. Thanks @eliudio and @ditman for your quick responses and fixes. I feel safe to close this issue now 👍

I've just published google_sign_in 4.4.3.


Replace in-app beta banner with new toolkit version

Replaces the in-app beta banner with the new toolkit version.
Means we can delete a couple of files.
Largely the same as I'm doing in the buyer frontend.

👍


WIP - Jenkinsfile: merge Ginkgo and Bash Jenkinsfiles

Merge the two Jenkinsfiles (Jenkinsfile and ginkgo.Jenkinsfile) into the same Jenkinsfile for testing both frameworks at the same time.
Signed-off by: Ian Vernon<EMAIL_ADDRESS>

After discussion, instead of merging both, we are going to fire off two separate Jenkins jobs while the migration to Ginkgo is happening. Thus, closing this.


Enables publish to codeartifact

Enables publish of library to AWS Codeartifact repo

@amenut will this stop publishing to open-source pypi?

@amenut will this stop publishing to open-source pypi?
No, we're not changing that behavior yet.


Invoking searchlink on "help" results in an error

The command "help" results in the following error:

So the error message says „-e:856:in ' initialize': No such file or directory @ rb_sysopen - /Users/ immo/.config/cache/update.tt
(Errno::ENOENT) from -e:856:in 'open' from -e:856:in 'version_check' from -e:4700:in 'help_dialog' from -e:4772:in 'parse_commands' from -e:4797:in 'parse' from -e:5900:in ''"
This happened after I manually installed a searchlink update. There was an older searchlink version on this mac mini M1, but I might not have used it yet. I deleted the ~/.config/searchling/cache folder and restarted, but the error reappeared. Invoking "update" tells me that searchlink is up to date.

Just went over to an Intel Mac where the help command still worked, yet wasn't up to date. After the update: same situation. "help" seems to be broken in the current SearchLink version. So it's not device-specific or config-specific.

Yeah, I moved the cache file and it caused an error. I thought I'd fixed this, though, what version are you on?

I'm not sure, "version" results in an error, too :-D The file itself (SearchLink.service) was from 2024-01-11.
Next, I invoked searchlink on "update". It answered with "Installed SearchLink 2.3.65" - ant then, it was gone. No SearchLink in the Services menu, and it also disappeared from the ~/Library/Services folder.
But! After a manual re-install, SearchLink 2.3.65 works like a charm. So, yeah, it's fixed.


ValueError: Tensor conversion requested dtype string for Tensor with dtype float32: 'Tensor("arg0:0", shape=(), dtype=float32)'

C:\tensorflow1\models\research\object_detection>python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_resnet101_kitti.config
WARNING:tensorflow:From C:\tensorflow1\models\research\object_detection\trainer.py:260: create_global_step (from tensorflow.contrib.framework.python.ops.variables) is deprecated and will be removed in a future version.
Instructions for updating:
Please switch to tf.train.create_global_step
WARNING:tensorflow:num_readers has been reduced to 0 to match input file shards.
Traceback (most recent call last):
File "train.py", line 184, in
tf.app.run()
File "C:\Users\dzyol\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\platform\app.py", line 126, in run
_sys.exit(main(argv))
File "train.py", line 180, in main
graph_hook_fn=graph_rewriter_fn)
File "C:\tensorflow1\models\research\object_detection\trainer.py", line 274, in train
train_config.prefetch_queue_capacity, data_augmentation_options)
File "C:\tensorflow1\models\research\object_detection\trainer.py", line 59, in create_input_queue
tensor_dict = create_tensor_dict_fn()
File "train.py", line 121, in get_next
dataset_builder.build(config)).get_next()
File "C:\tensorflow1\models\research\object_detection\builders\dataset_builder.py", line 186, in build
process_fn, config.input_path[:], input_reader_config)
File "C:\tensorflow1\models\research\object_detection\utils\dataset_util.py", line 141, in read_dataset
sloppy=config.shuffle))
File "C:\Users\dzyol\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 973, in apply
dataset = transformation_func(self)
File "C:\Users\dzyol\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\contrib\data\python\ops\interleave_ops.py", line 76, in _apply_fn
buffer_output_elements, prefetch_input_elements)
File "C:\Users\dzyol\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\data\ops\readers.py", line 130, in init
cycle_length, block_length)
File "C:\Users\dzyol\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1959, in init
super(InterleaveDataset, self).init(input_dataset, map_func)
File "C:\Users\dzyol\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1928, in init
self._map_func.add_to_graph(ops.get_default_graph())
File "C:\Users\dzyol\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\framework\function.py", line 484, in add_to_graph
self._create_definition_if_needed()
File "C:\Users\dzyol\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\framework\function.py", line 319, in _create_definition_if_needed
self._create_definition_if_needed_impl()
File "C:\Users\dzyol\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\framework\function.py", line 336, in _create_definition_if_needed_impl
outputs = self._func(*inputs)
File "C:\Users\dzyol\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\data\ops\dataset_ops.py", line 1916, in tf_map_func
dataset = map_func(nested_args)
File "C:\Users\dzyol\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\data\ops\readers.py", line 196, in init
filenames = ops.convert_to_tensor(filenames, dtype=dtypes.string)
File "C:\Users\dzyol\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\framework\ops.py", line 1014, in convert_to_tensor
as_ref=False)
File "C:\Users\dzyol\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\framework\ops.py", line 1104, in internal_convert_to_tensor
ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
File "C:\Users\dzyol\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\framework\ops.py", line 947, in _TensorTensorConversionFunction
(dtype.name, t.dtype.name, str(t)))
ValueError: Tensor conversion requested dtype string for Tensor with dtype float32: 'Tensor("arg0:0", shape=(), dtype=float32)'
Hi, I got this issue while I tried to use the faster_rcnn_resnet101_kitti model. Has anyone else seen this problem before?

I'm getting the same error... on Mac with TensorFlow 1.8.

I think the record file is there since I switched to use the coco model when I found out the kitti model has this error, but the coco model runs fine with the record file I generated earlier for the kitti model.

I'm having the same issue, I'm using  ssd_mobilenet_v2_coco, the TFRecord files are there. Has anyone found a fix for this?

I'm following the same tuto and everything was going well until the step 4 (generate the tf record) where I got the following error.
C:\tensorflow1\models\research\object_detection>python generate_tfrecord.py --csv_input=images\train_labels.csv --image_dir=images\train --output_path=train.record
Traceback (most recent call last):
File "generate_tfrecord.py", line 110, in
tf.app.run()
File "C:\Users\David-Up\Anaconda3\envs\tensflow\lib\site-packages\tensorflow\python\platform\app.py", line 126, in run
_sys.exit(main(argv))
File "generate_tfrecord.py", line 101, in main
tf_example = create_tf_example(group, path)
File "generate_tfrecord.py", line 90, in create_tf_example
'image/object/class/label': dataset_util.int64_list_feature(classes),
File "C:\tensorflow1\models\research\object_detection\utils\dataset_util.py", line 26, in int64_list_feature
return tf.train.Feature(int64_list=tf.train.Int64List(value=value))
TypeError: None has type NoneType, but expected one of: int, long
Who can help me to solve this error guys?
Thanks in advance

@Elites2017 I think I had the same issue (at least the stacktrace brings back some memories). Make sure all your labels are setup correctly in generate_record.py. That's what resolved it for me.

Thanks Buddy,
On Fri, Jul 13, 2018 at 1:15 PM, Philipp Weissensteiner <
<EMAIL_ADDRESS>wrote:

@Elites2017 https://github.com/Elites2017 I think I had the same issue
(at least the stacktrace brings back some memories). Make sure all your labels
are setup correctly
https://github.com/EdjeElectronics/TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10#4-generate-training-data
in generate_record.py. That's what resolved it for me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/EdjeElectronics/TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10/issues/63#issuecomment-404737027,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AiJBZCX67gsdr1pPCPPrpkEyNRN9u3iKks5uGDsegaJpZM4Uhw6z
.

In generate_tfrecords.py, you have to change 'return None' to 'return 0'. This would return an int value i.e 0 and not the None type. Hope this helps :)

It's the .record file missing , check and make sure that the .record file has been generated.

Generate .record files using generate_tfrecords.py. The steps for the same are explained below:
1)python generate_tfrecord.py --csv_input=images\train_labels.csv --image_dir=images\train --output_path=train.record
2)python generate_tfrecord.py --csv_input=images\test_labels.csv --image_dir=images\test --output_path=test.record
Then put the generated .record file in models/research/object_detection/data directory. If this does not work then put the .record file in the models/research/object_detection/ directory.

The error is thrown when the path to the record files is not right. I would recommend adding the whole path to the train and test records file in the data folder in the .config file. Will definitely work and get rid of this particular error.

I had same error because my record files were not existed. Check your record files.

The error is thrown when the path to the record files is not right. I would recommend adding the whole path to the train and test records file in the data folder in the .config file. Will definitely work and get rid of this particular error.

The error is thrown when the path to the record files is not right. I would recommend adding the whole path to the train and test records file in the data folder in the .config file. Will definitely work and get rid of this particular error.

thanks buddy this worked

The error is thrown when the path to the record files is not right. I would recommend adding the whole path to the train and test records file in the data folder in the .config file. Will definitely work and get rid of this particular error.

The error is thrown when the path to the record files is not right. I would recommend adding the whole path to the train and test records file in the data folder in the .config file. Will definitely work and get rid of this particular error.

thanks buddy this worked

@kaushikb11
thanks buddy

@kaushikb11
thanks buddy

@kaushikb11
thanks buddy

@kaushikb11
thanks buddy


[BUG] Latest govulncheck breaks action

Setting a Baseline
Logs:
2:13PM INF GoEnvironment Details: GOPRIVATE=github.com/Templum/private-lib Go-Arch=amd64 Go-Os=linux Go-Version=go1.20
2:13PM INF Running govulncheck for package ./... in dir /github/workspace
2:14PM ERR parsing govulncheck output yielded error error="json: cannot unmarshal array into Go value of type types.Result"
2:14PM ERR Scanning yielded error error="scan failed to produce proper report"

Bug Description
It appears that within the last release from yesterday some changes to the JSON format where performed.

As far as I know there is no publicly available code covering the JSON Report format, I will need to verify this. But in the meanwhile, I decided to go with the approach where I set the default version to the last known working version.
Which will be v0.0.0-20230320232729-bfc1eaef17a4.

I'm sorry for any inconvenience this might have caused. It was released in version v0.10.0 of the action and should be available starting now.


check which nix version is used in CICD cli-tests

Summary
How was it tested?

Current dependencies on/for this PR:

main

PR #1307

PR #1308

PR #1312   👈

This comment was auto-generated by Graphite.


Check user config directory even if extension is specified?

I have my config directory customized with the environment variable TMUXP_CONFIGDIR. I've found that if I load a tmux configuration without using an extension, it works properly. But if I use an extension, it tries to look in the current directory.
From the comment at https://github.com/tony/tmuxp/blob/master/tmuxp/cli.py#L169 it seems that this is by design, but it's kind of a confusing design. I'd rather not have to remember whether I need to include the extension or not...
Also, is this documented? Didn't notice it in https://tmuxp.readthedocs.io/en/latest/quickstart.html#cli for example.

Initially, I may have implemented it that way to imitate tmuxinator's behavior.
Are you interested in doing a pull request with a test to verify the behavior?

thanks for asking!
tmux still isn't part of my daily workflow, but I'm circling back around to it and perhaps I could offer some help if it becomes part of my workflow. I use byobu (tmux doesn't let me customize where I put my configs) so messing around with that integration right now (see https://github.com/tony/tmuxp/issues/143)


drop indices/constraints default should be False

while using this lib I really shot our database in the head bc those are default to True
we are bulk inserting small pieces (40krows) into a ~400mio table every minute
dropping indices and recreating them all and all over again might not be the best default

This is an interesting question. I'm not familiar enough with the use cases of our user base to know what people would prefer here. The use case that led me to create the library is one where the entire database is flushed with each run, so I wasn't thinking about this.

My particular usecase is similar to @jesusch, especially if "upset" is merged in. Removing and re-applying large indexes/constraints can really be a slowdown, where I'm under the impression that the intention of setting their defaults to True is to speed up things.
I think I'm +1 for "opt in" and setting defaults to False.

@palewire In regards to PR #156 , a command like ON CONFLICT FROM CONSTRAINT "constraint_name" DO UPDATE SET ...  will fail if the (model-level) constraint is removed (said PR also implements "model-level" indexes and constraints via the Meta object).
I feel like this is another sign that maybe "opt in" for drop_constraints and drop_indexes might be best.
If you feel strongly against this, then I would need to add some code in between the from_csv method (which receives the drop_constraints and drop_indexes arguments) and the instantiation of CopyMapping (which is where on_conflict is defined).
Thoughts?


Find out why we get sometimes  "Gtk-WARNING **: cannot open display" warnings

It seems that we get the "Gtk-WARNING **: cannot open display" error quite frequently on DRT runs.
For example:
http://chromegw.corp.google.com/i/client.dart/builders/dart2js-chrome-linux/builds/1994/steps/annotated_steps/logs/stdio
Currently we just rerun the test, but this approach just hides this flake. We need to find out why this happens.

This is still assumed to be happening, by the suppression in test_runner.dart.  Test that the issue has disappeared by removing the suppression code before closing.


[Zen Browser] Updated to latest logo since rebrand.

Description
Very simply updating the logo to the latest from the updated branding for the browser.
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Approved