feat(RHINENG-8850): add objects name to the modal

https://issues.redhat.com/browse/RHINENG-8850
You can test both versions of the table by changing objectsWithNames value from true to false.
New version of the table

Codecov Report
Attention: Patch coverage is 52.94118% with 8 lines in your changes missing coverage. Please review.

Project coverage is 7.77%. Comparing base (e1c6dc7) to head (bd82300).

Files
Patch %
Lines

src/Utilities/Workloads.js
64.28%
5 Missing :warning:

.../Components/ObjectsModalTable/ObjectsModalTable.js
0.00%
2 Missing :warning:

src/Components/ObjectsModal/ObjectsModal.js
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff            @@
##           master    #763      +/-   ##
=========================================
+ Coverage    7.69%   7.77%   +0.07%
=========================================
  Files          68      68
  Lines        3885    3897      +12
  Branches      837     844       +7
=========================================
+ Hits          299     303       +4
- Misses       3586    3594       +8

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

/retest

/retest

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


tweego -w fails with "panic: runtime error: index out of range [1] with length 1"

Problem:
(Low priority?)
When a watched file is renamed (changing the filename but preserving the filetype) in a watched directory while developing a story, tweego crashes with the error message
panic: runtime error: index out of range [1] with length 1

goroutine 10 [running]:
main.watchFilesystem.func1(0x1dcd6500, 0xc000004360, 0xc0000a4080)
        C:/devel/local/src/tweego/filesystem.go:139 +0x634
created by main.watchFilesystem
        C:/devel/local/src/tweego/filesystem.go:115 +0x105

I'm using tweego, version 2.1.0+9ea2fab (2019-12-23T21:17:51Z) [windows/amd64]
and SugarCube (v2.30.0)
under Windows 10 1909, invoked using this Cygwin bash script:
#! /usr/bin/sh -x
# automatically update published web page when source file is updated
# runs tweego and gets story-formats from /usr/local/bin

tweego -w $1 -o $1.html

where the argument $1 is the name of the directory being watched.
s.

Yep.  The API on the watcher module changed, for the better, without my noticing it.  Sorry about that.
It'll be fixed in the next release.


Update RobustToolbox (Pretend this is v0.2.9)

this handles the changes needed for XAML UI

i think this also needs changes to the solution

specifically, the following proj need to be added
ManagedHttpListener
System.Net.HttpListener
Robust.LoaderApi
XamlX
XamlX.IL.Cecil
XamlX.Runtime
OpenToolkit.GraphicsLibraryFramework
Robust.Client.Injectors
Robust.Client.NameGenerator

yeah... may I ask how to do that properly?

@20kdc do dotnet sln add Path/To/Csproj.csproj from the directory containing the main sln, for every project listed.


Add Tags for PowerDNS Protobuf json ouput

Hi,
I have been trying to get Tags from Protobuf but it seems it is not added to the json output. Is it possible to add tags?
I have tested with this dnsdist config:
newServer({address="<IP_ADDRESS>", pool="forward"})
cache = newPacketCache(10000)
getPool("forward"):setCache(cache)

addAction(AllRule(), SetTagAction("view", "view-1"))
addResponseAction(AllRule(), SetTagResponseAction("view", "view-1"))

remoteLogger = newRemoteLogger("<IP_ADDRESS>:6001", 1, 100, 1)

addAction(AllRule(), RemoteLogAction(remoteLogger))
addResponseAction(AllRule(), RemoteLogResponseAction(remoteLogger))

addAction(AllRule(), PoolAction("forward"))

and this collector config:
# If turned on, log some applications messages
trace:
  # debug informations
  verbose: true
  # log malformed packet
  log-malformed: false
  # filename is the file to write logs to.
  filename: ""
  # maximum size in megabytes of the log file it gets rotated
  max-size: 10
  # maximum number of old log files to retain
  max-backups: 10

collectors:
  powerdns:
    enable: true
    listen-ip: <IP_ADDRESS>
    listen-port: 6001

loggers:
  stdout:
    enable: true
    mode: json
    text-format: ""

and the collector output is:
{
  "network": {
    "family": "INET",
    "protocol": "UDP",
    "query-ip": "<IP_ADDRESS>",
    "query-port": "41722",
    "response-ip": "<IP_ADDRESS>",
    "response-port": "53",
    "as-number": "-",
    "as-owner": "-"
  },
  "dns": {
    "length": 54,
    "opcode": 0,
    "rcode": "-",
    "qname": "www.google.fr",
    "qname-public-suffix": "fr",
    "qname-effective-tld-plus-one": "google.fr",
    "qtype": "A",
    "flags": {
      "qr": false,
      "tc": false,
      "aa": false,
      "ra": false,
      "ad": false
    },
    "resource-records": {
      "an": [],
      "ns": [],
      "ar": []
    },
    "malformed-packet": 0
  },
  "edns": {
    "udp-size": 0,
    "rcode": 0,
    "version": 0,
    "dnssec-ok": 0,
    "options": []
  },
  "dnstap": {
    "operation": "DNSQueryType",
    "identity": "",
    "timestamp-rfc3339ns": "2022-04-08T14:04:26.000517095Z",
    "latency": "-"
  },
  "geo": {
    "city": "-",
    "continent": "-",
    "country-isocode": "-"
  }
}

{
  "network": {
    "family": "INET",
    "protocol": "UDP",
    "query-ip": "<IP_ADDRESS>",
    "query-port": "41722",
    "response-ip": "<IP_ADDRESS>",
    "response-port": "53",
    "as-number": "-",
    "as-owner": "-"
  },
  "dns": {
    "length": 58,
    "opcode": 0,
    "rcode": "NOERROR",
    "qname": "www.google.fr",
    "qname-public-suffix": "fr",
    "qname-effective-tld-plus-one": "google.fr",
    "qtype": "A",
    "flags": {
      "qr": false,
      "tc": false,
      "aa": false,
      "ra": false,
      "ad": false
    },
    "resource-records": {
      "an": [
        {
          "name": "www.google.fr.",
          "rdatatype": "A",
          "ttl": 283,
          "rdata": "<IP_ADDRESS>"
        }
      ],
      "ns": [],
      "ar": []
    },
    "malformed-packet": 0
  },
  "edns": {
    "udp-size": 0,
    "rcode": 0,
    "version": 0,
    "dnssec-ok": 0,
    "options": []
  },
  "dnstap": {
    "operation": "DNSResponseType",
    "identity": "",
    "timestamp-rfc3339ns": "2022-04-08T14:04:26.000541422Z",
    "latency": "0.026901"
  },
  "geo": {
    "city": "-",
    "continent": "-",
    "country-isocode": "-"
  }
}

Hi
Are you sure of your dnsdist configuration example ?
I made some tests but without success, the protobuf message does not contains any tags in my side.
Denis

After doing more tests i understood why there were no tags sent in the protobuf. In fact the protobuf tags and the query or response tags are not the same tags. When the protobuf message is sent, it does not automatically use the query or response tags, you have to specifically set the protobuf tags before sending it.
So now with this configuration, the tags are effectively sent:
function addProtobufTag(dq, protobuf)
  if dq == nil or dq == "" or dq.remoteaddr == nil or dq.qname == nil then
    return
  end
  local viewTag = dq:getTag("view")
  if viewTag ~= nil and viewTag ~= "" then
    protobuf:setTag(viewTag)
  end
end

newServer({address="<IP_ADDRESS>", pool="forward"})
cache = newPacketCache(10000)
getPool("forward"):setCache(cache)

addAction(AllRule(), SetTagAction("view", "view-1"))
addResponseAction(AllRule(), SetTagResponseAction("view", "view-1"))

remoteLogger = newRemoteLogger("<IP_ADDRESS>:6001", 1, 100, 1)

addAction(AllRule(), RemoteLogAction(remoteLogger, addProtobufTag))
addResponseAction(AllRule(), RemoteLogResponseAction(remoteLogger, addProtobufTag))

addAction(AllRule(), PoolAction("forward"))

I also made an attempt to add the tags to the output on this fork : https://github.com/cmoiccool/go-dns-collector
It kinda work, but as this is my first attempt to code in Go, it is probably not optimal.

Can you make a pull request  ? I will take a look.

new release v0.18.0 available :)


Prefer strings.Builder over unsafebytes

This pull request removes the use of unsafe and instead prefers strings.Builder. This causes a slight performance loss during encoding and none during decoding:
# Old: unsafe
# New: strings.Builder

name          old time/op    new time/op    delta
Encode-8         276ns ±18%     292ns ± 3%  +5.61%  (p=0.010 n=15+15)
EncodeTo-8      1.87µs ± 3%    1.85µs ± 7%    ~     (p=0.056 n=13+15)
Decode-8        3.16µs ± 2%    3.18µs ± 7%    ~     (p=0.784 n=13+14)
DecodeFrom-8    3.74µs ± 4%    3.73µs ± 2%    ~     (p=0.562 n=15+13)

name          old speed      new speed      delta
Encode-8      43.0MB/s ±12%  41.1MB/s ± 3%  -4.38%  (p=0.018 n=14+15)
EncodeTo-8     175MB/s ± 3%   177MB/s ± 6%    ~     (p=0.060 n=13+15)
Decode-8       103MB/s ± 2%   103MB/s ± 6%    ~     (p=0.756 n=13+14)
DecodeFrom-8  87.4MB/s ± 4%  87.7MB/s ± 2%    ~     (p=0.563 n=15+13)

What's the advantage of avoiding unsafe here? Is there potential UB?

No, it's just cleaner. There's just no unsafe.

I'm unsure, I think performance is an interesting goal, especially with such a small project. Code maintainability isn't a big issue as it would require a very odd implementation for the code to become unreadable or too spaghetti. The only required change I see in the future is #1, other than that, there shouldn't need to be any large changes to functionality or features, so I'm not sure how much of a positive difference this will have (compared to even a fairly small increase of performance).

The performance loss was likely because of the preoccupied load on my laptop. A higher sample size would make up for the offset.

Based on the GitHub Actions log (new, previous):
Previous
BenchmarkEncode-2       	 7240875	       167 ns/op	  71.80 MB/s
BenchmarkEncodeTo-2     	  805804	      1317 ns/op	 248.26 MB/s
BenchmarkDecode-2       	  509618	      2067 ns/op	 158.24 MB/s
BenchmarkDecodeFrom-2   	  427752	      2345 ns/op	 139.46 MB/s

New
BenchmarkEncode-2       	 6624477	       174 ns/op	  68.83 MB/s
BenchmarkEncodeTo-2     	  915034	      1251 ns/op	 261.34 MB/s
BenchmarkDecode-2       	  607250	      2019 ns/op	 161.98 MB/s
BenchmarkDecodeFrom-2   	  564886	      2089 ns/op	 156.51 MB/s

This looks like random variation so I agree, doesn't seem to be a real impact on performance

Thanks


Todoist, Obsidian, RSS Guard

I upgraded komorebi 0.1.31 a few days ago and switched from applications.yaml to the latest applications.json which seems to be missing a lot of rules I would need to add for Todoist, Obsidian (with tray plugin), RSS Guard and perhaps other apps.
I'm just wanting to know if it was expected that the update would have broken many apps that go 'to tray.'
I haven't tried reverting to see if that resolves issues.

I'm not Following this project closely enough to know whether the configuration is being adequately maintained but I can tell that the supposed new JSON file is missing an entry for todoist so reverting to the yaml does improve things
https://github.com/LGUG2Z/komorebi-application-specific-configuration/blob/master/applications.json
https://github.com/LGUG2Z/komorebi-application-specific-configuration/blob/master/applications.yaml

Please open a PR for any rules you find missing 🤞

I have 2 thoughts about that

It feels like that process needs to be automated. (The process of comparing these two files and finding missing rules if the files are being edited independently)

The latest update has really set me back and hasn't fixed the one bug I had been seeing so I don't know if there is an easy way to revert, but I would prefer to do that over all the work of trying to figure out what is causing the apps that minimize to the tray to be an annoyance now.

I uninstalled 1.31 and reinstalled 1.29 and that put me back in business much more quickly.

No new submissions are being accepted to the YAML file as the readme clarifies, and every non-empty rule was automatically migrated. I use two of the apps you mentioned, minimizing to tray without issue with the automatically migrated JSON file.
Hard to diagnose this further without legwork on your end, so I'm closing this issue as a wontdo.

For future readers, these are the empty rules in the YAML file which were previously ignored entirely by komorebi, and were subsequently ignored by the automated migration to the v2 format:
https://github.com/LGUG2Z/komorebi-application-specific-configuration/blob/a5d32fbe567575e77b53b9bf6511152f9e80572a/applications.yaml#L850
https://github.com/LGUG2Z/komorebi-application-specific-configuration/blob/a5d32fbe567575e77b53b9bf6511152f9e80572a/applications.yaml#L1577


Ramp duration does not get passed through in partitioner

When partitioning a problem with a ramp duration, ramp_duration does not get passed from the serial input file to the parallel input file.

Just re-ran this with a recompiled binary. It looks like everything works. Closing issue.


WIP: FR #84 Include containerd-specific labels to data coming from powercaprapl sensor

Hi !
I've tried to reproduce but the container does anwer me :/
you need to query localhost:8080/metrics by the way to get the metrics. The root endpoint will give you a warning message.
Regarding the hanging query, I'm not sure what it could be about. Could you try directly from the container, with docker exec ?

I think I identified the problem @pierreozoux runs into. The rs-docker crate we use for this feature uses tokio as an async runtime. The prometheus exporter itself uses actix. I guess some conflicts happen as I get tokio log messages when I reproduce the issue on Pierre's machine. I imagine I can't reproduce on mine because this is not deterministic and may rely on lower level configurations on the system (not sure but strongly suspected).
I think we should either get rid of tokio in rs-docker (rs-docker kind of needs a refresh anyway) or actix in the prometheus exporter. I've also thought about bollard (https://github.com/fussybeaver/bollard) which seems to have more contributors. But it uses tokio too. So maybe the solution is to get rid of actix (I was thinking about moving prometheus exporter in full sync + thread anyway).
Do you have any thoughts about that @rossf7 ?

Do you have any thoughts about that @rossf7 @PierreRust @uggla ?

@bpetit, my 2 cents,
I think that's not the sens of history. I mean all web frameworks struggled(actix, rocket seems to use async now, warp, etc... --> https://github.com/flosse/rust-web-framework-comparison) to move to async because it gives better performances. Despite we clearly don't need performances for Scaphandre web server, I'm afraid it will be difficult to find a web framework that will not use async and we might end up with something not well supported in the future.
Using our own sync http(s) web server is possible too, but that's probably not a good idea regarding security aspect.
Also we will see more and more tools/libraries that will use async for io. Sometimes it is needed, sometimes it is hype so not a good reason. But that's the underlying trend.
So I will bet more trying to bump up tokio to the latest versions and trying to have all tokio consumers to use that dependence (not mixing tokio versions). Then, try to see if it fixes the bug. But of course it is not so easy if it is flaky and can't be reproduced 100% of the time.

Hi @bpetit I agree with @uggla on this. I think replacing actix with the same version of tokio is a good approach.
I had the same issue when looking at the kubernetes integration. https://github.com/clux/kube-rs is the most popular library and uses tokio.
There is also https://github.com/ynqa/kubernetes-rust which isn't async but the last commit was 2 years ago. I tried to get that working but I wasn't able to. Although that is probably because I'm new to rust.

Hi ! Thanks for your views on this. I'll give a shot to tokio/hyper for the prometheus exporter. Let's see.

Seems to work, I'll run some more test and then jump back on the docker integration if it's satisfying.

Thanks a lot for the review ! I'm pretty busy in the next few days, but I should be able to integrate your suggestions and build a working version of prom on tokio with container labels (+docker extra labels) for next wednesday. 🤞

Prometheus exporter with tokio seems to work fine. However, I'm not confortable having a library with async as a requirement for gathering data from the docker socket locally. It's fine in a pull mode like prometheus, especially if we have a tokio runtime for the server itself, in the same version. But i don't think it's fine to require exporters like JSON, CLI, or any simple exporter to have an async runtime to be able to get extra informations for containers. rs-docker and bollard do require async. I'm forking rs-docker in a minimalistic, read-only and synchronous version. I guess it's enough for what we need here. We could then upgrade to something more fancy if needed afterwards.

@bpetit Thanks, I agree better to keep the dependencies lighter without async and use your fork of rs-docker. Especially since we only need to list containers.
If we need more data from the Docker API later there is always the option to use a client like bollard.

Ok, I just tested, it works ok, except that prom is complaining to scrape..
I get this error: "expected equal, got "INVALID""
I think this line doesn't make prom scrapper happy:
scaph_process_power_consumption_microwatts{pid="32077",cmdline="/usr/lib/erlang/erts-10.6.4/bin/beam.smp-Ww-A128-MBasageffcbf-MHasageffcbf-MBlmbcs512-MHlmbcs512-MMmcs30-P1048576-t5000000-stbtdb-zdbbl128000-Ktrue-S1:1-Bi---root/usr/lib/erlang-prognameerl---home/var/lib/rabbitmq---pa/usr/lib/rabbitmq/lib/rabbitmq_server-3.8.2/ebin-noshell-noinput-srabbitboot-snamerabbit@ba75b58cfda7-bootstart_sasl-kernelinet_default_connect_options[{nodelay,true}]-saslerrlog_typeerror-saslsasl_error_loggerfalse-rabbitlager_log_root\"/var/log/rabbitmq\"-rabbitlager_default_file\"/var/log/rabbitmq/rabbit@ba75b58cfda7.log\"-rabbitlager_upgrade_file\"/var/log/rabbitmq/rabbit@ba75b58cfda7_upgrade.log\"-rabbitfeature_flags_file\"/var/lib/rabbitmq/mnesia/rabbit@ba75b58cfda7-feature_flags\"-rabbitenabled_plugins_file\"/etc/rabbitmq/enabled_plugins\"-rabbitplugins_dir\"/usr/lib/rabbitmq/plugins:/usr/lib/rabbitmq/lib/rabbitmq_server-3.8.2/plugins\"-rabbitplugins_expand_dir\"/var/lib/rabbitmq/mnesia/rabbit@ba75b58cfda7-plugins-expand\"-os_monstart_cpu_supfalse-os_monstart_disksupfalse-os_monstart_memsupfalse-mnesiadir\"/var/lib/rabbitmq/mnesia/rabbit@ba75b58cfda7\"-radata_dir\"/var/lib/rabbitmq/mnesia/rabbit@ba75b58cfda7/quorum\"-kernelinet_dist_listen_min25672-kernelinet_dist_listen_max25672--",container_label_maintainer="Ascensio System SIA <support@onlyoffice.com>",container_label_com_docker_compose_project="ooptnkliiibre",container_label_com_docker_compose_container_number="1",container_label_com_docker_compose_project_working_dir="/data/domains/ooptn.k.liiib.re",exe="beam.smp",container_label_com_docker_compose_service="onlyoffice",container_docker_version="19.03.12",container_id="ba75b58cfda75087afd36c173a5020a5fcc25dd55759588a91d172263024418a",container_label_com_docker_compose_project_config_files="docker-compose.yml",container_label_com_docker_compose_config_hash="6cd01723065baa1da72760270276d0142e286934ca7df5b9290e8ddc8ef96ba9",container_label_com_docker_compose_version="1.27.2",container_names="ooptnkliiibre_onlyoffice_1",container_scheduler="docker",container_label_com_docker_compose_oneoff="False"} 16297

Maybe you want to escape most chars to make sure prom scrapper is happy? I'd remove \/" to begin with.

Thanks for the feedback @pierreozoux . I triggered a new build with a fix. I missed that one (seems like there are not much processes like rabbit to include " strings in the command line :/)

ok, we have a win I think :) I have the labels, and the values in prom \o/

Fixing a dirty bug, I ping you when the build is done @pierreozoux

I guess we need a flag or an env var to set the kubernetes api uri ?
I'll extend the regexp, thanks for the feedback !

I guess we need a flag or an env var to set the kubernetes api uri ?

The env vars KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT will be set for the container when it's running as a pod.
What about checking for those and if not have a flag that can be set manually?

Hi @rossf7 !
I've added the gathering of kubernetes env vars. If those vars are present, they are used first to determine the server uri.
I also made the regexp more flexible.
I'd like hear your thoughts and tests results :)

@bpetit Many thanks for the changes :) I'll retest and report back. Most likely will be tomorrow.


socket.error: [Errno 111] Connection refused paho-mqtt

Privetstvuyu, Evgheniy!
Have tho following issue:
I have an mqtt-broker (Eclipse-mosquitto) and mqtt-client (paho-mqtt) installed at the same box, which is Raspberry Pi 3 B+.
Current behavior:
The client paho-mqtt ends with socket.error no.111. if my broker is unreachable (just did not started yet prior to the client).
Expected behavior:
Client should make attempts to reconnect until the broker not become active/reachable.
I have seen the similar issue at #38 but did not understood the solution yet.
  File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 937, in connect
    return self.reconnect()
  File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 1071, in reconnect
    sock = self._create_socket_connection()
  File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 3522, in _create_socket_connection
    return socket.create_connection(addr, source_address=source, timeout=self._keepalive)
  File "/usr/lib/python2.7/socket.py", line 575, in create_connection
    raise err
socket.error: [Errno 111] Connection refused

I understand it looks natural that client should keep trying to reconnect to MQTT broker but usually, MQTT broker is run as a service and started by system, before user apps
Could you please describe why in your case MQTT broker could be started after the broadlink-mqtt?

mqtt-broker is run as a docker-container. It's official eclipse-mosquito docker container.
I am stopping and starting again container frequently now: for updates, issues tracking with other clients etc.
I want to understood the root of that error, as I think the re-connection by paho-mqtt should be done instead of the current behaviour when the client just stops in case broker is not reachable at the moment.


add spring security resource server sample

add spring security resource server sample
update README file

https://github.com/Azure/azure-sdk-for-java/issues/18065


updates from original

Coverage remained the same at 87.703% when pulling 9fde7c5fe50bfb37b0237dd7b2096881dc911430 on FranSal:master into 3c4f6e69f367c945106e61b074633bbce0c5055b on quantopian:master.


Desktop support?

Hi! Got any plans?
[ERROR:flutter/lib/ui/ui_dart_state.cc(184)] Unhandled Exception: MissingPluginException(No implementation found for method clientCreate on channel channel/to/tdli
b)

supported with extra steps


How To Prevent $variables In Restangular Post Request

Typescript:
interface IFoo {
    description: string;
    id: string;
    name: string;
}

interface Foo extends IFoo {
    $myId: string;
    $type: string;
}
Restangular Call:

public myFoo: Foo;
//after setting the value of this.myFoo
this.restangular.all("api/foo").post(this.myFoo);
Server Side (.net):

public class Foo
{
    public string Description { get; set; }
    public string Id { get; set; }
    public string Name { get; set; }
}

//Controller
[HttpPost]
[Route("")]
public IHttpActionResult Post(Foo foo)
{
    var updatedFoo = this._fooService.SaveFoo(foo);
    return this.Ok(updatedFoo);
}

QUESTION:
My variable (this.foo) in the typescript restangular call contains all the information needed. But inside the controller the variable "foo" is undefined or null. I tried changing the type of "this.myFoo" in my typescript to interface "IFoo" and it works. Correct me if I'm wrong but I think previously this is not a problem with restangular as they don't include other variables with $ symbol in the post request. I recently updated my restangular so maybe this is one of the cause? Is this configurable?

Any TypeScript user on board? For now - I'd suggest SO. If you want to manipulate data that's being send to your server (to e.g. strip unneeded properties, please use request interceptors mentioned in the docs).


Hover does not always call 'over' when using a timeout for 'out'

Hi,
I'm using hoverIntent for a menu system that incorporates a timeout for calling the 'out' handler. Closing and opening menus does not work as I'd expect. For two hover items A and B, if I move quickly from A to B to A again then I expect A to open, but it doesn't. There's a script to reproduce this issue on JSFiddle:
http://jsfiddle.net/d_ir/u31xjd5d/1/
From a quick look at the source, it would seem that the ob.hoverIntent_t does not get called for the mouseleave event on the first tab item.
I can workaround the issue by removing the "if (!ob.hoverIntent_s)" condition on line 101.
I'm not sure if this is something I'm doing wrong, or if this is a bug. Any help would be appreciated.
Thanks
Daniel

This might be the same issue as #35. We'll see if the fix for that also fixes this.

Upon further investigation, it looks like the plugin is actually working as designed.
In your example, the over function is first called for item A, but the out function is actually never called because the mouse pointer re-enters the item before the (half-second, in your case) timeout is up. The fact that "A" was closed is just a result of the over function that was called for item B, since it closes all open items before opening the target item.
At this point, however, item A is still considered "active" by the plugin, so its over handler will not be called again until it has a chance to deactivate via out--that is, the mouse pointer needs to leave item A for at least 500 ms.
I suspect that the specific behavior you're trying to achieve is discussed in #6 (and may be made even easier by #11 once it lands). (Contrary to what I'd said in the previous comment, this issue has nothing to do with #35.)
I'll close the issue now since it's not a bug in the plugin, but feel free to follow my advice from #6 or leave a comment if you have any more questions. Hope this helps!


[K8SPS-29] Support sidecars for MySQL pods

Allow users to add sidecars to MySQL pods.
The following fields are going to be supported:

mysql.sidecars: list of container specs to be run within database pods
mysql.sidecarVolumes: list of volumes specs to be used by the sidecars
mysql.sidecarPVCs: list of PVCs to be used by the sidecars

Test name
Status

commit: https://github.com/percona/percona-server-mysql-operator/pull/22/commits/fefa1b1def43a924ff64243dd39bf4c5416973bd
image: perconalab/percona-server-mysql-operator:PR-22-fefa1b1

Test name
Status

commit: https://github.com/percona/percona-server-mysql-operator/pull/22/commits/a490b6c2e17ebd669abcb32b3980ba6ea32e26bc
image: perconalab/percona-server-mysql-operator:PR-22-a490b6c

Test name
Status

commit: https://github.com/percona/percona-server-mysql-operator/pull/22/commits/c812989ddfa97e285e4b4939363b08e45f2e9673
image: perconalab/percona-server-mysql-operator:PR-22-c812989

Test name
Status

commit: https://github.com/percona/percona-server-mysql-operator/pull/22/commits/58608759dc56987ca2cfedfd57e94c9e75a9813b
image: perconalab/percona-server-mysql-operator:PR-22-5860875

Test name
Status

init-deploy
passed

semi-sync
passed

monitoring
passed

commit: https://github.com/percona/percona-server-mysql-operator/pull/22/commits/271c1ff61a920b4184b0b05a1fb6f77cbf8e1771
image: perconalab/percona-server-mysql-operator:PR-22-271c1ff

Test name
Status

init-deploy
passed

semi-sync
passed

monitoring
passed

sidecars
passed

commit: https://github.com/percona/percona-server-mysql-operator/pull/22/commits/3d8e7366a158946e9c57e600073375e42451fb52
image: perconalab/percona-server-mysql-operator:PR-22-3d8e736

Test name
Status

init-deploy
passed

semi-sync
passed

monitoring
passed

sidecars
passed

commit: https://github.com/percona/percona-server-mysql-operator/pull/22/commits/a38049a7fb65fd6fa30bd18f768ed6da2cc8e0a5
image: perconalab/percona-server-mysql-operator:PR-22-a38049a

Test name
Status

init-deploy
passed

semi-sync
passed

monitoring
passed

sidecars
passed

commit: https://github.com/percona/percona-server-mysql-operator/pull/22/commits/ebf89283f80954ec518e8fea3e486299ebbd249b
image: perconalab/percona-server-mysql-operator:PR-22-ebf8928

Test name
Status

init-deploy
passed

semi-sync
passed

monitoring
passed

sidecars
passed

commit: https://github.com/percona/percona-server-mysql-operator/pull/22/commits/b4003c08dd5e90d4d74eec28be4db201dae0bec5
image: perconalab/percona-server-mysql-operator:PR-22-b4003c0


Navigator should support starting with an initial history

Instead of just pushing the initialRoute, we should split it on / and push every step of the route. So if the initialRoute is "/foo/bar/baz", we should first push "/", then "/foo", then "/foo/bar", then "/foo/bar/baz".
cc @devoncarew

Hum...  I'm not sure we want to force that sort of structure on route names.  You should be able to load an initial history with more than one route pushed, but we should probably do that by taking a list of route names rather than but splitting a single route name on /.

I think we'll be able to add this feature in a way that doesn't break the API.

I don't think setting bunch of routes instead one /foo/bar/baz is a good idea. For example, consider Google Inbox application. I has "Add Reminder" widget which run application in route of adding reminder, and back action leads to close application. And it is a good behaviour.

We support this today actually, both ways. If your routes use /, we push the whole stack, if they use : or some other separator, we only push the one route.

Can we add it (":route" usage) to docs?

Yeah, see https://github.com/flutter/flutter/issues/11607 for the bug tracking the documentation efforts around routes.


[$1000] Web - Chat - Pasting an image wrapped in a link produces a markdown link with no text

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Log in as any user.
Open any chat.
In another browser window, copy any image wrapped in a link (e.g. https://www.w3schools.com/html/tryit.asp?filename=tryhtml_links_image)
Paste it in the chat box.

Expected Result:
The image link should be pasted.
Actual Result:
It pastes an empty link in markdown.
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number:  v1.3.53-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/115492554/0956886d-7d0b-416c-bdc3-171cb4bde505
https://github.com/Expensify/App/assets/115492554/7473ee07-c8a3-4248-a19d-333cb6133a8e
https://github.com/Expensify/App/assets/115492554/58bbecdf-57b9-459b-953c-03b414f3b675
Expensify/Expensify Issue URL:
Issue reported by: @qispark
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691151960370329
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01d61f295be0c061fd
Upwork Job ID:<PHONE_NUMBER>902936064
Last Price Increase: 2023-08-23

Proposal
Please re-state the problem that we are trying to solve in this issue.
Pasting an image wrapped in a link produce an empty name of the link
What is the root cause of that problem?
We don't handle image is links
What changes do you think we should make in order to solve the problem?
We need to find a markdown that allows us to display the image when the user send it. So we must at least save the src.
The img in html is present in g4 here: https://github.com/Expensify/expensify-common/blob/1076899202ad338232a6cfeb4b242234aa932cb0/lib/ExpensiMark.js#L326-L336
If g4 starts match the new regex for an image, we can parse it to find out the src field. Then we can for example put the marksdown like this:
img:srcOfTheImage
Then when we retransform markdown links to html anchor we can recreate the link with the wrapped image inside
What alternative solutions did you explore? (Optional)

Yep, I can repro this on on 53-2

Proposal
Please re-state the problem that we are trying to solve in this issue.
When users copy content from web pages into the Expensify chat box, the application's internal logic attempts to convert the pasted HTML into Markdown. However, when users copy a link containing an embedded image, the conversion doesn't retain the src attribute of the image. Instead, it creates an empty Markdown link.
What is the root cause of that problem?
The root cause is twofold:

The current regex used for converting anchor tags in the htmlToMarkdown function does not handle cases where the link content is another HTML element (e.g., an image). Specifically, it captures the  tag as the link's text and subsequently wraps it in markdown link syntax.

This line: https://github.com/Expensify/expensify-common/blob/4cc5f72b69bd77d2c8052a3c167d039e502a2796/lib/ExpensiMark.js#L339
Gives the resulting string:
[](https://www.w3schools.com/html/default.asp)

More specifically the markdown text of the link is a html tag:

There exists a subsequent sanitization step, Str.htmlDecode(this.replaceBlockElementWithNewLine(generatedMarkdown)), which strips out any remaining HTML, causing the inner image HTML to be removed entirely.

https://github.com/Expensify/expensify-common/blob/4cc5f72b69bd77d2c8052a3c167d039e502a2796/lib/ExpensiMark.js#L601C14-L601C14
The final result is then indeed:
[](https://www.w3schools.com/html/default.asp)

What changes do you think we should make in order to solve the problem?
Modify the replacement function for the anchor tag conversion rule:

Detect if the content within the anchor (g4 in our regex match) is an  tag.
If it's an  tag, extract its src attribute.
Use the extracted src as the text for the Markdown link.

The code modification would look something like:
replacement: (match, g1, g2, g3, g4) => {
    const nestedImgRegex = /]*src\s*=\s*["']([^"']+)["'][^>]*>/I;
    let imgMatch = g4.match(nestedImgRegex);

    if (imgMatch) {
        // Extract the src attribute from the  tag
        g4 = imgMatch[2];
    }

    const email = g3.startsWith('mailto:') ? g3.slice(7) : '';
    if (email === g4) {
        return email;
    }
    return `[${g4}](${email || g3})`;
}

By doing this, when an anchor wraps an image, we extract the image's source URL and use it as the link text in the generated Markdown, giving us the desired image-src format.
##What alternative solutions did you explore? (Optional)
N/A

My proposal requires a lot of work for just a proposal but the idea is to show the image when we send the message. I can make a video but can you confirm first that this is what we want ?

Thanks for proposals everyone. Can you please share screenshots after applying your solutions?
I'd like to confirm the expected paste result first.

Hello, here is a video of my simple fix to the issue
https://github.com/Expensify/App/assets/585569/0dde8b62-dbda-454b-b97e-0586acc71486

Bumping @0xmiroslav for reviews

@jliexpensify @0xmiroslav this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

I can work on a PR right away and get this done

My proposal requires a lot of work for just a proposal but the idea is to show the image when we send the message. I can make a video but can you confirm first that this is what we want ?

@ShogunFire I don't think we should put much efforts on this edge case.

With that in mind would you consider my proposal?
https://github.com/Expensify/App/issues/24534#issuecomment-1679916092
I think its a very straight forward solution and quick turn around while handling the edge-case.

I'm not 100% sure if we're going to follow Slack, and I personally agree with this:

I copy paste an image with a link I expect to send an image with a link

But let me raise this one internally and I will circle back!

It's for another issue but I personally love when I am able to copy paste an image in a chat, maybe we should add this feature as well. It takes some effort but is worth it and less edge case, can you ask that on slack as well @jliexpensify

Still no response, let me bump the thread.

Still no response in thread and my gues sis because we have a lot of competing priorities and a merge freeze atm. I'm reluctant to move forward with a decision, as we've had a few cases where suggestions have been implemented without the wider team's approval/discussion, and this has resulted in regressions/issues where for our Engineers to fix.
I propose we close this as this issue sounds like an edge case - so we should do nothing. How's that sound @0xmiroslav ?


Split IP Whitelists Into Get / Put

Split IP whitelists into one for adding secrets and one for retrieving them
This enables control over who is able to add data to Ephemera (i.e. Corporate IP's) but enables them to be retrieved from anywhere if required (i.e. By 3rd parties / Customers)

Nice 👍


Fix mistakes that make test fail

"navigates home when you click the logo" fails because of minor issues

the path to the route with the link was wrong
the id for the link was wrong
the text on the target page was wrong
providing an argument to the anonymous function makes the timeout waiting for completion callback

Thanks!


Room Photo in room settings is blank

On matrix internal, the picture is shown in recents and in the room view itself, but in the 'Room Photo' cell in Room Settings, it's a little grey circle.

This is not really a bug. This little grey circle is displayed when the user doesn't have the permission to change the room picture.
I agree that this is disturbing. We need to find a better solution. What de you think about adding a padlock on picture?

Finally the little grey circle was a bug. The room avatar is now displayed with a 0.5 alpha when the user doesn't have the permission to change the room picture.
The UI may change in the future to highlight editable fields


remove processing/scheduling logic from StreamingDataflowWorker

includes https://github.com/apache/beam/pull/31148
StreamingDataflowWorker will eventually just be constructing the harness runtime (different implementations for appliance, dispatched, fanout etc) and the main method.
R: @scwhittle

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

test failure is unrelated @scwhittle

I think the examples failure is unrelated so don't bother investigating it.

run java precommit

Run Java PreCommit


Release Kani with GH packages.

Requested feature: Release Kani Docker images with github packages.
Use case: Smoother integration to customer CI.
Link to relevant documentation (Rust reference, Nomicon, RFC):

https://docs.github.com/en/actions/publishing-packages/publishing-docker-images

Test case:
docker pull  ghcr.io/model-checking/kani:latest

@tedinski: moving the discussion here. I think this would be the best
way to release, but open to other plans. I can own this if this plan
sounds good to you.

Potential customer running proptest (https://github.com/tokio-rs/prost.git) suggested this will make integration easier for them.
Adding under "Integration with existing testing frameworks (e.g. Proptest, Bolero)"


[Grafana API] Home dashboard updates

[x] Automatically add folder ID in home dashboard (https://github.com/sdn-sense/autogole-monitoring/commit/5704e410b1eb4695f4cb1a4fcbda89705cae456c)
[x] Automatically update grafana preferences and set home dashboard (https://github.com/panodata/grafana-client/blob/5b68221da84c22b086a0c6f12b0576975a12482f/grafana_client/elements/organization.py#L179-L204)

Added here: https://github.com/sdn-sense/autogole-monitoring/commit/a9cb6d0e1880ca6fd3214a7231bd3a2a56907c53


Recover value from Traced<ConcreteArray(-)>with<JVPTrace(level=1/0)>

Hi,
I'm using Jax to compute Fourier coefficients. I want to save the computed loss in every iteration. Therefore I do the following in my loss function:
    def loss(self, coefficents, train_values, train_labels):
        preds = self.batched_predict(coefficents, train_values)[:, 0]
        l = jnp.sum(jnp.square(preds - train_labels))
        self.loss_list += [l]
        return l

The loss functions get's called in my update function:
    def update(self, coefficients, x, y):
        grads = grad(self.loss)(coefficients, x, y)
        /*code*/
        return /*result*/

However, the list contains these Jax primitives:
Traced<ConcreteArray(105.82802000294275)>with<JVPTrace(level=1/0)>
I want to access the numbers (i.e.<PHONE_NUMBER>0294275) stored in my loss_list to plot them with pyplot and save the list of the loss values with numpy. Is there a way to "unwrap" the values in a Jax primitive?

Thanks for the question!
Side-effects aren't allowed in JAX-transformed functions, and appending to a list like self.loss_list += [l] is a side-effect. You need all function outputs to be return values of the function.
Perhaps you can make use of value_and_grad instead of grad here?

Alright, thanks for that quick response! I'll try it out.


使用node/pm2 运行报错TypeError [ERR_INVALID_ARG_VALUE]: The argument 'file name' must be a file URL object, file URL string, or absolute path string. Received 'file:///_entry.js'

F:\web_project\blog-nuxt>node .output/server/index.mjs
node:internal/errors:496
ErrorCaptureStackTrace(err);
^
TypeError [ERR_INVALID_ARG_VALUE]: The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received 'file:///_entry.js'
at new NodeError (node:internal/errors:405:5)
at createRequire (node:internal/modules/cjs/loader:1501:13)
at file:///F:/web_project/blog-nuxt/.output/server/chunks/runtime.mjs:5970:1
at ModuleJob.run (node:internal/modules/esm/module_job:195:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:337:24)
at async loadESM (node:internal/process/esm_loader:34:7)
at async handleMainPromise (node:internal/modules/run_main:106:12) {
code: 'ERR_INVALID_ARG_VALUE'
}
Node.js v18.20.2
nuxt v3.13.0
ecosystem.config文件
module.exports = {   apps: [     {       name: 'demo',       port: '3000',       exec_mode: 'cluster',       instances: 1,       script: './.output/server/index.mjs'     }   ] }

在线地址https://stackblitz.com/~/github.com/SilenceYiChen/yichen-blog-ui

stackblitz地址: https://stackblitz.com/~/github.com/SilenceYiChen/yichen-blog-ui
github地址:https://github.com/SilenceYiChen/yichen-blog-ui.git

Would you see if you can boil the reproduction down further? 🙏
Does it reproduce without pm2?

any update?


Config file resetting

Any edits made through the betterEnchanting config file are reset to default upon launching the game

Workaround is to add the enchantments in-game through mod menu which seems to stay after restarting but a small bug nonetheless

I'll look into it.
Might be due to the order in wich i load the configs ...

Sorry, didn't check well the first time, i was on my phone.
Entry of disabled enchantment need to be each separtaed by a comma like so :
  "disabledEnchants": [
    "namespace:enchantment",
    "minecraft:mending",
    "nova_structure:gravity"
  ],

Only the last entry should be comma-free.


Minimum H/W System Requirements

Would you let me know the minimum hardware requirements or your test system specifications?

Windows10 + E5-2603 + Geforce 1080

Windows10 + E5-2603 + Geforce 1080

Thanks for your quick reply!


Shutdown executors created by RFS LeaseExpireTrigger and KafkaTrafficCaptureSource

Both of those classes used the DefaultThreadFactory, which uses daemon threads, which will keep a process alive even after main() has finished.
Description
[Describe what this change achieves]

Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)
Why these changes are required?
What is the old behavior before changes and new behavior after changes?

Issues Resolved
[List any issues this PR will resolve]
Is this a backport? If so, please add backport PR # and/or commits #
Testing
[Please provide details of testing done: unit testing, integration testing and manual testing]
Check List

[ ] New functionality includes testing

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented
[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Too many merge conflicts - will redo and repush


Bump gcc toolchain to 8.2.0 for clang trunk

As suggested by @mgehre - https://github.com/mattgodbolt/compiler-explorer/pull/1090#issuecomment-424933075, this bumps the gcc toolchain version for clang trunk to 8.2.0.

Sounds like a good idea to me


Prevent rtx buffer and forwarding path colliding

Received packets are put into RTX buffer which is
a circular buffer and the packet (sequence number) is queued for forwarding. If the RTX buffer fills up
and cycles before forwarding happens, forwarding
would pick the wrong packet (as it is holding a
reference to a byte slice in the RTX buffer) to forward.
Prevent it by moving reading from RTX buffer just
before forwarding. Adds an extra copy from RTX buffer -> temp buffer for forwarding, but ensures that forwarding buffer is not used by another go routine.

@davidzhao Thank you for the review. But, apologies for the early trigger. I re-worked it to reduce changes. Details in this commit - https://github.com/livekit/livekit/pull/1174/commits/5a4f8a2858ef1c2a062ad7c059d56320ffdf454f. Can you please re-review?


Struggling to install due to "could not open hstore.control"

Hi can anyone help. I can't seem to get past installation step 4 in the documentation on Ubuntu 16.04 LTS.
I've installed the virtualenv, ran the install requirements.txt and export SECRET_KEY etc.
Then on python manage.py migrate I get this error:
  Applying product.0021_add_hstore_extension...Traceback (most recent call last):
  File "/home/website/lib/python3.5/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
psycopg2.OperationalError: could not open extension control file "/usr/share/postgresql/9.3/extension/hstore.control": No such file or directory

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/website/lib/python3.5/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
    utility.execute()
  File "/home/website/lib/python3.5/site-packages/django/core/management/__init__.py", line 356, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/website/lib/python3.5/site-packages/django/core/management/base.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/home/website/lib/python3.5/site-packages/django/core/management/base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "/home/website/lib/python3.5/site-packages/django/core/management/commands/migrate.py", line 204, in handle
    fake_initial=fake_initial,
  File "/home/website/lib/python3.5/site-packages/django/db/migrations/executor.py", line 115, in migrate
    state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  File "/home/website/lib/python3.5/site-packages/django/db/migrations/executor.py", line 145, in _migrate_all_forwards
    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  File "/home/website/lib/python3.5/site-packages/django/db/migrations/executor.py", line 244, in apply_migration
    state = migration.apply(state, schema_editor)
  File "/home/website/lib/python3.5/site-packages/django/db/migrations/migration.py", line 129, in apply
    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  File "/home/website/lib/python3.5/site-packages/django/contrib/postgres/operations.py", line 17, in database_forwards
    schema_editor.execute("CREATE EXTENSION IF NOT EXISTS %s" % schema_editor.quote_name(self.name))
  File "/home/website/lib/python3.5/site-packages/django/db/backends/base/schema.py", line 120, in execute
    cursor.execute(sql, params)
  File "/home/website/lib/python3.5/site-packages/django/db/backends/utils.py", line 80, in execute
    return super(CursorDebugWrapper, self).execute(sql, params)
  File "/home/website/lib/python3.5/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
  File "/home/website/lib/python3.5/site-packages/django/db/utils.py", line 94, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/home/website/lib/python3.5/site-packages/django/utils/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/home/website/lib/python3.5/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
django.db.utils.OperationalError: could not open extension control file "/usr/share/postgresql/9.3/extension/hstore.control": No such file or directory

On searching around I found that on Ubuntu you need to install postgresql-contrib too so I also did: sudo apt-get install postgresql postgresql-contrib
But that didn't help... Thanks again for any help getting Saleor up and running.

This looks like issue with your database configuration. You have to make sure that the HStore extension is installed correctly. I would recommend running the project in Docker as it doesn't require any manual database configuration.

Hi thanks, I'm not sure how to set it up in Docker as I've followed this guide which doesn't mention Docker:
https://saleor.readthedocs.io/en/latest/installation.html#installation
I think I need to enable hstore in the database but I'm not sure how to do that?
I've installed postgresql-contrib as many suggest online but that doesn't help either...
Can I instead just use MySQL or does Saelor have to use postgresql?
Thanks for any further help.

Here is the part about Docker: https://saleor.readthedocs.io/en/latest/development.html#docker. Postgres is required and only supported database as we use some of it's specific features (like hstore) in Saleor.

Hi thanks, do I just follow that docker guide from within the virtualenv where I've downloaded saelor etc, or do I come out of that and do this separately somewhere else? Thanks again for the reply! Looking forward to using Saelor hopefully soon! :)

According to the above docs you'll have the whole environment created inside Docker, so you don't need any virtualenv on your local machine.  Also, if you have running Postgres database you have to stop it prior to running docker-compose to avoid port conflicts.

Hi thanks - in the docs it almost seems like the Deployment section is for after you build your store? I can't even install Saleor to build the store... But I've tried the Docker steps now too to see if that helps but can't seem to run the first command:

sh-4.3$ ls
app.json            Dockerfile  locale        Procfile         requirements.txt  setup.cfg  tox.ini
circle.yml          docs        manage.py README.md        runtime.txt       templates  webpack.config.js
docker-compose.yml  LICENSE     package.json  requirements.in  saleor            tests      yarn.lock
sh-4.3$ yarn run build-assets --production
yarn run v1.1.0
warning You are using Node "4.2.6" which is not supported and may encounter bugs or unexpected behavior. Yarn supports the following semver range: "^4.8.0 || ^5.7.0 || ^6.2.2 || ^8.0.0"
$ node ./node_modules/webpack/bin/webpack.js -p "--production"
error Couldn't find the binary node ./node_modules/webpack/bin/webpack.js -p "--production"
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
sh-4.3$

Hey @soydemadrid, were you able to resolve your issue? We have switched to NPM some time ago. Having the latest versions of NPM and Node should allow you to install everything smoothly.

It appears the hstore extensions should be available in the contrib packages
https://askubuntu.com/questions/354686/postgres-doesnt-have-hstore-extension

For the reference, the issue could be resolved by installing contrib packages
apt install postgresql-contrib-9.5


Hardcoded path causes the log file to be saved in ~/

https://github.com/gauravmm/KLEPlacement/blob/8c1eb78417b5b18e529bd17ffe6e3fa1f86b0171/__init__.py#L4

Oh darn that's supposed to be commented out. I'll fix it next release, thanks for bringing it to my attention!


[Webstorm] Ubuntu 22.04 extension fails

Autocomplete stopped working too

Seems to have been a bug in the system, fixed by the devs already


Added assests/Favicons

ISSUE NO:  #16
What does this PR do?
Have added the favicons folder as request in the issue

Hello @Gxgxn , thanks for your interest in working on this issue, but this PR won't be merged at the moment as it's already been worked on by someone else. Thanks.

Hello @Gxgxn , thanks for your interest in working on this issue, but this PR won't be merged at the moment as it's already been worked on by someone else. Thanks.

Hey @Mannuel25  , I can see there is no progress on the other PR which is open. Can you give a deadline for the other PR?

Hello @Gxgxn , thanks for your interest in working on this issue, but this PR won't be merged at the moment as it's already been worked on by someone else. Thanks.

Hey @Mannuel25 , I can see there is no progress on the other PR which is open. Can you give a deadline for the other PR?

Yeah, sure👍

Hello @Gxgxn , please could you drop your LinkedIn profile url. There's a contributors page dedicated to recognize everyone who worked on the project.


Update mvt-fixtures to 3.x

Howdy @BergWerkGIS! Just dropping in to alert you that mvt-fixtures 3.x has been out for some time now and is ready for use. It looks like this library is still on the old version of the suite and is no longer supported. I recommend updating to the 3.x (currently 3.3.0) version and reading through the different FIXTURES highlighted here.
This will also provide some real world fixtures that'll enable you to close out #38
cc @springmeyer

Oops, seeing that you already have a PR for this over at #34 ... my bad 😄


"Run query" frequently executes previous query

Describe the bug
It seems if you update the query too quickly and click "Run query", it executes whatever it ran previoulsy
To Reproduce
Steps to reproduce the behavior:

Use a working example like GET /v1.0/me & click Run Query
Verify results
Edit query to something else that would return a different result and quickly click Run Query again
Observe that often the results are the same, and in fact you can determine it simply re-executed the previous query
Click Run Query again and you'll see the expected result

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10
Browser: latest Chrome or Edge

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hello @wizofaus we may have captured this experience and closed it in this PR: https://github.com/microsoftgraph/microsoft-graph-explorer-v4/pull/2348
Might you have the time to confirm on this live environment whether that is still the case? https://jolly-sand-0ac78c710.azurestaticapps.net/

Nope, it's still happening, and in fact it some ways it seems worse when using the Enter key, it seems to pick the first suggestion if what I want to enter is what that suggestion starts with.  But if I query https://graph.microsoft.com/v1.0/me/, it works, then add "mailboxSettings" to the end and hit enter, it doesn't correctly requery with that new URL.

Hello @wizofaus this is fixed now and in production. Thank you for notifying us and helping us test!


Graph is not loaded perfectly using forcealtlas2 after setting settimeout function

Hi,
I am trying to render a graph using forceatlas2. But 8 out of 10 times its not render perfectly. It is showing cross edges graph (jumbled graph).
I have tried with forcelink also but the same issue I am facing.
Below given is the setting which I am using right now...
s.startForceAtlas2({
worker: false,
linLogMode: false,
outboundAttractionDistribution: false,
barnesHutOptimize: true,
background:true,
strongGravityMode:true,
slowDown :5,
scaleRatio: 2,
gravity: 1,
iterationsPerRender:3000
});
Expected Graph which I want
image
and some times it is coming like jumbled graph
image

Please help me out !!!
Thanks..

Below given is the setting which I am using right now...
s.startForceAtlas2({
worker: false,
linLogMode: false,
outboundAttractionDistribution: false,
barnesHutOptimize: true,
background:true,
strongGravityMode:true,
slowDown :5,
scaleRatio: 2,
gravity: 1,
iterationsPerRender:3000
});
Expected Graph which I want

and some times it is coming like jumbled  graph

Please help me out !!!
Thanks..

Your graph seems relatively small - I would suggest not to use barnesHutOptimize here, since it leads to a lot of jittering in smaller graphs. I see you're also calculating 3000 iterations before every render (iterationsPerRender), which seems overkill for such a small graph.
Avoiding edge crossings is a problem in itself and is not dealt with by ForceAtlas2. However, when using the right settings you'll most likely be able to achieve an adequate layout for your graph nonetheless.


docker image can't be built in docker branch

@charlycastro could you check if something is missing in the README
It seems GOPATH value is missing somewhere.
I tried to follow the guide and I get
10:58 $ make dep
make: goop: No such file or directory
make: *** [dep] Error 1

Could you try again doing just make dep, I added the command directly into the make file so that it picks the current directory as the gopath,

@chitopunk

Looks like what happened to me before ;)
On Sun, Oct 22, 2017 at 4:16 PM, Charly Castro<EMAIL_ADDRESS>wrote:

@chitopunk https://github.com/chitopunk
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/wizelineacademy/docker-intro-app/issues/1#issuecomment-338509764,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADElWQfy3bB1S4jlSvYejMHFmri1aV46ks5su7CkgaJpZM4QCADU
.

--
Franchesco Romero | WIZELINE
DevOps Engineer
<EMAIL_ADDRESS>Mariano Otero 408-B1, Col. Jardines del Sol, Guadalajara, Jal.

Yeah, same thing. Let me know if the update fixes your issue @chitopunk

Solved


[typescript] Error when trying to run seed command

After upgrading to the recent versions of all dependencies for OrchidORM, I can't run seeds due to the following error, using the same playground repo as in #196.
The repo setup runs migrations just fine, and the codebase is used for a separate project with an unchanged table definition, and the project runs and pulls data, queries, etc, just fine.
The issue only occurs while running pnpm run db seed command. See error output below.
λ › pnpm run db seed                                                                                [15:58:19]

><EMAIL_ADDRESS>db /Users/mmorek/Projects/playairsoft/orchidorm-db-playground
> node -r ts-node/register src/db/dbScript.ts "seed"

/Users/mmorek/Projects/playairsoft/orchidorm-db-playground/src/db/tables/Location.ts:12
export class LocationTable extends BaseTable {
^
TypeError: Class constructor _a cannot be invoked without 'new'
    at new LocationTable (/Users/mmorek/Projects/playairsoft/orchidorm-db-playground/src/db/tables/Location.ts:12:1)
    at orchidORM (/Users/mmorek/Projects/playairsoft/orchidorm-db-playground/node_modules/.pnpm/orchid-orm@1.17.27_typescript@5.2.2/node_modules/orchid-orm/src/orm.ts:152:19)
    at Object.<anonymous> (/Users/mmorek/Projects/playairsoft/orchidorm-db-playground/src/db/db.ts:14:28)
    at Module._compile (node:internal/modules/cjs/loader:1241:14)
    at Module.m._compile (/Users/mmorek/Projects/playairsoft/orchidorm-db-playground/node_modules/.pnpm/ts-node@10.9.1_@types+node@20.8.4_typescript@5.2.2/node_modules/ts-node/src/index.ts:1618:23)
    at Module._extensions..js (node:internal/modules/cjs/loader:1295:10)
    at Object.require.extensions.<computed> [as .ts] (/Users/mmorek/Projects/playairsoft/orchidorm-db-playground/node_modules/.pnpm/ts-node@10.9.1_@types+node@20.8.4_typescript@5.2.2/node_modules/ts-node/src/index.ts:1621:12)
    at Module.load (node:internal/modules/cjs/loader:1091:32)
    at Function.Module._load (node:internal/modules/cjs/loader:938:12)
    at Module.require (node:internal/modules/cjs/loader:1115:19)

This is due to an empty tsconfig file generated when initializing the project. npx tsc --init generates a working tsconfig.

Okay, so it looks like my tsconfig.json settings were incompatible with those expected by Orchid.
Adding target seem to have rectified it. Thanks!
Here's a gist of a basic Next.js 13.4 tsconfig.json with Next-specific options removed in a diff:
{
  "compilerOptions": {
-   "baseUrl": ".",
-   "paths": {
-     "@/*": [
-       "src/*"
-     ]
-   },
-   "lib": [
-     "dom",
-     "dom.iterable",
-     "esnext"
-   ],
+   "target": "esnext",
-   "allowJs": true,
    "skipLibCheck": true,
-   "strict": false,
    "forceConsistentCasingInFileNames": true,
-   "noEmit": true,
-   "incremental": true,
    "esModuleInterop": true,
    "module": "commonjs",
-   "moduleResolution": "node",
-   "resolveJsonModule": true,
-   "isolatedModules": true,
    "strict": true,
  },
- "ts-node": {
-   "esm": true
- },
- "include": [
-   "**/*.ts",
-   "**/*.tsx"
- ],
  "exclude": [
    "node_modules",
    "gitignored"
  ]
}

So currently orchid-orm is generating an almost empty tsconfig, which somehow worked before, but it needs to be fixed so I think to populate the same content as tsc --init does.
Also init script is asking to add swc, but it doesn't work with latest ts versions.
And there are other nuances. In the future would be cool to have ready templates with popular frameworks and tools, but that's a lot of work to do. At this stage, I just will make sure it works with various package managers and is producing a minimal working code.

I agree, there's no need to being framework specific, though an option to diff changes would be nice so it doesn't override anything important. Not sure is tsc has this capability though.

The init script is checking if there is a tsconfig already, if yes - it's not touched, and I think it's right that if you have it already, it's in your responsibility. And if there is no tsconfig, a very minimal one is created, and I need to add more configs to it.


Limit requests per hour

Fixes: https://github.com/spdx/spdx-online-tools/issues/4
The license sumission is reduced to 100 per hour by a particular user.
When the limit is reached, the modal below is shown.

@tjasmith Why add a whole new module when you can simply do it with drf throttling?

@Ugtan
Thanks for the question.
I decided to go on with django rate limit because it can be used on normal django views(which is the view on which it was supposed to be implemented.)
Moreover, it can be used on class-based views(if we decide to switch to those), and can also be applied with a mixin.
I read about django rest framework throttling, but it didn't suit my needs(adding this to a normal django view), while the module which I choose did.

Will this limit the rate on all requests or just the license submittal?   The request I'm most concerned about is the check license.  It would be good to limit all of the requests that can be made through the API.

@goneall
This is just for the license submittal request. Ok, I shall now implement this on all other requests.

@tjasmith Also, write tests to check whether this modal is actually shown or not. You can use selenium to automate these requests.

@rtgdk
Ok. Thanks for the hint.

@goneall I have limited the rate on all django rest framework apis, and on the following post requests:

check license
validate
compare
convert
xml upload
validate xml
submit license

@rtgdk I have written tests for the return of the requests using django's RequestFactory(to be able to simulate that the rate limit has been reached).

@tjasmith In the test, you should send 100 request from selenium(either one by one or a bunch of them in parallel [In different tabs/windows of the browser]). The test you have written tests whether the view function is returning the correct error or not. You can keep this test. But add the selenium test  to test whether this error is shown in real or not on the UI.

@rtgdk Ok, On it.


smartmontools - bogus drivedb.h

On attempting to view drive status, start a test, etc., I get an error in the plugin's output:
smartctl 7.0 2018-12-30 r4883 [FreeBSD 11.2-RELEASE-p14-HBSD amd64] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

/usr/local/share/smartmontools/drivedb.h(287): Missing terminating '"'

Updating it seems to fix the issue (although the stock tool for updating seems to be missing):
root@SporkLab:/home/sporkadmin # sudo /usr/sbin/update-smart-drivedb
sudo: /usr/sbin/update-smart-drivedb: command not found
root@SporkLab:/home/sporkadmin # fetch https://www.smartmontools.org/export/4956/branches/RELEASE_7_0_DRIVEDB/smartmontools/drivedb.h
fetch: https://www.smartmontools.org/export/4956/branches/RELEASE_7_0_DRIVEDB/smartmontools/drivedb.h: size of remote file is not known
drivedb.h                                              203 kB  560 kBps 00m00s
root@SporkLab:/home/sporkadmin # mv drivedb.h /usr/local/share/smartmontools/

All packages are under /usr/local, so:
# which update-smart-drivedb
/usr/local/sbin/update-smart-drivedb

I'm not sure about the file update... the base release should ship a correct file but seemingly doesn't.
The problem goes further:
# update-smart-drivedb
/usr/local/sbin/update-smart-drivedb: gpg: not found in '/usr/local/bin:/usr/bin:/bin' ('--no-verify' to ignore)
# update-smart-drivedb --no-verify
/usr/local/share/smartmontools/drivedb.h updated from branches/RELEASE_7_0_DRIVEDB (NOT VERIFIED)
# pkg check -s smartmontools
Checking smartmontools:   0%
smartmontools-7.0_1: checksum mismatch for /usr/local/share/smartmontools/drivedb.h
Checking smartmontools: 100%

The update raises a red flag in the health check because the FreeBSD package doesn't correctly include the drivedb.h file. It expects it never to be updated, which is wrong if that is the right way to unbreak the service.
Cheers,
Franco

PS: we still have #821 open.


How to mix Complex and SymbolicExpression?

The following code snippet does not compile because there are no suitable operators  for Complex and SymbolicExpression operands in z * z + i/2.
using System;
using static MathNet.Symbolics.SymbolicExpression;
using static System.Console;
using static System.Numerics.Complex;
using Complex = System.Numerics.Complex;

namespace MathNetSymbolicsCompile
{
    class Program
    {
        static readonly Complex i = ImaginaryOne;

        static void Main(string[] args)
        {
            var z = Variable("z");
            Func<Complex, Complex> f = Parse("z * z + i/2").CompileComplex("z");
            Complex c = 1 / 2 - i / 3;
            WriteLine(f(c));
        }
    }
}

Any comments are welcome!

@diluculo : Has your fixing be committed? I just test but the issue still exist.

I found the following enlightenment while I was sleeping.
However, this approach is risky because users can accidentally pass values other than i to the second argument.
using System;
using static MathNet.Symbolics.SymbolicExpression;
using static System.Console;
using static System.Numerics.Complex;
using Complex = System.Numerics.Complex;

namespace MathEvaluator
{
    class Program
    {
        static readonly Complex i = ImaginaryOne;

        static void Main()
        {
            var z = Variable("z");
            Func<Complex, Complex, Complex> f = Parse("z * i").CompileComplex(nameof(z), "i");

            Complex c = 1 / 2.0 - i / 3;
            WriteLine(f(c, i));
        }
    }
}

Why didn't you also use nameof(i)? :-)
using System;
using System.Numerics;

using static System.Console;
using static System.Numerics.Complex;
using static MathNet.Symbolics.SymbolicExpression;

    class Program
    {
        static readonly Complex i = ImaginaryOne;

        static void Main()
        {
            var z = Variable("z");
            Func<Complex, Complex, Complex> f = Parse("z * i").CompileComplex(nameof(z), nameof(i));

            Complex c = 1 / 2.0 - i / 3;
            WriteLine(f(c, i));
        }
    }


type '_InternalLinkedHashMap' is not a subtype of type 'Map'

I believe the changes in b29673b are causing the following error:

type '_InternalLinkedHashMap' is not a subtype of type 'Map'

Code Sample:
location.geometry.toJson()

Looks like the issue is here:
https://github.com/lejard-h/google_maps_webservice/blob/970d4b669912c290a969d7373cde1ba0e86574b1/lib/src/core.dart#L16-L21
Looks like the following is causing map to be inferred as an _internalLinkedHashMap<dynamic,dynamic> as opposed to an _internalLinkedHashMap<String,dynamic>
var map = {};

I believe the following should fix it:
Map<String, dynamic> toJson() => {
    'lat': lat.
    'lng': lng,
}

I also ran into this problem with parsing AddressComponents, and found the easy enough fix myself once I figured out what was going on.  In core.dart, everywhere you're doing var map = {}; which casts it <dynamic, dynamic> needs to be changed to var map = Map<String, dynamic>(); and the error's gone.  Would also work if it was explicit like Map<String, dynamic> map = {};  Woulda thought Dart could automatically cast to the returned type, but guess not.  I would submit this as a PR if you want, but it's a simple fix.

Your call

I mean... I'm not the author 😁
But yes, I do think I'll sub a PR.
If I do, I think I'd go down the route of expressions, Personally think they look a bit neater.
Given the data, it may be possible to narrow it down to Map<String, float> or something like that, although would need @lejard-h 's guidance for how they would like it!

This should be fix now with the null safety version of the package that use json_serializale package


Start UI Upgrade

I have start the UI upgrade with modern library like bootstrap.
I also get the official permission from the author of mysar for upgrade his job :+1: https://goo.gl/JaaTDa
Next job : rebuild with HTML5 for pass markup validation

Thanks again :D


Create action for deploying and updating mkdocs with mike

It would be nice to have an action that deploys and updates the mkdocs using the CLI tool mike.
We use two identical actions in our repositories, which can be replaced by ci-templates:

KPOPs
Quick

Not relevant anymore, since it is not used that much anymore


Post-Processing won't start

Traceback (most recent call last):
File "/var/hda/web-apps/sickbeard/html/autoProcessTV/SABPostProcess.py", line 5, in
from autoprocess import autoProcessTV, autoProcessMovie, autoProcessTVSR, sonarr
ImportError: No module named autoprocess
Any ideas what's wrong? This is the error presented in SABnzbd log

Do you have the autoprocess directory in your script folder with all the files inside it that are on git?
Sent from my iPhone

On Oct 29, 2016, at 02:54, justinglock40<EMAIL_ADDRESS>wrote:
Traceback (most recent call last):
File "/var/hda/web-apps/sickbeard/html/autoProcessTV/SABPostProcess.py", line 5, in
from autoprocess import autoProcessTV, autoProcessMovie, autoProcessTVSR, sonarr
ImportError: No module named autoprocess
Any ideas what's wrong? This is the error presented in SABnzbd log
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

No i didn't, but I figured that out at like 3 in the morning so I'm going to try again later and report back.
As for categories though, if I'm only using Sickbeard and CP, do I need to keep my old post processing stuff that was set to "tv" and "movies"? Or will your SABnzb Post Process.py handle everything?
Sent from my iPhone

On Oct 29, 2016, at 08:43, Michael Higgins<EMAIL_ADDRESS>wrote:
Do you have the autoprocess directory in your script folder with all the files inside it that are on git?
Sent from my iPhone

On Oct 29, 2016, at 02:54, justinglock40<EMAIL_ADDRESS>wrote:
Traceback (most recent call last):
File "/var/hda/web-apps/sickbeard/html/autoProcessTV/SABPostProcess.py", line 5, in
from autoprocess import autoProcessTV, autoProcessMovie, autoProcessTVSR, sonarr
ImportError: No module named autoprocess
Any ideas what's wrong? This is the error presented in SABnzbd log
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

So I got the script and everything where it needs to be to execute, but it's taking an extremely long time to remux. Is there anyway to check the progress of the the script or see what it is doing?

You could try enabling debugging and pasting the output of your logfile after completing a full conversion run of one file.
Could you try enabling debugging by renaming your logging.ini file and replacing it using this version:
https://github.com/meks007/sickbeard_mp4_automator/blob/master/logging.ini

Is it only remuxing or is there conversion taking place as well? If so what kind of conversion? (Video/audio?) Additionally what kind of hardware are you running your server on?

So I decided to install Sonarr, but when SAB returns the file for renaming it just says this:
2016-10-31 23:03:05 - autoprocess.sonarr - INFO - Sonarr notifier started.
2016-10-31 23:03:05 - autoprocess.sonarr - INFO - Requesting Sonarr to scan directory '/var/hda/files/drives/3TB/newsgroups/complete/Transformers.Prime.S01E12.1080p.BluRay.x264-DEiMOS'.
2016-10-31 23:03:05 - autoprocess.sonarr - INFO - Sonarr response: queued.
Any Ideas?

On Oct 31, 2016, at 22:04, meks007<EMAIL_ADDRESS>wrote:
You could try enabling debugging and pasting the output of your logfile after completing a full conversion run of one file.
Could you try enabling debugging by renaming your logging.ini file and replacing it using this version:
https://github.com/meks007/sickbeard_mp4_automator/blob/master/logging.ini https://github.com/meks007/sickbeard_mp4_automator/blob/master/logging.ini
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mdhiggins/sickbeard_mp4_automator/issues/584#issuecomment-257478928, or mute the thread https://github.com/notifications/unsubscribe-auth/AWD90eQGGg3XvzWAcrm1Mx4lZU87Xri1ks5q5qwogaJpZM4KkCzx.

Is this your output with debugging enabled? It's hard to tell with only the INFO level active.

Based on that output it looks like your Sonarr settings are correct and the script is talking to the API
Does anything pop up in the Sonarr logs? Does the file get renamed or moved from its download path to the final destination configured in Sonarr?

No it says that permission is denied to my newsgroup completion folder? I tried chmod still no avail. Any other ideas?
Sent from my iPhone

On Nov 1, 2016, at 05:53, Michael Higgins<EMAIL_ADDRESS>wrote:
Based on that output it looks like your Sonarr settings are correct and the script is talking to the API
Does anything pop up in the Sonarr logs? Does the file get renamed or moved from its download path to the final destination configured in Sonarr?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Gotta be a little more specific
What chmod settings are you using? Does the account that’s running Sonarr have read/write permissions to that directory? Can you post the log files you’re seeing

On Nov 1, 2016, at 7:29 AM, justinglock40<EMAIL_ADDRESS>wrote:
No it says that permission is denied to my newsgroup completion folder? I tried chmod still no avail. Any other ideas?
Sent from my iPhone

On Nov 1, 2016, at 05:53, Michael Higgins<EMAIL_ADDRESS>wrote:
Based on that output it looks like your Sonarr settings are correct and the script is talking to the API
Does anything pop up in the Sonarr logs? Does the file get renamed or moved from its download path to the final destination configured in Sonarr?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/mdhiggins/sickbeard_mp4_automator/issues/584#issuecomment-257544509, or mute the thread https://github.com/notifications/unsubscribe-auth/ADcO6iHIdsgrCTXpyP4i27azVM7s2uaCks5q5yKlgaJpZM4KkCzx.

I don't have access to the logs right now but how would I check to see if the user:group has read and write perms.
For chmod I tried 775 & 777.
Sent from my iPhone

On Nov 1, 2016, at 06:31, Michael Higgins<EMAIL_ADDRESS>wrote:
Gotta be a little more specific
What chmod settings are you using? Does the account that’s running Sonarr have read/write permissions to that directory? Can you post the log files you’re seeing

On Nov 1, 2016, at 7:29 AM, justinglock40<EMAIL_ADDRESS>wrote:
No it says that permission is denied to my newsgroup completion folder? I tried chmod still no avail. Any other ideas?
Sent from my iPhone

On Nov 1, 2016, at 05:53, Michael Higgins<EMAIL_ADDRESS>wrote:
Based on that output it looks like your Sonarr settings are correct and the script is talking to the API
Does anything pop up in the Sonarr logs? Does the file get renamed or moved from its download path to the final destination configured in Sonarr?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/mdhiggins/sickbeard_mp4_automator/issues/584#issuecomment-257544509, or mute the thread https://github.com/notifications/unsubscribe-auth/ADcO6iHIdsgrCTXpyP4i27azVM7s2uaCks5q5yKlgaJpZM4KkCzx.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

What OS are you attempting this setup on? (also is it a NAS)
I would think 777 should work but I would definitely double check everything and post the complete logs when you can

Fedora 23 with Amahi over top
Sent from my iPhone

On Nov 1, 2016, at 06:56, Michael Higgins<EMAIL_ADDRESS>wrote:
What OS are you attempting this setup on? (also is it a NAS)
I would think 777 should work but I would definitely double check everything and post the complete logs when you can
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Here is the log:
Import failed, path does not exist or is not accessible by Sonarr: /var/hda/files/drives/3TB/newsgroups/complete/Pitch.S01E05.720p.HDTV.x264-FLEET-Obfuscated/
Sent from my iPhone

On Nov 1, 2016, at 07:40, Justin Washington<EMAIL_ADDRESS>wrote:
Fedora 23 with Amahi over top
Sent from my iPhone

On Nov 1, 2016, at 06:56, Michael Higgins<EMAIL_ADDRESS>wrote:
What OS are you attempting this setup on? (also is it a NAS)
I would think 777 should work but I would definitely double check everything and post the complete logs when you can
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Here's more detailed output:
16-11-1 08:31:16.8|Info|Sabnzbd|Adding report [Code.Black.S02E03.Corporeal.Form.1080p.WEB-DL.DD5.1.H264-NTb] to the queue.
16-11-1 08:31:17.4|Info|DownloadService|Report sent to SABnzbd. Code.Black.S02E03.Corporeal.Form.1080p.WEB-DL.DD5.1.H264-NTb
16-11-1 08:31:18.0|Info|EpisodeSearchService|Episode search completed. 1 reports downloaded.
16-11-1 08:34:45.7|Warn|ImportApprovedEpisodes|Couldn't import episode /var/hda/files/drives/3TB/newsgroups/complete/Code.Black.S02E03.Corporeal.Form.1080p.WEB-DL.DD5.1.H264-NTb/Code.Black.S02E03.Corporeal.Form.1080p.WEB-DL.DD5.1.H264-NTb.mp4
[v<IP_ADDRESS>74] System.UnauthorizedAccessException: Access to the path is denied. at System.IO.File.Move (System.String sourceFileName, System.String destFileName) [0x00140] in :0
at NzbDrone.Common.Disk.DiskProviderBase.MoveFile (System.String source, System.String destination, System.Boolean overwrite) [0x000e3] in <126b6b1ea0b442fe8ec3d8ce154ba93e>:0
at NzbDrone.Common.Disk.DiskTransferService.TryMoveFileVerified (System.String sourcePath, System.String targetPath, System.Int64 originalSize) [0x00000] in <126b6b1ea0b442fe8ec3d8ce154ba93e>:0
Sent from my iPhone

On Nov 1, 2016, at 08:00, Justin Washington<EMAIL_ADDRESS>wrote:
Here is the log:
Import failed, path does not exist or is not accessible by Sonarr: /var/hda/files/drives/3TB/newsgroups/complete/Pitch.S01E05.720p.HDTV.x264-FLEET-Obfuscated/
Sent from my iPhone

On Nov 1, 2016, at 07:40, Justin Washington<EMAIL_ADDRESS>wrote:
Fedora 23 with Amahi over top
Sent from my iPhone

On Nov 1, 2016, at 06:56, Michael Higgins<EMAIL_ADDRESS>wrote:
What OS are you attempting this setup on? (also is it a NAS)
I would think 777 should work but I would definitely double check everything and post the complete logs when you can
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Looks like it might actually be related to your destination directory not having write permissions than the download directory as initially implied
Make sure you have adequate permissions for both source and destination directory for the account Sonarr is running

On Nov 1, 2016, at 9:42 AM, justinglock40<EMAIL_ADDRESS>wrote:
Here's more detailed output:
16-11-1 08:31:16.8|Info|Sabnzbd|Adding report [Code.Black.S02E03.Corporeal.Form.1080p.WEB-DL.DD5.1.H264-NTb] to the queue.
16-11-1 08:31:17.4|Info|DownloadService|Report sent to SABnzbd. Code.Black.S02E03.Corporeal.Form.1080p.WEB-DL.DD5.1.H264-NTb
16-11-1 08:31:18.0|Info|EpisodeSearchService|Episode search completed. 1 reports downloaded.
16-11-1 08:34:45.7|Warn|ImportApprovedEpisodes|Couldn't import episode /var/hda/files/drives/3TB/newsgroups/complete/Code.Black.S02E03.Corporeal.Form.1080p.WEB-DL.DD5.1.H264-NTb/Code.Black.S02E03.Corporeal.Form.1080p.WEB-DL.DD5.1.H264-NTb.mp4
[v<IP_ADDRESS>74] System.UnauthorizedAccessException: Access to the path is denied. at System.IO.File.Move (System.String sourceFileName, System.String destFileName) [0x00140] in :0
at NzbDrone.Common.Disk.DiskProviderBase.MoveFile (System.String source, System.String destination, System.Boolean overwrite) [0x000e3] in <126b6b1ea0b442fe8ec3d8ce154ba93e>:0
at NzbDrone.Common.Disk.DiskTransferService.TryMoveFileVerified (System.String sourcePath, System.String targetPath, System.Int64 originalSize) [0x00000] in <126b6b1ea0b442fe8ec3d8ce154ba93e>:0
Sent from my iPhone

On Nov 1, 2016, at 08:00, Justin Washington<EMAIL_ADDRESS>wrote:
Here is the log:
Import failed, path does not exist or is not accessible by Sonarr: /var/hda/files/drives/3TB/newsgroups/complete/Pitch.S01E05.720p.HDTV.x264-FLEET-Obfuscated/
Sent from my iPhone

On Nov 1, 2016, at 07:40, Justin Washington<EMAIL_ADDRESS>wrote:
Fedora 23 with Amahi over top
Sent from my iPhone

On Nov 1, 2016, at 06:56, Michael Higgins<EMAIL_ADDRESS>wrote:
What OS are you attempting this setup on? (also is it a NAS)
I would think 777 should work but I would definitely double check everything and post the complete logs when you can
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/mdhiggins/sickbeard_mp4_automator/issues/584#issuecomment-257569127, or mute the thread https://github.com/notifications/unsubscribe-auth/ADcO6gV14XywJ9lJiCP7hnY2czhFEUoyks5q50G8gaJpZM4KkCzx.

Ok. So I fixed the permissions issue so SAB is succesfully sending back to Sonarr queue and now it's throw an error in the postSonarr.py script. Here is the output:
16-11-1 18:31:03.4|Info|Sabnzbd|Adding report [Ballers.2015.S02E09.iNTERNAL.720p.HDTV.x264-TURBO] to the queue.
16-11-1 18:31:04.0|Info|DownloadService|Report sent to SABnzbd. Ballers.2015.S02E09.iNTERNAL.720p.HDTV.x264-TURBO
16-11-1 18:31:04.3|Info|EpisodeSearchService|Episode search completed. 1 reports downloaded.
16-11-1 18:31:12.2|Info|DownloadDecisionMaker|Processing 400 releases
16-11-1 18:31:13.2|Info|RssSyncService|RSS Sync Completed. Reports found: 400, Reports grabbed: 0
*_16-11-1 18:32:36.5|Error|postSonarr.py|Traceback (most recent call last):
16-11-1 18:32:36.5|Error|postSonarr.py|  File "/home/(removed)/Scripts/sickbeard_mp4_automator/postSonarr.py", line 12, in
16-11-1 18:32:36.5|Error|postSonarr.py|    fileConfig(os.path.join(os.path.dirname(sys.argv[0]), 'logging.ini'), defaults={'logfilename': os.path.join(os.path.dirname(sys.argv[0]), 'info.log')})
16-11-1 18:32:36.5|Error|postSonarr.py|  File "/usr/lib64/python2.7/logging/config.py", line 85, in fileConfig
16-11-1 18:32:36.5|Error|postSonarr.py|    handlers = _install_handlers(cp, formatters)
16-11-1 18:32:36.5|Error|postSonarr.py|  File "/usr/lib64/python2.7/logging/config.py", line 163, in _install_handlers
16-11-1 18:32:36.5|Error|postSonarr.py|    h = klass(args)
16-11-1 18:32:36.5|Error|postSonarr.py|  File "/usr/lib64/python2.7/logging/handlers.py", line 117, in init
16-11-1 18:32:36.5|Error|postSonarr.py|    BaseRotatingHandler.init(self, filename, mode, encoding, delay)
16-11-1 18:32:36.5|Error|postSonarr.py|  File "/usr/lib64/python2.7/logging/handlers.py", line 64, in init
16-11-1 18:32:36.5|Error|postSonarr.py|    logging.FileHandler.init(self, filename, mode, encoding, delay)
16-11-1 18:32:36.5|Error|postSonarr.py|  File "/usr/lib64/python2.7/logging/init.py", line 905, in init
16-11-1 18:32:36.5|Error|postSonarr.py|    StreamHandler.init(self, self._open())
16-11-1 18:32:36.5|Error|postSonarr.py|  File "/usr/lib64/python2.7/logging/init.py", line 935, in open
16-11-1 18:32:36.5|Error|postSonarr.py|    stream = open(self.baseFilename, self.mode)
16-11-1 18:32:36.5|Error|postSonarr.py|IOError: [Errno 13] Permission denied: '/home/jwashington/Scripts/sickbeard_mp4_automator/info.log'

Think it's the same issue here perms?

fix 777 on '/home/jwashington/Scripts/sickbeard_mp4_automator/info.log'
On 2 Nov 2016 12:38 a.m., justinglock40<EMAIL_ADDRESS>wrote:Ok. So I fixed the permissions issue so SAB is succesfully sending back to Sonarr queue and now it's throw an error in the postSonarr.py script. Here is the output:
16-11-1 18:31:03.4|Info|Sabnzbd|Adding report [Ballers.2015.S02E09.iNTERNAL.720p.HDTV.x264-TURBO] to the queue.
16-11-1 18:31:04.0|Info|DownloadService|Report sent to SABnzbd. Ballers.2015.S02E09.iNTERNAL.720p.HDTV.x264-TURBO
16-11-1 18:31:04.3|Info|EpisodeSearchService|Episode search completed. 1 reports downloaded.
16-11-1 18:31:12.2|Info|DownloadDecisionMaker|Processing 400 releases
16-11-1 18:31:13.2|Info|RssSyncService|RSS Sync Completed. Reports found: 400, Reports grabbed: 0
16-11-1 18:32:36.5|Error|postSonarr.py|Traceback (most recent call last):
16-11-1 18:32:36.5|Error|postSonarr.py|  File "/home/(removed)/Scripts/sickbeard_mp4_automator/postSonarr.py", line 12, in
16-11-1 18:32:36.5|Error|postSonarr.py|    fileConfig(os.path.join(os.path.dirname(sys.argv[0]), 'logging.ini'), defaults={'logfilename': os.path.join(os.path.dirname(sys.argv[0]), 'info.log')})
16-11-1 18:32:36.5|Error|postSonarr.py|  File "/usr/lib64/python2.7/logging/config.py", line 85, in fileConfig
16-11-1 18:32:36.5|Error|postSonarr.py|    handlers = install_handlers(cp, formatters)
16-11-1 18:32:36.5|Error|postSonarr.py|  File "/usr/lib64/python2.7/logging/config.py", line 163, in _install_handlers
16-11-1 18:32:36.5|Error|postSonarr.py|    h = klass(*args)
16-11-1 18:32:36.5|Error|postSonarr.py|  File "/usr/lib64/python2.7/logging/handlers.py", line 117, in __init
16-11-1 18:32:36.5|Error|postSonarr.py|    BaseRotatingHandler.init(self, filename, mode, encoding, delay)
16-11-1 18:32:36.5|Error|postSonarr.py|  File "/usr/lib64/python2.7/logging/handlers.py", line 64, in init
16-11-1 18:32:36.5|Error|postSonarr.py|    logging.FileHandler.init(self, filename, mode, encoding, delay)
16-11-1 18:32:36.5|Error|postSonarr.py|  File "/usr/lib64/python2.7/logging/init.py", line 905, in init
16-11-1 18:32:36.5|Error|postSonarr.py|    StreamHandler.init(self, self.open())
16-11-1 18:32:36.5|Error|postSonarr.py|  File "/usr/lib64/python2.7/logging/_init.py", line 935, in open
16-11-1 18:32:36.5|Error|postSonarr.py|    stream = open(self.baseFilename, self.mode)
16-11-1 18:32:36.5|Error|postSonarr.py|IOError: [Errno 13] Permission denied: '/home/jwashington/Scripts/sickbeard_mp4_automator/info.log'
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.

Tried returned:
[root@localhost ~]# chmod 777 -v /home/jwashington/Scripts/sickbeard_mp4_automator/info.log
chmod: cannot access ‘/home/jwashington/Scripts/sickbeard_mp4_automator/info.log’: No such file or directory
failed to change mode of ‘/home/jwashington/Scripts/sickbeard_mp4_automator/info.log’ from 7642 (rwSr-S-wT) to 3400 (r----S--T)

Ok. SO that worked everything is happening as it should be. No errors in logs. Thanks man you're the best.
I just have a few other questions and you can mark this SOLVED.
Is the PostProcess script designed to clear the SABnzbd history after successful processing or is it done manually? I know that CP automatically clears SAB history.
Is there anyway to clear this system flag in Sonarr since the script asks that it be turned off?: Enable Completed Download Handling or configure Drone factory
And how do I setup up remuxing for h265/x265 files?

It won't clear the SAB history but will make it as complete (the SABPostProcessing script should handle this)
The same can be said about SABPostProcessing passing the file back to Sonarr. This is why you don't need the "Completed Download Handling" if that script is properly setup
And remuxing h265 just add that to your list of video codecs (see the readme) and it will be remuxed when found

Ok thanks man you guys have been very helpful with getting me setup appropriately.

On Nov 3, 2016, at 07:24, Michael Higgins<EMAIL_ADDRESS>wrote:
It won't clear the SAB history but will make it as complete (the SABPostProcessing script should handle this)
The same can be said about SABPostProcessing passing the file back to Sonarr. This is why you don't need the "Completed Download Handling" if that script is properly setup
And remuxing h265 just add that to your list of video codecs (see the readme) and it will be remuxed when found
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mdhiggins/sickbeard_mp4_automator/issues/584#issuecomment-258128378, or mute the thread https://github.com/notifications/unsubscribe-auth/AWD90cjRRMQs2AVFjP5-KhEFNJexPx_hks5q6dKVgaJpZM4KkCzx.

Enjoy! Hope your setup is now more automated

Its almost completely automated now. I just need to figure out Headphones and I’ll be 100% good.

On Nov 3, 2016, at 07:28, Michael Higgins<EMAIL_ADDRESS>wrote:
Enjoy! Hope your setup is now more automated
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mdhiggins/sickbeard_mp4_automator/issues/584#issuecomment-258129122, or mute the thread https://github.com/notifications/unsubscribe-auth/AWD90f23svVaG744Qycrcgismiqe7FOrks5q6dN0gaJpZM4KkCzx.


wpa-supplicant: CVE-2015-1863 http://w1.fi/security/2015-1/

Nice: a small patch, minimal rebuild impact. Pushed to master and 14.12.


Starting protractor fails silently

Running on Windows 8.1
Protractor 2.1.0
Elementor 1.0.10
I initialize elementor, then nothing happens.
$ elementor https://angularjs.org
Creating protractor configuration file
Starting protractor
Running command: [node c:\Users\Ken Howard\AppData\Roaming\npm\node_modules\elementor\node_modules\protractor-elementor\lib\cli.js --elementExplorer true --debuggerServerPort 6969 C:\Users\KENHOW~1\AppData\Local\Temp\protractor-conf115516-8860-1r47b0b]

I have inspected the Temp directory but the configuration file doesn't exist.

Thank you for filing the bug.
Sometimes node cannot find a file when there is a space in the path. Your username has a space.
I will try to escape the space character and test it. I do not have windows 8, but I can test with a win 7 machine.
The temp file will get deleted when when you shutdown node. Can you check if the file exists before killing the process?

I just commented out this line: https://github.com/andresdominguez/elementor/blob/master/lib/config-helper.js#L13
The file is being created... In fact, TWO files are being created. The contents of both is identical.

Similar for me
Windows 10
Protractor : 4.0.13
Elementor : 2.1.0
I run this :
elementor https://angularjs.org
Creating protractor configuration file
Starting protractor
Running command: [node C:\Program Files\nodejs\node_modules\elementor\node_modules\protractor\built\cli.js --elementExplorer true --debuggerServerPort 6969 C:\Users\Merlin\AppData\Loc
al\Temp\protractor-conf117016-14104-we1pj0.tu6a5g66r]

But nothing happen. Chrome is not opening.
Configuration file is not there.
If this related to the space in "Program files" ?
thx


Adds a rule for !important

This adds a basic rule to detect the use of !important. By default it discourages it as this is well known bad practice. Fixes #21.

Please rename the rule to no-important
Please use the add unique pattern for adding a detect

And thanks for the contribution!

No problem, I've updated. If there's anything else, let me know :+1:

Awesome, thanks!


Bump cert-manager to v1.8.2

Required for k8s v1.22
related #1480
Done by @sgibson91

Going to merge this so as to not leave clusters in an in-between state. Tested on 2i2c cluster, seems ok.


Fixed  #321: Now user can choose which currency to be shown on charts

After merge with the develop branch I can't build project. It seems some dropbox keys are missing. I hope it's not my fault.

What flavor did you try to build?
You should still be able to build development configurations with no problem.

I'm so sorry. The development flavor works as expected. All issues due to my inexperience with gradle.

No worries.
Thanks for the pull request!


chore(ui-ux): updated bake logo

What this PR does / why we need it:
Which issue(s) does this PR fixes?:

Fixes #
Additional comments?:
Developer Checklist:

[ ] Read your code changes at least once
[ ] Tested on iOS/Android device (e.g, No crashes, library supported etc.)
[ ] No console errors on web
[ ] Tested on Light mode and Dark mode*
[ ] Your UI implementation visually matched the rendered design*
[ ] Unit tests*
[ ] Added e2e tests*
[ ] Added translations*

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 55.16%. Comparing base (c9e7f5d) to head (b4881c8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4171      +/-   ##
==========================================
- Coverage   55.94%   55.16%   -0.79%
==========================================
  Files         438      438
  Lines       12501    12501
  Branches     4141     4141
==========================================
- Hits         6994     6896      -98
- Misses       5422     5518      +96
- Partials       85       87       +2

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