Group Farming Guild timers in "Farming Contract" Time Tracking tab

Currently, the Farming Contract tab of the Time Tracking plugin simply redirects to the tab that contains your current farming contract, e.g. clicking on it while having a herb patch-related contract opens the herb tab, with the icon next to the herb.
It would be nice to have the option to instead list all Farming Guild-related patches in one tab, so that after multiple pre-plants it can be easy to see which patches need to be replanted, and it can be clear what is already pre-planted.

Duplicate of #3056


add --save-api-json option

This branch adds a new option called --save-api-json that will save a copy of the game details JSON data AS-IS into a file. Useful for custom front-ends or custom scripting afterwards.

Looking at this more, I feel like a better name is needed. Let me change it.

Updated. I was confusing it with another similar branch that I'm working on.


docs: update Cadence Pause blog post with electron 9 release

To be in sync with Chromium, we have decided to move our Electron 9 stable date to Chromium's M83 stable date, May 19th.
ref https://github.com/electron/electron/pull/22863

Should we also mention something along the lines of "Moving forward, we will be basing stable releases on odd-numbered Chromium releases" ?

I think we can omit that details to give us leeway in future release dates

@erickzhao good call. maybe we can add a line under that with something like "edit (2020-04-01): Electron 9 stable will be released on May 19th, 2020" ?


Incorrect host in .pgpass file for post_init script when using unix_socket_directories

What happened?
When postgresql.parameters.unix_socket_directories is set and postgresql.use_unix_socket is true, patroni creates .pgpass file using socket path as host, while the documentation says that we should set host to hostname in .pgpass file when connecting through UNIX socket. This causes the post_init script to terminate with an error due to an authentication error, which in turn leads to a cluster bootstrap failure.
Example of .pgpass file created by patroni:
/var/run/postgresql:5432:*:postgres:password

How can we reproduce it (as minimally and precisely as possible)?
Patroni configuration:
bootstrap:
  ...
  post_bootstrap: /etc/patroni/post_bootstrap.sh

postgresql:
  authentication:
    replication:
      password: password
      username: replicator
    superuser:
      password: password
      username: postgres
  ...
  parameters:
    ...
    unix_socket_directories: /var/run/postgresql
  pgpass: /tmp/.pgpass_patroni
  use_unix_socket: true

Content of /etc/patroni/post_bootstrap.sh:
#!/bin/bash

echo "\c template1
CREATE EXTENSION pg_stat_statements;" \
| psql -d "$1"

What did you expect to happen?
Patroni should create .pgpass file with host set to localhost:
localhost:5432:*:postgres:password

Patroni/PostgreSQL/DCS version

Patroni version: 3.3.2 (package patroni-3.3.2-1PGDG.rhel9.noarch.rpm from postgresql-common yum repository)
PostgreSQL version: 12.20
DCS (and its version): etcd Version: 3.5.15 Git SHA: 9a5533382 Go Version: go1.21.12 Go OS/Arch: linux/amd64
Python: 3.9.18

Patroni configuration file
# Properties like host names, IPs, passwords and scope are redacted

scope: example
name: example-db-02
namespace: /service/

log:
  level: INFO
  loggers:
    patroni.postmaster: INFO
    urllib3: INFO
  max_queue_size: 1000
  traceback_level: ERROR

restapi:
  listen: <IP_ADDRESS>:8008
  connect_address: <IP_ADDRESS>:8008

etcd3:
  hosts: ['<IP_ADDRESS>:2379', '<IP_ADDRESS>:2379', '<IP_ADDRESS>:2379']

bootstrap:
  dcs:
    loop_wait: 10
    master_start_timeout: 300
    maximum_lag_on_failover: 1048576
    maximum_lag_on_syncnode: 1048576
    postgresql:
      parameters:
        max_connections: 400
      use_pg_rewind: false
      use_slots: true
    retry_timeout: 10
    ttl: 30
  initdb:
  - locale: C.utf8
  - auth: scram-sha-256
  method: initdb
  post_bootstrap: /etc/patroni/post_bootstrap.sh

postgresql:
  authentication:
    replication:
      password: password
      username: replicator
    superuser:
      password: password
      username: postgres
  bin_dir: /usr/pgsql-12/bin
  connect_address: <IP_ADDRESS>:5432
  create_replica_methods:
  - basebackup
  data_dir: /pgdata/12/data
  listen: <IP_ADDRESS>:5432
  parameters:
    password_encryption: scram-sha-256
    shared_preload_libraries: pg_stat_statements, pgaudit, pg_stat_kcache
    stats_temp_directory: /pgstats
    unix_socket_directories: /var/run/postgresql
  pg_hba:
  - local all postgres scram-sha-256
  - local postgres postgres_exporter scram-sha-256
  - host postgres postgres <IP_ADDRESS>/32 scram-sha-256
  - host replication replicator <IP_ADDRESS>/32 scram-sha-256
  - host postgres postgres <IP_ADDRESS>/32 scram-sha-256
  - host replication replicator <IP_ADDRESS>/32 scram-sha-256
  pgpass: /tmp/.pgpass_patroni
  remove_data_directory_on_diverged_timelines: false
  remove_data_directory_on_rewind_failure: false
  use_unix_socket: true

tags:
  nofailover: false
  noloadbalance: false
  clonefrom: false
  nosync: false

patronictl show-config
loop_wait: 10
master_start_timeout: 300
maximum_lag_on_failover: 1048576
maximum_lag_on_syncnode: 1048576
postgresql:
  parameters:
    max_connections: 400
  use_pg_rewind: false
  use_slots: true
retry_timeout: 10
ttl: 30

Patroni log files
2024-08-22 19:01:50,836 INFO: Selected new etcd server http://<IP_ADDRESS>:2379
2024-08-22 19:01:50,842 INFO: No PostgreSQL configuration items changed, nothing to reload.
2024-08-22 19:01:50,887 INFO: Lock owner: None; I am example-db-02
2024-08-22 19:01:50,976 INFO: trying to bootstrap a new cluster
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "C.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
creating directory /pgdata/12/data ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... Europe/Moscow
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
initdb: warning: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
Success. You can now start the database server using:
   /usr/pgsql-12/bin/pg_ctl -D /pgdata/12/data -l logfile start
2024-08-22 19:01:51.894 MSK [127846] LOG:  pgaudit extension initialized
2024-08-22 19:01:51.895 MSK [127846] LOG:  Auto detecting pg_stat_kcache.linux_hz parameter...
2024-08-22 19:01:51.895 MSK [127846] LOG:  pg_stat_kcache.linux_hz is set to 1000000
2024-08-22 19:01:51.895 MSK [127846] LOG:  starting PostgreSQL 12.20 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3), 64-bit
2024-08-22 19:01:51.895 MSK [127846] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
2024-08-22 19:01:51.896 MSK [127846] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-08-22 19:01:51,908 INFO: postmaster pid=127846
2024-08-22 19:01:51.941 MSK [127846] LOG:  redirecting log output to logging collector process
2024-08-22 19:01:51.941 MSK [127846] HINT:  Future log output will appear in directory "/pgerrorlogs".
/var/run/postgresql:5432 - rejecting connections
/var/run/postgresql:5432 - accepting connections
2024-08-22 19:01:51,961 INFO: establishing a new patroni heartbeat connection to postgres
2024-08-22 19:01:52,013 INFO: running post_bootstrap
Password for user postgres:
psql: error: FATAL:  password authentication failed for user "postgres"
2024-08-22 19:01:52,038 ERROR: post_init script /etc/patroni/post_bootstrap.sh returned non-zero code 2
2024-08-22 19:01:52,038 INFO: removing initialize key after failed attempt to bootstrap the cluster
2024-08-22 19:01:52,109 INFO: renaming data directory to /pgdata/12/data.failed
Traceback (most recent call last):
 File "/usr/bin/patroni", line 33, in <module>
   sys.exit(load_entry_point('patroni==3.3.2', 'console_scripts', 'patroni')())
 File "/usr/lib/python3.9/site-packages/patroni/__main__.py", line 344, in main
   return patroni_main(args.configfile)
 File "/usr/lib/python3.9/site-packages/patroni/__main__.py", line 232, in patroni_main
   abstract_main(Patroni, configfile)
 File "/usr/lib/python3.9/site-packages/patroni/daemon.py", line 174, in abstract_main
   controller.run()
 File "/usr/lib/python3.9/site-packages/patroni/__main__.py", line 192, in run
   super(Patroni, self).run()
 File "/usr/lib/python3.9/site-packages/patroni/daemon.py", line 143, in run
   self._run_cycle()
 File "/usr/lib/python3.9/site-packages/patroni/__main__.py", line 201, in _run_cycle
   logger.info(self.ha.run_cycle())
 File "/usr/lib/python3.9/site-packages/patroni/ha.py", line 1989, in run_cycle
   info = self._run_cycle()
 File "/usr/lib/python3.9/site-packages/patroni/ha.py", line 1806, in _run_cycle
   return self.post_bootstrap()
 File "/usr/lib/python3.9/site-packages/patroni/ha.py", line 1690, in post_bootstrap
   self.cancel_initialization()
 File "/usr/lib/python3.9/site-packages/patroni/ha.py", line 1683, in cancel_initialization
   raise PatroniFatalException('Failed to bootstrap cluster')
patroni.exceptions.PatroniFatalException: Failed to bootstrap cluster

PostgreSQL log files
2024-08-22 19:01:51.943 MSK [127850] FATAL:  the database system is starting up
2024-08-22 19:01:51.947 MSK [127846] LOG:  database system is ready to accept connections
2024-08-22 19:01:52.014 MSK [127860] LOG:  AUDIT: SESSION,1,1,FUNCTION,DO,,,"DO $$
        BEGIN
            SET local synchronous_commit = 'local';
            PERFORM * FROM pg_catalog.pg_authid WHERE rolname = 'postgres';
            IF FOUND THEN
                ALTER ROLE ""postgres"" WITH SUPERUSER LOGIN PASSWORD 'password';
            ELSE
                CREATE ROLE ""postgres"" WITH SUPERUSER LOGIN PASSWORD 'password';
            END IF;
        END;$$",<none>
2024-08-22 19:01:52.019 MSK [127860] LOG:  AUDIT: SESSION,1,2,ROLE,ALTER ROLE,,,"ALTER ROLE ""postgres"" WITH SUPERUSER LOGIN PASSWORD <REDACTED>",<none>
2024-08-22 19:01:52.037 MSK [127867] FATAL:  password authentication failed for user "postgres"
2024-08-22 19:01:52.037 MSK [127867] DETAIL:  Connection matched pg_hba.conf line 3: "local all postgres scram-sha-256"
2024-08-22 19:01:52.082 MSK [127846] LOG:  received immediate shutdown request
2024-08-22 19:01:52.083 MSK [127860] WARNING:  terminating connection because of crash of another server process
2024-08-22 19:01:52.083 MSK [127860] DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2024-08-22 19:01:52.083 MSK [127860] HINT:  In a moment you should be able to reconnect to the database and repeat your command.
2024-08-22 19:01:52.084 MSK [127855] WARNING:  terminating connection because of crash of another server process
2024-08-22 19:01:52.084 MSK [127855] DETAIL:  The postmaster has commanded this server process to roll back the current transaction and exit, because another server process exited abnormally and possibly corrupted shared memory.
2024-08-22 19:01:52.084 MSK [127855] HINT:  In a moment you should be able to reconnect to the database and repeat your command.
2024-08-22 19:01:52.084 MSK [127846] LOG:  archiver process (PID 127856) exited with exit code 2
2024-08-22 19:01:52.095 MSK [127846] LOG:  database system is shut down

Have you tried to use GitHub issue search?

[X] Yes

Anything else we need to know?
I think this problem is related to call_post_bootstrap() in bootstrap.py:
https://github.com/patroni/patroni/blob/805bdcfe50f238af6f60d358c4bdf84631395442/patroni/postgresql/bootstrap.py#L218-L223
The write_pgpass function is called with a statically specified hostname + connection parameters for psycopg, which in turn are set in config.py:
https://github.com/patroni/patroni/blob/805bdcfe50f238af6f60d358c4bdf84631395442/patroni/postgresql/config.py#L1071-L1084
Here unix_local_address OR tcp_local_address is selected as the connection host, so when the resulted self._postgresql.connection_pool.conn_kwargs is passed to write_pgpass in bootstrap.py, in fact its arguments looks like this:
env = self._postgresql.config.write_pgpass({'host': 'localhost', 'host': '/var/run/postgresql',
        'port': '5432', 'password': 'password', 'dbname': 'postgres',
        'fallback_application_name': 'Patroni', 'connect_timeout': 3,
        'options': '-c statement_timeout=2000', 'user': 'postgres'})

So the first host parameter is being overriden by the second.
I was able to work around this by changing the order of arguments passed to write_pgpass() like this:
env = self._postgresql.config.write_pgpass({**r, 'host': 'localhost'})

But it will not work if UNIX sockets are not used and the server is not listening on localhost or <IP_ADDRESS>, so it might be better to add logic to write_pgpass() like this:
def write_pgpass(self, record: Dict[str, Any]) -> Dict[str, str]:
    if self._config.get('use_unix_socket'):
        record['host'] = 'localhost'
    content = self._pgpass_content(record)
    ...

And remove statically defined host parameter from write_pgpass() call in bootstrap.py.

@Tereorik thanks for report.
Could you please verify if the following patch helps:
diff --git a/patroni/postgresql/config.py b/patroni/postgresql/config.py
index bcab56a0..9d1710c0 100644
--- a/patroni/postgresql/config.py
+++ b/patroni/postgresql/config.py
@@ -914,7 +914,7 @@ class ConfigHandler(object):
             hosts = map(escape, filter(None, map(str.strip,
                         (record.get('host', '') or '*').split(','))))  # pyright: ignore [reportUnknownArgumentType]
             record = {n: escape(record.get(n) or '*') for n in ('port', 'user', 'password')}
-            return '\n'.join('{host}:{port}:*:{user}:{password}'.format(**record, host=host) for host in hosts)
+            return '\n'.join('{host}:{port}:*:{user}:{password}'.format(**record, host=escape(host)) for host in hosts)

     def write_pgpass(self, record: Dict[str, Any]) -> Dict[str, str]:
         """Maybe creates :attr:`_passfile` based on connection parameters.

Oh... scratch my previous message. The escape(host) will not do anything useful and will not help.

The host name localhost is also searched for when the connection is a Unix-domain socket connection and the host parameter matches libpq's default socket directory path.

We are dealing with a weird corner-case.
The localhost will be search when we connect using libpq:

without specifying the host (libpq will use default socket directory path in this case)
to the host that matches default socket directory path.

The second case is less obvious and you are facing exactly this one.
For all remaining cases the pgpassfile may perfectly contain directory name in the field of host (e.g. /tmp or similar).
Unfortunately we can't get the value of default socket directory path from libpq.
But, what probably can do - if we detect that host starts with '/' character then add yet another line to pgpass with localhost.


Should support arm64

Docker image should have arm64

@zz if you're still interested, I have an ARM64 multi-arch image here: https://github.com/LukeChannings/docker-deno (lukechannings/deno on DockerHub)

@zz if you're still interested, I have an ARM64 multi-arch image here: https://github.com/LukeChannings/docker-deno (lukechannings/deno on DockerHub)

Wow, that's great @LukeChannings .
So this (more or less) "just works" if you pass the --platform argument? Am I reading that correctly?
https://github.com/LukeChannings/docker-deno/blob/c4401697918050fd5a1f91ca3b21d7fcd62c5eea/.github/workflows/build-deno.yaml#L46
Is there a reason to do it like you do (downloading from releases) rather than as a multi-step?

Wow, that's great @LukeChannings .
So this (more or less) "just works" if you pass the --platform argument? Am I reading that correctly?
https://github.com/LukeChannings/docker-deno/blob/c4401697918050fd5a1f91ca3b21d7fcd62c5eea/.github/workflows/build-deno.yaml#L46
Is there a reason to do it like you do (downloading from releases) rather than as a multi-step?

Hey @hayd,
The --platform argument is for compiling x86/x86_64/aarch64, etc. It won't cross-compile for Windows/Darwin.
I push the artefact to the release so that the deno binary can be downloaded independently, since there is not yet an official aarch64 builds.
Of course, aarch64 builds of 1.7.0 aren't available atm because rusty_v8 isn't available yet and I've had trouble compiling it manually.

Hey @hayd,
The --platform argument is for compiling x86/x86_64/aarch64, etc. It won't cross-compile for Windows/Darwin.
I push the artefact to the release so that the deno binary can be downloaded independently, since there is not yet an official aarch64 builds.
Of course, aarch64 builds of 1.7.0 aren't available atm because rusty_v8 isn't available yet and I've had trouble compiling it manually.

Is there any update on this? I need to deploy Deno >= 1.12 in production and I'm having difficulty testing locally on my arm64 machine

The --platform argument is for compiling x86/x86_64/aarch64, etc. It won't cross-compile for Windows/Darwin.

I guess I never followed this, does this mean we wouldn't be able to build aarch64 on the denoland's ubuntu-large in CI?
That said, my suspicion is that maintaining arm64 will be much more palatable once there is native support for arm64 in GitHub actions (azure). Until then it's unlikely denoland will be able to maintain it. Though.. I don't speak for the team that is just my hunch.

The latest is that @LukeChannings is still maintaining https://github.com/LukeChannings/deno-arm64
and building arm64 binaries :muscle:

Any update on this?

ridiculous

Any update here? I would like to use Deno in the coming project running on arm64 servers.

Hmm, recommendation here is to use a third party image. Same as how the alpine build is based on a third party image.
I'd like to see alpine removed from the official docker repository and arm64 builds added.

I think this can be closed


Strip newlines from the builder key

This fix would be a sanity check for #116, and complements deis/workflow#300.

I can't tell what this references, and if this issue remains to be a problem. Can someone please update? Is it necessary for Beta?

Not near my computer, but iirc this is not necessary for beta.
Sent from my iPhone

On Feb 22, 2016, at 14:29, Matt Butcher<EMAIL_ADDRESS>wrote:
I can't tell what this references, and if this issue remains to be a problem. Can someone please update? Is it necessary for Beta?
—
Reply to this email directly or view it on GitHub.


Feature: More noise options

OTG is still fairly limited when it comes to biome noise, being restricted to only biome height, a few forms of volatility, and CHC.
Ideally we could offer users the ability to write their own noise equations for biomes, however that may be difficult to implement without the use of third party APIs.

See also #720


Proxies not set per request?

I have been using proxies for a while (with scrapy-spash). That was a static one and the problem is now regards rotating proxies. I have the following code:
proxies = ['<IP_ADDRESS>:8080', '<IP_ADDRESS>:8080', '<IP_ADDRESS>:8080', '<IP_ADDRESS>:3128']
for i in range(0,3):
   yield SplashRequest(callback = self.parse, endpoint ='execute', meta={'dont_retry' : False,}, args={'lua_source':
   self.luaScripts['checkIP'], 'proxy' : 'http://' + proxies[i],
   'timeout': 90}, dont_filter=True)

The proxy used is always the first proxy specified (in this case, <IP_ADDRESS>:8080). This seems quite strange to me. Note that self.luaScripts['checkIP'] is a lua script that goes to https://httpbin.org/ip.
Why is it only the first proxy specified that is used in ALL your SplashRequests? How can you specify different proxies per request as with Scrapy requests (i.e. meta['proxy'])?
Even request.body has different proxies (as set per request) - so this only makes it even stranger that only the one set in the first request is being used for all future SplashRequests...
It also happens if I use splash:set_proxy in the script.

You could use scrapy-proxies
https://github.com/aivarsk/scrapy-proxies/blob/master/README.md
And configure settings.py
Proxy mode
0 = Every requests have different proxy
1 = Take only one proxy from the list and assign it to every requests
2 = Put a custom proxy to use in the settings
PROXY_MODE = 0
El lun., 25 mar. 2019 17:55, stever123<EMAIL_ADDRESS>escribió:

I have been using proxies for a while (with scrapy-spash). That was a
static one and the problem is now regards rotating proxies. I have the
following code:
proxies = ['<IP_ADDRESS>:8080', '<IP_ADDRESS>:8080', '<IP_ADDRESS>:8080', '<IP_ADDRESS>:3128']
for i in range(0,3):
yield SplashRequest(callback = self.parse, endpoint ='execute', meta={'reqid' :
'ID{0}'.format(i), 'download_slot' : '{0}'.format(i), 'dont_retry' : False,}, args={'lua_source':
self.luaScripts['checkIP'], 'proxy' : 'http:// + proxies[i]',
'timeout': 90}, dont_filter=True)
The proxy used is always the first proxy specified (in this case,
<IP_ADDRESS>:8080). This seems quite strange to me. Note that
self.luaScripts['checkIP'] is a lua script that goes to
https://httpbin.org/ip.
Why is it only the first proxy specified that is used in ALL your
SplashRequests? How can you specify different proxies per request as with
Scrapy requests (i.e. meta['proxy'])?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/scrapy-plugins/scrapy-splash/issues/211, or mute the
thread
https://github.com/notifications/unsubscribe-auth/Agwyu0_v5jZQ4GVXtfWHHQ7yr9d94djWks5vaP9xgaJpZM4cHYOy
.

Thanks man! But the problem is with Splash - the proxy is set at the first SplashRequest ().. I do not see how that would change it; "scrapy-proxies" seems to be about Scrapy only. It does not happen with normal Scrapy requests, so I do know how to use different proxies with those requests... Therefore, I do not see how that would solve it :/ Any elaboration?

https://github.com/TeamHG-Memex/scrapy-rotating-proxies/issues/4
El lun., 25 mar. 2019 22:11, stever123<EMAIL_ADDRESS>escribió:

Thanks man! But the problem is with Splash - the proxy is set at the first
SplashRequest ().. I do not see how that would change it; "scrapy-proxies"
seems to be about Scrapy only. It does not happen with normal Scrapy
requests, so I do know how to use different proxies with those requests...
Therefore, I do not see how that would solve it :/ Any elaboration?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/scrapy-plugins/scrapy-splash/issues/211#issuecomment-476379104,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Agwyu-gbOobnkVkkOV4Kl8gtd8JZKOa8ks5vaTt3gaJpZM4cHYOy
.

Yes I have read that (always do your research before asking for anybody's time :-) ) but no solution is found. And "request.meta['splash']['args']['proxy'] instead of request.meta['proxy']" is tried and " instead of using this proxy for requests to Splash it may pass it as an argument to Splash" is also tried. As I said: "It also happens if I use splash:set_proxy in the script"; I would of course do this by passing ports and hosts as arguments to the Splash script. But again, the main struggle is that it seems like Splash is only allowing one proxy per "session" - which is also looks like when you check its implementation, like this.

Sure, you are researching but perhaps it is better to read about lua.
https://www.lua.org/docs.html
https://github.com/scrapy-plugins/scrapy-splash/issues/88
El lun., 25 mar. 2019 23:03, stever123<EMAIL_ADDRESS>escribió:

Yes I have read that (always do your research before asking for anybody's
time :-) ) but no solution is found. And
"request.meta['splash']['args']['proxy'] instead of request.meta['proxy']"
is tried and " instead of using this proxy for requests to Splash it may
pass it as an argument to Splash" is also tried. As I said: "It also
happens if I use splash:set_proxy in the script"; I would of course do this
by passing ports and hosts as arguments to the Splash script. But again,
the main struggle is that it seems like Splash is only allowing one proxy
per "session" - which is also looks like when you check its implementation,
like this
https://github.com/scrapinghub/splash/blob/3cba485e603998e6325277d1298e98ace1378f09/splash/proxy.py
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/scrapy-plugins/scrapy-splash/issues/211#issuecomment-476395038,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Agwyu6BBVIbQYpKSRHRXjtgbIhGGhaWVks5vaUefgaJpZM4cHYOy
.

I have read two whole books about just Lua. That is indeed not the problem - I have been working with it for many years. I do not see why the problem would be related to Lua... When setting request.meta['splash']['args'['proxy'] no additional code is needed in your script; it is sent through the HTTP API and handed by Splash.

So the reason why it did not work was because I was sending multiple SplashRequests concurrently with different proxies and for some reason, it seems like Splash cnanot handle that. It works when completing one request at a time. Unfortunately, this solution does not scale very well, so if anyone has a solution to this "concurrency-proxies" problem, please let me know :)

You could use multiple Splash instances, and use one proxy with each, for concurrency.
Nonetheless, since concurrency was the problem, could you close this issue?


Pasting output of terraform graph into web interface results in Invalid graph detected!

I can't seem to get blast-radius working with the output of terraform graph.
Steps to reproduce:

Run terraform graph > graph.out
Run the blast-radius-fork Docker container with docker run --rm -it -p 8000:5000 --tmpfs /data:ro --security-opt apparmor:unconfined --cap-add=SYS_ADMIN ianyliu/blast-radius-fork --serve
Copy the contents of graph.out
In the blast-radius web interface, click on the keyboard icon and paste the file contents.
Observe the error Invalid graph detected! Would you like to reload the page?

Has anyone been able to get this working properly?

@calebworks Sorry for the late reply, could you send over the graph you pasted?


Add uniformly controlled rotations to docs

Summary
Adds the uniformly controlled rotation classes to the docs, which were found to be missing while prepping the 0.20.1 patch release.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 2 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.008%) to 84.181%

Files with Coverage Reduction
New Missed Lines
%

qiskit/qpy/binary_io/circuits.py
2
88.44%

qiskit/pulse/library/waveform.py
3
89.36%

Totals

Change from base Build<PHONE_NUMBER>:
-0.008%

Covered Lines:
53727

Relevant Lines:
63823

💛  - Coveralls


Use a unix socket if on linux

This uses a unix socket for the storage port if running on linux, in my tests, this produced a 2-3x tick speed increase even with multiple active bots going.

@artch - this is a pretty simple change that really does perform better.

:+1: Been running it on my private server for weeks now.


Update qdldl version to match the one used in upstream submodule

Even if I created this feedstock ~30 hours ago, I already forgot to make sure that the qdldl version used in meta.yaml needs to be manually aligned with the one specified in the osqp version submodule.
Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Wouldn't that be an argument to have a separate libqdldl recipe?

Wouldn't that be an argument to have a separate libqdldl recipe?

Wouldn't that be an argument to have a separate libqdldl recipe?

Yes, this is indeed my plan, to remove all the vendored dependencies . From the discussion in https://github.com/oxfordcontrol/osqp/issues/85 I always tought that the vendored dependencies would have been necessary in any case to support the codegeneration functionalities, but looking more in depth the code generation is something available just at the Python/MATLAB level, so perhaps there will be no need in the end for having a vendored qdldl in this repo.

Wouldn't that be an argument to have a separate libqdldl recipe?

Yes, this is indeed my plan, to remove all the vendored dependencies . From the discussion in https://github.com/oxfordcontrol/osqp/issues/85 I always tought that the vendored dependencies would have been necessary in any case to support the codegeneration functionalities, but looking more in depth the code generation is something available just at the Python/MATLAB level, so perhaps there will be no need in the end for having a vendored qdldl in this repo.


3-legged Oauth for my Twitter Python script

I have the below basic python script and I would like to use the 3-legged Oauth that the Twitter API makes available to allow anyone to sign in with their Twitter account and use the script.
At the moment they can simply enter their Keys/Tokens to use it but I would like a standard Twitter user to be able to use it and not just a developer who knows these.
import tweepy

print('Please enter your Consumer Key')
consumer_key = input()
print('Please enter your Consumer Secret')
consumer_secret = input()
print('Please enter your Access Token')
key = input()
print('Please enter your Access Secret')
secret = input()

auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(key, secret)
api = tweepy.API(auth, wait_on_rate_limit=True)

screen_name = auth

for follower in api.followers(screen_name):
    print(follower.screen_name)

Do I have to use my script in a web app to make this possible or is there something I can add to the script for this authorisation?
I would like it to work similarly to a third party app that you would grant access to get/post from your twitter.``

What did you enter as the callback URL in twitter app settings?

I've rewritten the authentication documentation with https://github.com/tweepy/tweepy/commit/f9a722bae8cce368b9f8fd447c418e1034c32178, which should hopefully answer this question.
You should look into using PIN-based OAuth. Otherwise, you'll have to use a callback URL.


I cant uptade my PoB

I tried deleting everything and re-download but everytime i open it starts an update wich never completes. Always stuck at some point. What can i do to fix it?

Me too.
Update check Failed
SSL connect error

Not a fix but an ugly workaround - disable SSL checks completely for PoB.
 This will be overwritten if you update PoB.


Implementing Bigtable Cluster.list_tables().

This uses the table stub instead of the cluster stub. This
method is actually talking to a different service than
every method until now.
Also implementing Table.__eq__ so table comparison succeeds
in unit tests.

LGTM


File name with specials characters [#,%] fail using azcopy

Which version of the AzCopy was used?
Note: The version is visible when running AzCopy without any argument
10.16.2
Which platform are you using? (ex: Windows, Mac, Linux)
Windows
What command did you run?
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
azcopy rm "//test_special_#6^&yt_88" --> Number of File Transfers: 0
azcopy rm "//test_special$6^&yt_88" --> Number of File Transfers: 0
azcopy rm "//test_special%6^_&_yt_88" --> Failed
Note: Using powershell script to run azcopy commands.
What problem was encountered?
azcopy failed when using special character '%' in file name that was stored in azure storage account.
Special characters # and $ in filename cause Number of File Transfers: 0.
How can we reproduce the problem in the simplest way?
when using special character '%' in file name, all acopy commands fail.
Have you found a mitigation/solution?
No
If Azure storage account is able to save blobs with special characters in file name,  azcopy should allow the same for transfers and remove files with special characters. Please assist if specials characters needs to treated separately when passing to azcopy commands.

Hi @veedi ! I am able to successfully remove files/folders with special characters using AzCopy. Could you please share your full command?
For reference, this is what my command looks like:
azcopy rm "https://[account-name].blob.core.windows.net/[container-name]?[SAS]" --recursive

Hi @siminsavani-msft,
Command:
azcopy login
azcopy rm "https://XXXXX.blob.core.windows.net/XXXXX-XXXX/test_special_#4$%6^&_yt_88.txt" --log-level=DEBUG
Error message:
Error: invalid source type Local to delete. azcopy support removing blobs/files/adls gen2
screenshot fyr

Hi @veedi, these characters will have to be url encoded. Please retry the operation with appropriate url.

Thanks @nakulkar-msft , encoding file name worked.


Rework reminders data to be more compact and useful

Overview
Separate the action to take into it's own field and construct the 'Todo here. Try: action here' construction.

Work for this issue will begin begin on branch work-liquid-labs/cloudsite/137.


Edit project structure & configuration

What's done:

edit project structure & configuration
add craco for overriding webpack config to enable fs module
use remote to import native Node API modules
enable nodeIntegration at BrowserWindow to activate remote

@smatskevich-bsuir
Check src/utils/serialport.js for example how to use modules with JS & JSDoc
Another option is actually common - use TS


Support for react-dnd 15.x

I was upgrading my dependencies, and I wasn't able to upgrade to react-dnd 15 because this package is not supporting that.
@ttt43ttt  Would you accept a PR to add 15.x support?

I think this is already closed because the PR is merged and released.


Switch to tsup with imported json

@vscheuber - this is a deeper change

Upgrade Node to v18
Change build completely from babel to tsup
Import all json files in the "production" code. I note that the MockForgeRockApi still uses import.meta.env and readFileSync and I'm ignoring that
Modify the build in the pipeline

I'm not sure how precisely to test that the new package is fit for consumers. This may be something that you know better how to test. However, I think this version of the code should operate a lot better for packaging in binary with FrodoCLI.
We should also note that the typescript code comes up with a lot of "compile" errors - things which really don't follow the prescribed types. This isn't something I've introduced, but represents general risks around the code. Worth looking at longer-term.

@ashleyfrieze , thank you so much for this PR! @hfranklin and his team are working on the bundling. tsup looks really promising but I believe they are going down the esbuild path.

@vscheuber - I agreed to do this with @hfranklin on the last call. tsup is a superset of esbuild and I firmly believe this approach will work really well with the frodo cli changes.

Hey @hfranklin - please go ahead and do it the way you'd prefer to. If it works for you, then I'm delighted.
My next step will be to try to bump axios when this is done. Hopefully the work I did has been helpful!

@ashleyfrieze It was very helpful. I split into two changes so we can complete the import meta changes before changing the build.

merged with additional changes in pr/405 (#412). Thank you, @ashleyfrieze, for getting us on the right track! Your PR was extremely helpful!


Update order of exercises in CMakeLists.txt

Please review the changes, these changes are related to this #3 issue.

Thanks @rahul007-bit


Handle sass.NULL returned from the importer via done()

Whenever done() is called we should check for the sass.NULL
value as well.
While here, allow calling done(null) to anticipate
removal of the sass.NULL one day.
Closes https://github.com/sass/node-sass/pull/1308
Fixes https://github.com/sass/node-sass/issues/1296

Since this doesn't introduce any BC breaks I'm :ship:


Sorted string representations to fix flaky tests AnnotationBundleKeyTest

Setup:
Java version: openjdk <IP_ADDRESS>
Maven version: Apache Maven 3.6.3
Test Failure
The test com.fasterxml.jackson.jakarta.rs.base.cfg.AnnotationBundleKeyTest#testWithClassAnnotations can fail because the test use java.class.getAnnotations() and the order of the objects returned may not be necessarily maintained. This can be detected by utilizing the Nondex plugin.
Steps to reproduce:

git clone https://github.com/FasterXML/jackson-jakarta-rs-providers
mvn install -pl base -am -DskipTests
Run the tests
mvn -pl base test -Dtests=com.fasterxml.jackson.jakarta.rs.base.cfg.AnnotationBundleKeyTest#testWithClassAnnotations
Run the test with the Nondex tool and observe the test results
mvn -pl base edu.illinois:nondex-maven-plugin:2.1.1:nondex -Dtest=com.fasterxml.jackson.jakarta.rs.base.cfg.AnnotationBundleKeyTest#testWithClassAnnotations

Test passes when Running Nondex in ONE mode -DnondexMode=ONE (Assumes deterministic implementation of code but shuffled once different from underlying implementation)
Test fails when Running Nondex in FULL mode -DnondexMode=FULL (shuffles differently for each call)

Root Cause:
When running Nondex for the test, the below error occurs stating that the array elements differed at the first index.
Internal error: should never differ: arrays first differed at element [1]; expected:<@com.fasterxml.jackson.annotation.JsonPropertyOrder(alphabetic=false, value={"a", "b"})> but was:<@com.fasterxml.jackson.annotation.JsonIgnoreProperties(allowSetters=false, value={}, ignoreUnknown=false, allowGetters=false)
The test verifies if the annotations on the Helper class are consistent and if the order of the annotations returned by Helper.class.getAnnotations() is preserved. The test testWithClassAnnotations fails because java.class.getAnnotations() returns an array of java.lang.annotation.Annotation objects but the order of the objects may not be maintained. The implementation checks if the annotations are consistent with every call, which might cause the test to fail.
Fix:
java.lang.class.getAnnotations() returns an array but the order may not be maintained. The Fix involves sorting the Annotations object based on their string representation and then, performing the comparision. Sorting the array enforces consistency in comparing the objects.

The fix is minimal, which is good. But, I suggest one small change in the PR description. Under the Fix section, it is mentioned that Class.getAnnotations() doesn't maintain the order. The official documentation provides no such specification. So, you could mention that the order might change in the future depending on the implementation.

The original developer doesn't provide any comments on that _checkwith() so I guess this is indeed something that he didn't notice, but leaving there on purpose. Therefore, simple bug, simple fix. Good job!

@SaaiVenkat  ACK.

Hello, This is not from MP1. this is one of yang's patches

Since Yang will be responsible for this test, please mark this as "Patch" in your tentative-pr.csv. Thanks!

Added a column and marked it as patch

Very good fix, and a good explanation. Good to me.


feat:(chips) migrate chips component

Describe pull-request
Migration of chips component (Native)
Solving issue
Fixes: AB#2394
How to test
Add description how to test if possible

Go to the storybook link below
Check in components -> chips
Check that the design aligns with figma.

Screenshots
Additional context

@mJarsater I rebased the branch on master, so youll have to reset the local on your computer branch

Nice work buddy! The only thing we can touch upon during a devChecin is a number of stories. I want to hear what others think of it :)

Yeah I agree, we really need to align on the amount of stories we have for each component. 😄


2024-05-07-clml

OpenReview Submission Thread

Checklist before opening a PR

[x] I am opening a pull request against the main branch of the 2024 repo.
[x] The title of my PR is exactly the name of my markdown file

i.e. _posts/2024-05-07-[SUBMISSION NAME].md would require a PR name 2024-05-07-[SUBMISSION NAME]

[x] I have anonymized my post: my author's list is Anonymous, and there is no potential
content which can reveal my/my collaborators identities.
[x] My post matches the formatting requirements, including (but not limited to):

[x] I have ONLY MODIFIED files in the following locations (failure to do so will result in
your PR automatically being closed!):

a Markdown (or HTML) file in _posts/ with the format _posts/2024-05-07-[SUBMISSION NAME].md (or .html)
static image assets added to assets/img/2024-05-07-[SUBMISSION NAME]/
interactive HTML figures added  to assets/html/2024-05-07-[SUBMISSION NAME]/
citations in a bibtex file in assets/bibliography/2024-05-07-[SUBMISSION NAME].bib

[x] I have a short 2-3 sentence abstract in the description field of my front-matter (example)
[x] I have a table of contents, formatted using the toc field of my front-matter (example)
[x] My bibliography is correctly formatted, using a .bibtex file as per the sample post

Any other comments

Dear Chairs,
I'm sadly not finished with this yet. I'll ping again when it's fully done. Over the weekend 🤞🙏
Thanks so much and apologies for the delay!
Best wishes,
Andreas

no worries, let me know once you're done! BTW you'll always be able to send PRs to update the post / fix typos 😉

Thank you so much! I have pushed a camera-ready now that should be good enough 🤞🙏  It is a big step improvement from the version that was rightly criticized by the reviewers, and I hope the changes address their concerns satisfactorily. I have centered the article more on a comparison between the different possible information-theoretic metrics with a larger background section and added schematic plots and an actual experiment. I might add more but this has been a very time intensive camera-ready project 😅

PS: I have updated the title and abstract as well, but cannot edit those in OpenReview anymore it seems.

merging, thanks!!!


Hide Scrollbar

Looks better and upon hitting space, doesn't bring the page down.

Thanks for contributing!


REST Web Service integration with Embed Tomcat

Hi John,
I work on an AppSensor integration in my existing software architecture but unfortunately failed.
My app based on the jhipster stack(https://jhipster.github.io) and is running on a Embed Tomcat 8(Spring security, Spring MVC REST +Jackson).
I read the AppSensor getting started tutorial and extend my libs as described in your github examples.
    <properties>
	<appsensor.version>2.3.0</appsensor.version>
</properties>

	<dependency>
		<groupId>org.owasp.appsensor</groupId>
		<artifactId>appsensor-storage-in-memory</artifactId>
		<version>${appsensor.version}</version>
	</dependency>

	<dependency>
		<groupId>org.owasp.appsensor</groupId>
		<artifactId>appsensor-analysis-reference</artifactId>
		<version>${appsensor.version}</version>
	</dependency>

	<dependency>
		<groupId>org.owasp.appsensor</groupId>
		<artifactId>appsensor-reporting-simple-logging</artifactId>
		<version>${appsensor.version}</version>
	</dependency>

	<dependency>
		<groupId>org.owasp.appsensor</groupId>
		<artifactId>appsensor-access-control-reference</artifactId>
		<version>${appsensor.version}</version>
	</dependency>

	<dependency>
		<groupId>org.owasp.appsensor</groupId>
		<artifactId>appsensor-integration-cef-syslog</artifactId>
		<version>${appsensor.version}</version>
	</dependency>

	<dependency>
		<groupId>org.owasp.appsensor</groupId>
		<artifactId>appsensor-configuration-stax</artifactId>
		<version>${appsensor.version}</version>
	</dependency>

	<dependency>
		<groupId>org.owasp.appsensor</groupId>
		<artifactId>appsensor-geolocation-geoip2</artifactId>
		<version>${appsensor.version}</version>
	</dependency>

	<dependency>
		<groupId>org.owasp.appsensor</groupId>
		<artifactId>appsensor-ws-rest-server</artifactId>
		<version>${appsensor.version}</version>
	</dependency>

In your examples you always use „spring-boot-starter-jersey“ but I use „spring-boot-starter-tomcat“.
Each HTTP Request throws following exception:
[INFO] org.glassfish.jersey.internal.ServiceFinder - Running in a non-OSGi environment [INFO] org.glassfish.jersey.server.ApplicationHandler - Initiating Jersey application, version Jersey: 2.8 2014-04-29 01:25:26... [ERROR] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/] - StandardWrapper.Throwable java.lang.NoSuchMethodError: org.glassfish.jersey.server.ResourceConfig$State.configureAutoDiscoverableProviders(Lorg/glassfish/hk2/api/ServiceLocator;Z)V
I locate that you use the JAX-RS-WS Jersey implementation in your appsensor-ws-rest-server-2.3.0.jar.
Does the AppSensor only work with jersey implementation for the „REST Web Service“ deployment model, or am I doing something wrong in my configuration? Do you have any ideas?
Any help would be greatly appreciated
Kindly regards
Hendrik

@HendrikStein Thanks for reaching out! Glad to hear you're trying to integrate, and we'll do our best to help you be successful.
I actually think you may be ok. Really, the part that uses the appsensor-ws-rest-server is the backend. It's really meant to be run as a separate service. Your application (presumably the business app that's built on jhipster, would actually be the rest client.
If you look at this slide ( http://www.slideshare.net/jtmelton/building-selfdefending-applications-with-owasp-appsensor-javaone-2016#48 ), the appsensor sample server would be the circle in the middle labeled "appsensor" and your app based on jhipster would be one of the apps on the left side ("app 1" for example). Then your app would send events to appsensor over REST as a client.
If you're interested in building an instance of the appsensor REST server based on tomcat, we can consider that, but I don't think that's really necessary for this case.
Hope that helps, and let me know if it makes sense.

@jtmelton Thanks for your answer. Yes, your explanation make sense. I will run the appsensor-ws-rest-server as an own service and jersey will be fine. So the appsensor REST server based on tomcat is really not necessary.
Kindly regards

Awesome! Feel free to reach out if you have any further questions.


[Suggestion] Please add a way to disable the repellent enchant on mobs

Please, would you kindly add a way to disable that repellent enchant on mobs, makes exploring dungeons impossible and on reddit, it turns out it crashes some servers that use mob spawners with a fake player to kill the mobs (mob masher in mob grinding utils and I'm guessing probably mechanical users from ExUtils 2)

Already fixed in Dev

and a dupe. #4745

Good to see this will be fixed soon, I didn't know if it was a good idea to add a config as a suggestion at the same time, turns out I was wrong.
Maybe add something on the dark suit that could protect us from this, just an idea that got in my mind, if we're wearing the full enderio armor, we could be protected from theses enchants.


The issuer option is not included in latest realease

Hi,
Just a minor issue, I think the issuer option in generateSecret method was not included in latest release..

I am using 2.0.0 and I can confirm even though I am sending issuer parameter, the function generateSecret is NOT including the parameter in otpauth_url.

same issue

generateSecret does not accept issuer as an input.
Instead, use the otpauthURL function and set label to ${issuer}:${name} and issuer to ${issuer}.
Note that you should not use generateSecret with name set to ${issuer}:${name} because it will only put the issuer in the label, not both the label and issuer parameter as recommended.
Source: https://github.com/google/google-authenticator/wiki/Key-Uri-Format


chore: system tests for gax

Introducing system tests for gax. The test does the following:

clones video intelligence, Pub/Sub, and Speech, and checks out their latest releases;
npm link local gax;
run system tests for the cloned packages;
display coverage.

I expect it will make updating and/or refactoring gax less scary.
Changes to CircleCI config for synthtool: googleapis/synthtool#114.

[x] Tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

It even works in Kokoro!
FYI, here is the coverage of gax code by those system tests:
-------------------------|----------|----------|----------|----------|-------------------|
File                     |  % Stmts | % Branch |  % Funcs |  % Lines | Uncovered Line #s |
-------------------------|----------|----------|----------|----------|-------------------|
All files                |    39.15 |    21.91 |    43.98 |    36.98 |                   |
 GoogleError.ts          |      100 |      100 |      100 |      100 |                   |
 api_callable.ts         |    70.09 |    53.06 |    76.67 |    68.18 |... 52,359,403,411 |
 bundling.ts             |    13.46 |        0 |    12.12 |     11.5 |... 70,571,572,583 |
 gax.ts                  |     68.8 |    49.51 |    64.29 |    68.29 |... 63,665,666,669 |
 grpc.ts                 |    71.77 |    46.51 |       75 |    72.17 |... 58,360,361,363 |
 index.ts                |      100 |      100 |      100 |      100 |                   |
 longrunning.ts          |    78.47 |    61.02 |    86.21 |    77.37 |... 64,369,370,429 |
 operations_client.ts    |    65.79 |    16.67 |    64.29 |    63.89 |... 30,432,433,436 |
 paged_iteration.ts      |    24.47 |        5 |    33.33 |    21.98 |... 07,208,209,212 |
 parser_extras.ts        |    23.08 |        0 |        0 |    23.08 |... 94,113,114,115 |
 path_template.ts        |    16.22 |        0 |     9.09 |    15.07 |... 89,190,192,195 |
 path_template_parser.ts |      1.8 |        0 |     7.69 |      1.8 |... 30,632,633,636 |
 routing_header.ts       |    33.33 |      100 |        0 |       50 |                50 |
 streaming.ts            |    37.18 |     8.33 |    31.82 |    34.72 |... 96,200,204,208 |
-------------------------|----------|----------|----------|----------|-------------------|


Settings should persist at the DCS user level

It appears that all "settings" (org, language, font sizes, book/chapter/verse, layout, card settings) are persisted at the browser level.
User settings should be persisted, but on a DCS user basis, so each user account maintains control over their own individual settings.
DoD: Logging in as a different user gives the user's settings and not the previous user's settings.

@cckozie you mean a different door43 username, correct?

@birchamp - Yes, I was referring to DCS username.

v0.9.0 build 736dc08
Tested with two user accounts. Settings are persisted per user account as expected.

This partially works correctly in v0.9.0 build f601ed4

I cleared all local storage

I logged in as tc01 choosing test_org and English

I changed the scripture card versions as shown here:

I logged out and logged in as tcc001 choosing test_org and Russian

The project opened as expected (I'm assuming there is no Russian Matthew text)

I logged out and logged in again as tc01

The project opened with theses problems:

The book is set to Ruth instead of Matthew
The first 2 scripture cards have the correct title but wrong content

I logged out and logged in again as tcc001
Now the version dropdown list has some unexpected options

Good catch Koz, I am seeing differently than yours. The settings are persistent on user accounts but resources dropdown gets some additional options: two screenshots from two different scenarios :

@cckozie Yes, you can see the list of translated books for ru by just clicking on the down arrow next to the book ID.  I'm also seeing the problems you listed.

@cckozie @elsylambert Fixes are in v0.9.0 build 1351b36

v0.9.0 build 008141c
The problems described above have been fixed, but I found a couple more.
The column checkbox states and the markdown view switch state are not persisted by user. Actually, they are not persisted at all.

Works as expected in v0.9.0 build 008141c.

Tested in Test Persistence by User


Added ROS Indigo Support

I slightly modified the sim to work with Ubuntu 14.04 and ROS Indigo (mostly dependencies and installation instructions for gazebo 7).
The only thing not working at this moment is the track editor (as it requires Qt5), but it was not important enough for me right now to figure it out.
https://github.com/chriser-/fssim/tree/indigo
Feel free to create a new branch in your repo if you want.
Also, feel free to create issues in my fork if you are using Indigo and you have trouble installing it.
I know that probably no one is still using Indigo, but I figured I'd share it anyways.

Hey, sounds good! I created a branch indigo so please create a Pull Request to that branch and I will give it a look.

Cool stuff! Will do.

Addressed in https://github.com/AMZ-Driverless/fssim/pull/2


Zuul query parameter duplicated 3 times

If POST request has query parameter -- its value gets duplicated 3 times.
I have written small test case in FormZuulProxyApplicationTests that can reproduce an issue:
@Test
	public void postWithUrlParams() throws Exception {
		MultiValueMap<String, String> form = new LinkedMultiValueMap<String, String>();
		form.set("foo", "bar");
		HttpHeaders headers = new HttpHeaders();
		headers.setContentType(MediaType.valueOf(
				MediaType.APPLICATION_FORM_URLENCODED_VALUE + "; charset=UTF-8"));
		ResponseEntity<String> result = new TestRestTemplate().exchange(
				"http://localhost:" + this.port + "/simple/form?uriParam=uriValue", HttpMethod.POST,
				new HttpEntity<MultiValueMap<String, String>>(form, headers),
				String.class);

		assertEquals(HttpStatus.OK, result.getStatusCode());
		assertEquals("Posted! {uriParam=[uriValue], foo=[bar]}", result.getBody());
	}

The last assert fails with the following message:
org.junit.ComparisonFailure:
Expected :Posted! {uriParam=[uriValue], foo=[bar]}
Actual   :Posted! {uriParam=[uriValue, uriValue, uriValue], foo=[bar]}

I understand that post request with query params is not quite usual thing, but I suppose that it still should be handled correctly (spring without zuul proxying handles this case nicely).
I suppose my issue relates to: ZUUL query parameter issue
Thanks!

I have found that FormBodyRequestWrapper in getInputStream returns all parameters for the request (both query and body params). That is not correct since getInputStream should return only body of the request. In com.netflix.zuul.http.HttpServletRequestWrapper method parseRequest gets all body params via getInputStream and merges them with query params. And since getInputStream returns query params as well -- they get duplicated.

Hmm. I guess we can please some of the people some of the time then. You can't easily tell the difference between a form-encoded body and a query string, but you can maybe omit the form-encoded values that are also provided as query strings.

Thank you for the quick reply and fix!


Add Build and Run instructions and fix up permissions for gradle.

Appreciate the "housekeeping" work, thanks


Setup Project

As a Team, we'd like to set up a good setup documentation and Node project, react project in our Repository, in order to continue with the other issues.

:thought_balloon: Hints & Thoughts
:question: Additional Questions to Answer / Consider

:white_check_mark: Conditions of satisfaction

[x] Folder structure for each technology exists
[x] Add documentation for setup in Readme
[x] Everybody has been able to run it locally

https://www.freecodecamp.org/news/how-to-make-create-react-app-work-with-a-node-backend-api-7c5c48acb1b0/

Time spent: 3SP


Fix jupyter usage

Codecov Report

Merging #204 (6519f1e) into master (8ae68c9) will decrease coverage by 1.96%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##            master     #204      +/-   ##
===========================================
- Coverage   100.00%   98.03%   -1.97%
===========================================
  Files           23       23
  Lines         2597     2592       -5
===========================================
- Hits          2597     2541      -56
- Misses           0       51      +51

Impacted Files
Coverage Δ

src/viztracer/cellmagic.py
100.00% <100.00%> (ø)

src/viztracer/patch.py
81.72% <0.00%> (-18.28%)
:arrow_down:

src/viztracer/main.py
94.85% <0.00%> (-5.15%)
:arrow_down:

src/viztracer/viztracer.py
95.06% <0.00%> (-4.94%)
:arrow_down:

src/viztracer/code_monkey.py
98.33% <0.00%> (-1.67%)
:arrow_down:

src/viztracer/simulator.py
98.38% <0.00%> (-1.62%)
:arrow_down:

src/viztracer/viewer.py
99.60% <0.00%> (-0.40%)
:arrow_down:

src/viztracer/prog_snapshot.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Tiff tasks parameter folder renamed to path

It's often not a folder, so it's very confusing...
Ellipsis as a default seemed like the best way to signal that this might still be required (using None would be odd).

TiffTask(feature, my_path) works as before
TiffTask(feature) will raise a TypeError that the parameter path is missing (similar to what would happen before)
TiffTask(feature, path=my_path) works as intended
TiffTask(feature, folder=my_path) also works as previously intended, but also warns the user

thanks for the new docstrings, much clearer :bow:


Lapce does not supply app_id in Wayland

Lapce Version
HEAD
System information
FEDORA 40 with Wayland and Sway
Describe the bug
When Lapce is created as a top level window via Wayland (wlroots in my example) it provides an null app_id.
This app_id is crucial for applications such as application switchers, docks, and menu bars.
Without this app_id a lot of Wayland based desktop widgets will not display Lapce as a running application.
Additional information
Other information that can be used to further reproduce or isolate the problem.
This commonly includes:

screenshots
logs
theories about what might be going wrong
workarounds that you used

same issue


Error: EPERM: operation not permitted

Describe the bug
I carried out all the steps and wrote some notes, when I go to start it up it crashes with this error:
Quartz v4.2.3
Backing up your content
[v4 2b43fa0] Quartz sync: Jun 17, 2024, 12:40 PM
[...]
create mode 100644 content/2.Trabalho/index.md
create mode 100644 content/Templates/0_head.md
create mode 100644 content/Templates/1_notes.md
create mode 100644 content/Templates/2_BI.md
create mode 100644 content/Templates/3_estudos.md
create mode 100644 content/Templates/4_reuniao.md
create mode 100644 content/Templates/5_list.md
create mode 100644 content/Templates/6_moc.md
[Error: EPERM: operation not permitted, rmdir 'C:\Users\bernardo.silva\Documents\Github\quartz\content\0.Arquivos'] {
error: -4048,
code: 'EPERM',
syscall: 'rmdir',
path: 'C:\Users\bernardo.silva\Documents\Github\quartz\content\0.Arquivos'
}
To Reproduce
Steps to reproduce the behavior:

I write the note and copy it to Content.
Run the code "npx quartz sync"
Displays this error

Desktop (please complete the following information):

Quartz Version: v4.2,.3
node Version: 20.14
npm version: v10.1.0
OS: wind10

I also have this issue when running npx quartz sync after adding a first folder inside content folder. When I only had a note inside content folder, it completed just fine, but after a folder is created in it, i get Error: EPERM: operation not permitted, rmdir

Yesyes

This isn't a Quartz issue, see notes on npm on Windows: https://stackoverflow.com/questions/34600932/npm-eperm-operation-not-permitted-on-windows


feat: add protobuf 3.25.3 release

update protobuf with release 3.25.3

:tada: This PR is included in version 1.292.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Cannot delete my amplify apps

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
No response
Region
No response
Amplify Console feature
Backend builds
Describe the bug
Hi Team,
I cannot delete my amplify apps as there is issue with backend resources.
Please delete to avoid costs.
Regards,
Saleh
Expected behavior
Delete my amplify apps.
Reproduction steps
Cannot delete my amplify apps.
Build Settings
No response
Additional information
No response

@thissaleh, can yo provide details in the template above? In order to investigate we will need an appId and Region etc.

Hi Sam,
Please delete all these apps in my accounts:
Acc ID<PHONE_NUMBER>57
us-east-1
amplify-identity-broker
Azure-SSO
wildrydes-site
On Wed, Jun 2, 2021 at 12:05 AM Sam @.***> wrote:

@thissaleh https://github.com/thissaleh, can yo provide details in the
template above? In order to investigate we will need an appId and Region
etc.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aws-amplify/amplify-console/issues/1898#issuecomment-852246105,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK7PQMZDB65DTFPMG46OAVDTQUALFANCNFSM452EIZCQ
.


Closing the window should close the app

... that's actually not the default macOs behaviour. macOs apps keep running even when all windows are closed and have to be explicitly closed. But often it's more convenient when the app closes... So I'll change it.

yeah, the problem is, that one tries to start the app again, because you think it is closed. And nothing happens (and you have also no chance to bring up the window again). So you are stuck.


Manually apply libboost186 migration

See https://github.com/conda-forge/bipedal-locomotion-framework-feedstock/pull/76 .
Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender


chart width given '100%' not working with type="datetime"

Description
Steps to Reproduce
1- draw a vertical bar chart with type= datetime
2- After giving all the required params the graph just ignores the available width provided.,
Actual behaviour

there is some space before and after the plot

Expected Behavior
it should take up the full width if the width provided is '100%'.
Reproduction Link
https://codesandbox.io/p/sandbox/react-basic-example-forked-6n82ky?file=%2Fsrc%2FApp.js
If you are using react-apexcharts, and want to create a demo in React environment, use the CodeSandbox React template - https://codesandbox.io/s/6yoqonyo7r

Your reproduction link does not work. Please update it.
Your react sample works, but you are hardcoding the width to 500, so I am confused on what you are trying to report.

Im able to click on the reproduction link above and this is what I am getting. The extra white space that needs to be filled up with the plot has been marked in yellow


use node 6.9.1

:tada:

Added gdb to the dependencies, to allow more stable corefiles across linux distributions.


tf.data.Dataset.shuffle produces the same results at each dataset iteration in tensorflow 2 alpha

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
Yes. Create a simple dataset, shuffle it and iterate through it.
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Ubuntu 18.04
TensorFlow installed from (source or binary): pip
TensorFlow version (use command below):
2.0.0-alpha0
Python version:
Python 3.7.3
CUDA/cuDNN version:
CUDA10.0
Not relevant.
GPU model and memory:
Not relevant.

Describe the current behavior
when using tf.data.Dataset.shuffle and iterating through the dataset multiple times the shuffled order is always the same.
Describe the expected behavior
The order should change for every iteration.
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
import tensorflow as tf
input_array = tf.range(10)
print(input_array)
dataset = tf.data.Dataset.from_tensor_slices(input_array).shuffle(5)

def print_values():
    for val in dataset:
        print(val.numpy(), end=" ")
    print()

print_values()
print_values()

output:
tf.Tensor([0 1 2 3 4 5 6 7 8 9], shape=(10,), dtype=int32)
2 1 4 6 0 8 9 5 7 3
2 1 4 6 0 8 9 5 7 3

Other info / logs
Behaviour is correct in tensorflow 1.13.

Thanks for trying TF 2.0 alpha. I was able to reproduce your behavior in TF 2.0 alpha however it executed successfully using TF 1.13.1 (after enabling eager mode) .

@fabio12345 when you say the behavior is "correct" in TF 1.13, are you talking about graph mode or eager mode? Could you provide an example of the program that you ran with TF 1.13?
When I try the following eager mode program against TF nightly, I see the same behavior as you do with TF 2.0:
from __future__ import print_function
import tensorflow as tf

tf.enable_eager_execution()

input_array = tf.range(10)
print(input_array)
dataset = tf.data.Dataset.from_tensor_slices(input_array).shuffle(5)

def print_values():
  for val in iter(dataset):
    print(val.numpy(), end=" ")
  print()

print_values()
print_values()

output:
tf.Tensor([0 1 2 3 4 5 6 7 8 9], shape=(10,), dtype=int32)
0 5 3 2 4 8 9 1 7 6
0 5 3 2 4 8 9 1 7 6

The behavior you are seeing is expected (both for TF 2.0 and TF 1.13 eager mode) because your program creates multiple separate iterators and the order of iteration of each is deterministic.
To see different order of elements for each epoch, you can make use the .repeat() transformation:
from __future__ import print_function
import tensorflow as tf

tf.enable_v2_behavior()

input_array = tf.range(10)
print(input_array)
dataset = tf.data.Dataset.from_tensor_slices(input_array).shuffle(5).repeat(2)

def print_values():
  for val in iter(dataset):
    print(val.numpy(), end=" ")
  print()

print_values()

output:
tf.Tensor([0 1 2 3 4 5 6 7 8 9], shape=(10,), dtype=int32)
0 2 6 5 7 8 9 1 3 4 2 5 1 3 6 8 9 0 7 4
0 2 6 5 7 8 9 1 3 4 2 5 1 3 6 8 9 0 7 4

@fabio12345 Could you try this
!pip install tensorflow==2.0.0-alpha0
import tensorflow as tf
input_array = tf.range(10)
print(input_array)
dataset = tf.data.Dataset.from_tensor_slices(input_array)
print(dataset)
def print_values():
for val in dataset:
print(val.numpy(), end=" ")
for i in range(3):
dataset=dataset.shuffle(5,reshuffle_each_iteration=True)
print_values()
print()
Thanks!

I'm also experiencing this problem. API Docs state clearly that the intended behavior is that the dataset is re-shuffled "the dataset should be pseudorandomly reshuffled each time it is iterated over".
In my case the reshuffle_each_iteration parameter has no effect (tried either True, False and None), subsequent iterations of the dataset always lead the same result.
The only workaround that came to my mind is to create a lambda which calls the dataset creation function before every iteration, but I worry this would be inefficient (and not elegant):
`
data = np.arange(100)
data = data.reshape([10, 10])
def read_dataset():
return tf.data.Dataset.from_tensor_slices(data).shuffle(100, reshuffle_each_iteration=True).batch(2)
dataset = read_dataset()
dataset_shuf = lambda: read_dataset()
This doesn't work
for d in dataset:
tf.print(d)
This Works
for d in dataset_shuf():
tf.print(d)
`
@jsimsa If the behavior would be expected as you say, then there's little use in having a "reshuffle_each_iteration" parameter in a framework that is executing eagerly by default. Moreover, repeat() is not a viable option if you need to alternate different type of computations at each dataset, because every time you iterate again it would lead the same sequence of samples.

@edoardogiacomello
I agree with you that reshuffle_each_iteration in eager mode does not have the expected effect. The documentation is misleading because "iteration" in the documentation is meant to imply repetition based on repeat and not based on Python iteration.
Your example of "This Works" works because a new dataset graph is created for each iteration. The value of reshuffle_each_iteration is still not respected -- setting reshuffle_each_iteration to False in your input pipeline will not result in identical order of batches between iterations.
I will create a PR that updates the documentation and renames the argument to reshuffle_on_repeat to better communicate what the argument does.
Finally, to achieve the desired effect of reshuffling across different Python iterations of a dataset, your approach based on a dataset factory is idiomatic:
def make_dataset():
  return tf.data.Dataset.from_tensor_slices(data).shuffle(100).batch(2)

# illustrate that batches are shuffled in a different order
for _ in range(2):
  for d in make_dataset():
    tf.print(d)

It would be really great to have a way to iterate multiple times over a dataset with different orders.
In the tutorials for TensorFlow 2.0, the recommended way to train a model is:
dataset = ...
dataset = dataset.shuffle(buffer_size)
dataset = dataset.batch(batch_size)

for epoch in range(num_epochs):
    for x, y in dataset:
        train_step(model, x, y, loss_fn)

The issue with this code is that at each epoch, the model sees the batches in the same order.
It would be very useful to have a parameter like reshuffle_each_iteration, but that would work for each time we iterate over the dataset in eager mode.

The current solution described above involves creating a new dataset each time, which doesn't seem ideal:
dataset = ...

for epoch in range(num_epochs):
    dataset_epoch = dataset.shuffle(buffer_size)
    dataset_epoch = dataset_epoch.batch(batch_size)
    for x, y in dataset_epoch:
        train_step(model, x, y, loss_fn)

We are actively working on this and plan to have this ready by TF 2.0 RC0. Most likely, the mechanism for controlling this will be a tf.data.Option option (as opposed to shuffle option). cc @rohan100jain

For future reference, this behavior was fixed in this commit: e7206a7d8efceda25bce5a530fc4e79a5582be13
Now when reshuffle_each_iteration=True, iterating over the dataset multiple times in eager mode will work as expected.

@jsimsa : could it be possible to include an example explaining the behavior of tf.data.Dataset.shuffle in eager mode with tf 2.0 in the documentation?
The current documentation only mention:

reshuffle_each_iteration: (Optional.) A boolean, which if true indicates that the dataset should be pseudorandomly reshuffled each time it is iterated over. (Defaults to True.)

which doesn't really explain in full length the new behavior

We are actively working on this and plan to have this ready by TF 2.0 RC0. Most likely, the mechanism for controlling this will be a tf.data.Option option (as opposed to shuffle option). cc @rohan100jain

Dear @jsimsa , I am working on a project that requires me to balance the classes in each batch after the dataset is being shuffled. Ideally, I don't want to create a new dataset at the beginning of each epoch. At first I considered the following approach:
def batch_balance(input: tf.data.Dataset):
    #create a function that can re-organize the elements from the shuffled dataset
    #and return a new one that is class-balanced within each batch but still random (to some extent)
    return a_new_dataset
tfds = tf.data.Dataset.from_tensor_slices([[0,0,1],[0,0,1],[0,1,0],[0,1,0],[1,0,0],[1,0,0]])
tfds = tfds.shuffle(buffer_size=6, reshuffle_each_iteration=True)
tfds = tfds.apply(batch_balance)
tfds = tfds.batch(3)
list(tfds.as_numpy_iterator())
list(tfds.as_numpy_iterator())

and I get the following output:

[0,1,0], [0,0,1], [1,0,0]
[1,0,0], [0,0,1], [0,1,0] (first iteration)

[0,1,0], [0,0,1], [1,0,0]
[1,0,0], [0,0,1], [0,1,0] (second iteration)

This does the trick for the first pass, but in fact, after applying the batch_balance function, the returned dataset no longer has the reshuffle_each_iteration feature, which leads to two identical sequences.
To preserve this reshuffle feature, I've considered writing a modified shuffle / batch, and then I notice these two functions are both implemented in the gen_dataset_ops file, which is machine generated (and very difficult to read...). Therefore, I guess the question is, are there any built-in functions that can allow me to modify the dataset after it is being shuffled w/o losing the reshuffle_each_iteration feature? You hinted earlier that tf.data.Option can be used, would you mind elaborating a bit more on this?
Thank you!

@ff4456 reshuffle_each_iteration should continue to work even after applying additional transformations. Can you share a colab to reproduce the issue?

Hi @aaudiber , sure! Here is the link: https://colab.research.google.com/drive/1gWxyYHhh5dFTmFbZiEyXwlU4SuUyPY-B?usp=sharing

The function passed to apply is only called once, so you're only ever iterating over the shuffled dataset once. That first iteration is stored into balanced_list, which gets reused each time you create an iterator over the tf.data.Dataset.from_generator.
To fix this, you can update the generator function to re-iterate over the input to apply each time. Here is an updated example of your code that works as expected: https://colab.research.google.com/drive/1Xy8rYbrn2wyJVmvn2uFrSOo2AUHdtxuk

The function passed to apply is only called once, so you're only ever iterating over the shuffled dataset once. That first iteration is stored into balanced_list, which gets reused each time you create an iterator over the tf.data.Dataset.from_generator.
To fix this, you can update the generator function to re-iterate over the input to apply each time. Here is an updated example of your code that works as expected: https://colab.research.google.com/drive/1Xy8rYbrn2wyJVmvn2uFrSOo2AUHdtxuk

ah I see... Thank you so much!

Hi,
How could we reshuffle dataset in every epoch without using eager mode?
import tensorflow.compat.v1 as tf
tf.disable_eager_execution()

In my case, data remains in same sequence after every iteration. I need to reshuffle at position #Reshuffle is required here .
data = [...]
data = data.shuffle(self.batch_size * 2, reshuffle_each_iteration=True)
data = data.batch(self.batch_size)

iterator = tf.data.Dataset.make_initializable_iterator(data)
batch = iterator.get_next()

epoch = 0
with tf.Session() as sess:
     while epoch < 2:
            batch_count = 0
            sess.run(iterator.initializer)
            # Reshuffle is required here

            while True:
                try:
                    **batch_val = sess.run(batch)**
                    print("\nEpoch: {} -- Batch {} :  ".format(epoch, batch_count))

                except tf.errors.OutOfRangeError:
                    epoch += 1
                    break

Thanks in advance.

@engrmz To get different orders you can use data = data.repeat(num_epochs), to repeat the dataset num_epochs times, with each repetition doing a reshuffle.

@engrmz To get different orders you can use data = data.repeat(num_epochs), to repeat the dataset num_epochs times, with each repetition doing a reshuffle.

Hi @aaudiber,
Thanks for your prompt response.
Point 1: When I use repeat(5), it repeats the dataset 5 time and shuffles it too. Doing this, I can get shuffled data in every batch. My code (as given above) considers this step as epoch 1 (as I am trying to repeat dataset using epoch loop).
Point 2: However, after 5 repetitions of whole dataset, in epoch 2, I still get the same sequence (5 repatriations) as in Point1: - same as epoch 1.
Is there any way to shuffle dataset after every epoch iteration without using repeat function?

The TF1 way of doing things is to handle multiple iterations of the dataset by using repeat(). Creating a new iterator in each epoch loop is the TF2 way. If you'd like to discuss further please open a separate issue so we can avoid hijacking this one.


Add support for Earl Grey

This relies on https://github.com/tkellen/js-interpret/pull/31 to work.

:+1:

Thanks!


hotAlignment Setting

Is the recommended setting for hotAlignment should be true or false?
Here, it is suggested to keep it false
http://orientdb.com/docs/2.0/orientdb.wiki/Distributed-Architecture.html

Whereas on this page, it says the default is true
http://orientdb.com/docs/2.0/orientdb.wiki/Distributed-Configuration.html

Also, suppose I have a distributed configuration: node1 and node2 and hotAlignment:false. Then node2 goes down, then I update/add a node on node1 while node2 is down.
When node2 is finally up again, will it sync with node1 (add/update the new node)?
Or I need hotAlignment:true for it to happen.
Thanks.

Misc

[x] I have a distributed setup with multiple servers. How many? 2

OrientDB Version

[x] v2.2.2

You're reading old docs (2.0) for 2.2.2. hotAlignment is not supported anymore. Look at: http://orientdb.com/docs/last/Release-2.2.0.html#distributed

In the documentation for 3.0.x version, the "hotAlignment" property is still present in the documentation [1], [2]. Was the property reintroduced or there is an inconsistency in the documentation?
[1] http://orientdb.com/docs/3.0.x/distributed/Replication.html
[2] http://orientdb.com/docs/3.0.x/distributed/Distributed-Sharding.html


Support for auto-value / auto-parcel

I guess it shouldn't be to hard to support auto-value and derives like auto-parcel. We could annotate abstract methods and use the generated builder to instantiate an item.
However, that would require to change the way the annotation processor works right now: Currently you annotate a setter method with @Column. However, auto-value doesn't generate a setter method. So we have to change that to annotate getters. In non auto-value powered classes  we additionally have to check if there is a corresponding setter for the @Column annotated getter method.
An alternative would be to add a dedicated annotation for auto-value powered classes. However, I think one annotation for everything is desired and should be enough. The annotation processor is already abstract enough to distinguish between different implementations.
Also related to ContentValuesBuilder #2

DAO module and sqlbrite works perfectly fine with Auto-Value-Cursor: https://github.com/gabrielittner/auto-value-cursor
Therefore is no need to do the same job again.


fix(powerautomate): Update manual trigger serialization to match manifest and render only dynamically added parameters

Changes in this PR:

Update serialization and deserialization of manual trigger parameters to match updated manifest (PR: https://msazure.visualstudio.com/One/_git/Flow-RP/pullrequest/8032179)
Render parameters only if x-ms-dynamically-added is true -- this is set to true for all user-defined parameters (as opposed to static parameters from Flow-RP).

Sorry for late ping -- we would really like to have this PR merged for a bug bash on Monday. It's a small change and scoped. Is anyone from LA team able to take a look so we can get it in today's package? Thank you very much in advance!


Is this project actively maintained?

As stated above. There are a lot of untouched PRs and there is usually no response to Issues. I would love to contribute to this project but if there is no active maintenance there is no use and I would need to fork.

No, it's not

No, it's not

Will you continue or is paused forever now?

I don't know, yet. Currently, I code mostly in Go in my limited free time. Feel free to fork if it's valuable for you!


[FEATURE REQUEST] Define the same topic/message as both subscribe and publish

Is your feature request related to a problem? Please describe.
I need to mark a topic to both publish and subscribe the same message. It is a connection-status topic, and every client should both publish messages on it when they connect and subscribe to it.
Can't it be tackled using specification extensions?
I tried to simply define the same message as both publish and subscribe:
channels:
  '$v/$machineId/connection-status':
    subscribe:
      message:
        $ref: '#/components/messages/connectionStatus'
    publish:
      message:
        $ref: '#/components/messages/connectionStatus'

But the result is not the expected one: The topic and the message documentation are duplicated and there is a bug in the layout (see attachment)

Describe the solution you'd like
I think it should be possible to define a topic/message with both PUB / SUB labels, similar to this:

This has been fixed recently. Please, try upgrading to the latest version. If it keeps failing, feel free to reopen the issue. Thanks!


Change null !== to is_null function

Hey @diegograssato, could you provide a bit more information... what is the reason behind these changes? Is it faster this way, or something else? Otherwise, I don't see the value in this PR. Someone else later can open a PR that will do exactly the reverse.
Cheers!

Ok, I'll close this PR


AppImage support

Can picoDeploy produce AppImage files for Linux? electron-builder has native support built in.

Hello!
Yes I played around with this for a while, but one thing picoDeploy does for greenworks (steam support), is copy the steam ID to the correct location for steam to know that the game is currently being played.
AppImage has write protection for this, so it cannot be done, thus I left it out of the project.
However, I think adding AppImage suppport is as simple as adding another field to the package.json if I remember correctly, should be somewhere in the electron-builder docs.
Let me know if you would like me to find it for you / give you some steps if you need any help 😄

Where does the ID need to be copied? While the contents of the AppImage are not writeable at runtime, the software inside the AppImage can write e.g., to $HOME without restrictions. I think it would be nice if picoDeploy could produce AppImages "out of the box" ;-)

@probonopd Yeah that is the thing, it needs to be written into the contents of the AppImage sadly.
See here: https://github.com/greenheartgames/greenworks/blob/master/docs/build-instructions-electron.md you can CTRL+F for steam_appid.txt
Since implementing greenworks is already confusing/hard enough I left out App Image.
However, I'd be open to adding support for AppImage, and we can add a blurb about how it won't work for Greenworks? If you would be so kind, you can totally open up a PR for this :)

Is it the same steam_appid.txt for every user?

It is not, it is something that is added by the user. But the thing is, it has to be copied next to the binary run by steam. So for example, on osx, it would be inside the .app itself in a specific directory electron-builder does not have an option for building files to.

You could try to place a symlink there inside the AppImage that would point to some location inside $HOME. If worst comes to worst, I think this could be worked around by a tiny LD_PRELOAD library.

Ohhh that's not a bad Idea, though, are you sure you could do symlinks inside an appImage? We'd also need to know the context of the code being run in App Images.
 I googled it, but I am not 100% sure of the implications :)

Dude, so I just clicked your Github Profile, I didn't know you were part of the AppImage org haha! :')
Cool, I'll just go ahead and add App image support, and update the "Integrating Greenworks" Docs when I get the time, about symlinking the steam app id text file 😄


Search and select from institution list at log-in

I'd love to have the ability to type and filter down to my institution at log-in, like the "Search Selection" dropdown described here: http://semantic-ui.com/modules/dropdown.html

common request, especially as the list continues to grow


FRAME command crashes on DISPLAY :1.0

Reported by hankin on 19 Sep 2001 21:40 UTC
Reported by Billy Kessler wh has 2 video cards and monitors on his Solaris work
station.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/313

Comment by<EMAIL_ADDRESS>on 21 Oct 2003 20:16 UTC
Moving from the<EMAIL_ADDRESS>user to the<EMAIL_ADDRESS>user.

Comment by<EMAIL_ADDRESS>on 3 Nov 2003 20:54 UTC
Reduce priority; assign to Ansley

Comment by<EMAIL_ADDRESS>on 5 Nov 2003 20:05 UTC
Lower the priority; reassign to Ansley

Comment by<EMAIL_ADDRESS>on 24 May 2007 22:42 UTC
Can't replicate this, was machine dependent on an older machine...


Add ARM template information

Includes steps to create diagnostic settings for Cosmos DB via ARM template.

@seesharprun
Can you review the proposed changes? Note that the validation warnings need to be resolved before merging.
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#hold-off
@samahana, I have pulled your changes into a new PR and will resolve them there. When that PR is merged, this PR will automatically close. The changes should be live shortly thereafter.

Thank you for the help on this, @@.***>! I see that the public doc is updated.
Thanks again,
Sahithya

From: prmerger-automator[bot] @.>
Sent: Wednesday, April 26, 2023 11:14 AM
To: MicrosoftDocs/azure-docs @.>
Cc: Sahithya Mahanandi @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Add ARM template information (PR #108417)
You typed hold-off, but the PR wasn't signed off, so nothing was changed.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/pull/108417#issuecomment-1523852021, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASSAU3QSPRXVJMBTGMVC3XDXDFQXNANCNFSM6AAAAAAXDFCTNE.
You are receiving this because you were mentioned.Message ID: @.***>


The player's 2nd skinof his skin and cape didn't appear after /kill

I've searched existing issues and couldn't find a duplicate.

[X] I confirm this is not a duplicate.

Operating System
Windows 11
Server Software Version/Commit
29d203c
What happened?
When the player use /kill and respawn, The second layer of his skin and is cape does not appear.
Before /kill:

After /kill:

(all the settings in Skin Customization are ON)
To Reproduce
use /kill and respawn
Expected behavior
Player skin to be like before the /kill

Fixed in https://github.com/Snowiiii/Pumpkin/pull/300


documentation: add assertNotException

Thanks, but in OTP R18, the assert macros have been moved out to a separate file assert.hrl in lib/stdlib/include/ - see http://www.erlang.org/doc/man/assert.hrl.html
I should update the documentation in the OTP version of EUnit and ensure that this repo is in synch.

Ouch, I didn't notice as I use Erlang 15.


Added ability to get short time identifiers for TimeSpan

I needed the ability to get "ms", "s", "h", etc time identifiers.
For example, TimeSpan.FromHours(2).Humanize() I'd like to be able to have "2 days"or  "2d"

This is a nice addition; but it's been sitting here for a while with a few outstanding issues.
@bkmr would you be able to rebase this on top of the latest and fix the issues? Thanks.

This PR has been here for a while. Anyone volunteers to resolve the outstanding issues, rebase on the latest and submit a new PR?
For now I'm going to close it.


What happened to vec3.unproject?

I noticed it was in earlier versions, but can't see it on master or dev branches. Was it removed intentionally?

Modified this for the latest version, sorry for ES syntax but you get the idea:
  let x = vector[0]
  let y = vector[1]
  let z = vector[2]
  let m = projection
  let a00 = m[0]
  let a01 = m[1]
  let a02 = m[2]
  let a03 = m[3]
  let a10 = m[4]
  let a11 = m[5]
  let a12 = m[6]
  let a13 = m[7]
  let a20 = m[8]
  let a21 = m[9]
  let a22 = m[10]
  let a23 = m[11]
  let a30 = m[12]
  let a31 = m[13]
  let a32 = m[14]
  let a33 = m[15]

  let lw = 1 / (x * a03 + y * a13 + z * a23 + a33)

  vec3.set(
    out,
    (x * a00 + y * a10 + z * a20 + a30) * lw,
    (x * a01 + y * a11 + z * a21 + a31) * lw,
    (x * a02 + y * a12 + z * a22 + a32) * lw
  )
  return out
}```

Bump, why was this removed?


[Feature] Detect Type mismatch in the linter

Invalid assignment operation does not show up as lint error
function taking invalid argument types don't show an error

JSHint doesn't help with types today

@Nikhil-Nandagopal Can you please give some examples here?


404 at /engine/api/V1.41/

I found a broken link : https://docs.docker.com/engine/api/V1.41/

Hey! @monkeylijin
Thanks for reporting the broken link issue. Could you let us know how you arrived at the broken link?

the correct URL should be https://docs.docker.com/engine/api/v1.41/
(with a lower-case v in the version)

Thanks! @thaJeztah


Support Forked epoch, archive database tip circuit breaker, and move to pino for logging

Sorry this PR got too big ... was not ready to merge the fork changes due to impacts on mina-pool-payout, so things kept stacking up.
It should be safe to deploy (backward compatible with the mainnet archive db), but deploy carefully with db version flags, etc., and validate that mina-pool-payout is not impacted.

Builds on top of the v1/v2 query factory to support ambiguous epoch numbers across hard forks.
New query string parameter "fork" to the epoch endpoints to distinguish between epoch 1 on current mainnet (fork 0) vs. epoch 1 on a future hard fork - e.g. after berkeley hard fork (fork 1.)

Adds circuit breaker
New /jobs folder with a node-cron managed function that will run every few minutes.
New /middlewares folder with the circuit breaker implementation that will throw a 503 if the archive db is too far behind.
Function compareBlockHeights will check block height on the archive database tip and compare against a list of mina daemon graphql endpoints, taking the highest observed tip. If the database is behind by more than a configurable number of blocks, set a configuration setting to stop processing all /blocks and /epoch requests. Consensus and staking-ledgers may still return data, but /block and /epoch will return 503 errors.

Moves logging to pino
Remove lower-level try/catch - let errors throw up to controller or router to log
Simplify logging and remove old debug logs, consolidate log messages

Want to rename src/database to src/databases, but will do that on a separate pr to make code review easier w/ diffs this round.

Closes #23

works locally lgtm

Note that this still allows users to send fork 1 with v1 (should be fork 0) database version - should probably trap that as well. Not holding this up but will add an issue.


Handle and verify FOSS licenses

Acceptance Criteria

[x] There is an CI job that scans the repo for non-permissive licenses
[x] The bmcd fulfills the requirement of displaying the appropriate licenses to the user with a convenient command
[x] the documentation makes mention of these licenses

fixed by 914609c0a722596e9676dbcd72716016db3a6d3e


Ability to add additional headers like 'Sforce-Query-Options'

Seeing that the 'Sforce-Call-Options' header can now be added optionally with jsforce it would be great to also allow for the 'Sforce-Query-Options' to be able to limit the batch size - I know Salesforce does not guarantee to stick to the batch size, but in my testing most of the time they do return the number of records asked for, which helps a lot.
It could be added similarly as the callOptions in beforeSend I guess, happy to do a PR if it makes sense to add this functionality.

Sorry I'm new to development and reading documentation.  Can you help point me to where I can manually update the header info before a request is set?

Sorry to reopen the issue, but it doesn't work.
I have added queryOptions: {"Sforce-Query-Options": "batchSize=200"} to the connection options, and it doesn't work, I get a "sforce-query-options" is not a valid header or something of the sort.
After looking at the commit, and reading the documentation, the query options should be set on the query resource, and according to the code in the commit, the queryOptions are not transferred to the query object.
Although, I did manage to find a workaround, by setting the options.headers of the query object like so:
query.execute({headers: {"Sforce-Query-Options": "batchSize=200"}}, callback);
Unless I used the queryOptions the wrong way, I would suggest to assign the queryOptions, to the options.headers in the query object to fix the issue.


Host's buffer gets cleared when client connects

When a client connects to a session, the host's buffer becomes empty, desyncing them.
demonstrated on asciinema
using neovim 0.5.0

Thank you for the issue. I can reproduce it. This is probably caused because it's trying to open a file which is already opened in another neovim instance. Try changing the current working directory in the second instance.

I don't think that's the problem, because iirc I found the issue when testing across two separate machines. I will double check though

In the original recording the neovim instances are already running in two separate working directories ~/work/instant and ~/work/instant2

Good point, let me see in more details when I have some spare time.


Added a link to the Pangeo project

Project name: Pangeo
Project website/repository: pangeo.io
License: Various packages with Open-Source licences

Checklist for new projects:

[ ] The project is open-source and accessible.
[ ] Searched the existing entries to make sure this is not a duplicate.
[ ] Contains only a single addition (make separate PRs if adding more than one).
[ ] Added the link to the bottom of the relevant category.
[ ] Add icon from the media/icon/ folder if applicable (like ![Python](media/icon/python.png) ).
[ ] Created a new category only if necessary.
[ ] Checked spelling and grammar.
[ ] Removed trailing whitespace and periods.
[ ] Confirm the dash – is not a minus -.
[ ] Used title-casing (AP style) for project name.

Opened PR in wrong site - moved to: https://github.com/softwareunderground/awesome-open-geoscience/pull/90


adding e2e tested code for review

There are still hardcoded values like:
project
vpc name
namespace [ml-team]
READMEs needs update.
Creating this PR to collaborate for integration work.

There is a significant amount of additional work and clean up that needs to be done here.
If the intent is to do that work in the integration branch, just know that it will be somewhat difficult to collaborate on the effort. It will either need to be done by an individual or in a highly orchestrated manner.
Please also add licenses headers to the files.


Provide a ConnectionPool

We should provide a ConnectionPool out of the box.

Absolutely agreed.

I have a very simple connection pool implementation which is an actor with dependencies on NIO, PostgresNIO, and Logging.  Having the application pass in the PostgresConnection.Configuration would further simplify it.  Typical usage is to initialize the actor, and then Checkout() and Release() database connections as required in the application.
Happy to donate it, but I would expect better code to exist elsewhere in the Vapor code base.

Can you help with this?

I can also offer a connection pool for those interested: https://github.com/Outdooractive/PostgresConnectionPool

For security purposes it would be great to support ephemeral database user credentials, generated by something like HashiCorp’s Vault. These credentials timeout and then need to be regenerated. When they change, the Connection Pool would need to automatically close or automatically handle getting the new credentials and updating the connection.

Work can be followed in the ConnectionPool milestone.

@majortom64 your request is tracked as #431.

We've released a PostgresClient implementation behind an SPI flag in the 1.19.0 release:
https://github.com/vapor/postgres-nio/releases/tag/1.19.0
We would love to learn, if this solves your use-cases.

I just implemented the _ConnectionPoolModule in the Oracle driver I'm working on. The API is very easy to understand imo. It actually surprised me how little I had to do to get everything working. Thanks for the great work @fabianfett!


Buildpack node engine memory available logging error

Hi
During the SUSE & Rancher Accelerate Dev Workflows challenges this week, I see an error (non-fatal) in the epinio app logs.
Host OS: openSUSE Tumbleweed x86_64
Example used: https://media2-production.mightynetworks.com/asset/25756223/3-use-service.pdf
Errors observed when running epinio app logs shoppinglist
🚢 Streaming application logs
Organization: shoppinglist
Application: shoppinglist
🕞  [shoppinglist-748d6757bd-fkndt] shoppinglist cat: /sys/fs/cgroup/memory/memory.limit_in_bytes: No such file or directory
🕞  [shoppinglist-748d6757bd-fkndt] shoppinglist /layers/paketo-buildpacks_node-engine/node/profile.d/0_memory_available.sh: line 3: / ( 1024 * 1024 ) : syntax error: operand expected (error token is "/ ( 1024 * 1024 ) ")

The logs you are seeing and reporting are something coming directly out of the paketo buildpack(s) as they work on staging the application.
Epinio simply passes this information through to the user. It has no influence on the interaction of application sources and respective buildpacks, and any warnings and errors coming out that interaction.
I see this better reported to the maintainers of paketo and of the application itself (I am unable to tell if the cause for these warnings would be in the application not matching paketo's expectations, or in paketo wrongly stumbling on something in the application sources it should be able to handle.

The application seems to be https://github.com/SUSE-Rancher-Community/example-express-redis, if I read the pdf correctly.
The maintainer might be @timirnich

@malcolmlewis Is this still an issue?

Epinio is using the latest full builder image so if this is a buildpack issue, it may have already been fixed. Since there was no update on this issue, I will close it. @malcolmlewis feel free to re-open it if the problem is still there. Please add more information if that's the case.