adding date to better understand where is the most time spend

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ x] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: utka
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

prow/OWNERS [utka]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: howardjohn, utka
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

prow/OWNERS [utka]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@utka: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test istio-unit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@utka: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test istio-unit-tests-master

prow/integ-security-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-security-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@utka: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test istio-unit-tests-master

prow/integ-security-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-security-k8s-presubmit-tests-master

prow/integ-telemetry-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-telemetry-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@utka: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test istio-unit-tests-master

prow/integ-security-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-security-k8s-presubmit-tests-master

prow/integ-telemetry-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-telemetry-k8s-presubmit-tests-master

prow/integ-new-installer-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-new-install-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@utka: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test istio-unit-tests-master

prow/integ-security-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-security-k8s-presubmit-tests-master

prow/integ-telemetry-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-telemetry-k8s-presubmit-tests-master

prow/integ-new-installer-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-new-install-k8s-presubmit-tests-master

prow/integ-istioctl-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-istioctl-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@utka: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test istio-unit-tests-master

prow/integ-security-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-security-k8s-presubmit-tests-master

prow/integ-telemetry-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-telemetry-k8s-presubmit-tests-master

prow/integ-new-installer-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-new-install-k8s-presubmit-tests-master

prow/integ-istioctl-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-istioctl-k8s-presubmit-tests-master

prow/integ-mixer-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-mixer-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-unit-tests-master

@utka: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/integ-security-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-security-k8s-presubmit-tests-master

prow/integ-telemetry-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-telemetry-k8s-presubmit-tests-master

prow/integ-new-installer-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-new-install-k8s-presubmit-tests-master

prow/integ-istioctl-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-istioctl-k8s-presubmit-tests-master

prow/integ-mixer-k8s-presubmit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test integ-mixer-k8s-presubmit-tests-master

prow/istio-unit-tests.sh
a8cbb31802d689982f3b37f485b3ba0e562448f0
link
/test istio-unit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-unit-tests-master


I have changed the new descritpion

trying to re-open to see if you may see the PR. Thanks a lot

trying to re-open to see if you may see the PR. Thanks a lot


No compilation on RPi

In src/CMakeLists.txt you read
if(SSE OR AVX OR AVX2 OR CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
add_executable(test_vec test_vec.c)
target_link_libraries(test_vec m)
else()
message(WARNING "No SSE/AVX/AVX2 CPU flags identified, not building test_vec.")
endif()
but this should replace
SSE   ==> SSE_PRESENT GREATER 0
in the if condition (the same for AVX and AVX2).
Note:
SSE  means: SSE is used if it is detected (is ON on non-SSE systems by default!)
SSE_PRESENT means: SSE is present (detected in /proc/cpuinfo)
consequence when compiling on a non-SSE system: test_vec.c is compiled and this results in errors
if no include file defines sgemv_accum16_fast.
With the indicated change, it compiles on my RPi.
P.S.: If NEON  were a standard cpp #define on my system, the problem would not have popped up.
But linking test_vec.c can only be done if one (or more) of the
#ifdef AVX
#ifdef AVX2
#elif SSE
#elif ARM_NEON || aarch64
evaluates "true".

@dl1ycf thanks. There was some early work on getting this code to run on Pi 3s, however the CPU load was too high for real time operation so it's not a target that is being maintained.  I understand that Jean-Marc has made some progress in reducing CPU load in the original version of LPCNet, and operation on a Pi may now be possible.

Just created a PR (see above) to fix this issue. Let me know if that works for you, @dl1ycf. 👍


Add two new classes "light-mode" and "dark-mode" to set a dark or light check for radio buttons and checkboxes.

These new classes affect the color of the check mark and the background color within custom checkboxes and radio buttons.
When the dark-mode class is applied to the root element of the control the check mark will be light in color and the background dark. However, if the light-mode class is applied there would be no change to the existing behavior, but it allows switching between light and dark modes programmatically.

Completed.


Version without Redis?

Have you considered an option to have this available without Redis and have the JWT token only be stored in the cookie? You will not be able to token blacklisting on logout, but this could be ok with short lived tokens and would simplify deployment?

That would be fantastic. Thank you

Version 1.3 is now out with Redis as optional. Currently logged out (blacklisted) tokens aren't cleaned automatically, so if you have millions of logouts, it's good to restart the service from time to time, but it shouldn't be a problem even with those numbers. I'll fix this thoroughly by the time 1.4 will come around.


Include link to the Preview Terms of use

I've founed a link with Preview Terms: https://azure.microsoft.com/en-us/support/legal/preview-supplemental-terms/ ¿Is this applicable to kubernetes preview versions explained here?
Only there is a phrase : "AKS may also support preview versions which are explicitly labeled and subject to Preview terms and conditions." But this page should have a link or reference to Preview Terms of Kubernetes in AKS.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ec484163-5d73-af3a-3d7b-9e0d421d2824
Version Independent ID: 42da7aed-a33d-e331-fb7f-4fb4b40e5813
Content: Supported Kubernetes versions in Azure Kubernetes Service - Azure Kubernetes Service
Content Source: articles/aks/supported-kubernetes-versions.md
Service: container-service
GitHub Login: @sauryadas
Microsoft Alias: saudas

@jmorcar
Thanks for the feedback! We are currently investigating and will update you shortly.

@jmorcar
Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Thank you @jmorcar for the feedback.
The article has been updated to address your feedback.
#please-close


Code snippet styles near invisible in dark mode

the monospace typography that gets generated by code snippet markdown is a slightly lighter colour than the text, which is still visible on light mode, but is near invisible in dark mode. Adopt a new style, and consider contributing to the astro template.

fixed in https://github.com/ademagic/site/commit/f255d478776893523664c904d56a43b7f2331446


Stylistic changes to visual representation of injector graph and router tree

Resolves #621

Fixed arrow marker colour
Fixed root node stroke and fill
Changed dark and light mode blue colour so that it stands out agains black background
Introduced new colour variables

@hilaryhacksel LGTM :shipit:


I couldn't open document website.

I couldn't open http://model-changing.net.
I hope have documents tell me how to use this lib.

Model-Changing is currently being moved to another hosting option, sorry.
There are not documents yet as the lib is in development. What do you want to do with it?

I'm trying read map file and draw a coordinate in 3D model. But I have no idea how to do this.
So I tried to read your code. And the issue is I didn't know how to use your lib and what's meaning for a function. So I want a document to read.

Sorry, documentation will be available later when the library is more finished.


Added a couple slash commands

I have added a couple slash commands such as "selfentry, random, featured" because why tf not. Please let me know if you want anything added or changed.

brain damage lol

Where's the code?

It's in 5581118

Do i need to make another commit/pr

Also @selectthegang changed all the ''s to "'s lol

It's in 5581118

uhhhhh that commit isnt in the branch ur pr-ing into repldex ._.

Fuck, vscode messed with it

i will fix this

It's in 5581118

that only console.logs the commands tho.... not actually handling them

It's in 5581118

that only console.logs the commands tho.... not actually handling them

You do know that i just added onto the code that Mat already had, there was nothing handling them


The Doc of tfl.reverse_v2 need to be updated for supporting axes

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 22.04
TensorFlow installed from (source or binary): source
TensorFlow version (or github SHA if from source): the latest version

Standalone code to reproduce the issue
The doc of tfl.reverse_v2 only supports axis, but the kernel implementation can support axes, the implementation seems not be consistent with the doc.

Hi, @fujunwei
I apologize for the delayed response, I see the kernel implementation and it seems like we do support contiguous axes so we need to update our official documentation and for testing contiguous axes support I prepared one sample example in that it supports contiguous axes and not non contiguous axes please refer this gist-file if I have missed something here please let me know.
Thank you for your cooperation and patience.


Unassigned tables on every restart accumulo 1.10.1

HI all,
have accumulo 1.10.1 and last month every restart broke +r table which is root and after restore, it become whole cluster unassigned tables and need to wait near hour while all tables will be assigned,
there is 1 master and 2 table servers, can anybody help me with that?

021/05/06 17:20:50,343
tserver:xxxxxx140.internal.xxxx.net
1
WARN
exception trying to assign tablet +r<< hdfs://xxxxxxxx120.xxxxxxxxxxxx-dev.local:8020/apps/accumulo/data/tables/+r/root_tablet 	java.lang.RuntimeException: Error recovering tablet +r<< from log files 		at org.apache.accumulo.tserver.tablet.Tablet.(Tablet.java:499) 		at org.apache.accumulo.tserver.TabletServer$AssignmentHandler.run(TabletServer.java:2413) 		at org.apache.accumulo.tserver.TabletServer$ThriftClientHandler$3.run(TabletServer.java:1775) 	Caused by: java.io.IOException: Unable to find recovery files for extent +r<< logEntry: +r<< hdfs://xxxxxxxx120.xxxxxxxx-dev.local:8020/apps/accumulo/data/wal/xxxxxxxxxx.xxxxxxxxx-dev.local+9997/e31761f2-e600-49f9-9a5c-8972aa37005b 		at org.apache.accumulo.tserver.TabletServer.recover(TabletServer.java:3311) 		at org.apache.accumulo.tserver.tablet.Tablet.(Tablet.java:437) 		... 2 more

2021/05/06 17:20:50,345
tserver:xxxxxxxx140.internal.cloudapp.net
1
WARN
Error recovering tablet +r<< from log files

2021/05/06 17:20:50,349
tserver:xxxxxxxxx140.internal.cloudapp.net
1
WARN
failed to open tablet +r<< reporting failure to master

2021/05/06 17:20:50,351
tserver:xxxxxxxxx140.internal.cloudapp.net
1
WARN
rescheduling tablet load in 1.00 seconds

2021/05/06 17:20:50,383
master:xxxxxxxxx120.internal.cloudapp.net
1
ERROR
xxxxxxxxx140.xxxxxxxxxxx-dev.local:9997 reports assignment failed for tablet +r<<

Based on the error message, it looks like you're missing a recovery file in HDFS for the root tablet. I would first check for HDFS being corrupt. Did you see this after a failure? Have you finished recovering HDFS from that failure before starting Accumulo? Were any files unrecoverable in HDFS? Did all nodes come back online for HDFS?

ok my last tests show me that all clusters have that problem, and it's not related to error which described in my first message, I use ambari and it's restart tables and master with kill -9, and seems it's ok with reassign tables with such restart.
I have another cluster with same config, but with heapsize = 1.5G, and 40.75B records, and reassign there take near 15 minutes, and same cluster with 40G java heapsize and 52.71B records, reassign will take near 4 hours, what related to table reassign speed?

When you do a restart, do you start the tservers and THEN the master(s) - if you start the master first, it will see assign everything to the first tserver(s) that it sees, resulting in an unbalanced cluster that takes a while for everything to be processed and then rebalanced because only one (or a few) tservers are processing everything.  There is a property to have the master wait for a required number of tservers that was  added in 1.10.  It is best if the tservers are all up and then the master starts - taht way all tservers are available for assignments.
Other factors could be if the tables are performing batch writes (vs bulk import) - that will generate WAL files that need to be processed during recovery.
Do you every compact the tables - that will reduce the number of files as well as process any info in the WAL so that there is less work that needs to be performed during recovery.

@EdColeman it's reassign in any case, if I start first master, the last, or even if I not restart master.
Tables run compaction time per time, not manually, but some time ago I added disks and started major compaction and it run ok without any notice.

Please move this to discussion to the user mailing list .  On the list, please describe what steps you are taking,  and then behavior of the system - other details like # of tservers / tablets per tserver, type of ingest (bulk or batch) would be really helpful.  That will provide you with a wider audience for those that are not seeing this discussion.

@EdColeman tried, but all time
Hi. This is the qmail-send program at apache.org.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<EMAIL_ADDRESS>Must be sent from an @apache.org address or a subscriber address or an address in LDAP.

Did you subscribe first?

Closing this - the discussion has moved to the mailing list and there is not enough actionable information in the issue to take any action.

can anybody tell me what related to speed of table reassign? cuz in same configuration I get ~14 tables per minute on current, and ~1500 per minute on another

Please ask this on the user mailing list.  You will be more likely to get a response if you include additional information.  There are a lot of factors that trigger reassignment and without any information on why the reassignment is occurring and what the system it is very difficult to just guess.

There are a number of factors that could affect Tablet migration (tablet size, number of tablets, number of tservers, recovery, configuration). Are you using the default configured Load Balancer (see table.balancer property) DefaultLoadBalancer? If so, it will attempt to keep an even number of tablets across all tservers. When a tablet gets migrated from one tserver to another, it will get unloaded and then loaded on the new tserver. So if the tablet has a Write Ahead Log (WAL) associated with it, it will do recovery on the WAL. If you are having issues with WALs (based on the previous comments) then this would hold up loading of the tablets with the problematic WALs.
If you have resolved the WAL problems, then you might want to look into using a different load balancer. See this blog post about the GroupBalancer: https://accumulo.apache.org/blog/2015/03/20/balancing-groups-of-tablets.html


Shelling out breaks various functionality

With the execution model change in baa7b76, a couple issues have arisen in my setup.

ElasticSearch no longer starts up, due the way it spawns processes. Playing with wrapper scripts and shell environments hasn't seemed to help.
Some processes no longer terminate correctly.

OS X Lion
ruby 1.9.3p0
foreman 0.32.0 (Back to 0.31.0 for now.)

I reverted the process management changes in 0.32.0 while I investigate. Re-released as 0.33.0

Can you give example of processes which can't be terminated?

When I opened this issue, the two processes that weren't terminated by Foreman were spawned by the commands postgres and rails server.

It uses setsid.
Probably due to the uninstall/reinstall, the behavior has changed, and ElasticSearch is now starting properly. (Sorry I can't reproduce the exact problem, this could just be ordinary OS X clutter.)
rails server still isn't terminating, but this is a much more minor issue. If there's any more information I could provide that would be helpful, please let me know.

Also, with the latest version of foreman, rails server terminates properly - can't explain that any better than the previous vanishing problem. Nothing more to report here, folks, but thanks for your help!

@bore Latest version works because it reverts to simple exec with its cons. So I want to get to the bottom of this, if we want to have a better alternative (which can be enabled via config flag may be for starters), and I need your help, can you tell me which web server do you use in your rails application? Not webrick, by chance?

OK, sorry about the confusion earlier. I completely spaced that the code substitution was remedying most of the trouble. All the issues I described are still reproducible in 0.32 before the substitution.
I am indeed using webrick as a development server, and it's still hanging on and refusing to be killed. The process appears to be breaking out of the user session, for what it's worth.
Let me know if there's anything I can do to help out.

I see the problem. Webrick has shown an underlying problem, since it ignores the SIGTERM (http://oldwiki.rubyonrails.org/rails/pages/WEBrick) and can be handled gracefully only with SIGINT.
So in current codebase (which uses simple exec) webrick is closed gracefully because TRAP('INT', 'IGNORE') does not work after exec and therefore SIGINT from foreman goes straight to webrick.
In codebase with Process.setsid/setpgrp SIGINT from foreman is not propagated to its children and so webrick is not closed gracefully. In theory foreman should send SIGKILL after waiting for children for 5 seconds, but it did not work because Process.detach borked waiting.
The simple solution is to remove Process.detach, but it won't help in case of forking in tracked processes, because Process.waitall will wait only for intermediate children. So to have an ideal bulletproof solution we need to monitor that all processes belonging to spawned process groups are killed. That will be pretty easy by using sys-proctable gem.
Something along the lines:
 Sys::ProcTable.ps.select {|it| running_processes.keys.include? it.pgid  }

So @ddollar what do you think? I can wrap up a prototype pretty quickly. And to ensure that it will work smoothly we can provide a config variable to manually enable this mod, so people can test it out and if they see problems can report.

I'd be willing to try a prototype. We can release it as a prerelease gem for testing. The sys-proctable gem has C extensions in it which makes it less than ideal (it's harder to package as a .deb, .tgz, etc when there are gem build requirements)

In my ideal world, every Procfile entry would spawn only one process (that itself may spawn processes that I don't care about)
The interface between foreman and each process would be std{in,out,err} and SIGTERM.


Sample to Get Access Token without public URL

I have been searching for a good pattern to follow to get the access token for a Server side app that basically runs on a schedule?
Any ideas?  I have been trying to follow the documentation from Adobe you have at the end of the readme, but I have not had any luck.

Hi,
I am using windows application and opening a browser with-in application for user login to get access token.
I think we need to get a first access token from User Interface (Browser component) because user have to allow different authorization access (like allow send file, allow read etc), but once we get a access token we can use a refresh token to get a new access token with out user interface or user login.
On AdobeSign Api documentation it says;
_At any point in the future the client can use the Refresh Token to receive an updated Access Token.
The client makes an HTTP POST to the /oauth/refresh endpoint (using the api_access_point retrieved in the authorization request step) with the following parameters:_
I have not tried the refresh token yet but going to have a look,
Thanks

Please have a look at
https://secure.na1.echosign.com/public/static/oauthDoc.jsp#refreshRequest
You need to get a access token first time using a user interface (may be web browser component), once you get a access token, you also get refresh token with it.
Then when your access token is expired you can use a refresh token to regenerate a new access token (with out any user interface, your server side scheduler can keep regenerating new access tokens on expiry)


Issue while connecting to an existing node

Incorrect Usage. invalid value "--rpc" for flag -raftjoinexisting: strconv.ParseInt: parsing "--rpc": invalid syntax
Followed by the below ones.
{"level":"info","msg":"Node Manager listening on :22004...","time":"2019-03-27T11:31:07Z"} rpc call eth_coinbase() on http://localhost:22000: Post http://localhost:22000: dial tcp <IP_ADDRESS>:22000: connect: connection refused rpc call eth_coinbase() on http://localhost:22000: Post http://localhost:22000: dial tcp <IP_ADDRESS>:22000: connect: connection refused rpc call eth_coinbase() on http://localhost:22000: Post http://localhost:22000: dial tcp <IP_ADDRESS>:22000: connect: connection refused rpc call eth_coinbase() on http://localhost:22000: Post http://localhost:22000: dial tcp <IP_ADDRESS>:22000: connect: connection refused
I get this issue while connecting to an existing node.
Initially it worked fine, lot of nodes are infact attached to it already.
Joining a 6 node, I get this error. Not exactly sure why and I don't think its a firewall issue at the moment, I disabled all.
In the geth log, I found the geth command internally is passed as,
geth --verbosity 6 --datadir qdata --raft --nodiscover --networkid 61346 --raftjoinexisting --rpc --rpcaddr <IP_ADDRESS> --rpcapi admin,db,eth,debug,miner,net,shh,txpool,personal,web3,quorum,raft --emitcheckpoints --raftport 22003 --rpcport 22000 --port 22001 --nat extip:<ip here> invalid value "--rpc" for flag -raftjoinexisting: strconv.ParseInt: parsing "--rpc": invalid syntax
When in the working node, the geth log showed something like this,
geth --verbosity 6 --datadir qdata --raft --nodiscover --networkid 61346 --raftjoinexisting 2 --rpc --rpcaddr <IP_ADDRESS> --rpcapi admin,db,eth,debug,miner,net,shh,txpool,personal,web3,quorum,raft --emitcheckpoints --raftport 22003 --rpcport 22000 --port 22001 --nat extip:<ip here>

@naveen-appoets This would indicate that the raft id was not successfully passed in the failing nodes and hence they are unable to start up correctly. The raft id would have been returned to the potential joiners after performing the raft.addPeer command. The fact that the network id was returned correctly indicates that communication has taken place correctly. The second communication which sends the raft id and the Network Manager Contract address might have failed. Can you check the setup.conf of the failing joiners and check whether the CONTRACT_ADD property is blank or populated

Is this resolved? I am facing the same issue when I am trying to add a new node to the network. Can we try upgrading the QM and Quorum version? Do you guys have any docs for applying the upgrade to the live network, without taking it down?


WIP/RFC: add watch mode to Profiler

Proof of concept WIP that allows Profiler to update its bokeh plot as tasks complete, turning it into an excellent complement to the ProgressBar.
To use:

bokeh.io.output_notebook() # this needs to have been called at some point before

with dask.diagnostics.Profiler() as prof:
    prof.visualize(watch=True)
    dask.compute(some_expensive_thing)

Demo: https://youtu.be/sUTYlnCcgTg
TODO:

[ ] plot_tasks() is creaking under its current architecture, refactoring it to its own Callback subclass would more easily allow progressive data source updates and enable drawing pending/current tasks
[ ] generalize this to all the other profilers as well; this goes along well with carving out a better base class for all profiler-plotters
[ ] drive the incremental update mindset all the way through to the mutations on the bokeh data source to reduce churn; this might start to become meaningful to performance of the notebook process around (tens of?) thousands of tasks

Whoa.  This is fantastic.  Will take a deeper look tomorrow.
cc @jcrist @seibert

Wow, this is great!  I'm especially looking forward to this working with the resource profiler.

@jcorbin thanks for the inspiration here.  I've shamelessly reimplemente this idea:
https://twitter.com/mrocklin/status/714542465684869121
https://www.youtube.com/watch?v=V1uwKWqI5Xg&feature=youtu.be

@jcorbin mind if I close this for now?  My guess is that you've moved on.

Sure thing, I can't wait to have a go at your new status server once I get back around to data work again soon :-)


Pre Trained Models

The directory containing the pre-trained models is not present. Could you upload them?

i have a similar problem,Have you solved it yet?


Remotec ZXT-120 timeout never sends order to HVAC

Home Assistant release with the issue: 0.76.2

Last working Home Assistant release (if known): Not known
Operating environment (Hass.io/Docker/Windows/etc.): Hass.io on Docker on an Ubuntu server 18.04

Component/platform: Remotec ZXT-120 with Aotec Gen5 Z-Wave stick

**Description of problem:**Every order ends on a timeout error
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:```
2018-09-04 16:33:17.976 Info, Node019, Value::Set - COMMAND_CLASS_THERMOSTAT_MODE - Mode - 0 - 1 - Cool
2018-09-04 16:33:17.976 Detail, Node019, Queuing (Send) ThermostatModeCmd_Set (Node=19): 0x01, 0x0a, 0x00, 0x13, 0x13, 0x03, 0x40, 0x01, 0x02, 0x25, 0xed, 0x7d
2018-09-04 16:33:17.976 Detail, Node019, Queuing (Send) ThermostatModeCmd_Get (Node=19): 0x01, 0x09, 0x00, 0x13, 0x13, 0x02, 0x40, 0x02, 0x25, 0xee, 0x7d
2018-09-04 16:33:17.977 Detail,
2018-09-04 16:33:17.977 Info, Node019, Sending (Send) message (Callback ID=0xed, Expected Reply=0x13) - ThermostatModeCmd_Set (Node=19): 0x01, 0x0a, 0x00, 0x13, 0x13, 0x03, 0x40, 0x01, 0x02, 0x25, 0xed, 0x7d
2018-09-04 16:33:17.984 Detail, Node019,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-09-04 16:33:17.984 Detail, Node019,   ZW_SEND_DATA delivered to Z-Wave stack
2018-09-04 16:33:18.002 Detail, Node019,   Received: 0x01, 0x07, 0x00, 0x13, 0xed, 0x00, 0x00, 0x03, 0x05
2018-09-04 16:33:18.002 Detail, Node019,   ZW_SEND_DATA Request with callback ID 0xed received (expected 0xed)
2018-09-04 16:33:18.002 Info, Node019, Request RTT 26 Average Request RTT 26
2018-09-04 16:33:18.002 Detail,   Expected callbackId was received
2018-09-04 16:33:18.002 Detail,   Expected reply was received
2018-09-04 16:33:18.002 Detail,   Message transaction complete
2018-09-04 16:33:18.002 Detail,
2018-09-04 16:33:18.002 Detail, Node019, Removing current message
2018-09-04 16:33:18.003 Detail, Notification: Notification - MsgComplete
2018-09-04 16:33:18.004 Detail,
2018-09-04 16:33:18.004 Info, Node019, Sending (Send) message (Callback ID=0xee, Expected Reply=0x04) - ThermostatModeCmd_Get (Node=19): 0x01, 0x09, 0x00, 0x13, 0x13, 0x02, 0x40, 0x02, 0x25, 0xee, 0x7d
2018-09-04 16:33:18.012 Detail, Node019,   Received: 0x01, 0x04, 0x01, 0x13, 0x01, 0xe8
2018-09-04 16:33:18.012 Detail, Node019,   ZW_SEND_DATA delivered to Z-Wave stack
2018-09-04 16:33:18.030 Detail, Node019,   Received: 0x01, 0x07, 0x00, 0x13, 0xee, 0x00, 0x00, 0x02, 0x07
2018-09-04 16:33:18.030 Detail, Node019,   ZW_SEND_DATA Request with callback ID 0xee received (expected 0xee)
2018-09-04 16:33:18.030 Info, Node019, Request RTT 25 Average Request RTT 25
2018-09-04 16:33:18.030 Detail,   Expected callbackId was received
2018-09-04 16:33:24.148 Detail, Node019,   Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x13, 0x03, 0x80, 0x03, 0x64, 0x05
2018-09-04 16:33:24.148 Detail,
2018-09-04 16:33:24.148 Info, Node019, Response RTT 6143 Average Response RTT 5976
2018-09-04 16:33:24.148 Info, Node019, Received Battery report from node 19: level=100
2018-09-04 16:33:24.148 Detail, Node019, Refreshed Value: old value=100, new value=100, type=byte
2018-09-04 16:33:24.148 Detail, Node019, Changes to this value are not verified
2018-09-04 16:33:24.148 Detail, Node019, Notification: ValueChanged
2018-09-04 16:33:58.005 Error, Node019, ERROR: Dropping command, expected response not received after 1 attempt(s)
2018-09-04 16:33:58.005 Detail, Node019, Removing current message
2018-09-04 16:33:58.007 Detail, Node019, Notification: Notification - TimeOut

This issue is still present, it does seem to be an ozw issue though and not a HA issue.
Not sure if this is relevant, but as additional information:
When using the Virtual Image, running in Oracle Virtual Box on a 2nd Gen Core I5 (1 core dedicted to VM, 2GB RAM to VM) the device works reliably with no time outs.
When I used the this on a Raspberry Pi 3B+ (HA 0.85.1 at the time) it failed every time.  I could not even send config parameters.  The device would successfully add to the network, the temperature would be reported, but nothing else functioned.  OZW Logs show dropping command and time out errors.
Not sure if it helps debug, but thought you may like to know it does not happen (for me) using the Virtual Machine image.
I am still runiing 0.85.1 in the VM, same as I had on the Raspberry Pi 3B+.   My Z-Wave controller is an AEOTEC Z-Stick V5

Hi there, please have in mind that the number of devices in your zwave network and the processing power of the computer running HASS have to be in synch. I've noticed that a RPi 3B+ is super good for installations with no more than 20 or 25 zwave devices, specially if you have more than one or two cameras... would be a good idea to check processor and memory usage on the PI, and if it is higher than 10% in a consistent way, it's probably time to migrate to a more powerful processor, just like @austwhite  did. PLease try it and report it here (where hopefully we can close the issue). Thanks!

As @austwhite wrote, this is a problem of OZW (and the device) and it looks that there is no any fix to be incorporated to OZW libs.  If anybody has this device he has to make his custom hack  (it's very easy).


Working example with LibGDX

Can we get a working example with LibGDX and LWJGL3 backend. I tried old example but imgui.impl.LwjglGL3 doesn't seems to exists anymore.

Looking at the code, you should just need to replace ImplGL3 with ImplBestGL, and instead of ImplGL3.INSTANCE, use new ImplBestGL().

Looking at the code, you should just need to replace ImplGL3 with ImplBestGL, and instead of ImplGL3.INSTANCE, use new ImplBestGL().

That and adding
    implementation "org.lwjgl:lwjgl"     implementation "org.lwjgl:lwjgl-stb"     runtimeOnly "org.lwjgl:lwjgl::natives-windows"     runtimeOnly "org.lwjgl:lwjgl-stb::natives-windows"
to dependencies fixed it.
HelloImgui.kt.txt
build.gradle.txt


Loading bool values

Hi Andreas,
I suggest to change this line:
https://github.com/ahausladen/JsonDataObjects/blob/master/Source/JsonDataObjects.pas#L2571
From:
Result := string(FValue.S) = 'true';

to:
Result := BoolToStr(string(FValue.S));

... this would allow to use "True" or "TRUE" also inside the JSON file...

👍

"True" and "TRUE" are no valid JSON expressions.
See http://www.json.org/

Thank you for your explaination.


Add new systemd rules

:+1:  and while we are on the topic of systemd style, what about ExecPre checks? I.E:
ExecStartPre=/bin/bash -c '[ -f /var/lib/dcos/cluster-id ] || exit 1'
vs
ExecStartPre=/usr/bin/test -f /var/lib/dcos/cluster-id

Ideally we replace all those with other logic / a waiter.py so we don't
have to do the spinning on startup
On Tue, May 31, 2016, 4:09 PM Michael Ellenburg<EMAIL_ADDRESS>wrote:

👍 and while we are on the topic of systemd style, what about ExecPre
checks? I.E:
ExecStartPre=/bin/bash -c '[ -f /var/lib/dcos/cluster-id ] || exit 1'
vs
ExecStartPre=/usr/bin/test -f /var/lib/dcos/cluster-id
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dcos/dcos/pull/137#issuecomment-222848237, or mute
the thread
https://github.com/notifications/unsubscribe/AAt18NETbtY-308utva3jecBeGaGv-69ks5qHL-_gaJpZM4IrCXh
.


Request

Hi Hitesh,
Hope you are doing well
can you pls share the .h5 model of glaucoma detection using cnn project
pls make it quick as our final presentation is near
it is really needed
i forgot to ask for it in our last conversation for this?
Thanks in advance

Hello Vishal, did you run code , it generates .h5 file right?

yep mine model accuracy is 69%
that's why i want yours

your faculty can know, ok share your email

email -<EMAIL_ADDRESS>

they won't see it , this one is  the final presentation earlier ones went fine

I have shared, download the file


[Question] Why pass the reference to the memory address here?

👋 I am in the process of learning Go and this package is really useful resource to try to implement a solution with CQRS pattern. So, first of all, thanks for putting this out there 🙏

This is more of a question than an issue. So, apologies in advance and it may be my lack of understanding on the language as well.
Here:
https://github.com/jetbasrawi/go.cqrs/blob/b0b8fdae71f38abdd791481e8255651520ac94e9/examples/simplecqrs/simplecqrs/inmem_repo.go#L14-L15
What is the specific reason to pass the memory address to the struct here (if I am understanding the usage of * and & correctly in this context) instead of actually pass it directly (i.e. make the return type InMemoryRepo instead of *InMemoryRepo)?

Hi tugberkugurlu,
Thank you I am happy that it has been useful to you. Sorry for the long delay in replying. I clearly don't have notifications set up properly. :)
Thank you for challenging me to think about this. I was also learning Go and CQRS at the time I wrote this package. In this case the InMemoryRepo is not a large structure so returning a copy of it would probably not be an issue.
More recently I tend to prefer to pass around copies and use profiling to determine when to prefer passing by reference.


fix lint

Summary: linterror
Differential Revision: D47429626

Codecov Report
Patch coverage: 60.00% and no project coverage change.

Comparison is base (f86af52) 58.44% compared to head (2351407) 58.44%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #289   +/-   ##
=======================================
  Coverage   58.44%   58.44%
=======================================
  Files         130      130
  Lines       11740    11740
=======================================
  Hits         6861     6861
  Misses       4324     4324
  Partials      555      555

Impacted Files
Coverage Δ

ptp/sptp/client/sptp.go
52.40% <60.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[core] Force visibility on a few components in ink save print mode

[x] I have followed (at least) the PR section of the contributing guide.

Edit @eps1lon: Closes #20568
Fixes:

ButtonBase
LinearProgress
Slider
Switch

Hey! @oliviertassinari ,
If this is a correct solution we can look for more places failing in print(crtl+p) and cover it here.
I found one in buttonBase and fixed that to.
Thank you.

The small attention to the details that make all the difference when compounded to x100 more like this one ✨.


Independent configurations for PageRootProvider (Shared Component Properties)

Use case: To use PageRootProvider and/or Shared Component Properties in shared AEM environments.
Description: We usually work with clients whose AEM instances are shared by multiple independent vendors. Each vendor develops and controls solely its corresponding sites/apps.
Therefore, to configure PageRootProvider only for our site/app as an embeded sling:OsgiConfig node, without affecting any other site/app, PageRootProvider must support multiple and independent configurations.
To achieve that, I've changed the current implementation to be configurable through PageRootProviderConfig. The change is backward compatible, so it won't break sites/apps that are still using PageRootProviderImpl to configure a Page Root Provider.

this is related to #1037

Hi, @stefanseifert.
I wasn't aware of that, but thank you for letting me know.
I came up with this simpler solution to meet only our current requirements.
Regards,
Daniel.

@justinedelson and @davidjgonzalez , how do I apply labels to the Github issues that I've created? Do I need a special permission for that?
BTW, is there any label to apply for minor changes?
Thanks!

@daniel-lima only committers can add labels (a "feature" of GitHub Issues I personally don't love). What label do you want to add?

Hi, @justinedelson . I asked about tagging because of the following text in the contributing doc:

In many cases, it is worth having a discussion with the community before investing serious time in development. For these cases, create a GitHub issue of type "feature review" with a description of the problem you are trying to solve.

BTW, to request commit rights on this repository, I just need to open a ticket here on GitHub?
https://github.com/Adobe-Consulting-Services/acs-aem-commons#want-commit-rights

@daniel-lima that's a good callout. It is possible that when that document was written the restriction on labels wasn't presents. @davidjgonzalez do you remember what the intention was there?


Move height to layout effect

https://github.com/Expensify/react-native-live-markdown/blob/348fcd2034d4599738f8a364777348f7b2e8ce82/src/MarkdownTextInput.web.tsx#L467-L474
Hey! Reviewing the web code, and I'm wondering if this should get moved to a layout effect since it's adjusting the height and you'd want to do this before painting. I'm happy to PR it if so!

The same would go for this effect:
https://github.com/Expensify/react-native-live-markdown/blob/348fcd2034d4599738f8a364777348f7b2e8ce82/src/MarkdownTextInput.web.tsx#L452-L465
I can test them out a bit to be certain

@nandorojo Thanks for reviewing the code and suggesting the improvements, feel free to submit PRs!
cc @Skalakid, the author of web implementation

Cool.
Making a small note for SSR support:
const useClientEffect = typeof window === 'undefined' ? useEffect : useLayoutEffect

FYI There's a PR that eliminates .web.tsx file extension in favor of .native.tsx (https://github.com/Expensify/react-native-live-markdown/pull/168). Let's get it merged first so we can avoid conflicts.

Sounds good
Also, PR opened


Layout exemplar documentation

Noted in https://github.com/phetsims/scenery/issues/1418:

I would love a section that shows an exemplar sim with real-world layout issues, and arrows/schematics/overlays that show which layouts are appropriate where.

It would be great to take some cases from a dynamic-layout sim, screenshot them + markup showing code snippets or what layout was used where.

This exemplar documentation could also document other things, like how to use common components.

I'm running up against Chrome failing for trying to concurrently request too many resources (once I've upped the number of iframes):

Online, Firefox is suggested, or batching / lazy loading the iframes.
Alternatively, I think I'm going to take a stab at figuring out if we can build a package of scenery/scenery-phet/sun that has the required general components (scenery-phet is somewhat helpful for PhetFont).
Then we'd be able to use the approach used for the scenery documentation, and it would load faster.

Additionally, packaging all of those together would be presumably useful for developers outside of PhET.

https://phetsims.github.io/phet-lib/doc/layout-exemplars.html is up and running!

Reviewed with @marlitas, and it looks like the normal layout documentation (with adjusted layoutOptions) covers all of the basic examples. The "Removing layout demo from Sun" is done, and it sounds like it will be best to add case-by-case examples to here in the future. Closing!


Web authentication exceptions are being reported.

We're getting occasional spikes of AuthenticationExceptions being reported in New Relic. These should maybe be added to the $dontReport array in the exception handler, but it'd also be interesting to see whyyyy it's happening in the first place. 🤔

Stack Trace
Illuminate\Auth\AuthenticationException: Exception 'Illuminate\Auth\AuthenticationException' with message 'Unauthenticated.' in /var/www/northstar/releases/20161004173157/app/Http/Middleware/Authenticate.php:69
in Northstar\Http\Middleware\Authenticate::authenticate called at /var/www/northstar/releases/20161004173157/app/Http/Middleware/Authenticate.php (40)
in Northstar\Http\Middleware\Authenticate::handle called at ? (?)
in call_user_func_array called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (9963)
in Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure} called at ? (?)
in call_user_func called at /var/www/northstar/releases/20161004173157/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php (32)
in Illuminate\Routing\Pipeline::Illuminate\Routing\{closure} called at ? (?)
in call_user_func called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (9948)
in Illuminate\Pipeline\Pipeline::then called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (9467)
in Illuminate\Routing\ControllerDispatcher::callWithinStack called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (9454)
in Illuminate\Routing\ControllerDispatcher::dispatch called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (8524)
in Illuminate\Routing\Route::runController called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (8511)
in Illuminate\Routing\Route::run called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (8225)
in Illuminate\Routing\Router::Illuminate\Routing\{closure} called at ? (?)
in call_user_func called at /var/www/northstar/releases/20161004173157/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php (52)
in Illuminate\Routing\Pipeline::Illuminate\Routing\{closure} called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (3225)
in Illuminate\Foundation\Http\Middleware\VerifyCsrfToken::handle called at ? (?)
in call_user_func_array called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (9963)
in Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure} called at ? (?)
in call_user_func called at /var/www/northstar/releases/20161004173157/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php (32)
in Illuminate\Routing\Pipeline::Illuminate\Routing\{closure} called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (13474)
in Illuminate\View\Middleware\ShareErrorsFromSession::handle called at ? (?)
in call_user_func_array called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (9963)
in Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure} called at ? (?)
in call_user_func called at /var/www/northstar/releases/20161004173157/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php (32)
in Illuminate\Routing\Pipeline::Illuminate\Routing\{closure} called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (11964)
in Illuminate\Session\Middleware\StartSession::handle called at ? (?)
in call_user_func_array called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (9963)
in Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure} called at ? (?)
in call_user_func called at /var/www/northstar/releases/20161004173157/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php (32)
in Illuminate\Routing\Pipeline::Illuminate\Routing\{closure} called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (13213)
in Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::handle called at ? (?)
in call_user_func_array called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (9963)
in Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure} called at ? (?)
in call_user_func called at /var/www/northstar/releases/20161004173157/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php (32)
in Illuminate\Routing\Pipeline::Illuminate\Routing\{closure} called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (13150)
in Illuminate\Cookie\Middleware\EncryptCookies::handle called at ? (?)
in call_user_func_array called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (9963)
in Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure} called at ? (?)
in call_user_func called at /var/www/northstar/releases/20161004173157/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php (32)
in Illuminate\Routing\Pipeline::Illuminate\Routing\{closure} called at ? (?)
in call_user_func called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (9948)
in Illuminate\Pipeline\Pipeline::then called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (8226)
in Illuminate\Routing\Router::runRouteWithinStack called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (8217)
in Illuminate\Routing\Router::dispatchToRoute called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (8207)
in Illuminate\Routing\Router::dispatch called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (2419)
in Illuminate\Foundation\Http\Kernel::Illuminate\Foundation\Http\{closure} called at ? (?)
in call_user_func called at /var/www/northstar/releases/20161004173157/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php (52)
in Illuminate\Routing\Pipeline::Illuminate\Routing\{closure} called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (3286)
in Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::handle called at ? (?)
in call_user_func_array called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (9963)
in Illuminate\Pipeline\Pipeline::Illuminate\Pipeline\{closure} called at ? (?)
in call_user_func called at /var/www/northstar/releases/20161004173157/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php (32)
in Illuminate\Routing\Pipeline::Illuminate\Routing\{closure} called at ? (?)
in call_user_func called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (9948)
in Illuminate\Pipeline\Pipeline::then called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (2366)
in Illuminate\Foundation\Http\Kernel::sendRequestThroughRouter called at /var/www/northstar/releases/20161004173157/bootstrap/cache/compiled.php (2350)
in Illuminate\Foundation\Http\Kernel::handle called at /var/www/northstar/releases/20161004173157/public/index.php (52)

Oh, it looks like these might all be happening from profile.dosomething.org. I wonder if this is because it's trying to read the cookie set on northstar.dosomething.org and getting upset.

These seem to only have been an issue immediately following switching domains from northstar.dosomething.org to profile.dosomething.org.
Closing, and will re-open if it becomes an issue again in the future.


GenSingle2D method returns wrong values

Description
I wanted to generate a 8x8 area of points using GenSingle2D. However, I am getting wrong results compared to the GenUniformGrid2D function.
The code
GetNoise method
std::vector<std::vector<float>> Noise2D::GetNoise(const glm::ivec2 origin, const int size) const
{
	auto noise = std::vector<float>(static_cast<unsigned>(size * size));

	const auto x = origin.x * size;
	const auto y = origin.y * size;

	_noiseGenerator->GenUniformGrid2D(
		noise.data(),
		x, y,
		size, size,
		_frequency, _seed);

	return ConvertNoiseFrom1DTo2D(noise, size);
}

The method ConvertNoiseFrom1DTo2D just rewrites the 1D vector to the 2D one.
GetNoiseAt method
float Noise2D::GetNoiseAt(const glm::ivec2 origin, const int size, const int xOffset, const int yOffset) const
{
	const auto x = static_cast<float>(origin.x * size + xOffset);
	const auto y = static_cast<float>(origin.y * size + yOffset);

	return _noiseGenerator->GenSingle2D(x, y, _seed);
}

The test
Here is a small test I wrote, where:

noisePlane2D is a noise generated by using GenUniformGrid2D
noise2D is a noise generated by using GenSingle2D

auto size = 8;
// "AgAAAIA/" is an encoded chessboard pattern from FastNoise2 tool, 69 is seed, 0.02 is frequency
auto noise = Noise2D("AgAAAIA/", 69, 0.02f);
std::vector<std::vector<float>> noise2D;

auto noisePlane2D = noise.GetNoise(glm::ivec2(0, 0), 8);

noise2D.resize(size);
for (auto x = 0; x < size; ++x)
{
	noise2D[x].resize(size);
	for (auto y = 0; y < size; ++y)
	{
		noise2D[x][y] = noise.GetNoiseAt(glm::ivec2(0, 0), size, x, y);
	}
}

The result

It looks like you aren't applying your frequency value to GenNoiseSingle, you need to multiply your input position by your frequency which is what GenUniformGrid does internally.
I should maybe look at changing the interfaces so that all the Gen functions take seed and frequency as arguments for consistency

It looks like you aren't applying your frequency value to GenNoiseSingle, you need to multiply your input position by your frequency which is what GenUniformGrid does internally.
I should maybe look at changing the interfaces so that all the Gen functions take seed and frequency as arguments for consistency

Oh, I get it. So yes, it would be great to implement it that way for the sake of consistency. An alternative approach is to expand the documentation, but I think the first approach would be faster. Anyway, thanks for quick reply 😃


CSS logical properties syntax highlghting

Hi, just to mention that some of the newer css properties don't seem to be recognised by the Sass package. I'm thinking logical properties and some of the recent grid properties (e.g. place-items.) I've attached an image showing the issue. If you need more details just let me know.
Thanks

The first question is always: are they supported by the default CSS package?

Yes, if I switch the syntax to css it seems fine. See attached screenshot.

Thanks for checking that. I’m busy “re-basing” this package on the default CSS syntax, which is quite a bit of a project, so this should resolve itself when that gets done.

Brilliant - thanks so much. Appreciate the hard work!!

Hey. Just checking in how the work is going? I'm sure it's a lot but super excited to try this out!

I’ve been use-testing it for a while now me and it seems fine I guess. Haven’t run into anything big really. I want to have closer look at the completions before I tag a release though.

Op 27 nov. 2021 om 08:37 heeft Dave Henson @.***> het volgende geschreven:

Hey. Just checking in how the work is going? I'm sure it's a lot but super excited to try this out!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Hello me again.... just checking in to see if you are planning a release anytime? Is there a way I can try and then let you know if I encounter any issues, or help in any other way?

A 3.0 beta release is out now, check the readme on how to get the early builds to take advantage of the improvements and help out improving the package before we ship it to the world.

Looks beautiful! Great stuff. I'll keep an eye out and let you know if I see any issues...Lovely!!


Predict

Predict
Development of the following processes:

Creation of a workflow to process daily soccer match data
Generation of predictions using the algorithms developed and nurtured in the training phase
Export of the predictions in CSV format

Pull request status - Accepted


Question: How to prevent tests to be run twice when having suites and singular tests

I have a Gradle project for mobile automation purpose.
Under the test/java structure i have a package "suites" (containing a suite) and a package containing 2 classes , each with 1 test (using junit whit annotation @).
SUITE:
@RunWith(Suite.class)
@Suite.SuiteClasses({
Experiment.class,
Experiment2.class
})
public class TestPrimer {
}
If i run the suite locally with Intelij (tests are run only 1).
PROBLEM:
if i run them with Jenkins, tests are run twice...
this is the task that i use in jenkins: -Dtest="TestPrimer.class" clean test -i
I read some forum posts that i need to exclude each test; but if i have 1mil tests? sounds impossible...
For sure i`m missing something. can someone help me/guide me?
Thanks.
Jenkins Gradle Plugin - 1.27.0
Platform Windows - Gradle version - 3.5 (updated it now to 4.0.2 and it is still happening) , Groovy 2.4.10

Could you please provide a simplistic sample project on GitHub so I can have a look?

Hi, I'm currently having this exact issue as well. Android studio runs the tests once, but when i run from gradle, it runs each test twice. @bmuschko you can recreate the problem with this repo: EtherealT/me.-android

Well I'm no longer having the issue, I was specifying the suite file wrongly in the run command, I fixed that and the problem was fixed.

@vjmaiky We'll need to have a sample project to be able to reproduce your issue. Could you please provide one? I believe what is happening is that you include the suite class and the test classes and therefore both are executed. If you just want to run the suite then you'll need to exclude the test classes via test.exclude.

i`ll post it when i return from holiday; thanks

ok so basically i have two tests:
public class Experiment2Test extends TestManager {
@Test
public void test1() {
}
}
public class ExperimentTest extends TestManager {
@Test
public void test2() {
}
}
and a suite:
@RunWith(Suite.class)
@Suite.SuiteClasses({
ExperimentTest.class,
Experiment2Test.class
})
public class TestSuite1{
}
On Jenkins i use:
Use Gradle Wrapper |
  | Make gradlew executable
-Dtest="TestSuite1.class" clean test -i
and if i hit build test are run twice

i managed to resolve my problem; thanks anyway.

For the next poor soul that comes across this, using @RunWith(Enclosed::class) instead of @RunWith(Suite::class) should prevent the tests from being run twice.

@vjmaiky How did you resolve the issue?


[hotfix][cdc][docs] Supplementary answer to the Mysql CDC Q15 question

Supplementary answer to the [Mysql CDC Q15] question

@lvyanquan  Would you help to have a look at this?

@leonardBang  PTAL

@leonardBang When will the commit be merged, please?

Thanks @PONYLEE for the contribution, I've tested the regex pattern, LGTM, wait the doc CI

Merged, thanks for your contribution.


Fixes #297, regarding failure to load followers/following on reload.

[x] Fixes #297 On reloading you should see followers/following again
[x] Removed animation drop in.
[ ] All the countries in world map should show symmetrically

@aneeshd16 did you review it?

I am not sure about the third check point one, it looks like this:

Rest all works good :+1:

For now merge it.I am not sure about centring the map.Its just two coordinates we can see sometime later.


Render to Video?

Hi, I've been using threepp several days now and it's great! This is a question rather than an issue: does threepp have a way to render to video? If not, has anyone done this, or could give a suggestion how I could implement it? Something with GLFW + FFMPEG capturing frames, perhaps?

I'm not sure what would be the more effective procedure here, but you di have the possibility to read the underlying pixel data from the GPU from the GLRenderer.
void readPixels(const Vector2& position, const WindowSize& size, Format format, unsigned char* data)
You may also copy the framebuffer into a texture.


Block V2 Schema 1 Support for docker local/remote

Describe the bug
The TF does not allow to configure block pushing/pulling Schema V2 version 1 of docker images. While our images are using latest schema , checking this box has downstream impacts on not being able to pull / push docker images
Requirements for and issue

[x]

resource "artifactory_remote_repository" "dockerhub-docker-remote" {
  count        = var.create_remote && contains(var.repo_types, "docker") ? 1 : 0
  key          = "${var.team}dockerhub-docker-${var.env}-remote"
  package_type = "docker"
  url          = "https://registry-1.docker.io/"
  content_synchronisation {
    enabled = false
  }
  repo_layout_ref = "simple-default"
  property_sets = [ "iac-tf" ]
}

[ ] 7.12.3
[ ] 0.14

Expected behavior
 resource "artifactory_remote_repository" "dockerhub-docker-remote" {
  count        = var.create_remote && contains(var.repo_types, "docker") ? 1 : 0
  key          = "${var.team}dockerhub-docker-${var.env}-remote"
  package_type = "docker"
  url          = "https://registry-1.docker.io/"
  content_synchronisation {
    enabled = false
  }
  repo_layout_ref = "simple-default"
  property_sets = [ "iac-tf" ]
 Block_pushing_image_manifest_v2 = true/false
}

Additional context
The current Cli also seems to have issue with the remote repos where the variable is called block pushing and we do not have an attribute that says block_pullin. Perhaps make it more generic if the api calls are working fine.

Your snippet can't be run independently. You have to give me something I can C&P and verify

Actual Snippet:
resource "artifactory_remote_repository" "dockerhub-docker-remote" {
  key          = "dockerhub-docker-prod-remote"
  package_type = "docker"
  url          = "https://registry-1.docker.io/"
  content_synchronisation {
    enabled = false
  }
  repo_layout_ref = "simple-default"
  property_sets = [ "iac-tf" ]
}

But the target snipper  we would want is
resource "artifactory_remote_repository" "dockerhub-docker-remote" {
  key          = "dockerhub-docker-prod-remote"
  package_type = "docker"
  url          = "https://registry-1.docker.io/"
  content_synchronisation {
    enabled = false
  }
  repo_layout_ref = "simple-default"
  property_sets = [ "iac-tf" ]
  block_pushing_image_manifest_v2 = true/false
}

This seems to be a bug in artifactory SAAS  where consumers  or not able to download the artifacts if block_pushing_image_manifest_v2 is true and support team mentioned that this is fixed in latest version. I did not get a chance to test this. Either way the above snippet makes sense to have like for like between Ui and Code

Back in #9, I opened a PR to accomplish this. I think the repo definitions need to be updated to use the new jfrog go sdk, since this option appears to be supported https://github.com/jfrog/jfrog-client-go/blob/master/artifactory/services/localrepository.go#L177


No pissibility to use libxml options in loadHTML

This is a feature request.
Accordingly to:
https://github.com/zendframework/zend-dom/blob/245d75d1cce819cb8da8726cf9c9ba563fa5d8f0/src/Document.php#L254
loadHTML is called without any options and there is no way to configure them.
Exactly in my case, I'm missing LIBXML_HTML_NOIMPLIED to operate partial HTMLs

@step307
Can you explain your problem or use case?
The Background of my question: the class is called Document, not Fragment or Partial.
Thanks!

@froschdesign , exactly in my case I want to parse and modify pieces of HTML, not the whole document. Default behavior is, that DomDocument always adds "missing"  and  tags, which is absolutely undesired.
LIBXML_HTML_NOIMPLIED exactly "turns off the automatic adding of implied html/body... elements"
LIBXML_HTML_NODEFDTD "prevents a default doctype being added when one is not found"
There are a lot of other options which definitely make sense. Full list: http://php.net/manual/en/libxml.constants.php

@step307

Default behavior is, that DomDocument always adds "missing" and tags, which is absolutely undesired.
…
There are a lot of other options which definitely make sense.

I know this, but it doesn't matter. What is the concrete problem. Can you provide a short example which illustrate the problem and why the current implementation does not work?
And again: the class is named Document and not Fragment or Partial – therefore I ask!

This is not a bug report, but a feature request. There is no problem and everything surely works as designed.
P.S. I don't find any Fragment or Partial in this module and therefore make a proposal for existing Document.

@step307
Sorry, you misunderstand me.
Yes, it is a feature request, but why is the current implementation not enough? It works already for partials:
$results = Zend\Dom\Document\Query::execute(
    '.block__headline',
    new Zend\Dom\Document(
        '

Foobar

'
    ),
    Query::TYPE_CSS
);

var_dump(count($results)); // 1

If we extend the component to support the additional Libxml parameters, where is the benefit?
Or do you have a different use case?

@froschdesign , as I wrote I need to parse and modify a piece of HTML. Here is small illustration:
Imagine you want to update title in your example:
$document = new \Zend\Dom\Document(
        '

Foobar

'
    );

    $results = \Zend\Dom\Document\Query::execute(
        '.block__headline',
        $document,
        \Zend\Dom\Document\Query::TYPE_CSS
    );

    $results->current()->textContent = 'Foobar2';

    var_dump($document->getDomDocument()->saveHTML());

you will get extra DOCTYPE, html and body tags in the result.

This repository has been closed and moved to laminas/laminas-dom; a new issue has been opened at https://github.com/laminas/laminas-dom/issues/2.


fixed a small typo in the documentation

Description

fixed a typo in 'what not to do section'
Related Issue

No issues
Motivation and Context

Typos are ugly
How Has This Been Tested?

I came accross the typo while reading the documentation
Screenshots (if appropriate):

Hi @yunghog thanks for your PR


docs: add adr for new adr process

Technically, but you kicked off the conversation and I just captured it.


Trouble with Triplet Loss Implementation in MLX

Issue Description:
I attempted to port the triplet loss implementation from PyTorch to MLX (machine learning extension for Apache MXNet) using the provided reference code as a guide. However, when I attempted to train a simple MLP on MNIST data using the implemented triplet loss function, I encountered unexpected behavior. Specifically, the loss quickly falls very close to zero during training, and the resulting embeddings seem to be worse than random initialization.
Steps to Reproduce:

Ported the triplet loss implementation from PyTorch to MLX.
Implemented a simple MLP model for training on MNIST data.
Used the MLX triplet loss function during training.
Observed that loss quickly approaches zero, and resulting embeddings are suboptimal.

Code Snippet Used:
import mlx.core as mx
import mlx.nn as nn

def euclidean_distance_matrix(x,eps = 1e-8):
  """Efficient computation of Euclidean distance matrix
  Args:
    x: Input tensor of shape (batch_size, embedding_dim)

  Returns:
    Distance matrix of shape (batch_size, batch_size)
  """
  # step 1 - compute the dot product

  # shape: (batch_size, batch_size)
  dot_product = mx.matmul(x, x.transpose())

  # step 2 - extract the squared Euclidean norm from the diagonal

  # shape: (batch_size,)
  squared_norm = mx.diag(dot_product)

  # step 3 - compute squared Euclidean distances

  # shape: (batch_size, batch_size)
  distance_matrix = (mx.expand_dims(squared_norm, axis=0) - 2 * dot_product +
                      mx.expand_dims(squared_norm, axis=1))

  # get rid of negative distances due to numerical instabilities
  distance_matrix = nn.relu(distance_matrix)

  # step 4 - compute the non-squared distances

  # handle numerical stability
  # derivative of the square root operation applied to 0 is infinite
  # we need to handle by setting any 0 to eps
  mask = (distance_matrix == 0.0).astype(mx.float32)

  # use this mask to set indices with a value of 0 to eps
  distance_matrix += mask * eps

  # now it is safe to get the square root
  distance_matrix = mx.sqrt(distance_matrix)

  # undo the trick for numerical stability
  distance_matrix *= (1.0 - mask)

  return distance_matrix

def get_triplet_mask(labels):
  """compute a mask for valid triplets
  Args:
    labels: Batch of integer labels. shape: (batch_size,)
  Returns:
    Mask tensor to indicate which triplets are actually valid. Shape: (batch_size, batch_size, batch_size)
    A triplet is valid if:
    `labels[i] == labels[j] and labels[i] != labels[k]`
    and `i`, `j`, `k` are different.
  """
  # step 1 - get a mask for distinct indices

  # shape: (batch_size, batch_size)
  indices_equal = mx.eye(labels.shape[0], dtype=mx.bool_)

  indices_not_equal = mx.logical_not(indices_equal)
  # shape: (batch_size, batch_size, 1)
  i_not_equal_j = mx.expand_dims(indices_not_equal, axis=2)
  # shape: (batch_size, 1, batch_size)
  i_not_equal_k = mx.expand_dims(indices_not_equal, axis=1)
  # shape: (1, batch_size, batch_size)
  j_not_equal_k = mx.expand_dims(indices_not_equal, axis=0)
  # Shape: (batch_size, batch_size, batch_size)
  distinct_indices = mx.logical_and(mx.logical_and(i_not_equal_j, i_not_equal_k), j_not_equal_k)

  # step 2 - get a mask for valid anchor-positive-negative triplets

  # shape: (batch_size, batch_size)
  labels_equal = mx.expand_dims(labels, axis=0) == mx.expand_dims(labels, axis=1)
  # shape: (batch_size, batch_size, 1)
  i_equal_j = mx.expand_dims(labels_equal, axis=2)
  # shape: (batch_size, 1, batch_size)
  i_equal_k = mx.expand_dims(labels_equal, axis=1)
  # shape: (batch_size, batch_size, batch_size)
  valid_indices = mx.logical_and(i_equal_j, mx.logical_not(i_equal_k))

  # step 3 - combine two masks
  mask = mx.logical_and(distinct_indices, valid_indices)

  return mask

def BatchAllTripletLoss(embeddings, labels, margin=1.0, eps=1e-8):
    """Uses all valid triplets to compute Triplet loss
    Args:
        embeddings: Batch of embeddings, e.g., output of the encoder. shape: (batch_size, embedding_dim)
        labels: Batch of integer labels associated with embeddings. shape: (batch_size,)
        margin: Margin value in the Triplet Loss equation computes loss value.
        eps: Small epsilon value for numerical stability.

    Returns:
        Scalar loss value.
    """
    # Step 1 - get distance matrix
    distance_matrix = euclidean_distance_matrix(embeddings, eps=eps)

    # Step 2 - compute loss values for all triplets by applying broadcasting to distance matrix
    anchor_positive_dists = mx.expand_dims(distance_matrix, axis=2)
    anchor_negative_dists = mx.expand_dims(distance_matrix, axis=1)
    triplet_loss = anchor_positive_dists - anchor_negative_dists + margin

    # Step 3 - filter out invalid or easy triplets by setting their loss values to 0
    mask = get_triplet_mask(labels)
    triplet_loss *= mask
    triplet_loss = nn.relu(triplet_loss)

    # Step 4 - compute scalar loss value by averaging positive losses
    num_positive_losses = mask.sum()  # Count the number of positive losses
    triplet_loss = triplet_loss.sum() / (num_positive_losses + eps)

    return triplet_loss

def TripletSemiHardLoss(embeddings, labels, margin=1.0,eps=1e-8):
    """Computes the triplet loss_functions with semi-hard negative mining.
       The loss_functions encourages the positive distances (between a pair of embeddings
       with the same labels) to be smaller than the minimum negative distance
       among which are at least greater than the positive distance plus the
       margin constant (called semi-hard negative) in the mini-batch.
       If no such negative exists, uses the largest negative distance instead.
       See: https://arxiv.org/abs/1503.03832.
       We expect labels `labels` to be provided as 1-D integer `array` with shape
       [batch_size] of multi-class integer labels. And embeddings `embeddings` must be
       2-D float `Tensor` of l2 normalized embedding vectors.
       Args:
         margin: Float, margin term in the loss_functions definition. Default value is 1.0.
         name: Optional name for the op.
       """

    # Reshape label tensor to [batch_size, 1].
    lshape = labels.shape
    labels = mx.reshape(labels, [lshape[0], 1])

    pdist_matrix = euclidean_distance_matrix(embeddings,eps = eps)

    # Build pairwise binary adjacency matrix.
    adjacency = mx.array_equal(labels, labels.transpose(0, 1))
    # Invert so we can select negatives only.
    adjacency_not = mx.logical_not(adjacency)

    batch_size = labels.shape[0]

    # Compute the mask.
    pdist_matrix_tile = mx.tile(pdist_matrix,[batch_size, 1])
    adjacency_not_tile = mx.tile(adjacency_not,[batch_size, 1])

    transpose_reshape = pdist_matrix.transpose(0, 1).reshape(-1, 1)
    greater = pdist_matrix_tile > transpose_reshape

    mask = adjacency_not_tile & greater

    # final mask
    mask_step = mask.astype(mx.float32)
    mask_step = mask_step.sum(axis=1)
    mask_step = mask_step > 0.0
    mask_final = mask_step.reshape(batch_size, batch_size)
    mask_final = mask_final.transpose(0, 1)

    adjacency_not = adjacency_not.astype(mx.float32)
    mask = mask.astype(mx.float32)

    # negatives_outside: smallest D_an where D_an > D_ap.
    axis_maximums = mx.max(pdist_matrix_tile, dim=1, keepdim=True)
    masked_minimums = mx.min(mx.mul(pdist_matrix_tile - axis_maximums[0], mask), dim=1, keepdim=True)[0] + axis_maximums[0]
    negatives_outside = masked_minimums.reshape([batch_size, batch_size])
    negatives_outside = negatives_outside.transpose(0, 1)

    # negatives_inside: largest D_an.
    axis_minimums = mx.min(pdist_matrix, dim=1, keepdim=True)
    masked_maximums = mx.max(mx.mul(pdist_matrix - axis_minimums[0], adjacency_not), dim=1, keepdim=True)[0] + axis_minimums[0]
    negatives_inside = masked_maximums.repeat(1, batch_size)

    semi_hard_negatives = mx.where(mask_final, negatives_outside, negatives_inside)

    loss_mat = margin + pdist_matrix - semi_hard_negatives

    mask_positives = adjacency.astype(mx.float32) - mx.diag(mx.ones(batch_size))
    num_positives = mask_positives.sum()

    triplet_loss = (mx.max(mx.mul(loss_mat, mask_positives), mx.tensor([0.]))).sum() / num_positives
    triplet_loss = triplet_loss.astype(mx.float32)
    return triplet_loss

Expected Behavior:
The triplet loss function should facilitate effective training of the MLP model, resulting in meaningful embeddings that capture the data structure.
Actual Behavior:
The loss quickly approaches zero, and the resulting embeddings are of poor quality, potentially worse than random initialization.
Additional Context:
I referred to the following code as a guide for implementing the triplet loss function:
Pytorch Triplet Loss with semi hard mining
Request for Assistance:
I'm seeking guidance on identifying potential issues with the triplet loss implementation or suggestions for improving the performance of the embeddings. Any insights or assistance would be greatly appreciated.
Environment Details:

MLX version: 0.7
Python version: 3.9
Operating System: Mac OS 14.0

Note: I'm unsure if this is the appropriate forum for addressing this issue, but any help or pointers in the right direction would be immensely valuable.

Looking forward to any assistance or advice the community can provide. Thank you!

What do you expect the loss to go to?
As a debugging step I would compare the same loss in PyTorch and MLX with the same data (MNIST) and same model (MLP).
Also I would use the latest MLX (0.9.1).

Closing as inactive. Feel free to comment if you need further assistance.


Remove large files from git history

Since recently I messed up a gitlab repo by pushing large files, those remained in the history even after I removed them.
So this essentially blows up the cost of every git-clone from that point on.
Miro fixed it with the set of instructions you can find here below.
I remember @streeve  mentioning once that he also recently learnt how to do this. I don’t know if it is the same procedure as the one that Miro followed, but this one successfully worked 😃
We will need to do the same for our repo, because eventually all the “.pkl” files will have to disappear, from the history as well.
I am going to open an issue for this.
==================================================
The tool to clean the repo is called BFG (which is a DOOM reference for those that play video games):
https://rtyley.github.io/bfg-repo-cleaner/
The command is:
java -jar ~/Downloads/bfg-1.14.0.jar --strip-blobs-bigger-than 1M .
Yesterday we were using "git filter-branch", which needs to know which file to clean. The blob search found files that we didn't know were there.
Lessons learned:

Don't use "git add *"
If you decide to live dangerously, then ALWAYS use "git status" and "git diff" first and carefully check what will be added.

Rather than using bfg for this repo I'm planning on git-filter-repo. Large files are not particularly of issue here, but specific paths (datasets) and large numbers of files. git-filter-repo has a larger feature set


Aborted (core dumped) in tf.raw_ops.ResourceApplyPowerSign

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
tf 2.16
Custom code
Yes
OS platform and distribution
Linux Ubuntu 22.04.3 LTS (x86_64)
Mobile device
No response
Python version
3.9.13
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
On specific input, tf.raw_ops.ResourceApplyPowerSign triggers "Aborted (core dumped)". We ran the code on colab's latest TensorFlow Nightly, which also triggers the crash. The cause of the crash may be the grad parameter.
Standalone code to reproduce the issue
import tensorflow as tf

var = tf.Variable([1.0, 2.0, 3.0])
accum = tf.Variable([0.1, 0.2, 0.3], dtype=tf.complex64)
accum2 = tf.Variable([0, 1.2, -3.3], dtype=tf.complex64)
lr = 0.01
grad = tf.constant([0.1, 0.2, 0.3])
momentum = 0.9

# crash
tf.raw_ops.ResourceApplyPowerSign(var=var.handle, m=accum.handle, lr=lr, logbase=lr,
                                  sign_decay=lr, beta=lr, grad=grad,
                                  use_locking=False)

Relevant log output
2024-06-06 01:04:36.157948: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-06-06 01:04:37.219223: F tensorflow/core/framework/tensor.cc:844] Check failed: dtype() == expected_dtype (8 vs. 1) float expected, got complex64
Aborted (core dumped)

Hi @x0w3n ,

I was able to reproduce the issue on Colab using TF v2.15 and TF-nightly ,Please find the gist here for reference.

Thank you!


MachineLearning's PredictRequest's Record might have wrong type

The Record property of PredictRequest is a Dictionary<string, string>, and the marshaller appears to write the JSON object as all string values. However, the AWS ML docs say this:

Values in the Record map should have the same type as the training data. For example, variables that are NUMERIC in the training data also should be numbers in the Record map.

With that said, should the type be Dictionary<string, object> so that the type can get written natively by the JsonWriter?

Thanks for reporting this. The AWS ML docs you linked to are incorrect in this regard and will be updated. The map should be string-to-string.


vcf2maf pipeline

I've created one of these that uses a Docker image. It should be easily modified to make that optional and use conda instead. I haven't tried to get vcf2maf working via conda.

Has there been any progress on this one? I have some suggestions that may help. We should chat, @whelena

I have a working module that I have tested using vcf files from varscan. The module is based on the master branch and I am waiting for the most recent updates from Bruno before finallizing it. I will reach out to you on slack to discuss details.


Fix Bug relating to duplicate person.

Previously:
Unable to add a new person if they have the same name even if everything is different.
Fix:
Now able to add a new person even if they have the same name as long as other fields are different

Codecov Report

Merging #127 (71ca0e5) into master (d9efcc7) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #127      +/-   ##
============================================
+ Coverage     47.26%   47.30%   +0.03%
- Complexity      500      501       +1
============================================
  Files           110      110
  Lines          2503     2503
  Branches        248      248
============================================
+ Hits           1183     1184       +1
  Misses         1254     1254
+ Partials         66       65       -1

Impacted Files
Coverage Δ

...c/main/java/seedu/address/model/person/Person.java
76.82% <100.00%> (ø)

.../java/seedu/address/storage/JsonAdaptedPerson.java
94.68% <0.00%> (+1.06%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


EBWiki Fails Google's Mobile Friendly Test

The results from Google's Mobile test currently == "failure".
The major issues include:

[ ] Text too small to read
[ ] Mobile viewport not set
[ ] Links too close together

The first pass at this will address those at a high level

...and now Google deems the site mobile friendly! Results


mtime workaround

rclone has solved the mtime problem by storing them as metada:

The modified time is stored as metadata on the object as X-Bz-Info-src_last_modified_millis as milliseconds since 1970-01-01 in the Backblaze standard. Other tools should be able to use this as a modified time.

If b2_fuse were to do exactly the same, it wouldn't just make the mount a lot better, but also be compatible with rclone.
Thank you very much for considering.

This is definitely something B2Fuse should do, unfortunately I do not have the spare time to add this feature at the moment.
Best
Sondre


workaround jsxDev build issue

Current dependencies on/for this PR:

main

PR #124   👈

This stack of pull requests is managed by Graphite.


when image.mode = Greyscale  then add Rgb image?

https://github.com/takuya-takeuchi/FaceRecognitionDotNet/blob/07c359db45dadf7e9d0966104c9fbbe097cb05bf/src/FaceRecognitionDotNet/FaceRecognition.cs#L368
Is this a mistake?

@falsebo
Yes. it should be mistake. But we must check whether it occurs other issue if fix it.

Fix


Fix plugins for multi languages

The plugin was not migrating the metadata for non default languages, this patch fixes that.
Note: this plugin is not idenpotent if you have a post with default language in new metadata style, and a translation in the old style.

We could just check if the metadata fields match the new syntax.  Adding that and merging.

Please do not squash commits!

@Kwpolska sorry I was to remove the unused ext var

I would have fixed that, too.


my_bets Lay side bets validation errors

We have a load of field validation on the response when you hit the my_bets endpoint in the API but if you pass it my_bets/back you'll get a response specific to bet_requests containing fields like profit, matched_stake, and fill_percentage. When you hit my_bets/lay you get fields specific to bets containing fields like liability and not those mentioned for bet_requests.
Issue here is that the field validation is used for both responses and the validation is back side specific so it fails on multiple fields when you try get your layside bets.

Fixed in https://github.com/betcode-org/betconnect/pull/37


Error on line app.py line 75

Missing a slash "/" that makes you to have an internal error 500 (because the return path isn't correct)
It should be:
callback = path+"/code"

Best regards!

Hi Serg4554, thanks for this.  I changed the line like you said, but still getting an 500 error.  Did you change the spacing in Line 63 at all?  Does it matter?
Line 63 callback = path + "/code"
Line 75 callback = path+"/code"
Also, what should be entered into redis_url in app.py?  Where do I find that?
#Redis
redis_url = ""
Thanks in advance!

Hi Hpduong, no I didn't change it but should not matter.
About the redis_url, I entered: "redis://localhost:6379". Of course, you should previously install and run Redis.
Good luck!

fixed


fix: radar endpoint

master contains code compatible with hafas-client@2. The next branch contains code compatible with hafas-client@3. (Should probably clarify that.)
Please submit your PR against next.


Accessing email variable from register() callback

Hi there, I might be totally confused but I have been having issues accessing variables within the scope of the email verify callback fired from register() .
When building the verify URL within the callback I cannot access that variable outside the callback. When emailing from within the callback I cannot access the $email variable that is passed to the register() function.
I am using PHPMailer to handle my emailing and there might be some kind of conflict there as it navigates SMTP servers etc.
In order to hack around the scope I simply edited the register function in UserManager.php to pass the $email parameter through to the callback, and then used that in my callback code. It's probably my lack of understanding leading to this issue but PHPMailer takes a while to process its mail function and I'm assuming that the timing there is messing with the callback order, here's my code as working with the callback hack:
$userId = $auth->register( $email, $pword, null, function ($selector, $token, $email) {

	// send `$selector` and `$token` to the user (e.g. via email)
	$url = 'http://www.example.com?selector=' . \urlencode($selector) . '&token=' . \urlencode($token);

	$mail = new PHPMailer(true);
	//Server settings
	$mail->SMTPDebug = 2;
	$mail->isSMTP();
	$mail->Host = 'snip';
	$mail->SMTPAuth = true;
	$mail->Username = 'snip';
	$mail->Password = 'snip';
	$mail->SMTPSecure = 'tls';
	$mail->Port = 587;

	//Recipients
	$mail->setFrom('snip');
	$mail->addAddress($email);

	//Content
	$mail->isHTML(true);
	$mail->Subject = 'Subject';
	$mail->Body    =  $url;

	$mail->send();
});

Any advice?

Don’t worry, questions are part of what this issue tracker is for.
The callback function in question, like all the other callback functions for email verification in this library, is a closure. In PHP, this simply means that, apart from its parameters and superglobals, you need to add a use clause to make variables from the parent scope available.
This has also been added to the documentation now: https://github.com/delight-im/PHP-Auth/commit/c685f229378fa8b83942afce0e4ec830abcd5e1b
Does that help?

Very much so, thanks!
On Tue, May 29, 2018 at 5:33 AM, Marco<EMAIL_ADDRESS>wrote:

Closed #107 https://github.com/delight-im/PHP-Auth/issues/107.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/delight-im/PHP-Auth/issues/107#event-1649835610, or mute
the thread
https://github.com/notifications/unsubscribe-auth/Ahbnly86qNYXNz_9tIUbFrGLmAz3zRhEks5t3FENgaJpZM4UPihe
.


Additional content

I wrote an article about bugcheck analysis: it is published at https://social.technet.microsoft.com/wiki/contents/articles/6302.windows-bugcheck-analysis.aspx.
Do you think its content could be useful as an addition to the information provided in this page?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8650617e-670b-1ced-4404-d6011ea4b3b1
Version Independent ID: 68feb97d-078c-452c-ffeb-473008362382
Content: Interpreting a Bug Check Code - Windows drivers
Content Source: windows-driver-docs-pr/devtest/interpreting-a-bug-check-code.md
Product: windows-hardware
GitHub Login: @EliotSeattle
Microsoft Alias: eliotgra

Sorry, @LuigiBruno, but that content is very dated. Thanks for the offer, though.
Eliot

Thanks @EliotSeattle.
I'm updating that article to provide more examples, but it describes the basic information and steps to understand a bug check error, analyze the memory dump file and understand the root cause: I'm constantly applying the steps that I've described there every time I troubleshoot a bug check error, whether in TechNet Forums or not.


Dataset used and model performance

Hi Tian,
I'm interested in your work and have some questions.

Did you use PubMed abstracts to train the model? if so, how large is it?
Could you provide performance of model on your test data, such as f1 score?

Thanks a lot in advance.

Hi conglingyu,
Thanks for your interests. We pretrained our model on a large dataset of PubMed abstracts and then fine tuned with our own annotation with PICO. Because this is still a nundergoing project, we will release the results once is finished.
Tian


Remove python dependencies

When working on the pipeline, I was having trouble with building the docker because of the PyCall dependency. I wanted to see how easy it was to replace PyCall with PythonCall which has a better way of handling dependencies.
Turns out it's also hard:

PythonCall doesn't have an obvious way to import a custom file (latlon.py)
We have to package that separately, and the import it using Pip in Conda.
Using Pip in Conda reinstalls the dependencies from the package installed using Pip.
We'd need to make latlon.py into a conda package and push it to a registry to make this easier.

I don't think we should merge this PR – it just makes things complicated in a different way. I think we should do our best to remove the python dependencies from this package.

[ ] LatLon: #457

We could replace it with something based on Proj.jl (preferred)
We could have a separate command-line tool which does the reprojection and read the values in from a flat file

[ ] Scikit-image: region props:

We could have a small command line tool based on a part of ebseg which takes an integer labeled image and produces the region props as we need them
We could have a small command line tool (new) which takes in a binary mask and labels the contiguous blocks using integers, and then feed that into the first command line tool.
Then we read all the region props back into the julia pipeline

[ ] Scikit-image: Exposure correction:

we could have a small command line tool (new) which does the exposure correction on a full image, and then pass that image back into the main pipeline.

I tried to get around this by updating the Conda environments, but found that by default the PyCall installs python3.12 which isn't compatible with our dependencies.

#465

We might be able to take advantage of the relatively new Julia wrappers for OpenCV: https://github.com/JuliaImages/OpenCV.jl
This would potentially remove the need to call Python for the skimage stuff, however there may be new issues if the OpenCV bindings don't work well on all systems.


What is the best way to adjust column widths?

More a question than an issue - I hope you can forgive me the lack of jsfiddle.
I didn't find anything in the docs nor in the issues about how to properly adjust column widths.
I also failed to adjust it by myself.
What is the right way to do it?
I tried style="width: 200px;" with and without !important on both <th> and <td> cells.
I also tried it inside <colgroup> - it is completely ignored.
Applying table-layout: fixed; in CSS doesn't help either.
The only result achieved is while applying it on <td> => data columns respond to it but not headers. I tried the $table.trigger('reflow'); but it doesn't make a difference, so I guess it only would if I changed something in javascript.
This is the option I use if it matters.
var $table = $('table.kpi-table');
$table.floatThead({
    responsiveContainer: function($table){
        return $table.closest('.table-responsive');
    }
});

My javascript knowledge is near 0, so I assume I must be unaware of something very basic, especially since nobody else asked for it :(

Are you trying to set the column width after the plugin runs? If so, is there a reason for that or can you do it before it runs?
If you did it before it runs, the best way to do it is to comment out the plugin code, make your  table look correct and then add the plugin code back in.
If you need to set column widths after the plugin has been enabled, you can do it like this:
function setFloatTheadColumnWidth($table, columnIndex, widthPx) {
   $table.floatThead("getRowGroups") // ask floatThead for children elements of the original table.
              .find("tr>:nth-child("+columnIndex+")") // Find all elements in table that are nth-child of any tr element.
              .width(widthPx) // Set width of all selected elements.
              .end() // Returns the last selected element, which is $table.
             .trigger('reflow'); // Trigger a reflow event, which is a custom event floatThead listens to to make it recompute its layout.
}

// Then call it AFTER you init the plugin, call this method somewhere
setFloatTheadColumnWidth($('table.kpi-table'), /* columnIndex= */ 3, /* widthPx= */ 200);

Hope that helps. Good luck with your KPIs :P

Haha, thanks :D I will need luck as this frontend stuff challenges my sanity a little bit too much... :D
I'm really grateful for your plugin though, it's like a sane island among the sea of insane tools. I don't know who the hell manages CSS but I'm of the impression they must be artists, not engineers :D
I'm actually trying to set the column width before the plugin runs, or more precisely, I would prefer the solution with the best performance and I assume doing it in html/css would be the faster way. For now all data is given from the django backend and is not changed dynamically after. To my astonishment I just noticed that what I'm doing also doesn't work when I disable your plugin, so I'm very sorry, there must be something wrong with my code. It was just so unbelievable that all those width: 200px !important; didn't work that I thought it must have been some interaction with your plugin :o
I found the solution. min-width: 150px; and max-width: 200px; used on <td> cells work. width: 200px; doesn't...
It's things like this that will make me bald one day... :D
P.S. Thanks also for the JS solution, maybe I will need it in the future :)

While this is thread is already closed, I want to add a comment.
Having troubles with a table where is hide (and show) some columns on users demand (hitting a button).
The (new) table (with hidden columns) is not recalculating the new with (before 12 columns, after hiding only 4).
The recalculation does work if all columns are displayed.
I tried a slightly changed function you provide above.
The code parts:
$('.filter-display').on('click', function() {
		$('.extended').toggle(400);
		setFloatTheadColumnWidth($table, 1, '25%');
	})

and the function itself:
function setFloatTheadColumnWidth($table, columnIndex, widthPx) {
		$table
		.floatThead('getRowGroups')
		.find('tr').children()
		.width(widthPx)
		.end()
		.trigger('reflow');
	}

The width (here 25%) is based on the number of columns [mine has 4 after hiding the others] (adjust as you need), the table cells are calculated correctly.
Maybe that helps someone having same situation like me.
@mkoryak maybe you have once the time to fix the code doing such automatically.
If you need more, just let me know.
thx.


Create graphic with canvas and display configuration ranges and values.

installed and it display on configuration
https://www.npmjs.com/package/candlejs

Develop horizonatal line in graph based on configuration


Add test for header Mint button on home page, test case id: GD_HP002

Test case GD_HP002: Header 'Mint' button

Can rename filename on test_home_page

Can rename filename on test_home_page

Can rename filename on test_home_page

Yeah, good point

Can rename filename on test_home_page

Can rename filename on test_home_page

Yeah, good point

It looks better.


No way to seed random functions

I called glm.gaussRand(0.0, 1.0) a few times in my code and got the same values each time I ran the program. I tried calling the Python builtin random.seed() but it didn't affect the GLM values. I can't find a seed() or srand() function in the PyGLM docs.

Hi there Serin,
yes, you are correct there is currently no way to set the seed for glm's random functions, which use std::rand to generate pseudo-random-numbers.
I will add a glm.seed or glm.srand function in the future to address this issue.
Thank you for letting me know.


Update slf4j-api, slf4j-simple to 1.7.35

Updates

org.slf4j:slf4j-api
org.slf4j:slf4j-simple

from 1.7.3 to 1.7.35.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.7.3).
You might want to review and update them manually.
build.sbt
website/yarn.lock

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.slf4j" } ]

labels: library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Superseded by #313.


Adding common issues and debugging tips

cc @petele

cc @petele the commit "Removing the code block warning" includes what we discussed around removing the code block indentation warning.

@petele I don't know why we're getting that last warning. I thought that test ignored links.
Anyway. I'm approving and merging.


Add axis to top_k_op

@caffe2bot retest this please

BTW, shall we add the do while loop back in this case?