ValueError: Number of processes must be at least 1

When I attempted to use RoseTTAFold, I encountered the following error at the end.
$ nano /log/pick.stderr

Traceback (most recent call last):
  File "/home/yt/RoseTTAFold/DAN-msa/pick_final_models.div.py", line 113, in <module>
    pool = mp.Pool(n_core_pool)
  File "/home/yt/anaconda3/envs/folding/lib/python3.7/multiprocessing/context.py", line 119, in Pool
    context=self.get_context())
  File "/home/yt/anaconda3/envs/folding/lib/python3.7/multiprocessing/pool.py", line 169, in __init__
    raise ValueError("Number of processes must be at least 1")
ValueError: Number of processes must be at least 1

How can I solve this problem?

Seems caused of the conflicts among python 3.7, tensorflow, numpy, and so on. Same as #135

Hello, I did the following instruction.
[https://github.com/RosettaCommons/RoseTTAFold/issues/135#issuecomment-1837598648]
However, then i got new error like this:
`/bin/sh: 1: /bin/sh: 1: /mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found/mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found
/bin/sh: 1: /mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found
/bin/sh: 1: /mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found
/bin/sh: 1: /mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found
/bin/sh: 1: /mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found
/bin/sh: 1: /mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found
/bin/sh: 1: /mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found
/bin/sh: 1: /mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found
/bin/sh: 1: /mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found
/bin/sh: 1: /mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found
/bin/sh: 1: /mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found
/bin/sh: 1: /mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found/bin/sh: 1:
/mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found
/bin/sh: 1: /mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found
/bin/sh: 1: /mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found
/bin/sh: 1: /mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found
/bin/sh: 1: /mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found
/bin/sh: 1: /mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found
/bin/sh: 1: /mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found
/bin/sh: 1: /mnt/D/RoseTTAFold-1.1.0/lddt/lddt: not found
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/ypkim/miniconda3/envs/folding/lib/python3.7/multiprocessing/pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "/home/ypkim/miniconda3/envs/folding/lib/python3.7/multiprocessing/pool.py", line 44, in mapstar
return list(map(*args))
File "/mnt/D/RoseTTAFold-1.1.0/DAN-msa/pick_final_models.div.py", line 72, in calc_lddt_dist
lddt_1 = float(os.popen("%s/lddt/lddt -c %s %s | grep Glob"%(script_dir, pose_i, pose_j)).readlines()[-1].split()[-1])
IndexError: list index out of range
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/mnt/D/RoseTTAFold-1.1.0/DAN-msa/pick_final_models.div.py", line 114, in
raw_dist = pool.map(calc_lddt_dist, args)
File "/home/ypkim/miniconda3/envs/folding/lib/python3.7/multiprocessing/pool.py", line 268, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/home/ypkim/miniconda3/envs/folding/lib/python3.7/multiprocessing/pool.py", line 657, in get
raise self._value
IndexError: list index out of range`
Is there anyone can solve this problem?
Thank you.

#143 solved this issue for me. Install lddt using bioconda and then move the executable in folding/bin/ to a new directory in /lddt/
The install dependencies does not fetch the lddt with wget anymore. It returns 404


Nodejs error: connection timeout

Hello,
I'm running cardano-graphql 3.1.1 on same server where I run db-sync-extended, it suddenly stopped to work returning nodejs timeout error to postgres. No changes have been applied.
If I  run cardano-graphql from my local machine, no issues connecting to remote postgres.
Binaries built with nix on nixos.
Please let me know more details are needed.
Many thanks in advance,
kind regards,
Emanuele

Hi @asnakep
It sounds like you just have an authorisation problem with postgres on the remote server. Is cardano-db-sync-extended able to connect?

Hi @asnakep
It sounds like you just have an authorisation problem with postgres on the remote server. Is cardano-db-sync-extended able to connect?

Hello,
db-sync-extended is on a remote machine, if I plug graphql from my local it works fine.
While if I plug graphql on same remote server where db-sync-extended runs, I get connection timeout.
it was previously working fine. Just suddenly stopped to work.
I can connect with the used postgres user via psql.
I'll try to write a simple nodejs connector to postgres.
So resuming the issue, graphql can connect to remote postgres, but not to local.
Thank you,
Cheers.

Hello,
db-sync-extended is on a remote machine, if I plug graphql from my local it works fine.
While if I plug graphql on same remote server where db-sync-extended runs, I get connection timeout.
it was previously working fine. Just suddenly stopped to work.
I can connect with the used postgres user via psql.
I'll try to write a simple nodejs connector to postgres.
So resuming the issue, graphql can connect to remote postgres, but not to local.
Thank you,
Cheers.

Hello,
some more details:
On cardano-graphql launch having hasura running fine
Error: connect ETIMEDOUT <IP_ADDRESS>:5432
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
errno: -110,
code: 'ETIMEDOUT',
syscall: 'connect',
address: '<IP_ADDRESS>',
port: 5432
}
DbClient.pgSubscriber: Reconnecting attempt 1
Command failed: /home/nodo/cardano-graphql/nix-build/hasura-cli/bin/hasura --skip-update-check --project /nix/store/vfbgg6dgyx2x6x6p7ji15sla0blnm5fs-cardano-graphql-3.1.1/packages/api-cardano-db-hasura/hasura/project --endpoint http://localhost:8090 migrate apply --up all
Manual run of failed command
....Lot of SQL actions output.....
[42P07] FatalError: relation "Block" already exists
I'll try to recreate hasura db objects, since it seems related with hasura schema.
I let you know in a while.

Hello,
some more details:
On cardano-graphql launch having hasura running fine
Error: connect ETIMEDOUT <IP_ADDRESS>:5432
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
errno: -110,
code: 'ETIMEDOUT',
syscall: 'connect',
address: '<IP_ADDRESS>',
port: 5432
}
DbClient.pgSubscriber: Reconnecting attempt 1
Command failed: /home/nodo/cardano-graphql/nix-build/hasura-cli/bin/hasura --skip-update-check --project /nix/store/vfbgg6dgyx2x6x6p7ji15sla0blnm5fs-cardano-graphql-3.1.1/packages/api-cardano-db-hasura/hasura/project --endpoint http://localhost:8090 migrate apply --up all
Manual run of failed command
....Lot of SQL actions output.....
[42P07] FatalError: relation "Block" already exists
I'll try to recreate hasura db objects, since it seems related with hasura schema.
I let you know in a while.

So for now I don't want to touch cexplorer.public schema objects.
Cheers.

So for now I don't want to touch cexplorer.public schema objects.
Cheers.

I dropped and recreated those indexes which I said don't want to touch them, but they are created by graph-ql.
So metadata has been recreated successfully. Graphql works fine from my local machine.
But I have same connection issue on remote machine where graphql connects to local postgres.
launch_cardano-graphql.sh
Error: connect ETIMEDOUT <IP_ADDRESS>:5432
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
errno: -110,
code: 'ETIMEDOUT',
syscall: 'connect',
address: '<IP_ADDRESS>',
port: 5432
}
DbClient.pgSubscriber: Reconnecting attempt 1
{"level":"info","msg":"Applying migrations...","time":"2021-01-25T10:33:26Z"}
{"level":"info","msg":"migrations applied","time":"2021-01-25T10:33:26Z"}
{"level":"info","msg":"Applying migrations...","time":"2021-01-25T10:33:26Z"}
{"level":"info","msg":"migrations applied","time":"2021-01-25T10:34:25Z"}
{"level":"info","msg":"Clearing metadata...","time":"2021-01-25T10:34:25Z"}
{"level":"info","msg":"Metadata cleared","time":"2021-01-25T10:34:26Z"}
DbClient.pgSubscriber: Fatal database connection error: Error: Re-initializing the PostgreSQL notification client after connection loss failed: Stopping PostgreSQL reconnection attempts after 3000ms timeout has been reached.
at /nix/store/vfbgg6dgyx2x6x6p7ji15sla0blnm5fs-cardano-graphql-3.1.1/node_modules/pg-listen/dist/index.js:108:47
at step (/nix/store/vfbgg6dgyx2x6x6p7ji15sla0blnm5fs-cardano-graphql-3.1.1/node_modules/pg-listen/dist/index.js:43:23)
at Object.next (/nix/store/vfbgg6dgyx2x6x6p7ji15sla0blnm5fs-cardano-graphql-3.1.1/node_modules/pg-listen/dist/index.js:24:53)
at step (/nix/store/vfbgg6dgyx2x6x6p7ji15sla0blnm5fs-cardano-graphql-3.1.1/node_modules/pg-listen/dist/index.js:28:139)
at Object.next (/nix/store/vfbgg6dgyx2x6x6p7ji15sla0blnm5fs-cardano-graphql-3.1.1/node_modules/pg-listen/dist/index.js:24:53)
at fulfilled (/nix/store/vfbgg6dgyx2x6x6p7ji15sla0blnm5fs-cardano-graphql-3.1.1/node_modules/pg-listen/dist/index.js:15:58)
Connect user via psql
psql -h localhost -p 5432 -d cexplorer -U hasura -W
Password:
psql (12.5, server 11.10)
Type "help" for help.
cexplorer=>
Thank you,
kind regards
Emanuele

I dropped and recreated those indexes which I said don't want to touch them, but they are created by graph-ql.
So metadata has been recreated successfully. Graphql works fine from my local machine.
But I have same connection issue on remote machine where graphql connects to local postgres.
launch_cardano-graphql.sh
Error: connect ETIMEDOUT <IP_ADDRESS>:5432
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
errno: -110,
code: 'ETIMEDOUT',
syscall: 'connect',
address: '<IP_ADDRESS>',
port: 5432
}
DbClient.pgSubscriber: Reconnecting attempt 1
{"level":"info","msg":"Applying migrations...","time":"2021-01-25T10:33:26Z"}
{"level":"info","msg":"migrations applied","time":"2021-01-25T10:33:26Z"}
{"level":"info","msg":"Applying migrations...","time":"2021-01-25T10:33:26Z"}
{"level":"info","msg":"migrations applied","time":"2021-01-25T10:34:25Z"}
{"level":"info","msg":"Clearing metadata...","time":"2021-01-25T10:34:25Z"}
{"level":"info","msg":"Metadata cleared","time":"2021-01-25T10:34:26Z"}
DbClient.pgSubscriber: Fatal database connection error: Error: Re-initializing the PostgreSQL notification client after connection loss failed: Stopping PostgreSQL reconnection attempts after 3000ms timeout has been reached.
at /nix/store/vfbgg6dgyx2x6x6p7ji15sla0blnm5fs-cardano-graphql-3.1.1/node_modules/pg-listen/dist/index.js:108:47
at step (/nix/store/vfbgg6dgyx2x6x6p7ji15sla0blnm5fs-cardano-graphql-3.1.1/node_modules/pg-listen/dist/index.js:43:23)
at Object.next (/nix/store/vfbgg6dgyx2x6x6p7ji15sla0blnm5fs-cardano-graphql-3.1.1/node_modules/pg-listen/dist/index.js:24:53)
at step (/nix/store/vfbgg6dgyx2x6x6p7ji15sla0blnm5fs-cardano-graphql-3.1.1/node_modules/pg-listen/dist/index.js:28:139)
at Object.next (/nix/store/vfbgg6dgyx2x6x6p7ji15sla0blnm5fs-cardano-graphql-3.1.1/node_modules/pg-listen/dist/index.js:24:53)
at fulfilled (/nix/store/vfbgg6dgyx2x6x6p7ji15sla0blnm5fs-cardano-graphql-3.1.1/node_modules/pg-listen/dist/index.js:15:58)
Connect user via psql
psql -h localhost -p 5432 -d cexplorer -U hasura -W
Password:
psql (12.5, server 11.10)
Type "help" for help.
cexplorer=>
Thank you,
kind regards
Emanuele


Error in tile_linalg_jacobi for hydrogen

Computing two hydrogen atoms using cpu backend works:
python density_functional_theory.py -H -backend cpu -float32
but with ipu backend
python density_functional_theory.py -H -backend ipu -float32
... an error is thrown:
Traceback (most recent call last):
  File "density_functional_theory.py", line 1440, in <module>
    elif args.H: recompute(args, None, 0, 0, our_fun=jax_dft, str=[["H", (0, 0, 0)],
  File "density_functional_theory.py", line 1095, in recompute
    energies, our_energy, our_hlgap, t_us, t_main_loop, us_hlgap = our_fun(str)
  File "density_functional_theory.py", line 1205, in jax_dft
    vals = density_functional_theory(atom_positions)
  File "density_functional_theory.py", line 665, in density_functional_theory
    vals = jax.jit(_do_compute, static_argnums=(10,11), device=device_1) ( density_matrix, kinetic, nuclear, overlap,
  File "density_functional_theory.py", line 148, in _do_compute
    vals = jax.lax.fori_loop(0, args.its, iter, vals)
  File "density_functional_theory.py", line 782, in iter
    eigvects = _eigh(generalized_hamiltonian )[1]
  File "density_functional_theory.py", line 1002, in _eigh
    eigvects, eigvals = ipu_eigh(x, sort_eigenvalues=True, num_iters=12)
  File "/nethome/blazejb/.venvs/3.2.0+1277/3.2.0+1277_poptorch/lib/python3.8/site-packages/tessellate_ipu/linalg/tile_linalg_jacobi.py", line 310, in ipu_eigh
    A, VT = ipu_jacobi_eigh(x, num_iters=num_iters)
  File "/nethome/blazejb/.venvs/3.2.0+1277/3.2.0+1277_poptorch/lib/python3.8/site-packages/tessellate_ipu/linalg/tile_linalg_jacobi.py", line 215, in ipu_jacobi_eigh
    Apcols, Aqcols, Vpcols, Vqcols = jax.lax.fori_loop(
  File "/nethome/blazejb/.venvs/3.2.0+1277/3.2.0+1277_poptorch/lib/python3.8/site-packages/tessellate_ipu/linalg/tile_linalg_jacobi.py", line 213, in <lambda>
    eigh_iteration_fn = lambda _, x: ipu_jacobi_eigh_iteration(x, Atiles, Vtiles)
  File "/nethome/blazejb/.venvs/3.2.0+1277/3.2.0+1277_poptorch/lib/python3.8/site-packages/tessellate_ipu/linalg/tile_linalg_jacobi.py", line 180, in ipu_jacobi_eigh_iteration
    Apcols, Aqcols = tile_rotate_columns(Apcols, Aqcols, rotset)
  File "/nethome/blazejb/.venvs/3.2.0+1277/3.2.0+1277_poptorch/lib/python3.8/site-packages/tessellate_ipu/linalg/tile_linalg_jacobi.py", line 276, in tile_rotate_columns
    assert len(pcols_indices_new) == halfN
AssertionError

ipu_eigh only works for d>=6 we fixed in nanoDFT here. Same fix should also work in density_functional_theory.py.
The fix is just a switch:
def eigh(x):
   if d <= 6: jnp.linalg.eigh(x)
   else: custom_ipu_eigh(x)

This PR fixes it.  Feel free to accept/close this issue.

Thanks @blazejba for finding the issue! Just opened a bug ticket on TessellateIPU so we can solve it there: https://github.com/graphcore-research/tessellate-ipu/issues/12
@AlexanderMath Thanks for the PR. Let's merge that for now until there is a fix in TessellateIPU.


Quite high consumption of certain Event

Hello,
By analyzing the / timings of my server, I noticed a fairly high consumption of the following events:

BlockBreakEvent
FurnaceSmeltEvent

As you can see under my screens,
http://prntscr.com/r32nk2
http://prntscr.com/r32o9d
http://prntscr.com/r32ojr
I will provide you with the complete timings if this can be useful, but I have trouble understanding why a smelt consumes more than a furnace.
https://timings.aikar.co/?id=d85e7777a33546ebb11a88449645a8de#timings
Server version: Paper-105 (MC-1.15.2)
Jobs version: 4.15.5

This cannot be fixed in the plugin. These are the events that players can use to collect rewards. So if a player breaks a block then the event is called and even more than once the player does it. This can only be improved by having fewer players on the server working.


Fix issue 449 (XQuery expect label containing curly bracket crashes)

This pull request derives from #461. So needs to be handled after that.

Fixes #449
The root cause of the problem is that x:output-expect creates literal x:label when it must create x:label generator.
This pull request fixes it.

@cirulls
Merged this bug fix.


Add indirect dependency on ZFC_in_HOL

This resolves #40.

Building still doesn’t succeed, apparently because of the change in notation for general_parallel. You should still review this pull request normally and for now not care about that other issue.


Add support for using I2C via DMA

cc @lthiery

Travis was failing. Force-pushed some commits to fix it. Now the last two commits are shown in the wrong order here on GitHub, because for some reason, it insists to sort commits by date, not by, you know, their actual order.  I'm sorry.

Looks great, thanks!


Fix select input button type

Fixes #529

We might want to make button the default to prevent this? Anyway, thanks for the quick fix @ajbura


Simple object check

Hello.
First of all thank you for the library, it works really great!
I've just bumped into one issue. In our setup we have iframe & parent window running on same domain and interacting with one another.
One of those interactions is:
const intialState = iframe.someFunction();

const state = create(initialState, ...);

Due to this, even though the returned object is "simple", the Object.getPrototypeOf(value) === Object.prototype check fails.
I can overcome this by using mark functionality:
const state = create(initialState, ..., {  mark: () => "immutable" });

This brings a couple of questions:

Is it okay to simply use mark: () => "immutable",? Will this lead to some side effects? I haven't digged too deep into the source code yet, but couldn't find info in the docs.
Next to mark docs, it says that (AutoFreeze and Patches should both be disabled). Is that really the case? I've tried to use them with mark and it looked like it works fine.
Maybe there is  a different kind of "simple" object check that would not break in this crazy scenario?

hi @Gongreg ,

Is it okay to simply use mark: () => "immutable",? Will this lead to some side effects? I haven't digged too deep into the source code yet, but couldn't find info in the docs.

If you're sure the object structure is all immutable, then you're good to go like this. But be careful, if the object structure has some non-plain objects in it, they might get unexpectedly treated as immutable. Like,
class Foo {
  bar = 1;
}
const initState = { foo: new Foo(), a: { b: 1 } };
const state = create(
  initState,
  (draft) => {
    draft.foo.bar = 2;
  },
  {
    mark: () => 'immutable',
  }
);
expect(state.foo).toBeInstanceOf(Foo);
expect(state.foo).not.toBe(initState.foo);

Any objects in initState that get tweaked will be shallow copied, they've been marked as immutable.

Next to mark docs, it says that (AutoFreeze and Patches should both be disabled). Is that really the case? I've tried to use them with mark and it looked like it works fine.

Typically, when using the mark function, you shouldn't enable AutoFreeze and Patches. It could cause some unnecessary mix-ups, and It's not an equivalent operation patch.
For example,
class Foo {
  bar = 1;
}
const initState = { foo: new Foo(), a: { b: 1 }, time: new Date() };
const [state, patches] = create(
  initState,
  (draft) => {
    draft.foo.bar = 2;
    draft.time.setDate(2);
  },
  {
    enableAutoFreeze: true,
    enablePatches: true,
    mark: (value) => {
      if (value instanceof Foo) return 'immutable';
    },
  }
);
expect(state.foo).toBeInstanceOf(Foo);
expect(state.foo).not.toBe(initState.foo);
expect(state.time).toBe(initState.time);

initState.time is mutable, but the patches don't include its update. So, we can't get an equivalent object structure by applying those patches. But if you use mark: () => "immutable", in that specific case, you can totally enable AutoFreeze and Patches.
I've already updated it in the docs.

Maybe there is a different kind of "simple" object check that would not break in this crazy scenario?

You can use isSimpleObject as your custom mark.
const isSimpleObject = (value) => {
  const prototype = Object.getPrototypeOf(value);
  if (prototype === null) {
    return true;
  }
  const constructor =
    Object.hasOwnProperty.call(prototype, 'constructor') &&
    prototype.constructor;
  return (
    typeof constructor === 'function' &&
    Function.toString.call(constructor) ===
      Object.prototype.constructor.toString()
  );
};

const initialState = iframe.someFunction();

const state = create(initialState, callback, {
  mark: (value) => {
    if (isSimpleObject(value)) {
      return 'immutable';
    }
  },
});

isSimpleObject function can check for simple objects from across iframe or those without inheritance, like Object.create(null).

I'm thinking about adding some potentially useful mark functions to Mutative.

I've released Mutative v0.7.3, which supports marking simple objects.
For example,
import { create, markSimpleObject } from 'mutative';

const baseState = {
  foo: {
    bar: 'str',
  },
  simpleObject: Object.create(null),
};

const state = create(
  baseState,
  (draft) => {
    draft.foo.bar = 'new str';
    draft.simpleObject.a = 'a';
  },
  {
    mark: markSimpleObject,
  }
);

expect(state.simpleObject).not.toBe(baseState.simpleObject);

In this conversation I found that NodeJS code creates simple objects everywhere (in the form of { __proto__: null } see example) so that they don't inherit a polluted Object prototype (for security). They even have an eslint rule to enforce it.
With that in mind, and not knowing what type of data a developer might stick into one of my drafted states, wouldn't it be safer to always check if (prototype === null) by default and mark it as immutable? (Or to just make the whole markSimpleObject mark the default behavior?)
Also, am I protected against this if strict: true during development, even without mark: markSimpleObject?

hi @waynebloss , mark: markSimpleObject or enabling strict mode does not protect the Object prototype. The mark function only defines the nature of a shallow copy or marks data.
The main issue is that protecting the Object prototype is very costly, and it may vary depending on the browsers, requiring unnecessary overhead. Moreover, prototype chain pollution is not common.
Specifically, there are multiple ways to access the prototype chain, such as: Object.getPrototypeOf(objectOrDraft), objectOrDraft.__proto__, objectOrDraft.constructor.prototype, objectOrDraft.isPrototypeOf.__proto__.__proto__, and so on.
Therefore, I think it is not very necessary for us to do this, don't you think so?

@unadlib I was not trying to protect against object prototype pollution - I surprised when I observed that objects created with Object.create(null) or { __proto__: null }, which live inside in the base state are modified during create.

I tried it out and I see that strict mode does catch the issue. Thanks!


Explicitly call close when back to back writers are created since del…

… indirectly and lazily calls del which can result in a IO race condition.

friendly ping?


Create EVM Mainnet Alert Channel Using Telegram Service Account

Following engineering issue 57, this ticket is to use the Automation Telegram service account to provision and integrate notification channels for the EVM mainnet infrastructure alerting.
See Also

eos-evm issue 602 - Funnel EVM Health Checks into CloudWatch
engineering issue 48 - Collaborate with Operations on Unified Dashboarding Solution
engineering issue 49 - Create Bot to Alert via IM on Specific Metrics
eos-evm issue 603 - SMS Alerting for EVM Infrastructure Health Checks
engineering issue 65 - Email Alerting for EVM Infrastructure Health Checks
telegram-bot issue 1 - Open-Source This Repo
engineering issue 57 - Create Telegram Service Account
engineering issue 58 - Create EVM Testnet Alert Channel Using Telegram Service Account
engineering issue 64 - Create EVM Mainnet Alert Channel Using Telegram Service Account
engineering issue 66 - Fix EVM CloudWatch Alerts

Done. The EVM team was invited to this channel, and the channel has been documented in our internal "ENF Communication Channels" document.
Technically I made a group, not a channel. This will enable subscribers to collaborate on alerts directly in this group instead of having to go somewhere else.


Improving shutdown time and changing SslContext creation.

The netty EventLoopGroup takes about 2 seconds to terminate.  It also shuts down when the JVM shuts down.  Older versions didn't wait for it to terminate, so this version shouldn't either.
Using GrpcSslContexts.forClient() as per Nathan's instruction instead of SslContext.newClientContext().

LGTM


Launchim Vim with a new file name

When I launch vim from zsh to create a new file with a name which starts with numbers, vim names the buffer "0" instead of the name that I have given in the command line. For example:
vim 2015.md will create a buffer named "0".
Interestingly, if I create a new vim file in a directory other than the current one, it will work. For example:
vim ~/Documents/2015.md => launces vim with a buffer named "2015.md"
I think it is something to do with an auto command which in invoked on launch but I can't figure out which one it is. Can anyone help?
Many thanks

I have found the problem - it is with the file-line plugin. I have posted an issue within that repository. This issue can be closed.


Improve article 2309.05340: \operatorname*{...}\nolimits should behave like \nolimits, not like *

This is awkward because it's due to bad LaTeX, but may still be worth fixing.
Here is some code from the abstract of https://ar5iv.labs.arxiv.org/html/2309.05340:
\operatorname*{cyc}\nolimits_{\ell}
This is, of course, self-contradictory, but sadly Scientific Word generates such code. LaTeX prioritizes the \nolimits, whereas ar5iv currently prioritizes the asterisk. I suggest following LaTeX, to avoid discrepancy (I'm hardly the only author using Scientific Word).

Interesting nuance, thank you for catching that difference.
This article also needs new latexml support for tabls.sty, scrartcl.cls, scrlayer-scrpage.sty


[SPARK-16162] Remove dead code OrcTableScan.

What changes were proposed in this pull request?
SPARK-14535 removed all calls to class OrcTableScan. This removes the dead code.
How was this patch tested?
Existing unit tests.

Can one of the admins verify this patch?

Test build #3130 has started for PR 13869 at commit 9f2ef91.

LGTM pending tests.

Test build #3130 has finished for PR 13869 at commit 9f2ef91.

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

Merging in master.

@dafrista you should add the email associated with your commit to your github account.

@rxin Done, thanks!


Staging: create API3 track/lessons/component initial scaffolding

...
From Billy's repo:
https://github.com/billyjitsu/api3course
and previous feature branch PR: https://github.com/Developer-DAO/academy-turbo/pull/151
I'm not sure what the work flow is from here, or how I should populate this message. Ping me with any questions

@elPiablo this PR is from staging  to main looks like the final deployment but the title says API3 thing.
Should we change an appropiate title or the branchs are maybe wrong?


Fix bug report missing all logs for json logs

Fixes #44788

Hi @syw14. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

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

/ok-to-test

@syw14: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
0206c05b167780f9bf5c9d7f89cb02a6dfa30659
link
true
/test lint

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

@syw14: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
0206c05b167780f9bf5c9d7f89cb02a6dfa30659
link
true
/test gencheck

lint_istio
568f2a18ab9b8da603ff03e4ca77a2989f78cfa7
link
true
/test lint

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

@syw14: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
0206c05b167780f9bf5c9d7f89cb02a6dfa30659
link
true
/test gencheck

lint_istio
568f2a18ab9b8da603ff03e4ca77a2989f78cfa7
link
true
/test lint

unit-tests-arm64_istio
568f2a18ab9b8da603ff03e4ca77a2989f78cfa7
link
true
/test unit-tests-arm64

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

@syw14: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
0206c05b167780f9bf5c9d7f89cb02a6dfa30659
link
true
/test gencheck

lint_istio
568f2a18ab9b8da603ff03e4ca77a2989f78cfa7
link
true
/test lint

unit-tests-arm64_istio
568f2a18ab9b8da603ff03e4ca77a2989f78cfa7
link
true
/test unit-tests-arm64

unit-tests_istio
568f2a18ab9b8da603ff03e4ca77a2989f78cfa7
link
true
/test unit-tests

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

@syw14: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
568f2a18ab9b8da603ff03e4ca77a2989f78cfa7
link
true
/test lint

unit-tests-arm64_istio
568f2a18ab9b8da603ff03e4ca77a2989f78cfa7
link
true
/test unit-tests-arm64

unit-tests_istio
568f2a18ab9b8da603ff03e4ca77a2989f78cfa7
link
true
/test unit-tests

gencheck_istio
568f2a18ab9b8da603ff03e4ca77a2989f78cfa7
link
true
/test gencheck

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

@syw14: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
568f2a18ab9b8da603ff03e4ca77a2989f78cfa7
link
true
/test unit-tests-arm64

unit-tests_istio
568f2a18ab9b8da603ff03e4ca77a2989f78cfa7
link
true
/test unit-tests

gencheck_istio
568f2a18ab9b8da603ff03e4ca77a2989f78cfa7
link
true
/test gencheck

lint_istio
f60bc91d3e4c9ecca7b8b5619872e210c8fcb53a
link
true
/test lint

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

@syw14: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
568f2a18ab9b8da603ff03e4ca77a2989f78cfa7
link
true
/test unit-tests

gencheck_istio
568f2a18ab9b8da603ff03e4ca77a2989f78cfa7
link
true
/test gencheck

lint_istio
f60bc91d3e4c9ecca7b8b5619872e210c8fcb53a
link
true
/test lint

unit-tests-arm64_istio
f60bc91d3e4c9ecca7b8b5619872e210c8fcb53a
link
true
/test unit-tests-arm64

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

@syw14: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
568f2a18ab9b8da603ff03e4ca77a2989f78cfa7
link
true
/test unit-tests

lint_istio
f60bc91d3e4c9ecca7b8b5619872e210c8fcb53a
link
true
/test lint

unit-tests-arm64_istio
f60bc91d3e4c9ecca7b8b5619872e210c8fcb53a
link
true
/test unit-tests-arm64

gencheck_istio
f60bc91d3e4c9ecca7b8b5619872e210c8fcb53a
link
true
/test gencheck

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

@syw14: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
f60bc91d3e4c9ecca7b8b5619872e210c8fcb53a
link
true
/test lint

unit-tests-arm64_istio
f60bc91d3e4c9ecca7b8b5619872e210c8fcb53a
link
true
/test unit-tests-arm64

gencheck_istio
f60bc91d3e4c9ecca7b8b5619872e210c8fcb53a
link
true
/test gencheck

unit-tests_istio
f60bc91d3e4c9ecca7b8b5619872e210c8fcb53a
link
true
/test unit-tests

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

@syw14: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
f60bc91d3e4c9ecca7b8b5619872e210c8fcb53a
link
true
/test lint

unit-tests-arm64_istio
f60bc91d3e4c9ecca7b8b5619872e210c8fcb53a
link
true
/test unit-tests-arm64

gencheck_istio
f60bc91d3e4c9ecca7b8b5619872e210c8fcb53a
link
true
/test gencheck

unit-tests_istio
f60bc91d3e4c9ecca7b8b5619872e210c8fcb53a
link
true
/test unit-tests

integ-ipv6_istio
f60bc91d3e4c9ecca7b8b5619872e210c8fcb53a
link
true
/test integ-ipv6

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

@syw14: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
f60bc91d3e4c9ecca7b8b5619872e210c8fcb53a
link
true
/test unit-tests

integ-ipv6_istio
f60bc91d3e4c9ecca7b8b5619872e210c8fcb53a
link
true
/test integ-ipv6

lint_istio
68ef140e42c12ce19bd18314f2238c16bcf22f1e
link
true
/test lint

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

@syw14: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
68ef140e42c12ce19bd18314f2238c16bcf22f1e
link
true
/test lint

integ-pilot-istiodremote-mc_istio
68ef140e42c12ce19bd18314f2238c16bcf22f1e
link
true
/test integ-pilot-istiodremote-mc

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

@syw14: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-pilot-multicluster_istio
2b8d861cd369638857e20706b0fc0f186254a58f
link
unknown
/test integ-pilot-multicluster

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

/retest

/cherrypick release-1.18
/cherrypick release-1.17

@howardjohn: new pull request created: #45026

In response to this:

/cherrypick release-1.18
/cherrypick release-1.17

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


Update casting-and-type-conversions.md

from an integer to any arbitrary string

replaced by

from any arbitrary string to an integer

8 byte integer

and

4 bytes on a 32-bit computer

replaced by

64-bit integer

and

32-bit integer

I know that 4 bytes is equivalent to 32 bits but I don't see the relation with a 32-bit computer.
Furthermore, the int and long types are consistently documented as 32 and 64-bits data types.
and finally

the compiler implicitly converts the value on the right to a type long before assigning it to bigNum.

replaced by

the compiler implicitly converts the value of num on the right to a type long before assigning it to bigNum.

to be more clear.

Are we talking about an implicit conversion here?

For example, there is no conversion from an integer to any arbitrary string.

If it is the case, we should say "there is no implicit conversion". The sentence would be true but still, it would not match the example.
The example
int i;
i = "Hello"; // Error: "Cannot implicitly convert type 'string' to 'int'"

shows that the string "Hello" cannot be implicitly converted to 'int'.
The sentence

For example, there is no conversion from an integer to any arbitrary string.

is saying the exact opposite.

@johnnyagerard

Are we talking about an implicit conversion here?

This is making the point that C# is statically typed.  For example:
var thing = "abc"; // thing is a string
think = 5; // Not valid, thing is a string, not an int

As opposed to dynamic languages, such as JavaScript:
var thing = "abc"; // thing is a string
thing = 5; // OK, thing is now a number

@BillWagner So it was related to the first sentence, alright then.

Thanks for making the updates @johnnyagerard
I've approved this, and I'll :shipit: now.

@BillWagner @johnnyagerard you've confused each other with flipped examples :).
In you example, @BillWagner, you initialize a variable of the string type and then try to assign an int value to it. However, the current docs text contains the example with swapped types: first, a variable of type int is initialized, and then the string value is assigned to it.
So, I think @johnnyagerard was right initially.
Let's see. The  current documentation reads:

Because C# is statically-typed at compile time, after a variable is declared, it cannot be declared again or used to store values of another type unless that type is convertible to the variable's type. For example, there is no conversion from an integer to any arbitrary string. Therefore, after you declare i as an integer, you cannot assign the string "Hello" to it, as is shown in the following code.
int i;
i = "Hello"; // Error: "Cannot implicitly convert type 'string' to 'int'"

The first sentence is generic. Let's read it with the types from the example:

Because C# is statically-typed at compile time, after a variable is declared [int i;], it cannot be declared again or used to store values ["Hello"] of another type [string] unless that type [string] is convertible to the variable's type [int].

So, the example doesn't compile because string is not implicitly convertable to int, and not because "there is not conversion from an integer to any arbitrary string" as the documentation states now.
One more way to show that the current text is not correct. Let's use the long type instead of string (the example code also doesn't compile if we use long). Then the example would read:

For example, there is no conversion from int to long. Therefore, after you declare i as int, you cannot assign the long 100L, to it, as is shown in the following code.
int i;
i = 100L; // error CS0266: Cannot implicitly convert type 'long' to 'int'. An explicit conversion exists (are you missing a cast?)

However, int always converts to long.
I would rephrase the whole paragraph under consideration in the following way (my changes are in bold):

Because C# is statically-typed at compile time, after a variable is declared, it cannot be declared again or assigned a value of another type unless that type is implicitly convertible to the variable's type. For example, the string cannot be implicitly converted to int. Therefore, after you declare i as an int, you cannot assign the string "Hello" to it, as the following code shows:
int i;
i = "Hello"; // Error: "Cannot implicitly convert type 'string' to 'int'"

That's a very good analysis @pkulikov Do you want to submit a PR on this? (I already merged this one.)

@BillWagner please review #7010

@pkulikov Thanks for your review.


Add name cleanup to helpers.lua

Details

Add function to use logic based on Wiki preference
Update all (?) layers to use
Add comments to name column to reference data cleanup performed

This will help improve a number of layers and assist implementing #37.
Name tag preferences
From the OSM Wiki under Multiple names:

"If you have multiple names for a feature, first try to choose a rich semantic tag like any of the ones in the table (like short_name=, old_name=, etc.). If none of them works, choose the alt_name=* tag. If there are multiple names that do not fit, alt_name=* can be used with semicolons."

Explore this as a starting point, from https://github.com/openstreetmap/osm2pgsql/blob/master/flex-config/places.lua
Also consider various others:

place_name
tiger:NAME
loc_name
short_name
old_name
alt_name

    -- Put all name:* tags in their own substructure
    local names = {}
    local has_names = false
    for k, v in pairs(object.tags) do
        if k == 'name' then
            names[''] = v
            object.tags.name = nil
            has_names = true
        elseif starts_with(k, "name:") then
            -- extract language
            local lang = k:sub(6, -1)
            names[lang] = v
            object.tags[k] = nil
            has_names = true
        end
    end

Explore this as a starting point, from https://github.com/openstreetmap/osm2pgsql/blob/master/flex-config/places.lua
Also consider various others:

place_name
tiger:NAME
loc_name
short_name
old_name
alt_name

    -- Put all name:* tags in their own substructure
    local names = {}
    local has_names = false
    for k, v in pairs(object.tags) do
        if k == 'name' then
            names[''] = v
            object.tags.name = nil
            has_names = true
        elseif starts_with(k, "name:") then
            -- extract language
            local lang = k:sub(6, -1)
            names[lang] = v
            object.tags[k] = nil
            has_names = true
        end
    end


aptos.getAccountModules()

🐛 Bug Description
When I use this SDK to build React Front-end , I invoked the function below .
How to reproduce
Code snippet to reproduce
export const getAccountModulesWrapper = async (accountAddress: string) => {
    return await aptos.getAccountModules({
        accountAddress: accountAddress,
        options: {
            limit: 10,
            offset: 1
        }
    })
}

Stack trace / error message

So I checked network records .
The api request payload is like ( This is how the SDK translates the aptos.getAccountModules() api to do )
https://api.testnet.aptoslabs.com/v1/accounts/0xf4fd53f1334877ef7aae3241ba87708bf38c618aaa2a22f09e84720fab3328ee/modules?start=11&limit=10
Notice the query params, is start , not offset
so I change the link like this to try
https://api.testnet.aptoslabs.com/v1/accounts/0xf4fd53f1334877ef7aae3241ba87708bf38c618aaa2a22f09e84720fab3328ee/modules?offset=11&limit=10
it worked.
System information
System details:

Typescript SDK Version : Version 5.0.4
Aptos SDK Version : Version 1.27.1
Platform : Mac OS M2

Basically , it's a query params convert issue.

Yeah, looks like a bug.  Actually amazed it hadn't been hit until now.
Offset is actually a long input, and not just a number to start with, so the PR attached will fix this and the documentat


Screen orientation is wrong on the iPad and large trait devices

There's no need to rotate the screen on the iPad; ideally this should be detected using traits.

This has been fixed as part of the work to support the iPhone SE.


Multiple files with same filename, ZGCTS_BADI_TOGGL.asx.json Cannot find .abapgit.xml - Is this an abapGit repository?

Hello,
Not able to pull this. Getting messages
"Multiple files with same filename, ZGCTS_BADI_TOGGL.asx.json"
and
"Cannot find .abapgit.xml - Is this an abapGit repository?"

Hello
I'm having the same issue. How did you resolve this?
Cheers,


Redirect to search page on 404

On 404, instead grab page title, and redirect to search page for the string they searched for.

what title would we grab here? should we consolidate this issue under https://github.com/cockroachdb/docs/issues/4908


feat: Add Cube and Square primitives

Fixes #73

This change is

Fixes #73.

bors r+

Very small extra management burden since they use the same actual code as the underlying primitive, so felt like OK to add them. They can be useful for describing exact quadtree structures etc.


Scanner isn't scanning

I got two aacounts, one from Google and a PTC one running together.
The map is not showing Pokemon nor Gyms nor Pokestops, not even when I leave it scanning for hours and hours.

your accounts been flagged. solve the captchas on your phone

I have the same problem and have solved the CAPTCHAS???

Same question

Same problem+1


Various scan improvements and re-implement scan results

This PR adds...

Addresses issue with certain sites blocking non-browser user agents
Allow scan to continue for non 2xx entry points
Extract host correctly from URLs that contain port 443 in them to prevent Crawlee from falsely determining that a site is out of domain
Fix bug with not being able to run a custom scan using a custom viewport width from index.js
Allow concurrent scans to happen without error
Correctly limit pages scanned in website scans
Re-implement scan results in the CLI. Current implementation:┌──────────────────────────────────────────┐
│ Scan Summary                             │
│                                          │
│ Must Fix: 2 issues / 22 occurrences      │
│ Good to Fix: 6 issues / 3619 occurrences │
│ Passed: 32800 occurrences                │
└──────────────────────────────────────────┘

Remove deprecated CLI options
Bump version from 0.0.14 to 0.0.15

[x] I've kept this PR as small as possible (~500 lines) by splitting it into PRs with manageable chunks of code
[x] I've requested reviews from 1 reviewer
[x] I've tested existing features (website scan, sitemap, custom flow) in both node index and cli
[x] I've synced this fork with GovTechSG repo
[x] I've added/updated unit tests
[ ] I've added/updated any necessary dependencies in package[-lock].json npm audit, portable installation on GitHub Actions (N.A)

I guess I'll find out soon, but does this incorporate Axe Core 4.7 which has some important updates?


drivers: mipi_dbi: mipi_dbi_spi: change reset pin polarity

Change reset pin polarity for MIPI DBI SPI controller, so that the board
devicetree is responsible for setting the GPIO to active low, and the
driver always sets the pin to a logic 1 to reset the display.
Fixes #68562

Thanks for updating this.
This line needs updating too: https://github.com/zephyrproject-rtos/zephyr/blob/main/dts/bindings/mipi-dbi/zephyr%2Cmipi-dbi-spi.yaml#L29

Tagging for 3.6 since drivers/mipi_dbi/mipi_dbi_spi.c was introduced in this cycle, saves a breaking change against the next release.

This line needs updating too: https://github.com/zephyrproject-rtos/zephyr/blob/main/dts/bindings/mipi-dbi/zephyr%2Cmipi-dbi-spi.yaml#L29. Simply remove "Active low pin."

Description has been updated to clarify pin will be driven high to reset the display


apply prefer_asserts_in_initializer_list lint

I didn't see travis results. Strange, it looks like enableAssertInitializer is not enable. I will have a look tomorrow.

The changes in flutter_tools seem to be blocked by dart-lang/pub#1018 because ci uses pub run test but it runs without assert_initializer.

I'll make a new PR without the flutter_tools changes. But due to dart-lang/pub#1018 and the use of pub run test for flutter_tools there's a real issue because experimental language features set for flutter can not be used inside flutter_tools. (not sure who to /cc for this issue)


[SMALLFIX] Use static imports for standard test utilities in LockReso…

…urceTest.java

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/16947/
Test PASSed.


Add workaround symlink for Kernel32.lib

time crate at this specific version links to Kernel32 so this fixes it. Although they fixed the link name in the later versions, I have encountered this issue today on the latest versions of my direct dependencies.

Thanks!


[Feature]: Onboarding project PAF22

Description
Training
Understand the last year's project, how the different components work together and what their roles and tasks are.
Definition of Done
Understanding the following topics:

[x] Techniques that were used in Perception and Planning
[x] Maybe some aspects that could be improved/redesigned

Change is present in Pull request linked in #4


rectify hack for empty package suffix

This is to rectify the hack of passing in the packageSuffix as "-eventhub-client" with "-"
Instead made the default one with suffix "all" (for all packages)
eg: "install-client-all" instead of "install-client"
@Azure/azure-sdk-eng

Closing this PR as the scripts replacement goes into infinite loop, as discussed with Mike yesterday


Update app.py

The previous dog-facts API was not working.
Updated code to include working API. This API returns animal facts and not only dog facts.
See GH issue here: https://github.com/fermyon/developer/issues/692

Thx @sohanmaheshwar, you will have add the new url endpoint to the [allowed_http_hosts] array in the manifest spin.toml. https://developer.fermyon.com/spin/manifest-reference#the-component-tables

@sohanmaheshwar - You'll need to sign-off the commits git commit -sS

Phew. Took a couple of attempts, but finally the PR is verified with my GPG key.


multiDrag dosent work

<draggable v-model="tableData" tag="tbody" item-key="guid" :multiDrag="true" multiDragKey="ctrl">
<template #item="{ element }">

 {{ element.id }}
{{ element.name }}
{{ element.sport }}

</template>
</draggable>
The lines are dragged, but when the key is released, only one line is moved in the end.

I've got a fork that supports multidrag (https://github.com/david-mohr/vue.draggable.next/tree/multidrag), if there's interest, I can put together a PR

That would be great! I think many people would appreciate that a lot including me

@Nemnon @sadovsf multidrag support PR is here #153


SQL Parsing fails (missing DBLINK support)

moved from https://github.com/K2InformaticsGmbH/dderl/issues/338
SQL does not parse any more, probably since attempt to detect database link @ in table name
select *
from
<EMAIL_ADDRESS>  where
    DMO_MSISDN >= :SQLT_STR_MSISDN
    and
    DMO_MSISDN <= :SQLT_STR_MSISDN_2

Quotes around the whole name are not tolerated by Oracle (name too long) but this works:
select *
from
SIS_DS_ADMIN.TAB_MOBILE@ "SIS.EXASTAG.PIOSCS"
where
DMO_MSISDN >= :SQLT_STR_MSISDN
and
DMO_MSISDN <= :SQLT_STR_MSISDN_2

@c-bik Question: Can we support fully qualified DB link names without quotes?

Solved by #89.


[Question] Querying gridsome.config.js

I've tried to puzzle things together from the official docs, didn't succeed though...
So: How can I query the 'siteUrl' field in gridsome.config.js on a page using ? Does anyone have a working example?
Thanks!

Hi @gitcro ,
the siteUrl should be available in the metadata collection in graphql.
But if it's not filled in the ´gridsome.config.js, it should be null`.
Hope that helps.

In config you need something like this
module.exports = {
siteName: 'Awesome Site',
siteUrl: 'https://awesomesite.com',
metadata: {
siteUrl: 'https://awesomesite.com',
},
.........
}
Then when you want to call the metadata in a .vue file do this:

query {
  metadata {
    siteUrl
  }
}

Print the value inside of
$static.metadata.siteUrl
Print the value inside of

Thanks @joeelia, I did that. But to
this.$static.metadata.siteUrl
inside the

Oh, someone explained it nicely: https://github.com/gridsome/gridsome/issues/306#issuecomment-475967333


Drop Shadow Isn't under Pane

I am using this code:
contentPane.setBorder(new DropShadowBorder(new Color(0, 0, 0), 1, 5, .3f, 12, false, false, true, false));
Which results in this issue:

Note that the shadow sits on the pane and not under it like a border should.
I get the same issue when using:
contentPane.setBorder(new DropShadowBorder());

Hello @KvnXu,
I am away from home during this time and I cannot see your problem before Wednesday evening.
But I have a question for you, what is the effect you want to get by adding that code ??

The shadow is on the pane instead of around it like a border should

There isn't much you can do about that unfortunately. As far as I can tell swing doesn't really support translucent borders as it reserves a "box" for that component including the border so it's impossible for the shadow to overlap with another component in the way you want.
I suggest changing the background colour of the drop shadow to match the red but other than that there isn't much else you can do :/

@KvnXu This could resolve your problem


Decoding error in gimp when using modular with resampling

Describe the bug
While decoding with djxl works fine, gimp shows some weird artifacts when using resampling while encoding.
To Reproduce
Steps to reproduce the behavior:
Encode a file with
cjxl -m -e 9 --resampling=2 test.png test.jxl
Expected behavior
Gimp should decode the files the same as djxl
Screenshots

Environment

OS: Linux
Compiler version: Unknown (Arch Linux binary package)
CPU type: x86_64
cjxl/djxl version string: cjxl v0.6.1 a205468b [AVX2,SSE4,SSSE3]
Gimp version string: GIMP 2.10.32

Thanks for the report! seems like this is related to https://github.com/libjxl/libjxl/issues/1755.

Considering #1755, it seems that you have been using an older version of libjxl. Could you try to check if the error persists at the current head?

I checked with current head, and it seems that the gimp plugin can decode the image flawlessly. Plesae reopen if this can be reproduced with the most recent version of the GIMP plugin.


feat README usage section

This is handy. It'd be great to also have instructions on how to install it using the Extensions tab.

I think people are using the Apply and Restart UI flow, but won't fire the install.py script. So we should recommend they restart the webui.


ddp pretraining

Thank you for opening such good codes.
Could I use ddp to pretrain a model?

Hey!
Sorry that the pretraining part not yet support DDP I think. The current implementation is in DP only. I am not sure whether there is a plan for upgrading to DDP. @andi611 is in charge of the pretraining part, and might give you more information :)

You can use data parallel by using the argument --multi_gpu, see here.
However, we currently don't support DDP at the moment, but surely we can add it in the future.


Recipe App with rails

Created the Recipe app based on the wireframe provided in the project

Add_Models_views_Controllers #11

generate User, Recipe, and Food Models
generate Users, Recipes, and Foods controllers
generate User, Recipe, and Food Views

Create_Login_and_Registration_with_Devise #3

Implement login and registration page, built with devise gem.

Add-Food-Actions-views #4

Should display a list of food added by the logged-in user as in the wireframe (for teams with only 2 people - display also
quantity of a given food).
Should lead to a form that allows users to add new food.

Add_Recipe_details #5

Should lead to recipe details.
If the user is the owner of the recipe, should allow the user to delete

Add_Recipes_action_views #5

Should lead to recipe details.

Add Public Recipes #6

Should display a list of all public recipes ordered by newest as in the wireframe.
Should lead to recipe details.

Add NavBar #10

Create a navigation menu that allows users to open all of the pages you created.

Create Shopping_list #8

Should show the list of food that is missing for all recipes of the logged-in user (compare the list of food for all recipes with
the general food list of that user).
Should count the total food items and total price of the missing food.

Fix n+1 queries #9

Make sure there are no N+1 queries happening.

Removed email confirmation for easy sign up and Added test cases as requested


Double is now f64, leveraging rust's IEEE-754 + optional feature "sets"

This is a continuation of #110.
This should be after #113. Not worth dealing with merge conflicts, I'll just rebase to keep the history clean.

We're currently processing your upload.  This comment will be updated when the results are available.

Rebased and pushed, while allowing all tests to pass. I think the implementation is ready for review, but I'm not too happy with how many #[cfg")] are scattered about.  I took a look at some other crates and the common pattern there seems to be something like
// some_tests.rs
mod generic_tests;
#[cfg(feature = "sets")]
mod tests_with_sets;
...

I wanted to take a look at Error handling and a borrow impl (less heap allocations, requiring a walker). I think that might be the time/place to fix/clean this up.
https://github.com/rust-embedded-community/serde-json-core/blob/9deb2b91ea737df79f33f7536587b59ed5f141ee/src/de/mod.rs#L23
for reference for what I sort of had in mind. These can now be added now that we have non_exhaustive


Feature: Add github action workflow to release new helm version

Description

Add github action workflow that support to release new Helm version if it does not exist

Type of change

New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Merging to a non-release branch, to open a new internal PR off of.


Add a HTML Table template

First of all, thank you for this great application, it really works like a charm!
Synopsis
The aim of this pull request is to add another default template, which would show up under the other default templates in the Template Editor and behave accordingly.
This new template would be a HTML template in table format and it would include almost every custom variable available. I really don't know if this works as it should, but this is what I've done:
Workflow

Modify the HTML source code of a full web page (such as this one, for example) to suit one's taste (here the ASCII art was dropped, the footer was cropped and the header Google Store was changed to Google Play).
Add \n to the beginning of all lines using for example LibreOffice.
Header

Escape the Header with XML-rules (XML Escape).
Escape the Header with Java rules (Java/.Net String Escape - I guess there are too many newlines and carriage returns after this step, so onto the Steps 3 and 4...).
Find the string: \r\n\n and replace it with: \n
Make sure the string ends with only a single instance of \n

Footer

Escape the Footer with XML-rules (XML Escape).
Escape the Footer with Java rules (Java/.Net String Escape - I guess there are too many newlines and carriage returns after this step, so onto the Steps 3 and 4...).
Find the string: \r\n\n and replace it with: \n
Make sure the string doesn't end with either \n or \r

Escape Body with custom Java rules.

Java/.Net String Escape (Again, I guess there are too many newlines and carriage returns after this step, so onto the Steps 2 and 3...)
Find the string: \r\n\n and replace it with: \n
Make sure the string ends with only a single instance of \n
Find: < and replace it with: \u003c
Find: > and replace it with: \u003e

Insert Header, Body and Footer -sections to \res\values\strings.xml (by adding new <item></item> -elements under "stdheaders", "stdformats" and "stdfooters") and give the template a name under "stdformattitles".

Other List My Apps custom templates, which can be manually added to the List My Apps' Template Editor (or used for forking...)

List My Apps Template - Table
List My Apps Template - List
List My Apps Template - Pro
List My Apps Template - Data
List My Apps Template - XML plain
List My Apps Template - XML style
List My Apps Template - JSON

ToDo

I guess also the German localization (\res\values-de\strings.xml) and Italian localization (\res\values-it\strings.xml) should be altered similarly for full deployment.

Notes

To make the added strings more legible, the strings could be first unescaped using Java rules (for example Java/.Net String Escape) and then unescaped using XML-rules (for example XML Escape).
The deleted <item></item> line under "stdfooters" was the sixth item, whereas under the other headers concerning default templates there were  originally just five instances of item.

Questions

In the header and footer sections ("stdheaders" and "stdfooters") of \res\values\strings.xml, is there a difference between
< and \u003c                   or between
> and \u003e                   ?
If one could use either < or \u003c to escape < (and either > or \u003e to escape >) under "stdheaders" and "stdfooters" that would streamline the process of adding new templates a bit.

That looks great @auberginehill & @onyxbits! 😎


Add doc for WFCORE-3447, CLI SSL security commands

Community doc for https://issues.jboss.org/browse/WFCORE-3447

Retest this please

@jfdenise please include this in https://github.com/wildfly/wildfly/pull/10811 and close this one. I think they are both followup on the same core functionality?

Closing it as it has been integrated in https://github.com/wildfly/wildfly/pull/10811 PR.

@kabir , thank-you, done.


SpreadsheetCell Class Help

This may not be the appropriate place to post this and if it isn't please direct me to the place that is, but I'm having trouble understanding how I can edit the value of a spreadsheet's cell and from what I can see there seems to be very little documentation on the module as a whole. I'm trying to set the data in one of the spreadsheet's rows to an array, i.e. cell A2 is array[0], B2  is array[1], etc., but the only thing I've been able to do successfully is add rows and I want to be able to do
for (var i = 0; i < rowData[rowData.length - 1].length; i++) {
    spreadsheet.addRow(1, {columnName[i]:rowData[rowData.length - 2][i]});
}

except instead of adding a row with one cell with data like this does, I want to be able to add one row and fill it with all the elements of the last element of rowData[][]. Once again if this is not the appropriate place to post this please let me know and point me to the correct place. Thanks!

You lost me... Are you trying to add a new row, or edit an existing row?

Sorry, I have a 2-dimensional array called rowData[rowNumber][rowData] and I have a 1-dimensional array for the names of the rows (the strings in the first row) called headers[]. I want to add one row that has all the data in the second dimension of rowData, but what I've ended up doing is creating a loop that adds 42 rows (because headers and rowData's second dimension have a length of 42).

so this is designed to be used with a sheet that has meaningful column headers. So for example, if your sheet looked like
name   | age
theo   | 27
bob    | 22

you can add a new row by doing something like
sheet.addRow(1, { name: 'sally', age: 32 })
Or to edit an existing row you would do something like:
sheet.getRows(1, function( err, rows ){
  rows[0].name = 'theodore';
  rows[0].save();
});

So you see you have to build an object with the keys being the row headers and then call addRow passing the entire object.
var lastRow = rowData[rowData.length - 1];
var rowObject = {};
for (var i=0; i<lastRow.length; i++){
  rowObject[ headers[i] ] = lastRow[i];
}
spreadsheet.addRow( 1, rowObject );

ALSO SIDENOTE: In these cases, the "1" in those calls is telling it to use the first worksheet (tab) in your spreadsheet. However you can also get a reference to the worksheet itself and then omit the index in your calls. For example:
spreadsheet.getInfo( function( err, sheet_info ){
  var sheet1 = sheet_info.worksheets[0];
  sheet.getRows(...);
  sheet.addRow(...);
});


improve homepage and about section

the ui of homepage needs to be changed and make it pleasant for the viewers well i can improve its frontend u can assign it to me thanks !!

@Vardhan-Harsh07 this is backend, create this issue here and I'll assign you.


ITC_Provider error when multiple providers are associated with apple account.

When I was trying to use the tool, I got error status 61. To debug, I directly used the altool notarization command and got this error.
Your Apple ID account is attached to other iTunes providers. You will need to specify which provider you intend to submit content to by using the -itc_provider command. Please contact us if you have questions or need help.
So in this case I have to specify my -itc_provider in altool command.
I got this value from this
/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms/bin/iTMSTransporter -m provider -u XXX -p XXX
We have to supply ShortName to the --asc_provider value in the altool command like this.
xcrun altool --notarize-app -t osx -f <ZIP_NAME> --primary-bundle-id "<BUNDLE_ID>" -u "<APPLE_ACCOUNT>"  --asc-provider "<PROVIDER_SHORT_NAME>" --output-format xml
Let me know, If I should create an PR for this and if you also experienced the same issue.

Resolved this issue, as there is option to add asc_provider in the notarize command. It is not documented and was able to figure out while checking the code.
Better if we can add this to documentation.
Example:-
platform :ios do
  desc "Description of what the lane does"
  lane :app_notarize do
    app_path = 'XYZ.app'
    notarize(package: app_path,
      bundle_id: "com.yourbundle.identifier",
      asc_provider: "YOUR_ITC_PROVIDER_SHORT_NAME")
  end
end

Resolved this issue, as there is option to add asc_provider in the notarize command. It is not documented and was able to figure out while checking the code.
Better if we can add this to documentation.
Example:-
platform :ios do
  desc "Description of what the lane does"
  lane :app_notarize do
    app_path = 'XYZ.app'
    notarize(package: app_path,
      bundle_id: "com.yourbundle.identifier",
      asc_provider: "YOUR_ITC_PROVIDER_SHORT_NAME")
  end
end

What is "notarize"? Can we just use asc_provider inside build_app() command for iOS apps?


Saving a task without title, but a one line description leasds to a crash

Apparently the app assumes there would always be a new line character, which is not the case for a one line description ...

fixed in next release.


Add download and environment caching

This builds upon (and includes) #37.
Adds options to either cache entire environments (envs/myenv directory) or downloads (pkgs directory).
Sorry that this has become essentially a rewrite of most of the code.

I don't mind a rewrite at all if everything keeps working ;)

The thing is that we don't have perfect test coverage here (also I'm not sure how to properly test actions). I will dogfood this to make sure it works, maybe you can do that as well.

@jonashaag Happy to merge this tomorrow morning -- then we can have a look throughout the day if things break for someone.
I was wondering if we should document caching in the Readme as well? That could be cool.

@wolfv if you have the time I'd also appreciate a code review.

Looks like the env cache is working like a charm! 30s vs 3s, congrats!
Do you know why that is skipped on the last test case?

Yes because it's not implemented in Micromamba. It assumes that mamba env update -f env.yml works. See https://github.com/mamba-org/mamba/issues/1455#issuecomment-1032782631 and https://github.com/jonashaag/provision-with-micromamba/blob/fab9c59834cfdd51714550c608124777d2fcd72b/index.js#L180 and https://github.com/jonashaag/provision-with-micromamba/blob/fab9c59834cfdd51714550c608124777d2fcd72b/action.yml#L51

ping @wolfv :)

yep, I read through it all and I am really happy with this! The only thing I was thinking about was the different cache options, if we should give them both to the users -- but probably that's fine! We could say which one we consider the best for what workflow.

Looks like some invalid YAML somewhere? Error: Input does not meet YAML 1.2 "Core Schema" specification: cache-env-always-update

@wolfv fixed!

🎉

Awesome stuff, thanks!


Add Language Extension

We use the built-in XML language currently, which allows the DFDL XSD to be debugged, but also applies to other XML, like an infoset file.
Adding a DFDL extension should give ability to express schemas more precisely and will also support editing and other needs.
Imported from https://github.com/jw3/example-daffodil-vscode/issues/42

This was done in a PR for 1.1.0

For tracking purposes, can you link to the PR that merged this? I guess we forgot to add Closes #XYZ to the commit that fix this.


[schedy] AttributeError: 'str' object has no attribute 'copy'

Hi there,
I tried to configure Schedy and ran into an issue I'm not able to fix.
ErrorLog:
2022-09-20 08:31:18.015770 INFO AppDaemon: Initializing app schedy_heating using class SchedyApp from module hass_apps_loader
2022-09-20 08:31:18.024084 INFO schedy_heating: *** Welcome to schedy 0.8.3, running on AppDaemon 4.2.1.
2022-09-20 08:31:18.025158 INFO schedy_heating: ***
2022-09-20 08:31:18.026166 INFO schedy_heating: *** This is an app from the hass-apps package.
2022-09-20 08:31:18.027167 INFO schedy_heating: ***   DOCS: https://hass-apps.readthedocs.io/en/stable/
2022-09-20 08:31:18.028162 INFO schedy_heating: ***
2022-09-20 08:31:18.029178 INFO schedy_heating: *** You like this app, want to honor the effort put into
2022-09-20 08:31:18.030163 INFO schedy_heating: *** it, ensure continuous development and support?
2022-09-20 08:31:18.031186 INFO schedy_heating: *** Then please consider making a donation.
2022-09-20 08:31:18.032217 INFO schedy_heating: ***   DONATE: https://hass-apps.readthedocs.io/en/stable/#donations
2022-09-20 08:31:18.033159 INFO schedy_heating: *** Thank you very much and enjoy schedy!
2022-09-20 08:31:18.034113 INFO schedy_heating: ***
2022-09-20 08:31:18.035059 INFO schedy_heating: --- Validating the app's configuration.
2022-09-20 08:31:18.042860 WARNING schedy_heating: ------------------------------------------------------------
2022-09-20 08:31:18.043076 WARNING schedy_heating: Unexpected error running initialize() for schedy_heating
2022-09-20 08:31:18.043207 WARNING schedy_heating: ------------------------------------------------------------
2022-09-20 08:31:18.043718 WARNING schedy_heating: Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/appdaemon/app_management.py", line 165, in initialize_app
    await utils.run_in_executor(self, init)
  File "/usr/lib/python3.10/site-packages/appdaemon/utils.py", line 337, in run_in_executor
    response = future.result()
  File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.10/site-packages/hass_apps/common.py", line 96, in initialize
    self.cfg = self.Meta.config_schema(cfg)  # pylint: disable=not-callable
  File "/usr/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/lib/python3.10/site-packages/voluptuous/validators.py", line 215, in _run
    return self._exec(self._compiled, value, path)
  File "/usr/lib/python3.10/site-packages/voluptuous/validators.py", line 339, in _exec
    v = func(path, v)
  File "/usr/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
    return schema(data)
  File "/usr/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 386, in validate_mapping
    cval = cvalue(key_path, value)
  File "/usr/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
    return schema(data)
  File "/usr/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/lib/python3.10/site-packages/voluptuous/validators.py", line 215, in _run
    return self._exec(self._compiled, value, path)
  File "/usr/lib/python3.10/site-packages/voluptuous/validators.py", line 339, in _exec
    v = func(path, v)
  File "/usr/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 386, in validate_mapping
    cval = cvalue(key_path, value)
  File "/usr/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
    return schema(data)
  File "/usr/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/lib/python3.10/site-packages/voluptuous/validators.py", line 215, in _run
    return self._exec(self._compiled, value, path)
  File "/usr/lib/python3.10/site-packages/voluptuous/validators.py", line 339, in _exec
    v = func(path, v)
  File "/usr/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 635, in validate_sequence
    cval = validate(index_path, value)
  File "/usr/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
    return schema(data)
  File "/usr/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/lib/python3.10/site-packages/voluptuous/validators.py", line 215, in _run
    return self._exec(self._compiled, value, path)
  File "/usr/lib/python3.10/site-packages/voluptuous/validators.py", line 339, in _exec
    v = func(path, v)
  File "/usr/lib/python3.10/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
    return schema(data)
  File "/usr/lib/python3.10/site-packages/hass_apps/schedy/config.py", line 159, in schedule_rule_pre_hook
    rule = rule.copy()
AttributeError: 'str' object has no attribute 'copy'
2022-09-20 08:31:18.043933 WARNING schedy_heating: ------------------------------------------------------------

Here is my Schedy Configuration:
schedy_heating:  # This is our app instance name.
  module: hass_apps_loader
  class: SchedyApp

  # Enable debugging output
  debug: true

  reset_at_startup: true

  actor_type: thermostat
  actor_templates:
    default:
        supports_hvac_modes: true
        hvac_mode_on: 'auto'
        hvac_mode_off: 'off'

  rescheduling_delay: 10

  expression_environment: |
    def heating_mode():
        return state("input_select.heating_mode")
    def heizung_wartung():
        return state("input_boolean.heizung_wartung")

  watched_entities:
  - input_select.heating_mode

  schedule_prepend:
  - x: "IncludeSchedule(schedule_snippets['snippet_wartung']) if heizung_wartung() == 'on' else Next()"
  - x: "IncludeSchedule(schedule_snippets['snippet_aus']) if float(state('sensor.openweathermap_temperature') or 0) > 23 else Next()"
  - x: "Mark(OFF, Mark.OVERLAY) if not (is_empty(filter_entities('binary_sensor', state='on', window_room=room_name))) else Next()"
  - x: "Mark(OFF, Mark.OVERLAY) if not (is_empty(filter_entities('binary_sensor', state='on', window_room2=room_name))) else Next()"
  - x: "IncludeSchedule(schedule_snippets['snippet_abwesend']) if heating_mode() == 'abwesend/zeitgesteuert' else Next()"
  - x: "IncludeSchedule(schedule_snippets['snippet_aus']) if heating_mode() == 'aus' else Next()"

  schedule_snippets:

    snippet_aus:
    - value: 5

    snippet_durchgehend_wohnen:
    - value: 21

    snippet_wartung:
    - v: 20
      weeks: "*/2"
      rules:
        - weekdays: 4
          rules:
          - { start: "10:29", end: "10:30", v: 35 }
          - { start: "10:30", end: "10:31", v: 5 }
          - { start: "0:00", end: "0:00+1d" }

    snippet_schlafen:
    ## Winter ##
    - v: 18
      months: "!5-8"
      rules:
      - { start: "06:00", end: "06:15", v: 19 }
      - { start: "06:15", end: "07:00", v: 20 }
      - { start: "07:00", end: "20:00", v: 18.5 }
      - { start: "20:00", end: "21:29", v: 19 }
      - { start: "21:29", end: "21:30", v: 17 }
      - { start: "0:00", end: "0:00+1d" }
    ## Sommer ##
    - v: 5
      months: 5-8
      rules:
      - { start: "08:00", end: "20:00", v: 17 }
      - { start: "0:00", end: "0:00+1d" }

    snippet_wc:
    ## Winter ##
    - v: 17
      months: "!5-8"
      rules:
      - { start: "07:00", end: "19:00", v: 20 }
      - { start: "0:00", end: "0:00+1d" }
    ## Sommer ##
    - v: 5
      months: 5-8
      rules:
      - { start: "07:00", end: "19:00", v: 18 }
      - { start: "0:00", end: "0:00+1d" }

    snippet_abwesend:
    ## Winter ##
    - v: 16
      months: "!5-8"
      rules:
      - { start: "10:00", end: "20:00", v: 18 }
      - { start: "0:00", end: "0:00+1d" }
    ## Sommer ##
    - v: 5
      months: 5-8

    snippet_standard:
    ## Winter ##
    - v: 17
      months: "!5-8"
      rules:
      - { start: "06:15", end: "23:00", weekdays: "1-5", v: 20 }
      - { start: "07:30", end: "23:30", weekdays: "!1-5", v: 20 }
      - { start: "0:00", end: "0:00+1d" }
    ## Sommer ##
    - v: 5
      months: 5-8
      rules:
      - { start: "07:00", end: "22:00", v: 20 }
      - { start: "0:00", end: "0:00+1d" }

    snippet_standard_2:
    ## Winter ##
    - v: 17
      months: "!5-8"
      rules:
      - { start: "07:00", end: "21:00", weekdays: "1-5", v: 20 }
      - { start: "07:30", end: "22:00", weekdays: "!1-5", v: 20 }
      - { start: "0:00", end: "0:00+1d" }
    ## Sommer ##
    - v: 5
      months: 5-8
      rules:
      - { start: "07:00", end: "22:00", v: 20 }
      - { start: "0:00", end: "0:00+1d" }

    snippet_gast:
    ## Winter ##
    - v: 17
      months: "!5-8"
      rules:
      - { start: "07:00", end: "21:00", weekdays: "1-5", v: 20 }
      - { start: "07:30", end: "22:00", weekdays: "!1-5", v: 20 }
      - { start: "0:00", end: "0:00+1d" }
    ## Sommer ##
    - v: 5
      months: 5-8
      rules:
      - { start: "07:00", end: "20:00", v: 20 }
      - { start: "0:00", end: "0:00+1d" }

    watched_entities:
    - input_select.heating_mode
    - sensor.openweathermap_temperature
    - input_boolean.heizung_wartung

#################

  rooms:

####### #########

#   Gästezimmer:
#     rescheduling_delay: 15
#     watched_entities:
#     - sensor.mobiler_sensor_temperature
#     - binary_sensor.bibliothek_sensor_dachfenster_contact
#     - binary_sensor.gastezimmer_fenster_links_contact
#     - binary_sensor.gastezimmer_fenster_links_contact
#     - binary_sensor.gastezimmer_dachfenster_gross_contact
#     - binary_sensor.gastezimmer_dachfenster_klein_contact
#     actors:
#       climate.gastezimmer_heizung:
#         min_temp: 5
#         max_temp: 35

#     schedule:
#     - x: "IncludeSchedule(schedule_snippets['snippet_aus']) if float(state('sensor.mobiler_sensor_temperature') or 0) > 22 else Next()"
#     - x: "IncludeSchedule(schedule_snippets['snippet_gast']) if heating_mode() == 'anwesend/gast' else Next()"
#     - x: "IncludeSchedule(schedule_snippets['snippet_abwesend']) if heating_mode() == 'anwesend/zeitgesteuert' else Next()"
#     - x: "IncludeSchedule(schedule_snippets['snippet_durchgehend_wohnen']) if heating_mode() == 'durchgehend aktiv' else Next()"

####### #########

  Schlafzimmer:
    rescheduling_delay: 20
    watched_entities:
    - sensor.master_bedroom_multisensor_temperature
    - binary_sensor.bedroom_window
    actors:
      climate.master_bedroom_thermostat:
        min_temp: 5
        max_temp: 35
        off_temp: 5
        supports_hvac_modes: false
    schedule:
    - x: "IncludeSchedule(schedule_snippets['snippet_aus']) if float(state('sensor.master_bedroom_multisensor_temperature') or 0) > 21 else Next()"
    - x: "IncludeSchedule(schedule_snippets['snippet_schlafen']) if heating_mode() == 'anwesend/gast' else Next()"
    - x: "IncludeSchedule(schedule_snippets['snippet_schlafen']) if heating_mode() == 'anwesend/zeitgesteuert' else Next()"
    - x: "IncludeSchedule(schedule_snippets['snippet_durchgehend_wohnen']) if heating_mode() == 'durchgehend aktiv' else Next()"

####### #########

  WC:
    rescheduling_delay: 10
    watched_entities:
    - binary_sensor.bathroom_window
    actors:
      climate.master_bathroom_thermostat:
        min_temp: 5
        max_temp: 35
    schedule:
    - x: "IncludeSchedule(schedule_snippets['snippet_aus']) if float(state('sensor.openweathermap_temperature') or 0) > 21 else Next()"
    - x: "IncludeSchedule(schedule_snippets['snippet_wc']) if heating_mode() == 'anwesend/gast' else Next()"
    - x: "IncludeSchedule(schedule_snippets['snippet_wc']) if heating_mode() == 'anwesend/zeitgesteuert' else Next()"
    - x: "IncludeSchedule(schedule_snippets['snippet_durchgehend_wohnen']) if heating_mode() == 'durchgehend aktiv' else Next()"

####### #########

Found the problem.
indentation error

Issue can be closed


⚠ Cioos Pacific ERDDAP has degraded performance

In c5256c4, Cioos Pacific ERDDAP (https://data.cioospacific.ca/erddap/index.html) experienced degraded performance:

HTTP code: 503
Response time: 13989 ms

Resolved: Cioos Pacific ERDDAP performance has improved in aab6a1b after 5 minutes.


overriding css in components globally

Bug, feature request, or proposal:
feature request
What is the expected behavior?
being able to set styling on component for whole app
What is the current behavior?
@include mat-button-theme($candy-app-theme);
allows for changing colors etc but more control is needed.
eg. to set box-shadow for all buttons

Closing, since Material components have the ViewEncapsulation set as None.  You can  include a global styling file in your application that targets your buttons to make any styling changes you would like to.

So the only way is to override, ok.. was kind of hoping for a cleaner solution using variables but I'm great full for the framework.. really like it 👌😁👍


Materials should be a subclass of list

Users should be able to do
my_materials = festim.Materials()

tungsten = festim.Material(....)

my_materials.append(tungsten)

To do so, the current Materials class:
https://github.com/festim-dev/FESTIM/blob/621769f7bf56af1bf6a08612c0cd6d269e8f93da/festim/materials/materials.py#L10-L18
Needs to become:
class Materials(list):

    def __init__(self, *args):
        super().__init__(*args)

Then instead of doing:
my_materials = festim.Materials(......)

for mat in my_materials.materials:
    ...

one would do:
my_materials = festim.Materials(......)

for mat in my_materials:
    ...

Moreover, this:
https://github.com/festim-dev/FESTIM/blob/621769f7bf56af1bf6a08612c0cd6d269e8f93da/festim/materials/materials.py#L78
would become:
for mat in self:

@RemDelaporteMathurin. Could you please clarify the practical benefit of it a bit more? As I understand, this enhancement will make more like a built-in class, so the users won't need to manually create lists every time and work with them, but rather use documented methods of the FESTIM class (I assume that the docs also will be modified) + some code refactoring. Am I correct?

It is super annoying for users to write

my_materials = F.Materials([....])

second_material = my_materials.materials[1]

thanks to this change, this will become much simpler:
my_materials = F.Materials([....])

second_material = my_materials[1]

Same for boundary conditions, traps, derivedquantities, exports, and others.

it will clear a lot of the code base

Ok, I can try. How we'll do it:  for all classes at once or iteratively?

let's start with Materials

@RemDelaporteMathurin, what do you think of TXT Exports considering the deprecation?

@RemDelaporteMathurin, what do you think of TXTExports considering its deprecation?

I would ignore it


chore: bump celestia-app rc4

Overview
I'm getting a failed unit test, TestBlobModule, locally but I'm also getting that on main
Checklist

[x] New and updated code has appropriate documentation
[x] New and updated code has new and/or updated testing
[x] Required CI checks are passing
[x] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

The test became flaky recently and will be fixed by #2256


Frontend code should not break if the return route has no trip. It should ignore the route and proceed

By Daniel: Line of code to fix
https://github.com/datagovsg/beeline-frontend/blob/f729fe12401a0cd3669e4df154cbb624800abc11/beeline/services/data/CrowdstartService.js#L70
beeline/services/data/CrowdstartService.js:70
let firstTripDate = new Date(crowdstart.trips[0].date)

As explained, front end should skip routes that do not have any trips.


No way to format heading or spacing of individual charts within Waffle

Feature request:
I like the idea of the Waffle chart and end-users really like the idea too, but I cannot use it in its current form, because there is no way to alter or format the headings of the individual charts or alter the spacing between them.
For my current use case, the headings for the applicable categories are quite long, so they overlap each other, which looks horrible and is unreadable.
Would you please add formatting options, so we can update the text size, and alter the spacing between charts, within the Waffle chart visual?
TIA!

I am having the same issue. I like the visual but the text overlapping is a deal-breaker for the end-user.

I am having the same issue. I like the visual but the text overlapping is a deal-breaker for the end-user.

Yes, I got around it on the chart I was using by adding an acronym column to the dimension table and adding that to the chart instead, but of course, that's not always possible or appropriate.


Add OpenAPI spec and generated client

Purpose
Integrate the new Twitter (X) OpenAPI specification (Twitter API V2) by generating the client, types, and utilities for the updated API.
Changes

Added the new Twitter (X) OpenAPI spec (Twitter API V2) to the project.
Generated client code based on the new API specification.
Generated type definitions for the updated API endpoints.
Generated utility functions to support the new client and type definitions.

we also need to add a sanitations.md file including all the sanitations we did on the original spec and, the exact command we used to generate the client using the openAPI tool. (A example PR with the expected file structures can be found in https://github.com/ballerina-platform/module-ballerinax-asana/pull/2/files)

@vish-mv lets add the missing docs/license.txt file.


Any plans to automate installation with HACS or Add-ons store?

FYI: https://hacs.xyz/docs/publish/start

How would the configuration file be edited then? There is no visual editor.


Unify types of sequences in datasets

Often, types of sequences (mostly lists and sets) are used interchangeably throughout the project. E.g., consider heuristics.cpe_matches of CommonCriteriaCert and FIPSCertificate. We should unify (or even enforce) how this objects are being handled.
Special care must be taken when (de)serializing.

I will also say that this is causing me issues on the website side of things. I am taking these serializable objects and doing to_dict to them to obtain a representation that I am then diffing against their representation taken from the database (to see whether they changed and whether we should notify subscribers of changes). However, I am observing very high rates of "change" events that are not really change events, just non-determinism in array ordering in what should really be a set.
Part of the blame is on my side of things as to get a "pure" dictionary out of a ComplexSerializable object I am recursively walking its to_dict and applying transformations and one of these turns a set into a list, thus introducing part of the non-determinism.
However, I think a good solution goes deeper. I think having a "recursive" variant of the to_dict method on the ComplexSerializable type that gives a canonical/deterministic (and JSON-safe) dictionary representation of the object and its contained objects, would be quite great and not that much work. I think I can just fix my function to be deterministic, test it a bit and upstream it into the tool itself.

@J08nY should we settle on some coordinated progress on this or did you resorted to treating it yourself in the end? I was thinking of getting together for 30 minutes and writing down what we should do. This is the last "refactoring" issue that we currently have and honestly, I would need more input from your side for successful resolution.

However, you proposed some recursive to_dict methods that I don't understand at the moment :).

Just to explain this a bit, the current to_dict   only serializes the object it is applied on and keeps other ComplexSerializableTypes in the resulting dict intact. Then the to_json processes those recursively and does the full serialization. That is all that I was talking about and it is somehow orthogonal to the serialization issues mentioned.
However, one more issue that I had to resolve at some point is that of serialization of hashable types into non-hashable dicts. What happened when I was hand rolling serialization was that I had several levels of serialization and one level still had sets but did not have ComplexSerializableTypes which lead to an issue if at the level above a ComplexSerializableType object was in a set as its serialized dict was not hashable.
Anyway we can have the discussion and try to resolve the serialization systematically.


autocomplete with onblur, input field does not equal valid when it is

This post contains a few more details, but I have also added this question to Stack Overflow: http://stackoverflow.com/questions/33001630/polymer-autocomplete-onblur-input-field-does-not-equal-valid-when-it-is
If I type in an input that has been typed in before, a series of autocomplete values may come up. If I select one using the up/down arrow keys and pressing the Enter key, the element's invalid attribute does not change to false even though the input is valid, however, the input element is stylized as being valid without the red text/underline.
If I tab or click outside of the element (onblur) it does not cause the field to validate. If I click back inside or tab back into the field, backspace one letter and retype, the elements invalid attribute will be properly set.
I am using the invalid property on the element in JavsScript; element.invalid and checking if it is true or false.
This has been tested with a regular paper-input and gold-zip-input in Safari 8.0.7. Autocomplete suggestions don't appear in Chrome, so it seems not to be an issue there.
As a possible work around, I would like to disable autocomplete for certain input fields. I can't find any documentation to do this. The HTML5 autocomplete attribute has no effect. Is there any way to turn off autocomplete in Polymer?

Just updated after reading over. I think what I meant to say was "If I select one using the up/down arrow keys and pressing the Enter key, the element's invalid attribute does not change to FALSE even though the input is valid..."

Just to be clear, if I give my form element an id, and I set autocomplete to off in javascript, it has no effect: document.getElementById("myForm").setAttribute( "autocomplete", "off" )

Maybe you could add an example (Plunkr, JSbin...) with the paper-input.

Are you using a Polymer element like <paper-input>? You mentioned <gold-input> in your StackOverflow post.
If you're using an element, I can move this issue into the element's repo if you can provide a JSBin example.

Closing due to age, please reopen if this is still an issue.


Make storybooks more impartial

I love the initiative to support other frameworks, and in that line of work, I would like to see less about react/vue and more about the storybooks as a whole. For example:

The repo description is about React, only.
The storybooks source code, even if react based, should not have react namespaces in the result. There are data named as data-reactroot which when using Vue lead to believe you are using the wrong version.
The docs and site are about React 99%, even the Vue part is referencing at some point react instead of Vue.
FW specific addons should be moved to a different section.

I am sure you are aware of this and working toward a transition, which takes time, but seems there are some easy task that could be done already. Like updating the repo description and docs.
I can definitely help about this if required.

There are data named as data-reactroot which when using Vue lead to believe you are using the wrong version.

Can you please elaborate? data-reactroot is attached and used by React DOM, not by Storybook app itself.
Anyway, feel free to contribute!

Ok, I don't know react works, we can skip that one :)

Definitely something we're working on. It's a continues process of improving the codebase.
I think for the most part the points made in the OP have been addressed, If you have specific places you can point us to to improve: please let us know!


Blue tab indicator to indicate edits is inconsistent with editor indicator

If you make a change inside an editor with auto save off, a blue line is drawn on the tab to indicate that there are changes. At the same time, a green line is drawn in the editor gutter to show the location of the changes in the editor. These colours should probably be consistent?

Does this issue occur when all extensions are disabled?: Yes/No

Doesn't looks like they should be synced:

This should be applied for files that aren't tracked in version control so there in no green "added lines" if there is no diff
If I've only removed lines from file - indicator in gutter will be red.
Red border on tab might be associated with "errors" state (used as color for files with errors in Explorer), not with removed lines.

The editor indicators on the left are SCM indicators, and those are different from the modified tabs indicator. SCM decorators can have a combination of added (green), modified (blue) or deleted (red):

I don't think there is much we can change here.

Sounds good.


[Bug]: Experiment Start with REST

liionpack Version
0.3.7
Python Version
Python 3.10.6
Describe the bug
Error reported when simulate an experiment starting with rest.
Steps to Reproduce
Execute following code:
Np = 16
Ns = 1
Iapp = 90

# Generate the netlist
netlist = lp.setup_circuit(Np=Np, Ns=Ns, Rc=1e-10, Ri=1e-10, Rb=1e-10)

# Define additional output variables
output_variables = ["Volume-averaged cell temperature [K]", "Volume-averaged Ohmic heating [W.m-3]",
                    "Negative electrode volume-averaged concentration [mol.m-3]" ,"Voltage [V]"]

# Define a cycling experiment using PyBaMM
experiment = pybamm.Experiment(
    [
        "Rest for 1 minutes",
        f"Charge at {Iapp} A for 10 minutes",
        f"Discharge at {Iapp} A for 10 minutes",
    ],
    period="10 seconds",
)

# Define the PyBaMM parameters
parameter_values = pybamm.ParameterValues("Chen2020")
inputs = {"Total heat transfer coefficient [W.m-2.K-1]": np.ones(Np * Ns) * 10}

# Solve the pack
output = lp.solve(
    netlist=netlist,
    sim_func=lp.thermal_simulation,
    parameter_values=parameter_values,
    experiment=experiment,
    output_variables=output_variables,
    initial_soc=0.2,
    inputs=inputs,
    nproc=os.cpu_count(),
    manager="casadi",
)

Expected behaviour
No response
Relevant log output
No response
Additional context
No response

Hi @JayYDG thanks for raising the issue. This is to do with the internal resistance being calculated based on the difference between cell voltage and ocv. These are equal if the system starts at rest. There may be better ways to fix this but I've tested forcing the internal resistance to be some small number in this situation and it seems to work. I'll push the code into a branch if you wouldn't mind taking a look.


Iam trying to make a game, and iam following yt video. But the code given, errors every imports and many other things such as the dimension, FPS. PS i have installed the pygames extenion and i have code open for settings

Example SS.pdf
Type: Bug
import pygame, sys
from settings import *
class Game:
def init(self):
	# general setup
	pygame.init()
	self.screen = pygame.display.set_mode((WIDTH,HEIGTH))
	pygame.display.set_caption('Aura and the expedition of life')
	self.clock = pygame.time.Clock()

def run(self):
	while True:
		for event in pygame.event.get():
			if event.type == pygame.QUIT:
				pygame.quit()
				sys.exit()

		self.screen.fill('black')
		pygame.display.update()
		self.clock.tick(FPS)

if name == 'main':
game = Game()
game.run()
VS Code version: Code 1.91.1 (f1e16e1e6214d7c44d078b1f0607b2388f29d729, 2024-07-09T22:06:49.809Z)
OS version: Windows_NT x64 10.0.19045
Modes:

import pygame, sys
from settings import *
class Game:
def init(self):
	# general setup
	pygame.init()
	self.screen = pygame.display.set_mode((WIDTH,HEIGTH))
	pygame.display.set_caption('Aura and the expedition of life')
	self.clock = pygame.time.Clock()

def run(self):
	while True:
		for event in pygame.event.get():
			if event.type == pygame.QUIT:
				pygame.quit()
				sys.exit()

		self.screen.fill('black')
		pygame.display.update()
		self.clock.tick(FPS)

if name == 'main':
game = Game()
game.run()

@MasterAdrian29
Thank you for opening the issue. Sorry to hear you are experiencing the issues. It appears to be specific to VS Code editor and tools. It is best to reach out VS Code team at https://github.com/microsoft/vscode/issues
Regards,
VS Marketplace Team