plans to support couchbase 3.0 sdk?

What version of the module is the issue happening on? Does the issue happen on latest version?
0.27.0

What platform and Node.js version? (For example Node.js 6.11.2 on Mac OS X)
10.17 mac OS

Sample source code or steps to reproduce

      const handle = await lounge.connect({
        connectionString: 'couchbase://<IP_ADDRESS>?detailed_errcodes=1',
        bucket: REDACTED,
        username: REDACTED,
        password: REDACTED
      })

(Write description of your issue here, stack traces from errors and code that reproduces the issue are helpful)
The above worked under Couchbase Node SDK version 2.4.6 (which meets Lounge's peer dependency) however the same results in "cannot read property username of null" under the 3.0.0 SDK version.  If instead I try to connect to Couchbase as per the 3.0 documentation and then pass the bucket to Lounge via the bucket property of the connection options object I get an unhandled promise rejection error which seems odd since everything is using async/await inside of try/catch.  My guess is that Couchbase Node SDK 3.0.0 now uses promises whereas the prior version did not and Lounge is assuming that it does not.  The new presence of promises is possibly resulting in a double/nested promise situation where one is unresolved?  Anyway, none of this is Lounge's fault -- of course -- I'm just curious if there are plans to support the 3.0.0 SDK.
Cheers -- and thank you.

ping.
I see that ottoman 2 was finally released and is advertised to work with the newer SDK.  I may have to switch to that as the 2.4.x couchbase sdk has a number of deprecated dependencies which may -- or may not -- have been fixed in another version of the 2.x branch, but lounge has a peer dependency of 2.4.x specifically
Be safe and stay healthy.


Add recipe giflib41.rb

Giflib 4.2 has incompatible changes so a 4.1.x recipe makes sense. I only made the sha256 bottle hash for yosemite. Hopefully the build bot can pick up the mavericks, mountain lion ones.

failed build


shortened url not working

I have installed yourls in a sub folder and access it fine but when I tell it to create a shortened url it pulls  in the closest permalink available. So for example: http://domain.com/testtestpage and shorten to http://domain.com/test it will show another page called testers or something similar to the example. The site is on wordpress I have also installed the yourls plugin and verified that the api is working. Is this because the install directory is domain.com/yourls and the shorten url is domain.com/yourls/test and the site isnt bringing in this info. How can I correct this so that it works better?

By reading the readme, probably.


No release of talos-linux-api-v1.4.0 on pypi

It seems something broke recently so packages with dots and underscores in their name won't upload to Pypi properly if project names and wheel file names don't match. See https://discuss.python.org/t/change-in-pypi-upload-behavior-intentional-accidental-pebkac/27707/59

Was able to upload to pypi with a previous version of pdm, see https://pypi.org/project/talos-linux-api-v1-4-0/ but notice the whacky name normalization going on the with the project name. Installs fine using pip install talos-linux-api-v1.4.0 though due to pip normalizing everything to underscores anyway.
Keeping the issue open as a reminder to check this out again when it's time to build for talos v1.5.0


softether doesnt work any more

Prerequisites

[NO] Can you reproduce?
[YES] Are you running the latest version of SoftEtherVPN? last stable (9680)

SoftEther version:
Component: server on Windows 2012 R2 std up-to-dated
Operating system: clients Win10 or Ubuntu 18
Architecture: 64 bit
Description
vpn clients suddenly stop working, I've used it since february without issue
Actual behavior:
windows says user or pass not valid (but it's not true) or encryption not valid
linux users can connect but immediately disconnected
Sep 28 16:56:41 HOME-PC pppd[29761]: CHAP authentication succeeded
Sep 28 16:56:46 HOME-PC pppd[29761]: Could not determine local IP address
Sep 28 16:56:46 HOME-PC pppd[29761]: Connect time 0.2 minutes.
Sep 28 16:56:46 HOME-PC pppd[29761]: Sent 72 bytes, received 72 bytes.
Sep 28 16:56:52 HOME-PC pppd[29761]: Overriding mtu 1500 to 1400
Sep 28 16:56:52 HOME-PC pppd[29761]: Overriding mru 1500 to mtu value 1400
Sep 28 16:56:52 HOME-PC pppd[29761]: Connection terminated.
Sep 28 16:56:52 HOME-PC NetworkManager[1244]: xl2tpd[29760]: death_handler: Fatal signal 15 received
Sep 28 16:56:52 HOME-PC NetworkManager[1244]: xl2tpd[29760]: Terminating pppd: sending TERM signal to pid 29761
Sep 28 16:56:52 HOME-PC NetworkManager[1244]: xl2tpd[29760]: Connection 1 closed to 185.X.YYY.ZZ, port 1701 (Server closing)
Sep 28 16:56:52 HOME-PC NetworkManager[1244]: 002 "4f83c54d-9b40-49d3-82a8-fe245ef85391": deleting non-instance connection
Sep 28 16:56:52 HOME-PC NetworkManager[1244]: 002 "4f83c54d-9b40-49d3-82a8-fe245ef85391" #2: deleting state (STATE_QUICK_I2) and sending notification
Sep 28 16:56:52 HOME-PC NetworkManager[1244]: 005 "4f83c54d-9b40-49d3-82a8-fe245ef85391" #2: ESP traffic information: in=866B out=654B
Sep 28 16:56:52 HOME-PC NetworkManager[1244]: <info>  [1569682612.5578] devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Sep 28 16:56:52 HOME-PC NetworkManager[1244]: <warn>  [1569682612.5578] vpn-connection[0x5581de8a4140,4f83c54d-9b40-49d3-82a8-fe245ef85391,"Antea L2TP",0]: VPN plugin: failed: connect-failed (1)
Sep 28 16:56:52 HOME-PC NetworkManager[1244]: <info>  [1569682612.5578] vpn-connection[0x5581de8a4140,4f83c54d-9b40-49d3-82a8-fe245ef85391,"Antea L2TP",0]: VPN plugin: state changed: stopping (5)
Sep 28 16:56:52 HOME-PC NetworkManager[1244]: 002 "4f83c54d-9b40-49d3-82a8-fe245ef85391" #1: deleting state (STATE_MAIN_I4) and sending notification
Sep 28 16:56:52 HOME-PC nm-l2tp-service[29120]: ipsec shut down
Sep 28 16:56:52 HOME-PC NetworkManager[1244]: <info>  [1569682612.5662] vpn-connection[0x5581de8a4140,4f83c54d-9b40-49d3-82a8-fe245ef85391,"Antea L2TP",0]: VPN plugin: state changed: stopped (6)
Sep 28 16:56:52 HOME-PC NetworkManager[1244]: <info>  [1569682612.5674] vpn-connection[0x5581de8a4140,4f83c54d-9b40-49d3-82a8-fe245ef85391,"Antea L2TP",0]: VPN service disappeared
Sep 28 16:56:52 HOME-PC pppd[29761]: Exit.```

for some reasons dhcp doesnt provide any more addresses to vpn clients
for now I've solved enabling SecureNAT, but how can understand why my dhcp doesnt work any more?

it was an issue in my network, a bond device connected to not a bond port :(


reaper 5.03

Thank you for the contribution. It was merged directly as 91cd2b7c23d6f9039b11cd112c65237672925398 to keep commit history cleaner. Your contribution is still credited to you.


randomize if seed=0

This is such a powerful model, and i want to experiment with the gradio app as much as possible but the need to change the seed every time is a big hurdle.
This PR automatically sets a random seed if the seed is set to 0 (the default value).
This is how most other gradio apps work too.

Thanks for the input. I like the idea.
I changed it such that -1 represents random seeding. I keep 0 unchanged because that is itself a valid seed, and I don't want to take that away.

Text to audio has the same issue.


Settings editor dropdown is still visible after closing editor

Open settings editor
Expand dropdown
cmd+w to close settings editor
The dropdown is still there

Hi Rob, I am unable to repro this issue on the latest Insiders on macOS. Does the issue still show up for you?

Yes

Reproduced the issue with "editor.closeEmptyGroups": false


Determine concurrency diagnostic behavior based on conformance context.

When determining whether to warn, error, or be silent about
concurrency-related issues detected between a protocol requirement and
its witness, decide based on the context of the conformance rather
than based on the context of the witness. Fixes rdar://88205585.

@swift-ci please smoke test


not-operator for clauses

Allow for negation of a clause
not SimpleFact( amount > 10 )

implemented in 6001a3af2666c4cdffa2216100c32cb0920aa3f5


Prevent Price Manipulation

How about using a threshold variable that is set by a each Reserve? It would be transparent to all the contributors and they would only contribute on agreement. During SetRate, if the new rate is lower than the old rate multiplied by the threshold variable (0 < thresholdVariable < 1), it results in failure or can call DynamicPriceCheck function which refers to other Reserves for price. This function can be designed like:
      uint matchingBalance = 0;
      for( uint i = 0 ; i < numReserves ; i++ ) {
        var (rate,expBlock,balance) = reserves[i].getPairInfo(source,dest);
        /// isClose is a math function that checks if the rates are close to each other
        if( (expBlock >= block.number) && (balance > 0) && (isClose(rate, newRate) ) ) {
             matchingBalance +=  balance;
        }
      }
      if( ! reserveBalance <= matchingBalance ) { return false; }

Why DynamicPriceCheck Works
matchingBalance is basically the total balance of the given pair in all reserves whose rate is similar to the newRate the ReserveManager is trying to set. It basically checks if matchingBalance is higher the balance of the ReserveManager's Reserve which means that there are other Reserves greater of equal in combined value who have already set a similar rate.
In a very unlikely scenario, It is still possible to manipulate if the ReserveManager sets up another decoy Reserve with balance greater than the original Reserve and sets an unreasonable rate for it before setting rate for the original one. With a high gas price, the ReserveManager can probably peform all three transactions (Setting rate of two reserve and purchase of the assets himself) before someone else capitalises on the unreasonably low exchange rate. This is obviously impractical for high volume exchange pairs but still a valid concern for the low volume ones. So, further enhancements are required.
If the Reserve Manager is the first to set rate after a legitimate drastic rate drop, this wouldn't work and other mechanisms should be used. But it would avoid all smaller reserves having the same pair having to go through the same cumbersome mechanism.

We have different mechanism in mind.
For example, if the prices of two reserves are close, then we would not necessarily choose the cheapest one, rather just give it higher priority.
In more broader aspect, what you consider is that reserve managers could collaborate in setting prices.
This could be done also out side our contracts, by setting the reserve owner to be a smart contract.
But I am not sure we should encourage it. Though at these point I am also not sure we should prevent it.

I'd love to know your thoughts on what other mechanisms you are considering for preventing price manipulation by reserve managers. Because explicit permission from contributors in the smart contract when the new rate is below the threshold is the only foolproof solution i can come up with.
I am not necessarily suggesting reserve manager collaboration. But essentially to put a mechanism in place that gives contributors a peace of mind. If there are other reserve with a higher balance having a similar rate, it means that the rate the manager trying to set is legitimate. So there is no need to go through the cumbersome process of getting permission from contributors. However, if you have a simpler foolproof mechanism than requiring explicit permission, it would make sense to use that mechanism itself for each reserve.

Can you please define more formally price manipulation?
Also by contributors, do you mean exchange users or reserve owners?

According to your whitepaper:

One of the primary concerns is that a bad/unethical reserve manager may quote and
trade bad prices to him/herself to drain all coins from the reserve.

This is a valid problem in public reserve types. I was trying to come up with an efficient solution to this problem. The safest way to prevent price manipulation would be to restrict significant price changes below a threshold ratio. But it is not uncommon in crypto for sudden and significant price changes to happen naturally. One way is to add a requirement to get approval from reserve contributors when such as sudden price change is requested. But this alone would be highly inconvenient and cumbersome.
Contributors as in 'Reserve Contributor' actor as defined in your whitepaper actors section.

Ok, I see what you mean now. Didn't realize you are talking about public reserves.
So yes, your proposal does make sense.
For now we start with private reserve. The governance models for public reserves would likely be another layer atop existing code. So your suggestion could fit there.

Thanks, Excited for the number of possibilities that can enhance the network. So rooting for modular contract philosophy.

public reserves are currently handled outside of kyber network. e.g., with melonport protocol


after using example.py once - some data in the app got deleted

i used the example.py once and was successfully able to login and get info.
later i checked the app on my mobile refreshed the main screen and it showed an error saying "car deleted", clicking ok most information was still there but the dealer setting was gone.
do you know what could be the reason for this?

i used the example.py once and was successfully able to login and get info. later i checked the app on my mobile refreshed the main screen and it showed an error saying "car deleted", clicking ok most information was still there but the dealer setting was gone. do you know what could be the reason for this?

I don't use the app that often but I noticed that my service partner was cleared as well. I have no idea why, could be related to recent changes on VW's servers since there's nothing in the library code that can set service info.


new: dev: #164: register JVM metrics and report metrics to JMX

Changes have been tested on a Qubole cluster

This is good stuff. One doubt I have is that too many metrics will be reported suddenly to statsd and datadog. Does it make sense to have a flag for a category of metrics ? JVM metrics seems like a good category. I am not sure what is the best practice to have flags to turn on certain category of metrics. I am assuming implementation is straightforward using metricsfilter.

@vrajat I agree regarding the number of metrics being reported. I think it makes sense to add flags to  enable/disable different metrics categories. Maybe something like rubix.metrics.jvm.enabled?
And yes, the implementation should be straightforward.

Pull Request Test Coverage Report for Build 166

0 of 71 (0.0%)  changed or added relevant lines in 6 files are covered.
32 unchanged lines in 6 files lost coverage.
Overall coverage increased (+0.2%) to 23.329%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

rubix-bookkeeper/src/main/java/com/qubole/rubix/bookkeeper/metrics/MetricsReporter.java
0
3
0.0%

rubix-spi/src/main/java/com/qubole/rubix/spi/CacheConfig.java
0
5
0.0%

rubix-bookkeeper/src/main/java/com/qubole/rubix/bookkeeper/BookKeeperServer.java
0
8
0.0%

rubix-bookkeeper/src/main/java/com/qubole/rubix/bookkeeper/LocalDataTransferServer.java
0
11
0.0%

rubix-core/src/main/java/com/qubole/rubix/core/utils/ClusterUtil.java
0
13
0.0%

rubix-bookkeeper/src/main/java/com/qubole/rubix/bookkeeper/metrics/BookKeeperMetrics.java
0
31
0.0%

Files with Coverage Reduction
New Missed Lines
%

rubix-bookkeeper/src/main/java/com/qubole/rubix/bookkeeper/LocalDataTransferServer.java
1
0.0%

rubix-bookkeeper/src/main/java/com/qubole/rubix/bookkeeper/BookKeeperServer.java
1
0.0%

rubix-core/src/main/java/com/qubole/rubix/core/utils/DummyClusterManager.java
2
0.0%

rubix-spi/src/main/java/com/qubole/rubix/spi/ClusterManager.java
6
0.0%

rubix-hadoop2/src/main/java/com/qubole/rubix/hadoop2/Hadoop2ClusterManager.java
11
68.29%

rubix-presto/src/main/java/com/qubole/rubix/presto/PrestoClusterManager.java
11
69.05%

Totals

Change from base Build 155:
0.2%

Covered Lines:
569

Relevant Lines:
2439

💛  - Coveralls

@vrajat I've updated the implementation to filter at the reporter level using a custom MetricFilter.

@abhishekdas99 @vrajat Metrics category changes are confirmed to be working in a cluster.

Codecov Report

Merging #171 into master will increase coverage by 4.58%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master     #171      +/-   ##
==========================================
+ Coverage    21.9%   26.49%   +4.58%
==========================================
  Files          52       55       +3
  Lines        2470     2597     +127
  Branches      257      270      +13
==========================================
+ Hits          541      688     +147
+ Misses       1892     1870      -22
- Partials       37       39       +2

Impacted Files
Coverage Δ

.../com/qubole/rubix/bookkeeper/BookKeeperServer.java
0% <0%> (ø)
:arrow_up:

...n/java/com/qubole/rubix/bookkeeper/BookKeeper.java
0% <0%> (ø)
:arrow_up:

.../java/com/qubole/rubix/core/utils/ClusterUtil.java
76.92% <0%> (-7.7%)
:arrow_down:

...qubole/rubix/bookkeeper/CoordinatorBookKeeper.java
0% <0%> (ø)
:arrow_up:

...rc/main/java/com/qubole/rubix/spi/CacheConfig.java
24% <0%> (-1.22%)
:arrow_down:

...m/qubole/rubix/common/metrics/MetricsReporter.java
100% <100%> (ø)

.../rubix/common/metrics/BookKeeperMetricsFilter.java
100% <100%> (ø)

...bole/rubix/bookkeeper/LocalDataTransferServer.java
35.13% <80%> (+35.13%)
:arrow_up:

...qubole/rubix/common/metrics/BookKeeperMetrics.java
97.61% <97.61%> (ø)

... and 5 more

New changes are confirmed to be working on a Qubole cluster

@abhishekdas99 I agree. It would be better to include everything we need, rather than depend on an environment, especially one out of our control, to have what we need.
I'll go ahead and make this change, then test with an EMR cluster.

@jordanw-bq yes. Before making the change and testing it, can you please check whether with your current change, is it running fine or not

Changes (including the shading changes) have been partially tested on an EMR cluster to ensure the Rubix daemons start correctly. I'll be smoke testing queries on Monday.


feat: add send_until_cursor command

I thought its cool, but don't know if everyone agrees

Thanks iron.nvim is a really cool project


Feature Proposal: Customize machine location

Now, the machine is always created at ~/.docker/machine/default/, and this path cannot be changed (or at least, it is not configurable using the GUI).
The idea is to support any path on your hard disk because it is usual that you don't have the same disk space in your main partition than your "data" partition.
What do you think about it?

docker-machine does have a --storage-path option (which defaults to ~/.docker/machine), so if KM wanted to support this feature, it would not be impossible.

I know it is feasible, but I need to know if the kitematic maintenance/users thinks that it is useful, because if they don't think so there is no reason to do a PR

cc @FrenchBen @jeffdm

I think this as a very particular use case - The machine has a default as explained above, which means that the flag would need to be passed with every docker-machine command.
If anything you could symlink the .docker dir to be within your data partition and make this all work the same?

But normally you have all your VM on the same folder or on your own
structure and that is not possible with this approach.
But as I said, if there is no support for the core time, it has no sense to
start any pr.
I'll close the issue.
-- Sent from my mobile phone. Please excuse any typo.
On Jan 18, 2016 11:41 PM, "French Ben"<EMAIL_ADDRESS>wrote:

I think this as a very particular use case - The machine has a default as
explained above, which means that the flag would need to be passed with
every docker-machine command.
If anything you could symlink the .docker dir to be within your data
partition and make this all work the same?
—
Reply to this email directly or view it on GitHub
https://github.com/docker/kitematic/issues/1380#issuecomment-172673293.

It's actually the first time I've heard of someone needing/wanting to move where the VM are stored.
Thanks for your understanding.

No problem. Only suggesting.
-- Sent from my mobile phone. Please excuse any typo.
On Jan 19, 2016 12:37 AM, "French Ben"<EMAIL_ADDRESS>wrote:

It's actually the first time I've heard of someone needing/wanting to move
where the VM are stored.
Thanks for your understanding.
—
Reply to this email directly or view it on GitHub
https://github.com/docker/kitematic/issues/1380#issuecomment-172682185.

Closing for now. We can revisit it if there is a demand for it. :8ball:


FakeRecord implementation

Implement a fake SRP6 record that always returns the same values for a given user-name (I - identity).
Needed for #28.

Stuck at comparingSRP6Records for equality.

Fixed in #33.

87544f6 was a mistake. I force pushed the correct commit d0c39af.


Create 0000-01-02-mrigendra-sudo.md

created a branch, created a file and made a commit, and opened a pull request


Update workflows

Codecov Report
Patch has no changes to coverable lines.
:loudspeaker: Thoughts on this report? Let us know!.


refactor: utility methods

In #1258 I moved utility methods to internal packages as they seemed not to be useful outside of using gnark directly, but actually there were used downstream in zkevm-monorepo. Due to that, @Tabaie had to duplicate some of the functionality there.
But there are actually many utility methods used there which imo live better in gnark repository. I think we can add a github.com/consensys/gnark/utility package with the following subpackages etc:

algo_utils - sorting etc. used in GKR packages
circuit_utils - for utility methods which can be used inside the circuits (PLONK eval etc.)
witness_utils - for more convenient witness assignment which maps from *big.Int etc to frontend.Variable etc

We should also refactor the methods from the zkevm-monorepo which make sense.

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


Connecting AIML powered bots to bot framework

Hi,
I have a Aiml powered bot. I want to connect it to bot  framework front end. How can I do that?

create bot using favorite template
instantiate aiml interpreter (added via npm or nugget or however)
a. load any conversation saved state from conversation state api
pass activity.text to interpreter and get reply
save interpreter state to conversation state api
send reply back to user.

You now should have a HTTP endpoint which uses the AIML markup and interpreter to process text and create a reply.

@tomlm can u explain the steps 1 and 2?


Usermin starts with empty list of modules

I tested AT 19 with usermin and was thinking its broken becaue no usermin modules are shown:

After reinstalletion and several other tests I recognized it was only at startup. After klicking on Usermin the modules are shown:

Can you change this please?
(as always proxy setup)

Yes, should be fixed with 19.00-patch5.
Please update.

great!


explicitly register boost shared ptr

This is required with boost 1.60, otherwise
the python module fails to load at run-time.

Thx !


Performance improvements for OS3+

Cleans up log messages in the client
Refactored the autoupdate bundle code into an own file
Added bulk creates for History in Postgresql. This is the only database system
that supports returning all ids whan multiple elements are inserted. We can
make usage out of it.
Added a disable_history, that is request-wide
Disabled history on poll vote requests
Removed unnecessary user ordering
Reduced the queries for creating motion vote objects by one

@emanuelschuetze If the tests are successful, it can be merged.

@emanuelschuetze If the tests are successful, it can be merged.


The published npm module breaks create-react-app's app generation

For now the npm module doesn't work.

Turns out this was due to a bug in create-react-app 0.5.0
https://github.com/facebookincubator/create-react-app/issues/682#issuecomment-249356798
It's fixed now in 0.5.1.

Getting different error "sh: custom-react-scripts: command not found"

Fixed this by renaming ./bin/react-scripts to ./bin/custom-react-scripts and also changed it in  package.json
"bin": {
    "custom-react-scripts": "./bin/custom-react-scripts.js"
  },

🎉


[stable/consul] Add readinessProbe for correct rolling update

What this PR does / why we need it:
Adds readiness probe for StatefulSet. The rolling update will wait the cluster to get a healthy state.
Based on: consul-helm-chart
Which issue this PR fixes

N/A

Special notes for your reviewer:
@lachie83 Please review :)
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/ok-to-test

/retest

/retest

@zanhsieh Is it a Kubernetes DNS related problem, or I misunderstand something?
As I read the logs, I think it can't resolve the service name because of wrong resolv.conf file or DNS settings.

/test pull-charts-e2e
@mecseid
Let's give it another try.

@vsliouniaev @cpanato
What you guys think? Cannot find trace-able information in e2e log.

@mecseid i saw this in the logs
ping: consul-jrv9nkey01-1.consul-jrv9nkey01.consul-presubmit-18171-1191190275863613440-jrv9nkey01.svc: Name does not resolve

are you able to deploy that locally or in a test cluster?

I've also tested this and it doesn't work because of the login in the startup scripts that expect the pod to go ready before proceeding with the restart of the start.


Flac metadata is not read

Hi again 👋
Sadly Flac metadata is not read :(
Here is an example flac
https://upload.wikimedia.org/wikipedia/commons/3/3e/PDP-CH_-_Edith_Lorand_orchestra_-_Der_Vogelhändler_-_Potpourri_-_Part_1_-_Zeller_-_Parlophon-p9205-20592.flac
The metadta is read by vlc successfully

Hi @Feichtmeier,
Thanks for reporting the issue. I have published a fix for that! You can checkout the version 0.0.2 of this package.
In short, it was just a mask mistake. Only one char to change.

Hi @Feichtmeier,
Thanks for reporting the issue. I have published a fix for that! You can checkout the version 0.0.2 of this package.
In short, it was just a mask mistake. Only one char to change.

awesome @ClementBeal it works now for flacs :) 👍 So I think we can close this issue
I just noticed that the picture bytes are empty however (for MP3s, the flacs I have dont have picture bytes) 🤔


[do not yet merge] ChangeEventSource & fromChangeEvents

Here's how I would add a ChangeEventSource and SwingObservable.fromChangeEvents(...) methods.
The problem is that the many Swing classes which have addChangeListener and removeChangeListener methods don't implement a common interface or super class, so we need to write a separate fromChangeEvents overload for each such Swing class.
So the goal is to have no code duplication except at the place where we have to show to the Java compiler that the Swing class in question indeed has addChangeListener and removeChangeListener methods. This PR gives one way of achieving this, comments/feedback are welcome ;-)
Note that this PR is not yet complete: It has no tests yet, needs more fromChangeEvents overloads, and probably also some doc improvements. I don't have time to continue on this right now, but everyone please feel free to branch from here and continue ;-)

Possible extra overloadds: javax.swing.AbstractButton and javax.swing.JTabbedPane

@samuelgruetter and @mikebaum
I propose to delete this PR. Since 0.26.0 there is already a ChangeEventSource.
Let's do some cleanup for RxSwing...

I guess closing the PR is enough... ;-)


error[E0308]: mismatched types

I received an error while installation, kindly help me to resolve this

Thanks for reporting this issue, which should be closed in fd13e77003ffd59b9fc2c5d47c85c48b231cffa8. Kindly let me know if version 0.4.0 works for you.

Thanks for reporting this issue, which should be closed in fd13e77. Kindly let me know if version 0.4.0 works for you.

Yes it worked


How to install??

What does mean go get -u -v github.com/xuri/xgen/cmd/... installation command in README?
go: go.mod file not found in current directory or any parent directory.
        'go get' is no longer supported outside a module.
        To build and install a command, use 'go install' with a version,
        like 'go install example.com/cmd@latest'
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.

go install github.com/xuri/xgen@latest :
go: downloading github.com/xuri/xgen v0.0.0-20230225022412-aec4e71118ac
package github.com/xuri/xgen is not a main package

Thanks for your issue. I have update the executables installing command in the README. If you're using Go 1.17 and later, please installing executables with following command:
go install github.com/xuri/xgen/cmd/xgen@latest


Update tutorial to reflect current Daedalus syntax

Some constructs such as Match1 no longer work, and we should use $[ .. ] instead

I believe this is addressed by https://github.com/GaloisInc/daedalus/pull/293.


status.releaseNotes is pulling the decription

very self-explanatory. Instead of release notes from latest version, it shows full description

Hello, thank you very much for using the plugin, the respective correction is made, you can view it in version: 0.0.9


Can't scroll the display area after resizing the panes.

If you resize the editor/display panes by dragging the separation, the display area becomes unscrollable (unless refreshed using the circular arrow button).

This happens for me in safari, while everything works in chrome.

I think the only options is reloading the iframe on drag end (but only in safari)? What do you think?
I can't figure out if it's best to do that, or leave it as is now, and then people will most likely do a refresh themselves?

I'd leave it as it is right now.
The refresh may not be welcome while testing something responsive that doesn't need scrolling.

If I had the time I'd make a small repro and create a bug with webkit, but I don't think that'll happen any time soon, and since I don't seem to be able to find a workaround I'll close this issue for now :-(


Make git blame always use 8 digit refs

Because Scm::Git#short_rev (as well as ApplicationHelper#short_rev) always produce 8 digit refs, we need the output of git blame to use the same length, otherwise clicking on a (short) revision in the blame window fails to select the appropriate revision from the select at the top. Fixes https://github.com/textmate/git.tmbundle/issues/46
Note that we have to specify abbrev=7 to actually get 8 digit revisions (see man page excerpt below).
Long explanation: In some cases / repositories, git blame seems to use longer refs by default. I’m not sure why, as the man page (git 2.13.2) explicitly states that the default is 8 (7+1) digits:
--abbrev=<n>
    Instead of using the default 7+1 hexadecimal digits as the abbreviated object name,
    use <n>+1 digits. Note that 1 column is used for a caret to mark the boundary commit.

I suspect that this description is incorrect and that the default value is instead taken from core.abbrev. The man page for git-config says about this setting:

If unspecified or set to "auto", an appropriate value is computed based on the approximate number of packed objects in your repository, which hopefully is enough for abbreviated object names to stay unique for some time.

After fixing the specs in #49 I now noticed that this commit breaks a test in annotate_controller_spec.rb. I have the fix ready, but it depends on #49. So I suggest merging #49 first – I’ll then rebase this branch and add the commit fixing the spec.

Ping :-)

#49 has been pulled in.

Thanks! I rebased this branch to also include the fix for the specs. Ready for merging, I’d say 🎉

Pulled in, thanks!


merge imaging and tabular data

T1 Freesurfer and some demographic and neuropsych merged. More Imaging data to be processed

Need decision from @AidaasinAyda  on which variables to merge to tabular for her analyses


Better README and a simplified shell script that uses the .py scripts

This is largely a slightly clearer README, plus a small shell script

Yes — I find it tremendously useful, and if you don’t mind, over the holidays I’d like to do a big refactor: separate out the logic, make a better CLI, and a Gooey-based GUI on top of that — similar (but simpler) to what I did in https://github.com/twardoch/pypolona

The user_id and sessions might be as CLI params (and then text boxes in the GUI) as well.
The shell script was just, well, a stupid thing, maybe not needed :) This was a quick job, but this is very very useful, worked very well for my 517 MJ creations. Possibly it could store the whole job and the last examined "page" in another config file, so it’d update the stuff even quicker.

And I can figure out how to package it into a standalone GUI tool. :)

For now, if you prefer, you can just grab my README, edit it, and replace your own. It basically has better instructions for getting the session params, for the less technically advanced :)

Hi, I just fine-tuned the README, inspired by your PR. Feel free to review it and provide further suggestions


"Xyz styles and templates" pages for UWP Xaml controls are gone

I am a UWP developer and sometimes I need to look up styles and templates of stock UWP Xaml controls, for example, CalendarView. The style and template I am looking for used to be available at the following URL:
https://msdn.microsoft.com/en-us/library/windows/apps/mt299113.aspx
But, now, when looking up that page (and other "Xyz styles and templates" pages that used to be available at various msdn.microsoft.com URLs) I am getting redirected to
https://docs.microsoft.com/en-us/windows/uwp/design/controls-and-patterns/xaml-styles
that provides generic styles/templates-related information only and not particular styles, templates that I am looking for. This page has the following recommendation (closer to its end): "... or start by editing a copy of the original default style" - and now there is no straightforward way to get a copy of the original default style for many (if not all) UWP Xaml controls.
It looks like pages I am looking for got dropped during a recent msdn.microsoft.com -> docs.microsoft.com. I hope that this was not intentional and pages under consideration will become available at the new site.
Link to article:
https://msdn.microsoft.com/en-us/library/windows/apps/mt299113.aspx
Problem:
The article is gone, one needs to use search engine cache or WayBack Machine to reach its content; many similar articles are gone as well.

@jwmsft, you're still the owner of the XAML control docs, right?


Ability to include color and amount for diaper changes

This functionality is available in the website, and often asked about by doctors early on, so including that information is something of a deal breaker for being able to use the app over the website for quick event tracking.
Thanks!

Hey mr-ransel,
Thanks for suggesting the feature! I think that this makes perfect sense, I will see what I can do. Until then, not sure if you are aware of it, you can long-press the history entry for the diaper change to quickly navigate to a newly-created diaper change entry and manually change it there. This will open the webbrowser for editing the corresponding data entry (you will be prompted to login to your babybuddy instance one more time there).
This was the quick-fix I used a lot for our little one to add extra data that was not directly supported by my own app. I hope that this helps for the time being.
Kind regards,
Paul K.

Pushed again to "Next release". Not part of v2.4.0.


Fix make dev-tools on M1 macs

Neither golangci-lint 1.33.0 nor kustomize 3.8.7 provide darwin/arm64 releases.
Bump golangci-lint to 1.37.1 and kustomize to 4.2.0 as these are the oldest versions with darwin/arm64 releases.
I have run make test with new golangci-lint/kustomize binaries on a linux box and they all passed.
Signed-off-by: Jakub Ciolek<EMAIL_ADDRESS>

@jake-ciolek Thanks for the contributions! Please fix the CI failures.

@jake-ciolek Please rebase and resolve the conflicts.

Rebased and fixed some typos :)

also fixed by https://github.com/goharbor/harbor-operator/pull/882


automatically detect uint type in io.py

Hello,
In the io.py, I saw follow code:
mask_dtype = np.dtype(os.environ.get("STEINBOCK_MASK_DTYPE", "uint16"))
This let me cannot process uint32 images. When I change the code to uint32, it works.
mask_dtype = np.dtype(os.environ.get("STEINBOCK_MASK_DTYPE", "uint32"))
Is it possible automatically detect uint type in io.py? No need to do it manually.

Currently traveling, will reply early next week

Hi @jinyancool and @mjseignon, thanks for reaching out!
Indeed, per the specification, only 16-bit masks are supported at this moment. As you correctly point out, @mjseignon, this may be problematic for large masks containing more than 2^16 - 1 = 65535 cells. In such situations, you can run the steinbock Docker container with -e STEINBOCK_MASK_DTYPE=uint32, for example as shown in https://github.com/BodenmillerGroup/steinbock/issues/132. However, please note that this is considered a "hack" and not sufficiently tested at this point (although I do not expect major problems with this).
Hope this helps, please do not hesitate to reopen the issue if anything is unclear!

Hi @mjseignon

I'm assuming calling this flag with uint32 is the same as the the np.float32 added in the latest commits, imagej=mask.dtype in (np.uint8, np.uint16, np.float32)

No. Specifying -e STEINBOCK_MASK_DTYPE=uint32 instructs steinbock to always read/write masks as 32 bit unsigned integer images. This is not directly related to the latest commits.
What you are referring to is a bugfix to avoid saving images in ImageJ format when the data type is not supported (the ImageJ format only supports uint8, uint16 and float32, see here). For example, masks that are written as uint32 (e.g., when specifying -e STEINBOCK_MASK_DTYPE=uint32) won't be written in ImageJ format.


Research/plan features for v1.X+

Notes

Who would use this kind of tool?

Small business/freelance owners/managers with more than a few projects that they need to track performance/expenses for
Managers inside larger corporations/companies that may want to measure performance across different teams (performance reviews, bonuses, commissions calculation)
Nonprofit sector for justifying funding programs

longer-term projects?
forecasting from 6+ months of data, (conservative-aggressive ranges of scenarios)
Releases are groups of issues that closed in a certain time period and is strongly associated with customer satisfaction and making more payments

@otech47 How could we tackle this issue? Or what kind of information we can obtain of this in order to improve a release or a milestone??


kdeApplications was removed without release notes (for the 21.05 release)

@FRidh As part of b209617ff0a8f26ea1d1fe3716a7fa717a50dd95, kdeApplications has been removed.
However, I can't find in the release notes nor by trying to guess in the code how the applications were refactored. Would it be possible for you, who hopefully know where people should now be taking the applications, to write the release notes entry? If the applications should just be re-searched on the package search it may make sense, but if kdeApplications was just relocated elsewhere it'd probably be good to mention it — and as the commit is pretty big I'm not sure about what exactly was the intended change :/

Yes, good that you mention this. There were a bunch of Qt5/KDE changes before this one, and we never really finished it either.
To reduce the mixing of Qt versions a separate extension was created, qt5-packages.nix, that should contain Qt packages. In the top-level, one should inherit then the version of the package one wants. It is my understanding that not all KDE applications build with a certain Qt version, and hence it was removed. We should revisit this, and the creation of a lot of Qt/KDE aliases before branch-off.


System.PullRequest.PullRequestNumber & System.PullRequest.PullRequestId Not Populating ?

The two variables are not populating:
System.PullRequest.PullRequestNumber
System.PullRequest.PullRequestId
My code IS in GitHub, I have a Pipeline in Azure DevOps which triggers from PR's against the master branch.
These variables were working last week and all of a sudden they have stopped working recently.
I am not using these variables in templates.
Here is a simple example of me trying to echo out the vars:
- bash: |
      echo "$(System.PullRequest.PullRequestNumber)"
      echo "$(System.PullRequest.PullRequestId)"

OUTPUT:
/home/vsts/work/_temp/d41f5d87-7736-423c-96df-9ac6494c7668.sh: line 1: System.PullRequest.PullRequestNumber: command not found

/home/vsts/work/_temp/d41f5d87-7736-423c-96df-9ac6494c7668.sh: line 2: System.PullRequest.PullRequestId: command not found

Sorry, this can be closed, was user error.

Hello @v1ferrarij , do you mind to post a snippet? I'm have the trouble of getting the pullrequestId, cheers


arch: arm: aarc64: remove non-applicable linker section

The non-secure callable functions' section is only applicable
to Cortex-M with TrustZone-M extension. Remove it from AARC64
linker script. (CONFIG_ARM_FIRMWARE_HAS_SECURE_ENTRY_FUNCTIONS
is only enabled for Cortex-M so this is a no-op, but still, it
is a useful cleanup.)
Signed-off-by: Ioannis Glaropoulos<EMAIL_ADDRESS>

nit on the title: s/aarc64/aarch64/ for the rest LGTM

nit on the title: s/aarc64/aarch64/ for the rest LGTM

thanks, fixed


EPIC2 can't use

Hi,
I used conda to install epic2 in a new environment and the python version is 3.5.6. But epic2 has an error in pysam module when I used epic2 --help.
Traceback (most recent call last):   File "/public/home/anyang/tool/conda/miniconda3/envs/epic/bin/epic2", line 10, in <module>     from epic2.src.reads_to_bins import files_to_bin_counts   File "epic2/src/reads_to_bins.pyx", line 14, in init epic2.src.reads_to_bins   File "libchtslib.pxd", line 2590, in init epic2.src.read_bam AttributeError: module 'pysam.libchtslib' has no attribute 'HTSFile'
By the way, it's too hard to install epic2 by conda. It will solving environment for a long time even in a new environment.

The following packages will be downloaded:
package                    |            build
---------------------------|-----------------
curl-7.88.1                |       h37d81fd_2          81 KB  https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cython-0.28.5              |   py35hf484d3e_0         2.8 MB  https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
epic2-0.0.16               |   py35h4e20536_0         9.9 MB  https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda
htslib-1.9                 |       ha228f0b_7         1.5 MB  https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda
intel-openmp-2022.1.0      |    h9e868ea_3769         4.5 MB  https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
krb5-1.20.1                |       h568e23c_1         1.3 MB  https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libcurl-7.88.1             |       h91b91d3_2         383 KB  https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libedit-3.1.20230828       |       h5eee18b_0         179 KB  https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
mkl-2018.0.3               |                1       126.9 MB  https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
numpy-1.14.2               |   py35hdbf6ddf_0         3.3 MB  https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
pysam-0.8.4                |           py35_0        12.1 MB  https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/bioconda
scipy-1.1.0                |   py35hd20e5f9_0        13.3 MB  https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main

here is the total package when i install epic2

There is something weird about your htslib. Have you tried just pip installing?

There is something weird about your htslib. Have you tried just pip installing?

Sorry, I am unable to use pip to install packages due to the requirement for maintaining system dependencies. Could you provide a conda version which can be used?

This seems first and foremost to be an HTSlib issue.

Hello,
I try to install epic2 by pip and I recived error with pysam.
     File "/public/home/pip-build-77gjoy9u/epic2/setup.py", line 3, in <module>         import pysam     ModuleNotFoundError: No module named 'pysam'
also , i cant install pysam by pip because of wheel error. It looks like conflict between linux and pip. I think an effective version of conda is critical.
By the way, can epic2 handle duplicates samples in call peak?


GCP: Images

https://cloud.google.com/compute/docs/reference/rest/v1/images

Duplicate issue #61


[BUG] Framework not found FirebaseAnalytics

Describe the bug
I'm adding macOS support with the project built on iOS which has Firebase Analytics and messaging. And your work seems to be a good solution for the issues. But after the configuring, it always shows the framework not found.
Podfile
require 'cocoapods-catalyst-support'

# Uncomment the next line to define a global platform for your project
platform :ios, '12.0'

target 'xxxxxxxxxxxxxxxxx' do
  use_frameworks!
  pod 'Firebase/Analytics'
  pod 'Firebase/Messaging'
  pod 'Firebase/InAppMessaging'
end

catalyst_configuration do
  verbose!

  ios 'Firebase/Analytics'
  ios 'Firebase/Messaging'
  ios 'Firebase/InAppMessaging'
end

post_install do |installer|
  installer.configure_catalyst
end

Environment

cocoapods-catalyst-support => cocoapods-catalyst-support (0.1.2)
Ruby version [e.g 2.6.0] => ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20]
Cocoapods version [e.g 1.10.0] => 1.10.1
Xcode version [e.g 12.2] => Xcode 12.4

Additional context
ld: warning: directory not found for option '-F/Users/xxxxxxxx/Library/Developer/Xcode/DerivedData/xxxxxxxxxxxxxxxxxxxxxxx/Build/Products/Release-maccatalyst/XCFrameworkIntermediates/FirebaseAnalytics'
ld: warning: directory not found for option '-F/Users/xxxxxxxx/Library/Developer/Xcode/DerivedData/xxxxxxxxxxxxxxxxxxxxxxx/Build/Products/Release-maccatalyst/XCFrameworkIntermediates/GoogleAppMeasurement'
ld: framework not found FirebaseAnalytics
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@whywilson is that your entire Podfile? I've added those dependencies to the Sample project and it compiles fine. Firebase/Analytics is a basic dependency and I've tried many times.
Please, make sure to:

Run pod catalyst run in your project directory
Use #if !targetEnvironment(macCatalyst) where necessary
Try your Podfile in a smaller project, for instance Sample project. Sometimes, your project will have some kind of configuration that's not standard and will break the linker. Start by adding a handful of dependencies and build it up from there.

Thank you for the reply.
It is the entire Podfile.
Here's more information I've tried but still failed.
Podfile Now
require 'cocoapods-catalyst-support'

# Uncomment the next line to define a global platform for your project
platform :ios, '12.0'
use_frameworks!

target 'autobulbfinder' do
  pod 'Firebase/Analytics'
#  pod 'Firebase/Messaging'
#  pod 'Firebase/InAppMessaging'
end

catalyst_configuration do
  verbose!

  ios 'Firebase/Analytics'
#  ios 'Firebase/Messaging'
#  ios 'Firebase/InAppMessaging'
end

post_install do |installer|
  installer.configure_catalyst
end

Comment import Firebase and relative code (No Firebase code in the project now).
Run pod catalyst run
Get the error below.

ld: warning: directory not found for option '-F/Users/xxxxxxxxxxx/Library/Developer/Xcode/DerivedData/xxxxxxxxxxxxxxxxxxxxxxx/Build/Products/Release-maccatalyst/XCFrameworkIntermediates/FirebaseAnalytics'
ld: warning: directory not found for option '-F/Users/xxxxxxxxxxx/Library/Developer/Xcode/DerivedData/xxxxxxxxxxxxxxxxxxxxxxx/Build/Products/Release-maccatalyst/XCFrameworkIntermediates/GoogleAppMeasurement'
ld: framework not found FirebaseABTesting
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Btw, I'm using MBP 2018 13" on Big Sur 11.1.

I've created a new branch task/issue-19 and committed there some changes to the Sample Project Podfile to add those dependencies. Could you please download it following this link and let me know if it compiles?

Thank you for providing the project to test again.
Everything works well and builds success.
After the comparison, I found it's the Other Linker Flags in Build Settings of Target results in the error.
After removing all for the macOS, it builds success without unsupported dependency.
This issue can be closed now. Thanks again. 😊


Create the Login page

Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Create the login page like shown in the sketch. Display a static team icon. Call the express route / if the user clicks the button "Back"
No further logic should be implemented in this issue
Describe alternatives you've considered
Additional context
Sketch:

@Alperen1999 @jondef


Seeing requests timeout using Alchemy provider in forked mode. Alchemy reports no issues.

Component
Anvil
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
0.1.0 (bdc661f 2022-08-12T00:07:28.790638089Z)
What command(s) is the bug in?
No response
Operating System
No response
Describe the bug
Hey again. So my original setBalance issue #2646  seems to be fixed, but I'm still seeing some timeouts which eventually lead to the Anvil node crashing.
The tail end of the log output is here:
api_local-ethereum-mainnet-1  | 2022-08-13T02:59:22.887240Z TRACE backend: creating new block with 1 transactions
api_local-ethereum-mainnet-1  | thread 'fork-backend-thread' panicked at 'Failed to get storage for 0xfad4…7607 at<PHONE_NUMBER>5632322209407033095380116964487118333948220950585551810232368538524
api_local-ethereum-mainnet-1  | ProviderError(ReqwestError(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("eth-mainnet.g.alchemy.com")), port: None, path: "/v2/wjHFOUwHNdrFd0eogO0IP4oA0PxhDRSD", query: None, fragment: None }, source: TimedOut }))', evm/src/executor/fork/backend.rs:302:33
api_local-ethereum-mainnet-1  | stack backtrace:
api_local-ethereum-mainnet-1  | 2022-08-13T03:01:22.863573Z  INFO node::user: eth_getBalance
api_local-ethereum-mainnet-1  | 2022-08-13T03:01:22.863592Z TRACE backend: get balance for 0x71942e1aad7a968f86e979b0ea07708456b80e39
api_local-ethereum-mainnet-1  |    0:     0x5639f8bcf200 - <unknown>
api_local-ethereum-mainnet-1  |    1:     0x5639f897f0cc - <unknown>
api_local-ethereum-mainnet-1  |    2:     0x5639f8bacdd0 - <unknown>
api_local-ethereum-mainnet-1  |    3:     0x5639f8bcff05 - <unknown>
api_local-ethereum-mainnet-1  |    4:     0x5639f8bd0d04 - <unknown>
api_local-ethereum-mainnet-1  |    5:     0x5639f8bd08a2 - <unknown>
api_local-ethereum-mainnet-1  |    6:     0x5639f8bd0816 - <unknown>
api_local-ethereum-mainnet-1  |    7:     0x5639f8bd07d2 - <unknown>
api_local-ethereum-mainnet-1  |    8:     0x5639f865f322 - <unknown>
api_local-ethereum-mainnet-1  |    9:     0x5639f89f0dbf - <unknown>
api_local-ethereum-mainnet-1  |   10:     0x5639f86b6b23 - <unknown>
api_local-ethereum-mainnet-1  |   11:     0x5639f86881b8 - <unknown>
api_local-ethereum-mainnet-1  |   12:     0x5639f868cad4 - <unknown>
api_local-ethereum-mainnet-1  |   13:     0x5639f8bd1ac5 - <unknown>
api_local-ethereum-mainnet-1  |   14:     0x7f3794e7aea7 - start_thread
api_local-ethereum-mainnet-1  |   15:     0x7f3794c60def - clone
api_local-ethereum-mainnet-1  |   16:                0x0 - <unknown>
api_local-ethereum-mainnet-1  | ./scripts/run_ethereum.sh: line 4:    10 Aborted                 (core dumped) RUST_LOG=backend,node,miner,rpc=warn RUST_BACKTRACE=full anvil --host <IP_ADDRESS> --fork-url="https://eth-mainnet.g.alchemy.com/v2/wjHFOUwHNdrFd0eogO0IP4oA0PxhDRSD" --fork-block-number=15187941 --port=8545 --block-time=5 --chain-id=1
api_local-ethereum-mainnet-1 exited with code 134

ethereum-mainnet.log
Our alchemy dashboards don't show any requests explicitly timing out or failing, so it's quite strange.
Questions I have:
Should timeouts crash the node?
Is there a way to specify the number of retries?
Does the timeout already take into account retries?

Should timeouts crash the node?

Probably, albeit a bit more gracefully. The reason we want to fail in this state is that it could otherwise lead to invalid state silently, which would then lead to very very hard to reproduce/fix bug reports
Do you think the timeout might be on your end? I.e. Alchemy is not timing out but your connection is flaky or something like that. Anvil might be sending too many requests too quickly

@onbjerg We aren't seeing the same issues with Hardhat so I think it's an Anvil issue, no? I don't think our connection would be flaky. It's totally possible that Anvil would be sending in too many requests as we have a good number of parallel workers in our tests leading to sending in RPC requests. However, yeah we're running the same exact environment and test suite between Hardhat and Anvil and Hardhat doesn't seem to have these issues as frequently.

source: TimedOut

this is a http request timed out error that is thrown when the HTTP request does not finish in a certain time, it's configured to 120secs which usually should be more than sufficient.
this is for individual HTTP requests. if a request times out it would make sense that they don't appear in the dashboard because they're not processed.
this is definitely unrelated to retries etc because this happens directly in reqwest
https://github.com/seanmonstar/reqwest/blob/61474f422caa6f9f843ae3a5bf656b5b3f507241/src/async_impl/client.rs#L1874
so the request is either not sent at all or alchemy drops it and doesn't send a response?

Are there any config options/environment variables I can set that might help debug this?

I don't think dropping the request and ignoring it is preferable since it would just silently lead to incorrect state as mentioned in my first comment, so I don't think adding support for that makes a lot of sense. It's much more preferable that we figure out what the underlying cause is

This issue from hardhat seems a little bit similar: https://github.com/NomicFoundation/hardhat/issues/2672#issue-1227453780.
I'm trying to find a repro in this thread that would also cause a timeout on the Anvil node.

@onbjerg Yeah, I do think a solution instead of ignoring it would be to at least be able to config the timeout parameters. Hardhat lets you do that in their config (linked in the issue above), and it does seem to help people out with that specific issue.

hey @sunwrobert
I've added a quick debug pr #2816 that allows you to manually set the req time out quick and dirty via REQ_TIMEOUT env var which expects milliseconds
REQ_TIMEOUT=100000 anvil -f https://eth-mainnet.alchemyapi.io/v2/...
using 100s request timeout

the default timeout is 120s
you should be able to install the branch via foundryup --pr 2816

Ugh, just tried this branch and still getting the same error:
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  | thread 'fork-backend-thread' panicked at 'Failed to get account for 0x898b…10b1
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  | ProviderError(ReqwestError(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("eth-mainnet.g.alchemy.com")), port: None, path: "/v2/wjHFOUwHNdrFd0eogO0IP4oA0PxhDRSD", query: None, fragment: None }, source: TimedOut }))', evm/src/executor/fork/backend.rs:271:33
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  | stack backtrace:
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  |    0:     0x55821301e5d3 - <unknown>
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  |    1:     0x558212d1d00c - <unknown>
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  |    2:     0x558212ffb2be - <unknown>
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  |    3:     0x55821301f2d5 - <unknown>
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  |    4:     0x5582130200b4 - <unknown>
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  |    5:     0x55821301fc52 - <unknown>
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  |    6:     0x55821301fbc6 - <unknown>
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  |    7:     0x55821301fb82 - <unknown>
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  |    8:     0x5582129f58b2 - <unknown>
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  |    9:     0x558212e47dd2 - <unknown>
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  |   10:     0x558212a45afb - <unknown>
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  |   11:     0x558212a1e7af - <unknown>
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  |   12:     0x558212a1f5b8 - <unknown>
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  |   13:     0x558213020e95 - <unknown>
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  |   14:     0x7f8d9a25eea7 - start_thread
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  |   15:     0x7f8d9a188def - clone
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  |   16:                0x0 - <unknown>
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1  | ./scripts/run_ethereum.sh: line 4:    10 Aborted                 (core dumped) REQ_TIMEOUT=240000 RUST_LOG=backend,node,miner,rpc=warn RUST_BACKTRACE=full anvil --host <IP_ADDRESS> --fork-url="https://eth-mainnet.g.alchemy.com/v2/wjHFOUwHNdrFd0eogO0IP4oA0PxhDRSD" --fork-block-number=15347924 --port=8545 --block-time=5 --chain-id=1
api_local_334b46eadb717b99b8cd214d0f8d32e860b94b96-ethereum-mainnet-1 exited with code 134

Stumped :/

Does anvil retry on timeouts? Or is it just on rate limits? Possible to change the branch where if the request times out, we retry some number of times?

what timeout did you set?
it does not exist but we can add this and this makes sense, on it.
looks, like this could be a common issue on "spurious network"

what timeout did you set?
it does not exist but we can add this and this makes sense, on it.
looks, like this could be a common issue on "spurious network"

I used a 240_000 timeout, which should never take that long..

yeh the spurious network error warning, makes me think that there are some connectivity issues.
adding retries for timed out request should fix this I hope, will add this today

@sunwrobert timed out request should now be retried as well

@mattsse Results generally look better (a lot more tests passing!). One last request if possible. Any way for us to also do the original solution of

specifying the timeout seconds
maybe specifying number of retries (not as important).

I think being able to specify the timeout would be useful in general. Maybe we only care about the retries and not so much about the timeout threshold, e.g 100s timeout seems long when that request itself might just be botched, and we only care about retrying it.

agreed, will definitely add this as a config option
will close this and track separately

curl -L https://foundry.paradigm.xyz | bash
foundryup


Saucelabs build is failing

Saucelabs build is failing for ie9 / 10/ 11
Probably related for #152 or #153 , since fails started at 22november
I could not figure what test is causes the fail.
If you figure where is fail root, i will be glad to provide a fix
Anyway, having time will test with IE locally ASAP

Just ran test suite using IE 11 on Windows 10 with success, although is failing at SauceLabs:
26 11 2016 11:05:25.177:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/
26 11 2016 11:05:25.204:INFO [launcher]: Starting browser IE
26 11 2016 11:05:25.974:INFO [IE 11.0.0 (Windows 10 0.0.0)]: Connected on socket nUIJ4LWYtpGtCEUgAAAA with id 13719555
IE 11.0.0 (Windows 10 0.0.0): Executed 48 of 49 (skipped 1) SUCCESS (0.415 secs / 0.248 secs)

I than build jquery-hello-world: it runs in edge but fails in IE11 with Promise not defined
Not sure what's going

I all works, it's just Saucelabs being dodgy as usual. And the image isn't updating... https://saucelabs.com/browser-matrix/cherrytree.svg


Quick fix to remove unnecessary break statements

Part of the pattern matching features is making switch statements simpler, including removing the need for pointless break; statements at the end of each non-empty case.
It would be great to add a quick-fix that eliminates those automatically in code that is on the language version where patterns are supported.

Agreed. But fixes are only applied where there's a diagnostic reporting a problem. I think it would be reasonable to start reporting a dead-code diagnostic for unnecessary break statements to which such a fix could be applied. WDYT?

Agreed. But fixes are only applied where there's a diagnostic reporting a problem. I think it would be reasonable to start reporting a dead-code diagnostic for unnecessary break statements to which such a fix could be applied.

Yes, 100%.

CC @pq have we implemented this yet? I feel like I saw some changes related to this but I could be mistaken.

yes!  I did tackle this one.
Implemented in 2192131b5e8fc170e5d02d8610a9765470d35034.


typo in password manager doc

Typo:
have MicrosofRt Edge installed

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

ID: 5b166ffb-afd3-2808-de99-e69d31951868
Version Independent ID: 629c1102-d959-1122-8200-41735ed9c667
Content: Microsoft Edge password manager security
Content Source: edgeenterprise/microsoft-edge-security-password-manager.md
Product: microsoft-edge
GitHub Login: @dan-wesley
Microsoft Alias: supalsul

@ericlaw1979 Hi! Confirmed the typo should be fixed in a newer draft of this document.  Closing this issue.  Let me know if you have questions!


Warning during Windows installation

Describe the bug

Windows warns when installing. You have to choose "install anyways" or something like it. I cannot reproduce by uninstalling and reinstalling.
Expected behaviour

Install without any warnings.
Environment

Version: (e.g. 1.3.1) 1.6.1
Platform: (Web App / Desktop App) Desktop
OS: (MacOS / Windows / Linux) Windows 10
Browser: (e.g. chrome, firefox, safari)

To Reproduce

Any additional context, screenshots, etc

I think this kind of warning is pretty common in any electron application.

Hello @maarre , I have added a wiki entry and also an entry in the Threat Dragon documentation

it is not just an innocuous warning it’s an important security feature.
you may be blocking some security teams from using it in certain locked down environments.
A friend of mine presented a DEFCON a few years ago and showed the electron abs could be totally tampered with and they fixed electron to sign the JavaScript

On Dec 14, 2022, at 1:10 AM, maclovin @.***> wrote:

I think this kind of warning is pretty common in any electron application.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.

Understood @storkinsj , it is the best we can do for now for Threat Dragon. We notarize the MacOS images but have not gone down the similar route for Windows images.

@maarre I have also updated the online documentation at : https://threatdragon.github.io/install-desktop/
If this looks OK to you then feel free to close this issue, thanks for raising it

@storkinsj can you formulate a feature request? I am closing this issue


Route Resources and Confirmation dialogs

Hello,
I'm having trouble with the confirm dialog (data-confirm) for a delete method. I have...
resources :users
..in my routes file. I have an edit action/view and an index action/view. If I put the link on the my index page...
link_to user_path(user), method: :delete, data: {confirm: 'Are you sure you want to delete this user?'}
...I get a dialog box to Ok or Cancel. If I press Cancel I'm redirected to the edit page instead of the dialog just closing.
Any insight as to why Cancel needs to redirect and how to fix it would be appreciated.

Ugh. Nevermind. My bad.


Is there any relevant literature?

Have you published any related articles? If I use this model, how can I refer to your method?

Thx for your attention!
If you use this non-linear CoxPH model in your research, it's better to cite [1], because this repo is built upon Katzman's DeepSurv.
[1] Katzman, J. L., Shaham, U., Cloninger, A., Bates, J., Jiang, T., & Kluger, Y. (2018). DeepSurv: personalized treatment recommender system using a Cox proportional hazards deep neural network. BMC medical research methodology, 18(1), 1-12.


The awesomeios.com page isn’t working

I just tried to open http://awesomeios.com and found that it's not working (PFA).

Hey @arasu01, thanks for pointing that out. @vsouza is working on it


Documentation Updates

Setting up structures for documentation updates. Hopefully I will offer initial looks at every how-to and topic listed in this initial commit. Looking to work more on this in the coming week.
@yuvipanda what is your procedure for testing sphinx? And how do you deploy the documentation?

So I am running sphinx-build -b html . built-docs to test the documentation. Only warning I get right now is
WARNING: html_static_path entry '_static' does not exist

So I'm fairly confident that these are looking good syntax-wise. Still more docs to come.
@yuvipanda, I've noticed that you manually line break your .rst files; is this to prevent large diffs in git? Should I also do this?

@salvis2 this is awesome!
Yes, I manually line break my .rst files for diffs. Would love if you could do that too! I think my editor has helpers for it as well.
Let's merge this right after!

Okay, I'll look at line breaks in the morning and try to make it my next commit. Do you have a character limit set for that?

I've realized I don't actually know a lot about the image building (I know what command to run, but that's about it), so I was going to leave docs/howto/hubploy-build-jupyterhub-image.rst for someone else to fill in. The file is linked in docs/howto/index.rst at the moment, but if you want it unlinked until there is content, that is an easy change.

Thanks for working on this, @salvis2! \o/


Suggest using the EmbeddingComposite when the hardware graph is incompatible

Right now,
sampler = DWaveSampler()
sampleset = sampler.sample_ising({'a': -1}, {'ab': 1})
print(sampleset)

raises an error, Problem graph incompatible with solver. It would be good to also suggest using the embedding composite.

Hi @arcondello ! Can I work on this issue?

@AkashNarayanan of course! Let us know if you need any questions answered.


document element.hasAttribute behaviour or perhaps fix something...

Again I'm not sure if this is an issue with incrementalDom or Skate. Learning from problems with getAttribute being "null" I switched to using hasAttribute.
    static get props() {
        return {
            blockId: prop.string({ attribute: true }),
            actionStarted: prop.string({ attribute: true }),
            actionTaken: prop.string({ attribute: true }),
            hidden: prop.boolean({ attribute: true }),
        };
    }

When I check element.hasAttribute("action-started") it is true as the attribute value is a blank string. This <conversation-response> is rendered with Skate.
    renderCallback() {
        let blocks = [];
        this.store.getState().forEach(block => {
            blocks.push(<conversation-block id={block.templateId}></conversation-block>);
            if (block.hiddenResponse) {
                blocks.push(<conversation-response block-id={block.templateId} hidden></conversation-response>);
            } else {
                blocks.push(<conversation-response block-id={block.templateId}></conversation-response>);
            }
        });
        return blocks;
    }

I don't have any code that sets the attribute outside the function that checks with hasAttribute so I assume that the props are set to blank string during construction. If that is the case I think it is reducing the expressiveness. I think attributes should start out as not defined if their property has no default/initial value. Alternately the documentation should be very clear on this.

When the spec churned and renamed createdCallback() to constructor(), they put more restrictions on custom elements saying you can't setAttribute() etc within the constructor. Thus, you have to do it on connected. Reflection logic got very tricky at this point. This changed awhile back and is something we want to address try and make simpler, possibly by making one-way attribute reflection (attribute updates the property, but not vice-versa) the default behaviour.
The attribute option is documented here. If you don't want the attribute to be sync'd with the property when the property is set, but want the property to be set when the attribute is set, then you can do { attribute: { source: true }.
Where is your hasAttribute() call? I don't see it in renderCallback() there. I feel like there is possibly a better way to do things here. I can hep recommend something if you can provide context for your hasAttribute() call.

The hasAttribute is in an onclick handler.
When you click an action element within the custom element the state of the custom element is updated. I controlled state with attributes "action-taken" and "action-started", but now I do it by checking and assigning the props, which in turn updates the attributes, that works. However the other way around seems to have problematic blank semantics.

I'm not sure how to resolve this issue. Is your problem fixed? If you have an updated code example, or a webpackbin / jsbin / etc that I can look at, I'm happy to help further.

I tried to add some tests to cover this but I can't seem to run the /build
Are these the correct first time run commands?
npm install
node_modules/skatejs-build/bin/sk-bundle
node_modules/skatejs-build/bin/sk-tests

Running with node 7 I get the following errors:
fg-mac-pro:skatejs admin$ node_modules/skatejs-build/bin/sk-bundle
resolve failed:  { Error: Cannot find module 'skatejs-build'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.requireRelative.resolve (/Users/Shared/Projects/skatejs/node_modules/require-relative/index.js:30:17)
    at resolve (/Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/lib/serialize.js:25:26)
    at findAndRemove (/Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/lib/serialize.js:67:11)
    at /Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/lib/serialize.js:111:13
    at Array.map (native)
    at loadPreset (/Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/lib/serialize.js:103:29)
    at module.exports (/Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/index.js:97:19)
    at Object.<anonymous> (/Users/Shared/Projects/skatejs/node_modules/babel-preset-es2015-rollup/index.js:3:18)
    at Module._compile (module.js:571:32) code: 'MODULE_NOT_FOUND' } skatejs-build
node_modules/nan
resolve failed:  { Error: Cannot find module '@webcomponents'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.requireRelative.resolve (/Users/Shared/Projects/skatejs/node_modules/require-relative/index.js:30:17)
    at resolve (/Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/lib/serialize.js:25:26)
    at findAndRemove (/Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/lib/serialize.js:67:11)
    at /Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/lib/serialize.js:111:13
    at Array.map (native)
    at loadPreset (/Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/lib/serialize.js:103:29)
    at module.exports (/Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/index.js:97:19)
    at Object.<anonymous> (/Users/Shared/Projects/skatejs/node_modules/babel-preset-es2015-rollup/index.js:3:18)
    at Module._compile (module.js:571:32)
    at Module._extensions..js (module.js:580:10)
    at Object.require.extensions..js (/Users/Shared/Projects/skatejs/node_modules/rollup/bin/rollup:763:6)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/Shared/Projects/skatejs/node_modules/skatejs-build/rollup.config.js:9:22)
    at Module._compile (module.js:571:32)
    at Module._extensions..js (module.js:580:10)
    at Object.require.extensions..js (/Users/Shared/Projects/skatejs/node_modules/rollup/bin/rollup:763:6)
    at Module.load (module.js:488:32) code: 'MODULE_NOT_FOUND' } @webcomponents

  error: unknown option `--config'

resolve failed:  { Error: Cannot find module 'skatejs-build'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.requireRelative.resolve (/Users/Shared/Projects/skatejs/node_modules/require-relative/index.js:30:17)
    at resolve (/Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/lib/serialize.js:25:26)
    at findAndRemove (/Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/lib/serialize.js:67:11)
    at /Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/lib/serialize.js:111:13
    at Array.map (native)
    at loadPreset (/Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/lib/serialize.js:103:29)
    at module.exports (/Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/index.js:97:19)
    at Object.<anonymous> (/Users/Shared/Projects/skatejs/node_modules/babel-preset-es2015-rollup/index.js:3:18)
    at Module._compile (module.js:571:32) code: 'MODULE_NOT_FOUND' } skatejs-build
node_modules/nan
resolve failed:  { Error: Cannot find module '@webcomponents'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.requireRelative.resolve (/Users/Shared/Projects/skatejs/node_modules/require-relative/index.js:30:17)
    at resolve (/Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/lib/serialize.js:25:26)
    at findAndRemove (/Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/lib/serialize.js:67:11)
    at /Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/lib/serialize.js:111:13
    at Array.map (native)
    at loadPreset (/Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/lib/serialize.js:103:29)
    at module.exports (/Users/Shared/Projects/skatejs/node_modules/modify-babel-preset/index.js:97:19)
    at Object.<anonymous> (/Users/Shared/Projects/skatejs/node_modules/babel-preset-es2015-rollup/index.js:3:18)
    at Module._compile (module.js:571:32)
    at Module._extensions..js (module.js:580:10)
    at Object.require.extensions..js (/Users/Shared/Projects/skatejs/node_modules/rollup/bin/rollup:763:6)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/Shared/Projects/skatejs/node_modules/skatejs-build/rollup.config.js:9:22)
    at Module._compile (module.js:571:32)
    at Module._extensions..js (module.js:580:10)
    at Object.require.extensions..js (/Users/Shared/Projects/skatejs/node_modules/rollup/bin/rollup:763:6)
    at Module.load (module.js:488:32) code: 'MODULE_NOT_FOUND' } @webcomponents

  error: unknown option `--config'

Hash: 5aa5a6bb26f4093a0fa1
Version: webpack 1.13.3
Time: 4892ms
                          Asset     Size  Chunks             Chunk Names
        dist/index-with-deps.js   108 kB    0, 1  [emitted]  dist/index-with-deps.js
    dist/index-with-deps.min.js  31.9 kB    1, 0  [emitted]  dist/index-with-deps.min.js
    dist/index-with-deps.js.map   127 kB    0, 1  [emitted]  dist/index-with-deps.js
dist/index-with-deps.min.js.map   246 kB    1, 0  [emitted]  dist/index-with-deps.min.js
    + 37 hidden modules

WARNING in dist/index-with-deps.min.js from UglifyJs
Side effects in initialization of unused variable array [./src/api/prop.js:12,13]
Side effects in initialization of unused variable boolean [./src/api/prop.js:19,13]
Side effects in initialization of unused variable number [./src/api/prop.js:32,13]
Side effects in initialization of unused variable string [./src/api/prop.js:39,13]
Side effects in initialization of unused variable isFunction [./src/util/is-type.js:1,13]
Side effects in initialization of unused variable isObject [./src/util/is-type.js:2,13]

@thepian check the https://github.com/skatejs/skatejs/blob/master/CONTRIBUTING.md file. I've updated it for the latest commands. I made a move to Webpack 2 for this repo, but not skatejs-build so had to switch to NPM scripts.

Wrote two tests that I think shows the issue. It seems clear to me that there is a bad conversion somewhere.
https://github.com/thepian/skatejs/commit/4d68318cfb004a33aea6ff02248f5be0f36547a3


problem to use Mutex.

I intend to use the following code to figure out how to lock a mutex, but...
#include <Grappa.hpp>
#include <unistd.h>

using namespace Grappa;

int main(int argc, char *argv[]){
    init(&argc, &argv);
    run([]{
        GlobalAddress<Mutex> x = make_global(new Mutex);
        on_all_cores([x]{
                delegate::call(x,[](Mutex *mu){ lock(mu); });
                sleep(2); // some computing ...
                delegate::call(x,[](Mutex *mu){ unlock(mu); });
        });
    });
    finalize();
}

OK, so far so good, but I got the following errors when I use mpiexec -n 4 ./test to run this case.
F0805 21:12:16.028504 24754 TaskingScheduler.hpp:166] Check failed: in_no_switch_region_ == false (1 vs. 0) Trying to context switch in no-switch region
*** Check failure stack trace: ***
*** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1470402736" if you are using GNU date ***
PC: @           0x44c548 google::DumpStackTrace()
    @           0x414071 Grappa::impl::failure_function()
    @           0x442d1b google::LogMessage::Fail()
    @           0x442c7a google::LogMessage::SendToLog()
    @           0x4426c6 google::LogMessage::Flush()
    @           0x4454bf google::LogMessageFatal::~LogMessageFatal()
    @           0x40b16f Grappa::lock<>()
    @           0x409670 _ZZN6Grappa4impl4callIZNS0_4callILNS_8SyncModeE0EXadL_ZNS0_9local_gceEEENS_5MutexEvZZZ4mainENKUlvE_clEvENKUlvE_clEvEUlPS4_E_EEDTclfp0_cldtfp_7pointerEEE13GlobalAddressIT1_ET3_MSD_KFT2_PSB_EEUlvE_EEvsT_MSJ_KFvvEENKUlvE_clEv
    @           0x4096a3 _ZN6Grappa7MessageIZNS_4impl4callIZNS1_4callILNS_8SyncModeE0EXadL_ZNS1_9local_gceEEENS_5MutexEvZZZ4mainENKUlvE_clEvENKUlvE_clEvEUlPS5_E_EEDTclfp0_cldtfp_7pointerEEE13GlobalAddressIT1_ET3_MSE_KFT2_PSC_EEUlvE_EEvsT_MSK_KFvvEEUlvE_E15deliver_locallyEv
    @           0x41fe47 Grappa::impl::RDMAAggregator::deliver_locally()
    @           0x4156f5 poller()
    @           0x432bfe Grappa::impl::tramp()
    @           0x43946c (unknown)
I0805 21:12:16.037377 24754 Grappa.cpp:262] Exiting via failure function

Did I do something wrong?

Delegate operations can't contain blocking code---the lock() call may block. You can wrap it in a spawn() call to spawn a new task, which will be able to block.

There's also the version of call that takes a Mutex of some sort and creates a heap-allocated continuation if it has to block: https://github.com/uwsampa/grappa/blob/master/system/Delegate.hpp#L159
I can't find any instances where it was used. I think I planned to use it in GlobalVector, but ended up manually using SuspendedDelegate: https://github.com/uwsampa/grappa/blob/master/system/GlobalVector.hpp#L146
We do have an alternate version of call that creates a task so it can be suspended, but as the documentation for that method indicates, this can be a problem because there's a chance of running out of workers, leading to deadlock (which happened frequently whenever I tried spawning dependent tasks inside of other tasks), so I encourage you to tread very lightly there.

@bholt could you show me a example how to use the version of call that takes a Mutex to try lock on remote mutex? I am confused about the way this functions works after reading the code.

It's definitely pretty wonky. I meant to wrap it in some nicer functions but never got around to it. It was intended to be as general-purpose as possible, so it takes 2 lambdas: one lambda is like a delegate, but its only purpose is to return a pointer to the Mutex that you want to lock/wait on. Then, when the mutex is unlocked, the second lambda parameter will get invoked, which should probably lock the mutex. But due to me being lazy a long time ago, you also have to return something non-void. So, long story short, I think this should work to do a remote lock as a blocking delegate:
GlobalAddress<Mutex> mptr = /* get global address somehow */;
delegate::call(mptr.core(),
  // runs on remote node; computes local pointer to mutex
  // (in this case just getting the pointer component of the
  // GlobalAddress, but could be whatever you want)
  [mptr]{ return mptr.pointer(); },
  // runs once the mutex is unlocked; should probably lock it,
  // but then you can also do whatever other work you want,
  // such as returning a value from this remote node.
  // in this case I just return "true" (have to return something)
  [](Mutex* m){
    lock(m);
    return true;
  });

(caveat: I haven't tested this beyond making sure it compiles)

So, this function must return something non-void, Now I know how to deal with my remote mutex, Thank you!


BUG

When changing any of these settings time settings to true.
"TimeLimitSettings": {
"VoteDependsOnTimeLimit": false,
"TriggerSecondsBeforeEnd": 35,
"ChangeMapAfterTimeLimit": true,
"VoteNextRoundStartAfterTrigger": false
The console prints out this error:
[09:00:48.770] CSSharp: Native 7a5bae39 was invoked on a non-main thread
Unhandled exception. CounterStrikeSharp.API.Core.NativeException: Invoked on a non-main thread
at CounterStrikeSharp.API.Core.ScriptContext.CheckErrors() in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/ScriptContext.cs:line 187
at CounterStrikeSharp.API.Core.NativeAPI.CreateTimer(Single interval, InputArgument callback, Int32 flags) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/API.cs:line 1254
at CounterStrikeSharp.API.Modules.Timers.Timer..ctor(Single interval, Action callback, Nullable1 flags) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Modules/Timers/Timer.cs:line 34    at CounterStrikeSharp.API.Core.BasePlugin.AddTimer(Single interval, Action callback, Nullable1 flags) in /home/runner/work/CounterStrikeSharp/CounterStrikeSharp/managed/CounterStrikeSharp.API/Core/BasePlugin.cs:line 355
at MapChooser.MapChooser.<>c__DisplayClass176_0.<b__0>d.MoveNext() in /Users/sergeysypchenko/css-development/GG1MapChooser/GG1MapChooser.cs:line 2733
--- End of stack trace from previous location ---
at MapChooser.TimerManager.<>c__DisplayClass7_0.<b__0>d.MoveNext() in /Users/sergeysypchenko/css-development/GG1MapChooser/GG1MapChooser.cs:line 3343
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.<>c.b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
./game/cs2.sh: line 98:   105 Aborted                 (core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"

What version do you use?

This error was on GG1MapChooser.1.5.1.  I upgraded from v1.4.4


Wrong client error message

Bug Report
Expected behaviour
./dockstore tool launch biowardrobe_chipseq_se_checker.cwl
dockstore needs to be on PATH for certain commands to work (like --upgrade)
dockstore: missing required flag --entry or --local-entry
Actual behaviour
./dockstore tool launch biowardrobe_chipseq_se_checker.cwl
dockstore needs to be on PATH for certain commands to work (like --upgrade)
dockstore: missing required flag --entry
Steps to reproduce the behaviour
./dockstore tool launch biowardrobe_chipseq_se_checker.cwl

Still present
$ dockstore tool launch Dockstore.cwl
dockstore: missing required flag --entry
$ dockstore --version
Dockstore version 1.3.0-beta.0
The latest stable version is 1.2.10
You are currently on the latest unstable version. If you wish to upgrade to the latest stable version, please use the following command:
   dockstore --upgrade-stable

Works with 1.3.0-beta.1


Allow non-standalone ctx.exit() calls to return values rather than call sys.exit()

Based on the work in #533
However, I think that PR did more than was necessary and got itself into trouble. Exits don't need to pretty print themselves, and that would actually be a destructive or at least annoying change for many click consumers.
Rather than squashing that work away, I've preserved those commits but made further changes to pare things back.
This makes a new class of exception Exit(RuntimeError), which is just a container for an exit code.
Context.exit raises an Exit instead of calling sys.exit directly, and BaseCommand.main looks at Exit exceptions a lot like it looks at Aborts, either returning the result (when non-standalone) or calling sys.exit (when standalone).
(This is all very much in line with @jamesmyatt's feedback on that original work, which I largely agree with.)
closes #533
closes #667

I like this change, thanks!
@davidism - what do you think?

Thanks @sirosen


Remove unused Hoffman filter

Tracked on [LRS-743]
C++/C API will be deprecated
Wrapper API was removed

👍


Where is ICLR?

We should add ICLR to this list……

They just removed ICLR.
dont know why

Because the 2018 deadline + conference just got done. Whenever 2019 is announced, we can add it.


RESOURCE_EXHAUSTED: a single table row is larger than the maximum message size

We're hitting the following error:
com.google.cloud.spark.bigquery.repackaged.com.google.api.gax.rpc.ResourceExhaustedException:
com.google.cloud.spark.bigquery.repackaged.io.grpc.StatusRuntimeException:
RESOURCE_EXHAUSTED: there was an error operating on {REDACTED}: a single table row is larger than the maximum message size

This might be a duplicate of https://github.com/GoogleCloudPlatform/spark-bigquery-connector/issues/22

I'm receiving this same error

Duplicate of #22


[SPARK-9160][SQL] codegen encode, decode

Jira: https://issues.apache.org/jira/browse/SPARK-9160

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Test build #1125 has started for   PR 7543 at commit 7528f0e.

Test build #1125 has finished for   PR 7543 at commit 7528f0e.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait Nondeterministic
abstract class RDG extends LeafExpression with Nondeterministic
case class Rand(seed: Long) extends RDG
case class Randn(seed: Long) extends RDG

Thanks - merging this in.


Mini timeline not showing "Built-in video controls" on events loaded from timeline clicks.

When clicking on a timeline event the recorded event will start playing just fine but the built-in video control won't show. Click the chevrons to load previous or next event will show the "Built-in video control" but not for the event that was loaded from the timeline.
I have tried many different configurations but the loaded event that was selected by clicking on the timeline simply won't show the built-in video controls.
any ideas ?

Hmm, that's surprising, I can't imagine why that would happen only with timeline events. A quick play around and I'm afraid I can't reproduce it.
Would it be possible to take a recording / screen capture of the issue happening? And include your config?
Thank you!

Here it is:
https://github.com/dermotduffy/frigate-hass-card/assets/9822111/b43b7b85-39e9-4599-9203-3925cec01310
`
type: custom:frigate-card
card_id: main_nvr_1
cameras:

camera_entity: camera.birdseye
title: Birdseye
dependencies:
all_cameras: true
camera_entity: camera.driveway_front_10_1_8_92
title: Driveway
live_provider: go2rtc
camera_entity: camera.front_door_intercom_hikvision_nvr_proxy_10_1_8_15
title: Front Intercom
live_provider: go2rtc
camera_entity: camera.service_entrance_north_corner_10_1_8_91
title: Service Entrance
live_provider: go2rtc
camera_entity: camera.driveway_north_side_to_front_10_1_8_82
title: Driveway Nort to Front
live_provider: go2rtc
camera_entity: camera.front_south_corner_10_1_8_90
title: South Corner
live_provider: go2rtc
camera_entity: camera.front_south_corner_to_north_10_1_8_83
title: Front South Corner to North
live_provider: go2rtc
camera_entity: camera.sideyard_south_corner_10_1_8_93
title: Southyard South
live_provider: go2rtc
camera_entity: camera.sideyard_north_10_1_8_86
title: Sideyard North
live_provider: go2rtc
camera_entity: camera.sideyard_rear_north_corner_10_1_8_87
title: Sideyard North Corner
live_provider: go2rtc
camera_entity: camera.pool_rear_south_corner_10_1_8_85
title: Pool South Corner
live_provider: go2rtc
camera_entity: camera.pool_rear_west_corner_10_1_8_81
title: Pool West Corner
live_provider: go2rtc
camera_entity: camera.backyard_rear_north_corner_10_1_8_84
title: Backyard North Corner
live_provider: go2rtc
camera_entity: camera.backyard_east_corner_10_1_8_89
title: Backyard East Corner
live_provider: go2rtc
view:
scan:
enabled: false
menu:
style: outside
buttons:
frigate:
enabled: false
timeline:
enabled: true
screenshot:
enabled: false
mute:
enabled: true
expand:
enabled: true
recordings:
enabled: true
substreams:
enabled: false
image:
enabled: false
play:
enabled: true
microphone:
enabled: true
timeline:
style: ribbon
controls:
thumbnails:
mode: below
show_recordings: false
media: all
live:
controls:
thumbnails:
mode: below
next_previous:
style: chevrons
title: {}
builtin: true
timeline:
show_recordings: false
layout:
fit: contain
position:
x: 50
'y': 50
lazy_load: true
draggable: false
media_viewer:
controls:
next_previous:
style: chevrons
thumbnails:
mode: below
title:
duration_seconds: 3
mode: none
timeline:
mode: below
media: all
show_recordings: false
builtin: true
draggable: false
layout:
position:
x: 50
'y': 50
fit: contain
snapshot_click_plays_clip: true
media_gallery:
controls:
thumbnails:
show_details: true
filter:
mode: left
performance:
features:
animated_progress_indicator: true
media_chunk_size: 25
style:
border_radius: true
box_shadow: true
dimensions:
min_height: '4500'
aspect_ratio_mode: unconstrained
image:
mode: camera

`

Thank you. Great video. I agree that is broken and very strange!

What I think it’s happening is that the built-in controls are falling on to the incorrect position of the carrousel. Take a closer look around second 35 of the video. It seems like the built-in control layer shows briefly while sliding into the selected video.

Yeah this seems to be happening to me as well where the play buttons sometimes show up on the first camera loaded until I switch off and back to it.

I have submitted a PR that may address this issue, although since I have not been able to reproduce it it's a bit of a guess. I'll keep this open for now until the next release comes out and can be tested...

[Issue cleanup] If you still have issues with this, please try the latest release (https://github.com/dermotduffy/frigate-hass-card/releases/tag/v6.0.0-beta.4) first and re-open this. Thanks and good luck!


Pre-Check for non-numeric characters in EAN validation

If there are non-numeric characters in the scanned barcode, the conversion of the barcode into an INT will throw an exception in the EAN validation step.

solved with #5.


ROT13 Article Includes a Mistake in the Naming Convention

It looks like the article lists rot-13 in the code samples, but the reality is that rot13 seems to be the standard throughout the repo. I'll have to dig into this deeper, but that was what I noticed at a quick glance.

This should be fixed now with 3c3ebca55973729367985a168e371eb4854ff129


Name collision avoidance for typeclasses

Currently typeclasses are prepended with $ to avoid name collision. This is a temporary fix.

Nothing is more permanent than a temporary solution.


Android Notifications via Amazon SNS for Unity missing Title and Icon

When sending a push notification, the Android notification comes through ok, but the icon is a white square as there is no provision to specify the black and white notification icon which meet Android's requirements, nor is there any Title, it just comes through blank.
I have seen the gcmhelper-src folder provided in the SNS sample, but I am not a java expert and I'm not sure how to adjust these files and recompile into the Plugins\Android\aws-unity-sns-gcm-helper.jar file to suit my needs including a new resource for a notification icon .png.
Is the SNS library for Unity intending to be updated soon, or can somebody knowledge provide steps in how I would achieve this? It's not ideal to go live with a white box and a missing title for notifications.

Can you clarify which SNS sample you are using and where it was downloaded from?

Sure, the default Unity AWS package - https://github.com/aws/aws-sdk-net/blob/master/Unity.README.md via the "Download the Unity Package" link. When imported, it additionally comes with a gcmhelper-src folder for I assume altering the Android integration.

Looks like the library that you're referring to is fairly old and needs to be updated. Adding this as a feature request.

Ok. If it can be updated to support the Title feature via the GCM payload or even in the C# configuration file along with a ability to specify an Android notification icon that would be great.

If I could also suggest incorporating the following implementation - https://medium.com/yammer-engineering/gcm-push-notifications-registration-done-right-7aba759d1d55 This would allow all users with the app to automatically register on GCM via SNS when they receive the app update.
As it stands with this package, each user needs to run the app once to be subscribed to notifications which is not that great considering push notifications are coming as a subsequent update to my app.

The GCM registration bit is outdated in the SDK. you could take a look at code in this package https://github.com/awslabs/aws-sdk-unity-samples/tree/master/SNS/gcmhelper-src and try to implement the mechanism using the latest google play services.
I'm closing this issue as we do not plan to update the helper libraries. Future version of the SNS package for Unity may not include the helper libraries as well.


Eurotronics Spirit flirs Thermostat

Hi guys,
I'm quite new in the homebridge-fibaro-home-center world. Installed it two days ago and every thing is working fine besides of my heating thermostats from Eurotronics.
[22/11/2021, 20:22:41] [FibaroHC] Getting value from device:  278  parameter: Current Heating Cooling State
[22/11/2021, 20:22:41] [FibaroHC] Getting value from device:  278  parameter: Target Heating Cooling State
[22/11/2021, 20:22:41] [FibaroHC] Getting value from device:  278  parameter: Current Temperature
[22/11/2021, 20:22:41] [FibaroHC] Getting value from device:  278  parameter: Target Temperature
[22/11/2021, 20:22:41] [FibaroHC] Getting value from device:  278  parameter: Temperature Display Units
followed by:
[22/11/2021, 20:22:41] [FibaroHC] heatingThermostatSetpoint is not a number.
The temperature of the thermostat is shown correctly in the homebridge and in the home app. But I cannot set any temperatur or turn off the thermosat neither in the homebride nor in the home app. The Battery status is also always shown as 0% no charging.
In  the homebrinde accessories list four entries are visible per Eurotronics device:
Thermostat: com.fibaro.setPoint
Thermostat Battery: com.fibaro.setPoint
Temperatur: com.fibaro.temperatureSensor
Temperatur Battery: com.fibaro.temperatureSensor
Can someone help to fix the issue? if you need more information, please let me know.
Bests
ChrisBu

See release 1.2.2