eCAL Cloud Configuration Not Sending/Receiving Data Correctly

Currently I have two machines on the same LAN that both send out multicasts to one another via two different streams using eCAL in Cloud Mode. After configuring the network shown in the documentation (here), neither the server or device is able to receive multicast messages from one another.

The programs running on the server and device work when eCAL is in Local Mode and both the server and device are on the same machine which suggests the issue is with the network configuration.
I tried setting up the network configuration using both netplan and the GUI method shown in the documentation; neither method worked.
Using the eCAL monitor GUI, I saw that messages were being written to the topic on the device, but none of those messages were being received on the server which was subscribed to that topic.
ecal_sample_person_snd and ecal_sample_person_rec were each tested on each machine and there were no issues there.

Other details:

Both machines are connected to the network using a WiFi dongle
Using Google Protobuf
Code (I'm not doing anything complicated at all): device tx, server rx

/etc/netplan/50-ecal-multicast.yaml on the device (server is the same just with a different static IP)
# Replace eth0 with your network adapter!
network:
  version: 2
  renderer: NetworkManager # GUI integration for desktop Ubuntu
  ethernets:

    # Replace eth0 with your interface!
    wlan0:

      # Either use DHCP...
      dhcp4: no
      dhcp6: no

      # ... or configure a static address!
      addresses:
        - <IP_ADDRESS>/24

      routes:
        - to: <IP_ADDRESS>/24
          via: <IP_ADDRESS>
          metric: 1

ecal.ini (Same on both machines. Cloud mode on, hops to 10, only cloud mode enabled)
[network]
network_enabled           = true
multicast_group           = <IP_ADDRESS>
multicast_mask            = <IP_ADDRESS>
multicast_port            = 14000
multicast_ttl             = 10
multicast_sndbuf          = 5242880
multicast_rcvbuf          = 5242880

bandwidth_max_udp         = -1

inproc_rec_enabled        = false
shm_rec_enabled           = false
udp_mc_rec_enabled        = true

npcap_enabled             = false

[publisher]
use_inproc                = 0
use_shm                   = 0
use_udp_mc                = 1

Loopback file is the same as whats shown in the documentation.
If anyone has insight into how to get this working it would be greatly appreciated as I've been stuck on this issue for quite some time.

Your configuration looks fine. You should still check, whether the routes are actually created and point to your wifi device.
What I assume though, is that your Wifi Router is the issue. Usually corporate style Wifi access points block this kind of multicast traffic.
So you should

Make sure that your routes are properly shown with route -n to make sure you don't have a configuration issue at some other place
Maybe even check with Wireshark whether the UDP MC packets actually show up as outgoing packages
Check the configuration of your Wifi router

Thanks for the response @FlorianReimold. I can confirm that the routes for multicast and loopback are configured correctly and show up when i run route -n. Additionally, the multicast packets do show up on wireshark as seen in this screen shot. The Wifi router is not a corporate style router and is just the router in my apartment.

Does ecal_sample_person_snd and ecal_sample_person_rec use UDP mutlicast? If so I'm really confused how this example works, but the code I'm running doesn't.

Yes, the samples use UDP Multicast (in the default configuration, saying that you are using a stock ecal.ini). So you get a working communication via WiFi when running ecal_sample_person_snd on one machine and ecal_sample_person_rec on the other?

OK, so when the eCAL Samples work you can assume that your network configuration is fine. The samples do exactly what your custom application would do in that case, as well (UDP MC for network).
Maybe your application isn't publishing any data? Does it show up in eCAL Monitor on the other PC?

OK, got an idea, can you tell me how large an individual message is that you are trying to publish? If it is large, the message has to be split in many smaller chunks and if one of those chunks gets lost, the entire message has to be dropped. This is even more relevant for WiFi connections, as those are prone to message drops.
We recently developed a (somewhat) reliable TCP layer that can be used as replacement in this case. The TCP Layer will be in eCAL 5.10 which will be released on monday. The documentation is already up:
https://continental.github.io/ecal/advanced/layers/tcp.html

Okay, that is much more likely to be the case of what is going on. I'm sending ~800Kb in a single message at a rate of 20 time per second which comes out to around 16 Mb/s. I can verify this theory in a bit by slowing it down and decreasing the packet size. If messages get received then we have our problem.

A 800KB message will result in about 550 Ethernet frames going through the WiFi connection. So yes, I am now very sure that this is the issue. If 1 frame is lost your whole image is gone forever.
So let's see what we can do about that:

Use eCAL 5.10 with TCP (you can already grab the latest 5.10 build from our CI or just wait for monday 😉)
Honestly, I think this is the way to go. We developed the TCP layer for that exact use case (transferring images over network)

Try to make UDP work (it's possible!)

  With a large message that can even happen for a single message, as all chunks of it are sent out as fast as possible (by default).
Reduce the eCAL send speed
The ecal.ini contains a parameter bandwidth_max_udp that will cause eCAL to not send message out as fast as possible but honor the given setting.
https://continental.github.io/ecal/configuration/options.html#cmdoption-arg-bandwidth_max_ud

eCAL 5.10 has been released! Can you check it out and test if it solves your issue?

Hey @FlorianReimold, I was able to update everything and after a bit of tweaking and system configuration, I was able to get everything to work. It seems like I was running into issues when I just set the ecal.ini file for TCP to be on, but after reverting that to the old config and telling the publisher to use TCP within the code, everything worked out. Thank you!
I also have a follow up for the performance of the TCP layer withing eCAL. Is there available metrics for a performance comparison between the UDP and TCP layer? If both are transmitting the same packets on the same network, how much of a performance difference is there due to the extra overhead of TCP?

eCAL 5.10 uses a local (i.e. non-network) configuration by default, so I assume that is why you had to convert to your old config. As long as it works just keep it that way. But for future installations you can also set network_enabled = true in your ecal.ini.

Is there available metrics for a performance comparison between the UDP and TCP layer?

We currently don't have those kinds of metrics, at least not with eCAL. The downside of TCP is the higher latency (especially the connection establishment takes a lot of time!) and higher overhead due to header sizes and additional protocol messages like ACK messages. The eCAL TCP Layer is optimized for reducing the latency even with the risk of having even more overhead.
But in a 1->1 connection with large messages, I assume that the TCP Layer will probably always be faster than the UDP layer, as then the sequential throughput is more important than the latency. And TCP is really good for sequential throughput.
And, well, your messages actually reach the receiver, which is a plus 😉
The biggest downside of the TCP layer probably is that each subscriber opens its own data stream. So even only using eCAL Mon over network on a TCP topic causes 3 transmits of each message, as we ship 3 monitor-plugins and each creates its own subscriber.

Hi @FlorianReimold, I'm having similar issues with not being able to receive / send data with two machines again this time using the TCP layer. I have a new machine that is running Ubuntu 20.04 (I dont know if this is the root of any of the issues), but the two machines can definitely connect with eachother and ecal_sample_person_snd and ecal_sample_person_rec work perfectly fine between the two machines. Ive verified that the netplan yaml files are correct and that the ecal.ini is correctly configured. Additionally, this setup has worked on a different machine.
This time, when I run the ecal_mon_gui, there is a warning printout with the following.
2022-05-24 07:24:52.709	Info	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Info) -Publisher <IP_ADDRESS>:0: Created publisher and waiting for clients. 2022-05-24 07:24:59.151	Info	VIO Device Reader	CTCPReaderLayer - TCPPubSub (Info) -Publisher <IP_ADDRESS>:0: Created publisher and waiting for clients. 2022-05-24 07:25:00.310	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:00.897	Warning	VIO Device Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->arapaho:43167: Failed to resolve address: Host not found (authoritative) 2022-05-24 07:25:00.898	Warning	VIO Device Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->arapaho:43167: Failed to resolve address: Host not found (authoritative) 2022-05-24 07:25:00.898	Warning	VIO Device Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->arapaho:43167: Failed to resolve address: Host not found (authoritative) 2022-05-24 07:25:00.898	Warning	VIO Device Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->arapaho:43167: Failed to resolve address: Host not found (authoritative) 2022-05-24 07:25:00.899	Warning	VIO Device Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->arapaho:43167: Failed to resolve address: Host not found (authoritative) 2022-05-24 07:25:01.309	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:01.311	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:01.312	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:01.313	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:01.314	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:02.359	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:03.359	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:03.361	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:03.362	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:03.363	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:03.365	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:04.405	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:04.994	Warning	VIO Device Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->arapaho:43167: Failed to resolve address: Host not found (authoritative) 2022-05-24 07:25:05.405	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:05.407	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:05.408	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:05.409	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:05.411	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:06.453	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:07.043	Warning	VIO Device Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->arapaho:43167: Failed to resolve address: Host not found (authoritative) 2022-05-24 07:25:07.453	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:07.455	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:07.456	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:07.457	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later 2022-05-24 07:25:07.458	Warning	VIO Server Reader	CTCPReaderLayer - TCPPubSub (Warning) -SubscriberSession ?->jeffrey-System-Product-Name:44067: Failed to resolve address: Host not found (non-authoritative), try again later
Ive verified that the issue is coming from one particular machine (the Ubuntu 20.04 one). Do you have any insight into whats going wrong?


tf.Print() re/direction

Feature Request
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): N/A
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): N/A
TensorFlow installed from (source or binary): N/A
TensorFlow version (use command below): latest (1.5.0-rc0)
Python version:  N/A
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A
Exact command to reproduce: N/A

Describe the problem
https://github.com/tensorflow/tensorflow/blob/a77096897f1a8068ca8f57ffb6e3d9e28508cc27/tensorflow/core/platform/default/logging.cc#L89
It would be nice to be able to direct the string to a log file instead of stderr (following the TODO in the code)

I considered using tf.py_func() for logging but was afraid it would cause a slow down.

How often does C code log something in comparison with Python code?
Maybe it could be a setting based on env variable? In our case it would be great if we could ingest all the messages from all our workers and store them together and we are currently using Python logging for that.

Nagging Awaiting TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Nagging Awaiting TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Nagging Awaiting TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

Nagging Assignee @ebrevdo: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

I won't have cycles to work on this; so unassigning for triage.

Nagging Assignee @petewarden: It has been 36 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @petewarden: It has been 51 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @petewarden: It has been 66 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @petewarden: It has been 81 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

I haven't done any work on the logging, outside of mobile devices, so unassigning myself so that it can be triaged.

@asimshankar would you find someone to assign this too who will be willing to take it on, or else close it?

@tomerk is exploring some improvements to tf.Print in general, so assigning to him to evaluate whether we'd want to take this on.

Nagging Assignee @tomerk: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tomerk: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tomerk: It has been 44 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @tomerk: It has been 59 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Let's move this conversation here:https://github.com/tensorflow/community/pull/14


Upload fail when commit messages contain merge ... into

I am using bash script to upload coverage report with command bash <(curl -s https://codecov.io/bash) from CircleCI.
It seems uploading tasks are always fail when commit comment is like Merge branch 'feature' of github.com:suguru/repository into master.
Our logs show that something happened in commit parameter.
(query) branch=debug-test&commit=branch&build=1871.0&build_url=&tag=&slug=suguru/repository&yaml=&service=circleci&flags=&pr=&job=
==> Uploading reports
    Pinging Codecov
    Uploading to S3

bash <(curl -s https://codecov.io/bash) returned exit code 6

Hey @suguru this should be fixed up by recent releases. Have you seen this issue in the past week or longer?


Running commits in presubmit (for cache warming) can break some jobs

There are a few CI jobs that are conditional based on the branch - when a cache-busting PR lands a main run is triggered on presubmit so the conditions need to be adjusted
in other cases the scripts are making incorrect assumptions (eg git checkout)
in particular:

precheck/docs
clang_tidy

fixed in #26693


General: linting and organizing

some linting using the 'black' formatter and checked with flake8

Is that important? most of the team don't work with that formater so you will need to format others code all the time.
I think that before we use it, we need to talk about it as a team, and what are the advantages of using that.
Then if we want we will all use that linter and work according to its standard

I would like to get explanation about that PR

In general there was unnecessary spacing and lines
category = category here
also other than that it doesn't really matter but I do suggest synchronizing a formatter between us
It gives a warning when flake8 is not happy which saves me time pushing lint errors and finding it on github actions

Didn't see that there is a discussion open and I merged it.
But I think using a formatter is great, that way the code looks cleaner and cohesive.


Fix corner breaking change

Follow up of #408
Also introducing a new breaking change, a leftover from the swift3 migration: .AllSides -> .allSides.
I think that one is ok since it's already the default value, users can just remove the set for most of the cases by setting a simple cornerRadius.
Does that seem ok to you? Should I revert that commit?

          1 Warning

:warning:
Consider adding supporting documentation to this change. Documentation can be found in the docs directory.

  Generated by :no_entry_sign: danger


Permission denied

I would like to try the Baci and sentinel examples from the jupyter notebook services. However, I get a permission denied error. Which permissions do I need? Do I need to be member of a certain group workspace?

Is the data now at /datacentre/archvol5/qb152/archive/spot-23363-baci_ssv ?

Hi Anita,
Could you give me your email address so I can put this through as a proper CEDA helpdesk query
Esther
From: Anita Faul<EMAIL_ADDRESS>Reply-To: cedadev/ceda-notebooks<EMAIL_ADDRESS>Date: Monday, 9 November 2020 at 14:59
To: cedadev/ceda-notebooks<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [cedadev/ceda-notebooks] Permission denied (#17)
Is the data now at /datacentre/archvol5/qb152/archive/spot-23363-baci_ssv ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/cedadev/ceda-notebooks/issues/17#issuecomment-724066270, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACNJGBSGPPIYBGIZQTGIGX3SO77TVANCNFSM4TPOHIYQ.
This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. UK Research and Innovation (UKRI) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UKRI does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. Opinions, conclusions or other information in this message and attachments that are not related directly to UKRI business are solely those of the author and do not represent the views of UKRI.

Hi @ACFaul, you should be able to access the data under the standard archive path:
/neodc/baci_ssv/data/v1.0/
(which points to the directory: /datacentre/archvol5/qb152/archive/spot-23363-baci_ssv)

Email address is<EMAIL_ADDRESS>Permission gets denied when I get to 13_europe in the file path. Permissions until then are drwxr-xr-x, then they become drwxr-x---

Thanks @ACFaul
Please message<EMAIL_ADDRESS>and tell them about the permissions issue. Please specify the full file path (including all directories) so that one of our colleagues can update the permissions. Thanks

Linked CEDA account


Structural Lines with varying cross section

1- It is not possible to create a structural line with a variable cross-section with the "Structural Line" component by using the CADINP syntax "number of initial section" + "." + "number of the final section" (such as "1.2" indicating cross section number 1 at the beginning of the structural line and cross-section number 2 at its end). As can be seen in the image attached, only the first integer is read and written in the final CADINP code.

fixed with r71


Chinese support before, now does not support Chinese?

Chinese is no longer supported after the automatic upgrade plug-in, but also plans to support Chinese?

I will support chinese again whenever I find a version that doesn't trigger issue #23
Help is welcome.

using viz.js ver 1.8.1 can support chinese, and not trigger #23

Hi, thanks for reviewing. I will look at it and release as soon as possible.

using 1.8.1 now. Please confirm if Chinese is showing correctly.

Thank you for this awesome UML tool.  It does support show Chinese, however , auto-line-break doesn't work as English words do in [note: something very long in Chinese] , eg: [note: 这是一段非常非常长的文本，但是不能很好的自动换行。]


UG update jan v1.4

Covers issues found in the PE dry run, specifically:
#201 #185 #183 #176 #164 #159

Codecov Report

Merging #213 (eeee83e) into master (e225b29) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #213   +/-   ##
=========================================
  Coverage     68.50%   68.50%
  Complexity      747      747
=========================================
  Files           116      116
  Lines          2375     2375
  Branches        278      278
=========================================
  Hits           1627     1627
  Misses          634      634
  Partials        114      114

Impacted Files
Coverage Δ

...va/seedu/address/logic/commands/DeleteCommand.java
100.00% <ø> (ø)

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 e225b29...eeee83e. Read the comment docs.


Unable to get serilog to log to grafana cloud

I'm trying to get serilog to log to grafana cloud loki except I cannot get this to work and feel like I have reached the end of things to try.
Scraping logs and sending them to grafana cloud via the grafana-agent is working so i assume the same credentials (or credentials with the same permissions)  should work here aswell.
My application config json is as follows:
{
  "Serilog": {
    "Using": [
      "Serilog.Sinks.Grafana.Loki"
    ],
    "MinimumLevel": {
      "Default": "Debug"
    },
    "Enrich": [ "FromLogContext" ],
    "WriteTo": [
      {
        "Name": "GrafanaLoki",
        "Args": {
          "uri": "https://logs-prod-eu-west-0.grafana.net/api/prom/push",
          "credentials": {
            "Login": "User",
            "Password": "API key"
          },
          "labels": [
            {
              "key": "app",
              "value": "somevalue"
            }
          ],
          "outputTemplate": "{Timestamp:dd-MM-yyyy HH:mm:ss} level={Level} | {Message}{NewLine}{Exception}"
        }
      }
    ]
  }
}

Hello @sirhamsteralot,
You should use root loki uri. In your case it is https://logs-prod-eu-west-0.grafana.net

That worked, I knew it was probably something like that I was missing but I couldnt find it anywhere, 😅  thank you


DragEnd event was emitted before the layer had actually moved!

In Framer Studio v52, DragStart event wasn't fired before the layer moved.
However, it's wired that DragEnd event still be emitted if the layer hadn't moved.
Could you remove this behavior?

I think this is fixed now, but please let us know if it isn't.


Display for vectors.

Can I submit a pull request implementing Display on vectors where their type parameter is also Display? And if I can, should I use ⟨1, 0, 0⟩, [1, 0, 0] or (1, 0, 0) for the brackets?

Tricky thing about the Display impl is it can be pretty context-dependent. Sometimes it's better to make a custom wrapper struct (with its domain-specific impl of Display) that you only use when making other Display implementations.
We could however improve the debug output to make it look prettier? Would that help?

How about modifying the "pretty" Debug output (the one with the # modifier)? Removing the class name from the default debug output might make debugging harder.


fix tests for 3.8

all tests need to be fixed for new power management changes

this issue was related to the new power management changes and is now obsolete.


[FIX] add Ci of pytorch 1.10 and comments for bbox clamp (#7081)

fix issue (#7081)

Finished. @ZwwWayne

Need to resolve conflict before merge.


Removing Popcorn Time since it's no longer available via Brew Cask

Since Popcorn time is no longer available via Brew Cask it could be removed. The source code is available still, and I added a link in the comments.

@curiouscrusher removed


Update ontology versions

Fixes https://github.com/laminlabs/bionty-base/issues/541

I think the CI failing here is because you didn't upload any of the new ontology files to s3:

I made a guideline for how to do this here: https://github.com/laminlabs/bionty-base/issues/546

Also could you make 10 PRs for this? Each PR should make a single update with a clear title.
Note that CellLine, NCBItaxon and ExperimentalFactor needs manual curation, so they also require a paired PR in bionty-assets.

Yaa, I remember the parquet stuff but got distracted when the CI failed an I thought that it's due to the recent changes.
I'll do so!


How to get the start and end dates of the displayed dates?

May I ask, how can I get the start date of 27th and the end date of 7th as shown above. Thanks

what do you mean by "get" the dates?

I want to get the displayed start and end date to call the api to get the event data from the server.  For example, the picture above shows the 27th to the 7th. You know what I mean?

The ones that come to mind are the cellStatusForDate functions and the visibleDates functions.
Remember, there are many variations of these functions, pick one that suites you

I solved it. Thanks very much


Some internal nullable annotations

low-priority, but platform is subclassed, and shows up in usage in Intellij.


change php-git link

Hi there,
it looks like, that choobie is no longer supporting the actual php-git project.
Therefore I opened an issue to inform other that i startet an own project to add PHP 7 support.
The idea is to change the address of the website to this project.
https://github.com/garvins/php-git.git

Fixed via #72


SMTP TLS problem with Email  v2.7.1

Email plug-in works with SSL and no security but fails with TLS on port 587 at TMD Hosting - see below.
Ian Russell
Whoops\Exception\ErrorException thrown with message "stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number"
Stacktrace:
#23 Whoops\Exception\ErrorException in /home/codewayb/public_html/grav-site-1/user/plugins/email/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:94
#22 stream_socket_enable_crypto in /home/codewayb/public_html/grav-site-1/user/plugins/email/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:94
#21 Swift_Transport_StreamBuffer:startTLS in /home/codewayb/public_html/grav-site-1/user/plugins/email/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php:313
#20 Swift_Transport_EsmtpTransport:_doHeloCommand in /home/codewayb/public_html/grav-site-1/user/plugins/email/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php:118
#19 Swift_Transport_AbstractSmtpTransport:start in /home/codewayb/public_html/grav-site-1/user/plugins/email/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php:79
#18 Swift_Mailer:send in /home/codewayb/public_html/grav-site-1/user/plugins/email/classes/Email.php:104
#17 Grav\Plugin\Email\Email:send in /home/codewayb/public_html/grav-site-1/user/plugins/email/email.php:99
#16 Grav\Plugin\EmailPlugin:onFormProcessed in /home/codewayb/public_html/grav-site-1/vendor/symfony/event-dispatcher/EventDispatcher.php:212
#15 Symfony\Component\EventDispatcher\EventDispatcher:doDispatch in /home/codewayb/public_html/grav-site-1/vendor/symfony/event-dispatcher/EventDispatcher.php:44
#14 Symfony\Component\EventDispatcher\EventDispatcher:dispatch in /home/codewayb/public_html/grav-site-1/vendor/rockettheme/toolbox/Event/src/EventDispatcher.php:23
#13 RocketTheme\Toolbox\Event\EventDispatcher:dispatch in /home/codewayb/public_html/grav-site-1/system/src/Grav/Common/Grav.php:279
#12 Grav\Common\Grav:fireEvent in /home/codewayb/public_html/grav-site-1/user/plugins/form/classes/Form.php:729
#11 Grav\Plugin\Form\Form:post in /home/codewayb/public_html/grav-site-1/user/plugins/form/form.php:195
#10 Grav\Plugin\FormPlugin:onPageInitialized in /home/codewayb/public_html/grav-site-1/vendor/symfony/event-dispatcher/EventDispatcher.php:212
#9 Symfony\Component\EventDispatcher\EventDispatcher:doDispatch in /home/codewayb/public_html/grav-site-1/vendor/symfony/event-dispatcher/EventDispatcher.php:44
#8 Symfony\Component\EventDispatcher\EventDispatcher:dispatch in /home/codewayb/public_html/grav-site-1/vendor/rockettheme/toolbox/Event/src/EventDispatcher.php:23
#7 RocketTheme\Toolbox\Event\EventDispatcher:dispatch in /home/codewayb/public_html/grav-site-1/system/src/Grav/Common/Grav.php:279
#6 Grav\Common\Grav:fireEvent in /home/codewayb/public_html/grav-site-1/system/src/Grav/Common/Processors/PagesProcessor.php:26
#5 Grav\Common\Processors\PagesProcessor:process in /home/codewayb/public_html/grav-site-1/system/src/Grav/Common/Grav.php:131
#4 Grav\Common\Grav:Grav\Common{closure} in /home/codewayb/public_html/grav-site-1/system/src/Grav/Common/Grav.php:370
#3 Grav\Common\Grav:Grav\Common{closure} in /home/codewayb/public_html/grav-site-1/system/src/Grav/Common/Grav.php:346
#2 call_user_func_array in /home/codewayb/public_html/grav-site-1/system/src/Grav/Common/Grav.php:346
#1 Grav\Common\Grav:__call in /home/codewayb/public_html/grav-site-1/system/src/Grav/Common/Grav.php:132
#0 Grav\Common\Grav:process in /home/codewayb/public_html/grav-site-1/index.php:52
/home/codewayb/public_html/grav-site-1/user/plugins/email/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php
if (isset($this->_stream)) {
switch ($param) {
case 'timeout':
if ($this->_stream) {
stream_set_timeout($this->_stream, $value);
}
break;
            case 'blocking':
                if ($this->_stream) {
                    stream_set_blocking($this->_stream, 1);
                }
        }
    }
    $this->_params[$param] = $value;
}

public function startTLS()
{
    return stream_socket_enable_crypto($this->_stream, true, STREAM_CRYPTO_METHOD_TLS_CLIENT);
}

/**
 * Perform any shutdown logic needed.
 */
public function terminate()
{
    if (isset($this->_stream)) {
        switch ($this->_params['type']) {
            case self::TYPE_PROCESS:
                fclose($this->_in);
                fclose($this->_out);
                proc_close($this->_stream);
                break;
            case self::TYPE_SOCKET:
            default:
                fclose($this->_stream);
                break;
        }
    }

Arguments
"""
stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:\n
error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
"""

Looks like a problem with your SSL lib version on your hosting provider.

Thank you, Andy.
Message from TMD below, FYI. I am passing your note back to them. SSL works
so we are using that.
However, upon testing this with the TLS method, it seems it responds with
the same error message you have provided, which seems to be caused by your
Grav-based website and how the PHP Hooks that establish a TLS Connection
work.
Unfortunately, we will not be able to assist you with resolving the issue
with the TLS Encryption, and you should contact an experienced web
developer for further assistance on the matter, but if you wish to have
your messages sent via an encrypted connection, you can always use the SSL
Method (465 Port).
Ian Russell
On Sat, 18 Aug 2018 at 16:36, Andy Miller<EMAIL_ADDRESS>wrote:

Looks like a problem with your SSL lib version on your hosting provider.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/getgrav/grav/issues/2150#issuecomment-414066485, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AQOR8W89nX3F3y3QGSKLE7MmVS5r0qqXks5uSDRvgaJpZM4WCmUF
.

Well, we're just using Swift email library, and the error comes from there.  Swift is the most widely used, and most robust email library available, so if it doesn't work with TMD, i'm going to bet the problem lies on their end, and not on Swift. :)
Glad you are able to use SSL though.

To avoid prolonging this agony I have just sent this suggestion to TMD:
As we have a solution (SSL instead of TLS) I suggest avoiding detailed
technical investigation by waiting until your version moves up from OpenSSL
1.0.2k (26 January 2017) to 1.0.2p (14 August 2018).
Ian
On Sun, 19 Aug 2018 at 00:39, Andy Miller<EMAIL_ADDRESS>wrote:

Closed #2150 https://github.com/getgrav/grav/issues/2150.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/getgrav/grav/issues/2150#event-1796151258, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AQOR8SMVN-j8bU_WTAIMIy8vQumScW2Kks5uSKXEgaJpZM4WCmUF
.


RichText.ToText panics

It looks, RichText.ToText panics when passing empty string
panic: runtime error: index out of range [0] with length 0
goroutine 1 [running]:
github.com/tdewolff/canvas.(*RichText).ToText(0xc001d4f758, 0x0, 0x0, 0x1, 0x5, 0x0?, 0x0)
............./vendor/github.com/tdewolff/canvas/text.go:674 +0x3990

Not sure why, but I wasn't able to reproduce, though reading the code it should've panicked! Can you check if it is fixed now?

Thank you, this commit fixes the problem.


Export Transforms in composer.algorithms

AugmentAndMixTransform, ColOutTransform, and RandAugmentTransform are currently not exported. However, we expect that the usage of these will be more common than the usage of the purely functional form because these transforms are written to be easily composable with other transformations in an image pipeline.
This change exports them in composer.algorithms to make them more easily accessible.

cc: @dblalock on this for comment


ARROW-11113: [Rust] support as_struct_array cast

Codecov Report

Merging #9083 (8db1f6d) into master (2e9ff3c) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #9083      +/-   ##
==========================================
- Coverage   82.61%   82.60%   -0.01%
==========================================
  Files         204      204
  Lines       50140    50189      +49
==========================================
+ Hits        41421    41459      +38
- Misses       8719     8730      +11

Impacted Files
Coverage Δ

rust/arrow/src/array/cast.rs
100.00% <ø> (ø)

rust/datafusion/src/physical_plan/hash_join.rs
86.32% <0.00%> (-3.21%)
:arrow_down:

rust/arrow/src/array/array_string.rs
89.94% <0.00%> (-0.22%)
:arrow_down:

rust/arrow/src/compute/kernels/take.rs
95.21% <0.00%> (ø)

rust/parquet/src/encodings/encoding.rs
95.43% <0.00%> (+0.19%)
:arrow_up:

rust/arrow/src/array/transform/mod.rs
89.01% <0.00%> (+0.72%)
:arrow_up:

rust/arrow/src/ffi.rs
72.22% <0.00%> (+2.22%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #9083 (8db1f6d) into master (2e9ff3c) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #9083      +/-   ##
==========================================
- Coverage   82.61%   82.60%   -0.01%
==========================================
  Files         204      204
  Lines       50140    50189      +49
==========================================
+ Hits        41421    41459      +38
- Misses       8719     8730      +11

Impacted Files
Coverage Δ

rust/arrow/src/array/cast.rs
100.00% <ø> (ø)

rust/datafusion/src/physical_plan/hash_join.rs
86.32% <0.00%> (-3.21%)
:arrow_down:

rust/arrow/src/array/array_string.rs
89.94% <0.00%> (-0.22%)
:arrow_down:

rust/arrow/src/compute/kernels/take.rs
95.21% <0.00%> (ø)

rust/parquet/src/encodings/encoding.rs
95.43% <0.00%> (+0.19%)
:arrow_up:

rust/arrow/src/array/transform/mod.rs
89.01% <0.00%> (+0.72%)
:arrow_up:

rust/arrow/src/ffi.rs
72.22% <0.00%> (+2.22%)
:arrow_up:

Continue to review full report at Codecov.

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


Start timer button not appearing in Remember the Milk

Please follow this guide when creating a new issue. This speeds up the process of replicating the issue and finding a solution.
Environment details

Operation system: macOS Sierra 10.12.6
Extension version: 1.7.0

Expected behavior
The "Start timer" button is appended to all tasks in Remember the Milk.
Actual behavior
The "Start timer" button is not appended to all tasks in Remember the Milk. The button only appears on some tasks.
Steps to reproduce the behavior

Create tasks in Remember the Milk.
Navigate to any task list.

Additional details

This happens only on the built-in "Today" list for me, but does happen.

Fix by @aviskase via #951.


172419733 lstm tutorial workflow

Finished tutorial workflow, moved all data functions to data.py, only using JSON to pass models in tutorial workflow and templates, added plotting script for tutorial results.

Fixed import bug with @javieralc , workflow is being submitted without failure: ```qe get workflow lstm-tutorial-2q6k2
Name:                lstm-tutorial-2q6k2
Namespace:           default
ServiceAccount:      default
Status:              Succeeded
Created:             Thu May 14 00:12:10 +0000 (37 minutes ago)
Started:             Thu May 14 00:12:10 +0000 (37 minutes ago)
Finished:            Thu May 14 00:14:47 +0000 (34 minutes ago)
Duration:            2 minutes 37 seconds
Parameters:
s3-bucket:         quantum-engine
s3-key:            tutorials/lstm/
STEP                        TEMPLATE             STEPNAME                         DURATION  MESSAGE
✔ lstm-tutorial-2q6k2      lstm
├---✔ generate-data        generate-data        lstm-tutorial-2q6k2-482357801   16s
├---✔ preprocess-data      preprocess-data      lstm-tutorial-2q6k2-74829639    16s
├---✔ build-model          build-model          lstm-tutorial-2q6k2-2461174869  17s
├---✔ train-model          train-model          lstm-tutorial-2q6k2-2953672962  1m
└---✔ predict-using-model  predict-using-model  lstm-tutorial-2q6k2-3668448075  17s```


Remove our custom hyperscript

When (if) this snabbdom issue https://github.com/snabbdom/snabbdom/issues/226 is resolved, we can remove our custom hyperscript from Cycle DOM.

Done


confusing variable name fix

It's pretty confusing to use the same variable name that function parameter (especially you have different highlight for parameter variables in your IDE).
This PR makes write-function more readable.

I understand why you are stating that, however, you are actually now creating a copy that will yield another variable that needs to be cleaned up by the garbage collector.  However, I actually find this less readable but it is subjective to whomever might be viewing it.  Leveraging the same variable name is often a practice of conserving memory.  Imagine my session data contained very large data (it's not common but I see it happen in practice).  Overall, I do not believe that this is a useful change at this point in time.


feat: allow limiting the number of binders in delabConstWithSignature

Read this section before submitting

Ensure your PR follows the External Contribution Guidelines.
Please make sure the PR has excellent documentation and tests. If we label it missing documentation or missing tests then it needs fixing!
Include the link to your RFC or bug issue in the description.
If the issue does not already have approval from a developer, submit the PR as draft.
The PR title/description will become the commit message. Keep it up-to-date as the PR evolves.
For feat/fix PRs, the first paragraph starting with "This PR" must be present and will become a
changelog entry unless the PR is labeled with no-changelog. If the PR does not have this label,
it must instead be categorized with one of the changelog-* labels (which will be done by a
reviewer for external PRs).
A toolchain of the form leanprover/lean4-pr-releases:pr-release-NNNN for Linux and M-series Macs will be generated upon build. To generate binaries for Windows and Intel-based Macs as well, write a comment containing release-ci on its own line.
If you rebase your PR onto nightly-with-mathlib then CI will test Mathlib against your PR.
You can manage the awaiting-review, awaiting-author, and WIP labels yourself, by writing a comment containing one of these labels on its own line.
Remove this section, up to and including the --- before submitting.

This PR allows restricting the number of binders to place before the colon when using delabConstWithSignature.
This allows extract_goal in mathlib to (somewhat) respect the currently-reverted variables.

Indeed, I have an alternate patch which does just that :).


logging

can you please turn off logging or make it optional and default to false?

Im using version 0.10.2

I removed it with https://github.com/ng2-ui/ng2-auto-complete/commit/cd777b2f6f135b71a53d3e4510d332ca2433e4ec oh well


enable right click on history items

Overview
Implements #1176
Demo
Optional. Screenshots, curl examples, etc.
Notes
Optional. Ancillary topics, caveats, alternative strategies that didn't work out, anything else.
Testing Instructions
Right-click on any history item.
A context menu will appear. Click on the menu options to perform an action on the history item

https://github.com/microsoftgraph/microsoft-graph-explorer-v4/issues/1176#issuecomment-968956470


LRN operator doesn't comply with ONNX specification

ONNX accepts any channel window size for LRN and specifies that the window should extend more in the positive channel direction in case of even size: https://github.com/onnx/onnx/blob/master/docs/Operators.md#LRN
MXNet just throws an error when the size is even:
Check failed: param_.nsize % 2 == 1U (0 vs. 1) LRN only supports odd values for local_size

@sbodenstein

@haojin2 @anirudhacharya

@matteosal LRN indeed does accept only odd values for the window size, the LRN operator introduced in this paper also prescribes the same. If the window size is even, then the local region over which normalization is performed will not be symmetric over the given element and will lead to erroneous results.
If you look at the ONNX's test and example code, only odd number window sizes are being tested for - https://github.com/onnx/onnx/blob/master/docs/Operators.md#examples-31 It is a bug on the ONNX specification side that even valued window size is not being raised as an error. I will take it up with the ONNX community, and fix it.

Why do you say that an even-sized window would lead to erroneous results? There is no fundamental reason why the window should be odd-sized. Setting an even-sized windows just gives a different, perfectly well defined operation.
MXNet doesn't comply with ONNX because it exposes a subset of the ONNX specification here. But of course limiting the ONNX prescription as you mention would be an alternative solution to extending the MXNet behaviour.

@matteosal thanks for submitting this issue
@sandeep-krishnamurthy could you add label "Operator", "ONNX" to this?

@spidyDev  @Roshrini - Any suggestions?

Couple of things to consider:

Does any of the other frameworks (TF, Pytorch, Caffe2, CNTK) supports even window size, if yes, then probably we should add  a "feature request" on MXNet
Are there multiple/enough use cases that uses  "even window size" to support this helps while training.

As for now, we should continue not supporting this if we do not have a valid use case for this operation.

Pytorch has it, although with the opposite behavior to what ONNX prescribes, i.e. the window extends in the negative channel direction:
>>> import torch
>>> lrn2 = torch.nn.LocalResponseNorm(2, alpha=1, beta=1, k=0)
>>> lrn4 = torch.nn.LocalResponseNorm(4, alpha=1, beta=1, k=0)
>>> input = torch.ones(1, 6, 1, 1)
>>> lrn2(input)
tensor([[[[ 2.]],

         [[ 1.]],

         [[ 1.]],

         [[ 1.]],

         [[ 1.]],

         [[ 1.]]]])
>>> lrn4(input)
tensor([[[[ 2.0000]],

         [[ 1.3333]],

         [[ 1.0000]],

         [[ 1.0000]],

         [[ 1.0000]],

         [[ 1.3333]]]])

For what is worth, this face recognition system (Lua Torch) uses it: https://github.com/cmusatyalab/openface
Project page: http://cmusatyalab.github.io/openface/

@matteosal thanks for bringing this to the community's notice. @sandeep-krishnamurthy please also tag this "Feature Request".

@mxnet-label-bot [Feature request]

@sandeep-krishnamurthy  Please change the label to [Feature request, Operator]


Remove Tools menu in _TimeViewer

This PR removes the Tools menu in the _TimeViewer interface as suggested in https://github.com/mne-tools/mne-python/pull/7247#issuecomment-589599734
The removed menu presented options for default picking in PyVista which are not compatible with https://github.com/mne-tools/mne-python/pull/7247 and can be misleading (https://github.com/mne-tools/mne-python/pull/7247#issuecomment-588279423 and https://github.com/mne-tools/mne-python/pull/7247#issuecomment-587833079)
It's an item of #7162

What do you think @agramfort, @larsoner ?

thx @GuillaumeFavelier


BaseException: ('Redeem script required for', 'p2sh', 'xxxxxxx')

I am getting this error when I want to import private key. Then it freeze.
Any help?
Thanks.

is it 2fa?


Add support for fl_open_callback

Closes #137.
Successfully tested (in conjunction with #144) in an app. Also confirmed that the function exists (as a no-op) on Linux.
One thing I wasn't sure of - does the binding have a way for the Haskell callbacks to be cleaned up when they are no longer used?

Overrideable widgets now have a hook that allows you to clean up function pointers. By default it cleans up callbacks but you can override it with whatever you need but you need to call the default callback clean up at some point in your override otherwise they won't be freed.

I'll merge this but I don't see a way for you to recover the address of the OpenCallback function pointer once it is set. There's probably some way to get that from the FLTK API and I'll look at it (at some point this weekend hopefully) if you don't get to it.


Deployment type icons missaligned

think this is a generic component, need to understand what broke it such that fix for this doesn't break that place

On master-head commit id: f33188d


SWC plugin

Next.js 11.1 (August 11th 2021 ) feature:
Rust-based Tooling: SWC integration to replace JS tooling (Babel and Terser).
What about new plugin?

I’m here for it. Sounds necessary for me

Yeah, I believe we should invest into it!
I've been following SWC since the beginning and I'm glad that they finally got plugins system delivered and documented at  least something. However, even in the doc they warn us:

Therefore, we are concidering two approaches for the next SWC major version:

Creating a plugin system in Rust (#2337)
Solve the bottleneck to keep a JS plugin system (#2175)

So I'm not sure what direction to take. If you are leaning towards any of those approaches, I'd be happy to know why and happy to discuss next steps.


In: Create basic UI components page

explain idea in a sentence

Create component pages based on previous issue discussing UI changes. Added from iPhone, can't find the specific number.

must complete

[ ] Create @/pages/admin/components

It's #8

It's #8


It doesn't work with Jquery 1.4

Hi,
I have followed all your instructions and it says on your site that the colorbox is jquery compatible with version 1.4 but it doesn't seem to be.  Can you clarify?  when I use it all it does is open the image/files/webpages into a new window.
Thanks,
Nolan

Are you using jQuery 1.4.4?  I'm only interested in supporting the last point release, it's not really feasible or reasonable to support versions with known issues.

I am not sure.  my file says 1.4.min
  From: Jack Moore<EMAIL_ADDRESS>
To: jackmoore/colorbox<EMAIL_ADDRESS>Cc: vascious<EMAIL_ADDRESS>Sent: Wednesday, February 24, 2016 12:57 PM
Subject: Re: [colorbox] It doesn't work with Jquery 1.4 (#774)
Are you using jQuery 1.4.4? I'm only interested in supporting the last point release, it's not really feasible or reasonable to support versions with known issues.—
Reply to this email directly or view it on GitHub.


🐛 [Bazarr] Missing default login information

Which addon?

Addon name : Bazarr
Addon version : 1.1.1-bugfix

Describe the bug
I just installed the addon and the default user/password is missing from the startup log.
To Reproduce

install the addon
start the addon

Full addon log
[custom-init] No custom services found, skipping...
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service 00-legacy: starting
s6-rc: info: service 00-legacy successfully started
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/00-aaa_dockerfile_backup.sh
cont-init: info: /etc/cont-init.d/00-aaa_dockerfile_backup.sh exited 0
cont-init: info: running /etc/cont-init.d/00-banner.sh
Add-on: Bazarr NAS
Companion application to Sonarr and Radarr to download subtitles
Add-on version: 1.1.1-bugfix
You are running the latest version of this add-on.
System: Debian GNU/Linux 11 (bullseye)  (amd64 / qemux86-64)
Home Assistant Core: 2022.9.4
Home Assistant Supervisor: 2022.08.6
Please, share the above information when looking for help
or support in, e.g., GitHub, forums
https://github.com/alexbelgium/hassio-addons
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0
cont-init: info: running /etc/cont-init.d/01-envfile
cont-init: info: /etc/cont-init.d/01-envfile exited 0
cont-init: info: running /etc/cont-init.d/10-adduser
      _         ()
     | |  ___   _    __
     | | / __| | |  /  \
     | | \__ \ | | | () |
     |_| |___/ |_|  \__/

Brought to you by linuxserver.io
To support the app dev(s) visit:
Bazarr: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XHHRWXT9YB7WE&source=url
To support LSIO projects visit:
https://www.linuxserver.io/donate/
GID/UID
User uid:    0
User gid:    0
cont-init: info: /etc/cont-init.d/10-adduser exited 0
cont-init: info: running /etc/cont-init.d/20-folders.sh
cont-init: info: /etc/cont-init.d/20-folders.sh exited 0
cont-init: info: running /etc/cont-init.d/30-config
cont-init: info: /etc/cont-init.d/30-config exited 0
cont-init: info: running /etc/cont-init.d/92-local_mounts.sh
cont-init: info: /etc/cont-init.d/92-local_mounts.sh exited 0
cont-init: info: running /etc/cont-init.d/92-smb_mounts.sh
cont-init: info: /etc/cont-init.d/92-smb_mounts.sh exited 0
cont-init: info: running /etc/cont-init.d/99-custom-files
[custom-init] No custom files found, skipping...
cont-init: info: /etc/cont-init.d/99-custom-files exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-mods: starting
s6-rc: info: service init-mods successfully started
s6-rc: info: service init-mods-package-install: starting
s6-rc: info: service init-mods-package-install successfully started
s6-rc: info: service init-mods-end: starting
s6-rc: info: service init-mods-end successfully started
s6-rc: info: service init-services: starting
s6-rc: info: service init-services successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun bazarr (no readiness notification)
s6-rc: info: service legacy-services successfully started
s6-rc: info: service 99-ci-service-check: starting
[ls.io-init] done.
s6-rc: info: service 99-ci-service-check successfully started
2022-09-18 10:27:25,365 - root                             (7fd744d7cb38) :  INFO (signalr_client:48) - BAZARR trying to connect to Sonarr SignalR feed...
2022-09-18 10:27:25,365 - root                             (7fd753750b48) :  INFO (server:41) - BAZARR is started and waiting for request on http://<IP_ADDRESS>:6767
2022-09-18 10:27:25,431 - root                             (7fd744d7cb38) :  INFO (signalr_client:64) - BAZARR SignalR client for Sonarr is connected and waiting for events.
Full addon config
PGID: 0
PUID: 0
System

Supervisor version: supervisor-2022.08.6
Host system version: Debian GNU/Linux 11 (bullseye), core-2022.9.4,

Hi, I just reinstalled it and actually it goes right to the we page without asking for a password. Or did you set one yourself from within the app?

Hello! No, the login window opened for me. I reinstalled again, but it is the same. If I try random user/pass I get an error 400 message. It's strange sonarr, radarr and prowlarr from you worked out of the box.

I dig deeper, and find that I installed bazarr a long ago and completely forgot about it, and there was the old config file. Sorry for wasting your time, I closing this issue.

Glad it worked! The readme was incorrect I've changed it. One day I might improve the readme documentation but it just takes too much time :) have a nice day, enjoy the addons


Cleaner ChessJS move functions for ~10x speed increase

The functions game.ugly_move and game.undo are key performance bottlenecks for the existing minimax algorithm as they are called multiple times at each node in the decision tree.
This PR adds two new functions simple_move and simple_undo to ChessJS which result in a much faster computation time than the previous ugly_move/undo methods. The resulting computation is about 8-12x faster on my machine.
Before:

After:

For future work, it may be better to avoid mutating the game object in minimax in favor of passing a defensive copy to the recursive minimax call.

Hi!
It's nice to see that the project attracts people to make improvements to it.
I'm however not inclined to make performance improvements, especially if it means modifications to the "static" chess.js library.
Also, the lib/js/chess.js file can not be removed since it is referenced in jsfiddles via rawgit.com and removing the file would break the jsfiddles introduced in the blogpost: https://medium.freecodecamp.com/simple-chess-ai-step-by-step-1d55a9266977

@lhartikk Makes sense
I'm wondering if you're interested in expanding the existing tutorial to include more advanced topics such as Zobrist hashing, transposition tables, and move ordering? If so, I've added a working implemntation of those features to my own fork (largely motivated by my own curiosity and interest in the subject). You can find the changes here: https://github.com/lhartikk/simple-chess-ai/compare/master...Aerlinger:transposition_table_support?expand=1


Remove Author from Article page

I feel it is not a standard field to have on an article.
The author is default the user who wrote the article so the possibility to add a separate author is more of a project specific task.

Fixed in https://github.com/Frojd/Wagtail-Boilerplate/commit/9c0fe76c244383575b2a2791777ac94fa5a662a1


Support passing an alternate host:port for ACME verification

I would like to host non-HTTP TLS services on port 443 (specifically, OpenVPN, to get around silly firewalls). I've seen a past bug for this closed because Caddy wants to focus on HTTP, which is fair.
My alternative is to use a TLS SNI proxy, which inspects the requested hostname in the TLS handshake, and routes either to Caddy listening on localhost:1234, or to my other TLS-requiring services. The proxy itself doesn't terminate TLS, it just proxies bytes after picking the right backend, so this is mostly invisible to Caddy.
However, this currently breaks automatic TLS cert issuance, because Caddy uses the bind address when configuring the ACME client, and localhost doesn't work well over the internet. So, to make my setup work, I would need a way to tell Caddy use some other address for ACME issuance, and trust me to plumb things together.
Is this something you'd be open to adding as an option to the tls directive? Alternatively, if Caddy's stance has changed on doing TLS proxying in addition to HTTP handling... I'd be happy to discuss how to contribute that :).

I realize this wasn't made clear in my original report, but: I'm offering to contribute patches to make stuff happen, I'm mostly looking for design guidance as to what you think is best for Caddy.

I think this could be done. A command-line option for the ACME challenge address, perhaps? One for the HTTP challenge, another for the TLS-SNI challenge?

I would like this feature as well.  Reasons are similar but not exactly the same.
I'm trying to run Caddy on openbsd.  To my knowledge there is no equivalent of setcap cap_net_bind_service=+ep /usr/local/bin/caddy to allow my caddy user to open ports 80 or 443.
It's relatively easy to have Caddy listen on, say 8080 and 8443, then forward tcp traffic on 80 and 443 to those ports.
I don't know anything about how ACME works under the covers.  But I wonder if Caddy receives an HTTPS request on port 8443, and has been configured for automatic TLS, could it simply assume that requests to 80 and 443 will reach it (Caddy) and that it will be able to complete the ACME protocol on whatever ports it happens to be listening on.  I'm wondering whether it even needs a new command line option.

@danderson @dncohen Is specifying the port via command line flag sufficient, or do you need to be able to specify the whole address?

For my case, just the ports is fine.  I want some way to say to Caddy, "you're not bound to 443 but don't worry, traffic to 443 will make its way to you."
If you want me to test a patch, I'm happy to do that.

@dncohen

I want some way to say to Caddy, "you're not bound to 443 but don't worry, traffic to 443 will make its way to you."

Great way to put it. This makes a lot of sense!

If you want me to test a patch, I'm happy to do that.

Coming soon! Please test it thoroughly -- very, very thoroughly. Ha.

@dncohen Patch submitted! Let me know what you think.

I ran into issues using the https-port and http-port flags.
So 80 is forwarded to 8080 and 443 is redirected to 8433.
Both port flags reflect this and use 8080/8443.
Now when a request comes in for something like a proxy it works:
    page.example.com {
        proxy / http://example.local {
        transparent
        header_downstream -Server ""
      }
    }

Using the redirect directive it adds the port to the redirection:
    kubernetes.opensourcesoftware.rocks {
      redir https://kubernetes.io{uri}
    }

-> kubernetes.opensourcesoftware.rocks:8443, which as expected fails as publicly no 8443 is served.
Is this expected behavior? Might be good to clarify this in the docs, if it is.

@stp-ip I can't repeat this locally -- maybe I'm misreading your comment. Can you open an issue and answer all the questions so I can see the same thing? Then I can get an answer for you.


Extend collection exercise end date for integration tests

Motivation and Context
RH currently uses the ref_period_end to check whether a collection exercise is "closed". With the introduction of the feature in https://github.com/ONSdigital/respondent-home-ui/pull/69 the only collection exercise is considered closed and the tests are unable to progress.
What has changed

Extended the ref_period_end to 2020.

Actually, I'll just modify our local RH test data and use that as the README suggests 👍


Having issues with uploading a ZIP file

Hey, I'm trying to upload a zip file, which is generated by the archiver library. Basically, I append a bunch of PDF files to the zip, and then I pass the entire zip into this function:
async uploadZip(zip: Archiver) {
    const uploadStream = new stream.PassThrough();

    zip.on("error", function (err) {
      console.log("There was an error in zip");
    });

    zip.on("progress", function (pro) {
      console.log("Zip is making progress");

      if (pro.entries.processed === pro.entries.total) {
        console.log("Zip Should be done");
      }
    });

    zip.on("finish", async () => {
      console.log("Zip Is finished");
      console.log("zip size in finish" + zip.pointer());
    });

    zip.pipe(uploadStream);
    await zip.finalize();

    // Create a share
    const shareName = this.folderName;
    const shareClient = this.serviceClient.getShareClient(shareName);
    await shareClient.createIfNotExists();
    console.log(`Create share ${shareName} successfully`);

    // Create a directory
    const directoryName = `newdirectory${new Date().getTime()}`;
    const directoryClient = shareClient.getDirectoryClient(directoryName);
    await directoryClient.create();
    console.log(`Create directory ${directoryName} successfully`);

     // Create a file
    const fileName = "newfile" + new Date().getTime() + ".zip";
    const fileClient = directoryClient.getFileClient(fileName);

    console.log("size before upload ", zip.pointer());

    // Upload file stream
    await fileClient.uploadStream(
      uploadStream,
      zip.pointer(),
      zip.pointer(),
      1,
    );

    console.log(`Uploaded successfully`);
  }

The problem is that the size of the zip before uploading is: size before upload  1111737, while in the on finish callback, the size of the zip is 1303623. So I'm doing something wrong, but I am not sure what. When I put the entire code  for uploading inside the on finish callback, that creates issues because all of this code is being by run a Agenda job manager. So if the method returns before upload finishes, the agenda will mark the job as done even though it is not....
Another problem is that I don't really understand the bufferSize and maxBuffers params in uploadStream.. It says that the max bufferSize is allowed to be 4MB but I'm not really sure what should I pass into that param? Should I just set it to 4MB constantly? The test zip in this example is 1.3mb, but in the future they will be much larger, 20-30-50mb zips. Anyone able to help out with this? Thanks...

I was trying to overcomplicate things. Blob storage works just fine without the extra params.


Actually clear buffer in TestBackend::clear

The TestBackend::clear function didn't actually do anything before.  This feature changes it to clear the buffer.
I ran into this because I'm testing my full application (instead of just specific widgets), and switching between screens (which have terminal.clear() calls in between) was leaving junk on the screen.

Good catch. Thanks for looking into it 🙇♂ .


Extension Page: Content (Top Section)

Top Section
In this section , the onboarding needs to be changed. It incorrectly suggests that the browser is for accessing the internet.
Additionally, information about application access in redundant, and the onboarding should focus on using the extension, not introducing users to I2P.
Before:

Mock up with suggested changes: ( ignore colour!)

It incorrectly suggests that the browser is for accessing the internet.

It says no such thing. It says "Your browser is set up to use I2P" which is true, and that the "Proxy is ready" which is also true. Even if the proxy wasn't ready and I2P wasn't even installed, your browser would still be set up to use I2P. Setting up I2P and setting up a browser to use it are separate processes everywhere except the Easy-Install bundle for Windows. If you couldn't browser the clearnet directly in clearnet tabs the extension would be broken.
If you mean outproxy use, then there are 2 big problems with that, both related to the separation of the I2P Setup and the Browser Setup processes. I2PIPB cannot assume an outproxy is present at all because it has no insight into the user's configuration or intent:

The only way I could do this is by scraping the information out of the router console page. It would be brittle, it would not be cross-platform, and it would work with only specific versions of specific routers.
The second problem is that even if it could assume that, it would not be possible for the extension to know the user's intent when they open a clearnet website. It is intentionally not a whole-browser solution, it's a container-tab solution.

As far as I can tell, automatic configuration of browsing with an outproxy for clearnet sites is not only out of scope it's actually impossible. If that's the case, then I believe textual changes in 66f56b4375b8361b62d3898b3c596f34316be208 and 66f56b4375b8361b62d3898b3c596f34316be208 reflect a way to make the act of opening an I2P tab more obvious.
If it's a whole-browser solution we need then that's what https://github.com/eyedeekay/i2p.plugins.firefox does.

This is the section I am referencing:
It mentions the internet:

OK that makes a little more sense. I still don't know how to delineate it properly, though. It will do all those things, in I2P tabs, which is what it's for. So the verbiage needs to change to reflect that.

Probably saying something along the lines of "this extension works with your current outproxy configuration and will not interfere with its function. It will isolate these actions in its own container as it does I2P network traffic and when you use an I2P application"

How about "This extension works automatically when you are browsing I2P sites. If you want to use I2P as a proxy to clearnet sites, use the I2P In Private Browsing button in the toolbar and click New I2P Browser Tab to switch to I2P Browsing in a new tab."

If a person is not using the Windows easy installer, has not set up anything already to use the existing outproxy, is this instruction still true? Would opening the new I2P browser tab work in this way?

Yes, no matter what distribution of I2P they're using at this time they do have an outproxy, which is normally going to be exit.stormycloud.i2p. There is no extension-side configuration necessary to use an outproxy, other than switching to an I2P tab.


Please help me with installation

2 issues
    1 i need to figure out how to route traffic to the vm while using a vpn on the host machine

    2 I need to figure out how to store the vm and and its components in a premade and labeled partition in an external ssd drive. and be able to boot the vm from that location.

Configuration

UTM Version: Version 4.5.3 (99)
macOS Version: Sonoma 14.6.1
Mac Chip (Intel, M1, ...):  M2

Duplicate of #3634

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Duplicate of #3634

I need to know how to store and load my vm from a partition on an external ssd


Is this module safe with python 3.8?

At this commit added keylog support to python
https://github.com/python/cpython/commit/c7f7069e77c58e83b847c0bfe4d5aadf6add2e68
But i need to get master key, not log.

When using SSL versions that do use a master key (TLS <= 1.2) you can use get_master_key and pass it the socket.
The module also supports specifying your own callback function in set_keylog that is called whenever keying material such as a master key is created (On handshake).
This module is similar in that regard to the commit you linked and is an implementation of it for current Python versions that don't have this builtin. Though the bulit-in feature only supports a file. You might want to open an issue or ping Python's mailing list if you want to see the future builtin feature improved.


Support sparse vector in linear nearest neighbor

Similar to #192 , would it be feasible to use sprs vector when creating (batch argument) and doing k_nearest (point argument)? In scikit-learn, the NearestNeighbor class default to brute algorithm when the data is sparse.

From what I read here, the concept of sparsity used for the data is different from the way we use the term "sparse" to describe sparse matrices, as quoted here:

Sparsity refers to the degree to which the data fills the parameter space (this is to be distinguished from the concept as used in “sparse” matrices. The data matrix may have no zero entries, but the structure can still be “sparse” in this sense).

I'm not sure how exactly they define "sparse", but I don't think it has anything to do with sprs.

OK so I looked at scipy's source code and they do use the same definition of "sparse" as sprs. In fact they only allow brute force algorithm when the input is sparse. The docs were just confusing. Currently we don't support sparse matrices for NearestNeighbours, so we can definitely add support for that but only allow the brute force algorithm. If we want to use the existing NearestNeighbours traits we may need to make them more flexible, since they only work on Array.

Thank you for looking into that. I guess this is an edge case, and perhaps this should not be added to linfa-nn. It seems like scikit-learn is using a pairwise_distance implementation in that case (see https://github.com/scikit-learn/scikit-learn/blob/7e1e6d09bcc2eaeba98f7e737aac2ac782f0e5f1/sklearn/neighbors/_base.py#L739-L761).
Though this is useful for the problem I'm trying to solve, where I basically need a function that returns the smallest cosine distance between a sparse vector, and a list of sparse vector.

I'm not sure about adding cosine distance to linfa-nn because it might not be compatible with tree-based NN algorithms. In the case of sparse matrices, it only works with brute force algorithms, so I agree that it doesn't really fit in linfa-nn. Easiest way would be to implement the brute force routine yourself, since the logic is really simple.

Alright, I'll implement the routine in my lib, and I would be happy to contribute it back if it can be useful to linfa.
Thanks again for the feedback and for developing rust-ml :)

For the record, here is what I got working for my logreduce index use case:
use fxhash::hash32;
use itertools::Itertools;
use sprs::*;

pub type F = f32;
pub type SparseVec = CsVecBase<Vec<usize>, Vec<F>, F>;
pub type FeaturesMatrix = CsMatBase<F, usize, Vec<usize>, Vec<usize>, Vec<F>>;
const SIZE: usize = 260000;

/// Create a normalized matrix
pub fn create_mat(vectors: &[SparseVec]) -> FeaturesMatrix {
    let mut mat = TriMat::new((vectors.len(), SIZE));
    for (row, vector) in vectors.iter().enumerate() {
        let l2_norm = vector.l2_norm();
        for (col, val) in vector.iter() {
            mat.add_triplet(row, col, *val / l2_norm);
        }
    }
    mat.to_csr()
}

/// Compute the smallest cosine distance between two normalized matrix. The rhs must be transposed.
pub fn search(baselines: &FeaturesMatrix, targets: &FeaturesMatrix) -> Vec<F> {
    let mut distances_mat = baselines * targets;
    distances_mat.transpose_mut();
    distances_mat
        .to_dense()
        .outer_iter()
        .map(|row| row.iter().fold(1.0, |acc: F, v| acc.min(1.0 - v)))
        .collect::<Vec<_>>()
}

/// Word based hashing vectorizer
pub fn vectorize(line: &str) -> SparseVec {
    let (keys, values) = line
        .split(' ')
        .map(|word| {
            let hash = hash32(word);
            // alternate sign
            let sign = if hash >=<PHONE_NUMBER> { 1.0 } else { -1.0 };
            ((hash as usize) % SIZE, sign)
        })
        .sorted_by(|a, b| Ord::cmp(&a.0, &b.0))
        .dedup_by(|a, b| a.0 == b.0)
        .unzip();
    CsVec::new(SIZE, keys, values)
}


generated file is incomplete

I'm running npm2nix on my package.json and it finishes without errors, but I'm getting a file that looks like this :
{ self, fetchurl, fetchgit ? null, lib }:

{

I have node v0.12.2 and npm2nix 5.8.1 installed.

@AladdiX I saw this same behavior... It turned out it was a typo for me, I had Latest rather than latest. This at least fixed it for me. I'm brand new to the program, so I'm not sure that's going to help in your case... but it has to be worth a shot...

I have the same problem with the package.json from popcorntime.
This is with npm2nix 5.12.0 from nixpkgs.

Yes, thats probably because of the changes in npm format, which now supports something like github:owner/repo and similar ways to specifiy git/github repos. I will have to fix npm2nix soon, because we also depend on it. And yeah, everytime npm2nix fails, it generates only header, so there is some other error, besides the empty file.
Too bad i have to fix it every few months(but it's the only thing we have and code is a bit of mess, and yeah coffescript), we will have to figure out simpler and more solid solution for new npm2nix, any ideas?

Hmm, one problem I found was that  optjs has a version that is incompatible with the latest semver (3.2.1-boom, notice the -boom. 3.2.1-boom doesn't satisfy the * spec), sigh. The semver version used by the stable npm version works alright, the version used by npm2nix at the moment does not. Should I do a PR to downgrade semver to the right version (~4.2.0 vs ~4.3.0)?
The generated nix file is still not complete though, I'll investigate further.
I see how you'd have to fix things every few months. This really is quite annoying. If npm had some kind of library that handles most of what you're doing in npm2nix, that might be better. Though, from what I've found they don't.

Yeah, i think it should be save to downgrade semver if it fixes the
problem. We still need to find better solution for npm2nix. Is there any
nice way we could get dependencies after doing "npm install"?
On Sun, Jun 7, 2015 at 9:20 PM Bob van der Linden<EMAIL_ADDRESS>wrote:

Hmm, one problem I found was that optjs has a version that is
incompatible with the latest semver (3.2.1-boom, notice the -boom.
3.2.1-boom doesn't satisfy the * spec), sigh. The semver version used by
the stable npm version works alright, the version used by npm2nix at the
moment does not. Should I do a PR to downgrade semver to the right version (
~4.2.0 vs ~4.3.0)?
The generated nix file is still not complete though, I'll investigate
further.
I see how you'd have to fix things every few months. This really is quite
annoying. If npm had some kind of library that handles most of what you're
doing in npm2nix, that might be better. Though, from what I've found they
don't.
—
Reply to this email directly or view it on GitHub
https://github.com/NixOS/npm2nix/issues/21#issuecomment-109789782.

I've submitted #24, which solved the problem of a incomplete output for me. It should also give a better indication why the file isn't complete yet, because one of the packages is stuck fetching the necessairy data. With the PR it'll show which packages still seem to be fetching at that time.

@offlinehacker npm ls shows all installed dependencies in node_modules, each with their version number. This could be of use. Not sure if parsing npm ls is the right way or whether we could use npm's code to get the same information in a better format.

It might be sane to add a feature to "npm ls" to output json, this solves a
part of the problem, the other part is fetching dependencies, but this is
clearly more simple problem. I will check if there are any other issues
with taking this approach and write a tool.
On Sun, Jun 7, 2015 at 11:35 PM Bob van der Linden<EMAIL_ADDRESS>wrote:

@offlinehacker https://github.com/offlinehacker npm ls shows all
installed dependencies in node_modules, each with their version number.
This could be of use. Not sure if parsing npm ls is the right way or
whether we could use npm's code to get the same information in a better
format.
—
Reply to this email directly or view it on GitHub
https://github.com/NixOS/npm2nix/issues/21#issuecomment-109801752.

"npm ls" outputs all packages in a recursive tree. You do see the dependencies that way.
What is still missing is the hashes for the targz files. It would be nice if npm could download only the targz files, so that npm2nix can hash them. Not sure what a good approach would be for this though. Maybe those files are available in some cache?

And hashes for git repos i guess too...
On Sun, Jun 7, 2015 at 11:47 PM Bob van der Linden<EMAIL_ADDRESS>wrote:

"npm ls" outputs all packages in a recursive tree. You do see the
dependencies that way.
What is still missing is the hashes for the targz files. It would be nice
if npm could download only the targz files, so that npm2nix can hash them.
Not sure what a good approach would be for this though. Maybe those files
are available in some cache?
—
Reply to this email directly or view it on GitHub
https://github.com/NixOS/npm2nix/issues/21#issuecomment-109802330.

Oh right, I forgot about those. Since git repos as dependencies aren't the norm it doesn't matter much to retrieve them seperately.
As for targz files: here is the cache: ~/.npm/log-symbols/1.0.2/package.tgz

I've created #25 so that we can focus on reusing npm there. I hope this issue is solved with #24.

I'm really looking forward to #25, sounds like the right way to do things! In the mean time, is there a way to get the error from npm2nix so we know where to dig?

Any news? Node packages are rather unusable without npm2nix. The latest nixos unstable as of 1357692 still has this issue.

We have to make a new implementation, current one is broken by design and
by code. I will not have time before next weekend, but i need this too, so
i will make an attempt then if noone else will do it before.
On Thu, Aug 20, 2015 at 9:31 PM lethalman<EMAIL_ADDRESS>wrote:

Any news? Node packages are rather unusable without npm2nix. The latest
nixos unstable as of 1357692 still has this issue.
—
Reply to this email directly or view it on GitHub
https://github.com/NixOS/npm2nix/issues/21#issuecomment-133142349.

@offlinehacker What about the shrinkwrap idea? Is that a viable solution or is it something to avoid?


[zh] sync pull-image-private-registry.md and kops.md

Sync 2 files with en:
content/zh-cn/docs/setup/production-environment/tools/kops.md
content/zh-cn/docs/tasks/configure-pod-container/pull-image-private-registry.md

Also replaced 凭证 with 凭据 by following glossary.
See preview kops and preview pull-image-private-registry please.

/lgtm


P2P chat demo

This is a new demo that implements a chat application as a sidebar. It uses UDP and Multicasting.
⚠  It can't be merged until #30 is in because it was forked from that, sorry, my mistake.

@soapdog I have landed #42 to resolve the namespace conflicts you've reported and provided a fix for in #30 (I've changed it to make sure it was not breaking type checker & I also added a test to ensure such errors are caught). Could you please update this pull on top of current master, or please let me know if you'd rather delegate that to me. I think updating should be fairly easy something along these lines (have not tested it though):
git checkout p2p-chat-demo
git fetch upstream # assumes this is mapped to upstream
git reset upstream/master
git add demo/p2p-chat
git add Readme.md
git commit -m 'add p2p chat demo'
git checkout -f

You also would need to manually add script to package.json
"demo:p2p-chat": "cross-env MOZ_DISABLE_CONTENT_SANDBOX=1 web-ext run --firefox=nightly --browser-console --url about:debugging --source-dir demo/p2p-chat"

@gozala I think this is OK now.

@gozala I think this is OK now.


Support OS versions below iOS 13, macOS 10.15 etc.

Since this repo is now a dependency of TCA, and I have been updating RAS-TCA to match, it forces me to remove support for older Apple OSs for RAS-TCA as well 😢
I tried various different approaches to try and make IdentifiedCollections support the older OSes without success.
If you have any ideas on how that might work I'd be interested 😄
In the meantime, I might have to keep the "old" IdentifiedArray in RAS-TCA until a better solution can be found.

This is unfortunately due to how Swift Collections is distributed 😕. It's Package.swift file is locked to swift-package-tools: 5.3, which means older versions of SPM don't see it. I wonder if Apple would be open to relaxing their constraint and adding<EMAIL_ADDRESS>etc., files, in order to support older versions, and then we could totally support these versions. Would you be up for filing an issue with them and share it here?
In the meantime, because you're maintaining RAS-TCA, and the dependency is at the level of TCA and not another downstream dependency, I think you could continue to ship the old IdentifiedArray directly inside the library. I know this isn't ideal, but it'd at least unblock you for now.

Its Package.swift file is locked to swift-package-tools: 5.3, which means older versions of SPM don't see it

That's actually not the problem. It's that Identifiable requires iOS 13+ / macOS 10.15+. Even if I add @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *) everywhere that Identifiable is used in the repo, it doesn't help with 2 particular situations:

and

The Codable and ExpressableByStringLiteral protocols require that the initialisers support iOS 11, which conflicts with the @available restriction. For all the other places where Identifiable is used, just adding the @available annotation works fine.

@mluisbrown Is it possible to define an internal Identifiable protocol for #if swift(<5.3)?

@stephencelis it is possible to define our own Identifiable protocol, but it would need to be for iOS < 13 (etc). The problem isn't really the Swift language version so much as the OS version.
You can be using Swift 5.3 and still want to have a minimum deployment target of iOS 12, but you won't get Identifiable and a few other things. It's not possible to use compile time guards for OS version because the OS version is only known at runtime.

I think you could continue to ship the old IdentifiedArray directly inside the library. I know this isn't ideal, but it'd at least unblock you for now.

I'm going with this workaround for now, and so far it seems to be ok.

@mluisbrown Can you try using this branch? https://github.com/pointfreeco/swift-identified-collections/compare/relax-platform-requirements
Locally things seem to pass for me when targeting iOS 11.

Locally things seem to pass for me when targeting iOS 11.

I get the same errors as before with the conformances for Decodable and ExpressableByArrayLiteral. I targeted a simulator with iOS 11.4:

I am using Xcode 12.5.1 for which AFAIK #if compiler(>=5.3) will always be true.
This change would probably work for using an older version of Xcode that only used Swift 5.2 but that wouldn't be all that useful.

Strangely enough it works on the Xcode 13 beta on an iOS 11 sim, which should definitely pass that compiler directive...I'll have to try 12 soon.

Strangely enough it works on the Xcode 13 beta on an iOS 11 sim

Wow 😮 I guess it's possible that Swift 5.5 fixed the issue that checks the minimum OS availability for a protocol like Decodable if it's already been excluded by a previous @available directive. Because that does seem like kind of a bug to me.

Swift Collections only builds with a recent compiler toolchain, and we expect to keep bumping the required compiler/SwiftPM version (i.e., swift-tools-version) to the ~latest Swift release. (Not out of spite, but because sticking with older compilers would mean sticking with old compiler bugs, some of which would be tricky/impossible to work around.)
However, Swift Collections does not specify a minimum deployment target -- it runs on every OS release that can run Swift. I think this package should do the same!
The compiler version check in the screenshot above seems wrong -- support for availability for protocol conformances did not land until after 5.3 was released, and I think it only matured enough to compile this code in Swift 5.5.

@mluisbrown With a compiler check of Swift 5.5 does everything work for you? If so, we'd be happy to take a PR to address this! We realize it's not a fix that can be used in production quite yet, but when Xcode 13 is released you should be able to fully switch off the old, vendored version :)

Hi @stephencelis, it's strange. With Xcode beta 5 both the compiler check for Swift 5.3 and Swift 5.5 allow the code to build for an iOS 11 sim. However, when I run tests on an this sim (iPhone X, iOS 11.4) they crash:

The crash in swift_getWitnessTable seems to indicate that it is the protocol conformances to ExpressibleByArrayLiteral which is causing the issue.
Interestingly in Xcode 12.5.1, if I set the compile check to 5.5 (instead of 5.3 which I tried above without success), the library code compiles OK, but the test code does not:

That makes sense, since Xcode 12.5.1 is Swift 5.4, so the protocol conformance to ExpressibleByArrayLiteral is simply not being compiled.
With Xcode 13 beta 5 if I change the first test to not use an array literal then this test passes:
  func testIds() {
    let array: IdentifiedArray<Int, Int> = .init(uniqueElements: [1, 2, 3], id: \.id)
    XCTAssertEqual(array.ids, [1, 2, 3])
  }

So in summary: with Xcode 13 and a Swift 5.5 compiler check, the library compiles and can be used in with iOS 11 (and presumably the respective versions of the other OSes), but you it seems like a Swift and/or Xcode bug that it allows code that depends on the Swift 5.5 only protocol conformances compile without error and cause a runtime crash instead.

Going to move this to a discussion. We'd gladly take a PR for this but we've tried to move our repos to using issues exclusively for bug tracking, and this is more of a feature request.


DRMM Model

Hello,
There is confusion in running the model, I am trying to use DRMM model.
In the Tutorial folder, there is an implementation of DRMM model and in the model folder also there is a DRMM.py.
Is DRMM.ipynthe same as of DRMM.py?
How to run DRMM.py form models folder?

In the Tutorial folder, there is an implementation of DRMM

Where is this "implementation" you are talking about?


Technology section rewording and rephrasing feedback

The model has received the following feedback as part of issue https://github.com/cncf/cartografos/issues/48:

On Level 4, Helm is discussed as guidance vs. recommendation, "You’ll be expecting most of your software to be packaged with Helm with the feedback loop being closed as quickly as possible to reduce configuration drift."

TODO: Re-word to be a recommendation vs. direct guidance to use helm (i.e. Kustomize and other tools could do the job). I think this is well done in the earlier sections, "you may be starting to write Helm Charts..." sounds a lot better than "you're using Helm by now."

Kustomize is discussed at lower levels of maturity and then isn't mentioned again when some folks are leveraging it at scale.

TODO: I think generalizing the customization tooling in early stages or group all customization tooling together and mention the group throughout (maybe a glossary term?). Alternately, replace all tooling-by-name with a generic "automated configuration and deployment tooling" blurb.

This isn't a Kustomize vs. Helm problem, it's a perception of the right tool for the right job potentially being ignored. There's other generators too that are popular.

It makes sense to have the certificates from a sales point of view, but those could potentially be summarized at the beginning or end vs. sprinkled along the model.

The group agreed in the community meeting of 24 January 2023 that the the model be reworded/rephrased in line with these recommendations.

Issue update document: https://docs.google.com/document/d/1T1uFrQCwS82E9OA8CqtfdBtAI5NknQyymhYCsOIO9Xk/edit?usp=sharing


Add an asprof argument to specify the path of libasyncProfier.so in the container

Describe the feature
Hi, in 2.9 and bellow, there is an argument --lib path in profiler.sh to specify the path of libasyncProfier.so in the container.
But 3.0 and above, this argument is missing. I think this argument is necessary.
Use Case
asprof -e cpu --libpath /tmp/libasyncProfiler.so 1234

Proposed Solution
Add the argument back.
Acknowledgements

[X] I may be able to implement this feature request
[ ] This feature might incur a breaking change

The plan is to make asprof automatically provide libasyncProfier.so to the process inside a container - in this case, the option will be redundant.
However, given that there is no timeline for this feature, and since adding --libpath is straightforward, I don't mind if you add this option.


401 error only in Amplify deployment

** Which Category is your question related to? **
AppSync? Cognito? Amplify
** What AWS Services are you utilizing? **
AppSync,
Cognito,
Amplify CLI,
Amplify console,
DynamoDB
** Provide additional details e.g. code snippets **
Sorry, I'm sure this is something simple that I'm missing. Deployment to S3 and working locally I'm able to log in, query and mutate data but I get a 401 error on my Amplify Console deployment. I'm able to log in with email address and password no problem but the errors start as soon as I query for data.
Here is the repo for the project: https://github.com/ntrabue/amplify-todo
Please let me know if there is any more info I can provide.
Thank you!

@ntrabue are you creating a new backend environment or are you reusing it in the console?

Was able to reproduce the issue. Looks like there's an issue with the generation of the aws-exports.js file. We are investigating a fix. For now as a workaround, try building locally and uploading the artifacts manually: https://docs.aws.amazon.com/amplify/latest/userguide/manual-deploys.html

#122


Add : Signin page in Apple E-commerce website (GSSOC'23)

I would like to add a sign in or login page to the Apple E-commerce website.
It increases the user interaction with the website.
So, please approve the issue and assign this issue to me.

can u assign me this issue

Please assign me to this task has done this work previously

please assign me this isuue

please assign me this isuue

Thanks for assigning me.