Documentation on hosting in multiple servers

Hi,
Can you provide more details on the steps in config.js file to connect the master and slave nodes in different hosts.
The parameters
API_HOST = '<IP_ADDRESS>'
LISTEN_HOST = ::
are confusing while configuring the server in multi host environment.

Thanks, this is my mistake. I have removed LISTEN_HOST env

Thanks for the response.
Let me elaborate more on the config file so that it may help others who is looking for the same kind of solution.
I am running the applicaiton/ master from 3 different machines in same network.

masterserver <IP_ADDRESS>
Slave Producer <IP_ADDRESS>
Slave consumer <IP_ADDRESS>

and in config of master server has the
PORT = 3000
API_HOST = '<IP_ADDRESS>' // in this case which IP address do I need to mention.
As per my understanding  I can run the applicaiton in 3 different hosts/machine as long as they are in  the same local network.

So, I understand you  confusion. I have changed API_HOST to LISTEN_HOST
And, you can run master server,  slave Producer, slave consumer in different hosts/machines. In your case:

master server <IP_ADDRESS> => LISTEN_HOST = '<IP_ADDRESS>'
Slave Producer <IP_ADDRESS> => LISTEN_HOST = '<IP_ADDRESS>'
Slave consumer <IP_ADDRESS> => LISTEN_HOST = '<IP_ADDRESS>'

"msg":"fetch is not defined"

Do you run npm run install in examples/rooms/

I did
npm install
npm run buil
sudo npm start.
I am accesing the applicaiton from http://ip:3000

Does content of file dist/run_master.js have import 'node-fetch';

Yes it has.
port 'node-fetch';
import apiRouters from './apis/master.js';
import { startServer } from './utils/index.js';
startServer(apiRouters);
//# sourceMappingURL=run_master.js.map
Using node v16.20.1 npm 8.19.4 in ubuntu 20.04 AWS Ec2 instance.

You should remove node_modules folder and package-lock.json. Then reinstall mediasoup cluster with npm ic

Still same.
I am getting this below log in UI
POST http://IP:3000/api/rooms 500 (Internal Server Error)
====================================
Failed to proxy http://localhost:3010/rooms Error: connect ECONNREFUSED <IP_ADDRESS>:3010
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '<IP_ADDRESS>',
port: 3010
}
Error: connect ECONNREFUSED <IP_ADDRESS>:3010
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '<IP_ADDRESS>',
port: 3010
}
=========================================================

Added.
async rewrites() {
return [
{
source: '/api/:path*',
destination: 'http://[PUBLIC_MASTER_IP]:3010/:path*',
},
];
},
Cleared localcache from browser.
still getting page-e0c2a778d0d27552.js:1     POST http://IP:3000/api/rooms 500 (Internal Server Error).
In master server .env
LISTEN_HOST = '<IP_ADDRESS>' ==> if i give PUBLIC ACCESS IP then getting error

Do you try to fix error fetch is not defined

You should remove node_modules folder and package-lock.json. Then reinstall mediasoup cluster with npm ic

I did reinstalling the node_modules and package-lock.json.
Still facing the same issue.
Can you update the .env sample file once for a 3 host cluster.
I will redploy once again and update you.

Your error is caused by npm installation, not involved in .env file.
You should fix error fetch is not defined first

Upgraded the node version to 18 and node-fetch error resolved.
Now I am getting port bind failed error.
======================
{"statusCode":500,"error":"Internal Server Error","message":"port bind failed due to address not available [transport:udp, ip:'<IP_ADDRESS>', port:24723, attempt:1/20001] [method:router.createWebRtcTransport]"}
following is the .env of servers,
master server  //do we need  MEDIASOUP_WEBRTC_TRANSPORT_LISTEN_IPS  in this server as it is master http server??
LISTEN_HOST = '<IP_ADDRESS>'
MEDIASOUP_WEBRTC_TRANSPORT_LISTEN_IPS = '[{      "ip": "<IP_ADDRESS>",      "announcedIp": "54.xx.xx.yy"   },   {      "ip": "<IP_ADDRESS>",      "announcedIp": "52.xx.xx.yy"   }]'
in consumer server
LISTEN_HOST = '<IP_ADDRESS>'
MEDIASOUP_WEBRTC_TRANSPORT_LISTEN_IPS = '[{      "ip": "<IP_ADDRESS>",      "announcedIp": "54.xx.xx.yy"   },   {      "ip": "<IP_ADDRESS>",      "announcedIp": "52.xx.xx.yy"   }]'
in producer server
LISTEN_HOST = '<IP_ADDRESS>'
MEDIASOUP_WEBRTC_TRANSPORT_LISTEN_IPS = '[{      "ip": "<IP_ADDRESS>",      "announcedIp": "54.xx.xx.yy"   },   {      "ip": "<IP_ADDRESS>",      "announcedIp": "52.xx.xx.yy"   }]'

You don't need set MEDIASOUP_WEBRTC_TRANSPORT_LISTEN_IPS in .env file for master server
You should set env for slave server as below
MEDIASOUP_WEBRTC_TRANSPORT_LISTEN_IPS = '[
   {
      "ip": [YOUR_PUBLIC_IP],
      "announcedIp": null
   }
]'

Did above changes but still getting the same issue.
In 52.xx.xx.yy there is nothing running on port 52.xx.xx.yy
{"statusCode":500,"error":"Internal Server Error","message":"port bind failed due to address not available [transport:udp, ip:'52.xx.xx.yy', port:32372, attempt:1/20001] [method:router.createWebRtcTransport]"}

Is 52.xx.xx.yy public ip of your slave server?
You can check document of mediasoup

Yes. It is the PUBLIC IP of the slave consumer server where the consumer is running.
I gone through the document. I think I have understood and implemented same. But still I am seeing the issue. the UDP and TCP ports in that range are allowed and accessable from public.

Do you have any .env config for the multiple host or can you please help me in confirming whether the following configuration is correct.

master server //do we need MEDIASOUP_WEBRTC_TRANSPORT_LISTEN_IPS in this server as it is master http server?? LISTEN_HOST = 'PUBLIC_IP_OF_MASTER_SERVER'

in consumer server
LISTEN_HOST = 'PUBLIC_IP_OF_SLAVE_CONSUMER'
MEDIASOUP_WEBRTC_TRANSPORT_LISTEN_IPS = '[{ "ip": "PUBLIC_IP_OF_SLAVE_PRODUCER", "announcedIp": null }, { "ip": "PUBLIC_IP_OF_SLAVE_CONSUMER", "announcedIp": null }]'

in producer server
LISTEN_HOST = 'PUBLIC_IP_OF_SLAVE_PRODUCER'
MEDIASOUP_WEBRTC_TRANSPORT_LISTEN_IPS = '[{ "ip": "PUBLIC_IP_OF_SLAVE_PRODUCER", "announcedIp": null }, { "ip": "PUBLIC_IP_OF_SLAVE_CONSUMER", "announcedIp": null }]'

You should set

in consumer server
LISTEN_HOST = 'IP_IN_LAN_NETWORK_OF_SLAVE_CONSUMER'  // only for master call api
MEDIASOUP_WEBRTC_TRANSPORT_LISTEN_IPS = '[{ "ip": "PUBLIC_IP_OF_SLAVE_CONSUMER", "announcedIp": null }]'

in producer server
LISTEN_HOST = 'IP_IN_LAN_NETWORK_OF_SLAVE_PRODUCER'  // only for master call api'
MEDIASOUP_WEBRTC_TRANSPORT_LISTEN_IPS = '[{ "ip": "PUBLIC_IP_OF_SLAVE_PRODUCER", "announcedIp": null }]'

Example

Master server:   lan ip <IP_ADDRESS>, public ip  <IP_ADDRESS>

LISTEN_HOST = <IP_ADDRESS>

Slave consumer: lan ip <IP_ADDRESS>  public ip <IP_ADDRESS>

LISTEN_HOST = <IP_ADDRESS>
MEDIASOUP_WEBRTC_TRANSPORT_LISTEN_IPS = '[
   {
      "ip": "<IP_ADDRESS>",
      "announcedIp": null
   }
]'

Slave producer: lan ip <IP_ADDRESS> public ip <IP_ADDRESS>

LISTEN_HOST = <IP_ADDRESS>
MEDIASOUP_WEBRTC_TRANSPORT_LISTEN_IPS = '[
   {
      "ip": "<IP_ADDRESS>",
      "announcedIp": null
   }
]'

Thanks for the update.
It worked after making the following change
LISTEN_HOST = <IP_ADDRESS>
MEDIASOUP_WEBRTC_TRANSPORT_LISTEN_IPS = '[
{
"ip": "<IP_ADDRESS>",
"announcedIp":  "<IP_ADDRESS>"
}
]'
Just curious on how can we add/scale the slave producer or consumer? Is it possible.

Yes it's scalable. You only add producer or consumer server with above config
After new producer/ consumer is started, it will insert data to table media_worker.  Maybe your problem is your hardware

thinks for your patience，I solved the above error by upgraded nodejs，but I got another error.
{"level":30,"time":1719386132999,"pid":504647,"hostname":"huangqb-KVM","reqId":"req-c","req":{"method":"POST","url":"/rooms","hostname":"<IP_ADDRESS>:3010","remoteAddress":"<IP_ADDRESS>","remotePort":55712},"msg":"incoming request"}
query: SELECT "worker"."id" AS "worker_id", "worker"."apiHost" AS "worker_apiHost", "worker"."for" AS "worker_for", "worker"."apiPort" AS "worker_apiPort", "worker"."pid" AS "worker_pid", "worker"."maxTransport" AS "worker_maxTransport", "worker"."transportCount" AS "worker_transportCount", "worker"."errorCount" AS "worker_errorCount" FROM "media_worker" "worker" WHERE "worker"."for" = $1 AND "worker"."transportCount" < "worker"."maxTransport" -- PARAMETERS: ["producer"]
{"level":50,"time":1719386133049,"pid":504647,"hostname":"huangqb-KVM","reqId":"req-c","req":{"method":"POST","url":"/rooms","hostname":"<IP_ADDRESS>:3010","remoteAddress":"<IP_ADDRESS>","remotePort":55712},"res":{"statusCode":500},"err":{"type":"TypeError","message":"fetch failed: connect ECONNREFUSED <IP_ADDRESS>:3011","stack":"TypeError: fetch failed\n    at node:internal/deps/undici/undici:12500:13\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async RoomService.create (file:///home/huangqb/mediasoup-cluster/dist/services/room.js:9:24)\ncaused by: Error: connect ECONNREFUSED <IP_ADDRESS>:3011\n    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1606:16)"},"msg":"fetch failed"}
{"level":30,"time":1719386133055,"pid":504647,"hostname":"huangqb-KVM","reqId":"req-c","res":{"statusCode":500},"responseTime":56.102778911590576,"msg":"request completed"}
{"level":30,"time":1719386398902,"pid":504647,"hostname":"huangqb-KVM","reqId":"req-d","req":{"method":"POST","url":"/rooms","hostname":"<IP_ADDRESS>:3010","remoteAddress":"<IP_ADDRESS>","remotePort":40282},"msg":"incoming request"}
query: SELECT "worker"."id" AS "worker_id", "worker"."apiHost" AS "worker_apiHost", "worker"."for" AS "worker_for", "worker"."apiPort" AS "worker_apiPort", "worker"."pid" AS "worker_pid", "worker"."maxTransport" AS "worker_maxTransport", "worker"."transportCount" AS "worker_transportCount", "worker"."errorCount" AS "worker_errorCount" FROM "media_worker" "worker" WHERE "worker"."for" = $1 AND "worker"."transportCount" < "worker"."maxTransport" -- PARAMETERS: ["producer"]
{"level":50,"time":1719386398947,"pid":504647,"hostname":"huangqb-KVM","reqId":"req-d","req":{"method":"POST","url":"/rooms","hostname":"<IP_ADDRESS>:3010","remoteAddress":"<IP_ADDRESS>","remotePort":40282},"res":{"statusCode":500},"err":{"type":"TypeError","message":"fetch failed: connect ECONNREFUSED <IP_ADDRESS>:3011","stack":"TypeError: fetch failed\n    at node:internal/deps/undici/undici:12500:13\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async RoomService.create (file:///home/huangqb/mediasoup-cluster/dist/services/room.js:9:24)\ncaused by: Error: connect ECONNREFUSED <IP_ADDRESS>:3011\n    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1606:16)"},"msg":"fetch failed"}
{"level":30,"time":1719386398953,"pid":504647,"hostname":"huangqb-KVM","reqId":"req-d","res":{"statusCode":500},"responseTime":49.46740913391113,"msg":"request completed"}

check your config fetch failed: connect ECONNREFUSED <IP_ADDRESS>:3011. Can you list ip of master server, producer slave server, consumer slave server?

master: <IP_ADDRESS>

You must set LISTEN_HOST = <IP_ADDRESS> in .env file for master server

Check at comment https://github.com/woody146/mediasoup-cluster/issues/1#issuecomment-1689558894

At next.config.js file should update
destination: 'http://<IP_ADDRESS>:3000/:path*',

thanks!!!!

Does it matter if the hostnames of the three hosts are the same?

Yes, they can be same

In the .env file, I configured the port to 3000. Why is the listening port still 3010 when starting?
{"level":30,"time":1719391499691,"pid":3024,"hostname":"huangqb-KVM1","msg":"Server listening at http://<IP_ADDRESS>:3010"}
✅ App ready: http://<IP_ADDRESS>:3010

I got answer from package.json, here...
"start:slave:producer": "cross-env PORT=3011 SLAVE_FOR=producer node dist/run_slave.js",
"start:slave:consumer": "cross-env PORT=3012 SLAVE_FOR=consumer node dist/run_slave.js",


fixes a TypeError in the UpsertGraphAndFetchOperation

fixes #1109
will try to add a test as well, although I am not 100% sure where to put them. Should I create another test filed named #1109.js like couple others there?

Coverage increased (+0.08%) to 97.256% when pulling 92daf71eba26854e1149681c057ff93bcf879aa4 on capaj:fix-1109 into 1569b76d0355c267fd827bbdb24e271e3592a8d9 on Vincit:master.

Coverage increased (+0.08%) to 97.256% when pulling 92daf71eba26854e1149681c057ff93bcf879aa4 on capaj:fix-1109 into 1569b76d0355c267fd827bbdb24e271e3592a8d9 on Vincit:master.

Coverage increased (+0.08%) to 97.256% when pulling 92daf71eba26854e1149681c057ff93bcf879aa4 on capaj:fix-1109 into 1569b76d0355c267fd827bbdb24e271e3592a8d9 on Vincit:master.

@capaj Considering that there is a growing number of these, maybe a separate folder for issue-related tests would make sense?

Will try to put it in a new folder then.


Compatibility with Foundry V11 and dnd5e 2.2.0

Will this module be updated for the new releases of foundry and dnd5e? It's my favorite character sheet and I would love to keep using it!

I think I have fixed all the issues my group have found with the sheet in dnd5e 2.2.0 (#81), but we aren't running Foundry 11 yet so I haven't verified it will work with that. I don't have permissions to merge my request or release a new version of the module though.

Just to add to this that I'm on V11 and using the alpha release and having made the changes from @eastcw's branch I am seeing no problems -- everything is working as expected.

First of all, thank you for this excellent module! This sheet is by far the most well organized and intuitive (even for non-DDB players) of all that I've tried.
Unfortunately it's not totally working for me on Foundry v11.304 / DnD5e 2.2.1 with no other modules activated (except Character Actions List). It does appear to display correctly (screenshot below), but I get an error message in the console and no roll when trying to roll any skills (str/dex/con/etc... in the top row works fine):
Uncaught TypeError: Cannot read properties of null (reading 'dataset')
    at CompactBeyond5eSheet._onRollSkillCheck (base-sheet.mjs:1355:60)
    at HTMLHeadingElement.dispatch (jquery.min.js:2:43184)
    at y.handle (jquery.min.js:2:41168)


poi.tags requires another transform to normalize properly

tags normalization

closed for now because tag normalization isnt scalable it creates a column for every tag n. , tried normalizing tags on SF dataset and it created 672 columns.


emulationstation: 2.0.1a -> 2.12.0.rp-dev

Description of changes
I wanted to play with emulationstation and realized that the version is really old. Also, the retropie project has its own fork that is still maintained.
I also tested it manually - works.
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/)
23.11 Release Notes (or backporting 23.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

[ ] Fits CONTRIBUTING.md.

@AndersonTorres i implemented all your suggestions, thank you. But i left the ones where i still had questions.


43 feature apply pylint to existing codecase

This commit addresses all the (W)arning and (E)error issues raised by pylint when run on the complete code base. It also addresses some of the more straightforward (R.)efactor issues - but not any that would require significant redesign. (C.)convention warnings have been addressed - except for variable naming because they were so numerous and many were false positives.  There are also a lot of missing docstring type warnings that have not been addressed as they will be addressed elsewhere.

Codecov Report

Merging #52 (7c0a505) into main (5a8aa0a) will decrease coverage by 57.80%.
The diff coverage is 16.41%.

@@             Coverage Diff             @@
##             main      #52       +/-   ##
===========================================
- Coverage   83.26%   25.46%   -57.81%
===========================================
  Files           9       29       +20
  Lines         998     3271     +2273
===========================================
+ Hits          831      833        +2
- Misses        167     2438     +2271

Impacted Files
Coverage Δ

clarity/data/scene_builder_cec2.py
0.00% <0.00%> (ø)

clarity/data/scene_renderer_cec1.py
0.00% <0.00%> (ø)

clarity/engine/losses.py
0.00% <0.00%> (ø)

clarity/engine/system.py
0.00% <0.00%> (ø)

clarity/enhancer/dnn/mc_conv_tasnet.py
0.00% <0.00%> (ø)

clarity/enhancer/dsp/filter.py
0.00% <0.00%> (ø)

clarity/enhancer/gha/gainrule_camfit.py
0.00% <0.00%> (ø)

clarity/enhancer/gha/gha_interface.py
0.00% <0.00%> (ø)

clarity/enhancer/gha/gha_utils.py
0.00% <0.00%> (ø)

clarity/evaluator/haspi/ebm.py
99.24% <ø> (ø)

... and 34 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 ae900eb...7c0a505. Read the comment docs.

@ns-rse Thanks for the review. I think this branch is now ready to be merged. pylint will still raise lots of issues about functions and classes with too many parameters, local variables, instance variables etc, but I think those are due to deeper issues that can only be fixed by some serious refactoring which I think is something we need to leave to v0.2.0


Memory requirement For GEMM/ DIRECT convolution for Datatype F32

Compute library version - 18.05
Platform : arm7a
Operating System: linux
Can you please let me know the exact Memory requirement  for convolution layer?
Using following example :
If i Use CLConvolutionLayer of size 272x208x3 input tensor shape and output tensor shape 272 x 208x 32,  kernel size 9x9 ,padstrideinfo(1,1,4,4)
I observe that the memory required if i use this  single convolution layer in tensorflow is lesser than that
ACL convolution layer for GEMM as well as direct.
I want to estimate memory requirement for a network using ACL on my board due to memory limitation of GPU and CPU.
My application crashes for a higher resolution image of 714x442 (wxh) for single convolution for above configurations due to less GPU memory.
NEON equivalent ACL API's for convolution shows around 900 MB for 714x442 (wxh) for the same convolution layer configuration. This quite high memory requirement
Please share me some information regarding the memory requirements of ACL GPU/ Neon layers if possible.
Awaiting your reply

Please provide some insight!!

It's not straight forward to answer, you can see the size of the input tensor once they've been allocated by doing tensor->info()->total_size() but then you also need to take into account the memory used by the temporary tensors inside the function.
The easiest way I would say is to check the amount of memory used by the process in the system.
Also for better memory re-use you should use the Graph layer as it will re-use memory for the temporary buffers in different layers.

Hello @abhajaswal,
In general, NEDirectConvolutionLayer should have much lower memory requirements that the NEGEMMConvolutionLayer.
Your problem though might relate to #479 if you see a huge amount of memory requirements for NEGEMMConvolutionLayer.
Eitherway, as @AnthonyARM mentioned you can use the graph API to implement your pipeline, which will reuse any memory when possible among different layers.
If you want more insight on how this can be done manually have a look here

Thanks a lot for your reply.currently graph interface does not support the detection window, prior box and permute and  concatenate layer interfaces.. so for the ssd network I will  to use direct api..


Create alias-classes-ide-help.php

help ide zend studio to autocomplete the alias classes's method.
when I installed the framework, I feel very sad, because I do not know where is the class(like App, Config, Route,...).
I use ctrl + mouse click the class name, zend do nothing.
in chinese below
让ide能知道如何提供别名类的方法, 参数.
我把框架装好后, 看到第一个类: Route::get('/', function () {})
我完全不知道这个类是在哪里定义的.
虽然后来能过看文档, 知道了fascade是怎么回事.
但我写代码的时候, IDE没办法提示.

This isn't even correct.

If zend studio doesn't work properly, that's up to them to fix.

只是一个建议, 希望不仅程序能正确运行, 也有IDE工具的辅助.

@windqyoung I think you can use https://github.com/barryvdh/laravel-ide-helper

think you.


small edits

startup

storing the MessagePanelLabel in vars, instead of instantiating two new strings every time reset runs

all-caps because they act as consts, which are all-caps by C# convention

onStart

removed vars.WaitForStart since it's no longer used

init

added a try-catch statement to vars.Unity.TryOnLoad to check whether one or more classes were null upon attempting to find them, to retry the whole logicw

update

remove TimerPhase check, since the same thing is already done in onStart
commented out some debug prints

reset

prettify logic and use strings in vars

gameTime

use TimeSpan.Zero instead of instantiating a new TimeSpan object every time

fixed some formatting

trim trailing white space

remove some unnecessary comments

Note: the permanent returning of true in isLoading when using a gameTime is intended behavior and not a hack; last sentence in this paragraph;


Provide a "latest" version on CDN

I wish I could refer to the latest version as https://cdn.ravenjs.com/latest/angular/raven.min.js instead of a specific version https://cdn.ravenjs.com/3.17.0/angular/raven.min.js

Duplicate of https://github.com/getsentry/raven-js/issues/911


Using Connect the features with Crossing With Pedestrian Signals doesn't work as expected

URL
No response
How to reproduce the issue?

Add a Crossing With Pedestrian Signals way that crosses a street
While selecting this new way, click on Connect the features
A generic highway=crossing node is added

When using Connect the features with a Unmarked Crossing or Marked Crossing way, it adds an Unmarked Crossing or Marked Crossing node respectively. Because of this, I think it makes sense for it to add a Crossing with Pedestrian Signals node instead of just a generic highway=crossing node
Screenshot(s) or anything else?

Which iD Editor versions do you see the issue on?
Released version at openstreetmap.org/edit
Which browsers are you seeing this problem on?
Chrome

fixed in #9181


Native Module cannot be null

Hi,
I get the following error when I try to import this library.

Did you link the library?

@is343 shouldn't have to in new react native versions, i think it's that it's missing a podspec

The podspec file is now included. This should now be fixed with #16.


Regenerate cabal.project

This should wait for https://github.com/input-output-hk/cardano-addresses/pull/81 because it isn't buildable

OK I see so there was some "merge skew" and the cabal.project regeneration step taken in #2212 did not include the changes from #2198.
Why do you say that this revision of cardano-addresses isn't buildable? It builds fine for me:
$ nix-shell nix/cabal-shell.nix
[nix-shell:~/iohk/cw/pr]$ cabal build --project-file=cabal.project --enable-tests --enable-benchmarks cardano-addresses
Up to date
[nix-shell:~/iohk/cw/pr]$ cabal run --project-file=cabal.project cardano-addresses-cli:exe:cardano-address -- --version
... snip ...
Linking /home/rodney/iohk/cw/pr/dist-newstyle/build/x86_64-linux/ghc-8.6.5/cardano-addresses-cli-2.1.0/x/cardano-address/build/cardano-address/cardano-address ...
2.1.0 @ e0ab4587266430a08734e1aec1c29d261a9a3b70

Why do you say that this revision of cardano-addresses isn't buildable? It builds fine for me:

https://github.com/input-output-hk/cardano-addresses/pull/81

bors merge

Umm hang on @hasufell - did you read my message above?
I am able to build cardano-wallet master branch with cardano-addresses 2.1.0 (rev e0ab458) using cabal.
There was no need to use the latest master rev of cardano-addresses.
In the PR, you did not specify what actual problem it was solving.
What is the error message that you are seeing? (as in error message, not warning)

I am able to build cardano-wallet master branch with cardano-addresses 2.1.0 (rev e0ab458) using cabal.

You are using nix. If you test with actual cabal, it doesn't work: https://github.com/input-output-hk/cardano-addresses/commit/c477127ccb1d6a2568936962bbf7c6764fa9af06#r43168725

You are using nix. If you test with actual cabal, it doesn't work.

All I use Nix for is to get a shell with ghc-8.6.5, cabal-<IP_ADDRESS> and system dependencies (reproducible environment in nix/cabal-shell.nix).
Then I built it with cabal build - actual cabal. I pasted the commands above.
This is why I'm baffled by your claims "it isn't buildable"!

This is why I'm baffled by your claims "it isn't buildable"!

Then try without nix.


Fixed #24419 -- Add sendtestemail management command

Fixed #24419 -- Add sendtestemail management command

please fix the build errors?

@timgraham, could you do another review?

merged in d898ba1bec588450d591ebd5076993f96d05eb24, thanks!


DOF Blur amount/distance varies between quality levels

Godot version
Godot 4 beta 6
System information
Windows 11/64, RTX 3070, Vulkan
Issue description
Separated from https://github.com/godotengine/godot/issues/65116
CameraAttributesPhysical
Blur amount varies between quality levels.

Hexagon/Low is pretty accurate based on testing w/ dof calculator. OK - reference level
Hexagon/Very low is the same as low. OK
Hexagon/Medium is about 1/4-1/2 the blur it should be
Hexagon/High is the same as medium, 1/4-1/2 too weak.
Box is the same as Hexagon, and an equivalent level. Half broken.
Circle/Low-High are consistent with themselves, however the blur amount is 1/4-1/2 as weak as Box/Hexagon Low
Circle/Very Low is a bit weaker than the other Circle levels

Because the higher levels are broken, I can't test whether they are accurate, or exhibit the same issue as the practical camera below.
CameraAttributesPractical
There is also a negative impact on practical camera attributes. It appears the blur strength matches between Hexagon vlow/low, and med/high (compare far background trees below). However the focus zone is bigger on med/high than on vlow/low. That is the far plane is farther and the near is closer.
hex / vlow / practical camera

hex / high / practical

Hex changes match the physical camera, (low == vlow) != (med == high). So it's probable that box and circle match physical as well.
@clayjohn
Steps to reproduce
Change project settings blur type and quality in the various MRPs.
Minimal reproduction project
See the MRP in https://github.com/godotengine/godot/issues/69458
And this one shown in the pictures
test_blur_world.zip

Related to https://github.com/godotengine/godot/issues/56911.


run cli from different folder

Hi, I'd like to run the cli from a different folder as app.py
I tend to put all my code in a src folder and run all cli commands from the parent. usually I either pip install . -e the package in the src folder or set the PYTHONPATH=src. for example with django, I would just use the django-admin cli command with the DJANGO_SETTINGS_MODULE env var set to mypackage.settings where mypackage is in the src folder
some potential options:

APISTAR_FOLDER env var (or some other name). this aligns with django and also flask cli which has a FLASK_APP env var. for example:

export FLASK_APP=hello.py; export FLASK_DEBUG=1; flask run

a cli parameter. docker-compose for example has a --project-directory to specify an alternate working directory

I'd like the env var solution better.
I'd be happy to contribute this feature if you let me know which option you'd prefer @tomchristie

closing issue in favor of discussion at #259


Unable to save configuration

Discussed in https://github.com/cgiesche/streamdeck-homeassistant/discussions/264

Originally posted by Sceptorrh March 21, 2024
Hello,
I am unable to safe the configuration. Am I doing something wrong. I installed the plugin trough the marketplace,
Created a long lived token in HA
connection through: wss://homeassistant.mydomain.nl/api/websocket
Connection is successful and I can see my entities, but pressing Save Configuration does nothing.
I tried reinstalling the Elgato app (including removing the appdata).
I am also able to connect locally but I am sadly still unable to save the settings.
Please let me know If I can help to troubleshoot!
Running homeassistant version:
Core 2024.3.1
Supervisor 2024.03.0
Operating System 12.1
Frontend 20240307.0

Elgato software
6.5.2 (19936)

Homeassistant plugin
2.4.5

Windows
Windows 11 Pro (23H2)

Streamdeck hardware
Streamdeck XL

The steps I took where
Remove Elgato from windows apps
Remove Elgato folder from AppData
Remove Elgato folder from ProgramFiles
Reinstall Elgato application
Reinstall HomeAssistant plugin trough Marketplace
Connect to Homeassistant using local url & long lived access token
Set entity settings (Lights, toggle)
And then trying to save. But that doesn't seem to work for me

Same here, not able to save configuration!

I'm having the same issue, using Stream Deck 6.6.1 (20596) on macOS 14.5, with Stream Deck Home Assistant plugin 2.4.5, and Home Assistant 2024.5.4.
When you enter the Server URL and Long Lived Access Token, then click Connect, the Domain and Entities option show as expected. However, clicking "Save Configuration" does not appear to do anything. When you click on another Stream Deck button, and then come back to a button using the Home Assistant plugin, you're prompted to enter the Server URL and Access Token again.

Any progress on this?

See https://github.com/cgiesche/streamdeck-homeassistant/discussions/323


fix: broken flow_file when use default working_dir

when flow_file only specified, working_dir get set as flow_file.parent. However, working_dir / flow_file is not the valid path when flow_file is relative path of more than 2 depths. For example:
flow_file='./Flow-hello/flow.dag.yaml'
working_dir=None
working_dir='./Flow-hello/'.absolute()
working_dir / flow_file = './Flow-hello/Flow-hello/flow.dag.yaml'
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
All Promptflow Contribution checklist:

[x] The pull request does not introduce [breaking changes].
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.
[ ] Create an issue and link to the pull request to get dedicated review from promptflow team. Learn more: suggested workflow.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

Mention #2276


Draft interactive todo cli

@cedric05 watchout for checking in clientid and clientsecret.

Thanks. i removed creds. i think we should revoke. i will inform @kitplummer


Is it possible to open tool tip on click event?

how can we open tooltip on click event ?

For now you can use the standalone version
import React from "react"
import Tooltip from "react-simple-tooltip"

const App = () => (
  <div style={{position: "relative"}}>
    <Tooltip
      style={{position: "absolute", top: "50%", right: "0"}}
      content="😎"
    />
  </div>
)

and trigger onClick to your component.
If you want to make a PR to use a syntax similar to this, I'm open :)
import React from "react"
import Tooltip from "react-simple-tooltip"

const App = () => (
  <Tooltip content="😎" openOnClick>
    <button>Hover me !</button>
  </Tooltip>
)


How to collect Metrics in Spring-Cloud Zuul

We wanted our metrics to be captured at ZUUL itself so that a simple counter is implemented in ZUUL and that would provide us the required metrics. Any suggestion in how to implement this would be helpful.
Thanks!

This is not the spring cloud issue tracker

Thanks for your feedback. Do you know the exact link to answer this?

@spencergibb basically what we are trying to gather are some basic metrics like API hit count per minute,
Response time, connection errors and any other such useful info from Zuul. Is there a way to have these stats exposed natively from Zuul ?

Internally, we use Atlas for all of our metrics: https://github.com/netflix/atlas

@artgon , Atlas works by pulling metric data from different microservices or is it a "push" model ? Also what approach is used to expose metrics from Zuul ?

@milon619 Atlas primarily uses a push model, but in some cases we have "pollers" that pull from sources and do a push. Usually it works by instrumenting the code using spectator (or servo for older libs/apps) and then when running internally our plugin will be connected to the registry and figure out how to send in to the appropriate Atlas backend.

Hi all, with spring boot 2.0 there's http://micrometer.io/ coming as ~spring-metrics.
Are there any plans to support zuul metrics?
What kind of metrics are available / are you pushing to atlas currently? Can I find a reference / code sample?
Would be happy to contribute...!

@artgon  can you give a code sample about zuul2 work together with Atlas?


Question: How to make query with relation between pates and users

Thank you for the nice repository.
I managed to have the pets created and they are also exposed to the api after creating a middleware for it.
My question is probably very simple, but I am struggling with the code.
How can I now manage to make a query which pets belong to a user? And what is the best way to accomplish it (creating a new controller "userpets" or simply adding a fetchPetsByUserId() into the User.ts)?
How and where can I use the method user() which was inserted in the Pet.ts?
I would appreciate if you could add this as an example.
With best regards
foxthefox

After many hours I could find a way to get a relational query running.
I am not sure if this is approprioate way, so please indicate if I am doing something against the idea!
First I figured out that in Bookshelf always a hasMany is declared for the opposite direction of belongsTo.
This always gave errors within User.ts until I created a collection of Pets out of Pet.
What did I do in particular:
1 new resource Owner
creating a new resource owner should give me the assignemnt of user to the pet
npm run console make:resource Owner
without migration, but with IoC
2 OwnerController.ts
delete everything what is CRUD, hence we are only querying
`
import { inject, named } from 'inversify';
import { controller, httpGet, response, requestParam } from 'inversify-express-utils';
import { Types, Targets } from '../../constants';
import { app } from '../../app';
import { OwnerService } from '../services/OwnerService';
// Get middlewares
const authenticate = app.IoC.getNamed<interfaces.Middleware>(Types.Middleware, Targets.Middleware.AuthenticateMiddleware);
@controller('/owners', authenticate.use)
export class OwnerController {
constructor( @inject(Types.Service) @named(Targets.Service.OwnerService) private ownerService: OwnerService) { }

@httpGet('/')
public async findAll( @response() res: myExpress.Response): Promise<any> {
    const owners = await this.ownerService.findAll();
    return res.found(owners.toJSON());
}

@httpGet('/:id')
public async findOne( @response() res: myExpress.Response, @requestParam('id') id: string): Promise<any> {
    const owner = await this.ownerService.findOne(parseInt(id, 10));
    return res.found(owner.toJSON());
}

// Implement your routes here

}
`
OwnerRepository.ts
delete everything related to CRUD
`
import { inject, named } from 'inversify';
import { Types, Targets } from '../../constants';
import { Owner } from '../models/Owner';
import { Pet } from '../../api/models/Pet';
import { Pets } from '../../api/models/Pets';
export class OwnerRepository {
constructor(
    @inject(Types.Model) @named(Targets.Model.Owner) public OwnerModel: typeof Owner,
    @inject(Types.Model) @named(Targets.Model.Pets) public PetsModel: typeof Pets
) { }

public async findAll(): Promise<Pet> {
    return this.PetsModel.fetchAllPet();

}

public async findOne(id: number): Promise<Pet> {
    return this.OwnerModel.fetchById(id);
}

}
`
OwnerService.ts
delete everything related to CRUD
`
import { inject, named } from 'inversify';
import { Logger as LoggerType } from '../../core/Logger';
import { Types, Core, Targets } from '../../constants';
import { NotFoundException } from '../exceptions/NotFoundException';
import { OwnerRepository } from '../repositories/OwnerRepository';
import { Owner } from '../models/Owner';
import { Pet } from '../../api/models/Pet';
export class OwnerService {
public log: LoggerType;

constructor(
    @inject(Types.Repository) @named(Targets.Repository.OwnerRepository) public ownerRepo: OwnerRepository,
    @inject(Types.Core) @named(Core.Logger) public Logger: typeof LoggerType
) {
    this.log = new Logger(__filename);
}

public async findAll(): Promise<Pet> {
    return this.ownerRepo.findAll();
}

public async findOne(id: number): Promise<Owner> {
    const owner = await this.ownerRepo.findOne(id);
    if (owner === null) {
        this.log.warn(`Owner with the id=${id} was not found!`);
        throw new NotFoundException(id);
    }
    return owner;
}

}
`
User.ts
adding the following:
`
import { Pets } from '../../api/models/Pets';
import { Pet } from '../../api/models/Pet';
public pet(): Pets {
    return this.hasMany(Pet);
}

`
Owner.ts
delete all things what relates to table, add the fetchById method
(maybe this can be also included into Pet.ts with a different name, hence here nothing releates to Owner)
`
import { Bookshelf } from '../../config/Database';
import { Pet } from '../../api/models/Pet';
export class Owner extends Bookshelf.Model {
public static async fetchById(value: number): Promise<Pet> {
    return await Pet.where<Pet>({ id: value }).fetch({withRelated: ['user']});
}

}
`
Pets.ts
create new file Pets.ts with following:
`
import { Bookshelf } from '../../config/Database';
import { Pet } from '../../api/models/Pet';
import { User } from '../../api/models/User';
export class Pets extends Bookshelf.Collection {
public static async fetchAllPet(): Promise<Pet> {
    return await User.forge<Pet>().fetch({withRelated: ['pet']});
}

}
`
result
http://localhost:3000/api/owners can be called

it gives only the first record of the user table  (and if there the user has pets assigned, they are comming along)
it does not provide all user records and their pets!
if I change "return await Pet.forge({id: 2 }).fetch({withRelated: ['user']});" then the user with id=2 and all his pets are listed

http://localhost:3000/api/owners/3 can be called

it provides the user with id=3 and his pets
if I change in Owner. ts "return await Pet.forge({id: 2 }).fetch({withRelated: ['user']});" it gives the same result

conclusion

it worked somehow for single users but not a query to all users and their pets
I thought forge should do that?! but fetchAll can not be used with .fetch(withRelated)???
I am still stuck in understanding how to make it right and put the things together and need HELP

After more hours I could resolve the relational query.
I  am not sure if this is approprioate way, so please indicate if I am doing something against the idea!
What did I do in particular:
1 new resource Owner
creating a new resource owner should give me the assignemnt of user to the pet
npm run console make:resource Owner
without migration, but with IoC
2 OwnerController.ts
delete everything what is CRUD, hence we are only querying
`
import { inject, named } from 'inversify';
import { controller, httpGet, response, requestParam } from 'inversify-express-utils';
import { Types, Targets } from '../../constants';
import { app } from '../../app';
import { OwnerService } from '../services/OwnerService';
// Get middlewares
const authenticate = app.IoC.getNamed<interfaces.Middleware>(Types.Middleware, Targets.Middleware.AuthenticateMiddleware);
@controller('/owners', authenticate.use)
export class OwnerController {
constructor( @inject(Types.Service) @named(Targets.Service.OwnerService) private ownerService: OwnerService) { }

@httpGet('/')
public async findAll( @response() res: myExpress.Response): Promise<any> {
    const owners = await this.ownerService.findAll();
    return res.found(owners.toJSON());
}

@httpGet('/:id')
public async findOne( @response() res: myExpress.Response, @requestParam('id') id: string): Promise<any> {
    const owner = await this.ownerService.findOne(parseInt(id, 10));
    return res.found(owner.toJSON());
}

// Implement your routes here

}
`
OwnerRepository.ts
deleted everything which relates to CRUD
`
import { inject, named } from 'inversify';
import { Types, Targets } from '../../constants';
import { Owner } from '../models/Owner';
import { Pet } from '../../api/models/Pet';
import { Pets } from '../../api/models/Pets';
export class OwnerRepository {
constructor(
    @inject(Types.Model) @named(Targets.Model.Pets) public OwnerModel: typeof Pets,
    @inject(Types.Model) @named(Targets.Model.Pet) public PetModel: typeof Pet
) { }

public async findAll(): Promise<Pets> {
    return this.PetModel.fetchAllPet();

}

public async findOne(id: number): Promise<Pet> {
    return this.PetModel.fetchPetByUserId(id);
}

}
`
OwnerService.ts
deleted everything which relates to CRUD
`
import { inject, named } from 'inversify';
import { Logger as LoggerType } from '../../core/Logger';
import { Types, Core, Targets } from '../../constants';
import { NotFoundException } from '../exceptions/NotFoundException';
import { OwnerRepository } from '../repositories/OwnerRepository';
import { Owner } from '../models/Owner';
import { Pet } from '../../api/models/Pet';
import { Pets } from '../../api/models/Pets';
export class OwnerService {
public log: LoggerType;

constructor(
    @inject(Types.Repository) @named(Targets.Repository.OwnerRepository) public ownerRepo: OwnerRepository,
    @inject(Types.Core) @named(Core.Logger) public Logger: typeof LoggerType
) {
    this.log = new Logger(__filename);
}

public async findAll(): Promise<Pets> {
    return this.ownerRepo.findAll();
}

public async findOne(id: number): Promise<Pet> {
    const owner = await this.ownerRepo.findOne(id);
    if (owner === null) {
        this.log.warn(`Owner with the id=${id} was not found!`);
        throw new NotFoundException(id);
    }
    return owner;
}

}
`
User.ts
adding the following:
`
import { Pets } from '../../api/models/Pets';
import { Pet } from '../../api/models/Pet';
public pet(): Pets {
    return this.hasMany(Pet);
}

`
Pet.ts
add the custom functions
`
public static async fetchPetByUserId(value: number): Promise {
return await User.where({ id: value }).fetch({withRelated: ['pet']});
}
public static async fetchAllPet(): Promise<Pets> {
    // return await Pet.forge<Pet>().fetchAll({withRelated: ['user']}); // lists all pets with user,
    return await User.forge<Pet>().fetchAll({withRelated: ['pet']}); // lists all user with their pets
}

`
Owner.ts
deleted this file
Pets.ts
create new file Pets.ts which creates a collection from the model
`
import { Bookshelf } from '../../config/Database';
import { Pet } from '../../api/models/Pet';
export class Pets extends Bookshelf.Collection {
}
`
result
http://localhost:3000/api/owners can be called

it provides all user records and their pets

http://localhost:3000/api/owners/3 can be called

it provides the user with id=3 and his pets

conclusion

I am a bit further, but am I right?


Bluetooth: Mesh: CDB prov Kconfig

The current implementation of provisioning features is dependent on CDB
to compile, which is reflected poorly in the Kconfig options for mesh.
This commit alters the Kconfig options for provisioning to be dependent
on the CDB option to compile.
Signed-off-by: Anders Storrø<EMAIL_ADDRESS>

Minor: Please use imperative mood in the subject line of the commit with some explanation.


an error accoured, what should i do?

To open the console you can press Ctrl + `
You can check on https://github.com/rdio/jsfmt/issues/122 but I don't think jsfmt has support for the full es6 syntax at this moment.


split dockerize_sidekick_plugin & dockerize_data

Splitting dockerize_sidekick_plugin and dockerize_data into multiple packages
Move everything in place for bigger seperation
Add Sidekick

CI will work as soon as this is merged


Update Deltachat to 1.10.3 and add Dreamset editor

Sorry, no idea how that happened. I will close this one and create a new pull request.


Re-import project in Unity 2017.1.0f3 and apply fix for flipped rende…

…r texture UVs in TimePiece shader

Works perfectly! Thanks


Dynamic layer scale-dependent visibility not shown in Layer List widget

I'm not sure if this is a flaw in the Layer List widget, or the Local Layer widget.
I have a grouped layer containing sublayers with scale dependency set. When viewing this in ArcGIS Online the sublayers' visibility is shown in the TOC:

When this layer is added to the Local Layer widget as a dynamic layer, the sublayers are always shown as visible in the Layer List widget:

Should I raise this with Esri and the WAB team, or is this a Local Layer widget issue? Thanks

If you bring your ArcGIS Online map into a WebAppBuilder app without the LocalLayer widget, does the LayerList widget 'grey out' nonvisible layers?  If not, I'd say this would be an enhancement to request from the LayerList widget, rather than one to the LocalLayer widget.


(MAINT) Bump to 3.2.0-SNAPSHOT

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://jenkins.puppetlabs.com/job/platform_puppetdb_intn-sys_pr/1852/


HTML Render Frame

Why use the HTML Renderer not the full width/height within the window?

I does for me. Could send a screenshot?
p1tt1<EMAIL_ADDRESS>schrieb am Do., 23. März 2017, 19:32:

Why use the HTML Renderer not the full width/height within the window?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/holgerbrandl/opencards/issues/33, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMQ-GTpV-YLBBRSk6o-Rm9Og8v9dfHZks5rorqhgaJpZM4MnLnP
.

What happens if you resize the frame of opencards?
-Holger
p1tt1<EMAIL_ADDRESS>schrieb am Fr., 24. März 2017 um 09:32 Uhr:

[image: screenshoot]
https://cloud.githubusercontent.com/assets/1847816/24286281/cfefdc5a-1074-11e7-8ef0-469d1898ef5a.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/holgerbrandl/opencards/issues/33#issuecomment-288962556,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMQ-BTILtXeJn0LLK7Ruf1K2T8qk-nZks5ro3-rgaJpZM4MnLnP
.

the render frame within the opencards window is fix (irrespective of the windoe size)

I've noticed a similar issue on macos occasionally, but resizing the window
usually caused a correct repainting of the content.
Would you mind sending me the markdown example file (or just an excerpt)?
What linux distro are you using?
-Holger
p1tt1<EMAIL_ADDRESS>schrieb am Fr., 24. März 2017 um 16:14 Uhr:

the render frame within the opencards window is fix (irrespective of the
windoe size)
[image: screenshoot_2]
https://cloud.githubusercontent.com/assets/1847816/24300387/9bbb213c-10ac-11e7-9fa3-d857311ea0ad.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/holgerbrandl/opencards/issues/33#issuecomment-289051127,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMQ-J387D6mQjTcDhJgoJBiZJhxTLx6ks5ro923gaJpZM4MnLnP
.

this is the file:
test.txt
I'm using arch linux with a tiling window manager behalf i3.

Confirmed, same for me. I'll have a look asap.


[Extensibility Request] Codeunit 550 VAT Rate Change Conversion - UpdateRec

Hello,
In response to https://github.com/microsoft/ALAppExtensions/issues/16631 (See comments section), we would like the following procedure to be made global in Codeunit 550 - VAT Rate Change Conversion:
local procedure UpdateRec(var RecRef: RecordRef; ConvertVATProdPostingGroup: Boolean; ConvertGenProdPostingGroup: Boolean)
Note: as mentioned in https://github.com/microsoft/ALAppExtensions/issues/16631, the global variable "VATRateChangeSetup" in this procedure cannot be fully used outside this codeunit. Can we make this "VATRateChangeSetup" local instead so this procedure can be made global?
Thanks in advance,
Jerry Tyssen
Cegeka

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Pin ipywidgets < 8 to solve #262

Description
Pin ipywidgets < 8 to solve #262
Status

[x] Ready to go

The CI passes for the ipywidgets version problem discussed in this PR - I am merging the PR here.
The following additional fails will be addressed in a separate PR:

matplotlib-related diff in T025 and T026 (all OS and Python versions):

     '<Figure size... with 1 Axes>' == '<Figure size... with 1 Axes>'
      - <Figure size 640x480 with 1 Axes>
      ?              - ^ ^ ^
      + <Figure size 432x288 with 1 Axes>
      ?

On Windows, ModuleNotFoundErrorfor tensorflow in T021 and T022:

    ModuleNotFoundError: No module named 'keras_preprocessing'


Envoy routing issue with REACTjs

I'm currently tring to implement envoy to be a gateway to route traffic inside my cluster and I'm running into a problem when making the redirect using a frontend application using ReactJs, getting a 404 on the static files.
It seems that the static files are missing the "path" portion of the url that im filtering through envoy, is there any config I'm missing here?
This is the envoy config:
routes:
    - match: { prefix: "/foo/" }
      route:
        auto_host_rewrite: true
        prefix_rewrite: "/"
        cluster: foo
clusters:
    - name: foo
      connect_timeout: 0.25s
      type: strict_dns
      lb_policy: round_robin
      load_assignment:
        cluster_name: foo
        endpoints:
          - lb_endpoints:
              - endpoint:
                  address:
                    socket_address:
                      address: foo-container.foo-namespace.svc.cluster.local
                      port_value: 8080

On the webpage i can see the following under developer mode.

It seems to be missing the /foo/ part of the URL (www.foopage.com/ instead of www.foopage.com/foo/), so the front end is not able to find the static files, but if I manually input the /foo/ I am able to access the file.

@jeanpz, if I'm not mistaken, you're trying to access the path with /foo/ prefix. But, seems like you're doing prefix_rewrite to remove it?
 prefix_rewrite: "/"

Hey @dio, yeah so i thought that was the case as well initially, but I have tried removing that, and even changing to rewrite to /foo/ instead but no luck. Have also tried just commenting it out, same behavior.


First draft of footer

This PR should make sure that we are consistent on the structure of the React project.
Please ignore all the Docker and Kubernetes stuff 🙄

Can you rebase on top of first-draft and (force) push again. Then the difff between the branches would be more representative of the changes, cause imo git got confused there


BUG - Download 403 Forbidden

Fix:
tiktok.py
add before line 216
this
opener = urllib.request.build_opener()
opener.addheaders = [('User-agent', 'okhttp'),('referer','https://www.tiktok.com/')]
urllib.request.install_opener(opener)

so the result is:
        try:
            opener = urllib.request.build_opener()
            opener.addheaders = [('User-agent', 'okhttp'),('referer','https://www.tiktok.com/')]
            urllib.request.install_opener(opener)
            urllib.request.urlretrieve(clip.url, f"{settings.vid_filepath}/{clip.author_name}-{clip.id}.mp4")

            clip.mp4 = f"{clip.author_name}-{clip.id}"
            media_info = MediaInfo.parse(f"{settings.vid_filepath}/{clip.author_name}-{clip.id}.mp4")
            duration = media_info.tracks[0].duration
            clip.vid_duration = float(duration) / 1000
            database.updateStatusWithClip(clip.id, "DOWNLOADED", clip)

Thank you! I'll commit this ASAP.

Looks like theres been some changes to the TikTok API and it's no longer working at all on my build. Have you managed to get the finding/downloading process working at all?

Fixed now. Many thanks.


PR: Add a new plugin to explore frames while debugging

Description of Changes
Add a plugin to show current frame

[x] Wrote at least one-line docstrings (for any new functions)
[x] Added unit test(s) covering the changes (if testable)

[x] Included a screenshot or animation (if affecting the UI, see Licecap

I have added a plugin that allows one to visudalise where all threads are. This can be useful to see where the execution is or to debug a deadlock.

Here, a deadlock renders the shell unresponsive. I can ask the shell where it is currently executing.

Here, I am debugging, and can use the frames explorer to explore the stack. By clicking in the frames explorer, up and down commands will automatically be sent to the debugger.

Here, an error occurs and it is displayed in the frames explorer
Issue(s) Resolved

Fixes #11177, #1613, #16013
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: impact27

Hello @impact27! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file spyder/app/mainwindow.py:

Line 1719:80: E501 line too long (85 > 79 characters)
Line 1784:80: E501 line too long (91 > 79 characters)
Line 1800:80: E501 line too long (91 > 79 characters)

In the file spyder/plugins/framesexplorer/confpage.py:

Line 16:1: E302 expected 2 blank lines, found 1

In the file spyder/plugins/framesexplorer/widgets/framesbrowser.py:

Line 27:51: E203 whitespace before ','
Line 31:80: E501 line too long (82 > 79 characters)
Line 38:46: E251 unexpected spaces around keyword / parameter equals
Line 38:48: E251 unexpected spaces around keyword / parameter equals
Line 105:17: E128 continuation line under-indented for visual indent

I have added an option to investigate a segmentation fault with faulthandler

Needs https://github.com/ipython/ipython/pull/12445 for the tests to pass

@ccordoba12 I think this one is ready. Do you want to have it for Spyder 4?

@ccordoba12 I updated this PR to use the new plugin API

Hey @impact27, we don't plan to add new plugins in Spyder 5, but this is very high on our TODO list for version 6 (to be released next year).
So, could you move your branch to be against master for now? I'll try to review it next week so we can merge it soon.

we don't plan to add new plugins in Spyder 5

Sorry for not commenting on the reasons, which are the following:

We plan to move most of the buttons in our Debug toolbar to the this new plugin, which will introduce a significant change in our interface. That's why we prefer to leave this for version 6.
We don't have time to give support for another plugin right now because we haven't finished the migration to the new API.
We don't have time to write docs for new plugins.

I will need some help with test_programmatic_custom_layouts. It stalls but I don’t know why. The other tests pass.


Fixed #33524 -- ModelAdmin with defined radio_fields overrides empty_label

Fixed #33524

I think I'm missing something. The empty_label is used for rendering select widgets, so when we add a field as a radio_field, it will be rendered as a group of checkboxes, and empty_label should never get used, right?

I think I'm missing something. The empty_label is used for rendering select widgets, so when we add a field as a radio_field, it will be rendered as a group of checkboxes, and empty_label should never get used, right?

No, AdminRadioSelect is not rendered as checkboxes but as a radio group. When blank is set to True, empty_label is used to render an empty choice.

Got it! I had some trouble reproducing the issue since I forgot to set blank=True on the field.


feat: revoke binding by resource type and resource id

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 8 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 85.526%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
1879

Relevant Lines:
2197

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 8 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 85.526%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
1879

Relevant Lines:
2197

💛  - Coveralls


dinamicaly change the status of checked

Hi,
I'm trying to dinamically change the status of the checkBox, because I want to have one checkBox that we can call "Check All", and as the name says, it will change all the status of the children checkbox to true or false, depending on what this one is set.
I made the code but, when I change the state of the checked object, the screen is not updating the children Checkbox to what was suppose to be(I can confirm that the status was changing using the logs).
It this not yet implemented, or is it a bug or I'm doing something wrong? (I'm using version 1.0.4)
Code:
export default class MainScreen extends React.Component {
    constructor(props) {
        super(props);

        this.ds = new ListView.DataSource({rowHasChanged: (r1, r2) => r1.id !== r2.id});
        this.state = {
            list: [],
            dataSource: this.ds.cloneWithRows([]),
            check: {},
            checkAll: false,
        };
    }

    static navigationOptions = {
        title: 'Main',
        headerVisible: false
    };

    _checkAll = () => {
		const { checkAll, list, check } = this.state;
		const callback = () => {
		  console.log("checkAll", checkAll);
		  list.map(student => {
			  check[student.name].checked = !check[student.name].checked;
			  console.log("check: " + student.name, check[student.name].checked);
			  this.setState({check});
		  });
		}
		this.setState({checkAll: !this.state.checkAll}, callback);
    }

    _checkStudent = (student) => {
		console.log("checking student", student);
		const { check } = this.state;
		console.log("checking check", check);
		check[student.name].checked = !check[student.name].checked;
		this.setState({check});
    }

    render() {
        // const { navigate } = this.props.navigation;
        const { check, checkAll, dataSource } = this.state;
        return (
            <Image source={require('./../images/background_no_logo.png')} style={styles.container}>
				<CheckBox
					style={{padding: 10}}
					onClick={()=>this._checkAll()}
					isChecked={this.state.checkAll}
					rightText={this.text.checkText}
				/>
				<ListView
				   style={styles.listView}
				   dataSource={this.state.dataSource}
				   enableEmptySections={true}
				   renderRow={(student) =>
					   <View  style={styles.row}>
						   <CheckBox
							   style={{paddingLeft: 10, paddingRight:10}}
							   onClick={() => this._checkStudent(this.state.check[student.name])}
							   isChecked={this.state.check[student.name].checked}
						   />
						   <Text style={{color:'#336463', fontSize:20, flex: 1}}>
							   {`${student.name}`}
						   </Text>
					   </View>
				   }
				/>
            </Image>
        )
    }
}

i am facing the same problem. Exactly the same issue that the children checkbox are not getting updated. Any help would be appreciated.

Well, this is not the fix and is not my intention to downvote the author's hard work, but in the end I just used another component: https://github.com/sconxu/react-native-checkbox
From other forum, there was a person that helped me with giving me an example how to make it work:
https://gist.github.com/felipemendesbraga/20ebbb4e7527b3b782a1c0c47ae1a72e

The latest version of this component should implement the checkbox as uncontrolled:
https://github.com/crazycodeboy/react-native-check-box/commit/eb424758b550bc039c4a494ae8dd4236ee687c97

Needs to be released though...

Btw, quickfix for now:
Replace the original dependency in your package.json by:
"react-native-check-box": "git://github.com/crazycodeboy/react-native-check-box.git#dbd40836b09f7bc0316d13e30abdb66a799c5077"

I too am unable to implement check all functionality

Hi guys. I have the same problem here. Please help to find a solution

Guys you can use https://github.com/DavitVosk/react-native-check-box.git fork


Create dpsgfaridabad.txt

@gaurav337 First stage of verification passed, official domain is dpsgfaridabad.com as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@gaurav337 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Feature Request: Conditional deletion policies

I am interested in something like on target delete delete source if source.property is Post because I want to only cascade-delete if the property is one of the allowed subtypes.
I would like this to accept an arbitrary expression because I am sure this could have other uses like only cascade-deleting if the user is an admin.

Not a bad idea for a feature, I could maybe see a syntax using is like this:
module default {
  abstract type AbstractType;
  type ExtendingType1 extending AbstractType;
  type ExtendingType2 extending AbstractType;

  type SomeType {
    link_to: AbstractType {
      [is ExtendingType1] on target delete delete source;
      [is ExtendingType2] on target delete allow;
    }
  }
};


Refactoring of openresearch datasource

Current state of affairs can be found at the branch orRefactor
Changes

SMWEntity and SMWEntityList are obsolete and are removed
SMW interactions capseled in OrSMW

api access to extract all entity records (for Event and Series)
Extraction from WikiMarkup

directly from the wiki, or
from backup files

OREventManager and OREventSeriesManager usage simplified

configuration over new wikiId and via parameter instead of abstract configure function

Removed api to change entites in the wiki

Since cc is primarily for accessing the data and not changing it modifying the data should be externalized
ormigrate i.e. provides with OrWikiPage an easy to use api to modify entities.

openreserach.py:

https://github.com/WolfgangFahl/ConferenceCorpus/blob/bb995acb53794671208f6129d252be698a405098/corpus/datasources/openresearch.py#L699
OREventManager and OREventSeriesManager switched from SMWEntityList to OrSMW
OREvent and OREventSeries: removed binding to SMWEntity

Tests:

https://github.com/WolfgangFahl/ConferenceCorpus/blob/bb995acb53794671208f6129d252be698a405098/tests/testOpenResearch.py#L16
https://github.com/WolfgangFahl/ConferenceCorpus/blob/bb995acb53794671208f6129d252be698a405098/tests/testOpenResearch.py#L73
https://github.com/WolfgangFahl/ConferenceCorpus/blob/bb995acb53794671208f6129d252be698a405098/tests/testOpenResearch.py#L140
https://github.com/WolfgangFahl/ConferenceCorpus/blob/bb995acb53794671208f6129d252be698a405098/tests/testOpenResearch.py#L207

Open Questions

OpenResearch now has three ways to initalize its entity managers api, WikiMarkup, WikiFiles

There already was the discussion that we should switch to only one openresearch datasource
Which one to use or should WikiMarkup just replace the WikiFiles method?

ccUpdate
$ ccUpdate --updateSource "orclone-backup"
Starting update of conference corpus database from orclone-backup cache ...
configureCorpusLookup callback called
Starting loading OPENRESEARCH (orclone-wikiMarkup) ...
(1/9984) Extracting Event record from AAAI HBM 2009 ... ✅
(2/9984) Extracting Event record from AASN 2008 ... ✅
(3/9984) Extracting Event record from AASNET 2008 ... ✅
(4/9984) Extracting Event record from ACE 2008 ... ✅
(5/9984) Extracting Event record from ACM SAC MCA 2009 ... ✅
(6/9984) Extracting Event record from ACM SAC OOPS 2010 ... ✅
(7/9984) Extracting Event record from ACM STC 2008 ... ✅
(8/9984) Extracting Event record from ACML 2009 ... ✅

...

(1125/1128) Extracting Event series record from UIST ... ✅
(1126/1128) Extracting Event series record from UbiComp ... ✅
(1127/1128) Extracting Event series record from VISAPP ... ✅
(1128/1128) Extracting Event series record from WPNC ... ✅
loading OPENRESEARCH (orclone-wikiMarkup) took 1371.8 s

:information_source: lookupId orclone-backup and or-backup perform the entity fetching with the WikiMarkup method to provide the latest data. The default backup path of the WikiFile (fromWikiFileManager) method is ~/or/wikibackup/<wikiId> which often resulted in loading an old backup. To avoid this the or-backup datasource should be loaded with the WikiMarkup method since it basically is the same procedure but the actuality of the records is ensured.

Downstream Problems

ormigrate uses the SMWEntity to generate the fixed wikiFiles

can be switched to since the Entites are encapsulated in an EntityRating object wich can provide the functionality if needed

:information_source: The WikiMarkup method is intended to replace the WikiFile data fetching method to always provide the latest data. But the WikiFile method sould be keept if the data should be loaded from a backup.

ToDos

[ ] Add wikiMarkup property to the WikiMarkup extraction method

some fixers need this to access to the freetext
allows to rebuild the complete page

Added option to include wikiMarkup in getWikiSonFromPage


[CAP-522] Explorer api client mention sources endpoint

Putting this up as a draft PR for now @alexdodduk so you can have a look before I write it up properly and ask the wider team for feedback....
JIRA: https://digital-science.atlassian.net/browse/CAP-522
This PR builds on the initial Explorer API Client that was built for the GBQ project and makes it ready to support all the endpoints.  This was a case of doing a few things:
Filters
Changed the way filters are specified in Python so that you can pass both scalar (single value - e.g. filter[timeframe]=3d) and vector (multiple values - e.g. filter[mention_source_countries][]='CN'&filter[mention_source_countries][]='JP') filters.  Previously, it was assumed that all filters would be vectors because that was what was needed for GBQ but this was limiting the usefulness of the API.
Note that this change is not backwards compatible so Kathryn will need to change her workbooks when moving to the new codebase.  This will be a minimal change and we have a meeting with Kathryn on Friday to take her through the progress so far and highlight these changes.
Responses
Previously, the client made separate API calls to get the meta data (row counts etc) and the results of the query.  Now we return a Response object that has methods to get the meta data and the results.  Furthermore, the results are now returned as a Python generator (aka lazy sequence) so that the users can decide how much data to pull down from the API rather than the client assuming they want all the results every time.
Developer Experience
A Dockerfile.dev and docker-compose.yml have been added to allow developers to easily start working with the code.
Python doc strings have been added to the code to assist developers.
User Documentation
In order to document the API, I opted to use a Jupyter Notebook running from within the development docker-compose network.
While it may be unfamiliar to Ruby developers, Jupyter is a very commonly used tool in the Python and Data Science community that allows you to write executable documents comprised of markdown, Python code and visualisations so you can share them with other people easily.  It is expected that many of our users will use Jupyter or some derivative of it (certainly, that's what Kathryn does) so it makes sense to use it to document the API client.

@chrisdrydenaltmetric Alex has been through this now.  No major changes were needed but there are a few points of discussion left unresolved so it's a great time to bring you in to have a look at the code and the conversation to date and add your own observations and opinions.

Added @KateWilkinson too

Awesome.  Thanks @chrisdrydenaltmetric


Clear Queue Not Working

player.queue.clear(); Not Working

Please provide more info.

Please provide more info.

Its A Error In My File Sorry For That But Really Erela.js Is Too Good Nice Job

Its A Error In My File Sorry For That But Really Erela.js Is Too Good Nice Job


Using GPU

What do we need to do to use GPU for training?
I've changed the device params in neptune.yaml to "gpu", but nvidia-smi shows that the GPU is not being used.
That said, I might be checking nvidia-smi at the wrong step, I want to confirm how can I check the model is being trained by looking at the console log outputs.

I am training on cpu so not 100% sure but i would suggest to check whether  lightgbm gpu binary is installed. Sometimes you have both cpu and gpu options available (like in tensorflow).


Endpoints for optional date parameters

#17 for description.
Let me know if anything's wrong.
Also, if there are any other endpoints where we can do something with an optional date then that would be sweet. It would be nice if we could get the daily NBA leaders for any date during the season for example.

Awesome, thanks @malikwas! 🎉


Add v1 pca plotting script

This is a modified version of the TOPMed pipeline PCA plotting script.
See the CH analysis for a working example

Also closes #1


Can't import contrib.boosted_trees

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
== cat /etc/issue ===============================================
Linux 5508912-0913 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
VERSION="16.04.3 LTS (Xenial Xerus)"
VERSION_ID="16.04"
VERSION_CODENAME=xenial

== are we in docker =============================================
No
== compiler =====================================================
c++ (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
== uname -a =====================================================
Linux 5508912-0913 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
== check pips ===================================================
numpy (1.13.3)
protobuf (3.4.0)
tensorflow (1.4.0)
tensorflow-tensorboard (0.4.0rc1)
== check for virtualenv =========================================
False
== tensorflow import ============================================
tf.VERSION = 1.4.0
tf.GIT_VERSION = v1.4.0-0-gd752244
tf.COMPILER_VERSION = v1.4.0-0-gd752244
Sanity check: array([1], dtype=int32)
== env ==========================================================
LD_LIBRARY_PATH is unset
DYLD_LIBRARY_PATH is unset
== nvidia-smi ===================================================
../../tf_env_collect.sh: line 105: nvidia-smi: command not found
== cuda libs  ===================================================
Describe the problem
Can't import the boosted_trees module.
Boosted_trees isn't properly listed in contrib/init.py, so I get:

import tensorflow as tf
est = tf.contrib.boosted_trees.estimator_batch.estimator.GradientBoostedDecisionTreeClassifier()
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/util/lazy_loader.py", line 54, in getattr
return getattr(module, item)
AttributeError: 'module' object has no attribute 'boosted_trees'

Source code / logs
See above.

@yk5 @tkoeppe Any particular reason why boosted_trees wouldn't be listed in contrib/__init__.py?

ask thomaswc@, nponomoreva@, or<EMAIL_ADDRESS>There may still be some loose ends left in the migration from learning/lib to third_party.

You can import the classifier the way in the examples like:
from tensorflow.contrib.boosted_trees.estimator_batch.estimator import GradientBoostedDecisionTreeRegressor
But I'm asking the team about whether there's any reason of being made not accessible directly.

Understood.  It's worth pointing out that using the 'nightly-gpu' container from the docker hub, I can't import the GBDTClassifier or the estimator python module:
Traceback (most recent call last):
File "/mnt/batch/tasks/shared/LS_root/mounts/azfileshare/scripts/train.py", line 9, in
import models
File "/mnt/batch/tasks/shared/LS_root/mounts/azfileshare/scripts/models.py", line 4, in
from tensorflow.contrib.boosted_trees.estimator_batch.estimator import GradientBoostedDecisionTreeClassifier
ImportError: No module named estimator
Using the '1.4.0-rc1' image works fine. I don't know if this is indicative of a problem introduced since the 1.4.0-rc1 image was cooked or not.  It says it was updated 4 days ago.

I don't have proper GPU/docker settings, so cannot test out that nightly, but can you try 1.4.0-gpu instead of rc1?
1.4.0 is released last week, and the import works fine with non-gpu pip installation (not the docker).

I think the issue is that with version 1.5 some of the python files are not included in the release. We have to investigate and add the proper dependencies. (Probably from boosted_trees:init_py to estimator_batch/estimator).
I just tried the nightly docker image and verified that in estimator_batch directory it only has:
init.py  init.pyc  custom_export_strategy.py  custom_export_strategy.pyc  trainer_hooks.py  trainer_hooks.pyc

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

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

the command "from tensorflow.contrib.boosted_trees.estimator_batch.estimator import GradientBoostedDecisionTreeRegressor" also couldn't work in Windows.

even using ubuntu bash on windows doesn't work

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

@sshrdp Soroush, I found that the problem got worse since 1.5.0.
Not even Linux python 2.7 can import boosted_trees.
I installed 1.4.1 and 1.5.0 in different virtualenv, and checked the diffs.
$ (cd tf-1.4/lib/python2.7/site-packages/tensorflow/contrib/boosted_trees/estimator_batch && ls *.py)
custom_export_strategy.py  custom_loss_head.py  estimator.py init.py  model.py  trainer_hooks.py
$ (cd tf-1.5/lib/python2.7/site-packages/tensorflow/contrib/boosted_trees/estimator_batch && ls *.py)
custom_export_strategy.py  init.py  trainer_hooks.py
Many files are taken out in tf-1.5.0, even though I cannot find significant changes regarding BUILD or init.py under boosted_trees between the two versions.
Could it be due to some BUILD file changes like this commit or another..?

@yk5: Yes indeed, the removal of the deps from init_py had the effect of removing the files from the PIP package. I think you can restore functionality by adding them back in (in contrib/boosted_trees/estimator_batch/BUILD):
py_library(
    name = "init_py",
    srcs = ["__init__.py"],
    srcs_version = "PY2AND3",
    deps = [
        "custom_export_strategy",
        ":custom_loss_head",
        ":estimator",
        ":model",
        ":trainer_hooks",
    ],
)

@ghendrymsft: Could you perhaps try to add //tensorflow/contrib/boosted_trees/estimator_batch:init_py to the dependencies of //tensorflow/contrib:contrib_py? (On top of fixing up what I said in the previous comment, which are already committed at head.)

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

any work around?I need this GradientBoostedDecisionTreeClassifier and could not import it.
ps. I am using tensorflow 1.5.0

It should be back in 1.8.0 for Linux/Mac, and you can test it out with 1.8.0rc1.
For Windows, we have some package problem, but it's not easy to find what's the cause. We placed several patches but not successful. I have another, hopefully would more likely fix it this time.

Despite the latest fix, I'm afraid TF on Windows will get contrib.boosted_trees in near future, after looking at the CMake documentation.
Known limitation section explains that CMake doesn't support tf.load_op_library(), which we use to load custom ops for contrib.boosted_trees (link)
Until that functionality is implemented in CMake, it might not be possible to load contrib.boosted_trees packages properly due to lack of ops.
OTOH, we started to migrate contrib boosted_trees into core, and v0 implementation is pushed to 1.8.0 (e.g. BoostedTreesClassifier), so try it out.
Current limitation is that it only accepts bucketized_columns, however other features are being actively developed.


Showcase Submission for 16-l-system-fractal-trees

Thank you kaykay for your contribution! A member of the Coding Train team will review it shortly.

sea fan(L-System) & sea slug(ASCII Image)
kaykay

Somehow this worked when I entered the exact same information?

@kfahn22 btw the label is not required in these PRs (unless @ch00ooch00oo bot wants to participate in hacktoberfest!)

@dipamsen I guess the hacktoberfest credit can't go to the submitter b/c the pull request is not opened by them (even though the commits are assigned to them?)
@kaykay this is such a wonderful project, I'm thrilled we are finally getting it on the website!

@dipamsen I guess the hacktoberfest credit can't go to the submitter b/c the pull request is not opened by them (even though the commits are assigned to them?)

Yes, the hacktoberfest website only lists the prs from the registered GitHub account.


Initialize PhysicalBone2D::parent_skeleton

Fixes #49529.
The member was left uninitialized until the ready notification, so the if (parent_skeleton) check did not work.

Thanks!


Set priority: high in GCM for notifications of messages

As explained in upstream GCM reference docs:

priority
Optional, string
Sets the priority of the message. Valid values are "normal" and "high." On iOS, these correspond to APNs priority 5 and 10.
By default, notification messages are sent with high priority, and data messages are sent with normal priority. Normal priority optimizes the client app's battery consumption, and should be used unless immediate delivery is required. For messages with normal priority, the app may receive the message with unspecified delay.
When a message is sent with high priority, it is sent immediately, and the app can wake a sleeping device and open a network connection to your server.

and in a guide doc linked from there:

GCM attempts to deliver high priority messages immediately, allowing the GCM service to wake a sleeping device when possible and open a network connection to your app server. Apps with instant messaging, chat, or voice call alerts, for example, generally need to open a network connection and make sure GCM delivers the message to the device without delay. Set high priority if the message is time-critical and requires the user’s immediate interaction, and beware that setting your messages to high priority contributes more to battery drain compared to normal priority messages.

We're letting our GCM messages default to "normal" priority; they should be "high".
This is made a little subtle by the fact that we've begun to send messages that shouldn't be high priority, namely "remove this notification" messages. So a bit of thought will be worthwhile in setting the right API for the Zulip app server and the bouncer to communicate about this.
I have some thoughts on this and the start of a branch; will finish up sometime and send.

(ISTR from when @borisyankov and I dug into this that on the APNs/iOS side, our messages are already being handled appropriately in this respect. In any case for reference here's the corresponding reference doc for APNs; the corresponding setting there is an HTTP/2 header called apns-priority.)

On the backend, it's a slightly different code path for the "new message" vs. "remove message" things anyway, so I don't think it'd be challenging at all to set a different priority level for those two paths.


Test suite failure (packaging for GNU Guix)

Hello,
Describe the bug
I'm packaging python-locust for GNU Guix. The current dependencies used are:
dependencies<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>+<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>+<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>+<EMAIL_ADDRESS>
Expected behavior
The test suite should pass.
Actual behavior
The test suite fails with the following errors:
======================================================================
ERROR: test_default_headless_spawn_options (locust.test.test_main.LocustProcessIntegrationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/guix-build-python-locust-1.4.1.drv-0/locust-1.4.1/locust/test/test_main.py", line 231, in test_default_headless_spawn_options
    subprocess.check_output(
  File "/gnu/store/wwm10m100gnpgw46y52a539lkxzf50f7-python-gevent-20.9.0/lib/python3.8/site-packages/gevent/subprocess.py", line 404, in check_output
    raise CalledProcessError(retcode, process.args, output=output)
subprocess.CalledProcessError: Command '['locust', '-f', '/tmp/guix-build-python-locust-1.4.1.drv-0/locust-1.4.1/locust/test/mock_locustfile_1608407678_1009326_26670.py', '--host', 'https://test.com/', '--run-time', '1s', '--headless']' returned non-zero exit status 1.

======================================================================
ERROR: test_default_headless_spawn_options_with_shape (locust.test.test_main.LocustProcessIntegrationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/guix-build-python-locust-1.4.1.drv-0/locust-1.4.1/locust/test/test_main.py", line 272, in test_default_headless_spawn_options_with_shape
    subprocess.check_output(
  File "/gnu/store/wwm10m100gnpgw46y52a539lkxzf50f7-python-gevent-20.9.0/lib/python3.8/site-packages/gevent/subprocess.py", line 404, in check_output
    raise CalledProcessError(retcode, process.args, output=output)
subprocess.CalledProcessError: Command '['locust', '-f', '/tmp/guix-build-python-locust-1.4.1.drv-0/locust-1.4.1/locust/test/mock_locustfile_1608407679_8408535_8220.py', '--host', 'https://test.com/', '--run-time', '1s', '--headless']' returned non-zero exit status 1.

======================================================================
ERROR: test_web_options (locust.test.test_main.LocustProcessIntegrationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/gnu/store/27bsphgz4hc261iw4lsi22gvm87y9qm2-python-urllib3-1.25.9/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn
    conn = connection.create_connection(
  File "/gnu/store/27bsphgz4hc261iw4lsi22gvm87y9qm2-python-urllib3-1.25.9/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection
    raise err
  File "/gnu/store/27bsphgz4hc261iw4lsi22gvm87y9qm2-python-urllib3-1.25.9/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, in create_connection
    sock.connect(sa)
  File "/gnu/store/wwm10m100gnpgw46y52a539lkxzf50f7-python-gevent-20.9.0/lib/python3.8/site-packages/gevent/_socket3.py", line 407, in connect
    raise error(err, strerror(err))
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/gnu/store/27bsphgz4hc261iw4lsi22gvm87y9qm2-python-urllib3-1.25.9/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen
    httplib_response = self._make_request(
  File "/gnu/store/27bsphgz4hc261iw4lsi22gvm87y9qm2-python-urllib3-1.25.9/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/gnu/store/q9rm8h9imazsq2c4qiv2yjpvlvliywqb-python-3.8.2/lib/python3.8/http/client.py", line 1230, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/gnu/store/q9rm8h9imazsq2c4qiv2yjpvlvliywqb-python-3.8.2/lib/python3.8/http/client.py", line 1276, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/gnu/store/q9rm8h9imazsq2c4qiv2yjpvlvliywqb-python-3.8.2/lib/python3.8/http/client.py", line 1225, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/gnu/store/q9rm8h9imazsq2c4qiv2yjpvlvliywqb-python-3.8.2/lib/python3.8/http/client.py", line 1004, in _send_output
    self.send(msg)
  File "/gnu/store/q9rm8h9imazsq2c4qiv2yjpvlvliywqb-python-3.8.2/lib/python3.8/http/client.py", line 944, in send
    self.connect()
  File "/gnu/store/27bsphgz4hc261iw4lsi22gvm87y9qm2-python-urllib3-1.25.9/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect
    conn = self._new_conn()
  File "/gnu/store/27bsphgz4hc261iw4lsi22gvm87y9qm2-python-urllib3-1.25.9/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fffefda5670>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/gnu/store/xc0p8gamx973rawzai1xx3d1fyahg55v-python-requests-2.24.0/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/gnu/store/27bsphgz4hc261iw4lsi22gvm87y9qm2-python-urllib3-1.25.9/lib/python3.8/site-packages/urllib3/connectionpool.py", line 724, in urlopen
    retries = retries.increment(
  File "/gnu/store/27bsphgz4hc261iw4lsi22gvm87y9qm2-python-urllib3-1.25.9/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='<IP_ADDRESS>', port=32949): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fffefda5670>: Failed to establish a new connection: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/guix-build-python-locust-1.4.1.drv-0/locust-1.4.1/locust/test/test_main.py", line 315, in test_web_options
    self.assertEqual(200, requests.get("http://<IP_ADDRESS>:%i/" % port, timeout=1).status_code)
  File "/gnu/store/xc0p8gamx973rawzai1xx3d1fyahg55v-python-requests-2.24.0/lib/python3.8/site-packages/requests/api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "/gnu/store/xc0p8gamx973rawzai1xx3d1fyahg55v-python-requests-2.24.0/lib/python3.8/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/gnu/store/xc0p8gamx973rawzai1xx3d1fyahg55v-python-requests-2.24.0/lib/python3.8/site-packages/requests/sessions.py", line 530, in request
    resp = self.send(prep, **send_kwargs)
  File "/gnu/store/xc0p8gamx973rawzai1xx3d1fyahg55v-python-requests-2.24.0/lib/python3.8/site-packages/requests/sessions.py", line 643, in send
    r = adapter.send(request, **kwargs)
  File "/gnu/store/xc0p8gamx973rawzai1xx3d1fyahg55v-python-requests-2.24.0/lib/python3.8/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='<IP_ADDRESS>', port=32949): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fffefda5670>: Failed to establish a new connection: [Errno 111] Connection refused'))

======================================================================
FAIL: test_skip_logging (locust.test.test_log.TestLoggingOptions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/guix-build-python-locust-1.4.1.drv-0/locust-1.4.1/locust/test/test_log.py", line 132, in test_skip_logging
    self.assertEqual("running my_task", output.strip())
AssertionError: 'running my_task' != "System open file limit '1024' is below m[250 chars]task"
- running my_task
+ System open file limit '1024' is below minimum setting '10000'. It's not high enough for load testing, and the OS didn't allow locust to increase it by itself. See https://github.com/locustio/locust/wiki/Installation#increasing-maximum-number-of-open-files-limit for more info.
running my_task

======================================================================
FAIL: test_custom_exit_code (locust.test.test_main.LocustProcessIntegrationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/guix-build-python-locust-1.4.1.drv-0/locust-1.4.1/locust/test/test_main.py", line 199, in test_custom_exit_code
    self.assertEqual(42, proc.returncode)
AssertionError: 42 != -15

======================================================================
FAIL: test_headless_spawn_options_wo_run_time (locust.test.test_main.LocustProcessIntegrationTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/guix-build-python-locust-1.4.1.drv-0/locust-1.4.1/locust/test/test_main.py", line 251, in test_headless_spawn_options_wo_run_time
    self.assertEqual(0, proc.returncode)
AssertionError: 0 != -15

----------------------------------------------------------------------
Ran 320 tests in 90.361s

FAILED (failures=3, errors=3)
Test failed: <unittest.runner.TextTestResult run=320 errors=3 failures=3>
error: Test failed: <unittest.runner.TextTestResult run=320 errors=3 failures=3>
command "python" "-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "test" failed with status 1

I think the first two issues might have to do with networking not available in the Guix build container. Is there a mean to skip network dependent tests?
The second catches a warning instead of the expected text; the test seems brittle. Note that I can't do anything about the fs.file-max value (say, using sysctl -w fs.file-max=500000), as the build user in the container is not root.
I have no clue about the last one.
Environment

OS: Guix System
Python version: 3.8.2
Locust version: 1.4.1
Locust command line that you ran: python setup.py test

Hi! Sorry, but this is way out of scope for the project. Probably you should just not run the unit tests at all. Running a reduced test set that doesnt require any network may be possible, but doesnt make a whole lot of sense...

Hi, thanks for your answer.
Actually, only test_web_options seems to fail for lack of networking.
For the record, I've used pytest to run the test suit, as it allows skipping tests easily from the command line.  Here are the skipped tests:
(invoke "python" "-m" "pytest"
                     "-k" (string-join
                           (list
                            ;; These tests return "non-zero exit status 1".
                            "not test_default_headless_spawn_options"
                            "not test_default_headless_spawn_options_with_shape"
                            "not test_headless_spawn_options_wo_run_time"
                            ;; This test depends on networking.
                            "not test_web_options"
                            ;; This test fails because of the warning "System open
                            ;; file limit '1024' is below minimum setting '10000'".
                            "not test_skip_logging") " and "))

With this small subset of skipped tests, the test suite succeeds. Perhaps the non-network failures could be worth looking into.  They could be due to assumptions made about the host system not holding true in the minimal build container. Otherwise, feel free to close it.
Thank you!

FYI, Locust is now in packaged in Guix: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=5795f566fae85023c6be86fe62388c29e6ac5c51.

Cool! Thanks!


Fixing grammar issues in webpack example

What kind of change does this PR introduce?
Fix typo in Documentation
Did you add tests for your changes?
Tests aren't needed
If relevant, link to documentation update:
N/A
Summary
Clarifying spelling in webpack example
Does this PR introduce a breaking change?
No
Other information

Thanks


login error:InvalidePassword

I downloaded the client and whenever I try to log in with the steam account of the invalid password error

It seems that after a long wait time I managed to log in

Probably a Steam issue – they often return InvalidPassword when something goes wrong internally.

This could have been caused by:

Providing invalid password
Providing invalid 2FA code too many times and then getting throttled
Steam having some issue

Either way, seems like the issue has been resolved. 👍


Terra-grid now imports breakpoints from terra-breakpoints

Summary
Deleted the existing variables.scss file in terra-grid that was being used for breakpoints. Instead terra-grid now imports the breakpoints from a variables.scss file within terra-breakpoints. Also, changed the naming scheme of the size props.
Resolves #2131

@AlexB98 We need to add an upgrade guide for these breaking changes

@emilyrohrbough What does this entail?

@AlexB98 We need to add an upgrade guide for these breaking changes

@emilyrohrbough What does this entail?

I would expect a new section at the top of the existing upgrade guide that explains to consumers what changed and what code changes are required for consumer terra-grid v6.
https://engineering.cerner.com/terra-core/#/components/terra-grid/grid/upgrade-guide

Do we have wdio tests for each breakpoint size? I noticed the medium screenshots were updated

Updated the screenshots I saw that used the now nonexistent 'col' prop, and added the 'enormous' prop.

@StephenEsser @emilyrohrbough Any more changes/fixes you would like to see?

@AlexB98
This PR was brought up and discussed in our war-room. It sounded like Brett would sync up with you to discuss any potential changes.
cc: @bjankord

@StephenEsser I've updated this branch with additions we discussed in our meeting on Friday here: https://github.com/cerner/terra-core/pull/2373/commits/a6dc28763867f417d20553f2f40c6dd761c6dd58
@emilyrohrbough I've created test pages to cover the various column width props here: https://github.com/cerner/terra-core/pull/2373/commits/50e05c062b03d02fb6968505fe8a7586d179994c
@AlexB98 We'll want to get wdio tests in place to capture test evidence of these new pages.


Suggest some tweaks for Ondřej.

Hi, @certik. I thought I would go through the exercise of generating a pull request with some tweaks to the language about current Flang and f18 for the compilers.md page.
Let me know what you think and we can perhaps iterate on a change.

Whoops. Link is wrong.

Perfect, thank you. Ping me once it is ready.


HTML only hot reload a few tags deep

Editing something inside <template></template> hot reloads properly (not the entire page) as expected. And adding something like

something

 (note the nested tags) also reloads properly. But...
Then, after changing something to something else, it doesn't hot reload. I have to change anything in the template that is not in nested tags, or something in the script, to have it hot reload.
The limit I found is 3 tags deep. Anything less than that works normally.
I found that it currently has a html-webpack-plugin issue, so some aspects of html hot reloading are disabled, but is the behavior normal/intended and does it have anything to do with it?
I also tried it with a clean vue init webpack.

There's A Regression concerning HMR in Vue 2.5, but a fix is available.
Please see this issue: https://github.com/vuejs/vue-loader/issues/1041#issuecomment-342689466
I will close this issue here because this problem, if it still exists, is with Vue itself, not this template.