Questions about settings parameters...

In trying to use MSText V2 for our local project we're seeing two problems.

There doesn't seem to be a way to control the discovery in VSTS such that it lines up with the values in the .runsettings file.  In our .runsettings we indicate x64 and Framework45.  Our project builds Any CPU, .Net 4.6.2.  Test discovery shows x86 and .Net 4.6.2 and complains that these values are not in the .runsettings file.  If you try to update the .runsettings to anything other than Framework45 you get an error indicating an invalid value in VSTS.  For x86, our servers are 64bit build servers, the code is flagged Any CPU and no prefer32bit attribute is set on a project.

Since moving to MSTest V2, we've noticed that a small subset of our unit tests are running intellitrace files and placing them into C:\Windows\Temp.  I cannot seem to find the setting where I can turn this off or the .csproj setting where you set intellitrace gathering to off when running unit tests.  Our build server's hard drive gets filled up with these 30MB files fairly rapidly.

Help on where to look would be appreciated.

@Kressilac : Thank you for reaching out to us. Please find our responses below:

You can pass runsettings in VSTS using "Other console options". If you just want to trigger discovery, passing '/listtests' in "Other console options" might help as well.
MSTestV2 is supported for .net framework 4.5 and above, so specifying Framework35 or Framework40 will not help. What value were you trying when you faced an invalid value issue?

What are the extensions of intellitrace files that are getting generated? Could you share some of those files with us?

I was wanting to use Framework462 and x64, soon Framework471 and x64 but anything other than Framework45 throws an error while Framework45 generates the following warnings.  Setting x64 seemingly has no impact on the tests being compiled for x86 versus x64 when the server is 64 bit Windows 2016 and the build configurations are all Any CPU without prefer 32 bit set in any csproj.

The trace files are in Windows/Temp and are called "testhost_###_Date_Time.iTrace" and are about 20 - 30MB each.  Not all of our unit tests produce these files and they seem to correspond with build output that shows The Microsoft Code Coverage Collection tool splash data.

And this output appears in our build output in VSTS.

Appreciate the help.
Derek

Following up on this one to see if there is anything else that you need me to provide?  I'd like to understand why these issues are happening.

@Kressilac : Apologies for the delay.

I was wanting to use Framework462 and x64, soon Framework471 and x64 but anything other than Framework45 throws an error while Framework45 generates the following warnings.

There is no shorthand for framework 4.6.2 or 4.7. You can specify that using full notation ".NETFramework,Version=v4.6.2". You can also skip specifying the framework entirely, it by default will pick the framework against which the dll was built.

Setting x64 seemingly has no impact on the tests being compiled for x86 versus x64 when the server is 64 bit Windows 2016 and the build configurations are all Any CPU without prefer 32 bit set in any csproj.

Unless explicitly required, you should always build your testproject for AnyCPU and should not specify any platform. It will automatically  figure out which platform(x86/x64) it is supposed to use. However, if Test dlls are built for x86, then you should specify platform x86 and if test dlls are built for x64, then you should specify platform x64. As a user, you will not observe any difference when tests run for platform x86 or x64, the difference lies in the implementation of how these two cases will be handled by platform internally.

@wiktork : Some intellitrace files are getting generated for the user here as a part of his test run. How can help here to figure out which settings needs to be changes to turn off the generation of these files?

Thanks.  That resolved the issues with the framework discrepancies.  Appreciate the feedback.  The only thing I need to figure out now is why intellitrace files are being generated.  It doesn't happen for all of our projects and I have CaptureTraceOutput set to false for the MSTestV2 configuration element but we're still seeing the trace files generated like I stated in the above picture.

@Kressilac @jayaranigarg If the runsettings file is specified, you have to make sure you remove TraceDebuggerDataCollector from the settings. If it's not specified, it probably means the default runsettings file turns it on. I can't think of any other reason why we would try to make .itrace files.

@wiktork

That's the pertinent runsettings.  Seems like it is all CodeCoverage.

@Kressilac : Can you pass "/diag:logfile.txt" switch when running vstest.console and share that logfile with us?
That file should have the final runsettings that are getting used to run your tests.  It will help us figure out if indeed TraceDebuggerDataCollector is present/inserted in the runsettings somehow.

Sorry for the delayed response.  Here is our diagnostics file.  Thanks for your help with this.
logfile.txt

@Kressilac Thank you for the log files. We're investigating a fix for this issue and it is also being tracked with https://developercommunity.visualstudio.com/content/problem/195034/cwindowstemp-fills-up-with-itrace-files-after-upgr.html

Fixed https://github.com/Microsoft/vstest/pull/1483


Config server additions

Thanks @dpb587-pivotal, uploaded a fixed version.

going to close this one. but remember for next iteration of this feature. we've definitely had questions about set/get functionality through cli.


Feature request: Restrict WaitFor.AjaxCallsToComplete to a list of specific domains or URLs

In a website is very common to have asynchronous requests to external domains which are not critical to the website execution.
Live chat services, analytics, tracing repos, static content, etc. are commonly placed in external domains.
Sometimes those async request are fired periodically from the local domain for ping purposes, and they can affect tests if they are just waiting for all ajax requests to complete.
Imagine this scenario:
Selenium instruct the browser to perform an action which is resolved via an ajax request.
The test runner enters in a waiting cycle for all ajax to complete after that.
A live chat window ping an external domain, so we have 2 requests scheduled for execution in the browser.
The browser execute the ping request but defer the one we want.
The first byte is received, the ping completed, so basically all running ajax completed.
It's time for the test runner to evaluate all ajax completion, succeeds, exits, and the next sentence in the test is performed.
The test fails.
Since the test runner, the driver and the browser run in isolated processes, other race conditions can occur in similar scenarios.
When waiting for ajax to complete I'm more interested on waiting for specific requests to the local domain, or external API domains, rather than just all requests. So it would be very useful either to restrict the WaitFor.AjaxCallsToComplete to the concrete list of domains hosting the services, or to the specific URL endpoints that I'm interested for the test.
Please vote.

Assuming that you aren't constantly firing ajax requests in parallel there should be a gap where no ajax is currently in flight and so the existing method will still work.
It's a fair point though.
Off the top of my head I don't know of the best way to implement it. The current check is very basic and I'm not sure of the best way to check based on domain: https://github.com/TestStack/TestStack.Seleno/blob/master/src/TestStack.Seleno/PageObjects/Actions/Wait.cs#L21
If you (or something else) can come up with a way to do it feel free to submit a PR.
Thanks


SVG images in readme are broken

Example: https://jsr.io/@david/dax

It seems SVG files are directly served from Google storage with wrong content-type header:
$ curl -i<EMAIL_ADDRESS>HTTP/2 200
...ısnip...
content-type: application/octet-stream
server: UploadServer
via: 1.1 google
...snip...

<svg width="351" height="240" viewBox="0 0 351 240" fill="none" xmlns="http://www.w3.org/2000/svg">

I looked at the corresponding frontend route but unfortunately had no idea how this (should be) handled.

This is fixed now


Assigner only checks the health status for routed components.

After #90, every babysitter retrieves routing information for non-routed components. This means that the assigner is only consulted to retrieve routing information for routed components.

Can we add a TODO somewhere to revisit the health checking for GKE?
We can submit this change for now, so we have a stable GKE deployer. However, I feel that having multiple places to do health checks is a hack and we should revisit it.
We talked offline about moving health checks from the assigner to the clients for the unrouted objects (or not). We changed this recently.
By doing this, we have multiple places for checking health (which can lead to more places for bugs, errors). Ultimately, the assigner should be the central entity to provide routing info (as we had before).
Ideally, the assigner should do the health checking (based on watching) directly. This way, we do health checks in a single place; also it makes it easier to make the assigner an independent entity responsible to generate routing info.
On the other hand, if we want the assigner to be deployer independent at some point, the health checking should be done separately and the assigner should be just a stateless entity that receives health and load info and just generates assignments. So maybe all health checking (both for routed and unrouted objects) should move away from the assigner.

Thanks, done!


Missing table typing constraints

Tables must always have an actions property, and default_action and entries action_refs should have compile time known args that match the arguments (if any) given in the actions property.
Tests:

examples/checker_tests/bad/missing_actions.p4
examples/checker_tests/bad/issue473.p4
examples/checker_tests/bad/action-bind.p4
examples/checker_tests/bad/default_action1.p4

Do tables need an actions property? In [the spec's table section](file:///Users/rudypeterson/Desktop/CS-4999/p4-spec/p4-16/spec/build/P4-16-spec.html#sec-tables),  it mentions both that:

The standard table properties include:

key: An expression that describes how the key used for look-up is computed.
actions: A list of all actions that may be found in the table.

which seems to mean actions are required. But then it mentions that:

The compiler may set the default_action to NoAction (and also insert it into the list of actions) for tables that do not define the default_action property.

So if a table doesn't define a default action then would the type-checker give the table the default action of NoAction, and then wouldn't the table have at least one action defined?

Tests:

examples/checker_tests/bad/issue473.p4
examples/checker_tests/bad/action-bind.p4
now pass.

Still working on:

examples/checker_tests/bad/missing_actions.p4
examples/checker_tests/bad/default_action1.p4

Why should this p4 program typecheck,
examples/checker_tests/good/issue2037.p4
action a() {}
control c() {
    table t {
        actions = { .a; }
        default_action = a;
    }
    apply {}
}

whereas this p4 program shouldn't typecheck?
examples/checker_tests/bad/default_action1.p4
action b() {}

control c() {
    action a() {}
    action b() {}
    table t {
        actions = { a; b; }
        default_action = .b();  // not the same b
    }
    apply {}
}

Shouldn't both programs fail to typecheck because the default action has a different name than the one in the action's property? In good/issues2037 the default action is set to the non-toplevel name where only the top-level name exists, and in bad/default_action1 it is set to the top-level name instead of the local name in the actions property.

In the second program, the b in the actions block refers to the one defined in c. However, the default_action, namely .b refers to the one at the top level. Hence, the default_action is not an element of the actions which is an error.

All fixed


purge-cluster: zap devices used with the lvm scenario

Fixes: https://github.com/ceph/ceph-ansible/issues/3156
Signed-off-by: Andrew Schoen<EMAIL_ADDRESS>

jenkins test dev-purge_lvm_osds

@andrewschoen What do we need to do to get this PR merged?

@leseb @guits can we get this merged? The purge tests in the pipeline will fail until the next luminous release, but this does fix @zmc's issue and CI tests pass when run against ceph@master.

This needs back ported to stable-3.2. This BZ (https://bugzilla.redhat.com/show_bug.cgi?id=1650306) hit the same issue because purge was not successfully zapping devices listed in devices.


Example when using as a module?

Great repo! Thank you...
Wanted to check, how one could include the player when exporting as a module? I am trying to use it in electronjs.
Any suggestions, would be great!
Cheers..

DPlayer is currently under development and should not be used in production.
Work with module bundler:
In terminal:
$ npm install dplayer --save

In js:
var DPlayer = require('DPlayer');
var dp = new DPlayer({
    // ...
});

Also, DPlayer.min.css should be referenced.
Cheers.

Thank you! 👍  appreciate it. Definitely understand, would love to contribute to the repo if interested :)
I tried this:
const DPlayer = require('DPlayer');
let player = new DPlayer({
		element: $(elem),
		autoplay: false,
		theme: '#FADFA3',
		video: {
			url: 'http://o6m1pq7od.bkt.clouddn.com/最后的告白.mp4',
			pic: 'http://o6m1pq7od.bkt.clouddn.com/poster.jpg'
		}
	});
	player.init();

Comes back with DPlayer is not a constructor. Any idea?
Cheers!

const DPlayer = require('DPlayer');
console.log(DPlayer);

To see what is being logged.

It returns as empty object {}

Sorry, I forget update npm package.
Updating DPlayer npm package to 0.0.2 version can fix this.

Awesome! it does fix the issue. :) Thank you...
There is another one tho (sorry about that). Uncaught TypeError: this.element.getElementsByClassName is not a function
I will raise up another issue tracker on this.
Cheers


the version choices of operator-sdk

hello everyone，
I want to extend kubernetes with operator-sdk，but I don't know which operator-sdk version  should I choose.
So I read the doc from github, and it tells me I should go to  this page to find the answer. Then this page tells me to client-go’s compatibility matrix to find the answer.
Now, I have find out that client-go-release-9.0 is compatible with my kubernetes cluster whose version is v1.12.5 . But I still don't know which operator-sdk version should I choose.
Can someone tell me what should I do ?
Thanks!!!!!!!!!!

Does anyone know how to resolve this problem?

Not sure what exactly your ask. Do you want to install operator-sdk and use our command line tool? Could you please specify what exactly you are trying?

Hi @THMAIL,
In general, the version of K8s dependencies which are used to build Operator-SDK is the version to which it is strictly compatible. For example, in Operator-SDK 1.23.0, specifies the k8s dependencies in its go.mod file as 0.24.2. This means SDK 1.23.0 is strictly compatible with k8s 1.24 (Since for each v1.x.y Kubernetes release, the major version of client-go (first digit) would remain 0).
Now let's understand the backwards compatibility matrix with the upstream K8s cluster versions. Here, we use client-go as the mediator. To elaborate, we can follow the steps below:

For the specific version of operator-sdk that you are using, find the corresponding client-go version.
For example, let's take Operator-SDK 1.9.0. It specifies the client-go version 0.20.2 (https://github.com/operator-framework/operator-sdk/blob/v1.9.0/go.mod#L39).
For the client-go version which we have found using step (2), we use the compatibility matrix here, to fetch the corresponding k8s cluster version https://github.com/kubernetes/client-go#compatibility-matrix. Note that client-go version 0.20.2, corresponds to k8s version 1.20.2. Based on the last row of matrix we can infer that:

We have exactly the same features / API objects in both client-go and the Kubernetes 1.20. So k8s 1.20 clusters will work perfectly.
Some APIs which have been removed or added, due to which client-go 1.20 may not exactly work with k8s 1.15 to 1.19 clusters.

Hope this answers your question.

@THMAIL Thanks for bringing this up. We can add documentation that explicitly states the K8s version that is supported by SDK. To automate this with an K8s update, we can pick the version from Makefile and add this as a part of release script. @everettraven will be working on this issue.


Log first success times when we report the metrics.

This will give us some info to dig a little deeper in terms of which
cluster was involved and what to search for in logs.
/assign @suhanime

/lgtm

/hold
so that this does not keep retesting with the verify failure

/hold cancel
Verify test has been fixed.


[Core] compress documents transferred between server and client

compress documents returned synchronously via Iterator
compress documents returned asynchronously over queue

done for Iterator, queued implementation is in progress


update o3de-liveplusplus gem to latest o3de changes

ly_get_list_relative_pal_filename is marked as deprecated and o3de_pal_dir is recommended to be used instead.
o3de_pal_dir also expects all arguments to be quoted otherwise it complains that the wrong number of arguments have been passed to the command.

Thanks for approving@AMZN-Olex, are you happy to merge or would you rather wait for the next O3DE release? Cheers!

Thanks! 😄


Whittle down the public APIs

For the time being, we want to keep our publicly supported APIs to a bare minimum. In particular, that probably means just the following modules:

pip_audit.audit (the Auditor class and AuditOptions)
pip_audit.service (vulnerability services and interfaces)
pip_audit.dependency_source (dependency sources and interfaces)

Everything else should be considered API private for the time being, and we should mark it as such. Additionally, some of the things in those public modules should also be marked private (like resolvelib helper classes/implementations).
Blocks #129.

We might also want to think about how we can expose a simpler API than what audit currently provides, i.e. could we expose something that doesn't require any other part of the API to be exposed?

Yeah, that's a good idea. We could expose an audit function similar to the one in pip_audit.cli, with a signature that looks something like:
def audit(deps: Sequence[str]) -> Dict[str, List[T]]:
    ...

...where that T could just be a dict-serialized form of VulnerabilityResult, perhaps.


Add package_asset_url method to API

Currently we do:
set(object_from_url(), "assets/test.glb")

Which is then resolved to the full url at some later point. That won't work with project dependencies though. Instead, this should instead be:
set(object_from_url(), package_asset_url("assets/test.glb"))

So that each package can resolve their urls differently.

Dependent on #23


Question

Hey, this seems to be a very interesting tool I'd like to try from my Discord voice channel to my Icecast radio.
How to compile from Linux terminal? (I'm using Ubuntu 18.04 VPS)
I've downloaded Oracle Java SDK v11 but I'm not a Java guy so not sure how to compile those *.java files in src.
Thanks

I was  able to install Maven and built the project

I tried the following commands without success:
java -jar forwarder-0.1.0-SNAPSHOT.jar

no main manifest attribute, in forwarder-0.1.0-SNAPSHOT.jar

also:
java -jar forwarder-0.1.0-SNAPSHOT.jar com.standrewsradio.starbot.forwarder.Main

no main manifest attribute, in forwarder-0.1.0-SNAPSHOT.jar

I was able to build using Maven

I tried:
$ java -jar forwarder-0.1.0-SNAPSHOT-jar-with-dependencies.jar
Exception in thread "main" picocli.CommandLine$MissingParameterException: Missing required options [--token=<token>, --channel-id=<channelId>]
        at picocli.CommandLine$MissingParameterException.create(CommandLine.java:15726)
        at picocli.CommandLine$MissingParameterException.access$17000(CommandLine.java:15708)
        at picocli.CommandLine$Interpreter.validateConstraints(CommandLine.java:11480)
        at picocli.CommandLine$Interpreter.parse(CommandLine.java:11471)
        at picocli.CommandLine$Interpreter.parse(CommandLine.java:11345)
        at picocli.CommandLine.parseArgs(CommandLine.java:1311)
        at com.standrewsradio.starbot.forwarder.Main.main(Main.java:19)

Also tried:
java -jar forwarder-0.1.0-SNAPSHOT-jar-with-dependencies.jar -t $TOKEN -c $CHANNEL_ID -r 41000 -l $ACTIVITY icecast://source:mypwd@icecastradio:8080/live

but getting:
Exception in thread "main" picocli.CommandLine$UnmatchedArgumentException: Unmatched arguments from index 9: 'en', 'Radio', 'Yajad', 'icecast://source:natzratim517@<IP_ADDRESS>:8010/envivo'
        at picocli.CommandLine$Interpreter.validateConstraints(CommandLine.java:11491)
        at picocli.CommandLine$Interpreter.parse(CommandLine.java:11471)
        at picocli.CommandLine$Interpreter.parse(CommandLine.java:11345)
        at picocli.CommandLine.parseArgs(CommandLine.java:1311)
        at com.standrewsradio.starbot.forwarder.Main.main(Main.java:19)

Hmm that's odd - do your arguments have spaces in them? If so, they probably need to be surrounded with quotes?

Thanks! One argument was not surrounded with quotes. It is now solved and working as expected. 👍


osinfo-db: 20180514 -> 20180531

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/osinfo-db/versions.
These checks were done:

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 20180531 with grep in /nix/store/25851x07kvaxfb8s7427mhpvylj8swg1-osinfo-db-20180531

directory tree listing: https://gist.github.com/60bc6cf4445cc0ea32c19263635f4abc

du listing: https://gist.github.com/f17e071004c463f800b9a570501643e5

meta.description for osinfo-db is: '"Osinfo database of information about operating systems for virtualization provisioning tools"'.
cc @bjornfor for testing.
Experimental: this build is cached with Cachix. To use the cache follow these experimental instructions:
One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout ca1e1fbd5adcdbdabc159be593285d1c81d00d3d && nix-shell --pure -I nixpkgs=. -p osinfo-db

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: osinfo-db
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: osinfo-db
Partial log (click to expand)
copying path '/nix/store/k5b2dwcyqzny36kfn9g82hxix1xa83cv-osinfo-db-tools-1.1.0' from 'https://cache.nixos.org'...
building '/nix/store/cc3n6mnl1cx83dvkpd3r4c7a06jhgcg6-osinfo-db-20180531.tar.xz.drv'...

trying https://releases.pagure.org/libosinfo/osinfo-db-20180531.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 70868  100 70868    0     0  54724      0  0:00:01  0:00:01 --:--:-- 54724
building '/nix/store/4vbzwv8gcb7ffk3scdq2g687wgyhwsr2-osinfo-db-20180531.drv'...
installing
/nix/store/25851x07kvaxfb8s7427mhpvylj8swg1-osinfo-db-20180531

Success on aarch64-linux (full log)
Attempted: osinfo-db
Partial log (click to expand)
copying path '/nix/store/c5bf8f9dri96rrsa287fwkk107awgljy-osinfo-db-tools-1.1.0' from 'https://cache.nixos.org'...
building '/nix/store/3fjf0gb6nqgpi92lkgy0lzgn41fcww42-osinfo-db-20180531.tar.xz.drv'...

trying https://releases.pagure.org/libosinfo/osinfo-db-20180531.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 70868  100 70868    0     0   110k      0 --:--:-- --:--:-- --:--:--  110k
building '/nix/store/fg2d8gy07pgbjpxirvcnr4ch7672mb4x-osinfo-db-20180531.drv'...
installing
/nix/store/qy71rw5h9zsg6wq2fal3yk01rkl91l04-osinfo-db-20180531


Updating Eigen

Codecov Report

Merging #104 (cd9e111) into main (ae39fe9) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #104      +/-   ##
==========================================
+ Coverage   95.71%   95.75%   +0.03%
==========================================
  Files          55       55
  Lines        3942     3953      +11
==========================================
+ Hits         3773     3785      +12
+ Misses        169      168       -1

see 2 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Build error

Hi, I've been trying to build the newest version of robyn (v0.12.1) for distributing in conda-forge, but I've been getting this error during the build process:
  error[E0308]: mismatched types
     --> src/server.rs:160:33
      |
  160 |                 .client_timeout(0)
      |                                 ^ expected struct `std::time::Duration`, found integer

I've tried conforming to the rust version in the CI to no avail. Does anyone have any advice?

Hi @thewchan .
I will be happy to help. Can you please tell me the exact steps you took in the build process?

@thewchan , I can see that one of the library functions is deprecated in the error log, which is probably why the resulting error. Can you confirm if you get the same error in the latest version, i.e. 0.13.0 . If yes, I will make a new release with the updated dependencies.

Thanks so much @sansyrox, really appreciate it. Hope this works!

Hi @thewchan , I just released v0.13.1. It is working well on my Pipeline. Can you please check if this works for you too?

Thanks, I'll give it a try and report back!

@sansyrox It built correctly now; thanks so much!

My Please @thewchan :D
Does this mean that robyn can also be installed via conda now?

Indeed; earlier versions (0.10 I think) are already available via conda install -c conda-forge robyn
v0.13.1 will take a bit for the CI to go through completely


Update version check in RadonProvider.ts

Fix for Issue #5
Fix version check to allow major versions higher than 5 and with minor versions lower than 1 (like 6.0.1)

Hmm i seems i created a duplicate PR.
https://github.com/cdein/python-radon/pull/7
Let's try mailing the author.

I merged this into the repository. I don't know when I will be able to deploy the update of the plugin.


Fix rspec dependency

Without this patch, working with rspec-puppet in IRB fails when directly
requiring the library:
ruby-1.8.7-p334 :001 > require 'rspec-puppet'
NameError: uninitialized constant RSpec
    from /Users/jeff/.rvm/gems/ruby-1.8.7-p334@puppet/gems/rspec-puppet-0.1.0/lib/rspec-puppet/matchers/create_generic.rb:1
    from /Users/jeff/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
    from /Users/jeff/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
    from /Users/jeff/.rvm/gems/ruby-1.8.7-p334@puppet/gems/rspec-puppet-0.1.0/lib/rspec-puppet/matchers.rb:1
    from /Users/jeff/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
    from /Users/jeff/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
    from /Users/jeff/.rvm/gems/ruby-1.8.7-p334@puppet/gems/rspec-puppet-0.1.0/lib/rspec-puppet.rb:2
    from /Users/jeff/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:58:in `gem_original_require'
    from /Users/jeff/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:58:in `require'
    from (irb):1

This patch fixes the problem by requiring rspec directly from rspec-puppet.rb

Ping?


stream test pod logs back to the test

It would be useful to have the pod logs in our e2e tests.  For example, the logs from the httpproxy pod in the visibility tests might be helpful for tracking down this

/remove-lifecycle stale


zroot/usr/src is not mounted as /usr/src as defined in pc-sysinstall.

Version
24.10.1
What desktop?
Official MATE
Explain the issue and what happens
With FreeBSD, zroot/usr/src is created and mounted as /usr/src.
With GhostBSD, zroot/usr/src is no longer created nor mounted as /usr/src as defined in pc-sysinstall. I assume this is a bug.
Explain how to reproduce the bug?
The /usr/src directory is missing.
What is the Expected behavior (if applicable)
No response
Additional context (if applicable)
No response

also see: https://github.com/ghostbsd/issues/issues/183


Example JSON for hotel use case

Description
Currently, there are no sandbox collection / JSON examples for the hotel booking use case.
Study hotel booking websites and based on that create the JSON examples for hotel booking use case.
Please push the examples to https://github.com/beckn/beckn-sandbox/tree/main/src  under respective folder.
Goals

[x] Json examples for hotel booking use case

Expected Outcome
JSON examples for the hotel booking use case.
Acceptance Criteria

[x] JSON examples should contain search, select, init confirm, and status endpoints.

Hi @vishi24 , the JSONs for the above have been emailed to you. let me know if anything else is required.


Clarify performance of custom activity

Add performance section and fix a few typos.

Thanks for the clarification.


Problem with introduction.ipynb

---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-7-25b8eddf5fa6> in <module>
      9
     10 widgets    = pn.Column("<br>\n# Sine waves", frequency, amplitude)
---> 11 sine_panel = pn.Row(reactive_sine, widgets)
     12
     13 sine_panel

~/panel/panel/layout.py in __init__(self, *objects, **params)
    163                                  "as positional arguments or as a keyword, "
    164                                  "not both." % type(self).__name__)
--> 165             params['objects'] = [panel(pane) for pane in objects]
    166         super(Panel, self).__init__(**params)
    167

~/panel/panel/layout.py in <listcomp>(.0)
    163                                  "as positional arguments or as a keyword, "
    164                                  "not both." % type(self).__name__)
--> 165             params['objects'] = [panel(pane) for pane in objects]
    166         super(Panel, self).__init__(**params)
    167

~/panel/panel/pane/__init__.py in panel(obj, **kwargs)
     42     if kwargs.get('name', False) is None:
     43         kwargs.pop('name')
---> 44     pane = PaneBase.get_pane_type(obj)(obj, **kwargs)
     45     if len(pane.layout) == 1 and pane._unpack:
     46         return pane.layout[0]

~/panel/panel/param.py in __init__(self, object, **params)
    506         self._pane = Pane(self._eval_function(self.object), **kwargs)
    507         self._inner_layout = Row(self._pane, **{k: v for k, v in params.items() if k in Row.param})
--> 508         self._link_object_params()
    509
    510     #----------------------------------------------------------------

~/panel/panel/param.py in _link_object_params(self)
    641     def _link_object_params(self):
    642         deps = self.object._dinfo
--> 643         dep_params = list(deps['dependencies']) + list(deps['kw'].values())
    644         for p in dep_params:
    645             watcher = p.owner.param.watch(self._update_pane, p.name)

KeyError: 'kw'

I also get some errors on the console, though apart from the above the apps and widgets seem to work fine:
[I 10:10:19.647 NotebookApp] Kernel restarted: 912b2030-cc20-4121-b1b1-0bdaeb2ece55
[I 10:10:20.201 NotebookApp] Adapting to protocol v5.1 for kernel 912b2030-cc20-4121-b1b1-0bdaeb2ece55
[I 10:10:20.202 NotebookApp] Restoring connection for 912b2030-cc20-4121-b1b1-0bdaeb2ece55:c3b33a048d6343a1bbef622c39484652
[I 10:10:20.202 NotebookApp] Replaying 6 buffered messages
[IPKernelApp] ERROR | No such comm target registered: hv-extension-comm
[IPKernelApp] WARNING | No such comm: hv-extension-comm
[IPKernelApp] WARNING | No such comm: hv-extension-comm
[IPKernelApp] WARNING | No such comm: hv-extension-comm
[IPKernelApp] WARNING | No such comm: hv-extension-comm
[IPKernelApp] WARNING | No such comm: hv-extension-comm
[IPKernelApp] WARNING | No such comm: hv-extension-comm
[IPKernelApp] WARNING | No such comm: hv-extension-comm
[IPKernelApp] WARNING | No such comm: hv-extension-comm
[IPKernelApp] WARNING | No such comm: hv-extension-comm
[IPKernelApp] WARNING | No such comm: hv-extension-comm
[IPKernelApp] WARNING | No such comm: hv-extension-comm
[I 10:10:22.147 NotebookApp] Saving file at /getting_started/Introduction.ipynb
[IPKernelApp] WARNING | No such comm: hv-extension-comm
[IPKernelApp] WARNING | No such comm: hv-extension-comm

pyviz_comms=0.7.2
panel=0.6.0a1.post15+gd8a7ab2

Ah, I have this change in my stash, will push a fix shortly.

Oh but for it to actually work you also need to upgrade param.


Adding new node in maximized diagram view causes diagram view to get incorrectly restored

I'm using version 0.25.0 of FXDiagram with a Xtext DSL. Models are spread across several files. Creating diagrams works fine in Eclipse with the Diagram View being inside or outside of the Eclipse main window.
Actual behavior
If the Diagram View is inside the Eclipse main window and is set to maximized (because the diagrams get large) the follwing happens when adding a new node (from another model file) using the side buttons of an existing node:

A new Xtext editor for the file containing the new node is opened.
The Diagram View is resized to fill the lower half of the screen - the state is still displayed as maximized
Somtimes the Diagram View zooms to another zoom level.
In order to maximize the Diagram View again you have to klick Restore and then Maximize.

Expected behavior

The Diagram View is maximized
A new Xtext editor for the file containing the new node is opened (btw. does it really need to be openend?)
The new Xtext editor is opened minimized but focused, i.e., it is displayed as a small overlay near the view icon and automatically hides when it is unfocused.

Steps to reproduce
As far as I know there are no examples in Xtext that use more than one model file. However, the problem can also be reproduced with FXDiagram on a Java class, although the Java editor is not automatically opened when adding a new class:

Open a Java class and add it to the Diagram View
Maximize the Diagram View inside the Eclipse main window
Add any other class to the diagram that is not already openend in an editor using the side buttons
Double click the new class - a Java editor is opened in the upper half of the screen

The expected behavior is demonstrated e.g., by the statemachine (fowlerdsl) editor. Adding and double clicking a new node opens the statemachine editor as a small overlay.

Sorry for coming back to this so late.
I think you want the same behavior of the opened editor as with the console view that pops up when the content of the console changes: It appears as an overlay without touching the size of the opened editor. I fear that is not possible in Eclipse (3), as the FXDiagram view is a view and not an editor, and as such will always make place for a newly added editor.
I could not find anything in Eclipse source code/docs that indicates that this is possible. If you know an example where this behavior works with an editor that is popping up, I'd be happy to look at the source code and adapt it for FXDiagram. Until that I unfortunately have to close this issue. Sorry.


Initial commit from ember-cli

We need to override the initial commit which is now
Initial Commit from Ember CLI v1.13.15

We have a new commit message, but I guess it's not being used?
https://github.com/angular/angular-cli/blob/master/addon/ng2/utilities/INITIAL_COMMIT_MESSAGE.txt

No, I got the above message with the newest version from npm (0.0.24).

Duplicate of #125


Cant build project with SAFE template (3.0.0-beta004) template

Hey!
I was following the github-api example and able to generate the files and run a dotnet restore on the output.
When I do dotnet run the build fails with:
client: C:/code/snowflaque-demo/src/output/Github.GraphqlClient.fs(6,17): (6,21) error FSHARP: The namespace 'Http' is not defined. (code 39)
client: C:/code/snowflaque-demo/src/output/Github.GraphqlClient.fs(13,51): (13,61) error FSHARP: The type 'HttpClient' is not
defined. (code 39)
client: C:/code/snowflaque-demo/src/output/Github.GraphqlClient.fs(17,53): (17,63) error FSHARP: The type 'HttpClient' is not
defined. (code 39)
client: C:/code/snowflaque-demo/src/output/Github.GraphqlClient.fs(77,17): (77,37) error FSHARP: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the obj
ect. This may allow the lookup to be resolved. (code 72)
client: C:/code/snowflaque-demo/src/output/Github.GraphqlClient.fs(80,52): (80,86) error FSHARP: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the obj
ect. This may allow the lookup to be resolved. (code 72)
client: C:/code/snowflaque-demo/src/output/Github.GraphqlClient.fs(83,19): (83,47) error FSHARP: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the obj
ect. This may allow the lookup to be resolved. (code 72)
client: C:/code/snowflaque-demo/src/output/Github.GraphqlClient.fs(86,21): (86,45) error FSHARP: A reference to the type 'Syst
em.ComponentModel.INotifyPropertyChanged' in assembly 'netstandard' was found, but the type could not be found in that assembly (code 1109)
client: C:/code/snowflaque-demo/src/output/Github.GraphqlClient.fs(87,24): (87,47) error FSHARP: A reference to the type 'Syst
em.ComponentModel.INotifyPropertyChanged' in assembly 'netstandard' was found, but the type could not be found in that assembly (code 1109)
client: C:/code/snowflaque-demo/src/output/Github.GraphqlClient.fs(88,24): (88,47) error FSHARP: A reference to the type 'Syst
em.ComponentModel.INotifyPropertyChanged' in assembly 'netstandard' was found, but the type could not be found in that assembly (code 1109)
client: C:/code/snowflaque-demo/src/output/Github.GraphqlClient.fs(91,36): (91,57) error FSHARP: A reference to the type 'Syst
em.ComponentModel.INotifyPropertyChanged' in assembly 'netstandard' was found, but the type could not be found in that assembly (code 1109)
client: C:/code/snowflaque-demo/src/output/Github.GraphqlClient.fs(94,36): (94,57) error FSHARP: A reference to the type 'Syst
em.ComponentModel.INotifyPropertyChanged' in assembly 'netstandard' was found, but the type could not be found in that assembly (code 1109)
client: C:/code/snowflaque-demo/src/output/Github.GraphqlClient.fs(98,32): (98,53) error FSHARP: A reference to the type 'Syst
em.ComponentModel.INotifyPropertyChanged' in assembly 'netstandard' was found, but the type could not be found in that assembly (code 1109)
client: C:/code/snowflaque-demo/src/output/Github.GraphqlClient.fs(134,17): (134,37) error FSHARP: Lookup on object of indeterminate type based on information prior to this program point. A type annotation may be needed prior to this program point to constrain the type of the object. This may allow the lookup to be resolved. (code 72)

Find the example code base
https://github.com/Akash-Mair/snowflaq-demo

Hi @Akash-Mair this is a configuration error: the generated project by Snowflaqe had target "fsharp" but it was referenced from from a Fable project which doesn't work because the fsharp target is specific to dotnet F#. To fix this, you have to configure target to be "fable" or omit the property altogether from the config file


feat (cli query): add yaml support for recipe parsing

Amazing! Thanks so much for the thorough testing!


整个包 连接代理一直超时

ERROR | "./app\utils\gemini_analyzer.py:116": analyze_images - 批次 0 处理出错: Timeout of 600.0s exceeded, last exception: 503 failed to connect to all addresses; last error: UNAVAILABLE: ipv4:<IP_ADDRESS>:7890: ConnectEx: Connection refused (No connection could be made because the target machine actively refused it.
-- 10061)

已解决


AirQo-Historical-Hourly-Measurements Unit Tests

WHAT DOES THIS PR DO?

[x] Ensures that tests created earlier are not internet dependent. (Utilising Mockups)

Jira cards

OPS 256

Summary by CodeRabbit

Tests

Enhanced testing functionality for data extraction methods by integrating mock responses for more reliable and controlled tests.
Updated test data structure for better validation of the processing logic.
Simplified assertions to improve clarity and efficiency of the testing process.

Thanks @MartinKalema ,
At a later stage, could we explore the possibility of having some of these test coverages show up as badges in the README for our workflows microservice.

Absolutely @Baalmart
I can work closely with @MartinKalema to assist implementing coveralls, codecov and codacy

Yes, Sure @Baalmart


Get exception when running doxx --source lib --target docs

I get this error when trying to parse javascript files:
/usr/local/lib/node_modules/doxx/node_modules/marked/lib/marked.js:1215
    throw e;
          ^
TypeError: Cannot read property 'replace' of undefined
Please report this to https://github.com/chjj/marked.
    at Lexer.lex (/usr/local/lib/node_modules/doxx/node_modules/marked/lib/marked.js:137:5)
    at Function.Lexer.lex (/usr/local/lib/node_modules/doxx/node_modules/marked/lib/marked.js:128:16)
    at marked (/usr/local/lib/node_modules/doxx/node_modules/marked/lib/marked.js:1207:31)
    at module.exports (/usr/local/lib/node_modules/doxx/lib/doxx.js:116:11)
    at Object.<anonymous> (/usr/local/lib/node_modules/doxx/bin/doxx:42:1)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9970595-get-exception-when-running-doxx-source-lib-target-docs?utm_campaign=plugin&utm_content=tracker%2F332585&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F332585&utm_medium=issues&utm_source=github).

I got this error when I had a blank or non existent README.md file.

Hello @rexwang @whit1440 as you can see in the output, the error must be reported to marked, not doxx
Please report this to https://github.com/chjj/marked.

Closing :)

Maybe I'm reading something in the code wrong but to me it looks like in lib/doxx.js it

tries to find a readme file at line 96
looks in the file system for that file on line 98
warns that no file is found on line 101
one final attempt to populate the readme  on line 104
passes what is has to marked package on line 116

I'd guess that it's passing in an undefined value to marked and marked is failing hard. Is marked expected to handle accepting an undefined value? I agree that marked should perhaps fail with more grace but en lieu of that you may want to consider making your readme requirements a little clearer. I see you have the option called out in bin/doxx but not in your README.md.

Oh I see, so the only thing to do is to change lines around L.116 and not pass an empty readme to marked, right?
If so, no problem, send me a PR and I'll merge it to master :)


Insert omitted word in Advanced Node & Express introduction page

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example only English changes, or only Chinese changes, etc.

This PR adds an omitted word into the introductory message for the challenge: "Advanced Node and Express".
At the moment, the first sentence of the second paragraph in the introduction reads:

The most common and easiest to use authentication middleware for Node.js is Passport.

Reading this carefully reveals that "way" is missing after the word "easiest" - which is what was added in this Pull Request. It would now read like this:

The most common and easiest way to use authentication middleware for Node.js is Passport.

Cheers!

@iamwebwiz You really should not be creating a PR from your master branch.  Instead, you should make sure your master branch of your forked repo is up to date with the master branch on the freeCodeCamp repo and then create a new branch to make your changes.  The PR would come from the new branch.  This helps you to keep your master branch "clean".

Ah, alright. I will fix that.


dbeaver/pro#1739 Open external file using preferred application

Doesn't work on Mac because of file permissions

Verified on Linux


Speed up mp4 to webm conversion?

Q
A

Bug?
no

New Feature?
no

Version Used
0.9.3

FFmpeg Version
FFmpeg 3.2.2

OS
Ubuntu

Currently when I convert a video from mp4 to webm, it can take minutes for something as small as a 4 MB file.
Here is my code:
$ffmpeg = FFMpeg::create();

$video = $ffmpeg->open('my_mp4.mp4');

$format = new WebM();
// $format->setVideoCodec('libvpx-vp9'); // Disabled, takes even longer if I use libvpx-vp9
$video->save($format, 'my_webm.webm');

This particular 4 MB file takes anywhere between 1.5 minutes to 2 minutes to convert.
How can I speed up this process while keeping quality as high as possible?

Can you give me the command you would've expected that is faster when using the prompt?


reusable functions to check an object's instance against several classes, whether via an OR check, or an AND check

tests included, sorry, my fork is not quite up to date, so the sanitized_input is included.
PEP8 Compliant according to my linter and its settings (pycodestyle - "ignore": "E501,W142, W191, E303, E302, W293, E114, E116", "max-line-length": 100)

Hello @Dogeek! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file reusables/sanitized_input.py:

Line 3:1: E302 expected 2 blank lines, found 1

In the file test/test_sanitized_input.py:

Line 9:1: E302 expected 2 blank lines, found 1
Line 87:1: W391 blank line at end of file

In the file test/test_tasker.py:

Line 71:101: E501 line too long (113 > 100 characters)
Line 94:1: W391 blank line at end of file

or_instances operates the same way isinstance works by default, it can take a tuple of classes to check against, so that is unnecessary.  https://docs.python.org/3/library/functions.html#isinstance

"If classinfo is a tuple of type objects (or recursively, other such tuples), return true if object is an instance of any of the types. "

I am also trying to think of any scenario you would need and_instances. If you want to know if something is a certain instance, you'll chose the lowest subclassed instance of your needs if you want it to be that specific. Which means you'll already know it's an instance of those other classes.

I suppose that's true. I thought of and_instances mainly to make a "xor_instances" though. Since that can be useful, in some cases.
I actually didn't know isinstance could take in a tuple (or maybe I did and I forgot). I guess this PR has no reason to be then


support gc for local instance

garbage collection for removed runtime/dataset/model objects, which free disk spaces.

dup: https://github.com/star-whale/starwhale/issues/265


cards.* domain doesn't resolve

Title says it all.

Thanks. I'm moving some things around, again. It should be resolving now. I decided to not have a dedicated page for it, other than the Micro.blog plugin page. I'd rather write posts for each update and keep everyone updated that way.


Implement priority queue on inbound messages

Describe what you want implemented
A queue that sidesteps the non-determinism of golang scheduling system: https://github.com/dusk-network/dusk-blockchain/blob/f44e1055887cf2a71fd05ec346fc3461cf223d44/pkg/p2p/peer/peer.go#L340
Describe "Why" this is needed
There is a strong suspicion that some consensus messages might be unlawfully delayed by the golang scheduler, potentially creating problems.
Describe alternatives you've considered
Splitting the inbound messages between a priority queue and the normal scheduler as is
Additional context
This might be related to the root cause of #1156

After ad-nauseum consideration of the issue I came up with this final, simple-as-possible way to implement it:
P = priority
N = non-priority
For this math, 1 is zero, because zero destroys the proportion. So this is kinda ordinals.
(P+1)/(N+1)>=2
P at 3 and N at 1 gives a result that satisfies this. So does these:
1, 0
2, 0
3, 0
4, 1
5, 2
6, 2
6, 3
When this condition is satisfied, the queue consumes a priority item. Otherwise, it consumes a non-priority item.

Further refinement to add a modulus based forced selection to ensure the less filled queue still gets picked on.
closes #1206

Current status is a simple test that demonstrates and validates the queue does not neglect non-priority items when they are being overwhelmed by priority messages.
The previous loop with unbounded spawning of goroutines to process messages has been changed into two goroutines, one which receives messages, the other which picks messages off the queue and processes them in a single thread.
The issue of keeping everything asynchronous and avoiding spinlocks and polling lead to the addition of a multi-lane semaphore that causes the consumer to block waiting for a producer to deliver a message. The semaphore channel is loaded at the same time as the message channel, and the reader waits on a semaphore to read from the queue, in this way, until there is an item on the semaphore channel there can't be a message so any call to Pop then waits until Push has been called to provide a new semaphore.
The only thing that may be needed is if the work queue should be parallelized or not. Currently it is designed to be a single thread. Making it multiple thread is a matter of adding a loop to spawn the queue consumer thread multiple times.

The dangling element to close this issue is that in the test the callback fails to execute, for which reason a timeout failure mode was added.


replace cattr_accessor with class var

since cattr_accessors are potentially problematic re: wandering class vars, I think this should also probably be a class attribute
because of the work done on https://github.com/ManageIQ/manageiq/pull/20274 this caught my eye because of Jason's https://github.com/ManageIQ/manageiq/pull/20664#discussion_r513793189. as a general rule we probably shouldn't be using cattr_accessor.
see https://github.com/ManageIQ/manageiq/pull/20785, in which the same change was made, for the same reason
@miq-bot assign @kbrock

@jrafanie Please review.  This might have been intentional, but I'm not sure.

Using a class attribute will not affect this concern.

If you were willing to give me suggestions for what else you'd like to see here that might, I'd be happy to address them.

Using a class attribute will not affect this concern.

If you were willing to give me suggestions for what else you'd like to see here that might, I'd be happy to address them.

Yeah, this is defined in the server which would not have parent/child subclasses (wandering class variables where child changes parent class variables), only different included modules.
I'm fine with changing it to class_attribute.  I can verify it before/after merging... but will require a image rebuild... gotta love containers

Keenan and LJ said this was fine by them, any chance someone's willing to consider merging please?

this broke the build:
Failures:

  1) FixAuth::AuthConfigModel#request_tasks upgrades request (find with prefix, dont stringify keys)
     Failure/Error: expect(new_options[:sysprep_domain_password]).to be_encrypted(pass)
       expected: "v2:{VDJYB7YXLjPpc37yoUROVw==}" to be encrypted and decrypt to "password"
     # ./spec/tools/fix_auth/auth_config_model_spec.rb:75:in `block (3 levels) in <top (required)>'

Finished in 9 minutes 38 seconds (files took 19.21 seconds to load)

5398 examples, 1 failure, 1 pending

which a) looks unrelated and b) I can't reproduce locally so possibly is sporadic

@d-m-u definitely looks like miq-password changes


easy-linclust --split-memory-limit only take number but not unit like B,M,G, T?

Expected Behavior
When setting --split-memory-limit to 250G, got error said "Error in argument --split-memory-limit".
Current Behavior
If setting it to 250, the error was gone. But got "Not enough memory to keep dbreader/write in memory!"
If setting it to 25000, there would be no errors. But I'm not sure what unit it takes. (25000B? 25000M? 25000G?)
Steps to Reproduce (for bugs)
The code I'm using now is
mmseqs easy-linclust ${sample}_R2.fastq.gz $OUT tmp -c 0.95  --split-memory-limit 25000
Your Environment
MMseqs2 Version: 113e3212c137d026e297c7540e1fcd039f6812b1
Thanks for the help!

Could you try to update to the latest release and see if the error still happens? I cannot reproduce it locally.

Hi @milot-mirdita, thanks! I updated the mmseqs to the latest version and set the --split-memory-limit parameter to 250G, this time I didn't get that error, but it threw me another error:

Not enough memory to process at once need to split
[=================================================================tmp/2319642838547372155/clu_tmp/15550839581876067830/linclust.sh: line 26:   344 Killed                  $RUNNER "$MMSEQS" kmermatcher "$INPUT" "${TMP_PATH}/pref" ${KMERMATCHER_PAR}
Error: kmermatcher died
Error: Search died
finished
slurmstepd: error: Detected 1 oom-kill event(s) in step 30119673.batch cgroup. Some of your processes may have been killed by the cgroup out-of-memory handler.

The command I'm using is like this:
mmseqs easy-linclust ${sample}_R2.fastq.gz $OUT tmp -c 0.95  --split-memory-limit 250G
Could you give me some help on that?
Thanks so much!

How much RAM does the machine have? Does this also happen when you let it choose the memory itself?

I think the memory the cluster allocate to me is 250G since I set the header of the .sbatch file as:
#SBATCH -p gpu
#SBATCH --gres=gpu
#SBATCH --cpus-per-task=8
**#SBATCH --mem=250G**

Before I tried this parameter, my command was like:
mmseqs easy-cluster $OUT/${sample}_subsampled_R2.fastq.gz $OUT tmp --min-seq-id 1
and it didn't threw me any errors. (But note that I applied the previous command on a subset of my original data (extracted 1 million reads), but I applied the --split-memory-limit parameter on the entire dataset).

I think we improved this recently somewhat but --split-memory-limit should still be around ~80% or so of the actual allowed memory use. So --split-memory-limit 200G should work. There is still unaccounted thread memory etc.


[FEATURE] List all os-level dependencies in requiremens, or add them to the install script

Description of the requested feature
During the build process, I have encountered several missing libs in my system, which includes, but not limits to libglib2.0-dev, libcairo2-dev, etc.
Proposed solution
It would've been nice to either list all these deps in the install section of the docs or automate this process in the install script.
Additional context
No problems with cargo build itself were experienced.

There is no installation script. And dependencies will be taken care of, when eww will be packaged in the repositories from various distros.
But in the meantime, the nix-shell derivation from karetsu contains all needed dependencies (as proven by the fact that it can run in nix-shell --pure, which only makes listed dependencies available in the path) https://github.com/elkowar/eww/blob/57c674fb02faad05810bd22bca955daa77988e30/shell.nix#L10
So if you install those, you should be fine.
But you are right, that the dependencies should be listed under Prerequisites in the official documentation.

Yeah I'll look into deps for ubuntu but idk about other distros
On arch it's in the AUR

Yeah I'll look into deps for ubuntu but idk about other distros
On arch it's in the AUR

Thanks.

For Fedora 33 WS here's what I needed:
sudo dnf install cairo-devel pango-devel atk-devel cairo-gobject-devel gdk-pixbuf2-devel gtk3-devel

It's a ton of stuff. I haven't done the research to see if there's a meta-package or something that depends on at least a few of these to ease typing, or even just to see if any depend on one another (gtk3-devel is likely). (though who am I kidding, copy & paste is pretty rad :wink:)
Furthermore, this might not even be all of it, as I do develop software in my free time on this very fedora computer that gave me the error messages I used to get the package list above. :sweat:

Ubuntu 20.04 apt list:
sudo apt install libcairo2-dev libatk1.0-dev libgdk-pixbuf2.0-dev

Still missing gdk-3.0...(may need to build from source)

Hi there! This is what worked for me on Fedora 38, it's essentially the same as what @Lazerbeak12345 listed, but with the addition of gtk-layer-shell-devel.
sudo dnf install cairo-devel pango-devel atk-devel cairo-gobject-devel gdk-pixbuf2-devel gtk3-devel gtk-layer-shell-devel


Publication will not save

Following error in Javascript console:
Uncaught TypeError: can't access property "title", response.responseJSON is undefined
saveTile webpack://arches_fossils/../../../../arches-core/arches/app/media/js/viewmodels/card-component.js?:147
save webpack://arches_fossils/../../../../arches-core/arches/app/media/js/viewmodels/tile.js?:220
jQuery 4
editor.js line 818 > eval:147:9
saveTile webpack://arches_fossils/../../../../arches-core/arches/app/media/js/viewmodels/card-component.js?:147
save webpack://arches_fossils/../../../../arches-core/arches/app/media/js/viewmodels/tile.js?:220
jQuery 4

This is caused by a new resource being indexed before the tile is saved. When saving a new tile the resource is indexed 3 times - twice before the tile is saved. Updated the descriptor to return empty string rather than none if the tile doesn't exist yet.


When running dbt test on a specific model it doesn't run the unit tests only the dbt tests.

Describe the bug
When running DBT test on the specific model you want to test it only picks up the DBT tests and ignores the unit tests from dbt mocktool. With a large amount of tests this makes development quite impractical.
Steps to reproduce
Create a model, add a dbt_datamocktool.unit_test:
Run dbt test -m "model_name"
Notice how the unit test is ignored.
Expected results
Unit test should run.
Actual results
Unit tests don't run.
System information
The contents of your packages.yml file:
Which database are you using dbt with?
BigQuery
The output of dbt --version:
installed version: 0.20.2
   latest version: 1.0.0

Your version of dbt is out of date! You can find instructions for upgrading here:
https://docs.getdbt.com/docs/installation

Plugins:
  - postgres: 0.20.2
  - bigquery: 0.20.2
  - redshift: 0.20.2
  - snowflake: 0.20.2

Issue with dbt selector and not dbt_mocktool


Why use the features of last 4 layers?

We note that you use the features of last 4 layers from the encoder instead of intermediate layers (e.g. [5, 12, 18, 24] for vitl) as in some other works such as DINOv2. What's the reason for that and is there any remarkable difference between these two strategy?

Honestly, it is not an intentional practice. And we appreciate your reminder. Thank you.

I've played around with the 4 image encoder outputs and found that the results are not especially sensitive to throwing away some of the outputs. For example, for vit-large, if you repeat block 20 for all 4 outputs (instead of using 20,21,22,23 as normal), the result tends to look qualitatively similar. The same is true for blocks 21 and 22, though block 23 gives a distorted result. A similar pattern holds for vit-b and vit-s, except block 23 doesn't give distorted results with vit-s, weirdly.
Here's a comparison between different outputs for vit-large, using an increased processing resolution. The top-right is the 'normal' output, while the bottom-left is the result from repeating block 20 for all 4 outputs:

Out of curiosity, I also tried skipping all but the last fusion step (the one which takes the block 20 result as an input), in which case you get the result in the bottom-right. It seems to have more details than normal, though it's incorrect as a depth map. It may just be missing the low-frequency/ramp that would normally make it hard to see the details, which suggests the fusion step may deal with 'frequency' information?
I'm not sure what to make of it, but it's an interesting result! At the very least, it feels like the model might perform just as well (with a bit of fine tuning) with only 1 or 2 of the outputs instead of all 4, which might speed up inference a bit.

Hi @heyoeyo, thank you for sharing such an interesting observation!

I've done a few more experiments with this and found that the Depth-Anything vit-large model can consistently generate these hi-detail outputs by scaling the fusion steps. For example, for vit-l, you can try adding scaling factors on the last two steps, which seem to have the biggest impact:
path_2 = self.scratch.refinenet2(path_3 * 0.15, layer_2_rn, size=layer_1_rn.shape[2:])
path_1 = self.scratch.refinenet1(path_2 * 0.7, layer_1_rn)

I've set up an interactive demo for this, in case anyone wants to play around with it to see what the fusion layers do (fusion 2 on vit-l has a blurring effect when scaled >1, for example):

For anyone interested, I have a repo: MuggledDPT that includes other scripts for interacting with the Depth-Anything (and other DPT) outputs, including taking a webcam input. Not sure if you're still taking community repos @LiheYoung, but you're welcome to add this to the listing if you like, it's mostly meant to be an educational/explainer repo.

Thank you for providing these surprising and interesting observations! I tested more images and had similar observations as yours:

skipping the first three fusion blocks will produce sharper predictions, but are not correct enough from the perspective of MDE metrics.
decreasing the fusion weights of the path_3 and path_2 at test time will also produce sharper predictions.

Btw, when only using the final fusion block, did you use it as:
path1 = self.scratch.refinenet1(layer_1_rn, layer_1_rn) # replace the original "path_2" variable with "layer_1_rn"

Thank you again. I will definitely add your repo MuggledDPT to our repo in our next update.

Btw, when only using the final fusion block, did you use it as...

I can't remember exactly, but I think I did something equivalent to:
layer_1_rn = self.scratch.layer1_rn(layer_1)
#layer_2_rn = self.scratch.layer2_rn(layer_2)
#layer_3_rn = self.scratch.layer3_rn(layer_3)
#layer_4_rn = self.scratch.layer4_rn(layer_4)

#path_4 = self.scratch.refinenet4(layer_4_rn, size=layer_3_rn.shape[2:])
#path_3 = self.scratch.refinenet3(path_4, layer_3_rn, size=layer_2_rn.shape[2:])
#path_2 = self.scratch.refinenet2(path_3, layer_2_rn, size=layer_1_rn.shape[2:])
path_1 = self.scratch.refinenet1(torch.zeros_like(layer_1_rn), layer_1_rn)

(it only 'works' with vit-l. The base and especially small models are distorted by this)
The other example 'using block 20 only' was done with a modification equivalent to changing the loop over the image encoder features to something like:
for i, x in enumerate(out_features[0] for _ in range(4)):

Which also has odd behavior. Repeating index [0], [1] or [2] gives nearly identical (good) results, but repeating index [3] gives a distorted output, at least for vit-l. It seems to suggest that there is something wrong/different with the last layer output. In case you hadn't seen it, there's a paper: "Vision Transformers Need Registers" that mentions artifacts in the later layers of the dinov2 encoder which is also evident in the depth-anything models. Might have something to do with these odd behaviors, though vit-l has artifacts starting on blocks 15-17, so I'm not really sure.

Thank you again. I will definitely add your repo MuggledDPT to our repo in our next update.

Thanks!


Support for more complex selectors

Is there a goal to add support for more complex selectors, eg: .parent .child or .element:first-child?

I use posthtml-match-helper to select tags. Try to create an issue there. If this feature will be implemented then my plugin will support complex selectors too.
Meanwhile, you can use juice, which supports those selectors.

Thanks for the background, I'll check with posthtml-match-helper.


Add error state to cards fetching screen

As Technical PM, I need to know why users are getting a bug where stop seeing cards.
Acceptance criteria: Screen shows reason for Error.
Error states to be defined by @mike-audi
Follow UX flow in Figma for further instructions on where the error state appears.

close. this will be addressed in #310


Using as Django storage

Can this be used as a Django storage, so I could have FileField fields save files automatically on S3? I'm currently banging my head against the wall because of the lack of Python 3 support in django-storages, boto, and Amazon's shitty S3 package that isn't even on PyPI.
But this package is awesome. This teeny tiny package is great. Can it... Can it also... Be a Django storage and sprinkle fairy dust all over my FileFields?

Looking for something like this as well. Can you share what solution you were able to find?


AuroraBoot ISO creation fails on MacOS (image pull failure)

Trying to build an offline ISO fails due to an image pull failure. I don't see any difference between what I've been doing and what the docs say so I'm at a bit of a loss. Apologies if this is just some environment issue. The build succeeds when using container_image=quay.io/kairos/core-ubuntu-22-lts-k3s:v1.26.4-k3s1 or any other kairos prebuilt image from quay.
I've tried the below workflow on an arch vm, an ubuntu 22.04 vm, and my macOS host; below is the output from the arch vm...the same error occurs on the ubuntu and mac machines (/var/run/docker.sock is replaced with ~/.rd/docker.sock when on mac host).
I've tried running the auroraboot container without the build dir already existing...same issue.
I tried using different versions of auroraboot (v0.2.4, v0.2.5, latest) all had the same error.
I also tried removing the state dir arg and setting the volume mount to just /tmp instead of /tmp/auroraboot, same issue.
[I] clayton@archbox ~> uname -a
Linux archbox 6.5.4-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 21 Sep 2023 11:06:39 +0000 x86_64 GNU/Linux

[I] clayton@archbox ~/nas (master)> tree
.
├── build
└── config.yaml

1 directory, 1 file

[I] clayton@archbox ~> docker images
REPOSITORY                       TAG       IMAGE ID       CREATED          SIZE
clanktron/nas                    0.1.0     9b5c47d1cb25   50 minutes ago   3.66GB
clanktron/nas                    latest    9b5c47d1cb25   50 minutes ago   3.66GB
clanktron/custom-nas             latest    73d74937b9e1   2 days ago       3.66GB
quay.io/kairos/auroraboot        latest    7f27c63bee49   2 weeks ago      1.27GB
quay.io/kairos/auroraboot        v0.2.5    f749050aca6a   2 months ago     1.15GB
quay.io/kairos/core-rockylinux   v1.5.0    c910af2a9e32   8 months ago     763MB

[N] clayton@archbox ~/nas (master)> docker run -v "$PWD"/config.yaml:/config.yaml \
                                                     -v "$PWD"/build:/tmp/auroraboot \
                                                     -v /var/run/docker.sock:/var/run/docker.sock \
                                                     --rm -ti quay.io/kairos/auroraboot:v0.2.5 \
                                                     --set container_image=docker://clanktron/nas:0.1.0 \
                                                     --set "disable_http_server=true" \
                                                     --set "disable_netboot=true" \
                                                     --cloud-config /config.yaml \
                                                     --set "state_dir=/tmp/auroraboot"

9:07AM INF Pulling container image 'clanktron/nas:0.1.0' to '/tmp/auroraboot/temp-rootfs' (local: true)
9:09AM ERR Failed pulling container image 'clanktron/nas:0.1.0' to '/tmp/auroraboot/temp-rootfs' (local: true): signal: killed
2 errors occurred:
        * signal: killed
        * 'gen-iso' deps container-pull failed

container_image=docker://clanktron/nas also fails...even after pushing to dockerhub the following fail as well:
container_image=clanktron/nas
container_image=clanktron/nas:0.1.0
container_image=docker.io/clanktron/nas
container_image=docker.io/clanktron/nas:0.1.0

The issue seems to be write access to the mounted directory. The error actually persists regardless of whether it's a custom image or an official kairos one.

Can anyone confirm this is replicable?

As a side note, it would be really nice if we had some more comprehensive logging for the container pull process in general. When testing the command tends to hang regardless of whether or not the pull is occurring successfully or not. Having some more visibility as to what's happening (network hang, disk write hang, or just a slow pull process) would be very valuable.

Didn't realize there was a --debug flag. After adding such my suspicions were confirmed.
6:18PM DBG 1.
6:18PM DBG  <prepare-netboot> (background: false)
6:18PM DBG  <prepare-iso> (background: false)
6:18PM DBG  <prepare-temp> (background: false)
6:18PM DBG
6:18PM DBG 2.
6:18PM DBG  <container-pull> (background: false)
6:18PM DBG  <copy-cloud-config> (background: false)
6:18PM DBG
6:18PM DBG 3.
6:18PM DBG  <gen-iso> (background: false)
6:18PM DBG
6:18PM DBG 4.
6:18PM DBG
6:18PM DBG 5.
6:18PM DBG
6:18PM INF Pulling container image 'quay.io/kairos/core-rockylinux:v2.4.0' to '/tmp/auroraboot/temp-rootfs' (local: false)
6:18PM DBG Output ' INFO    Downloading  quay.io/kairos/core-rockylinux:v2.4.0  to  /tmp/auroraboot/temp-rootfs
  ERROR     lchown /tmp/auroraboot/temp-rootfs/var: permission denied
'
6:18PM ERR Failed pulling container image 'quay.io/kairos/core-rockylinux:v2.4.0' to '/tmp/auroraboot/temp-rootfs' (local: false): exit status 1
2 errors occurred:
        * exit status 1
        * 'gen-iso' deps container-pull failed

The chown fails regardless of the state_dir arg in my testing.
@mauromorales this seems pretty serious as it prevents ISO creation completely, regardless of the source container.

@clanktron this is working properly on Linux, so I suspect that there must be some permission issue between the container on the VM and the local FS

In my case I see the following error:
  ERROR     chmod /tmp/auroraboot/temp-rootfs/etc/machine-id: permission denied
'
9:22PM ERR Failed pulling container image 'quay.io/kairos/core-rockylinux:v1.5.0' to '/tmp/auroraboot/temp-rootfs' (local: false): exit status 1
2 errors occurred:
	* exit status 1
	* 'gen-iso' deps container-pull failed

@clanktron this is working properly on Linux

oops you're right. I had tried it in the aforementioned VMs without the debug flag and didn't realize both of them just didn't have enough available disk space 🤦 .

This seems related to #1695, though in my testing I can't seem to get it to work with or without the state_dir arg.

This worked for me under linux:
docker run -v "$PWD"/config.yaml:/config.yaml -v "$PWD"/build:/tmp \
                                                              --rm -ti quay.io/kairos/auroraboot \
                                                              --set container_image=quay.io/kairos/core-rockylinux:v2.4.0 \
                                                              --set "disable_http_server=true" \
                                                              --set "disable_netboot=true" \
                                                              --cloud-config /config.yaml

@clanktron Does it fail under linux for you too? or only under Mac?

IMO we should close this issue to not mix the original issue which was related to artifact download, and open a new issue to address the permissions

Just macOS is failing, linux was only failing because I was negligent and didn't notice the vm disks I was using had too little free space.
I'm using rancher desktop on an intel mac for context. I've tried both the docker engine and the containerd engine with nerdctl and both give me the chown error.
3:16AM INF Pulling container image 'quay.io/kairos/core-rockylinux:v2.4.0' to '/tmp/temp-rootfs' (local: false)
3:17AM DBG Output ' INFO    Downloading  quay.io/kairos/core-rockylinux:v2.4.0  to  /tmp/temp-rootfs
  ERROR     lchown /tmp/temp-rootfs/var: permission denied
'
3:17AM ERR Failed pulling container image 'quay.io/kairos/core-rockylinux:v2.4.0' to '/tmp/temp-rootfs' (local: false): exit status 1
2 errors occurred:
        * exit status 1
        * 'gen-iso' deps container-pull failed

There seems to be at least some filesystem access since the following is created under the build dir before the failure.
.
├── build
│   ├── auroraboot-dat2581641770
│   ├── iso
│   │   └── config.yaml
│   ├── netboot
│   └── temp-rootfs
│       └── var
└── config.yaml

6 directories, 3 files


Cleanup old jobs

CronJob spawns new jobs, but never removes any finished jobs.
New defaults planned for k8s 1.6 should fix this but i want some workaround in the meantime

Example workaround in job-cleanup.yaml


.getEnergyStored() still returns a value in J

I'm not sure if this is something that you have control over or if it's on the ComputerCraft/OpenPeripherals side of things, but I just wanted to let you know that even though the GUI of every power storage block in Mekanism displays in RF, the .getEnergyStored() command still displays those values in J, and must be multiplied by 4 to get the RF value. Is this intentional?

This is intentional, yes- getEnergyStored() returns all values in base Mekanism units (J).


chrome dev tool not find vue

I install vue-devtools by chrome app store. But, i open the vue web, the vue devtool don't show in chrome devtool.
what's the configuration need i set ? Who can help me ? Thanks !

You need to be running in development mode. To test you can open the devtools on the vuejs.org website

I open the chrome dev tool, see the console log, the web work in development mode. I set the vue dev-tool , but it prompt me "Vue.js is detected on this page. Devtools inspection is not available because it's in production mode or explicitly disabled by the author.".

I have the same problem


[Feat] Code Block

https://vercel.com/geist/code-block

https://yus-lab.com/article/nextjs-prisma-contentlayer-codehike


When creating a fluent project, how to set the local gradle instead of automatic generation

When creating a fluent project, how to set the local gradle instead of automatic generation

hI @sheepych
If I am not mistaken you are looking to use local Gradle with flutter, you can set GRADLE_HOME path to local Gradle and flutter won't generate it's Gradle, will use whatever GRADLE_HOME points to
https://docs.gradle.org/current/userguide/installation.html#linux_macos_users_2
lease see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


watch-fs stuck in unknown loop

I'm using the kookma favorites plugin (https://github.com/kookma/TW-Favorites), and noticed that when I toggled favorite status of a tiddler, watch-fs got stuck in a loop.
The files /tiddlywiki/data/tiddlers/$__favorites_favlist.tid and /tiddlywiki/data/tiddlers/$__plugins_kookma_favorites_recent.tid is not being changed between each iterations.
I'm not sure if this is a problem with the favorites plugin, or if there are a general bug in watch-fs. I'll update the issue if I figure out some more
Here is an example of 2 iterations of the loop.
 syncer-server-filesystem: Dispatching 'save' task: $:/favorites/favlist
 syncer-server-filesystem: Dispatching 'save' task: $:/plugins/kookma/favorites/recent
$__favorites_favlist.tid update
tiddlersDescriptor {
  "filepath": "/tiddlywiki/data/tiddlers/$__favorites_favlist.tid",
  "type": "application/x-tiddler",
  "tiddlers": [
    {
      "title": "$:/favorites/favlist",
      "created": "NaNNaNNaNNaNNaNNaNNaN",
      "list": "aaa [[something]]",
      "modified": "20200915193938719",
      "type": "text/vnd.tiddlywiki"
    }
  ],
  "hasMetaFile": false
}
updating existed tiddler $:/favorites/favlist
Saving updated $:/favorites/favlist
canSync is now false
$__plugins_kookma_favorites_recent.tid update
tiddlersDescriptor {
  "filepath": "/tiddlywiki/data/tiddlers/$__plugins_kookma_favorites_recent.tid",
  "type": "application/x-tiddler",
  "tiddlers": [
    {
      "title": "$:/plugins/kookma/favorites/recent",
      "caption": "Recently added",
      "created": "NaNNaNNaNNaNNaNNaNNaN",
      "creator": "a revised version of Andrew Harrison favorite plugin",
      "list": "aaa $:/plugins/kookma/favorites/styles/image.css",
      "modified": "20200915193938750",
      "modifier": "a revised version of Andrew Harrison favorite plugin",
      "tags": "$:/tags/Favorites/Folder",
      "type": "text/vnd.tiddlywiki"
    }
  ],
  "hasMetaFile": false
}
updating existed tiddler $:/plugins/kookma/favorites/recent
Saving updated $:/plugins/kookma/favorites/recent
canSync is now false

//// Next iteration starts here...

 syncer-server-filesystem: Dispatching 'save' task: $:/favorites/favlist
 syncer-server-filesystem: Dispatching 'save' task: $:/plugins/kookma/favorites/recent
$__favorites_favlist.tid update
tiddlersDescriptor {
  "filepath": "/tiddlywiki/data/tiddlers/$__favorites_favlist.tid",
  "type": "application/x-tiddler",
  "tiddlers": [
    {
      "title": "$:/favorites/favlist",
      "created": "NaNNaNNaNNaNNaNNaNNaN",
      "list": "aaa [[something]]",
      "modified": "20200915193938719",
      "type": "text/vnd.tiddlywiki"
    }
  ],
  "hasMetaFile": false
}
updating existed tiddler $:/favorites/favlist
Saving updated $:/favorites/favlist
canSync is now false
$__plugins_kookma_favorites_recent.tid update
tiddlersDescriptor {
  "filepath": "/tiddlywiki/data/tiddlers/$__plugins_kookma_favorites_recent.tid",
  "type": "application/x-tiddler",
  "tiddlers": [
    {
      "title": "$:/plugins/kookma/favorites/recent",
      "caption": "Recently added",
      "created": "NaNNaNNaNNaNNaNNaNNaN",
      "creator": "a revised version of Andrew Harrison favorite plugin",
      "list": "aaa $:/plugins/kookma/favorites/styles/image.css",
      "modified": "20200915193938750",
      "modifier": "a revised version of Andrew Harrison favorite plugin",
      "tags": "$:/tags/Favorites/Folder",
      "type": "text/vnd.tiddlywiki"
    }
  ],
  "hasMetaFile": false
}
updating existed tiddler $:/plugins/kookma/favorites/recent
Saving updated $:/plugins/kookma/favorites/recent
canSync is now false

A simple
<$button>
<$action-setfield $tiddler="$:/favorites/favlist" list="aaa"/>
trigger loop
</$button>

will trigger the loop (and wipe out favorite list, beware!).
However, changing to any other path, example $:/favorites/favlist2 doesnt trigger the loop. So I guess it might be the favorite plugins mistake. This loop also happens when changing any of the settings of this favorite plugins..

Normally changes from the browser will be ignored, so their change to the disk won't trigger another change in the browser, causing a loop.
Seems in this case the change from browser is not properly ignored?
I have the favorite plugin installed, but I haven't use it at least once...So I didn't know this before.

I did see this issue once a couple of days with another plugin as well.. I don't remember which one, and I can't reproduce it. But yea, there might be some edge cases that isn't probably ignored then.
So you where able to reproduce?

This seem to be fixed now! Just by fixing #7

It still happens when I'm testing the new version. I'll investigate some more. Are you on 5.1.22?

No, I'm using https://www.npmjs.com/package/@tiddlygit/tiddlywiki  5.1.23-prerelease.20201003-fix-file-info

Well... Not using watch-fs now, I mostly manually reload the nodejs wiki, it don't consume too much time...


[Issue] Error after creating a new key

From Keys
Failed: Invalid `db_js_1.default.keyUser.count()` invocation in /app/dist/daemon/run.js:47:58 44 const key = { 45 name, 46 npub: user.npub, → 47 userCount: await db_js_1.default.keyUser.count( The table `main.KeyUser` does not exist in the current database.

Using docker
nsecbunkerd-nsecbunker-1  | Error handling request get_policies:
nsecbunkerd-nsecbunker-1  | Invalid `db_1.default.policy.findMany()` invocation in
nsecbunkerd-nsecbunker-1  | /app/dist/daemon/admin/index.js:198:52
nsecbunkerd-nsecbunker-1  |
nsecbunkerd-nsecbunker-1  |   195  * Command to list policies
nsecbunkerd-nsecbunker-1  |   196  */
nsecbunkerd-nsecbunker-1  |   197 async reqListPolicies(req) {
nsecbunkerd-nsecbunker-1  | → 198     const policies = await db_1.default.policy.findMany(
nsecbunkerd-nsecbunker-1  | The table `main.Policy` does not exist in the current database. []
nsecbunkerd-nsecbunker-1  | Error handling request get_keys:
nsecbunkerd-nsecbunker-1  | Invalid `db_js_1.default.keyUser.count()` invocation in
nsecbunkerd-nsecbunker-1  | /app/dist/daemon/run.js:47:58
nsecbunkerd-nsecbunker-1  |
nsecbunkerd-nsecbunker-1  |   44 const key = {
nsecbunkerd-nsecbunker-1  |   45     name,
nsecbunkerd-nsecbunker-1  |   46     npub: user.npub,
nsecbunkerd-nsecbunker-1  | → 47     userCount: await db_js_1.default.keyUser.count(
nsecbunkerd-nsecbunker-1  | The table `main.KeyUser` does not exist in the current database. []
nsecbunkerd-nsecbunker-1  | Error handling request get_keys:
nsecbunkerd-nsecbunker-1  | Invalid `db_js_1.default.keyUser.count()` invocation in
nsecbunkerd-nsecbunker-1  | /app/dist/daemon/run.js:47:58
nsecbunkerd-nsecbunker-1  |
nsecbunkerd-nsecbunker-1  |   44 const key = {
nsecbunkerd-nsecbunker-1  |   45     name,
nsecbunkerd-nsecbunker-1  |   46     npub: user.npub,
nsecbunkerd-nsecbunker-1  | → 47     userCount: await db_js_1.default.keyUser.count(
nsecbunkerd-nsecbunker-1  | The table `main.KeyUser` does not exist in the current database. []
nsecbunkerd-nsecbunker-1  | Error handling request get_keys:
nsecbunkerd-nsecbunker-1  | Invalid `db_js_1.default.keyUser.count()` invocation in
nsecbunkerd-nsecbunker-1  | /app/dist/daemon/run.js:47:58
nsecbunkerd-nsecbunker-1  |
nsecbunkerd-nsecbunker-1  |   44 const key = {
nsecbunkerd-nsecbunker-1  |   45     name,
nsecbunkerd-nsecbunker-1  |   46     npub: user.npub,
nsecbunkerd-nsecbunker-1  | → 47     userCount: await db_js_1.default.keyUser.count(
nsecbunkerd-nsecbunker-1  | The table `main.KeyUser` does not exist in the current database. []
nsecbunkerd-nsecbunker-1  | Error handling request get_keys:
nsecbunkerd-nsecbunker-1  | Invalid `db_js_1.default.keyUser.count()` invocation in
nsecbunkerd-nsecbunker-1  | /app/dist/daemon/run.js:47:58
nsecbunkerd-nsecbunker-1  |
nsecbunkerd-nsecbunker-1  |   44 const key = {
nsecbunkerd-nsecbunker-1  |   45     name,
nsecbunkerd-nsecbunker-1  |   46     npub: user.npub,
nsecbunkerd-nsecbunker-1  | → 47     userCount: await db_js_1.default.keyUser.count(
nsecbunkerd-nsecbunker-1  | The table `main.KeyUser` does not exist in the current database. []

When running npx prisma db push in the docker container got Aborted (core dumped)
When running directly in the docker container
root@3c2fbb156bd2:/app# npx prisma db push
node[174]: pthread_create: Resource temporarily unavailable
Aborted (core dumped)

Also experiencing the same issue (on docker) when creating a new key.

Is this fixed in v0.10? @pablof7z

yes, I think so. I haven't been able to reproduce this. Can someone try with the latest package?


Fix 50x errors while loading page links

We have hit a few 50x errors while pulling a page to get links and that has caused the rest of the link checking to terminate early. To fix that we switching to LogError which will output an error in devops instead of Write-Error which terminates immediately. We also add some retry count to the page retrieval and cache file retrieval to help with these transitent 50x issues.

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow


Bug Fixes and Future developments

There was a bug in the imagestream that did not output argb8888 data if the resolution was not max.
Added the ability to change the orientation of the camera. This feature is only available for macOS < 14.0 and swift < 5.8.1.
Added the ability to turn on and off a light if the camera has one.
Added the ability to change audio quality and codec.
setFocusPoint no longer requires an id. It looks at the current camera being used. Since it was so new I did not add a deprecated version of this.
Edited example file with new updates.

Future: Looked into zoom feature. Was able to get it working on imagestream, but have not finished getting it on video and buffer.

Thank you so much for the input.
I've corrected a few typos and published the update.
Currently, it seems that macOS doesn't support real time zooming on a AVCaptureDevice, so let's just not implement it for the time being.

I ran the new pub.dev version, but did not work on my older macos due to:
  if #available(macOS 14.0, *), connection.isVideoRotationAngleSupported(self.orientation){
      connection.videoRotationAngle = self.orientation
  }

This will need to be added to let older versions of xcode to run the updated version.
#if compiler(<5.8.1)
  if #available(macOS 14.0, *), connection.isVideoRotationAngleSupported(self.orientation){
      connection.videoRotationAngle = self.orientation
  }
 #endif


[Question] How do I use the existing yml CI along with dependabot yml ?

This is not really a bug. It's more like a question that I have.
I currently have an existing yml in a specific folder for CI build. Every time a PR (change) is checked in, we will trigger the CI build.
Now, how do I add or combine the yml for dependabot, considering that in the dependabot we have trigger set to none versus in the CI, we have trigger set to a specific branch ? Ideally, we only want to run the dependabot scan only one time a week. Is it achievable with the v2 dependabot ? Thank you.
azure-pipelines.yml
# ASP.NET Core

# Build and test ASP.NET Core projects targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
---
variables:
  - name: buildConfiguration
    value: Release
  - name: agentPool
    "${{ if or(eq(variables['Build.SourceBranchName'], 'dev'), eq(variables['Build.SourceBranchName'], 'main'), eq(variables['Build.SourceBranchName'], 'dev-ttcdbtst')) }}":
      value: "TTC Servers"
    "${{ else }}":
      value: Azure Pipelines
  - name: rootPath
    value: "./../../../"
  - name: projectPath
    value: "./../"
  - name: unitTestPath
    value: "./../../Api.Test"
  - name: workingDirectory
    value: "src/Api/Build"
trigger:
  - main
  - dev
  - feature/*
jobs:
  - job: null
    displayName: Build and Publish Artifacts
    pool:
      name: $(agentPool)
      vmImage: ubuntu-latest
    steps:
    - checkout: self
      fetchDepth: 0
    - task: UseDotNet@2
      displayName: 'Install .NET 8 SDK'
      inputs:
        packageType: 'sdk'
        version: '8.x'
    - task: Bash@3
      displayName: 'Check what account is running'
      inputs:
        targetType: 'inline'
        script: 'whoami'
        workingDirectory: $(workingDirectory)
    - task: Bash@3
      displayName: 'Install Cake.Tool'
      inputs:
        targetType: 'inline'
        script: 'dotnet tool install --global Cake.Tool | echo "Already installed"'
        workingDirectory: $(workingDirectory)
    - task: Bash@3
      displayName: 'Execute dotnet cake command'
      inputs:
        targetType: 'inline'
        script: 'dotnet cake --rootPath=$(rootPath) --projectPath=$(projectPath) --unitTestPath=$(unitTestPath)'
        workingDirectory: $(workingDirectory)
    - task: PublishBuildArtifacts@1
      displayName: 'Publish Build Artifacts'
      inputs:
        PathtoPublish: 'artifacts'
        ArtifactName: 'Artifact'
        publishLocation: 'Container'

dependabot-pipelines.yml
#inputs options: https://github.com/tinglesoftware/dependabot-azure-devops/blob/main/extension/README.md
trigger: none
stages:
  - stage: CheckDependencies
    displayName: Check Dependencies
    jobs:
      - job: Dependabot
        displayName: Run Dependabot
        pool:
          vmImage: ubuntu-latest
        steps:
          - task: dependabot@2
            displayName: Run Dependabot
            inputs:
              setAutoComplete: true

dependabot.yml
version: 2
updates:
  - package-ecosystem: 'nuget'
    directory: '/'
    target-branch: 'dev'
    open-pull-requests-limit: 15
    ignore:
        - dependency-name: 'Microsoft.Extensions.Caching.SqlServer'
    registries:
      - azure_artifacts
    schedule:
      interval: weekly
      # Check for npm updates on every Sundays
      day: "sunday"
      time: "09:00"
      timezone: "America/Los_Angeles"
    # Labels on pull requests for security and version updates
    labels:
      - "npm dependencies"
registries:
  azure_artifacts:
    type: "nuget-feed"
    url: "https://xxx.pkgs.visualstudio.com/0497dd12-e7ca-49f7-999e-7f22d25e38c8/_packaging/TTCWebFeed/nuget/v3/index.json"
    token: "PAT:<PAT>"

@Hoang-Minh I would recommend creating a new pipeline specifically for dependabot; You can have dependabot automatically run each day/week using a scheduled trigger. Here are some pipeline examples:
Run dependabot weekly on the current repository
trigger: none
schedules:
- cron: '0 0 * * 0' # 12:00 UTC on Sunday
  always: true
  branches:
    include:
      - main
  batch: true
  displayName: Weekly (midnight sunday)

pool:
  name: Azure Pipelines
  vmImage: ubuntu-latest
steps:
  - task: dependabot@2
    displayName: Run Dependabot
    inputs:
      # your config here...

Run dependabot weekly across multiple repositories
trigger: none
schedules:
- cron: '0 0 * * 0' # 12:00 UTC on Sunday
  always: true
  branches:
    include:
      - main
  batch: true
  displayName: Weekly (midnight sunday)

parameters:
  - name: repositoryNames
    displayName: 'Repository Names'
    type: object
    default:
      - 'Repo1'
      - 'Repo2'
      - 'Repo3'

jobs:
  - ${{ each repositoryName in parameters.repositoryNames }}:
    - job: dependabot_${{lower(replace(repositoryName, ' ', ''))}}
      displayName: Dependabot - ${{repositoryName}}
      pool:
        name: Azure Pipelines
        vmImage: ubuntu-latest
      steps:
        - task: dependabot@2
          displayName: Run Dependabot on ${{repositoryName}}
          continueOnError: true
          inputs:
            # your config here...

Thanks @rhyskoedijk .
What's about the dependabot.yml ?  Do I need to include that yml file in the repo ? Does it mean that I need 2 yml files in my repo right ?
version: 2
updates:
  - package-ecosystem: 'nuget'
    directory: '/'
    target-branch: 'dev'
    open-pull-requests-limit: 15
    ignore:
        - dependency-name: 'Microsoft.Extensions.Caching.SqlServer'
    registries:
      - azure_artifacts
    schedule:
      interval: weekly
      # Check for npm updates on every Sundays
      day: "sunday"
      time: "09:00"
      timezone: "America/Los_Angeles"
    # Labels on pull requests for security and version updates
    labels:
      - "npm dependencies"
registries:
  azure_artifacts:
    type: "nuget-feed"
    url: "https://xxx.pkgs.visualstudio.com/0497dd12-e7ca-49f7-999e-7f22d25e38c8/_packaging/TTCWebFeed/nuget/v3/index.json"
    token: "PAT:<PAT>"

Yes. If you only have one repo, it's simplest to put both the pipeline and dependabot yml files together in the same repository. e.g.

MyRepository

/.azuredevops/dependabot.yml (your dependabot config file)
/.azuredevops/pipeline/run-dependabot.yml (your DevOps pipeline file)

You do not need to specify schedule in your dependabot.yml, this is always ignored by the DevOps extension; Instead, use schedules in your run-dependabot.yml pipeline so that DevOps manages the pipeline scheduling.

Thank you very much @rhyskoedijk  !!!

@Hoang-Minh I would recommend creating a new pipeline specifically for dependabot; You can have dependabot automatically run each day/week using a scheduled trigger. Here are some pipeline examples:
Run dependabot weekly on the current repository only
trigger: none
schedules:
- cron: '0 0 * * 0' # 12:00 UTC on Sunday
  always: true
  branches:
    include:
      - main
  batch: true
  displayName: Weekly (midnight sunday)

pool:
  name: Azure Pipelines
  vmImage: ubuntu-latest
steps:
  - task: dependabot@2
    displayName: Run Dependabot
    inputs:
      # your config here...

Run dependabot weekly for multiple repositories
trigger: none
schedules:
- cron: '0 0 * * 0' # 12:00 UTC on Sunday
  always: true
  branches:
    include:
      - main
  batch: true
  displayName: Weekly (midnight sunday)

parameters:
  - name: repositoryNames
    displayName: 'Repository Names'
    type: object
    default:
      - 'Repo1'
      - 'Repo2'
      - 'Repo3'

jobs:
  - ${{ each repositoryName in parameters.repositoryNames }}:
    - job: dependabot_${{lower(replace(repositoryName, ' ', ''))}}
      displayName: Dependabot - ${{repositoryName}}
      pool:
        name: Azure Pipelines
        vmImage: ubuntu-latest
      steps:
        - task: dependabot@2
          displayName: Run Dependabot on ${{repositoryName}}
          continueOnError: true
          inputs:
            targetRepositoryName: ${{repositoryName}}
            # your config here...

Thanks @rhyskoedijk  this is useful info.
I was trying this approach where my Dependabot file is set up as follows:
dependabot.yml present in repo1 on the dev branch
dependabot.yml present in repo2 on the main branch
My question is: can we configure the dependabot@2 task to specify a particular branch when using
targetRepositoryName: ${{repositoryName}}

or anywhere in the run-dependabot pipeline under parameters or in dependabot.yml file?

@vishnuprakash9845  you can use the target-branch config in dependabot.yml to specify which branch Dependabot uses when checking for updates and as the target for all pull requests it creates; is this what you mean?

@vishnuprakash9845 you can use the target-branch config in dependabot.yml to specify which branch Dependabot uses when checking for updates and as the target for all pull requests it creates; is this what you mean?

Thanks @rhyskoedijk for the response.
Finally I wanted target as dev branch, where it needs the PR to be created when new version of dependencies available. But the thing which I had doubt is
I've added the dependabot.yml file to two repositories and run-dependabot.yml in another one:

Ops.Addition in the adding_dependabot branch
Ops.Subtraction in the adding_dependabot branch
I've also added the run-dependabot.yml file to the Trigger repository in the adding_run_dependabot branch.

When I run the run-dependabot.yml, I encounter the following error:

Configuration file not found at possible locations: /.azuredevops/dependabot.yml, /.azuredevops/dependabot.yaml, /.github/dependabot.yaml, /.github/dependabot.yml
##[error]An unhandled exception occurred: Error: Configuration file not found at possible locations: /.azuredevops/dependabot.yml, /.azuredevops/dependabot.yaml, /.github/dependabot.yaml, /.github/dependabot.yml
I beleive it taking dev branch while running. Mycode is in feature branches (adding_dependabot) not in dev currently. Once after the testing it will be moved to dev.
My question is: when we run the run-dependabot.yml, does it default to running on the dev branches of Ops.Addition and Ops.Subtraction, or is there a way to configure it to run on feature branches of these repositories?


Improves writing of FEDEFL flows and other minor fixes

3 commits each described separately:

By writing flows with fedelemflowlist, this ensures the metadata is accurate and consistent, and avoids the need to update the metadata in post processing (I did not remove those functions which are now extraneous).
Minor fix to clean_json where 0 values for elementary flows were getting dropped
A likely edge case with FacilityMatcher, where I had processed FRS files but not the original FRS files so the FRS Bridge was not found, causing an error. This commit checks for the file before loading, and will download if not present.

Also, zero-valued elementary flows persist (as expected), which were previously removed: