Problems syncing to the blockchain (No connection could be made because the target machine actively refused it)

Running Zap.Setup.0.2.0-beta.exe.
Screenshot:

lnd.log: these messages keep repeating
2018-07-26 20:35:17.021 [DBG] CMGR: Retrying connection to <IP_ADDRESS>:18333 (reqid 1) in 1m5s 2018-07-26 20:36:14.692 [DBG] CMGR: Attempting to connect to <IP_ADDRESS>:18333 (reqid 2) 2018-07-26 20:36:15.701 [DBG] CMGR: Failed to connect to <IP_ADDRESS>:18333 (reqid 2): dial tcp <IP_ADDRESS>:18333: connectex: No connection could be made because the target machine actively refused it. 2018-07-26 20:36:15.701 [DBG] CMGR: Retrying connection to <IP_ADDRESS>:18333 (reqid 2) in 1m10s 2018-07-26 20:36:22.021 [DBG] CMGR: Attempting to connect to <IP_ADDRESS>:18333 (reqid 1) 2018-07-26 20:36:23.580 [DBG] CMGR: Failed to connect to <IP_ADDRESS>:18333 (reqid 1): dial tcp <IP_ADDRESS>:18333: connectex: No connection could be made because the target machine actively refused it. 2018-07-26 20:36:23.580 [DBG] CMGR: Retrying connection to <IP_ADDRESS>:18333 (reqid 1) in 1m10s 2018-07-26 20:37:25.703 [DBG] CMGR: Attempting to connect to <IP_ADDRESS>:18333 (reqid 2) 2018-07-26 20:37:26.710 [DBG] CMGR: Failed to connect to <IP_ADDRESS>:18333 (reqid 2): dial tcp <IP_ADDRESS>:18333: connectex: No connection could be made because the target machine actively refused it. 2018-07-26 20:37:26.710 [DBG] CMGR: Retrying connection to <IP_ADDRESS>:18333 (reqid 2) in 1m15s 2018-07-26 20:37:33.587 [DBG] CMGR: Attempting to connect to <IP_ADDRESS>:18333 (reqid 1) 2018-07-26 20:37:35.160 [DBG] CMGR: Failed to connect to <IP_ADDRESS>:18333 (reqid 1): dial tcp <IP_ADDRESS>:18333: connectex: No connection could be made because the target machine actively refused it. 2018-07-26 20:37:35.160 [DBG] CMGR: Retrying connection to <IP_ADDRESS>:18333 (reqid 1) in 1m15s

same here ... <IP_ADDRESS>:18333 is down ...

Can you all try restarting Zap and see if you still face this issue? Our BTCD was having issues and I've applied a patch to resolve it

Ok, I was able to get back in.  Going to test some transactions out and will let you know.

Please see the below error message i got.

Ok interesting. What caused this error?

I signed in, got past the initial first error where it let me to the dashboard.  I was just waiting for the channels to show green so I could attempt a transaction and the error just popped up.  Once I exited the Error it shut Zap down.
Sorry I am not too technical so not sure how to run an error log or anything.  If there is something you want me to do to give you more info just let me know.

The original problem described in this issue id due to BTCd refusing connections which was because our BTCd node was having issues at the time. Those issues should hopefully be resolved now as per @jackmallers 's previous comments.
The second is I believe to be a duplicate of https://github.com/LN-Zap/zap-desktop/issues/601 for which I'm already working on a fix.


Feature List

Hey. PDNS Manager is very nice, but I've found some feature's that would be nice:

API Key per user - that would be nice to bond user with api key - then feature two would be simplest.
Delegate selected records from domain for selected user - in this case User using apikey could change this record value.
TXT and few others records should be a textarea not input.

1+2 would be a significant change, for which I dont have enough time at the moment. Also a consistent concept for that must be developed.
For Number 3. is there a situation where this would be usefull?
p.s. try to make different points with different issues, so they can be handled separately.

With 2. you could create a separate zone and for the records and delegate it with some NS records.


docs bug with next.js/tags?

What happened?
I am following through the next.js + markdoc guide here.
./markdoc/tags/Next.markdoc.ts:1:45
Type error: Cannot find module<EMAIL_ADDRESS>or its corresponding type declarations.

> 1 | export { comment, head, link, script } from<EMAIL_ADDRESS>
Does anyone know if this is an error in the docs, or what the appropriate import statement would be?
To reproduce
Apply example code from the section "built-in next.js tags".
https://markdoc.dev/docs/nextjs#built-in-next.js-tags
Version
<EMAIL_ADDRESS>Additional context
No response

Thanks @mfix-stripe I figured out my issue. I forgot to export the Next.markdoc.ts from markdoc/tags/index.ts. Here's the fix:
/* Use this file to export your markdoc tags */
export * from './callout.markdoc';
export * from './Next.markdoc'; // added this line

Do you want me to make an enhancement PR to https://github.com/markdoc/markdoc-starter because this might be a common use case to install those additional tags?
Thanks!

Do you want me to make an enhancement PR to https://github.com/markdoc/markdoc-starter because this might be a common use case to install those additional tags?

Go for it! Thanks @guidorice 🙏


[firestore-bigquery-export] Add option to disable info/debug logs

Solves feature request detailed in #537

@googlebot I signed it!

Closing as issue resolved here https://github.com/firebase/extensions/issues/537#issuecomment-762165272


add svg to image reloading

Hello, is it something that should work as of today ?
I mean, I'm using livereload-js through ember-cli, and when svg files are touched, a full-reload page is requested. Would it be working by adding svg in the regex here: https://github.com/livereload/livereload-js/blob/master/src/reloader.js#L177 ?

@sly7-7 I think that would work if it is in the regex. Would you be able to send a PR?
The regex appears at least twice. Please put it in a constant so we only have to update it in one place.

@smhg 👍 I'll do that. Thank you for the answer


Delete form entries from API

Is there any way I can delete form entries from the API ?

https://getcockpit.com/documentation/api/collections
Found it


bugfix re issue #564, numpy.bool_(False) is not False

[x] Closes #564
[ ] Tests added
[x] Fully documented, including history.rst for all changes and api/*.rst for new API

@jranalli, thanks for adding this. Looks good :+1:
Would you like to add a test for your specific use case in test/test_proj.py to ensure I this remains stable?
Maybe something like:
from pyproj import Proj
import numpy as np

def test_numpy_bool_kwarg():
    south = np.array(50) < 0
    proj = Proj(proj='utm', zone=32, ellipsis='WGS84', datum='WGS84', units='m', south=south)
    assert "south" not in proj.srs

Sure. I would have added this sooner, but the test code was a little more complex than what I've ran into before and I wasn't sure how to. Anyway that's a good simple example and I added it in there. There was some commentary over at numpy about changing the repr of their bool types, which would break my solution, so keeping it tested is probably a good idea.
There seems to be some type of lint error still showing up that I'm not clear on. Sorry, but I'm a bit new to contributing and working on formal projects that try to be professional. I'd be happy to fix it if you can tell what it's catching.

No worries - gotta start somewhere. Thanks for adding it in.
I think the lint error is the black formatting. You can fix it with:
pip install black
black .

Looks like that got it! Thanks for the help.

Great 👍.
Are you familiar with squashing commits? If so, I usually like to let you squash them before merging. Or, if you don't mind me squashing on merge, I can do that.

So I thought I knew how based on instructions that I'd read, but it doesn't appear to have worked teh way I thought. Probably easier if you do it on the merge.

Sounds good. Thanks for your patience in this PR process and submitting a nice fix 👍


Rust Lane Count

An alternative to https://github.com/a-b-street/osm2lanes/pull/111
I copied over a part of @BudgieInWA, complementing it with a hybrid way of handling bus ways...
It is a bit messy, so I can start to split into multiple PRs if needed.

I think for this to be readable I would have to split it, but that will take some more time :(

I imagine as soon as we get the bulk of this approach checked in, there will be less confusing merge conflicts for the both of you...

yeah, I am trying to keep getting small stuff in so that we reduce the size of the open WIP

I have fixed the logic errors in #111, so all that is left is another merge of main, which I am doing right now. I feel that #111 has all that it needs to be merged, and would prefer that we do that instead of going ahead with this PR.

I have fixed the logic errors in #111, so all that is left is another merge of main, which I am doing right now. I feel that #111 has all that it needs to be merged, and would prefer that we do that instead of going ahead with this PR.

maybe, but can you comment on how I handled the bus lanes.
I think this is actually a simpler, more natural, and more extensible way of handling these lanes? I will review your PR as well.

@BudgieInWA Note: I was actually made this whilst trying to merge your changes, but ended up wanting to simplify your work  to get it in in smaller section. Most code here is modified from yours.


Standard library functions

Some functions to consider for standard library:

position(sub: str, full:str) -> int32 find a position of a substring in a string
position(el: anytype, arr: array<anytype>) -> int32 find a position of an element within an array
str_join(sep: str, arr: array<anytype>) -> str cast each element into  and join them, or we can have only the version that handles specifically an array<str>
str_split(sep: str, full: str) -> array<str> split a string by non-overlapping instances of separator

We might also consider concatenating arrays with a + just like we concatenate strings rather than creating a array_concat specifically for arrays.

There are some general functions that are often classified as "math", but are quite common and don't imply a highly specialized usage:

abs(x: anyreal) -> anyreal, technically it should also be defined for complex numbers if and when they eventually appear
ceil(x: anyreal) -> anyreal
floor(x: anyreal) -> anyreal
mod(x: anyreal, b: anyreal) -> anyreal, not sure if we want or need to define a function as well as an operator, but it may be ok
sqrt(x: anyreal) -> anyreal
min, max, sum (we already have them)
any(x: SET OF bool) -> bool generalized "OR"
all(x: SET OF bool) -> bool generalized "AND"
mean(x: SET OF anyreal) -> anyreal it often appears under a misnomer avg separately from specialized statistical functions (median, mode)

There are also some more specialized functions that are also classified as "math":

ln(x: anyreal) -> anyreal
lg(x: anyreal) -> anyreal
log(base: anyreal, x: anyreal) -> anyreal
sin, cos, and other trigonometric functions
stddev, variance, correlation, and other functions typically used in statistics

There's also a very common function round. The usual difference between round and floor or ceil is that rounding is done to the closest value. Additionally, it is possible to specify whether rounding is done to some particular decimal place, etc. A common signature is:
round(x: anyreal, d: int64=0) -> anyreal where d specifies the number of decimal places to round to.
Personally, I've found that it is also useful to be able to round numbers to the closest 10 or 100, etc. in pretty much the same situations when it is useful to round to decimal places. It's nice to have a rounding function that consistently allows to round to any particular precision and the Postgres version of round does indeed allow that (round(123.45, -1) makes 120).
There's a quirk of Postgres that affects how rounding ties are decided (rounding a number ending in 5). It depends on whether the input number is numeric or some kind of float: https://www.postgresql.org/docs/11/datatype-numeric.html#DATATYPE-NUMERIC-DECIMAL

In Postgres there's a sign function that return +1, 0, or -1 depending on whether the argument is less than, equal to, or greater than zero. This function can be quite useful.
However there's some slight inconsistency in how sign (the actual sign, not specifically the function sign) works with floats.
SELECT -0.0::real;
# -0.0
SELECT -0.0::real > +0.0::real;
# f
SELECT -0.0::real < +0.0::real;
# f
SELECT sign(-0.0::real);
# 0
SELECT to_char(-0.0::real, 'S0.9');
# '-0.0'

We can use some form of find and slicing to locate and remove or replace specific elements from an array. If we define + as array concatenation we can add elements or arrays to other arrays. We have array_agg and array_unpack to convert between arrays and sets. The only other utility that's left is array_fill:
function array_fill(fill: anytype, length: int64) -> array<anytype> create an array of specified size, where each element is initialized to the fill value.
In principle array_remove and array_replace might be useful enough sugar to be utility functions.

There's no function for reversing bytea or arrays in Postgres. How much sense does the function for reversing a string make? It seems to be a good generalization for languages that deal with iterables and sequences generically, but since we don't have these broad concents in EdgeQL, does it really make sense to reverse strings? There's also the trouble with reversing arbitrary unicode.

The bulk of standard library functions have been added by PR #329.


SSL error

I am using the setup where i add the crt and key file to it, if i use my browser the dns will find something and ends up on the router if i check with docker logs with below error message:
2016/07/19 13:50:52 http: TLS handshake error from <IP_ADDRESS>:61020: Failed to lookup certificate

Starting it up like:
docker service create --mode global --network frontends --label ingress=true --label ingress.dnsname=something.dev --label ingress.targetport=80 --label ingress.forcetls=true --label ingress.cert="$(cat /tmp/something.crt)" --label ingress.key="$(cat /tmp/something.key)" --name something-dev myprogram

And yes running the other docker instance too. Both my nodes in swarm are managers using 1.12 and using the same network name too.
Is there a issue with the format of the keys, since i took my keys from my current nginx setup which works with those crt/key files.

I think you're missing the label ingress.tls=true
On Tue, 19 Jul 2016, 14:56 Erik-jan Riemers<EMAIL_ADDRESS>wrote:

I am using the setup where i add the crt and key file to it, if i use my
browser the dns will find something and ends up on the router if i check
with docker logs with below error message:
2016/07/19 13:50:52 http: TLS handshake error from <IP_ADDRESS>:61020: Failed to lookup certificate
Starting it up like:
docker service create --mode global --network frontends --label ingress=true --label ingress.dnsname=something.dev --label ingress.targetport=80 --label ingress.forcetls=true --label ingress.cert="$(cat /tmp/something.crt)" --label ingress.key="$(cat /tmp/something.key)" --name something-dev myprogram
And yes running the other docker instance too. Both my nodes in swarm are
managers using 1.12 and using the same network name too.
Is there a issue with the format of the keys, since i took my keys from my
current nginx setup which works with those crt/key files.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tpbowden/swarm-ingress-router/issues/4, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABGxgXehX2q_EotUiF22L8LNpgAtee9Hks5qXNecgaJpZM4JPwKc
.

I think you're missing the label ingress.tls=true. I'm currently looking for a way to simplify this and reduce the number of labels required but for now you have to explicitly state whether or not the app is using TLS.
Let me know if this works, if not can you please copy and paste the output of docker service inspect <your service name>. (You can hide the content of your private key if need be)

That did the trick, looked over it while copy pasting.. i do have mode=global since you want it HA. But as a test i changed my /etc/hosts to point to 1 of the manager/nodes. Then i ran my app on both manager/nodes. Tested the url, worked fine, i could see logs coming into my app. Only when i killed that container that was getting the hits in, i would refresh and it would not go to the other node but instead it waited till the killed container was back up and started serving from there again. I ran the app as global and scalable mode, but that didn't make much difference. Docker 1.12 is nice, you don't need publishport since you can use internal dns but that should also include the nodes on the other server.

Are you sure your swarm nodes are connected using the correct listen
addresses? It could be a routing issue between your nodes. But yes there
are definitely issues with docker which need to be resolved before this is
ready for production use.
On Tue, 19 Jul 2016, 15:57 Erik-jan Riemers<EMAIL_ADDRESS>wrote:

That did the trick, looked over it while copy pasting.. i do have
mode=global since you want it HA. But as a test i changed my /etc/hosts to
point to 1 of the manager/nodes. Then i ran my app on both manager/nodes.
Tested the url, worked fine, i could see logs coming into my app. Only when
i killed that container that was getting the hits in, i would refresh and
it would not go to the other node but instead it waited till the killed
container was back up and started serving from there again. I ran the app
as global and scalable mode, but that didn't make much difference. Docker
1.12 is nice, you don't need publishport since you can use internal dns but
that should also include the nodes on the other server.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tpbowden/swarm-ingress-router/issues/4#issuecomment-233659622,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABGxgXIQz8x2I9QdO1YMXOajneNPx8J5ks5qXOXTgaJpZM4JPwKc
.

Well they see each other and i have added the listen on the default eth0 interface so they can talk to eachother. Service deployments goes fine to all nodes. I'll do some more test and see when it does and doesn't work properly. I also noticed there is no stickyness , so 1 user could have say a website served from multiple nodes. I don't know if that is handy speed wise, but it is not that my apps are doing millions of request per second anyways (so for me its not a big issue, just thought to mention it)

The non sickness is by design, you should follow the 12 factor app approach
and it isn't necessary. Im not sure of the details but there is some form
of weighted round Robin algorithm being used begin the scenes which decides
where the  request ends up
On Tue, 19 Jul 2016, 18:19 Erik-jan Riemers<EMAIL_ADDRESS>wrote:

Well they see each other and i have added the listen on the default eth0
interface so they can talk to eachother. Service deployments goes fine to
all nodes. I'll do some more test and see when it does and doesn't work
properly. I also noticed there is no stickyness , so 1 user could have say
a website served from multiple nodes. I don't know if that is handy speed
wise, but it is not that my apps are doing millions of request per second
anyways (so for me its not a big issue, just thought to mention it)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tpbowden/swarm-ingress-router/issues/4#issuecomment-233703632,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABGxgftCEQTRqtoQT6d06PoYwCI1JTSkks5qXQcOgaJpZM4JPwKc
.

i'll report some feedback when i can test some more..

Thanks, appreciate the feedback. Might be worth raising with the Docker team if you can get it to consistently occur.

Since i cannot reproduce it, but wanted to tell you:
8056 root      20   0 1117132 884220      0 S   0.8 22.8  52:52.27 swarm-ingress-router
The 22.8% is the memory footprint, machine itself was swapping load of 60, could not debug further but could be potential memory leak? Just posting it here since for now i can't do much else then reboot the machine.

Yeah that sounds like a memory leak to me since this is a very lightweight process to begin with. What version are you using? I've made quite a few breaking changes recently so this may have been fixed as a result.

Yeah noticed the updated information, i am now using the exact same commands as the readme. Was using docker 1.12rc2, updated to rc4 just to be sure (lost my complete swarm config, but thats bleeding edge is suppose)

Ok, it it happens again please open a new issue with the details and steps to reproduce and I'll look into fixing it asap


Problem running a base test

Hi everybody,
I'm new with YCSB. I'm trying to run a simply command and I got an error. I searched in the issues for something similar, but just saw the same problem for Windows  and I'm using Linux.
Does anyone can help me?
OS: Ubuntu 14.04 / Cassandra 3.3 / YCSB 0.7.0
The error:
client@ubuntu:~/ycsb-0.7.0$ ./bin/ycsb shell basic
/usr/lib/jvm/java-8-oracle/jre/bin/java/bin/java -cp /home/client/ycsb-0.7.0/basic-binding/conf:/home/client/ycsb-0.7.0/conf:/home/client/ycsb-0.7.0/lib/HdrHistogram-2.1.4.jar:/home/client/ycsb-0.7.0/lib/core-0.7.0.jar:/home/client/ycsb-0.7.0/lib/jackson-mapper-asl-1.9.4.jar:/home/client/ycsb-0.7.0/lib/jackson-core-asl-1.9.4.jar com.yahoo.ycsb.CommandLine -db com.yahoo.ycsb.BasicDB
Traceback (most recent call last):
File "./bin/ycsb", line 259, in
sys.exit(main())
File "./bin/ycsb", line 250, in main
return subprocess.call(ycsb_command)
File "/usr/lib/python2.7/subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 20] Not a directory
client@ubuntu:~/ycsb-0.7.0$
The same error occurs when connecting with the base Cassandra:
client@ubuntu:~/ycsb-0.7.0$ ./bin/ycsb load basic -p hosts="<IP_ADDRESS>" -P workloads/workloada
/usr/lib/jvm/java-8-oracle/jre/bin/java/bin/java -cp /home/client/ycsb-0.7.0/basic-binding/conf:/home/client/ycsb-0.7.0/conf:/home/client/ycsb-0.7.0/lib/HdrHistogram-2.1.4.jar:/home/client/ycsb-0.7.0/lib/core-0.7.0.jar:/home/client/ycsb-0.7.0/lib/jackson-mapper-asl-1.9.4.jar:/home/client/ycsb-0.7.0/lib/jackson-core-asl-1.9.4.jar com.yahoo.ycsb.Client -db com.yahoo.ycsb.BasicDB -p hosts=<IP_ADDRESS> -P workloads/workloada -load
Traceback (most recent call last):
File "./bin/ycsb", line 259, in
sys.exit(main())
File "./bin/ycsb", line 250, in main
return subprocess.call(ycsb_command)
File "/usr/lib/python2.7/subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 20] Not a directory
client@ubuntu:~/ycsb-0.7.0$

Guys, I resolved the last issue. But, now, I'm with other problem.
I'm trying to connect to my Cassandra DB and it does not work. My DB is in another machine (machine A), different from the machine with YCSB (machine B). In the DB, the command: /bin/cqlsh  it works, and inform the port 9042. One telnet in that port from B works.
The error is:
client@ubuntu:~/ycsb-0.7.0$ ./bin/ycsb load cassandra2-cql -p hosts="<IP_ADDRESS>" -P workloads/workloada
...
Command line: -db com.yahoo.ycsb.db.CassandraCQLClient -p hosts=<IP_ADDRESS> -P workloads/workloada -load
Loading workload...
Starting test.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
com.yahoo.ycsb.DBException: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /<IP_ADDRESS>:9042 (com.datastax.driver.core.exceptions.InvalidQueryException: unconfigured table schema_keyspaces))
at com.yahoo.ycsb.db.CassandraCQLClient.init(CassandraCQLClient.java:193)
at com.yahoo.ycsb.DBWrapper.init(DBWrapper.java:77)
at com.yahoo.ycsb.ClientThread.run(Client.java:289)
Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /<IP_ADDRESS>:9042 (com.datastax.driver.core.exceptions.InvalidQueryException: unconfigured table schema_keyspaces))
at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:227)
at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:86)
at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1409)
at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:382)
at com.yahoo.ycsb.db.CassandraCQLClient.init(CassandraCQLClient.java:180)
... 2 more
com.yahoo.ycsb.DBException: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /<IP_ADDRESS>:9042 (com.datastax.driver.core.exceptions.InvalidQueryException: unconfigured table schema_keyspaces))
at com.yahoo.ycsb.db.CassandraCQLClient.init(CassandraCQLClient.java:193)
at com.yahoo.ycsb.DBWrapper.init(DBWrapper.java:77)
at com.yahoo.ycsb.ClientThread.run(Client.java:289)
Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /<IP_ADDRESS>:9042 (com.datastax.driver.core.exceptions.InvalidQueryException: unconfigured table schema_keyspaces))
at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:227)
at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:86)
at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1409)
at com.datastax.driver.core.Cluster.getMetadata(Cluster.java:382)
at com.yahoo.ycsb.db.CassandraCQLClient.init(CassandraCQLClient.java:180)
... 2 more
[OVERALL], RunTime(ms), 575.0
[OVERALL], Throughput(ops/sec), 0.0
==========================================
About the beginning of the error, I followed the instruction:
If you see the following errors
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
You are missing a few jars. Download the latest slf and copy slf4j-simple-1.7.7.jar and slf4j-api-1.7.7.jar to the ycsb dir

The version is with the number 1.7.21, I copied to that dir, but the error is the same.

Guys, I resolved the last issue. But, now, I'm with other problem.

In the future, please keep it to one problem per issue. Can you specify what was the solution?

Cassandra 3.3

Cassandra 3.3 isn't supported in release 0.7.0. There is some support on master. Try compiling from source and see if you can use Cassandra 3.3. YCSB 0.8.0 isn't out yet should also contain support for Cassandra 3.3.

About the beginning of the error, I followed the instruction:

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

This is just a warning and isn't important.

The relevant issue for Cassandra 3+ support is #612

Hi risdenk. Thanks for your attencion.
I'm not sure about what was causing the problem in the first issue. I reinstalled the OS, java and ycsb. That solved the problem.
Could you please tell me wich version of cassandra can I run the ycsb test cassandra-10?
Against what version of the cassandra db should I run ycsb 0.7.0 cassandra-10 test to have no errors?
Thank you again.

The release notes for a given release note which databases were tested and which ones were not. For YCSB 0.7.0 the release notes are here: https://github.com/brianfrankcooper/YCSB/releases/tag/0.7.0

Thank you so much for this help.
For me, this issue can be closed.


[BUG] Compile error in Swift code

Bug

I have read the Troubleshooting page: Yes

Describe the bug
I'm trying to use the library in an Expo project using their EAS build tool (which lets you add third party native modules) and I get the following error while compiling the pod:

Any idea why I could be getting this error?  Do I need to be compiling against a certain version of the iOS APIs or something like that?  Thanks for any help, because I really need to get this working.

oh, interesting. Does everything work smoothly if you add an override keyword to that function?

Thanks for the quick response!  I thought of trying what you suggested, but unfortunately there's no easy way for me to make that change.  Since I have to use Expo's EAS build, which is a cloud service, the only way I can add modules is through NPM.  So for me to test that, I would have to clone, make the change, and publish a private NPM module which I'm not really setup to do.
How hard would it be for you to publish a version with this fix so I can test it?  Also, I looked in the logs and noticed it was using version 15 of the the iOS SDK, and version 5.4 of Swift.  So maybe you could try a build beforehand using those versions and confirm if you can reproduce the error and if adding the override keyword fixes the problem.

I ran into this same issue, and was able to hack together a fix by updating the override keyword and proxying NPM locally with verdaccio

same as #105 , issue #105 includes fix

@mdhaney Hi, I know that the thread is not very recent, but since I'm trying to implement this package on expo I wonder if you could kindly share the code of the plugin you used.
At the moment I can't even get the library to work on android. In fact, I get the error "Plugin with id 'maven' not found".
Thank you.


Many gradients mess up the display

In my css I had this:
hr.soften {
  height: 1px;
  background-image: -webkit-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,.8), rgba(255,255,255,0));
  background-image:    -moz-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,.8), rgba(255,255,255,0));
  background-image:     -ms-linear-gradient(left, rgba(255,255,255,0), rgba(255,255,255,.8), rgba(255,255,255,0));
  background-image:      -o-linear-gradientt(left, rgba(255,255,255,0), rgba(255,255,255,.8), rgba(255,255,255,0));
  border: 0;
}

Here's how it displays:

Disabling the package fixed the issue. I later restarted Atom (which also corrected the issue, but I thought I should give you a heads up).

I'm having a similar issue. I prefer to display the colours at Line End, and when there's multiple lines with colours, it screws up the line height.
Here's what it looks like:

I'm still new to Atom, so I'm not sure how to edit the style.less file (or find it, even). I wonder if slightly reducing the colour circle size might fix the issue?


Fix image url issue for posts

Need to specify ../../../content/live/images/[file] - would be nicer to have a /images folder root.

Fixed by #25


CB-10484 add SRM versions to 7.2.7 and 7.2.8 version infos

Porting "CB-10484 add SRM versions to 7.2.7 and 7.2.8 version infos" from master.
This issue causes SRM not appearing on streams messaging cluster creation page on the UI

retest this please

retest this please


scheduler: fix too many ut log

Ⅰ. Describe what this PR does

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist

[ ] I have written necessary docs and comments
[ ] I have added necessary unit tests and integration tests
[ ] All checks passed in make test

/approve


Merchant Generator - The 'Shop Qty Formula' formula doesn't seem to change how the merchant is populated?

Describe the bug
The 'Shop Qty Formula' formula doesn't seem to change how the merchant is populated?
I can either write 1d4 or 1d20 and there will be no difference when rolling for items and generating the merchant (I might be missing something).
To Reproduce
Steps to reproduce the behavior:

Create a new NPC
Change the Sheet to Merchant NPC
Click on Generate Item
Select a Roll-able Table
Write down 1d20 for 'shop Qty Formula'

Expected behavior
There should be a difference in how many type of items get generated I think?
Screenshots

Desktop (please complete the following information):

Desktop app

I think that is a rendering problem with tables with many items per roll number. So if you let it be open it will collapse the items into one. It did that on my example, but I think this is a corner case.

It does take a bit for the items tot compile and stack together. so a stack of 3 great swords instead of 3 rows of 1 great sword.
This issue is about the fact that the 'Shop Quantity formula doesn't seem to take into account whether I input '1d2' or 1d20'. No matter what's added there before rolling, the same number of item type will be generated (Here 15 item type)

The reason this happens is the rolltable.roll feature. It executes the rolltable formula, these tables have many items per result. and the die rolled is normally 1d3 I have found some of them actually have only one item per roll number and there it works. So it depends on the table setup.
I would rather that it takes all the results from the table and add them instead of only the first one. But I can see why it is confusing

If this is intended then this issue should be closed. (If the first (and mandatory) line we need to populate doesn't take into account what the formula reads, it could be added automatically?)

Good idea. I will add it as optional.


Add a few precompiles

Thanks for the review, @ararslan!

Thanks for the review, @ararslan!

My pleasure :)

My pleasure :)


How to make <component :is= work?

Describe the bug
I use this plugin and the components are registered.
But if I use  <component :is="'the-counter'" initial="20" /> it doesn't find the component.
Any hints?
The same happens also in
https://github.com/antfu/vitesse
app
    <the-counter initial="100"/> --working
    <TheCounter initial="20"></TheCounter> - working
    <component :is="'the-counter'" initial="20" /> - not working

Do I need to register it as a "web-component"?
Reproduction:
Install https://github.com/antfu/vitesse  and put in the upper code somewhere
Reproduction
Described up.
System Info
System:
    OS: Windows 10 10.0.22621
    CPU: (24) x64 AMD Ryzen 9 3900X 12-Core Processor
    Memory: 14.03 GB / 47.92 GB
  Binaries:
    Node: 16.19.0 - ~\scoop\apps\nvm\current\nodejs\nodejs\node.EXE
    Yarn: 1.22.19 - ~\scoop\apps\nvm\current\nodejs\nodejs\yarn.CMD
    npm: 9.6.5 - ~\scoop\apps\nvm\current\nodejs\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.1702.0), Chromium (113.0.1774.42)
    Internet Explorer: 11.0.22621.1

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

look at this https://github.com/antfu/unplugin-vue-components/issues/643#issuecomment-1588951920


Ensure selected options to be an array

If option values are not primitives but some complex structures like object, you'll try to do .indexOf on something which is not an array.

But the parameter should always be an array of strings, as the parameter type defines. I would rather throw a TypeError if some other object is provided as parameter.

Is there any reason for value to be a string? Technically, value can be anything.

The reason for using strings as value is that the indexOf function uses strict equality (===) to check if an option is in the list of options. If you would use an object instead of a (primitive) string, this means that you can only set a value by providing the exact same (by reference) object. Which in my opinion is a very undesired situation.
Basically the value is an option identifier. Strings make a lot of sense as identifiers. Objects, that are compared by reference, do not.


Discrepancy in Genome Versions Used for Chromatin Accessibility Compared to Other ENCODE-Based Studies

Why is the GRCh37 genome used for the chromatin accessibility task while histone modification and CpG methylation tasks, which also source their datasets from ENCODE, utilize the GRCh38 genome? What accounts for the different genome versions being used across these related tasks?

Hi @yangzhao1230 , we used GRCh37 for this task because it was faster for us to process the data this way. There's no further biological reason behind it.


Fix for slider not snapping to maximum value

Forum issue: https://forum.babylonjs.com/t/why-does-this-toggle-switch-snap-to-the-left-but-not-to-the-right/27735/5

😍 ❤ 💟 💙 💛 😻  thanks for merging and fixing the linting issue!  (I got spoiled by vscode's ts autoformatting, but I made this PR directly in github.com's web editor)


Update README.md

Thanks Viral,
know I just need to know how CI broke :)

Thanks Viral,
know I just need to know how CI broke :)

You may already know - but the example crashed for me on a recent 1.6 build, but worked fine on 1.5.3 on mac.

You may already know - but the example crashed for me on a recent 1.6 build, but worked fine on 1.5.3 on mac.

Yeah 1.6 is not supported yet, we are not building Enzyme itself for LLVM 11.

Yeah 1.6 is not supported yet, we are not building Enzyme itself for LLVM 11.

I'm amused that of all the platforms and headaches it gave us, MacOS decides to be fine right now.
@vchuravy do we want to add an LLVM 11 build on Yggdrassil (or does that require some more julia's version of LLVM setup that isn't worth doing at the moment). We do test LLVM 11 in https://github.com/wsmoses/Enzyme proper

I'm amused that of all the platforms and headaches it gave us, MacOS decides to be fine right now.
@vchuravy do we want to add an LLVM 11 build on Yggdrassil (or does that require some more julia's version of LLVM setup that isn't worth doing at the moment). We do test LLVM 11 in https://github.com/wsmoses/Enzyme proper

Maybe note the supported Julia versions in the README? Perhaps the Julia dependency in Project.toml should be stricter to restrict to 1.5 only?

Maybe note the supported Julia versions in the README? Perhaps the Julia dependency in Project.toml should be stricter to restrict to 1.5 only?

I was hoping that we would get https://github.com/JuliaPackaging/JLLWrappers.jl/pull/27 before we have to compile for multiple Julia versions.

I was hoping that we would get https://github.com/JuliaPackaging/JLLWrappers.jl/pull/27 before we have to compile for multiple Julia versions.


CORE-7692: Update openid_connect version for Rails 5+ compatibility

Update openid_connect  dependency to Rails 5 compatibility

can we also add a Gemfile.lock to this gem

This PR not necessary. :D
Tested this with Support (Rails 5.0), Arcs (Rails 5.0) and Test Drive (Rails 5.1 PR https://github.com/IDme/idme-test-drive/pull/53) and had no issues.


installing new packages failed on openSUSE

Describe the bug
Can't update the system, or setting up kitty (not installed on my system)
I use openSuse tumblweed
To Reproduce
Steps to reproduce the behavior:

run linutil
try to update the system, or do any actions that requires installing packages
See error

Using zypper
Usage : grep [OPTION]... MOTIFS [FICHIER]...
Exécutez « grep --help » pour obtenir des renseignements complémentaires.
\033[31mYou need to be a member of the sudo group to run me!\033[0m

Expected behavior
prompting for password and running the update, and installing packages, since there is a sudo in the scripts.
Screenshots

Additional context
Add any other context about the problem here.

It works with latest git, cloning the repo and runing cargo run

The issue should be closed if it's already fixed. Linutil is a new project, the pace of development is quite fast and the stable release may be considerably behind.

OK, thanks


Update ProGuard to version 7.4 to support new Java versions

Currently, Compose Multiplatform relies on ProGuard version 7.2.2, which provides Java support only up to Java 18.
However, the latest ProGuard release, version 7.4, offers compatibility with Kotlin 1.9 and Java 21. I recommend updating this dependency for improved functionality and compatibility.
For more details, please refer to: https://github.com/Guardsquare/proguard/releases/tag/v7.4

This missing upgrade is the only blocker to use Java 21 in Compose desktop projects as far as I can tell. Debug releases (without ProGuard) seem to work out of the box.

The proguard version can be configured like this:
"""
compose.desktop {
buildTypes.release.proguard {
version.set("7.4.0")
}
}
"""

Ahh, now I know why it did not work when I tried it according to this advice on Slack: https://kotlinlang.slack.com/archives/C01D6HTPATV/p1699268691268389?thread_ts=1699231842.202439&cid=C01D6HTPATV
I figured out that the argument has to be a String but I tried "7.4" instead of "7.4.0".

And packaging a release with Java 21 works too now. Thanks a lot.

Doesn't work for me: and I was able to reproduce the error using the out-of-the-box kotlin multiplatform project wizard (including desktop only).
Reproduction project here: https://github.com/mikedawson/ComposeProguardVersionTest/
All you have to do is take the out-of-the-box project wizard, set the Proguard version to 7.4.0 (or 7.4.2), and you'll get:
pure virtual method called
terminate called without an active exception
Gtk-Message: 15:05:16.435: Failed to load module "canberra-gtk-module"
Exception in thread "main" java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    kotlinx/coroutines/scheduling/CoroutineScheduler$WorkerState.values$6b08e0a8()[I @3: invokevirtual
  Reason:
    Type '[I' (current frame, stack[0]) is not assignable to '[Ljava/lang/Object;'
  Current Frame:
    bci: @3
    flags: { }
    locals: { }
    stack: { '[I' }
  Bytecode:
    0000000: b200 0ab6 0010 c000 05b0

        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.<init>(CoroutineScheduler.kt:627)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.<init>(CoroutineScheduler.kt:606)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.createNewWorker(CoroutineScheduler.kt:496)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.tryCreateWorker(CoroutineScheduler.kt:453)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.dispatch(CoroutineScheduler.kt:4434)
        at kotlinx.coroutines.scheduling.SchedulerCoroutineDispatcher.dispatchWithContext$kotlinx_coroutines_core(Dispatcher.kt:118)
        at kotlinx.coroutines.scheduling.UnlimitedIoScheduler.dispatch(Dispatcher.kt:47)
        at kotlinx.coroutines.internal.LimitedDispatcher.dispatch(LimitedDispatcher.kt:49)
        at kotlinx.coroutines.scheduling.DefaultIoScheduler.dispatch(Dispatcher.kt:80)
        at kotlinx.coroutines.internal.DispatchedContinuationKt.resumeCancellableWith(DispatchedContinuation.kt:322)
        at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:30)
        at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable$default$6a2188af(Cancellable.kt:25)
        at kotlinx.coroutines.AbstractCoroutine.start$62a77ca7(AbstractCoroutine.kt:2110)
        at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
        at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source)
        at org.jetbrains.skiko.FrameWatcher.start(FrameWatcher.kt:22)
        at org.jetbrains.skiko.Setup.init(Setup.kt:35)
        at org.jetbrains.skiko.Setup.init$default(Setup.kt:6)
        at org.jetbrains.skiko.Library.load(Library.kt:62)
        at org.jetbrains.skia.impl.Library$Companion.staticLoad(Library.jvm.kt:12)
        at androidx.compose.ui.ConfigureSwingGlobalsForCompose_desktopKt.configureSwingGlobalsForCompose$default$626a2300(ConfigureSwingGlobalsForCompose.desktop.kt:1049)
        at androidx.compose.ui.window.Application_desktopKt.application(Application.desktop.kt:110)
        at MainKt.main(main.kt:1105)
        Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@1b1426f4, Dispatchers.IO]
Exception in thread "main" java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    kotlinx/coroutines/scheduling/CoroutineScheduler$WorkerState.values$6b08e0a8()[I @3: invokevirtual
  Reason:
    Type '[I' (current frame, stack[0]) is not assignable to '[Ljava/lang/Object;'
  Current Frame:
    bci: @3
    flags: { }
    locals: { }
    stack: { '[I' }
  Bytecode:
    0000000: b200 0ab6 0010 c000 05b0

        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.<init>(CoroutineScheduler.kt:627)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.<init>(CoroutineScheduler.kt:606)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.createNewWorker(CoroutineScheduler.kt:496)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.tryCreateWorker(CoroutineScheduler.kt:453)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.dispatch(CoroutineScheduler.kt:4434)
        at kotlinx.coroutines.scheduling.SchedulerCoroutineDispatcher.dispatchWithContext$kotlinx_coroutines_core(Dispatcher.kt:118)
        at kotlinx.coroutines.scheduling.UnlimitedIoScheduler.dispatch(Dispatcher.kt:47)
        at kotlinx.coroutines.internal.LimitedDispatcher.dispatch(LimitedDispatcher.kt:49)
        at kotlinx.coroutines.scheduling.DefaultIoScheduler.dispatch(Dispatcher.kt:80)
        at kotlinx.coroutines.internal.DispatchedContinuationKt.resumeCancellableWith(DispatchedContinuation.kt:322)
        at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:30)
        at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable$default$6a2188af(Cancellable.kt:25)
        at kotlinx.coroutines.AbstractCoroutine.start$62a77ca7(AbstractCoroutine.kt:2110)
        at kotlinx.coroutines.BuildersKt.launch(Unknown Source)
        at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source)
        at org.jetbrains.skiko.FrameWatcher.start(FrameWatcher.kt:22)
        at org.jetbrains.skiko.Setup.init(Setup.kt:35)
        at org.jetbrains.skiko.Setup.init$default(Setup.kt:6)
        at org.jetbrains.skiko.Library.load(Library.kt:62)
        at org.jetbrains.skia.impl.Library$Companion.staticLoad(Library.jvm.kt:12)
        at androidx.compose.ui.ConfigureSwingGlobalsForCompose_desktopKt.configureSwingGlobalsForCompose$default$626a2300(ConfigureSwingGlobalsForCompose.desktop.kt:1049)
        at androidx.compose.ui.window.Application_desktopKt.application(Application.desktop.kt:110)
        at MainKt.main(main.kt:1105)
        Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelled}@1b1426f4, Dispatchers.IO]

I really like Compose/Desktop: this is allowing us to get our Android app out on the desktop in a way that otherwise would not be possible (and we need things that don't work in web browsers: offline, peer-to-peer networking, etc). That said, the support for shrinking (using Proguard) seems in need of polishing. As far as I can see (and have documented/filed issues for), it's not working on JDK21 (which is supposed to be a supported JDK as per the docs), and KTOR serialization fails.
I would suggest that at all example desktop projects should have proguard enabled with obfuscation enabled (not just the proguard usage demo). That might help such issues get spotted.

The configuration works for me.
I kept the issue open as a reminder to set the default version ProGuard to a more current version.

@StefanOltmann interesting. What system were you building on? I just updated my post to include the versions being used (of course the Kotlin version, compose version, etc are in the Gradle files)

Kotlin 1.9.21, Compose Multiplatform 1.5.11, ProGuard 7.4.1, Gradle 8.5, latest macOS, Eclipse Temurin 18.0.2+9
I did not try your reproduction project. I meant ProGuard 7.4.1 works in general.

Run-time failure. Compilation will succeed.

I can confirm that your example fails for me too on my Mac with the same error.
The reason is that you did not switch off ProGuard optimization.
With this
        buildTypes.release.proguard {
            obfuscate.set(false)
            optimize.set(false)
            version.set("7.4.0")
        }

setup your example works perfectly. I have noticed previously that optimization causes nothing but problems on desktop, so I always switch it off.

Thanks @mipastgt for confirming the reproducer project reproduces the issue for you.
I think "working perfectly" would here should mean works as per the documentation. That means optimization (which itself is enabled by default) and obfuscation should work. As per the docs, compilation is supposed to support JDK17+ AND proguard.
Compose/Desktop is defined as stable, however, a key feature (code shrinking) does not work with the current LTS JDK release (21).

Yes, that should work out of the box according to the docs. From my previous reports I had the impression that optimization was switched off by default as a fix for these issues but at least as of today this assumption seems to be wrong. I still had the manual switch off in all my projects. That's the reason why I did not notice the problem at first.

In Ashampoo Photos I have optimization and obfuscation turned on. That works so far. So there is a way making ProGuard work.
But I also have rules like keep !com.ashampoo.photos.* because I had issues.
Mike, from our discussion on Slack I remember that you have a rather fine-grained and complex configuration while mine is short, but does not optimize that much. I guess this has to do with the problems you experience.

Using Java 21, with Kotlin 2.0.0 and Compose 1.6.10, will cause this error when using any of the tasks that use Proguard:
Caused by: java.io.IOException: Can't process class [AppKt.class] (Unsupported version number [65.0] (maximum 62.65535, Java 18))

Which can be solved by:
buildTypes.release.proguard {
    version.set("7.4.2") // Or 7.5.0 when it's published for compatibility with Kotlin 2.0.0
}

Another task failure:

Exception in thread "main" java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    androidx/compose/runtime/SnapshotStateKt.snapshotFlow(Lkotlin/jvm/functions/Function0;)Lkotlinx/coroutines/flow/Flow; @20: invokestatic
  Reason:
    Type 'kotlin/jvm/functions/Function2' (current frame, stack[0]) is not assignable to 'androidx/compose/runtime/SnapshotStateKt__SnapshotFlowKt$snapshotFlow$1'
  Current Frame:
    bci: @20
    flags: { }
    locals: { 'kotlin/jvm/functions/Function0' }
    stack: { 'kotlin/jvm/functions/Function2' }
  Bytecode:
    0000000: 2a59 4b12 0ab8 0031 bb00 1659 2a01 b700
    0000010: 29c0 001e b800 32b0

	at androidx.compose.ui.window.Application_desktopKt$awaitApplication$2$1.invokeSuspend(Application.desktop.kt:205)
	at androidx.compose.ui.window.Application_desktopKt$awaitApplication$2$1.invoke(Application.desktop.kt:1000)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn$42ea79c7(Undispatched.kt:61)
	at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:163)
	at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
	at androidx.compose.ui.window.Application_desktopKt$awaitApplication$2.invokeSuspend(Application.desktop.kt:201)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

> Task :composeApp:runRelease FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
11 actionable tasks: 6 executed, 5 up-to-date

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':composeApp:runRelease'.
> Process 'command '/Library/Java/JavaVirtualMachines/amazon-corretto-21.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1

In short, Proguard might need to be updated to 7.5.0 to not only support Java 21, but also Kotlin 2.0.0

Issue should be fixed once updated to 7.5.0 as it's published now.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Is there a good reason to have grpc-js dependency as "minor" (~)?

Minor versions should not break BC, and every time grpc-js has a new minor release, the dependency must be updated to allow its usage. So is it possible to change it to major (^)?

@danieljbruce ,
Even I had the same question. One more thing, there's no release for the grpc-js bump up available.
Sue to this issues are caused using other packages like @google-cloud/tasks.
Error:
TS2322: Type 'import("/usr/src/app/node_modules/@grpc/grpc-js/build/src/channel-credentials").ChannelCredentials' is not assignable to type 'import("/usr/src/app/node_modules/google-gax/node_modules/@grpc/grpc-js/build/src/channel-credentials").ChannelCredentials'.
 Property 'callCredentials' is protected but type 'ChannelCredentials' is not a class derived from 'ChannelCredentials'.
   59 |         port: 8323 ,
   60 |         servicePath: 'localhost' ,
 > 61 |         sslCreds: credentials.createInsecure(),
      |         ^^^^^^^^
   62 |       });
   63 |     } else {
   64 |       client = new CloudTasksClient({

Hey folks,
Sorry for that - we prefer to play safe here, and prefer running some extra validation when gRPC bumps its minor version. We try to bump the dependency as soon as possible, but if we don't do it quick enough, please feel free to ping us!


Cant change text in json Lottie file

can i change the text value in this lottie file? In the Json file there is no text value. https://www.lottiefiles.com/search?q=lottie
I want to use my own text and not lottie.

This needs to be handled through after effects, not through the json file


[Bug] Get-DbaOperatingSystem - Caption is blank

Before submitting a bug report:
Collect output of following command and paste below:
Name                              Value
----                           -----
PSVersion                      5.1.17134.590
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17134.590
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

### dbatools Module version:
Name    : dbatools
Path    : C:\Program Files\WindowsPowerShell\Modules\dbatools\0.9.826\dbatools.psd1
Version : 0.9.826

[X] Running latest release of dbatools - tested against dev branch also
[x] Verified errors are not related to permissions
[ ] Is this bug with Copy-DbaDatabase? You can replicate it using Backup-DbaDatabase ... | Restore-DbaDatabase ...

NOTE: Copy-DbaDatabase will not work in every environment and every situation. Instead, we try to ensure Backup & Restore work in your environment.

SQL Server:

Microsoft SQL Server 2014 (SP3-CU3) (KB4491539) - 12.0.6259.0 (X64)   Apr  1 2019 22:19:54   Copyright (c) Microsoft Corporation  Enterprise Edition: Core-based Licensing (64-bit) on Windows NT 6.3 <X64> (Build 9600: ) (Hypervisor)

Steps to Reproduce
Get-DbaOperatingSystem -ComputerName serverName

Expected Behavior
Value to be returned for caption
Actual Behavior

I changed the output property for this from Caption to OSVersion to fix this to match the custom object name.
[PSCustomObject]@{
                ComputerName             = $computerResolved
                Manufacturer             = $os.Manufacturer
                Organization             = $os.Organization
                Architecture             = $os.OSArchitecture
                Version                  = $os.Version
                Build                    = $os.BuildNumber
                OSVersion                = $os.caption
                SPVersion                = $os.servicepackmajorversion
...


Manage old run files

Think of ways to filter and optionally delete (or move) old run files based on the filtering criteria.
e.g.: delete all runs that were reviewed with errors.

These run info are indexed in the database and I don't see an imminent need to delete them automatically from the model. Create a new issue when a need to delete run files arises again.


Quip should be removed

SSO is offered for every tier of product SKU.

Quip's pricing page indicates that SSO is not available in the base tier "Quip Starter"


Minimal example

This will close #290

@jph00 this is ready for review.  Since this is a documentation page that doesn't generate any code, only docs I went ahead and deployed the code in this PR to netlify so you can see what it looks like.  You can see a live docs preview of this branch here.
P.S. I have Netlify previews as part of the CI for fastpages which we can incorporate here if you like sometime


Startup options not working in <IP_ADDRESS>

We were using version <IP_ADDRESS> and liking it. We upgraded to version <IP_ADDRESS> recently, but the options defined in ConfigureServices are no longer working at all. Specifically 'options.ActiveLiClasses = "breadcrumb-item active";' didn't work anymore, the class was not being added in our razor views.
On most Actions we simply use '[Breadcrumb("ViewData.Title", CacheTitle = true, FromController = nameof(DashboardController), FromAction = nameof(DashboardController.Index))]', but this resulted in the actual text "ViewData.Title" being rendered in the page.
Downgrading to <IP_ADDRESS> resolved both issues.
On a sidenote: In the https://github.com/zHaytam/SmartBreadcrumbs#options section, the part "options." is missing for each of the 6 lines.

Hi, I'm glad you're using SmartBreadcrumbs!
I will look into this and get back to you as soon as I can!

Thanks for the fast reply. It seems there may be an issue on my end I failed to see up to now, I'll look into that first!

Also, I don't get your side node;
What "options" part is missing?
I did forget to update the readme to include 2 new options though (LiTemplate & ActiveLiTemplate).

The example is not valid, it should be
            services.UseBreadcrumbs(GetType().Assembly, options =>
            {
                options.TagName = "nav";
                options.TagClasses = "";
                options.OlClasses = "breadcrumb";
                options.LiClasses = "breadcrumb-item";
                options.ActiveLiClasses = "breadcrumb-item active";
                options.SeparatorElement = "
/
";
            });

Oh my god you're right!

I looked at all the modifications that happened from <IP_ADDRESS> to <IP_ADDRESS> and there doesn't seem to be a problem with the options :/
I'll wait for your answer and if everything is fine, I will be pushing a new version containing icons.

I'm closing this, assuming you fixed the problem 😃


Usage of fft real_dim

Hi, awesome library! I have one question:
If I understood correctly from https://github.com/xgcm/xrft/blob/master/xrft/xrft.py#L377, when we specify a real_dim it should call fftm.rfftn from the fftm_module. Although, when I look into the definition of the _fft_module, the rfftn doesn't exist. I was expecting a call to numpy.rfft() here. Am I missing something? Why there are no errors thrown if  fftm.rfftn doesn't exist? Are we using the performance advantage of np.rfft over np.fft?
Thanks in advance!

Hi @KevinYanesG, thanks for raising an issue. The reason why numpy.rfft doesn't exist in _fft_module is because we are calling the entire fft module, under which rfft exists, i.e. numpy.fft.rfft().

Aaah! You are calling the module np.fft and not the method np.fft.fft, now I see it! Many thanks @roxyboy !


chore: update bolt with new service definition

Changes

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1211  👈
#1209
#1208
#1207
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @NathanFlurry and the rest of your teammates on  Graphite


Inclusion of a third-party dependency results in a NPE when creating an Event

Describe the bug
The inclusion of other third-party dependencies can result in the datadog-api-client not functioning.
To Reproduce
Steps to reproduce the behaviour:

Clone https://github.com/scottmuc-cp/datadog-api-client-bug-report
Update line 22 of DataDogExample.java with a real API key (not necessary to replicate the issue but obviously would be necessary to see the expected result)
Run ./gradlew run

 ./gradlew run

> Task :run FAILED
Exception in thread "main" javax.ws.rs.ProcessingException: java.lang.NullPointerException
        at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.filterRequest(ClientInvocation.java:603)
        at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.invoke(ClientInvocation.java:440)
        at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.invoke(ClientInvocation.java:62)
        at org.jboss.resteasy.client.jaxrs.internal.ClientInvocationBuilder.post(ClientInvocationBuilder.java:219)
        at com.datadog.api.v1.client.ApiClient.sendRequest(ApiClient.java:1456)
        at com.datadog.api.v1.client.ApiClient.invokeAPI(ApiClient.java:1399)
        at com.datadog.api.v1.client.api.EventsApi.createEventWithHttpInfo(EventsApi.java:113)
        at com.datadog.api.v1.client.api.EventsApi.createEvent(EventsApi.java:65)
        at DataDogExample.main(DataDogExample.java:40)
Caused by: java.lang.NullPointerException
        at org.glassfish.jersey.client.filter.EncodingFilter.getSupportedEncodings(EncodingFilter.java:108)
        at org.glassfish.jersey.client.filter.EncodingFilter.filter(EncodingFilter.java:82)
        at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.filterRequest(ClientInvocation.java:590)
        ... 8 more

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':run'.
> Process 'command<EMAIL_ADDRESS>finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 6s
2 actionable tasks: 2 executed

Expected behaviour
The printed output of the EventCreateResponse:
class EventCreateResponse {
    alertType: null
    dateHappened: null
    deviceName: null
    host: null
    id: null
    payload: null
    priority: null
    relatedEventId: null
    sourceTypeName: null
    status: ok
    tags: null
    text: null
    title: null
    url: null
}

and the event is visible in the Event Stream.
To see expected behaviour:

Comment out line 12 of build.gradle.
Run ./gradlew run

Environment and Versions (please complete the following information):

version 1.4.0 of this project.
tested on macOS with openjdk@11

Additional context
The NullPointerException is occurring here.
I don't quite understand why the inclusion of a different library would result in the dependency injection not fulfilling its task.
Below are the different dependencies graphs based on the inclusion of the keycloak dependency:
with_keycloak.dependencies.txt
without_keycloak.dependencies.txt
This feels like it might be related to #1179

Hi,
I'm not sure it would be solved by shading, as it's a runtime configuration by jboss resteasy which seems to mess up the datadog client. This is worked around by setting the client explicitely:
import org.glassfish.jersey.client.JerseyClientBuilder;
import javax.ws.rs.client.Client;
...
Client client = new JerseyClientBuilder().build();
defaultClient.setHttpClient(client);

Now unfortunately it seems to fail later on some other jackson errors. I'll look into those.

@therve wow, thank your for the quick response! I'll play around with this for a bit in the non-trivial codebase I'm working on and see how it goes. It did seem like a kind of issue where "I'm doing it wrong", but it was hard for me to tease things out from things not working but just adding a dependency.

OK, thanks @therve. In https://github.com/scottmuc-cp/datadog-api-client-bug-report/commit/bf2905447e4775de9e23aff634eeeea886c0df28 I see it work with all our project dependencies. I feel comfortable closing this issue since it's not a bug in the datadog client. For me personally, I need to read up on how all this stuff gets wired and what resources and messages nudged you towards setting the client explicitly?
Is this something that possibly needs to be documented? Or is this something one knows when using jersey or resteasy?


Slightly inaccurate install instructions for HBAS items

On this page, the downloads for NNUPatcher, WUP Installer GX2, and Mocha are fetched from the 4TU Homebrew Appstore, and as such, the structure of the ZIPs includes an info.json and manifest.install at the root of the ZIPs. The page should be modified with this in mind (e.g. instruct to only copy the wiiu directory from the ZIP.).

This was already brought up to Plailect a while ago where this new info-box got added:

Most people overlook it tho

IMO having to overwrite files should be avoided if possible, and there are already cases where only extracting one folder from a ZIP is instructed by the guide. It's a trade off for simpler instructions though, so kinda personal preference I guess.


The action runs as the root user, causing subsequent workflows to fail

Describe the bug
Github Runners do not sufficiently clean up after themselves when there are file changes in the workspace, as this action does. This is specific to self-hosted runners.
What I'm seeing is:
Part 1

the workflow kicks off in a clean environment, fresh clone into a github workspace
there is a doc change needed and I've selected git-push: "true"
the file gets committed correctly, the workflow finishes successfully

Part 2

another workflow is kicked off in the same repo on the same runner, but the checkout action bails out do to the following errorError: error: insufficient permission for adding an object to repository database .git/objects
Error: fatal: failed to write object
Error: fatal: unpack-objects failed

It looks like this action writes files as the root or another privileged user while the github workflow initially runs as the self-hosted runner user (in my case runner). When this user updates files in the clone repo, it changes the permissions on them and then makes subsequent runs fail.
How can we reproduce it?

self-hosted runner
workflow that
a. checkouts the repo
b. runs this action with the git-push: "true" option on
c. run the action again

Environment information
tf-docs action version<EMAIL_ADDRESS>      - name: Terraform Docs
        id: tfdoc
        env:
          GITHUB_TOKEN: ${{ github.token }}
        uses<EMAIL_ADDRESS>        with:
          config-file: .terraform-docs.yml
          git-commit-message: "[AUTO-COMMIT] Writing module ${{ matrix.modules }} README.md"
          git-push: "true"
          output-file: README.md
          working-dir: ${{ matrix.modules }}
        continue-on-error: true

Thank you for reporting this, I'm gonna investigate. But in the meantime can you try running the same scenario on a runner by GitHub and not a self-hosted one? I'm wondering if this issue is universal or only limited to self-hosted runners.

I can confirm that this issue also happens on Github-managed runners.
Run git config --local user.email<EMAIL_ADDRESS>  git config --local user.email<EMAIL_ADDRESS>  git config --local user.name "github-actions[bot]"
  git commit -m "Terraform docs update" -a
  shell: /usr/bin/bash -e {0}
error: insufficient permission for adding an object to repository database .git/objects
error: USAGE.md: failed to insert into database
error: unable to index file 'USAGE.md'
fatal: updating files failed
Error: Process completed with exit code 128.

I have to use a separate action to push otherwise the push from Terraform wouldn't trigger a new workflow since it isn't using the personal access token.
docs:
    name: Generate Module Docs
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        ref: ${{ github.event.pull_request.head.ref }}
        persist-credentials: false

    - uses<EMAIL_ADDRESS>      continue-on-error: true

    - name: Generate Module Docs
      uses<EMAIL_ADDRESS>      with:
        tf_docs_working_dir: .
        tf_docs_output_file: README.md
        tf_docs_output_method: inject
        tf_docs_git_push: 'false'
        tf_docs_find_dir: ./
        tf_docs_content_type: table

    - name: Commit files
      run: |
        git config --local user.email<EMAIL_ADDRESS>        git config --local user.name "github-actions[bot]"
        git commit -m "Terraform docs update" -a

    - name: Push changes
      uses: ad-m/github-push-action@65392840bda2e774394d5cd38ca33e5918aec2d3
      with:
        github_token: ${{ secrets.GH_ACTIONS_PAT }}
        branch: ${{ github.ref }}

This can be fixed by setting the token on checkout e.g.
jobs:
  docs:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
          ref: ${{ github.ref }}

      - uses<EMAIL_ADDRESS>        with:
          git-commit-message: 'docs: update readme'
          git-push: 'true'

That's interesting, @clear-ryan @guilhermef would you be able to test the @abeMedia's suggestion?

Hello @khos2ow, how are you?
I'm also having this problem, but for a different reason.
I want to create a verified commit to push back to the PR, so I need an extra action.
And, through my tests, specifying a specific PAT only enables you to trigger a new workflow run after a push from the action.
That, however, does not fix the problem of insufficient permissions when trying to use further steps after creating the terraform documentation.
My action is created with the following logic:

Checkout through Checkout V2 action
Create TF Docs, but don't push - I need verified commits with GPG keys.
Use Add & Commit action , to force push to git with GPG keys;

However, this always provides an error:
Error: error: insufficient permission for adding an object to repository database .git/objects
I have a similar workflow, that uses the same steps:

Checkout through Checkout V2 action
Perform Terraform validations (init, validate, fmt) and commit the changes to GitHub;
Use Add & Commit action , to force push to git with GPG keys;

With this, everything works as expected, without fail.
My current workflow code is as follows, while tf-startup job works fine, while tf-docs returns the error above.
name: Terraform Code Analysis

on:
  push:
    branches: [master, main, staging]
  pull_request:
    branches: [master, main, staging]
  workflow_dispatch:

jobs:
  tf-startup:
    name: Tf Setup (Init, Validate and fmt)
    runs-on: ubuntu-latest
    steps:
      - name: Checkout the code
        uses: actions/checkout@v2
        with:
          fetch-depth: 0
          persist-credentials: true
          token: ${{ secrets.pat }}
          ref: ${{ github.event.pull_request.head.ref }}

      - name: terraform setup
        uses: hashicorp/setup-terraform@v1
        with:
          terraform_version: 1.0.5
      - name: terraform init
        id: init
        run: terraform init -backend=false
      - name: terraform validate
        id: validate
        run: terraform validate -no-color

      - name: Import GPG key
        id: import_gpg
        uses: crazy-max/ghaction-import-gpg@v2
        with:
          git_user_signingkey: true
          git_commit_gpgsign: true
        env:
          GPG_PRIVATE_KEY: ${{ secrets.key }}
          PASSPHRASE: ${{ secrets.pass }}

      - name: terraform fmt
        id: format
        run: terraform fmt -recursive

      - name: Add & Commit
        uses<EMAIL_ADDRESS>        if: github.event_name == 'pull_request'
        with:
          add: "."
          author_name: user123
          author_email<EMAIL_ADDRESS>          message: "Terraform fmt executed"
          push: true

  tf-docs:
    name: Create Tf docs for modules
    runs-on: ubuntu-latest
    steps:
      - name: Checkout the code
        uses: actions/checkout@v2
        with:
          fetch-depth: 0
          persist-credentials: true
          token: ${{ secrets.pat }}
          ref: ${{ github.event.pull_request.head.ref }}

      - name: Render terraform docs inside the USAGE.md and push changes back to PR branch
        uses<EMAIL_ADDRESS>        with:
          find-dir: ./modules/
          output-method: replace
          # Do not push, so we can use GPG keys with the next action
          git-push: false
          template: |-
            <!--- BEGIN_TF_DOCS --->
            <!--- END_TF_DOCS --->

      - name: Import GPG key
        id: import_gpg
        uses: crazy-max/ghaction-import-gpg@v2
        with:
          git_user_signingkey: true
          git_commit_gpgsign: true
        env:
          GPG_PRIVATE_KEY: ${{ secrets.key }}
          PASSPHRASE: ${{ secrets.pass}}

      - name: Add & Commit
        uses<EMAIL_ADDRESS>        if: github.event_name == 'pull_request'
        with:
          add: "./modules/"
          author_name: user123
          author_email<EMAIL_ADDRESS>          message: "Terraform docs created"
          push: true

Hello @khos2ow, you had any chance to look at what I commented here earlier?
Thanks!

Hello,
Any update?

The suggestion from @abemedia does work, but only if you just need to push the changes. I have a workflow where I run Prettier before publishing the files, which hits this issue as well.

This is how I temporarily work around this issue until this action gets a permanent fix.
The problem only seems to occur on small new repos, where not all the objects folder exist yet on initial checkout.
https://github.com/terraform-docs/gh-actions/issues/90#issuecomment-1231312948

This can be fixed by setting the token on checkout e.g.
jobs:
  docs:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
          ref: ${{ github.ref }}

      - uses<EMAIL_ADDRESS>        with:
          git-commit-message: 'docs: update readme'
          git-push: 'true'

this works for me!


use keyboardevent.key where implemented

Beside other stuff the main reason for this change is the circumstance
that Firefox triggers the "Toggle RTL mode" shortcut if the user press
F11 to switch Firefox into the fullscreen mode.
Each browser sends keycodes that are used by different other keys on
the keyboard for the function keys. Firefox is the only browser which
sends the onkeypress event for the function keys.
The used keyboard event properties event.keyCode and event.which are
already marked as deprecated and have been removed from the Web standards.
The "DOM Level 3 Events" standard specifies event.key as their successor.
Right now event.key is only available for Firefox 29+ and Internet
Explorer 9+. Webkit based browser have support for the former specified
event.keyIdentifier.
The implementation of event.keyIdentifier isn't the same across
different webkit based browsers and buggy:

the value for the z key is F11 (Chrome - Windows, Linux)
the value for the F11 key is F11 as well (Chrome - Windows, Linux)
the value for latin keys is always the value of the capital letter (Chrome)
the value for cyrillic keys depends on the shift modifier (Chrome)
the value for the keypress event is always an empty string (Safari - Mac OS)
the value for the keydown event matches the keyboard layout dependent character (Safari - Mac OS)
the value for the keydown event does NOT matches the keyboard layout dependent character (Chrome - Windows, Linux)

Instead of workaround the problems, the event.which is used for every
browser that doesn't support event.key.
Fixes #341

The shortcut tests don't work with firefox at the moment. It looks like a feature is missing in the firefox selenium webdriver, since with Internet Explorer everything is fine. Will have a look at the webdriver later.

Thanks, it's merged.


Update Types doc to reference main branch

This link just threw me for a huge loop when I thought it meant I'd have to abandon Electric after spending awhile setting it up, since it references a significantly outdated version of this file. Not sure if this is how you want to handle it though, or just moving up the commit pointer.
Thanks for the great work, excited to try it out!

@robbwdoering Thanks, good catch!
Referencing main has proven to be problematic as well, since support for new types in published releases lags behind main. I think we'll be better off removing that reference altogether and we'll simply maintain the list of types in the docs up-to-date with the latest published version of Electric.


🔎 compatibility with numpy 2.0

NumPy 2.0 will be release on June 16th, we should take some time to look if we have to update clouddrift to make it compatible. There is a ruff rule to help the migration, so it should be pretty easy to do.
My guess is that our library doesn't need much modifications, but we will have to wait for dependencies. I will assign it to myself if I have time to take a look this week.

Release News
NumPy 2.0 migration guide

I don't see any issue so I will just close this.


Minor camera issue - camera moves when categories clicked

The camera resets to the start when categories are clicked. You can see what I mean here:
http://gerdofal.net/ed/ed3dmap/plotedsm.php
Manually move the camera, then click a category, the camera will move back to a reset position.

Clicking on a category move back the camera position to initial position,
I just made an upgrade about that:
now clicking (1.2.1 release) on a group will center the camera on center of the group, the camera distance should be also dynamic.
I'm curious to see how it will work on your map :)

From what I can see, this works nicely on both of my maps:
http://gerdofal.net/ed/ed3dmap/plotedsm.php
and the routing map generated when you get a new route from here:
http://gerdofal.net/ed/1krouting.php


Adding other voice controls directly into the module

Platform (Hardware/OS): RPi3 - Raspian Stretch
Node version: 8.9.3
MagicMirror version: 2
Module version: Latest
Description of the issue:
as the title said i want to add other voice commands into the module itself (not integrating other modules with voice command) is their any way the codes can be altered and what file to edit exactly, im still new to this and i want to know if its possible thanks :)

Actually there is no reason to edit this module for that, just create a new module with the only purpose to handle your commands. then you will be able to update this module without conflicts. out of curiosity, what commands would you like to add? if there reasonable and could be interesting for everyone i might add them anyways.

thank for the reply, i was wondering if i can control the GPIOs with this
module alone without  making another module because im still new into
programming raspberry Pis and i want also to save the trouble on making
another one thats why i want to know if the module can be altered to do
commands that can trigger GPIO pins on the Raspi board :)
On Sat, Dec 23, 2017 at 6:12 PM, fewieden<EMAIL_ADDRESS>wrote:

Actually there is no reason to edit this module for that, just create a
new module with the only purpose to handle your commands. then you will be
able to update this module without conflicts. out of curiosity, what
commands would you like to add? if there reasonable and could be
interesting for everyone i might add them anyways.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fewieden/MMM-voice/issues/18#issuecomment-353718145,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfGCv-MIBwhO-CaJGoo-8UmYp_BPp6qVks5tDNH7gaJpZM4RKk0i
.

You can but thats the same or even more effort todo


Add examples from officical Marketplace site to this repository

These examples were copied straight from: https://www.marketplacedoc.onoffice.de/code-beispiele/
These examples are unchanged and need some ❤ in the future, but for an initial step it is better to maintain them here then on the documentation page.
I added an simple README with the basic understanding I have about these code snippets.
Feel free to give me Feedback here.
For the review process: I would recommend to review the single commits.

I think we should probably not distribute jquery by ourselves. I'm not sure if we need to include their license file (although it is MIT as well). The easiest solution would be to just link to their hosted version.

You are absolutely right. I think a link to the hosted version would be enough here. This is still just an example and I think this would be perfectly fine here.

For me, it would be okay to include the code as is (minus the jquery change).

:+1:

But we should really do some refactorings to it in the near future

Yes please 🙏  I'm not super happy with the code in the current state, but it is better to maintain it here then anywhere else.


fix: 公有云日志权限列表

这个 PR 实现什么功能/修复什么问题:
公有云日志权限列表
是否需要 backport 到之前的 release 分支:

release/2.13

/area region
/cc @swordqiu

Codecov Report

Merging #4829 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #4829      +/-   ##
=========================================
+ Coverage    6.76%   6.78%   +0.01%
=========================================
  Files         524     524
  Lines       89819   89819
=========================================
+ Hits         6080    6091      +11
+ Misses      83232   83220      -12
- Partials      507     508       +1

Flag
Coverage Δ

#aFlag
6.78% <ø> (+0.01%)
:arrow_up:

Impacted Files
Coverage Δ

pkg/cloudcommon/policy/resources.go
0% <ø> (ø)
:arrow_up:

pkg/appsrv/response.go
66.15% <0%> (ø)
:arrow_up:

pkg/cloudcommon/cronman/cronman.go
54.85% <0%> (+5.33%)
:arrow_up:

Continue to review full report at Codecov.

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

/lgtm

/approve


SPM: endless fetching https://github.com/kylef/Stencil.git

I'm trying to install Kitura and Stencil from the RayWenderlich Videos project .
This is the file from the Package.swift: .package(url: "https://github.com/IBM-Swift/Kitura-StencilTemplateEngine.git", .upToNextMinor(from: "1.9.1"))
After doing 'swift build', the process gets stuck at
Fetching https://github.com/kylef/Stencil.git
Using Xcode 11 + it's CLI
Any ideas what might be wrong or where I might look to get forward?

Having this same issue

Sounds like an SPM issue.
Just guessing, but maybe change the URL to https://github.com/stencilproject/Stencil.git instead of https://github.com/kylef/Stencil.git? (the project was renamed quite a while ago).

AFAIK this was because the wrong URL, just use the new one and it'll work fine.


Problem changing locale with multiple threads

Hi,
I'm having a problem with I18n and multiple threads on a pure ruby app, which can be reproduced with this small script:
require 'i18n'

I18n.available_locales = [:pt, :en]
I18n.enforce_available_locales = true

t1 = Thread.new do
  1.upto(4) do
    puts I18n.t(:foo)
    sleep 1
  end
end

sleep 1 #<<<THIS

I18n.default_locale = :pt
I18n.locale = :pt

t1.join

The problem is: If I run this, I got as output four translation missing: en.foo, but if I remove the sleep marked on the code, I got four  translation missing: pt.foo.
I'm aware that the four messages for the pt make sense, since the locale change happens before the thread runs, but I think that on the first case it should print some messages on en and some on pt (the amount of each would be not deterministic).
This is a expected behavior?

The issue is still unresolved.
The source of the issue, as it seems from my testing, is that I18n stores the settings in the thread's variable using: Thread.current[:i18n_config].
As you can see in the source code, the settings are persistent. The default_locale isn't reviewed again after it had been reviewed for the first time.
The solution would probably be to change the I18n::Config class's #locale method to keep accessing the default_locale (replacing the ||= with ||), like so:
@locale || default_locale

An easy workaround is to manually reset the locale to the default locale each time.
Here is the code I used for testing:
require 'i18n'

I18n.available_locales = [:pt, :en]
I18n.enforce_available_locales = true
I18n.default_locale = :en

# t1 = Thread.new do
#   1.upto(4) do
#     Thread.current[:i18n_config] = nil
#     puts I18n.t(:foo)
#     puts Thread.current.keys
#     sleep 1
#   end
# end

t1 = Thread.new do
  1.upto(4) do
    I18n.locale = I18n.default_locale
    puts I18n.t(:foo)
    sleep 1
  end
end

sleep 0.1 #<<<THIS

I18n.default_locale = :pt

t1.join

I've added the fix from #320 to master now, which should fix this issue. Thanks everyone!


Community Communication

Currently Dask development occurs in both open and closed channels
Open

Github issues for bug reports, feature requests, and project discussion
Stack Overflow for usage questions
Gitter for community discussion

Closed

Anaconda Inc devs use a company-internal chat room
Anaconda Inc devs have a weekly thirty minute meeting via Google Hangouts
Core devs (including non-anaconda devs) occasionally have a group e-mail.  This comes up most often when adding new core devs.

I would like to open up some of the currently closed communication channels.  This issue is about planning what those channels should be.
To start conversation, I'll suggest the following changes:

Move Anaconda company-internal chat to a new gitter dask/dev channel.  Anaconda devs will maintain an internal chat channel for anaconda-specific business (client work).
Open the weekly dev video meeting to the full public
Create a dask-core private mailing list on googlegroups

This creates the following channels
Open

Github issues for bug reports, feature requests, and project discussion
Stack Overflow for usage questions
Weekly dev meeting via Google Hangouts
Gitter dask/dev for developer discussion.  Open but user questions strongly discouraged.
Gitter dask/dask for community discussion (although users are still encouraged to prefer Stack Overflow where appropriate)

Closed

Anaconda Inc devs continue to use a company-internal chat room for client business
Dask-core mailing list

Alternative suggestions are very welcome.  Pinging currently active core devs for feedback @jakirkham
@jcrist @martindurant @ogrisel @pitrou @shoyer @sinhrks @TomAugspurger

+1 to this.
For a bit more context on the weekly dev meetings, they currently consist of short sections on what we've done the last week and what we plan to work on the next week / how much time we'll have for that. Finally, there's an "Discussion Topics" section for going into detail on things that'll be relevant for most of the devs. We keep meeting notes, in case people aren't able to attend.

+1 from me as well.

LGTM.

LGTM.

Thanks for the detailed feedback @jakirkham .
How does conda-forge trigger meetings if they are not regular?  Someone says "I think it's time for a meeting, here is a link to an agenda document, I've added a few topics that have come up over the last few weeks but please feel free to modify it." ?  Are these meetings open to the public?

I think status update meetings are useful at least for the part of us that works on Dask on a paid basis.
As for topic meetings, isn't it simply better to discuss things out on Github issues (and/or on a ML)?

Hope I got all of your questions, @mrocklin. Please let me know if there are more (or I missed one 😉).
They use to be regular. For example every 2 weeks on Friday at 10a EST was pretty common. Though have been less regular of late. This is more a consequence of people being busy than an actual choice.
Typically someone will ask about having a meeting. So we add a survey of times through something like Doodle or similar. Normally we set up a 2 week window for the meeting. Then post the poll a bunch of places (e.g. issue on the webpage repo, CF mailing list, Gitter) with some note about when the poll closes (normally a few days after it was created). Based on the most popular time/date, we set the meeting and go from there.
As far as the agenda, anyone is free to add topics. The rule of thumb is to add new issues to the bottom of the list, but there are exceptions. For instance if there is a particularly pressing issue (e.g. Travis CI deprecated their 10.9 image), it might get bumped. Also if a person adds an item, but misses the meeting, we leave it out of discussion until they can rejoin (unless it is particularly pressing or they said to go ahead). Typically the person running the meeting sets the topic order (typically as written) and hands it off to each person that add each topic to provide details. Discussion is then opened to the group after each item. We note issues raised, decisions made, who takes on what tasks (if any), etc.
The meetings are open. Anyone is welcome. Normally details about the meeting are tracked in an associated GitHub issue, but info will be added other place (e.g. Gitter and the mailing list).

I think status update meetings are useful at least for the part of us that works on Dask on a paid basis.

The extent to which people are paid to work on Dask is pretty fluid.  Several folks who don't work for Anaconda Inc. consider working on Dask to be part of their day job.  Conversely some people within Anaconda Inc who currently come to the meetings aren't technically paid to work on Dask.

As for topic meetings, isn't it simply better to discuss things out on Github issues (and/or on a ML)?

I agree that in general we should favor easily searchable and recorded text-based systems like Github issues or a mailing list.  Still though, I think that there is a fair bit of value to the high-bandwidth and group conversations that arise from a video call.

Third Google Hangouts are great, but cap out at 10 people. As long as we think we will be below that, they are great. If that changes, we might want to revisit options. May have more thoughts in the future.

If we get to this point we can find alternatives.  Anaconda Inc has some systems we can use.
I'd also be open to other video chat systems.  I've noticed that some projects use appear.in.

I think status update meetings are useful at least for the part of us that works on Dask on a paid basis.

Of course. Not trying to say anything about what works well for Dask in the Anaconda Inc setting.
Just sharing some experience from having meetings in one community setting. Whether it translates here or not, we will have to decide for ourselves. Perhaps it is best to try the existing format in a community setting for a few weeks or month and then assess how it is going?

As for topic meetings, isn't it simply better to discuss things out on Github issues (and/or on a ML)?

Sometimes. Here are a couple of examples I can think of where a topic meeting is useful.
If solving a problem, affects many different areas. For example, in conda-forge one such topic is using conda packages for X11. There are various issues and PRs associated. So having a meeting is pretty important to get the big picture and organize this activity meaningfully. Things like caching or interactively playing with Dask results may fit in this area.
Also meetings can be a good time to address issues/PRs that are blocked and sort out the issues blocking them.

OK, I've created a currently private chat channel at https://gitter.im/dask/dev and invited the current developers with commit access.  I recommend that we keep things private for a week or so to see how that feels and to establish a routine and then open it to the general public.
If you are active on the project and want access to the chat channel then please let me know.

The developer chat channel, https://gitter.im/dask/dev , is now public.  As a reminder, this channel is for conversation about ongoing development.  The channel https://gitter.im/dask/dask remains open for general conversation.

Weekly meeting time/location
Lets have our next Dask weekly meeting on appear.in at https://appear.in/dask-dev tomorrow December 21st at 4pm UTC (11am US-Eastern).
My apologies for the short notice on this and the lack of a public request for good times.  This happens to be when the previous closed meeting took place.  It tends to balance between the US-based and European-based collaborators.
Agenda
Does anyone have recommendations for a good web application to maintain notes and set an agenda?  We've been using Google drive up until now, but now is a good opportunity to make a switch if desired.
I propose the following format for the meeting/agenda
Short updates on work done last week

Person's name: brief notes on their recent work
Matt: Was at AGU last week.  Working on documentation, PR backlog, and experimenting with Kubernetes/Jupyterhub deployments since then.

Agenda items

Topic (discussion leader, estimated time)
Update on JupyterHub/XArray work (Matt, 3 minutes)
What to use for an agenda (Matt, 5 minutes)
...

Plans for the upcoming week and availability

Person's name: brief notes on availability and planned work
Matt: Working part time this week due to holidays.  Pushing on JupyterHub/Kubernetes work prior to AMS

Does anyone have recommendations for a good web application to maintain notes and set an agenda?

Etherpad should be good enough, but we should find a reliable public instance. I know https://framapad.org/ but it seems to be in French only.

Does anyone have recommendations for a good web application to maintain notes and set an agenda?

At one point we were using hackpad, but that got picked up by dropbox. Looks like dropbox paper is the new thing. Haven't tried it, but it might work (free and hosted, but does require an account).

I'm ok with Dropbox as long as I don't have to run a service on my machine.


permission denied when using run_watch with directory glob patterns

What happened?
When using run_watch via custom command to restart devspace dev on local file changes, it seems using glob patterns with directories containing multiple files results in a permission denied error and no other output.
❯ devspace run watch
permission denied

What did you expect to happen instead?
Expected devspace dev to run and restart the container on changes.
How can we reproduce the bug? (as minimally and precisely as possible)
An example repository is provided here. Running devspace dev will show the error, while running devspace --config=devspace.works.yaml dev will work. The main difference is that the files are enumerated vs matching with a glob pattern.
Local Environment:

DevSpace Version: v6.3.2
Operating System: mac
ARCH of the OS: ARM64

I've pinned down the issue to a "shell" issue
If we run -p ./cmd/**/*.go this will be evaluated by the shell
If we run -p "./cmd/**/*.go"  with quotes, it works
This will result in a different thing, as we end up with 2 arguments for a single flag, that is equivalent to running
-p /path/to/a /path/to/b -p /path/to/c /path/to/d that will only take the a and c paths, and yield the same permission denied error


⚠ Bofrost.at has degraded performance

In cb79e20, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2189 ms

Resolved: Bofrost.at performance has improved in d4aa350.