boot loop

Serial monitor:
08:14:25.207 ->
08:14:25.207 -> Brownout detector was triggered
08:14:25.207 ->
08:14:25.207 -> ets Jul 29 2019 12:21:46
08:14:25.207 ->
08:14:25.207 -> rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
08:14:25.207 -> configsip: 0, SPIWP:0xee
08:14:25.254 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
08:14:25.254 -> mode:DIO, clock div:1
08:14:25.254 -> load:0x3fff0030,len:1184
08:14:25.254 -> load:0x40078000,len:13260
08:14:25.254 -> load:0x40080400,len:3028
08:14:25.254 -> entry 0x400805e4
08:14:25.855 -> ESP-IDF version is: v4.4.5
08:14:26.045 -> Using TFT Shield 5
08:14:26.092 -> SPI_FREQUENCY: 40000000
08:14:26.092 -> SPI_READ_FREQUENCY:16000000
08:14:26.092 -> SPI_TOUCH_FREQUENCY: 2500000

Let me know

Let me know

i use the cym web flasher and mine just Run to starting serial and it will restart

Let me know

i use the cym web flasher and mine just Run to starting serial and it will restart

Which module are you using?

Serial monitor: 08:14:25.207 -> 08:14:25.207 -> Brownout detector was triggered 08:14:25.207 -> 08:14:25.207 -> ets Jul 29 2019 12:21:46 08:14:25.207 -> 08:14:25.207 -> rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) 08:14:25.207 -> configsip: 0, SPIWP:0xee 08:14:25.254 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 08:14:25.254 -> mode:DIO, clock div:1 08:14:25.254 -> load:0x3fff0030,len:1184 08:14:25.254 -> load:0x40078000,len:13260 08:14:25.254 -> load:0x40080400,len:3028 08:14:25.254 -> entry 0x400805e4 08:14:25.855 -> ESP-IDF version is: v4.4.5 08:14:26.045 -> Using TFT Shield 5 08:14:26.092 -> SPI_FREQUENCY: 40000000 08:14:26.092 -> SPI_READ_FREQUENCY:16000000 08:14:26.092 -> SPI_TOUCH_FREQUENCY: 2500000

Try a different cable

Let me know

i use the cym web flasher and mine just Run to starting serial and it will restart

Which module are you using?

the cyd2usb on

Serial monitor: 08:14:25.207 -> 08:14:25.207 -> Brownout detector was triggered 08:14:25.207 -> 08:14:25.207 -> ets Jul 29 2019 12:21:46 08:14:25.207 -> 08:14:25.207 -> rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) 08:14:25.207 -> configsip: 0, SPIWP:0xee 08:14:25.254 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 08:14:25.254 -> mode:DIO, clock div:1 08:14:25.254 -> load:0x3fff0030,len:1184 08:14:25.254 -> load:0x40078000,len:13260 08:14:25.254 -> load:0x40080400,len:3028 08:14:25.254 -> entry 0x400805e4 08:14:25.855 -> ESP-IDF version is: v4.4.5 08:14:26.045 -> Using TFT Shield 5 08:14:26.092 -> SPI_FREQUENCY: 40000000 08:14:26.092 -> SPI_READ_FREQUENCY:16000000 08:14:26.092 -> SPI_TOUCH_FREQUENCY: 2500000

Try a different cable

it  can't too

Serial monitor: 08:14:25.207 -> 08:14:25.207 -> Brownout detector was triggered 08:14:25.207 -> 08:14:25.207 -> ets Jul 29 2019 12:21:46 08:14:25.207 -> 08:14:25.207 -> rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) 08:14:25.207 -> configsip: 0, SPIWP:0xee 08:14:25.254 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 08:14:25.254 -> mode:DIO, clock div:1 08:14:25.254 -> load:0x3fff0030,len:1184 08:14:25.254 -> load:0x40078000,len:13260 08:14:25.254 -> load:0x40080400,len:3028 08:14:25.254 -> entry 0x400805e4 08:14:25.855 -> ESP-IDF version is: v4.4.5 08:14:26.045 -> Using TFT Shield 5 08:14:26.092 -> SPI_FREQUENCY: 40000000 08:14:26.092 -> SPI_READ_FREQUENCY:16000000 08:14:26.092 -> SPI_TOUCH_FREQUENCY: 2500000

Try a different cable

it can't too

If flashing with a new cable on a different port didn't help, I would try to compile from source and go from there. If that doesn't work, try with a different CYD/CYD2USB


Regen of MGI models from fixed MGI test file 3

New model files from https://github.com/geneontology/mgi-go-cams/pull/5. Details in this PR.

Time.


Switch last_ready_index_ initial value to be non-negative

size_t should not be negative as that is undefined behavior. I understand the intention, and this PR will change behavior ever so slightly by possibly having a different initial start point for the RR if the first use already sees multiple subchannels (which will change all RR behavior ever after).

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Sounds good, I'll close this PR and instead file an issue to remind you about this.

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,952,994      Total (<)      1,952,998

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,664,798      Total (<)     10,664,799

 No significant differences in binary sizes

[microbenchmarks] No significant performance differences


Different CSS framework

I know this project is young and better support will come in time. But I'm trying to use Zurb's Foundation 5 CSS framework in place of bootstraps. I installed foundation 5 via jspm and it modified config.js and added this line in the System.config section:
"foundation"<EMAIL_ADDRESS>I then edited app.js to include foundation and remove bootstrap. Here is the two lines I changed:
//import bootstrap from 'bootstrap';
import foundation from 'foundation';
Then the app would load but was not loading things like jquery so I went back to config.js and found another bit of code relating to bootstrap:
<EMAIL_ADDRESS>{
"css"<EMAIL_ADDRESS>"jquery"<EMAIL_ADDRESS>},
So I changed it to reflect to use foundation:
<EMAIL_ADDRESS>{
"css"<EMAIL_ADDRESS>"jquery"<EMAIL_ADDRESS>},
The page now loads and jquery is working. However the foundation css file is never included into the webpage. Testing on another install of aurelia it seems that bootstrap is somehow magically included into the webpage.
What else do I need to change to work with foundation? I have searched the files and do not see where/how bootstrap's css is included.

I came across the same issue. It is a lil tricky.
If you take a look to<EMAIL_ADDRESS>which is the file loaded by jspm, at the very beginning you can see:
/* */
"format global";
"deps jquery";
"exports Foundation";

vs what you find in<EMAIL_ADDRESS>/* */
"format global";
"deps jquery";
"deps ../css/bootstrap.css!";
"exports $";

So, you can see the diff<EMAIL_ADDRESS>uses their own css and you can use it straight in aurelia components without referencing the css in your main page.
This is kind of deprecated for bootstrap version > 3.3.2, you can check the repos and see that the deps ../css/bootstrap.css! line is missing. So, no more css using like in the skeleton with bootstrap, and I guess they chose v3.3.2 for that feat. It is a pity IMHO.
What I am doing is using the foundation sass files kind of manually to make the layout and whatever I am needing.
On the other hand, I couldn't make the foundation components which have jquery dependencies work  (alerts boxes are possibly the simplest example). jquery gets loaded though, and also foundation, but when I click the close button on the alert box, nothing happens :-/
People can correct me if I'm wrong

Please create a sample skeleton project using latest Zurb Foundation instead of Bootstrap :)

Skeleton navigation foundation 5.5 based, featuring Top Bar and Reveal Modal components. Let me/us know if you have any issue

Awesome @telekosmos :) I have started work on a port of Foundation apps for Aurelia and also a TypeScript app generator
https://github.com/kristianmandrup/foundation-apps/tree/aurelia
https://github.com/kristianmandrup/generator-aurelia-ts
You are most welcome to contribute ;)

Cool!
First of all, give me couple of days to check the repos (will be busy, but I'll have time).
BTW, you can take a look to the skeleton-navigation-foundation deployed as requested by @zewa666
As usual, let me know/us if you have any issue/figure out some enhancement :)

This has nothing to do with Aurelia.
If you want to use a different CSS framework, then:

Uninstall Bootstrap: jspm uninstall bootstrap
Install the new framework: jspm install foundation
If the package does not reference the CSS as a dependency (see here), then you have multiple options:

Reference it directly with <link<EMAIL_ADDRESS>rel="stylesheet" />.
Use package overrides (jspm install foundation -o "{override json}"), and add ../../css/foundation.css! to deps and "css": "github:systemjs/plugin-css" to dependencies (see here for an example).
Submit the above overrides to the JSPM registry as a PR, or to the original repo for inclusion in its package.json file.

Also note that the jQuery configuration for Foundation is incorrect. It should either reference the internal jquery.js as ../vendor/jquery, or reference it externally using config similar to this.
/cc @guybedford

for any interested parties, I have a copy of the skeleton app that uses semantic-hi over here

Why not write a yeoman generator where you can selects which css/layout framework you want (or none) ;)

@mbroadst Thanks!
Any news for a yeoman generator where we can select which css framework we want?

Some "CSS frameworks" don't work with Aurelia by default, e.g. jQuery Mobile interferes with Aurelia's router, by hooking itself into the HTML5 history system. I couldn't figure out how to use the non-nav CSS/JS parts of jQuery mobile with Aurelia.

Try generator-aurelia-ts ;)

@EisenbergEffect unsure but I think we can close this one due to inactivity


Feature Request: time percentage on report

I think it will be great if watson can optionally display time consuming percentage on each project via watson report. For instance:
$ watson report --percentage
Monday 16 February 2019
    b19416  09:30 to 14:30    5h 0m 0s (50%)  project [tag]

Tuesday 17 February 2019
    a12116  10:30 to 14:30    4h 0m 0s (40%)  project [tag]
    c12516  14:50 to 15:50    1h 0m 0s (10%)  project2

Do you think if this feature is worth being implemented here? Or you'd like to keep it simple and prefer not introducing additional complexity? If the former is the answer for you, please advise recommended interface and format, and I can try making a patch here 😄

I would prefer to develop a statistics plugin instead of making commands too convoluted. But I am open to discussion with other users.

@jmaupetit I don't know what a statistics plugin would look like, but I'd also like to see percentages, specifically for a weekly report broken down by project.  I'm not very familiar with this project yet (just found it today), but to me a --percentage flag seems right at home on a report command.

If this is still on the table then +1 -- it would be great to see percentage on the reports.


How to use LoggedIn variable/function?

My plan is that only the owner can delete their post, which I wish to set in the container formula on Edit view.

Is it possible? to check if the current LoggedIn use owns the post? which the only one who allows to access delete action.

It works on Page, Show View, but not on Edit view.


Store logs persistently

Store the log into a persistent file accessible after the docker image has been killed.

create folder
pick path in docker image to mount volume
direct log output to path in (2)
modify Dockerfile to mount folder (1) as volume at (2) on docker run

create folder
pick path in docker image to mount volume
direct log output to path in (2)
modify Dockerfile to mount folder (1) as volume at (2) on docker run

(1), (2), and (3) completed with ningyuansg@011e5940e702ff13ce652906f5d6ce29563cc1e6
(4) cannot be achieved (https://stackoverflow.com/a/47361857/)
new tasks:

create a script for running the bot: docker run -d --name $1 -v \`pwd\`/volume:/soyaya/volume soyaya
for consistency, create a script for building the bot: docker build . -t soyaya $1


"Timer was not added to the SceneTree" issue and possible fix

Every time when the editor is launched with the plugin on by default, the issue "Timer was not added to the SceneTree" will come up to the debugger. Sometimes it also comes out when switching tabs.
After a few trial and errors, the signal item_selected seems to be the culprit behind this. To workaround it, I tried out with a call_deferred for that signal and it worked.
func _on_tab_selected(tab_idx):
	_last_tab_selected = tab_idx
	var item_idx = _find_list_item_idx_by_tab_idx(tab_idx)
	if item_idx != -1:
		if not _scripts_item_list.is_selected(item_idx):
			select_item_deferred.call_deferred(item_idx) # this part is changed to a method below to be call_deferred

func select_item_deferred( item_idx ):
	_scripts_item_list.select(item_idx)
	_scripts_item_list.item_selected.emit(item_idx)

This could be a bandage fix, I'm not too sure but at least it works without error now.

thanks!


fix url:port issue

are chalk styles splitting ports from urls?
Can we not do this?
https://github.com/zeit/hyperlinks/issues/25

I think you're misunderstanding the linked issue. The problem is not Chalk, but rather trying to linkify text with ansi escape codes in it.


Constrain dependencies to an assumed compatible range

Description
related to inmanta/irt#1091
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[x] Attached issue to pull request
[x] Changelog entry
[x] ~Type annotations are present~
[x] Code is clear and sufficiently documented
[x] ~No (preventable) type errors~
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[x] ~End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )~

Reviewer Checklist:

[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Code is clear and sufficiently documented
[ ] Correct, in line with design

Processing this pull request

Failed to merge changes into iso5 due to merge conflict.Please open a pull request for these branches separately.

Merged into branches master in 762361d8e39844439037885cb04f048c0971af09

Not closing this pull request due to previously commented issues for some of the destination branches. Please open a separate pull request for those branches. You can safely close this pull request and delete the source branch.

This branch was not deleted as it seems to still be in use.


Feat/41

Proposed changes
Introduction of @morfeo/cli package, this package provides (for now) one command to build theme(s) in static css files.
Wip of #41
Closes #39
Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Documentation Update (if none of the other choices apply)

Checklist

[x] I have read the CONTRIBUTING doc
[x] Lint and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)
[x] Any dependent changes have been merged and published in downstream modules

Codecov Report

Merging #57 (3934743) into main (2642886) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              main       #57    +/-   ##
==========================================
  Coverage   100.00%   100.00%
==========================================
  Files           32        40     +8
  Lines          450       603   +153
  Branches        84        95    +11
==========================================
+ Hits           450       603   +153

Impacted Files
Coverage Δ

packages/cli/src/commands/build.ts
100.00% <100.00%> (ø)

packages/cli/src/constants/maps.ts
100.00% <100.00%> (ø)

packages/cli/src/utils/buildTheme.ts
100.00% <100.00%> (ø)

packages/cli/src/utils/getBuildConfiguration.ts
100.00% <100.00%> (ø)

packages/cli/src/utils/getCSSClasses.ts
100.00% <100.00%> (ø)

packages/cli/src/utils/getConfiguration.ts
100.00% <100.00%> (ø)

packages/cli/src/utils/parseSlice.ts
100.00% <100.00%> (ø)

packages/cli/src/utils/safeWrite.ts
100.00% <100.00%> (ø)

... and 6 more

Continue to review full report at Codecov.

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


k3s module: dns not working (reply from unexpected source)

Describe the bug
I set up k3s via services.k3s.enable = true. DNS was not working in the cluster.
To further debug, I followed the instructions on: https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/
With the following results:
# k3s kubectl exec -ti dnsutils -- cat /etc/resolv.conf
search default.svc.cluster.local svc.cluster.local cluster.local
nameserver <IP_ADDRESS>
options ndots:5

# k3s kubectl exec -i -t dnsutils -- nslookup kubernetes.default
;; reply from unexpected source: <IP_ADDRESS>#53, expected <IP_ADDRESS>#53

;; reply from unexpected source: <IP_ADDRESS>#53, expected <IP_ADDRESS>#53
;; reply from unexpected source: <IP_ADDRESS>#53, expected <IP_ADDRESS>#53
;; connection timed out; no servers could be reached

command terminated with exit code 1

Additional context
The host machine uses a static ip address configuratio with dns servers "<IP_ADDRESS>" and "<IP_ADDRESS>"
Notify maintainers

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
  - k3s
  - services.k3s

There's actually a couple of issues with networking and the k3s package.

The issue reported above, which is solved by modprobe br_netfilter. This needs to be added to boot.kernelModules.

If the firewall is off, ip_conntrack is not automatically loaded. k3s tries to activate it but can fail. @DavHau provided a fix in #98743. (It might also be useful to add iptables to the list of dependencies, as having the iptables utility makes networking much easier to debug, and if the firewall is disabled, it is uninstalled.)

The k3s logs have messages about kube-proxy wanting to activate ip_vs, ip_vs_rr, ip_vs_wrr, and ip_vs_sh, with messages similar to Failed to load kernel module ip_vs with modprobe. You can ignore this message when kube-proxy is running inside container without mounting /lib/modules. I activated these just in case, as k3s does not run kube-proxy inside a container.

Finally, when I tried to use the prebuilt k3s binary, I also had to modprobe overlay, as containerd depended on it. I think this isn't an issue here, as containerd seems to correctly activate it, but I added it to my boot.kernelModules regardless, just in case.

The k3s derivation as a whole and works nicely and is much better than naively using the prebuilt k3s binary. There are just a couple edge cases with networking that mostly boil down to kernel module issues.
/cc @euank

I can confirm that 1 is a resolution to the issue described here. I ran into this a couple of weeks ago when building out a multinode k3s cluster.
Ultimately, I also had no networking between pods across nodes with vxlan and the host-gw flannel backends which led me to scrap my cluster. I also saw the module error in 3 and wonder if this was my original issue.

Adding br_netfilter to the boot.kernelModules does not seem to resolve it for me unfortulately, while the issue seems to be quite familiar. It seems that for some reason, there is no inter-pod communication possible, which seems quite weird to me, since I haven't done anything special in my configuration. If more information could help, please ask. I've been trying for quite a bit, but haven't found a solution anywhere, so I think I need some help.
I have error messages of the same format:
$ k3s kubectl exec -ti dnsutils -- cat /etc/resolv.conf
search default.svc.cluster.local svc.cluster.local cluster.local
nameserver <IP_ADDRESS>
options ndots:5

$ k3s kubectl exec -i -t dnsutils -- nslookup kubernetes.default
;; connection timed out; no servers could be reached

command terminated with exit code 1

I think that these error messages point to an issue somewhere, but I'm not sure what it could be:
$ kubectl logs --namespace=kube-system -l k8s-app=kube-dns
E1024 10:32:57.848690       1 reflector.go:125] pkg/mod/k8s.io/client-go@v0.0.0-20190620085101-78d2af792bab/tools/cache/reflector.go:98: Failed to list *v1.Service: Get https://<IP_ADDRESS>:443/api/v1/services?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: i/o timeout
E1024 10:32:57.848690       1 reflector.go:125] pkg/mod/k8s.io/client-go@v0.0.0-20190620085101-78d2af792bab/tools/cache/reflector.go:98: Failed to list *v1.Service: Get https://<IP_ADDRESS>:443/api/v1/services?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: i/o timeout
E1024 10:32:57.848690       1 reflector.go:125] pkg/mod/k8s.io/client-go@v0.0.0-20190620085101-78d2af792bab/tools/cache/reflector.go:98: Failed to list *v1.Service: Get https://<IP_ADDRESS>:443/api/v1/services?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: i/o timeout
I1024 10:32:57.850469       1 trace.go:82] Trace[1556590182]: "Reflector pkg/mod/k8s.io/client-go@v0.0.0-20190620085101-78d2af792bab/tools/cache/reflector.go:98 ListAndWatch" (started: 2020-10-24 10:32:27.849799857 +0000 UTC m=+69691.612882863) (total time: 30.000607943s):
Trace[1556590182]: [30.000607943s] [30.000607943s] END
E1024 10:32:57.850498       1 reflector.go:125] pkg/mod/k8s.io/client-go@v0.0.0-20190620085101-78d2af792bab/tools/cache/reflector.go:98: Failed to list *v1.Endpoints: Get https://<IP_ADDRESS>:443/api/v1/endpoints?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: i/o timeout
E1024 10:32:57.850498       1 reflector.go:125] pkg/mod/k8s.io/client-go@v0.0.0-20190620085101-78d2af792bab/tools/cache/reflector.go:98: Failed to list *v1.Endpoints: Get https://<IP_ADDRESS>:443/api/v1/endpoints?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: i/o timeout
E1024 10:32:57.850498       1 reflector.go:125] pkg/mod/k8s.io/client-go@v0.0.0-20190620085101-78d2af792bab/tools/cache/reflector.go:98: Failed to list *v1.Endpoints: Get https://<IP_ADDRESS>:443/api/v1/endpoints?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: i/o timeout
E1024 10:32:57.850498       1 reflector.go:125] pkg/mod/k8s.io/client-go@v0.0.0-20190620085101-78d2af792bab/tools/cache/reflector.go:98: Failed to list *v1.Endpoints: Get https://<IP_ADDRESS>:443/api/v1/endpoints?limit=500&resourceVersion=0: dial tcp <IP_ADDRESS>:443: i/o timeout
[INFO] plugin/ready: Still waiting on: "kubernetes"

$ kubectl logs -n kube-system -f helm-install-traefik-t5dw2
CHART=$(sed -e "s/%{KUBERNETES_API}%/${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT}/g" <<< "${CHART}")
set +v -x
+ cp /var/run/secrets/kubernetes.io/serviceaccount/ca.crt /usr/local/share/ca-certificates/
+ update-ca-certificates
WARNING: ca-certificates.crt does not contain exactly one certificate or CRL: skipping
+ export HELM_HOST=<IP_ADDRESS>:44134
+ HELM_HOST=<IP_ADDRESS>:44134
+ helm_v2 + init --skip-refresh --client-only
tiller --listen=<IP_ADDRESS>:44134 --storage=secret
Creating /root/.helm
Creating /root/.helm/repository
Creating /root/.helm/repository/cache
Creating /root/.helm/repository/local
Creating /root/.helm/plugins
Creating /root/.helm/starters
Creating /root/.helm/cache/archive
Creating /root/.helm/repository/repositories.yaml
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com
Adding local repo with URL: http://<IP_ADDRESS>:8879/charts
$HELM_HOME has been configured at /root/.helm.
Not installing Tiller due to 'client-only' flag having been set
Happy Helming!
++ ++ helm_v2 ls --all '^traefik$' jq -r '.Releases | length'
--output json
[main] 2020/10/24 10:40:01 Starting Tiller v2.12.3 (tls=false)
[main] 2020/10/24 10:40:01 GRPC listening on <IP_ADDRESS>:44134
[main] 2020/10/24 10:40:01 Probes listening on :44135
[main] 2020/10/24 10:40:01 Storage driver is Secret
[main] 2020/10/24 10:40:01 Max history per release is 0
[storage] 2020/10/24 10:40:01 listing all releases with filter
[storage/driver] 2020/10/24 10:40:31 list: failed to list: Get https://<IP_ADDRESS>:443/api/v1/namespaces/kube-system/secrets?labelSelector=OWNER%3DTILLER: dial tcp <IP_ADDRESS>:443: i/o timeout
Error: Get https://<IP_ADDRESS>:443/api/v1/namespaces/kube-system/secrets?labelSelector=OWNER%!D(MISSING)TILLER: dial tcp <IP_ADDRESS>:443: i/o timeout
+ EXIST=
+ '[' '' == 1 ']'
+ '[' '' == v2 ']'
+ helm_repo_init
+ grep -q -e 'https\?://'
chart path is a url, skipping repo update
+ echo 'chart path is a url, skipping repo update'
+ helm_v3 repo remove stable
Error: no repositories configured
+ true
+ return
+ helm_update install
+ '[' helm_v3 == helm_v3 ']'
++ helm_v3 ls --all-namespaces --all -f '^traefik$' --output json
++ tr ++ jq -r '[:upper:]' '[:lower:]'
'"\(.[0].app_version),\(.[0].status)"'
+ LINE=null,null
++ echo null,null
++ cut -f1 -d,
+ INSTALLED_VERSION=null
++ echo null,null
++ cut -f2 -d,
+ STATUS=null
+ '[' -e /config/values.yaml ']'
+ VALUES='--values /config/values.yaml'
+ '[' install = delete ']'
+ '[' -z null ']'
+ '[' null = deployed ']'
+ '[' null = failed ']'
+ '[' null = deleted ']'
+ helm_v3 install traefik https://<IP_ADDRESS>:443/static/charts/traefik-1.81.0.tgz --values /config/values.yaml
Error: failed to download "https://<IP_ADDRESS>:443/static/charts/traefik-1.81.0.tgz" (hint: running `helm repo update` may help)

@martijnjanssen k3s specifies a list of ports that need to be opened, and I don't think they're defined in the k3s module. Chain nixos-fw does not include accept rules for UDP 8472, which is the port used for in-cluster communication, so that's probably why disabling the firewall rule fixes it. If doing that solves your issue, we should probably also add those to the k3s module. (Maybe we should open another more general issue to try and work out the kinks in k3s)

@aditsachde Thanks for the response! I actually don't think opening ports by default is smart (and not the fix after all), since these are actually clearly defined in the k3s readme. What fixed it for me was adding:
networking.firewall.extraCommands = ''
  iptables -I INPUT 3 -s <IP_ADDRESS>/16 -j ACCEPT
  iptables -I INPUT 3 -d <IP_ADDRESS>/16 -j ACCEPT
'';

I found this solution in k3s issues where users were facing the same issue https://github.com/rancher/k3s/issues/977#issuecomment-552504848. I've checked, and without changing anything else, this is the fix for inter-pod communication. To check which ip to include in the route, the ip route command can help you determine which one it is. Here the cni0 device is the k3s interface (I think, I am not very experienced with networking yet)
$ ip route
default via <IP_ADDRESS> dev enp1s0 proto dhcp src <IP_ADDRESS> metric 202
<IP_ADDRESS>/24 dev cni0 proto kernel scope link src <IP_ADDRESS>
<IP_ADDRESS>/24 dev enp1s0 proto dhcp scope link src <IP_ADDRESS> metric 202

I think the kernel-module related issues you mention above, including the overlay one, might be fixed by #101744 @aditsachde. Thanks for the detailed info on those module issues and for the ping!
I'm optimistic that those kernel module issues were the reason coredns couldn't start up, and thus were thus the root cause of this issue.
The firewall stuff is unfortunately more complicated.
Part of the problem is that k3s has so many knobs (i.e. the podIP can be configured, you can use any of several overlay networks, etc).
Another part of the problem is that k3s defaults to flannel vxlan, but opening up the vxlan port (udp 8472) is insecure unless you trust your network, so we can't exactly default to that either.
We can definitely still improve the usability of the nixos module, even if we don't have a good secure default.

@martijnjanssen Thank you for linking that issue. I was still having some networking issues, but they were occurring on an Ubuntu-based cluster as well so I just assumed it was because of something on my network. Adding those rules fixed it.
@euank When I get a chance sometime later, I'll test out #101744 and see if kernel modules work out of the box. I don't think we can possibly cover all firewall details, but we can probably assume that if someone is configuring the cidr or swapping out the overlay network, they are capable of configuring the firewall. I do agree that opening the firewall by default is probably a bad idea. However, an openFirewall option that defaults to false like many other modules have might be a decent compromise.

I've been having some different issues with networking, where all requests are resulting in a socket error or i/o timeouts, seemingly across all pods, but for sure with coredns and ingress-nginx, both on k3s on unstable, as well as #101744, so I can't say whether or not the PR solves the kernel issues.
I've managed to have tons of networking issues with K3s on Ubuntu, as well as NixOS, with only K3OS working reliability. I'd love to get to the bottom of it, but I'm really not sure where to start debugging.

I've fingers crossed got k3s in a state where it seems to be working properly on 20.09, here's my module:
{ lib, ... }:
{
  services.k3s = {
    enable = true;
    extraFlags = "--no-deploy traefik";
  };

  # https://github.com/NixOS/nixpkgs/issues/103158
  systemd.services.k3s.after = [ "network-online.service" "firewall.service" ];
  systemd.services.k3s.serviceConfig.KillMode = lib.mkForce "control-group";

  # https://github.com/NixOS/nixpkgs/issues/98766
  boot.kernelModules = [ "br_netfilter" "ip_conntrack" "ip_vs" "ip_vs_rr" "ip_vs_wrr" "ip_vs_sh" "overlay" ];
  networking.firewall.extraCommands = ''
    iptables -A INPUT -i cni+ -j ACCEPT
  '';
}

Of particular note, since I'm starting k3s after the firewall I can use a simple -A INPUT instead of -I INPUT 3, and I'm matching on interface prefix instead of subnet mask, so it should be less fragile.

Can confirm @jbalme 's solution works for me.

Similar to @jbalme 's solution you could also add cni+ to networking.firewall.trustedInterfaceswhich according to https://github.com/NixOS/nixpkgs/blob/a28adc36c20fd2fbaeb06ec9bbd79b6bf7443979/nixos/modules/services/networking/firewall.nix#L136-L139
does pretty much the same.
  networking.firewall.trustedInterfaces = [ "cni+" ];

So far it's working for me;)


Example uses wrong language pattern

The example says (and IS written in) German, but the language pattern collection used is for LOWER German = NL = The Netherlands = DUTCH. Yes, those languages are related, but so are English and Dutch. Or Russian and Croatian. Or Spanish and Italian. BUT: They are NOT identical.
cu, w0lf

Absolutely. The error is in the JSFiddle.

Fixed that, sorry for the late reaction! @ginsterbusch


Aternos

I use aternos, when I put resources packs into the folder optionalpacks/,  using the command /get will say there's an internal error, what do I do?
![Screenshot_20240811_190652_Minecraft]
(https://github.com/user-attachments/assets/8909215d-c5dd-414e-ac39-e10bc005f527)

can you send logs?

Sure
https://mclo.gs/gOXHsV4
Btw there are two of the logs, I think they are the same thing.

Btw are the resources pack meant to be bedrock ones?

Logs do say they are invalid :/

Btw are the resources pack meant to be bedrock ones?

yes, java ones will not work

So what's the point of a optionalpacks?
Is it so java can use?

And not the other way round

its so bedrock players can load packs if they want by doing /ge and choosing Optional Packs
Console players cant load custom resource packs, so this feature was created to work around it
Place .mcpack files inside of the plugins optionalpacks folder

Oh ok, and that means MCADDONS don't work unfortunately right?

unfortunately no because behaviour packs are loaded by the bedrock server, and java cant load it
.mcpacks that are resource packs will work

Alright thanks for helping me!

Uhhm the optionalpacks option doesn't exist???

You need to restart the server if you have just added packs, then do /ge on Bedrock and go to Optional Packs

Alright, but is it just me or geyser has a packs feature inbuilt. But ok I'll reload the server

optional packs allows players to toggle resource packs for them selves, where as geyser's packs folder requires everyone to load the same packs

Ah ok, that makes sense, really genius to give them an option, me as the average consumer would never understand how that works


Import tweaks

Hi Ryan - This seems like a mixed bag of things - why was this not a series of PRs? That would leave a much better history.
In any case, when you squash and merge, it's the PR title that will become the commit message for the squashed commit, so please change it to describe what everything in this PR does, using conventional commit conventions.

it looks like you may have made this branch from dev-container-work instead of from main, picking up all the changes in #3509? If so, rebase it?


[Bug]: Motion & HomeKit Recorded video doesn't work for Indoor 2K camera

What happened?
A bug happened!
I have followed the Wiki for enabling detections, but nothing comes through to HomeKit.
Homekit recordings don't work either. With the latest version OR the beta version, none of these two functions work.
Device Type
Indoor Camera (Supported)
Plugin Version
v2.0.x (Supported)
HomeBridge Version
v1.4.x (Supported)
NodeJS Version
v12 (Supported)
Operating System
Ubuntu 18.04+ (Supported)
Relevant log output
[4/21/2023, 3:26:05 PM] [EufySecurity-2.1.7] WARN:  Kids Room Did not retrieve cloud snapshot in time. Reached max. retries.
[4/21/2023, 3:26:05 PM] [EufySecurity-2.1.7] DEBUG: Kids Room image data could not be retireved: Could not get image data

config
{
    "username": "xxx",
    "password": "xxx",
    "country": "AU",
    "deviceName": "",
    "platform": "EufySecurity",
    "cameras": [
        {
            "serialNumber": "xxx",
            "enableCamera": "true",
            "useCachedLocalLivestream": true,
            "rtsp": true,
            "videoConfig": {
                "audio": true,
                "vcodec": "copy",
                "useSeparateProcesses": true
            },
            "talkback": false,
            "enableButton": false,
            "motionButton": false,
            "unbridge": false,
            "delayCameraSnapshot": true,
            "snapshotHandlingMethod": 2,
            "refreshSnapshotIntervalMinutes": 0,
            "hsv": true,
            "hsvRecordingDuration": null,
            "hsvConfig": {
                "crop": false
            },
            "talkbackChannels": 1
        }
    ],
    "ignoreStations": [],
    "ignoreDevices": [],
    "cleanCache": true,
    "experimentalMode": true,
    "preferLocalConnection": true,
    "ignoreMultipleDevicesWarning": false,
    "syncStationModes": true,
    "CameraMaxLivestreamDuration": 84000,
    "_bridge": {
        "username": "0E:A8:83:A1:D2:26",
        "port": 32081
    },
    "omitLogFiles": true,
    "hkHome": 1,
    "hkAway": 0,
    "hkNight": 3,
    "hkOff": 0,
    "pollingIntervalMinutes": 1,
    "enableDetailedLogging": true
}

indor 2k camera is native HomeKit supported. no need Homebridge. just go to eufy app and activate HomeKit.

Yeah but then you loose a ton of features.On 23 Jul 2023, at 3:53 am, Toshi Taka @.***> wrote:
indor 2k camera is native HomeKit supported. no need Homebridge. just go to eufy app and activate HomeKit.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


update message size limitation.

Add long polling/sse limitation.
Add link for app server limitation.

@vwxyzh : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@Jak-MS : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Quick fix for cli

some products fail due to incorrect flow control in the main raider.py CLI

Description

Insted of running the command, the CLI errors out at the weather model / date checking stage

Motivation and Context

with three options now for time interpolation (or not), we need to have bwetter-defined flow control for processing

How Has This Been Tested?

Raider-docs runs now
some additional unit tests written and pass

Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[ ] I have added an explanation of what your changes do and why you'd like us to include them.
[ ] I have written new tests for your core changes, as applicable.
[ ] I have successfully ran tests with your changes locally.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Please do not merge until we sort out control flow for GUNWs - this is more urgent.

Please do not merge until we sort out control flow for GUNWs - this is more urgent. See #584

@cmarshak the error message mentioned in #584 is the same as what I was getting for the time-interp case. I suspect the issue is the same/similar, most likely having to do with the specific number of files returned and having an exact time. get_nearest_wmtimes is the relevant function.

I agree - but unless this is tested on the exact GUNW that I mentioned in the error then this should not be merged...

To be clear, the control flow in the main script requires concentration/thought. If we merge this and the GUNW logic still fails, then this affects the GUNW production.
We can in theory always re-run the RAiDER docs to fix this issue. This will fixed EOD tomorrow.

I cannot necessarily recreate the error from the cloud here if this is merged first.

I had a headache writing #593 in part because of the try/except handling here in calcDelays in raider.py.
I am concerned as an outsider that generally if prepareWeatherModel doesn't complete shouldn't that be an error as there are numerous reasons it couldn't whether it be a download issue (transient) or something intrinsic to RAiDER that someone hasn't considered in the weather model preparation? Or if not, is there are more explicit error (i.e. a RAiDER exception that could be made) that can be caught to ensure proper completion as you expect? The code would become a lot simpler too allowing the code to error out. Not to mention unintended consequences from my vantage point.
To elaborate on the latter point, if I am user of Raider and I specify as interpolation as none or center_time, then I can get different results for the same inputs if prepareWeatherModel has transient download issues. Is that desired? Why is it OK for weather model times to be ignored? Can you explain? This is particularly concerning when the model step times are 3 hours or 6 hours, in which you definitely do not just want to get the datetime that was available. Is there another error that you also are considering?
Additionally, having these try/except without failure leads to confusing errors like those in #587 (or at least confusing to me). The error doesn't indicate that input data was not available (which in the GUNW case, should have led to an error or exit much sooner).
Also, if the control flow is being added, I would encourage the use pytest-mock (or something similar) to make sure whatever logic you want (and errors) is happening as you expect without doing any actual delay calculations.

Hey @cmarshak, sorry about your headaches! This control flow logic isn't the cleanest, and I've updated this PR to try to at least make the code more readable.
You have a good point about the failures. I usually think from a scientific user point of view - I want a weather model to use, and I'd like to use time-interpolation, but if it doesn't happen I really don't care, just get me a weather model. I've used many codes that post lots of errors because of various detailed problems when I just want a quick-and-dirty result I can work with. For the GUNW workflow that's obviously not what we want, but for general RAiDER use my inclination is to give the user something to work with and raise warnings about what they got.
For this PR, I've made it explicit for azimuth time interpolation that three files are required or the program will fail. center_time will still try to work under certain cases with a warning. I've defined several custom exceptions to be more explicit about types of failures, and RAiDER will only continue without failure in appropriate cases. Testing all this will take a bit of time though, so hopefully there is enough time to get it done right.

Hey Jeremy - do whatever works for the multiple uses of RAiDER - no need for my opinions to block that. I hope that general thoughts can provide helpful pointers to a slightly different viewpoint. Any large code bases will have headaches.
I think the ISCE2 way of thinking is to put everything into a log and carefully look at the logs after if there are failures. I personally think it's easier from a debugging point of view to have errors that are causing any time of failures to be captured at the end of standard i/o.
Thanks for merging that monolith of a PR - I will test these new updates this morning and post on their respective issue tickets if they are success.
Also, maybe something that wasn't clear that definitely should be flagged is not the azimuth time interpolation uses 2 or 3 times. 2 times are used when the acquisition time occurs between two model times with a 5 minute buffer. Otherwise 3 times are used. That means simply looking at the number of times retrieved alone could lead to more unexpected behaviors.
Finally, paraphrasing from import this:
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.


Feature/issue 1272 gradient of hessian autodiff hpp

Summary:
Addresses #1272
Intended Effect:
Allows for automatic third order derivative tests, when implemented alongside a finite difference version of grad_hessian.
How to Verify:
Added a unit test to src/test/unit/agrad/autodiff_test.cpp that runs grad_hessian on a normal_log density and a third-order polynomial against an analytically calculated gradient of the Hessian calculation, as well as an analytically calculated Hessian versus the Hessian returned by grad_hessian.
$ ./runTests.py src/test/unit/agrad/autodiff_test.cpp

Side Effects:
None.
Documentation:
None in the manual. Added doxygen documentation to agrad::grad_hessian.
Reviewer Suggestions:
Any

@rtrangucci, can you remove tabs from the code? I haven't walked through the code yet, but cpplint spotted commas in the code.

Looks good. Let's get some of the cpplint warnings squashed before this gets in:
http://d1m1s1b1.stat.columbia.edu:8080/job/Stan Pull Request - CppLint/21/warnings10Result/new/
Most of it will be fixing spaces. Want help?

Sweet --- I'm glad to have some company as a style curmudgeon (or
OCD coder --- take your pick).

Bob

On Feb 9, 2015, at 11:40 AM, Daniel Lee<EMAIL_ADDRESS>wrote:
Looks good. Let's get some of the cpplint warnings squashed before this gets in:
http://d1m1s1b1.stat.columbia.edu:8080/job/Stan Pull Request - CppLint/21/warnings10Result/new/
Most of it will be fixing spaces. Want help?
—
Reply to this email directly or view it on GitHub.

Sure, help would be much appreciated. I may be reading the output wrong,
but it seems like cpplint objects to template instantiation without spaces
after commas: Eigen::Matrix<T,Eigen::Dynamic,1> for instance. Do we want to
move to Eigen::Matrix<T, Eigen::Dynamic, 1> ?
Rob
On Mon, Feb 9, 2015 at 11:50 AM, Bob Carpenter<EMAIL_ADDRESS>wrote:

Sweet --- I'm glad to have some company as a style curmudgeon (or
OCD coder --- take your pick).

Bob

On Feb 9, 2015, at 11:40 AM, Daniel Lee<EMAIL_ADDRESS>wrote:
Looks good. Let's get some of the cpplint warnings squashed before this
gets in:

http://d1m1s1b1.stat.columbia.edu:8080/job/Stan Pull Request - CppLint/21/warnings10Result/new/

Most of it will be fixing spaces. Want help?
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub
https://github.com/stan-dev/stan/pull/1276#issuecomment-73543735.

On Mon, Feb 9, 2015 at 12:25 PM, Rob Trangucci<EMAIL_ADDRESS>wrote:

Sure, help would be much appreciated. I may be reading the output wrong,
but it seems like cpplint objects to template instantiation without spaces
after commas: Eigen::Matrix<T,Eigen::Dynamic,1> for instance. Do we want to
move to Eigen::Matrix<T, Eigen::Dynamic, 1> ?

Yes.

@syclik cpplint should only throw 4 warnings now, 3 for lines over 80, and one for include what you use for a std::vector instantiation.
FYI, the vim search/replace regexs I used to fix the top three warnings:
%s/([^" "])==([^" "])/\1 == \2/gc  // whitespace/operators: no single spaces before and after "=="
%s/,([^" "])/, \1/gc  // whitespace/commas: no single space after a comma
%s/^ +\n/\r/gc  // whitespace/end_of_line: line ends in whitespace

@syclik I ripped all these patterns from grad_tr_mat_times_hessian, hessian, and hessian_times_vector, so let's fix all of them if they're wrong

@syclik the changes you suggested to hessian and grad_hessian from your code review increased the speed of the hessian operation by about 30% while the grad_hessian was sped up by about 50%.

Jenkins, retest this please.

I'll try to hunt it down later.
Does it work with your setup? Search for warnings in your output.
On Feb 11, 2015 10:41 AM, "Stan buildbot"<EMAIL_ADDRESS>wrote:

Refer to this link for build results (access rights to CI server needed):
http://d1m1s1b1.stat.columbia.edu:8080/job/Stan Pull Request/208/
Build Log
last 20 lines
[...truncated 4 lines...]

/usr/local/git/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
/usr/local/git/bin/git config remote.origin.url https://github.com/stan-dev/stan # timeout=10
Fetching upstream changes from https://github.com/stan-dev/stan
/usr/local/git/bin/git --version # timeout=10
/usr/local/git/bin/git -c core.askpass=true fetch --tags --progress https://github.com/stan-dev/stan +refs/pull/:refs/remotes/origin/pr/
/usr/local/git/bin/git rev-parse refs/remotes/origin/pr/1276/merge^{commit} # timeout=10
/usr/local/git/bin/git rev-parse refs/remotes/origin/origin/pr/1276/merge^{commit} # timeout=10
Checking out Revision 85ab531faabed66a5f9f96abd2612e8d42f7b20a (refs/remotes/origin/pr/1276/merge)
/usr/local/git/bin/git config core.sparsecheckout # timeout=10
/usr/local/git/bin/git checkout -f 85ab531faabed66a5f9f96abd2612e8d42f7b20a
First time build. Skipping changelog.
Starting build job Stan Pull Request - Doc - Doxygen.
Starting build job Stan Pull Request - Doc - Reference Manual.
Finished Build : #207 of Job : Stan Pull Request - Doc - Doxygen with status : FAILURE
Finished Build : #206 of Job : Stan Pull Request - Doc - Reference Manual with status : ABORTED
Build step 'MultiJob Phase' marked build as failure
Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
Setting status of c5c14d3cbb1612648fcde300606283379672a4f1 to FAILURE with url http://d1m1s1b1.stat.columbia.edu:8080/job/Stan Pull Request/208/ and message: Merged build finished.

Test FAILed.
—
Reply to this email directly or view it on GitHub
https://github.com/stan-dev/stan/pull/1276#issuecomment-73902330.

Doc should be all set.
Rob
On Wed, Feb 11, 2015 at 10:55 AM, Daniel Lee<EMAIL_ADDRESS>wrote:

I'll try to hunt it down later.
Does it work with your setup? Search for warnings in your output.
On Feb 11, 2015 10:41 AM, "Stan buildbot"<EMAIL_ADDRESS>wrote:

Refer to this link for build results (access rights to CI server needed):
http://d1m1s1b1.stat.columbia.edu:8080/job/Stan Pull Request/208/
Build Log
last 20 lines

[...truncated 4 lines...]

/usr/local/git/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
/usr/local/git/bin/git config remote.origin.url
https://github.com/stan-dev/stan # timeout=10
Fetching upstream changes from https://github.com/stan-dev/stan
/usr/local/git/bin/git --version # timeout=10
/usr/local/git/bin/git -c core.askpass=true fetch --tags --progress
https://github.com/stan-dev/stan +refs/pull/:refs/remotes/origin/pr/
/usr/local/git/bin/git rev-parse
refs/remotes/origin/pr/1276/merge^{commit} # timeout=10
/usr/local/git/bin/git rev-parse
refs/remotes/origin/origin/pr/1276/merge^{commit} # timeout=10
Checking out Revision 85ab531faabed66a5f9f96abd2612e8d42f7b20a
(refs/remotes/origin/pr/1276/merge)
/usr/local/git/bin/git config core.sparsecheckout # timeout=10
/usr/local/git/bin/git checkout -f
85ab531faabed66a5f9f96abd2612e8d42f7b20a
First time build. Skipping changelog.
Starting build job Stan Pull Request - Doc - Doxygen.
Starting build job Stan Pull Request - Doc - Reference Manual.
Finished Build : #207 of Job : Stan Pull Request - Doc - Doxygen with
status : FAILURE
Finished Build : #206 of Job : Stan Pull Request - Doc - Reference
Manual with status : ABORTED
Build step 'MultiJob Phase' marked build as failure
Warning: you have no plugins providing access control for builds, so
falling back to legacy behavior of permitting any downstream builds to be
triggered
Setting status of c5c14d3cbb1612648fcde300606283379672a4f1 to FAILURE
with url
http://d1m1s1b1.stat.columbia.edu:8080/job/Stan Pull Request/208/ and
message: Merged build finished.

Test FAILed.
—
Reply to this email directly or view it on GitHub
https://github.com/stan-dev/stan/pull/1276#issuecomment-73902330.

—
Reply to this email directly or view it on GitHub
https://github.com/stan-dev/stan/pull/1276#issuecomment-73905058.

Jenkins, retest this please.

Looks good. The last push I made wasn't substantive. We can merge once the tests come back passing.


Chnages to npm

Just done an install on a raspberry pi
Encounter errors with installing pm2.
Updated for workaround

Closing as this was not the issue.
I was installing on a raspberry pi and nodejs version was stuck on 6.
Will do an install script for rpi users as raspbian has js issues..
Will have another source for pushing data from a serial decoder.


install React DevTools for debug?

I've been trying to get React Devtools installed in the Carlo-launched Chrome instance without success. I have a fledgling React app running OK but would like to be able to use the React tools for debugging. Each time I try to install the extension it tells me 'Installation is not enabled'. The Extensions menu item is also greyed out.
This sounds like a permissions problem, so I tried adding --enable-remote-extensions in the args to Carlo.launch() but this didn't work. I also tried adding --load-extension=<path to react devtools> (from my default Chrome profile) but that didn't work either.
Anyone got this to work? Is there something inherent with Carlo/Puppeteer usage that make it impossible to install extensions?
Using Carlo 0.9.11, MacOS High Sierra, Node 10.8.0

Working from Puppeteer docs, this works if you add
--disable-extensions-except=<path to react devtools>
in addition to the --load-extension arg.


Don't add "santa hat" as it's really a coca-cola's santa and I like pepsi more

Knowing that my favourite editor is going with Coca-Cola's symbol would get me sick. It offends me that anyone dare to even mention Coca-Cola while we all know Pepsi is better. Merry Xmas.

Blue Santa all the way!

Thanks for creating this issue. We think this issue is unactionable or unrelated to the goals of this project. Please follow our issue reporting guidelines.
Happy Coding!


Draw Polygon. Error parse dot in number.

This is because my localized separator is comma. All works normally with it. Since Altium supports both separators it should be cool to make script "eat" both too.

I have solved it with
...
' Line thickness
' check locale
if( CStr(0.1) = "0,1" ) then
    EditLineThicknessMm.Text = (Replace(EditLineThicknessMm.Text,".",","))
end if
If Not IsPerfectlyNumeric(EditLineThicknessMm.Text) Then
...

Thanks for reporting this bug and presenting a solution! I will add it to the code soon.

Weird, I tried finding the exact reason why IsPerfectlyNumeric() function in Utils.vbs would be returning false, as all the tests inside that function are meant to be locale-aware (i.e. understand that you use a comma for the decimal separator).
I tried change my locale to something that uses a comma with SetLocale(3079) (this changes the locale to Austria), however I couldn't get the code to recognise the comma.
@sledgeh, would you be able to determine what part of the IsPerfectlyNumeric() function in Utils.vbs is returning false? There are three if statements in that function.

I will.

IsNumeric("1.2") returns false

IsNumeric("1.2") returns truefor me, presumably because my locale supports the period the. while yours supports the comma (,`).
However, this still supports the theory that the IsPerfectlyNumeric() function should work correctly for both locales. Would you be able to provide info on which part of IsPerfectlyNumeric() returns false for a number such as 1,2 (note that's a comma, not a period as you mentioned above) on your system.

which part of IsPerfectlyNumeric()...

I supposed my answer was clear.

IsNumeric("1.2") returns false

And since it is part of IsPerfectlyNumeric(), IsPerfectlyNumeric() returns false.
showmessage IsPerfectlyNumeric("1")          'true
showmessage IsPerfectlyNumeric("1.2")        'false
showmessage IsPerfectlyNumeric("1,2")        'true
showmessage IsNumeric("1.2")                 'false

What about my pull request? It provides valid fixes.


The DSG function deploys fail with a "larger than the maximum supported" error for high page counts.

Description of the issue
The DSG feature is handled by Functions that are created by this plugin. However, the plugin doesn't detect when the database files used will cause the deployed Function will exceed the limits at AWS:
https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
I believe MDB flat database files are used in these functions. (I could be wrong about this.) As these become too large the function size exceeds the Lambda limits and deploys will always fail.
Reproduction
Enable DSG for a large number of pages and then attempt to build and deploy at Netlify
The error in the build logs will be similar to this:
The function zip ../../../tmp/zisi-<hash>/__dsg.zip size is 199.9 MB, which is larger than the maximum supported size of 52.4 MB.

Expected behavior
Ideally, the plugin would detect this limit and create multiple functions and redirect rules. The redirect would send each DSG URL to the function with the database which can generate the page. It would automatically split the MDB files into many smaller files and create multiple functions. Each function would handle a subset of the total pages to keep the bundle size under the Lambda limit.
I realize that is a non-trivial feature request. However, besides creating more than one function, I can see no other solution for this plugin to automatically scale to an arbitrary large number of DSG pages. If you use a single function at some point the MDB file will exceed the limit.

Closing due to inactivity. If it is still an issue @overlordofmu , please re-open.


Side effect to blazor.server.js when run with WPE/COG browser on Raspberry Pi 4

🐛 Bug Report
We are running a Blazor application on the Raspberry Pi 4 (Bookworm). We access a Blazor page using the WPE/COG browser and display it in a full-screen (kiosk) via a Linux service.
We realize the WPE/COG browser display is not refreshing after the initial read.
When we examined the debug logs, we found the following error:
Cog-Core-Message: 18:57:58.326: <http://localhost:7012/> Loading...
Cog-Core-Message: 18:57:58.441: <http://localhost:7012/> Loaded successfully.
http://localhost:7012/_framework/blazor.server.js:1:149613: CONSOLE JS ERROR Unhandled Promise Rejection: TypeError: Illegal constructor

The kiosk works as expected when we comment out the FluentUI components and the reference to the NuGet packages in the project file.
So FluentUI is interacting with the Blazor JS file and causing a failure.
💻 Repro or Code Sample
Unfortunately, I cannot disclose any code due to copyright protection. I hope the above error message can help you solve the issue.
🤔 Expected Behavior
The Kiosk page should reflect any changes on the Blazor page.
😯 Current Behavior
It is not refreshing the page anymore after the initial content load. The debug logs reveal the following error:
Cog-Core-Message: 18:57:58.326: <http://localhost:7012/> Loading...
Cog-Core-Message: 18:57:58.441: <http://localhost:7012/> Loaded successfully.
http://localhost:7012/_framework/blazor.server.js:1:149613: CONSOLE JS ERROR Unhandled Promise Rejection: TypeError: Illegal constructor

💁 Possible Solution
I don't know the internals of FluentUI, but can it be that the original blazor.server.js file is replaced or overwritten?
🔦 Context
🌍 Your Environment

OS & Device: Raspberry Pi, Bookworm OS
Browser: WPE/COG/Wayland
.NET and Fluent UI Blazor library Version: [ 8.0.6 and 4.7.2]

Hi,
No, we do not replace the original blazor.server.js file. We hook into the Blazor startup events to inject scripts and styles. I'm assuming that is were things go wrong.
You say it works correctly when commenting out the Fluent packages, etc. But is Blazor still doing anything then?
As you can imagine, we do not have any testing capabilities lined up and ready to roll on a Pi with Bookworm, nor de we have capacity to set up something like that. Not really sure how we can help you with this.

You say it works correctly when commenting out the Fluent packages, etc. But is Blazor still doing anything then?
Yes, Blazor works correctly in both cases. I can confirm that by checking with my PC's Chrome browser.

As you can imagine, we do not have any testing capabilities lined up and ready to roll on a Pi with Bookworm, nor de we have capacity to set up something like that. Not really sure how we can help you with this.
I understand. Well, I am not sure if this can be replicated on a Linux machine.
Thanks anyway...

Yes, Blazor works correctly in both cases. I can confirm that by checking with my PC's Chrome browser.

How did you check? By connecting to the site on the PI?

How did you check? By connecting to the site on the PI?

Exactly

The funny thing is that even when we don't use any components from FluentUI (all commented out) and just leave the NuGet package active in the project file, it creates the same issue.

Like I said, we hook into the Blazor startup sequence. Just having the DLL in the bin folder is enough

@melihercan
Out of curiosity, have you tried using another browser?

@melihercan
Out of curiosity, have you tried using another browser?

I'm sorry for not getting back to you sooner. As I mentioned above, I have tried Chrome on my PC (Windows) and the default browser of the desktop PRi OS which is Firefox I guess.

@melihercan
Out of curiosity, have you tried using another browser?

I'm sorry for not getting back to you sooner. As I mentioned above, I have tried Chrome on my PC (Windows) and the default browser of the desktop PRi OS which is Firefox I guess.

Sorry, it's still unclear to me.  From the description above, I assumed that you have .net 8 Blazor application running on a Raspberry Pi 4 that is server rendered. This application is being accessed by a browser on the same Pi via a localhost connection.
My first instinct is to eliminate the WPE/COG browser as a factor. Open a port on the Raspberry Pi and attempt to access the application from a PC or MAC with Chrome, Edge, Firefox, or Safari. From your last statement above, it appears that is what you did. Were these tests successful?

Sorry, it's still unclear to me. From the description above, I assumed that you have .net 8 Blazor application running on a Raspberry Pi 4 that is server rendered. This application is being accessed by a browser on the same Pi via a localhost connection.

Correct

My first instinct is to eliminate the WPE/COG browser as a factor. Open a port on the Raspberry Pi and attempt to access the application from a PC or MAC with Chrome, Edge, Firefox, or Safari. From your last statement above, it appears that is what you did. Were these tests successful?

Yes, they were all successful. It is only the WPE/COG browser that is failing.

Then it seams to be an issue in that browser and not necissarily in the library.
As it is a very hard issue to replicate (for us), I don't think we will be able to do anything with it in a short term.
I'm sorry we can't help with this but I don't think we need to keep this issue open. Agreed?

As a side note, the other two UI frameworks, AntDesign and Radzen work without any issues.

Yes, but with those you probably have to add scripts and stylesheets manually to make them work. We do that for you and my guess is that is where the issue originates from.

@melihercan
This issue has piqued my interest 😄. Your results confirmed my suspicion that the issue was likely due to some interaction in the WPE/COG browser.
If you have the time or interest, you could build the fluentui-blazor library locally. There is a server version of the demo site included. Attempt to connect to that from the WPE/COG browser from the Raspberry Pi. A quicker test would be to point the browser at www.fluentui-blazor.net but that is the web assembly version and is not be representative of your application.
The rationale for this additional test is to see if the issue is specifically due to fluentui-blazor working in the WPE/COG browser. If there is an issue, isolating the issue would be much easier.

Sure, I will give it a shot when I find some time and provide feedback here.


What's the roadmap?

First of all, thanks so much for all the work you already put into this. I have been tentatively working with your package and think this is very promising. I am sure many people would be very happy to have a Ranges package of this quality in their python toolbox. I have two questions:

Is there any roadmap? Can you give any estimate when you'll get to work on this package again and if and when you would recommend starting to use this package? Btw, I am already (test-)using the package with some success.
Would you be interested in some pull requests, or do you still want to experiment with the package design and it's too early for outside contributions?

Thanks!

Thanks for trying my package. What you see is a first draft. It is already as fast and memory-efficient as R GRanges, which is promising.

I just finished SICER2, which is the first paper I hope to publish, so I'll start on pyranges again soon. Like within two weeks. PyRanges is the project of mine I like the most and my top priority and I hope to publish a paper on PyRanges within six months.

Ideas and discussion here in the issues would be more interesting. Did you have any particular ideas in mind?
I'm restarting work on PyRanges by rewriting and merging the underlying libraries (NCLS, sorted_nearest, and potentially PyRles) in C++/Cython. This means there is a good risk that PRs will be scrapped due to huge rewrites.
For pull requests I would be more interested in stuff I have been unable to achieve. The number one thing I would like to do is parallelize many of the underlying algorithms. I have been able to do this in Python, but it is very inefficient: the speedup is not very high. I will be able to achieve good parallelization in C++ though.

Very good news, I am happy to hear it! I also read your note on biostars, and already expected that you wouldn't benefit too much from 'python-level' contributions at the moment. I'll gather notes if I miss some functionality while I use pyranges and get back to you if I think I have some use cases that may also be interesting for others!

I am also working on a GenomicFeatures-library alongside.
One problem with pure-Python contributions is that the code can be very slow for large datasets.

One thing I have been wondering about is what to do in case the range is too wide to display properly. I guess truncating the columns Chromosome Strand Start End to Position in the display and only have one column in the displayed output like
Position
chr1:100-200:+

without changing the underlying data would be an improvement.
But this is something that should be able to change in the settings.
In case it is still too wide, I guess I will have to remove a few columns and just display ... instead.

Since the future release of Pandas2 based on PyArrow will make it necessary to update PyRanges I have decided to not do any change to the underlying library now.
I would appreciate suggestions for a roadmap.

faster bam reading
implement k-next (like bedtools k-closest)
lots of small stuff to fix, I am sure. What they are, I have no idea.


asteroid collision problem sol

please review it again.

The question.md file is still empty

Do look into this


Support for hierarchy (recursive population)

Hi,
Is it possible to request deepPopulate of children and children children until whole tree is loaded?
Thanks

Sorry, it's not possible right now. Pull request is welcome though.

This should cause infinite loop, I think.

It could cause an infinite loop, but you could also supply a cut-off depth...

Closing this right now. Sort of an edge case, which can be handled in user-land. If there's a PR that is generic enough, I'll gladly accept.


Geoquery distance should change with zoom level

Currently, it's fixed to 2000km - https://github.com/appbaseio/Now/blob/master/src/data-controller.js#L63.

2000km is the distance for the min zoom(2). And it will also work for the max zoom level (15). Why to make it dynamic?

Earlier the results were capped to return only 10 hits. I changed it to 50.
The more the distance, the more results will match (I have seen 200+). Yet,
since you only display a partial number of them on the map, it gives the
illusion that other check-ins didn't take place.
An example: Search for Mumbai in the city box and you will see about 8-10
checkins - https://i.imgur.com/6oHnBBU.png. Now refresh and zoom in the map
(level 6 or 7) with Mumbai as the rough center and you will only see 1-2
checkins in the area - https://i.imgur.com/TFfujDi.png.
One solution is to return the 50 results sorted by distance from the map
center. That would be much better from the accuracy standpoint.
On Mon, Nov 2, 2015 at 4:28 AM, Rishi<EMAIL_ADDRESS>wrote:

2000km is the distance for the min zoom(2). And it will also work for the
max zoom level (15). Why to make it dynamic?
—
Reply to this email directly or view it on GitHub
https://github.com/appbaseio/Now/issues/1#issuecomment-153002649.

I did the necessary changes you can look at it in gh-pages branch.


SAM-2891: Extra Margin in True False questions

The input style is only required for multiple choices questions.

LGTM


Ignore angle bracket

Describe the bug
The plugin tries to convert all the Kubernetes object that can contain <>. Not only the ones with the right annotations.
To Reproduce
I have a CRD in my YAML.
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  labels:
    app.kubernetes.io/name: applications.argoproj.io
    app.kubernetes.io/part-of: argocd
  name: applications.argoproj.io
spec:
  group: argoproj.io
  names:
    kind: Application
    listKind: ApplicationList
    plural: applications
    shortNames:
    - app
    - apps
    singular: application
  scope: Namespaced
  versions:
  - additionalPrinterColumns:
    - jsonPath: .status.sync.status
      name: Sync Status
      type: string
    - jsonPath: .status.health.status
      name: Health Status
      type: string
    - jsonPath: .status.sync.revision
      name: Revision
      priority: 10
      type: string
    name: v1alpha1
    schema:
      openAPIV3Schema:
        description: Application is a <definition> of Application resource.

At the end of the YAML there is <definition> . The plugin tries to translate it.
Expected behavior
I'd expect the script to avoid to parse it. The problem is that the CRD is together with other K8s object that instead contain vault keys.
With stable version the output is:
URL: GET https://MY_VAULT_URL/v1/customresourcedefinition
With 1.0.0 version the output is better:
Error: Replace: could not replace all placeholders in Template: [replaceString: missing Vault value for placeholder definition in string description: Application is a <definition> of Application resource.]
I'm using the plugin together with kustomize and I need to patch ArgoCD, so I run it like this:
XDG_CONFIG_HOME=$PWD && kustomize build --enable_alpha_plugins . > all.yaml && argocd-vault-plugin generate all.yaml -s vault-configuration

@antonionappi88 you can use the avp_ignore: "true" annotation to tell the plugin not to try and process the the file. https://github.com/IBM/argocd-vault-plugin#full-list-of-supported-annotation
For example, you can have a patch:
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    avp_ignore: "true"
  name: applications.argoproj.io

and then include that patch in your kustomization.yaml:
patchesStrategicMerge:
- application-crd.yaml

@werne2j , thanks for your reply :)
I completely missed that part of docs...
Thanks!


Add Syntax Highlighting for Snippets

Use Code Mirror lib on code editor component that will display docker file and shell test code
This connects to #20

👍


Pin to NumPy <3

This change is as discussed between @j-towns, @fjosw, and me; and subsequently posted publicly in https://github.com/HIPS/autograd/pull/643#issuecomment-2414374600. Pinning to NumPy <= 2.3 would also be an ideal option, but we have opted for a more relaxed pin to NumPy <3, owing to the fact that we have limited availability to add new features and hence fewer chances of anything major breaking.
This change should be merged after #643, and has been split from it because it is not directly related to the proposition of adding tests against nightly dependencies.

Thanks for taking a look, Fabian!


Fix iOS imports on RN0.40+ and replace UIWebview with WkWebview

No more deprecated webview on iOS and let people use webviewbridge API with RN 0.40+

I'm trying to load a local HTML file (via require function) in the WebView. It works, however the resources from the file (JavaScript, images, etc) don't show up, even when using relative paths.
The strange thing is that everything works in the emulator (images are shown) but not on my device... do you have any clue as to what can be wrong?


Remove excess loader.validate() call, which throw "Unhandled rejection" exception

Coverage remained the same at 51.38% when pulling f0687602494017939457e40923f85db508cc3e0f on fix-load-test into 45508157dadf71f2457c73d64f7469dcfe651f61 on master.

Coverage remained the same at 51.38% when pulling f0687602494017939457e40923f85db508cc3e0f on fix-load-test into 45508157dadf71f2457c73d64f7469dcfe651f61 on master.

Thanks, @aivus  :)


Create GitHub action build pipeline

Let's move the build pipeline to GitHub actions. We need to convert the https://github.com/ivanpaulovich/clean-architecture-manga/blob/master/azure-pipelines.yml to the equivalent GitHub Actions.

Included on https://github.com/ivanpaulovich/clean-architecture-manga/pull/220


Button is not fully responsive in IE

Does not expand to fit available width

Oh no wait, works perfectly. IE was just caching a really old version of the script. Sigh.


Moving SameStringsConstraint to autoload files

Moving SameStringsConstraint.php file to autoload files, since it causes tests to fail.
https://getcomposer.org/doc/04-schema.md#classmap
This map is built by scanning for **classes** in all .php and .inc files in the given directories/files.

Since there aren't any classes defined in the file, making custom fixers and trying to run tests causes them to fail.

Sorry for late answer, but I wanted to double check this PR, and that was a good call.
First of all, I do agree that we have fucked up "dev" related classes exposed in src, those classes are needed only for development purposes like yours, and sadly those classes needs PHPUnit as dependency. Yet, for regular user, he doesn't need PHPUnit at all to run PHP CS Fixer. For that, it's not a requirement in our composer.json file (only dev-req).  Ultimate solution is to create dedicated package with all dev-related files.
Sadly, your proposal will break the installation for users who don't need PHPUnit:
(note: I checked out to your changes before executing the following test)
ker@dus:/tmp/xxx λ cat composer.json
{
    "repositories": [
        {
            "type": "path",
            "url": "~/github/PHP-CS-Fixer"
        }
    ],
    "require": {
        "friendsofphp/php-cs-fixer": "*@dev"
    },
    "config": {
        "optimize-autoloader": true
    }
}
ker@dus:/tmp/xxx λ composer install -q
ker@dus:/tmp/xxx λ php vendor/autoload.php
PHP Warning:  Class 'PHPUnit_Runner_Version' not found in /home/keradus/github/PHP-CS-Fixer/tests/Test/Constraint/SameStringsConstraint.php on line 16
PHP Fatal error:  Uncaught Error: Class 'PHPUnit\Runner\Version' not found in /home/keradus/github/PHP-CS-Fixer/tests/Test/Constraint/SameStringsConstraint.php:19
Stack trace:
#0 /tmp/xxx/vendor/composer/autoload_real.php(66): require()
#1 /tmp/xxx/vendor/composer/autoload_real.php(56): composerRequireb4c3e05ccb886ff01a06ba144e3efcb5('fb17371873febc4...', '/tmp/xxx/vendor...')
#2 /tmp/xxx/vendor/autoload.php(7): ComposerAutoloaderInitb4c3e05ccb886ff01a06ba144e3efcb5::getLoader()
#3 {main}
  thrown in /home/keradus/github/PHP-CS-Fixer/tests/Test/Constraint/SameStringsConstraint.php on line 19

could you take a look? #3645

#3645 seems to have fixed the issues.

for that, I'm closing this PR. Thanks for bringing the topic and verify the fix


[SPARK-16727][SparkR] Fix expected test output of describe and summary functions

What changes were proposed in this pull request?
Fix expected test output of describe and summary functions. String columns are not summarized in the output.
How was this patch tested?
SparkR unit test.

Test build #62852 has started for PR 14357 at commit f7d02ce.

@junyangq Any idea how the tests were passing on Jenkins before this fix ?

I think this is related to https://github.com/apache/spark/commit/142df4834bc33dc7b84b626c6ee3508ab1abe015
cc @dongjoon-hyun

Test build #62852 has finished for PR 14357 at commit f7d02ce.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/62852/
Test PASSed.

Merged build finished. Test PASSed.

Hi, @shivaram.
Sorry, but what is the problem?

String columns works for min and max summarization.

@shivaram I'm also curious...The issue arised when I ran the test locally.

> collect(describe(read.json('examples/src/main/resources/people.json')))
  summary                age    name
1   count                  2       3
2    mean               24.5    <NA>
3  stddev 7.7781745930520225    <NA>
4     min                 19    Andy
5     max                 30 Michael

In fact, count, min, and max is supported officially for Scala/Python/R.

Hi, @junyangq .
Could you give me some pointer to understand the current context? :)

@dongjoon-hyun That makes sense. That's why I feel confused about the output on my local machine...
> collect(describe(read.json('examples/src/main/resources/people.json')))   summary                age                                                     1   count                  2 2    mean               24.5 3  stddev 7.7781745930520225 4     min                 19 5     max                 30

I see. Which version is it?

I see. That seems 2.0 branch.

Hi, @shivaram .
It's due to the branch difference.
The PR is merged to the master only 17 days ago.

Thanks - merging in master.

I think I ran the test under the master branch though... Let me double check :)

Thank you, @junyangq .

I merged the most recent master branch, rebuilt and installed the package, but the test failed at the same place. @dongjoon-hyun

Oh, let me try this time. Thank you for double-checking, @junyangq .

@junyangq . Currently, you are at the most recent master build, right?
And, SparkR does not show the name column as a result of describe command.
I'm wondering the result of spark-shell on your systems. Could you run the following command in spark-shell?
scala> spark.read.json("examples/src/main/resources/people.json").describe().show()

Hmm... It doesn't show the name column either.

At the most recent master build, I did the following things and all tests are passed.
$ git clean -fdx
$ ./build/sbt -Pyarn -Phadoop-2.3 -Pkinesis-asl -Phive-thriftserver -Phive -Psparkr package streaming-kafka-0-8-assembly/assembly streaming-flume-assembly/assembly streaming-kinesis-asl-assembly/assembly
$ R/install-dev.sh
$ R/run-tests.sh
...
DONE ===========================================================================
Tests passed.

I think you did something wrong. :)
Could you close this PR?

Actually, you can see the Jenkins log, too. There is no problem with the current R testsuite.
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/62858/consoleFull
FYI, I'm using JDK 1.8.0_102 and Jenkins is using JDK 1.7.x.

Yeah sure, but just wondering if the clean and additional arguments something we should normally do?

Never. I did that in order to make it sure. I don't do it frequently.

If you use -fdx, it removes IDE like Intellij settings, too.

I see. Thank you for pointing that out :) I'll close the PR.

It's my pleasure. See you later around Apache Spark. :)


python310Packages.weconnect: 0.45.1 -> 0.46.0, python310Packages.weconnect-mqtt: 0.38.2 -> 0.38.3

Description of changes
https://github.com/tillsteinbach/WeConnect-python/releases/tag/v0.46.0

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 185112 run on x86_64-linux 1

4 packages built:

python310Packages.weconnect
python310Packages.weconnect-mqtt
python39Packages.weconnect
python39Packages.weconnect-mqtt


[terra-base] Directly include packaged themes.

Summary

This pr updates terra-base to directly include packaged themes.
Apart of #3017

Thank you for contributing to Terra.
@cerner/terra

@pranav300 the changes here look good, but do we know why wdio is failing?


Tapped On Pie Chart

Hi guys, how can I implement tap function on pie chart? is there a delegate for it. Thank you.

I have solved my problem, there is userClickedOnPieIndexItem on PNChartDelegate but I didn't noticed it at first. hahaha. thank you for this great library. :+1:


Add support for CMake

If you would like to use it, here is a cmake build implementation.  It is annoying to add another dependency, but cmake is sort-of the leader in the C++ build space so people should have it.
I am getting a slightly large .so.  Based on output from nm, I believe both libs have the same symbols.   So my guess is that because cmake is doing an incremental build, whereas the Makefile passes all .cpp in together, it is getting a little better optimization.  I threw in LTO support, but that still doesn't get the size below what the Makefile generates.  If you want to check the flags being used for the build, you can do "make VERBOSE=1".

Uses c++ to build libuWS library as well as the tests.
Basic Usage (Linux Makefiles):
$ mkdir build  # out-of-source builds are encouraged
$ cd build/
$ cmake ..
$ make -j
$ make install
Windows Project Generation:
$ mkdir build
$ cd build/
$ cmake -G "Visual Studio Visual Studio 15 2017 Win64" ..
XCode Project Generation:
$ mkdir build
$ cd build/
$ cmake -G "Xcode" ..
Other generators are listed here: https://cmake.org/cmake/help/latest/manual/cmake-generators.7.html.
REVISIT: On Linux, switch to Ninja as default?
Other options:
+CMAKE_BUILD_TYPE={Debug, Release, MinSizeRel}
+BUILD_SHARED_LIBS={ON,OFF}
+USE_LTO={ON,OFF}
e.g. $ cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF -DUSE_LTO=ON ..

clang 3.8 is complaining about the "-s" strip flag, so it only gets
added if the compiler is gcc.
TODO: check on strip support on Windows
TODO: setup cpack and ctest
Note: I do not have access to OS X to test, but cmake should just
work.

Never mind, I missed that you already said you don't want cmake.

but cmake is sort-of the leader in the C++ build space so people should have it.

I know people who will have a fist fight with you over what build system is best. That's why I refuse to have any other than the most basic one that has been there for 30 years now and still does the job. Even when this project had CMake (oh yes it did have) people HATED IT and IT was the most PR:ed piece of the entire project. You see my view now?


targeted updating feature for objects

an idea for targeted updating for meteor.objects -- this can be handy if i don't want the whole object to get overridden. for example, if i use collection2 autoValues, i might not want to trigger those every time i update the object -- or if i use collectionhooks after an update, etc.

@srtucker22 can you link to an example?

@srtucker22 I want to merge it but want to see a simple scenario first and also update to docs so people will know how to use it.
And thank you so much!

No problem. Here's a short example:
    Parties = new Mongo.Collection("parties");

    var Schema = {};

    Schema.Party = new SimpleSchema({
      name: {
        type: String,
        label: "name",
      },
      description: {
        type: String,
        label: "description"
      },
      nameModified: {
        type: Date,
        autoValue: function() {
          if (this.field("name").isSet) {
            return new Date();
          }
        },
        denyInsert: true,
        optional: true
      }
    });

    Parties.attachSchema(Schema.Party);

    if (Meteor.isClient) {

      angular.module('app',['angular-meteor']);

      angular.module("app").controller("PartiesListCtrl", ['$scope', '$meteor',
        function($scope, $meteor){

          // will only edit the description
          $scope.editDescriptionOnly = function(party){
            var p = $meteor.object(Parties, party._id, false);
            p.save({description: party.description});
          };

          // will edit the whole object and change nameModified
          $scope.fullUpdate = function(party){
            var p = $meteor.object(Parties, party._id, false);
            p.description = party.description;
            p.save();
          };

        }]);
    }

If you call editDescriptionOnly, you won't $set every field when you update. In this case, if you just call party.save() you would trigger autoValue from collection2 that is supposed to only track when the name is modified.
An alternative to my approach might be to:

track all changes on a $meteor.object
$set the diff between the db instance and the current object. this would require an extra call to the server findOne(obj._id) and finding a deep diff between the two objects

Both of those options seem overly computationally expensive to me for most cases.
If you like the change, I can update the docs too :)

Yes I like it :)
here is a link to the docs - https://github.com/Urigo/angular-meteor/blob/master/.docs/angular-meteor/client/views/api/api.meteorObject.html

Waiting for your docs update to merge.
Great job and thank you so much!

Happy to edit my commit as necessary. I noticed the link to AngularMeteorObject on http://angularjs.meteor.com/api/meteorObject led to AngularMeteorCollection, so I copied the format and applied to a new AngularMeteorObject page (and added it to the nav).

@fredrikekelund can you have a look?  you've done something similar in our collection

@srtucker22 great job, looking at it now

@srtucker22 can you merge with the latest changes so I can merge?

@srtucker22 what's your Twitter handle (for the new version announcement)?

@simonrtucker https://twitter.com/simonrtucker !
Simon Tucker
Cell:<PHONE_NUMBER>
LinkedIn http://www.linkedin.com/in/simonrtucker | Twitter
https://twitter.com/simonrtucker
On Mon, Mar 23, 2015 at 2:54 AM, Uri Goldshtein<EMAIL_ADDRESS>wrote:

@srtucker22 https://github.com/srtucker22 what's your Twitter handle
(for the new version announcement)?
—
Reply to this email directly or view it on GitHub
https://github.com/Urigo/angular-meteor/pull/228#issuecomment-84868761.


Update GHZ game

Fixes #4
this PR updates

the GHZ Game notebook so it can be run with Qiskit 1.2 and also updates an outdated link
the GHZ Game python file so it can run with Qiskit 1.2

GHZ-Game JupyterLab file Suggested amendments: Errors on Cell 4, 16, 17, 18, 22, 26, 31, 32, 35, 37, 39, 41, 43, 46, 48, 50, 56, 58, 60

@oyin-bee what are some of these errors you are seeing? did you also have the GHZGame/ghzGame.py downloaded before running through this notebook?

ghzGame.py Unable to view python file on laptop.

this file is used by the notebook so if you are able to run the notebooks successfully then it means this should be OK too.


[Error]: ## ERROR parseLaunchfileSetParameter(): Tag-Value setting not valid.

Good morning,
I have a problem opening Sick LMS4000 laser: SickScanApiInitByCli return 0, but I think there's a problem parsing the xml file.
(The xml file is ok because I tested it using the original example and it works well).
I attach the solution.
Could you help me?
Thank you
Maurizio
cpp.zip

Thanks for your feedback! We could reproduce that error. The arguments provided by argv are allocated on the stack and immediately freed after SickScanApiInitByCli, but still used for parsing in the background. We will correct this behaviour by creating a deep copy of the argv arguments and provide an update.
In the meantime, please replace argv in your file laserSick.cpp line 141 by a static variable:
           static char* argv[2];
This way the memory in argv remains intact until the lidar is completely initialized.


Normal Style triggering UserWarning regarding Style Lookup by Style_id

When I create a document in my code, I use the 'Normal' Style as seen on word and tweak it to the fonts I need.  So my code ends up looking like this with doc already a docx.Document object:
    def create_document(self, combobox):
        doc = self.doc
        style = doc.styles['Normal']
        font = style.font
        font.name = 'Arial'
        font.size = Pt(9)

The program runs properly, however I get the Warning:
C:\Users\XXXXX\Certificate_Generator\venv\lib\site-packages\docx\styles\styles.py:139: UserWarning: style lookup by style_id is deprecated. Use style name as key instead.
  return self._get_style_id_from_style(self[style_name], style_type)

From what other people have written on Stack Overflow and etc, the fix is a space in between words, however for obvious reasons, you can't do that with Normal Style.
Maybe I'm doing something silly or wrong, but messing with the code above to fix the depreciation warning ends pretty badly.

Hmm, this might be indicating something different. Try running this against your document to see what style names are present:
print([style.name for style in document.styles])

I'm betting "Normal" is not in that list because otherwise it would be returned without that warning. Let us know what you get there and we'll diagnose further from there. Could be you recognize it with different case or in a different language in that list.

Here's my output:
['Normal', 'Default Paragraph Font', 'Normal Table', 'No List', 'Header', 'Header Char', 'Footer', 'Footer Char', 'Quote', 'Quote Char', 'Table Grid']

Hmm, that is a mystery. What do you get for this?
for style in document.styles:
    if style.name = "Normal":
        print("style._element.xml == \n%s" % style._element.xml)

Output:
style._element.xml ==
<w:style xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml" xmlns:w16cid="http://schemas.microsoft.com/office/word/2016/wordml/cid" xmlns:w16se="http://schemas.microsoft.com/office/word/2015/wordml/symex" w:type="paragraph" w:default="1" w:styleId="Normal">
  <w:name w:val="Normal"/>
  <w:qFormat/>
</w:style>

Hmm, something different than the obvious is happening here. The error is raised in a call to Styles._get_style_id_from_style() which is not called by document.styles["Normal"]. I'm going to need you to create a minimum reproducible example with a document and identify exactly which line the error is raised on and provide the full stack trace. Minimal here means remove everything after the offending call and everything you can before it while still triggering the error.
For starters, I don't think you'll see that error if you just call style = doc.styles['Normal'] without any of the font lines below it. I can't see how that would get through the initial test/guard here: https://github.com/python-openxml/python-docx/blob/master/docx/styles/styles.py#L40-L42

So I was doing more investigative research into the program, and I found the culprit.  It seems that I forgot about the Table Styles in an obscure section of the program which was tripping the error.
I feel pretty dumb for missing that, but maybe there could be a pointer to where a depreciated style is?


Templating queries to avoid view inefficiencies

Totally new idea, not sure if this is worth pursuing:
select_customer.sql
select
  first_name,
  last_name,
  gender,
  id_customer,
  customer_type.name as name_customer_type

from customer

inner join customer_type
using(id_customer_type)

get_male_customers.sql
{select_customer}
where
  gender = "m"

Your thoughts, @j4m3s?

This is an example syntax of a view to achieve the same thing:
view_customer.sql
create view view_customer as
select
  first_name,
  last_name,
  gender,
  id_customer,
  customer_type.name as name_customer_type

from customer

inner join customer_type
using(id_customer_type)

get_male_customers.sql
select  * from view_customer
where
  gender = "m"

A View is the database solution to this problem of DRY/ query re-use.  You wouldn't contemplate using templates like this in a php function, to avoid needing to cut & paste php code - you'd break it out into a function you can call from multiple places.  Views are the db equivalent.  (Views & SProcs).
Now, that said... I do cut & paste sql code from one file to another, keeping a master version of each snippet in a separate file somewhere.  I do it because the MySQL query cache doesn't like Views.  But in the cold hard light of day I bet I'm killing code maintenance for want of a millisecond or two here and there.

After testing the performance of concatenation/templating vs. views, the outcome is that views can be extremely slow compared to the copy-paste method or what would be introduced in this feature. Therefore my preference is to add this as a feature, but v2 (otherwise nothing will ever get completed!)
This repository introduces the organisation helper of QueryCollections, which would also be a nice way of organising the template files.
For example, the customer query collection can have a _get.sql, which can be included in getById.sql and getByName.sql using {get} syntax or @include get or whatever syntax we decide upon. Cross-collection templating can be done with {otherCollection/get} for instance.

Template queries should be stored in src/query/collection/_template to match the way pages are templated.

The functionality exposed in #124 surmounts the issues this idea faced. No solid ideas have been defined for template queries, so I am closing this issue with the intention of following on in #124.


Minor GUI bug - resizing main window "unhides" the hidden sidebar

Hi, Fen.
I've found a minor GUI bug:

Hide the sidebar - click the toggle sidebar visibility button or drag the vertical splitter to the far right.
Make the main window wider.
What happens: the sidebar slowly creeps out to view, when dragged close to the right edge the splitter doesn't snap to it.
What's expected: the sidebar stays hidden and the splitter should snap to the right edge when dragged close to it.

Check attatched screen capture.
Cheers.
https://user-images.githubusercontent.com/46164484/112237246-90342a00-8c42-11eb-88a3-c11b72b86620.mp4

Bizarre. I'll take a look at it.

Fixed. We're doing the collapse in a "manual" way due to how our layout has to work, so it wasn't accounting for resizing.


Withdraw rewards

This is draft PR for #34:
meta-stacking:

withdraw_delegator_reward - can be called by anyone to distribute rewards from validator, store rewards by validator
withdraw_to_consumer - called by anyone to send accumulated rewards to consumer.

mesh-consumer:

execute_receive_rewards - sends received funds over IBC to provider

mesh-provider:

receive_rewards - gets msg from consumer that we sent funds with a list of rewards per validator, calculate rewards per user, and enter rewards into rewards map.
execute_claim_rewards - sends funds to the sender.

Still missing:

[x] send funds from mesh-consumer to mesh-provider
[x] WithdrawRewards from mesh-provider
[ ] ts-relayer integration tests.

Reward calculation could become pretty costly with this design. I have some ideas on making it efficient. Maybe we can push this branch to CosmWasm origin and I can open a PR with the better design targeted to this @JakeHartnell?

Reward calculation could become pretty costly with this design. I have some ideas for making it efficient. Maybe we can push this branch to CosmWasm origin and I can open a PR with the better design targeted to this @JakeHartnell?

Reward calculation is a HUGE problem, could really use some solid examples or libraries for it. This is still a PoC, we will certainly have to optimize the reward section.

This is my try as a noobie, would love to see a better implementation to learn from! @orkunkl
Also im stuck on how to send the Ibc coins from provider to the user, or at least query provider balance to at least make sure the transfer is successful.

I have not yet reviewed. Will try later today.
But if all logic is fine minus the reward calculation being utterly inefficient, I am fine to merge and then add the reward calculation later (or just remove the distribution here)
In terms of lazy distribution of tokens, I can recommend the approach we did in wynd dao that does one write on distribution, one on withdrawal, and one extra write each time a staked updates their shares.
I have not looked at the dao-dao distribution logic, but maybe that makes sense as well. However, the wynd dao logic is designed to handle discrete payment events triggered externally, which I think is more fitting here.
(NB: we may have to have one different update per validator if we assume each has a different payout. Simplest, but wrong, is to group all rewards from all validators and distribute them equally over stake)

But if all logic is fine minus the reward calculation being utterly inefficient, I am fine to merge and then add the reward calculation later (or just remove the distribution here)

Can make a ticket for this, but don't think it should be a blocker on merge. Will be nicer to review that as a separate PR.

Can make a ticket for this, but don't think it should be a blocker on merge. Will be nicer to review that as a separate PR.

Agree completely.