For https://github.com/Alluxio/alluxio/issues/13648

Codecov Report

Merging #13716 (7bc3f02) into master (bbd5af0) will decrease coverage by 17.10%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master   #13716       +/-   ##
=============================================
- Coverage     34.66%   17.56%   -17.11%
+ Complexity     6964     2666     -4298
=============================================
  Files          1384     1384
  Lines         80305    80303        -2
  Branches       9768     9768
=============================================
- Hits          27841    14103    -13738
- Misses        50074    64955    +14881
+ Partials       2390     1245     -1145

Impacted Files
Coverage Δ

...ava/alluxio/cli/fsadmin/report/SummaryCommand.java
0.00% <0.00%> (-97.06%)
:arrow_down:

...mon/src/main/java/alluxio/shell/CommandReturn.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...mon/src/main/java/alluxio/util/ExceptionUtils.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...n/src/main/java/alluxio/wire/AlluxioProxyInfo.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../src/main/java/alluxio/wire/AlluxioMasterInfo.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...src/main/java/alluxio/job/meta/JobIdGenerator.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...n/src/main/java/alluxio/stress/BaseParameters.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...src/main/java/alluxio/client/UnderStorageType.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/java/alluxio/underfs/options/ListOptions.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/java/alluxio/worker/block/io/BlockReader.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 481 more

Continue to review full report at Codecov.

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

alluxio-bot, merge this please


Small Fix to include the last day

Small fix to include the last day, adding '=' on line 22, so the last day counted

thanks for correcting it  :) PR has been merged


Include message in @ mentions list when @_ is used for a username

I think this was the behaviour in older versions of Zulip, but it seems to have changed.
When tagging a user with @_**username**, I'd like the message to appear in the @ mentions list and update the counter there, but still not send a notification to the user. Otherwise, the @_ feature seems to have limited use.
Btw, if you do @_**stream**, it does show up in the @ mentions without notifying as expected.

This would be really useful to have so that I can tag a user after hours and not bother them, but still have them see the message as an @ mention when they login.

I'm not sure that this change would be in line with user expectations, but I suppose it could be.  I am confident it'd be useful to be able to search for mentions (including silent ones) of oneself; but I think people currently use silent mentions to refer to a person without notifying them (E.g. for clarity in a conversation), and that use case would be interfered with by this idea
I think we need more feedback on this category of idea before we can pick a design that we'd be happy to merge.

That's fair. Thanks.

I just wanted to point out that we've used Zulip for a couple of years now, and had no idea "silent mentions" existed until someone (who used Zulip with the Rust project) pointed it out to us, and we immediately wanted the behavior described by @munircontractor for the same reasons (polite pings after-hours or when folks are on vacation).

Thanks for the feedback!  FWIW, silent mentions have been documented since they were first introduced a couple years ago, but it's very possible that they were added after you started using Zulip, and my experience is folks tend to do a lot less feature discovery once they're using a tool.  (And we have a good way to market new features to existing users, since we don't like spamming folks and haven't built something we like that isn't spammy).
This wouldn't be a bad topic to start a thread about in #feedback on chat.zulip.org to discuss design ideas more broadly.  But my read of this is that there's 3 things one might intend to do, and we possibly want separate syntax for all of them:

silent -- never triggers notifications or mention counts
Light -- does not trigger email/push notifications, but does increment counts and perhaps desktop notifications (since those are less disruptive?  Needs thought).
mention -- current behavior, triggers notifications

The other option is to just not adjust the syntax and make it easy to configure a Do Not Disturb time window that would change how mentions work.  But that would, in turn, mean there's no way to try to get someone's attention after hours (E.g. to help deal with an outage if they're up).

I try to avoid just writing a meaningless +1 reply here, but the use case described by @jamesmunns and @munircontractor is exactly what brought me here.
We have considerate people on our team who try not to disturb about non-urgent things after hours, but a way to configure "silent mentions" to give:

email and/or app alerts
UI indicator (to draw attention to those threads ahead of others when logging in first thing in a morning or w/e)

Would be very useful to us.
I think the concept of a genuinely "silent" mention is near useless. There's a distinction between "**HEY PAY ATTENTION TO ME ASAP" (normal mention) and "please look over here when you can", but both of those need some sort of (at least UI) notification/indicator options.

Do Not Disturb time window

Slack has this, as you probably know, and it doesn't work very well for me. I find that messages sent during the DND period are easily lost/overlooked.
My first concern when I come online after a period away (in meetings, offline, overnight etc.) is to surface the messages that require my attention as quickly as possible. Mentions allow me to do that, but when people are considerate (e.g. drop a silent mention to avoid potentially disturbing my sleep) that completely breaks the concept - I only find those messages by reading every single message / stream.


Does pulumi support Amazon Cloud Directory?

Hey
Looking for option to create and maintain Amazon Cloud Directory from pulumi code. Is there any way for implementing it without dedicated module?

@jacbar the documentation for the AWS directory service can be found here: https://www.pulumi.com/docs/reference/pkg/aws/directoryservice/

@jacbar the documentation for the AWS directory service can be found here: https://www.pulumi.com/docs/reference/pkg/aws/directoryservice/

@pierskarsenbarg  but Directory Service and Cloud Directory are 2 different providers.
Directory Service - https://aws.amazon.com/directoryservice/
Cloud Directory - https://aws.amazon.com/cloud-directory/

@pierskarsenbarg  but Directory Service and Cloud Directory are 2 different providers.
Directory Service - https://aws.amazon.com/directoryservice/
Cloud Directory - https://aws.amazon.com/cloud-directory/

If you click on the yellow "getting started" button on both those pages they take you to the same place within the console. It's all under "directoryservice" in the Pulumi AWS provider.

If you click on the yellow "getting started" button on both those pages they take you to the same place within the console. It's all under "directoryservice" in the Pulumi AWS provider.

@jacbar did that comment help? Can I close this issue?

@jacbar did that comment help? Can I close this issue?

Hey @pierskarsenbarg
I'm reviewing documentation but the API allows to create Active Directory which AWS Directory Service is (SipleAD, MicrosoftAD) but not Cloud Directory which more like database.

Hey @pierskarsenbarg
I'm reviewing documentation but the API allows to create Active Directory which AWS Directory Service is (SipleAD, MicrosoftAD) but not Cloud Directory which more like database.

Apologies. You're right that we don't support cloud directory specifically.
It looks like it's not there in the terraform provider that we use to build our own one.

Apologies. You're right that we don't support cloud directory specifically.
It looks like it's not there in the terraform provider that we use to build our own one.


RQ Job Preview for sent mails

Currently we can view pending (scheduled) automated email information In the Django administration panel (https://amy.carpentries.org/yikoouxjewu5mri5wmqkufrq6ztk8i5y/autoemails/rqjob/).  However, once the emails go out the details in the preview view go away. This creates a challenge when looking back on a workshop to confirm that an email went out.
Is it possible for the information in the RQ job preview to stay even after the email has gone out?

Tagging @pbanaszkiewicz  for feedback.

I think we can change the setting to keep the successfully sent emails for longer, but they will disappear eventually. What timeframe would suit you, @maneesha @Talishask? A year or so?

Checking with workshop admin team on this: @sheraaronhurt  @elletjies  @Talishask  @danielle06   What do you think?

yes, I year would be good. We will be able to preview them for a year?

Failed jobs are kept for about 1 year, but those that succeeded by default stay for only 500 seconds.
From what I looked, we can keep succeeded jobs for longer than 500s, e.g. for 1 year (even more if you want).

One year sounds good.
Is there an advantage to keeping them just one year vs. keeping them longer (or forever)?

I think one year would be good. Usually, when we need to check on an email it's during the life of the individual workshop. I feel like one year would be plenty of "just in case" time. Right now I can't think of an advantage to keeping them for longer than that but I could definitely be missing something.


new logo, revise header, add RSVP

Doesn't play so well on mobile at the moment, but can address that in a second follow-up

💯


[feat][elasticsearch-sink] Option to strip out non printable characters

Motivation
If the message value contains non-printable characters you will get
2022-04-22T22:37:29.673384094Z 22:37:29.668 [tenant/ns/topic] ERROR org.apache.pulsar.io.elasticsearch.ElasticSearchSink - Malformed document messageId=73895:0:1
2022-04-22T22:37:29.673415795Z com.fasterxml.jackson.core.JsonParseException: Illegal character ((CTRL-CHAR, code 0)): only regular white space (\r, \n, \t) is allowed between tokens
2022-04-22T22:37:29.673424695Z  at [Source: (String)"\u0000\u0000\u0002�\u000C\u0002\u001Epick_start_time\u0000\u0002\u00081211\u0002\u000ESafeway\u0002�����_\u0000\u0000\u0002\u00021\u0002\u0018445184429011"; line: 1, column: 2]

Even if you set malformedDocAction to IGNORE, the message will be re-delivered. In case of KEY_SHARED subscriptions this will lead to stuck subscriptions scenario.
The issue is that JSON format doesn't accept this kind of characters.

All Unicode characters may be placed within the
quotation marks, except for the characters that MUST be escaped:
quotation mark, reverse solidus, and the control characters (U+0000
through U+001F).

Since usually these characters are useless, it is better to drop them all instead of encoding (which is not simple because it depends how much the json is malformed. For example, inside a key or a value you can encode them but you cannot between tokens)
Modifications

New option stripNonPrintableCharacters default=true (which will trigger a different behaviour by default) which removes the non printable characters from the output json (only for the document, not the _id because ElasticSearch doesn't care if the _id a valid json or not). The stripping is done via RegEx because, unfortunately, Jackson Mapper doesn't support this out of the box.

[x] doc

/pulsarbot rerun-failure-checks

cc @momo-jun

/pulsarbot rerun-failure-checks

/pulsarbot rerun-failure-checks


DNS resolution delay when on VPN

Your Windows build number:  Microsoft Windows [Version 10.0.17763.316]

What you're doing and what's happening:  I am seeing, intermittently, a 5-second delay on DNS resolution when I am using the Palo Alto GlobalProtect VPN client.

What's wrong / what should be happening instead: DNS resolution should always be fast.

Strace of the failing command:  https://gist.github.com/elijahgagne/10ead1d8f2655a55716142cad432eefb

Here's an example of the hang I see
[:~] $ ssh -vvv -T<EMAIL_ADDRESS>OpenSSH_7.6p1 Ubuntu-4ubuntu0.1, OpenSSL 1.0.2n  7 Dec 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "github.com" port 22

### Sits here for about 5 seconds

debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to github.com [<IP_ADDRESS>] port 22.

But I don't always see the hang. Here's a loop getting timings for 10 of these.
for i in `seq 1 10`; do { time ssh -T<EMAIL_ADDRESS>>/dev/null; } |& grep real; done
real    0m5.421s
real    0m0.402s
real    0m5.465s
real    0m0.469s
real    0m5.424s
real    0m0.469s
real    0m0.403s
real    0m5.410s
real    0m0.419s
real    0m0.380s

Here's my resolv.conf
cat /etc/resolv.conf
# This file was automatically generated by WSL. To stop automatic generation of this file, remove this line.
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
nameserver fec0:0:0:ffff::1
search dartmouth.edu

I only have this problem in WSL while on GlobalProtect VPN. I do not have this problem:

When on GlobalProtect VPN but using native Windows (e.g. PowerShell, Putty)
When I use a different VPN and I'm in WSL

I have opened a ticket with Palo Alto. We did some network traces and reviews of the firewall logs. It looks like the delay is happening inside WSL because all soon as our DNS servers get the request they send a reply back. There are no delays through the firewalls.
I have found that I can edit resolv.conf and comment out the two "nameserver <IP_ADDRESS>" lines. Then DNS resolution for internal things is fast, but I cannot access things on the Internet.
$ cat /etc/resolv.conf
# This file was automatically generated by WSL. To stop automatic generation of this file, remove this line.
#nameserver <IP_ADDRESS>
#nameserver <IP_ADDRESS>
nameserver fec0:0:0:ffff::1
search dartmouth.edu
$ ping github.com
ping: github.com: Temporary failure in name resolution
$ PASSWORD=$(gcred)
$ for i in `seq 1 10`; do { time sshpass -p $PASSWORD ssh<EMAIL_ADDRESS>-q -o StrictHostKeyChecking=no echo >/dev/null; } |& grep real; done
real    0m0.045s
real    0m0.043s
real    0m0.045s
real    0m0.045s
real    0m0.046s
real    0m0.049s
real    0m0.046s
real    0m0.050s
real    0m0.045s
real    0m0.049s

I have also tried changing my DNS server to Google's <IP_ADDRESS>, but that doesn't help
$ cat /etc/resolv.conf
# This file was automatically generated by WSL. To stop automatic generation of this file, remove this line.
#nameserver <IP_ADDRESS>
#nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
nameserver fec0:0:0:ffff::1
search dartmouth.edu
$ ping github.com
ping: github.com: Name or service not known

Thanks for the strace log. Better to use nslookup(1) as the command, because the problem isn't directly related to ssh or ping. Add a -t or -tt on the strace(1) which will make where the pause is happening clearer. Fair warning this one is going to be a tough repro. The timing data will help identify where nslookup is pausing, but probably won't help identify "what went wrong".
You are on the right track trying to debug the problem. Drop that IPv6 nameserver line from /etc/resolve.conf (you'll feel better). If you can ping <IP_ADDRESS> but can't nslookup github.com then we can start diving the reason that's happening. If you can't ping <IP_ADDRESS>, that's a whole different can.
Ref #1663, which was closed as a dupe (it isn't, #2477 is a different problem). I never tracked my own similar symptoms because (per above) it is a tough repro situation. In my case the problem seemed to be IPv6 related, but looking at your strace that's not your problem. Link just makes my next search easier.

Thanks. What's interesting is that nslookup is always fast. Ping sometimes hangs before it start pinging. I notice this the most connecting to things via SSH, LDAP, curl, or database connections.
# Before any changes
for i in `seq 1 10`; do { time nslookup github.com >/dev/null; } |& grep real; done
real    0m0.076s
real    0m0.047s
real    0m0.050s
real    0m0.048s
real    0m0.046s
real    0m0.051s
real    0m0.052s
real    0m0.051s
real    0m0.044s
real    0m0.054s

# Updated /etc/resolv.conf
$ cat /etc/resolv.conf
# This file was automatically generated by WSL. To stop automatic generation of this file, remove this line.
nameserver <IP_ADDRESS>
#nameserver fec0:0:0:ffff::1
search dartmouth.edu

# Ping is working fine
$ ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=117 time=13.7 ms
^C
--- <IP_ADDRESS> ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3002ms
rtt min/avg/max/mdev = 13.778/13.937/14.172/0.174 ms
$ ping github.com
PING github.com (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from lb-192-30-253-112-iad.github.com (<IP_ADDRESS>): icmp_seq=1 ttl=51 time=19.4 ms
^C
--- github.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 19.387/20.776/23.643/1.725 ms

Repeating: You were on the right track trying to debug the problem. If (with ns <IP_ADDRESS>) you can ping <IP_ADDRESS> but can't nslookup github.com then we can start diving the reason that's happening. If (with ns <IP_ADDRESS>) you can nslookup github.com but can't ping github.com, we can start looking at differences between the two with an strace -f -tt -o of both.
No one has ns <IP_ADDRESS> except you, so this issue# is right now on track to die an unfortunate need-repro/dupe death analogous to #2082 #1350 #2884 and so many others. No one likely to respond here has a "Palo Alto GlobalProtect VPN". Not because there is a problem with that software (odds are there isn't, I use a VPN all day) but because there is no way to know what is going on without a strace -t to look at and make semi-educated guesses.
Needless to say I can both ping github.com and nslookup github.com using ns <IP_ADDRESS>. So can most everyone (or heads would explode). So at least there is something to explore with your ping: github.com: Name or service not known fail.

Thanks, I really appreciate the responses. With ns <IP_ADDRESS>, I can ping, but not nslookup.
$ sudo bash -c 'echo "nameserver <IP_ADDRESS>" > /etc/resolv.conf'
$ cat /etc/resolv.conf
nameserver <IP_ADDRESS>
$ ping <IP_ADDRESS> -c 1
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=117 time=27.4 ms

--- <IP_ADDRESS> ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 27.441/27.441/27.441/0.000 ms
$ nslookup github.com
Server:         <IP_ADDRESS>
Address:        <IP_ADDRESS>#53

** server can't find github.com: NXDOMAIN

I then created gists of each operation
# Note sure why I need to use sudo for the ping strace, but got an error if I did not
sudo strace -o ping.strace -tt -f ping <IP_ADDRESS> -c 1
strace -o nslookup.strace -tt -f nslookup github.com

The gists are available at:

nslookup.strace
ping.strace

Thanks, follow up much appreciated. ping -V (or ping --version) just so we have a chance of being on the same page. I'm in and out this weekend but I'll look when I get a chance (usually some late nite).

$ ping -V
ping utility, iputils-s20161105
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:        18.04
Codename:       bionic

I notice you said you don't have a problem from Windows but when connected to the problematic VPN what output do you get from the Windows nslookup utility (when run from cmd.exe or Powershell) when querying the <IP_ADDRESS> DNS server? As below:
nslookup github.com <IP_ADDRESS>

Interesting. When on VPN, testing with PowerShell
C:\Users\egagn> nslookup github.com <IP_ADDRESS>
Server:  UnKnown
Address:  <IP_ADDRESS>

*** UnKnown can't find github.com: Non-existent domain

And for comparison, when NOT on VPN in PowerShell:
C:\Users\egagn> nslookup github.com <IP_ADDRESS>
Server:  google-public-dns-a.google.com
Address:  <IP_ADDRESS>

Non-authoritative answer:
Name:    github.com
Addresses:  <IP_ADDRESS>
          <IP_ADDRESS>

I will update my ticket with Palo Alto about this.

Yeah, that's exactly what I was expecting. The fact that both nslookup utilities got an NXDOMAIN response tells us that at DNS server somewhere is responding to the query, but it certainly isn't <IP_ADDRESS>. I suspect that on the VPN any packets for port 53 are being redirected to an internal DNS server - probably for security reasons. The other possibility is interception within your machine by the VPN client.
Running route print from PowerShell when on and off the VPN will allow comparison of routing table but I suspect all traffic goes via VPN when you're connected.

Thanks

route-vpn.txt
route-no-vpn.txt

Here's what's in the route-vpn.txt, but not in route-no-vpn.txt
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
...
          <IP_ADDRESS>          <IP_ADDRESS>         On-link       <IP_ADDRESS>      1
...
      <IP_ADDRESS>  <IP_ADDRESS>         On-link       <IP_ADDRESS>    256
...
     <IP_ADDRESS>  <IP_ADDRESS>      <IP_ADDRESS>    <IP_ADDRESS>     35
     <IP_ADDRESS>  <IP_ADDRESS>         On-link       <IP_ADDRESS>      1

This line overrides the default route so that all traffic that doesn't have a more specific route in the table will go over the VPN. The lower metric value means this entry take priority over the existing default route. <IP_ADDRESS> is the IP allocated to your machine by the VPN appliance:
          <IP_ADDRESS>          <IP_ADDRESS>         On-link       <IP_ADDRESS>      1
A reverse DNS lookup dig -x <IP_ADDRESS> suggests that <IP_ADDRESS> is the external IP of the VPN appliance. This line states that traffic to <IP_ADDRESS> should not traverse the VPN and instead go via the original default route:
     <IP_ADDRESS>  <IP_ADDRESS>      <IP_ADDRESS>    <IP_ADDRESS>     35
You can see the above was derived from the original default route line:
          <IP_ADDRESS>          <IP_ADDRESS>      <IP_ADDRESS>    <IP_ADDRESS>     35
Finally, traffic to <IP_ADDRESS> (the DNS server from the OP) is directed across the VPN:
     <IP_ADDRESS>  <IP_ADDRESS>         On-link       <IP_ADDRESS>      1
Based on the above, traffic for <IP_ADDRESS> would go over the VPN. From an elevated PowerShell you could try the below to force the <IP_ADDRESS> traffic to bypass the VPN:
route add <IP_ADDRESS> mask <IP_ADDRESS> <IP_ADDRESS> metric 35
Maybe run the nslookup commands again. You can clean the rule up with:
route delete <IP_ADDRESS>

You're right on the money.
C:\Users\egagn> nslookup github.com <IP_ADDRESS>
Server:  UnKnown
Address:  <IP_ADDRESS>

*** UnKnown can't find github.com: Non-existent domain
C:\Users\egagn> route add <IP_ADDRESS> mask <IP_ADDRESS> <IP_ADDRESS> metric 35
 OK!
C:\Users\egagn> nslookup github.com <IP_ADDRESS>
Server:  google-public-dns-a.google.com
Address:  <IP_ADDRESS>

Non-authoritative answer:
Name:    github.com
Addresses:  <IP_ADDRESS>
          <IP_ADDRESS>

C:\Users\egagn> route delete <IP_ADDRESS>
 OK!

Does this suggest a workaround for me in WSL? Some additional information is that I use my organization's VPN when I'm onsite and also at home. I need to be on VPN, even when onsite, in order to get access through the firewall to servers.
Alternatively, do you think there is more I need to ask on my ticket with Palo Alto?

Yes, if using <IP_ADDRESS> sidesteps the random delays you are seeing you could use this as a workaround. The disadvantage is you'll need to run a different route add command depending on whether you are onsite or at home.  will need to be set to the default gateway address which at home will be the IP of your router:
route add <IP_ADDRESS> mask <IP_ADDRESS> <gateway> metric 35
You can use route print to find what you need.
Unfortunately, none of this helps us discover the cause of those delays when you use <IP_ADDRESS>...

Thanks. Yeah, and using <IP_ADDRESS> doesn't do much to help me. 99% of why I use WSL is to make use of command line tools to interact with servers and apps that I need <IP_ADDRESS> to resolve the DNS for me because they have private IPs behind my organization's firewall.

Nameserver <IP_ADDRESS> isn't much use to you, but you are seeing delays on a name (github.com) that your 129* server can't (doesn't) resolve quickly right away when it asks upstream. All WSL (the kernel) does is write/read some bytes out port 53 because glibc tells it to (WSL doesn't even know it is doing a name lookup).
Left unexplained is why your 129* server is taking five seconds to reply sometimes, but (unstated but taken as a given) never takes five seconds in Windows. Unfortunately that (probably) is not WSL actionable. And even if it is (always possible) there isn't going to be a repro anyone in Redmond can try. You can keep poking your ticket, but that usually ends badly because the intersection of "Palo Alto GlobalProtect VPN" and "WSL users" is small in the relative sense.
You can try this, which given what we know so far from above, should cut down your time to 1 second.
# /etc/resolv.conf
options timeout:1
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>

I should a state quick-fix solution as well. If the local (dartmouth.edu?) names you use are in practice far and few between, you can just stuff those names in /etc/hosts and then use <IP_ADDRESS> exclusively in your resolv.conf for everything else.

That resolv.conf does indeed seem to cut my delay down to 1 second. This is a really good workaround in my opinion. I'm happy to close this with that. If I get a better solution down the road I'll be sure to report back on it here.
I really appreciate all the help!

Is there any followup to this issue?  I also use GlobalProtect VPN and am running into this issue on Windows 10 1809 update.  Before upgrading, on 1709, I did not have this issue.

As a follow up of my own, I was able to pin this down in MY case to the A/AAAA interaction of the DNS servers inside my VPN.  Setting options: single-request-reopen in /run/resolvconf/resolv.conf after every reboot resolves this issue.
Is it possible to set options to persist, without having a static resolv.conf?  I still want it to update based on added/removed DNS servers when I connect to my VPN.

2022 and GlobalProtect VPN still has issues with WLS 2
The solution in this thread worked: https://live.paloaltonetworks.com/t5/globalprotect-discussions/globalprotect-blocks-the-network-traffic-of-wsl2/m-p/424989/highlight/true#M1603
e.g. during our test when
- the WSL host had an IP of <IP_ADDRESS>
- netstat showed interface #20  "Hyper-V Virtual Ethernet Adapter #2"  held our WSL network
- GlobalProtect's tunnel host route had a metric of 256 (though I imagine any value greater than 1 will do)

we got it working by adding
- route add <IP_ADDRESS> mask <IP_ADDRESS> <IP_ADDRESS> metric 256 if 20


[BUG] onFlipDone is a bit slow

There is a delay between the time when the flip animation is done (visually) and the time when onlipDone is called. I would say its about half a second.
It would be nice if this delay could be shortened.
Right now I am using a workaround with Future.delayed with 350 ms after calling toggleCard().

Hey, thanks for reporting,
is this an issue you still face?

Sorry I didnt have time to check it before.
Works great now, thanks!


docs: clarify the slurm case

as discussed on slack, adding critical clarifications to enable trt-llm use on slurm.
also extending to add that hanging is another symptom beside the one that was listed already.

Hi @stas00, thanks for the doc fix. We've merged this. It might take some time to reflect in public main.

Thanks, Erin.


refactor(generator): take service name as a param

Part of https://github.com/googleapis/google-cloud-cpp/issues/12873

Needs to be rebased when https://github.com/googleapis/google-cloud-cpp/pull/12926 goes in


New architecture rebase

Working

Build process using esbuild, rollup & vite.
Serving of compiled assets.
Realtime compile server and transform server for Metaverse-Modules and loading.
Everything else :)

Not Working

Nothing

Changes Made
index.mjs

The file implements additional functions to support the production mode. It uses the -p flag to know whether it's in production mode or development mode. if the file is in development mode it will pass the request to the vite ssr server and will leverage the dynamic compile.
If the server is in production it will serve the assets under the dist and dynamic assets are compile through the function dynamicImport
dynnamicImport helper function simply calls the metaverserfile's rollup.js and leverage it's resolveId and load to serve the module.

Changes in Totum
Rollup.JS

Whenever a module is dynamically loaded it's inside an environment where it don't the exact paths of the Metaversefile & Three so a new Babel Transformation is added for all of the metaverse modules that changes the path of the imports dynamically.

ModuleRewrite

Babel transform passes the path of the moduleRewrite file which process the import path and change them with the server path dynamically.
Paths are matched so there won't be duplicate instances of metaversefile or ThreeJS

Vite.config.js

Added Build Configuration
Added Development Configuration
Create a vite plugin to support the smooth development process.

To Copy Configuration

Added a function ESMTree analyser that analyses all the build files and if something is not found by the esmTree is marked as To Copy
To Copy always executes before the bundle write as it is possible that recursive build or entry points may re-write the files during rollup output.

closes https://github.com/webaverse/app/issues/2239
closes https://github.com/webaverse/app/issues/2337
closes https://github.com/webaverse/app/issues/1935

ThreeJS examples build in progress.
https://github.com/webaverse/three.js/pull/6

It's not clear what the purpose of this PR, or https://github.com/webaverse/three.js/pull/6 is. The THREE.js PR has no documentation.


[FEATURE] ZTE ZXHN F6600R

Description of new feature
I would like to ask for your help with this equipment. Unfortunately there is very little information about it on the web. I have a device of a local internet service provider and have made a config backup of it, but I have not yet encountered that type 06 mode.
Is there possibly a non destructive ( no UART and no other hw magic) way to retrieve the ISP firmware or not?
Maybe someone has firmware for it, so I can start from the CSPD to see what keys it can use.
Additional context

Attach config.bin for your device
I can share it privately.

Send me<EMAIL_ADDRESS>I'll give it a try

Send me<EMAIL_ADDRESS>I'll give it a try

Hi! It's already done, but thanks. The CSPD is very similar to F660. Same SERIAL+MAC and IV pair btw.

Nice. I thought it could work.

Can you try this again with the latest version of the repo? and/or can you upload your config.bin?

@mkst this is what I get with the latest version:
python3 examples/decode.py --serial ZTExxxxxxxxxxxx --mac xx-xx-xx-xx-xx-xx config.bin config.xml
WARNING: Incorrect endianess specified!
Detected signature: F6640
Detected payload type 6
No support for payload type 6!

Not exactly F6600, but probably very close to it. Previously, the tool would crash immediately. Thanks for your efforts!

Can you try the same parameters, but use the auyo.py script instead of decode.py? I'm guessing you don't have telnet access, or a way to provide the cspd binary?

same problem
WARNING: Incorrect endianess specified!
Detected signature: F6600P
Detected payload type 6
No support for payload type 6!
example/auto.py help, but

I was able to access via telnet with root rights, but I still can't decrypt anything
sendcmd 1 DB decry /userconfig/cfg/db_user_cfg.xml - not work

also example/auto.py helped, but as it turned out, it did not decipher all parts of the config, some are missing

I forgot to mention I have all the default credentials for that device… Should I share it?

I forgot to mention I have all the default credentials for that device… Should I share it?

Oh, I was more interested in decoding the settings in order to set up the ONU Stick and abandon the router. I have admin access to this device, but it doesn’t allow me to see the PON passwords

@h33im, did you make it? I have the same problem as you, I need to see the PON password to change the zte router.
Segue o erro:
WARNING: Incorrect endianess specified!
Detected signature: F680
Detected payload type 6
No support for payload type 6!


✨[feature Request]: Social sharing option

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I have planned to implement social sharing option for this webpage which helps users to share about this amazing website in social networks
Use Case
Increased visibility and reach for the website through user-generated promotion.
ScreenShots
https://github.com/user-attachments/assets/4f4210ff-0d69-4f78-8254-586d9bfbac63
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24EXTD contributor
[X] I have starred the repository

@Anjaliavv51 Please review this issue once and if suitable assign it to me under appropriate GSSOC and Hacktoberfest level

@Subashree-selvaraj  go ahead.


WIP: Fix tests on CI on Windows runner

Set Github Actions Windows runner version to 2019

Codecov Report

Merging #1 (bf7045c) into master (9e09897) will decrease coverage by 10.77%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master       #1       +/-   ##
===========================================
- Coverage   80.94%   70.17%   -10.78%
===========================================
  Files           3        3
  Lines        1244     1244
===========================================
- Hits         1007      873      -134
- Misses        237      371      +134

Impacted Files
Coverage Δ

hererocks.py
68.56% <0.00%> (-11.31%)
:arrow_down:

test/cli_test.py
91.15% <0.00%> (-6.20%)
:arrow_down:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

https://github.com/luarocks/hererocks/commit/090f3656a713a004d46c631a433543f6867f6690


[ENH] Remove questionable HIVE-COTE2 classifier

sktime currently contains a time series classifier called HIVE-COTE2.
The classifier seems quite questionable:

it is an ensemble of a seemingly arbitrary choice of other classifiers
the ensemble weights appear to be chosen without a good reason

I find it a very plausible assumption that "creator overfitting" or "parameter cherry-picking" has happened here. That is, tinkering around with the set of component classifiers, and the mixture weights, until it had - by randomness! - achieved good performance on the UCI dataset collection. Even when restricting the number of classifiers to choose from to 10 or so, and the weight combinations to as few as 5, we still face a combinatorial explosion which could plausibly explain supposed outperformance as random.
I think we should just remove this estimator from sktime.
Other problematic aspects:

the ensemble method is not available as a compositor in sktime, and neither weight choice nor choice of components are explorable parameters. Therefore, the authors do not give others an easy way to construct similar estimators, or explore how much impact there could be of the above kind of cherry-picking.
the authors of the paper claim the results are easily reproducible, but despite there being a benchmarking module in sktime, and the estimator being available in sktime, there is no code available for simply re-running the experiment. That is odd.
in the reference paper, a lot of tests are performed (implicitly in the critical difference diagrams), but - probably - no multiple testing correction is carried out. This approach favours type I errors, i.e., mistakenly finding outperformance by the new estimator where it is not real.
the experiment in the paper does not compare to naive baselines, or simple baselines such as much simpler pipelines as [feature extractor][supervised classifier], e.g., binner & random forest. For fairness, similar size combinatorial spaces should be explored of this combination.

Paper reference HIVE-COTE2: https://arxiv.org/abs/2104.07551
Paper with a discussion on why comparison to simpler baselines is important: https://arxiv.org/abs/1812.07519

it is an ensemble of a seemingly arbitrary choice of other classifiers

Read the paper.

the ensemble weights appear to be chosen without a good reason

Inherited from the previous HIVE-COTE, it is an exponent of the train accuracy estimate for each ensemble member. Changing or tuning it has very little impact on the classifier.

the authors of the paper claim the results are easily reproducible

We ran the experiments in Java and the code to reproduce it is there, TSC literature does not revolve around sktime.

ensemble method is not available as a compositor in sktime, and neither weight choice nor choice of components are explorable parameters

Separate issues, is this really a reason for removal?

the experiment in the paper does not compare to naive baselines, or simple baselines such as much simpler pipelines

Neither do most of the implemented TSC classifiers, because they have been shown to perform poorly many times already.

Of course, I may be biased. @patrickzib and @angus924 are unaffiliated with the paper, and have both contributed their TSC algorithms to sktime before. Any thoughts? If there are fundamental issues, I genuinely would like to know and solve them.
Also, while an arxiv link is used, the paper is peer reviewed and published FYI. I cannot find anything for the second link. https://link.springer.com/article/10.1007/s10994-021-06057-9

@fkiraly: seriously, I do not quite understand the purpose of this move. This has the potential to seriously damage the community and potential contributors. Hive Cote is one of the baselines and most cited classifiers in the time series community.

Hive Cote is one of the baselines and most cited classifiers in the time series community.

Discussion is about Hive-cote2, which has 22 citations, of which a handful are self-citations. Hardly one of the most cited classifiers.

I do not quite understand the purpose of this move. This has the potential to seriously damage the community and potential contributors.

Shipping computationally costly estimators that aren't good is what has the potential to damage trust in us.
sktime is not an outlet for making unfounded claims like in the classification tutorial of "hive-cote 2 being the state-of-art".
sktime, in my vision at least and I would think in the vision of many others, is a neutral place where every contribution is equally respected, and not a place to be dominated a small number of TSC researchers for them to promote their specific interests and specifically branded algorithms while trashing others without being backed by evidence.

Inherited from the previous HIVE-COTE, it is an exponent of the train accuracy estimate for each ensemble member. Changing or tuning it has very little impact on the classifier.

"choice has very little impact" seems to be a claim without proof.
If this is so, then why the strange fourth power?
Also, what you say indirectly confirms my suspicion that you played around with it, and the amount of "playing around" with the exponent and mixture weights is not reported.

We ran the experiments in Java and the code to reproduce it is there, TSC literature does not revolve around sktime.

This is sktime.
And, this discussion does revolve around sktime, we are making the argument for or against this being in sktime.
You - the author - claim the "experiments are easily reproducible". So where are they?
Why are there not a few lines in sktime for this, if the estimator is here and you are contributing to it?
Or is it at least somewhere in java that everyone can look at?
You are, after all, contributing to a package that wants to make reproducible science easier for everyone.

Read the paper.

It might come as a surprise to you, but I have done that.
Jokes aside, please do not move to this insulting tone.
I have made what I think are valid scientific arguments, kindly react to those instead of dismissing them and claiming I have not read the paper.
If I had not read the paper, why would I cite it, and how could I make specific comments about passages from it?

the experiment in the paper does not compare to naive baselines, or simple baselines such as much simpler pipelines

Neither do most of the implemented TSC classifiers, because they have been shown to perform poorly many times already.

That seems like an unvalidated and implausible claim. You are claiming that most of TSC literature does not compare to baselines?
Even in the unlikely case this were true, it would be an argument from popularity rather than a scientific one.
More generally, I don't think "baselines perform poorly, therefore do not need to compare to them" is a valid argument at all.
Baselines are meant to perform poorly, because they are the point of comparison that your algorithms need to outperform.
Conversely, to me it looks like that you cannot even make a solid argument that you are outperforming the most important baselines.

Discussion is about Hive-cote2, which has 22 citations, of which a handful are self-citations. Hardly one of the most cited classifiers.

There is one citation from a paper by me and Tony. I was not aware number of citations was a prerequisite for inclusion, we should survey the package immediately.

Shipping computationally costly estimators that aren't good is what has the potential to damage trust in us.
sktime is not an outlet for making unfounded claims like in the classification tutorial of "hive-cote 2 being the state-of-art".
sktime, in my vision at least and I would think in the vision of many others, is a neutral place where every contribution is equally respected, and not a place to be dominated a small number of TSC researchers for them to promote their specific interests and specifically branded algorithms while trashing others without being backed by evidence.

We show it is good in the paper. It is not even the slowest algorithm in sktime currently, let alone in other literature and algorithms we want implemented in the issue tracker.
If your issues is around the wording in some examples, why not create an issue about that.

"choice has very little impact" seems to be a claim without proof.
If this is so, then why the strange fourth power?
Also, what you say indirectly confirms my suspicion that you played around with it, and the amount of "playing around" with the exponent and mixture weights is not reported.

The exponent is justified in the original HIVE-COTE paper, we want to limit the impact of poor performing representations. It is inherited from the CAWPE ensemble, which is not even a time series classifier. We didn't report it in HC2 because we didn't test it. Those are unreported results from after the original HIVE-COTE paper, which I wasn't even around for.

This is sktime.
And, this discussion does revolve around sktime, we are making the argument for or against this being in sktime.
You - the author - claim the "experiments are easily reproducible". So where are they?
Why are there not a few lines in sktime for this, if the estimator is here and you are contributing to it?
Or is it at least somewhere in java that everyone can look at?
You are, after all, contributing to a package that wants to make reproducible science easier for everyone.

Funnily enough, you won't get the same results as the paper if you run the sktime version! There aren't a few lines for running it because why would there be when we have generic benchmarking tools where you can run any algorithm with our results style? Also, I do infract provide an example using the sktime benchmarking methods to run HC2, which would allow people to reproduce our results as best as you can in another language.

It might come as a surprise to you, but I have done that.
Jokes aside, please do not move to this insulting tone.
I have made what I think are valid scientific arguments, kindly react to those instead of dismissing them and claiming I have not read the paper.
If I had not read the paper, why would I cite it, and how could I make specific comments about passages from it?

It does come as a surprise, especially given the "So where are they?" about providing results above and the "arbitrary choice of other classifiers" comment.

That seems like an unvalidated and implausible claim. You are claiming that most of TSC literature does not compare to baselines?
Even in the unlikely case this were true, it would be an argument from popularity rather than a scientific one.
More generally, I don't think "baselines perform poorly, therefore do not need to compare to them" is a valid argument at all.
Baselines are meant to perform poorly, because they are the point of comparison that your algorithms need to outperform.
Conversely, to me it looks like that you cannot even make a solid argument that you are outperforming the most important baselines.

While it is interesting so see how far the field has moved forward by comparing to these again and again, It is a waste of time and space to compare to 1-NN DTW and Random Forest every single paper. But it is fair if you feel this is not the case. People I have talked to and the peer reviewers for the paper did not, however. You are the first person to bring this up.
You are welcome to use my implementation, benchmarking code and running example to try to beat HC2 using the benchmarks if you want. I am going to assume you are not actually claiming Random Forest or simple summary stats would perform better.

Either way, if you really think this is necessary, I assume the next step is to hold a vote?

We could also try to democratitze the composition pattern:
https://github.com/alan-turing-institute/sktime/pull/3036
how many HIVE-COTE do you think a user can build with this before breakfast?
Took me about an hour to write.
Should also make it easy for anyone to study the impact of playing around with weights and the estimators inside.

If the issue created was about creating a composable weighted ensemble/HIVE-COTE I would have been all for it. If we can reproduce the results from the current code using that, it is a better solution, and one I wanted to work towards any way to cut down the repetition of HC1 and HC2.
That was not the issue created.

There is one citation from a paper by me and Tony. I was not aware number of citations was a prerequisite for inclusion, we should survey the package immediately.

That was not the point. Someone was claiming that it is one of the "most cited classifiers in the community", as a positive argument for inclusion, and I refuted that claim.
Turning this refutation of "it is most cited" into a claim of a citation threshold sounds like a basic logic error to me.

We didn't report it in HC2 because we didn't test it. Those are unreported results from after the original HIVE-COTE paper, which I wasn't even around for.

"someone else did it and didn't report it" doesn't sound like a valid argument.

Funnily enough, you won't get the same exact results as the paper if you run the sktime version!

Hm, that's what I'm worried about. How do I get the same exact results with the sktime estimator, or at least similar ones?

There aren't a few lines for running it because why would there be when we have generic benchmarking tools where you can run any algorithm with our results style?

That's upside-down logic.
If it would cost only a few lines to write, so ... why didn't you write those lines?

It does come as a surprise, especially given the "So where are they?" about providing results above and the "arbitrary choice of other classifiers" comment.

"so where are they" -> the paper does not link to code that reproduces the experiment. The links that you provide above only tell people in general how to run the algorithm on data, not how to reproduce the precise paper results. Also, this contradicts your earlier statement "Funnily enough, you won't get the same exact results as the paper if you run the sktime version!", since all we are talking about is the sktime estimator.
"arbitrary choice of other classifiers" -> from the paper, section 3 has the relevant sentence "HIVE-COTE 2.0 replaces three of the four classifiers that make up HIVE-COTE 1.0". No reason that I can discern is given, why those. Except perhaps that the components all lead to self-citations, but that is not made explicit.

Is the paper only considered reproducible if you can recreate the results perfectly in sktime? As I said earlier: We ran the experiments in Java and the code to reproduce it is there, TSC literature does not revolve around sktime. If all sktime estimators must be able to fully reproduce the exact results from their paper regardless of language, I think we have another issue to create and a lot of work to do. I respect the readers enough to believe they can write a for loop through the UCR datasets if they want to double-check our results for us, which we also provide on the same website.
Also, an FYI, we do compare the sktime version to the tsml one here https://timeseriesclassification.com/HC2_supplement.php. I by default set the STC contract to 2 hours instead of 1 to preserve accuracy, but there is probably room for improvement there and in DrCIF.

"arbitrary choice of other classifiers" -> from the paper, section 3 has the relevant sentence "HIVE-COTE 2.0 replaces three of the four classifiers that make up HIVE-COTE 1.0". No reason that I can discern is given, why those. Except perhaps that the components all lead to self-citations, but that is not made explicit.

Dictionary Based: cBOSS -> TDE: higher accuracy
Interval Based: TSF&RISE -> DRCIF: Higher accuracy taking features from both classifiers.
Shapelet Based: STC remains the most accuracy shapelet approach at the time (I believe this has been improved on since)
Distance Based: Shown in HC1 to add little to accuracy while having a massive cost time-wise
Kernel Based: New addition, due to the very impressive performance of ROCKET. Altered due to the requirement for probabilities in the ensemble weighting scheme.
Weighting scheme: We tested multiple alternative schemes, and found the original CAWPE scheme to perform best.
We do explain these choices. Are we going to set up a vote for this?

You are welcome to use my implementation, benchmarking code and running example to try to beat HC2 using the benchmarks if you want. I am going to assume you are not actually claiming Random Forest or simple summary stats would perform better.

In science, the burden of proof is with the one making the claim - the saying is "what is stated without evidence, can be dismissed without evidence". Also see the discussion on burden of proof in the context of evidential standards vs pseudoscience.
So, for this specific discussion: I don't need to beat HC2 or even write any benchmark code.
Au contraire: you need to beat reasonable baselines and present your evidence properly.

Good thing this is not a paper

What's the next move for this?

We do explain these choices. Are we going to set up a vote for this?

Or, a benchmarking experiment, maybe?

Dictionary Based: cBOSS -> TDE: higher accuracy
Interval Based: TSF&RISE -> DRCIF: Higher accuracy taking features from both classifiers.
Shapelet Based: STC remains the most accuracy shapelet approach at the time (I believe this has been improved on since)
Distance Based: Shown in HC1 to add little to accuracy while having a massive cost time-wise
Kernel Based: New addition, due to the very impressive performance of ROCKET. Altered due to the requirement for probabilities in the ensemble weighting scheme.
Weighting scheme: We tested multiple alternative schemes, and found the original CAWPE scheme to perform best.

So, to summarize: you took six parts of the earlier algorithm, and replaced them by parts you found to perform better. That is, you made at least six changes, based on performance improvement observed, right?
Now, here's my prize question: on which data did you observe that improved performance, subject to which evaluation mode? On which you then based the decision to replace the components/parameters by other components/parameters?
Possibly on the UCI dataset collection? Possibly subject to the same fixed splits and evaluation worfklow that you are now evaluating the six-fold "improved" algorithm on?
Wouldn't that mean that you tuned the algorithm manually, on the test set that you are now using to evaluate it?

We didn't make six changes. We made three. Two of which were designed to replace the components they replaced in the HC2 ensemble. 112 datasets over 30 folds is quite a lot to overfit on, but the possibility exists, I agree. Which is why we also tested it on the 26 UEA multivariate algorithms, which none of the component classifiers had been tested on prior, except for STC which performed rather poorly and was not altered at all.

What's the next move for this?

How about a compromise: we don't remove HIVE-COTE2, but we no longer present it as "the state-of-art" in the classification notebook?

Seriously, guys, I do not get the point here.

sktime, in my vision at least and I would think in the vision of many others, is a neutral place where every contribution is equally respected, and not a place to be dominated a small number of TSC researchers for them to promote their specific interests and specifically branded algorithms while trashing others without being backed by evidence.

I really do not get this. You talk about respecting ideas from others but do just the oposite and decise what is good for others. Let the users decide what to use. If runtime is the criterion we should remove all deep learning based methods inclusing Prophet please. You may still like a certain approach or not.
Also sktime is a place that requires contributions from others without being payed for! Of course these add contributions based on their own interest.  And if you want to attract researchers you have to accept this.

And to further add: the significance of a contribution should be answered by peer review and not by us.

I've not read all this, life is too short on a sunday in a heat wave, but I wish it would stop. I will say this for now

If you link to a paper describing HC2, please link to the published version, not the arxiv one
https://link.springer.com/article/10.1007/s10994-021-06057-9
The "questionable" classifier has been published in one of the top machine learning journals after peer review, by reviewers whose opinion I respect more than yours.
This is an unpleasant attack on the work of @MatthewMiddlehurst, a PhD student, and is IMO in clear breach of the code of conduct. I will report it as such, lets see if there is anyone left on the code of conduct committee to consider it

thanks you @patrickzib for chipping in, but I think Kiraly is beyond reason, this is just one part of an inept and laughable attack on me and my group. Its very sad. If anyone in my research group is reading this, I would advise you not to engage Kiraly directly via this issue, but to take any complaints you have to the code of conduct committee or the community council (although not to Franz obviously)

I've read it now and find it contains what I consider hugely inappropriate comments from kiraly to a PhD student. Frankly, I think it is disgraceful behaviour. No doubt kiraly will reopen, but I'm closing it

This is an unpleasant attack on the work of @MatthewMiddlehurst, a PhD student, and is IMO in clear breach of the code of conduct.
this is just one part of an inept and laughable attack on me and my group.

How exactly is a discussion on the merits of a classifier in sktime an "attack" on you and your group?
What is an attack is you calling this "laughable" and "sad", that is highly insulting.

I've read it now and find it contains what I consider hugely inappropriate comments from kiraly to a PhD student. Frankly, I think it is disgraceful behaviour. No doubt kiraly will reopen, but I'm closing it

Again, this is ad hominem and personally insulting.
What again is "inappropriate"?

And to further add: the significance of a contribution should be answered by peer review and not by us or someones personal preference.

@patrickzib, do you not consider me a peer?
Do I not have the right ot ask reasonable scientific questions?
What you are basically saying that only a certain circle (that you define) have the right to review algorithms, and those people determine what is in sktime, and not the sktime community.

And if you want to attract researchers you have to accept this.

The point as I had made it at the top: sktime is a neutral place and not an advertising outlet for a narrow selection of researchers. I find it inappropriate that HIVE-COTE2 is being peddled as "the state-of-art" in TSC, on sktime.
To attract researchers, you have to be open to collaboration outside your immediate friends.

To be honest, I feel like you are mixing personal affairs with a fair review process. Right now you behave like a bouncer revoking access to sktime. And I believe that has a huge impact on potential contributors.
From my side, I believe Matthew did his part by passing a peer review in a journal. Also Tonys group is out of question for delivering great reproducible research. This is sufficient evidence. You brought up no new evidence but rather argument against him forcing additional evidence by him.
If you want to have a certain standard for contributions (certain number of cotations, reproducibility, …) you should declare a document wirh conditions to be met for being included in sktime. But right now you do it in an ad hoc way with only one classifier chosen at random.

I would also kindly ask @fkiraly to close this issue. Its not going into a positive direction for the community. Regarding the "state-of-art" statement, I think its actually reasonable to remove that as it seems to be a subjective opinion here of the author and we want to let the user decide what is state of the art and what not.

Thank you for your comments. It is disappointing it has come to this.

sktime contains the state of the art in time series classifiers in the package classification. These are grouped based on their representation. An accurate and relatively fast classifier is called ROCKET

A state-of-art algorithm for time series classification is version 2 of the HIVE-COTE algorithm. HC2 is slow on small problems like these examples. However, it can be configured with an approximate maximum run time as follows (may take a bit longer than a minute to run this cell).

I assume these are the offending statements from the classification notebook? I did not write it, but it doesn't seem like HIVE-COTE is the only classifier to be referred to as the state-of-the-art currently? It would be fair to include ROCKET and InceptionTime in there as well, though ROCKET already has as many examples as HC2 in the notebook and InceptionTime is in the process of being ported over. If wording is still an issue, "A state-of-art" > "An accurate"?
I feel it is good to give current recommendations rather than just using 1-NN DTW or whatever the fastest classifier at the time is.

The attitude regarding including algorithms in sktime appears to have changed (https://github.com/alan-turing-institute/sktime/pull/3155). Will close this issue if there are no replies.

yes, correct, we've decided that (almost) everything can live in sktime as long as it is accompanied by sufficient quality scientific reference and as long as it is interface compliant. HIVE-COTE2 passes that bar imo, and probably only few people would object to that.


Undefined symbols for architecture arm64

Hello,
I got a problem like this,
Undefined symbols for architecture arm64:

"typeinfo for boost::archive::detail::basic_pointer_oserializer", referenced from:
and I used serialization libraries with LLVM 8.0 - c++, any solutions for this?
Thank you.

For future reference: the libs aren't build with the serialization library included. So you need to run the build script with 'serialization' included in the BOOST_LIBS var.


Button Component Updates: Disable Cursor NDS-29

What does this PR do?

ButtonProps were moved to types.ts.
ButtonProps imports were updated.
cursor-disabled mixin was added for button.
cursor-disabled modifier is added to Button when it's loading or disabled.

Screenshot

After chatting about it, we're going to remove the loading functionality from this so we can think more globally about the "loading" state. That means that the improvement is just to add .nds-button:disabled { cursor: not-allowed; } to <Button disabled>. @wguevara-norton, let me know if you'd like to close this and open a new PR or just do it in this one and we can squash the commits.


UICIRCLOG-29 Entering values in Search fields OR Clicking Apply moves focus to Results list pane

https://issues.folio.org/browse/UICIRCLOG-29

Purpose

Approach

TODOS and Open Questions

Learning

Pre-Merge Checklist
Before merging this PR, please go through the following list and take appropriate actions.

[x] I've added appropriate record to the CHANGELOG.md
Does this PR meet or exceed the expected quality standards?

[ ] Code coverage on new code is 80% or greater
[ ] Duplications on new code is 3% or less
[ ] There are no major code smells or security issues

Does this introduce breaking changes?

[ ] If any API-related changes - okapi interfaces and permissions are reviewed/changed correspondingly
[x] There are no breaking changes in this PR.

If there are breaking changes, please STOP and consider the following:

What other modules will these changes impact?
Do JIRAs exist to update the impacted modules?

[ ] If not, please create them
[ ] Do they contain the appropriate level of detail?  Which endpoints/schemas changed, etc.
[ ] Do they have all they appropriate links to blocked/related issues?

Are the JIRAs under active development?

[ ] If not, contact the project's PO and make sure they're aware of the urgency.

Do PRs exist for these changes?

[ ] If so, have they been approved?

Ideally all of the PRs involved in breaking changes would be merged in the same day to avoid breaking the folio-testing environment.  Communication is paramount if that is to be achieved, especially as the number of intermodule and inter-team dependencies increase.
While it's helpful for reviewers to help identify potential problems, ensuring that it's safe to merge is ultimately the responsibility of the PR assignee.

Test errors found. See https://jenkins-aws.indexdata.com/job/folio-org/job/ui-circulation-log/job/PR-71/1/

yarn run v1.22.4
$ eslint .
/home/jenkins/workspace/lio-org_ui-circulation-log_PR-71/project/src/CirculationLogList/CirculationLogListFilter/CirculationLogListFilter.test.js
17:1   error  @babel/core/lib/gensync-utils/async import should occur before import of ../constants  import/order
17:8   error  A space is required after '{'                                                              object-curly-spacing
17:16  error  A space is required before '}'                                                             object-curly-spacing
17:23  error  Strings must use singlequote                                                               quotes
✖ 4 problems (4 errors, 0 warnings)
4 errors and 0 warnings potentially fixable with the --fix option.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


Unreadable type graphs

See example here: http://doc.perl6.org/type/Metamodel::MethodContainer
That's how it is rendered for me:

And that's how provided PNG version looks like:

Zooming does not help. In fact, it seems like the svg is inlined, so I can't open it separately and zoom it there.

I think that if we provide .svg links then this problem is not an issue. See https://github.com/perl6/doc/issues/283

I take my words back. This has to be fixed anyway, stand-alone images are just as unreadable even if zoomed: https://docs.perl6.org/images/type-graph-Metamodel%3A%3AMethodContainer.svg

OK, this is tough. Here's my progress so far.

To inspect generated dot input: https://github.com/perl6/doc/issues/1505
-Gaspect=1 does not work and prints Warning: the aspect attribute has been disabled due to implementation flaws - attribute ignored.
unflatten tool (normally installed with graphviz) does almost nothing, fiddling with its options didn't help. Note that this is a tool designed specifically for this problem.

Discussion and some pretty graphs: https://irclog.perlgeek.de/perl6/2017-09-02#i_15107475

Unassigning myself because I'm getting burned on this issue. I hope my findings will help someone.

FWIW another interesting (possibly easier) graph issue: https://github.com/perl6/doc/issues/72

Actually, I think we need a rewrite of the code that does graph generation. See also https://github.com/perl6/doc/commit/82966bcc21a1e91126a5dede81a50ea7164fc272


Bug with Forge and NeoForge loaders

Hello, I have recently added tomato-loaders to my electron project, the problem is that I don't know why when downloading Forge or NeoForge I receive this error. I have been looking for information but I have not found anything, would you know what could be the reason?
Thank you

It looks like you might be doing stuff in the frontend that should happen in the backend of your application


[AutoPR containerservices/resource-manager] [AKS]: Remove 200/OK response from reset SP/AAD api

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4948

(message created by the CI based on PR content)

Codecov Report

Merging #4099 into restapi_auto_containerservices/resource-manager will increase coverage by 0.01%.
The diff coverage is n/a.

@@                                 Coverage Diff                                 @@
##           restapi_auto_containerservices/resource-manager    #4099      +/-   ##
===================================================================================
+ Coverage                                            54.19%   54.21%   +0.01%
===================================================================================
  Files                                                10241    10231      -10
  Lines                                               208125   207940     -185
===================================================================================
- Hits                                                112793   112727      -66
+ Misses                                               95332    95213     -119

Impacted Files
Coverage Δ

...18_03_31/operations/managed_clusters_operations.py
13.14% <ø> (+0.77%)
:arrow_up:

..._preview/operations/managed_clusters_operations.py
12.83% <ø> (+0.45%)
:arrow_up:

...hub/azure/mgmt/iothub/models/iot_hub_properties.py
100% <0%> (ø)
:arrow_up:

...azure/mgmt/iothub/models/iot_hub_properties_py3.py
100% <0%> (ø)
:arrow_up:

...e-mgmt-iothub/azure/mgmt/iothub/models/__init__.py
100% <0%> (ø)
:arrow_up:

...mt-iothub/azure/mgmt/iothub/models/routing_twin.py

...suggest/azure/cognitiveservices/search/__init__.py

.../mgmt/iothub/models/routing_twin_properties_py3.py

...ub/models/iot_hub_properties_device_streams_py3.py

...iothub/models/iot_hub_properties_device_streams.py

... and 8 more

Continue to review full report at Codecov.

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


kubectl direnv setup issues and solution

I'm new to k8s, so this is prob the dumbest issue in here, but still figured i'd share what i found in case any other dummies like me are coming across a similar issue!
Issue:

After going through the setup, trying to use kubectl kept resulting in:
The connection to the server localhost:8080 was refused - did you specify the right host or port?

Notes:
After doing a little research, the k8s docs said to install minikube to get it to work, but this didn't seem right. Further reading on the linked reading materials led me to it being a config issue. When manually specifying the --kubeconfig var inside my kubectl calls, it was working fine. Read through the repo and found that .envrc file which should have fixed everything for me. Going to brew install direnv resulted in a "It's already installed, idiot" message from homebrew. Finally, I figured out that I needed to hook the direnv call into my ~/.zshrc file.
Process:
kubectl cluster-info
output: The connection to the server localhost:8080 was refused - did you specify the right host or port?
brew install direnv
output: Warning: direnv 2.32.2 is already installed and up-to-date.
echo 'eval "$(direnv hook zsh)"' >> ~/.zshrc
source ~/.zshrc

or
echo 'eval "$(direnv hook bash)"' >> ~/.bashrc
source ~/.bashrc

output: direnv: error [[redacted]]/.envrc is blocked. Run direnv allow to approve its content
direnv allow
output:
direnv: loading [[redacted]]/.envrc
direnv: export +ANSIBLE_CONFIG +ANSIBLE_HOST_KEY_CHECKING +KUBECONFIG

kubectl cluster-info
output:
Kubernetes control plane is running at https://<IP_ADDRESS>:6443
CoreDNS is running at https://<IP_ADDRESS>:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy

To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.

🎉

Thanks for the feedback, direnv isn't a requirement but maybe I should add the docs to make it so. The reason I didn't do this in the first place is not everyone uses the same shell.
FWIW there's a subtle hint already on the README under reading materials that links to how to set up the kubeconfig.

All good! I just figured I'd share so hopefully some other person has an easier time of it. Honestly, direnv is a great tool - wish I had known about it sooner. And, I read through the hinted at documentation. The problem was - since I didn't initially know that the problem was a config issue, I didn't think to start messing with the config flags or reading up on the config. After some rooting around, it turns out that was it and the documentation helped me get it sorted.
But, maybe a line about "The kubectl configuration is in the ./kubeconfig file, if you have issues with kubectl, double check that the config is being loaded" could be beneficial.
overall though, was fun to set up the project! Really appreciate the steps. Now, I just gotta figure out what I'm going to do with it.

Thanks for the suggestion, done in https://github.com/onedr0p/flux-cluster-template/commit/8c9f8c0bd7f2ce5b8b819a8abde7cb40c6035449


json.decoder.JSONDecodeError: Expecting value: line 10 column 5 (char 743)

david @ blackbox:Programming/searchgraphai $ python first_try.py
Traceback (most recent call last):
File "/home/david/.local/lib/python3.10/site-packages/langchain_core/output_parsers/json.py", line 66, in parse_result
return parse_json_markdown(text)
File "/home/david/.local/lib/python3.10/site-packages/langchain_core/utils/json.py", line 147, in parse_json_markdown
return _parse_json(json_str, parser=parser)
File "/home/david/.local/lib/python3.10/site-packages/langchain_core/utils/json.py", line 160, in _parse_json
return parser(json_str)
File "/home/david/.local/lib/python3.10/site-packages/langchain_core/utils/json.py", line 120, in parse_partial_json
return json.loads(s, strict=strict)
File "/usr/lib/python3.10/json/init.py", line 359, in loads
return cls(**kw).decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 10 column 5 (char 743)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/david/Work/Programming/searchgraphai/first_try.py", line 24, in
result = search_graph.run()
File "/home/david/.local/lib/python3.10/site-packages/scrapegraphai/graphs/search_graph.py", line 120, in run
self.final_state, self.execution_info = self.graph.execute(inputs)
File "/home/david/.local/lib/python3.10/site-packages/scrapegraphai/graphs/base_graph.py", line 107, in execute
result = current_node.execute(state)
File "/home/david/.local/lib/python3.10/site-packages/scrapegraphai/nodes/graph_iterator_node.py", line 73, in execute
state = asyncio.run(self._async_execute(state, batchsize))
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/home/david/.local/lib/python3.10/site-packages/scrapegraphai/nodes/graph_iterator_node.py", line 128, in _async_execute
answers = await tqdm.gather(
File "/home/david/.local/lib/python3.10/site-packages/tqdm/asyncio.py", line 79, in gather
res = [await f for f in cls.as_completed(ifs, loop=loop, timeout=timeout,
File "/home/david/.local/lib/python3.10/site-packages/tqdm/asyncio.py", line 79, in
res = [await f for f in cls.as_completed(ifs, loop=loop, timeout=timeout,
File "/usr/lib/python3.10/asyncio/tasks.py", line 571, in _wait_for_one
return f.result()  # May raise f.exception().
File "/home/david/.local/lib/python3.10/site-packages/tqdm/asyncio.py", line 76, in wrap_awaitable
return i, await f
File "/home/david/.local/lib/python3.10/site-packages/scrapegraphai/nodes/graph_iterator_node.py", line 117, in _async_run
return await asyncio.to_thread(graph.run)
File "/usr/lib/python3.10/asyncio/threads.py", line 25, in to_thread
return await loop.run_in_executor(None, func_call)
File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/david/.local/lib/python3.10/site-packages/scrapegraphai/graphs/smart_scraper_graph.py", line 112, in run
self.final_state, self.execution_info = self.graph.execute(inputs)
File "/home/david/.local/lib/python3.10/site-packages/scrapegraphai/graphs/base_graph.py", line 107, in execute
result = current_node.execute(state)
File "/home/david/.local/lib/python3.10/site-packages/scrapegraphai/nodes/generate_answer_node.py", line 135, in execute
answer = map_chain.invoke({"question": user_prompt})
File "/home/david/.local/lib/python3.10/site-packages/langchain_core/runnables/base.py", line 3142, in invoke
output = {key: future.result() for key, future in zip(steps, futures)}
File "/home/david/.local/lib/python3.10/site-packages/langchain_core/runnables/base.py", line 3142, in
output = {key: future.result() for key, future in zip(steps, futures)}
File "/usr/lib/python3.10/concurrent/futures/_base.py", line 451, in result
return self.__get_result()
File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
raise self._exception
File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/david/.local/lib/python3.10/site-packages/langchain_core/runnables/base.py", line 2499, in invoke
input = step.invoke(
File "/home/david/.local/lib/python3.10/site-packages/langchain_core/output_parsers/base.py", line 169, in invoke
return self._call_with_config(
File "/home/david/.local/lib/python3.10/site-packages/langchain_core/runnables/base.py", line 1626, in _call_with_config
context.run(
File "/home/david/.local/lib/python3.10/site-packages/langchain_core/runnables/config.py", line 347, in call_func_with_variable_args
return func(input, **kwargs)  # type: ignore[call-arg]
File "/home/david/.local/lib/python3.10/site-packages/langchain_core/output_parsers/base.py", line 170, in
lambda inner_input: self.parse_result(
File "/home/david/.local/lib/python3.10/site-packages/langchain_core/output_parsers/json.py", line 69, in parse_result
raise OutputParserException(msg, llm_output=text) from e
langchain_core.exceptions.OutputParserException: Invalid json output: Here is the JSON object:
{
  "title": null,
  "content": null,
  "links": [
    "https://honestcooking.com/",
    "https://www.facebook.com/sharer.php?u=https://honestcooking.com/chioggia-beet-and-fennel-salad/",
    "https://pinterest.com/pin/create/bookmarklet/?url=https://honestcooking.com/chioggia-beet-and-fennel-salad/&media;=https://honestcooking.com/wp-content/uploads/2012/02/chioggia-beet-and-fennel-salad-495-400.jpg",
    "https://twitter.com/intent/tweet?text=Chioggia%20Beet%20and%20Fennel%20Salad&via;=honestcooking&url;=https://honestcooking.com/chioggia-beet-and-fennel-salad/",
    "mailto:?subject=Chioggia%20Beet%20and%20Fennel%20Salad&body;=Chioggia%20Beet%20and%20Fennel%20Salad%20https://honestcooking.com/chioggia-beet-and-fennel-salad/",
    ...
  ],
  "images": [
    "https://honestcooking.com/wp-content/uploads/2020/09/Honest-Cooking-New-Logo-1-Line.png",
    "https://honestcooking.com/wp-content/uploads/2020/09/Honest-Cooking-New-Logo-1-Line.png",
    ...
  ]
}

david @ blackbox:Programming/searchgraphai $
david @ blackbox:Programming/searchgraphai $
david @ blackbox:Programming/searchgraphai $
david @ blackbox:Programming/searchgraphai $ cat first_try.py
from scrapegraphai.graphs import SearchGraph
Define the configuration for the graph
graph_config = {
"llm": {
"model": "groq/llama3-8b-8192",
"api_key": "",
"temperature": 0
},
"embeddings": {
"model": "ollama/nomic-embed-text",
"base_url": "http://localhost:11434",  # set ollama URL arbitrarily
},
"max_results": 5,
}
Create the SearchGraph instance
search_graph = SearchGraph(
prompt="List me all the traditional recipes from Chioggia",
config=graph_config
)
Run the graph
result = search_graph.run()
print(result)
david @ blackbox:Programming/searchgraphai $

Is this the complete JSON? Does it actually contain ... at the end of links and images or is this a shortened version?

Is this the complete JSON? Does it actually contain ... at the end of links and images or is this a shortened version?

i have the same problem, output actually contains ### ...
json.decoder.JSONDecodeError: Expecting value: line 8 column 5 (char 703)
langchain_core.exceptions.OutputParserException: Invalid json output: Here is the JSON object:
{
  "links": [
    "https://honestcooking.com/",
    "https://www.facebook.com/sharer.php?u=https://honestcooking.com/chioggia-beet-and-fennel-salad/",
    "https://pinterest.com/pin/create/bookmarklet/?url=https://honestcooking.com/chioggia-beet-and-fennel-salad/&media=https://honestcooking.com/wp-content/uploads/2012/02/chioggia-beet-and-fennel-salad-495-400.jpg",
    "https://twitter.com/intent/tweet?text=Chioggia%20Beet%20and%20Fennel%20Salad&via=honestcooking&url=https://honestcooking.com/chioggia-beet-and-fennel-salad/",
    "mailto:?subject=Chioggia%20Beet%20and%20Fennel%20Salad&body=Chioggia%20Beet%20and%20Fennel%20Salad%20https://honestcooking.com/chioggia-beet-and-fennel-salad/",
    ...
  ],
  "images": [
    "https://honestcooking.com/wp-content/uploads/2020/09/Honest-Cooking-New-Logo-1-Line.png",
    "https://honestcooking.com/wp-content/uploads/2020/09/Honest-Cooking-New-Logo-1-Line.png",
    ...
  ]
}

Hei @david-strejc try set the "format":"json" in the llm dict and see if you still get the error. Sometimes with local models is needed

Hei @david-strejc try set the "format":"json" in the llm dict and see if you still get the error. Sometimes with local models is needed

that works but when you crank up the max_results to more than 2, it will start throwing out some JSON errors (two is fine, prob a API issue)

python3 first.py
{'recipes': [{'name': 'Chioggia Beet Salad', 'description': 'This simple chioggia beet salad is super simple, letting the beautiful bright colors and gently sweet crispness of the beets shine. It takes mere minutes to prepare, and is great as a side or appetizer.', 'ingredients': ['2 tablespoons slivered almonds or sliced', '1 chioggia beet', '2 handfuls arugula rocket', '1 oz goat cheese'], 'instructions': ["Gently toast the almonds in a dry skillet/frying pan or under a broiler/grill. Keep a close eye on them so they turn golden brown but don't burn then set aside to cool.", 'Peel the outside layer off the chioggia beet then carefully make thin slices with a mandolin or wide vegetable peeler. Try to make as complete circles as you can but even part slices are good.', 'Place the arugula on two plates and top with the slices of beet, crumbled goat cheese and the toasted almonds.', 'Shake together the vinaigrette ingredients (oil, vinegar and maple syrup) in a small jar or whisk in a small bowl. Drizzle over the salad and serve.']}, {'title': 'Roasted Chioggia Beet and Gorgonzola Salad', 'description': 'This simple fall salad features chioggia beets, a beautiful candy stripe beet, that is both sweet and earthy. The beets are paired with spicy arugula and creamy goronzola for a well balanced salad that is anything but ordinary.', 'ingredients': [{'name': '1 large bunch (about 1 lb) of chioggia (or any kind) beets', 'quantity': '1 large bunch (about 1 lb)'}, {'name': '3 cups loosely packed arugula', 'quantity': '3 cups'}, {'name': '1/4 small red onion, very thinly sliced', 'quantity': '1/4 small'}, {'name': '1/4 cup crumbled gorgonzola or blue cheese', 'quantity': '1/4 cup'}, {'name': '4-5 sprigs thyme, leaves removed from stalks', 'quantity': '4-5 sprigs'}, {'name': 'olive oil', 'quantity': ''}, {'name': 'balsamic glaze or a good balsamic vinegar', 'quantity': ''}, {'name': 'flaky sea salt, to taste', 'quantity': 'to taste'}], 'instructions': [{'step': "1. Preheat oven to 400F. Remove beet greens and save for later use. Wrap beets individually (or in sets of 2 if small) in aluminum foil and place on a baking sheet. Leave the skins on for this. Roast in oven for 45-60 minutes, until cooked through but still firm. Cooking time depends on the size of the beets. If you prefer not to use foil, you can place beets unwrapped in a baking dish with sides, filled with about a 1/2 inch of water and follow the same instructions. You will lose some of the nutrients in the beets to the water, but it's a good alternative to using foil. When ready, remove from oven, and open foil packets. Let cool until you can handle them. Peel with fingers or a peeler (the peels should come off very easily now). Note, this can be done up to 3 days ahead. Store beets whole in the fridge in an airtight container until ready to use.", 'step_number': 1}, {'step': '2. Slice beets thinly either using a sharp knife or mandolin into 1/8-inch thick circles. Add arugula to a medium platter or bowl. Top with beets, sliced onion and gorgonzola.  Drizzle a little olive oil and balsamic glaze or balsamic vinegar if you don't have the glaze. Serve immediately.", 'step_number': 3}]}]}

from scrapegraphai.graphs import SearchGraph

# Define the configuration for the graph
graph_config = {
    "llm": {
        "model": "groq/llama3-8b-8192",
        "api_key": "",
        "temperature": 0,
    },
    "embeddings": {
        "model": "ollama/nomic-embed-text",
        "base_url": "http://localhost:11434",  # set ollama URL arbitrarily
    },
    "max_results": 2,
    "format":"json"
}

# Create the SearchGraph instance
search_graph = SearchGraph(
    prompt="List me all the traditional recipes from Chioggia",
    config=graph_config,
)

# Run the graph
result = search_graph.run()
print(result)

hi, we are trying to fix it, pls install the new beta

ok, now is on the main


Generated test.md file for rules should be in numeric order

Right now, for test cases > 9, they get generated in the order of
example:
1.
10.
11.
12.
2.
3.
...

just adding a task to have it print to file in numeric order so it matches the order of the test cases

In<EMAIL_ADDRESS>we do .sort() on some arrays. We already have a natural sort function available as:
import {naturalCompare} from '@romejs/string-utils';

Want to submit a PR that updates the sort() to .sort(naturalCompare)?

Thanks. I'll open up a pr

Resolved by #453, this can be safely closed.


Stream disconnects when V3 is blocked from accessing the internet

Not sure if this is specific to the streaming library but I've noticed that if I prevent the V3 from accessing the internet after about an hour the stream stops and I can no longer connect to it.
I can still ping the camera and it seems to continue to record to the SD card.  If instead I allow the V3 to access the internet the stream seems to work indefinitely.
Is it possible to use the live stream and also keep the V3 off the internet?

 It's not obvious why this is happening. If you enable export STREAM_HACK_OUTPUT=/tmp/stream_hack.log in the config file, it may print some messages.

Thanks for testing!  I'll try the debug log and report back.  Out of curiosity, how long did it take it to stall?  What firmware version are your running?
I'm on the latest firmware and I suspect that the it's timing out somehow while attempting to connect to wyze's servers.

I haven't grabbed the logs yet, but I tried moving the camera closer to my router and the problem disappeared.  It looks like the issue is more prominent when the wifi connection is unstable while the camera has no internet access.
Is there a way to restart the stream periodically (say every few hours)?  Maybe with a cron job?

Looks like the issue was specific to Netgear Orbi access points.  Switching the camera to a TP-Link access point resolved the issue.  Stream is rock-solid for 2-3 days with Blue Iris + DeepStack after which it requires a reboot -- which is perfectly fine for my use case.
Closing.

@aechelon  "Stream is rock-solid for 2-3 days with Blue Iris "
Hi, I was wondering what you consider rock-solid? If I look at BI, the disconnect issues I have are only with Wyze Cams.   The others except for 1 are also WIFI 2.4Ghz and no disconnects.

So I'm just wondering what your signal/disconnect number is?

RTSP has been rock solid for me, as well as NFS using wyzehacks.  the
Livestream has been good as well.
I can tell you, that ANY interference on the wifi channel that you
experience will mess your stream up, even if only momentary, and it's not
due to the camera or the software.  these cameras are very sensitive on
their radios.
I was not able to achieve success on the v2 or v3, until I got a dedicated
router, and experimented with the channel setup.
just FYI.
On Fri, Jun 4, 2021, 1:30 PM teredactle @.***> wrote:

@aechelon https://github.com/aechelon "Stream is rock-solid for 2-3
days with Blue Iris "
Hi, I was wondering what you consider rock-solid? If I look at BI, the
disconnect issues I have are only with Wyze Cams.  The others except for 1 are
also WIFI 2.4Ghz and no disconnects.
[image: bi]
https://user-images.githubusercontent.com/37247773/120859220-e6322180-c551-11eb-95fd-c0f4098bc68e.jpg
So I'm just wondering what your signal/disconnect number is?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/FiveLeavesLeft/WyzeCameraLiveStream/issues/11#issuecomment-854982262,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC4N2SFHZLGXNB35G3X33OTTREZVTANCNFSM44WAQGKQ
.

I concur with @gtxaspec, the wifi on the V3's is sensitive.
I happened to have a cheap TP-Link N300 sitting around.  I configured it in AP mode, patched it into a gigabit switch and connected the cameras to that on a dedicated wifi channel.
In this configuration with 2 x V3's I had 2 BI disconnects (both on the same camera) over a 5-day period.  The IP traffic for the cameras is now also segregated from my main wifi network, which is a nice bonus.
I've since configured the v3's to reboot nightly to circumvent even those sporadic disconnect events.

Well, i have to say, these are consumer cameras and the expectation is that I won't need to create special networks just to make a device run properly. People have all kinds of IOT stuff, and adding a camera shouldn't make one need to dedicate a router just to work as expected.  So to me, if the radio is that sensitive, then it's a poor implementation/product.
Also, I find it interesting that while the stream (http) goes out from BI, if I'm watching it on the Wyze app, that app's stream is not affected. So either 1) it's an issue with BI and how it handles in particular Wyze Cam streams, or 2) it's an issue with the camera prioritizing the Wyze App stream, before any type of other stream RTSP/HTTP.
I don't believe it's a BI issue, as I have other RTSP cameras on wifi that don't have this issue at all, so to me it points to the Wyze cam, which is disappointing.
Having a dedicated router just for Wyze cams is just out of the question, I will just return them.
Too bad, the starlight sensor is super nice as well as the FOV and I do like the new package as well.
@aechelon How are you getting the V3s to reboot on a schedule? Is it part of this firmware?
In a side note, the WC2s have a USB port. It's too bad the noone was able to create a firmware where it allow you to use a USB to RJ45 dongle on that port, essentially making the camera have wired capability.

@teredactle, Auto Rebooting is documented in the original WyzeHacks readme.
Keep in mind that this LiveStream functionality is not new firmware.  It's a hack that takes advantage of a hook in the existing video stream implementation.  As such, your mileage may vary.
Someone had started working on uboot for the V3 and I suspect firmware with native RTSP support will come eventually.
For me the LiveStream is an adequate solution to keep my V3's from sitting on a shelf collecting dust while we wait for Wyze to release RTSP support as they had promised or until 3rd-party firmware becomes available.
I actually don't mind the extra access point.  The benefit of segregating the camera's traffic out of my wifi network is worth the extra 5v@1A power draw.   I might have gone that way even if connectivity wasn't an issue.
I have yet to find another outdoor-rated camera with decent optics, BI support, and such a small footprint at this price point.

@aechelon
I will take a look at the original docs for the reboot, thanks.
"5v@1A power draw" which AP is this? I would like as little as possible additional electrical usage!
Price wise, huge value that you can't find anywhere! Much agreed here!
These hacks are great, I am too hoping wyze will pony up RTSP fw soon, but I'm not sure if that will happen....we will see.
Thanks

@teredactle, I'm using a little TP-Link N300 I happened to have sitting around (also collecting dust next to the V3's I had purchased in anticipation for Wyze to release RTSP support).

I'm using a little TP-Link N300 I happened to have sitting around

I think I have one of these I got for travel and never used it....


Fix issue that sync_on_commit is not set

Fixes #21308.
With the original frontend template templates/repo/settings/options.tmpl, the field push_mirror_sync_on_commit is always empty even when checkbox is checked. Removing value from the input tag seems to solve the issue, and will set push_mirror_sync_on_commit: on when the checkbox is checked.
(I'm not familiar with the frontend logics Gitea is using, so I don't really understand the cause of it)

Should it be something like:
{{if .push_mirror_sync_on_commit}} checked {{/if}}
?

Should it be something like:
{{if .push_mirror_sync_on_commit}} checked {{/if}}
?

{{if .push_mirror_sync_on_commit}}checked{{end}} works. Thank you!

I think it's a bug and the PR is worth to be backported to 1.17. @harryzcy do you have time to send a backport?

I think it's a bug and the PR is worth to be backported to 1.17. @harryzcy do you have time to send a backport?

No, I believe 'sync-on-commit' feature is only added to 1.18, and not to 1.17. So we don't need to backport this fix to 1.17 as well.

Oh  yes,  I missed  that. 👍


API redesign with async support

Codecov Report
Attention: Patch coverage is 0% with 2609 lines in your changes are missing coverage. Please review.

Project coverage is 0.00%. Comparing base (f395253) to head (9b7a875).

Files
Patch %
Lines

rust-cuda-kernel/src/kernel/link/mod.rs
0.00%
707 Missing :warning:

rust-cuda-kernel/src/kernel/wrapper/mod.rs
0.00%
271 Missing :warning:

...st-cuda-kernel/src/kernel/specialise/param_type.rs
0.00%
196 Missing :warning:

src/utils/adapter.rs
0.00%
162 Missing :warning:

rust-cuda-derive/src/rust_to_cuda/impl.rs
0.00%
135 Missing :warning:

...kernel/wrapper/generate/host_link_macro/get_ptx.rs
0.00%
134 Missing :warning:

...kernel/src/kernel/wrapper/generate/cuda_wrapper.rs
0.00%
121 Missing :warning:

rust-cuda-kernel/src/kernel/lints.rs
0.00%
113 Missing :warning:

rust-cuda-derive/src/rust_to_cuda/field_copy.rs
0.00%
111 Missing :warning:

...src/kernel/wrapper/generate/host_link_macro/mod.rs
0.00%
97 Missing :warning:

... and 20 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #18       +/-   ##
==========================================
- Coverage   58.39%   0.00%   -58.40%
==========================================
  Files          48      33       -15
  Lines        3653    3290      -363
==========================================
- Hits         2133       0     -2133
- Misses       1520    3290     +1770

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Feature Request #214 : option to disable EXIF auto-rotation

I am also interested in such a feature, because:

sometimes one would like to process pictures as-is
sometimes EXIF parsing seems buggy (see issue 21 on the exif-parser project)

Thank you. Planning on doing a release this weekend. This will be included.

Just tested: now images no longer automatically get rotated based on EXIF value (instead, exifRotate() must be called). Thank you!

for the records, the issue in the EXIF library (#21) was fixed recently, so calling exifRotate() should be safer now.


Clarify usage in Readme

To help avoid confusion about usage re: #209

@gr2m Thoughts here? I don't particularly see the need to state requiring a new repo here, the action would work in any repo assuming the tweets directory is present (e.g. a general repo dedicated to everything social-related for a project).

Fair comment, I've updated the wording. How is this?

:tada: This PR is included in version 2.1.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Populate customized tool buttons from plugin

Hello,
Is it possible to customize the tool buttons from a plugin?

Good suggestion! It should be possible, but currently isn't.


Resolve issue 1475 sticky nav-bar

🛠 Fixes Issue #1475

👨💻 Changes proposed

Added CSS to make the Nav bar Sticky.
Fixed a bug that caused content overlapping.
Fixed sizes of hero elements.

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
I resolve issue 1475, please let me know If you liked it, and do give your valuable review upon the same.

📷 Screenshots

You have merge conflicts do resolve...

Can you tell me what kind of merge conflicts are?

Hey @rohanbabbar04  I resolved the conflicts, please check my PR.

For desktop it looks great, but would also need it to work for different screen sizes.
Look :point_down:

Okie, I will work on that and submit this to you by tomorrow. But can you tell me should I close this PR then?

No, you can commit to this branch only let it continue

hey @rohanbabbar04 , I have applied media queries accordingly please check.

Hey @rohanbabbar04, Please check my PRs, let me known your views about the same.

@rohanbabbar04 Please check my PR, and let me know what you think about it.

Hey @rohanbabbar04 please check my PRs.

Hi @Manishak798, sorry I have been a little busy over the last two days...
I will review it today or tomorrow...

No worries @rohanbabbar04 take your time.

Hey @rohanbabbar04 , Kindly check my PR and let me know your views on the same.

For desktop it looks great, but would also need it to work for different screen sizes. Look 👇

Still this problem is there...

Kindly tell me in which screen resolutions this is showing up..

Check Here, haven't tested it locally but this is not showing for any smaller screen sizes

Hey @rohanbabbar04, according to your concerns I performed retesting of my code and also checked the link you provided me on my mobile phone, It is working seamlessly, I have also inspected the website on different resolutions available on Chrome, and too gave me the accurate result. I am providing you the screenshot below and I highly insist you to please text it out locally or tell me the accurate resolution where you are seeing this error.

Hey @rohanbabbar04 I have made the changes accordingly, found the bug and I resolved it, Please check this out now.

Now, it looks good  :D
Thanks @Manishak798

You're welcome, @rohanbabbar04.